"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index27.css');const t=require("react/jsx-runtime"),s="_accordion_1vtp0_6",a={accordion:s},d=({children:e,open:c,summary:r})=>{const i=n=>{const o=n.currentTarget.closest("details");!o||!document.startViewTransition||(n.preventDefault(),document.startViewTransition(()=>o.open=!o.open))};return t.jsxs("details",{className:a.accordion,open:c||void 0,"data-component":"accordion",children:[t.jsx("summary",{onClick:i,children:r}),e]})};exports.Accordion=d;
//# sourceMappingURL=index.cjs.map
