import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{_ as t}from"./vendor-charts-Bu2lyBKP.js";import{C as n,S as r,b as i,ht as a,mt as o,w as s,x as c}from"./vendor-radix-JY4ncZrD.js";import{o as l}from"./vendor-query-DsWPbQdG.js";import{t as u}from"./utils-3pnRFmFe.js";import{l as d}from"./switch-C7W2-KEx.js";import{t as f}from"./chevron-down-DIosfU_U.js";var p=e(t(),1),m=l(),h=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(o,{ref:n,className:u(`peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,m.jsx)(a,{className:u(`flex items-center justify-center text-current`),children:(0,m.jsx)(d,{className:`h-4 w-4`})})}));h.displayName=o.displayName;var g=n,_=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(r,{ref:n,className:u(`border-b`,e),...t}));_.displayName=`AccordionItem`;var v=p.forwardRef(({className:e,children:t,...n},r)=>(0,m.jsx)(c,{className:`flex`,children:(0,m.jsxs)(s,{ref:r,className:u(`flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180`,e),...n,children:[t,(0,m.jsx)(f,{className:`h-4 w-4 shrink-0 transition-transform duration-200`})]})}));v.displayName=s.displayName;var y=p.forwardRef(({className:e,children:t,...n},r)=>(0,m.jsx)(i,{ref:r,className:`overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down`,...n,children:(0,m.jsx)(`div`,{className:u(`pb-4 pt-0`,e),children:t})}));y.displayName=i.displayName;export{h as a,v as i,y as n,_ as r,g as t};