import{a5 as r,v as d,x as l,l as o,N as s,p as i,s as n,z as _}from"./x-CuOWXDIc.js";import{C as p}from"./chevron-down-pL4huxTV.js";const u={class:"accordion"},v={class:"accordion__trigger-content"},f={class:"accordion__content"},x={__name:"Accordion",props:{expanded:{type:Boolean,default:!1},expandedModifiers:{}},emits:["update:expanded"],setup(c){const e=r(c,"expanded");function t(){e.value=!e.value}return(a,m)=>(d(),l("div",u,[o("button",{type:"button",class:"accordion__trigger",onClick:t},[o("span",v,[s(a.$slots,"trigger")]),i(_(p),{class:n(["accordion__chevron",{"accordion__chevron--open":e.value}])},null,8,["class"])]),o("div",{class:n(["accordion__body",{"accordion__body--open":e.value}])},[o("div",f,[s(a.$slots,"default")])],2)]))}};export{x as _};
