1try{let n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="3853a90a-58d4-4a5a-8cbd-638dc8034a24",n._sentryDebugIdIdentifier="sentry-dbid-3853a90a-58d4-4a5a-8cbd-638dc8034a24")}catch(b){}import{p as n}from"./C0KywagX.js";import{a as e,d as t,c as o,an as a,e as s,J as i,K as l,a3 as r,a1 as d,a0 as c}from"./BbP7wrox.js";import{u}from"./CfJtNAp1.js";import{u as p}from"./CjYVkK09.js";import{i as g,a as m}from"./Cho1_nAB.js";const f=t({__name:"CmsPage",props:{content:{}},async setup(t){var f,b,y,v,h,k;let C,I;const _=t,w=o(),{routeName:S}=u();if("frontend.navigation.page"===S.value){const n=g(w.path),e=n?"productSearchListing":"categoryListing",{setInitialListing:t}=p({listingType:e,enableGetMethod:!n&&!m(w.path)},_.content),o=null==(k=null==(h=null==(v=null==(y=null==(b=null==(f=_.content)?void 0:f.sections)?void 0:b.flatMap(n=>n.blocks??[]))?void 0:y.flatMap(n=>n.slots??[]))?void 0:v.find(n=>"product-listing"===n.type))?void 0:h.data)?void 0:k.listing;o&&([C,I]=a(()=>t(o)),await C,I())}const j=s(()=>{var n;return null==(n=_.content)?void 0:n.sections}),x=()=>j.value.map(e=>({component:r(`CmsSection${n(e.type)}`),section:e})).map(n=>{const{cssClasses:t,layoutStyles:o}=d(n.section);if("string"==typeof n.component)return c("div",{},"There is no "+n.component);const{replaceContent:a}=(()=>{const{locale:n}=e();return{replaceContent:e=>JSON.parse(JSON.stringify(e).split("{{domain_url}}").join(`/${n.value}`))}})();return n.section=a(n.section),c(n.component,{content:n.section,class:{...t??{},"max-w-screen-xl mx-auto":"boxed"===(null==o?void 0:o.sizingMode)},style:{backgroundColor:null==o?void 0:o.backgroundColor,backgroundImage:null==o?void 0:o.backgroundImage,backgroundSize:null==o?void 0:o.backgroundSize}})});return(n,e)=>(l(),i(x))}});export{f as _};
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.