1import{l as g,a2 as v,c as t,cq as C,g as b,cr as k,o as q,x as B,E as w,by as x,q as a,z as $,K as L,_ as M}from"./C0evU36K.js";const z=g({__name:"VBlock",props:{item:{},tag:{},disabledLayout:{type:Boolean},theme:{type:[Boolean,null]}},setup(d){const l=d,r=v(),o=t(()=>l.item),m=t(()=>{var e;return l.theme||((e=o.value)==null?void 0:e.theme)||"light"}),s=t(()=>{var e;return((e=o.value)==null?void 0:e.layout)==="fullwidth"?"fullwidth":"framed"}),i=t(()=>{if(!(l.disabledLayout||!s.value)&&s.value)return r[`root--${s.value}`]}),{themeClass:f}=C({preferredTheme:m}),y=t(()=>[r.root,i.value,f.value]),c=b(),p=t(()=>{var e,n;return k((e=o.value)==null?void 0:e.title)||((n=o.value)==null?void 0:n.slug)}),h=t(()=>c.value.category||c.value.type);return(e,n)=>{var u,_;return q(),B(L(e.tag||"section"),{id:(u=a(o))==null?void 0:u.slug,class:$(a(y)),"data-block_type":(_=a(o))==null?void 0:_["@type"],"data-content_name":a(p),"data-content_category":a(h)},{default:w(()=>[x(e.$slots,"default",{layout:a(s)})]),_:3},8,["id","class","data-block_type","data-content_name","data-content_category"])}}}),D="_root_1fn2q_48",P={root:D,"root--theme-light":"_root--theme-light_1fn2q_53","root--theme-dark":"_root--theme-dark_1fn2q_70","root--framed":"_root--framed_1fn2q_87","root--fullwidth":"_root--fullwidth_1fn2q_97"},T={$style:P},K=M(z,[["__cssModules",T]]);export{K 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.