import{d as k,m as y,E as b,c as o,ag as i,a as m,f as _,w as l,h as f,o as T,n as t,g as c,b4 as d,b5 as g}from"./index-18beffd6.js";import{u as v}from"./usePageTitle-5c97edcb.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 v(p),(C,S)=>{const r=m("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})):f("",!0)}}});export{x as default};
