1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="189af5ec-4fac-5c89-878b-e04cbe2cde68")}catch(e){}}(); 3import{a as k}from"./chunk-OSHVDHAN.js";import{a as x}from"./chunk-JIUT5DV3.js";import"./chunk-5P3WCIYY.js";import"./chunk-CYTICSJO.js";import"./chunk-3ONBURTH.js";import"./chunk-DXAGG525.js";import"./chunk-UOITRGZK.js";import{a as y}from"./chunk-NENT5VXN.js";import{a as b,b as P}from"./chunk-32LO4GLG.js";import"./chunk-V5ZGPBJ2.js";import"./chunk-D6CEWH6K.js";import{c as S,x as T}from"./chunk-AZ7YCXCB.js";import{o as C}from"./chunk-CFGDS5XR.js";import"./chunk-DBVLANSY.js";import"./chunk-VICGNOMZ.js";import"./chunk-ANTL6IJ5.js";import"./chunk-QTFKSNAC.js";import"./chunk-U3PBXP4P.js";import"./chunk-ZUZQAJ4G.js";import{Ca as s,Db as p,Ea as l,Tb as h,Vb as d,_b as f,bc as i,h as a,ha as t,ld as v,nb as m,o as c,pc as u,s as g}from"./chunk-TKUNHNU6.js";import"./chunk-WB52SRLZ.js";import"./chunk-ZRJ5ZCFR.js";import"./chunk-4JZUP25P.js";import"./chunk-SO5F2PLY.js";import"./chunk-GZRRNQPZ.js";import"./chunk-AOGLTFAT.js";import"./chunk-T6OYX3VM.js";function _(r,o){if(r&1&&i(0,"gcore-html-block",0),r&2){let e=u();f("content",e.pageContent())("theme",e.effectiveTheme())}}var D=class n{constructor(){this.pageContent=s(null),this.pageThemeService=t(y),this.effectiveTheme=v(()=>this.pageContent()?.themeToggleEnabled===!1?"light":this.pageThemeService.pageTheme()),this.strapiService=t(T),this.seoService=t(S),this.route=t(C),this.pendingTasks=t(l)}ngOnInit(){this.pageThemeService.activatePageBuilder(),this.pendingTasks.run(()=>c(this.loadContent()))}ngOnDestroy(){this.pageThemeService.reset()}loadContent(){let o=this.route.snapshot.routeConfig?.path??"";return this.strapiService.getPageFromCollection("page-builder-site-pages",o,!1,1).pipe(P(this),g(async e=>(e.themeToggleEnabled===!1&&this.pageThemeService.reset(),this.pageContent.set(e),e?.metaData&&this.seoService.setMetaInfo(e.metaData),e)))}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275cmp=p({type:n,selectors:[["gcore-page-builder-site-page"]],decls:2,vars:1,consts:[[3,"content","theme"]],template:function(e,M){e&1&&(i(0,"gcore-page-submenu"),h(1,_,1,2,"gcore-html-block",0)),e&2&&(m(),d(M.pageContent()?1:-1))},dependencies:[k,x],styles:["gcore-html-block[_ngcontent-%COMP%]{display:block}gcore-html-block[_ngcontent-%COMP%] .gcore-html-block>style:first-child+*, gcore-html-block[_ngcontent-%COMP%] .gcore-html-block>:first-child:not(style){padding-top:calc(var(--gc-header-clearance, 7.25rem) + var(--gc-submenu-extra, 0px) + var(--gc-pt-section, 0px))}@media(max-width:599px){gcore-html-block[_ngcontent-%COMP%] .gcore-html-block>style:first-child+*, gcore-html-block[_ngcontent-%COMP%] .gcore-html-block>:first-child:not(style){padding-top:calc(var(--gc-header-clearance, 7rem) + var(--gc-submenu-extra, 0px) + var(--gc-pt-section, 0px))}}"],changeDetection:0})}};D=a([b()],D);export{D as PageBuilderSitePageComponent}; 4 5//# debugId=189af5ec-4fac-5c89-878b-e04cbe2cde68
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.