`; return; } const policyResponse = await fetch(policyUrl); const privacyData = await policyResponse.json(); const notices = privacyData?.notices; const firstNoticeKey = Object.keys(notices)[0]; const notice = notices[firstNoticeKey]; const privacyContentRaw = notice?.content; // Format the oneTrust timestamp const rawTimestamp = notice?.timestamp; const formattedTimestamp = rawTimestamp ? (() => { const date = new Date(rawTimestamp); const datePart = date.toLocaleDateString('en-GB'); const timePart = date.toLocaleTimeString('en-GB', { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false }); return `${datePart}, ${timePart}`; })() : 'Unknown Date'; // oneTrust has its own classes and style; we make small adjustments to match it to our site style const styledPrivacyContent = privacyContentRaw .replaceAll('

', '') .replaceAll('

', '

') .replaceAll('

', '

') .replaceAll('

TIMESTAMP', `${formattedTimestamp}` ); this.content = styledPrivacyContent || `

Notice content not found
`; } catch (error) { this.content = `
Unable to load the privacy notice. Please try again
`; } finally { this.loading = false; } } } }

Looks like you don't have any active episode

Browse Spreaker Catalogue to discover great new content

Current

Podcast Cover

Looks like you don't have any episodes in your queue

Browse Spreaker Catalogue to discover great new content

Next Up

Episode Cover Episode Cover

It's so quiet here...

Time to discover new episodes!

Discover
Your Library
Search