'.repeat(12)}`; parent.appendChild(span); fetch(`https://home.delogic.com.br/paywall9096/recursos/podcast/${videoId}`, { credentials: 'include' }) .then(response => response.json()) .then(data => { const vimeoId = data.vimeoId; if (vimeoId) vimeoAuth(element, vimeoId, videoId); }) .catch(console.error); } } function storageSessionOnServerSide(data, action) { if (!data) return; fetch('https://www.meioemensagem.com.br/wp-content/themes/theme_meioemensagem/includes/user-logged.php', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: 'permissoes=' + encodeURIComponent(data) }) .then(res => res.text()) .then(response => { if (response === 'none') location.reload(); if (action === 'refresh') { const url = 'https://www.meioemensagem.com.br/womentowatch/w2w-podcasts'; window.location.href = url; } }); } function storageSessionOpenLogin(data) { if (!data) return; fetch('https://www.meioemensagem.com.br/wp-content/themes/theme_meioemensagem/includes/open-login.php', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: 'openlogin=' + encodeURIComponent(data) }); } function storageSession(action) { fetch("https://home.delogic.com.br/paywall9096/admin/recursos/get-usuario", { credentials: 'include' }) .then(res => res.json()) .then(data => { storageSessionOnServerSide(JSON.stringify(data), action); }) .catch(() => { storageSessionOnServerSide(0, action); }); } function loadScripts() { document.querySelectorAll("ul.flex-direction-nav").forEach(ul => ul.style.display = 'none'); const carousel = document.querySelector(".carrossel-videos"); if (carousel) { carousel.addEventListener("mouseenter", () => { document.querySelectorAll("ul.flex-direction-nav").forEach(ul => ul.style.display = ''); }); carousel.addEventListener("mouseleave", () => { document.querySelectorAll("ul.flex-direction-nav").forEach(ul => ul.style.display = 'none'); }); } storageSession(); extractSVG(); } function decodeEntities(encodedString) { const textarea = document.createElement('textarea'); textarea.innerHTML = encodedString; return textarea.value; } function closePop() { document.querySelectorAll('.message-pop').forEach(el => el.remove()); } function showMessage(url) { const msg = document.createElement('div'); msg.className = 'message-pop'; msg.innerHTML = `

Você está saindo dos Podcasts

O áudio em execução será interrompido

`; document.getElementById('main-container').insertAdjacentElement('beforebegin', msg); } function clickPodcast(url, name, category, episodio, cor, object, id) { document.querySelectorAll('.thumb.act, .thumbnail.act').forEach(el => el.classList.remove('act')); object.closest('.thumbnail')?.classList.add('act'); window.parent.MountPod(url, name, category, episodio, cor, id); } window.addEventListener('DOMContentLoaded', () => { loadScripts(); const passLinks = document.querySelectorAll('.pass-link'); passLinks.forEach(link => link.addEventListener('click', () => { document.querySelector('.cardLogin').style.display = 'none'; document.querySelector('.cardEmail').style.display = 'block'; })); });
Publicidade

Podcast

Falas WW - 3ª TemporadaTodos os episódios

Falas WW - 2ª TemporadaTodos os episódios

Falas WW - 1ª TemporadaTodos os episódios

Publicidade
Publicidade

15
15

00:00:00 | 00:00:00