1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4565],{ 2/***/33475: 3/***/function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/movies/[id]/[slug]",function(){return t(23114)}])}, 4/***/90485: 5/***/function(e,i,t){"use strict"; 6/* harmony export */t.d(i,{ 7/* harmony export */W:function(){/* binding */return d} 8/* harmony export */}); 9/* harmony import */var n=t(85893),a=t(91267),s=t(41664),l=t.n(s),o=t(67294),r=t(26279),c=t.n(r); 10/* harmony import */ 11/* eslint-disable jsx-a11y/control-has-associated-label */ 12function d(e){let{images:i,targetLink:t,adSaleId:s,region:r,subRegion:d}=e;return(0,o.useEffect)((()=>{try{const e={url:window.location.href,adSaleId:s,event:"view",regionId:r,subRegionId:d};(0,a/* .createAdLogAsync */.O)(e)}catch(e){console.error("Erro ao processar dados do anúncio:",e.message)}}),[]),(0,n.jsx)("div",{className:c()["banner-top-banner-container"],children:(0,n.jsx)(l(),{href:t,target:"_blank",rel:"noreferrer",onClick:e=>{e.stopPropagation();const i={url:window.location.href,adSaleId:s,event:"click",regionId:r,subRegionId:d};(0,a/* .createAdLogAsync */.O)(i)},"data-user-journey-click":"ad-sale-top-banner","data-user-journey-entity-type":"ad_sale","data-user-journey-entity-id":s,children:(0,n.jsxs)("picture",{children:[ 13 14(0,n.jsx)("source",{media:"(min-width: 1366px)",srcSet:i.desktop}), 15 16(0,n.jsx)("source",{media:"(min-width: 768px)",srcSet:i.tablet}), 17 18(0,n.jsx)("img",{src:i.mobile,alt:"banner-top-image",className:c().img,loading:"lazy",decoding:"async"})]})})})} 19/***/}, 20/***/83479: 21/***/function(e,i,t){"use strict"; 22/* harmony export */t.d(i,{ 23/* harmony export */Z:function(){/* binding */return v} 24/* harmony export */}); 25/* harmony import */var n=t(85893),a=t(21188),s=t(90240),l=t(52017),o=t(87066),r=t(41664),c=t.n(r),d=t(11163),m=t(67294),u=t(57632),_=t(39107),h=t.n(_); 26/* harmony import */function v(e){let{id:i=0,ga_platform:t="",complete_url:r="",translations:_}=e;const v=(0,d.useRouter)(),p=v.locale||"en";(0,s/* ["default"] */.Z)(p);const[f,x]=(0,m.useState)();return(0,m.useEffect)((()=>{(async()=>{const e=await Promise.resolve(o/* ["default"] */.Z.get("/api/bff/get-play-surpresa-next-movie",{params:{region:v.locale,id:i},headers:{"current-page-url":r}}));x(e.data.film)})()}),[v.locale]),(0,n.jsxs)("div",{className:h()["container-play-surpresa"],children:[ 27 28(0,n.jsx)("h2",{children:_.watch_full_movies_online}), 29 30(0,n.jsx)("p",{children:_.press_play_now_and_be_surprised}), 31 32(0,n.jsxs)(c(),{href:"/play/".concat(null==f?void 0:f.id_filme,"/").concat(null==f?void 0:f.slug),className:h().button,onClick:()=>{(0,l/* .createCustomEvent */.t)({name:"Play Surpresa",action:"cta",platform:t})},target:"_blank",rel:"noreferrer","data-user-journey-click":"play-surpresa","data-user-journey-entity-type":"movie","data-user-journey-entity-id":null==f?void 0:f.id_filme,children:[ 33 34(0/* .FilmPlayCircleOutline */,n.jsx)(a.sz,{size:22,viewBoxSize:18,color:"#1C1C28"}),_.surprise_me]},(0,u/* ["default"] */.Z)())]})} 35/***/}, 36/***/60719: 37/***/function(e,i,t){"use strict"; 38/* harmony export */t.d(i,{ 39/* harmony export */A8:function(){/* binding */return v}, 40/* harmony export */ev:function(){/* binding */return p}, 41/* harmony export */ne:function(){/* binding */return h} 42/* harmony export */}); 43/* harmony import */var n=t(85893),a=t(21188),s=t(58361),l=t(9008),o=t.n(l),r=t(4710),c=t(36001),d=t(67294),m=t(13913),u=t(39666),_=t.n(u); 44/* harmony import */function h(e){let{videos:i,title:t,id:l,loading:u}=e;const[h,v]=(0,d.useState)(0),[p,f]=(0,d.useState)(!0),x=(0,s/* .useUserJourneyEvent */.b)();(0,d.useEffect)((()=>{f("IntersectionObserver"in window&&"Promise"in window&&"fetch"in window&&!(()=>{const{userAgent:e}=navigator,i=/Headless/.test(e),t=/Chrome\/119\.0\.0\.0/.test(e);return i||t})())}),[]);const g={height:"100%",width:"100%"};if(0===(null==i?void 0:i.length)||!(null==i?void 0:i.some((e=>e.videoId))))return null;const j=e=>"https://i.ytimg.com/vi_webp/".concat(e,"/hqdefault.webp"),y=i.filter((e=>e.videoId));if(1===y.length){const e=y[0];return u?(0/* .Skeleton */,n.jsx)(r.O,{className:_()["full-movie-trailer-skeleton"]}):(0,n.jsxs)(n.Fragment,{children:[ 45 46(0,n.jsx)(o(),{children:p&&(0,n.jsx)("link",{rel:"preload",href:j(e.videoId),as:"image"})}), 47 48(0,n.jsxs)("div",{id:l,className:_()["full-movie-trailer"],children:[ 49 50(0,n.jsx)("h2",{children:e.title}), 51 52(0,n.jsx)("hr",{}), 53 54(0,n.jsx)("div",{className:_()["single-video"],children:p?(0/* ["default"] */,n.jsx)(m.Z,{videoId:e.videoId,opts:g,title:e.title,className:_()["youtube-player"],onPlay:()=>{e.user_journey_click&&x({action_type:"click",page_url:window.location.href,element_key:e.user_journey_click,element_tag:"iframe",entity_type:e.user_journey_entity_type,entity_id:void 0!==e.user_journey_entity_id?String(e.user_journey_entity_id):void 0,scroll_x:Math.round(window.scrollX),scroll_y:Math.round(window.scrollY),viewport_width:window.innerWidth,viewport_height:window.innerHeight})}}):(0,n.jsx)("div",{className:"".concat(_()["youtube-player"]," ").concat(_()["incompatible-message"]),children:"Browser not compatible"})})]})]})}return u?(0/* .Skeleton */,n.jsx)(r.O,{className:_()["full-movie-trailer-skeleton"]}):(0,n.jsxs)(n.Fragment,{children:[ 55 56(0,n.jsx)(o(),{children:p&&y.map((e=>(0,n.jsx)("link",{rel:"preload",href:j(e.videoId),as:"image"})))}), 57 58(0,n.jsxs)("div",{id:l,className:_()["full-movie-trailer"],children:[ 59 60(0,n.jsx)("h2",{children:t}), 61 62(0/* .TabView */,n.jsx)(c.f,{panelContainerClassName:_()["tabview-container"],className:_()["tab-view-custom"],pt:{nav:{className:_()["header-tab-view"]},inkbar:{style:{display:"none"}}},onTabChange:e=>{v(e.index)},activeIndex:h,children:y.map(((e,i)=>(0/* .TabPanel */,n.jsx)(c.x,{header:(0,n.jsxs)("span",{"data-user-journey-click":e.user_journey_click,"data-user-journey-entity-type":e.user_journey_entity_type,"data-user-journey-entity-id":e.user_journey_entity_id,children:[ 63 64(0/* .FilmPlay */,n.jsx)(a.Bk,{size:22,viewBoxSize:18,color:"#F2F2F2"}),e.title]}),className:h===i?_()["header-tab-panel-active"]:_()["header-tab-panel"],children:p?(0/* ["default"] */,n.jsx)(m.Z,{videoId:e.videoId,opts:g,title:e.title,className:_()["youtube-player"]}):(0,n.jsx)("div",{className:"".concat(_()["youtube-player"]," ").concat(_()["incompatible-message"]),children:"Browser not compatible"})})))})]})]})}function v(e){let{video:i,loading:t,mute:a,onReady:s,onPlay:l}=e;const o={height:"100%",width:"100%",playerVars:{mute:a}}; 65return(0,n.jsx)("div",{className:_()["watch-movie"],children:t?(0/* .Skeleton */,n.jsx)(r.O,{className:_()["watch-movie-skeleton"]}):(0/* ["default"] */,n.jsx)(m.Z,{videoId:i.videoId,opts:o,className:_()["youtube-player"],onReady:s,onPlay:l})})}function p(e){let{video:i,loading:t,mute:a,onReady:s,onPlay:l}=e;const o={height:"100%",width:"100%",playerVars:{mute:a}}; 66return(0,n.jsx)("div",{className:_()["watch-curator-video"],children:t?(0/* .Skeleton */,n.jsx)(r.O,{className:_()["watch-movie-skeleton"]}):(0/* ["default"] */,n.jsx)(m.Z,{videoId:i.videoId,opts:o,className:_()["youtube-player"],onReady:s,onPlay:l})})} 67/***/}, 68/***/97088: 69/***/function(e,i,t){"use strict"; 70/* harmony export */t.d(i,{ 71/* harmony export */A:function(){/* binding */return h}, 72/* harmony export */N:function(){/* binding */return v} 73/* harmony export */});
74/* harmony import */var n=t(85893),a=t(21188),s=t(52017),l=t(41664),o=t.n(l),r=t(11163),c=t(67294),d=t(57632),m=t(21480),u=t(69592),_=t.n(u); 75/* harmony import */function h(e){let{ga_page:i="",translations:t}=e;const l=(0,r.useRouter)().locale||"en",d=(0,c.useMemo)((()=>"mx"===l?"/mx/pelicula-del-dia":"br"===l?"/br/filme-do-dia":"/movie-of-the-day"),[l]); 76return(0,n.jsxs)("div",{className:_()["container-movie-of-the-day"],children:[ 77 78(0,n.jsxs)("div",{className:_()["left-side"],children:[ 79 80(0,n.jsx)("section",{className:_()["section-hint"],children:(0,n.jsxs)("div",{className:_().hint,children:[ 81 82(0,n.jsx)("span",{className:_()["quotation-marks-initial"],children:(0/* .FilmLeftQuotationMark */,n.jsx)(a.K9,{minX:-3})}), 83 84(0,n.jsx)("p",{className:_().description,children:t.movie_of_the_day_hint}), 85 86(0,n.jsx)("span",{className:_()["quotation-marks-final"],children:(0/* .FilmRightQuotationMark */,n.jsx)(a.lg,{minX:-2,minY:-8})})]})}), 87 88(0,n.jsx)("section",{className:_()["section-gif"],children:(0,n.jsxs)("picture",{children:[ 89 90(0,n.jsx)("source",{media:"(max-width: 1365px)",srcSet:"/images/optimized/movie-of-the-day-optimized_300x44.webp"}), 91 92(0,n.jsx)("img",{src:"/images/optimized/movie-of-the-day-optimized_410x59.webp",alt:"movie_of_the_day_game",loading:"lazy",decoding:"async",draggable:!1,width:410,height:59,style:{width:"100%",height:"100%",inset:0,position:"absolute"}})]})})]}), 93 94(0,n.jsxs)("div",{className:_()["right-side"],children:[ 95 96(0,n.jsx)("h2",{ 97// eslint-disable-next-line react/no-danger 98dangerouslySetInnerHTML:{__html:t.movie_of_the_day_title},"data-user-journey-key":"editorial-link"}), 99 100(0,n.jsxs)("section",{className:_()["section-description"],children:[ 101 102(0/* ["default"] */,n.jsx)(m.Z,{src:"/images/pop-corn-filmelier.webp",alt:t.movie_of_the_day_popcorn_title,title:t.movie_of_the_day_popcorn_title}), 103 104(0,n.jsx)("p",{ 105// eslint-disable-next-line react/no-danger 106dangerouslySetInnerHTML:{__html:t.movie_of_the_day_description},"data-user-journey-key":"editorial-link"})]}), 107 108(0,n.jsx)("div",{className:_()["button-movie-of-the-day"],children:(0,n.jsx)(o(),{href:d,className:_().button,onClick:()=>{(0,s/* .createCustomEvent */.t)({name:"Play Movie of the Day",action:"cta",platform:i})},target:"_blank",rel:"noreferrer","data-user-journey-key":"cta-movie-of-the-day",children:t.movie_of_the_day_button})})]})]})}function v(e){let{ga_page:i="",translations:t}=e;const l=(0,r.useRouter)().locale||"en",u=(0,c.useMemo)((()=>"mx"===l?"/mx/pelicula-del-dia":"br"===l?"/br/filme-do-dia":"/movie-of-the-day"),[l]); 109return(0,n.jsxs)("div",{className:_()["container-movie-of-the-day-movie-page"],children:[ 110 111(0,n.jsxs)("div",{className:_()["left-side"],children:[ 112 113(0,n.jsx)("section",{className:_()["section-hint"],children:(0,n.jsxs)("div",{className:_().hint,children:[ 114 115(0,n.jsx)("span",{className:_()["quotation-marks-initial"],children:(0/* .FilmLeftQuotationMark */,n.jsx)(a.K9,{minX:-3})}), 116 117(0,n.jsx)("p",{className:_().description,children:t.movie_of_the_day_hint}), 118 119(0,n.jsx)("span",{className:_()["quotation-marks-final"],children:(0/* .FilmRightQuotationMark */,n.jsx)(a.lg,{minX:-2,minY:-8})})]})}), 120 121(0,n.jsx)("section",{className:_()["section-gif"],children:(0,n.jsxs)("picture",{children:[ 122 123(0,n.jsx)("source",{media:"(max-width: 1365px)",srcSet:"/images/optimized/movie-of-the-day-optimized_300x44.webp"}), 124 125(0,n.jsx)("img",{src:"/images/optimized/movie-of-the-day-optimized_410x59.webp",alt:"movie_of_the_day_game",loading:"lazy",decoding:"async",draggable:!1,width:410,height:59,style:{width:"100%",height:"100%",inset:0,position:"absolute"}})]})})]}), 126 127(0,n.jsxs)("div",{className:_()["right-side"],children:[ 128 129(0,n.jsx)("h2",{ 130// eslint-disable-next-line react/no-danger 131dangerouslySetInnerHTML:{__html:t.movie_of_the_day_title},"data-user-journey-key":"editorial-link"}), 132 133(0,n.jsxs)("section",{className:_()["section-description"],children:[ 134 135(0/* ["default"] */,n.jsx)(m.Z,{src:"/images/pop-corn-filmelier.webp",alt:t.movie_of_the_day_popcorn_title,title:t.movie_of_the_day_popcorn_title}), 136 137(0,n.jsx)("p",{ 138// eslint-disable-next-line react/no-danger 139dangerouslySetInnerHTML:{__html:t.movie_of_the_day_description},"data-user-journey-key":"editorial-link"})]}), 140 141(0,n.jsx)("div",{className:_()["button-movie-of-the-day"],children:(0,n.jsx)(o(),{href:u,className:_().button,onClick:()=>{(0,s/* .createCustomEvent */.t)({name:"Play Movie of the Day",action:"cta",platform:i})},target:"_blank",rel:"noreferrer","data-user-journey-key":"cta-movie-of-the-day",children:t.movie_of_the_day_button},(0,d/* ["default"] */.Z)())})]})]})} 142/***/}, 143/***/23114: 144/***/function(e,i,t){"use strict";
145// ESM COMPAT FLAG 146t.r(i), 147// EXPORTS 148t.d(i,{__N_SSP:function(){/* binding */return je},default:function(){/* binding */return ye}}); 149// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js 150var n=t(85893),a=t(47609),s=t(67294),l=t(10267),o=t.n(l); 151// EXTERNAL MODULE: ./src/components/Banner/index.tsx 152// CONCATENATED MODULE: ./src/components/BannerApple/index.tsx 153const r=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,c=()=>/Android/.test(navigator.userAgent),d=()=>/Windows/.test(navigator.userAgent),m=()=>/Mac OS/.test(navigator.userAgent);function u(){const[e,i]=(0,s.useState)(!1),[t,a]=(0,s.useState)(!1),[l,u]=(0,s.useState)(!1),[_,h]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{i(r()),a(c()),u(d()),h(m())}),[]),e||t||l||_?t||l?(0,n.jsx)("center",{className:o()["center-banner-apple"],children:(0,n.jsx)("iframe",{className:o()["iframe-banner-apple"],title:"Banner Apple",src:"/html/iframe_banner_android.html"})}):e||_?(0,n.jsx)("center",{className:o()["center-banner-apple"],children:(0,n.jsx)("iframe",{className:o()["iframe-banner-apple"],title:"Banner Apple",src:"/html/iframe_banner_apple.html"})}):null:null} 154// EXTERNAL MODULE: ./src/components/BannerTopBanner/index.tsx 155var _=t(90485),h=t(52017),v=t(41664),p=t.n(v),f=t(36001),x=t(57632),g=t(8714),j=t.n(g),y=// CONCATENATED MODULE: ./src/components/FilmDetails/index.tsx 156function(e){let{film:i,translations:t,locale:a}=e;
156const[l,o]=(0,s.useState)(0),[r]=(0,s.useState)((()=>{const e={movies:"/movies/",genre:"/",festivals:"/festival/",awards:"/",release_year:"/",director:"/director/",the_movie_is:"/",profile:"/",about:"/",origin:"/"};return"en"===a&&(e.awards="/awards/",e.release_year="/movies/",e.the_movie_is="/movies/the-movie-is/",e.profile="/movies/profile/",e.about="/movies/about/",e.origin="/movies/origin/"),"br"===a&&(e.movies="/filmes/",e.awards="/premio/",e.release_year="/filmes/",e.the_movie_is="/filmes/o-filme-e/",e.profile="/filmes/perfil/",e.about="/filmes/sobre/",e.origin="/filmes/origem/"),"mx"===a&&(e.movies="/peliculas/",e.awards="/premios/",e.release_year="/peliculas/",e.the_movie_is="/peliculas/la-pelicula-es/",e.profile="/peliculas/perfil/",e.about="/peliculas/tema/",e.origin="/peliculas/origen/"),e})()); 157/** 158 * Building the links according to the locale 159 * @returns {Links} Returns the links according to the locale 160 */ 161return(0,n.jsx)("div",{className:j()["synopsis-cast-technical-data"],children:(0/* TabView */,n.jsxs)(f.f,{panelContainerClassName:j()["tabview-container"],className:j()["tab-view-custom"],pt:{nav:{className:j()["header-tab-view"]},inkbar:{style:{display:"none"}}},onTabChange:e=>{o(e.index)},activeIndex:l,renderActiveOnly:!1,children:[ 162 163(0/* TabPanel */,n.jsx)(f.x,{header:(0,n.jsx)("h2",{children:t.plot_summary}),contentClassName:j()["".concat(0===l?"synopsis-tab":"hidden-tab")],className:0===l?j()["header-tab-panel-active"]:j()["header-tab-panel"],children:(null==i?void 0:i.sinopse)||t.default_summary}), 164 165(0/* TabPanel */,n.jsx)(f.x,{header:(0,n.jsx)("h2",{children:t.cast}),contentClassName:j()["".concat(1===l?"":"hidden-tab")],className:1===l?j()["header-tab-panel-active"]:j()["header-tab-panel"],children:(d=null==i?void 0:i.elenco,(0,n.jsx)("ul",{className:j()["cast-person"],children:d&&d.map((e=>d.some((e=>e.personagens))?(0,n.jsxs)("li",{children:[ 166 167(0,n.jsx)("span",{className:j().person_name,children:(0,n.jsx)(p(),{href:"".concat(r.movies).concat(i.id_filme,"/").concat(i.slug),onClick:t=>{t.preventDefault(),(0,h/* createCustomEvent */.t)({name:i.titulo,action:"cast",platform:"".concat(e.nome)})},children:e.nome})}), 168 169(0,n.jsx)("span",{className:j().person_character,children:e.personagens})]},(0,x/* default */.Z)()):(0,n.jsx)("li",{className:j().person_name,children:(0,n.jsx)(p(),{href:"".concat(r.movies).concat(i.id_filme,"/").concat(i.slug),onClick:t=>{t.preventDefault(),(0,h/* createCustomEvent */.t)({name:i.titulo,action:"cast",platform:"".concat(e.nome)})},children:e.nome})},(0,x/* default */.Z)())))}))}), 170 171(0/* TabPanel */,n.jsx)(f.x,{header:(0,n.jsx)("h2",{children:t.data_sheet}),contentClassName:j()["".concat(2===l?"technical-data":"hidden-tab")],className:2===l?j()["header-tab-panel-active"]:j()["header-tab-panel"],children:(0,n.jsxs)("ul",{children:[(null==i?void 0:i.titulo)&&(0,n.jsxs)("li",{children:[ 172 173(0,n.jsx)("span",{className:j()["title-span"],children:t.title}), 174 175(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.titulo})]}),(null==i?void 0:i.titulo_original)&&(0,n.jsxs)("li",{children:[ 176 177(0,n.jsx)("span",{className:j()["title-span"],children:t.original_title}), 178 179(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.titulo_original})]}),(null==i||null===(c=i.ficha_tecnica.genero)||void 0===c?void 0:c.nome)&&(0,n.jsxs)("li",{children:[ 180 181(0,n.jsx)("span",{className:j()["title-span"],children:t.genre}), 182 183(0,n.jsx)(p(),{href:"".concat(r.genre).concat(null==i?void 0:i.ficha_tecnica.genero.slug),className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.genero.nome})]}),(null==i?void 0:i.faixa_etaria)&&(0,n.jsxs)("li",{children:[ 184 185(0,n.jsx)("span",{className:j()["title-span"],children:t.rating}), 186 187(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.faixa_etaria})]}),(null==i?void 0:i.ficha_tecnica.duracao)&&(0,n.jsxs)("li",{children:[ 188 189(0,n.jsx)("span",{className:j()["title-span"],children:t.duration}), 190 191(0,n.jsx)("div",{className:j()["description-item"],children:(e=>{const i=Math.floor(e/60),t=e%60;return e?"".concat(i,"h").concat(t,"min"):""})(null==i?void 0:i.ficha_tecnica.duracao)})]}),(null==i?void 0:i.ficha_tecnica.festivais.length)>0&&(0,n.jsxs)("li",{children:[ 192 193(0,n.jsx)("span",{className:j()["title-span"],children:t.festivals}), 194 195(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.festivais.map((e=>(0,n.jsx)(p(),{href:"".concat(r.festivals).concat(e.slug),children:e.nome},(0,x/* default */.Z)())))})]}),(null==i?void 0:i.ficha_tecnica.premios.length)>0&&(0,n.jsxs)("li",{children:[ 196 197(0,n.jsx)("span",{className:j()["title-span"],children:t.awards}), 198 199(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.premios.map((e=>(0,n.jsx)(p(),{href:"".concat(r.awards).concat(e.slug),children:e.nome},(0,x/* default */.Z)())))})]}
199),(null==i?void 0:i.ficha_tecnica.ano_producao)&&(0,n.jsxs)("li",{children:[ 200 201(0,n.jsx)("span",{className:j()["title-span"],children:t.production_year}), 202 203(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.ano_producao})]}),(null==i?void 0:i.ficha_tecnica.ano_lancamento)&&(0,n.jsxs)("li",{children:[ 204 205(0,n.jsx)("span",{className:j()["title-span"],children:t.release_year}), 206 207(0,n.jsx)(p(),{href:"".concat(r.release_year).concat(null==i?void 0:i.ficha_tecnica.ano_lancamento),className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.ano_lancamento})]}),(null==i?void 0:i.paises.length)>0&&(0,n.jsxs)("li",{children:[ 208 209(0,n.jsx)("span",{className:j()["title-span"],children:t.country}), 210 211(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.paises.map((e=>(0,n.jsx)("span",{children:e},e)))})]}),(null==i?void 0:i.ficha_tecnica.diretores.length)>0&&(0,n.jsxs)("li",{children:[ 212 213(0,n.jsx)("span",{className:j()["title-span"],children:t.director}), 214 215(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.diretores.map((e=>(0,n.jsx)(p(),{href:"".concat(r.director).concat(e.slug),children:e.nome},(0,x/* default */.Z)())))})]}),(null==i?void 0:i.ficha_tecnica.producao.length)>0&&(0,n.jsxs)("li",{children:[ 216 217(0,n.jsx)("span",{className:j()["title-span"],children:t.production}), 218 219(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.producao.map((e=>(0,n.jsx)("span",{children:e},(0,x/* default */.Z)())))})]}),(null==i?void 0:i.ficha_tecnica.roteiro.length)>0&&(0,n.jsxs)("li",{children:[ 220 221(0,n.jsx)("span",{className:j()["title-span"],children:t.script}), 222 223(0,n.jsx)("div",{className:j()["description-item"],children:null==i?void 0:i.ficha_tecnica.roteiro.map((e=>(0,n.jsx)("span",{children:e},(0,x/* default */.Z)())))})]})]})})]})});var c,d} 224/* harmony default export */,b=t(96138),w=t(83479),N=t(68575),k=t(69399),C=t(21188),S=t(21480),L=t(85577),I=t(32733),Z=t(41865),M=t(50501),B=t(33299),R=t(11163),z=t(94910),P=t(53619),E=t.n(P); 225// EXTERNAL MODULE: ./src/utils/GoogleAnalyticsService.ts 226// CONCATENATED MODULE: ./src/components/FilmelierSaveMovieToUserList/index.tsx 227function W(e){let{id_filme:i,setLoginVisible:t}=e;const{status:a}=(0,B.useSession)(),{is_movie_saved:l,save_movie:o,remove_movie:r,is_updating_movie:c}=(0,M/* useMyListMoviesContext */.N)(),d=(0,R.useRouter)(),[m,u]=(0,s.useState)(!1),[_,h]=(0,s.useState)({}),v=l(i),p=c(i),f=m?_.remove_from_list:_.added_to_list,x=v?f:_.add_to_list;return(0,s.useEffect)((()=>{z/* default */.Z.changeLanguage(d.locale).then((()=>{h({add_to_list:z/* default */.Z.t("filmelierSaveMovieToUserList.add_to_list"),added_to_list:z/* default */.Z.t("filmelierSaveMovieToUserList.added_to_list"),remove_from_list:z/* default */.Z.t("filmelierSaveMovieToUserList.remove_from_list")})}))}),[d.locale]),(0,n.jsx)("div",{className:E().container,children:(0,n.jsxs)("button",{type:"button",className:"".concat(v?E().saved:E()["not-saved"]," event_watchlist_login_open"),onClick:async()=>{"unauthenticated"!==a?"authenticated"!==a||void 0===v||p||(v?await r(i):await o(i)):t(!0)},onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),disabled:"loading"===a||void 0===v||p,"aria-busy":p||void 0===v,"data-user-journey-click":v?"my-list-remove":"my-list-add","data-user-journey-entity-type":"movie","data-user-journey-entity-id":i,children:[ 228 229(0/* FilmelierBookmark */,n.jsx)(C.J$,{size:24,viewBoxSize:20}),x]})})} 230// EXTERNAL MODULE: ./src/components/FilmelierVideoPlayer/index.tsx 231var T=t(60719),F=t(18622),D=t(87066),A=t(4710),Y=t(72496),O=t(11116),V=t.n(O); 232// EXTERNAL MODULE: ./src/hooks/useHydratedMediaQuery.ts 233// CONCATENATED MODULE: ./src/components/ShowMorePlatformButton/index.tsx 234function X(e){let{items:i,translations:t,film:a}=e;const l=(0,R.useRouter)(),o="mx"===l.locale,r="br"===l.locale?"pt-BR":"en-US",[c,d]=(0,s.useState)(!1),m=(0,F/* useMediaQuery */.a)({maxWidth:767});(0,s.useEffect)((()=>{(async()=>{const e="/"===l.locale?"en":l.locale;await z/* default */.Z.changeLanguage(e)})()}),[]); 235// Movie image 236const u=i.slice(1),_=e=>{switch(e){case"rent":return t.rent;case"buy":return t.buy;case"free":return t.free;case"sign":case"flatrate":return t.newSubscription;default:return""}}; 237return(0,n.jsx)("div",{className:V().showMoreWrapper,children:(0,n.jsxs)("ul",{className:"".concat(V().showMore," ").concat(c?V().show:V().hide_ul),children:[u?u.map((e=>{var i,a,s,l,d,u,h;return(0,n.jsxs)("li",{className:"".concat(V().showMoreItem," ").concat(c?V().show:V().hide),children:[ 238 239(0,n.jsxs)("div",{className:V()["where-watch-image-and-text"],children:[ 240 241(0,n.jsx)("img",{src:(u=e.icone,u&&!u.includes("https")?("https://media.filmelier.com/"+u).replace(".filmelier.com//",".filmelier.com/"):null!==(h=u.replace(".filmelier.com//",".filmelier.com/"))&&void 0!==h?h:""),alt:e.nome,width:48,height:48,className:V()["where-watch-image"]}), 242 243(0,n.jsxs)("div",{className:V()["where-watch-text"],children:[ 244 245(0,n.jsx)("p",{children:e.nome}), 246
247(0,n.jsxs)("span",{children:[e.tipo?_(null==e?void 0:e.tipo):t.inTheaters," ",m&&o&&(0,n.jsx)("br",{}), 248 249(0,n.jsx)("span",{style:{fontWeight:700},children:"justwatch"===e.source&&((null===(i=e.tipo)||void 0===i?void 0:i.includes("buy"))||(null===(a=e.tipo)||void 0===a?void 0:a.includes("rent")))?(l=null!==(s=e.currency)&&void 0!==s?s:"BRL",d=Number(e.retail_price),new Intl.NumberFormat(r,{style:"currency",currency:l}).format(d)):""})]})]})]}), 250 251(0/* PlatformButton */,n.jsx)(Y.kG,{url:e.url,text:e.tipo&&"cinema"!==e.tipo?t.watch:t.buy,icon:e.tipo&&"cinema"!==e.tipo?(0/* FilmPlay */,n.jsx)(C.Bk,{minX:0,minY:0,viewBoxSize:16,size:16,className:"platformButton",color:"#1C1C28"}):(0/* FilmCinema */,n.jsx)(C.jd,{minX:0,minY:0,viewBoxSize:16,size:16,className:"platformButton",color:"#1C1C28"}),button_color:"#F39256",text_color:"#282828",event_name:"Film",platform_cinema:e.tipo&&"cinema"!==e.tipo?"Platform exit":"Cinema",platform_cinema_name:e.nome,user_journey_entity_id:e.id})]},(0,x/* default */.Z)())})):null, 252 253(0,n.jsx)("li",{className:V().showMoreLiButton,children:(0,n.jsxs)("button",{type:"button",className:V().showMoreButton,onClick:()=>{d(!c)},children:[c?t.lessOptions:t.moreOptions, 254 255(0,n.jsx)("span",{children:c?(0/* FilmExpandLess */,n.jsx)(C.o1,{size:14,viewBoxSize:17,color:"#CDCDCD",minY:4,minX:8}):(0/* FilmExpandMore */,n.jsx)(C.pl,{size:14,viewBoxSize:17,color:"#CDCDCD",minY:4,minX:8})})]})})]})})} 256// EXTERNAL MODULE: ./src/components/FilmelierWhereToWatch/styles.module.scss 257var q=t(7181),H=t.n(q);// CONCATENATED MODULE: ./src/components/FilmelierWhereToWatch/index.tsx 258function G(e){let{id_filme:i,recommended_by_user:t,translations:a,global_settings:l,setLoginVisible:o}=e;const[r,c]=(0,s.useState)(t);return(0,s.useEffect)((()=>{c(t)}),[t,i]),(0,n.jsxs)("div",{className:H()["recommend-to-filmelier-plus"],children:[ 259 260(0,n.jsxs)("div",{className:H()["where-to-watch"],children:[ 261 262(0,n.jsx)("h2",{children:a.recommend_h2}), 263 264(0,n.jsx)("hr",{})]}), 265 266(0,n.jsx)("p",{className:H().message, 267// eslint-disable-next-line react/no-danger 268dangerouslySetInnerHTML:{__html:r.recommended?a.recommend_message_remove:a.recommend_message_indicate},"data-user-journey-key":"editorial-link"}),r.recommended?(0,n.jsxs)("button",{className:"".concat(H().button," ").concat(H().remove),type:"button",onClick:async()=>{await(async()=>{try{await D/* default */.Z.delete("/api/user/delete-user-action-movie",{data:{id_user_action_movie:r.id,current_url:window.location.href},headers:{"Content-Type":"application/json"},withCredentials:!0}),c({id:null,recommended:!1,logged_in:!0})}catch(e){console.log("Error delete the recommendation")}})()},children:[ 269 270(0/* FilmCloseCircle */,n.jsx)(C.Ne,{size:18,viewBoxSize:22,color:"#F39256"}),a.recommend_button_remove]}):(0,n.jsxs)("button",{className:"".concat(H().button," ").concat(H().indicate),type:"button",onClick:async()=>{r.logged_in?await(async()=>{try{const e=await D/* default */.Z.post("/api/user/create-user-action-movie",{id_filme:i,id_action_category:l.user_action_recommend_filmelier_plus,current_url:window.location.href},{headers:{"Content-Type":"application/json"},withCredentials:!0}),t=e.data;201===e.status&&t.id?c({id:t.id,recommended:!0,logged_in:!0}):c({id:null,recommended:!1,logged_in:401!==e.status})}catch(e){console.log("Error create the recommendation")}})():o(!0)},children:[ 271 272(0/* FilmStarCircle */,n.jsx)(C.IP,{size:18,viewBoxSize:22,color:"#29232B"}),a.recommend_button_indicate]})]})} 273/* harmony default export */var K=function(e){let{film:i,platforms:t,cinema:a,translations:l,loading:o,recommended_by_user:r,global_settings:c,setLoginVisible:d}=e;var m,u,_,h,v,f,g,j,y,b,w,N,k,S,L,I,Z,M,B,z,P,E,W,T,D,O,V,q;const K=(0,R.useRouter)(),U="mx"===K.locale,J="br"===K.locale?"pt-BR":"en-US",Q=(0,F/* useMediaQuery */.a)({maxWidth:767}),[$,ee]=(0,s.useState)([...null!=t?t:[],...null!=a?a:[]]);(0,s.useEffect)((()=>{const e=[...null!=t?t:[],...null!=a?a:[]];ee(e)}),[t,a]);const ie=e=>{const i=String(e.getUTCDate()).padStart(2,"0"),t=String(e.getUTCMonth()+1).padStart(2,"0"),n=e.getUTCFullYear();return"".concat(i,"/").concat(t,"/").concat(n)},te=(0,s.useMemo)((()=>{let e=!1;return(null==i?void 0:i.statuses)&&Object.entries(i.statuses).forEac
273h((i=>("isVodUnavailable"!==i[0]&&"isCinemaUnavailable"!==i[0]&&!0===i[1]&&(e=!0),null))),e}),[null==i?void 0:i.statuses]);var ne,ae,se,le,oe; 274// eslint-disable-next-line no-nested-ternary 275return o?(0/* Skeleton */,n.jsx)(A.O,{className:H()["where-watch-container-skeleton"]}):$&&$.length>0||te?(0,n.jsxs)("div",{className:H()["where-watch-container"],children:[ 276 277(0,n.jsxs)("div",{children:[ 278 279(0,n.jsx)("h2",{children:l.whereToWatch}), 280 281(0,n.jsx)("div",{className:H().separator})]}), 282 283(0,n.jsx)("div",{className:H()["conditional-text"],children:(()=>{const e=new Date;if(null==i?void 0:i.statuses.isComingSoonBothVodAndCinema) 284return(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.comingSoonBothVodAndCinema});if((null==i?void 0:i.cinema_release_at)&&new Date(null==i?void 0:i.cinema_release_at)>e&&(null==i?void 0:i.statuses.isCinemaComingSoonWithReleaseDate)){const e=new Date(null==i?void 0:i.cinema_release_at); 285return(0,n.jsxs)("div",{children:[ 286 287(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.cinemaComingSoon}), 288 289(0,n.jsx)("p",{children:"".concat(l.availableAt," ").concat(ie(e))})]})}if(null==i?void 0:i.statuses.isCinemaComingSoon) 290return(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.cinemaComingSoon});if((null==i?void 0:i.cinema_release_at)&&new Date(null==i?void 0:i.cinema_release_at)>e&&(null==i?void 0:i.statuses.isCinemaInPreOrderWithReleaseDate)){const e=new Date(null==i?void 0:i.cinema_release_at); 291return(0,n.jsxs)("div",{children:[ 292 293(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.advanceTicketsInTheaters}), 294 295(0,n.jsx)("p",{children:"".concat(l.releasesOn," ").concat(ie(e))})]})}if(null==i?void 0:i.statuses.isCinemaInPreOrder) 296return(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.advanceTicketsInTheaters});if(null==i?void 0:i.statuses.isCinemaReleased) 297return(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.nowShowingInTheaters});if(null==i?void 0:i.statuses.isCinemaOutOfScreens) 298return(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.noLongerInTheaters});if((null==i?void 0:i.vod_available_at)&&new Date(null==i?void 0:i.vod_available_at)>e&&(null==i?void 0:i.statuses.isVodComingSoonWithAvailableDate)){const e=new Date(null==i?void 0:i.vod_available_at); 299return(0,n.jsxs)("div",{children:[ 300 301(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.soonAtYourHome}), 302 303(0,n.jsx)("p",{children:"".concat(l.availableAt," ").concat(ie(e))})]})}if(null==i?void 0:i.statuses.isVodComingSoon) 304return(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.soonAtYourHome});if((null==i?void 0:i.vod_available_at)&&new Date(null==i?void 0:i.vod_available_at)>e&&(null==i?void 0:i.statuses.isVodInPreOrderWithAvailableDate)){const e=new Date(null==i?void 0:i.vod_available_at); 305return(0,n.jsxs)("div",{children:[ 306 307(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.preOrder}), 308 309(0,n.jsx)("p",{children:"".concat(l.availableAt," ").concat(ie(e))})]})}return(null==i?void 0:i.statuses.isVodInPreOrder)?(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.preOrder}):(null==i?void 0:i.statuses.isVodAvailable)?(0,n.jsx)("p",{className:H()["conditional-text-upper"],children:l.availableAtHome}):""})()}),$&&$.length>0&&(0,n.jsxs)("div",{className:H()["where-to-watch-platforms"],children:[ 310 311(0,n.jsxs)("div",{className:H()["where-watch-details"],children:[ 312 313(0,n.jsxs)("div",{className:H()["where-watch-image-and-text"],children:[ 314 315(0,n.jsx)("img",{src:(le=null===(m=$[0])||void 0===m?void 0:m.icone,le&&!le.includes("https")?("https://media.filmelier.com/"+le).replace(".filmelier.com//",".filmelier.com/"):null!==(oe=le.replace(".filmelier.com//",".filmelier.com/"))&&void 0!==oe?oe:""),alt:null===(u=$[0])||void 0===u?void 0:u.nome,width:48,height:48}), 316 317(0,n.jsxs)("div",{className:H()["where-watch-text"],children:[ 318 319(0,n.jsx)("p",{children:null===(_=$[0])||void 0===_?void 0:_.nome}), 320 321(0,n.jsxs)("div",{className:"flex",children:[ 322 323(0,n.jsxs)("span",{children:[(null===(h=$[0])||void 0===h?void 0:h.tipo)?(e=>{switch(e){case"rent":return l.rent;case"buy":return l.buy;case"free":return l.free;case"flatrate":case"sign":return l.newSubscription;default:return""}})(null===(v=$[0])||void 0===v?void 0:v.tipo):l.inTheaters," "]}),Q&&U&&(0,n.jsx)("br",{}), 324 325(0,n.jsx)("span",{style:{fontWeight:700},children:"justwatch"===$[0].source&&((null===(f=$[0].tipo)||void 0===f?void 0:f.includes("buy"))||(null===(g=$[0].tipo)||void 0===g?void 0:g.includes("rent")))?(ae=null!==(ne=$[0].currency)&&void 0!==ne?ne:"BRL",se=Number(null===(j=$[0])||void 0===j?void 0:j.retail_price),new Intl.NumberFormat(J,{style:"currency",currency:ae}).format(se)):""})]})]})]}),$[0].button_color&&$[0].text_color&&$[0].featured?(0/* PlatformButton */,n.jsx)(Y.kG,{url:null===(y=$[0])||void 0===y?void 0:y.url,text:(null===(b=$[0])||void 0===b?void 0:b.tipo)&&"cinema"!==(null===(w=$[0])||void 0===w?void 0:w.tipo)?l.watch:l.buy,icon:(null===(N=$[0])||void 0===N?void 0:N.tipo)&&"cinema"!==(null===(k=$[0])||void 0===k?void 0:k.tipo)?(0/* FilmPlay */,n.jsx)(C.Bk,{minX:0,minY:0,viewBoxSize:18,size:20,className:"linkButton",color:"#1C1C28"}):(0/* FilmCinema */,n.jsx)(C.jd,{minX:0,minY:0,viewBoxSize:18,size:20,className:"linkButton",color:"#1C1C28"}),button_color:null===(S=$[0])||void 0===S?void 0:S.button_color,text_color:null===(L=$[0])||void 0===L?void 0:L.text_color,event_name:"Film",platform_cinema:(null===(I=$[0])||void 0===I?void 0:I.tipo)&&"cinema"!==(null===(Z=$[0])||void 0===Z?void 0:Z.tipo)?"Platform exit":"Cinema",platform_cinema_name:null===(M=$[0])||void 0===M?void 0:M.nome,user_journey_entity_id:null===(B=$[0])||void 0===B?void 0:B.id}):(0/* PlatformButton */,n.jsx)(Y.kG,{url:null===(z=$[0])||void 0===z?void 0:z.url,text:(null===(P=$[0])||void 0===P?void 0:P.tipo)&&"cinema"!==(null===(E=$[0])||void 0===E?void 0:E.tipo)?l.watch:l.buy,icon:(null===(W=$[0])||void 0===W?void 0:W.tipo)&&"cinema"!==(null===(T=$[0])||void 0===T?void 0:T.tipo)?(0/* FilmPlay */,n.jsx)(C.Bk,{minX:0,minY:0,viewBoxSize:16,size:16,className:"linkButton",color:"#1C1C28"}):(0/* FilmCinema */,n.jsx)(C.jd,{minX:0,minY:0,viewBoxSize:16,size:16,className:"linkButton",color:"#1C1C28"}),button_color:"#F39256",text_color:"#1C1C28",event_name:"Film",platform_cinema:(null===(D=$[0])||void 0===D?void 0:D.tipo)&&"cinema"!==(null===(O=$[0])||void 0===O?void 0:O.tipo)?"Platform exit":"Cinema",platform_cinema_name:null===(V=$[0])||void 0===V?void 0:V.nome,user_journey_entity_id:null===(q=$[0])||void 0===q?void 0:q.id})]}),$&&$.length>1&&(0,n.jsx)(X,{items:$,translations:l,film:i}),t&&t.length>0&&(0,n.jsxs)("p",{className:H().poweredBy,children:[ 326 327(0/* FilmArrowUpRight */,n.jsx)(C.Ky,{size:19}), 328 329(0,n.jsxs)(p(),{target:"_blank",href:(()=>{const e="mx"===K.locale?"mx":"";return"br"===K.locale?"https://br.justwatch.com":"https://www.justwatch.com/".concat(e)})(),children:[l.justwatch_source,": JustWatch"]})]})]},(0,x/* default */.Z)())]}):(0,n.jsx)(G,{id_filme:i.id_filme,recommended_by_user:r,translations:l,global_settings:c,setLoginVisible:d})}
329,U=t(54665),J=t.n(U); 330// EXTERNAL MODULE: ./src/components/JustwatchChart/styles.module.scss 331// CONCATENATED MODULE: ./src/components/JustwatchChart/index.tsx 332function Q(e){let{justWatchPath:i,ranks:t,locale:a}=e;const s=t["1d"]?t["1d"]:t["7d"]?t["7d"]:t["30d"]?t["30d"]:null;if(!s)return null; 333/** 334 * Format number to locale number 335 * @param {number} number Number that will be converted 336 * @returns {string} Returns the number formatted 337 */const l=(e,i)=>i?e.toLocaleString({br:"pt-Br",en:"en-Us",mx:"es-Mx"}[i]):e; 338return(0,n.jsx)("a",{className:J()["jw-link"],target:"_blank",rel:"noopener noreferrer",href:i,children:(0,n.jsxs)("div",{className:J().wrapper,children:[ 339 340(0,n.jsxs)("svg",{className:J().jwLogo,width:"16",height:"16",viewBox:"0 0 16 16",fill:"#fff",xmlns:"http://www.w3.org/2000/svg",children:[ 341 342(0,n.jsx)("path",{d:"M4 2.64835C4 2.35072 4.31345 2.15734 4.57945 2.29086L7.28502 3.64895C7.57961 3.79682 7.57895 4.21754 7.2839 4.36449L4.57832 5.71197C4.3124 5.84441 4 5.651 4 5.35392L4 2.64835Z",fill:"#fff"}), 343 344(0,n.jsx)("path",{d:"M4 10.6483C4 10.3507 4.31345 10.1573 4.57945 10.2909L7.28502 11.6489C7.57961 11.7968 7.57895 12.2175 7.2839 12.3645L4.57832 13.712C4.3124 13.8444 4 13.651 4 13.3539L4 10.6483Z",fill:"#fff"}), 345 346(0,n.jsx)("path",{d:"M4 6.64835C4 6.35072 4.31345 6.15734 4.57945 6.29086L7.28502 7.64895C7.57961 7.79682 7.57895 8.21754 7.2839 8.36449L4.57832 9.71197C4.3124 9.84441 4 9.651 4 9.35392L4 6.64835Z",fill:"#fff"}), 347 348(0,n.jsx)("path",{d:"M8 4.64835C8 4.35072 8.31345 4.15734 8.57945 4.29086L11.285 5.64895C11.5796 5.79682 11.5789 6.21754 11.2839 6.36449L8.57832 7.71197C8.3124 7.84441 8 7.651 8 7.35392L8 4.64835Z",fill:"#fff"}), 349 350(0,n.jsx)("path",{d:"M4.04638e-08 4.64835C2.18888e-08 4.35072 0.313449 4.15734 0.579446 4.29086L3.28502 5.64895C3.57961 5.79682 3.57895 6.21754 3.2839 6.36449L0.578324 7.71197C0.312401 7.84441 2.27861e-07 7.651 2.0932e-07 7.35392L4.04638e-08 4.64835Z",fill:"#fff"}), 351 352(0,n.jsx)("path",{d:"M4.04638e-08 0.648349C2.18888e-08 0.350722 0.313449 0.157339 0.579446 0.290859L3.28502 1.64895C3.57961 1.79682 3.57895 2.21754 3.2839 2.36449L0.578324 3.71197C0.312401 3.84441 2.27861e-07 3.651 2.0932e-07 3.35392L4.04638e-08 0.648349Z",fill:"#fff"}), 353 354(0,n.jsx)("path",{d:"M8 8.64835C8 8.35072 8.31345 8.15734 8.57945 8.29086L11.285 9.64895C11.5796 9.79682 11.5789 10.2175 11.2839 10.3645L8.57832 11.712C8.3124 11.8444 8 11.651 8 11.3539L8 8.64835Z",fill:"#fff"}), 355 356(0,n.jsx)("path",{d:"M4.04638e-08 8.64835C2.18888e-08 8.35072 0.313449 8.15734 0.579446 8.29086L3.28502 9.64895C3.57961 9.79682 3.57895 10.2175 3.2839 10.3645L0.578324 11.712C0.312401 11.8444 2.27861e-07 11.651 2.0932e-07 11.3539L4.04638e-08 8.64835Z",fill:"#fff"}), 357 358(0,n.jsx)("path",{d:"M4.04638e-08 12.6483C2.18888e-08 12.3507 0.313449 12.1573 0.579446 12.2909L3.28502 13.6489C3.57961 13.7968 3.57895 14.2175 3.2839 14.3645L0.578324 15.712C0.312401 15.8444 2.27861e-07 15.651 2.0932e-07 15.3539L4.04638e-08 12.6483Z",fill:"#fff"}), 359 360(0,n.jsx)("path",{d:"M12 6.64835C12 6.35072 12.3134 6.15734 12.5794 6.29086L15.285 7.64895C15.5796 7.79682 15.5789 8.21754 15.2839 8.36449L12.5783 9.71197C12.3124 9.84441 12 9.651 12 9.35392L12 6.64835Z",fill:"#fff"})]}), 361 362(0,n.jsx)("span",{className:J()["rank-text"],children:l(s.rank,a)}),s.delta&&(0,n.jsxs)("div",{className:"".concat(J()["change-box"]," ").concat(s.delta>=0?J()["change-box-positive"]:J()["change-box-negative"]),children:[ 363 364(0,n.jsx)("svg",{className:"".concat(s.delta>=0?"":J()["change-arrow-negative"]),xmlns:"http://www.w3.org/2000/svg",width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",children:(0,n.jsx)("path",{d:"M4 0L0 6H8L4 0Z",fill:s.delta>=0?"#47AD45":"#FF0000"})}), 365 366(0,n.jsxs)("span",{className:"".concat(J()["change-text"]," ").concat(s.delta>=0?J()["change-text-positive"]:J()["change-text-negative"]),children:[s.delta>=0?"+":"",l(s.delta,a)]})]})]})})} 367// EXTERNAL MODULE: ./src/contexts/ToastContext.tsx 368var $=t(32706),ee=t(6339),ie=t(61801),te=t(77911),ne=t.n(te); 369// EXTERNAL MODULE: ./node_modules/primereact/progressspinner/progressspinner.esm.js 370// CONCATENATED MODULE: ./src/components/LetMeKnow/index.tsx 371/* eslint-disable no-nested-ternary */ 372function ae(e){let{id_filme:i}=e;const{status:t,data:a}
372=(0,B.useSession)(),[l,o]=(0,s.useState)(""),[r,c]=(0,s.useState)(""),[d,m]=(0,s.useState)(!0),[u,_]=(0,s.useState)(!0),[h,v]=(0,s.useState)(!1),p=(0,R.useRouter)(),{setToastData:f}=(0,$/* useToastContext */.a)(),[x,g]=(0,s.useState)(!1),[j,y]=(0,s.useState)(!1);(0,s.useEffect)((()=>{(async()=>{const e="/"===p.locale?"en":p.locale;await z/* default */.Z.changeLanguage(e),y(!1)})()}),[p.locale]),(0,s.useEffect)((()=>{(async()=>{var e;"authenticated"===t&&await D/* default */.Z.get("/api/bff/let-me-know-movies",{params:{id_filme:i},headers:{"Content-Type":"application/json",Cookie:"session_id=".concat(null==a||null===(e=a.user)||void 0===e?void 0:e.session_id)},withCredentials:!0}).then((e=>{var i,t;g(null!==(t=null===(i=e.data)||void 0===i?void 0:i.let_me_know)&&void 0!==t&&t)})).catch((()=>{g(!1),v(!1)}))})()}),[i,t]);const b=(0,s.useMemo)((()=>l.length>0&&d&&r.length>0&&u||"authenticated"===t),[l,d,r,u]); 373return(0,n.jsxs)("div",{className:ne()["let-me-know-content"],children:[ 374 375(0,n.jsxs)("div",{className:ne()["let-me-know-title"],children:[ 376 377(0/* TVPlayer */,n.jsx)(C.rc,{}), 378 379(0,n.jsxs)("div",{className:ne()["let-me-know-title-text"],children:[ 380 381(0,n.jsx)("h3",{className:ne()["let-me-know-h3"],children:z/* default */.Z.t("let_me_know.title")}), 382 383(0,n.jsx)("p",{className:ne()["let-me-know-info"],children:z/* default */.Z.t("let_me_know.subtitle")})]})]}),"authenticated"!==t&&(0,n.jsxs)(n.Fragment,{children:[ 384 385(0/* FilmelierFullNameField */,n.jsx)(ie.kQ,{value:l,setValue:o,is_valid:d,setIsValid:m,locale:p.locale,className:ne()["let-me-know-fields"],translations:{placeholder:z/* default */.Z.t("let_me_know.full_name_placeholder")}}), 386 387(0/* FilmelierEmailField */,n.jsx)(ie.Bd,{value:r,setValue:c,is_valid:u,setIsValid:_,locale:p.locale,className:ne()["let-me-know-fields"],translations:{placeholder:z/* default */.Z.t("let_me_know.email_placeholder")}})]}), 388 389(0,n.jsx)("button",{type:"button",className:"".concat(ne()["let-me-know-button"]," ").concat(x?ne()["already-notified"]:""),onClick:async()=>{var e;if(!b)return m(l.length>0),void _(r.length>0);y(!0),h||"authenticated"===t?await D/* default */.Z.post("/api/bff/let-me-know-movies",{id_filme:i,session_id:(null==a||null===(e=a.user)||void 0===e?void 0:e.session_id)||void 0,name:l,email:r},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((e=>{var// eslint-disable-next-line no-unsafe-optional-chaining 390i,n;!1===e.data.will_receive_notification?f([{message:z/* default */.Z.t("let_me_know.feedback_messages.unsubscribed"),icon:"success"}]):f([{message:"".concat(z/* default */.Z.t("let_me_know.feedback_messages.pre_subscribed")).concat((null!==(n=null==a||null===(i=a.user)||void 0===i?void 0:i.name)&&void 0!==n?n:l).split(" ")[0],". ").concat(z/* default */.Z.t("let_me_know.feedback_messages.subscribed")),icon:"success"}]),o(""),c(""),v(!1),"authenticated"===t&&g(!x),y(!1)})).catch((()=>{f([{message:z/* default */.Z.t("let_me_know.feedback_messages.error"),icon:"error"}]),y(!1)})):f([{message:z/* default */.Z.t("let_me_know.feedback_messages.must_accept_terms"),icon:"warning"}])},disabled:j,children:j?(0/* ProgressSpinner */,n.jsx)(ee.G,{style:{width:"21px",margin:"0px",height:"16px"},strokeWidth:"8",animationDuration:".5s",className:ne().spinner}):x?(0,n.jsxs)(n.Fragment,{children:[ 391 392(0/* ToastSuccessIcon */,n.jsx)(C.Sl,{color:"#FFE711"})," ",z/* default */.Z.t("let_me_know.button_text_let_me_know_subscribed")]}):(0,n.jsxs)(n.Fragment,{children:[ 393 394(0/* Bell */,n.jsx)(C.Uo,{})," ",z/* default */.Z.t("let_me_know.button_text_let_me_know")]})}), 395 396(0,n.jsxs)("span",{className:ne()["check-consent"],children:[ 397 398(0,n.jsx)("input",{id:"accept_receive_notifications",type:"checkbox",className:ne()["checkbox-consent"],checked:h,onChange:e=>v(e.target.checked),style:{display:"authenticated"===t?"none":"block"}}), 399 400(0,n.jsx)("label",{htmlFor:"accept_receive_notifications",children:"authenticated"!==t?(0,n.jsx)("p",{ 401// eslint-disable-next-line react/no-danger 402dangerouslySetInnerHTML:{__html:z/* default */.Z.t("let_me_know.label_terms_and_conditions")},"data-user-journey-key":"editorial-link"}):(0,n.jsx)("p",{ 403// eslint-disable-next-line react/no-danger 404dangerouslySetInnerHTML:{__html:z/* default */.Z.t("let_me_know.label_terms_and_conditions_authenticated")},"data-user-journey-key":"editorial-link"})})]})]})}
405// EXTERNAL MODULE: ./src/utils/adlog2.ts 406var se=t(91267);// CONCATENATED MODULE: ./src/components/PlatformIntegration/index.tsx 407function le(e){let{banner_props:i}=e;return(0,s.useEffect)((()=>{try{const e={url:window.location.href,adSaleId:i.adSaleId,event:"view",regionId:i.region,subRegionId:i.subRegion};(0,se/* createAdLogAsync */.O)(e)}catch(e){console.error("Erro ao processar dados do anúncio:",e.message)}}),[]),(0,n.jsx)(p(),{href:i.targetLink,target:"_blank",rel:"noreferrer",onClick:e=>{e.stopPropagation();const t={url:window.location.href,adSaleId:i.adSaleId,event:"click",regionId:i.region,subRegionId:i.subRegion};(0,se/* createAdLogAsync */.O)(t)},"data-user-journey-click":"ad-sale-platform-integration-banner","data-user-journey-entity-type":"ad_sale","data-user-journey-entity-id":i.adSaleId,children:(0,n.jsx)("img",{src:i.images.desktop,alt:"Banner"})})}function oe(e){let{id_filme:i,button_props:t,platform:a}=e;return(0,s.useEffect)((()=>{try{const e={url:window.location.href,adSaleId:t.adSaleId,event:"view",regionId:t.region,subRegionId:t.subRegion,isPlatformIntegrationButton:!0};(0,se/* createAdLogAsync */.O)(e)}catch(e){console.error("Erro ao processar dados do anúncio:",e.message)}}),[]),(0,n.jsx)(p(),{href:"/checkout?id_filme=".concat(i,"&tipo=platform_integration&id_checkout=").concat(a.id,"&adsale_link=").concat(t.targetLink),target:"_blank",rel:"noreferrer",onClick:e=>{e.stopPropagation();const i={url:window.location.href,adSaleId:t.adSaleId,event:"click",regionId:t.region,subRegionId:t.subRegion,isPlatformIntegrationButton:!0};(0,se/* createAdLogAsync */.O)(i)},"data-user-journey-click":"ad-sale-platform-integration-button","data-user-journey-entity-type":"ad_sale","data-user-journey-entity-id":t.adSaleId,children:(0,n.jsxs)("picture",{children:[ 408 409(0,n.jsx)("source",{media:"(min-width: 1366px)",srcSet:t.images.desktop}), 410 411(0,n.jsx)("source",{media:"(min-width: 768px)",srcSet:t.images.tablet}), 412 413(0,n.jsx)("img",{src:t.images.mobile,alt:a.nome,loading:"lazy",decoding:"async"})]})})} 414// EXTERNAL MODULE: ./src/components/PlayMovieOfTheDay/index.tsx 415var re=t(97088),ce=t(16222),de=t(4049),me=t.n(de),ue=t(83454); 416// EXTERNAL MODULE: ./src/components/PremiereBanner/index.tsx 417function _e(e){ue.env.IS_LOCAL;const i=(0,F/* useMediaQuery */.a)({maxWidth:767}),t=e=>{if((null==e?void 0:e.startsWith("https"))&&!(null==e?void 0:e.startsWith("https://media.")))return e;const i="https://media".concat("",".filmelier.com/");let t=null==e?void 0:e.replace("media.filmelier","media.stg.filmelier");return(null==t?void 0:t.startsWith(i))||(t=i+e),t.replace(".filmelier.com//",".filmelier.com/")}; 418return(0,n.jsx)("div",{children:(null==e?void 0:e.link)?(0,n.jsx)(p(),{href:null==e?void 0:e.link,target:"_blank",rel:"noreferrer",children:(0,n.jsx)("img",{src:t(null==e?void 0:e.image),alt:null==e?void 0:e.name,className:i?me().mobileDimensions:me().dimensions})}):(0,n.jsx)("img",{src:t(null==e?void 0:e.image),alt:null==e?void 0:e.name,className:i?me().mobileDimensions:me().dimensions})})} 419// EXTERNAL MODULE: ./src/contexts/FilmContext.tsx 420var he=t(5141),ve=t(62156),pe=t(58797),fe=t.n(pe); 421// EXTERNAL MODULE: ./src/contexts/LoginContext.tsx 422// CONCATENATED MODULE: ./src/pages/movies/[id]/[slug].tsx 423/* eslint-disable no-nested-ternary */ 424const xe=(0/* ThumbCarousel */,s.memo)(N.uw),ge=(0/* FilmListCarousel */,s.memo)(N.zS);var je=!0;function ye(e){let{session_user:i,top_bar_newsletter_data:t,complete_url:l,hostname:o,imagem_cartaz:c,dimensions_image:d,props_premiere_banner:m,banner_platform_integration:h,button_platform_integration:v,platforms_platform_integration:f,props_banner_top:x,film:g,movies_to_watch_at_home:j,movies_by_genre:M,recommended_by_user:z,global_settings:P,region:E,translations:A,locale:Y}=e;var O,V,X,q,H,G,U,J,$,ee,ie,te,ne,se,de;const me=(0,R.useRouter)(),ue=(0,F/* useMediaQuery */.a)({maxWidth:767}),pe=(0,F/* useMediaQuery */.a)({minWidth:768,maxWidth:1365}),je=(0,F/* useMediaQuery */.a)({minWidth:1366}),[ye,be]=(0,s.useState)(!1),[we,Ne]=(0,s.useState)(!1),[ke,Ce]=(0,s.useState)(!1),{login_visible:Se,setLoginVisible:Le}
424=(0,ve/* useLoginContext */.h)(),[Ie,Ze]=(0,s.useState)(z),[Me,Be]=(0,s.useState)(!0),{status:Re}=(0,B.useSession)();(0,s.useEffect)((()=>{Ne(!0),be(r())}),[]);const ze=// eslint-disable-next-line no-nested-ternary 425ue?{width:120,height:180}:pe?{width:150,height:225}:{width:300,height:450},[Pe,Ee]=(0,s.useState)(void 0),[We,Te]=(0,s.useState)(!1),[Fe,De]=(0,s.useState)(!1),[Ae,Ye]=(0,s.useState)(0),{setFilmContext:Oe}=(0,he/* useFilmContext */.F)(); 426// platformIntegration is being used to show the banner and button of Platform Integration campaing 427(0,s.useEffect)((()=>{(null==g?void 0:g.id_filme)&&(async()=>{const e=o,i=null==g?void 0:g.canonical.find((e=>e.region===(null==Y?void 0:Y.toUpperCase())||"en"===Y&&"WW"===e.region)),t=me.asPath.split("#");var n;const a="".concat(e,"/").concat({WW:{url:"",locale:"en"},BR:{url:"br/",locale:"br"},MX:{url:"mx/",locale:"mx"}}[null!==(n=null==i?void 0:i.region)&&void 0!==n?n:"WW"].url).concat("MX"===(null==i?void 0:i.region)?"peliculas":"BR"===(null==i?void 0:i.region)?"filmes":"movies","/").concat(null==i?void 0:i.id_filme,"/").concat(null==i?void 0:i.slug); 428// Redirect to the correct URL 429a!=="".concat(e).concat("en"!==me.locale?"/".concat(me.locale):"").concat(t[0])&&window.history.replaceState({},"",a)})()}),[g,Y,me]), 430/** 431 * UseEffect used to register the movie links for each region in FilmContext 432 */ 433/** 434 * UseEffect used to register the movie links for each region in FilmContext 435 */ 436(0,s.useEffect)((()=>{const e=[];null==g||g.canonical.map((i=>(e.push({region:"WW"===i.region?"en":i.region.toLowerCase(),url:"".concat(o).concat("WW"===i.region?"":"/".concat(i.region.toLowerCase()),"/").concat("MX"===i.region?"peliculas":"BR"===i.region?"filmes":"movies","/").concat(i.id_filme,"/").concat(i.slug)}),null))),Oe(e)}),[null==g?void 0:g.canonical]); 437/** 438 * Checks if the original size of the image is the appropriate size for the desktop 439 * @returns {boolean} Returns true or false according to the function condition 440 */ 441const Ve=d&&d.width>=ze.width&&d.height>=ze.height,Xe=e=>{const i=Math.floor(e/60),t=e%60;return e?"".concat(i,"h").concat(t,"min"):"--h--min"}; 442/** 443 * Format minutes to hours 444 * @param {number} minutes Total minutes that will be converted to hours 445 * @returns {string} Returns the formatted time 446 */(0,s.useEffect)((()=>{ 447/** 448 * Attach and position the banner in relation to the scrolling page and its position 449 */ 450const e=()=>{const e="en"===Y?606:788,i=Pe?105:0,{body:t}=document,n=t.querySelector("#top-bar-newsletter");var a;const s=null!==(a=null==n?void 0:n.getBoundingClientRect().height)&&void 0!==a?a:32,l=t.querySelector(".".concat(fe()["image-content"])),o=null==l?void 0:l.getBoundingClientRect().height,r=t.querySelector(".".concat(fe()["side-banner"])),c=null==r?void 0:r.getBoundingClientRect().height,d=window.scrollY+("en"===Y?1860:2e3)>=t.offsetHeight;Te(window.scrollY>e+i+s),De(d),d&&c&&o&&Ye(c+15-o-("en"===Y?140:0)+i+s)};window.addEventListener("scroll",e),window.addEventListener("click",e)}),[Y,Ae,Pe]); 451/** 452 * Position the page in relation to an anchored element 453 * @param {BaseSyntheticEvent} e Properties of the HTML object 454 */ 455const qe=e=>{e.preventDefault();const i=e.target.getAttribute("href").split("#"),t=document.getElementById(i[1]).offsetTop;window.scrollTo({top:t,behavior:"smooth"})},He=e=>"mx"===Y?"/peliculas/".concat(e):"br"===Y?"/filmes/".concat(e):"/movies/".concat(e); 456/** 457 * Get the url of the year's movies by locale 458 * @param {number} year Year to format url 459 * @returns {string} Correct url for year's movies by locale 460 */(0,s.useEffect)((()=>{const e=g.onde_assistir.plataformas.find((e=>"justwatch"===e.source&&e.filmelier_platforms&&e.filmelier_platforms.split(",").find((e=>f.map((e=>e.id)).includes(parseInt(e,10))))||"filmelier"===e.source&&f.map((e=>e.id)).includes(e.id)));Ee(e)}),[g,f,h.has_ad_sale,v.has_ad_sale]);const Ge=async()=>{try{const e=await D/* default */.Z.get("/api/user/check-user-recommended-movie",{headers:{"current-page-url":window.location.href},withCredentials:!0,params:{id_filme:g.id_filme}});Ze({...e.data,logged_in:!0})}catch(i){var e;console.error("Erro ao verificar recomendação do usuário:",i),Ze({id:null,recommended:!1,logged_in:401!==(null==i||null===(e=i.response)||void 0===e?void 0:e.status)})}};var Ke,Ue;(0,s.useEffect)((()=>{((null==i?void 0:i.user)&&"unauthenticated"===Re&&Me||!(null==i?void 0:i.user)&&"authenticated"===Re&&Me||!Me)&&(Ge(),Be(!1))}),[Re]),(0,s.useEffect)((()=>{Me?Be(!1):Ge()}),[g.id_filme]);
460const[Je,Qe]=(0,s.useState)([...null!==(Ke=null==g?void 0:g.onde_assistir.plataformas)&&void 0!==Ke?Ke:[],...null!==(Ue=null==g?void 0:g.onde_assistir.cinemas)&&void 0!==Ue?Ue:[]]);(0,s.useEffect)((()=>{const e=(()=>{var e,i;return[...null!==(e=null==g?void 0:g.onde_assistir.plataformas)&&void 0!==e?e:[],...null!==(i=null==g?void 0:g.onde_assistir.cinemas)&&void 0!==i?i:[]]})();Qe(e)}),[null==g?void 0:g.onde_assistir.plataformas,null==g?void 0:g.onde_assistir.cinemas]);const $e=(0,s.useMemo)((()=>{let e=!1;return(null==g?void 0:g.statuses)&&Object.entries(g.statuses).forEach((i=>("isVodUnavailable"!==i[0]&&"isCinemaUnavailable"!==i[0]&&!0===i[1]&&(e=!0),null))),e}),[null==g?void 0:g.statuses]); 461return(0,n.jsxs)(n.Fragment,{children:[(null==m?void 0:m.images)&&(0/* PremiereBanner */,n.jsx)(ce.r,{targetLink:m.targetLink,images:m.images,adSaleId:m.adSaleId,region:m.region,subRegion:m.subRegion}), 462 463(0/* default */,n.jsxs)(k.Z,{contentClassName:fe().content,top_bar_newsletter_data:t,children:[(null==g?void 0:g.seal_image)&&ue&&(0,n.jsx)(_e,{image:null==g?void 0:g.seal_image,name:null==g?void 0:g.seal_name,link:null==g?void 0:g.seal_link}),(null==x?void 0:x.images)?(0/* BannerTopBanner */,n.jsx)(_.W,{images:x.images,targetLink:x.targetLink,adSaleId:x.adSaleId,region:x.region,subRegion:x.subRegion}):(0,n.jsx)("center",{className:fe()["top-banner"],children:(0/* default */,n.jsx)(a.Z,{id:"banner-top",label:// eslint-disable-next-line no-nested-ternary 464"br"===Y?"Publicidade":"en"===Y?"Ad":"Publicidad"})}), 465 466(0/* default */,n.jsx)(L.Z,{visible:Se,setVisible:Le,setNextVisible:Ce}), 467 468(0/* default */,n.jsx)(I.Z,{visible:ke,setVisible:Ce,setVisibleLogin:Le}), 469 470(0,n.jsxs)("div",{className:fe()["image-content"],children:[je&&!Ve?(0,n.jsx)("div",{style:{width:ze.width,height:ze.height,backgroundImage:"url(".concat(c,")")},className:fe()["image-desktop"],children:(0,n.jsx)("div",{style:{height:"100%",backdropFilter:"blur(3px)",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0/* default */,n.jsx)(S.Z,{src:c,alt:null==g?void 0:g.titulo,width:150,height:225,isMediaFilmelier:!0,draggable:!1,title:null==g?void 0:g.titulo})})}):je&&Ve?(0/* default */,n.jsx)(S.Z,{src:c,alt:null==g?void 0:g.titulo,width:ze.width,height:ze.height,isMediaFilmelier:!0,draggable:!1,title:null==g?void 0:g.titulo,className:fe()["image-film"],lazyLoad:!1}):!we||ue?(0,n.jsxs)("div",{className:fe()["image-title-rating-tags"],children:[ 471 472(0/* default */,n.jsx)(S.Z,{src:c,alt:null==g?void 0:g.titulo,width:ze.width,height:ze.height,isMediaFilmelier:!0,draggable:!1,title:null==g?void 0:g.titulo,className:fe()["image-film"],lazyLoad:!1}), 473 474(0,n.jsxs)("div",{className:fe()["title-rating-tags"],children:[ 475 476(0,n.jsx)("h1",{className:fe()["title-film"],children:null==g?void 0:g.titulo}), 477 478(0,n.jsxs)("div",{className:fe()["rating-tags"],children:[null!==(null==g?void 0:g.imdb)&&(0,n.jsxs)(n.Fragment,{children:[ 479 480(0/* FilmStar */,n.jsx)(C.ZG,{}), 481 482(0,n.jsx)("span",{className:fe()["rating-film"],children:"".concat((null==g?void 0:g.imdb)?null==g?void 0:g.imdb:"--","/10")})]}),(null==g?void 0:g.ficha_tecnica.duracao)&&(0,n.jsx)("div",{className:fe()["tags-film"],children:Xe(null==g?void 0:g.ficha_tecnica.duracao)}),(null==g?void 0:g.faixa_etaria)&&(0,n.jsx)("div",{className:fe()["tags-film"],children:null==g?void 0:g.faixa_etaria}),(null==g?void 0:g.ficha_tecnica.ano_lancamento)&&(0,n.jsx)(p(),{href:He(null==g?void 0:g.ficha_tecnica.ano_lancamento),className:fe()["tags-film"],children:null==g?void 0:g.ficha_tecnica.ano_lancamento}),(null==g||null===(O=g.genero)||void 0===O?void 0:O.nome)&&(0,n.jsx)(p(),{href:"/".concat(null==g?void 0:g.genero.slug),className:fe()["tags-film"],children:null==g?void 0:g.genero.nome}),(null==g?void 0:g.justwatch_path)&&(null==g?void 0:g.justwatch_ranks)&&(0,n.jsx)("div",{children:(0,n.jsx)(Q,{locale:Y,justWatchPath:null==g?void 0:g.justwatch_path,ranks:null==g?void 0:g.justwatch_ranks})})]})]})]}):null, 483 484(0,n.jsxs)("div",{className:fe()["content-film"],children:[pe&&(0,n.jsxs)("div",{className:fe()["image-content-film-tablet"],children:[ 485 486(0/* default */,n.jsx)(S.Z,{src:c,alt:null==g?void 0:g.titulo,width:ze.width,height:ze.height,isMediaFilmelier:!0,draggable:!1,title:null==g?void 0:g.titulo,className:fe()["image-film"],lazyLoad:!1}), 487 488(0,n.jsxs)("div",{className:fe()["content-film-tablet"],children:[(null==g?void 0:g.seal_image)?(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[ 489 490(0,n.jsx)("h1",{className:fe()["title-film"],children:null==g?void 0:g.titulo}), 491 492(0,n.jsx)(_e,{image:null==g?void 0:g.seal_image,name:null==g?void 0:g.seal_name,link:null==g?void 0:g.seal_link})]}):(0,n.jsx)("h1",{className:fe()["title-film"],children:null==g?void 0:g.titulo}), 493 494(0,n.jsxs)("div",{className:fe()["rating-tags"],children:[null!==(null==g?void 0:g.imdb)&&(0,n.jsxs)(n.Fragment,{children:[ 495 496(0/* FilmStar */,n.jsx)(C.ZG,{}), 497 498(0,n.jsx)("span",{className:fe()["rating-film"],children:"".concat((null==g?void 0:g.imdb)?null==g?void 0:g.imdb:"--","/10")})]}),(null==g?void 0:g.ficha_tecnica.duracao)&&(0,n.jsx)("div",{className:fe()["tags-film"],children:Xe(null==g?void 0:g.ficha_tecnica.duracao)}),(null==g?void 0:g.faixa_etaria)&&(0,n.jsx)("div",{className:fe()["tags-film"],children:null==g?void 0:g.faixa_etaria}),(null==g?void 0:g.ficha_tecnica.ano_lancamento)&&(0,n.jsx)(p(),{href:He(null==g?void 0:g.ficha_tecnica.ano_lancamento),className:fe()["tags-film"],children:null==g?void 0:g.ficha_tecnica.ano_lancamento}),(null==g||null===(V=g.genero)||void 0===V?void 0:V.nome)&&(0,n.jsx)(p(),{href:"/".concat(null==g?void 0:g.genero.slug),className:fe()["tags-film"],children:null==g?void 0:g.genero.nome}),(null==g?void 0:g.justwatch_path)&&(null==g?void 0:g.justwatch_ranks)&&(0,n.jsx)("div",{children:(0,n.jsx)(Q,{locale:Y,justWatchPath:null==g?void 0:g.justwatch_path,ranks:null==g?void 0:g.justwatch_ranks})})]}),(null===(X=v.props)||void 0===X?void 0:X.images)&&Pe&&(0,n.jsx)(oe,{id_filme:g.id_filme,button_props:v.props,platform:Pe}),(null==g?void 0:g.full_movie)&&(0,n.jsxs)(p(),{href:"#film-player",onClick:qe,className:fe()["button-play-movie"],children:[ 499 500(0/* FilmPlay */,n.jsx)(C.Bk,{size:18,minX:3,minY:3,viewBoxSize:18}),A.watch_full_movie]}), 501 502(0,n.jsx)(K,{film:g,platforms:null==g||null===(q=g.onde_assistir)||void 0===q?void 0:q.plataformas,cinema:null==g||null===(H=g.onde_assistir)||void 0===H?void 0:H.cinemas,translations:A,loading:!1,recommended_by_user:Ie,global_settings:P,setLoginVisible:Le}),(null==g?void 0:g.storyline)&&(0,n.jsxs)("div",{className:fe()["storyline-film"],children:[ 503 504(0,n.jsx)("span",{className:fe()["quotation-marks-initial"],children:(0/* FilmLeftQuotationMark */,n.jsx)(C.K9,{minX:-3})}), 505 506(0,n.jsx)("p",{className:fe().storyline,children:null==g?void 0:g.storyline}), 507 508(0,n.jsx)("span",{className:fe()["quotation-marks-final"],children:(0/* FilmRightQuotationMark */,n.jsx)(C.lg,{minX:-2,minY:-8})})]})]})]}), 509 510(0,n.jsxs)("div",{className:fe()["content-film-presentation"],children:[je&&(0,n.jsxs)("div",{className:fe()["content-film-information"],children:[(null==g?void 0:g.seal_image)?(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[ 511 512(0,n.jsx)("h1",{className:fe()["title-film"],children:null==g?void 0:g.titulo}), 513 514(0,n.jsx)(_e,{image:null==g?void 0:g.seal_image,name:null==g?void 0:g.seal_name,link:null==g?void 0:g.seal_link})]}):(0,n.jsx)("h1",{className:fe()["title-film"],children:null==g?void 0:g.titulo}), 515 516(0,n.jsxs)("div",{className:fe()["rating-tags"],children:[null!==(null==g?void 0:g.imdb)&&(0,n.jsxs)(n.Fragment,{children:[ 517 518(0/* FilmStar */,n.jsx)(C.ZG,{}), 519 520(0,n.jsx)("span",{className:fe()["rating-film"],children:"".concat((null==g?void 0:g.imdb)?null==g?void 0:g.imdb:"--","/10")})]}),(null==g?void 0:g.ficha_tecnica.duracao)&&(0,n.jsx)("div",{className:fe()["tags-film"],children:Xe(null==g?void 0:g.ficha_tecnica.duracao)}),(null==g?void 0:g.faixa_etaria)&&(0,n.jsx)("div",{className:fe()["tags-film"],children:null==g?void 0:g.faixa_etaria}),(null==g?void 0:g.ficha_tecnica.ano_lancamento)&&(0,n.jsx)(p(),{href:He(null==g?void 0:g.ficha_tecnica.ano_lancamento),className:fe()["tags-film"],children:null==g?void 0:g.ficha_tecnica.ano_lancamento}),(null==g||null===(G=g.genero)||void 0===G?void 0:G.nome)&&(0,n.jsx)(p(),{href:"/".concat(null==g?void 0:g.genero.slug),className:fe()["tags-film"],children:null==g?void 0:g.genero.nome}),(null==g?void 0:g.justwatch_path)&&(null==g?void 0:g.justwatch_ranks)&&(0,n.jsx)("div",{children:(0,n.jsx)(Q,{locale:Y,justWatchPath:null==g?void 0:g.justwatch_path,ranks:null==g?void 0:g.justwatch_ranks})})]})]}),je&&Pe&&(null===(U=h.props)||void 0===U?void 0:U.images)&&(0,n.jsx)(le,{banner_props:h.props}),ue&&(null===(J=v.props)||void 0===J?void 0:J.images)&&Pe&&(0,n.jsx)(oe,{id_filme:g.id_filme,button_props:v.props,platform:Pe}),!pe&&(null==g?void 0:g.full_movie)&&(0,n.jsxs)(p(),{href:"#film-player",onClick:qe,className:fe()["button-play-movie"],children:[ 521 522(0/* FilmPlay */,n.jsx)(C.Bk,{size:18,minX:3,minY:3,viewBoxSize:18}),A.watch_full_movie]}),!pe&&(0,n.jsx)(K,{film:g,platforms:null==g||null===($=g.onde_assistir)||void 0===$?void 0:$.plataformas,cinema:null==g||null===(ee=g.onde_assistir)||void 0===ee?void 0:ee.cinemas,translations:A,loading:!1,recommended_by_user:Ie,global_settings:P,setLoginVisible:Le}),Je&&Je.length>0||$e?(0,n.jsx)(W,{id_filme:null==g?void 0:g.id_filme,setLoginVisible:Le}):null,we&&ye&&(0,n.jsx)("div",{className:fe()["skeleton-banner-apple"],children:(0,n.jsx)(u,{})}),!pe&&(null==g?void 0:g.storyline)&&(0,n.jsxs)("div",{className:fe()["storyline-film"],children:[ 523 524(0,n.jsx)("span",{className:fe()["quotation-marks-initial"],children:(0/* FilmLeftQuotationMark */,n.jsx)(C.K9,{minX:-3})}), 525 526(0,n.jsx)("p",{className:fe().storyline,children:null==g?void 0:g.storyline}), 527 528(0,n.jsx)("span",{className:fe()["quotation-marks-final"],children:(0/* FilmRightQuotationMark */,n.jsx)(C.lg,{minX:-2,minY:-8})})]}),we&&!ye&&(0,n.jsx)("div",{className:fe()["skeleton-banner-apple"],children:(0,n.jsx)(u,{})}),(!(null==g||null===(ie=g.onde_assistir)||void 0===ie?void 0:ie.plataformas)||0===(null==g||null===(te=g.onde_assistir)||void 0===te?void 0:te.plataformas.length))&&(null==g||null===(ne=g.onde_assistir)||void 0===ne?void 0:ne.cinemas)&&(null==g||null===(se=g.onde_assistir)||void 0===se?void 0:se.cinemas.length)>0&&(null==E?void 0:E.isRegionBR)&&(0,n.jsx)(ae,{id_filme:g.id_filme}), 529 530(0/* FilmTabPlayer */,n.jsx)(T.ne,{videos:[{videoId:null==g?void 0:g.full_movie,title:A.full_movie},{videoId:null==g?void 0:g.trailer,title:A.trailer,user_journey_click:"trailer-tab",user_journey_entity_type:"mov
530ie",user_journey_entity_id:null==g?void 0:g.id_filme}],title:A.full_movie_trailer,id:"film-player",loading:!1})]}),(null==g?void 0:g.porque_assistir.curadorias)&&(null==g?void 0:g.porque_assistir.curadorias.length)>0&&(0/* WhyShouldWatchCarousel */,n.jsx)(N.Nr,{whyShouldWatch:null==g?void 0:g.porque_assistir.titulo,specialistCurator:null==g?void 0:g.porque_assistir.curadorias}), 531 532(0,n.jsx)("div",{className:fe()["movie-of-the-day-container"],children:(0/* PlayMovieOfTheDayMoviePage */,n.jsx)(re.N,{ga_page:"Movie page - ".concat(Y),translations:A})}), 533 534(0/* default */,n.jsx)(Z.Z,{setVisible:Le,movie_id:g.id_filme}), 535 536(0,n.jsxs)("div",{className:fe()["center-banner-page-surprise"],children:[ 537 538(0,n.jsx)("center",{className:fe()["center-banner-page"],children:(0/* default */,n.jsx)(a.Z,{id:"banner-300x250-fixo",label:// eslint-disable-next-line no-nested-ternary 539"br"===Y?"Publicidade":"en"===Y?"Ad":"Publicidad"})}), 540 541(0/* default */,n.jsx)(w.Z,{translations:A,id:0,ga_platform:"film-".concat(Y),complete_url:l})]}), 542 543(0,n.jsx)(y,{locale:Y,film:g,translations:A}),(null==M?void 0:M.films)&&(null==M?void 0:M.films.length)>0&&(0,n.jsx)("div",{className:fe()["carousels-film"],children:(0,n.jsx)(ge,{translations:A,title:null==M?void 0:M.titulo,pageName:"Film",url:"",gtmTitleClass:"film",films:null==M?void 0:M.films,isSegmentation:!0})}), 544 545(0,n.jsx)("div",{className:fe()["movies-to-watch-at-home"],children:!(null==E?void 0:E.isRegionWW)&&(0,n.jsx)(xe,{thumb:j})})]})]}),je&&(0,n.jsxs)("div",{className:fe()["news-letter-side-banner"],children:[(null===(de=v.props)||void 0===de?void 0:de.images)&&Pe&&(0,n.jsx)(oe,{id_filme:g.id_filme,button_props:v.props,platform:Pe}),!(null==E?void 0:E.isRegionWW)&&(0/* FilmelierBoxNewsletter */,n.jsx)(b.yD,{}), 546 547(0,n.jsx)("center",{className:We?"".concat(fe()["side-banner"]," ").concat(Fe?fe()["fixed-banner-end-page"]:fe()["fixed-banner"]):fe()["side-banner"],style:{bottom:Fe?Ae:void 0},children:(0/* default */,n.jsx)(a.Z,{id:"banner-300x600-lateral",label:// eslint-disable-next-line no-nested-ternary 548"br"===Y?"Publicidade":"en"===Y?"Ad":"Publicidad"})})]})]})]})} 549/***/}, 550/***/10267: 551/***/function(e){ 552// extracted by mini-css-extract-plugin 553e.exports={"center-banner-apple":"styles_center-banner-apple__A_KRn","iframe-banner-apple":"styles_iframe-banner-apple__YPLwc"}; 554/***/}, 555/***/26279: 556/***/function(e){ 557// extracted by mini-css-extract-plugin 558e.exports={"banner-top-banner-container":"styles_banner-top-banner-container__ql_Ij","banner-top-banner-img":"styles_banner-top-banner-img__7ls6h"}; 559/***/}, 560/***/8714: 561/***/function(e){ 562// extracted by mini-css-extract-plugin 563e.exports={"synopsis-cast-technical-data":"styles_synopsis-cast-technical-data__HzGKh","tab-view-custom":"styles_tab-view-custom__XE4oF","header-tab-view":"styles_header-tab-view___aFL5","header-tab-panel":"styles_header-tab-panel__7lM_b","header-tab-panel-active":"styles_header-tab-panel-active__tEFIl","tabview-container":"styles_tabview-container__lb1wP","hidden-tab":"styles_hidden-tab__TF8T1","synopsis-tab":"styles_synopsis-tab__5cLKK","cast-person":"styles_cast-person__4gyTN",person_name:"styles_person_name__nRCIC",person_character:"styles_person_character__si6Tc","technical-data":"styles_technical-data__liXfN","title-span":"styles_title-span__tezvH","description-item":"styles_description-item__D6tRp"}; 564/***/}, 565/***/39107: 566/***/function(e){ 567// extracted by mini-css-extract-plugin 568e.exports={"container-play-surpresa":"styles_container-play-surpresa__Gg9Gt"}; 569/***/}, 570/***/53619: 571/***/function(e){ 572// extracted by mini-css-extract-plugin 573e.exports={container:"styles_container__Ap_JC",saved:"styles_saved__B4_V2","not-saved":"styles_not-saved__Jsn9L",hidden:"styles_hidden__UKh8i"}; 574/***/}, 575/***/39666: 576/***/function(e){ 577// extracted by mini-css-extract-plugin 578e.exports={"full-movie-trailer":"styles_full-movie-trailer__vVE8K","tabview-container":"styles_tabview-container__KeYci","youtube-player":"styles_youtube-player__dfbPN","tab-view-custom":"styles_tab-view-custom__R1ijf","header-tab-view":"styles_header-tab-view__s_Y2d","header-tab-panel":"styles_header-tab-panel__xfa0q","header-tab-panel-active":"styles_header-tab-panel-active__XmnQP","single-video":"styles_single-video__r7xT7","incompatible-message":"styles_incompatible-message__1QY2r","full-movie-trailer-skeleton":"styles_full-movie-trailer-skeleton__1klo5","watch-movie":"styles_watch-movie__bvGMd","watch-movie-skeleton":"styles_watch-movie-skeleton__YKcyd","watch-curator-video":"styles_watch-curator-video__xGwqK"}; 579/***/}, 580/***/7181: 581/***/function(e){ 582// extracted by mini-css-extract-plugin 583e.exports={"where-watch-container":"styles_where-watch-container__bLej_","where-to-watch-platforms":"styles_where-to-watch-platforms__kVRRS","where-watch-text":"styles_where-watch-text__TMdHe","where-watch-image-and-text":"styles_where-watch-image-and-text__6CMng","where-watch-details":"styles_where-watch-details__1kKHC",separator:"styles_separator__Pr6Jz","conditional-text":"styles_conditional-text__IWRUg","conditional-text-upper":"styles_conditional-text-upper__qHniV","where-watch-container-skeleton":"styles_where-watch-container-skeleton__3xa_E",poweredBy:"styles_poweredBy___eRn1","recommend-to-filmelier-plus":"styles_recommend-to-filmelier-plus__6uAlr","where-to-watch":"styles_where-to-watch__TCqaW",button:"styles_button__mxKVJ",indicate:"styles_indicate___8GYc",remove:"styles_remove__HOReh"}; 584/***/}, 585/***/54665: 586/***/function(e){ 587// extracted by mini-css-extract-plugin 588e.exports={"jw-link":"styles_jw-link__Fanpg",wrapper:"styles_wrapper__CHTdF","rank-text":"styles_rank-text__ryw87","change-arrow-negative":"styles_change-arrow-negative__REAfh","change-box":"styles_change-box___MbSf","change-box-positive":"styles_change-box-positive__5BRd8","change-box-negative":"styles_change-box-negative__t8cnR","change-text":"styles_change-text__HLkDN","change-text-positive":"styles_change-text-positive__gjyiw","change-text-negative":"styles_change-text-negative__B1LTz"}; 589/***/}, 590/***/77911: 591/***/function(e){ 592// extracted by mini-css-extract-plugin 593e.exports={"let-me-know-content":"styles_let-me-know-content__BjwWh","let-me-know-title":"styles_let-me-know-title__g0Up9","let-me-know-title-text":"styles_let-me-know-title-text__WjY_e","let-me-know-h3":"styles_let-me-know-h3__ALsEG","let-me-know-info":"styles_let-me-know-info__mxMbZ","let-me-know-fields":"styles_let-me-know-fields__wQieY","let-me-know-button":"styles_let-me-know-button___5S6o",spinner:"styles_spinner__GGwAM","already-notified":"styles_already-notified__rplC1","check-consent":"styles_check-consent__xAJzb","checkbox-consent":"styles_checkbox-consent__R2W1P"}; 594/***/}, 595/***/69592: 596/***/function(e){ 597// extracted by mini-css-extract-plugin 598e.exports={"container-movie-of-the-day":"styles_container-movie-of-the-day___67LA","left-side":"styles_left-side__M6uKb","section-hint":"styles_section-hint__BoNAm",hint:"styles_hint__iL6Tl",description:"styles_description__0OtES","quotation-marks-initial":"styles_quotation-marks-initial__ivd3s","quotation-marks-final":"styles_quotation-marks-final__RCtUy","section-gif":"styles_section-gif__kKov_","right-side":"styles_right-side__JPYKi","section-description":"styles_section-description__k0Obs","button-movie-of-the-day":"styles_button-movie-of-the-day__a1DYG","container-movie-of-the-day-movie-page":"styles_container-movie-of-the-day-movie-page__SaPyj"}; 599/***/}, 600/***/4049: 601/***/function(e){ 602// extracted by mini-css-extract-plugin 603e.exports={dimensions:"styles_dimensions__USdP9",mobileDimensions:"styles_mobileDimensions__EAzZr"}; 604/***/}, 605/***/11116:
606/***/function(e){ 607// extracted by mini-css-extract-plugin 608e.exports={showMoreWrapper:"styles_showMoreWrapper__iqrVc",showMore:"styles_showMore__cBhG4",hide_ul:"styles_hide_ul__h70aG",show:"styles_show__F19_2",showMoreLiButton:"styles_showMoreLiButton__mGNHT",showMorePlatform:"styles_showMorePlatform__7caoZ",showMoreItemPlatform:"styles_showMoreItemPlatform__lFMmN",showMoreItem:"styles_showMoreItem__C7PHG",hide:"styles_hide__RwugW",showMoreButton:"styles_showMoreButton__G5xaL","where-watch-text":"styles_where-watch-text__m0cgl","where-watch-image-and-text":"styles_where-watch-image-and-text__BJiyy","where-watch-image":"styles_where-watch-image__Thr6f"}; 609/***/}, 610/***/58797: 611/***/function(e){ 612// extracted by mini-css-extract-plugin 613e.exports={"top-banner":"styles_top-banner__3S7mR","title-film":"styles_title-film__lpdWd","rating-tags":"styles_rating-tags__belEf","rating-film":"styles_rating-film__Aata3","tags-film":"styles_tags-film__vin2h","image-content":"styles_image-content__SDpEz","image-desktop":"styles_image-desktop__43aEj","image-film":"styles_image-film__Mv5XZ","image-title-rating-tags":"styles_image-title-rating-tags__rGYZy","title-rating-tags":"styles_title-rating-tags__lvJrY","content-film":"styles_content-film__186Rl","content-film-presentation":"styles_content-film-presentation__jRIPR","content-film-information":"styles_content-film-information__ZjHvd","image-content-film-tablet":"styles_image-content-film-tablet__iDkFn","content-film-tablet":"styles_content-film-tablet__ZEDLf","button-play-movie":"styles_button-play-movie__sYBc2","storyline-film":"styles_storyline-film__tjy_g",storyline:"styles_storyline__Spuw_","quotation-marks-initial":"styles_quotation-marks-initial__6XHYL","quotation-marks-final":"styles_quotation-marks-final__jXEFC","full-movie-trailer":"styles_full-movie-trailer__y7i2H","center-banner-page-surprise":"styles_center-banner-page-surprise__nXYXS","center-banner-page":"styles_center-banner-page__Ka1XF","carousels-film":"styles_carousels-film__5qimc","movies-to-watch-at-home":"styles_movies-to-watch-at-home__y7_o_","middle-banner":"styles_middle-banner__Zk9PY","news-letter-side-banner":"styles_news-letter-side-banner__k7ID8","side-banner":"styles_side-banner__8KsGv","fixed-banner":"styles_fixed-banner__5sEvN","fixed-banner-end-page":"styles_fixed-banner-end-page__B8w1h","skeleton-banner-apple":"styles_skeleton-banner-apple__B5_3O","movie-of-the-day-container":"styles_movie-of-the-day-container__p9EK2"}; 614/***/}}, 615/******/function(e){ 616/******/e.O(0,[6001,3913,2888,9774,179],(function(){return e(e.s=33475)})); 617/******/var i=e.O(); 618/******/_N_E=i}]);
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.