1"use strict";(globalThis["webpackChunkindy_frontend"]=globalThis["webpackChunkindy_frontend"]||[]).push([[37921],{69027:(e,t,i)=>{i.r(t),i.d(t,{default:()=>D});var o=i(35542),a=i(33877),r=i(48907);const n={key:0},s={key:0,class:"row bg-white q-pa-md"};function l(e,t,i,l,d,c){const g=(0,o.g2)("q-scroll-observer"),u=(0,o.g2)("header-style-drawer"),h=(0,o.g2)("global-widget-form"),p=(0,o.g2)("style-drawer"),S=(0,o.g2)("q-drawer"),b=(0,o.g2)("global-widget"),m=(0,o.g2)("consumer-header"),y=(0,o.g2)("router-view"),T=(0,o.g2)("q-page-sticky"),w=(0,o.g2)("q-page-container"),E=(0,o.g2)("q-btn"),k=(0,o.g2)("mobile-footer"),v=(0,o.g2)("page-table"),W=(0,o.g2)("q-dialog"),f=(0,o.g2)("navigation-table"),P=(0,o.g2)("site-selector-with-zones"),_=(0,o.g2)("drawer-dialog"),C=(0,o.g2)("set-preferred-site-dialog"),O=(0,o.g2)("time-travel-widget"),A=(0,o.g2)("consumer-search"),G=(0,o.g2)("q-layout");return(0,o.uX)(),(0,o.Wv)(G,{id:e.$q.screen.lt.md?"consumer-layout-mobile":"consumer-layout",view:e.$q.screen.lt.md?"hHh lpR fFf":"LHh lpR lff",class:"full-height"},{default:(0,o.k6)((()=>[(0,o.bF)(g,{onScroll:c.handleScrollObserver},null,8,["onScroll"]),e.$_.isNil(d.showDrawerMode)?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.Wv)(S,{key:0,"model-value":!0,side:"left",bordered:""},{default:(0,o.k6)((()=>[d.showDrawerMode===e.DRAWER_MODES.HEADER?((0,o.uX)(),(0,o.Wv)(u,{key:0,"current-site":e.currentSite,"current-page":c.currentPage,onClose:t[0]||(t[0]=e=>d.showDrawerMode=null)},null,8,["current-site","current-page"])):d.showDrawerMode===e.DRAWER_MODES.GLOBAL_WIDGET?((0,o.uX)(),(0,o.Wv)(h,{key:1,ref:"globalWidgetForm",class:"q-pb-xl","is-dialog":!1,"hide-preview":"","compact-view":"","tab-view":"","show-drawer-button":"",onCancel:t[1]||(t[1]=e=>d.showDrawerMode=null)},null,512)):d.showDrawerMode===e.DRAWER_MODES.STYLE?((0,o.uX)(),(0,o.Wv)(p,{key:2,page:d.pageForStyle,section:d.sectionForStyle,onClose:t[2]||(t[2]=e=>d.showDrawerMode=null),onHandlePageChange:t[3]||(t[3]=t=>e.handlePageChange&&e.handlePageChange())},null,8,["page","section"])):(0,o.Q3)("",!0)])),_:1})),(0,o.bF)(m,{ref:"consumerHeader","sticky-header":!e.$_.isEmpty(c.stickyBannerGlobalWidgets),"show-on-scroll-up":c.showOnScrollUp,"last-scroll-top":d.lastScrollTop,"overlay-header-placement":c.noTopPaddingConfig,onEditPages:t[7]||(t[7]=e=>d.editPages=!0),onEditNavigations:t[8]||(t[8]=e=>d.editNavigations=!0),onEditSiteCss:c.editCss,onTimeTravel:t[9]||(t[9]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onSearch:t[10]||(t[10]=e=>d.showSearch=!0),onEditHeaderStyle:c.editHeaderStyle,onShowSiteSelectorDrawer:t[11]||(t[11]=e=>c.showSiteSelectorDialog(!1))},{"header-top":(0,o.k6)((()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.topPositionStickyBannerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`stickyBanner${i.id}`,"global-widget":i,onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onTimeTravel:t[4]||(t[4]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onEditSiteCss:c.editCss},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128)),(0,o.bF)(a.eB,{"enter-active-class":"animated slideInDown","leave-active-class":"animated slideOutUp"},{default:(0,o.k6)((()=>[d.lastScrollTop<50?((0,o.uX)(),(0,o.CE)("div",n,[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.topPositionNonStickyBannerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`nonStickBanner${i.id}`,"global-widget":i,onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onTimeTravel:t[5]||(t[5]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onEditSiteCss:c.editCss},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128))])):(0,o.Q3)("",!0)])),_:1})])),"header-bottom":(0,o.k6)((()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.belowHeaderStickyBannerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`stickyBanner${i.id}`,"global-widget":i,onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onTimeTravel:t[6]||(t[6]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onEditSiteCss:c.editCss},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128))])),_:1},8,["sticky-header","show-on-scroll-up","last-scroll-top","overlay-header-placement","onEditSiteCss","onEditHeaderStyle"]),(0,o.bF)(w,{ref:"pageContainer",class:(0,r.C4)({"ios-page-container":e.$capacitor?.isIOS,"android-page-container":e.$capacitor?.isAndroid}),style:(0,r.Tr)([c.noTopPaddingConfig?{"padding-top":"0"}:{}])},{default:(0,o.k6)((()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.belowHeaderNonStickyBannerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`nonStickBanner${i.id}`,"global-widget":i,onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onTimeTravel:t[12]||(t[12]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onEditSiteCss:c.editCss},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128)),((0,o.uX)(),(0,o.Wv)(y,{key:e.$route.fullPath},{default:(0,o.k6)((({Component:i})=>[((0,o.uX)(),(0,o.Wv)(o.PR,{exclude:"Orders",max:"5"},[((0,o.uX)(),(0,o.Wv)((0,o.$y)(i),{"page-container-padding-top":d.pageContainerPaddingTop,onTimeTravel:t[13]||(t[13]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onStopTimeTravel:t[14]||(t[14]=t=>e.$refs.timeTravelWidget.stopTimeTravel()),onEditCss:t[15]||(t[15]=(e,t,i)=>c.editCss(e,t,i)),onStopEditCss:t[16]||(t[16]=e=>d.showDrawerMode=null),onEditNavigations:t[17]||(t[17]=e=>d.editNavigations=!0),onShowSiteSelectorDrawer:t[18]||(t[18]=e=>c.showSiteSelectorDialog(!0))},null,40,["page-container-padding-top"]))],1024))])),_:1})),(0,o.bF)(T,{position:"bottom",expand:"",style:{"z-index":"12"}},{default:(0,o.k6)((()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.bottomPositionStickyBannerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`stickyBanner${i.id}`,"global-widget":i,onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onTimeTravel:t[19]||(t[19]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onEditSiteCss:c.editCss},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128))])),_:1}),((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.bottomPositionNonStickyBannerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`nonStickBanner${i.id}`,"global-widget":i,onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onTimeTravel:t[20]||(t[20]=t=>e.$refs.timeTravelWidget.startTimeTravel()),onEditSiteCss:c.editCss},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128)),((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(c.footerGlobalWidgets,(i=>((0,o.uX)(),(0,o.Wv)(b,{key:`consumerFooter${i.id}`,"global-widget":i,onEditNavigations:t[21]||(t[21]=e=>d.editNavigations=!0),onEditGlobalWidgetStyle:e=>c.editGlobalWidgetStyle(i,"edit"),onEditSiteCss:c.editCss,onTimeTravel:t[22]||(t[22]=t=>e.$refs.timeTravelWidget.startTimeTravel())},null,8,["global-widget","onEditGlobalWidgetStyle","onEditSiteCss"])))),128))])),_:1},8,["class","style"]),e.$q.screen.lt.sm?((0,o.uX)(),(0,o.Wv)(k,{key:1},{default:(0,o.k6)((()=>[c.showActivityBookNowButton?((0,o.uX)(),(0,o.CE)("div",s,[(0,o.bF)(E,{class:"full-width",color:"primary",size:"lg",onClick:t[23]||(t[23]=t=>e.$router.push({name:"checkout:activity",params:{slug:c.currentRoute.params.slug}}))},{default:(0,o.k6)((()=>[(0,o.eW)((0,r.v_)(e.$t("actions.bookNow")),1)])),_:1})])):(0,o.Q3)("",!0)])),_:1})):(0,o.Q3)("",!0),(0,o.bF)(W,{modelValue:d.editPages,"onUpdate:modelValue":t[24]||(t[24]=e=>d.editPages=e),"full-width":""},{default:(0,o.k6)((()=>[(0,o.bF)(v)])),_:1},8,["modelValue"]),(0,o.bF)(W,{modelValue:d.editNavigations,"onUpdate:modelValue":t[25]||(t[25]=e=>d.editNavigations=e),"full-width":""},{default:(0,o.k6)((()=>[(0,o.bF)(f)])),_:1},8,["modelValue"]),(0,o.bF)(_,{ref:"siteSelectorDrawerDialog","aria-labelledby":"site-selector-dialog-title"},{content:(0,o.k6)((()=>[(0,o.bF)(P,{class:(0,r.C4)(["bg-transparent",e.$q.screen.gt.xs?"q-mx-md":"q-mx-sm"]),"heading-font-size":e.$q.screen.gt.xs?"h4":"h5",dense:e.$q.screen.lt.sm,"redirect-home-page":d.redirectHomePage,onSelect:e.hideSiteSelectorDialog},{heading:(0,o.k6)((()=>[(0,o.Lk)("h2",{id:"site-selector-dialog-title",class:(0,r.C4)(["text-h4 text-center",e.$q.dark.isActive?"text-white":"text-primary"])},(0,r.v_)(e.$t("siteLocation.selectLocationHeading")),3)])),_:1},8,["class","heading-font-size","dense","redirect-home-page","onSelect"])])
1),_:1},512),e.currentUser?.isRemote?((0,o.uX)(),(0,o.Wv)(C,{key:2,ref:"setPreferredSiteDialog"},null,512)):(0,o.Q3)("",!0),(0,o.bF)(O,{ref:"timeTravelWidget"},null,512),(0,o.bF)(A,{modelValue:d.showSearch,"onUpdate:modelValue":t[26]||(t[26]=e=>d.showSearch=e)},null,8,["modelValue"])])),_:1},8,["id","view"])}i(55016),i(35088),i(50777),i(83270);var d=i(75473),c=i(8729),g=i(58581),u=i(5207),h=i(48562),p=i(59629),S=i(81564),b=i(61154),m=i(91215);const y=Object.freeze({STYLE:"page",GLOBAL_WIDGET:"global-widget",HEADER:"header"}),T=80,w={name:"ConsumerLayout",components:{ConsumerHeader:b["default"],ConsumerSearch:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996),i.e(84895)]).then(i.bind(i,84895)))),MobileFooter:m["default"],ModelForm:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,17996)))),NavigationTable:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,3284)))),PageTable:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,16691)))),StyleDrawer:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996),i.e(9671)]).then(i.bind(i,9671)))),TimeTravelWidget:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(56035)]).then(i.bind(i,93040)))),ConsumerHeaderStyleEditor:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,12566)))),SetPreferredSiteDialog:(0,o.$V)((()=>i.e(35959).then(i.bind(i,35959)))),SiteSelectorWithZones:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,45335)))),DrawerDialog:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,24005)))),GlobalWidget:(0,o.$V)((()=>i.e(40996).then(i.bind(i,10615)))),GlobalWidgetForm:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(40996)]).then(i.bind(i,60675)))),HeaderStyleDrawer:(0,o.$V)((()=>Promise.all([i.e(84121),i.e(2256)]).then(i.bind(i,2256))))},data(){return{editPages:!1,editNavigations:!1,showDrawerMode:null,pageForStyle:null,sectionForStyle:null,showSearch:!1,redirectHomePage:!1,actionKey:null,scrollUp:!0,lastScrollTop:0,pageContainerPaddingTop:null,paddingObserver:null}},context:["currentUser"],configuration:["currentSite","publishedNewsItems","navigations","publishedGlobalWidgets","publishedPages"],computed:{footerNavigations(){return _.filter(this.navigations?.data,(e=>e.showInFooter&&!e.isArchived))},unseenNewsCount(){return this.lastViewedNewsAt?_.filter(this.publishedNewsItems.data,(e=>e.publishedAt>this.lastViewedNewsAt)).length:this.publishedNewsItems.data.length},currentRoute(){return this.$router.currentRoute.value},currentPageId(){return _.find(this.publishedPages.data,{slug:this.currentRoute.params.slug})?.id},currentPage(){return _.find(this.publishedPages.data,{id:this.currentPageId})},isMoviePage(){return!!this.currentRoute?.name&&"consumer:movie"===this.currentRoute.name},globalWidgetMap(){const e={[u.GLOBAL_WIDGET_TYPES.BANNER]:{sticky:{ALL:[]},nonSticky:{ALL:[]}},[u.GLOBAL_WIDGET_TYPES.FOOTER]:{ALL:[]}},t=_.map(this.publishedPages.data,"id");return _.each(this.publishedGlobalWidgets.data,(i=>{if(!i.visible)return;let o=[],a=!1;if(i.config.pageRestrictionsEnabled&&(o=i.config.pageRestrictionsExclude?_.difference(t,i.visiblePageIds):i.visiblePageIds,a=i.config.pageRestrictionsExclude&&this.isMoviePage),i.type===u.GLOBAL_WIDGET_TYPES.BANNER){const t=i.config.isSticky?"sticky":"nonSticky";_.isEmpty(o)||a?e[i.type][t].ALL.push(i):_.each(o,(o=>{e[i.type][t][o]||=[],e[i.type][t][o].push(i)}))}else i.type===u.GLOBAL_WIDGET_TYPES.FOOTER&&(_.isEmpty(o)||a?e[i.type].ALL.push(i):_.each(o,(t=>{e[i.type][t]||=[],e[i.type][t].push(i)})))})),e},stickyBannerGlobalWidgets(){return _.filter(_.concat(this.globalWidgetMap[u.GLOBAL_WIDGET_TYPES.BANNER].sticky.ALL,this.globalWidgetMap[u.GLOBAL_WIDGET_TYPES.BANNER].sticky[this.currentPageId]||[]),(e=>e.showOnScreen(this.$q.screen)))},topPositionStickyBannerGlobalWidgets(){return _.isEmpty(this.stickyBannerGlobalWidgets)?[]:_.filter(this.stickyBannerGlobalWidgets,(e=>e.config.widgetPosition===u.BANNER_POSITION_OPTIONS.TOP))},bottomPositionStickyBannerGlobalWidgets(){return _.isEmpty(this.stickyBannerGlobalWidgets)?[]:_.filter(this.stickyBannerGlobalWidgets,(e=>e.config.widgetPosition===u.BANNER_POSITION_OPTIONS.BOTTOM))},belowHeaderStickyBannerGlobalWidgets(){return _.isEmpty(this.stickyBannerGlobalWidgets)?[]:_.filter(this.stickyBannerGlobalWidgets,(e=>e.config.widgetPosition===u.BANNER_POSITION_OPTIONS.BELOW_HEADER))},nonStickyBannerGlobalWidgets(){return _.filter(_.concat(this.globalWidgetMap[u.GLOBAL_WIDGET_TYPES.BANNER].nonSticky.ALL,this.globalWidgetMap[u.GLOBAL_WIDGET_TYPES.BANNER].nonSticky[this.currentPageId]||[]),(e=>
1e.showOnScreen(this.$q.screen)))},topPositionNonStickyBannerGlobalWidgets(){return _.isEmpty(this.nonStickyBannerGlobalWidgets)?[]:_.filter(this.nonStickyBannerGlobalWidgets,(e=>e.config.widgetPosition===u.BANNER_POSITION_OPTIONS.TOP))},bottomPositionNonStickyBannerGlobalWidgets(){return _.isEmpty(this.nonStickyBannerGlobalWidgets)?[]:_.filter(this.nonStickyBannerGlobalWidgets,(e=>e.config.widgetPosition===u.BANNER_POSITION_OPTIONS.BOTTOM))},belowHeaderNonStickyBannerGlobalWidgets(){return _.isEmpty(this.nonStickyBannerGlobalWidgets)?[]:_.filter(this.nonStickyBannerGlobalWidgets,(e=>e.config.widgetPosition===u.BANNER_POSITION_OPTIONS.BELOW_HEADER))},footerGlobalWidgets(){return _.filter(_.concat(this.globalWidgetMap[u.GLOBAL_WIDGET_TYPES.FOOTER].ALL,this.globalWidgetMap[u.GLOBAL_WIDGET_TYPES.FOOTER][this.currentPageId]||[]),(e=>e.showOnScreen(this.$q.screen)))},showActivityBookNowButton(){return _.endsWith(this.currentRoute.name,":activity")&&!_.isNil(this.currentRoute.params.slug)},showOnScrollUp(){return!!this.currentSite.consumerConfig.stickyHeader||this.scrollUp},noTopPaddingConfig(){const e=this.currentPage?.consumerConfig?.headerPlacementOverride;return e===h.WS.OVERLAY||e!==h.WS.RESERVE&&(!this.currentSite.hasSolidHeaderBackground&&!this.currentSite.consumerConfig.reserveHeaderSpace)}},beforeMount(){this.$capacitor?.isCapacitor&&!d.A.has(g.y.CAPACITOR_NATIVE)&&d.A.set(g.y.CAPACITOR_NATIVE,!0,{expires:365})},mounted(){this.requestTrackingPermissions(),this.$q.screen.gt.xs||(this.updatePageContainerPaddingTop(),this.setupPaddingObserver())},setup(){(0,S.m)({includeGlobalWidgetStyles:!0})},created(){_.extend(this,{DRAWER_MODES:y,HEADER_TYPES:p.HEADER_TYPES,HEADER_PLACEMENT_OVERRIDE_OPTIONS:h.WS}),this.initializeStatusBar()},unmounted(){document.removeEventListener("deviceready",this.showIosTrackingNotification),_.isNil(this.paddingObserver)||(this.paddingObserver.disconnect(),this.paddingObserver=null)},methods:{async initializeStatusBar(){if(this.$capacitor?.isCapacitor){const{statusBar:e}=this.$capacitor;try{if(await e.show(),this.$capacitor.isIOS)await e.setOverlaysWebView({overlay:!0});else if(this.$capacitor.isAndroid){const t=this.currentSite?.headerColor||"#237030";await e.setBackgroundColor({color:t}),await e.setOverlaysWebView({overlay:!1});const i=60;let o=document.getElementById("android-status-bar");o||(o=document.createElement("div"),o.id="android-status-bar",o.style.position="fixed",o.style.top="0",o.style.left="0",o.style.width="100%",o.style.height=`${i}px`,o.style.backgroundColor=t,o.style.zIndex="9999",document.body.prepend(o)),document.body.style.paddingTop=`${i}px`;const a=document.querySelector(".q-header");a&&(a.style.top=`${i}px`),setTimeout((()=>{o&&(o.style.height=`${i}px`);const e=document.querySelector(".q-header");e&&(e.style.top=`${i}px`)}
1),500)}const t=this.$isColorDark(this.currentSite?.headerColor)?"LIGHT":"DARK";await e.setStyle({style:t})}catch(e){console.error("Error configuring status bar:",e)}}},requestTrackingPermissions(){this.$capacitor?.isIOS?this.showIosTrackingNotification():("true"===this.$route.query.hide_cookie_prompt&&(localStorage.acceptedCookieNotification=!0),this.showCookieNotification())},async runIosCommand(e,t,i){if(this.$capacitor?.isIOS)try{if("ImpacTracking"===e&&"requestTracking"===t){const e=await this.$capacitor.appTrackingTransparency.requestPermission();return"authorized"===e.status}if("ImpacTracking"===e&&"trackingAvailable"===t){const e=await this.$capacitor.appTrackingTransparency.getStatus();return"authorized"===e.status}if("ImpacTracking"===e&&"canRequestTracking"===t){const e=await this.$capacitor.appTrackingTransparency.getStatus();return"notDetermined"===e.status}return!1}catch(e){return console.error("Error with Capacitor tracking:",e),!1}return!1},async showIosTrackingNotification(){if(window.cordova)try{const e=await this.runIosCommand("ImpacTracking","trackingAvailable",[]);if(e)return void(window._isIosTrackingAllowed=!0);const t=await this.runIosCommand("ImpacTracking","canRequestTracking",[]);if(!t)return;const i=await this.runIosCommand("ImpacTracking","requestTracking",[]);window._isIosTrackingAllowed=!!i}catch(e){this.$rollbar.error(`Failed to prompt for tracking on iOS: ${e.message}`)}},showCookieNotification(){localStorage.acceptedCookieNotification||c.A.create({message:'This website uses cookies. For more information, see our <a href="/cookie-policy" style="color: var(--q-primary); text-decoration: none;">Cookie Policy.</a>',html:!0,color:"white",textColor:"black",multiLine:!0,timeout:0,actions:[{color:"primary",label:"Accept & Dismiss",handler:()=>{localStorage.acceptedCookieNotification=!0}}]})},editCss(e,t,i){this.pageForStyle=e,this.sectionForStyle=t,this.handlePageChange=i,this.showDrawerMode=y.STYLE},editHeaderStyle(){this.showDrawerMode=y.HEADER},editGlobalWidgetStyle(e,t){this.showDrawerMode=y.GLOBAL_WIDGET,requestAnimationFrame((()=>{this.$refs.globalWidgetForm?.show(e,t)}))},showSiteSelectorDialog(e){this.$refs.siteSelectorDrawerDialog.show(),this.redirectHomePage=!e},handleScrollObserver(e){const t=window.innerHeight,i=document.documentElement.scrollHeight;"up"===e.direction&&e.position.top+t<i?this.scrollUp=!0:"down"===e.direction&&e.position.top>T&&(this.scrollUp=!1),this.lastScrollTop=e.position.top,this.updatePageContainerPaddingTop()},updatePageContainerPaddingTop(){const e=this.$refs.pageContainer?.$el;if(e){const t=window.getComputedStyle(e),i=parseFloat(t.paddingTop)||0;this.pageContainerPaddingTop!==i&&(this.pageContainerPaddingTop=i)}},setupPaddingObserver(){if(this.$q.screen.gt.xs)return;const e=this.$refs.pageContainer?.$el;_.isNil(e)||(this.paddingObserver=new ResizeObserver((()=>{this.updatePageContainerPaddingTop()})),this.paddingObserver.observe(e))}}};var E=i(12467),k=i(76012),v=i(79100),W=i(77324),f=i(53881),P=i(58060),C=i(74676),O=i(57248),A=i(64580),G=i(90616),I=i(3992),N=i(36112),$=i.n(N);const B=(0,E.A)(w,[["render",l],["__scopeId","data-v-0f5829fc"]]),D=B;$()(w,"components",{QLayout:k.A,QScrollObserver:v.A,QDrawer:W.A,QPageContainer:f.A,QPageSticky:P.A,QBtn:C.A,QDialog:O.A,QHeader:A.A,QPage:G.A,QFooter:I.A})}}]);
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.