import u from"./DzX1QTL7.js";import f from"./BCFtA8vI.js";import{_ as k}from"./VCQnWH0d.js";import{_ as b}from"./C5qvglTP.js";import{l as v,b as x,al as y,a2 as h,E as o,P as a,V as n,Q as B,u as s,F as i,L as l,N as C,U as N}from"./DEIzhR9A.js";import"./AHiYuuv4.js";const V={class:""},w={class:"flex items-center"},D={key:0},R=v({__name:"AccordionEntry",props:{blok:{type:Object,required:!0},collapsed:{type:Boolean,default:!0}},setup(e){const t=x(e.collapsed);return(I,c)=>{const r=u,d=f,m=k,_=b,p=y("editable");return h((o(),a("div",V,[n("div",{class:"flex cursor-pointer justify-between py-8 align-middle text-3xl",onClick:c[0]||(c[0]=U=>t.value=!s(t))},[n("span",null,B(e.blok.title),1),n("div",w,[s(t)?(o(),i(r,{key:0,class:"size-4"})):(o(),i(d,{key:1,class:"size-4"}))])]),l(_,null,{default:C(()=>[s(t)?N("",!0):(o(),a("div",D,[l(m,{document:e.blok.body},null,8,["document"])]))]),_:1})])),[[p,e.blok]])}}});export{R as default};