import{d as i,a as m,e as t,g as k,j as o,o as y,h as _,w as s,i as l,aI as b,aJ as f,s as d}from"./index.ace9693c.js";import{u as T}from"./useRouteParam.1483cbc1.js";import{u as g}from"./useSubscriptionWithDependencies.3c89067d.js";import{u as v}from"./usePageTitle.12638eb5.js";const V=i({__name:"BlocksCatalogView",setup(B){const c=m(),a=T("blockTypeSlug"),n=t(()=>a.value?[a.value]:null),u=g(c.blockTypes.getBlockTypeBySlug,n),e=t(()=>u.response),r=t(()=>e.value?`Block Type: ${e.value.name}`:null);return v(r),(S,h)=>{const p=k("p-layout-default");return o(e)?(y(),_(p,{key:0,class:"blocks-catalog-view"},{header:s(()=>[l(o(b),{"block-type":o(e)},null,8,["block-type"])]),default:s(()=>[l(o(f),{"block-type":o(e)},null,8,["block-type"])]),_:1})):d("",!0)}}});export{V as default};
