import{d as k,b as y,W as b,e as o,aE as i,c as m,g as l,a as _,h as f,o as T,n as t,j as c,bx as d,by as v}from"./index-CPxpbp4R.js";import{u as g}from"./usePageTitle-CcH2lmI6.js";const x=k({__name:"BlocksCatalogView",setup(B){const s=y(),a=b("blockTypeSlug"),n=o(()=>a.value?[a.value]:null),u=i(s.blockTypes.getBlockTypeBySlug,n),e=o(()=>u.response),p=o(()=>e.value?`Block Type: ${e.value.name}`:null);return g(p),(C,S)=>{const r=f("p-layout-default");return e.value?(T(),m(r,{key:0,class:"blocks-catalog-view"},{header:l(()=>[t(c(d),{"block-type":e.value},null,8,["block-type"])]),default:l(()=>[t(c(v),{"block-type":e.value},null,8,["block-type"])]),_:1})):_("",!0)}}});export{x as default};
//# sourceMappingURL=BlocksCatalogView-Bd0TvpAE.js.map
