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