import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{_ as t}from"./vendor-charts-Bu2lyBKP.js";import{$t as n,Bt as r,Gt as i,Ht as a,Jt as o,Kt as s,Qt as c,Ut as l,Vt as u,Wt as d,Xt as f,Yt as p,Zt as m,en as h,qt as g,tn as _,zt as v}from"./vendor-radix-JY4ncZrD.js";import{o as y}from"./vendor-query-DsWPbQdG.js";import{r as b,t as x}from"./utils-3pnRFmFe.js";import{t as S}from"./chevron-down-DIosfU_U.js";import{t as C}from"./chevron-up-CI-W21Fy.js";var w=b(`Check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),T=e(t(),1),E=y(),D=p,O=a,k=h,A=T.forwardRef(({className:e,children:t,...r},i)=>(0,E.jsxs)(n,{ref:i,className:x(`flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 cursor-pointer`,e),...r,children:[t,(0,E.jsx)(l,{asChild:!0,children:(0,E.jsx)(S,{className:`h-4 w-4 opacity-50`})})]}));A.displayName=n.displayName;var j=T.forwardRef(({className:e,...t},n)=>(0,E.jsx)(m,{ref:n,className:x(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,E.jsx)(C,{className:`h-4 w-4`})}));j.displayName=m.displayName;var M=T.forwardRef(({className:e,...t},n)=>(0,E.jsx)(f,{ref:n,className:x(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,E.jsx)(S,{className:`h-4 w-4`})}));M.displayName=f.displayName;var N=T.forwardRef(({className:e,children:t,position:n=`popper`,align:r=`center`,...i},a)=>(0,E.jsx)(o,{children:(0,E.jsxs)(u,{ref:a,className:x(`relative z-[10001] max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,n===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,e),position:n,align:r,...i,children:[(0,E.jsx)(j,{}),(0,E.jsx)(_,{className:x(`p-1`,n===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1`),children:t}),(0,E.jsx)(M,{})]})}));N.displayName=u.displayName;var P=T.forwardRef(({className:e,...t},n)=>(0,E.jsx)(g,{ref:n,className:x(`py-1.5 pl-8 pr-2 text-sm font-semibold`,e),...t}));P.displayName=g.displayName;var F=T.forwardRef(({className:e,children:t,...n},r)=>(0,E.jsxs)(d,{ref:r,className:x(`relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground`,e),...n,children:[(0,E.jsx)(`span`,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,E.jsx)(i,{children:(0,E.jsx)(w,{className:`h-4 w-4`})})}),(0,E.jsx)(s,{children:t})]}));F.displayName=d.displayName;var I=T.forwardRef(({className:e,...t},n)=>(0,E.jsx)(c,{ref:n,className:x(`-mx-1 my-1 h-px bg-muted`,e),...t}));I.displayName=c.displayName;var L=T.forwardRef(({className:e,...t},n)=>(0,E.jsx)(v,{className:x(`peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`,e),...t,ref:n,children:(0,E.jsx)(r,{className:x(`pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0`)})}));L.displayName=v.displayName;export{F as a,k as c,O as i,w as l,D as n,P as o,N as r,A as s,L as t};