PageSourceSearch

https://www.filmelier.com/_next/static/chunks/pages/films-9745ea458d12ac9e.js

js filmelier.com collected 2026-10-02 10:05:26 UTC 14,556 bytes, 120 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4018],{
2/***/69619:
3/***/function(e,l,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/films",function(){return a(65349)}])},
4/***/90485:
5/***/function(e,l,a){"use strict";
6/* harmony export */a.d(l,{
7/* harmony export */W:function(){/* binding */return u}
8/* harmony export */});
9/* harmony import */var s=a(85893),t=a(91267),n=a(41664),r=a.n(n),i=a(67294),o=a(26279),c=a.n(o);
10/* harmony import */
11/* eslint-disable jsx-a11y/control-has-associated-label */
12function u(e){let{images:l,targetLink:a,adSaleId:n,region:o,subRegion:u}=e;return(0,i.useEffect)((()=>{try{const e={url:window.location.href,adSaleId:n,event:"view",regionId:o,subRegionId:u};(0,t/* .createAdLogAsync */.O)(e)}catch(e){console.error("Erro ao processar dados do anúncio:",e.message)}}),[]),(0,s.jsx)("div",{className:c()["banner-top-banner-container"],children:(0,s.jsx)(r(),{href:a,target:"_blank",rel:"noreferrer",onClick:e=>{e.stopPropagation();const l={url:window.location.href,adSaleId:n,event:"click",regionId:o,subRegionId:u};(0,t/* .createAdLogAsync */.O)(l)},"data-user-journey-click":"ad-sale-top-banner","data-user-journey-entity-type":"ad_sale","data-user-journey-entity-id":n,children:(0,s.jsxs)("picture",{children:[
13
14(0,s.jsx)("source",{media:"(min-width: 1366px)",srcSet:l.desktop}),
15
16(0,s.jsx)("source",{media:"(min-width: 768px)",srcSet:l.tablet}),
17
18(0,s.jsx)("img",{src:l.mobile,alt:"banner-top-image",className:c().img,loading:"lazy",decoding:"async"})]})})})}
19/***/},
20/***/86683:
21/***/function(e,l,a){"use strict";
22// EXPORTS
23a.d(l,{O:function(){/* binding */return p},b:function(){/* binding */return m}});
24// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
25var s=a(85893);// CONCATENATED MODULE: ./src/pages/api/glossary.ts
26const t=JSON.parse('[{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"C","value":"C"},{"label":"D","value":"D"},{"label":"E","value":"E"},{"label":"F","value":"F"},{"label":"G","value":"G"},{"label":"H","value":"H"},{"label":"I","value":"I"},{"label":"J","value":"J"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"M","value":"M"},{"label":"N","value":"N"},{"label":"O","value":"O"},{"label":"P","value":"P"},{"label":"Q","value":"Q"},{"label":"R","value":"R"},{"label":"S","value":"S"},{"label":"T","value":"T"},{"label":"U","value":"U"},{"label":"V","value":"V"},{"label":"W","value":"W"},{"label":"X","value":"X"},{"label":"Y","value":"Y"},{"label":"Z","value":"Z"},{"label":"0-9","value":"[0-9]"},{"label":"#","value":"#"}]');
27/* harmony default export */var n=async()=>{try{let e=[];return e=t.map((e=>({...e,classGTM:"event_glossary_label"}))),e}catch(e){return console.error("Error fetching glossary: ",e),[]}};// CONCATENATED MODULE: ./src/pages/api/letters.ts
28const r=JSON.parse('[{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"C","value":"C"},{"label":"D","value":"D"},{"label":"E","value":"E"},{"label":"F","value":"F"},{"label":"G","value":"G"},{"label":"H","value":"H"},{"label":"I","value":"I"},{"label":"J","value":"J"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"M","value":"M"},{"label":"N","value":"N"},{"label":"O","value":"O"},{"label":"P","value":"P"},{"label":"Q","value":"Q"},{"label":"R","value":"R"},{"label":"S","value":"S"},{"label":"T","value":"T"},{"label":"U","value":"U"},{"label":"V","value":"V"},{"label":"W","value":"W"},{"label":"X","value":"X"},{"label":"Y","value":"Y"},{"label":"Z","value":"Z"}]');
29/* harmony default export */var i=async()=>{try{let e=[];return e=r.map((e=>({...e,classGTM:"event_glossary_label"}))),e}catch(e){return console.error("Error fetching letter: ",e),[]}},o=a(41664),c=a.n(o),u=a(11163),d=a(70243),_=a(67294),v=a(28488),b=a.n(v);
30// EXTERNAL MODULE: ./node_modules/next/link.js
31// CONCATENATED MODULE: ./src/components/GlossaryVirtualScroller/index..tsx
32function m(e){let{selectedGlossary:l,setSelectedGlossary:a}=e;const t=(0,u.useRouter)(),[r,i]=(0,_.useState)([]);(0,_.useEffect)((()=>{(async()=>{n().then((e=>{if(e.length>0){const l=e.map((e=>({label:e.label,value:e.value})));i(l)}}))})()}),[]);const o=e=>{a(e)};
33return(0,s.jsxs)("div",{className:b().container,children:[
34
35(0,s.jsx)("div",{className:b()["is-mobile-tablet"],children:(0/* VirtualScroller */,s.jsx)(d.J,{items:r,itemTemplate:e=>(0,s.jsx)(c(),{href:{pathname:// eslint-disable-next-line no-nested-ternary
36"mx"===t.locale?"peliculas":"br"===t.locale?"filmes":"movies",query:e.value!==(null==l?void 0:l.value)?{character:e.value}:{}},className:"".concat(b().chip," gpc_event_name ").concat(e.value===(null==l?void 0:l.value)?b().selected:""),onClick:()=>{o(e)},"data-user-journey-key":"glossary-all-movies-virtual-scroller","data-user-journey-entity-type":"letter","data-user-journey-entity-id":e.value||e.label,children:e.label}),itemSize:1,inline:!0,appendOnly:!0,orientation:"horizontal",className:b()["glossaries-virtual-scroller"],pt:{content:{className:b()["glossaries-virtual-scroller__content"]}}})}),
37
38(0,s.jsx)("div",{className:b()["not-is-mobile-tablet"],children:(0,s.jsx)("div",{className:b()["glossaries-container"],children:r.map((e=>(0,s.jsx)(c(),{href:{pathname:// eslint-disable-next-line no-nested-ternary
39"mx"===t.locale?"peliculas":"br"===t.locale?"filmes":"movies",query:e.value!==(null==l?void 0:l.value)?{character:e.value}:{}},className:"".concat(b().chip,"  ").concat(e.value===(null==l?void 0:l.value)?b().selected:""),onClick:()=>{o(e)},"data-user-journey-key":"glossary-all-movies-virtual-scroller","data-user-journey-entity-type":"letter","data-user-journey-entity-id":e.value||e.label,children:e.label})))})})]})}function p(e){let{selectedLetter:l,setSelectedLetter:a}=e;const t=(0,u.useRouter)(),[n,r]=(0,_.useState)([]);(0,_.useEffect)((()=>{(async()=>{i().then((e=>{if(e.length>0){const l=e.map((e=>({label:e.label,value:e.value})));r(l)}}))})()}),[]);const o=e=>{a(e)};
40return(0,s.jsxs)("div",{className:b().container,children:[
41
42(0,s.jsx)("div",{className:b()["is-mobile-tablet"],children:(0/* VirtualScroller */,s.jsx)(d.J,{items:n,itemTemplate:e=>(0,s.jsx)(c(),{href:{pathname:// eslint-disable-next-line no-nested-ternary
43"mx"===t.locale?"directores":"br"===t.locale?"diretores":"directors",query:e.value!==(null==l?void 0:l.value)?{letter:e.value}:{}},className:"".concat(b().chip," gpc_event_name ").concat(e.value===(null==l?void 0:l.value)?b().selected:""),onClick:()=>{o(e)},"data-user-journey-key":"glossary-all-directors-virtual-scroller","data-user-journey-entity-type":"letter","data-user-journey-entity-id":e.value||e.label,children:e.label}),itemSize:1,inline:!0,appendOnly:!0,orientation:"horizontal",className:b()["glossaries-virtual-scroller"],pt:{content:{className:b()["glossaries-virtual-scroller__c
43ontent"]}}})}),
44
45(0,s.jsx)("div",{className:b()["not-is-mobile-tablet"],children:(0,s.jsx)("div",{className:b()["glossaries-container"],children:n.map((e=>(0,s.jsx)(c(),{href:{pathname:// eslint-disable-next-line no-nested-ternary
46"mx"===t.locale?"directores":"br"===t.locale?"diretores":"directors",query:e.value!==(null==l?void 0:l.value)?{letter:e.value}:{}},className:"".concat(b().chip,"  ").concat(e.value===(null==l?void 0:l.value)?b().selected:""),onClick:()=>{o(e)},"data-user-journey-key":"glossary-all-directors-virtual-scroller","data-user-journey-entity-type":"letter","data-user-journey-entity-id":e.value||e.label,children:e.label})))})})]})}
47/***/},
48/***/65349:
49/***/function(e,l,a){"use strict";
50// ESM COMPAT FLAG
51a.r(l),
52// EXPORTS
53a.d(l,{__N_SSP:function(){/* binding */return j},default:function(){/* binding */return x}});
54// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
55var s=a(85893),t=a(47609),n=a(90485),r=a(68575),i=a(69399),o=a(21188),c=a(86683),u=a(16222),d=a(29025),_=a(18622),v=a(11163),b=a(67294),m=a(11876),p=a(87066),y=async function(e,l,a){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"en";try{return(await p/* default */.Z.post("/api/user/get-films-page-movies",{region:s,character:a,sorting:e,page:l})).data}catch(e){return console.error("Error fetching data for region ".concat(s,":"),e),[]}},h=a(61483),g=a.n(h);
56// EXTERNAL MODULE: ./src/components/Banner/index.tsx
57// CONCATENATED MODULE: ./src/pages/films/index.tsx
58function f(e){let{list:l,top_movies:a,translations:t}=e;
59return(0,s.jsxs)("div",{className:g().ops,children:[
60
61(0,s.jsxs)("div",{className:g().message,children:[
62
63(0/* FilmSad */,s.jsx)(o.E$,{viewBoxSize:50,size:50}),
64
65(0,s.jsx)("h2",{children:t.message_not_found_oops}),
66
67(0,s.jsxs)("div",{children:[
68
69(0,s.jsx)("p",{children:t.message_not_found_1}),
70
71(0,s.jsx)("p",{
72// eslint-disable-next-line react/no-danger
73dangerouslySetInnerHTML:{__html:t.message_not_found_2},"data-user-journey-key":"editorial-link"})]})]}),
74
75(0/* FilmListCarousel */,s.jsx)(r.zS,{translations:t,title:a.lista,url:"/list/".concat(l),description:a.description,films:a.films,gtmTitleClass:"404",pageName:a.lista})]})}var j=!0;function x(e){let{top_bar_newsletter_data:l,props_pop_star_banner:a,props_premiere_banner:r,props_banner_top:o,character:p,page:h,films_page_structure:j,list:x,top_movies:N,translations:S,locale:k}=e;const w=(0,v.useRouter)(),[E,I]=(0,b.useState)(!1),C=(0,_/* useMediaQuery */.a)({minWidth:1366}),[O,T]=(0,b.useState)(p?{label:p,value:p}:null);var R;return(0,b.useEffect)((()=>{if(!O){const e={...w.query};delete e.character,w.replace({pathname:// eslint-disable-next-line no-nested-ternary
76"mx"===k?"peliculas":"br"===k?"filmes":"movies",query:e},void 0,{shallow:!0})}}),[O]),(0,s.jsxs)(s.Fragment,{children:[(null==r?void 0:r.images)&&(0/* PremiereBanner */,s.jsx)(u.r,{targetLink:r.targetLink,images:r.images,adSaleId:r.adSaleId,region:r.region,subRegion:r.subRegion}),
77
78(0/* default */,s.jsxs)(i.Z,{contentClassName:g()["content-all-films"],top_bar_newsletter_data:l,children:[!(C&&(null==a?void 0:a.images.desktop))&&(null==o?void 0:o.images)&&(0/* BannerTopBanner */,s.jsx)(n.W,{images:o.images,targetLink:o.targetLink,adSaleId:o.adSaleId,region:o.region,subRegion:o.subRegion}),!(C&&(null==a?void 0:a.images.desktop))&&!(null==o?void 0:o.images)&&(0,s.jsx)("center",{className:g()["top-banner"],children:(0/* default */,s.jsx)(t.Z,{id:"banner-top",label:S.advertising})}),
79
80(0,s.jsxs)("div",{children:[
81
82(0,s.jsx)("div",{className:g()["accordion-header"],children:(0/* Accordion */,s.jsx)(m.UQ,{allowZeroExpanded:!0,onChange:e=>{I(e.length>0)},className:g()["accordion-seo"],children:(0/* AccordionItem */,s.jsxs)(m.Qd,{children:[
83
84(0/* AccordionItemHeading */,s.jsx)(m.Ol,{children:(0/* AccordionItemButton */,s.jsx)(m.on,{children:(0,s.jsxs)("div",{className:g()["accordion-item-button"],children:[
85
86(0,s.jsx)("div",{children:(0,s.jsx)("h1",{children:(null==j?void 0:j.h1_title)||S.all_films})}),
87
88(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"p-accordion-toggle-icon pi pi-angle-down ".concat(g()["accordion-icon"]," ").concat(E?g()["rotate-icon"]:""),"data-pc-section":"headericon"})})]})})}),
89
90(0/* AccordionItemPanel */,s.jsx)(m.Mt,{className:"".concat(g()["accordion-description"]," p-accordion-content"),children:(0,s.jsx)("div",{
91// eslint-disable-next-line react/no-danger
92dangerouslySetInnerHTML:{__html:null!==(R=null==j?void 0:j.body_text)&&void 0!==R?R:""},"data-user-journey-key":"editorial-link"})})]})})}),
93
94(0/* GlossaryAllMoviesVirtualScroller */,s.jsx)(c.b,{selectedGlossary:O,setSelectedGlossary:e=>{e.value===(null==O?void 0:O.value)?T(null):T(e)}})]}),
95
96(0,s.jsxs)("div",{className:g()["films-top"],children:[
97
98(0,s.jsx)("h2",{className:g()["h2-list"],children:O?"".concat(S.films_with," ").concat("#"===(null==O?void 0:O.label)?S.special_character_description:null==O?void 0:O.label):S.all_films}),
99
100(0,s.jsx)("hr",{}),j&&j.films_count>0?(0,s.jsx)("div",{className:g().sorted_film_list,children:(0/* default */,s.jsx)(d.Z,{fetch_films_page_movies:y,films_count:null==j?void 0:j.films_count,character:(null==O?void 0:O.value)||"",initial_page:h,locale:k,translations:S})}):(0,s.jsx)("div",{className:g()["not-found-data"],children:(0,s.jsx)(f,{list:x,top_movies:N,translations:S})})]})]})]})}
101/***/},
102/***/26279:
103/***/function(e){
104// extracted by mini-css-extract-plugin
105e.exports={"banner-top-banner-container":"styles_banner-top-banner-container__ql_Ij","banner-top-banner-img":"styles_banner-top-banner-img__7ls6h"};
106/***/},
107/***/28488:
108/***/function(e){
109// extracted by mini-css-extract-plugin
110e.exports={"p-virtualscroller-spacer":"styles_p-virtualscroller-spacer__TkQuM",container:"styles_container__xzyrJ","is-mobile-tablet":"styles_is-mobile-tablet__Frhf3","glossaries-virtual-scroller":"styles_glossaries-virtual-scroller__aiatF","glossaries-virtual-scroller__c
110ontent":"styles_glossaries-virtual-scroller__content__EmNfA","not-is-mobile-tablet":"styles_not-is-mobile-tablet__x2cFp",chip:"styles_chip__xt8QD","glossaries-container":"styles_glossaries-container__XEECc",skeleton:"styles_skeleton__wsBnD",selected:"styles_selected__kdegT"};
111/***/},
112/***/61483:
113/***/function(e){
114// extracted by mini-css-extract-plugin
115e.exports={"banner-320-50":"styles_banner-320-50__iwD_m","accordion-header":"styles_accordion-header__wa8Va","accordion-seo":"styles_accordion-seo__ZK8as","accordion-item-button":"styles_accordion-item-button__H9dG5","accordion-icon":"styles_accordion-icon__8_a33","rotate-icon":"styles_rotate-icon___Ye4j","banner-container":"styles_banner-container__jq8c3","banner-top":"styles_banner-top__zq303","full-width":"styles_full-width__CERI0","top-banner":"styles_top-banner__4ALdy",title:"styles_title__sQlbF","swiper-description":"styles_swiper-description__wRMG_","bottom-text":"styles_bottom-text__1WpSg","lists-container":"styles_lists-container___tUqC",bannerNewsletter:"styles_bannerNewsletter___WYjR",banner300_250:"styles_banner300_250__HO9i_","container-films":"styles_container-films__ATbZg",sub_title:"styles_sub_title__YIhOl","item-film":"styles_item-film__E33Yq","film-information-ghost":"styles_film-information-ghost__IPs3n",button:"styles_button__9jWev","content-all-films":"styles_content-all-films__dDFCc","accordion-description":"styles_accordion-description__CNifD",body_text:"styles_body_text___3JbQ",filters:"styles_filters__N2Vct","list-container":"styles_list-container__9vTSp","films-top":"styles_films-top__sw1gT","h2-list":"styles_h2-list__d9tfO",sorted_film_list:"styles_sorted_film_list__mM7FN","not-found-data":"styles_not-found-data__UMEll",ops:"styles_ops__B1eBS",message:"styles_message__tGOrp"};
116/***/}},
117/******/function(e){
118/******/e.O(0,[1876,1518,9025,2888,9774,179],(function(){return e(e.s=69619)}));
119/******/var l=e.O();
120/******/_N_E=l}]);

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.