1/*! For license information please see bolt.js.LICENSE.txt */ 2!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}("undefined"!=typeof self?self:this,(()=>(()=>{var e,t,n={3599:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(5703),i=n(7867);const r={container:"burgerMenu__container__xxnJY",showtimes:"burgerMenu__showtimes__WIPQA",navOpen:"burgerMenu__navOpen__NZ8aI",back:"burgerMenu__back__q_ioB",line:"burgerMenu__line__Exzua",homeEnt:"burgerMenu__homeEnt__igkOa",pressKit:"burgerMenu__pressKit__z3KFr",homeScrolled:"burgerMenu__homeScrolled__Bsxrr",video:"burgerMenu__video__crNn0",searching:"burgerMenu__searching__rqRFm",oneSheetOverlayOpen:"burgerMenu__oneSheetOverlayOpen__RMt6U",trailerOverlayOpen:"burgerMenu__trailerOverlayOpen__NnL7v",calendarRemindOpen:"burgerMenu__calendarRemindOpen__tVSl2",close:"burgerMenu__close__eSXWK",oneSheetOverlay:"burgerMenu__oneSheetOverlay__LmzMR",trailerOverlay:"burgerMenu__trailerOverlay__JGGm9",calendarRemind:"burgerMenu__calendarRemind__V5iv3",burger:"burgerMenu__burger__RYvJ1",hidden:"burgerMenu__hidden__rGl5H"};class a extends o.wA{render(e){const{type:t,style:n,lineStyle:a,dark:s,hidden:l,showtimesOverlayOpen:c,homeEntOverlayOpen:p,pressKitOverlayOpen:d,widgetFullyExpanded:h,navOpen:u,homeScrolled:g,isSinglePageIframed:f,showtimesSearchOverlay:m,videoOverlayOpen:_,oneSheetOverlay:y,oneSheetOverlayOpen:v,trailerOverlayOpen:b,trailerOverlay:w,calendarRemind:E,calendarRemindOpen:k,extraClass:S}=e;return(0,o.h)("div",{class:(0,i.WM)(r.container,r[t],s&&r.dark,(c||h)&&r.showtimes,p&&r.homeEnt,d&&r.pressKit,u&&r.navOpen,g&&r.homeScrolled,(f||l)&&r.hidden,m&&r.searching,_&&r.video,y&&r.oneSheetOverlay,v&&r.oneSheetOverlayOpen,b&&r.trailerOverlayOpen,w&&r.trailerOverlay,k&&r.calendarRemindOpen,E&&r.calendarRemind,S),style:n},(0,o.h)("div",{style:a,class:r.line}),(0,o.h)("div",{style:a,class:r.line}),(0,o.h)("div",{style:a,class:r.line}))}}},8206:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(5703),i=n(7867),r=n(7246);class a extends o.wA{constructor(e){super(e),this.supportedTypes=["primary","outlined","text","time","tag","floating","icon"]}render(e){const{type:t,htmlType:n,active:a,class:s,activeClass:l,style:c,trigger:p,onMouseEnter:d,onMouseLeave:h,onMouseOut:u,onMouseDown:g,onKeyDown:f,onFocus:m,tabIndex:_,disabled:y,children:v,ariaLabel:b}=e;if(t&&!this.supportedTypes.includes(t))return;const w=(0,i.RK)(c,"backgroundColor");return(0,o.h)("button",{class:(0,i.WM)(r.Z.container,a&&r.Z.active,w&&r.Z.noHover,r.Z[t],s,a&&l),style:c,onClick:p,onMouseEnter:d,onMouseLeave:h,onMouseDown:g,onMouseOut:u,onKeyDown:f,onFocus:m,disabled:y,tabIndex:_,ariaLabel:b,type:n},v)}}},1465:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var o=n(5703),i=n(1385),r=n(1163),a=n(4024);r.Z.on("FOOTER_AUTO_EXPANDED",(()=>{r.Z.get().footer.set({allowAutoExpand:!1})})),r.Z.on("UPDATE_FOOTER_ACTIVE_PERCENTAGE",(()=>{let e=document.querySelector("[data-section=boltFooter]"),t=(0,a.wf)(e);if(void 0===t)return;let n=r.Z.get().footer,o=Math.ceil(10*t)/10;o!==n.footerActivePercentage&&n.set({activePercentage:o})})),r.Z.on("UPDATE_VISIBILITY_PERCENTAGES",(()=>r.Z.emit("UPDATE_FOOTER_ACTIVE_PERCENTAGE")));var s=n(138),l=n(2347),c=n(7867),p=n(2680),d=n(5384),h=n(8206),u=n(5222),g=n(9567),f=n(9987),m=n(8145),_=n(9040);const y={wrapper:"footer__wrapper___DYY9",showtimes:"footer__showtimes__OrK9l",cta:"footer__cta__wVztm",scrollTop:"footer__scrollTop__HDfhF",outer:"footer__outer__W4KlR",copyright:"footer__copyright__gDgvG",sidePanelOpen:"footer__sidePanelOpen__a882L",pressKit:"footer__pressKit__Ko2_x",links:"footer__links__Qme8G small",openWrapper:"footer__openWrapper__BJqZ6",line:"footer__line__hUNpC",inlineFooter:"footer__inlineFooter__nWAHJ",watchHomeFooterColor:"footer__watchHomeFooterColor__JniHc",loneVideoDefaultFooter:"footer__loneVideoDefaultFooter__NVlTQ",shadow:"footer__shadow__XZmzO",hidden:"footer__hidden__Vi0Q3",sticky:"footer__sticky__iZAys",noLegalBtn:"footer__noLegalBtn__WOOWr",openCropper:"footer__openCropper__njJMF",staticAutoExpand:"footer__staticAutoExpand__Y8BeE",open:"footer__open__zevMX",closeBtn:"footer__closeBtn__dYGad",studioDetails:"footer__studioDetails__Km0dM",logos:"footer__logos__kDR3y",logoWrapper:"footer__logoWrapper__HbFog",logo:"footer__logo__Ze1Gt",linkWrapper:"footer__linkWrapper__J7VcF",homeEnt:"footer__homeEnt__IzRoC",dedicatedIframePage:"footer__dedicatedIframePage__JpThW",sizer:"footer__sizer__ojgHm",autoExpandingBar:"footer__autoExpandingBar__ZzMdz"};class v extends o.wA{constructor(e){super(e),this.renderOpenFooter=this.renderOpenFooter.bind(this),this.toggleFooter=this.toggleFooter.bind(this),this.closeFooter=this.toggleFooter.bind(this,!1),this.openFooter=this.toggleFooter.bind(this,!0),this.getFallbackFormat=this.getFallbackFormat.bind(this),this.startAutoExpandTimer=this.startAutoExpandTimer.bind(this),this.stopAutoExpandTimer=this.stopAutoExpandTimer.bind(this),this.cancelAutoExpanding=this.cancelAutoExpanding.bind(this),this.footerData=(0,c.RK)(e,"data.defaultFooter",{}),this.updateSticky(e),this.autoExpand=(0,c.RK)(e,"data.defaultFooter.autoExpand",!1),this.autoExpandDuration=(0,c.RK)(e,"data.defaultFooter.autoExpandDuration",3);
2let t=(0,c.RK)(e,"store.appData.meta.region.slug");this.tealiumCookiesEnabled="au"!==t&&(0,c.RK)(e,"store.appData.options.enableTealium",!1),this.ensightenTrackingEnabled=e.store?.appData?.options?.enableEnsighten,this.allowAutoExpand=(0,c.RK)(e,"store.footer.allowAutoExpand",!0),this.fontStyles=(0,c.RK)(e,"store.appData.styling.fontVariables",{}),this.showtimesFooter="showtimes"===e.parent,this.pressKitFooter="pressKit"===e.parent,this.hasTextPage=Object.values((0,c.RK)(e,"store.appData.pages",{})).find((e=>"text"===e.component||"text"===e.page)),this.state={open:!1,autoExpanding:!1,backgroundColor:null}}componentDidMount(){this.autoExpand&&this.allowAutoExpand&&this.startAutoExpandTimer(),this.updateCoveredScreenSize()}componentWillReceiveProps(e){this.updateSticky(e)}componentDidUpdate(){if(this.props.parent)!this.state.backgroundColor&&this.props.fallBackColor&&this.setState({backgroundColor:this.props.fallBackColor});else{const e=this.props.store.activePage;let t=e;"boltHome"===e&&i.NS&&(t=i.NS[i.NS.length-1]?.id);try{let e=t&&document.querySelector(`[data-section="${t}"]`),n=e&&window.getComputedStyle(e).backgroundColor;n&&this.state.backgroundColor!==n&&this.setState({backgroundColor:n})}catch(e){}}this.updateCoveredScreenSize()}updateSticky(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;const t=e.store?.appData?.pages?.[e.store?.activePage]?.data,n=t?.footer?.position||e.data?.defaultFooter?.position||"fixed";this.sticky="fixed"===n}updateCoveredScreenSize(){if(!this.$cta)return;let e="mobile"===this.props.store?.client?.deviceSize&&this.sticky?(t=this.$cta,t?.base||t).offsetHeight:0;var t;e!==this.props.store.footer.coveredScreenSize&&r.Z.get().footer.set({coveredScreenSize:e})}startAutoExpandTimer(){this.setState({open:!0,autoExpanding:!0});const e=1e3*this.autoExpandDuration;this.collapseTimer=window.setTimeout((()=>{this.cancelAutoExpanding()}),e)}stopAutoExpandTimer(){window.clearTimeout(this.collapseTimer)}cancelAutoExpanding(){this.setState({open:!1,autoExpanding:!1}),this.stopAutoExpandTimer(),r.Z.emit("FOOTER_AUTO_EXPANDED")}isLoneVideoDefaultFooter(){if(!(0,c.RK)(this.props,"data.defaultFooter"))return!1;const e=Object.keys((0,c.RK)(this.props,"store.appData.pages",{})),t=["boltVideos","bolt-toolkit","boltBanner","browser-not-supported","boltIframe"];return 0===e.filter((e=>!t.includes(e))).length}toggleFooter(e){const t="boolean"==typeof e?e:!this.state.open;if(this.setState({open:t}),t&&this.showtimesFooter){const e=document.querySelector("[data-section=scroller]"),t=this.base.offsetTop+this.base.offsetHeight;(0,l.GZ)(e,t,300)}}renderOpenFooter(){const{logos:e,links:t,copyright:n}=this.footerData,i=(0,c.RK)(r.Z.get(),"appData.styling.variables.footerBgColor",this.state.backgroundColor),a=(0,c.RK)(r.Z.get(),"appData.copy.accessibilityCopy",{}),s=this.state.autoExpanding,l={background:!this.pressKitFooter&&i};return(0,o.h)("div",{class:(0,c.WM)(y.openWrapper,s&&y.autoExpanding),style:l,role:"contentinfo"},(0,o.h)(h.Z,{class:y.closeBtn,trigger:s?this.cancelAutoExpanding:this.toggleFooter,ariaLabel:a.$COLLAPSE_FOOTER_ARIA},(0,o.h)(u.Z,null)),(0,o.h)("div",{class:(0,c.WM)(y.studioDetails)},this.getLogos(e),(0,o.h)("div",{class:y.line}),(0,o.h)("ul",{class:y.links},this.renderLinks(t,"link"))),(0,o.h)("ul",{class:(0,c.WM)(y.copyright,this.fontStyles.footerCopyright)},this.renderLinks(n,"copyright")))}getLogos(e){if(e)return(0,o.h)("ul",{class:y.logos},this.renderLinks(e,"logo"))}tealiumAction(){window.DisneyGDPR&&window.DisneyGDPR.Core&&"function"==typeof window.DisneyGDPR.Core.openPreferencesDialog&&window.DisneyGDPR.Core.openPreferencesDialog()}ensightenAction(e){"function"==typeof window.__dataLayer?.OneTrustDialog&&window.__dataLayer?.OneTrustDialog(e)}getFallbackFormat(){return(0,c.RK)(this.props,"appData.footer.alternativeImageFormat","png")}renderLinks(e,t){const n=(0,c.RK)(r.Z.get(),"appData.options.ageGate",!1),i=(0,c.RK)(r.Z.get(),"client.ofAge",null);e=(0,c.FZ)(e).filter((e=>{const t=e.ageGateShowOnly?+e.ageGateShowOnly:0;return!n&&2!==t||(!t||1===t&&!0===i||2===t&&!i)}));let a=[];return"link"===t&&(this.tealiumCookiesEnabled||this.ensightenTrackingEnabled)&&a.push((0,o.h)("li",{class:y[`${t}Wrapper`],key:"tealium"},(0,o.h)(h.Z,{class:(0,c.WM)(y[`${t}Link`],this.fontStyles.footerLegalLinks),trigger:this.ensightenTrackingEnabled?this.ensightenAction:this.tealiumAction},(0,c.RK)(this.props,"appData.copy.$COOKIE_CONSENT")||"Cookie Settings"))),a.concat(e.map(((e,n)=>{if(e.excludeFromShowtimes&&this.showtimesFooter)return;if(e.showtimesOnly&&!this.showtimesFooter)return;let i;if("logo"===t){const t=e.src,n=this.getFallbackFormat();i=(0,o.h)(_.t,{class:y.logo,src:t,alt:(0,s.s)(e.alt,{},"",null,"accessibilityCopy")||e.alt,fallbackFormat:n})}else i=(0,s.s)(e.$copy,{},"",null,"baseCopy")||e.$copy;if("copyright"===t&&(i=(0,o.h)(m.Z,{content:i,markdown:!0})),e.url&&e.url.startsWith("@"))return(0,o.h)("li",{class:y[`${t}Wrapper`],key:n},(0,o.h)(h.Z,{class:(0,c.WM)(y[`${t}Link`],this.fontStyles["copyright"===t?"footerCopyright":"footerLegalLinks"]),trigger:()=>r.Z.emit("OPEN_RESERVED_VARIABLE_LINK",e.url)},i));if(e.url&&(0,c.RK)(r.Z.get(),`appData.pages.${e.url}`,!1))return(0,o.h)("li",{class:y[`${t}Wrapper`],key:n},(0,o.h)(h.Z,{class:(0,c.WM)(y[`${t}Link`],this.fontStyles["copyright"===t?"footerCopyright":"footerLegalLinks"]),trigger:()=>r.Z.emit("CLOSE_AND_NAVIGATE",e.url,"",{instant:!1})},i));let a=e.url?d.Z:"div";!e.url&&e.openCookieConsentTool&&(a="button");let l={class:(0,c.WM)(y[`${t}Link`],this.fontStyles["copyright"===t?"footerCopyright":"footerLegalLinks"]),ariaLabel:e.ariaLabel,title:e.title,onClick:e.openCookieConsentTool?()=>window.evidon?.notice?.showPreferencesDialog():null};if(e.url){const t=(0,c.RK)(this.props,"data.defaultFooter.disableNoOpenerNoReferrer",!1);l.href=e.url,l.target=e.target||"_blank",l.rel=!t&&"noopener noreferrer"}return(0,o.h)("li",{class:y[`${t}Wrapper`],key:n},(0,o.h)(a,l,i))})))}renderExtra(){}render(e,t){const{data:n,scrollElem:r,store:a,isHomeEntFooter:d}=e,u=(0,c.RK)(a,"appData.copy.accessibilityCopy",{}),m=(0,c.RK)(n,"defaultFooter.copyright"),_=(0,c.RK)(a,"header.videoOverlayOpen",!1),v=_&&this.isLoneVideoDefaultFooter(),b=this.sticky||_,w=!this.sticky&&(0,c.RK)(n,"defaultFooter.autoExpand",!1),E=!b&&(0,c.RK)(n,"defaultFooter.inline",!1),{ctaOpenCopy:k="FOOTER_CTA",ctaCloseCopy:S="FOOTER_CLOSE"}=n.defaultFooter||{},C=t.open?(0,s.s)(S,{},"",null,"baseCopy"):(0,s.s)(k,{},"",null,"baseCopy"),O=t.open?u.$COLLAPSE_FOOTER_ARIA:u.$EXPAND_FOOTER_ARIA,A=(0,p.fx)(),R={};this.showtimesFooter||this.hasTextPage||this.pressKitFooter||(R.backgroundColor=t.backgroundColor);const T=a.activePage,L="iframe"===(0,c.RK)(a,["appData","pages",T,"page"]),I=i.NS[i.NS.length-1]?.id,x="boltWatchMore"===I&&
2!a.watchMore?.hide,D=a?.synopsis?.addShadowToFooter,Z=a?.tiledItems?.addShadowToFooter;let N=(D||Z||x)&&!this.showtimesFooter;"filmPage"===T&&(N=!1);const P=(0,c.RK)(n,"sonyFooter",!1),K=(0,c.RK)(e,"store.appData.copy",{});if(P)return(0,o.h)("footer",{"data-section":"boltFooter",style:R,class:(0,c.WM)({s:y,wrapper:!0,sticky:b,open:t.open,showtimes:this.showtimesFooter,homeEnt:d,sidePanelOpen:(0,c.RK)(a,"showtimes.show",!1)||(0,c.RK)(a,"homeEnt.show",!1)}),role:"contentinfo"},N&&(0,o.h)("div",{class:y.shadow}),(0,o.h)(f.SonyFooter,{data:n.sonyFooter,showtimes:this.showtimesFooter,copy:K}));if("boltHome"===T){!i.NS.find((e=>["boltSynopsis","boltGallery"].includes(e.id)))&&(R.backgroundColor="")}return(0,o.h)("footer",{"data-section":"boltFooter",style:R,class:(0,c.WM)({s:y,wrapper:!0,sticky:b,open:t.open,showtimes:this.showtimesFooter,pressKit:this.pressKitFooter,homeEnt:d,sidePanelOpen:(0,c.RK)(a,"showtimes.show",!1)||(0,c.RK)(a,"homeEnt.show",!1),loneVideoDefaultFooter:v,staticAutoExpand:w,inlineFooter:E,dedicatedIframePage:L}),role:"contentinfo"},N&&(0,o.h)("div",{class:y.shadow}),(0,o.h)("div",{class:(0,c.WM)(y.outer,A&&y.noLegalBtn)},(0,o.h)(h.Z,{class:y.scrollTop,trigger:()=>(0,l.GZ)(r||document.getElementById("mainScroll"),0,300),ariaLabel:u.$SCROLL_UP_ARIA},(0,o.h)(g.Z,{class:y.arrow})),m&&(0,o.h)("ul",{class:y.copyright,key:"copyright"},this.renderLinks(m,"copyright")),(0,o.h)("div",{class:y.sizer}),(0,o.h)(h.Z,{class:(0,c.WM)(y.cta,this.fontStyles.footerLegalButton,A&&y.hidden),trigger:this.toggleFooter,key:"toggle",ariaLabel:O,ref:e=>this.$cta=e},C)),(0,o.h)("div",{class:y.openCropper},this.renderOpenFooter(),E&&(0,o.h)(h.Z,{class:y.scrollTop,trigger:()=>(0,l.GZ)(r||document.getElementById("mainScroll"),0,300),ariaLabel:u.$SCROLL_UP_ARIA},(0,o.h)(g.Z,{class:(0,c.WM)(y.arrow,y.arrowTop)}))),this.renderExtra())}}},7063:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var o=n(5703),i=n(1163),r=(n(2444),n(138)),a=n(7867),s=(n(9582),n(8206)),l=n(5384),c=n(5222),p=n(1705),d=n(7692);const h=e=>(0,o.h)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,o.h)("path",{class:"st0",d:"M11.084 9.192c-.036-.06-.133-.096-.277-.167a22.711 22.711 0 00-.987-.466c-.132-.048-.229-.072-.325.071a8.325 8.325 0 01-.457.562c-.084.096-.168.108-.313.036-.144-.072-.609-.223-1.161-.711a4.332 4.332 0 01-.803-.992c-.084-.144-.009-.221.063-.292.065-.064.145-.167.217-.251s.096-.143.144-.239c.048-.096.024-.179-.012-.251-.036-.072-.325-.777-.445-1.064s-.24-.239-.325-.239c-.084 0-.181-.012-.277-.012a.533.533 0 00-.385.179c-.132.144-.505.49-.505 1.195s.517 1.386.59 1.482c.072.095.999 1.589 2.467 2.163 1.468.573 1.468.382 1.733.358.265-.024.854-.347.975-.681.119-.335.119-.622.083-.681zM8.109 2.931c-2.731 0-4.953 2.205-4.953 4.915 0 1.075.351 2.071.943 2.881l-.619 1.825 1.903-.605a4.954 4.954 0 002.725.813c2.731 0 4.953-2.204 4.953-4.914S10.84 2.931 8.109 2.931zM14 7.845c0 3.228-2.637 5.845-5.891 5.845a5.908 5.908 0 01-2.848-.727L2 14l1.063-3.136a5.789 5.789 0 01-.845-3.019C2.218 4.617 4.855 2 8.109 2S14 4.617 14 7.845z"}));var u=n(6341),g=n(6575),f=n(9624);const m=e=>(0,o.h)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,o.h)("path",{d:"M12.405 3.17c-.298-.275-1.503-1.15-4.187-1.162 0 0-3.165-.191-4.708 1.225-.86.859-1.162 2.116-1.194 3.675-.032 1.559-.073 4.479 2.742 5.271h.003l-.001 1.209s-.018.489.304.589c.39.121.618-.251.99-.652.204-.22.486-.543.699-.79 1.926.162 3.406-.208 3.575-.263.389-.126 2.589-.408 2.947-3.329.369-3.01-.179-4.914-1.17-5.773zm.327 5.557c-.302 2.439-2.086 2.592-2.415 2.697-.14.045-1.441.369-3.076.262 0 0-1.219 1.47-1.599 1.853-.059.06-.129.084-.176.072-.066-.016-.084-.094-.083-.207l.01-2.008s-.001 0 0 0c-2.382-.661-2.243-3.147-2.216-4.449.027-1.302.272-2.368.998-3.085C5.48 2.679 8.168 2.856 8.168 2.856c2.271.01 3.359.694 3.611.923.838.717 1.265 2.433.953 4.948z"}),(0,o.h)("path",{d:"M9.323 6.992a.151.151 0 01-.151-.144c-.026-.516-.269-.769-.764-.795a.151.151 0 01-.144-.159.151.151 0 01.159-.144c.654.034 1.017.408 1.051 1.082a.151.151 0 01-.144.159l-.007.001z"}),(0,o.h)("path",{d:"M10.102 7.253h-.003a.151.151 0 01-.148-.155c.011-.519-.137-.939-.453-1.284-.317-.345-.75-.533-1.324-.575a.153.153 0 01-.14-.163.151.151 0 01.
2162-.14c.646.047 1.159.274 1.524.672.366.4.546.904.533 1.496a.151.151 0 01-.151.149z"}),(0,o.h)("path",{d:"M10.899 7.565a.152.152 0 01-.152-.151c-.007-.916-.282-1.645-.817-2.166-.536-.523-1.214-.79-2.014-.796a.152.152 0 01.002-.304h.001c.881.006 1.629.303 2.223.882.595.58.901 1.382.909 2.382a.152.152 0 01-.151.153h-.001zM8.446 8.873s.213.018.328-.124l.224-.282c.108-.14.369-.229.624-.087.191.109.377.228.557.355.169.125.516.414.518.414.165.14.203.344.091.561l-.001.005a2.325 2.325 0 01-.466.574l-.004.003c-.161.134-.318.211-.473.229a.625.625 0 01-.27-.027l-.005-.007c-.239-.067-.637-.236-1.301-.602a7.709 7.709 0 01-1.093-.722 5.267 5.267 0 01-.495-.436l-.016-.016-.017-.017-.016-.016-.017-.017c-.155-.155-.3-.32-.436-.492a7.709 7.709 0 01-.722-1.093c-.367-.664-.535-1.062-.603-1.301l-.007-.006a.654.654 0 01-.027-.27.937.937 0 01.229-.474l.004-.004c.165-.185.359-.342.574-.466l.005-.001c.216-.113.421-.074.56.09.001.001.29.348.414.518.128.18.246.366.355.557.142.255.053.516-.087.624l-.281.224c-.142.115-.123.328-.123.328s.417 1.58 1.977 1.978z"}));var _=n(1685);const y=e=>(0,o.h)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,o.h)("path",{d:"M13.557 2.799L2.209 7.176a.326.326 0 00.003.61l2.765 1.032 1.07 3.442c.069.22.338.302.517.156l1.541-1.256a.462.462 0 01.561-.016l2.78 2.018a.325.325 0 00.51-.197l2.036-9.796a.325.325 0 00-.435-.37zm-2.165 2.29L6.933 9.235a.919.919 0 00-.286.552l-.152 1.127c-.02.151-.232.165-.273.02L5.637 8.88a.544.544 0 01.238-.612l5.404-3.328c.097-.06.197.072.113.149z"})),v=e=>(0,o.h)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,o.h)("path",{d:"M13 3h-2V2a1 1 0 00-1-1H3a1 1 0 00-1 1v10a1 1 0 001 1h2v1a1 1 0 001 1h7a1 1 0 001-1V4a1 1 0 00-1-1zM3 12V2h7v1H6a1 1 0 00-1 1v8H3zm10 2H6V4h7v10z"})),b=e=>(0,o.h)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,o.h)("path",{d:"M5.59937809,11.790571 L3.19856553,9.26329035 C2.93354482,8.98396283 2.93354482,8.5313056 3.19856553,8.25264473 C3.46358623,7.97331722 3.89361983,7.97331722 4.15864053,8.25264473 L6.07941559,10.2759359 L11.8404907,4.20939564 C12.1061364,3.93006812 12.53617,3.93006812 12.8005657,4.20939564 C13.0662114,4.48872315 13.0662114,4.94271369 12.8005657,5.22137455 L6.5594531,11.790571 C6.42694275,11.9299015 6.25317917,11.9999 6.07941559,11.9999 C5.90565202,11.9999 5.73188844,11.9299015 5.59937809,11.790571"})),w={wrapper:"sharePopout__wrapper__Q6_Wy",container:"sharePopout__container__VP7Qu",backgroundContainer:"sharePopout__backgroundContainer__Yw1vz",open:"sharePopout__open__XycXM",headline:"sharePopout__headline__QHX_g",close:"sharePopout__close__mH_ml",shareButtons:"sharePopout__shareButtons__DMScD",shareButton:"sharePopout__shareButton__sHvBq",copyButton:"sharePopout__copyButton__Yosy2",copied:"sharePopout__copied__eOS8A",activated:"sharePopout__activated__2XewU",zoom:"sharePopout__zoom__G8AKC",facebook:"sharePopout__facebook__iYY8S",twitter:"sharePopout__twitter__ZX1FA",whatsapp:"sharePopout__whatsapp__G5LZi",instagram:"sharePopout__instagram__oEfiz",pinterest:"sharePopout__pinterest__xLsHm",viber:"sharePopout__viber__v5dqr",tumblr:"sharePopout__tumblr__Wdn4n",telegram:"sharePopout__telegram__kgz6g",rtlContainer:"sharePopout__rtlContainer__CDlPt","shareButton--whatsapp":"sharePopout__shareButton--whatsapp__Rh2FK","shareButton--viber":"sharePopout__shareButton--viber__FB1Cx"};var E=n(7447),k=n.n(E);const S={facebook:(0,o.h)(p.Z,{class:w.facebook}),whatsapp:(0,o.h)(h,{class:w.whatsapp}),twitter:(0,o.h)(u.Z,{class:w.twitter}),pinterest:(0,o.h)(g.Z,{class:w.pinterest}),email:(0,o.h)(_.Z,{class:w.mail}),tumblr:(0,o.h)(f.Z,{class:w.tumblr}),viber:(0,o.h)(m,{class:w.viber}),telegram:(0,o.h)(y,{class:w.telegram})};class C extends o.wA{constructor(e){super(e),this.state={copied:!1};const t=["email","facebook","pinterest","telegram","tumblr","twitter","viber","whatsapp"],n=(0,a.RK)(e,"appData.header.powsterHeader.share")||{};this.shareItems=(0,a.FZ)(n).filter((e=>t.includes(e.id))),this.shareImage=n.shareImage,this.shareCopy=e.shareCopy||(0,r.s)(n.socialCopy,{},"",null,"baseCopy")||n.socialCopy,this.shareUrl=n.shareUrl&&n.shareUrl.startsWith("$")?(0,r.s)(n.shareUrl,{},"",null,"baseCopy"):n.shareUrl,this.shareUrl||(this.shareUrl=(0,a.RK)(this.props,"appData.meta.url",null)),this.get
2SharingLink=this.getSharingLink.bind(this),this.renderIcon=this.renderIcon.bind(this),this.copyToClipboard=this.copyToClipboard.bind(this),this.handleClose=this.handleClose.bind(this)}componentWillUnmount(){window.clearTimeout(this.timeout)}getShareURL(){return(0,a.RK)(this.props,"appData.header.powsterHeader.share.useMetaUrl",!1)?this.props?.appData?.meta?.url:this.props.shareUrl?this.props.shareUrl:(0,a.RQ)(this.shareUrl,this.props.shareDetails)}getSharingLink(e){let t=e=>JSON.stringify((e||"")+"").slice(1,-1);const n=(0,a.RK)(this.props,"appData.header.powsterHeader.share")||{};let o=this.getShareURL(e);o=encodeURIComponent(o);return{facebook:(0,a.RK)(n,"facebook.shareUrl",`https://www.facebook.com/sharer/sharer.php?u=${o}`),twitter:(0,a.RK)(n,"twitter.shareUrl",`https://twitter.com/intent/tweet?text=${this.shareCopy}&url='${o}'`),whatsapp:(0,a.RK)(n,"whatsapp.shareUrl",`whatsapp://send?text=${this.shareCopy} ${o}`),pinterest:(0,a.RK)(n,"pinterest.shareUrl",`https://www.pinterest.co.uk/pin/create/button/?url=${o}&media=${this.props.shareImage||this.shareImage}&description=${this.shareCopy}`),email:(0,a.RK)(n,"email.shareUrl",`mailto:?subject=${this.shareCopy}&body=${o}`),tumblr:(0,a.RK)(n,"tumblr.shareUrl",`http://www.tumblr.com/share/link?url=${o}/&description=${this.shareCopy}`),viber:(0,a.RK)(n,"viber.shareUrl",`viber://forward?text=${o} ${this.shareCopy}`),telegram:(0,a.RK)(n,"telegram.shareUrl",`https://telegram.me/share/url?url=${o}&text=${this.shareCopy}`)}[e].replace(/%MOVIE_NAME%/g,t(this.props.appData.meta.title.locale||this.props.appData.meta.title.en)).replace(/%SOCIAL_COPY%/g,encodeURIComponent(this.shareCopy)).replace(/%SHARE_URL%/g,o).replace(/%HEADER_SHARE_IMAGE%/g,t(this.props.shareImage||this.shareImage)).replace(/%SHARE_IMAGE%/g,t(this.props.shareImage||this.shareImage))}copyToClipboard(){let e=this.getShareURL("copy");k()(e),this.setState({copied:!0}),i.Z.emit("CLICKED_SHARE",{label:"copy",activePage:i.Z.get().activePage}),this.copyTimeout=window.setTimeout((()=>{this.setState({copied:!1})}),1e3)}renderIcon(e){return S[e]}handleClose(){this.setState({copied:!1}),this.props.toggleSharePop()}render(e,t){let{copied:n}=t;const{shareOpen:p,closeBtnstyle:d,extraClass:h}=e,u=i.Z.get(),g=(0,a.RK)(this.props,"appData.header.powsterHeader.share.shareCTA"),f=(0,a.RK)(this.props,"appData.styling.fontVariables"),m=(0,a.RK)(this.props,"appData.copy.accessibilityCopy",{}),_="rtl"===f.textDirection,y=u.activePage;let E=((0,a.RK)(u,"externalCookieBanner.bannerOpen",!1)?(0,a.RK)(u,"externalCookieBanner.height"):(0,a.RK)(u,"cookies.height"))||0;return(0,a.RK)(u,"appData.options.sonyFeatures.sonyHeader",!1)&&(E+=34),(0,o.h)("div",{class:(0,a.WM)(w.wrapper,p&&w.open,h&&h),style:{marginTop:E+"px"}},(0,o.h)("div",{class:(0,a.WM)(w.container,_&&w.rtlContainer),style:{marginTop:E+"px"}},(0,o.h)("div",{class:w.headline},(0,o.h)("p",{class:f.headerShareCta},(0,r.s)(g,{},"","baseCopy")||g||"Create social post"),(0,o.h)(s.Z,{class:w.close,trigger:this.handleClose,style:d,ariaLabel:m.$CLOSE_SHARE_ARIA},(0,o.h)(c.Z,{"aria-hidden":!0}))),(0,o.h)("div",{class:w.shareButtons},(0,o.h)(s.Z,{class:(0,a.WM)(w.copyButton,n&&w.copied),trigger:this.copyToClipboard,ariaLabel:m.$COPY_LINK_BTN_ARIA},n?(0,o.h)(b,{class:w.copy}):(0,o.h)(v,{class:w.copy})),this.shareItems.map((e=>{const t=e.id.toLowerCase();return(0,o.h)(l.Z,{class:(0,a.WM)(w.shareButton,w[`shareButton--${t}`]),href:this.getSharingLink(t),target:"_blank",rel:"noopener noreferrer",onClick:()=>{i.Z.emit("CLICKED_SHARE",{label:t,activePage:y})},ariaLabel:m.$SHARE_ARIA.replace("<platform>",e.title)},this.renderIcon(t))})))),(0,o.h)("div",{class:w.backgroundContainer,onClick:this.handleClose}))}}},9567:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33 33"},e),(0,i.h)("path",{"fill-rule":"evenodd",d:"M15 29.585L7.45 21a1.003 1.003 0 0 0-1.416 0 1.003 1.003 0 0 0 0 1.416l9.259 10.291c.392.39 1.024.39 1.416 0L26 22.416A1.004 1.004 0 0 0 26 21a1.003 1.003 0 0 0-1.416 0L17 29.585V2a1 1 0 0 0-2 0v27.585z"}))},5222:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.h)("path",{d:"M7.292 8L1.146 1.854a.502.502 0 01.708-.708L8 7.292l6.146-6.146a.502.502 0 01.708.708L8.708 8l6.146 6.146a.502.502 0 01-.708.708L8 8.708l-6.146 6.146A.502.502 0 011.5 15s-.256-.
2049-.354-.146a.502.502 0 010-.708L7.292 8z","fill-rule":"evenodd"}))},1705:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",role:"img"},e),(0,i.h)("path",{d:"M15,3C8.373,3,3,8.373,3,15c0,6.016,4.432,10.984,10.206,11.852V18.18h-2.969v-3.154h2.969v-2.099c0-3.475,1.693-5,4.581-5 c1.383,0,2.115,0.103,2.461,0.149v2.753h-1.97c-1.226,0-1.654,1.163-1.654,2.473v1.724h3.593L19.73,18.18h-3.106v8.697 C22.481,26.083,27,21.075,27,15C27,8.373,21.627,3,15,3z"}))},1685:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,i.h)("path",{d:"M14 3H2a1 1 0 00-1 1v8a1 1 0 001 1h12a1 1 0 001-1V4a1 1 0 00-1-1zm-1.519 1L8 7.671 3.519 4h8.962zM14 12H2V4l5.341 4.424a1 1 0 001.318 0L14 4v8z"}))},6575:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,i.h)("path",{d:"M11.493 3.23C10.667 2.437 9.523 2 8.273 2c-1.908 0-3.082.783-3.731 1.439-.8.808-1.258 1.882-1.258 2.947 0 1.335.559 2.361 1.494 2.743a.487.487 0 00.188.039c.197 0 .354-.129.408-.336.033-.12.105-.413.137-.54.068-.252.013-.372-.136-.548-.27-.321-.397-.699-.397-1.192 0-1.464 1.09-3.02 3.11-3.02 1.603 0 2.599.911 2.599 2.378 0 .926-.2 1.782-.561 2.413-.252.438-.695.961-1.373.961a.912.912 0 01-.724-.331.83.83 0 01-.146-.723c.071-.303.169-.618.263-.923.173-.557.335-1.084.335-1.503 0-.718-.441-1.2-1.098-1.2-.835 0-1.489.848-1.489 1.93 0 .531.141.927.205 1.08l-.849 3.594c-.069.291-.482 2.595.202 2.778.768.207 1.455-2.037 1.524-2.29.057-.206.255-.986.376-1.465.37.357.968.598 1.548.598 1.095 0 2.079-.493 2.773-1.387.672-.867 1.042-2.077 1.042-3.406.001-1.036-.445-2.06-1.222-2.806z"}))},2015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.h)("path",{d:"M8.354,0.146l2.5,2.5C10.951,2.744,11,2.872,11,3s-0.049,0.256-0.146,0.354c-0.196,0.195-0.513,0.195-0.708,0 L8.5,1.707V10.5C8.5,10.776,8.277,11,8,11c-0.276,0-0.5-0.224-0.5-0.5V1.707L5.854,3.354c-0.196,0.195-0.512,0.195-0.708,0 c-0.195-0.196-0.195-0.512,0-0.708l2.5-2.5C7.843-0.049,8.159-0.049,8.354,0.146z"}),(0,i.h)("path",{d:"M4.5,6C4.776,6,5,6.224,5,6.5S4.776,7,4.5,7h-1C3.224,7,3,7.224,3,7.5v7C3,14.775,3.224,15,3.5,15h9 c0.275,0,0.5-0.225,0.5-0.5v-7C13,7.224,12.775,7,12.5,7h-1C11.224,7,11,6.776,11,6.5S11.224,6,11.5,6h1C13.327,6,14,6.673,14,7.5v7 c0,0.827-0.673,1.5-1.5,1.5h-9C2.673,16,2,15.327,2,14.5v-7C2,6.673,2.673,6,3.5,6H4.5z"}))},9624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,i.h)("path",{d:"M11.732 11.117a.232.232 0 00-.236.01c-.536.353-1.08.531-1.616.531-.288 0-.536-.064-.758-.197a.84.84 0 01-.341-.381c-.049-.129-.048-.477-.047-.958V7.189h2.437a.231.231 0 00.231-.231V4.899a.231.231 0 00-.231-.231H8.733V2.231A.23.23 0 008.502 2H6.861a.23.23 0 00-.229.203c-.069.564-.197 1.033-.381 1.394a2.95 2.95 0 01-.722.92c-.24.205-.652.403-1.223.589a.23.23 0 00-.159.219v1.634c0 .127.103.231.231.231h1.336v3.815c0 .562.06.985.182 1.294.125.313.347.608.66.877.308.264.683.47 1.115.614.42.136.753.21 1.316.21.476 0 .929-.049 1.348-.147a7.1 7.1 0 001.385-.505.23.23 0 00.133-.209V11.32a.232.232 0 00-.121-.203z"}))},6341:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7692),i=n(5703);const r=e=>(0,i.h)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,i.h)("path",{d:"M5.774 12.876c4.528 0 7.005-3.752 7.005-7.005 0-.107-.002-.213-.007-.318.48-.347.898-.781 1.228-1.275a4.928 4.928 0 01-1.414.388 2.473 2.473 0 001.083-1.362 4.946 4.946 0 01-1.563.598 2.462 2.462 0 00-4.195 2.245 6.993 6.993 0 01-5.076-2.572 2.46 2.46 0 00.763 3.286 2.437 2.437 0 01-1.116-.308l-.001.031c0 1.193.849 2.188 1.975 2.414a2.425 2.425 0 01-1.111.043 2.464 2.464 0 002.3 1.71A4.943 4.943 0 012 11.771a6.972 6.972 0 003.774 1.105"}))},5384:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(5703);class i extends o.wA{render(e){let{children:t,...n}=e;return(0,o.h)("a",n,t)}}},273:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(5703),i=n(7867),r=n(1163),a=n(1705),s=n(6341),l=n(7692);const c=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",role:"img"},e),(0,o.h)("path",{d:"M8 2c-1.63 0-1.834.007-2.474.036-.638.029-1.075.131-1.456.279a2.932 2.932 0 00-1.063.692 2.932 2.932 0 00-.692 1.063c-.148.382-.25.818-.279 1.456C2.007 6.166 2 6.37 2 8s.007 1.834.036 2.474c.029.639.131 1.075.279 1.456.153.395.358.729.692 1.063.334.334.668.539 1.063.692.382.148.818.25 1.456.279.64.029.844.036 2.474.036 1.63 0 1.834-.007 2.474-.036.638-.029 1.075-.131 1.456-.279a2.932 2.932 0 001.063-.692c.334-.334.539-.668.692-1.063.148-.382.25-.818.279-1.456C13.993 9.834 14 9.63 14 8c0-1.63-.007-1.834-.036-2.474-.029-.638-.131-1.075-.279-1.456a2.932 2.932 0 00-.692-1.063 2.932 2.932 0 00-1.063-.692c-.382-.148-.818-.25-1.456-.279C9.834 2.007 9.63 2 8 2m0 1.081c1.602 0 1.792.006 2.425.035.584.027.902.124 1.114.207.28.109.48.239.69.449.21.21.34.41.449.69.082.211.18.529.207 1.114.028.632.034.822.034 2.424 0 1.602-.006 1.792-.035 2.425-.027.585-.125.902-.207 1.114-.109.28-.239.48-.449.69-.21.21-.41.34-.69.449-.211.082-.529.18-1.114.207-.632.028-.822.034-2.424.034s-1.792-.006-2.425-.035c-.585-.027-.902-.125-1.114-.207a1.862 1.862 0 01-.69-.449c-.21-.21-.34-.41-.449-.69-.082-.211-.179-.528-.206-1.113-.029-.633-.035-.823-.035-2.425 0-1.602.006-1.792.035-2.425.027-.585.124-.902.207-1.114.109-.28.239-.48.449-.69.21-.21.41-.34.69-.449.211-.082.529-.18 1.114-.207.632-.028.822-.034 2.424-.034"}),(0,o.h)("path",{d:"M7.986 9.982a1.995 1.995 0 110-3.99 1.995 1.995 0 010 3.99m0-5.07a3.074 3.074 0 100 6.147 3.074 3.074 0 000-6.147M11.182 5.509a.718.718 0 110-1.436.718.718 0 010 1.436z"})),p=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,o.h)("path",{d:"M12 5s-6.26 0-7.825.412c-.84.23-1.532.922-1.763 1.779C2 8.755 2 12 2 12s0 3.261.412 4.81c.23.856.906 1.531 1.763 1.762C5.756 19 12 19 12 19s6.26 0 7.825-.412a2.506 2.506 0 0 0 1.763-1.762c.412-1.565.412-4.81.412-4.81s.016-3.26-.412-4.825a2.506 2.506 0 0 0-1.763-1.763C18.26 5 12 5 12 5Zm-1.994 4.003L15.212 12l-5.206 2.997V9.003Z"})),d=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,o.h)("path",{d:"M12.117 20.248c-.05 0-.098-.002-.134-.004a1.03 1.03 0 0 1-.088.004c-1.045 0-1.744-.494-2.361-.93-.443-.313-.86-.608-1.348-.69-.24-.04-.479-.06-.71-.06-.415 0-.743.065-.983.112a2.185 2.185 0 0 1-.373.054c-.103 0-.228-.023-.28-.201-.042-.14-.072-.277-.1-.408-.072-.327-.124-.527-.246-.546-1.312-.203-2.087-.5-2.24-.862a.335.335 0 0 1-.028-.114.21.21 0 0 1 .176-.22c1.041-.17 1.967-.721 2.752-1.636a6.171 6.171 0 0 0 .944-1.47c.151-.306.181-.571.09-.787-.17-.399-.729-.577-1.1-.694a3.955 3.955 0 0 1-.248-.084c-.328-.13-.868-.404-.796-.782.052-.276.417-.468.712-.468.082 0 .154.015.215.043.333.156.633.235.89.235.321 0 .476-.122.513-.156l-.031-.523v-.002c-.076-1.197-.17-2.686.211-3.54 1.14-2.555 3.558-2.754 4.271-2.754l.311-.003h.043c.715 0 3.138.199 4.279 2.756.38.854.287 2.345.211 3.543l-.003.057c-.01.162-.02.316-.028.466.035.032.176.144.465.155.245-.01.528-.088.838-.233a.663.663 0 0 1 .275-.055c.
211 0 .22.021.313.06l.005.002c.264.094.436.28.44.477.003.183-.133.457-.802.722a4.062 4.062 0 0 1-.249.084c-.37.118-.93.295-1.099.693-.092.216-.061.482.09.789l.005.01c.046.11 1.174 2.681 3.691 3.096a.21.21 0 0 1 .176.22.338.338 0 0 1-.028.114c-.153.36-.928.657-2.24.86-.123.018-.175.217-.246.543-.029.135-.059.267-.1.405-.038.13-.123.194-.259.194h-.02a2.1 2.1 0 0 1-.374-.047 4.91 4.91 0 0 0-.983-.104c-.231 0-.47.02-.71.06-.488.081-.905.376-1.346.688-.619.437-1.318.931-2.363.931"})),h=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,o.h)("path",{d:"M18.86 10.47a4.281 4.281 0 0 1-3.977-1.916l.001 6.593a4.873 4.873 0 1 1-4.873-4.873c.102 0 .202.01.302.016v2.4c-.1-.011-.199-.03-.302-.03a2.487 2.487 0 0 0 0 4.974c1.374 0 2.587-1.082 2.587-2.456l.024-11.196h2.297a4.279 4.279 0 0 0 3.944 3.82v2.668"})),u=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,o.h)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-5.522-4.477-10-10-10Zm4.586 14.422a.623.623 0 0 1-.857.208c-2.348-1.435-5.304-1.76-8.785-.964a.623.623 0 1 1-.277-1.216c3.809-.87 7.076-.495 9.712 1.115.294.181.387.564.207.857ZM17.81 13.7a.78.78 0 0 1-1.073.257c-2.687-1.652-6.785-2.13-9.965-1.165a.78.78 0 0 1-.973-.52.781.781 0 0 1 .52-.972c3.632-1.102 8.147-.569 11.233 1.328a.779.779 0 0 1 .258 1.072Zm.105-2.835C14.69 8.95 9.375 8.775 6.297 9.708a.935.935 0 1 1-.543-1.79c3.533-1.072 9.405-.865 13.115 1.338a.935.935 0 0 1-.954 1.609Z"}));var g=n(6575);const f=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"-4 -4 32 32",role:"img"},e),(0,o.h)("path",{d:"M2 2.057h2.797v19.886H2zM18.787 10.996l2.797-2.463v13.41h-2.797z"}),(0,o.h)("path",{d:"M2 21.257h19.584V24H2zM2 0h10.912L11 2.743H2zM18.787 5.485V2.743h-2.799V0h-2.797v8.228h8.393V5.485"}));var m=n(9624);const _=e=>(0,o.h)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},e),(0,o.h)("path",{d:"M21.99 7.164c-.09 2.026-1.449 4.799-4.078 8.32-2.72 3.677-5.02 5.516-6.903 5.516-1.165 0-2.151-1.122-2.958-3.366l-1.614-6.17C5.84 9.221 5.197 8.1 4.51 8.1c-.15 0-.672.327-1.569.981L2 7.818c.978-.896 1.949-1.8 2.913-2.71C6.228 3.922 7.214 3.3 7.872 3.237c1.553-.156 2.51.95 2.868 3.318.389 2.556.657 4.145.807 4.768.448 2.12.941 3.179 1.479 3.179.418 0 1.046-.686 1.882-2.057.837-1.371 1.285-2.415 1.345-3.132.12-1.184-.329-1.776-1.345-1.776-.478 0-.97.109-1.479.327.986-3.334 2.869-4.955 5.648-4.861 2.062.062 3.033 1.449 2.913 4.16Z"}));var y=n(1685),v=n(5384);const b={socials:"socials__socials__BRMQT",social:"socials__social__cEC91",rtlSocial:"socials__rtlSocial__kG2oF",icon:"socials__icon__WSlYK",navOpen:"socials__navOpen__vbk7Q"};class w extends o.wA{render(e){const{socials:t={},navOpen:n}=e,l={facebook:(0,o.h)(a.Z,{class:b.icon}),twitter:(0,o.h)(s.Z,{class:b.icon}),instagram:(0,o.h)(c,{class:b.icon}),youtube:(0,o.h)(p,{class:b.icon}),snapchat:(0,o.h)(d,{class:b.icon}),tiktok:(0,o.h)(h,{class:b.icon}),spotify:(0,o.h)(u,{class:b.icon}),pinterest:(0,o.h)(g.Z,{class:b.icon}),giphy:(0,o.h)(f,{class:b.icon}),tumblr:(0,o.h)(m.Z,{class:b.icon}),vimeo:(0,o.h)(_,{class:b.icon}),email:(0,o.h)(y.Z,{class:b.icon})},w=Object.entries(t),E=(0,i.RK)(r.Z.get(),"appData.copy.accessibilityCopy",{}),k="rtl"===(0,i.RK)(r.Z.get(),"appData.styling.fontVariables.textDirection");return(0,o.h)("div",{class:(0,i.WM)(b.socials,e.class,n&&b.navOpen)},(0,i.FZ)(t).slice(0,5).map((e=>{const t=w.find((t=>t[1].destination===e.destination))[0];let a=l[t];if(!a&&e.iconURL){const t=n&&e.iconNav?e.iconNav:e.iconURL;a=(0,o.h)("img",{class:b.icon,src:t,alt:""})}return(0,o.h)(v.Z,{class:(0,i.WM)(b.social,b[t],k&&b.rtlSocial),href:e.destination,target:"_blank",rel:"noopener noreferrer",key:t,onClick:()=>{r.Z.emit("CLICKED_FOLLOW",t)},ariaLabel:E.$SOCIAL_ARIA.replace("<platform>",t)},a)})))}}},8145:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(7692),i=n(4897),r=n(5703),a=n(2652),s=n(4541);function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(n){t.forEach((function(t){t.kind===n&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var n=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var i=t.placement;if(t.kind===o&&("static"===i||"prototype"===i)){var r="static"===i?e:n;this.defineClassElement(r,t)}}),this)}),this)},defineClassElement:function(e,t){var n=t.descriptor;if("field"===t.kind){var o=t.initializer;n={enumerable:n.enumerable,writable:n.writable,configurable:n.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,n)},decorateClass:function(e,t){var n=[],o=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!d(e))return n.push(e);var t=this.decorateElement(e,i);n.push(t.element),n.push.apply(n,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:n,finishers:o};var r=this.decorateConstructor(n,t);return o.push.apply(o,r.finishers),r.finishers=o,r},addElementPlacement:function(e,t,n){var o=t[e.placement];if(!n&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var n=[],o=[],i=e.decorators,r=i.length-1;r>=0;r--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[r])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&o.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],t);n.push.apply(n,c)}}return{element:e,finishers:o,extras:n}},decorateConstructor:function(e,t){for(var n=[],o=t.length-1;o>=0;o--){var i=this.fromClassDescriptor(e),r=this.toClassDescriptor((0,t[o])(i)||i);if(void 0!==r.finisher&&n.push(r.finisher),void 0!==r.elements){e=r.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:n}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(0,i.Z)(e).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "f
2ield", but a decorator created an element descriptor with .kind "'+t+'"');var n=g(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var r={kind:t,key:n,placement:o,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),r.initializer=e.initializer),r},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var n=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:n}},runClassFinishers:function(e,t){for(var n=0;n<t.length;n++){var o=(0,t[n])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,n){if(void 0!==e[t])throw new TypeError(n+" can't have a ."+t+" property.")}};return e}function c(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function p(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function d(e){return e.decorators&&e.decorators.length}function h(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}const f=(()=>{let e;return()=>{if(e)return e;e=new s.TU.Renderer;let t=e.link;return e.link=(n,o,i)=>{let r=t.call(e,n,o,i);return r&&(r=r.replace(/^<a /,'<a target="_blank" ')),r},e}})();let m=function(e,t,n,o){var i=l();if(o)for(var r=0;r<o.length;r++)i=o[r](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),n),s=i.decorateClass(function(e){for(var t=[],n=function(e){return"method"===e.kind&&e.key===r.key&&e.placement===r.placement},o=0;o<e.length;o++){var i,r=e[o];if("method"===r.kind&&(i=t.find(n)))if(h(r.descriptor)||h(i.descriptor)){if(d(r)||d(i))throw new ReferenceError("Duplicated methods ("+r.key+") can't be decorated.");i.descriptor=r.descriptor}else{if(d(r)){if(d(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+r.key+").");i.decorators=r.decorators}p(r,i)}else t.push(r)}return t}(a.d.map(c)),e);return i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([a.Z],(function(e,t){return{F:class extends t{constructor(){super(...arguments),e(this)}},d:[{kind:"method",key:"render",value:function(e){let{tag:t="div",content:n,markdown:i,markdownOptions:a,children:l,removeComments:c,forceNewTabLinks:p,...d}=e;if(n=(n||l[0]||"")+"",c&&(n=n.replace(/(\/\*([\s\S]*?)\*\/)|(^\/\/(.*)$)/gm,"")),i){let e={...a};p&&(e.renderer=f()),n=(0,s.TU)(n,e)}return(0,r.h)(t,(0,o.Z)({},d,{dangerouslySetInnerHTML:{__html:n}}))}}]}}),r.wA)},4085:(e,t,n)=>{"use strict";var o=n(1163),i=n(6067),r=n(5235),a=n(5604),s=n(8537),l=n(7993);const c="pow-cookie-cats-";o.Z.on("SET_COOKIE_BAR_HEIGHT",(e=>{o.Z.get().cookies.set({height:e})})),o.Z.on("COOKIE_BANNER_OPEN",(()=>{o.Z.get().cookies.set({cookieBannerOpen:!0})})),o.Z.on("COOKIE_BANNER_CLOSE",(()=>{const e=o.Z.get(),t=e.cookies;
2if(t.cookieBannerOpen&&t.pushDown&&t.height&&e.homeActivePercentage<.5){let e=document.getElementById("mainScroll");if(e){let n=e.scrollTop+t.height;setTimeout((()=>{let e=document.getElementById("mainScroll");e&&(e.scrollTop=n)}),0)}}t.set({cookieBannerOpen:!1}),o.Z.emit("SET_COOKIE_BAR_HEIGHT",0)})),o.Z.on("COOKIE_PREFERENCES_OPEN",(()=>{const{deviceSize:e}=o.Z.get().client;"mobile"!==e&&o.Z.emit("ENABLE_SCROLLING_LOCK"),o.Z.get().cookies.set({cookiePreferencesOpen:!0})})),o.Z.on("COOKIE_PREFERENCES_CLOSE",(()=>{const{deviceSize:e}=o.Z.get().client;"mobile"!==e&&o.Z.emit("DISABLE_SCROLLING_LOCK"),o.Z.get().cookies.set({cookiePreferencesOpen:!1})})),o.Z.on("ACCEPT_COOKIES",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o.Z.emit("COOKIE_BANNER_CLOSE"),i.t8(e),o.Z.emit("SET_COOKIES",e)})),o.Z.on("ACCEPT_ALL_COOKIES",(()=>{const e=[...Object.keys(a),"UNCATEGORIZED"];o.Z.emit("ACCEPT_COOKIES",e)})),o.Z.on("SET_COOKIES",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];l.Z.set(c+o.Z.get().appData?.meta?.id,e,{expires:30})})),o.Z.on("CHECK_COOKIES",(()=>{let e;try{e=JSON.parse(l.Z.get(c+o.Z.get().appData?.meta?.id))}catch(e){}const t=e||i.U2(),n=(o.Z.get().appData?.options?.cookiesModal?.autoOptIn||"").split(",").filter((e=>e));t.length>0?o.Z.emit("ACCEPT_COOKIES",t):n.length>0?i.t8(n):i.t8([])})),o.Z.on("ONETRUST_SHOW",(()=>s.A8.displayModal())),o.Z.on("DELETE_ALL_COOKIES",(e=>{let{reload:t}=e;const n=l.Z.get();Object.keys(n).map((e=>{e.startsWith(c)||l.Z.remove(e)})),t&&window.location.reload()})),i.BN((e=>{(0,r.N)("categoriesUpdated",{categories:e})}))},2444:(e,t,n)=>{"use strict";var o=n(1163),i=n(7867);o.Z.on("OPEN_NAV_MENU",(()=>{o.Z.get().header.set({open:!0}),(0,i.cn)(document.body,"locked"),o.Z.emit("SET_HEADER_ACTION",{icon:"close",action:()=>o.Z.emit("CLOSE_NAV_MENU"),tag:"closeNavMenu"})}));const r=e=>e&&Array.isArray(e)?e.join(","):null;o.Z.on("TOGGLE_SHARE_OPEN",(()=>{const e=o.Z.get(),t=e.header.shareOpen,n=e.header.onesheetExpanded;if(t&&o.Z.get().header.set({shareOpen:!1}),!t&&n&&(o.Z.emit("CLOSE_ALL_OVERLAYS"),o.Z.get().header.set({shareOpen:!0})),t||n)return;let a=(0,i.RK)(e,["appData","pages",e.activePage,"path"])||"/",s={};if(e.showtimes&&e.showtimes.show){const t=e.client&&e.client.geo||{},n=e.showtimes.filters.selected||{};s={lat:t.lat,lon:t.lon,location:t.city,country:t.countryCode,date:r(n.date),format:r(n.format),time:r(n.time)}}else if(e.videos&&e.videos.overlayOpen){const t=e.videos.activeVideo;s={v:t&&(t.youtubeId||t.key)}}let l=a+(0,i.UK)(s);o.Z.get().header.set({shareOpen:!0,shareDetails:l})})),o.Z.on("CLOSE_ALL_OVERLAYS",(()=>{o.Z.get().header.set({open:!1,shareOpen:!1})})),o.Z.on("CLOSE_NAV_MENU",(()=>{o.Z.get().header.set({open:!1}),(0,i.IV)(document.body,"locked"),o.Z.emit("REMOVE_HEADER_ACTIONS","closeNavMenu")})),o.Z.on("CLOSE_ALL_OVERLAYS",(()=>{o.Z.emit("CLOSE_NAV_MENU")})),o.Z.on("SET_HEADER_ACTION",(e=>{e&&e.action&&o.Z.get().header.actions.push(e)})),o.Z.on("POP_HEADER_ACTION",(()=>{o.Z.get().header.actions.pop()})),o.Z.on("REMOVE_HEADER_ACTIONS",(e=>{let t=o.Z.get().header,n=t.actions.filter((t=>t.tag!==e));t.set({actions:n})})),o.Z.on("TOGGLE_INTERSTITIAL_OPEN",(e=>{o.Z.get().header.set({interstitialOpen:e})}))},5012:(e,t,n)=>{"use strict";var o=n(1163),i=n(3408);o.Z.on("HOMEENT_SHOW",((e,t,n)=>{if(!n){const e=o.Z.get().appData?.pages||{},t=Object.values(e).find((e=>"homeEnt"===e.type));n=t?.id}(0,i.d)(e,"homeEnt",!1,t,n)})),o.Z.on("HOMEENT_HIDE",(function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,i.I)(e,t,"homeEnt")})),o.Z.on("CLOSE_ALL_OVERLAYS",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.Z.emit("HOMEENT_HIDE",e.animate,!1)}))},1289:(e,t,n)=>{"use strict";var o=n(1163),i=n(3408);o.Z.on("PRESSKIT_SHOW",((e,t,n)=>(0,i.d)(e,"pressKit",!1,t,n))),o.Z.on("PRESSKIT_HIDE",(function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,i.I)(e,t,"pressKit")})),o.Z.on("CLOSE_ALL_OVERLAYS",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.Z.emit("PRESSKIT_HIDE",e.animate,!1)}))},3408:(e,t,n)=>{"use strict";n.d(t,{I:()=>d,d:()=>p});var o=n(1163),i=n(7867),r=n(2347),a=n(9582);let s=!1,l=!1,c=!1;o.Z.on("SWITCH_DUAL_VIEW",((e,t)=>
2{if(t)return;const n="showtimes"===e;window.setTimeout((()=>{d(!1,!1,n?"homeEnt":"showtimes"),s=n,l=!n,o.Z.emit("SET_ACTIVE_PAGE",n?"boltShowtimes":"boltHomeEnt")}),300),p(!1,n?"showtimes":"homeEnt",!0)}));const p=(e,t,n,a,p)=>{const d="showtimes"===t,h="homeEnt"===t,u="pressKit"===t,g=o.Z.get().appData?.pages?.boltShowtimes?.data?.groupBookings?.isEnabled;if(d&&s&&("boltShowtimes"!==p||!g))return;if(h&&l)return;if(u&&c)return;n||o.Z.emit("CLOSE_ALL_OVERLAYS"),o.Z.get().set({ignoreScroll:!0}),d&&(s=!0),h&&(l=!0),u&&(c=!0);const f=document.getElementById("mainScroll"),m=()=>{if(d){if(o.Z.get().header.set({showtimesOverlay:!0}),o.Z.get().showtimes.set({show:p||!0,animate:e}),o.Z.get().showtimes.providerInterstitialOpen){const e={icon:"back",action:()=>o.Z.emit("CLOSE_PROVIDER_INTERSTITIAL")};o.Z.get().client.isDesktopSize?o.Z.emit("SET_SHOWTIMES_BTN_ACTIONS",e):o.Z.emit("SET_HEADER_ACTION",e)}if(!s)return}if(h&&(o.Z.get().header.set({homeEntOverlay:!0}),o.Z.get().homeEnt.set({show:p||!0,animate:e}),!l))return;if(u&&(o.Z.get().header.set({pressKitOverlay:!0}),o.Z.get().pressKit.set({show:p||!0,animate:e}),!c))return;o.Z.get().set({ignoreScroll:!1}),o.Z.emit("UPDATE_VISIBILITY_PERCENTAGES");let t=null;d?("?groupbookings"===a&&o.Z.get().set({groupBookingsShowtimes:!0}),"?booknow"===a&&o.Z.get().set({groupBookingsShowtimes:!1}),t=p||"boltShowtimes"):h?t=p||"boltHomeEnt":u&&(t=p||"boltPressKit"),t&&t!==o.Z.get().activePage&&o.Z.emit("SET_ACTIVE_PAGE",p||"boltPressKit",a),(0,i.cn)(document.body,"locked"),f&&setTimeout((()=>{(0,i.IV)(f,"nonInteractive")}),500)};f?((0,i.cn)(f,"nonInteractive"),(0,r.GZ)(f,0,e?e=>Math.min(e/3,200):0,{force:!0,callback:m})):m()},d=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;const r="showtimes"===n,p="homeEnt"===n,d="pressKit"===n;if(r&&!s)return;if(p&&!l)return;if(d&&!c)return;(0,i.RK)(o.Z.get(),"header.shareOpen")||(r&&(s=!1,o.Z.get().header.set({showtimesOverlay:!1}),o.Z.get().showtimes.set({show:!1,animate:e}),o.Z.emit("EXIT_CINEMA_DETAIL_VIEW"),o.Z.emit("CLOSE_PROVIDER_INTERSTITIAL")),p&&(l=!1,o.Z.get().header.set({homeEntOverlay:!1}),o.Z.get().homeEnt.set({show:!1,animate:e})),d&&(c=!1,o.Z.get().header.set({pressKitOverlay:!1}),o.Z.get().pressKit.set({show:!1,animate:e})),t&&(o.Z.emit("SET_ACTIVE_PAGE",(0,a.ds)()),o.Z.emit("CHANGE_ACTIVE_SECTION",(0,a.ds)(),{instant:!0})),(0,i.IV)(document.body,"locked"))}},1163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(7054);const i=new(n.n(o)())({},{});function r(e){if("undefined"==typeof window||"function"!=typeof Event||!window.dispatchEvent)return;const t=new Event(e);window.dispatchEvent(t)}i.on("afterAll",(function(e){"update"!==e&&r(e)})),i.on(void 0,(()=>{throw new Error("Undefined action! Please define your actions!")})),"undefined"!=typeof window&&(window.Store=i,r("NEW_STORE"));const a=i},6300:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var o=n(1163);function i(e){if(!e||"string"!=typeof e)return e;const t=o.Z.get(),n=t?.appData?.urls?.roots?.imageRegion,i=t?.appData?.options?.useAssetUpdateDateTime;let r=n;return i&&Date.now()>i&&(r+="/updates"),e.replace(/%IMAGE_REGION_ROOT_DYNAMIC%/g,r)}},7320:(e,t,n)=>{"use strict";n.d(t,{F$:()=>a,f1:()=>l,hi:()=>r});var o=n(7867),i=n(1163);async function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("undefined"==typeof window)throw new Error("Trying to request server-side");n.headers=n.headers||{},n.headers["content-type"]||(n.headers["content-type"]="application/json"),n.referrer="",t.lon&&t.lat&&(n.headers["x-requested-lat"]=t.lat,n.headers["x-requested-lon"]=t.lon,t={...t,lat:void 0,lon:void 0}),t.countries&&(n.headers["x-requested-countries"]=t.countries,t={...t,countries:void 0}),t.approxPos&&(n.headers["x-requested-approxpos"]=t.approxPos.replace(/[^ -~]/g,""),t={...t,approxPos:void 0});const r=i.Z.get();let a=Object.entries(r.appData.pages),s=a.concat(a?.flatMap((e=>{let[t,n]=e;return"filmPage"===n.type&&Object.values(n?.data||{}).map((e=>[t,e]))}))).filter((e=>e)).filter((e=>{let[,t]=e;return"showtimes"===t.type})),[,l]=s.find((e=>{let[t]=e;return t===r.activePage}))||s[0]||[];const c=r.appData?.options?.apiUsageInterstetial,p=l?.data?.spreadsheetId;let d=l?.data?.useV2??!0;"useV2"in n&&(d=n.useV2,n={...n,useV2:void 0});
2const h=r?.showtimes?.inCinemaDetailView;h&&(t.include_theaters=h);const u=(0,o.RK)(r,"appData.pages.boltShowtimes.data.rules",{});if(u.changesSheet?.id&&u.changesSheet?.name&&(t.rules_groups=[`manualEntry::${u.changesSheet?.id}::${u.changesSheet?.name}`].concat(t.rules_groups||[])),u.customRule?.name){const e=u.customRule.parameters,n=e?`::${e.replace(/\s*,\s*/gi,"::")}`:"";t.rules_groups=[`${u.customRule.name}${n}`].concat(t.rules_groups||[])}if(Object.keys(u).length>=(u.customRule?1:0)){let e=r.appData?.meta?.id,n=r.appData?.pages?.[r.activePage]?.path;t.rules_groups=[["appId",e,n].join("::")].concat(t.rules_groups||[])}let g="https://showtimes.s-prod.pow.io/v1.1";if(r.apiKey&&c&&(n.headers["X-API-Key"]=r.apiKey,g="https://showtimes.pow.io/v1.1"),d&&(g="https://showtimes-v2.s-prod.pow.io/v2.0"),p){const t=["/filters","/location","/screenings/more","chain/more"].find((t=>-1!==e.indexOf(t)));e=e.replace("dummy/",""),t&&(delete n.headers["X-API-Key"],g=`https://geolocated-results.s-prod.pow.io/v1.0/${p}`)}if(r.limitExceeded)throw i.Z.emit("LIMIT_EXCEEDED",!0),429;let f=await fetch((0,o.RQ)(g,e)+(0,o.UK)(t),n);if(!f.ok){if(429===f.status&&!r.usingLimitlessKey){let e=!1;try{e=localStorage.getItem("limitlessKey")}catch(e){}e?i.Z.emit("UPDATE_API_KEY"):(i.Z.get().set({limitExceeded:!0}),i.Z.emit("LIMIT_EXCEEDED",!0))}throw f.status||f.error||f}return f.json()}async function a(e){if("undefined"==typeof window)throw new Error("Trying to request server-side");const{justWatchId:t,jwRegion:n,jwFilmIdType:i,fafId:r,thundrData:a,useDummyData:l}=e,c={};t&&n&&(c.jwFilmId=t,c.jwLocale=s[n.toLowerCase()]),n&&l&&(c.jwLocale=s[n.toLowerCase()]),i&&(c.jwFilmIdType=i),r&&(c.fafFilmId=r),l&&(c.useDummyData="true");const p=await fetch("https://homeent.s-prod.pow.io/bolt-home-ent"+(0,o.UK)(c),{method:"post",headers:{"content-type":"application/json"},body:JSON.stringify(a)});if(!p.ok)throw p.status||p.error||p;return p.json()}const s={us:"en_US",gb:"en_GB",fr:"fr_FR",de:"de_DE",br:"pt_BR",au:"en_AU",nz:"en_NZ",ca:"en_CA",ca_fr:"en_CA",za:"en_ZA",ie:"en_IE",mx:"es_MX",jp:"ja_JP",nl:"en_NL",be:"fr_BE",be_fr:"fr_BE",be_nl:"fr_BE",se:"sv_SE",th:"en_TH",pt:"pt_PT",cz:"cs_CZ",no:"en_NO",ru:"ru_RU",in:"en_IN",ch:"de_CH",ch_ch:"de_CH",ch_fr:"de_CH",at:"de_AT",ph:"en_PH",sg:"en_SG",pl:"pl_PL",fi:"fi_FI",gr:"el_GR",tr:"tr_TR",co:"es_CO",dk:"en_DK",ar:"es_AR",cl:"es_CL",es:"es_ES",kr:"ko_KR",it:"it_IT",lt:"en_LT",pe:"es_PE",ee:"en_EE",lv:"en_LV",my:"en_MY",id:"en_ID",hu:"hu_HU",ve:"es_VE",ro:"ro_RO",ec:"es_EC"};async function l(e,t){let{imageUrl:n,siteUrl:i,metaOverrides:r}=t;if("undefined"==typeof window)throw new Error("Trying to request server-side");const a={imageUrl:n,siteUrl:i,metaOverrides:r},s=await fetch((0,o.RQ)("https://share.s-prod.pow.io",e)+(0,o.UK)(a));if(!s.ok)throw s.status||s.error||s;return s.text()}},2680:(e,t,n)=>{"use strict";n.d(t,{KR:()=>p,Ty:()=>u,dz:()=>r,fx:()=>h});var o=n(1163),i=n(7867);function r(){const e=a(),t=s(),n=l(e,t),o=l(e,t,!0),i=c(e),r=function(){if("undefined"==typeof window)return!1;const e=(""+navigator.userAgent).toLowerCase(),t=/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;return-1!==e.indexOf("ipad")||t||-1!==e.indexOf("iphone")}(),d=function(){const e=(navigator.userAgent||"").match(/Edge\/(\d+)\./);if(e)return+e[1];return!1}(),h=/^((?!chrome|android|CriOS).)*safari/i.test(navigator.userAgent),u=p(),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(a(),s(),!0);return!!e.toLowerCase().match(/desktop/)}();return{dimensions:e,device:t,deviceSize:n,deviceWidthSize:o,orientation:i,isIOS:r,isEdge:d,isSafari:h,isDesktopSize:u,isDesktopWidth:g,isSocialWebview:function(){const e=(navigator.userAgent||"").toLowerCase();return["instagram","webview","fban","fbav"].some((t=>-1!==e.indexOf(t)))}()}}function a(){return{width:window.innerWidth,height:window.innerHeight}}function s(){if("undefined"!=typeof window){const e=(""+navigator.userAgent).toLowerCase();if(-1!==e.indexOf("android"))return"android";if(-1!==e.indexOf("iphone"))return"iphone";if(-1!==e.indexOf("ipad"))return"ipad"}return navigator.maxTouchPoints>1?"tablet":"desktop"}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(),n=arguments.length>2?arguments[2]:void 0;if("iphone"==t)return"mobile";const r=o.Z.get(),l=(0,i.RK)(r,"appData.styling.variables.breakTablet","767").replace("px",""),p=[[+l,"mobile"],[+(0,i.RK)(r,"appData.styling.variables.breakSmallDesktop","1024").replace("px",""),"tablet"],[+(0,i.RK)(r,"appData.styling.variables.breakDesktop","1280").replace("px",""),"smallDesktop"],[+(0,i.RK)(r,"appData.styling.variables.breakLargeDesktop","1600").replace("px",""),"desktop"],[1/0,"largeDesktop"]];for(let o=0;o<p.length;o++){let[i,r]=p[o];if(!(e.width>=i))return"smallDesktop"===r&&e.width<e.height&&!n?"tablet":"mobile"!==r&&"tablet"!==t&&"desktop"!==t&&"landscape"===c({width:e.width,height:e.height})&&e.height<l&&!n?"mobile":r}return"unknown"}function c(e){let{width:t,height:n}=e;return t>n?"landscape":"portrait"}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l();const t=c(a());return"desktop"===e||"largeDesktop"===e||"smallDesktop"===e&&"landscape"===t}function d(){return window.top!==window.self||/[?&]iframe([=&]|$)/i.test(location.search)}function h(){if((0,i.RK)(o.Z.get(),"appData.options.bareboneShowtimesView",!1))return!0;
2if("undefined"==typeof window)return!1;const e=/[?&]showbarebones([=&]|$)/i.test(location.search);return d()&&e}function u(){if((0,i.RK)(o.Z.get(),"appData.options.bareboneShowtimesView",!1))return!0;if("undefined"==typeof window)return!1;const e=/[?&]showbarebones=showtimes([&]|$)/i.test(location.search);return d()&&e}},5522:(e,t,n)=>{"use strict";n.d(t,{AN:()=>c,HH:()=>p,vW:()=>l});var o=n(9984),i=n(7320),r=n(7867),a=n(9582);const s=async()=>{const e=await l();return{lat:e.lat,lon:e.lon}},l=(0,o.Z)((async()=>{let e=await fetch("https://stdata.powster.com/geo"),t=await e.json();return t&&t.countryCode&&(t.countryCode=t.countryCode.toLowerCase()),t}));async function c(e){const t=["us",...(0,r.Od)((0,a.ku)().boundingRegions)].map((e=>e.toUpperCase()));if(!(e=Object.assign({region:t.join(",")},await s(),e)).search)throw new Error("Searching with empty value");const n=await(0,i.hi)("/geo/search",e);if(!n?.response)throw new Error("Unable to search for "+e.search);return n.response.sort(((e,n)=>{let o=t.includes(e.countryCode),i=t.includes(n.countryCode);return o&&!i?-1:!o&&i?1:0}))}async function p(e){let t=await c(e);if(!t?.[0])throw new Error("No results for "+e.search);return t[0]}},9582:(e,t,n)=>{"use strict";n.d(t,{Dr:()=>E,RB:()=>L,IQ:()=>l,CF:()=>R,ds:()=>m,j4:()=>y,R4:()=>f,pz:()=>A,xE:()=>g,_m:()=>I,ku:()=>x,sZ:()=>d,mt:()=>c,Y9:()=>b,ip:()=>_,P8:()=>T,Nb:()=>k,Se:()=>h,nO:()=>v});var o=n(1163),i=n(2680),r=n(7867);function a(e,t,n){if(++n>10)return t;return((0,r.RK)(e,t,t)+"").replace(/(\\)?%([^% ]+)%/g,((t,o,i)=>o?"%"+i+"%":a(e,i,n)))}function s(e,t){return a(e,t,0)}function l(e){return Object.assign(e.client,(0,i.dz)()),e}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof e||!e)return e;t||(t=o.Z.get().client);let{deviceSize:i="mobile",orientation:r="portrait"}=t;"largeDesktop"!==i&&"smallDesktop"!==i||(i="desktop");let a=`${i}${r[0].toUpperCase()+r.slice(1)}`;return n.nullIfDisabled&&void 0===e[a]&&void 0===e[i]?null:("mobileLandscape"!==a||e.mobileLandscape||(a="tabletLandscape"),"tabletLandscape"!==a||e.tabletLandscape||(a="desktopLandscape",i="desktop"),e[a]||e[i]||e.desktop||e.tablet||e.mobile)}const p=e=>"string"==typeof e?e.replace(/\b(\d+)vh\b/g,"calc($1 * var(--vh))"):e;function d(e){return function(e){const t=c(e);return t?"string"==typeof t?p(t):Object.fromEntries(Object.entries(t).map((e=>{let[t,n]=e;return[t,p(n)]}))):t}(e?.titleTreatmentSize)||{}}function h(e){return e&&"string"==typeof e&&2===(e=e.toUpperCase().replace(/^([A-Z]{2})_.+$/,"$1")).length?e:null}function u(e){let t=e?.path||"/",n="";return t.startsWith("#")&&(n=t,t="/",e.section&&(t=o.Z.get().pages?.boltHome?.path||"/")),{path:t,hash:n}}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof window?location.search:"",n=arguments.length>2?arguments[2]:void 0,i=o.Z.get(),a=i.activePage,s="string"==typeof e?i.appData?.pages?.[e]:e;if(!s)return null;"object"==typeof t&&(t=(0,r.UK)(t));let{path:l,hash:c}=u(s);c||(c=n||"");let p=(0,r.RK)(i,["appData","pages",a]);return p?u(p).path.slice(1).split("/").slice(1).fill("../").join("")+l.slice(1)+t+c||"./":l+t+c}function f(e){let t=location.pathname+location.hash,n=Object.values(e||o.Z.get().appData.pages||{}).map((e=>{let n=e.path;return e.baseHtml&&(n=n?.startsWith("#")?e.baseHtml+n:n+e.baseHtml),t.replace("preview/","").includes(n)?{id:e.id,count:n.length}:null})).filter((e=>e)).sort(((e,t)=>e.count-t.count)).pop();return n?.id}function m(){const e=Object.values(o.Z.get().appData.pages),t=e.find((e=>"home"===e.page))||e[0];return t?t.id:null}function _(e){return"videos"===o.Z.get().appData.pages[e]?.type}function y(e){const t=Object.values(o.Z.get().appData.pages).filter((e=>"videos"===e.type)),n=t.find((t=>Object.values(t.data?.list).find((t=>t.youtubeId===e||t.vimeoId===e||t.videoSrc===e))));return n?.id||"boltVideos"}function v(e,t){if(!arguments.length){const n=o.Z.get();e=(0,r.RK)(n,"appData.options.forceLive"),t=(0,r.sG)((0,r.RK)(n,"appData.meta.dates.live")||(0,r.RK)(n,"appData.meta.dates.release"))}return e||t<=Date.now()}const b=e=>{const t=o.Z.get().appData;if(!t?.options?.dualView)return!1;e||(e=Object.values(t.pages));const n=e.find((e=>"showtimes"===w(e))),i=e.find((e=>"homeEnt"===w(e))),r=e.find((e=>"stickAndScaleWidget"===w(e)));return n&&v()&&i||n&&i&&r},w=e=>e.component||e.type;function E(e,t){const n=document.createElement("style"),o=document.head.appendChild(n).sheet;Array.isArray(t)&&(t=t.join(";")),t&&"object"==typeof t&&(t=Object.entries(t).map((e=>{let[t,n]=e;return`${t}:${"content"===t?"'"+n+"'":n}`})).join(";")),o.insertRule(e+"{"+t+"}",o.cssRules.length)}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.startsWith("@"))return o.Z.emit("OPEN_RESERVED_VARIABLE_LINK",e);if(e.includes("#")&&!e.startsWith("#")){const t=e.match(/^([\w\d_-]+)#([\w\d_-]+)$/);return void(3===t?.length&&o.Z.emit("SET_ACTIVE_PAGE",t[1],null,{hashInPage:`#${t[2]}`}))}const n=o.Z.get().appData?.pages;let i=n?.[e];
2return i||(i=Object.values(n||{}).find((t=>t.path===e||t.path===`/${e}/`))),i?i.section||i.type||"boltHome"===e?void("showtimes"===i?.type?o.Z.emit("SHOWTIMES_SHOW",t?.animate,t.queryString):"homeEnt"===i?.type?o.Z.emit("HOMEENT_SHOW",void 0,void 0,e):"pressKit"===i?.type?o.Z.emit("PRESSKIT_SHOW",void 0,void 0,e):"videos"===i?.type?o.Z.emit("OPEN_VIDEO_OVERLAY",e):(o.Z.emit("CLOSE_ALL_OVERLAYS"),o.Z.emit("SET_ACTIVE_PAGE",e),o.Z.emit("CHANGE_ACTIVE_SECTION",e,{instant:!1!==t?.instant}),"stickAndScaleWidget"===i?.type&&o.Z.emit("EXPAND_WIDGET"))):(o.Z.emit("CLOSE_ALL_OVERLAYS"),void o.Z.emit("SET_ACTIVE_PAGE",e)):void 0}const S=e=>"object"==typeof e&&null!==e;function C(e,t){return S(t)?(Object.entries(t).forEach((t=>{let[n,o]=t;S(o)?e[n]=C(S(e[n])?e[n]:{},o):e[n]=o})),e):e}function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.reduce(((e,t)=>C(e,t)),e)}function A(e){let t=e?.store||o.Z.get(),n=e?.appData||t.appData,i=e?.page||t.activePage,r=e?.meta||function(){let{store:e=o.Z.get(),appData:t=e.appData,page:n=e.activePage}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t?.doc?.metaTags,r=i?.pageSpecificMetaTags?.[n];return O({},i,r)}({store:t,appData:n,page:i}),a=r.title,l=n.pages?.[i],c=l?s(n.copy?.baseCopy,l.name):"";return s({...n.copy?.baseCopy,PAGE_NAME:c},a)}function R(){const e=document.querySelector("#header");if(!e)return 0;const t=getComputedStyle(e).height;return parseInt(t,10)}function T(e,t){const n=document.createElement("a");n.href=e,n.target=t||"_blank",n.rel="noopener",n.click()}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return Object.values(Object.fromEntries(e.map((e=>[e?.[t],e]))))}function I(e){return"undefined"==typeof window?[]:[...document.querySelectorAll("[data-section]")].filter((t=>e.find((e=>e.id===t.getAttribute("data-section")))&&t.hasChildNodes()))}function x(){let e=o.Z.get(),t=e.activePage;const n=e.appData?.pages?.[t]?.type,i="showtimes"===n||"filmPage"===n?t:"boltShowtimes";let r=e.appData?.pages?.[i]?.data||{};return"filmPage"===n&&(r=Object.values(e.appData?.pages?.[t]?.data||{}).find((e=>"showtimes"===e.type))?.data||{}),r}},9306:(e,t,n)=>{"use strict";n.d(t,{K:()=>h});var o=n(1163),i=n(9984),r=n(6442),a=n(7867),s=n(9824),l=n(1233);const c=(0,i.Z)((()=>{let e=(0,a.sG)(o.Z.get().appData?.pages?.boltShowtimes?.data?.defaultDate);return Number.isNaN(+e)?null:(0,s.Z)(e,"yyyy-MM-dd")})),p=e=>"string"==typeof e&&e.split(",").map((e=>e.trim())).filter((e=>e)),d=["morning","afternoon","evening","late"],h=async e=>{let t=(0,r.Z)(e),n={audioDetails:[]};const o=p(t.format);o?.length&&(n.format=o,n.format.includes("dolby")&&(n.format=n.format.filter((e=>"dolby"!==e)),n.audioDetails.push("Dolby Cinema")));const i=(p(t.time)||[]).filter((e=>d.includes(e)));i?.length&&(n.time=i);const h=p(t.chain||t.exhibitor);h?.length&&(n.exhibitor=h);const u=await l.ZP.call("querystring.filters.movie",p(t.movie||t.title));u?.length&&(n.movie=u);const g=(0,a.sG)(t.date),f=c();let m=Date.now();return g&&!Number.isNaN(+g)&&g>m?n.date=[(0,s.Z)(g,"yyyy-MM-dd")]:f&&new Date(f)>m&&(n.date=[f]),n}},6986:(e,t,n)=>{"use strict";n.d(t,{U1:()=>o,oQ:()=>i});const o=(e,t,n)=>new Promise((o=>{let i="out"===t?0:1;const r=e.style.transition;setTimeout((()=>{e.style.transition=r,o(!0)}),n+100),e.style.transition=`opacity ${n}ms`,e.style.opacity=i})),i=async(e,t,n)=>await((e,t,n)=>new Promise(((o,i)=>{let r,a;switch(t){case"left":r="translateX(-100%)",a="translateX(100%)";break;case"right":r="translateX(100%)",a="translateX(-100%)";break;case"up":r="translateY(100%)",a="translateY(-100%)";break;case"down":r="translateY(-100%)",a="translateY(100%)"}setTimeout((()=>o(!0)),n),e.style.transition="all 0.5s ease",e.style.opacity="0",e.style.transform=r,setTimeout((()=>{e.style.transition="",e.style.transform=a}),400),setTimeout((()=>{e.style.opacity="1",e.style.transition="all 0.5s ease",e.style.transform=""}),600)})))(e,t,n)},9040:(e,t,n)=>{"use strict";n.d(t,{Vh:()=>l,iv:()=>p,t:()=>c});var o=n(7692),i=n(5703),r=n(8617);const a={jpg:"jpeg",png:"png"},s=e=>`image/${a[e]||e}`;function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jpg";return(0,r.T)()?e:e?.replace(/\.webp$/,`.${t}`)}function c(e){let{src:t,fallbackFormat:n,...r}=e;if(!t?.endsWith?.(".webp"))return(0,i.h)("img",(0,o.Z)({},r,{src:t}));let a=t.replace(/webp$/,n||"jpg");return(0,i.h)("picture",null,(0,i.h)("source",{srcset:t,type:"image/webp"}),(0,i.h)("source",{srcset:a,type:s(n)}),(0,i.h)("img",(0,o.Z)({},r,{src:a})))}function p(e,t){return e?`url("${encodeURI(l(e,t))}")`:""}},9984:(e,t,n)=>{"use strict";function o(e){let t,n,o=!1,i=function(){return o||(o=!0,t=e.apply(this,arguments)),t};return i.expireIn=e=>{n=setTimeout((()=>this.reset()),e)},i.reset=()=>{clearTimeout(n),o=!1},i.force=function(){i.reset(),i.apply(this,arguments)},i}n.d(t,{Z:()=>o})}
2,649:(e,t,n)=>{"use strict";function o(e){let t=`${e}=`,n=document.cookie.split(";").map((e=>e.trim()));for(let e of n)if(e.startsWith(t))return e.slice(t.length);return null}function i(e,t,n){let o;+n&&(o=new Date(Date.now()+24*n*3600*1e3).toUTCString());let i=[[e,t],o&&["expires",o],["path","/"]];document.cookie=i.filter((e=>e)).map((e=>e.join("="))).join("; ")}n.d(t,{d:()=>i,e:()=>o})},138:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var o=n(1163);let i={},r=!1;const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;if(a&&"object"!=typeof a&&(a=null),!a&&!r||s){const e=o.Z.get();i=(e.appData&&e.appData.copy?e.appData.copy:e.copy)||{},r=!0}a||(a="accessibilityCopy"===s?i.accessibilityCopy:"baseCopy"===s||i.baseCopy?i.baseCopy:i);let l=null;return e&&("$"!==e.charAt(0)?(l=a["$"+e],void 0===l&&(l=a[e])):(l=a[e],void 0===l&&(l=a[e.substr(1)]))),void 0===l&&(l=n),Object.keys(t).forEach((e=>{let n=e;e.toUpperCase()!==e&&(n=e.replace(/([A-Z])/g," $1").replace(/ /g,"_").toUpperCase());const o=new RegExp("%"+n+"%","g");l=l.replace(o,t[e])})),l}},9824:(e,t,n)=>{"use strict";function o(e,t,n){if(!e||!t)return"";e instanceof Date||(e=new Date(e)),n=n?Object.assign({},i,n):i;let o,r,c,p,d="";for(o=0,r=t.length;o<r;o+=p){p=1,c=t[o];let i=a[c];if(i)p=s(t,o,c,r),d+=i(e,p,n);else switch(c){case":":d+=n.$TIME_SEPARATOR;break;case"/":d+=n.$DATE_SEPARATOR;break;case"'":case'"':p=l(t,o),d+=t.substr(o+1,p-2);break;case"\\":p=2,d+=o<r-1?t[o+1]:"\\";break;default:d+=c}}return d}n.d(t,{Z:()=>o});let i={$AM:"am",$PM:"pm",$TIME_SEPARATOR:":",$DATE_SEPARATOR:"/",$DAYS_SHORT:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$DAYS_FULL:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],$MONTHS_SHORT:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$MONTHS_FULL:["January","February","March","April","May","June","July","August","September","October","November","December"],$ORD:["th","st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"]},r=[e=>e,e=>(e||"").toUpperCase(),e=>(e||"").toLowerCase()],a={h:(e,t)=>c(e.getHours()%12||12,t),H:(e,t)=>c(e.getHours(),t),m:(e,t)=>c(e.getMinutes(),t),s:(e,t)=>c(e.getSeconds(),t),f:(e,t,n,o)=>{let i=e.getMilliseconds(),r=t;for(;r++<3;)i=~~(i/10);for(;r-- >4;)i*=10;return o&&!i?"":c(i,t)},F:(e,t,n)=>a.f(e,t,n,!0),t:(e,t,n,o)=>{let i=e.getHours()<12?n.$AM:n.$PM;return i=o?i.toUpperCase():i.toLowerCase(),1==t&&(i=i.slice(0,1)),i},T:(e,t,n)=>a.t(e,t,n,!0),d:(e,t,n)=>{if(t<=2)return c(e.getDate(),t);return(0,r[((t-=3)>>1)%r.length])(n[t%2?"$DAYS_FULL":"$DAYS_SHORT"][e.getDay()])},o:(e,t,n)=>{let o=e.getDate();return c(o,t)+n.$ORD[o]},M:(e,t,n)=>{if(t<=2)return c(e.getMonth()+1,t);return(0,r[((t-=3)>>1)%r.length])(n[t%2?"$MONTHS_FULL":"$MONTHS_SHORT"][e.getMonth()])},y:(e,t)=>{let n=e.getFullYear();return t<=2&&(n%=100),c(n,t)},z:(e,t,n)=>{let o=e.getTimezoneOffset(),i=o<0?"-":"+";o=Math.abs(o);let r=~~(o/60);return i+=c(r,t<=2?t:2),t>2&&(i+=n.$TIME_SEPARATOR+c(o-60*r,2)),i}};function s(e,t,n,o){let i=t+1;for(null==o&&(o=e.length);i<o&&e[i]===n;i++);return i-t}function l(e,t){let n=e[t],o=t;do{o=e.indexOf(n,o+1)}while(-1!==o&&"\\"===e[o-1]);return-1===o&&(o=e.length),o-t+1}function c(e,t){let n=e+"",o=n.length;for(;o++<t;)n="0"+n;return n}},4076:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(2858);class i{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.category=e,this.pixel=t,this.shouldQueue=n}createTrigger(){var e=this;return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.gC)(e,e.shouldQueue,n)}}}},6067:(e,t,n)=>{"use strict";n.d(t,{BN:()=>l,Ht:()=>c,U2:()=>a,e$:()=>s,t8:()=>r});var o=n(5604);const i={categories:[],changeListeners:[]},r=e=>{const t=e.map((e=>e.toUpperCase())).filter((e=>o[e]));i.categories=t,window.powsterOneTrust=[...t],i.changeListeners.forEac
2h((e=>e(i.categories)))},a=()=>i.categories,s=e=>i.categories.includes(e),l=e=>{i.changeListeners.push(e)},c=e=>{i.changeListeners=i.changeListeners.filter((t=>t!==e))}},5604:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ADVERTISING:()=>s,FUNCTIONAL:()=>i,PERFORMANCE:()=>r,SOCIAL:()=>l,STRICTLY_NECESSARY:()=>o,TARGETING:()=>a});const o="STRICTLY_NECESSARY",i="FUNCTIONAL",r="PERFORMANCE",a="TARGETING",s="ADVERTISING",l="SOCIAL"},8285:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(5703),i=n(6067);function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return class extends o.wA{constructor(e){super(e),this.onCategoriesChange=this.onCategoriesChange.bind(this),this.state.categories=[...i.U2()]}componentDidMount(){i.BN(this.onCategoriesChange)}componentWillUnmount(){i.Ht(this.onCategoriesChange)}shouldComponentUpdate(e,t){return t.categories!==this.state.categories||e.children!==this.props.children}onCategoriesChange(e){this.setState({categories:[...e]})}render(){let e=t.map((e=>{if(!e)return;let[t,n]=e;return i.e$(this.state.categories,t)?n:void 0})).filter((e=>e));return(0,o.h)("div",null,e.map((e=>(0,o.h)(e,this.props))))}}}},5235:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});const o=(e,t)=>{const n={bubbles:!1,cancelable:!1,detail:t||null};let o=window.CustomEvent;if("function"!=typeof o){function r(e,t){const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}r.prototype=window.Event.prototype,o=r}const i=new o(e,n);window.dispatchEvent(i)}},8537:(e,t,n)=>{"use strict";n.d(t,{A8:()=>o});var o=n(7118),i=(n(5703),n(6067)),r=n(5604);const a={c1:r.STRICTLY_NECESSARY,c2:r.PERFORMANCE,c3:r.FUNCTIONAL,c4:r.TARGETING},s=e=>{const t=(Array.isArray(e)?e:e.split(",")).map((e=>a[e])).filter((e=>!!e));i.t8(t)};var l=n(2858),c=n(7867),p=n(5235);n(4076),n(3471),n(4697),n(8285);function d(){if(!window.utag)return[];const e={},t=function(){let e=("; "+document.cookie).split("; CONSENTMGR=");if(2==e.length)return window.utag.ut.decode(e.pop().split(";").shift())}(),n="string"===window.utag.gdpr.typeOf(t)?t:"";if(window.utag.data&&(window.utag.data["cp.CONSENTMGR"]=n),n){let t,o,i=decodeURI(n).split("|");for(t=0;t<i.length;t++)o=i[t].split(":"),e[o[0]]=o[1]}return window.utag.gdpr.values=e,Object.keys(e).reduce(((t,n)=>("1"===e[n]&&["c1","c2","c3","c4"].indexOf(n)>-1&&t.push(n),t)),[])}if(i.BN((e=>{(0,p.N)("categoriesUpdated",{categories:e})})),i.BN((e=>{l.LP(e)})),"undefined"!=typeof window){let e=!1;if((0,c.RK)(window,"__INITIAL_STATE__.appData.options.enableTealiumCookieConsent",!1)&&!e){const t=d();s(t),window.addEventListener("consentdecided",(()=>{const e=d();return s(e)})),e=!0}}const h={all:[r.STRICTLY_NECESSARY,r.FUNCTIONAL,r.PERFORMANCE,r.TARGETING,r.ADVERTISING,r.SOCIAL],"tag manager":r.STRICTLY_NECESSARY,"website optimization":r.PERFORMANCE,"business intelligence":r.PERFORMANCE,optimizer:r.PERFORMANCE,video:r.PERFORMANCE,publisher:r.PERFORMANCE,agency:r.PERFORMANCE,mobile:r.PERFORMANCE,"data aggregator/supplier":r.FUNCTIONAL,"content management/saas":r.FUNCTIONAL,"online privacy platform":r.FUNCTIONAL,advertisers:r.TARGETING,"marketing solutions":r.TARGETING,"demand side platform":r.TARGETING,"data management platform":r.TARGETING,"supply side platform":r.TARGETING,"social media":r.TARGETING,retargeter:r.TARGETING,"research provider":r.TARGETING,"analytics provider":r.TARGETING,"creative/ad format technology":r.TARGETING,other:r.TARGETING};if(i.BN((e=>{(0,p.N)("categoriesUpdated",{categories:e}),l.LP(e)})),"undefined"!=typeof window&&window.evidon){let e,t=[window.evidon.priorConsentCallback],n=function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];n!==e&&(e=n,t.forEach((e=>{try{e?.(n,...r)}catch(e){}})),(e=>{const t=(e=Array.isArray(e)?e:Object.entries(e).map((e=>{let[t,n]=e;return n&&t})).filter((e=>e))).flatMap((e=>h[e])).filter((e=>!!e));i.t8(t)})(n))};const o=e=>{Object.defineProperty(e,"priorConsentCallback",{get:()=>n,set(e){t.push(e)}})};o(window.evidon);let r=window.evidon;Object.defineProperty(window,"evidon",{get:()=>r,set(e){o(e),r=e}})}const u={cookies:r.STRICTLY_NECESSARY,ad_delivery:r.TARGETING,advertising_personalization:r.TARGETING,content_personalization:r.TARGETING,cookies_marketing:r.TARGETING,create_ads_profile:r.TARGETING,create_content_profile:r.TARGETING,device_access:r.TARGETING,improve_products:r.TARGETING,link_devices:r.TARGETING,market_research:r.TARGETING,measure_ad_performance:r.TARGETING,offline_match:r.TARGETING,precise_geo:r.TARGETING,select_basic_ads:r.TARGETING,select_personalized_ads:r.TARGETING,select_personalized_content:r.TARGETING,measure_content_performance:r.PERFORMANCE,analytics:r.PERFORMANCE,cookies_analytics:r.PERFORMANCE,cookies_social:r.SOCIAL},g=e=>{const t=(Array.isArray(e)?e:e.split(",")).map((e=>u[e])).filter((e=>!!e));i.t8(t)};function f(){return window.Didomi.getUserConsentStatusForAll().purposes.enabled}if(i.BN((e=>{(0,p.N)("categoriesUpdated",{categories:e})})),i.BN((e=>{l.LP(e)})),"undefined"!=typeof window){let e=!1;(0,c.RK)(window,"__INITIAL_STATE__.appData.options.didomiCookieConsent",!1)&&(e||(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push((function(){const e=f();g(e),window.Didomi.on("consent.changed",(function(){const e=f();return g(e)}))})),e=!0))}var m=n(7993);if("undefined"!=typeof window){(0,c.RK)(window,"__INITIAL_STATE__.appData.options.SMECookieConsent",!1)&&function e(){let t=m.Z.get("sme_cookie_en");const n=document.getElementById("sme_cookie_accept");n||t?t?i.t8([r.STRICTLY_NECESSARY,r.FUNCTIONAL,r.TARGETING,r.ADVERTISING,r.PERFORMANCE]):n.addEventListener("click",(()=>{i.t8([r.STRICTLY_NECESSARY,r.FUNCTIONAL,r.TARGETING,r.ADVERTISING,r.PERFORMANCE])})):window.setTimeout(e,100)}()}},3471:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var o=n(4076);const i=(e,t,n)=>{const i=(e=>{if("string"==typeof e)return e.trim().toUpperCase()||void 0})(e);if(void 0===i)return t();return new o.Z(i,t,n).createTrigger()()}},4697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(5703);var o=n(6067);function i(e,t){return class extends t{constructor(e){super(e),this.onOneTrustCategoriesChange=this.onOneTrustCategoriesChange.bind(this),this.state=this.state||{},this.onOneTrustCategoriesChange(o.U2())}componentDidMount(){super.componentDidMount&&"function"==typeof super.componentDidMount&&super.componentDidMount(...arguments),o.BN(this.onOneTrustCategoriesChange)}componentWillUnmount(){super.componentDidMount&&"function"==typeof super.componentWillUnmount&&super.componentWillUnmount(...arguments),o.Ht(this.onOneTrustCategoriesChange)}onOneTrustCategoriesChange(t){let n=[...t],i="function"==typeof e?e(this.props,this.state):e,r=!0===i||o.e$(i);this.setState({oneTrustCategories:n,oneTrustAllowed:r})}}}},7118:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ADVERTISING:()=>r.ADVERTISING,FUNCTIONAL:()=>r.FUNCTIONAL,PERFORMANCE:()=>r.PERFORMANCE,Pixel:()=>u.Z,STRICTLY_NECESSARY:()=>r.STRICTLY_NECESSARY,TARGETING:()=>r.TARGETING,connectToOneTrust:()=>f.Z,createPixelComponent:()=>m.Z,displayModal:()=>_,maybeHandle:()=>g.O,waitForOneTrust:()=>v});n(5703);var o=n(1163),i=n(6067),r=n(5604);const a={1:r.STRICTLY_NECESSARY,2:r.PERFORMANCE,3:r.FUNCTIONAL,4:r.TARGETING,5:r.SOCIAL,8:r.SOCIAL,C0001:r.STRICTLY_NECESSARY,C0002:r.P
2ERFORMANCE,C0003:r.FUNCTIONAL,C0004:r.TARGETING,C0005:r.SOCIAL,C0007:r.PERFORMANCE,C0008:r.SOCIAL},s=e=>{const t=(Array.isArray(e)?e:e.split(",")).map((e=>a[e])).filter((e=>!!e));i.t8(t)};var l=n(2858),c=n(7867);function p(){let e=Date.now();const t=[...document.querySelectorAll(["#onetrust-consent-sdk","#optanon"])].find((e=>!!e));if(t){let e=document.getElementsByClassName("optanon-alert-box-wrapper");return e&&e.length&&(e[0].style.display="none"),void(t.style.display="none")}Date.now()-e<3e4&&setTimeout(p,100)}var d=n(18),h=n(5235),u=n(4076),g=n(3471),f=n(4697),m=n(8285);const _=()=>{if("object"==typeof window){const e=window.Optanon||window.OneTrust;e&&"object"==typeof e&&"function"==typeof e.ToggleInfoDisplay&&e.ToggleInfoDisplay()}},y=(0,d.Z)(),v=async()=>y;function b(e){let t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}if(i.BN((e=>{(0,h.N)("categoriesUpdated",{categories:e}),l.LP(e)})),"undefined"!=typeof window){let e=!1;const t=window.OptanonWrapper;!function(){if(window.self!==window.top){window.addEventListener("message",(e=>{let t=e&&e.data;if(t&&"object"==typeof t&&t.OptanonActiveGroups&&window.Optanon){let e=null;const n=new Date,o=new Date(n.getFullYear()+1,n.getMonth(),n.getDate());setTimeout((()=>{t.OptanonConsent&&(e=t.OptanonConsent,document.cookie=`${e};expires=${new Date(o).toUTCString()};path=/;SameSite=None;Secure`),t.OptanonAlertBoxClosed&&(e=t.OptanonAlertBoxClosed,document.cookie=`${e};expires=${new Date(o).toUTCString()};path=/;SameSite=None;Secure`),t.OptanonActiveGroups&&(window.OnetrustActiveGroups=t.OptanonActiveGroups,window.OptanonActiveGroups=t.OptanonActiveGroups),setTimeout((()=>{let e=new CustomEvent("consent.onetrust",{detail:t.OptanonActiveGroups.split(",").filter((e=>e))});window.dispatchEvent(e),window.dataLayer&&window.dataLayer.push({event:"OneTrustGroupsUpdated",OptanonActiveGroups:t.OptanonActiveGroups,OnetrustActiveGroups:t.OptanonActiveGroups})}))}))}}));const e=(0,c.RK)(window.__INITIAL_STATE__,"appData.apis.tracking.oneTrust",{}),t=(0,c.RK)(window.__INITIAL_STATE__,"appData.options.oneTrustCookieConsent",{});(e.displayInIframe||t.displayInIframe)&&setTimeout(p,100)}}(),window.OptanonWrapper=function(){if(y.resolve(),"function"==typeof t&&t(),window.dataLayer&&window.dataLayer.push({event:"OneTrustGroupsUpdated"}),function(){function e(e){return document.cookie.split(";").map((e=>e.trim())).find((t=>0===t.indexOf(e)))}let t=e("OptanonConsent"),n=e("OptanonAlertBoxClosed");if(window.self===window.top){let e={OptanonConsent:t,OptanonAlertBoxClosed:n,OptanonActiveGroups:window.OptanonActiveGroups};for(let t=0;t<window.frames.length;t++)"function"==typeof window.frames[t].postMessage&&window.frames[t].postMessage(e,"*")}}(),function(){const e=(0,c.RK)(o.Z.get(),"appData.apis.tracking.oneTrust.oneTrustFix"),t=(0,c.RK)(o.Z.get(),"appData.apis.tracking.oneTrust.oneTrustOverlapFix");if(e&&!b("OptanonAlertBoxClosed")){let e=document.querySelectorAll(".optanon-white-button-middle, .accept-cookies-button");const t=()=>{let e=document.getElementById("optanon");e&&(e.style.opacity=0,e.style.transition="opacity .8s",setTimeout((()=>{const t=document.getElementById("optanon-popup-bg");t&&(t.style.display="none",e.style.opacity=1)}),800))};[...e].forEach((e=>{return o="click",i=t,void((n=e)&&(n.addEventListener?n.addEventListener(o,i,!1):n.attachEvent&&n.attachEvent("on"+o,i)));var n,o,i}))}e&&!b("OptanonAlertBoxClosed")&&t&&setTimeout((()=>{const e=(0,c.RK)(o.Z.get(),"client.pixelConsent"),t=document.querySelectorAll(".optanon-alert-box-wrapper"),n=t[0]&&t[0].style&&t[0].style.getPropertyValue("display");e&&n&&"none"===n&&(document.getElementsByTagName("body")[0].style.transform="none")}),800)}(),!e){const t=window.OptanonActiveGroups;s(t),e=!0}},window.addEventListener("consent.onetrust",(e=>{let{detail:t}=e;return s(t)})),window.addEventListener("OneTrustGroupsUpdated",(e=>{let{detail:t}=e;return s(t)}))}},2858:(e,t,n)=>{"use strict";n.d(t,{LP:()=>s,gC:()=>r});var o=n(6067);const i={queue:[]},r=(e,t,n)=>o.e$(e.category)?e.pixel.apply(e,n):t?a(e,n):void 0,a=(e,t)=>{i.queue=[...i.queue,[e,t]]},s=()=>{const e=[...i.queue];i.queue=[],e.forEach((e=>{let[t,n]=e;return r(t,t.shouldQueue,n)}))}},6638:()=>{if("undefined"!=typeof window){let e=window.history;["pushState","replaceState"].forEach((t=>{let n=e[t].bind(e),o="on"+t.toLowerCase();e[t]=function(){let t=n(...arguments);return"function"==typeof e[o]&&e[o]({state:arguments.length<=0?void 0:arguments[0]}),t}}))}}
2,1233:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});const o={};const i={register:function(e,t,n){if("function"!=typeof t)return!1;o[e]||(o[e]=[]),t._priority=n??10,o[e].push(t),o[e].sort(((e,t)=>e._priority-t._priority))},call:async function(e,t,n){return o[e]?o[e].reduce((async(e,t)=>t(await e,n)),t):t}}},8617:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});const o=(0,n(9984).Z)((()=>{if("undefined"==typeof window)return;let e=document.createElement("canvas");return e?.toDataURL("image/webp")?.startsWith("data:image/webp")}))},4062:(e,t,n)=>{"use strict";function o(e,t,n){return e<=t?t:e>=n?n:e}function i(e,t,n,i,a,s,l){let c=(e-(p=t))/(n-p);var p;return s&&(c=o(c,0,1)),l&&("string"==typeof l&&(l=r[l]),"function"==typeof l&&(c=l(c))),function(e,t,n){return t+e*(n-t)}(c,i,a)}n.d(t,{bA:()=>i,uZ:()=>o});const r={linear:e=>e,ease:e=>1.0042954579734844*Math.exp(-6.404173895841566*Math.exp(-7.290824133098134*e)),quadIn:e=>e*e,quadOut:e=>e*(2-e),quadInOut:e=>e<.5?2*e*e:(4-2*e)*e-1,cubicIn:e=>e*e*e,cubicOut:e=>--e*e*e+1,cubicInOut:e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,quartIn:e=>e*e*e*e,quartOut:e=>1- --e*e*e*e,quartInOut:e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,quintIn:e=>e*e*e*e*e,quintOut:e=>1+--e*e*e*e*e,quintInOut:e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},6442:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});let o=e=>{try{return decodeURIComponent(e)}catch(t){return e}};function i(){return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"!=typeof location?location.search:"")||"").slice(1).split("&").reduce(((e,t)=>{const[n,...i]=t.split("=");return e[n]=!i.length||o(i.join("=")),e}),{})}},18:(e,t,n)=>{"use strict";function o(){let e,t,n=new Promise(((n,o)=>{e=n,t=o}));return n.resolve=e,n.reject=t,n}n.d(t,{Z:()=>o})},2652:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(5213),i=n.n(o);function r(e,t){return!i()(e,this.props,a)||!i()(t,this.state)}function a(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&!e.length&&!t.length}const s=function(e){return"class"!==e?.kind||(e.finisher=e=>class extends e{shouldComponentUpdate(){return r.apply(this,arguments)}}),e}},2347:(e,t,n)=>{"use strict";n.d(t,{GZ:()=>d});let o=function(){if("undefined"==typeof navigator)return!1;const e=(""+navigator.userAgent).toLowerCase();return-1!==e.indexOf("ipad")||-1!==e.indexOf("iphone")}(),i=Date.now||(()=>(new Date).getTime());function r(e,t){return e===window?(t?window.pageXOffset||document.documentElement.scrollLeft:window.pageYOffset||document.documentElement.scrollTop)||0:t?e.scrollLeft:e.scrollTop}function a(e){let t=e._smthscrl;t&&(cancelAnimationFrame(t.timer),t.timer=null,"function"==typeof t.callback&&t.callback(),t.callback=null)}const s={top:0,middle:50,bottom:100};function l(e,t,n){let i=e._smthscrl,l=r(e,n),c=n?1:0;if(null==i.previousScroll[c]&&(i.previousScroll[c]=l),l!==i.previousScroll[c]&&!i.force&&!o)return a(e);let p=i.to;if(Array.isArray(p)&&(p=p[c]),p instanceof Element){p=function(e,t,n){let o=n?"offsetLeft":"offsetTop",i=e[o],r=e;for(;(e=e.parentElement)&&e!==t;)e===r.offsetParent&&(r=e,i+=e[o]);if(t===window||e===t)return i}(i.to,e,n);let t=n?"clientWidth":"clientHeight",o=i.relativeTo;if("view"===o){let n=p-i.offsetStart,o=p-(e[t]-i.to[t])+i.offsetEnd;p=Math.min(Math.max(l+i.offset,o),n)}else o=s[o]||parseFloat(o)||0,p-=Math.max(e[t]-i.to[t],0)*o*.01}p-=i.offset,function(e,t,n){e===window?window.scrollTo(n?t:r(window,!0),n?r(window,!1):t):e[n?"scrollLeft":"scrollTop"]=t}(e,i.from[c]+t*(p-i.from[c]),n),i.previousScroll[c]=r(e,n)}const c={ver:[!1],hor:[!0],both:[!1,!0]};function p(e){let t=e._smthscrl;if(!t)return;t.timer&&(t.timer=requestAnimationFrame(p.bind(this,e)));let n=i()-t.start,o=t.duration;n>=o&&(n=o);let r=o?t.easing(n/o):1;return(c[t.direction]||[]).forEach((t=>l(e,r,t))),!o||n>=o?a(e):void 0}function d(e,t,n,o){if(null===e||"root"===e){let t=document;e=t.scrollingElement||(t.documentElement.scrollHeight>t.body.scrollHeight&&t.compatMode.startsWith("CSS1")?t.documentElement:t.body)}if(!e||void 0===t)return;let s=e._smthscrl;s&&s.timer&&a(e);let l="ver";switch((o=o||{}).direction){case"horizontal":case"hor":l="hor";break;case"both":l="both"}o.horizontal&&(l="hor");let c=[void 0,void 0];"ver"!==l&&"both"!==l||(c[0]=r(e,!1)),"hor"!==l&&"both"!==l||(c[1]=r(e,!0));let d=i();if(o.timeStart&&(d=o.timeStart<6e4?d+o.timeStart:o.timeStart),"function"==typeof n){n=n("both"===l?c:c["ver"===l?0:1],t,e)}
2return n=Number.isFinite(+n)?Math.abs(+n):300,s=e._smthscrl={timer:null,easing:"function"==typeof o.easing?o.easing:e=>1-(e=1-e)*e,to:t,direction:l,offset:o.offset||0,relativeTo:o.relativeTo||"top",offsetStart:o.offsetStart||0,offsetEnd:o.offsetEnd||0,from:c,previousScroll:[void 0,void 0],duration:n,force:!!o.force,callback:o.callback,start:d},n?s.timer=requestAnimationFrame(p.bind(this,e)):p(e),{stop:a.bind(this,e)}}},3e3:(e,t,n)=>{"use strict";async function o(e){await e.play()}n.d(t,{Z:()=>o})},7867:(e,t,n)=>{"use strict";n.d(t,{Ds:()=>i,FZ:()=>f,IH:()=>r,IV:()=>l,Kn:()=>b,Od:()=>h,Qr:()=>E,RK:()=>d,RQ:()=>v,UK:()=>_,WM:()=>p,cO:()=>S,cn:()=>s,pv:()=>a,sG:()=>y,uW:()=>u,ve:()=>k,vr:()=>g,xb:()=>w});var o=n(5703);function i(e,t){null==t&&(t=250);let n=null,o=[],i=null;function r(){e.apply(i,o)}return function(){i=this,o=[].slice.call(arguments),clearTimeout(n),n=setTimeout(r,t)}}function r(e){let t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments))}}function a(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")}function s(e,t){a(e,t)||(e.className+=(e.className?" ":"")+t)}function l(e,t){e.className=(" "+e.className+" ").replace(" "+t+" "," ").slice(1,-1)}function c(e){if(!e||"object"!=typeof e||Array.isArray(e))return e;let t=e.s,n=t&&"object"==typeof t,o=Object.keys(e).filter((t=>(!n||"s"!==t)&&e[t]));return n&&(o=o.map((e=>t[e]||e))),o.join(" ")}function p(){return[].concat.apply([],arguments).map(c).filter((e=>e)).join(" ")}function d(e,t,n){if("string"==typeof t&&(t=t?t.split("."):[]),!Array.isArray(t))return n;let o=t.length;if(!o)return e;for(let i=0;i<o;i++){let o=t[i];if(!e||!Object.prototype.hasOwnProperty.call(e,o))return n;e=e[o]}return e}function h(e){return e?"object"!=typeof e?[e]:(Array.isArray(e)||(e=Object.keys(e).map((t=>"boolean"==typeof e[t]?e[t]&&t:e[t]))),e.filter((e=>e))):[]}function u(e){return e&&Array.isArray(e)?e.reduce(((e,t)=>(-1===e.indexOf(t)&&e.push(t),e)),[]):e}function g(){return u([].concat.apply([],arguments))}function f(e,t,n){if(!e)return[];"string"==typeof t&&2===arguments.length&&(n=t,t=void 0);let o="function"==typeof(n=n||"order")?n:e=>e?.[n],i=Object.keys(e).map((t=>({key:t,value:e[t]}))).sort(((e,t)=>{if(!e.value)return 1;if(!t.value)return-1;let n=o(e.value,e.key),i=o(t.value,t.key),r=null==n,a=null==i;return r&&a?e.key.localeCompare(t.key,void 0,{numeric:!0}):r?1:a?-1:isNaN(n)||isNaN(i)?n.toString().localeCompare(i.toString()):n-i}));return"function"!=typeof t&&(t=e=>e),i.map(((e,n,o)=>t(e.value,e.key,n,o)))}function m(e,t,n){if(null==n)return e;if("object"!=typeof n)return e[t]=n;return Object.keys(n).forEach((o=>m(e,t+"["+o+"]",n[o]))),e}function _(e){if(!e)return"";let t=e;if("string"!=typeof e){let n={};Object.keys(e).forEach((t=>m(n,t,e[t]))),t=Object.keys(n).reduce(((e,t)=>{let o=n[t];if(null==o)return e;let i=encodeURIComponent(t);return"boolean"!=typeof o&&""!==o&&(i+="="+encodeURIComponent(o)),e.push(i),e}),[]).join("&")}return t?"?"+t:""}function y(e){if(!e||e instanceof Date)return e;if("number"==typeof e)return new Date(e);if("string"!=typeof e)return;let t=e.match(/^(?:(?:([0-9]{1,2})\/)?([0-9]{1,2})\/)?([0-9]{4})(?:,? (\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?$/);if(t)return new Date(+t[3],+(t[2]||1)-1,+(t[1]||1),+t[4]||0,+t[5]||0,+t[6]||0);if(t=e.match(/^(\d{1,4})-(\d{1,2})(?:-(\d{1,2})(?:[T ](\d{1,2}):(\d{1,2})(?::(\d{1,2})(\.\d+)?)?Z?)?)?$/),t)return new Date(+t[1],+t[2]-1,+t[3]||1,+t[4]||0,+t[5]||0,+t[6]||0);if(!Number.isNaN(+e))return new Date(+e);const n=new Date(e);return isNaN(n)?void 0:n}function v(){let e="",t=!1;for(let n=0,o=arguments.length;n<o;n++){let o=arguments[n];o&&(n>0&&"/"===o.charAt(0)&&(o=o.substring(1)),e+=t?"/"+o:o,t="/"!==e.charAt(e.length-1))}return e}(()=>{function e(e,t,n){return n>0&&e.push((0,o.h)("br",null)),e.push(t),e}})();function b(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function w(e){return 0===Object.keys(e).length}function E(e){return null==e||0===Object.keys(e).length}const k=e=>new Promise(((t,n)=>{let o=document.createElement("script");o.onload=t,o.onerror=n,o.src=e,document.body.appendChild(o)})),S=(e,t)=>!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every(((e,n)=>e===t[n])))},4024:(e,t,n)=>{"use strict";n.d(t,{Kl:()=>a,M2:()=>s,vL:()=>r,wf:()=>i});var o=n(4062);function i(e){if(!e)return;const t=e.getBoundingClientRect(),n=window.innerHeight,i=(0,o.uZ)(t.top,0,n),r=(0,o.uZ)(t.bottom,0,n);return Math.abs(r-i)/Math.min(t.height,n)}function r(e){if(e)return i(e)>.5}function a(e){return"undefined"!=typeof window&&e?e/window.innerHeight+.01:0}function s(e){if(!e)return;const t=e.getBoundingClientRect();return t.top<=25&&t.bottom>25}},9987:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});const o=["STRICTLY_NECESSARY","TARGETING","FUNCTIONAL"]},1385:(e,t,n)=>{"use strict";n.d(t,{g1:()=>f,lc:()=>b,L1:()=>w,NS:()=>E});var o=n(7692),i=n(5703),r=n(1163),a=n(3408),s=n(7867),l=n(9306),c=n(9824),p=n(6442),d=n(5522);let h=(0,c.Z)(new Date,"yyyy-MM-dd");async function u(e){let t=await(0,l.K)(e);r.Z.get()?.showtimes?.filters?.selected?.set(t),t?.date&&r.Z.get()?.showtimes?.filters?.set("userSelectedDate",!0)}
2r.Z.on("SHOWTIMES_SHOW",((e,t,n)=>{if(!n){const e=r.Z.get().appData?.pages||{},t=Object.values(e).find((e=>"showtimes"===e.type));n=t?.id}(0,a.d)(e,"showtimes",!1,t,n),t&&u(t)})),r.Z.on("SHOWTIMES_SEARCH_OVERLAY_SHOW",(()=>{r.Z.emit("ENABLE_SCROLLING_LOCK"),r.Z.get().header.set({showtimesSearchOverlay:!0})})),r.Z.on("SHOWTIMES_SEARCH_OVERLAY_HIDE",(()=>{r.Z.emit("DISABLE_SCROLLING_LOCK"),r.Z.get().header.set({showtimesSearchOverlay:!1})})),r.Z.on("SHOWTIMES_HIDE",(function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,a.I)(e,t,"showtimes")})),r.Z.on("CLOSE_ALL_OVERLAYS",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.Z.emit("SHOWTIMES_HIDE",e.animate,!1)})),r.Z.on("LANDING",(async()=>{let e=r.Z.get(),t=e.appData?.pages?.[e.activePage]?.type;("showtimes"===t||"filmPage"===t||"homeEnt"===t)&&e.limitExceeded||r.Z.emit("SET_LANDING_LOCATION");let n=Object.values(e.appData?.pages).find((e=>"filmPage"===e.type||"showtimes"===e.type));if("filmPage"===n?.type&&(n=Object.values(n.data)?.find((e=>"showtimes"===e.type))||{}),!n?.data?.useV2){let t=e?.showtimes?.filters;t?.selected&&t.selected.set("date",[h])}})),r.Z.on("SET_LANDING_LOCATION",(async()=>{let e=d.vW,t=(0,p.Z)();const{lat:n,lon:o,location:i,country:a}=t;if(+n&&+o){let t=a;a||(t="us".replace(/^([a-z]{2})_.+$/i,"$1")),e={lat:+n,lon:+o,city:i,country:t}}else i&&"string"==typeof i&&(e=()=>(0,d.HH)({search:i}));r.Z.emit("SET_USER_LOCATION",e,"landing")})),r.Z.on("LANDING_QUERY",(async()=>{await u()}));n(5012),n(1289);const g={bugFix:"sidePanelLoader__bugFix__j8VVt",container:"sidePanelLoader__container__RzwgD",animate:"sidePanelLoader__animate__sT7el",placeholder:"sidePanelLoader__placeholder__nWur0",displayed:"sidePanelLoader__displayed__dJ7cm",scroller:"sidePanelLoader__scroller__Odg2Y",content:"sidePanelLoader__content__QrUrd"};class f extends i.wA{constructor(e){super(e),"showtimesLoader"===e.key?this.compName="showtimes":"homeEntLoader"===e.key?this.compName="homeEnt":"pressKitLoader"===e.key&&(this.compName="pressKit"),this.load=this.load.bind(this)}componentWillReceiveProps(e){e.store[this.compName]?.show&&this.load()}async load(){if(this.loadStarted)return;this.loadStarted=!0;const e=this.props.store?.appData.options.useShowtimes2,t=this.props.store?.appData.options.useHomeEnt2;let o;"showtimes"===this.compName?o=e?await Promise.all([n.e(715),n.e(872),n.e(443),n.e(359),n.e(470)]).then(n.bind(n,7470)):await Promise.all([n.e(715),n.e(872),n.e(443),n.e(359),n.e(392)]).then(n.bind(n,7604)):"homeEnt"===this.compName?o=t?await Promise.all([n.e(715),n.e(872),n.e(443),n.e(696)]).then(n.bind(n,2552)):await Promise.all([n.e(715),n.e(872),n.e(443),n.e(696)]).then(n.bind(n,4223)):"pressKit"===this.compName&&(o=await Promise.all([n.e(872),n.e(738)]).then(n.bind(n,573))),this.setState({component:o})}render(e){let t=e.store[this.compName],n=t?.show,r=t?.animate,{pushDown:a,height:l,cookieBannerOpen:c}=(0,s.RK)(e,"store.cookies")||{};const p=(0,s.RK)(e,"store.externalCookieBanner.bannerOpen"),d=p||a&&c;p&&(l=(0,s.RK)(e,"store.externalCookieBanner.height"));const h={top:`${l}px`,height:`calc(var(--windowHeight) - ${l}px)`};let u=(0,i.h)("div",{class:g.placeholder,key:"placeholder"});if(this.state.component){const t=this.state.component.default;u=(0,i.h)(t,(0,o.Z)({},e,{key:this.compName}))}return(0,i.h)("div",{class:(0,s.WM)({s:g,bugFix:!0,container:!0,displayed:n,animate:r}),style:d&&h},u)}}const m={videoOverlayLoader:"videoOverlayLoader__videoOverlayLoader__QIKQw",displayed:"videoOverlayLoader__displayed__sx0Dy"};var _=n(9582);const y=[];r.Z.on("LANDING",(e=>{let{page:t}=e;y.push(t)})),r.Z.on("SET_ACTIVE_PAGE",(e=>{y[y.length-1]!==e&&y.push(e)}));let v=!1;r.Z.on("OPEN_VIDEO_OVERLAY",((e,t)=>{if(v)return;r.Z.emit("CLOSE_ALL_OVERLAYS"),v=!0,r.Z.emit("SET_ACTIVE_PAGE",e||"boltVideos",t);"/"===(0,s.RK)(r.Z.get(),`appData.pages.${e}.path`,"")||r.Z.emit("SET_HEADER_ACTION",{icon:"close",action:()=>r.Z.emit("CLOSE_VIDEO_OVERLAY"),tag:"closeVideoOverlay"}),r.Z.get().videos.set({overlayOpen:e||"boltVideos"}),r.Z.get().header.set({videoOverlayOpen:!0}),(0,s.cn)(document.body,"locked")}
2)),r.Z.on("CLOSE_VIDEO_OVERLAY",(function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!v)return;v=!1;let t=r.Z.get();t.videos.set({overlayOpen:!1}),t.header.set({videoOverlayOpen:!1}),r.Z.emit("REMOVE_HEADER_ACTIONS","closeVideoOverlay");const n=Object.values((0,s.RK)(t,"appData.pages",{}));if(e){const e=["error-404","browser-not-supported","bolt-toolkit"];let t=n.find((t=>"/"===t.path&&!e.includes(t.id)));t=t.id?t.id:(0,_.ds)();const o=y[y.length-2]||t;r.Z.emit("CLOSE_AND_NAVIGATE",o)}(0,s.IV)(document.body,"locked")})),r.Z.on("CHANGE_ACTIVE_VIDEO",(e=>{r.Z.get().videos.set({activeVideo:e})})),r.Z.on("CLOSE_ALL_OVERLAYS",(()=>{r.Z.emit("CLOSE_VIDEO_OVERLAY",!1)}));class b extends i.wA{constructor(e){super(e)}componentWillReceiveProps(e){e.store.videos.overlayOpen&&this.load()}load(){this.loadStarted||(this.loadStarted=!0,Promise.all([n.e(715),n.e(905)]).then(n.bind(n,673)).then((e=>{this.component=e,this.setState({componentLoaded:!0})})))}render(e){const t=e.store.videos?.overlayOpen;let n=(0,i.h)("div",{class:(0,s.WM)({s:m,videoOverlayLoader:!0,displayed:t})});if(t&&this.component){const t=this.component.default;n=(0,i.h)(t,e)}return n}}const w={boltHome:{id:"boltHome",page:"home",getter:()=>Promise.all([n.e(872),n.e(273)]).then(n.bind(n,8682))}},E=[{id:"boltSynopsis",getter:()=>n.e(942).then(n.bind(n,473)),component:"synopsis"},{id:"versus",getter:()=>Promise.all([n.e(715),n.e(623)]).then(n.bind(n,6202)),component:"text"},{id:"boltYoutubePlaylist",getter:()=>Promise.all([n.e(715),n.e(682)]).then(n.bind(n,9677)),component:"youtubePlaylist"}]},7246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const o={container:"button__container__Vgkga",primary:"button__primary__JkbQR",outlined:"button__outlined__L52sA",floating:"button__floating__Elewb",time:"button__time__Ndxk6",interstitial:"button__interstitial__Z_8fj",noHover:"button__noHover__G6tl3",icon:"button__icon__qI18a",tag:"button__tag__VCfyJ",active:"button__active__t9Wy6",text:"button__text__Zqxzg"}},4821:function(e,t){var n,o,i;o=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var o={get passive(){n=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}function i(e){return l.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))}function r(e){var t=e||window.event;return!!i(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)}function a(){setTimeout((function(){void 0!==h&&(document.body.style.paddingRight=h,h=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)}))}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&1<window.navigator.maxTouchPoints),l=[],c=!1,p=-1,d=void 0,h=void 0;e.disableBodyScroll=function(e,o){if(s){if(!e)return;if(e&&!l.some((function(t){return t.targetElement===e}))){var a={targetElement:e,options:o||{}};l=[].concat(t(l),[a]),e.ontouchstart=function(e){1===e.targetTouches.length&&(p=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,o,a,s;1===t.targetTouches.length&&(o=e,s=(n=t).targetTouches[0].clientY-p,i(n.target)||(o&&0===o.scrollTop&&0<s||(a=o)&&a.scrollHeight-a.scrollTop<=a.clientHeight&&s<0?r(n):n.stopPropagation()))},c||(document.addEventListener("touchmove",r,n?{passive:!1}:void 0),c=!0)}}else{g=o,setTimeout((function(){if(void 0===h){var e=!!g&&!0===g.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(h=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")}));var u={targetElement:e,options:o||{}};l=[].concat(t(l),[u])}var g},e.clearAllBodyScrollLocks=function(){s?(l.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),c&&(document.removeEventListener("touchmove",r,n?{passive:!1}:void 0),c=!1),l=[],p=-1):(a(),l=[])},e.enableBodyScroll=function(e){if(s){if(!e)return;e.ontouchstart=null,e.ontouchmove=null,l=l.filter((function(t){return t.targetElement!==e})),c&&0===l.length&&(document.removeEventListener("touchmove",r,n?{passive:!1}:void 0),c=!1)}else(l=l.filter((function(t){return t.targetElement!==e}))).length||a()}},void 0===(i="function"==typeof n?n.apply(t,o):n)||(e.exports=i)},7447:(e,t,n)=>{"use strict";var o=n(2817),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,r,a,s,l,c=!1;t||(t={}),t.debug;try{if(r=o(),a=document.createRange(),s=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(l),a.selectNodeContents(l),s.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(o){try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(o){n=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(n,e)}}
2finally{s&&("function"==typeof s.removeRange?s.removeRange(a):s.removeAllRanges()),l&&document.body.removeChild(l),r()}return c}},7054:(e,t,n)=>{var o=n(7069);e.exports=o},9560:(e,t,n)=>{"use strict";var o=n(2823),i="beforeAll",r="afterAll",a=[i,r],s={on:function(e,t,n){var o=this._events[e]||[];return o.push({callback:t,once:n}),this._events[e]=o,this},once:function(e,t){return this.on(e,t,!0)},off:function(e,t){if(void 0===e)this._events={};else if(void 0===t)this._events[e]=[];else{var n,o=this._events[e]||[];for(n=o.length-1;n>=0;n--)o[n].callback===t&&o.splice(n,1)}return this},emit:function(e){var t,n,o,s,l=[].slice.call(arguments,1),c=this._events[e]||[],p=[],d=-1!==a.indexOf(e);for(d||this.emit.apply(this,[i,e].concat(l)),t=0;t<c.length;t++)(n=c[t]).callback?s=n.callback.apply(this,l):n.once=!0,n.once&&p.push(t),void 0!==s&&(o=s);for(t=p.length-1;t>=0;t--)c.splice(p[t],1);return d||this.emit.apply(this,[r,e].concat(l)),o},trigger:function(){return o.warn(!1,"Method `trigger` is deprecated and will be removed from freezer in upcoming releases. Please use `emit`."),this.emit.apply(this,arguments)}},l=o.createNonEnumerable(s);e.exports=l},7069:(e,t,n)=>{"use strict";var o=n(2823),i=(n(9560),n(6940));function r(e){o.warn(!1,"Method "+e.name+" called on a detached node.",e.node,e.options)}e.exports=function(e,t){var n,a,s=this,l=t||{},c={live:l.live||!1,freezeInstances:l.freezeInstances||!1,singleParent:l.singleParent||!1},p=[],d=0,h=function(e){var t,n=e.__;if(n.listener){var o=n.listener.prevState||e;n.listener.prevState=0,i.emit(o,"update",e,!0)}for(t=0;t<n.parents.length;t++)n.store.notify("now",n.parents[t])};c.notify=function(e,t,n,s){if(s&&(a&&!a.onStore&&r(a),a={name:s,node:t,options:n,onStore:!1}),"now"===e){if(p.length)for(;p.length;)h(p.shift());else h(t);return t}var l=i[e](t,n);if("pivot"!==e){var c=o.findPivot(l);if(c)return function(e){p.push(e),d||(d=1,o.nextTick((function(){p=[],d=0})))}(l),c}return l},c.freezeFn=!0===l.mutable?function(){}:function(e){Object.freeze(e)},(n=i.freeze(e,c)).__.updateRoot=function(e,t){e===n?(n=t,a&&(a.onStore=!0)):a&&setTimeout((function(){a.onStore||r(a)}))};var u=n.getListener(),g={};o.each(["on","off","once","emit","trigger"],(function(e){var t={};t[e]=u[e].bind(u),o.addNE(s,t),o.addNE(g,t)})),o.addNE(this,{get:function(){return n},set:function(e){n.reset(e)},getEventHub:function(){return g}}),o.addNE(this,{getData:this.get,setData:this.set})}},6940:(e,t,n)=>{"use strict";var o=n(2823),i=n(6859),r=n(9560),a={freeze:function(e,t){if(e&&e.__)return e;var n=this,r=i.clone(e);return o.addNE(r,{__:{listener:!1,parents:[],store:t}}),o.each(e,(function(e,i){o.isLeaf(e,t.freezeInstances)||(e=n.freeze(e,t)),e&&e.__&&n.addParent(e,r),r[i]=e})),t.freezeFn(r),r},merge:function(e,t){var n=e.__,i=n.trans;t=o.extend({},t);if(i){for(var r in t)i[r]=t[r];return e}var a,s,l,c=this,p=this.copyMeta(e),d=n.store;for(s in o.each(e,(function(n,i){if((l=n&&n.__)&&c.removeParent(n,e),!(a=t[i]))return l&&c.addParent(n,p),p[i]=n;o.isLeaf(a,d.freezeInstances)||(a=c.freeze(a,d)),a&&a.__&&c.addParent(a,p),delete t[i],p[i]=a})),t)a=t[s],o.isLeaf(a,d.freezeInstances)||(a=c.freeze(a,d)),a&&a.__&&c.addParent(a,p),p[s]=a;return n.store.freezeFn(p),this.refreshParents(e,p),p},replace:function(e,t){var n=e.__,i=t;return o.isLeaf(t,n.store.freezeInstances)||((i=this.freeze(t,n.store)).__.parents=n.parents,i.__.updateRoot=n.updateRoot,n.listener&&(i.__.listener=n.listener)),i&&this.fixChildren(i,e),this.refreshParents(e,i),i},remove:function(e,t){var n=e.__.trans;if(n){for(var i=t.length-1;i>=0;i--)delete n[t[i]];return e}var r,a=this,s=this.copyMeta(e);return o.each(e,(function(n,o){(r=n&&n.__)&&a.removeParent(n,e),-1===t.indexOf(o)&&(r&&a.addParent(n,s),s[o]=n)})),e.__.store.freezeFn(s),this.refreshParents(e,s),s},splice:function(e,t){var n=e.__,i=n.trans;if(i)return i.splice.apply(i,t),e;var r,a=this,s=this.copyMeta(e),l=t[0],c=l+t[1];if(o.each(e,(function(t,n){t&&t.__&&(a.removeParent(t,e),(n<l||n>=c)&&a.addParent(t,s)),s[n]=t})),t.length>1)for(var p=t.length-1;p>=2;p--)r=t[p],o.isLeaf(r,n.store.freezeInstances)||(r=this.freeze(r,n.store)),r&&r.__&&this.addParent(r,s),t[p]=r;return Array.prototype.splice.apply(s,t),n.store.freezeFn(s),this.refreshParents(e,s),s},transact:function(e){var t,n=this,i=e.__.trans;
2return i||(t=e.constructor===Array?[]:{},o.each(e,(function(e,n){t[n]=e})),e.__.trans=t,o.nextTick((function(){e.__.trans&&n.run(e)})),t)},run:function(e){var t=this,n=e.__.trans;return n?(o.each(n,(function(n,o){n&&n.__&&t.removeParent(n,e)})),delete e.__.trans,this.replace(e,n)):e},pivot:function(e){return e.__.pivot=1,this.unpivot(e),e},unpivot:function(e){o.nextTick((function(){e.__.pivot=0}))},refresh:function(e,t,n){var i=this,r=e.__.trans,a=0;if(r)return o.each(r,(function(o,s){a||o===t&&(r[s]=n,a=1,n&&n.__&&i.addParent(n,e))})),e;var s=this.copyMeta(e);o.each(e,(function(o,r){o===t&&(o=n),o&&o.__&&(i.removeParent(o,e),i.addParent(o,s)),s[r]=o})),e.__.store.freezeFn(s),this.refreshParents(e,s)},fixChildren:function(e,t){var n=this;o.each(e,(function(o){if(o&&o.__){if(n.fixChildren(o),1===o.__.parents.length)return o.__.parents=[e];t&&n.removeParent(o,t),n.addParent(o,e)}}))},copyMeta:function(e){var t=i.clone(e),n=e.__;return o.addNE(t,{__:{store:n.store,updateRoot:n.updateRoot,listener:n.listener,parents:n.parents.slice(0),trans:n.trans,pivot:n.pivot}}),n.pivot&&this.unpivot(t),t},refreshParents:function(e,t){var n,o=e.__,i=o.parents.length;if(e.__.updateRoot&&e.__.updateRoot(e,t),t&&this.emit(e,"update",t,o.store.live),i)for(n=i-1;n>=0;n--)this.refresh(o.parents[n],e,t)},removeParent:function(e,t){var n=e.__.parents,o=n.indexOf(t);-1!==o&&n.splice(o,1)},addParent:function(e,t){var n=e.__.parents;if(-1===n.indexOf(t)){if(e.__.store.singleParent&&n.length>=1)throw new Error("Freezer: Can't add node to the tree. It's already added and freezer is configured to `singleParent: true`.");n[n.length]=t}},emit:function(e,t,n,i){var r=e.__.listener;if(r){var a=r.ticking;i?(a||n)&&(r.ticking=0,r.emit(t,a||n,e)):(r.ticking=n,r.prevState||(r.prevState=e),a||o.nextTick((function(){if(r.ticking){var n=r.ticking;r.prevState;r.ticking=0,r.prevState=0,r.emit(t,n,e)}})))}},createListener:function(e){var t=e.__.listener;return t||(t=Object.create(r,{_events:{value:{},writable:!0}}),e.__.listener=t),t}};i.init(a),e.exports=a},6859:(e,t,n)=>{"use strict";var o=n(2823),i={init:function(e){var t={set:function(e,t){var n=e,i=this.__.trans,r=this.constructor===Array,a="Freezer arrays only accept numeric attributes, given: ";if("object"!=typeof e){if(r&&parseInt(e)!=e)return o.warn(0,a+e),o.findPivot(this)||this;(n={})[e]=t}if(!i){for(var s in n){if(r&&parseInt(s)!=s)return o.warn(0,a+s),o.findPivot(this)||this;i=i||this[s]!==n[s]}if(!i)return o.findPivot(this)||this}var l=r?"array.set":"object.set";return this.__.store.notify("merge",this,n,l)},reset:function(e){return this.__.store.notify("replace",this,e,"object.replace")},getListener:function(){return e.createListener(this)},toJS:function(){var e;return e=this.constructor===Array?new Array(this.length):{},o.each(this,(function(t,n){t&&t.__?e[n]=t.toJS():e[n]=t})),e},transact:function(){return this.__.store.notify("transact",this)},run:function(){return this.__.store.notify("run",this)},now:function(){return this.__.store.notify("now",this)},pivot:function(){return this.__.store.notify("pivot",this)}},n=o.extend({push:function(e){return this.append([e],"array.push")},append:function(e,t){return e&&e.length?this.__.store.notify("splice",this,[this.length,0].concat(e),t||"array.append"):this},pop:function(){return this.length?this.__.store.notify("splice",this,[this.length-1,1],"array.pop"):this},unshift:function(e){return this.prepend([e],"array.unshift")},prepend:function(e){return e&&e.length?this.__.store.notify("splice",this,[0,0].concat(e),"array.prepend"):this},shift:function(){return this.length?this.__.store.notify("splice",this,[0,1],"array.shift"):this},splice:function(e,t,n){return this.__.store.notify("splice",this,arguments,"array.splice")},sort:function(){var e=this.slice();return e.sort.apply(e,arguments),this.__.store.notify("replace",this,e,"array.sort")}},t),i=Object.create(Array.prototype,o.createNE(n)),r=o.createNE(o.extend({remove:function(e){var t=[],n=e;e.constructor!==Array&&(n=[e]);for(var o=0,i=n.length;o<i;o++)this.hasOwnProperty(n[o])&&t.push(n[o]);return t.length?this.__.store.notify("remove",this,t,"object.remove"):this}},t)),a=Object.create(Object.prototype,r),s=[].__proto__?function(e){var t=new Array(e);return t.__proto__=i,t}:function(e){var t=new Array(e);for(var o in n)t[o]=n[o];return t};this.clone=function(e){var t=e.constructor;return t===Array?s(e.length):t===Object?Object.create(a):Object.create(t.prototype,r)}}};e.exports=i},2823:e=>{"use strict";var t=void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n={extend:function(e,t){for(var n in t)e[n]=t[n];return e},createNonEnumerable:function(e,t){var n={};for(var o in e)n[o]={value:e[o]};return Object.create(t||{},n)},error:function(e){var t=new Error(e);
2if(!console)throw t},each:function(e,t){var n,o,i;if(e&&e.constructor===Array)for(n=0,o=e.length;n<o;n++)t(e[n],n);else for(n=0,o=(i=Object.keys(e)).length;n<o;n++)t(e[i[n]],i[n])},addNE:function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!1,configurable:!0,writable:!0,value:t[n]})},createNE:function(e){var t={};for(var n in e)t[n]={writable:!0,configurable:!0,enumerable:!1,value:e[n]};return t},nextTick:function(){var e,n=[],o=!1,i=!!t.postMessage&&"undefined"!=typeof Window&&t instanceof Window,r="fzr"+Date.now(),a=i?function(){t.postMessage(r,"*")}:function(){setTimeout((function(){s()}),0)},s=i?function(e){e.data===r&&(e.stopPropagation(),l())}:l;function l(){for(o=!1;e=n.shift();)e()}function c(e){n.push(e),o||(o=!0,a())}return i&&t.addEventListener("message",s,!0),c.removeListener=function(){t.removeEventListener("message",s,!0)},c}(),findPivot:function(e){if(e&&e.__){if(e.__.pivot)return e;for(var t,n=0,o=e.__.parents,i=0;!n&&i<o.length;)(t=o[i]).__.pivot&&(n=t),i++;if(n)return n;for(i=0;!n&&i<o.length;)n=this.findPivot(o[i]),i++;return n}},isLeaf:function(e,t){var n;return!e||!(n=e.constructor)||(t?n===String||n===Number||n===Boolean:n!==Object&&n!==Array)},warn:function(){var e;"undefined"==typeof process&&(arguments[0]||"undefined"==typeof console||((e=Array.prototype.slice.call(arguments,1))[0]="Freezer.js WARNING: "+e[0]))}};e.exports=n},5213:e=>{e.exports=function(e,t,n){if(null===e!=(null===t))return!1;var o=Array.isArray(e),i=Array.isArray(t);if(o!==i)return!1;var r=typeof e;return r===typeof t&&(function(e){return"function"!==e&&"object"!==e}(r)?n?n(e,t):e===t:o?function(e,t,n){var o=e.length;if(o!==t.length)return!1;if(n){for(var i=0;i<o;i++)if(!n(e[i],t[i]))return!1}else for(i=0;i<o;i++)if(e[i]!==t[i])return!1;return!0}(e,t,n):function(e,t,n){var o=0,i=0;if(n)for(var r in e){if(e.hasOwnProperty(r)&&!n(e[r],t[r]))return!1;o++}else for(var r in e){if(e.hasOwnProperty(r)&&e[r]!==t[r])return!1;o++}for(var r in t)t.hasOwnProperty(r)&&i++;return o===i}(e,t,n))}},2817:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)}
2)),t&&t.focus()}}},7692:(e,t,n)=>{"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}n.d(t,{Z:()=>o})},4897:(e,t,n)=>{"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function i(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{Z:()=>i})},7993:(e,t,n)=>{"use strict";function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}n.d(t,{Z:()=>i});var i=function e(t,n){function i(e,i,r){if("undefined"!=typeof document){"number"==typeof(r=o({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in r)r[s]&&(a+="; "+s,!0!==r[s]&&(a+="="+r[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},i=0;i<n.length;i++){var r=n[i].split("="),a=r.slice(1).join("=");try{var s=decodeURIComponent(r[0]);if(o[s]=t.read(a,s),e===s)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){i(e,"",o({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,o({},this.attributes,t))},withConverter:function(t){return e(o({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},4541:(e,t,n)=>{"use strict";function o(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}n.d(t,{TU:()=>H});let i={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const r=/[&<>"']/,a=new RegExp(r.source,"g"),s=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,l=new RegExp(s.source,"g"),c={"&":"&","<":"<",">":">",'"':""","'":"'"},p=e=>c[e];function d(e,t){if(t){if(r.test(e))return e.replace(a,p)}else if(s.test(e))return e.replace(l,p);return e}const h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(e){return e.replace(h,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const g=/(^|[^\[])\^/g;function f(e,t){e="string"==typeof e?e:e.source,t=t||"";const n={replace:(t,o)=>(o=(o=o.source||o).replace(g,"$1"),e=e.replace(t,o),n),getRegex:()=>new RegExp(e,t)};return n}const m=/[^\w:]/g,_=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(e,t,n){if(e){let e;try{e=decodeURIComponent(u(n)).replace(m,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!_.test(n)&&(n=function(e,t){v[" "+e]||(b.test(e)?v[" "+e]=e+"/":v[" "+e]=C(e,"/",!0));e=v[" "+e];const n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(w,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(E,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}const v={},b=/^[^:]+:\/*[^/]*$/,w=/^([^:]+:)[\s\S]*$/,E=/^([^:]+:\/*[^/]*)[\s\S]*$/;const k={exec:function(){}};
vendor: 10,212 bytes, line 2
2function S(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let o=!1,i=t;for(;--i>=0&&"\\"===n[i];)o=!o;return o?"|":" |"})).split(/ \|/);let o=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(/\\\|/g,"|");return n}function C(e,t,n){const o=e.length;if(0===o)return"";let i=0;for(;i<o;){const r=e.charAt(o-i-1);if(r!==t||n){if(r===t||!n)break;i++}else i++}return e.slice(0,o-i)}function O(e,t){if(t<1)return"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function A(e,t,n,o){const i=t.href,r=t.title?d(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){o.state.inLink=!0;const e={type:"link",raw:n,href:i,title:r,text:a,tokens:o.inlineTokens(a)};return o.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:r,text:d(a)}}class R{constructor(e){this.options=e||i}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:C(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const o=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=o.length?e.slice(o.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=C(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;const o=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:o,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,o,i,r,a,s,l,c,p,d,h,u,g=t[1].trim();const f=g.length>1,m={type:"list",raw:"",ordered:f,start:f?+g.slice(0,-1):"",loose:!1,items:[]};g=f?`\\d{1,9}\\${g.slice(-1)}`:`\\${g}`,this.options.pedantic&&(g=f?g:"[*+-]");const _=new RegExp(`^( {0,3}${g})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;e&&(u=!1,t=_.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),p=e.split("\n",1)[0],this.options.pedantic?(r=2,h=c.trimLeft()):(r=t[2].search(/[^ ]/),r=r>4?1:r,h=c.slice(r),r+=t[1].length),s=!1,!c&&/^ *$/.test(p)&&(n+=p+"\n",e=e.substring(p.length+1),u=!0),!u){const t=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),o=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),a=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;e&&(d=e.split("\n",1)[0],p=d,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!i.test(p))&&!a.test(p)&&!t.test(p)&&!o.test(e);){if(p.search(/[^ ]/)>=r||!p.trim())h+="\n"+p.slice(r);else{if(s)break;if(c.search(/[^ ]/)>=4)break;if(i.test(c))break;if(a.test(c))break;if(o.test(c))break;h+="\n"+p}s||p.trim()||(s=!0),n+=d+"\n",e=e.substring(d.length+1),c=p.slice(r)}}m.loose||(l?m.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(h),o&&(i="[ ] "!==o[0],h=h.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:n,task:!!o,checked:i,loose:!1,text:h}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=h.trimRight(),m.raw=m.raw.trimRight();const y=m.items.length;for(a=0;a<y;a++)if(this.lexer.state.top=!1,m.items[a].tokens=this.lexer.blockTokens(m.items[a].text,[]),!m.loose){const e=m.items[a].tokens.filter((e=>"space"===e.type)),t=e.length>0&&e.some((e=>/\n.*\n/.test(e.raw)));m.loose=t}if(m.loose)for(a=0;a<y;a++)m.items[a].loose=!0;return m}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){const n=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]);e.type="paragraph",e.text=n,e.tokens=this.lexer.inline(n)}return e}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:o}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:S(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,o,i,r,a=e.align.length;for(n=0;n<a;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(a=e.rows.length,n=0;n<a;n++)e.rows[n]=S(e.rows[n],e.header.length).map((e=>({text:e})));for(a=e.header.length,o=0;o<a;o++)e.header[o].tokens=this.lexer.inline(e.header[o].text);for(a=e.rows.length,o=0;o<a;o++)for(r=e.rows[o],i=0;i<r.length;i++)r[i].tokens=this.lexer.inline(r[i].text);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=C(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let o=0,i=0;for(;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])o++;else if(e[i]===t[1]&&(o--,o<0))return i;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],o="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],o=e[3])}else o=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),A(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return A(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let o=this.rules.inline.emStrong.lDelim.exec(e);if(!o)return;if(o[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=o[1]||o[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){const n=o[0].length-1;let i,r,a=n,s=0;const l="*"===o[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(o=l.exec(t));){if(i=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!i)continue;if(r=i.length,o[3]||o[4]){a+=r;continue}if((o[5]||o[6])&&n%3&&!((n+r)%3)){s+=r;continue}if(a-=r,a>0)continue;r=Math.min(r,r+a+s);const t=e.slice(0,n+o.index+(o[0].length-i.length)+r);if(Math.min(n,r)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),o=/^ /.test(e)&&/ $/.test(e);return n&&o&&(e=e.substring(1,e.length-1)),e=d(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,o;return"@"===n[2]?(e=d(this.options.mangle?t(n[1]):n[1]),o="mailto:"+e):(e=d(n[1]),o=e),{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,o;if("@"===n[2])e=d(this.options.mangle?t(n[0]):n[0]),o="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=d(n[0]),o="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):d(n[0]):n[0]:d(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}const T={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}
vendor: 9,545 bytes, line 2
2(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:k,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};T.def=f(T.def).replace("label",T._label).replace("title",T._title).getRegex(),T.bullet=/(?:[*+-]|\d{1,9}[.)])/,T.listItemStart=f(/^( *)(bull) */).replace("bull",T.bullet).getRegex(),T.list=f(T.list).replace(/bull/g,T.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+T.def.source+")").getRegex(),T._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",T._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,T.html=f(T.html,"i").replace("comment",T._comment).replace("tag",T._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),T.paragraph=f(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex(),T.blockquote=f(T.blockquote).replace("paragraph",T.paragraph).getRegex(),T.normal={...T},T.gfm={...T.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},T.gfm.table=f(T.gfm.table).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex(),T.gfm.paragraph=f(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",T.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex(),T.pedantic={...T.normal,html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",T._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(T.normal._paragraph).replace("hr",T.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",T.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const L={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:k,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:k,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function I(e){return e.replace(/---/g,"â").replace(/--/g,"â").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1â").replace(/'/g,"â").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1â").replace(/"/g,"â").replace(/\.{3}/g,"â¦")}function x(e){let t,n,o="";const i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),o+="&#"+n+";";return o}L._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",L.punctuation=f(L.punctuation).replace(/punctuation/g,L._punctuation).getRegex(),L.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,L.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,L._comment=f(T._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),L.emStrong.lDelim=f(L.emStrong.lDelim).replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimAst=f(L.emStrong.rDelimAst,"g").replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimUnd=f(L.emStrong.rDelimUnd,"g").replace(/punct/g,L._punctuation).getRegex(),L._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,L._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,L._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,L.autolink=f(L.autolink).replace("scheme",L._scheme).replace("email",L._email).getRegex(),L._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,L.tag=f(L.tag).replace("comment",L._comment).replace("attribute",L._attribute).getRegex(),L._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,L._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,L._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,L.link=f(L.link).replace("label",L._label).replace("href",L._href).replace("title",L._title).getRegex(),L.reflink=f(L.reflink).replace("label",L._label).replace("ref",T._label).getRegex(),L.nolink=f(L.nolink).replace("ref",T._label).getRegex(),L.reflinkSearch=f(L.reflinkSearch,"g").replace("reflink",L.reflink).replace("nolink",L.nolink).getRegex(),L.normal={...L},L.pedantic={...L.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",L._label).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",L._label).getRegex()},L.gfm={...L.normal,escape:f(L.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},L.gfm.url=f(L.gfm.url,"i").replace("email",L.gfm._extended_email).getRegex(),L.breaks={...L.gfm,br:f(L.br).replace("{2,}","*").getRegex(),text:f(L.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class D{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.options.tokenizer=this.options.tokenizer||new R,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:T.normal,inline:L.normal};this.options.pedantic?(t.block=T.pedantic,t.inline=L.pedantic):this.options.gfm&&(t.block=T.gfm,this.options.breaks?t.inline=L.breaks:t.inline=L.gfm),this.tokenizer.rules=t}static get rules(){return{block:T,inline:L}}static lex(e,t){return new D(t).lex(e)}static lexInline(e,t){return new D(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);
vendor: 7,119 bytes, line 2
2t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let n,o,i,r;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((o=>!!(n=o.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),o=t[t.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?t.push(n):(o.raw+="\n"+n.raw,o.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),o=t[t.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(o.raw+="\n"+n.raw,o.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startBlock.forEach((function(e){o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i)))o=t[t.length-1],r&&"paragraph"===o.type?(o.raw+="\n"+n.raw,o.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):t.push(n),r=i.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),o=t[t.length-1],o&&"text"===o.type?(o.raw+="\n"+n.raw,o.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,o,i,r,a,s,l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,r.index)+"["+O("a",r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,r.index)+"["+O("a",r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,r.index+r[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((o=>!!(n=o.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),o=t[t.length-1],o&&"text"===n.type&&"text"===o.type?(o.raw+=n.raw,o.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),o=t[t.length-1],o&&"text"===n.type&&"text"===o.type?(o.raw+=n.raw,o.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,l,s))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,x))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,x))){if(i=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startInline.forEach((function(e){o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i,I))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0,o=t[t.length-1],o&&"text"===o.type?(o.raw+=n.raw,o.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class Z{constructor(e){this.options=e||i}code(e,t,n){const o=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,o);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",o?'<pre><code class="'+this.options.langPrefix+d(o)+'">'+(n?e:d(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:d(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e){return e}heading(e,t,n,o){if(this.options.headerIds){return`<h${t} id="${this.options.headerPrefix+o.slug(n)}">${e}</h${t}>\n`}return`<h${t}>${e}</h${t}>\n`}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const o=t?"ol":"ul";return"<"+o+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+o+">\n"}listitem(e){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){if(null===(e=y(this.options.sanitize,this.options.baseUrl,e)))return n;let o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>",o}image(e,t,n){if(null===(e=y(this.options.sanitize,this.options.baseUrl,e)))return n;let o=`<img src="${e}" alt="${n}"`;return t&&(o+=` title="${t}"`),o+=this.options.xhtml?"/>":">",o}text(e){return e}}class N{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class P{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}
vendor: 9,066 bytes, line 2
2getNextSafeSlug(e,t){let n=e,o=0;if(this.seen.hasOwnProperty(n)){o=this.seen[e];do{o++,n=e+"-"+o}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=o,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class K{constructor(e){this.options=e||i,this.options.renderer=this.options.renderer||new Z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new N,this.slugger=new P}static parse(e,t){return new K(t).parse(e)}static parseInline(e,t){return new K(t).parseInline(e)}parse(e,t=!0){let n,o,i,r,a,s,l,c,p,d,h,g,f,m,_,y,v,b,w,E="";const k=e.length;for(n=0;n<k;n++)if(d=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(w=this.options.extensions.renderers[d.type].call({parser:this},d),!1!==w||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type)))E+=w||"";else switch(d.type){case"space":continue;case"hr":E+=this.renderer.hr();continue;case"heading":E+=this.renderer.heading(this.parseInline(d.tokens),d.depth,u(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":E+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(c="",l="",r=d.header.length,o=0;o<r;o++)l+=this.renderer.tablecell(this.parseInline(d.header[o].tokens),{header:!0,align:d.align[o]});for(c+=this.renderer.tablerow(l),p="",r=d.rows.length,o=0;o<r;o++){for(s=d.rows[o],l="",a=s.length,i=0;i<a;i++)l+=this.renderer.tablecell(this.parseInline(s[i].tokens),{header:!1,align:d.align[i]});p+=this.renderer.tablerow(l)}E+=this.renderer.table(c,p);continue;case"blockquote":p=this.parse(d.tokens),E+=this.renderer.blockquote(p);continue;case"list":for(h=d.ordered,g=d.start,f=d.loose,r=d.items.length,p="",o=0;o<r;o++)_=d.items[o],y=_.checked,v=_.task,m="",_.task&&(b=this.renderer.checkbox(y),f?_.tokens.length>0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=b+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=b+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(_.tokens,f),p+=this.renderer.listitem(m,v,y);E+=this.renderer.list(p,h,g);continue;case"html":E+=this.renderer.html(d.text);continue;case"paragraph":E+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(p=d.tokens?this.parseInline(d.tokens):d.text;n+1<k&&"text"===e[n+1].type;)d=e[++n],p+="\n"+(d.tokens?this.parseInline(d.tokens):d.text);E+=t?this.renderer.paragraph(p):p;continue;default:{const e='Token with "'+d.type+'" type was not found.';if(this.options.silent)return;throw new Error(e)}}return E}parseInline(e,t){t=t||this.renderer;let n,o,i,r="";const a=e.length;for(n=0;n<a;n++)if(o=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]&&(i=this.options.extensions.renderers[o.type].call({parser:this},o),!1!==i||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)))r+=i||"";else switch(o.type){case"escape":case"text":r+=t.text(o.text);break;case"html":r+=t.html(o.text);break;case"link":r+=t.link(o.href,o.title,this.parseInline(o.tokens,t));break;case"image":r+=t.image(o.href,o.title,o.text);break;case"strong":r+=t.strong(this.parseInline(o.tokens,t));break;case"em":r+=t.em(this.parseInline(o.tokens,t));break;case"codespan":r+=t.codespan(o.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(o.tokens,t));break;default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return;throw new Error(e)}}return r}}class M{constructor(e){this.options=e||i}static passThroughHooks=new Set(["preprocess","postprocess"]);preprocess(e){return e}postprocess(e){return e}}function B(e,t){return(n,o,i)=>{"function"==typeof o&&(i=o,o=null);const r={...o},a=function(e,t,n){return o=>{if(o.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+d(o.message+"",!0)+"</pre>";return t?Promise.resolve(e):n?void n(null,e):e}if(t)return Promise.reject(o);if(!n)throw o;n(o)}}((o={...H.defaults,...r}).silent,o.async,i);if(null==n)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(function(e){e&&e.sanitize&&e.silent}(o),o.hooks&&(o.hooks.options=o),i){const r=o.highlight;let s;try{o.hooks&&(n=o.hooks.preprocess(n)),s=e(n,o)}catch(e){return a(e)}const l=function(e){let n;if(!e)try{o.walkTokens&&H.walkTokens(s,o.walkTokens),n=t(s,o),o.hooks&&(n=o.hooks.postprocess(n))}catch(t){e=t}return o.highlight=r,e?a(e):i(null,n)};if(!r||r.length<3)return l();if(delete o.highlight,!s.length)return l();let c=0;return H.walkTokens(s,(function(e){"code"===e.type&&(c++,setTimeout((()=>{r(e.text,e.lang,(function(t,n){if(t)return l(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),c--,0===c&&l()}))}),0))})),void(0===c&&l())}if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((t=>e(t,o))).then((e=>o.walkTokens?Promise.all(H.walkTokens(e,o.walkTokens)).then((()=>e)):e)).then((e=>t(e,o))).then((e=>o.hooks?o.hooks.postprocess(e):e)).catch(a);try{o.hooks&&(n=o.hooks.preprocess(n));const i=e(n,o);o.walkTokens&&H.walkTokens(i,o.walkTokens);let r=t(i,o);return o.hooks&&(r=o.hooks.postprocess(r)),r}catch(e){return a(e)}}}function H(e,t,n){return B(D.lex,K.parse)(e,t,n)}H.options=H.setOptions=function(e){var t;return H.defaults={...H.defaults,...e},t=H.defaults,i=t,H},H.getDefaults=o,H.defaults=i,H.use=function(...e){const t=H.defaults.extensions||{renderers:{},childTokens:{}};e.forEach((e=>{const n={...e};if(n.async=H.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let o=e.renderer.apply(this,t);return!1===o&&(o=n.apply(this,t)),o}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=H.defaults.renderer||new Z;for(const n in e.renderer){const o=t[n];t[n]=(...i)=>{let r=e.renderer[n].apply(t,i);return!1===r&&(r=o.apply(t,i)),r}}n.renderer=t}if(e.tokenizer){const t=H.defaults.tokenizer||new R;for(const n in e.tokenizer){const o=t[n];t[n]=(...i)=>{let r=e.tokenizer[n].apply(t,i);return!1===r&&(r=o.apply(t,i)),r}}n.tokenizer=t}if(e.hooks){const t=H.defaults.hooks||new M;for(const n in e.hooks){const o=t[n];M.passThroughHooks.has(n)?t[n]=i=>{if(H.defaults.async)return Promise.resolve(e.hooks[n].call(t,i)).then((e=>o.call(t,e)));const r=e.hooks[n].call(t,i);return o.call(t,r)}:t[n]=(...i)=>{let r=e.hooks[n].apply(t,i);return!1===r&&(r=o.apply(t,i)),r}}n.hooks=t}if(e.walkTokens){const t=H.defaults.walkTokens;n.walkTokens=function(n){let o=[];return o.push(e.walkTokens.call(this,n)),t&&(o=o.concat(t.call(this,n))),o}}H.setOptions(n)}))},H.walkTokens=function(e,t){let n=[];for(const o of e)switch(n=n.concat(t.call(H,o)),o.type){case"table":for(const e of o.header)n=n.concat(H.walkTokens(e.tokens,t));for(const e of o.rows)for(const o of e)n=n.concat(H.walkTokens(o.tokens,t));break;case"list":n=n.concat(H.walkTokens(o.items,t));break;default:H.defaults.extensions&&H.defaults.extensions.childTokens&&H.defaults.extensions.childTokens[o.type]?H.defaults.extensions.childTokens[o.type].forEach((function(e){n=n.concat(H.walkTokens(o[e],t))})):o.tokens&&(n=n.concat(H.walkTokens(o.tokens,t)))}return n},H.parseInline=B(D.lexInline,K.parseInline),H.Parser=K,H.parser=K.parse,H.Renderer=Z,H.TextRenderer=N,H.Lexer=D,H.lexer=D.lex,H.Tokenizer=R,H.Slugger=P,H.Hooks=M,H.parse=H;H.options,H.setOptions,H.use,H.walkTokens,H.parseInline,K.parse,D.lex},5703:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>M,h:()=>s,sY:()=>K,wA:()=>P});var o=function(){},i={},r=[],a=[];function s(e,t){var n,s,l,c,p=a;for(c=arguments.length;c-- >2;)r.push(arguments[c]);for(t&&null!=t.children&&(r.length||r.push(t.children),delete t.children);r.length;)if((s=r.pop())&&void 0!==s.pop)for(c=s.length;c--;)r.push(s[c]);else"boolean"==typeof s&&(s=null),(l="function"!=typeof e)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(l=!1)),l&&n?p[p.length-1]+=s:p===a?p=[s]:p.push(s),n=l;var d=new o;return d.nodeName=e,d.children=p,d.attributes=null==t?void 0:t,d.key=null==t?void 0:t.key,void 0!==i.vnode&&i.vnode(d),d}function l(e,t){for(var n in t)e[n]=t[n];return e}function c(e,t){e&&("function"==typeof e?e(t):e.current=t)}var p="function"==typeof Promise?Promise.resolve().then.bind(Prom
vendor: 7,543 bytes, line 2
2ise.resolve()):setTimeout;var d=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,h=[];function u(e){!e._dirty&&(e._dirty=!0)&&1==h.push(e)&&(i.debounceRendering||p)(g)}function g(){for(var e;e=h.pop();)e._dirty&&Z(e)}function f(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&m(e,t.nodeName):n||e._componentConstructor===t.nodeName}function m(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function _(e){var t=l({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var o in n)void 0===t[o]&&(t[o]=n[o]);return t}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n,o,i){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)c(n,null),c(o,e);else if("class"!==t||i)if("style"===t){if(o&&"string"!=typeof o&&"string"!=typeof n||(e.style.cssText=o||""),o&&"object"==typeof o){if("string"!=typeof n)for(var r in n)r in o||(e.style[r]="");for(var r in o)e.style[r]="number"==typeof o[r]&&!1===d.test(r)?o[r]+"px":o[r]}}else if("dangerouslySetInnerHTML"===t)o&&(e.innerHTML=o.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),o?n||e.addEventListener(t,b,a):e.removeEventListener(t,b,a),(e._listeners||(e._listeners={}))[t]=o}else if("list"!==t&&"type"!==t&&!i&&t in e){try{e[t]=null==o?"":o}catch(e){}null!=o&&!1!==o||"spellcheck"==t||e.removeAttribute(t)}else{var s=i&&t!==(t=t.replace(/^xlink:?/,""));null==o||!1===o?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof o&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),o):e.setAttribute(t,o))}else e.className=o||""}function b(e){return this._listeners[e.type](i.event&&i.event(e)||e)}var w=[],E=0,k=!1,S=!1;function C(){for(var e;e=w.shift();)i.afterMount&&i.afterMount(e),e.componentDidMount&&e.componentDidMount()}function O(e,t,n,o,i,r){E++||(k=null!=i&&void 0!==i.ownerSVGElement,S=null!=e&&!("__preactattr_"in e));var a=A(e,t,n,o,r);return i&&a.parentNode!==i&&i.appendChild(a),--E||(S=!1,r||C()),a}function A(e,t,n,o,i){var r=e,a=k;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||i)?e.nodeValue!=t&&(e.nodeValue=t):(r=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(r,e),R(e,!0))),r.__preactattr_=!0,r;var s,l,c=t.nodeName;if("function"==typeof c)return function(e,t,n,o){var i=e&&e._component,r=i,a=e,s=i&&e._componentConstructor===t.nodeName,l=s,c=_(t);for(;i&&!l&&(i=i._parentComponent);)l=i.constructor===t.nodeName;i&&l&&(!o||i._component)?(D(i,c,3,n,o),e=i.base):(r&&!s&&(N(r),e=a=null),i=I(t.nodeName,c,n),e&&!i.nextBase&&(i.nextBase=e,a=null),D(i,c,1,n,o),e=i.base,a&&e!==a&&(a._component=null,R(a,!1)));return e}(e,t,n,o);if(k="svg"===c||"foreignObject"!==c&&k,c=String(c),(!e||!m(e,c))&&(s=c,(l=k?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,r=l,e)){for(;e.firstChild;)r.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(r,e),R(e,!0)}var p=r.firstChild,d=r.__preactattr_,h=t.children;if(null==d){d=r.__preactattr_={};for(var u=r.attributes,g=u.length;g--;)d[u[g].name]=u[g].value}return!S&&h&&1===h.length&&"string"==typeof h[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=h[0]&&(p.nodeValue=h[0]):(h&&h.length||null!=p)&&function(e,t,n,o,i){var r,a,s,l,c,p=e.childNodes,d=[],h={},u=0,g=0,m=p.length,_=0,v=t?t.length:0;if(0!==m)for(var b=0;b<m;b++){var w=p[b],E=w.__preactattr_;null!=(k=v&&E?w._component?w._component.__key:E.key:null)?(u++,h[k]=w):(E||(void 0!==w.splitText?!i||w.nodeValue.trim():i))&&(d[_++]=w)}if(0!==v)for(b=0;b<v;b++){var k;if(c=null,null!=(k=(l=t[b]).key))u&&void 0!==h[k]&&(c=h[k],h[k]=void 0,u--);else if(g<_)for(r=g;r<_;r++)if(void 0!==d[r]&&f(a=d[r],l,i)){c=a,d[r]=void 0,r===_-1&&_--,r===g&&g++;break}c=A(c,l,n,o),s=p[b],c&&c!==e&&c!==s&&(null==s?e.appendChild(c):c===s.nextSibling?y(s):e.insertBefore(c,s))}if(u)for(var b in h)void 0!==h[b]&&R(h[b],!1);for(;g<=_;)void 0!==(c=d[_--])&&R(c,!1)}(r,h,n,o,S||null!=d.dangerouslySetInnerHTML),function(e,t,n){var o;for(o in n)t&&null!=t[o]||null==n[o]||v(e,o,n[o],n[o]=void 0,k);for(o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||v(e,o,n[o],n[o]=t[o],k)}(r,t.attributes,d),k=a,r}function R(e,t){var n=e._component;n?N(n):(null!=e.__preactattr_&&c(e.__preactattr_.ref,null),!1!==t&&null!=e.__preactattr_||y(e),T(e))}function T(e){for(e=e.lastChild;e;){var t=e.previousSibling;R(e,!0),e=t}}var L=[];function I(e,t,n){var o,i=L.length;for(e.prototype&&e.prototype.render?(o=new e(t,n),P.call(o,t,n)):((o=new P(t,n)).constructor=e,o.render=x);i--;)if(L[i].constructor===e)return o.nextBase=L[i].nextBase,L.splice(i,1),o;return o}function x(e,t,n){return this.constructor(e,n)}function D(e,t,n,o,r){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||r?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,o)),o&&o!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=o),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===i.syncComponentUpdates&&e.base?u(e):Z(e,1,r)),c(e.__ref,e))}function Z(e,t,n,o){if(!e._disable){var r,a,s,c=e.props,p=e.state,d=e.context,h=e.prevProps||c,u=e.prevState||p,g=e.prevContext||d,f=e.base,m=e.nextBase,y=f||m,v=e._component,b=!1,k=g;if(e.constructor.getDerivedStateFromProps&&(p=l(l({},p),e.constructor.getDerivedStateFromProps(c,p)),e.state=p),f&&(e.props=h,e.state=u,e.context=g,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,p,d)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(c,p,d),e.props=c,e.state=p,e.context=d),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){r=e.render(c,p,d),e.getChildContext&&(d=l(l({},d),e.getChildContext())),f&&e.getSnapshotBeforeUpdate&&(k=e.getSnapshotBeforeUpdate(h,u));var S,A,T=r&&r.nodeName;if("function"==typeof T){var L=_(r);(a=v)&&a.constructor===T&&L.key==a.__key?D(a,L,1,d,!1):(S=a,e._component=a=I(T,L,d),a.nextBase=a.nextBase||m,a._parentComponent=e,D(a,L,0,d,!1),Z(a,1,n,!0)),A=a.base}else s=y,(S=v)&&(s=e._component=null),(y||1===t)&&(s&&(s._component=null),A=O(s,r,d,n||!f,y&&y.parentNode,!0));if(y&&A!==y&&a!==v){var x=y.parentNode;x&&A!==x&&(x.replaceChild(A,y),S||(y._component=null,R(y,!1)))}if(S&&N(S),e.base=A,A&&!o){for(var P=e,K=e;K=K._parentComponent;)(P=K).base=A;A._component=P,A._componentConstructor=P.constructor}}for(!f||n?w.push(e):b||(e.componentDidUpdate&&e.componentDidUpdate(h,u,k),i.afterUpdate&&i.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);E||o||C()}}function N(e){i.beforeUnmount&&i.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?N(n):t&&(null!=t.__preactattr_&&c(t.__preactattr_.ref,null),e.nextBase=t,y(t),L.push(e),T(t)),c(e.__ref,null)}function P(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function K(e,t,n){return O(n,e,{},!1,t,!1)}l(P.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=l(l({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),u(this)}
2,forceUpdate:function(e){e&&this._renderCallbacks.push(e),Z(this,2)},render:function(){}});const M={h:s,createElement:s,cloneElement:function(e,t){return s(e.nodeName,l(l({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)},createRef:function(){return{}},Component:P,render:K,rerender:g,options:i}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e].call(r.exports,r,r.exports,i),r.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>(({35:"signUpForm",231:"landingAudio",273:"boltHome",278:"cookies",350:"trailerOverlay",356:"ageGate",385:"debugInfo",392:"showtimes",421:"pressKitGalleryOverlay",488:"cookiesPreference",623:"versus",682:"boltYoutubePlaylist",696:"homeEnt",738:"pressKit",786:"externalLinkModal",792:"calendarRemind",905:"videos",942:"boltSynopsis"}[e]||e)+".bolt.js?v="+{35:"81c575f1f7e4d16aab85",231:"fabf76f6b7107541e2d0",273:"d00127ccf13c3bba3245",278:"310b72cdf745964d2db3",350:"0db5017b1fa65cb344d0",356:"8f3b2afdbee05222f9ec",359:"4655d46f02cfc1e73384",385:"0d9d6385d25368cd7728",392:"cc8a936d10a7794c5e38",421:"229395379cd6aba7a260",443:"fd7ff0c08458fa85df56",470:"8fbfa7879c77268c7f44",488:"07294dbdc1829f4c6043",623:"3d899e7793723c66d007",682:"5d2deaddf90e93e73b0b",696:"7ce17487d8c87ae0d597",715:"a4666b4cd00f27ab732c",738:"c0043598f26d2cd08823",786:"d114687f1b97ff276cdf",792:"d47d90e0b8324ffd113b",872:"5d268552026ca1476e82",905:"62c553d3ece72b5daeef",942:"f32837e117bb89514068"}[e]),i.miniCssF=e=>"../css/"+e+".bolt.css?v="+{35:"81c575f1f7e4d16aab85",231:"fabf76f6b7107541e2d0",273:"d00127ccf13c3bba3245",278:"310b72cdf745964d2db3",350:"0db5017b1fa65cb344d0",356:"8f3b2afdbee05222f9ec",359:"4655d46f02cfc1e73384",385:"0d9d6385d25368cd7728",392:"cc8a936d10a7794c5e38",421:"229395379cd6aba7a260",443:"fd7ff0c08458fa85df56",470:"8fbfa7879c77268c7f44",488:"07294dbdc1829f4c6043",623:"3d899e7793723c66d007",682:"5d2deaddf90e93e73b0b",696:"7ce17487d8c87ae0d597",738:"c0043598f26d2cd08823",786:"d114687f1b97ff276cdf",792:"d47d90e0b8324ffd113b",905:"62c553d3ece72b5daeef",942:"f32837e117bb89514068"}[e],i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="thundr:",i.l=(n,o,r,a)=>{if(e[n])e[n].push(o);else{var s,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var d=c[p];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+r){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+r),s.src=n),e[n]=[o];var h=(t,o)=>{s.onerror=s.onload=null,clearTimeout(u);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(o))),t)return t(o)},u=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="",(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,n)=>{var o=i.miniCssF(e),r=i.p+o;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var i=(a=n[o]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var r=document.getElementsByTagName("style");for(o=0;o<r.length;o++){var a;if((i=(a=r[o]).getAttribute("data-href"))===e||i===t)return a}})(o,r))return t();((e,t,n,o,i)=>{var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.onerror=r.onload=n=>{if(r.onerror=r.onload=null,"load"===n.type)o();else{var a=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,r.parentNode&&r.parentNode.removeChild(r),i(l)}},r.href=t,n?n.parentNode.insertBefore(r,n.nextSibling):document.head.appendChild(r)})(e,r,null,t,n)})),t={413:0};i.f.miniCss=(n,o)=>{t[n]?o.push(t[n]):0!==t[n]&&{35:1,231:1,273:1,278:1,350:1,356:1,359:1,385:1,392:1,421:1,443:1,470:1,488:1,623:1,682:1,696:1,738:1,786:1,792:1,905:1,942:1}[n]&&o.push(t[n]=e(n).then((()=>{t[n]=0}),(e=>{throw delete t[n],e})))}}})(),(()=>{var e={413:0};i.f.j=(t,n)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var r=new Promise(((n,i)=>o=e[t]=[n,i]));n.push(o[2]=r);var a=i.p+i.u(t),s=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var o,r,a=n[0],s=n[1],l=n[2],c=0;if(a.some((t=>0!==e[t]))){for(o in s)i.o(s,o)&&(i.m[o]=s[o]);if(l)l(i)}for(t&&t(n);c<a.length;c++)r=a[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=("undefined"!=typeof self?self:this).webpackChunkthundr=("undefined"!=typeof self?self:this).webpackChunkthundr||[];
2n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var r={};return(()=>{"use strict";i.r(r);var e=i(5703),t=i(9582),n=i(4897),o=i(1163),a=(i(6067),i(7867));"undefined"!=typeof window&&/[?&]powdebug([&=]|$)/i.test(location.search);var s=i(18);let l=0;o.Z.on("SET_USER_LOCATION",(async(e,t,n)=>{let i=o.Z.get().client.geo,r=i.loading;r||(r=(0,s.Z)(),i.set({loading:r}).now());let a=++l;try{e=await("function"==typeof e?e():e)}catch(e){}if(a!==l)return;let c=o.Z.get().client.geo.set({loading:null});if(!e||!e.lat||!e.lon)return r.resolve();let p={...e};!p.countryCode&&p.country&&(p.countryCode=p.country,delete p.country),c.set(p).now(),o.Z.emit("USER_LOCATION_UPDATED",{geo:p,source:t,ticketType:n}),r.resolve(p)}));var c=i(2680),p=i(4821),d=i(9306),h=i(1385);let u=(e,t)=>{if(!e)return;if("localhost"===location.hostname||"127.0.0.1"===location.hostname)return;let n=location.href===e;if(!t?.allowSameHostRedirect){let[,t,o]=/^((?:https?:)?\/\/)?([^/]+)/.exec(e)||[];n=location.host===o}return n||(location.href=e),!0},g=e=>(0,a.RK)(o.Z.get(),["dynamicData","regions",e,"url"]);var f=i(5522),m=i(9984),_=i(7320);const y=(0,m.Z)((async()=>{const e=o.Z.get(),t=(0,a.RK)(e,"appData.meta.title.slug");try{return(await(0,_.hi)("/app/regions",{slug:t})).response}catch(e){return null}}));var v=i(2347);function b(e){const t=o.Z.get(),n=t.appData?.pages?.[e];if(!n){const n=(0,a.RK)(t,"appData.pages",null),o=n&&Object.keys(n).filter((t=>n[t].slug===e))[0];e=o||e}try{return document.querySelector(`[data-section="${e}"]`)}catch(e){return null}}o.Z.on("UPDATE_CLIENT",(()=>{const e=o.Z.get().client,t=(0,c.dz)();o.Z.get().set({client:{...e,...t}})})),o.Z.on("SET_ACTIVE_PAGE",((e,n,i)=>{let r=o.Z.get(),a=r.activePage,s=r.appData?.pages?.[e];const l=r.appData?.pages?.boltShowtimes?.data?.groupBookings?.isEnabled;if(!(e!==a&&s||"boltShowtimes"===e&&l))return;let c=o.Z.get().header;if(e!==c.activeSection&&c.set({activeSection:e}),!0===n&&(n=""),!i?.noUrlUpdate){let o=(0,t.xE)(e,n,i?.hashInPage);history.pushState({activePage:e},"",o),document.title=(0,t.pz)({store:r,page:e})}o.Z.get().set({activePage:e}),s.section||"boltHome"===e||(o.Z.get().set({ignoreScroll:!0}),document.getElementById("mainScroll")?.scrollTo(0,0),window.setTimeout((()=>{o.Z.get().set({ignoreScroll:!1})}),100),o.Z.emit("SET_SECTION_UNDER_HEADER",null)),o.Z.emit("ACTIVE_PAGE_UPDATED",e),o.Z.emit("CHECK_ACTIVE_PAGE_AGE_RESTRICTION")})),o.Z.on("CHECK_ACTIVE_PAGE_AGE_RESTRICTION",(()=>{let e=o.Z.get(),t=e.appData?.pages[e.activePage];if(t?.ageRestricted&&!1===e.client?.ofAge){let t=["boltHome","boltSynopsis","boltGallery","boltVideos",...Object.keys(e.appData?.pages)].find((t=>{let n=e.appData?.pages?.[t];return n&&!n.ageRestricted}));o.Z.emit("CLOSE_AND_NAVIGATE",t)}})),o.Z.on("SET_SECTION_UNDER_HEADER",(e=>{let t=o.Z.get().header;t.sectionUnderHeader!==e&&t.set({sectionUnderHeader:e})}));let w=0;o.Z.on("CHANGE_ACTIVE_SECTION",((e,n)=>{(n=n||{}).mainPage&&!b(n.mainPage)&&(n.instant=!1);const i=o.Z.get();let r=b(e);const s=(0,a.RK)(i,"client.isDesktopSize",!1),l=(0,a.RK)(i,"appData.header.uarHeader");let c=s?function(e,t){const n=(0,a.RK)(e,"appData.options.sonyFeatures.sonyHeader",!1),o="hub"===(0,a.RK)(e,`appData.pages.${t}.component`,"");return n||o?34:0}(i,e):function(e){return(0,a.RK)(e,"appData.options.sonyFeatures.sonyHeader",!1)?58:(0,t.CF)()}(i);"boltHome"===e&&(c=0),l&&(c=s?80:64);const p=i?.appData?.options?.forceScrollOffsetForSection?.[e]?.desktop||i?.appData?.options?.forceScrollOffsetDesktop,d=i?.appData?.options?.forceScrollOffsetForSection?.[e]?.mobile||i?.appData?.options?.forceScrollOffsetMobile;d&&(c=+d),s&&p&&(c=+p);let h=!1;const u=e=>{if(!e)return;const t=document.getElementById("mainScroll");h=!0,(0,v.GZ)(t,e,n.instant?0:n.scrollDuration||400,{...n,offset:c,force:!0,callback:()=>o.Z.emit("CLOSE_ALL_OVERLAYS")})};let g=++w;const f=(t,i)=>{if(g===w){if(!n.instant){if(t!==e)return;setTimeout((()=>o.Z.off("SECTION_LOADED",f)),0)}u(t===e?i:b(e))}else setTimeout((()=>o.Z.off("SECTION_LOADED",f)),0)};if(r?(u(r),o.Z.off("SECTION_LOADED",f)):(e===n.mainPage&&document.getElementById("mainScroll")?.scrollTo(0,0),o.Z.on("SECTION_LOADED",f),o.Z.emit("LOAD_SECTION",e)),n.instant){let e=()=>{h?h=!1:(o.Z.off("SECTION_LOADED",f),window.removeEventListener("scroll",e,!0))};window.addEventListener("scroll",e,!0)}})),o.Z.on("POP_STATE",(e=>{o.Z.emit("CLOSE_ALL_OVERLAYS",{animate:!0}),o.Z.emit("SET_ACTIVE_PAGE",e,void 0,{noUrlUpdate:!0}),k(e,{instant:!0})}
2));let E=async e=>{try{let t=await y();return t[e]&&t[e].url}catch(e){}};function k(e,n){const i=(0,a.RK)(o.Z.get(),["appData","pages",e]);if("showtimes"===i?.type)o.Z.emit("SHOWTIMES_SHOW",void 0,void 0,e);else if("homeEnt"===i?.type)o.Z.emit("HOMEENT_SHOW",void 0,void 0,e);else if("pressKit"===i?.type)o.Z.emit("PRESSKIT_SHOW",void 0,void 0,e);else if("videos"===i?.type)o.Z.emit("OPEN_VIDEO_OVERLAY",e);else{const i=h.NS.some((t=>t.id===e)),r=e===(0,t.ds)();(i||r)&&o.Z.emit("CHANGE_ACTIVE_SECTION",e,n)}}o.Z.on("LANDING",(async e=>{let{page:t}=e;k(t,{instant:!0});let n=!1;try{n=localStorage.getItem("limitlessKey")}catch(e){}n&&C();const i=o.Z.get(),r=(0,a.RK)(i,"appData.options.socialInterstitial",!1);let s=i.appData?.pages?.[t]?.type;("showtimes"===s||"homeEnt"===s)&&i.limitExceeded&&r||await async function(e,t){t||(t={});let n="function"==typeof t.redirect?t.redirect:u;if("undefined"==typeof location||location.search.match(/[?&]redirect=(off|false|0|no)/)||!window.__INITIAL_STATE__)return;let i=window.__INITIAL_STATE__.appData||{},r=window.location.search,s=i.geofencing||{},l=i.redirection||{},c=(0,a.RK)(i,"meta.region.slug"),p=(await e()).countryCode;const d=-1!==(s.allowRegions||"").split(",").map((e=>e.trim().toLowerCase())).filter((e=>e)).indexOf(p);if(c!==p&&s.geofencing&&!d){let e=(0,a.RK)(s,["overrides",p]);if(!e){let n="function"==typeof t.getRegionURL?t.getRegionURL:g;e=await n(p)||s.defaultLink}if(e){let t,i;return(0,a.Kn)(e)?(t=e.url,i=e.noActivePage):(t=e,i=s.noActivePage),i||s.stripRedirectionPath||(t=(0,a.RQ)(t,(0,a.RK)(o.Z.get(),"activePage.path")||"/")),n(t+r,s)}}else{let e=Object.keys(l).map((e=>l[e])).concat(l).filter((e=>e&&e.url)),t=Promise.resolve();e.forEach((e=>{t=t.then((t=>{if(t)return t;let n=[];if(e.country){let t=e.country.split(",").map((e=>e.trim()));n.push(-1!==t.indexOf(p))}if(e.countryNot){let t=e.countryNot.split(",").map((e=>e.trim()));n.push(-1===t.indexOf(p))}return Promise.all(n).then((n=>n.every((e=>e))?e:t)).catch((()=>t))}))}));try{let e=await t;if(e)return e(e.url+r)}catch(e){}}}(f.vW,{getRegionURL:E})})),o.Z.on("CLOSE_AND_NAVIGATE",((e,n,i)=>{n&&n.preventDefault&&n.preventDefault(),o.Z.emit("CLOSE_NAV_MENU"),(0,t.Nb)(e,i)})),o.Z.on("LANDING_QUERY",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=o.Z.get();e.v&&t.videos&&!t.videos.preSelected&&o.Z.get().videos.set({preSelected:e.v}),e.debug&&o.Z.get().set({debugMode:!0})})),o.Z.on("DISABLE_SCROLLING_LOCK",(()=>{const e=document.getElementById("bolt"),t=document.getElementById("app");(0,p.enableBodyScroll)(e),t&&(t.style.pointerEvents="")})),o.Z.on("ENABLE_SCROLLING_LOCK",(e=>{const t=document.getElementById("bolt"),n=document.getElementById("app");(0,p.disableBodyScroll)(t,{allowTouchMove:e=>{for(;e&&e!==document.body;){if(null!==e.getAttribute("body-scroll-lock-ignore"))return!0;e=e.parentElement}}}),e&&n&&(n.style.pointerEvents="none")})),o.Z.on("SAFARI_MOBILE_LOCATION_SEARCH_FOCUS",(()=>{document.body.style.height="5000px"})),o.Z.on("SAFARI_MOBILE_LOCATION_SEARCH_BLUR",(()=>{document.body.style.height="100%"}));const S=[];function C(){const e=(0,a.RK)(o.Z.get(),"appData.meta.powApiLimitlessKey")||"K4xhuBoeYm59LMIDRkqIz6KKCoIV1Ikq5rLdoe3I";o.Z.get().set({apiKey:e,usingLimitlessKey:!0,limitExceeded:!1})}function O(e){e.preventDefault()}o.Z.on("LOAD_SECTION",(e=>S.push(e))),o.Z.on("GET_REQUESTED_SECTIONS",(()=>S)),o.Z.on("OPEN_RESERVED_VARIABLE_LINK",(async e=>{for(let n of e?.split("\n")){if(!n?.startsWith("@"))continue;let[e,...i]=n.slice(1).split("::");["date","format","time","exhibitor"].includes(e.toLowerCase())&&(i.unshift(e),e="filter");let r=i[0];const s=o.Z.get();switch(e.toLowerCase()){case"subscriberpopup":const e=(0,a.RK)(s,"appData.options.formEmbeds.popup");return o.Z.emit("SUBSCRIBER_POPUP",e,!1);case"calendarreminder":return o.Z.emit("SHOW_CAL_REMIND");case"newsletterbanner":return o.Z.emit("TOGGLE_NEWSLETTER_BANNER",!1);case"preferencecentre":return o.Z.emit("COOKIE_PREFERENCES_OPEN");case"otcookiesettings":window.OneTrust?.ToggleInfoDisplay();break;case"dynamicpriority":const n=(0,a.RK)(s,"appData.pages.boltShowtimes"),l=(0,a.RK)(s,"appData.options.dualVie
2w");if(n&&l){const e=(0,a.RK)(s,"showtimes.data",[]),t=(0,a.RK)(s,"appData.pages.boltHomeEnt");o.Z.emit(t&&(0,a.xb)(e)?"HOMEENT_SHOW":"SHOWTIMES_SHOW")}break;case"openshowtimes":o.Z.emit("SHOWTIMES_SHOW",!1,r);let c=o.Z.get().showtimes?.filters?.selected;r&&c&&(c.set(await(0,d.K)(r)),"boltShowtimes"===s.activePage&&o.Z.emit("SHOWTIMES_REFRESH"));break;case"filter":const[p,...h]=i;o.Z.emit("FILTER_SET",p,h,"date"!==p),o.Z.emit("SHOWTIMES_REFRESH");break;case"openhomeent":o.Z.emit("HOMEENT_SHOW",!0,r);break;case"videooverlay":const[u]=i;u&&o.Z.get().videos.set({activeVideo:null,preSelected:u});const g=(0,t.j4)(u);o.Z.emit("OPEN_VIDEO_OVERLAY",g)}}})),o.Z.on("UPDATE_API_KEY",(async()=>{C();try{localStorage.setItem("limitlessKey",!0)}catch(e){}})),o.Z.on("SHOW_CAL_REMIND",(()=>{o.Z.get().set({calRemindOpen:!0}),o.Z.emit("SET_HEADER_ACTION",{icon:"close",action:()=>o.Z.emit("CLOSE_CAL_REMIND"),tag:"closeCalRemind"}),(0,a.cn)(document.body,"locked"),document.body.addEventListener("touchmove",O,{passive:!1})})),o.Z.on("CLOSE_CAL_REMIND",(()=>{o.Z.get().set({calRemindOpen:!1}),o.Z.emit("REMOVE_HEADER_ACTIONS","closeCalRemind"),(0,a.IV)(document.body,"locked"),document.body.removeEventListener("touchmove",O,{passive:!1})})),o.Z.on("CLOSE_ALL_OVERLAYS",(()=>{o.Z.emit("CLOSE_CAL_REMIND")}));i(4085);var A=i(649),R=i(7118);o.Z.on("AGEGATE_OPEN",(()=>{const{deviceSize:e}=o.Z.get().client;if("mobile"!==e){const e=document.getElementById("bolt");(0,p.disableBodyScroll)(e)}o.Z.get().set({ageGateOpen:!0})})),o.Z.on("AGEGATE_CLOSE",(()=>{const{deviceSize:e}=o.Z.get().client;if("mobile"!==e){const e=document.getElementById("bolt");(0,p.enableBodyScroll)(e)}o.Z.get().set({ageGateOpen:!1})})),o.Z.on("AGEGATE_CONSENT",(async e=>{o.Z.get().client.set({ofAge:!!e}),o.Z.emit("ACCEPT_COOKIES",[]);const t=o.Z.get().appData,n=t?.options?.ageGate?.cookieName||"pow-agegate",i=+t?.o
2ptions?.ageGate?.expiry||365;(0,A.e)(n)||(0,A.d)(n,+e,i),e?(await async function(){const e=o.Z.get().appData?.options?.oneTrustCookieConsent,t=e?.scripts;t&&e.waitForAgeGate&&await Promise.all(Object.values(t).map((async e=>{if(e.inlineContent){let t=document.createElement("script");return t.text=e.inlineContent,void document.body.appendChild(t)}return new Promise(((t,n)=>{let o=document.createElement("script");o.onload=t,o.onerror=n,e.integrity&&(o.integrity=e.integrity),e.crossOrigin&&"none"!==e.crossOrigin&&(o.crossOrigin=e.crossOrigin),e.dataDomainScript&&o.setAttribute("data-domain-script",e.dataDomainScript),e.async&&(o.async=!0),o.src=e.src,document.body.appendChild(o)}))})))}(),await(0,R.waitForOneTrust)()):(o.Z.emit("CHECK_ACTIVE_PAGE_AGE_RESTRICTION"),await(0,R.waitForOneTrust)(),window.Optanon?.RejectAll())}));var T=i(3471),L=i(9824);const I=e=>{if(!e||"object"!=typeof e){let t=()=>!0;"string"==typeof e&&(t=t=>t.id===e),e=o.Z.get().showtimes.data.find(t)}if(e)return{cinemaName:e.name,cinemaChain:(0,a.RK)(e,"chain.name"),location:(0,a.RK)(e,"address.intl.city")||(0,a.RK)(e,"address.local.city")}};{const e=()=>"undefined"!=typeof window;"undefined"!=typeof window&&(window.tealiumTrackingAllowed=function(){window.preventCookies=!1;try{if("false"!==localStorage.getItem("isFirstVisit"))localStorage.setItem("isFirstVisit","false");else{const e=o.Z.get().user;e&&e.set({isFirstVisit:!1})}}catch(e){}});let t={};const n=e=>Object.assign({},t,e),i=()=>{window.utag&&"function"==typeof window.utag.view&&window.utag.view(n())},r=e=>{window.utag&&"function"==typeof window.utag.link&&window.utag.link(n(e))},s={gb:"en",us:"en",au:"en"},l={"au-powster":["au"],"emea-powster":["ad","ae","al","ao","at","ba","be","bf","bg","bh","bi","bj","bw","by","cd","cf","ch","ci","cm","cv","cy","cz","de","dj","dk","dz","ee","eg","eh","er","es","et","fi","fo","fr","ga","gb","ge","gg","gh","gi","gm","gn","gq","gr","gw","hr","hu","ie","il","im","iq","ir","is","it","je","jo","ke","km","kw","lb","li","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mde","mg","mk","ml","mr","mt","mu","mw","mz","na","ne","ng","nl","no","om","pl","ps","pt","qa","ro","rs","rw","sa","sd","se","si","sk","sm","sn","so","st","sy","sz","td","tg","tn","tr","tz","ua","ug","va","xm","ye","za","zm","zw","intl"]},c=(0,m.Z)((()=>{let e=o.Z.get().appData?.apis?.tracking?.powsterGATracking;return(0,a.Od)(e).filter((e=>e.startsWith("UA-")||e.startsWith("G-")))})),p=(t,n,i,r)=>{if("function"!=typeof powsterGtag)return;let s=c();if(!s||!s.length)return;const l=o.Z.get(),p=(0,a.RK)(l,"appData.meta.region.slug",""),d=(0,a.RK)(l,"appData.meta.title.locale",""),h=(0,a.RK)(l,"appData.meta.studio.slug"),u={send_to:s,event_stream:d+" - "+p.toUpperCase(),event_category:n,event_label:i,event_region:p,event_studio:h,region:p,allow_google_signals:!1,debug_mode:!e()};Object.assign(u,r);const g=(0,a.RK)(l,"appData.apis.tracking.powsterGATracking.trackingCategory","PERFORMANCE");(0,T.O)(g,(()=>window.powsterGtag("event",t,u)),!0)},d=t=>{if("function"!=typeof powsterGtag)return;let n=c();if(!n)return;const i=o.Z.get(),r=(0,a.RK)(i,"appData.meta.region.slug",""),s=(0,a.RK)(i,"appData.meta.title.locale",""),l=(0,a.RK)(i,"appData.meta.studio.slug"),p=s+" - "+r.toUpperCase();(t=t.toLowerCase()).startsWith("bolt")&&(t=t.substring(4)),"showtimes"===t&&(t="tickets");const d=!e(),h=(0,a.RK)(i,"appData.apis.tracking.powsterGATracking.trackingCategory","PERFORMANCE");(0,T.O)(h,(()=>{n.forEach((e=>{window.powsterGtag("config",e,{page_title:t,page_path:t,anonymize_ip:"true",custom_map:{dimension1:"region"},event_stream:p,event_region:r,event_studio:l,allow_google_signals:!1,region:r,debug_mode:d,cookie_flags:"undefined"!=typeof window&&window!==window.top?"SameSite=None; Secure":""})}))}),!0),"gallery"===t&&o.Z.emit("GALLERY_VIEW_IMAGE",1)},h=()=>{p("timing_complete","pageLoad","",{name:"load",value:Math.round(window.startLoadTime)})},u=e=>{let t={event:"page_load",pageId:e.replace(/^bolt(.)/,((e,t)=>t.toLowerCase()))};"videos"===e&&(t.event="trailer-view");let n=o.Z.get(),i=n.appData?.options?.sonyFeatures?.sonyDataLayer;if(i){let o=i.pageTitle||(n.appData?.meta?.title?.slug||"").replace(/-/g,""),r=e.replace(/^bolt/,"");t.page_title=`${o} ${r}`}window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)},g=()=>{const e=o.Z.get(),t=(0,a.RK)(e,"appData.apis.tracking.lionsgateAdswerve");if(!t)return;const n=(0,a.RK)(e,"appData.meta.title.locale",""),{dxNumber:i,genres:r,distributionWindow:s}=t;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"dataLayer-initialized",titleName:n,dxNumbers:i,genre:r,environment:"prod",distributionWindow:s,pageContentType:"mov
2ie",siteType:"standalone movie site"})},f=(e,t)=>{if(!(0,a.RK)(o.Z.get(),"appData.apis.tracking.lionsgateAdswerve"))return;const n=(0,a.RK)(o.Z.get(),"appData.meta.title.locale","");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"movie_time_click",content_title:n,theater_name:t.name,showtime_date:e.date,showtime_time:e.time})},_=e=>{if(!(0,a.RK)(o.Z.get(),"appData.apis.tracking.lionsgateAdswerve"))return;const t=(0,a.RK)(o.Z.get(),"appData.meta.title.locale","");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"theater_click",content_title:t,theater_name:e})},y=e=>{const t=(0,a.RK)(o.Z.get(),"appData.meta.title.locale","");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"aggregator_click",content_title:t,click_text:e.provider,theater_name:e.theater.name,showtime_date:e.date,showtime_time:e.time})},v=e=>{let t=o.Z.get();const n=t.appData?.apis?.tracking?.lionsgateAdswerve;if(n)return void y(e);const i=t.appData?.options?.sonyFeatures?.sonyDataLayer;if(i)return;const r=(0,a.RK)(e,"theater.address.local.city")||(0,a.RK)(e,"theater.address.intl.city")||"",s=(0,a.RK)(e,"theater.address.local.state")||(0,a.RK)(e,"theater.address.intl.state")||"",l=(0,a.RK)(e,"theater.address.local.street")||(0,a.RK)(e,"theater.address.intl.street")||"",c=(0,a.RK)(e,"theater.address.local.country")||(0,a.RK)(e,"theater.address.intl.country")||"",p=l+", "+r,d=(0,a.RK)(e,"theater.url","");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"ticket_click",city:r,location:{country:c,fullAddress:p,address:l,city:r,state:s},theatre:e.theater.name,exhibitor:d,day:e.date,time:e.time})},b=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"social-share-click",socialSite:e})},w=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"city_changed",city:e.city})},E=e=>{window.dataLayer=window.dataLayer||[];const t=e.time&&e.time.join(", ")||"all",n=e.format&&e.format.join(", ")||"all";window.dataLayer.push({event:"session_change",filterDate:e.date?.join("")||"",filterTimeOfDay:t,filterFormat:n})},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.gtag&&(void 0===t.allow_custom_scripts&&(t.allow_custom_scripts=!0),window.gtag("event",e,t))};o.Z.on("LANDING",(e=>{let{page:t}=e;setTimeout((()=>{(0,a.RK)(o.Z.get(),"appData.options.disablePageViewTracking")||d(t),h()}),0)})),o.Z.on("LANDING",(()=>{let e=o.Z.get().appData,n=e?.meta?.title?.alternateSlug||e?.meta?.title?.slug,r=e?.options?.enableTealium;if(!n||!r)return;let c=(0,a.RK)(e,"meta.region.slug","").split("_"),p=c[0];"mde"===p&&(p="xm");let d=c.pop();d=s[d]||d,t={movieName:(0,a.RK)(e,"meta.title.en"),country:p,language:d,propertyCode:n},window.utag_data={propertyCode:n};let h="dev";h=-1!==location.href.indexOf("stage.showtimes-static")?"qa":"prod";let u=Object.keys(l).find((e=>l[e].includes(p)));if(!u)return;let g="//tags.disneyinternational.com/tealium/"+u+"/"+h+"/utag.js",f=document.createElement("script");f.onload=i,f.async=!0,f.src=g,document.body.appendChild(f)})),o.Z.on("LANDING",(()=>{(0,a.RK)(o.Z.get(),"appData.apis.tracking.lionsgateAdswerve")&&g();const e=(0,a.RK)(o.Z.get(),"appData.apis.tracking.googleTagManager",{});e.uaId&&e.landingConversion&&k("conversion",{send_to:e.landingConversion})})),o.Z.on("SET_ACTIVE_PAGE",(e=>{(0,a.RK)(o.Z.get(),"appData.options.disablePageViewTracking")||d(e),u(e)})),o.Z.on("CALENDAR_CLICKED",(e=>{let{label:t}=e;p("calendar-reminder_click","calendar-reminder",t)})),o.Z.on("CLICKED_SHARE",(e=>{let{label:t}=e;p("social-share","social",t),b(t)})),o.Z.on("CLICKED_MOBILE_NATIVE_SHARE",(()=>{p("social-share","social","mobile-native")})),o.Z.on("CLICKED_FOLLOW",(e=>{p("social-follow","social",e)})),o.Z.on("SYNOPSIS_DOWNLOAD_IMAGE",(function(){p("synopsis-download_image","synopsis",arguments.length>0&&void 0!==arguments[0]?arguments[0]:"onesheet.jpg")})),o.Z.on("SYNOPSIS_ENLARGE_IMAGE",(function(){p("synopsis-enlarge_image","synopsis",arguments.length>0&&void 0!==arguments[0]?arguments[0]:"onesheet.jpg")})),o.Z.on("GALLERY_VIEW_IMAGE",(e=>{p("gallery-view_image","gallery",e)})),o.Z.on("GALLERY_DOWNLOAD_IMAGE",(e=>{p("gallery-image_download","gallery",e)})),o.Z.on("GALLERY_DOWNLOAD_ALL",(e=>{p("gallery-image_download_all","gallery",`${e||"-"}`)})),o.Z.on("VIDEO_PLAYER_PROGRESS",(e=>
2{let{platform:t,video:n,step:o,time:i,isShowtimesMessage:a,isTrailerOverlay:s}=e;let l=s?"trailer":"videos";p(`${l}${a?"-empty":""}-watch`,l,n+"_"+t+"_"+(95===o?100:o));let c="video_milestone";0===o?c="video_start":100===o&&(c="video_complete"),r({tealium_event:c,video_playhead:i,video_id:n,video_platform:"YouTube"})})),o.Z.on("MAP_REQUEST_DIRECTIONS",(e=>{p("map-request_direction","map",e.toLowerCase())})),o.Z.on("SELECT_THEATER",(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"tickets";const o=e.name||"",i=(0,a.RK)(e,"chain.name","");p(n+"-select-theatre_chain",n,o+"-"+i),_(o),r({action:"map"===t?"placeSelectFromMap":"cinemaSelect",...I(e)})})),o.Z.on("GROUP_BOOKINGS_INQUIRE",(e=>{const t=e.name||"",n=(0,a.RK)(e,"chain.name","");p("groupbookings-inquire","groupbookings",t+"-"+n)})),o.Z.on("GROUP_BOOKINGS_NAVIGATE_STAGES",(e=>{p("groupbookings-navigate-stages","groupbookings",e)})),o.Z.on("GROUP_BOOKINGS_SUBMIT",(e=>{const t=e.name||"",n=(0,a.RK)(e,"chain.name","");p("groupbookings-submit","groupbookings",t+"-"+n)})),o.Z.on("GROUP_BOOKINGS_INQUIRE",(e=>{const t=e.name||"",n=(0,a.RK)(e,"chain.name","");p("groupbookings-inquire","groupbookings",t+"-"+n)})),o.Z.on("SELECT_TIME",((e,t)=>{t||(t="tickets");const{screening:n,theater:o}=e;if(!n||!o)return;p("tickets-interstitial",t,`${o.name}_${o.chain?.name}_${n.date}_${n.time}_${n.format}`);let i=null;n.date&&(i=(0,a.sG)(n.date),i.setHours(...n.time.split(":"))),r({action:"timeSelect",...I(o),targetLink:n.link.direct,format:n.format,showDateTime:i?.toISOString(),dateSelected:n.date}),f(n,o)})),o.Z.on("TICKET_CONVERSION",((e,t)=>{let n=(0,a.sG)(e.date);t||(t="tickets");const{ticketType:o="tickets"}=e;p(o+"-select-calendar_date",t,e.date),p(o+"-conversion","tickets",e.conversion,{date:e.date,day:(0,L.Z)(n,"dddd"),time:e.time,format:e.format,provider:e.provider,source:e.source}),v(e)})),o.Z.on("PREVIEW_PANEL_THEATER_CLICK",((e,t)=>
2{p("theater-click","previewpanel",e+"_"+t)})),o.Z.on("PREVIEW_PANEL_MORE_SHOWTIMES_CLICK",(()=>{p("more-showtimes-click","previewpanel","-")})),o.Z.on("PREVIEW_PANEL_MORE_MERCHANTS_CLICK",(()=>{p("more-ways-to-watch-click","previewpanel","-")})),o.Z.on("PREVIEW_PANEL_TOGGLE_VIEW",(e=>{p("toggle-view","previewpanel",e)})),o.Z.on("PREVIEW_PANEL_EXTRA_BUTTON_CLICK",(e=>{p("extra-button-click","previewpanel",e)})),o.Z.on("WRONG_REGION",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tickets";p(t+"-redirect_origin",t,e)})),o.Z.on("SHOWTIMES_ERROR",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tickets";p(e+"-error",e,"-")})),o.Z.on("SHOWTIMES_EMPTY",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tickets";const n=`${e.countryCode||"X"}-${e.city||"X"}`;p(t+"-no_showtimes",t,n)})),o.Z.on("FILTER_SELECTED_TIME",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tickets";e?e.split(",").forEach((e=>{p(t+"-filter_time",t,e)})):p(t+"filter_time",t,"Any time")})),o.Z.on("FILTER_SELECTED_DAY",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tickets";const n=e.split("-").reverse().join("/");p(t+"filter_date",t,n)})),o.Z.on("FILTER_SELECTED_FORMAT",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tickets";e?e.split(",").forEach((e=>{p(t+"-filter_format",t,e)})):p(t+"-filter_format",t,"Any format")})),o.Z.on("GEO_FROM_IP",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tickets";const n=`${e.city||"X"}-${e.countryCode||"X"}`;p(t+"-location-origin",t,n)})),o.Z.on("REGION_SELECTOR_CLICKED",((e,t)=>{const n=e.toLowerCase()+"-"+t.toLowerCase();p("origin","region",n)})),o.Z.on("SET_USER_LOCATION",(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"tickets";"landing"!==t&&(p(n+"-search",n,"-"),w(e)),"suggestion"===t&&r({action:"cinemaSearch",searchPhrase:e&&e.city})})),o.Z.on("USER_LOCATION_UPDATED",(async e=>{let{geo:t,source:n,ticketType:o="tickets"}=e;"landing"!==n&&t&&(p(o+"-location-update",o,`${t.city||"X"}_${t.countryCode||"X"}`),"nearby"===n&&r({action:"moreShowTimes",location:t.city}))})),o.Z.on("MOVIE_DETAILS_BUTTON_CLICK",((e,t)=>
2{p(e+"-button-click",e,t)})),o.Z.on("HEADER_PERSISTENT_BUTTON_CLICK",((e,t,n,o)=>{p(e,t,n,o)})),o.Z.on("TOUT_CLICK",((e,t,n,o)=>{p("tout-click-"+e,t,n,o)})),o.Z.on("NOTIFICATION_BANNER_CLICK",((e,t,n,o)=>{p(e,t,n,o)})),o.Z.on("TEXT_LIST_CLICK",(e=>{p("textlistitem-click","textlistitem",e)})),o.Z.on("POWSTER_GA_EVENT_TRACK",((e,t,n,o)=>{p(e,t,n,o)})),o.Z.on("POWSTER_GA_PAGE_VIEW_TRACK",(e=>{d(e)})),o.Z.on("FILTER_SET",((e,t)=>{"date"===e&&r({action:"dateSelect",dateSelected:t})})),o.Z.on("FILTER_TOGGLE",((e,t)=>{"format"===e&&r({action:"formatSelect",format:t})})),o.Z.on("TRACK_FILTERS_CHANGE",(e=>{E(e)})),o.Z.on("TRACK_NAV_LINK_CLICK",(e=>{e&&r({action:"menuSelect",actionValue:e})})),o.Z.on("HOME_ENT_CONVERSION",((e,t)=>{t||(t="homeent");const{merchant:n,selectedFormat:o,availability:i,product:r,dataProvider:a,region:s}=e;p("homeent-provider",t,a),p("homeent-availability_select",t,`${s}-${i}`),p("homeent-conversion",t,`${s}_${o}_${i}_${n}_${r.edition||"absent"}_${r.price||"absent"}`)})),o.Z.on("HOME_ENT_FORMAT_SELECT",(e=>{p("homeent-format_select","homeent",e)})),o.Z.on("HOME_ENT_MERCHANT_SELECT",((e,t)=>{const n=t||"homeent",{region:o,merchant:i}=e;o&&"loading"!==o&&p("homeent-merchant_select",n,`${o}-${i}`)})),o.Z.on("HOME_ENT_PROVIDER_ATTRIBUTION_CLICK",(e=>{p("homeent-dynamic_attribution_select","homeent",e)}))}if("undefined"!=typeof window&&window.__INITIAL_STATE__?.appData?.options?.enableEnsighten){const e=e=>{if(!window.__dataLayer)return;e.startsWith("bolt")&&(e=e.substring(4)),"showtimes"===e&&(e="tickets");const t=o.Z.get().appData,n=t.meta?.title?.slug;let i=t.meta?.region?.countryName.toLowerCase();"gb"===i&&(i="uk"),window.__dataLayer.page_name=`emea:${i}:${n}:${e.toLowerCase()}`,window.__dataLayer.page.page_name=`emea:${i}:${n}:${e.toLowerCase()}`,window.__dataLayer.trackPage()},t=e=>{if(!window.__dataLayer||"function"!=typeof window.__dataLayer.publish)return;delete{event_name:"click",actionName:e.action,...e}.action,window.__dataLayer.publish("click",{event_name:"click",...e})};o.Z.on("LANDING",(t=>{let{page:n}=t;e(n)})),o.Z.on("SET_ACTIVE_PAGE",(t=>{e(t)})),o.Z.on("POWSTER_GA_PAGE_VIEW_TRACK",(t=>{e(t)})),o.Z.on("VIDEO_PLAYER_PROGRESS",(e=>{let{video:n,step:o,time:i}=e,r="video_milestone";0===o?r="video_start":100===o&&(r="video_complete"),t({tealium_event:r,video_playhead:i,video_id:n,video_platform:"YouTube"})})),o.Z.on("SELECT_THEATER",((e,n)=>{t({action:"map"===n?"placeSelectFromMap":"cinemaSelect",...I(e)})})),o.Z.on("SELECT_TIME",((e,n)=>{n||(n="tickets");const{screening:o,theater:i}=e;if(!o||!i)return;let r=null;o.date&&(r=(0,a.sG)(o.date),r.setHours(...o.time.split(":"))),t({action:"timeSelect",...I(i),targetLink:o.link.direct,format:o.format,showDateTime:r?.toISOString(),dateSelected:o.date})})),o.Z.on("SET_USER_LOCATION",((e,n)=>{"suggestion"===n&&t({action:"cinemaSearch",searchPhrase:e&&e.city})})),o.Z.on("USER_LOCATION_UPDATED",(async e=>{let{geo:n,source:o}=e;"landing"!==o&&n&&"nearby"===o&&t({action:"moreShowTimes",location:n.city})})),o.Z.on("FILTER_SET",((e,n)=>{"date"===e&&t({action:"dateSelect",dateSelected:n})})),o.Z.on("FILTER_TOGGLE",((e,n)=>{"format"===e&&t({action:"formatSelect",format:n})})),o.Z.on("TRACK_NAV_LINK_CLICK",(e=>{e&&t({action:"menuSelect",actionValue:e})}))}function x(e){return document.querySelector(e)}let D,Z;function N(e){const t=o.Z.get(),n="pushdown"===(0,a.RK)(t,"appData.options.requireUserConsent.position",""),i="pushdown"===(0,a.RK)(t,"appData.options.oneTrustCookieConsent.position","");if(!n&&!i)return;const r=document.createElement("div");r.style.position="fixed",r.style.top=0,r.style.width="100%",r.style.zIndex=2147000001,document.body.insertBefore(r,document.body.firstChild),x("#_evidon_banner")?r.appendChild(x("#_evidon_banner")):x("#onetrust-consent-sdk")&&r.appendChild(x("#onetrust-consent-sdk")),o.Z.get().set({externalCookieBanner:{bannerOpen:e>0,height:e}})}"undefined"!=typeof window&&window.ResizeObserver&&(window.ResizeObserver&&(D=new ResizeObserver((e=>{Z=e[0].contentRect.height,N(Z)}))),function(){let e=Date.now(),t=()=>x("#_evidon_banner")&&x("#_evidon_banner").offsetHeight?D?D.observe(x("#_evidon_banner")):setTimeout((()=>N(x("#_evidon_banner").offsetHeight)),800):x("#onetrust-banner-sdk")&&x("#onetrust-banner-sdk").offsetHeight?D?D.observe(x("#onetrust-banner-sdk")):setTimeout((()=>N(x("#onetrust-banner-sdk").offsetHeight)),800):void(Date.now()-e<2e4&&setTimeout(t,100));t()}());const P="MCPopupClosed",K="MCPopupSubscribed",M=(e,t,n)=>
2{if(void 0!==typeof window.dojoRequire)B(e,t,n);else{const o=setInterval((()=>{void 0!==typeof window.dojoRequire&&(clearInterval(o),B(e,t,n))}),200)}},B=(e,t,n)=>{window.dojoRequire(["mojo/signup-forms/Loader"],(o=>o.start({baseUrl:e,uuid:n,lid:t,uniqueMethods:!0})))};o.Z.on("SUBSCRIBER_POPUP",((e,t)=>{((e,t)=>{try{const n=(0,A.e)(P),{baseUrl:o,lid:i,uuid:r,landingDelay:a}=e;t?n||setTimeout((()=>M(o,i,r)),1e3*a):(n&&(0,A.d)(P,"",-1e3),(0,A.e)(K)&&(0,A.d)(K,"",-1e3),M(o,i,r))}catch(e){}})(e,t)}));var H=i(2652),$=i(3e3);let G=!1;const V="tabbing";function F(e){"Tab"===e.key&&document.body.classList.add(V)}function z(){document.body.classList.remove(V)}const U=()=>{G&&(G=!1,window.removeEventListener("keydown",F,!0),window.removeEventListener("mousedown",z,!0),document.body.classList.remove(V))},W=()=>{if(!G)return G=!0,window.addEventListener("keydown",F,!0),window.addEventListener("mousedown",z,!0),{remove:U}};let j=0;const Y="useHover";function q(){Date.now()-j>=500&&document.body.classList.add(Y)}function Q(){document.body.classList.remove(Y),j=Date.now()}var X=i(6442),J=i(6300),ee=i(4024),te=i(138),ne=(i(2444),i(8145)),oe=i(8206),ie=i(5384),re=i(3599),ae=i(2015),se=i(5222),le=i(9567),ce=i(7692);var pe=i(273);const de={container:"headerExpanded__container__ZiGp0",open:"headerExpanded__open__z5L5L",linksContainer:"headerExpanded__linksContainer__hjPzy",links:"headerExpanded__links__Da5Oh",link:"headerExpanded__link__yS_jR",active:"headerExpanded__active__Z0ol2",splitHeader:"headerExpanded__splitHeader__vAxpn",standard:"headerExpanded__standard__BmsQn",tt:"headerExpanded__tt__ftUg5",content:"headerExpanded__content__LyD1Z",hidden:"headerExpanded__hidden__s01CL",featured:"headerExpanded__featured__EVX7k",separator:"headerExpanded__separator__CZcEA",socials:"headerExpanded__socials__k2of5",hasRegionSelector:"headerExpanded__hasRegionSelector__Lx5bH",regionSelectorButton:"headerExpanded__regionSelectorButton__QJ5Ad",icon:"headerExpanded__icon__DzwKh",features:"headerExpanded__features__EiGD7",hasManyLinks:"headerExpanded__hasManyLinks__vB_EH"};var he=i(9040);class ue extends e.wA{constructor(e){super(e),this.closeAndNavigate=this.closeAndNavigate.bind(this),this.getFallbackFormat=this.getFallbackFormat.bind(this),this.updateLinks(e),this.isSplitHeader=!!this.featuredLinks.length,this.updateLinks=this.updateLinks.bind(this)}componentDidMount(){o.Z.on("REFRESH_HEADER_LINKS",this.updateLinks)}componentWillUnmount(){o.Z.off("REFRESH_HEADER_LINKS",this.updateLinks)}updateLinks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;this.navItems=(0,a.FZ)((0,a.RK)(e,"appData.header.powsterHeader.nav")),this.filteredNavItems=function(e,t){const n=(0,a.RK)(e,"appData.pages");return t.filter((e=>n[e.path]||e.path?.match(/^https?:\/\//i)||e.path?.startsWith("@")||e.path?.startsWith("mailto:")||e.forceShow))}(e,this.navItems),this.standardLinks=this.filteredNavItems.filter((e=>e&&"primary"===e.linkType)),this.featuredLinks=this.navItems.filter((e=>e&&"secondary"===e.linkType))}trackNavLink(e,t){o.Z.emit("TRACK_NAV_LINK_CLICK",e,t)}getFallbackFormat(){return(0,a.RK)(this.props,"appData.header.alternativeImageFormat","png")}closeAndNavigate(e,n,i,r){n&&n.preventDefault&&n.preventDefault(),this.trackNavLink(i,e),o.Z.emit("CLOSE_NAV_MENU");(0,a.RK)(this.props,"appData.pages.boltShowtimes.data.groupBookings.isEnabled",!1)&&!r&&location.search&&history.replaceState(null,"",location.pathname),e.startsWith("@")&&o.Z.emit("OPEN_RESERVED_VARIABLE_LINK",e);const s=(0,a.RK)(this.props,["appData","pages",e]);if(s)return s.section||s.type||"boltHome"===e?void("showtimes"===s.type?this.props.isCalendarRemindMode?(o.Z.emit("SET_ACTIVE_PAGE",(0,t.ds)()),o.Z.emit("SHOW_CAL_REMIND")):o.Z.emit("SHOWTIMES_SHOW",void 0,r,e):"homeEnt"===s.type?o.Z.emit("HOMEENT_SHOW",void 0,void 0,e):"pressKit"===s.type?o.Z.emit("PRESSKIT_SHOW",void 0,void 0,e):(0,t.ip)(e)?o.Z.emit("OPEN_VIDEO_OVERLAY",e):(o.Z.emit("CLOSE_ALL_OVERLAYS"),o.Z.emit("SET_ACTIVE_PAGE",e),o.Z.emit("CHANGE_ACTIVE_SECTION",e,{instant:!0,mainPage:(0,t.ds)()}),"stickAndScaleWidget"===s.type&&o.Z.emit("EXPAND_WIDGET"))):(o.Z.emit
2("CLOSE_ALL_OVERLAYS"),void o.Z.emit("SET_ACTIVE_PAGE",e))}getLinkSizing(e){return e?null:this.isSplitHeader?de.h4:de.h3}renderLink(n,i){const r=(0,a.RK)(this.props,["appData","pages",n.path]),s=!!(0,a.RK)(this.props,"appData.header.powsterHeader.calendars",null),l=!!r||n.path.startsWith("@"),c=this.getLinkSizing(!l),p=this.props.activePage||"boltHome",d=this.props.headerData.activeSection||"boltHome";let h=p===n.path||"boltHome"===p&&d===n.path;const u=(0,a.RK)(this.props,"appData.copy.baseCopy",{});let g=u[n.name]||n.name||n.id;const f=(0,a.RK)(this.props,"appData.pages.boltShowtimes.data.groupBookings.isEnabled",!1);if(f&&p==n.path&&"boltShowtimes"===n.path&&"?groupbookings"===n?.queryString&&(h=!0===o.Z.get().groupBookingsShowtimes),f&&p==n.path&&"boltShowtimes"===n.path&&"?booknow"===n?.queryString&&(h=!1===o.Z.get().groupBookingsShowtimes),r?.ageRestricted&&!1===this.props.client?.ofAge)return;if("boltShowtimes"===n.path&&this.props.isCalendarRemindMode){if(!s)return;g=u.$MENU_CALENDAR_REMINDER||"Reminder"}let m={};l?(m.href=(0,t.xE)(n.path,"")||"#",m.onClick=n.onClick||(e=>this.closeAndNavigate(n.path,e,g,n.queryString))):(m.href=n.path,m.target=n.sameWindow?"_self":"_blank",m.rel="noopener noreferrer",m.onClick=()=>this.trackNavLink(g));const _=(0,a.RK)(this.props,"appData.styling.fontVariables"),y=i?_.navSecondaryLink:_.navPrimaryLink;return(0,e.h)(ie.Z,(0,ce.Z)({key:n.id||n.link||n.name,class:(0,a.WM)(de.link,h&&de.active,c,y),ariaLabel:n.name},m),(0,e.h)(ne.Z,{class:de.content,content:g,markdown:!0}),(0,e.h)(ne.Z,{class:de.hidden,content:g,"aria-hidden":!0,markdown:!0}))}renderRegionSelector(){const t=(0,a.RK)(this.props,"appData.meta.region")||{},n=(0,a.RK)(this.props,"appData.header.powsterHeader.regionSelector.extraRegions",{})[t.slug]||{};let o=n.label||t.slug;const i=this.props?.appData?.header?.powsterHeader?.regionSelector?.useLanguage;i&&(o=n.label||t.languageFull||t.language);const r=(0,a.RK)(this.props.appData,"copy.accessibilityCopy");return(0,e.h)("button",{class:de.regionSelectorButton,onClick:this.props.regionSelectorClick,key:"regionSelectorButton",ariaLabel:r.$REGION_SELECTOR_BTN_ARIA},(0,e.h)("div",{class:de.icon}),(0,e.h)("span",{class:de.name},o))}renderSocial(){const t=(0,a.RK)(this.props,"appData.header.powsterHeader.follow");if(t)return(0,e.h)(pe.Z,{class:de.socials,socials:t,navOpen:this.props.navOpen,key:"socials"})}getTTSize(e){if(e?.titleTreatmentSize?.desktop||e?.titleTreatmentSize?.tablet||e?.titleTreatmentSize?.mobile)return(0,t.mt)(e.titleTreatmentSize)}render(n){let{navOpen:i,showRegionSelector:r}=n;const s=o.Z.get();let l,{pushDown:c,cookieBannerOpen:p,height:d}=s.cookies||{};const h=(0,a.RK)(s,"externalCookieBanner.bannerOpen")||c&&p,u=(0,a.RK)(this.props,"appData.options.sonyFeatures.sonyHeader",!1),g=h&&!(0,a.RK)(s,"client.isDesktopSize",!1),f=(0,a.RK)(this.props,"appData.copy"),m=(0,a.RK)(this.props,"appData.header.powsterHeader.tt",null),_=this.getTTSize(m),y=this.isSplitHeader,v=(0,a.RK)(this.props,"client.deviceSize");let b=v;"mobile"!==v&&"tablet"!==v&&(b="desktop");const w=this.getFallbackFormat();h&&(d=(0,a.RK)(s,"externalCookieBanner.height")),_&&(l={width:"100%",height:"100%",maxWidth:_.maxWidth,maxHeight:_.maxHeight});let E=[(0,e.h)("div",{class:de.standard,key:"standard"},m&&b in m&&(0,e.h)(he.t,{style:l,class:de.tt,src:(0,J.i)((0,t.mt)(m)),alt:f.accessibilityCopy[m.alt]||m.alt,fallbackFormat:w}),this.standardLinks.map((e=>this.renderLink(e,!1))))];y&&E.push((0,e.h)("div",{class:de.separator,key:"separator"}),(0,e.h)("div",{class:de.featured,key:"featured"},this.featuredLinks.map((e=>this.renderLink(e,!0)))));let k=u?34:0;h&&(k+=d);const S=this.standardLinks.length+this.featuredLinks.length;let C=!0;return"desktop"!==v&&"largeDesktop"!==v&&(C=!1),(0,e.h)("div",{class:(0,a.WM)({s:de,container:!0,open:i,splitHeader:y,hasRegionSelector:r,hasManyLinks:S>=8}),style:i&&k&&{top:`${k}px`,height:`calc(var(--windowHeight) - ${k}px)`},"body-scroll-lock-ignore":g},(0,e.h)("div",{class:de.linksContainer,style:{height:y&&!C?"auto":g?"var(--windowHeight)":"100%"}},(0,e.h)("div",{class:de.links,role:"navigation"},E,this.renderSocial()),this.renderRegionSelector()))}}var ge=i(7063),fe=i(6986);const me={container:"header__container__JSvIQ",showtimesSearchOverlay:"header__showtimesSearchOverlay__i1h2M",headerContainer:"header__headerContainer__HhaSv",homeEntMerchantOpen:"header__homeEntMerchantOpen__bKblF",menuText:"header__menuText__nMxBn",homeScrolled:"header__homeScrolled__xP0zF",sony:"header__sony__j2TFB",right:"header__right__Ax5hk",sonyCALanguageSelector:"header__sonyCALanguageSelector__oN0SQ",separator:"header__separator__Z3WAZ",active:"header__active__K8PIb",sonyLogo:"header__sonyLogo__NLV6D",sonyPicturesLogo:"header__sonyPicturesLogo__tKY5F",disabled:"header__disabled__VT3lu",solidBackgroun
2d:"header__solidBackground__sTHr3",hidden:"header__hidden__QEaEI",persistentBtn:"header__persistentBtn__U0NmD",hide:"header__hide__AyE8V",persistentBtnLabel:"header__persistentBtnLabel__CDu6C",burgerMenuBtn:"header__burgerMenuBtn__CBc3c",shareBtn:"header__shareBtn__TW7cH",inactive:"header__inactive__iClGP",closeBtn:"header__closeBtn__hAFJV",headerLogo:"header__headerLogo__VHlLY",unclickable:"header__unclickable__gzeHy",cta:"header__cta__hTkUG",showtimesShare:"header__showtimesShare__F4655",homeEntShare:"header__homeEntShare__Fc5gs",pressKitShare:"header__pressKitShare__EpUjg",navOpen:"header__navOpen__Xk3FH",video:"header__video__ubTGT",share:"header__share__eHkBp",collapse:"header__collapse__UmJrV",close:"header__close__vs6dk",actionButton:"header__actionButton__ZUegM",homeEntBtn:"header__homeEntBtn__rAmUR",pressKitBtn:"header__pressKitBtn__IcwLV","activeSection--boltVideos":"header__activeSection--boltVideos__yyxoh",regionSelectorOverlay:"header__regionSelectorOverlay__Xa3Xs",backdrop:"header__backdrop__WtxAS",showing:"header__showing__cME4Q",regionSelector:"header__regionSelector__Q2XDf",regions:"header__regions__HAKPR",region:"header__region__i7QTj",closeRegionSelector:"header__closeRegionSelector__M_Tsh",desktopSolidHeader:"header__desktopSolidHeader__sCp3t",outerActionButton:"header__outerActionButton__AKxAt",providerInterstitialOpen:"header__providerInterstitialOpen__FeabA",dualView:"header__dualView__wsVto",pop:"header__pop__XKatP",providerInterstitial:"header__providerInterstitial__t_cyl",back:"header__back__PjBbr",homeInactive:"header__homeInactive__ZnttN",buttons:"header__buttons__NoqUy",button:"header__button__ApuBu",fadeIn:"header__fadeIn__keKyL"};class _e extends e.wA{constructor(e){super(e),this.toggleShare=this.toggleShare.bind(this),this.openNavMenu=this.openNavMenu.bind(this),this.showShowtimes=this.showShowtimes.bind(this),this.showHomeEnt=this.showHomeEnt.bind(this),this.showCalendarRemind=this.showCalendarRemind.bind(this),this.triggerBurgerBtn=this.triggerBurgerBtn.bind(this),this.triggerActionButton=this.triggerActionButton.bind(this),this.renderExtraActions=this.renderExtraActions.bind(this),this.toggleRegionSelector=this.toggleRegionSelector.bind(this),this.getRegionList=this.getRegionList.bind(this)}componentDidMount(){const e=o.Z.get();if(e.limitExceeded)return void o.Z.on("UPDATE_API_KEY",this.getRegionList);this.getRegionList();const n=(0,t.Y9)(),i="@dynamicPriority"===(0,a.RK)(e,"appData.header.powsterHeader.persistentBtn.path","");n&&i&&o.Z.emit("FILTERS_REFRESH",{forceShowtimesRefresh:!0})}componentWillUnmount(){o.Z.off("UPDATE_API_KEY",this.getRegionList)}async getRegionList(){let e=await y();e=e?JSON.parse(JSON.stringify(e)):{};const t=this.props.appData?.header?.powsterHeader?.regionSelector,n=t?.extraRegions||{},o=t?.disabledRegions?.toLowerCase()?.split(",")?.map((e=>e.trim()))?.filter((e=>e))||[],i=!!t?.includeRegionsToggle;Object.entries(n).forEach((t=>{let[n,o]=t;e[n.toLowerCase()]=JSON.parse(JSON.stringify(o))})),Object.entries(e).forEach((t=>{let[n]=t;i!==o.includes(n)&&delete e[n]}));const r=t?.useLanguage;let a=this.props?.appData?.meta?.region?.languageFull||this.props?.appData?.meta?.region?.language;
2r&&a&&e.us&&!e.us.label&&(e.us.label=a),this.setState({regions:e})}openNavMenu(){this.state.regions||o.Z.get().limitExceeded||this.getRegionList(),o.Z.emit("OPEN_NAV_MENU")}showShowtimes(){o.Z.emit("SHOWTIMES_SHOW",!0)}showHomeEnt(){o.Z.emit("HOMEENT_SHOW",!0)}showCalendarRemind(){o.Z.emit("SHOW_CAL_REMIND")}toggleRegionSelector(){this.setState({regionSelectorShowing:!this.state.regionSelectorShowing})}getCurrentHeaderAction(){let e=this.props.headerData.actions;return e[e.length-1]||{icon:"burger",action:this.openNavMenu}}getCurrentActionBtnAction(e){let t=!1;try{const{appData:e}=this.props,n=e?.pages.boltPreviewPanel&&!e?.pages.boltHome;t=!Object.values(e.pages).find((e=>e&&!e.type&&!e.section&&"home"===e.page))&&!n}catch(e){}if(e)return{icon:"close",action:()=>o.Z.emit("HOMEENT_HIDE",!0),hidden:t};const n=o.Z.get();if(n.widgetFullyExpanded)return{icon:"close",action:()=>o.Z.emit("EXIT_WIDGET",!0),hidden:!1};if(n.pressKit?.show)return{icon:"close",action:()=>o.Z.emit("PRESSKIT_HIDE",!0),hidden:!1};const i=(0,a.RK)(n,"showtimes.actions",[]);let r=i[i.length-1];return r||{icon:"close",action:()=>o.Z.emit("SHOWTIMES_HIDE",!0),hidden:t}}shouldHideActionBtn(e,t,n,o){const i=this.props.headerData?.interstitialOpen;if(e.hidden||i)return!0;if("back"===e.icon)return!1;const r=(0,c.fx)();return!(!(n||t||o)||!r)||void 0}isPersistentBtnExcluded(e){if(!e.pageExclusions)return!1;const t=e.pageExclusions.split(",").map((e=>e.trim())),n=o.Z.get().activePage;return t.includes(n)}getSectionSpecificStyle(){const e=this.props.headerData?.sectionUnderHeader||this.props.headerData?.activeSection,t=this.props.appData.styling.variables?.customHeaderColorsPerSection;return t&&t[e]?t[e]:null}triggerBurgerBtn(){o.Z.emit("POP_HEADER_ACTION");let e=this.getCurrentHeaderAction();"function"==typeof e.action?e.action():"string"==typeof e.action&&o.Z.emit(e.action)}triggerActionButton(e){let t=this.getCurrentActionBtnAction(e);"function"==typeof t.action?t.action():"string"==typeof t.action&&o.Z.emit(t.action),o.Z.emit("POP_SHOWTIMES_BTN_ACTION")}async triggerPersistentButton(e,n,i){if(o.Z.emit("HEADER_PERSISTENT_BUTTON_CLICK","header-button-click","header",n,{},e),e)if(e.startsWith("http")){let t=document.createElement("a");t.href=e,t.target=i?"_self":"_blank",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}else{if(e.startsWith("@"))return o.Z.emit("OPEN_RESERVED_VARIABLE_LINK",e);if((0,t.ip)(e))return o.Z.emit("OPEN_VIDEO_OVERLAY",e);if("boltShowtimes"===e){const e=Object.values(this.props.appData?.pages).find((e=>"stickAndScaleWidget"===e.type&&"showtimes"===e.data.type));return e?o.Z.emit("CLOSE_AND_NAVIGATE",e.id,"",{instant:!1}):o.Z.emit("SHOWTIMES_SHOW",!0)}if("boltHomeEnt"===e)return o.Z.emit("HOMEENT_SHOW",!0);if("boltPressKit"===e)return o.Z.emit("PRESSKIT_SHOW",!0);if("scrollTop"!==e){const t=document.getElementById("mainScroll"),i="logo"===n.toLowerCase();let r=this.props.appData?.pages?.[this.props.activePage];const a=this.props.appData.pages.boltHubPage,s="/"===r?.path,l=r?.section;return s&&i?(0,v.GZ)(document.getElementById("mainScroll"),0,300):(l||a&&await(0,fe.oQ)(t,i?"right":"left",400),o.Z.emit("CLOSE_AND_NAVIGATE",e,"",{instant:!1}))}(0,v.GZ)(document.getElementById("mainScroll"),0,300)}}async toggleShare(){const e=(0,a.RK)(this.props,"headerData.shareOpen",!1),t=(0,a.RK)(this.props,"appData.header.powsterHeader.share.webShare",!1),n=this.props?.client?.device||"";if(!e&&t&&("desktop"!==n&&"tablet"!==n)&&navigator.share){o.Z.emit("CLICKED_MOBILE_NATIVE_SHARE");const e=(0,a.RK)(this.props,"appData.copy.baseCopy.$META_TITLE",""),t=window.location.href,n=(0,a.RK)(this.props,"appData.copy.baseCopy.$SOCIAL_COPY","");try{await navigator.share({text:n,title:e,url:t})}catch(e){}}else o.Z.emit("TOGGLE_SHARE_OPEN"),e?o.Z.emit("ENABLE_SCROLLING_LOCK"):o.Z.emit("DISABLE_SCROLLING_LOCK")}renderExtraActions(){const t=(0,a.RK)(this.props,"headerData.showtimesOverlay",!1),n=(0,a.RK)(this.props,"headerData.homeEntOverlay",!1),i=(0,a.RK)(this.props,"headerData.pressKitOverlay",!1),r=(0,a.RK)(this.props,"headerData.homeEntMerchantOpen",!1);let s=this.getCurrentActionBtnAction(n);const l=(0,a.RK)(this.props,"appData.pages"),p=Object.keys(l).every((e=>"boltShowtimes"===e||"boltVideos"===e)),d=o.Z.get(),h=(0,a.RK)(d,"showtimes.actions",[]).length>0,u=(0,a.RK)(this.props,"client.isDesktopSize"),g=(0,a.RK)(this.props,"appData.copy.accessibilityCopy",{}),f=(0,a.RK)(d,"showtimes.providerInterstitialOpen",!1)||(0,a.RK)(d,"previewPanel.providerInterstitialOpen",!1);if(!u||!t&&!f&&!d.widgetFullyExpanded&&!i&&!n||!h&&p)return;let m=s.color||"";const _={close:(0,e.h)(se.Z,null),back:(0,e.h)(le.Z,null)},y="close"===s.icon?g.$CLOSE_SHOWTIMES_ARIA:"back"===s.icon?g.$BACK_BTN_SHOWTIMES_ARIA:"",v=this.shouldHideActionBtn(s,t,n,i),b=!(0,c.Ty)()&&(0,a.RK)(this.props,"appData.options.sonyFeatures.sonyHeader",!1),w=(0,a.RK)(d,"externalCookieBanner.bannerOpen"),E=w||(0,a.RK)(d,"cookies.pushDown",!1)&&(0,a.RK)(d,"cookies.cookieBannerOpen",!1);let k={};if(u&&E){let e=w?(0,a.RK)(d,"externalCookieBanner.height"):(0,a.RK)(d,"cookies.height");k.left=(window.innerHeight-e-(b?35:0))/900*609-20+"px"}return(0,e.h)("div",{class:me.outerActionButton,key:"action-button",style:k},(0,e.h)(oe.Z,{type:"primary",class:(0,a.WM)(me.actionButton,me[s.icon],v&&me.hidden,r&&me.homeEntMerchantOpen,n&&me.homeEntBtn,i&&me.pressKitBtn,f&&me.providerInterstitial),trigger:()=>this.triggerActionButton(n),style:{backgroundColor:m},ariaLabel:y},_[s.icon]))}
2renderRegionSelector(){let t=this.state.regions;if(!t)return;const n=this.props?.appData||{},i=n?.header?.powsterHeader?.regionSelector?.useLanguage;let r=n?.copy?.baseCopy?.$REGION_SELECTOR_COPY||"Choose an available region";i&&(r=n?.copy?.baseCopy?.$REGION_SELECTOR_LANG_COPY||"Choose your language");const s=n?.styling?.fontVariables||{},l=n?.copy?.accessibilityCopy||{};let c=Object.keys(t).filter((e=>t[e]&&t[e].url)).sort();if(!c.length||1===c.length&&"us"===c[0])return;let p={};const d=this.props?.footerData?.coveredScreenSize;return d&&(p={bottom:`${d}px`}),(0,e.h)("div",{class:(0,a.WM)(me.regionSelectorOverlay,this.state.regionSelectorShowing&&me.showing),key:"regionSelectorOverlay"},(0,e.h)("div",{class:me.backdrop,onClick:this.toggleRegionSelector}),(0,e.h)("div",{class:me.regionSelector,style:p},(0,e.h)("div",{class:(0,a.WM)(me.cta,s.regionSelectTitle)},r),(0,e.h)(oe.Z,{class:me.closeRegionSelector,trigger:this.toggleRegionSelector,ariaLabel:l.$REGION_SELECTOR_CLOSE_BTN_ARIA},(0,e.h)(se.Z,null)),(0,e.h)("div",{class:me.regions},c.map((n=>{let r=t[n],c=n.replace(/_(.+)$/," ($1)").toUpperCase(),p=r.languageFull||r.language,d=i?r.label||p||c:r.label||c;return"us"===n?(0,e.h)(oe.Z,{class:(0,a.WM)(me.region,me.active),type:"tag",active:!0,trigger:this.toggleRegionSelector,ariaLabel:l.$REGION_BTN_CURRENT_REGION_ARIA.replace("<country>",n.toUpperCase())},d):(0,e.h)(ie.Z,{class:(0,a.WM)(me.region,s.regionSelectCountryCodes),href:r.url,onClick:()=>o.Z.emit("REGION_SELECTOR_CLICKED",n,d),ariaLabel:l.$REGION_BTN_ARIA.replace("<country>",n.toUpperCase())},d)})))))}onClick(e){let n=e.target.closest('a[href^="#$"]');if(n){e.preventDefault();let o=n.getAttribute("href").slice(2).trim(),i={};if(o.includes("/?")){let[e,t]=o.split("/?");o=e,i.queryString="?"+t}(0,t.Nb)(o,i)}}renderPersistentButton(){const{isCalendarRemindMode:t,appData:n,calRemindOpen:i,headerData:r}=this.props,{showtimesOverlay:s,homeEntOverlay:l,pressKitOverlay:c}=r,{copy:p,pages:d}=n,{boltShowtimes:h}=d,u=o.Z.get(),g=(0,a.RK)(this.props,"appData.styling.fontVariables"),f=(0,a.RK)(this.props,"appData.header.powsterHeader.persistentButton",{}),m=this.isPersistentBtnExcluded(f),_=this.getSectionSpecificStyle(),y={},v=(0,a.RK)(u,"previewPanel.providerInterstitialOpen",!1),b=u.widgetFullyExpanded;if(_){const{persistentCTAHeaderButtonBg:e,persistentCTAHeaderButtonBgHover:t,persistentCTAHeaderButtonTxtColor:n}=_;y.background=(this.state.persistentBtnHovered?t:e)||"",y.color=n||""}if(f.path||f.label){const{path:t,label:o,sameWindow:i}=f,r=(0,a.RK)(n,`copy.baseCopy.${f.label}`,f.label);return(0,e.h)(oe.Z,{style:y,onMouseEnter:()=>this.setState({persistentBtnHovered:!0}),onMouseLeave:()=>this.setState({persistentBtnHovered:!1}),class:(0,a.WM)(me.persistentBtn,(s||l||c||b||m||v)&&me.hide,g.headerCta),trigger:e=>this.triggerPersistentButton(t,o,i,e),type:"floating",key:"persistentButton"},(0,e.h)(ne.Z,{class:me.persistentBtnLabel,content:r,markdown:!0,onClickCapture:this.onClick}))}if(t){const t=(0,a.RK)(n,"header.powsterHeader.calendars.btnCopy");let o=(0,a.RK)(p,["baseCopy",t])||t;if(o&&!o.startsWith("$")||(o="Save to Calendar"),(0,a.RK)(n,"header.powsterHeader.calendars",null))return(0,e.h)(oe.Z,{style:y,onMouseEnter:()=>this.setState({persistentBtnHovered:!0}),onMouseLeave:()=>this.setState({persistentBtnHovered:!1}),class:(0,a.WM)(me.persistentBtn,(s||l||i||m||v||b)&&me.hide,g.headerCta),trigger:e=>this.triggerPersistentButton("@calendarreminder",o,!0,e),type:"floating",ariaLabel:p.accessibilityCopy.$CALENDAR_REMINDER_BTN_ARIA,key:"remind"},(0,e.h)(ne.Z,{class:me.persistentBtnLabel,content:o,markdown:!0}))}else if(h){if(h.ageRestricted&&!1===this.props.client?.ofAge)return;const t=(0,a.RK)(p,"baseCopy.$FIND_CINEMAS")||"Find Cinemas";return(0,e.h)(oe.Z,{style:y,onMouseEnter:()=>this.setState({persistentBtnHovered:!0}),onMouseLeave:()=>this.setState({persistentBtnHovered:!1}),class:(0,a.WM)(me.persistentBtn,(s||l||m||v||b)&&me.hide,g.headerCta),trigger:e=>this.triggerPersistentButton("boltShowtimes",t,!0,e),type:"floating",ariaLabel:p.accessibilityCopy.$FIND_CINEMAS_BTN_ARIA,key:"showtimes"},(0,e.h)(ne.Z,{class:me.persistentBtnLabel,content:t,markdown:!0}))}}renderShare(){if(!(0,a.RK)(this.props,"appData.header.powsterHeader.share"))return;const n=this.props.appData.copy,i=(0,a.RK)(this.props,"client.isDesktopSize"),r=this.props.headerData||{},s=o.Z.get(),l=s.appData||{},p=l.styling?.fontVariables,d=(0,a.RK)(s,"showtimes.providerInterstitialOpen"),h="desktop"!==(0,a.RK)(this.props,"client.device","")?"boltHome"===s.activePage:(s.homeActivePercentage||0)>(0,ee.Kl)(this.props.offsetTop),u=(0,t.Y9)()&&(s.showtimes?.show||s.homeEnt?.show),g=this.getSectionSpecificStyle(),f={};if(g&&!r.open){const{headerShareMovie:e,headerShareMovieMob:t}=g;f.color=t&&!i?t:e}const m=(0,c.fx)()||r.showtimesSearchOverlay||r.homeEntMerchantOpen&&i||r.interstitialOpen;return[(0,e.h)(oe.Z,{style:f,class:(0,a.WM)({s:me,shareBtn:!0,showtimesSh
2are:r.showtimesOverlay&&!r.open,navOpen:r.open,homeScrolled:!h,providerInterstitialOpen:d,homeEntShare:r.homeEntOverlay,pressKitShare:r.pressKitOverlay,hide:m,inactive:this.props.calRemindOpen,video:r.videoOverlayOpen,dualView:u}),trigger:this.toggleShare,ariaLabel:n.accessibilityCopy.$OPEN_SHARE_ARIA,key:"toggle-share"},(0,e.h)("span",{class:(0,a.WM)(me.cta,p.headerShare)},n.baseCopy.$SHARE),(0,e.h)(ae.Z,{class:me.share,"aria-hidden":!0})),(0,e.h)(ge.Z,{appData:this.props.appData,shareOpen:r.shareOpen,toggleSharePop:this.toggleShare,shareDetails:r.shareDetails,closeBtnstyle:this.getCurrentHeaderAction().shareBtn,key:"share"})]}renderHeaderLogo(){const t=this.props?.appData?.header?.powsterHeader?.logo,n=(t?.pageExclusions||"").split(",")?.map((e=>e.trim()))?.filter((e=>e)),i=(t?.pageInclusions||"").split(",")?.map((e=>e.trim()))?.filter((e=>e)),r=this.props?.client?.isDesktopSize,s=o.Z.get().activePage;let l;if(l=i.length>0?!i.includes(s):n.includes(s),t&&r)return(0,e.h)(oe.Z,{class:(0,a.WM)(me.headerLogo,l&&me.hide,!t.path&&me.unclickable),trigger:e=>t.path&&this.triggerPersistentButton(t.path,"Logo",t.sameWindow,e),key:"headerLogo"},(0,e.h)("img",{src:t.src,alt:t.alt}))}renderSonyHeader(){const t=this.props,n=t.appData;if(!n?.options?.sonyFeatures?.sonyHeader||(0,c.fx)())return;const o=n?.urls?.roots?.sharedMedia||"";let i=n?.copy.baseCopy.$SONY_PICTURES_LINK||"https://www.sonypictures.com/",r=n?.copy.baseCopy.$SONY_LINK||"https://www.sony.com/en/";const a=n?.copy.accessibilityCopy;return(0,e.h)("div",{class:me.sony,style:{position:"absolute",top:t.offsetTop?t.offsetTop-34+"px":"",zIndex:9}},(0,e.h)("div",{class:me.left},(0,e.h)(ie.Z,{class:!i&&me.disabled,target:"_blank",href:i,ariaLabel:a?.$SONY_PICTURES_LINK_ARIA_LABEL},(0,e.h)("img",{class:me.sonyPicturesLogo,src:`${o}/sonypictures/images/sony-pictures-logo.svg`,alt:a?.$SONY_PICTURES_LOGO_ALT}))),(0,e.h)("div",{class:me.right},null,(0,e.h)(ie.Z,{class:!r&&me.disabled,target:"_blank",href:r,ariaLabel:a?.$SONY_LINK_ARIA_LABEL},(0,e.h)("img",{class:me.sonyLogo,src:`${o}/sonypictures/images/sony-logo.svg`,alt:a?.$SONY_LOGO_ALT}))))}render(t){const{appData:n,headerData:i,isCalendarRemindMode:r,client:s,solidBackground:l,desktopSolidHeader:p,style:d,offsetTop:h,calRemindOpen:u}=t,{copy:g}=n,{showtimesOverlay:f,homeEntOverlay:m,pressKitOverlay:_,homeEntMerchantOpen:y,activeSection:v,videoOverlayOpen:b,showtimesSearchOverlay:w,open:E,shareOpen:k,interstitialOpen:S}=i||{},C=o.Z.get(),O="desktop"!==(0,a.RK)(this.props,"client.device","")?"boltHome"===o.Z.get().activePage:(0,a.RK)(C,"homeActivePercentage",1)>(0,ee.Kl)(h),A=b?"boltVideos":v||"bolt",R=this.getCurrentHeaderAction(),T=this.renderRegionSelector(),L=void 0!==(0,a.RK)(n,"header.powsterHeader.regionSelector"),{regionSelectorShowing:I}=this.state,x=(0,a.RK)(this.props,"appData.styling.fontVariables"),D=(0,a.RK)(C,"synopsis.onesheetExpanded"),Z=(0,a.RK)(C,"trailerOverlay.overlayOpen"),N=(0,a.RK)(o.Z.get(),"appData.options.disableBurgerMenu",!1),P=(0,a.RK)(this.props,"client.isDesktopSize");let K={};h&&(K.position="fixed",K.top=h+"px",K.zIndex=9);let M,B=this.renderSonyHeader();if(!(0,a.RK)(this.props,"appData.header.powsterHeader"))return B;"burger"===R.icon?M=g.accessibilityCopy.$OPEN_NAV_ARIA:"closeNavMenu"===R.tag?M=g.accessibilityCopy.$CLOSE_NAV_ARIA:"closeOnesheetOverlay"===R.tag?M=g.accessibilityCopy.$CLOSE_ONESHEET_ARIA:"closeCalRemind"===R.tag?M=g.accessibilityCopy.$CALENDAR_REMINDER_CLOSE_ARIA:"closeVideoOverlay"===R.tag?M=g.accessibilityCopy.$CLOSE_VIDEOS_ARIA:"back"===R.icon&&(M=g.accessibilityCopy.$BACK_BTN_SHOWTIMES_ARIA);const H=!this.props?.appData?.header?.powsterHeader?.nav,$=(0,c.fx)(),G=g.baseCopy.$NAVIGATION_LABEL,V=G&&!f&&!m&&!b&&!H,F=(0,a.RK)(C,"showtimes.providerInterstitialOpen",!1)||(0,a.RK)(C,"previewPanel.providerInterstitialOpen",!1),z=this.getSectionSpecificStyle(),U={};if(z){const{headerNavLabel:e}=z;U.color=e}const W={};if(z&&!i.open){const{headerNavIconOpen:e,headerNavIconOpenMob:t}=z;W.background=t&&!P?t:e}const j=!R.icon||"burger"===R.icon;return(0,e.h)("div",{class:(0,a.WM)(`header-${C.activePage}`,E&&"navOpen",{s:me,headerContainer:!0,homeEntMerchantOpen:y})},B,(0,e.h)("div",{class:(0,a.WM)({s:me,container:!0,showtimesSearchOverlay:w,solidBackgroun
2d:l,desktopSolidHeader:p},me[`activeSection--${A}`]),style:K,key:"container",id:"header"},(0,e.h)(oe.Z,{class:(0,a.WM)(me.burgerMenuBtn,(k||I||H||F||N&&j)&&me.hide,$&&me.disabled),trigger:this.triggerBurgerBtn,ariaLabel:M,key:"burgerButton"},(0,e.h)(re.Z,{type:R.icon||"burger",dark:R.dark,style:R.style,hidden:S,lineStyle:W,showtimesOverlayOpen:f,homeEntOverlayOpen:m,pressKitOverlayOpen:_,isSinglePageIframed:$,homeScrolled:!O,navOpen:E,showtimesSearchOverlay:w,videoOverlayOpen:b,oneSheetOverlayOpen:D,trailerOverlayOpen:Z,calendarRemindOpen:u,widgetFullyExpanded:C.widgetFullyExpanded})),this.renderHeaderLogo(),!!V&&(0,e.h)("span",{class:(0,a.WM)(me.menuText,x.headerShare,{s:me,homeScrolled:!O}),style:U,onClick:this.triggerBurgerBtn},G),this.renderExtraActions(),this.renderPersistentButton(),this.renderShare(),(0,e.h)(ue,{appData:n,activePage:t.activePage,headerData:i,navOpen:E,client:s,isCalendarRemindMode:r,showRegionSelector:T&&L,regionSelectorClick:this.toggleRegionSelector,style:d,key:"expand"}),T))}}var ye=i(1465);const ve=t=>(0,e.h)("svg",(0,ce.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",role:"img"},t),(0,e.h)("circle",{cx:"21.596",cy:"21.243",r:"1"}),(0,e.h)("path",{d:"M13.172 5.101c.267 0 .518.104.707.293l12.728 12.728a1 1 0 0 1 0 1.414l-7.071 7.071a.993.993 0 0 1-.707.293.993.993 0 0 1-.707-.293L5.393 13.879a.993.993 0 0 1-.293-.707c0-.267.104-.518.293-.707l7.071-7.071a.994.994 0 0 1 .708-.293m0-1a1.99 1.99 0 0 0-1.414.586l-7.071 7.071a2 2 0 0 0 0 2.828l12.728 12.728c.391.391.902.586 1.414.586s1.024-.195 1.414-.586l7.071-7.071a2 2 0 0 0 0-2.828L14.586 4.686a1.997 1.997 0 0 0-1.414-.585zm-.668 23.787c-3.641-.975-6.634-3.729-7.968-7.244l1.364.62a.5.5 0 1 0 .411-.911l-2.479-1.126a.5.5 0 0 0-.662.248l-1.126 2.48a.5.5 0 1 0 .91.414l.635-1.399c1.451 3.875 4.634 6.807 8.655 7.884a.498.498 0 0 0 .612-.354.498.498 0 0 0-.352-.612zm6.992-23.776c3.641.975 6.634 3.729 7.968 7.244l-1.364-.62a.5.5 0 1 0-.411.911l2.479 1.126a.5.5 0 0 0 .662-.248l1.126-2.48a.5.5 0 1 0-.91-.414l-.635 1.399c-1.451-3.875-4.634-6.807-8.655-7.884a.498.498 0 0 0-.612.354.498.498 0 0 0 .352.612z"})),be="landscapeOverlay__wrapper__ySlEt",we="landscapeOverlay__phoneIcon__hXNeF";class Ee extends e.wA{render(){return(0,e.h)("div",{className:be},(0,e.h)(ve,{class:we,ariaLabel:"Phone Icon"}))}}const ke={};class Se extends e.wA{render(){return(0,e.h)("div",{class:ke.loader},"Loading...")}}const Ce={container:"dynamicPageLoader__container__dP_35",component:"dynamicPageLoader__component__RFlGe",active:"dynamicPageLoader__active__VQEx9"},Oe={};class Ae extends e.wA{constructor(e){super(e),this.activeRequest=0,this.componentKey=1,this.state.components=[],this.usePage(e.page,e.data,e.props)}componentWillReceiveProps(e){this.pagesEqual(e.page,this.props.page)?this.updateCurrentPageProps(e.props):this.usePage(e.page,e.data,e.props)}componentWillUnmount(){this.unmounted=!0}pagesEqual(e,t){return e===t||!(!e||!t)&&(e.id===t.id&&!(!e.page||!t.page||e.page!==t.page))}updateActiveComponent(e,t,n){let o=this.componentKey++,i=this.state.components;this.state.components.forEach((e=>{if(e.removeTimer)return;let t=isNaN(+e.removeDelay)?500:+e.removeDelay;e.removeTimer=setTimeout((()=>{this.unmounted||this.setState({components:this.state.components.filter((t=>t!==e))})}),t)})),i=i.concat({component:e,key:o,data:t,props:n}),this.setState({components:i,activeKey:o})}updateCurrentPageProps(e){if(this.activeProps=e,!this.state.components.length)return;this.state.components[this.state.components.length-1].props=e}async usePage(e,t,n){if(!e||!e.getter)return;if("function"!=typeof e.getter)return this.updateActiveComponent(e.getter,t,n);if(Oe[e.id])return this.updateActiveComponent(Oe[e.id],t,n);let o=++this.activeRequest;this.activeProps=n,this.updateActiveComponent(e.loader||Se,{loader:!0});const i=await e.getter();try{(0,a.Qr)(i)||"function"!=typeof this.props.onLoad||this.props.onLoad()}catch(e){}Oe[e.id]=i,this.activeRequest===o&&this.updateActiveComponent(i,t,this.activeProps)}render(t,n){return(0,e.h)("div",{class:(0,a.WM)(Ce.container,t.containerClass)},n.components.map((o=>{const i=o.component.default||o.component;return(0,e.h)("div",{class:(0,a.WM)(Ce.component,n.activeKey===o.key&&Ce.active,t.class,o.data?.loader&&Ce.loader),key:o.key},(0,e.h)(i,(0,ce.Z)({page:o.data},o.props)))})))}}
vendor: 7,319 bytes, line 2
2var Re=i(9987),Te=i(8617),Le=i(4541);const Ie={container:"boltApp__container__xINQi",mainScrollWrapper:"boltApp__mainScrollWrapper__ywLNu",mainScroll:"boltApp__mainScroll__ZDT3A",hideScrollbar:"boltApp__hideScrollbar__SxnGV",dedicatedPage:"boltApp__dedicatedPage__lArXY",pageWrapper:"boltApp__pageWrapper__rf47I",pageContainer:"boltApp__pageContainer__wBa1v",pageName:"boltApp__pageName__n_Xy1",background:"boltApp__background__Ktsk0",hasStickyFooter:"boltApp__hasStickyFooter__r0myZ",hideBackground:"boltApp__hideBackground__hrZVo",bgVideo:"boltApp__bgVideo__k3G8J",sidePanelOpen:"boltApp__sidePanelOpen__aeGDx",fadeIn:"boltApp__fadeIn__y78dd",loadingOccluder:"boltApp__loadingOccluder__ZI1aL",sound:"boltApp__sound__rGLnf",icon:"boltApp__icon__GV5kw",muted:"boltApp__muted__dchw4","top-left":"boltApp__top-left__DerwV","top-right":"boltApp__top-right__VpB8I","bottom-left":"boltApp__bottom-left__ySXaw","bottom-right":"boltApp__bottom-right__WD22g",removeOccluder:"boltApp__removeOccluder__P2mky",sidePanelAnimation:"boltApp__sidePanelAnimation___hsqI"};function xe(){xe=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(n){t.forEach((function(t){t.kind===n&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var n=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var i=t.placement;if(t.kind===o&&("static"===i||"prototype"===i)){var r="static"===i?e:n;this.defineClassElement(r,t)}}),this)}),this)},defineClassElement:function(e,t){var n=t.descriptor;if("field"===t.kind){var o=t.initializer;n={enumerable:n.enumerable,writable:n.writable,configurable:n.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,n)},decorateClass:function(e,t){var n=[],o=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Ne(e))return n.push(e);var t=this.decorateElement(e,i);n.push(t.element),n.push.apply(n,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:n,finishers:o};var r=this.decorateConstructor(n,t);return o.push.apply(o,r.finishers),r.finishers=o,r},addElementPlacement:function(e,t,n){var o=t[e.placement];if(!n&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var n=[],o=[],i=e.decorators,r=i.length-1;r>=0;r--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[r])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&o.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],t);n.push.apply(n,c)}}return{element:e,finishers:o,extras:n}},decorateConstructor:function(e,t){for(var n=[],o=t.length-1;o>=0;o--){var i=this.fromClassDescriptor(e),r=this.toClassDescriptor((0,t[o])(i)||i);if(void 0!==r.finisher&&n.push(r.finisher),void 0!==r.elements){e=r.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:n}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(0,n.Z)(e).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var n=Me(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var r={kind:t,key:n,placement:o,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),r.initializer=e.initializer),r},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Ke(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var n=Ke(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:n}},runClassFinishers:function(e,t){for(var n=0;n<t.length;n++){var o=(0,t[n])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,n){if(void 0!==e[t])throw new TypeError(n+" can't have a ."+t+" property.")}};return e}function De(e){var t,n=Me(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Ze(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ne(e){return e.decorators&&e.decorators.length}function Pe(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ke(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Me(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}"undefined"!=typeof window&&(window.navigateInternally=t.Nb);const Be=new Le.TU.Renderer,He=e=>
2e.replace(/(\\)?(\$[0-9A-Z_]+)/g,((e,t,n)=>t?n:(0,te.s)(n)||n));Be.html=e=>He(e),Be.text=e=>He(e),Be.link=(e,n,o)=>{let i={};n&&(i.title=n),e&&"+"===e[0]&&(e=e.slice(1),i.target="_blank");try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return o}if(e&&!/^((https?:)|mailto|(#\$))/.test(e)){let n=e;e=(0,t.xE)(n)||"#",i.onclick=`event.preventDefault();navigateInternally('${n}');`,i.role="button"}return i.href=e,"<a "+Object.keys(i).map((e=>e+'="'+i[e]+'"')).join(" ")+">"+o+"</a>"},Le.TU.setOptions({renderer:Be,smartLists:!0});const $e="undefined"==typeof window;let Ge=function(e,t,n,o){var i=xe();if(o)for(var r=0;r<o.length;r++)i=o[r](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),n),s=i.decorateClass(function(e){for(var t=[],n=function(e){return"method"===e.kind&&e.key===r.key&&e.placement===r.placement},o=0;o<e.length;o++){var i,r=e[o];if("method"===r.kind&&(i=t.find(n)))if(Pe(r.descriptor)||Pe(i.descriptor)){if(Ne(r)||Ne(i))throw new ReferenceError("Duplicated methods ("+r.key+") can't be decorated.");i.descriptor=r.descriptor}else{if(Ne(r)){if(Ne(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+r.key+").");i.decorators=r.decorators}Ze(r,i)}else t.push(r)}return t}(a.d.map(De)),e);return i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([H.Z],(function(n,r){return{F:class extends r{constructor(e){super(e),n(this),this.state.appState=e.initialStore,this.state.orientation=e.initialStore?.client?.orientation||"portrait",this.state.bgImageLoaded=!1,this.state.backgroundStyle={},this.state.fallbackBackgroundStyle={},this.state.posterVisible=!0,this.state.audioMuted=!0,this.state.isComponentLoaded=!h.L1[this.state.appState.activePage],o.Z.set(e.initialStore),$e||(e.initialStore.appData?.tracking,this.handleResize(),o.Z.emit("LANDING",{page:(0,t.R4)(e.initialStore.appData?.pages)||window.__START_PAGE_ID__})),o.Z.on("update",(()=>{const e=o.Z.get();this.setState({appState:e})})),this.scrolling=this.scrolling.bind(this),this.handleResize=this.handleResize.bind(this),this.handlePopState=this.handlePopState.bind(this),this.handleOrientationChange=this.handleOrientationChange.bind(this),this.updateVisibilityPercentages=this.updateVisibilityPercentages.bind(this),this.updateBgStyle=this.updateBgStyle.bind(this),this.hidePoster=this.hidePoster.bind(this),this.removeBgVideo=this.removeBgVideo.bind(this),this.playVideo=this.playVideo.bind(this),this.handleVisibilityChange=this.handleVisibilityChange.bind(this),this.onPageContentLoad=this.onPageContentLoad.bind(this),this.toggleAudio=this.toggleAudio.bind(this);let i=e.initialStore?.appData,r=i?.options;const a=i?.pages||{},s=Object.values(a).find((e=>"showtimes"!==e?.type&&e?.data?.bg));this.backgroundData=s?.data?.bg,this.ageGateEnabled=r?.ageGate,this.externalLinkModalEnabled=!0===r?.externalLinkModal||r?.externalLinkModal?.enabled,this.powsterCookiesEnabled=r?.cookiesModal?.enableModal,this.tealiumCookiesEnabled=r?.enableTealiumCookieConsent,this.evidonCookiesEnabled=r?.requireUserConsent,this.ensightenCookiesEnabled=r?.enableEnsighten,this.oneTrustCookiesEnabled=r?.oneTrustCookieConsent,this.didomiCookiesEnabled=r?.didomiCookieConsent,this.SMECookiesEnabled=r?.SMECookieConsent,this.cookiesEnabled=this.powsterCookiesEnabled||this.tealiumCookiesEnabled||this.ensightenCookiesEnabled||this.evidonCookiesEnabled||this.oneTrustCookiesEnabled||this.didomiCookiesEnabled||this.SMECookiesEnabled}},d:[{kind:"method",key:"componentDidMount",value:function(){this.isCalendarRemindMode=!(0,t.nO)();const e=this.calendarNeeded();W(),window.addEventListener("mousemove",q,!0),window.addEventListener("touchstart",Q,!0),document.body.classList.add(Y),window.addEventListener("orientationchange",this.handleOrientationChange),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.scrolling,!0),window.addEventListener("popstate",this.handlePopState),document.addEventListener("visibilitychange",this.handleVisibilityChange),this.handleOrientationChange(),document.body.classList.add("js-loaded"),o.Z.get().client.set({headerHeight:(0,t.CF)()});let n=(0,X.Z)();
2if(o.Z.emit("LANDING_QUERY",n),this.cookiesEnabled?(o.Z.emit("CHECK_COOKIES",Re.O),i.e(278).then(i.bind(i,8829)).then((e=>{this.Cookies=e.default,this.setState({cookiesCompLoaded:!0})})),i.e(488).then(i.bind(i,7806)).then((e=>{this.CookiesPreference=e.default}))):o.Z.emit("ACCEPT_ALL_COOKIES"),this.ageGateEnabled){const e=this.state.appState?.appData?.options?.ageGate?.cookieName||"pow-agegate",t=this.state.appState?.appData?.options?.ageGate?.lockOut,r="adult"===n.ag||(0,A.e)(e);null!==r&&(o.Z.emit("AGEGATE_CONSENT",+r),(!t||r>0)&&o.Z.emit("AGEGATE_CLOSE")),i.e(356).then(i.bind(i,116)).then((e=>{this.AgeGate=e.default,this.setState({ageGateCompLoaded:!0})}))}this.externalLinkModalEnabled&&i.e(786).then(i.bind(i,6818)).then((e=>{this.ExternalLinkModal=e.default})),this.state.appState?.appData?.options?.videoOverlay&&Promise.all([i.e(715),i.e(350)]).then(i.bind(i,2959)).then((e=>{this.TrailerOverlay=e.default})),Object.values(this.state.appState?.appData?.pages).find((e=>"pressKit"===e.type))&&i.e(421).then(i.bind(i,1430)).then((e=>{this.PressKitGalleryOverlay=e.default})),this.state.appState?.appData?.options?.landingAudio&&i.e(231).then(i.bind(i,6259)).then((e=>{this.LandingAudio=e.default}));const r=this.state.appState?.appData?.options?.formEmbeds?.signUp;Object.values(r||{}).filter((e=>e)).length&&i.e(35).then(i.bind(i,9008)).then((e=>{this.SignUpForm=e.default})),!this.isCalendarRemindMode&&!e||this.state.calRemindLoaded||this.calRemindLoadStarted||(this.calRemindLoadStarted=!0,i.e(792).then(i.bind(i,6998)).then((e=>{this.CalRemind=e.default}))),this.updateBgStyle(),this.updateVisibilityPercentages(),o.Z.on("SECTION_LOADED",this.scrolling);const s=(0,a.RK)(this.state.appState,"appData.options.paramountFeatures.visibleScrollbar",{}),l=(0,a.RK)(this.state.appState,"appData.styling.variables",{});if(s?.color){let e=s.color.replace("$","");(0,t.Dr)("#mainScroll::-webkit-scrollbar-thumb",{background:l[e]||e})}if(s?.backgroundColor){let e=s.backgroundColor.replace("$","");(0,t.Dr)("#mainScroll::-webkit-scrollbar-track",{background:l[s.color]||e})}const c=(0,a.RK)(this.state.appState,"appData.options.formEmbeds.popup",{}),{id:p,baseUrl:d,uuid:h,lid:u,landingDelay:g}=c;!p&&d&&h&&u&&g&&o.Z.emit("SUBSCRIBER_POPUP",c,!0)}},{kind:"method",key:"componentWillUnmount",value:function(){window.removeEventListener("orientationchange",this.handleOrientationChange),window.removeEventListener("scroll",this.scrolling,!0),window.removeEventListener("popstate",this.handlePopState),document.removeEventListener("visibilitychange",this.handleVisibilityChange),o.Z.off("SECTION_LOADED",this.scrolling),(0,p.clearAllBodyScrollLocks)(),window.clearTimeout(this.videoTimeout)}},{kind:"method",key:"componentDidUpdate",value:function(e,n){if(n.appState.activePage!==this.state.appState.activePage&&this.updateVisibilityPercentages(),!this.cookieHeight&&!$e){const e=document.querySelector("[data-section=cookies]");this.cookieHeight=e&&window.getComputedStyle(e).height}const r=(0,a.RK)(this.state,"appState.client.isDesktopSize"),s=(0,a.RK)(n,"appState.client.isDesktopSize"),l=(0,a.RK)(this.state,"appState.client.isDesktopWidth"),c=(0,a.RK)(n,"appState.client.isDesktopWidth");r===s&&l===c||o.Z.get().client.set({headerHeight:(0,t.CF)()});const{homeActivePercentage:p}=this.state.appState,d=r?.6:.4;if(this.$bgVideo){const e=this.getBgValue("disableLoop"),t=this.$bgVideo.currentTime>=this.$bgVideo.duration;!(p>=d&&this.$bgVideo.paused)||e&&t?p<d&&this.$bgVideo.pause():this.$bgVideo.play()}this.state.appState.debugMode&&!this.loadingDebugInfo&&(this.loadingDebugInfo=!0,i.e(385).then(i.bind(i,2225)).then((e=>{this.DebugInfo=e.default,this.forceUpdate()})));let h=[...this.$bgVideo?.children||[]].map((e=>e.src)).join(",");this.previousBgSources&&h!==this.previousBgSources&&this.$bgVideo?.load(),this.previousBgSources=h}},{kind:"method",key:"handleVisibilityChange",value:function(){if("undefined"==typeof document||document.hidden||!this.$bgVideo)return;(this.$bgVideo.paused||0===this.$bgVideo.currentTime||this.$bgVideo.ended)&&this.$bgVideo.readyState>=2&&(this.videoTimeout=window.setTimeout((()=>{this.$bgVideo&&this.$bgVideo.play()}),100))}},{kind:"method",key:"updateBgStyle",value:function(){if(this.backgroundData){if(this.backgroundData.useSolidBgColor)return;this.setState({backgroundStyle:{backgroundImage:this.getBgImage(),backgroundPosition:this.getBgValue("bgPosition")}
2,fallbackBackgroundStyle:{objectPosition:this.getBgValue("bgPosition")}})}}},{kind:"method",key:"removeBgVideo",value:function(){this.setState({bgVideo:!1})}},{kind:"method",key:"scrolling",value:function(){const e=(0,a.RK)(this.state,"appState.header.open"),t=(0,a.RK)(this.state,"appState.ignoreScroll");e||t||this.updateVisibilityPercentages()}},{kind:"method",key:"updateVisibilityPercentages",value:function(){o.Z.emit("UPDATE_VISIBILITY_PERCENTAGES")}},{kind:"method",key:"calendarNeeded",value:function(){return[(0,a.RK)(this.props,"initialStore.appData.pages.boltShowtimes.data.noShowtimes.buttons.extraButton.path",null),(0,a.RK)(this.props,"initialStore.appData.pages.boltHome.data.button1.path",null),(0,a.RK)(this.props,"initialStore.appData.pages.boltHome.data.button2.path",null),(0,a.RK)(this.props,"initialStore.appData.header.powsterHeader.persistentButton.path",null)].includes("@calendarreminder")}},{kind:"method",key:"getBgValue",value:function(e){if(!this.backgroundData||!this.backgroundData.desktop&&!this.backgroundData.tablet&&!this.backgroundData.mobile)return;let n={};return Object.entries(this.backgroundData).map((t=>{let[o,i]=t;n[o]=i[e]})),(0,J.i)((0,t.mt)(n))}},{kind:"method",key:"getBgImage",value:function(){let e=this.getBgValue("asset");const t=(0,a.RK)(o.Z.get(),"appData.pages.boltHome.data.bg.alternativeImageFormat","jpg");if(["mp4","webm","mov"].includes(e?.split?.(".").pop())&&(this.setState({bgVideo:e}),e=this.getBgValue("fallbackImg")),!this.state.bgImageLoaded)if(e){if(!this.occluderTimeout){const n=new Image;n.onload=()=>this.setState({bgImageLoaded:!0}),n.onerror=n.onload,n.src=he.Vh(e,t),this.occluderTimeout=setTimeout((()=>{this.state.bgImageLoaded||this.setState({bgImageLoaded:!0})}),5e3)}}else this.setState({bgImageLoaded:!0});return he.iv(e,t)}},{kind:"method",key:"getH1",value:function(e,t,n,o){let i=[e?.meta?.title?.locale,e?.copy?.baseCopy[t?.name]||e?.copy?.baseCopy[n?.name]||t?.name||n?.name||o?.replace(/^bolt/,"")].filter((e=>e)).join(" | ");return n?.h1&&(i=n.h1),i}},{kind:"method",key:"closeAllOverlays",value:function(){o.Z.emit("CLOSE_ALL_OVERLAYS")}},{kind:"method",key:"handleOrientationChange",value:function(){this.handleResize();let e="portrait";switch(window.orientation){case 0:case 180:e="portrait";break;case-90:case 90:e="landscape"}this.setState({orientation:e})}},{kind:"method",key:"handleResize",value:function(){o.Z.emit("UPDATE_CLIENT");let e=window.innerHeight;document.documentElement.style.setProperty("--vh",.01*e+"px"),document.documentElement.style.setProperty("--windowHeight",e+"px");let t=(0,c.KR)(),n=this.state.appState.client;n&&t!==n.isDesktopSize&&o.Z.get().client.set({isDesktopSize:t}),this.updateBgStyle()}},{kind:"method",key:"hidePoster",value:function(){this.setState({posterVisible:!1})}},{kind:"method",key:"handlePopState",value:function(e){let n=e.state?.activePage;n||(n=(0,t.R4)()),o.Z.emit("POP_STATE",n||window.__START_PAGE_ID__)}},{kind:"method",key:"onPageContentLoad",value:function(){!0!==this.state.isComponentLoaded&&this.setState({isComponentLoaded:!0})}},{kind:"method",key:"getExtra",value:function(){}},{kind:"method",key:"playVideo",value:function(e){(0,$.Z)(e.target).then(this.hidePoster).catch(this.removeBgVideo)}},{kind:"method",key:"toggleAudio",value:function(){this.$bgVideo&&(this.setState({audioMuted:!this.$bgVideo.muted}),this.$bgVideo.muted=!this.$bgVideo.muted)}},{kind:"method",key:"checkIfLoaded",value:function(){return this.state.isComponentLoaded&&(this.state.bgImageLoaded||!this.backgroundData||this.backgroundData.useSolidBgColor)}},{kind:"method",key:"renderLoadingOccluder",value:function(){return(0,e.h)("div",{class:Ie.loadingOccluder,key:"occluder"})}},{kind:"method",key:"renderBgVideo",value:function(t,n,i){const{bgVideo:r,appState:s,posterVisible:l}=this.state,{activePage:c}=s,p="boltHome"!==c&&!s.appData.pages[c]?.section,d=this.getBgValue("preLoadImg"),h=(0,a.RK)(o.Z.get(),"appData.pages.boltHome.data.bg.alternativeImageFormat","jpg"),u=(0,a.RK)(s,"showtimes.show",!1),g=!t||u||p,f=(0,a.RK)(s,"appData.copy.accessibilityCopy",{});return(0,e.h)("div",{class:(0,a.WM)({s:Ie,bgVideo:!0,hideBackgroun
2d:g}),key:"bgVideo"},(0,e.h)("video",{style:n,muted:this.state.audioMuted,autoPlay:!0,playsInline:!0,loop:!this.getBgValue("disableLoop"),poster:Te.T?d:d.replace(/\.[^.]*$/,h),onCanPlay:this.playVideo,onError:this.removeBgVideo,ref:e=>this.$bgVideo=e,ariaLabel:f.$BACKGROUND_VIDEO_ARIA},r.endsWith(".webm")&&(0,e.h)("source",{src:r,type:"video/webm"}),(0,e.h)("source",{src:r.replace(/\.[^./]+$/,".mp4"),type:"video/mp4"})),l&&(0,e.h)(he.t,{src:d,alt:"",fallbackFormat:h,style:i}))}},{kind:"method",key:"renderMain",value:function(t,n){const{appState:i,backgroundStyle:r,fallbackBackgroundStyle:s,audioMuted:l,bgVideo:p}=n,{activePage:d,appData:u,client:g,videos:f,header:m,showtimes:_,homeEnt:y,scrollerTallerThanWindow:v,widgetFullyExpanded:b}=i;let w=d,E=u?.pages?.[d];E?.section&&(w=Object.values(h.L1).find((e=>"home"===e.page))?.id||"boltHome");let k=h.L1[w]||this.currentPage;E?.customPageComponent&&h.L1[E.customPageComponent]&&(k={...h.L1[E.customPageComponent],id:E.id}),t.renderedPage&&(k=t.renderedPage),this.currentPage=k;const S=n.orientation,C=g&&!g.isDesktopSize,O="mobile"===g?.deviceSize&&"landscape"===S,A="desktop"!==g?.device&&!O&&"landscape"===S,R=f&&f.overlayOpen,T=_&&_.show,L=_&&_.animate,I=y&&y.show,x=y&&y.animate,D=T||I,Z=L||x,N=(0,a.RK)(i,"homeActivePercentage",1),P=(0,a.RK)(i,"hubActivePercentage",1),K=!N&&C,M=(0,a.RK)(u,"footer.sticky",!1),B=(0,a.RK)(this.state,"appState.externalCookieBanner.bannerOpen",!1),H=B||(0,a.RK)(this.state,"appState.cookies.pushDown",!1)&&(0,a.RK)(this.state,"appState.cookies.cookieBannerOpen",!1),$=B&&C||(0,a.RK)(u,"options.oneContinuousScroll"),G=(0,a.RK)(u,"options.sonyFeatures.sonyHeader",!1)&&!(0,c.fx)(),V=(0,a.RK)(u,"footer.sonyFooter",!1),F=(0,a.RK)(u,"copy.accessibilityCopy",{}),z=(0,a.RK)(u,"options.disableLandscape"),U=(0,a.RK)(u,"options.disableTabletLandscape"),W=(0,a.RK)(u,"options.videoOverlay",null),j=(0,a.RK)(u,"options.landingAudio",null),Y=(0,a.RK)(u,"options.paramountFeatures.visibleScrollbar",!1),q=(0,a.RK)(u,"pages.boltIframe.data.disableOrientationLock",!1)&&"boltIframe"===d,Q=(O&&z||A&&U)&&!q,X=(0,a.RK)(u,"options.paramountFeatures.toutCarousel.contentCarousel",!1),J=(0,a.RK)(u,"pages.boltHome.data.bg.videoHasAudio",!1),te=(0,a.RK)(u,"pages.boltHome.data.bg.iconPosition","top-left"),ne={};Y&&(ne.scrollbarColor=`${Y.color} ${Y.backgroundColor}`);let oe=0;const ie={};if(G&&(oe=34),H&&"undefined"!=typeof window){ie.position=$?"absolute":"fixed";oe+=(B?(0,a.RK)(i,"externalCookieBanner.height"):(0,a.RK)(i,"cookies.height"))||0,ie.top=`${$?"0":oe}px`,ie.height=($?window.innerHeight:window.innerHeight-oe)+"px"}const re=(0,a.RK)(o.Z.get(),"client.headerHeight",0),ae=(0,a.RK)(u,"header.powsterHeader.desktopSolidHeader",null),se=(0,a.RK)(u,"pages.boltHubPage")&&!(0,a.RK)(u,"pages.boltHome"),le=u?.pages.boltPreviewPanel&&!u?.pages.boltHome,ce=h.L1[d]&&"boltHome"!==d&&!E?.section,pe=N<=(0,ee.Kl)(oe)||"boltHome"!==d,de=P<=(0,ee.Kl)(re);let he=se?de&&!D&&!R:pe&&!D&&!R;(le||!v||b)&&(he=!1);const ue=this.checkIfLoaded();let ge=Object.values(u.pages).some((e=>"showtimes"===e?.type)),fe=Object.values(u.pages).some((e=>"homeEnt"===e?.type)),me=Object.values(u.pages).some((e=>"pressKit"===e?.type)),ve=this.state.bgVideo?this.renderBgVideo(N,ie,s):(0,e.h)("div",{class:(0,a.WM)({s:Ie,background:!0,sidePanelOpen:D,hasStickyFooter:M,cookieMode:H,hideBackground:K,sidePanelAnimation:Z,hasMiniGallery:X}),style:{...r,...ie},key:"background",role:"img",ariaLabel:F.$BACKGROUND_IMAGE_ARIA}),be={};return k&&(be={store:i,client:i.client,appData:u,id:k.id,data:u.pages[k.id]?.data,bgRender:$&&ve},k.page&&(be[k.page]=i[k.page])),(0,e.h)("div",{class:(0,a.WM)(Ie.mainScroll,ue&&"contentLoaded",(!Y||C)&&Ie.hideScrollbar,ce&&Ie.dedicatedPage),id:"mainScroll",style:ne},(0,e.h)(_e,{closeAllOverlays:this.closeAllOverlays,client:g,appData:u,activePage:d,solidBackground:he,headerData:m,offsetTop:oe,isCalendarRemindMode:this.isCalendarRemindMode,calRemindOpen:i.calRemindOpen,desktopSolidHeader:ae,footerData:i.footer,key:"header"}),(0,e.h)("h1",{class:Ie.pageName},this.getH1(u,k,E,d)),ve,this.CalRemind&&(0,e.h)(this.CalRemind,{appData:u,open:i.calRemindOpen,offsetTop:oe,key:"calendarRemind"}
2),(0,e.h)(Ae,{class:Ie.pageContainer,containerClass:(0,a.WM)(Ie.pageWrapper,"pageWrapper"),page:k,props:be,onLoad:this.onPageContentLoad,key:"dynamicPageLoader"}),(!D||V)&&(0,e.h)(ye.Z,{data:u.footer,store:i,key:"footer"}),h.lc&&(0,e.h)(h.lc,{store:i,key:"videoLoader"}),ge&&(0,e.h)(h.g1,{store:i,key:"showtimesLoader"}),fe&&(0,e.h)(h.g1,{store:i,key:"homeEntLoader"}),me&&(0,e.h)(h.g1,{store:i,key:"pressKitLoader"}),this.TrailerOverlay&&(0,e.h)(this.TrailerOverlay,{data:W,store:i}),this.PressKitGalleryOverlay&&(0,e.h)(this.PressKitGalleryOverlay,{store:i}),this.LandingAudio&&(0,e.h)(this.LandingAudio,{data:j,offsetTop:oe,store:i}),J&&p&&(0,e.h)("div",{onClick:this.toggleAudio,class:(0,a.WM)(Ie.sound,l&&Ie.muted,Ie[te])},(0,e.h)("button",{class:Ie.icon})),!R&&Q&&(0,e.h)(Ee,{key:"landscape-overlay"}),this.renderLoadingOccluder(),this.getExtra())}},{kind:"method",key:"render",value:function(t,n){const{appData:o,client:i,cookies:r,externalCookieBanner:s,debugMode:l,footer:c,header:p}=n.appState,d=r.cookiePreferencesOpen,h=r.cookieBannerOpen;let u=!1!==n.appState.ageGateOpen;const g=o?.options?.ageGate?.onlyOnPages;if(u&&g){const e=o.pages[n.appState.activePage].section;u=g.split(",").map((e=>e.trim())).includes(n.appState.activePage)&&!e}const f=Object.keys(o.header).find((e=>e.endsWith("Header")&&"powsterHeader"!==e)),m=["sonyFooter"].find((e=>o.footer[e]))||"defaultFooter",_=p.open;let y=l&&this.DebugInfo,{Cookies:v,CookiesPreference:b,AgeGate:w,ExternalLinkModal:E,SignUpForm:k}=this;const S="rtl"===o?.styling?.fontVariables?.textDirection,C=`--footer-covered-screen-size: ${c?.coveredScreenSize||0}px;`;return(0,e.h)("div",{class:(0,a.WM)(Ie.container,i.device,i.orientation,i.isIOS&&"iOS",f,m,"page-"+n.appState.activePage,S&&"isRTL"),id:"bolt",style:C},v&&(0,e.h)(v,{appData:o,categories:Re.O,hidden:!h,key:"cookieBanner"}),b&&(0,e.h)(b,{appData:o,copy:o.copy.baseCopy,categories:Re.O,key:"cookiesPref",cookiePrefsOpen:d}),w&&u&&(0,e.h)(w,{appData:o,copy:o.copy,key:"ageGate"}),E&&(0,e.h)(E,{appData:o,externalLinkModal:n.appState.externalLinkModal,copy:o.copy,key:"externalLink"}),(0,e.h)("div",{class:Ie.mainScrollWrapper,key:"mainScrollWrapper"},this.renderMain(t,n)),k&&(0,e.h)(k,{data:o?.options?.formEmbeds?.signUp,activePage:n.appState.activePage,clientData:i,cookies:r,externalCookieBanner:s,showtimesProviderInterstitialOpen:n.appState.showtimes?.providerInterstitialOpen,navOpen:_,key:"signUp"}),!!y&&(0,e.h)(y,{appData:o,appState:n.appState,key:"debug"}))}}]}}),e.wA);i(6638);try{let e=location.origin+location.pathname.replace(/\/[^/]*$/,"/");"about:"===location.protocol&&window.parent!==window&&(e=window.parent.location.origin+window.parent.location.pathname.replace(/\/[^/]*$/,"/")),i.p=e+(window.__RELATIVE_ROOT__||"")+"js/"}catch(e){}let Ve=(0,t.IQ)(window.__INITIAL_STATE__),Fe=document.getElementById("app")||document.body;(0,e.sY)((0,e.h)(Ge,{initialStore:Ve}),Fe,Fe.firstChild)})(),r})())); 3//# sourceMappingURL=bolt.js.map
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.