1import{d as b,p as h,a1 as w,b7 as D,e as s,m as u,v as c,P,g as t,f as p,_ as v,w as x,i,X as E,b8 as N,t as o,q as l,az as z,b9 as G,aG as I,a4 as M}from"./DbIaeWh9.js";import{u as O}from"./Bigt4iYH.js";const V=["data-identifier"],W=b({__name:"DynamicContent",props:{contentBlocks:{}},setup(r){const d=h(),{$contentComponentMap:m}=w();function f(n){const a=n.behindPaywall!==void 0?n.behindPaywall:n.content?.behindPaywall;if(a!==void 0)return a?"paid-content":"free-content"}const y=(n,a)=>{M("dynamic-content","empty content for component",{component:n.component,index:a,dynamicContentComponentId:d})},_=r;return D(()=>{_.contentBlocks.forEach((n,a)=>{n.content||y(n,a)})}),(n,a)=>{const C=v;return s(!0),u(c,null,P(r.contentBlocks,(e,g)=>(s(),u(c,{key:e.id},[("useDebug"in n?n.useDebug:t(O))("contentapi")?(s(),p(C,{key:0},{default:x(()=>[i("details",{class:E(["dynamic-content__debug-info",{"dynamic-content__debug-info--error":!t(N)(e,t(m))}]),"data-identifier":e.identifier},[i("summary",null,o(e.component),1),i("span",null,"["+o(t(d))+" / "+o(g)+"]",1),i("pre",null,o(e),1)],10,V)]),_:2},1024)):l("",!0),e.content?(s(),p(z(t(G)(e,t(m))),I({key:1,id:e.id,"data-identifier":e.identifier,class:f(e),styles:e.styles},{ref_for:!0},e.content||{}),null,16,["id","data-identifier","class","styles"])):l("",!0)],64))),128)}}}),A=Object.assign(W,{__name:"MoleculesGeneralDynamicContent"});export{A as D};
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.