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