1import{aD as h,cp as v,cH as D,au as u,i as w,bW as E,c8 as I,c2 as m,bI as y,aA as S,c1 as A}from"./IZR80Hiv.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"93.1-production"};var r=new n.Error().stack;r&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="58793abf-5a29-4366-9ae6-56d379aef8bc",n._sentryDebugIdIdentifier="sentry-dbid-58793abf-5a29-4366-9ae6-56d379aef8bc")}catch{}})();const W={class:"cms-content-controller w-full"},k=h({__name:"ContentController",props:{data:{},isContentPage:{type:Boolean},firstComponent:{}},emits:["componentSequence"],setup(n,{emit:r}){const d=/<object type="application\/kenticocloud"([^>]*)><\/object>/gi,l=n,g=r,_=v(),{locale:b}=D(),i=[],s=l.data,p=t=>{const e=t.startsWith("inline:")?s.components?.find(c=>c.id===t):_.getReference(t);if(!Array.isArray(e?.types))return console.error(`warning: no config data found for element with id ${t}`);if(!I(e,b.value))return;const a=()=>{for(let c=e.types.length-1;c>=0;c-=1){const C=e.types[c],f=m(C);if(f)return f}},o=e.types.includes("WidgetPlaceholder")?m(e.type):a();if(!o)return console.error(`component not found: ${e.types}`);i.push({type:o,data:e})};if(s.value){const t=s.value.split(d);for(const e of t)if(e&&e.startsWith(" data-type=")){const o=e.match(/data-rel="([^"]+)".*data-id="([^"]+)"/i)?.[2];if(!o){console.error(`error: couldn't parse object declaration in content: "${e}"`);continue}p(o)}}else if(s.sequence)for(const t of[l.firstComponent,...s.sequence])t&&p(t);return g("componentSequence",i),(t,e)=>(y(),u("div",W,[(y(),u(w,null,E(i,(a,o)=>S(A(a.type),{key:a.data.id,data:a.data,"component-index":n.isContentPage?o:100+o},null,8,["data","component-index"])),64))]))}}),R=Object.assign(k,{__name:"CmsContentController"});export{R as default}; 2//# sourceMappingURL=vbJos68f.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.