PageSourceSearch

https://efilm.online/_next/static/chunks/pages/podcast-detail/[id]/[slug]-d09f8f7b8baba2e4.js

js efilm.online collected 2026-10-01 14:37:26 UTC 25,690 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4579],{71282:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/podcast-detail/[id]/[slug]",function(){return s(60139)}])},79919:function(e,t,s){"use strict";s.d(t,{JT:function(){return i},Pz:function(){return d},_B:function(){return l},fG:function(){return a},k$:function(){return r},o3:function(){return o},tN:function(){return c}});var n=s(79451);function a(){return(0,n.ol)("products/collections/",{})}const o=(e,t)=>(0,n.ol)("products/collections/".concat(e,"/chapters/"),t);function i(e){return(0,n.ol)("products/collections/".concat(e),{})}function l(e){return(0,n.ol)("/products/collections/".concat(e,"/rating-avg/"))}function c(e,t){return 1==e?(0,n.ol)("products/collections-back/",t):(0,n.ol)("products/collections-back/?page=".concat(e),t)}const r=(e,t)=>(0,n.ol)("/music/podcasts/".concat(e,"/episodes/"),t),d=(e,t)=>(0,n.Rj)("/products/collections-back/".concat(e,"/"),t,{"Content-Type":"multipart/form-data"})},15801:function(e,t,s){"use strict";s.d(t,{El:function(){return c},RM:function(){return o},U8:function(){return p},Vz:function(){return v},d7:function(){return u},kQ:function(){return d},nr:function(){return a},ui:function(){return l},vI:function(){return r},wo:function(){return n},yU:function(){return m},yr:function(){return i}});const n=e=>1===e?"products/visible-lists/?skip_products=true":"products/visible-lists/?page=".concat(e,"&skip_products=true"),a=e=>"/products/visible-lists/".concat(e,"/"),o=e=>"/products/visible-lists/".concat(e,"/min-data/"),i=()=>"/products/visible-lists/list-by-category/",l=()=>"/products/visible-lists/list-by-provider/",c=()=>"/videos/series/",r=()=>"mangas/mangas/",d=()=>"music/podcasts/",u=e=>"music/podcasts/".concat(e,"/episodes/"),m=(e,t)=>
1"/products/visible-lists/".concat(e,"/change_status/").concat(t,"/"),v=()=>"/products/visible-lists/change-location-drap-and-drop/",p=()=>"/products/visible-lists/"},73267:function(e,t,s){"use strict";var n=s(85893),a=s(67294),o=s(30303),i=s(11163),l=s(5233),c=s(55398);t.Z=e=>{let{route:t=null}=e;const s=(0,i.useRouter)(),{kids:r}=(0,a.useContext)(c.S),{t:d}=(0,l.$G)(["buttons"]),u=()=>{r?s.push("/kids"):s.push("/")};return(0,n.jsx)("div",{role:"navigation","aria-label":d("backButtonNavigation"),children:(0,n.jsx)("button",{className:"button-go-back",onClick:()=>{t?s.push(t):2===Object.keys(s.components).length?u():s.back()},"aria-label":d("backButton"),children:(0,n.jsx)(o.Oul,{"aria-hidden":!0})})})}},21845:function(e,t,s){"use strict";var n=s(85893),a=s(67294),o=s(95305),i=s(35773),l=s(84082),c=s(5233),r=s(51347);const d=(0,c.Zh)("content-detail","common")((e=>{let{t:t,info:s}=e;const[c,d]=(0,a.useState)(!1);return(null===s||void 0===s?void 0:s.publicity)&&(0,n.jsx)(o.Z,{md:12,className:"cast-container",children:(0,n.jsxs)(i.Z,{children:[(0,n.jsx)(o.Z,{md:4,xs:12,className:"d-flex justify-content-md-center align-items-center",children:(0,n.jsx)("img",{className:"provider-logo",src:null===s||void 0===s?void 0:s.logo_for_card})}),(0,n.jsx)(o.Z,{md:6,color:"white",className:"d-flex justify-content-md-center",children:(0,n.jsxs)("p",{children:[c||(null===s||void 0===s?void 0:s.description.length)<=300?null===s||void 0===s?void 0:s.description:(0,r.$G)(null===s||void 0===s?void 0:s.description,297),(null===s||void 0===s?void 0:s.description.length)>300&&(0,n.jsx)("span",{className:"cursor-pointer link-primary-custom",onClick:()=>{d(!c)},children:t(c?"seeLess":"seeMore")})]})}),(0,n.jsx)(o.Z,{md:2,className:"d-flex justify-content-md-center align-items-center",children:(0,n.jsx)(l.Z,{type:"button",className:"btn-secondary text-align-center",onClick:()=>{window.open(null===s||void 0===s?void 0:s.info_url,"_blank")},children:t("knowMore")})})]})})}));t.Z=d},52230:function(e,t,s){"use strict";var n=s(85893),a=s(67294),o=s(45697),i=s.n(o),l=s(21883),c=s(51347);const r=e=>{let{cover:t,isNew:s,isFicha:o=!1}=e;const[i,r]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{(async()=>{const e=await(0,c.ap)(t);r(e)})()}),[t]),(0,n.jsx)(l.Z,{image:i?t:null,isNew:s.is_new,alt:t||"",shape:"extraBig","data-testid":"cover-ficha",is_ficha:o})};r.propTypes={cover:i().string,isNew:i().object},t.Z=r},84620:function(e,t,s){"use strict";var n=s(85893),a=s(67294),o=s(95719),i=s(5233),l=s(76473);t.ZP=e=>{let{open:t,toggle:s,setModal:c,message:r,isPopUpSafariButton:d}=e;const{t:u}=(0,i.$G)("modals");return(0,a.useEffect)((()=>{t?document.body.style.setProperty("overflow","hidden","important"):document.body.style.removeProperty("overflow")}),[t]),(0,n.jsxs)(o.Z,{className:"modal-not-logged",isOpen:t,toggle:s,children:[(0,n.jsx)(l.Z,{handleClick:()=>c(!1)}),(0,n.jsx)("h4",{children:r||u("audiovisualNotAvailable")})]})}},78953:function(e,t,s){"use strict";s.r(t);var n=s(85893),a=s(67294),o=s(9008),i=s.n(o),l=s(41664),c=s.n(l),r=s(11163),d=s(5233),u=s(53637),m=s(35773),v=s(95305),p=s(26328),g=s(10630),x=s(41915),f=s(81793),h=s(97618);t.default=e=>{const[t,s]=(0,a.useState)([]),{methodGet:o}=(0,x.Z)(),l=(0,r.useRouter)(),{t:j}=(0,d.$G)("common");return(0,a.useEffect)((()=>{(async()=>{const{data:e}=await o((0,f.nz)(),{page:1,skip_chapters:!0,page_size:4,fields:"id,type,slug,cover,cover_horizontal,name"});e&&s((null===e||void 0===e?void 0:e.results)||[])})()}),[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i(),{children:[(0,n.jsx)("style",{}),(0,n.jsx)("title",{children:"Pagina sin contenido"})]}),(0,n.jsx)(u.Z,{fluid:!0,children:(0,n.jsx)("div",{className:"theme-main main-container bg-image d-flex align-items-center p-3",style:{backgroundImage:'url("'.concat(h.Z.src,'")')},children:(0,n.jsxs)(m.Z,{className:"justify-content-center align-items-center",children:[(0,n.jsx)("div",{className:"col-8 col-md-2 col-sm-3",children:(0,n.jsx)("img",{src:"/images/ardilla404.png",alt:"Ardilla 404"})}),(0,n.jsxs)("div",{className:"col-xs-12 col-md-4 col-sm-6",children:[(0,n.jsx)("h1",{className:"bold",children:"\xa1UPS...!"}),(0,n.jsx)("h2",{className:"bold",children:j("noExist")}),(0,n.jsxs)("p",{children:[j("error404-1")," ",(0,n.jsx)(c(),{href:"/",legacyBehavior:!0,children:(0,n.jsxs)("span",{className:"link",style:{color:"#e46b60"},children:[j("error404-link")," "]})})," ",j("error404-2")]})]}),(0,n.jsx)(u.Z,{className:"container-full",children:(0,n.jsxs)(v.Z,{md:12,className:"row justify-content-start bgd-light",style:{background:"none"},children:[(0,n.jsx)(v.Z,{lg:12,className:"titlefilmsAlternatives",children:(0,n.jsx)("h3",{children:j("filmsAlternatives")})}),null===t||void 0===t?void 0:t.map((e=>(0,n.jsx)(v.Z,{md:4,lg:3,className:"justify-content-center",children:(0,n.jsx)(p.Z,{product:e,type:e.type,slug:e.slug,cover:e.cover||e.cover_horizontal,titleCover:e.name})},e.id)))]})}),(0,n.jsx)(v.Z,{md:12,className:"row justify-content-center",children:(0,n.jsx)(v.Z,{md:4,lg:3,sm:12,children:(0,n.jsx)(g.Z,{isSingleElement:!0,isFullWidth:!0,onClick:()=>l.replace("/"),children:j("error404-link")})})})]})})})]})}},60139:function(e,t,s){"use strict";s.r(t),s.d(t,{Podcast:function(){return ne},__N_SSP:function(){return se},default:function(){return ae}});var n=s(85893),a=s(67294),o=s(45697),i=s.n(o),l=s(5233),c=s(33247),r=s(55398),d=s(67634),u=s(62534),m=s(27882),v=s(84082),p=s(53637),g=s(35773),x=s(95305),f=s(11163),h=s(41664),j=s.n(h),b=s(47311),N=s(12515),y=s(15581),Z=s(
152230),k=s(47204),S=s(84994),w=s(97897),_=s(9745),P=s(20473),C=s(30381),T=s.n(C);var E=e=>{let{isOpen:t,podcast:s,onClose:a}=e;const{t:o}=(0,l.$G)("content-detail");return t&&s?(0,n.jsx)("div",{className:"podcast-info-modal-overlay",onClick:a,children:(0,n.jsxs)("div",{className:"podcast-info-modal",onClick:e=>e.stopPropagation(),children:[(0,n.jsxs)("div",{className:"podcast-info-modal-header",children:[(0,n.jsx)("h5",{className:"podcast-info-modal-title",children:s.name}),(0,n.jsx)(P.z3f,{size:30,onClick:a,className:"podcast-info-modal-close"})]}),(0,n.jsx)("div",{className:"podcast-info-modal-content",children:(0,n.jsx)("div",{children:(0,b.ZP)((i=s.description,i?i.replace(/\\r\\n/g,"<br />").replace(/\\r/g,"<br />").replace(/\\n/g,"<br />"):o("noInfo")))})})]})}):null;var i};const I=e=>{let{podcastData:t,selectPodcastEpisode:s}=e;var o;const{t:i}=(0,l.$G)("content-detail"),[c,r]=(0,a.useState)(null),[d,u]=(0,a.useState)(!1);function m(e){if(e>60){return function(e){if(!e)return"";const t=Math.floor(e/3600),s=Math.floor(e%3600/60),n=e%60,a=t<10?"0".concat(t):t,o=s<10?"0".concat(s):s,i=n<10?"0".concat(n):n;return"".concat(a,":").concat(o,":").concat(i)}(e)}return e<60?"".concat(e,"s"):""}const v=e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"item-podcast-duration",children:m(null===e||void 0===e?void 0:e.duration_seconds)}),(0,n.jsx)(P.cuI,{"aria-label":"play",className:"item-podcast-play",size:25,onClick:()=>s(e)}),(0,n.jsx)(P.FPm,{className:"item-podcast-info",size:25,onClick:()=>(e=>{r(e),u(!0)})(e),style:{cursor:"pointer"}})]});return(0,n.jsx)(x.Z,{lg:12,sm:12,className:"description-seasons",children:(null===t||void 0===t||null===(o=t.results)||void 0===o?void 0:o.length)>0&&(0,n.jsxs)("section",{className:"seasons-container-podcast",children:[(0,n.jsx)("div",{className:"podcast-container",tabIndex:0,children:null===t||void 0===t?void 0:t.results.map(((e,t)=>(0,n.jsx)("div",{className:"single-cover-podcast",children:(0,n.jsxs)(g.Z,{className:"justify-content-between",children:[(0,n.jsx)("img",{className:"item-podcast-cover",src:(null===e||void 0===e?void 0:e.cover)||"/images/default_cover.png",alt:"".concat(e.id,"-cover")}),(0,n.jsx)("div",{className:"col-9 col-md-7 px-0 d-flex flex-column",children:(0,n.jsxs)("div",{className:"item-podcast-description col-12 pl-0 mb-0",children:[(0,n.jsx)("p",{children:null===e||void 0===e?void 0:e.name}),(0,n.jsxs)("div",{className:"d-flex justify-content-between mt-2 mt-lg-0",children:[(0,n.jsx)("span",{className:"pt-2 pt-lg-0",children:T()(null===e||void 0===e?void 0:e.publication_datetime).format("DD/MM/YYYY")}),(0,n.jsx)("div",{className:"d-md-none d-flex align-items-end justify-content-between col-8",children:v(e)})]})]})}),(0,n.jsx)("div",{className:"d-none d-md-flex justify-content-around col-2 col-md-3 col-lg-3",children:v(e)})]})},"".concat(e.id,"-").concat(t))))}),d&&(0,n.jsx)(E,{isOpen:d,onClose:()=>{u(!1),setTimeout((()=>{r(null)}),300)},podcast:c})]})})};var F=s(76711),M=s(62975),L=s(22992);const z=e=>{let{setPage:t,page:s,totalPages:a=1,querySearch:o=null,currentCategory:i=null,filters:c=null}=e;const{t:r}=(0,l.$G)("backoffice","common");return(0,n.jsx)("div",{className:"m-auto",children:(0,n.jsxs)(F.Z,{"aria-label":"Page navigation example",children:[a<6&&(0,n.jsx)(n.Fragment,{children:[...Array(a)].map(((e,a)=>(0,n.jsx)(M.Z,{className:"page-item-front",active:a+1===s,children:(0,n.jsx)(L.Z,{onClick:()=>t(a+1,o,i,c),children:a+1})},a)))}),a>=6&&(0,n.jsxs)(n.Fragment,{children:[s<=3&&(0,n.jsxs)(n.Fragment,{children:[[...Array(a)].slice(0,5).map(((e,a)=>(0,n.jsx)(M.Z,{className:"page-item-front",active:a+1===s,children:(0,n.jsx)(L.Z,{onClick:()=>t(a+1,o,i,c),children:a+1})},a))),(0,n.jsx)(M.Z,{className:"page-item-front",children:(0,n.jsx)(L.Z,{last:!0,onClick:()=>t(a,o,i,c)})})]}),s>3&&s<a-2&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(M.Z,{className:"page-item-front",children:(0,n.jsx)(L.Z,{first:!0,onClick:()=>t(1,o,i,c)})}),Array.from({length:5},((e,a)=>{const l=s-2+a;return console.log("pageNumber",l),(0,n.jsx)(M.Z,{className:"page-item-front",active:l===s,children:(0,n.jsx)(L.Z,{onClick:()=>
1t(l,o,i,c),children:l})},l)})),(0,n.jsx)(M.Z,{className:"page-item-front",children:(0,n.jsx)(L.Z,{last:!0,onClick:()=>t(a,o,i,c)})})]}),s>=a-2&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(M.Z,{className:"page-item-front",children:(0,n.jsx)(L.Z,{first:!0,onClick:()=>t(1,o,i,c)})}),Array.from({length:5},((e,l)=>{const r=a-4+l;return console.log("pageNumber",r),(0,n.jsx)(M.Z,{className:"page-item-front",active:r===s,children:(0,n.jsx)(L.Z,{onClick:()=>t(r,o,i,c),children:r})},r)}))]})]})]})})};z.propTypes={page:i().number.isRequired,setPage:i().func.isRequired,totalPages:i().number.isRequired};var R=z,D=s(96352),A=(s(8672),s(50788)),G=s(50529);var $=e=>{let{episode:t,footer:s,loanId:o}=e;var i;const[l,c]=(0,a.useState)(t),[r,d]=(0,a.useState)(0),[u,m]=(0,a.useState)(0),v=(0,a.useRef)(null);(0,a.useEffect)((()=>{t&&(c(t),localStorage.setItem("currentEpisode",JSON.stringify(t)))}),[t]),(0,a.useEffect)((()=>{const e=localStorage.getItem("currentEpisode");if(e&&!t)try{c(JSON.parse(e))}catch(s){console.error("Error al parsear el estado del episodio:",s)}}),[t]),(0,a.useEffect)((()=>{if(o){const s=localStorage.getItem("time-podcast-".concat(o));if(!s&&(null===l||void 0===l?void 0:l.progress)){const e=l.progress;e>0&&localStorage.setItem("time-podcast-".concat(o),e.toString())}if(u>0){var e,t;const s=g(u);s>0&&(null===(t=v.current)||void 0===t||null===(e=t.audio)||void 0===e?void 0:e.current)&&(v.current.audio.current.currentTime=s,setTimeout((()=>{var e,t;(null===(t=v.current)||void 0===t||null===(e=t.audio)||void 0===e?void 0:e.current)&&v.current.audio.current.play()}),100))}else if(s||(null===l||void 0===l?void 0:l.progress)){const e=setTimeout((()=>{var e,t;if(0===u&&(null===(t=v.current)||void 0===t||null===(e=t.audio)||void 0===e?void 0:e.current)){const e=s?parseFloat(s):(null===l||void 0===l?void 0:l.progress)||0;e>0&&(v.current.audio.current.currentTime=e,setTimeout((()=>{var e,t;(null===(t=v.current)||void 0===t||null===(e=t.audio)||void 0===e?void 0:e.current)&&v.current.audio.current.play()}),100))}}),2e3);return()=>clearTimeout(e)}}}),[o,u,l]);const p=async e=>{if(o&&e>0)try{const t={id:o,progress_user:parseInt(e)};await(0,G.SP)(o,t)}catch(t){}},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(o){const t=localStorage.getItem("time-podcast-".concat(o)),s=t?parseFloat(t):(null===l||void 0===l?void 0:l.progress)||0;if(s>0){const t=e||u;if(t>0){if((t-s)/60<=2)return s}return s}}return 0},x=()=>{o&&r>0&&(localStorage.setItem("time-podcast-".concat(o),r.toString()),p(r))};return(0,a.useEffect)((()=>(window.addEventListener("beforeunload",x),()=>{window.removeEventListener("beforeunload",x)})),[r,o]),(0,n.jsx)("div",{children:(0,n.jsx)(D.Z,{ref:v,src:null===t||void 0===t||null===(i=t.player)||void 0===i?void 0:i.source,footer:(0,n.jsx)("h4",{className:"title-podcast",children:s}),onPlay:e=>{if(o&&u>0){if(localStorage.getItem("time-podcast-".concat(o))&&0===e.target.currentTime){const t=g(u);t>0&&(e.target.currentTime=t)}}},onLoadedMetadata:e=>{const t=e.target.duration;if(m(t),o){const e=g(t);e>0&&setTimeout((()=>{var t,s;(null===(s=v.current)||void 0===s||null===(t=s.audio)||void 0===t?void 0:t.current)&&(v.current.audio.current.currentTime=e,setTimeout((()=>{var e,t;(null===(t=v.current)||void 0===t||null===(e=t.audio)||void 0===e?void 0:e.current)&&v.current.audio.current.play()}),100))}),100)}},onTimeUpdate:e=>{d(e.target.currentTime)},onPause:e=>{o&&e.target.currentTime>0&&(localStorage.setItem("time-podcast-".concat(o),e.target.currentTime.toString()),p(e.target.currentTime))},onEnded:e=>{o&&localStorage.removeItem("time-podcast-".concat(o)),localStorage.removeItem("currentEpisode")},progressJumpSteps:{forward:1e4,backward:1e4},customIcons:{rewind:(0,n.jsx)(A.FAz,{}),forward:(0,n.jsx)(A.H_w,{})},style:{background:"#232122"}})})},O=s(84620),B=s(73267),X=s(23347),q=s(45007),H=s(74849),U=s(51347);const Y=e=>{let{data:t,basicData:s,buttonText:o,title:i,type:d,id:u,saved:m,setRating:h,isSaved:P,contentNotAvailable:C,contentNotAvailableDevice:T,comingSoon:E,podcastTopics:F=[],podcastLanguages:M=[],podcastData:L,infoPage:z,setInfoPage:D,loanIdPodcastFromIndex:A}=e;const{t:Y}=(0,l.$G)("content-detail"),J=(0,q.I0)(),K=(0,f.useRouter)(),[W,Q]=(0,a.useState)(!1),[V,ee]=(0,a.useState)(null),[te,se]=(0,a.useState)(!1),[ne,ae]=(0,a.useState)(!1),[oe,ie]=(0,a.useState)(!1),[le,ce]=(0,a.useState)(null),[re,de]=(0,a.useState)(null),{isAuth:ue,setCreditsLeft:me,creditsLeft:ve,setRemainingCredits:pe}=(0,a.useContext)(r.S),{client:ge}=(0,a.useContext)(c.R),xe=null!==(null===t||void 0===t?void 0:t.rating)?(0,n.jsx)(y.pHD,{"aria-hidden":!0,
1className:"star"}):(0,n.jsx)(y.y5j,{"aria-hidden":!0,className:"star"}),fe={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:(null===t||void 0===t?void 0:t.banner)?"url(".concat(t.banner,")"):"url(".concat((0,U.WF)(),")"),backgroundSize:"cover",backgroundPosition:"center",opacity:.2,zIndex:0,filter:"grayscale(50%)"};function he(e){if(e>60){let t=Math.floor(e/60),s=e%60;return s=("0"+s).slice(-2),"".concat(t,"H ").concat(s,"MIN")}return e<60?"".concat(e,"MIN"):""}(0,a.useEffect)((()=>{null!==A&&(de(A),Ze(A))}),[A]);const je=()=>{"eliburutegia"===(null===ge||void 0===ge?void 0:ge.name)||"eliburutegia_aldizkaria"===ge.name?window.location.href="https://www.euskadi.eus/ac37aELiburutegiaPublicaWar/home/maint":K.push("/login")},be=e=>{ue?(ie(!1),null===(null===e||void 0===e?void 0:e.has_loan)?Ne(e.id):ye(e.has_loan)):je()},Ne=async e=>{try{const n={product:e},a=await(0,G.tX)(n);if(201===a.status||200===a.status){var t,s;const e=await(0,G.wH)(a.data.loan.id);let n={...ve,remaining_loans:e.data.remaining_loans};me(n),pe(n),de(null===(t=e.data)||void 0===t?void 0:t.id),Ze(null===(s=e.data)||void 0===s?void 0:s.id),J((0,H.lM)(e.data)),J((0,H.S3)(e.data))}else console.log("error make loan Podcast-createLoan->",a.data.msg.msg)}catch(n){console.log("error make loan Podcast",n)}},ye=async e=>{try{const t=await(0,G.pl)(e);201===t.status||200===t.status?(de(t.data.id),Ze(t.data.id),J((0,H.lM)(t.data.loan)),J((0,H.S3)(t.data.loan))):console.log("error make loan Podcast-createLoan->",t.data)}catch(t){console.log("error get loan Podcast",t)}},Ze=async e=>{try{const t={loan:e},{status:s,data:n}=await(0,X.f)(t);201!==s&&200!==s||(ie(!0),ce(n))}catch(t){console.log("loadContent - createDisplay error",t)}};return(0,n.jsxs)("div",{className:"principal-section",children:[(0,n.jsx)(B.Z,{}),(0,n.jsx)(p.Z,{fluid:!0,className:"banner",children:(0,n.jsxs)("div",{className:"img w-100 align-items-center d-flex position-relative",children:[(0,n.jsx)("div",{style:fe}),(0,n.jsx)("div",{className:"overlay-podcast"}),(0,n.jsx)(p.Z,{className:"container-fluid d-flex z-3",children:(0,n.jsxs)(g.Z,{children:[(0,n.jsx)(x.Z,{xs:12,sm:12,md:6,lg:5,className:"left-col d-flex align-items-center",children:(0,n.jsx)(x.Z,{xs:10,sm:12,lg:10,children:(0,n.jsx)(Z.Z,{cover:(null===t||void 0===t?void 0:t.cover)||(null===t||void 0===t?void 0:t.cover_horizontal),isNew:{is_new:t,type:null===t||void 0===t?void 0:t.type},isFicha:!0})})}),(0,n.jsx)(x.Z,{xs:10,sm:12,md:6,lg:7,className:"right-col-podcast",children:(0,n.jsxs)(g.Z,{className:"texts-row",xs:10,sm:12,md:6,lg:10,children:[(0,n.jsx)(x.Z,{lg:12,md:12,children:(0,n.jsx)("p",{className:"title-detail-item mt-0 mt-lg-5 mb-3",children:(null===t||void 0===t?void 0:t.name)||Y("unavailableTitle")})}),(0,n.jsx)(x.Z,{lg:12,md:12,children:(0,n.jsxs)("div",{className:"",children:[(0,n.jsx)(_.Z,{style:{cursor:"pointer"},onClick:()=>{ue?se(!0):(ee("notLoggedFunctionality"),Q(!0))},children:null===t||void 0===t?void 0:t.rating_avg,star:xe}),s&&s.map(((e,t)=>(0,n.jsx)(_.Z,{children:"number"==typeof e?he(e):e},t)))]})}),(0,n.jsxs)(x.Z,{xs:12,sm:12,md:12,xl:12,lg:12,className:"buttons-container flex-column",children:[(0,n.jsx)("p",{children:(0,b.ZP)((0,U.$G)(null===t||void 0===t?void 0:t.description,500))}),(0,n.jsxs)("div",{className:"div-buttons-podcast",children:[T?(0,n.jsxs)(v.Z,{className:"cbtn-primary button-play btn-background-ada",onClick:ue?()=>ae(!0):()=>je(),children:[Y(o)," ",(0,n.jsx)(y.cpI,{"aria-hidden":!0})]}):C?(0,n.jsxs)(v.Z,{className:"cbtn-primary button-play btn-background-ada",onClick:ue?null:()=>je(),disabled:ue&&"true",children:[Y(o)," ",(0,n.jsx)(N.KCr,{"aria-hidden":!0})]}):E?(0,n.jsxs)(v.Z,{className:"cbtn-primary button-play btn-background-ada",children:[Y(o)," ",(0,n.jsx)(N.KCr,{"aria-hidden":!0})]}):(0,n.jsxs)("a",{className:"cbtn-primary button-play btn-background-ada",style:{cursor:"pointer"},onClick:ue?()=>be(null===L||void 0===L?void 0:L.results[0]):()=>je(),children:[Y(o)," ",(0,n.jsx)(N.KCr,{"aria-hidden":!0})]}),(0,n.jsx)("div",{className:"below-buttons",children:(0,n.jsx)(k.Z,{className:"btn-save me-2-md",type:d,id:u,data:t,isAuth:ue,saved:m,isSaved:P,isPodcast:!0})})]}),(0,n.jsxs)("section",{className:"podcast-section",children:[(null===F||void 0===F?void 0:F.length)>0&&(0,n.jsx)("div",{className:"podcast-topics px-0 my-3 col-xs-12 col-sm-7 col-md-10 col-lg-7",children:F.slice(0,5).map(((e,t)=>(0,n.jsx)("div",{className:"genre-meta-chips mt-1 mx-2 p-1 d-inline-flex",children:(0,n.jsx)(j(),{href:"/filter-by/topic/".concat(e.id,"/").concat(e.slug),legacyBehavior:!0,children:(0,n.jsx)("span",{className:"cursor-pointer",children:e.name})},t)},t)))}),(null===M||void 0===M?void 0:M.length)>0&&(0,n.jsxs)("div",{className:"podcast-languages col-3 col-sm-2 col-md-3 col-lg-4 mt-sm-3 px-0 pl-2 pl-md-0",children:[(0,n.jsxs)("span",{className:"title-languages",children:[" ",Y("language")," "]}),M.map(((e,t)=>(0,n.jsx)(g.Z,{className:"value-row mt-3",children:(0,n.jsxs)("span",{className:"multiple-languages",children:[e.name?e.name:Y("unknown"),1==M.length?"":t!==M.length-2?",":null]})},t)))]})]})]})]})})]})})]})}
1),oe&&(0,n.jsx)("div",{className:"pt-2 pb-1 podcast-player-container",children:(0,n.jsx)($,{episode:le,footer:(0,U.$G)(null===le||void 0===le?void 0:le.name,30),loanId:re})}),(0,n.jsxs)(p.Z,{className:"podcast-episodes",fluid:!0,children:[(0,n.jsxs)(p.Z,{className:"container-fluid",children:[(0,n.jsx)(g.Z,{children:(0,n.jsx)(x.Z,{className:"col-description bgd-dark-light px-3 podcast-episodes-list",children:(0,n.jsx)(I,{podcastData:L,selectPodcastEpisode:be})})}),(0,n.jsx)(g.Z,{children:(0,n.jsx)(R,{page:z.page,setPage:D,totalPages:z.totalPages})})]}),(0,n.jsx)(w.Mv,{open:W,setModal:Q,msg:V}),(0,n.jsx)(S.ZF,{open:te,setModal:se,title:i,id:null===t||void 0===t?void 0:t.id,productType:d,userRating:null!==(null===t||void 0===t?void 0:t.rating)&&(null===t||void 0===t?void 0:t.rating),updateRating:h}),(0,n.jsx)(O.ZP,{open:ne,setModal:ae})]},null===t||void 0===t?void 0:t.id)]})};Y.propTypes={data:i().object,menuDescription:i().node,basicData:i().array,title:i().string,type:i().string,buttonText:i().string};var J=Y,K=s(48282),W=s(78953),Q=s(21845),V=s(41915),ee=s(79919),te=s(15801),se=!0;const ne=e=>{let{podcastCollectionProp:t,related:s,podcastChaptersSSR:o,loanIdPodcastFromIndex:i}=e;const{t:v}=(0,l.$G)("content-detail"),{methodGet:p}=(0,V.Z)(),{client:g}=(0,a.useContext)(c.R),{user:x}=(0,a.useContext)(r.S),[f,h]=(0,a.useState)(null),[j,b]=(0,a.useState)(!1),[N,y]=(0,a.useState)(!1),[Z,k]=(0,a.useState)(!1),[S,w]=(0,a.useState)(!1),[_,P]=(0,a.useState)(),[C,T]=(0,a.useState)((()=>{var e;return{page:1,totalPages:null===o||void 0===o?void 0:o.total_pages,nextLink:null===o||void 0===o||null===(e=o.links)||void 0===e?void 0:e.next}}));(0,a.useEffect)((()=>{P(o)}),[o]),(0,a.useEffect)((()=>{let e={view_from:2,detail_id:null===t||void 0===t?void 0:t.id,user_id:null===x||void 0===x?void 0:x.id,client_id:null===g||void 0===g?void 0:g.id};return void 0!==g.id&&void 0!==x.id&&void 0!==(null===t||void 0===t?void 0:t.id)&&(0,U.GD)("collection",e),()=>{h(null)}}),[null===t||void 0===t?void 0:t.id]);const E=()=>{const e=window.pageYOffset;b(750<e)};(0,a.useEffect)((()=>(window.addEventListener("scroll",E),()=>{window.removeEventListener("scroll",(()=>E))})),[E]),(0,a.useEffect)((()=>{t&&"object"===typeof t?(k((0,U.vQ)(t)),h(t),y(4===t.status),w(2===(null===t||void 0===t?void 0:t.status_global)),(null===t||void 0===t?void 0:t.id)&&(async e=>{const t=await p((0,te.d7)(e),{page_size:d.js.ELEMENTS_X_LIST});(null===t||void 0===t?void 0:t.data)&&P(t.data)})(t.id)):t&&(h(t),y(!1),w(!1),k(!1))}),[t,s]);return(0,n.jsx)("div",{className:"transparent-navbar",children:(0,n.jsx)(u.H,{nameProductSEO:null===t||void 0===t?void 0:t.name,seoTitle:"seoPodcastTitle",seoDescrip:"seoPodcastDescrip",children:"noInfo"===t?(0,n.jsx)(W.default,{}):t&&f?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{data:f,basicData:[(null===f||void 0===f?void 0:f.duration)>0&&f.duration,f.quality&&f.quality,f.classification?f.classification.code?f.classification.code:f.classification.name:""],id:f.id,type:"podcast",title:(null===f||void 0===f?void 0:f.name)||v("unavailableTitle"),buttonText:((e,t)=>Z?t("desabledButtonText"):N?t("notAvailableContent"):2===(null===e||void 0===e?void 0:e.status_global)?t("comingSoon"):"podcast"===e.type?t("listenPodcast"):"manga"===e.type?t("readMagazine").replace("XXX",e.episodes[0].name):t("read"))(f,v),setRating:async e=>{const t=f.id,{status:s,data:n}=await(0,ee._B)(t);h(200===s||201===s?{...f,rating_avg:n.rating_avg,rating:{id:n.id,rating:e}}:{...f,rating:e,rating_avg:e.rating})},saved:(null===f||void 0===f?void 0:f.saved)?f.saved:null,isSaved:e=>{h({...f,saved:e})},contentNotAvailable:N,contentNotAvailableDevice:Z,comingSoon:S,podcastTopics:null===f||void 0===f?void 0:f.topics,podcastLanguages:null===f||void 0===f?void 0:f.languages,infoPage:C,setInfoPage:async e=>{let s={page_size:d.js.ELEMENTS_X_LIST,page:e};try{const{data:n,status:a}=await(0,ee.k$)(t.id,s);200===a&&(T({page:e,totalPages:n.total_pages,nextLink:n.links.next}),P(n))}catch(n){P([])}},podcastData:_,loanIdPodcastFromIndex:i}),(0,n.jsx)(Q.Z,{info:null===f||void 0===f?void 0:f.provider_info}),(null===s||void 0===s?void 0:s.length)>0&&(0,n.jsx)(m.Z,{lists:s,title:v("related"),isRelated:!0})]}):(0,n.jsx)(K.Z,{visibility:!0})})})};
1ne.propTypes={name:i().string,cover:i().string,description:i().string,related:i().arrayOf(i().object)};var ae=ne}},function(e){e.O(0,[6066,2650,7882,2888,9774,179],(function(){return t=71282,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.