1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="a16dbf5a-6ffa-4234-b6c3-966281d14d30",e._sentryDebugIdIdentifier="sentry-dbid-a16dbf5a-6ffa-4234-b6c3-966281d14d30")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1591,3332,6517],{4739:(e,r,t)=>{"use strict";t.d(r,{A:()=>o});let o=(0,t(89967).A)()},6879:(e,r,t)=>{"use strict";t.d(r,{I_:()=>i});var o=t(14232),a=t(38520);let i=e=>{let[r,t]=(0,o.useState)(null),[i,n]=(0,o.useState)(!1),[s,l]=(0,o.useState)(null);return(0,o.useEffect)(()=>{e&&(n(!0),l(null),(0,a.zR)(e).then(e=>{t(e),n(!1)}).catch(e=>{l(e),n(!1)}))},[e]),{cinema:r,loading:i,error:s}}},16760:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(71283)}])},24346:(e,r,t)=>{"use strict";t.d(r,{Bd:()=>A,Ch:()=>y,Go:()=>C,Jw:()=>w,OC:()=>c,OV:()=>f,Qe:()=>g,RB:()=>z,Sj:()=>m,Vr:()=>h,X1:()=>b,_r:()=>v,ad:()=>x,gZ:()=>S,lv:()=>p,n2:()=>Y,oF:()=>k,rW:()=>u});var o=t(60434),a=t(80942),i=t(18042),n=t(42922),s=t(52563),l=t(44407),d=t(15041);let c=(0,l.Ay)(a.A)` 2 text-align: center; 3`,p=(0,l.Ay)(a.A)` 4 position: relative; 5 height: auto; 6 overflow: hidden; 7`,f=(0,l.Ay)(i.A)` 8 border: 1px solid #ffffff; 9 color: #ffffff; 10 text-transform: uppercase; 11 font-size: 1rem; 12 border-radius: 8px; 13 padding: 8px 12px; 14`,m=(0,l.Ay)(a.A)` 15 position: relative; 16`,u=(0,l.Ay)(a.A)` 17 position: absolute; 18 top: 0; 19 left: 0; 20 right: 0; 21 bottom: 0; 22 border-radius: 8px; 23 background: linear-gradient( 24 0deg, 25 rgba(0, 0, 0, 0.9) 0%, 26 rgba(0, 0, 0, 0) 75% 27 ); 28`,g=(0,l.Ay)("a")` 29 text-decoration: none; 30 img{ 31 border-radius: 8px; 32 } 33`,h=(0,l.Ay)(a.A)` 34 text-align: center; 35 position: absolute; 36 bottom: 0; 37 left: 0; 38 right: 0; 39 color: #ffffff; 40 text-transform: uppercase; 41 z-index: 3; 42 font-size: 0.85em; 43 padding: 15px; 44 @media (max-width: 768px) { 45 padding: 5px 0 8px; 46 font-size: 0.85em; 47 } 48`,x=(0,l.Ay)(s.A)` 49 font-size: 0.9em; 50 color: #ffffff; 51 text-transform: uppercase; 52 font-weight: 700; 53 white-space: nowrap; 54 width: fit-content; 55 margin: 5px auto 0; 56 &.Pets, &.Cinepets{ 57 background-color: #cd5800; 58 padding: 3px 6px; 59 border-radius: 5px; 60 } 61 &.Azul, &.Cineazul{ 62 background-color: #049dca; 63 padding: 3px 6px; 64 border-radius: 5px; 65 } 66 &.Materna, &.Cinematerna{ 67 background-color: #f82b7a; 68 padding: 3px 6px; 69 border-radius: 5px; 70 } 71 &.Tons, &.Cinetons{ 72 background-color: #22db1b; 73 padding: 3px 6px; 74 border-radius: 5px; 75 } 76 &.Atelier, &.Cineatelier{ 77 background-color: #ca2425; 78 padding: 3px 6px; 79 border-radius: 5px; 80 } 81 &.Livro, &.Cinelivro{ 82 background-color: #b8860b; 83 padding: 3px 6px; 84 border-radius: 5px; 85 } 86 &.Croche, &.Cinecroche{ 87 background-color: #8e44ad; 88 padding: 3px 6px; 89 border-radius: 5px; 90 } 91`,b=(0,l.Ay)(a.A)` 92 position: absolute; 93 top: 0; 94 right: 0; 95 width: 25px; 96 height: 25px; 97 margin: 6px; 98 font-size: 0.84rem; 99 font-weight: 800; 100 display: flex; 101 align-items: center; 102 justify-content: center; 103 line-height: 1; 104 border-radius: 5px; 105 ${e=>{switch(e.classificacao){case"livre":return"background-color: green; color: #ffffff; width: 35px; height: 30px; border-radius: 5px; margin: 0; font-size: 0.7rem;font-weight: 400; letter-spacing: 0.2px;";case"Livre":return"background-color: green; color: #ffffff;";case"6 anos":return"background-color: #e13291; color: #ffffff;";case"10 anos":return"background-color: blue; color: #ffffff;";case"12 anos":return"background-color: yellow; color: #000000;";case"14 anos":return"background-color: orange; color: #000000;";case"16 anos":return"background-color: red; color: #ffffff;";case"18 anos":return"background-color: black; color: #ffffff;";case"verifique a classifica\xe7\xe3o":return"background-color: #212121; color: #ffffff; width: 75px; height: 36px; border-radius: 5px; margin: 0; font-size: 0.7rem;font-weight: 400; letter-spacing: 0.2px;"}}} 106`,w=(0,l.Ay)(a.A)` 107 margin-top: 15px; 108 margin-bottom: 15px; 109 display: flex; 110 align-items: center; 111 justify-content: center; 112`,y=(0,l.Ay)(s.A)` 113 margin: 0 5px; 114 border: 1px solid #ffffff; 115 color: #ffffff; 116 text-transform: uppercase; 117 font-size: 0.7em; 118 display: flex; 119 align-items: center; 120 justify-content: center; 121 width: 35px; 122 height: 20px; 123 padding-top: 3px; 124 border-radius: 5px; 125 font-weight: 900; 126 @media (max-width: 768px) { 127 margin: 0 2px; 128 } 129`,A=(0,l.Ay)(s.A)` 130 margin: 0 5px; 131 width: 90px; 132 height: 24px; 133 padding-top: 2px; 134 color: #ffffff; 135 font-size: 0.7rem; 136 font-weight: 800; 137 text-transform: uppercase; 138 display: flex; 139 align-items: center; 140 justify-content: center; 141 border-radius: 5px; 142 @media (max-width: 768px) { 143 margin: 0 2px; 144 font-size: 0.8rem; 145 } 146`,v=(0,l.Ay)(o.A)` 147 text-decoration: none; 148`,k=(0,l.Ay)(i.A)` 149 padding: 0; 150 border: none; 151 cursor: pointer; 152 transition: background-color 0.3s ease; 153 border-radius: 8px; 154`,S=(0,l.Ay)(a.A)` 155 display: flex; 156 align-items: center; 157 justify-content: center; 158 font-size: 1.2em; 159 max-width: 100%; 160 width: 120px; 161 height: 38px; 162 text-transform: uppercase; 163 @media (max-width: 768px) { 164 width: 100px; 165 } 166 &.btnAguarde{ 167 pointer-events: none; 168 cursor: default; 169 text-decoration: none; 170 font-size: 0.9em; 171 font-weight: 600; 172 color: #ffffff; 173 border-radius: 6px; 174 background-color: grey; 175 } 176`,C=(0,l.Ay)(a.A)` 177 display: flex; 178 align-items: center; 179 justify-content: center; 180 font-size: 1.2em; 181 max-width: 100%; 182 width: 120px; 183 height: 38px; 184 text-transform: uppercase; 185 color: #ffffff; 186 @media (max-width: 768px) { 187 width: 100px; 188 } 189`,z=(0,l.Ay)(n.A)` 190 position: absolute; 191 z-index: 1; 192 top: 50%; 193 left: 50%; 194 transform: translate(-50%, -50%); 195`,Y=(0,l.Ay)(d.GH9)` 196 color: #d9d9d9; 197 font-size: 2.2em; 198`},38520:(e,r,t)=>{"use strict";t.d(r,{ae:()=>s,lw:()=>i,wt:()=>l,zR:()=>n});var o=t(48711),a=t(45845);let i=async()=>{try{return(await a.A.get("/cinemas/")).data}catch(e){throw console.error("Erro ao obter todos os cinemas:",e.message),Error("Erro ao obter todos os cinemas.")}},n=async e=>{try{return(await a.A.get(`/cinemas/?cine=${e}`)).data}catch(r){throw console.error(`Erro ao obter o cinema com ID ${e}:`,r.message),Error(`Erro ao obter o cinema com ID ${e}.`)}},s=async e=>{try{return(await a.A.get(`/cinemas/?cidade=${e}`)).data}catch(e){if(e instanceof o.pe&&void 0===e.response)return console.error("Erro de rede ao buscar cinemas:",e),[];throw console.error("Erro ao buscar cinemas:",e),Error("Erro ao buscar cinemas")}},l=async()=>{try{return(await a.A.get("/cidades/")).data}catch(e){if(e instanceof o.pe&&void 0===e.response)return console.error("Erro de rede ao buscar cidades:",e),[];return console.error("Erro ao buscar cidades:",e),[]}}},48711:(e,r,t)=>{"use strict";t.d(r,{pe:()=>a});let{Axios:o,AxiosError:a,CanceledError:i,isCancel:n,CancelToken:s,VERSION:l,all:d,Cancel:c,isAxiosError:p,spread:f,toFormData:m,AxiosHeaders:u,HttpStatusCode:g,formToJSON:h,getAdapter
198:x,mergeConfig:b,create:w}=t(78028).A},64337:(e,r,t)=>{"use strict";t.d(r,{ID:()=>A,JB:()=>x,OC:()=>w,OD:()=>f,OS:()=>y,SW:()=>h,_S:()=>m,lV:()=>p,pi:()=>u,qD:()=>g,tK:()=>b});var o=t(80942),a=t(77090),i=t(66956),n=t(52563),s=t(44407),l=t(6995),d=t(4739),c=t(96010);let p=(0,s.Ay)("form")(({theme:e})=>({display:"flex",flexDirection:(0,l.A)(e.breakpoints.up("sm"))?"row":"column",alignItems:(0,l.A)(e.breakpoints.up("sm"))?"center":void 0})),f=(0,s.Ay)(a.A)(({theme:e})=>({margin:e.spacing(1),minWidth:(0,l.A)(e.breakpoints.up("sm"))?120:void 0,width:(0,l.A)(e.breakpoints.up("sm"))?"20%":void 0,marginLeft:(0,l.A)(e.breakpoints.up("sm"))?"15px":"0","& .MuiInputLabel-root.Mui-focused":{opacity:0}})),m=(0,s.Ay)(o.A)` 199 margin-top: 50px; 200 margin-bottom: 30px; 201 `,u=(0,s.Ay)(c.A)(({theme:e})=>({margin:(0,l.A)(e.breakpoints.up("sm"))?"25px":"5px",borderRadius:"10px","@media (prefers-reduced-motion)":{"&.react-loading-skeleton":{"--pseudo-element-display":"block"}}})),g=(0,s.Ay)(n.A)` 202 color: #eeeeee; 203 font-size: 1.4em; 204 font-weight: 200; 205 text-transform: uppercase; 206 text-align: center; 207`;(0,s.Ay)(o.A)` 208max-height: 100%; 209height: 320px; 210 display: flex; 211 align-items: center; 212 justify-content: center; 213`;let h=(0,s.Ay)(o.A)` 214& .swiper-pagination{ 215 bottom: var(--swiper-pagination-bottom, 0); 216 & .swiper-pagination-bullet.swiper-pagination-bullet-active{ 217 background-color: #ffffff; 218 opacity: 1; 219 transform: scale(1.4); 220 } 221 & .swiper-pagination-bullet{ 222 background-color: #ffffff; 223 opacity: 0.4; 224 } 225@media (max-width: 768px) { 226 &.emCartazHome{ 227 min-height: 390px; 228 overflow: hidden; 229 } 230@media (min-width: 769px) { 231 & .destaqueHome, 232 & .destaqueSlideHome{ 233 height: 440px; 234 max-height: 100%; 235 } 236 &.emCartazHome{ 237 min-height: 403.25px; 238 } 239 .swiper-wrapper { 240 margin-left: 0px; 241 } 242 .filmes-em-breve { 243 height: 52vh; 244 } 245 } 246`,x=(0,s.Ay)(i.A)` 247 & .MuiInputBase-input { 248 background-color: #d9d9d9; 249 border-radius: 7px; 250 height: 22px; 251 border: 0; 252 } 253 & .MuiOutlinedInput-root { 254 & fieldset { 255 border-color: transparent; 256 } 257 &:hover fieldset { 258 border-color: transparent; 259 } 260 &.Mui-focused fieldset { 261 border-color: transparent; 262 } 263 } 264`,b=(0,s.Ay)(n.A)` 265 font-size: 1.6rem; 266 color: #d9d9d9; 267 text-transform: uppercase; 268 font-weight: 600; 269 margin-bottom: 15px; 270 &.destaquesHome{ 271 margin-bottom: 35px; 272 margin-top: 0; 273 } 274 &.formProgramacao { 275 margin-bottom: 0; 276 white-space: nowrap; 277 } 278 &.produtosSubTitle { 279 font-size: 1.2rem; 280 color: #d9d9d9; 281 margin-bottom: 0.5em; 282 } 283 &.escapeRouteSubTitle { 284 color: #ea0852; 285 font-size: 1.2rem; 286 text-transform: initial; 287 margin-bottom: 15px; 288 } 289 &.subTitleescapeRoute { 290 color: #ea0852; 291 font-size: 1.8rem; 292 border-bottom: 1px solid #ea0852; 293 padding-bottom: 10px; 294 } 295 &.cartPresente { 296 color: #ea0852; 297 font-size: 2rem; 298 margin: 0; 299 @media (max-width: 768px) { 300 font-size: 1.4rem; 301 } 302 } 303 &.subTitleFaqEventos { 304 color: #ea0852; 305 font-size: 1.8rem; 306 @media (max-width: 768px) { 307 font-size: 1.4rem; 308 } 309 } 310`,w=(0,s.Ay)(d.A)` 311height: 48vh; 312width: 100%; 313display: flex; 314flex-direction: column; 315align-items: center; 316justify-content: center; 317background-color: #212121; 318border-radius: 10px; 319`,y=(0,s.Ay)(n.A)` 320 color: #999999; 321 margin-bottom: 15px; 322 text-transform: uppercase; 323 font-size: 24px; 324 font-weight: 900; 325`,A=(0,s.Ay)(n.A)` 326 color: #cccccc; 327 margin-bottom: 15px; 328 font-size: 18px; 329 font-weight: 600; 330`},65648:(e,r,t)=>{"use strict";t.d(r,{A:()=>Y});var o=t(40670),a=t(44501),i=t(14232),n=t(69241),s=t(4697),l=t(38993),d=t(78257),c=t(97802),p=t(44407),f=t(47951),m=t(45879);function u(e){return(0,m.Ay)("MuiCircularProgress",e)}(0,f.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var g=t(37876);let h=["className","color","disableShrink","size","style","thickness","value","variant"],x=e=>e,b,w,y,A,v=(0,l.i7)(b||(b=x` 331 0% { 332 transform: rotate(0deg); 333 } 334 335 100% { 336 transform: rotate(360deg); 337 }
338`)),k=(0,l.i7)(w||(w=x` 339 0% { 340 stroke-dasharray: 1px, 200px; 341 stroke-dashoffset: 0; 342 } 343 344 50% { 345 stroke-dasharray: 100px, 200px; 346 stroke-dashoffset: -15px; 347 } 348 349 100% { 350 stroke-dasharray: 100px, 200px; 351 stroke-dashoffset: -125px; 352 } 353`)),S=(0,p.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,r[t.variant],r[`color${(0,d.A)(t.color)}`]]}})(({ownerState:e,theme:r})=>(0,a.A)({display:"inline-block"},"determinate"===e.variant&&{transition:r.transitions.create("transform")},"inherit"!==e.color&&{color:(r.vars||r).palette[e.color].main}),({ownerState:e})=>"indeterminate"===e.variant&&(0,l.AH)(y||(y=x` 354 animation: ${0} 1.4s linear infinite; 355 `),v)),C=(0,p.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,r)=>r.svg})({display:"block"}),z=(0,p.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.circle,r[`circle${(0,d.A)(t.variant)}`],t.disableShrink&&r.circleDisableShrink]}})(({ownerState:e,theme:r})=>(0,a.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.AH)(A||(A=x` 356 animation: ${0} 1.4s ease-in-out infinite; 357 `),k)),Y=i.forwardRef(function(e,r){let t=(0,c.b)({props:e,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:p=!1,size:f=40,style:m,thickness:x=3.6,value:b=0,variant:w="indeterminate"}=t,y=(0,o.A)(t,h),A=(0,a.A)({},t,{color:l,disableShrink:p,size:f,thickness:x,value:b,variant:w}),v=(e=>{let{classes:r,variant:t,color:o,disableShrink:a}=e,i={root:["root",t,`color${(0,d.A)(o)}`],svg:["svg"],circle:["circle",`circle${(0,d.A)(t)}`,a&&"circleDisableShrink"]};return(0,s.A)(i,u,r)})(A),k={},Y={},D={};if("determinate"===w){let e=2*Math.PI*((44-x)/2);k.strokeDasharray=e.toFixed(3),D["aria-valuenow"]=Math.round(b),k.strokeDashoffset=`${((100-b)/100*e).toFixed(3)}px`,Y.transform="rotate(-90deg)"}return(0,g.jsx)(S,(0,a.A)({className:(0,n.A)(v.root,i),style:(0,a.A)({width:f,height:f},Y,m),ownerState:A,ref:r,role:"progressbar"},D,y,{children:(0,g.jsx)(C,{className:v.svg,ownerState:A,viewBox:"22 22 44 44",children:(0,g.jsx)(z,{className:v.circle,style:k,ownerState:A,cx:44,cy:44,r:(44-x)/2,fill:"none",strokeWidth:x})})}))})},70031:()=>{},71283:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__N_SSP:()=>_,default:()=>P});var o=t(18153),a=t(38008),i=t(18847),n=t.n(i),s=t(77328),l=t.n(s),d=t(14232),c=t(96010),p=t(69594),f=t(52398),m=t(80942),u=t(52563),g=t(64337),h=t(65648),x=t(27888);t(32283),t(70031),t(96637);var b=t(29904),w=t(44407);let y=(0,w.Ay)(x.RC)` 358 & .swiper-button-prev, 359 & .swiper-button-next{ 360 transform: translateY(-100%); 361 color: #ffffff; 362 } 363 & .swiper-button-next:after, 364 & .swiper-button-prev:after{{ 365 text-shadow: 5px 0px 8px #000000; 366 } 367`;var A=t(15110),v=t(24346),k=t(6879),S=t(45192);let C=n()(()=>t.e(8916).then(t.bind(t,38916)),{loadableGenerated:{webpack:()=>[38916]}}),z=n()(()=>t.e(3274).then(t.bind(t,73274)),{loadableGenerated:{webpack:()=>[73274]}}),Y=n()(()=>t.e(1421).then(t.bind(t,11421)),{loadableGenerated:{webpack:()=>[11421]}}),D=n()(()=>Promise.all([t.e(9274),t.e(7473)]).then(t.bind(t,37473)),{loadableGenerated:{webpack:()=>[37473]}}),E=n()(()=>Promise.all([t.e(2832),t.e(1492)]).then(t.bind(t,31492)),{loadableGenerated:{webpack:()=>[31492]}}),I=n()(()=>Promise.all([t.e(2832),t.e(2078),t.e(7055)]).then(t.bind(t,87055)),{loadableGenerated:{webpack:()=>[87055]}});var _=!0;let P=({error:e,destaques:r,breve:t,cartaz:i})=>{let n=a.c9.local(),[s,w]=(0,d.useState)(null),[_,P]=(0,d.useState)(null),[M,F]=(0,d.useState)(a.c9.local()),[O,R]=(0,d.useState)([]),[$,j]=(0,d.useState)(!0),[N,T]=(0,d.useState)(!1),B=new Date().toISOString().split("T")[0],V=(0,d.useRef)(null),[q,H]=(0,d.useState)(!1);(0,d.useEffect)(()=>{H(!0)},[]),(0,d.useEffect)(()=>{q&&V.current&&(window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push(function(){let e=window.googletag.sizeMapping().addSize([1024,768],[[728,90],[970,90],[970,250]]).addSize([768,500],[[728,90],[970,90],[970,250]]).addSize([640,480],[468,60]).addSize([0,0],[[320,50],[320,100]]).build();window.googletag.defineSlot("/40115638/CINESYSTEM/home_horizontal1",[[728,90],[970,250],[320,50],[320,100]],V.current.id).defineSizeMapping(e).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().collapseEmptyDivs(),window.googletag.pubads().enableLazyLoad({fetch
367MarginPercent:5,renderMarginPercent:5,mobileScaling:2}),window.googletag.enableServices(),window.googletag.display(V.current.id)}))},[q]),(0,d.useEffect)(()=>{if(O){let e=a.c9.local();O.filter(r=>{let t=r?.filme?.estreia;if(!t)return!1;let o=a.c9.fromFormat(t,"dd/MM/yyyy");return o.weekday>=4&&o.weekday<=10||o>e}).map(e=>e?.filme?.estreia)}},[O]),(0,d.useEffect)(()=>{setTimeout(()=>{j(!1)},500)},[]),(0,d.useEffect)(()=>{T(!0)},[s,_,M]),(0,d.useEffect)(()=>{_&&M&&(T(!0),(0,p.Mm)(_,M.toJSDate()).then(e=>{let r=e;1280!==_&&(r=e.filter(e=>{let r=e?.filme?.titulo_amigavel;return"string"==typeof r&&-1===r.toLowerCase().indexOf("escape-route")})),R(r),T(!1),console.log("Data e Hora atual:",n)}).catch(e=>{T(!1),console.error(e)}))},[_,M]);let G=e=>{P(e),localStorage.setItem("selectedCinema",e?e.toString():"")};(0,d.useEffect)(()=>{{let e=localStorage.getItem("selectedCidade");w(e?parseInt(e):null);let r=localStorage.getItem("selectedCinema");P(r?parseInt(r):null)}},[]);let{isMobile:L}=(0,f.A)(),{cinema:K}=(0,k.I_)(_);return(0,o.FD)(d.Fragment,{children:[(0,o.FD)(l(),{children:[(0,o.Y)("meta",{name:"description",content:"Confira os filmes em cartaz, estreias, pr\xf3ximos lan\xe7amentos, promo\xe7\xf5es e pre\xe7os do Cinesystem Cinemas"}),(0,o.Y)("title",{children:"Rede Cinesystem Cinemas - Presente em 10 Estados Brasileiros"}),(0,o.Y)("link",{rel:"canonical",href:"https://www.cinesystem.com.br"})]}),e?(0,o.FD)(u.A,{variant:"body2",textAlign:"center",children:["Erro: ",e]}):(0,o.FD)(o.FK,{children:[(0,o.Y)(S.A,{maxWidth:"xl",children:(0,o.Y)(g._S,{children:$?(0,o.Y)(c.z,{baseColor:"#202020",highlightColor:"#444",children:(0,o.FD)(m.A,{display:"flex",flexDirection:L?"column":"row",children:[(0,o.Y)(g.pi,{width:L?"100%":208,height:42}),(0,o.Y)(g.pi,{width:L?"100%":180,height:42}),(0,o.Y)(g.pi,{width:L?"100%":361,height:42}),(0,o.Y)(g.pi,{width:L?"100%":361,height:42})]})}):(0,o.FD)(g.lV,{children:[(0,o.Y)(g.tK,{className:"formProgramacao",children:"Pr\xf3ximas sess\xf5es"}),(0,o.Y)(g.OD,{fullWidth:!0,children:(0,o.Y)(g.JB,{size:"small",type:"date",id:"date",value:M?M.toISODate():"",onChange:e=>{if(!e.target.value)return void console.error("A data selecionada est\xe1 vazia.");try{let r=a.c9.fromFormat(e.target.value,"yyyy-MM-dd",{zone:"local"});if(!r.isValid)return void console.error("A data selecionada \xe9 inv\xe1lida.");F(r)}catch(e){console.error("Ocorreu um erro ao analisar a data:",e.message)}},inputProps:{min:B}})}),(0,o.Y)(z,{selectedCidadeId:s,selectedCinemaId:_,onChangeCidade:e=>{w(e),P(null),localStorage.setItem("selectedCidade",e?e.toString():""),localStorage.removeItem("selectedCinema")},onChangeCinema:G,onSelectCinema:G,cidadeId:s})]})})}),(0,o.FD)(Y,{children:[(0,o.Y)(y,{slidesPerView:2.4,spaceBetween:40,breakpoints:{768:{slidesPerView:2.2,spaceBetween:40},1024:{slidesPerView:5.8,spaceBetween:70}},navigation:!0,modules:[b.Vx,b.dK],className:"mySwiper",children:(0,o.Y)(c.z,{baseColor:"#202020",highlightColor:"#444",children:!s&&!_||O&&O.length<1?(0,o.FD)(o.FK,{children:[(0,o.Y)(g.qD,{variant:"h6",children:"Selecione a cidade e o seu cinema para consultar a programa\xe7\xe3o."}),(0,o.Y)(g.pi,{inline:!0,count:L?2.5:5.5,width:L?"35%":"14%",height:L?200:270})]}):O&&O.length>0?(0,o.Y)(o.FK,{children:O&&O.map((e,r)=>{let t=e.horarios?.[0]?.horario,i=t?a.c9.fromISO(t):null;return(0,o.Y)(o.FK,{children:N?(0,o.Y)(C,{altura:"300px",children:(0,o.Y)(h.A,{color:"info",disableShrink:!0})}):(0,o.Y)(x.qr,{children:(0,o.Y)(m.A,{sx:i&&n>i?{pointerEvents:"auto",opacity:1}:void 0,children:(0,o.Y)(I,{filme:e.filme,sala:e.sala,legenda:e.legenda,horarios:e.horarios})})},r)})})}):(0,o.FD)(g.OC,{children:[(0,o.Y)(g.OS,{variant:"h4",children:"Estamos sem programa\xe7\xe3o no momento!"}),(0,o.Y)(g.ID,{variant:"h5",children:"Selecione outro cinema ou uma data posterior..."})]})})}),(0,o.Y)(m.A,{sx:{display:"flex",justifyContent:"center",marginTop:"35px"},children:(0,o.Y)(v.OV,{onClick:e=>{e.preventDefault(),null!==_||""===_?window.location.href=`/cinemas/${K?.nome_amigavel}/${K?.id}`:window.location.href="/cinemas"},sx:{cursor:"pointer"},children:(0,o.Y)("span",{children:"Ver programa\xe7\xe3o completa"})})})]}),(0,o.Y)(S.A,{style:{marginTop:"48px",marginBottom:"0",textAlign:"center"},children:q&&(0,o.Y)(m.A,{id:"div-gpt-ad-1738604578200-0",children:(0,o.Y)("script",{dangerouslySetInnerHTML:{__html:"googletag.cmd.push(function() { googletag.display('div-gpt-ad-1738604578200-0'); });"}})})}),(0,o.Y)(D,{destaques:r}),(0,o.Y)(A.gl,{maxWidth:"xl",children:(0,o.Y)(E,{filmes:t})})]})]})}},96637:()=>{}},e=>{e.O(0,[4938,9904,636,6593,8792],()=>e(e.s=16760)),_N_E=e.O()}]);
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.