diff --git a/assets/index-d94bdc09.js b/assets/index-5afa8ffb.js similarity index 69% rename from assets/index-d94bdc09.js rename to assets/index-5afa8ffb.js index f0930c0..f9c9fce 100644 --- a/assets/index-d94bdc09.js +++ b/assets/index-5afa8ffb.js @@ -1,4 +1,4 @@ -import{r as f,a as ia,$ as ur,b as la,c as fr,C as sn,d as gr,e as pr,f as an,g as ln,h as mr,i as hr,j as _e,k as xr,D as dn,l as vr,m as br,n as wr,o as yr,p as jr,q as Sr,s as da,t as Cr,u as $r,v as Rr,w as Nr,x as _r,y as Ar,z as Mr,A as Er,B as kr,E as Pr,F as cn,G as Fr,H as Dr,I as Ir,J as Vr,K as ca,L as Or,M as Lr,N as ua,O as zr,P as fa,Q as Tr,R as ga,S as Gr,T as pa,U as Hr,V as Br,W as ma,X as ha,Y as Ur,Z as xa,_ as qr,a0 as va,a1 as ba,a2 as ct,a3 as ut,a4 as Wr,a5 as Kr,a6 as ft,a7 as gt,a8 as un,a9 as wa,aa as Jr,ab as ya,ac as ja,ad as Sa,ae as Ca,af as $a,ag as Xr,ah as Ra,ai as Na,aj as _a,ak as Zr,al as Aa,am as Yr,an as Qr,ao as eo,ap as to,aq as no,ar as ro,as as Ma,at as oo,au as so,av as ao,aw as io,ax as lo,ay as co,az as uo,aA as fn,aB as gn,aC as pt,aD as mt,aE as pn,aF as fo,aG as Ea,aH as ka,aI as go,aJ as Pa,aK as po,aL as mo,aM as ho,aN as xo,aO as vo,aP as bo,aQ as Fa,aR as wo,aS as yo,aT as jo,aU as Da,aV as So,aW as Co,aX as Ia,aY as ve,aZ as Va}from"./radix-ui-f68920fa.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();var $o={exports:{}},ht={};/** +import{r as f,a as ia,$ as ur,b as la,c as fr,C as sn,d as gr,e as pr,f as an,g as ln,h as mr,i as hr,j as _e,k as xr,D as dn,l as vr,m as br,n as wr,o as yr,p as jr,q as Sr,s as da,t as Cr,u as $r,v as Rr,w as Nr,x as _r,y as Ar,z as Mr,A as Er,B as kr,E as Pr,F as cn,G as Fr,H as Dr,I as Ir,J as Vr,K as ca,L as Or,M as Lr,N as ua,O as zr,P as fa,Q as Tr,R as ga,S as Gr,T as pa,U as Hr,V as Br,W as ma,X as ha,Y as Ur,Z as xa,_ as qr,a0 as va,a1 as ba,a2 as ut,a3 as ft,a4 as Wr,a5 as Kr,a6 as gt,a7 as pt,a8 as un,a9 as wa,aa as Jr,ab as ya,ac as ja,ad as Sa,ae as Ca,af as $a,ag as Xr,ah as Ra,ai as Na,aj as _a,ak as Zr,al as Aa,am as Yr,an as Qr,ao as eo,ap as to,aq as no,ar as ro,as as Ma,at as oo,au as so,av as ao,aw as io,ax as lo,ay as co,az as uo,aA as fn,aB as gn,aC as mt,aD as ht,aE as pn,aF as fo,aG as Ea,aH as ka,aI as go,aJ as Pa,aK as po,aL as mo,aM as ho,aN as xo,aO as vo,aP as bo,aQ as Fa,aR as wo,aS as yo,aT as jo,aU as Da,aV as So,aW as Co,aX as Ia,aY as ve,aZ as Va}from"./radix-ui-f68920fa.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();var $o={exports:{}},xt={};/** * @license React * react-jsx-runtime.production.min.js * @@ -6,7 +6,7 @@ import{r as f,a as ia,$ as ur,b as la,c as fr,C as sn,d as gr,e as pr,f as an,g * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Oa=f,La=Symbol.for("react.element"),za=Symbol.for("react.fragment"),Ta=Object.prototype.hasOwnProperty,Ga=Oa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ha={key:!0,ref:!0,__self:!0,__source:!0};function Ro(e,t,n){var r,s={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Ta.call(t,r)&&!Ha.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:La,type:e,key:a,ref:i,props:s,_owner:Ga.current}}ht.Fragment=za;ht.jsx=Ro;ht.jsxs=Ro;$o.exports=ht;var o=$o.exports,Ot={},An=ia;Ot.createRoot=An.createRoot,Ot.hydrateRoot=An.hydrateRoot;function No(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,En=Ba,ze=(e,t)=>n=>{var r;if(t?.variants==null)return En(e,n?.class,n?.className);const{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(d=>{const u=n?.[d],p=a?.[d];if(u===null)return null;const m=Mn(u)||Mn(p);return s[d][m]}),l=n&&Object.entries(n).reduce((d,u)=>{let[p,m]=u;return m===void 0||(d[p]=m),d},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:p,className:m,...g}=u;return Object.entries(g).every(x=>{let[h,$]=x;return Array.isArray($)?$.includes({...a,...l}[h]):{...a,...l}[h]===$})?[...d,p,m]:d},[]);return En(e,i,c,n?.class,n?.className)};function Ua(){for(var e=0,t,n,r="";ee&&(t=0,r=n,n=new Map)}return{get:function(i){var l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return s(i,l),l},set:function(i,l){n.has(i)?n.set(i,l):s(i,l)}}}var Mo="!";function Ya(e){var t=e.separator||":",n=t.length===1,r=t[0],s=t.length;return function(i){for(var l=[],c=0,d=0,u,p=0;pd?u-d:void 0;return{modifiers:l,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:$}}}function Qa(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var s=r[0]==="[";s?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function ei(e){return{cache:Za(e.cacheSize),splitModifiers:Ya(e),...qa(e)}}var ti=/\s+/;function ni(e,t){var n=t.splitModifiers,r=t.getClassGroupId,s=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(ti).map(function(i){var l=n(i),c=l.modifiers,d=l.hasImportantModifier,u=l.baseClassName,p=l.maybePostfixModifierPosition,m=r(p?u.substring(0,p):u),g=!!p;if(!m){if(!p)return{isTailwindClass:!1,originalClassName:i};if(m=r(u),!m)return{isTailwindClass:!1,originalClassName:i};g=!1}var x=Qa(c).join(":"),h=d?x+Mo:x;return{isTailwindClass:!0,modifierId:h,classGroupId:m,originalClassName:i,hasPostfixModifier:g}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var l=i.modifierId,c=i.classGroupId,d=i.hasPostfixModifier,u=l+c;return a.has(u)?!1:(a.add(u),s(c,d).forEach(function(p){return a.add(l+p)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function ri(){for(var e=arguments.length,t=new Array(e),n=0;n{n=null,e.apply(s,r)},t))}return a}function wi(e,t=2){return e.toFixed(Math.max(Math.min(t,20),0))}function yi(e,t,n){return Math.min(Math.max(e,t),n)}function ji(e,{asArrayBuffer:t}){return new Promise((n,r)=>{const s=new FileReader;s.onload=()=>n(s.result),s.onerror=()=>r(new Error("Failed to load file")),t?s.readAsArrayBuffer(e):s.readAsDataURL(e)})}function Po(e){const t=window.document.documentElement;if(t.classList.remove("light","dark"),e==="system"){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";t.classList.add(n);return}t.classList.add(e)}const Si="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",Ci=ze(Si),Tt=f.forwardRef(({className:e,...t},n)=>o.jsx(ur,{ref:n,className:v(Ci(),e),...t}));Tt.displayName=ur.displayName;const $i="px-3 py-1 w-full h-9 text-sm border-input bg-transparent file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed transition-colors border rounded-md shadow-sm flex",Le=f.forwardRef(({className:e,type:t,...n},r)=>o.jsx("input",{type:t,className:v($i,e),ref:r,...n}));Le.displayName="Input";const Ri="px-3 py-2 w-full min-h-[60px] text-sm border-input bg-transparent placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed border rounded-md shadow-sm flex",Fo=f.forwardRef(({className:e,...t},n)=>o.jsx("textarea",{className:v(Ri,e),ref:n,...t}));Fo.displayName="Textarea";const Ni='after:![content:attr(data-replicated)_"_"] after:whitespace-pre after:border-transparent after:invisible after:[grid-area:1/1/2/2] grid',_i="resize-none overflow-hidden [grid-area:1/1/2/2]",Ai="after:px-3 after:py-2 after:text-sm after:border",Mi=f.forwardRef(({containerPaddingFont:e=Ai,className:t,value:n,...r},s)=>o.jsx("div",{className:v(Ni,e),"data-replicated":n,children:o.jsx(Fo,{className:v(_i,t),value:n,ref:s,...r})}));Mi.displayName="TextareaAutoGrow";const Ei="text-sm font-medium focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",hn=ze(Ei,{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Y=f.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},a)=>{const i=r?la:"button";return o.jsx(i,{className:v(hn({variant:t,size:n,className:e})),ref:a,...s})});Y.displayName="Button";const Te=" data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 ",xn=wr,vn=yr,ki="px-2 py-1.5 text-sm focus:bg-accent data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Pi=f.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(fr,{ref:s,className:v(ki,t&&"pl-8",e),...r,children:[n,o.jsx(sn,{className:"ml-auto h-4 w-4"})]}));Pi.displayName=fr.displayName;const Do=`p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${Te}`,Fi=f.forwardRef(({className:e,...t},n)=>o.jsx(gr,{ref:n,className:v(Do,e),...t}));Fi.displayName=gr.displayName;const Di=Do,xt=f.forwardRef(({className:e,sideOffset:t=4,...n},r)=>o.jsx(pr,{children:o.jsx(an,{ref:r,className:v(Di,e),sideOffset:t,...n})}));xt.displayName=an.displayName;const Ii="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",Ve=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(ln,{ref:r,className:v(Ii,t&&"pl-8",e),...n}));Ve.displayName=ln.displayName;const Vi="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",Io=f.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(mr,{ref:s,className:v(Vi,e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(hr,{children:o.jsx(_e,{className:"h-4 w-4"})})}),t]}));Io.displayName=mr.displayName;const Oi="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",Li=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(xr,{ref:r,className:v(Oi,e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(hr,{children:o.jsx(dn,{className:"h-4 w-4 fill-current"})})}),t]}));Li.displayName=xr.displayName;const Vo=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(vr,{ref:r,className:v("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Vo.displayName=vr.displayName;const Oo=f.forwardRef(({className:e,...t},n)=>o.jsx(br,{ref:n,className:v("-mx-1 my-1 h-px bg-muted",e),...t}));Oo.displayName=br.displayName;const zi="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Ti=f.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(jr,{ref:s,className:v(zi,t&&"pl-8",e),...r,children:[n,o.jsx(sn,{className:"ml-auto h-4 w-4"})]}));Ti.displayName=jr.displayName;const Lo=`z-50 p-1 min-w-[8rem] text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${Te}`,Gi=f.forwardRef(({className:e,...t},n)=>o.jsx(Sr,{ref:n,className:v(Lo,e),...t}));Gi.displayName=Sr.displayName;const Hi=Lo,Bi=f.forwardRef(({className:e,...t},n)=>o.jsx(da,{children:o.jsx(Cr,{ref:n,className:v(Hi,e),...t})}));Bi.displayName=Cr.displayName;const Ui="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",qi=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx($r,{ref:r,className:v(Ui,t&&"pl-8",e),...n}));qi.displayName=$r.displayName;const zo="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",Wi=f.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(Rr,{ref:s,className:v(zo,e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(Nr,{children:o.jsx(_e,{className:"h-4 w-4"})})}),t]}));Wi.displayName=Rr.displayName;const Ki=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(_r,{ref:r,className:v(zo,e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(Nr,{children:o.jsx(dn,{className:"h-4 w-4 fill-current"})})}),t]}));Ki.displayName=_r.displayName;const Ji=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(Ar,{ref:r,className:v("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...n}));Ji.displayName=Ar.displayName;const Xi=f.forwardRef(({className:e,...t},n)=>o.jsx(Mr,{ref:n,className:v("-mx-1 my-1 h-px bg-border",e),...t}));Xi.displayName=Mr.displayName;const Zi="z-10 relative max-w-max flex-1 flex items-center justify-center",Yi=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Er,{ref:r,className:v(Zi,e),...n,children:[t,o.jsx(To,{})]}));Yi.displayName=Er.displayName;const Qi="group flex-1list-none flex items-center justify-center space-x-1",el=f.forwardRef(({className:e,...t},n)=>o.jsx(kr,{ref:n,className:v(Qi,e),...t}));el.displayName=kr.displayName;const tl="group px-4 py-2 w-max h-9 text-sm font-medium bg-background hover:text-accent-foreground hover:bg-accent focus:text-accent-foreground focus:bg-accent focus:outline-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",nl=ze(tl),rl="relative ml-1 top-[1px] w-3 h-3 group-data-[state=open]:rotate-180 transition duration-300 ",ol=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Pr,{ref:r,className:v(nl(),"group",e),...n,children:[t," ",o.jsx(cn,{className:rl,"aria-hidden":"true"})]}));ol.displayName=Pr.displayName;const sl="left-0 top-0 w-full md:absolute md:w-auto data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=from-start]:slide-in-from-left-52 data-[motion=from-end]:slide-in-from-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion=to-end]:slide-out-to-right-52",al=f.forwardRef(({className:e,...t},n)=>o.jsx(Fr,{ref:n,className:v(sl,e),...t}));al.displayName=Fr.displayName;const il="relative mt-1.5 w-full h-[var(--radix-navigation-menu-viewport-height)] text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 md:w-[var(--radix-navigation-menu-viewport-width)] overflow-hidden origin-top-center border rounded-md shadow",To=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{className:v("absolute left-0 top-full flex justify-center"),children:o.jsx(Dr,{ref:n,className:v(il,e),...t})}));To.displayName=Dr.displayName;const ll="z-[1] top-full h-1.5 data-[state=visible]:animate-in data-[state=visible]:fade-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out overflow-hidden flex items-end justify-center",dl=f.forwardRef(({className:e,...t},n)=>o.jsx(Ir,{ref:n,className:v(ll,e),...t,children:o.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));dl.displayName=Ir.displayName;const cl="peer w-4 h-4 shrink-0 border-primary focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground border rounded-sm shadow",Gt=f.forwardRef(({className:e,...t},n)=>o.jsx(Vr,{ref:n,className:v(cl,e),...t,children:o.jsx(ca,{className:v("flex items-center justify-center text-current"),children:o.jsx(_e,{className:"h-4 w-4"})})}));Gt.displayName=Vr.displayName;const ul=f.forwardRef(({className:e,...t},n)=>o.jsx(Or,{className:v("grid gap-2",e),...t,ref:n}));ul.displayName=Or.displayName;const fl="h-4 w-4 aspect-square text-primary border-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-full shadow",gl=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(Lr,{ref:r,className:v(fl,e),...n,children:o.jsx(ua,{className:"flex items-center justify-center",children:o.jsx(_e,{className:"h-3.5 w-3.5 fill-primary"})})}));gl.displayName=Lr.displayName;const pl="px-3 py-2 h-9 w-full text-sm border-input bg-transparent ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-md shadow-sm flex items-center justify-between",ml=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(zr,{ref:r,className:v(pl,e),...n,children:[t,o.jsx(fa,{asChild:!0,children:o.jsx(Tr,{className:"h-4 w-4 opacity-50"})})]}));ml.displayName=zr.displayName;const hl="z-50 relative min-w-[8rem] bg-popover text-popover-foreground 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 overflow-hidden border rounded-md shadow-md",xl="data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",vl="w-full h-[var(--radix-select-trigger-height)] min-w-[var(--radix-select-trigger-width)]",bl=f.forwardRef(({className:e,children:t,position:n="popper",...r},s)=>o.jsx(ga,{children:o.jsx(Gr,{ref:s,className:v(hl,n==="popper"&&xl,e),position:n,...r,children:o.jsx(pa,{className:v("p-1",n==="popper"&&vl),children:t})})}));bl.displayName=Gr.displayName;const wl=f.forwardRef(({className:e,...t},n)=>o.jsx(Hr,{ref:n,className:v("px-2 py-1.5 text-sm font-semibold",e),...t}));wl.displayName=Hr.displayName;const yl="relative pl-2 pr-8 py-1.5 w-full text-sm focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",jl=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Br,{ref:r,className:v(yl,e),...n,children:[o.jsx("span",{className:"absolute right-2 h-3.5 w-3.5 flex items-center justify-center",children:o.jsx(ma,{children:o.jsx(_e,{className:"h-4 w-4"})})}),o.jsx(ha,{children:t})]}));jl.displayName=Br.displayName;const Sl=f.forwardRef(({className:e,...t},n)=>o.jsx(Ur,{ref:n,className:v("-mx-1 my-1 h-px bg-muted",e),...t}));Sl.displayName=Ur.displayName;const Cl=va,$l=ba,Rl=`p-4 w-72 z-50 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${Te}`,Go=f.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},s)=>o.jsx(xa,{children:o.jsx(qr,{ref:s,align:t,sideOffset:n,className:v(Rl,e),...r})}));Go.displayName=qr.displayName;const Nl=wa,_l=un,Al="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",Ho=f.forwardRef(({className:e,...t},n)=>o.jsx(ct,{ref:n,className:v(Al,e),...t}));Ho.displayName=ct.displayName;const Ml="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] z-50 p-6 w-full md:w-full max-w-lg bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] border sm:rounded-lg shadow-lg duration-200 grid gap-4",El="absolute right-4 top-4 opacity-70 transition-opacityhover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 data-[state=open]:bg-accent data-[state=open]:text-muted-foreground ring-offset-background rounded-sm disabled:pointer-events-none",Bo=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(_l,{children:[o.jsx(Ho,{}),o.jsxs(ut,{ref:r,className:v(Ml,e),...n,children:[t,o.jsxs(Wr,{className:El,children:[o.jsx(Kr,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Bo.displayName=ut.displayName;const Uo=({className:e,...t})=>o.jsx("div",{className:v("text-center sm:text-left flex flex-col space-y-1.5",e),...t});Uo.displayName="DialogHeader";const qo=({className:e,...t})=>o.jsx("div",{className:v("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});qo.displayName="DialogFooter";const Wo=f.forwardRef(({className:e,...t},n)=>o.jsx(ft,{ref:n,className:v("text-lg font-semibold leading-none tracking-tight",e),...t}));Wo.displayName=ft.displayName;const Ko=f.forwardRef(({className:e,...t},n)=>o.jsx(gt,{ref:n,className:v("text-sm text-muted-foreground",e),...t}));Ko.displayName=gt.displayName;var Dn=1,kl=.9,Pl=.3,St=.1,Fl=0,Ct=.999,Dl=.9999,Il=.99,In=/[\\\/\-_+.# \t"@\[\(\{&]/,Vl=/[\\\/\-_+.# \t"@\[\(\{&]/g;function Ht(e,t,n,r,s,a){if(a===t.length)return s===e.length?Dn:Il;for(var i=r.charAt(a),l=n.indexOf(i,s),c=0,d,u,p;l>=0;)d=Ht(e,t,n,r,l+1,a+1),d>c&&(l===s?d*=Dn:In.test(e.charAt(l-1))?(d*=kl,p=e.slice(s,l-1).match(Vl),p&&s>0&&(d*=Math.pow(Ct,p.length))):In.test(e.slice(s,l-1))?(d*=Fl,s>0&&(d*=Math.pow(Ct,l-s))):(d*=Pl,s>0&&(d*=Math.pow(Ct,l-s))),e.charAt(l)!==t.charAt(a)&&(d*=Dl)),dd&&(d=u*St)),d>c&&(c=d),l=n.indexOf(i,l+1);return c}function Ol(e,t){return Ht(e,t,e.toLowerCase(),t.toLowerCase(),0,0)}var Ll=Ol;const zl=Jr(Ll);var Tl='[cmdk-list-sizer=""]',Pe='[cmdk-group=""]',$t='[cmdk-group-items=""]',Gl='[cmdk-group-heading=""]',Jo='[cmdk-item=""]',Vn=`${Jo}:not([aria-disabled="true"])`,Bt="cmdk-item-select",ce="data-value",Hl=(e,t)=>zl(e,t),Xo=f.createContext(void 0),Ge=()=>f.useContext(Xo),Zo=f.createContext(void 0),bn=()=>f.useContext(Zo),Yo=f.createContext(void 0),Qo=f.forwardRef((e,t)=>{let n=f.useRef(null),r=Se(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),s=Se(()=>new Set),a=Se(()=>new Map),i=Se(()=>new Map),l=Se(()=>new Set),c=es(e),{label:d,children:u,value:p,onValueChange:m,filter:g,shouldFilter:x,...h}=e,$=f.useId(),w=f.useId(),A=f.useId(),I=ed();Ae(()=>{if(p!==void 0){let j=p.trim().toLowerCase();r.current.value=j,I(6,R),O.emit()}},[p]);let O=f.useMemo(()=>({subscribe:j=>(l.current.add(j),()=>l.current.delete(j)),snapshot:()=>r.current,setState:(j,P,T)=>{var M,z,ee;if(!Object.is(r.current[j],P)){if(r.current[j]=P,j==="search")S(),q(),I(1,y);else if(j==="value")if(((M=c.current)==null?void 0:M.value)!==void 0){(ee=(z=c.current).onValueChange)==null||ee.call(z,P);return}else T||I(5,R);O.emit()}},emit:()=>{l.current.forEach(j=>j())}}),[]),G=f.useMemo(()=>({value:(j,P)=>{P!==i.current.get(j)&&(i.current.set(j,P),r.current.filtered.items.set(j,U(P)),I(2,()=>{q(),O.emit()}))},item:(j,P)=>(s.current.add(j),P&&(a.current.has(P)?a.current.get(P).add(j):a.current.set(P,new Set([j]))),I(3,()=>{S(),q(),r.current.value||y(),O.emit()}),()=>{i.current.delete(j),s.current.delete(j),r.current.filtered.items.delete(j),I(4,()=>{S(),y(),O.emit()})}),group:j=>(a.current.has(j)||a.current.set(j,new Set),()=>{i.current.delete(j),a.current.delete(j)}),filter:()=>c.current.shouldFilter,label:d||e["aria-label"],listId:$,inputId:A,labelId:w}),[]);function U(j){var P;let T=((P=c.current)==null?void 0:P.filter)??Hl;return j?T(j,r.current.search):0}function q(){if(!n.current||!r.current.search||c.current.shouldFilter===!1)return;let j=r.current.filtered.items,P=[];r.current.filtered.groups.forEach(M=>{let z=a.current.get(M),ee=0;z.forEach(Me=>{let aa=j.get(Me);ee=Math.max(aa,ee)}),P.push([M,ee])});let T=n.current.querySelector(Tl);C().sort((M,z)=>{let ee=M.getAttribute(ce),Me=z.getAttribute(ce);return(j.get(Me)??0)-(j.get(ee)??0)}).forEach(M=>{let z=M.closest($t);z?z.appendChild(M.parentElement===z?M:M.closest(`${$t} > *`)):T.appendChild(M.parentElement===T?M:M.closest(`${$t} > *`))}),P.sort((M,z)=>z[1]-M[1]).forEach(M=>{let z=n.current.querySelector(`${Pe}[${ce}="${M[0]}"]`);z?.parentElement.appendChild(z)})}function y(){let j=C().find(T=>!T.ariaDisabled),P=j?.getAttribute(ce);O.setState("value",P||void 0)}function S(){if(!r.current.search||c.current.shouldFilter===!1){r.current.filtered.count=s.current.size;return}r.current.filtered.groups=new Set;let j=0;for(let P of s.current){let T=i.current.get(P),M=U(T);r.current.filtered.items.set(P,M),M>0&&j++}for(let[P,T]of a.current)for(let M of T)if(r.current.filtered.items.get(M)>0){r.current.filtered.groups.add(P);break}r.current.filtered.count=j}function R(){var j,P,T;let M=b();M&&(((j=M.parentElement)==null?void 0:j.firstChild)===M&&((T=(P=M.closest(Pe))==null?void 0:P.querySelector(Gl))==null||T.scrollIntoView({block:"nearest"})),M.scrollIntoView({block:"nearest"}))}function b(){return n.current.querySelector(`${Jo}[aria-selected="true"]`)}function C(){return Array.from(n.current.querySelectorAll(Vn))}function _(j){let P=C()[j];P&&O.setState("value",P.getAttribute(ce))}function N(j){var P;let T=b(),M=C(),z=M.findIndex(Me=>Me===T),ee=M[z+j];(P=c.current)!=null&&P.loop&&(ee=z+j<0?M[M.length-1]:z+j===M.length?M[0]:M[z+j]),ee&&O.setState("value",ee.getAttribute(ce))}function k(j){let P=b(),T=P?.closest(Pe),M;for(;T&&!M;)T=j>0?Yl(T,Pe):Ql(T,Pe),M=T?.querySelector(Vn);M?O.setState("value",M.getAttribute(ce)):N(j)}let D=()=>_(C().length-1),F=j=>{j.preventDefault(),j.metaKey?D():j.altKey?k(1):N(1)},L=j=>{j.preventDefault(),j.metaKey?_(0):j.altKey?k(-1):N(-1)};return f.createElement("div",{ref:He([n,t]),...h,"cmdk-root":"",onKeyDown:j=>{var P;if((P=h.onKeyDown)==null||P.call(h,j),!j.defaultPrevented)switch(j.key){case"n":case"j":{j.ctrlKey&&F(j);break}case"ArrowDown":{F(j);break}case"p":case"k":{j.ctrlKey&&L(j);break}case"ArrowUp":{L(j);break}case"Home":{j.preventDefault(),_(0);break}case"End":{j.preventDefault(),D();break}case"Enter":{j.preventDefault();let T=b();if(T){let M=new Event(Bt);T.dispatchEvent(M)}}}}},f.createElement("label",{"cmdk-label":"",htmlFor:G.inputId,id:G.labelId,style:td},d),f.createElement(Zo.Provider,{value:O},f.createElement(Xo.Provider,{value:G},u)))}),Bl=f.forwardRef((e,t)=>{let n=f.useId(),r=f.useRef(null),s=f.useContext(Yo),a=Ge(),i=es(e);Ae(()=>a.item(n,s),[]);let l=ts(n,r,[e.value,e.children,r]),c=bn(),d=$e(w=>w.value&&w.value===l.current),u=$e(w=>a.filter()===!1?!0:w.search?w.filtered.items.get(n)>0:!0);f.useEffect(()=>{let w=r.current;if(!(!w||e.disabled))return w.addEventListener(Bt,p),()=>w.removeEventListener(Bt,p)},[u,e.onSelect,e.disabled]);function p(){var w,A;(A=(w=i.current).onSelect)==null||A.call(w,l.current)}function m(){c.setState("value",l.current,!0)}if(!u)return null;let{disabled:g,value:x,onSelect:h,...$}=e;return f.createElement("div",{ref:He([r,t]),...$,"cmdk-item":"",role:"option","aria-disabled":g||void 0,"aria-selected":d||void 0,"data-selected":d||void 0,onPointerMove:g?void 0:m,onClick:g?void 0:p},e.children)}),Ul=f.forwardRef((e,t)=>{let{heading:n,children:r,...s}=e,a=f.useId(),i=f.useRef(null),l=f.useRef(null),c=f.useId(),d=Ge(),u=$e(m=>d.filter()===!1?!0:m.search?m.filtered.groups.has(a):!0);Ae(()=>d.group(a),[]),ts(a,i,[e.value,e.heading,l]);let p=f.createElement(Yo.Provider,{value:a},r);return f.createElement("div",{ref:He([i,t]),...s,"cmdk-group":"",role:"presentation",hidden:u?void 0:!0},n&&f.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),f.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},p))}),ql=f.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,s=f.useRef(null),a=$e(i=>!i.search);return!n&&!a?null:f.createElement("div",{ref:He([s,t]),...r,"cmdk-separator":"",role:"separator"})}),Wl=f.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,s=e.value!=null,a=bn(),i=$e(c=>c.search),l=Ge();return f.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),f.createElement("input",{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,id:l.inputId,type:"text",value:s?e.value:i,onChange:c=>{s||a.setState("search",c.target.value),n?.(c.target.value)}})}),Kl=f.forwardRef((e,t)=>{let{children:n,...r}=e,s=f.useRef(null),a=f.useRef(null),i=Ge();return f.useEffect(()=>{if(a.current&&s.current){let l=a.current,c=s.current,d,u=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let p=l.getBoundingClientRect().height;c.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return u.observe(l),()=>{cancelAnimationFrame(d),u.unobserve(l)}}},[]),f.createElement("div",{ref:He([s,t]),...r,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:i.listId,"aria-labelledby":i.inputId},f.createElement("div",{ref:a,"cmdk-list-sizer":""},n))}),Jl=f.forwardRef((e,t)=>{let{open:n,onOpenChange:r,container:s,...a}=e;return f.createElement(ya,{open:n,onOpenChange:r},f.createElement(ja,{container:s},f.createElement(Sa,{"cmdk-overlay":""}),f.createElement(Ca,{"aria-label":e.label,"cmdk-dialog":""},f.createElement(Qo,{ref:t,...a}))))}),Xl=f.forwardRef((e,t)=>{let n=f.useRef(!0),r=$e(s=>s.filtered.count===0);return f.useEffect(()=>{n.current=!1},[]),n.current||!r?null:f.createElement("div",{ref:t,...e,"cmdk-empty":"",role:"presentation"})}),Zl=f.forwardRef((e,t)=>{let{progress:n,children:r,...s}=e;return f.createElement("div",{ref:t,...s,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},f.createElement("div",{"aria-hidden":!0},r))}),X=Object.assign(Qo,{List:Kl,Item:Bl,Input:Wl,Group:Ul,Separator:ql,Dialog:Jl,Empty:Xl,Loading:Zl});function Yl(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Ql(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function es(e){let t=f.useRef(e);return Ae(()=>{t.current=e}),t}var Ae=typeof window>"u"?f.useEffect:f.useLayoutEffect;function Se(e){let t=f.useRef();return t.current===void 0&&(t.current=e()),t}function He(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function $e(e){let t=bn(),n=()=>e(t.snapshot());return f.useSyncExternalStore(t.subscribe,n,n)}function ts(e,t,n){let r=f.useRef(),s=Ge();return Ae(()=>{var a;let i=(()=>{var l;for(let c of n){if(typeof c=="string")return c.trim().toLowerCase();if(typeof c=="object"&&"current"in c&&c.current)return(l=c.current.textContent)==null?void 0:l.trim().toLowerCase()}})();s.value(e,i),(a=t.current)==null||a.setAttribute(ce,i),r.current=i}),r}var ed=()=>{let[e,t]=f.useState(),n=Se(()=>new Map);return Ae(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,s)=>{n.current.set(r,s),t({})}},td={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const nd="w-full h-full text-popover-foreground bg-popover overflow-hidden rounded-md flex flex-col",rd=f.forwardRef(({className:e,...t},n)=>o.jsx(X,{ref:n,className:v(nd,e),...t}));rd.displayName=X.displayName;const od="py-3 w-full h-10 text-sm bg-transparent placeholder:text-muted-foreground disabled:opacity-50 disabled:cursor-not-allowed rounded-md outline-none flex",sd=f.forwardRef(({className:e,...t},n)=>o.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[o.jsx($a,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),o.jsx(X.Input,{ref:n,className:v(od,e),...t})]}));sd.displayName=X.Input.displayName;const ad=f.forwardRef(({className:e,...t},n)=>o.jsx(X.List,{ref:n,className:v("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));ad.displayName=X.List.displayName;const id=f.forwardRef((e,t)=>o.jsx(X.Empty,{ref:t,className:"py-6 text-sm text-center",...e}));id.displayName=X.Empty.displayName;const ld="p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden ",dd=f.forwardRef(({className:e,...t},n)=>o.jsx(X.Group,{ref:n,className:v(ld,e),...t}));dd.displayName=X.Group.displayName;const cd=f.forwardRef(({className:e,...t},n)=>o.jsx(X.Separator,{ref:n,className:v("-mx-1 h-px bg-border",e),...t}));cd.displayName=X.Separator.displayName;const ud="relative px-2 py-1.5 text-sm aria-selected:text-accent-foreground aria-selected:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",fd=f.forwardRef(({className:e,...t},n)=>o.jsx(X.Item,{ref:n,className:v(ud,e),...t}));fd.displayName=X.Item.displayName;var gd={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const pd=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ye=(e,t)=>{const n=f.forwardRef(({color:r="currentColor",size:s=24,strokeWidth:a=2,absoluteStrokeWidth:i,children:l,...c},d)=>f.createElement("svg",{ref:d,...gd,width:s,height:s,stroke:r,strokeWidth:i?Number(a)*24/Number(s):a,className:`lucide lucide-${pd(e)}`,...c},[...t.map(([u,p])=>f.createElement(u,p)),...(Array.isArray(l)?l:[l])||[]]));return n.displayName=`${e}`,n},md=ye("Check",[["polyline",{points:"20 6 9 17 4 12",key:"10jjfj"}]]),hd=ye("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),ns=ye("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),xd=ye("Folder",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}]]),On=ye("Layout",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"9",x2:"9",y1:"21",y2:"9",key:"wpwpyp"}]]),vd=ye("Paintbrush",[["path",{d:"M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.82 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.82L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z",key:"m6k5sh"}],["path",{d:"M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7",key:"arzq70"}],["path",{d:"M14.5 17.5 4.5 15",key:"s7fvrz"}]]),bd=ye("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]),wd="block h-4 w-4 bg-background border-primary/50 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors border rounded-full shadow",yd=f.forwardRef(({className:e,...t},n)=>o.jsxs(Xr,{ref:n,className:v("relative w-full touch-none select-none flex items-center",e),...t,children:[o.jsx(Ra,{className:"relative w-full h-1.5 bg-primary/20 rounded-full grow overflow-hidden",children:o.jsx(Na,{className:"absolute h-full bg-primary"})}),o.jsx(_a,{className:wd})]}));yd.displayName=Xr.displayName;const jd="peer w-[36px] h-[20px] border-transparent focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background focus-visible:outline-none disabled:opacity-50 disabled:cursor-not-allowed data-[state=checked]:bg-primary data-[state=unchecked]:bg-input transition-colors border-2 rounded-full shadow-sm cursor-pointer shrink-0 inline-flex items-center",Sd="block w-4 h-4 bg-background data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0 transition-transform pointer-events-none ring-0 rounded-full shadow-lg",Cd=f.forwardRef(({className:e,...t},n)=>o.jsx(Zr,{ref:n,className:v(jd,e),...t,children:o.jsx(Aa,{className:v(Sd)})}));Cd.displayName=Zr.displayName;const $d="text-sm font-medium hover:text-muted-foreground hover:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=on]:text-accent-foreground data-[state=on]:bg-accent transition-colors rounded-md inline-flex items-center justify-center",Rd=ze($d,{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),Nd=f.forwardRef(({className:e,variant:t,size:n,...r},s)=>o.jsx(Yr,{ref:s,className:v(Rd({variant:t,size:n,className:e})),...r}));Nd.displayName=Yr.displayName;const _d="z-50 px-3 py-1.5 text-xs text-primary-foreground bg-primary animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 overflow-hidden rounded-md",Ad=f.forwardRef(({className:e,sideOffset:t=4,...n},r)=>o.jsx(Qr,{ref:r,sideOffset:t,className:v(_d,e),...n}));Ad.displayName=Qr.displayName;const Md="p-1 h-9 bg-background border rounded-md shadow-sm flex items-center space-x-1",Ed=f.forwardRef(({className:e,...t},n)=>o.jsx(eo,{ref:n,className:v(Md,e),...t}));Ed.displayName=eo.displayName;const kd="px-3 py-1 text-sm font-medium focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Pd=f.forwardRef(({className:e,...t},n)=>o.jsx(to,{ref:n,className:v(kd,e),...t}));Pd.displayName=to.displayName;const Fd="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Dd=f.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(no,{ref:s,className:v(Fd,t&&"pl-8",e),...r,children:[n,o.jsx(sn,{className:"ml-auto h-4 w-4"})]}));Dd.displayName=no.displayName;const Id="p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 border rounded-md shadow-lg overflow-hidden",Vd=f.forwardRef(({className:e,...t},n)=>o.jsx(ro,{ref:n,className:v(Id,e),...t}));Vd.displayName=ro.displayName;const Od="p-1 min-w-[12rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 border rounded-md shadow-md overflow-hidden",Ld=f.forwardRef(({className:e,align:t="start",alignOffset:n=-4,sideOffset:r=8,...s},a)=>o.jsx(Ma,{children:o.jsx(oo,{ref:a,align:t,alignOffset:n,sideOffset:r,className:v(Od,e),...s})}));Ld.displayName=oo.displayName;const zd="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm select-none outline-none cursor-default flex items-center",Td=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(so,{ref:r,className:v(zd,t&&"pl-8",e),...n}));Td.displayName=so.displayName;const rs="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",Gd=f.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(ao,{ref:s,className:v(rs,e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(io,{children:o.jsx(_e,{className:"h-4 w-4"})})}),t]}));Gd.displayName=ao.displayName;const Hd=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(lo,{ref:r,className:v(rs,e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(io,{children:o.jsx(dn,{className:"h-4 w-4 fill-current"})})}),t]}));Hd.displayName=lo.displayName;const Bd=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(co,{ref:r,className:v("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Bd.displayName=co.displayName;const Ud=f.forwardRef(({className:e,...t},n)=>o.jsx(uo,{ref:n,className:v("-mx-1 my-1 h-px bg-muted",e),...t}));Ud.displayName=uo.displayName;const qd=pn,os=f.forwardRef(({className:e,...t},n)=>o.jsx(fn,{ref:n,className:v("border-b",e),...t}));os.displayName="AccordionItem";const Wd="flex-1 py-4 text-sm font-medium hover:underline [&[data-state=open]>svg]:rotate-180 transition-all flex items-center justify-between",ss=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(gn,{className:"flex",children:o.jsxs(pt,{ref:r,className:v(Wd,e),...n,children:[o.jsx("div",{children:t}),o.jsx(cn,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));ss.displayName=pt.displayName;const Kd="text-sm overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",as=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(mt,{ref:r,className:v(Kd,e),...n,children:o.jsx("div",{className:"pb-4 pt-0",children:t})}));as.displayName=mt.displayName;const vt=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(fo,{ref:r,className:v("relative overflow-hidden","[&[data-fixed-width]>div>div]:![display:block]",e),...n,children:[o.jsx(Ea,{className:"h-full w-full rounded-[inherit]",children:t}),o.jsx(is,{}),o.jsx(ka,{})]}));vt.displayName=fo.displayName;const is=f.forwardRef(({className:e,orientation:t="vertical",...n},r)=>o.jsx(go,{ref:r,orientation:t,className:v("flex touch-none select-none transition-colors",t==="vertical"&&"w-2.5 h-full border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...n,children:o.jsx(Pa,{className:v("relative rounded-full bg-border",t==="vertical"&&"flex-1")})}));is.displayName=go.displayName;const Jd=Fa,Xd="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0",ls=f.forwardRef(({className:e,...t},n)=>o.jsx(po,{ref:n,className:v(Xd,e),...t}));ls.displayName=po.displayName;const Zd="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] w-full md:w-full max-w-lg p-6 z-50 bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] duration-200 border sm:rounded-lg shadow-lg grid gap-4",Yd=f.forwardRef(({className:e,...t},n)=>o.jsxs(Jd,{children:[o.jsx(ls,{}),o.jsx(mo,{ref:n,className:v(Zd,e),...t})]}));Yd.displayName=mo.displayName;const Qd=f.forwardRef(({className:e,...t},n)=>o.jsx(ho,{ref:n,className:v("text-lg font-semibold",e),...t}));Qd.displayName=ho.displayName;const ec=f.forwardRef(({className:e,...t},n)=>o.jsx(xo,{ref:n,className:v("text-sm text-muted-foreground",e),...t}));ec.displayName=xo.displayName;const tc=f.forwardRef(({className:e,...t},n)=>o.jsx(vo,{ref:n,className:v(hn(),e),...t}));tc.displayName=vo.displayName;const nc=f.forwardRef(({className:e,...t},n)=>o.jsx(bo,{ref:n,className:v(hn({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));nc.displayName=bo.displayName;const ds=un;ds.displayName=un.displayName;const rc="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",cs=f.forwardRef(({className:e,...t},n)=>o.jsx(ct,{ref:n,className:v(rc,e),...t}));cs.displayName=ct.displayName;const oc="fixed z-50 p-6 bg-background data-[state=open]:animate-in data-[state=open]:duration-500 data-[state=closed]:animate-out data-[state=closed]:duration-300 transition ease-in-out shadow-lg gap-4",sc="inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",ac="inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",ic="inset-y-0 left-0 h-full w-3/4 sm:max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",lc="inset-y-0 right-0 h-full w-3/4 sm:max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",dc=ze(oc,{variants:{side:{top:sc,bottom:ac,left:ic,right:lc}},defaultVariants:{side:"right"}}),cc="absolute right-4 top-4 opacity-70 hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary ring-offset-background transition-opacity rounded-sm",uc=f.forwardRef(({side:e="right",className:t,children:n,...r},s)=>o.jsxs(ds,{children:[o.jsx(cs,{}),o.jsxs(ut,{ref:s,className:v(dc({side:e}),t),...r,children:[n,o.jsxs(Wr,{className:cc,children:[o.jsx(Kr,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));uc.displayName=ut.displayName;const fc=f.forwardRef(({className:e,...t},n)=>o.jsx(ft,{ref:n,className:v("text-lg font-semibold text-foreground",e),...t}));fc.displayName=ft.displayName;const gc=f.forwardRef(({className:e,...t},n)=>o.jsx(gt,{ref:n,className:v("text-sm text-muted-foreground",e),...t}));gc.displayName=gt.displayName;const wn=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{className:"relative w-full overflow-auto",children:o.jsx("table",{ref:n,className:v("w-full caption-bottom text-sm",e),...t})}));wn.displayName="Table";const yn=f.forwardRef(({className:e,...t},n)=>o.jsx("thead",{ref:n,className:v("[&_tr]:border-b",e),...t}));yn.displayName="TableHeader";const jn=f.forwardRef(({className:e,...t},n)=>o.jsx("tbody",{ref:n,className:v("[&_tr:last-child]:border-0",e),...t}));jn.displayName="TableBody";const us=f.forwardRef(({className:e,...t},n)=>o.jsx("tfoot",{ref:n,className:v("text-primary-foreground bg-primary font-medium",e),...t}));us.displayName="TableFooter";const be=f.forwardRef(({className:e,...t},n)=>o.jsx("tr",{ref:n,className:v("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));be.displayName="TableRow";const Ce=f.forwardRef(({className:e,...t},n)=>o.jsx("th",{ref:n,className:v("h-10 px-2 text-left font-medium align-middle text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Ce.displayName="TableHead";const ie=f.forwardRef(({className:e,...t},n)=>o.jsx("td",{ref:n,className:v("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));ie.displayName="TableCell";const fs=f.forwardRef(({className:e,...t},n)=>o.jsx("caption",{ref:n,className:v("mt-4 text-sm text-muted-foreground",e),...t}));fs.displayName="TableCaption";const bt=Da,pc="p-1 h-9 text-muted-foreground bg-muted rounded-lg inline-flex items-center justify-center",Be=f.forwardRef(({className:e,...t},n)=>o.jsx(wo,{ref:n,className:v(pc,e),...t}));Be.displayName=wo.displayName;const mc="px-3 py-1 text-sm font-medium whitespace-nowrapfocus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=active]:text-foreground data-[state=active]:bg-background data-[state=active]:shadow ring-offset-background transition-all rounded-md inline-flex items-center justify-center",W=f.forwardRef(({className:e,...t},n)=>o.jsx(yo,{ref:n,className:v(mc,e),...t}));W.displayName=yo.displayName;const hc="mt-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none ring-offset-background",K=f.forwardRef(({className:e,...t},n)=>o.jsx(jo,{ref:n,className:v(hc,e),...t}));K.displayName=jo.displayName;const xc=`z-50 p-4 w-64 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${Te}`,vc=f.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},s)=>o.jsx(So,{ref:s,align:t,sideOffset:n,className:v(xc,e),...r}));vc.displayName=So.displayName;const bc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("rounded-xl border bg-card text-card-foreground shadow",e),...t}));bc.displayName="Card";const wc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("flex flex-col space-y-1.5 p-6",e),...t}));wc.displayName="CardHeader";const yc=f.forwardRef(({className:e,...t},n)=>o.jsx("h3",{ref:n,className:v("font-semibold leading-none tracking-tight",e),...t}));yc.displayName="CardTitle";const jc=f.forwardRef(({className:e,...t},n)=>o.jsx("p",{ref:n,className:v("text-sm text-muted-foreground",e),...t}));jc.displayName="CardDescription";const Sc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("p-6 pt-0",e),...t}));Sc.displayName="CardContent";const Cc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("flex items-center p-6 pt-0",e),...t}));Cc.displayName="CardFooter";function Rt({className:e,...t}){return o.jsx("div",{className:v("animate-pulse rounded-md bg-primary/10",e),...t})}const $c=f.forwardRef(({className:e,value:t,...n},r)=>o.jsx(Co,{ref:r,className:v("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...n,children:o.jsx(Ia,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));$c.displayName=Co.displayName;var Oe=function(){return Oe=Object.assign||function(t){for(var n,r=1,s=arguments.length;r({...t,children:t.children?hs(t.children):void 0}))}function xe(e,t){if(t&&e){!Array.isArray(e)&&(e=[e]);for(const n of e){if(n.id===t)return n;if(n.children){const r=xe(n.children,t);if(r)return r}}}}function xs(e,t,n){const r=[];return t&&s(e,t),r;function s(a,i){if(a)if(a instanceof Array)for(let l=0;l({id:i.dataset.treeId,el:i}));if(!s.length)return;if(t.preventDefault(),t.stopPropagation(),!n)return s[0].id;const a=s.findIndex(i=>i.id===n);if(a!==-1)switch(t.key){case"ArrowDown":case"ArrowUp":{const i=t.key==="ArrowDown"?a+1:a-1;if(i>=0&&i{const[d,u]=f.useState(t),p=f.useCallback((w,A)=>{w.stopPropagation(),u(A?.id),n?.(A)},[n]),m=f.useMemo(()=>xs(e,t,r),[e,t,r]),g=f.useRef(null),{ref:x,width:h,height:$}=gs();return o.jsx("div",{ref:w=>{x(w),g.current=w},className:v("overflow-hidden",i),tabIndex:0,onKeyDown:w=>{const A=vs(g.current,w,d);A&&p(w,xe(e,A))},children:o.jsx(vt,{style:{width:h,height:$},onClick:w=>p(w,void 0),children:o.jsx("div",{className:"relative z-0 px-2 py-1",children:o.jsx($s,{ref:c,data:e,selectedItemId:d,handleSelectChange:p,expandedItemIds:m,IconForFolder:s,IconForItem:a,...l})})})})});const $s=f.forwardRef(({className:e,data:t,selectedItemId:n,handleSelectChange:r,expandedItemIds:s,IconForFolder:a,IconForItem:i,...l},c)=>o.jsx("div",{ref:c,role:"tree",className:e,...l,children:o.jsx("ul",{children:t instanceof Array?t.map(d=>o.jsx("li",{children:d.children?o.jsx(pn,{type:"multiple",defaultValue:s,children:o.jsxs(fn,{value:d.id,"data-tree-id":d.id,"data-tree-folder":ps,children:[o.jsx(Rs,{item:d,isSelected:n===d.id,Icon:a,onClick:u=>r(u,d)}),o.jsx(_s,{className:"pl-6",children:o.jsx($s,{data:d.children,selectedItemId:n,handleSelectChange:r,expandedItemIds:s,IconForFolder:a,IconForItem:i})})]})}):o.jsx(qt,{item:d,isSelected:n===d.id,onClick:u=>r(u,d),Icon:i})},d.id)):o.jsx("li",{children:o.jsx(qt,{item:t,isSelected:n===t.id,onClick:d=>r(d,t),Icon:i})})})})),qt=f.forwardRef(({className:e,item:t,isSelected:n,Icon:r,...s},a)=>o.jsx("div",{ref:a,className:v(js,e,n&&Ss),"data-tree-id":t.id,...s,children:o.jsx(As,{item:t,Icon:r,classes:Cs})}));qt.displayName="Tree.Leaf";const Rs=f.forwardRef(({className:e,item:t,isSelected:n,Icon:r,...s},a)=>o.jsx(Ns,{className:v(bs,n&&ws),"data-tree-folder-trigger":ms,ref:a,...s,children:o.jsx(As,{item:t,Icon:r,classes:ys})}));Rs.displayName="Tree.Folder";const Ns=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(gn,{children:o.jsx(pt,{ref:r,asChild:!0,className:v("flex-1 py-1 w-full transition-all last:[&[data-state=open]>svg]:rotate-90 outline-none cursor-pointer flex items-center",e),...n,children:o.jsxs("div",{children:[t,o.jsx(ns,{className:"shrink-0 ml-auto h-4 w-4 text-accent-foreground/50 transition-transform duration-200"})]})})}));Ns.displayName="Tree.Folder.Trigger";const _s=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(mt,{ref:r,className:v("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down transition-all overflow-hidden",e),...n,children:o.jsx("div",{children:t})}));_s.displayName="Tree.Folder.Content";function As({item:e,Icon:t,classes:n}){return o.jsxs(o.Fragment,{children:[e.icon&&o.jsx(e.icon,{className:n,"aria-hidden":"true"}),!e.icon&&t&&o.jsx(t,{className:n,"aria-hidden":"true"}),o.jsx("span",{className:"flex-grow text-sm truncate",children:e.name})]})}const Ec=Symbol(),Sn=Symbol(),Fe="a",nt="w";let kc=(e,t)=>new Proxy(e,t);const Wt=Object.getPrototypeOf,Kt=new WeakMap,Ms=e=>e&&(Kt.has(e)?Kt.get(e):Wt(e)===Object.prototype||Wt(e)===Array.prototype),zn=e=>typeof e=="object"&&e!==null,Pc=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(n=>{n.configurable=!0}),Object.create(Wt(e),t)},Es=e=>e[Sn]||e,ks=(e,t,n,r)=>{if(!Ms(e))return e;let s=r&&r.get(e);if(!s){const c=Es(e);s=(d=>Object.values(Object.getOwnPropertyDescriptors(d)).some(u=>!u.configurable&&!u.writable))(c)?[c,Pc(c)]:[c],r?.set(e,s)}const[a,i]=s;let l=n&&n.get(a);return l&&l[1].f===!!i||(l=((c,d)=>{const u={f:d};let p=!1;const m=(x,h)=>{if(!p){let $=u[Fe].get(c);if($||($={},u[Fe].set(c,$)),x===nt)$[nt]=!0;else{let w=$[x];w||(w=new Set,$[x]=w),w.add(h)}}},g={get:(x,h)=>h===Sn?c:(m("k",h),ks(Reflect.get(x,h),u[Fe],u.c,u.t)),has:(x,h)=>h===Ec?(p=!0,u[Fe].delete(c),!0):(m("h",h),Reflect.has(x,h)),getOwnPropertyDescriptor:(x,h)=>(m("o",h),Reflect.getOwnPropertyDescriptor(x,h)),ownKeys:x=>(m(nt),Reflect.ownKeys(x))};return d&&(g.set=g.deleteProperty=()=>!1),[g,u]})(a,!!i),l[1].p=kc(i||a,l[0]),n&&n.set(a,l)),l[1][Fe]=t,l[1].c=n,l[1].t=r,l[1].p},Ps=(e,t,n,r)=>{if(Object.is(e,t))return!1;if(!zn(e)||!zn(t))return!0;const s=n.get(Es(e));if(!s)return!0;if(r){const i=r.get(e);if(i&&i.n===t)return i.g;r.set(e,{n:t,g:!1})}let a=null;try{for(const i of s.h||[])if(a=Reflect.has(e,i)!==Reflect.has(t,i),a)return a;if(s[nt]===!0){if(a=((i,l)=>{const c=Reflect.ownKeys(i),d=Reflect.ownKeys(l);return c.length!==d.length||c.some((u,p)=>u!==d[p])})(e,t),a)return a}else for(const i of s.o||[])if(a=!!Reflect.getOwnPropertyDescriptor(e,i)!=!!Reflect.getOwnPropertyDescriptor(t,i),a)return a;for(const i of s.k||[])if(a=Ps(e[i],t[i],n,r),a)return a;return a===null&&(a=!0),a}finally{r&&r.set(e,{n:t,g:a})}},Fc=e=>Ms(e)&&e[Sn]||null,Tn=(e,t=!0)=>{Kt.set(e,t)};const Nt=e=>typeof e=="object"&&e!==null,ue=new WeakMap,Ke=new WeakSet,Dc=(e=Object.is,t=(d,u)=>new Proxy(d,u),n=d=>Nt(d)&&!Ke.has(d)&&(Array.isArray(d)||!(Symbol.iterator in d))&&!(d instanceof WeakMap)&&!(d instanceof WeakSet)&&!(d instanceof Error)&&!(d instanceof Number)&&!(d instanceof Date)&&!(d instanceof String)&&!(d instanceof RegExp)&&!(d instanceof ArrayBuffer),r=d=>{switch(d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:throw d}},s=new WeakMap,a=(d,u,p=r)=>{const m=s.get(d);if(m?.[0]===u)return m[1];const g=Array.isArray(d)?[]:Object.create(Object.getPrototypeOf(d));return Tn(g,!0),s.set(d,[u,g]),Reflect.ownKeys(d).forEach(x=>{if(Object.getOwnPropertyDescriptor(g,x))return;const h=Reflect.get(d,x),$={value:h,enumerable:!0,configurable:!0};if(Ke.has(h))Tn(h,!1);else if(h instanceof Promise)delete $.value,$.get=()=>p(h);else if(ue.has(h)){const[w,A]=ue.get(h);$.value=a(w,A(),p)}Object.defineProperty(g,x,$)}),Object.preventExtensions(g)},i=new WeakMap,l=[1,1],c=d=>{if(!Nt(d))throw new Error("object required");const u=i.get(d);if(u)return u;let p=l[0];const m=new Set,g=(S,R=++l[0])=>{p!==R&&(p=R,m.forEach(b=>b(S,R)))};let x=l[1];const h=(S=++l[1])=>(x!==S&&!m.size&&(x=S,w.forEach(([R])=>{const b=R[1](S);b>p&&(p=b)})),p),$=S=>(R,b)=>{const C=[...R];C[1]=[S,...C[1]],g(C,b)},w=new Map,A=(S,R)=>{if(m.size){const b=R[3]($(S));w.set(S,[R,b])}else w.set(S,[R])},I=S=>{var R;const b=w.get(S);b&&(w.delete(S),(R=b[1])==null||R.call(b))},O=S=>(m.add(S),m.size===1&&w.forEach(([b,C],_)=>{const N=b[3]($(_));w.set(_,[b,N])}),()=>{m.delete(S),m.size===0&&w.forEach(([b,C],_)=>{C&&(C(),w.set(_,[b]))})}),G=Array.isArray(d)?[]:Object.create(Object.getPrototypeOf(d)),q=t(G,{deleteProperty(S,R){const b=Reflect.get(S,R);I(R);const C=Reflect.deleteProperty(S,R);return C&&g(["delete",[R],b]),C},set(S,R,b,C){const _=Reflect.has(S,R),N=Reflect.get(S,R,C);if(_&&(e(N,b)||i.has(b)&&e(N,i.get(b))))return!0;I(R),Nt(b)&&(b=Fc(b)||b);let k=b;if(b instanceof Promise)b.then(D=>{b.status="fulfilled",b.value=D,g(["resolve",[R],D])}).catch(D=>{b.status="rejected",b.reason=D,g(["reject",[R],D])});else{!ue.has(b)&&n(b)&&(k=c(b));const D=!Ke.has(k)&&ue.get(k);D&&A(R,D)}return Reflect.set(S,R,k,C),g(["set",[R],b,N]),!0}});i.set(d,q);const y=[G,h,a,O];return ue.set(q,y),Reflect.ownKeys(d).forEach(S=>{const R=Object.getOwnPropertyDescriptor(d,S);"value"in R&&(q[S]=d[S],delete R.value,delete R.writable),Object.defineProperty(G,S,R)}),q})=>[c,ue,Ke,e,t,n,r,s,a,i,l],[Ic]=Dc();function Ue(e={}){return Ic(e)}function wt(e,t,n){const r=ue.get(e);let s;const a=[],i=r[3];let l=!1;const d=i(u=>{if(a.push(u),n){t(a.splice(0));return}s||(s=Promise.resolve().then(()=>{s=void 0,l&&t(a.splice(0))}))});return l=!0,()=>{l=!1,d()}}function Gn(e,t){const n=ue.get(e),[r,s,a]=n;return a(r,s(),t)}var Fs={exports:{}},Ds={};/** + */var Oa=f,La=Symbol.for("react.element"),za=Symbol.for("react.fragment"),Ta=Object.prototype.hasOwnProperty,Ga=Oa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ha={key:!0,ref:!0,__self:!0,__source:!0};function Ro(e,t,n){var r,s={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Ta.call(t,r)&&!Ha.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:La,type:e,key:a,ref:i,props:s,_owner:Ga.current}}xt.Fragment=za;xt.jsx=Ro;xt.jsxs=Ro;$o.exports=xt;var o=$o.exports,Lt={},An=ia;Lt.createRoot=An.createRoot,Lt.hydrateRoot=An.hydrateRoot;function No(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,En=Ba,Te=(e,t)=>n=>{var r;if(t?.variants==null)return En(e,n?.class,n?.className);const{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(d=>{const u=n?.[d],g=a?.[d];if(u===null)return null;const m=Mn(u)||Mn(g);return s[d][m]}),l=n&&Object.entries(n).reduce((d,u)=>{let[g,m]=u;return m===void 0||(d[g]=m),d},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:g,className:m,...p}=u;return Object.entries(p).every(x=>{let[h,R]=x;return Array.isArray(R)?R.includes({...a,...l}[h]):{...a,...l}[h]===R})?[...d,g,m]:d},[]);return En(e,i,c,n?.class,n?.className)};function Ua(){for(var e=0,t,n,r="";ee&&(t=0,r=n,n=new Map)}return{get:function(i){var l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return s(i,l),l},set:function(i,l){n.has(i)?n.set(i,l):s(i,l)}}}var Mo="!";function Ya(e){var t=e.separator||":",n=t.length===1,r=t[0],s=t.length;return function(i){for(var l=[],c=0,d=0,u,g=0;gd?u-d:void 0;return{modifiers:l,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:R}}}function Qa(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var s=r[0]==="[";s?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function ei(e){return{cache:Za(e.cacheSize),splitModifiers:Ya(e),...qa(e)}}var ti=/\s+/;function ni(e,t){var n=t.splitModifiers,r=t.getClassGroupId,s=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(ti).map(function(i){var l=n(i),c=l.modifiers,d=l.hasImportantModifier,u=l.baseClassName,g=l.maybePostfixModifierPosition,m=r(g?u.substring(0,g):u),p=!!g;if(!m){if(!g)return{isTailwindClass:!1,originalClassName:i};if(m=r(u),!m)return{isTailwindClass:!1,originalClassName:i};p=!1}var x=Qa(c).join(":"),h=d?x+Mo:x;return{isTailwindClass:!0,modifierId:h,classGroupId:m,originalClassName:i,hasPostfixModifier:p}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var l=i.modifierId,c=i.classGroupId,d=i.hasPostfixModifier,u=l+c;return a.has(u)?!1:(a.add(u),s(c,d).forEach(function(g){return a.add(l+g)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function ri(){for(var e=arguments.length,t=new Array(e),n=0;n{n=null,e.apply(s,r)},t))}return a}function wi(e,t=2){return e.toFixed(Math.max(Math.min(t,20),0))}function yi(e,t,n){return Math.min(Math.max(e,t),n)}function ji(e,{asArrayBuffer:t}){return new Promise((n,r)=>{const s=new FileReader;s.onload=()=>n(s.result),s.onerror=()=>r(new Error("Failed to load file")),t?s.readAsArrayBuffer(e):s.readAsDataURL(e)})}function Po(e){const t=window.document.documentElement;if(t.classList.remove("light","dark"),e==="system"){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";t.classList.add(n);return}t.classList.add(e)}const Si="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",Ci=Te(Si),Gt=f.forwardRef(({className:e,...t},n)=>o.jsx(ur,{ref:n,className:v(Ci(),e),...t}));Gt.displayName=ur.displayName;const $i="px-3 py-1 w-full h-9 text-sm border-input bg-transparent file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed transition-colors border rounded-md shadow-sm flex",Le=f.forwardRef(({className:e,type:t,...n},r)=>o.jsx("input",{type:t,className:v($i,e),ref:r,...n}));Le.displayName="Input";const Ri="px-3 py-2 w-full min-h-[60px] text-sm border-input bg-transparent placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed border rounded-md shadow-sm flex",Fo=f.forwardRef(({className:e,...t},n)=>o.jsx("textarea",{className:v(Ri,e),ref:n,...t}));Fo.displayName="Textarea";const Ni='after:![content:attr(data-replicated)_"_"] after:whitespace-pre after:border-transparent after:invisible after:[grid-area:1/1/2/2] grid',_i="resize-none overflow-hidden [grid-area:1/1/2/2]",Ai="after:px-3 after:py-2 after:text-sm after:border",Mi=f.forwardRef(({containerPaddingFont:e=Ai,className:t,value:n,...r},s)=>o.jsx("div",{className:v(Ni,e),"data-replicated":n,children:o.jsx(Fo,{className:v(_i,t),value:n,ref:s,...r})}));Mi.displayName="TextareaAutoGrow";const Ei="text-sm font-medium focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",hn=Te(Ei,{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Y=f.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},a)=>{const i=r?la:"button";return o.jsx(i,{className:v(hn({variant:t,size:n,className:e})),ref:a,...s})});Y.displayName="Button";const Ge=" data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 ",xn=wr,vn=yr,ki="px-2 py-1.5 text-sm focus:bg-accent data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Pi=f.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(fr,{ref:s,className:v(ki,t&&"pl-8",e),...r,children:[n,o.jsx(sn,{className:"ml-auto h-4 w-4"})]}));Pi.displayName=fr.displayName;const Do=`p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${Ge}`,Fi=f.forwardRef(({className:e,...t},n)=>o.jsx(gr,{ref:n,className:v(Do,e),...t}));Fi.displayName=gr.displayName;const Di=Do,vt=f.forwardRef(({className:e,sideOffset:t=4,...n},r)=>o.jsx(pr,{children:o.jsx(an,{ref:r,className:v(Di,e),sideOffset:t,...n})}));vt.displayName=an.displayName;const Ii="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",Ve=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(ln,{ref:r,className:v(Ii,t&&"pl-8",e),...n}));Ve.displayName=ln.displayName;const Vi="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",Io=f.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(mr,{ref:s,className:v(Vi,e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(hr,{children:o.jsx(_e,{className:"h-4 w-4"})})}),t]}));Io.displayName=mr.displayName;const Oi="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",Li=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(xr,{ref:r,className:v(Oi,e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(hr,{children:o.jsx(dn,{className:"h-4 w-4 fill-current"})})}),t]}));Li.displayName=xr.displayName;const Vo=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(vr,{ref:r,className:v("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Vo.displayName=vr.displayName;const Oo=f.forwardRef(({className:e,...t},n)=>o.jsx(br,{ref:n,className:v("-mx-1 my-1 h-px bg-muted",e),...t}));Oo.displayName=br.displayName;const zi="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Ti=f.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(jr,{ref:s,className:v(zi,t&&"pl-8",e),...r,children:[n,o.jsx(sn,{className:"ml-auto h-4 w-4"})]}));Ti.displayName=jr.displayName;const Lo=`z-50 p-1 min-w-[8rem] text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${Ge}`,Gi=f.forwardRef(({className:e,...t},n)=>o.jsx(Sr,{ref:n,className:v(Lo,e),...t}));Gi.displayName=Sr.displayName;const Hi=Lo,Bi=f.forwardRef(({className:e,...t},n)=>o.jsx(da,{children:o.jsx(Cr,{ref:n,className:v(Hi,e),...t})}));Bi.displayName=Cr.displayName;const Ui="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",qi=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx($r,{ref:r,className:v(Ui,t&&"pl-8",e),...n}));qi.displayName=$r.displayName;const zo="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",Wi=f.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(Rr,{ref:s,className:v(zo,e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(Nr,{children:o.jsx(_e,{className:"h-4 w-4"})})}),t]}));Wi.displayName=Rr.displayName;const Ki=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(_r,{ref:r,className:v(zo,e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(Nr,{children:o.jsx(dn,{className:"h-4 w-4 fill-current"})})}),t]}));Ki.displayName=_r.displayName;const Ji=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(Ar,{ref:r,className:v("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...n}));Ji.displayName=Ar.displayName;const Xi=f.forwardRef(({className:e,...t},n)=>o.jsx(Mr,{ref:n,className:v("-mx-1 my-1 h-px bg-border",e),...t}));Xi.displayName=Mr.displayName;const Zi="z-10 relative max-w-max flex-1 flex items-center justify-center",Yi=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Er,{ref:r,className:v(Zi,e),...n,children:[t,o.jsx(To,{})]}));Yi.displayName=Er.displayName;const Qi="group flex-1list-none flex items-center justify-center space-x-1",el=f.forwardRef(({className:e,...t},n)=>o.jsx(kr,{ref:n,className:v(Qi,e),...t}));el.displayName=kr.displayName;const tl="group px-4 py-2 w-max h-9 text-sm font-medium bg-background hover:text-accent-foreground hover:bg-accent focus:text-accent-foreground focus:bg-accent focus:outline-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",nl=Te(tl),rl="relative ml-1 top-[1px] w-3 h-3 group-data-[state=open]:rotate-180 transition duration-300 ",ol=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Pr,{ref:r,className:v(nl(),"group",e),...n,children:[t," ",o.jsx(cn,{className:rl,"aria-hidden":"true"})]}));ol.displayName=Pr.displayName;const sl="left-0 top-0 w-full md:absolute md:w-auto data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=from-start]:slide-in-from-left-52 data-[motion=from-end]:slide-in-from-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion=to-end]:slide-out-to-right-52",al=f.forwardRef(({className:e,...t},n)=>o.jsx(Fr,{ref:n,className:v(sl,e),...t}));al.displayName=Fr.displayName;const il="relative mt-1.5 w-full h-[var(--radix-navigation-menu-viewport-height)] text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 md:w-[var(--radix-navigation-menu-viewport-width)] overflow-hidden origin-top-center border rounded-md shadow",To=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{className:v("absolute left-0 top-full flex justify-center"),children:o.jsx(Dr,{ref:n,className:v(il,e),...t})}));To.displayName=Dr.displayName;const ll="z-[1] top-full h-1.5 data-[state=visible]:animate-in data-[state=visible]:fade-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out overflow-hidden flex items-end justify-center",dl=f.forwardRef(({className:e,...t},n)=>o.jsx(Ir,{ref:n,className:v(ll,e),...t,children:o.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));dl.displayName=Ir.displayName;const cl="peer w-4 h-4 shrink-0 border-primary focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground border rounded-sm shadow",ze=f.forwardRef(({className:e,...t},n)=>o.jsx(Vr,{ref:n,className:v(cl,e),...t,children:o.jsx(ca,{className:v("flex items-center justify-center text-current"),children:o.jsx(_e,{className:"h-4 w-4"})})}));ze.displayName=Vr.displayName;const ul=f.forwardRef(({className:e,...t},n)=>o.jsx(Or,{className:v("grid gap-2",e),...t,ref:n}));ul.displayName=Or.displayName;const fl="h-4 w-4 aspect-square text-primary border-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-full shadow",gl=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(Lr,{ref:r,className:v(fl,e),...n,children:o.jsx(ua,{className:"flex items-center justify-center",children:o.jsx(_e,{className:"h-3.5 w-3.5 fill-primary"})})}));gl.displayName=Lr.displayName;const pl="px-3 py-2 h-9 w-full text-sm border-input bg-transparent ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-md shadow-sm flex items-center justify-between",ml=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(zr,{ref:r,className:v(pl,e),...n,children:[t,o.jsx(fa,{asChild:!0,children:o.jsx(Tr,{className:"h-4 w-4 opacity-50"})})]}));ml.displayName=zr.displayName;const hl="z-50 relative min-w-[8rem] bg-popover text-popover-foreground 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 overflow-hidden border rounded-md shadow-md",xl="data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",vl="w-full h-[var(--radix-select-trigger-height)] min-w-[var(--radix-select-trigger-width)]",bl=f.forwardRef(({className:e,children:t,position:n="popper",...r},s)=>o.jsx(ga,{children:o.jsx(Gr,{ref:s,className:v(hl,n==="popper"&&xl,e),position:n,...r,children:o.jsx(pa,{className:v("p-1",n==="popper"&&vl),children:t})})}));bl.displayName=Gr.displayName;const wl=f.forwardRef(({className:e,...t},n)=>o.jsx(Hr,{ref:n,className:v("px-2 py-1.5 text-sm font-semibold",e),...t}));wl.displayName=Hr.displayName;const yl="relative pl-2 pr-8 py-1.5 w-full text-sm focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",jl=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Br,{ref:r,className:v(yl,e),...n,children:[o.jsx("span",{className:"absolute right-2 h-3.5 w-3.5 flex items-center justify-center",children:o.jsx(ma,{children:o.jsx(_e,{className:"h-4 w-4"})})}),o.jsx(ha,{children:t})]}));jl.displayName=Br.displayName;const Sl=f.forwardRef(({className:e,...t},n)=>o.jsx(Ur,{ref:n,className:v("-mx-1 my-1 h-px bg-muted",e),...t}));Sl.displayName=Ur.displayName;const Cl=va,$l=ba,Rl=`p-4 w-72 z-50 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${Ge}`,Go=f.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},s)=>o.jsx(xa,{children:o.jsx(qr,{ref:s,align:t,sideOffset:n,className:v(Rl,e),...r})}));Go.displayName=qr.displayName;const Nl=wa,_l=un,Al="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",Ho=f.forwardRef(({className:e,...t},n)=>o.jsx(ut,{ref:n,className:v(Al,e),...t}));Ho.displayName=ut.displayName;const Ml="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] z-50 p-6 w-full md:w-full max-w-lg bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] border sm:rounded-lg shadow-lg duration-200 grid gap-4",El="absolute right-4 top-4 opacity-70 transition-opacityhover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 data-[state=open]:bg-accent data-[state=open]:text-muted-foreground ring-offset-background rounded-sm disabled:pointer-events-none",Bo=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(_l,{children:[o.jsx(Ho,{}),o.jsxs(ft,{ref:r,className:v(Ml,e),...n,children:[t,o.jsxs(Wr,{className:El,children:[o.jsx(Kr,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Bo.displayName=ft.displayName;const Uo=({className:e,...t})=>o.jsx("div",{className:v("text-center sm:text-left flex flex-col space-y-1.5",e),...t});Uo.displayName="DialogHeader";const qo=({className:e,...t})=>o.jsx("div",{className:v("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});qo.displayName="DialogFooter";const Wo=f.forwardRef(({className:e,...t},n)=>o.jsx(gt,{ref:n,className:v("text-lg font-semibold leading-none tracking-tight",e),...t}));Wo.displayName=gt.displayName;const Ko=f.forwardRef(({className:e,...t},n)=>o.jsx(pt,{ref:n,className:v("text-sm text-muted-foreground",e),...t}));Ko.displayName=pt.displayName;var Dn=1,kl=.9,Pl=.3,Ct=.1,Fl=0,$t=.999,Dl=.9999,Il=.99,In=/[\\\/\-_+.# \t"@\[\(\{&]/,Vl=/[\\\/\-_+.# \t"@\[\(\{&]/g;function Ht(e,t,n,r,s,a){if(a===t.length)return s===e.length?Dn:Il;for(var i=r.charAt(a),l=n.indexOf(i,s),c=0,d,u,g;l>=0;)d=Ht(e,t,n,r,l+1,a+1),d>c&&(l===s?d*=Dn:In.test(e.charAt(l-1))?(d*=kl,g=e.slice(s,l-1).match(Vl),g&&s>0&&(d*=Math.pow($t,g.length))):In.test(e.slice(s,l-1))?(d*=Fl,s>0&&(d*=Math.pow($t,l-s))):(d*=Pl,s>0&&(d*=Math.pow($t,l-s))),e.charAt(l)!==t.charAt(a)&&(d*=Dl)),dd&&(d=u*Ct)),d>c&&(c=d),l=n.indexOf(i,l+1);return c}function Ol(e,t){return Ht(e,t,e.toLowerCase(),t.toLowerCase(),0,0)}var Ll=Ol;const zl=Jr(Ll);var Tl='[cmdk-list-sizer=""]',Pe='[cmdk-group=""]',Rt='[cmdk-group-items=""]',Gl='[cmdk-group-heading=""]',Jo='[cmdk-item=""]',Vn=`${Jo}:not([aria-disabled="true"])`,Bt="cmdk-item-select",ce="data-value",Hl=(e,t)=>zl(e,t),Xo=f.createContext(void 0),He=()=>f.useContext(Xo),Zo=f.createContext(void 0),bn=()=>f.useContext(Zo),Yo=f.createContext(void 0),Qo=f.forwardRef((e,t)=>{let n=f.useRef(null),r=Se(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),s=Se(()=>new Set),a=Se(()=>new Map),i=Se(()=>new Map),l=Se(()=>new Set),c=es(e),{label:d,children:u,value:g,onValueChange:m,filter:p,shouldFilter:x,...h}=e,R=f.useId(),$=f.useId(),A=f.useId(),E=ed();Ae(()=>{if(g!==void 0){let y=g.trim().toLowerCase();r.current.value=y,E(6,C),D.emit()}},[g]);let D=f.useMemo(()=>({subscribe:y=>(l.current.add(y),()=>l.current.delete(y)),snapshot:()=>r.current,setState:(y,F,T)=>{var M,z,ee;if(!Object.is(r.current[y],F)){if(r.current[y]=F,y==="search")j(),W(),E(1,w);else if(y==="value")if(((M=c.current)==null?void 0:M.value)!==void 0){(ee=(z=c.current).onValueChange)==null||ee.call(z,F);return}else T||E(5,C);D.emit()}},emit:()=>{l.current.forEach(y=>y())}}),[]),G=f.useMemo(()=>({value:(y,F)=>{F!==i.current.get(y)&&(i.current.set(y,F),r.current.filtered.items.set(y,q(F)),E(2,()=>{W(),D.emit()}))},item:(y,F)=>(s.current.add(y),F&&(a.current.has(F)?a.current.get(F).add(y):a.current.set(F,new Set([y]))),E(3,()=>{j(),W(),r.current.value||w(),D.emit()}),()=>{i.current.delete(y),s.current.delete(y),r.current.filtered.items.delete(y),E(4,()=>{j(),w(),D.emit()})}),group:y=>(a.current.has(y)||a.current.set(y,new Set),()=>{i.current.delete(y),a.current.delete(y)}),filter:()=>c.current.shouldFilter,label:d||e["aria-label"],listId:R,inputId:A,labelId:$}),[]);function q(y){var F;let T=((F=c.current)==null?void 0:F.filter)??Hl;return y?T(y,r.current.search):0}function W(){if(!n.current||!r.current.search||c.current.shouldFilter===!1)return;let y=r.current.filtered.items,F=[];r.current.filtered.groups.forEach(M=>{let z=a.current.get(M),ee=0;z.forEach(Me=>{let aa=y.get(Me);ee=Math.max(aa,ee)}),F.push([M,ee])});let T=n.current.querySelector(Tl);S().sort((M,z)=>{let ee=M.getAttribute(ce),Me=z.getAttribute(ce);return(y.get(Me)??0)-(y.get(ee)??0)}).forEach(M=>{let z=M.closest(Rt);z?z.appendChild(M.parentElement===z?M:M.closest(`${Rt} > *`)):T.appendChild(M.parentElement===T?M:M.closest(`${Rt} > *`))}),F.sort((M,z)=>z[1]-M[1]).forEach(M=>{let z=n.current.querySelector(`${Pe}[${ce}="${M[0]}"]`);z?.parentElement.appendChild(z)})}function w(){let y=S().find(T=>!T.ariaDisabled),F=y?.getAttribute(ce);D.setState("value",F||void 0)}function j(){if(!r.current.search||c.current.shouldFilter===!1){r.current.filtered.count=s.current.size;return}r.current.filtered.groups=new Set;let y=0;for(let F of s.current){let T=i.current.get(F),M=q(T);r.current.filtered.items.set(F,M),M>0&&y++}for(let[F,T]of a.current)for(let M of T)if(r.current.filtered.items.get(M)>0){r.current.filtered.groups.add(F);break}r.current.filtered.count=y}function C(){var y,F,T;let M=b();M&&(((y=M.parentElement)==null?void 0:y.firstChild)===M&&((T=(F=M.closest(Pe))==null?void 0:F.querySelector(Gl))==null||T.scrollIntoView({block:"nearest"})),M.scrollIntoView({block:"nearest"}))}function b(){return n.current.querySelector(`${Jo}[aria-selected="true"]`)}function S(){return Array.from(n.current.querySelectorAll(Vn))}function _(y){let F=S()[y];F&&D.setState("value",F.getAttribute(ce))}function N(y){var F;let T=b(),M=S(),z=M.findIndex(Me=>Me===T),ee=M[z+y];(F=c.current)!=null&&F.loop&&(ee=z+y<0?M[M.length-1]:z+y===M.length?M[0]:M[z+y]),ee&&D.setState("value",ee.getAttribute(ce))}function P(y){let F=b(),T=F?.closest(Pe),M;for(;T&&!M;)T=y>0?Yl(T,Pe):Ql(T,Pe),M=T?.querySelector(Vn);M?D.setState("value",M.getAttribute(ce)):N(y)}let V=()=>_(S().length-1),I=y=>{y.preventDefault(),y.metaKey?V():y.altKey?P(1):N(1)},L=y=>{y.preventDefault(),y.metaKey?_(0):y.altKey?P(-1):N(-1)};return f.createElement("div",{ref:Be([n,t]),...h,"cmdk-root":"",onKeyDown:y=>{var F;if((F=h.onKeyDown)==null||F.call(h,y),!y.defaultPrevented)switch(y.key){case"n":case"j":{y.ctrlKey&&I(y);break}case"ArrowDown":{I(y);break}case"p":case"k":{y.ctrlKey&&L(y);break}case"ArrowUp":{L(y);break}case"Home":{y.preventDefault(),_(0);break}case"End":{y.preventDefault(),V();break}case"Enter":{y.preventDefault();let T=b();if(T){let M=new Event(Bt);T.dispatchEvent(M)}}}}},f.createElement("label",{"cmdk-label":"",htmlFor:G.inputId,id:G.labelId,style:td},d),f.createElement(Zo.Provider,{value:D},f.createElement(Xo.Provider,{value:G},u)))}),Bl=f.forwardRef((e,t)=>{let n=f.useId(),r=f.useRef(null),s=f.useContext(Yo),a=He(),i=es(e);Ae(()=>a.item(n,s),[]);let l=ts(n,r,[e.value,e.children,r]),c=bn(),d=$e($=>$.value&&$.value===l.current),u=$e($=>a.filter()===!1?!0:$.search?$.filtered.items.get(n)>0:!0);f.useEffect(()=>{let $=r.current;if(!(!$||e.disabled))return $.addEventListener(Bt,g),()=>$.removeEventListener(Bt,g)},[u,e.onSelect,e.disabled]);function g(){var $,A;(A=($=i.current).onSelect)==null||A.call($,l.current)}function m(){c.setState("value",l.current,!0)}if(!u)return null;let{disabled:p,value:x,onSelect:h,...R}=e;return f.createElement("div",{ref:Be([r,t]),...R,"cmdk-item":"",role:"option","aria-disabled":p||void 0,"aria-selected":d||void 0,"data-selected":d||void 0,onPointerMove:p?void 0:m,onClick:p?void 0:g},e.children)}),Ul=f.forwardRef((e,t)=>{let{heading:n,children:r,...s}=e,a=f.useId(),i=f.useRef(null),l=f.useRef(null),c=f.useId(),d=He(),u=$e(m=>d.filter()===!1?!0:m.search?m.filtered.groups.has(a):!0);Ae(()=>d.group(a),[]),ts(a,i,[e.value,e.heading,l]);let g=f.createElement(Yo.Provider,{value:a},r);return f.createElement("div",{ref:Be([i,t]),...s,"cmdk-group":"",role:"presentation",hidden:u?void 0:!0},n&&f.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),f.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},g))}),ql=f.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,s=f.useRef(null),a=$e(i=>!i.search);return!n&&!a?null:f.createElement("div",{ref:Be([s,t]),...r,"cmdk-separator":"",role:"separator"})}),Wl=f.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,s=e.value!=null,a=bn(),i=$e(c=>c.search),l=He();return f.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),f.createElement("input",{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,id:l.inputId,type:"text",value:s?e.value:i,onChange:c=>{s||a.setState("search",c.target.value),n?.(c.target.value)}})}),Kl=f.forwardRef((e,t)=>{let{children:n,...r}=e,s=f.useRef(null),a=f.useRef(null),i=He();return f.useEffect(()=>{if(a.current&&s.current){let l=a.current,c=s.current,d,u=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let g=l.getBoundingClientRect().height;c.style.setProperty("--cmdk-list-height",g.toFixed(1)+"px")})});return u.observe(l),()=>{cancelAnimationFrame(d),u.unobserve(l)}}},[]),f.createElement("div",{ref:Be([s,t]),...r,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:i.listId,"aria-labelledby":i.inputId},f.createElement("div",{ref:a,"cmdk-list-sizer":""},n))}),Jl=f.forwardRef((e,t)=>{let{open:n,onOpenChange:r,container:s,...a}=e;return f.createElement(ya,{open:n,onOpenChange:r},f.createElement(ja,{container:s},f.createElement(Sa,{"cmdk-overlay":""}),f.createElement(Ca,{"aria-label":e.label,"cmdk-dialog":""},f.createElement(Qo,{ref:t,...a}))))}),Xl=f.forwardRef((e,t)=>{let n=f.useRef(!0),r=$e(s=>s.filtered.count===0);return f.useEffect(()=>{n.current=!1},[]),n.current||!r?null:f.createElement("div",{ref:t,...e,"cmdk-empty":"",role:"presentation"})}),Zl=f.forwardRef((e,t)=>{let{progress:n,children:r,...s}=e;return f.createElement("div",{ref:t,...s,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},f.createElement("div",{"aria-hidden":!0},r))}),X=Object.assign(Qo,{List:Kl,Item:Bl,Input:Wl,Group:Ul,Separator:ql,Dialog:Jl,Empty:Xl,Loading:Zl});function Yl(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Ql(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function es(e){let t=f.useRef(e);return Ae(()=>{t.current=e}),t}var Ae=typeof window>"u"?f.useEffect:f.useLayoutEffect;function Se(e){let t=f.useRef();return t.current===void 0&&(t.current=e()),t}function Be(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function $e(e){let t=bn(),n=()=>e(t.snapshot());return f.useSyncExternalStore(t.subscribe,n,n)}function ts(e,t,n){let r=f.useRef(),s=He();return Ae(()=>{var a;let i=(()=>{var l;for(let c of n){if(typeof c=="string")return c.trim().toLowerCase();if(typeof c=="object"&&"current"in c&&c.current)return(l=c.current.textContent)==null?void 0:l.trim().toLowerCase()}})();s.value(e,i),(a=t.current)==null||a.setAttribute(ce,i),r.current=i}),r}var ed=()=>{let[e,t]=f.useState(),n=Se(()=>new Map);return Ae(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,s)=>{n.current.set(r,s),t({})}},td={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const nd="w-full h-full text-popover-foreground bg-popover overflow-hidden rounded-md flex flex-col",rd=f.forwardRef(({className:e,...t},n)=>o.jsx(X,{ref:n,className:v(nd,e),...t}));rd.displayName=X.displayName;const od="py-3 w-full h-10 text-sm bg-transparent placeholder:text-muted-foreground disabled:opacity-50 disabled:cursor-not-allowed rounded-md outline-none flex",sd=f.forwardRef(({className:e,...t},n)=>o.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[o.jsx($a,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),o.jsx(X.Input,{ref:n,className:v(od,e),...t})]}));sd.displayName=X.Input.displayName;const ad=f.forwardRef(({className:e,...t},n)=>o.jsx(X.List,{ref:n,className:v("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));ad.displayName=X.List.displayName;const id=f.forwardRef((e,t)=>o.jsx(X.Empty,{ref:t,className:"py-6 text-sm text-center",...e}));id.displayName=X.Empty.displayName;const ld="p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden ",dd=f.forwardRef(({className:e,...t},n)=>o.jsx(X.Group,{ref:n,className:v(ld,e),...t}));dd.displayName=X.Group.displayName;const cd=f.forwardRef(({className:e,...t},n)=>o.jsx(X.Separator,{ref:n,className:v("-mx-1 h-px bg-border",e),...t}));cd.displayName=X.Separator.displayName;const ud="relative px-2 py-1.5 text-sm aria-selected:text-accent-foreground aria-selected:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",fd=f.forwardRef(({className:e,...t},n)=>o.jsx(X.Item,{ref:n,className:v(ud,e),...t}));fd.displayName=X.Item.displayName;var gd={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const pd=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ye=(e,t)=>{const n=f.forwardRef(({color:r="currentColor",size:s=24,strokeWidth:a=2,absoluteStrokeWidth:i,children:l,...c},d)=>f.createElement("svg",{ref:d,...gd,width:s,height:s,stroke:r,strokeWidth:i?Number(a)*24/Number(s):a,className:`lucide lucide-${pd(e)}`,...c},[...t.map(([u,g])=>f.createElement(u,g)),...(Array.isArray(l)?l:[l])||[]]));return n.displayName=`${e}`,n},md=ye("Check",[["polyline",{points:"20 6 9 17 4 12",key:"10jjfj"}]]),hd=ye("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),ns=ye("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),xd=ye("Folder",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}]]),On=ye("Layout",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"9",x2:"9",y1:"21",y2:"9",key:"wpwpyp"}]]),vd=ye("Paintbrush",[["path",{d:"M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.82 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.82L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z",key:"m6k5sh"}],["path",{d:"M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7",key:"arzq70"}],["path",{d:"M14.5 17.5 4.5 15",key:"s7fvrz"}]]),bd=ye("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]),wd="block h-4 w-4 bg-background border-primary/50 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors border rounded-full shadow",yd=f.forwardRef(({className:e,...t},n)=>o.jsxs(Xr,{ref:n,className:v("relative w-full touch-none select-none flex items-center",e),...t,children:[o.jsx(Ra,{className:"relative w-full h-1.5 bg-primary/20 rounded-full grow overflow-hidden",children:o.jsx(Na,{className:"absolute h-full bg-primary"})}),o.jsx(_a,{className:wd})]}));yd.displayName=Xr.displayName;const jd="peer w-[36px] h-[20px] border-transparent focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background focus-visible:outline-none disabled:opacity-50 disabled:cursor-not-allowed data-[state=checked]:bg-primary data-[state=unchecked]:bg-input transition-colors border-2 rounded-full shadow-sm cursor-pointer shrink-0 inline-flex items-center",Sd="block w-4 h-4 bg-background data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0 transition-transform pointer-events-none ring-0 rounded-full shadow-lg",Cd=f.forwardRef(({className:e,...t},n)=>o.jsx(Zr,{ref:n,className:v(jd,e),...t,children:o.jsx(Aa,{className:v(Sd)})}));Cd.displayName=Zr.displayName;const $d="text-sm font-medium hover:text-muted-foreground hover:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=on]:text-accent-foreground data-[state=on]:bg-accent transition-colors rounded-md inline-flex items-center justify-center",Rd=Te($d,{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),Nd=f.forwardRef(({className:e,variant:t,size:n,...r},s)=>o.jsx(Yr,{ref:s,className:v(Rd({variant:t,size:n,className:e})),...r}));Nd.displayName=Yr.displayName;const _d="z-50 px-3 py-1.5 text-xs text-primary-foreground bg-primary animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 overflow-hidden rounded-md",Ad=f.forwardRef(({className:e,sideOffset:t=4,...n},r)=>o.jsx(Qr,{ref:r,sideOffset:t,className:v(_d,e),...n}));Ad.displayName=Qr.displayName;const Md="p-1 h-9 bg-background border rounded-md shadow-sm flex items-center space-x-1",Ed=f.forwardRef(({className:e,...t},n)=>o.jsx(eo,{ref:n,className:v(Md,e),...t}));Ed.displayName=eo.displayName;const kd="px-3 py-1 text-sm font-medium focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Pd=f.forwardRef(({className:e,...t},n)=>o.jsx(to,{ref:n,className:v(kd,e),...t}));Pd.displayName=to.displayName;const Fd="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",Dd=f.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(no,{ref:s,className:v(Fd,t&&"pl-8",e),...r,children:[n,o.jsx(sn,{className:"ml-auto h-4 w-4"})]}));Dd.displayName=no.displayName;const Id="p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 border rounded-md shadow-lg overflow-hidden",Vd=f.forwardRef(({className:e,...t},n)=>o.jsx(ro,{ref:n,className:v(Id,e),...t}));Vd.displayName=ro.displayName;const Od="p-1 min-w-[12rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 border rounded-md shadow-md overflow-hidden",Ld=f.forwardRef(({className:e,align:t="start",alignOffset:n=-4,sideOffset:r=8,...s},a)=>o.jsx(Ma,{children:o.jsx(oo,{ref:a,align:t,alignOffset:n,sideOffset:r,className:v(Od,e),...s})}));Ld.displayName=oo.displayName;const zd="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm select-none outline-none cursor-default flex items-center",Td=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(so,{ref:r,className:v(zd,t&&"pl-8",e),...n}));Td.displayName=so.displayName;const rs="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",Gd=f.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(ao,{ref:s,className:v(rs,e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(io,{children:o.jsx(_e,{className:"h-4 w-4"})})}),t]}));Gd.displayName=ao.displayName;const Hd=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(lo,{ref:r,className:v(rs,e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(io,{children:o.jsx(dn,{className:"h-4 w-4 fill-current"})})}),t]}));Hd.displayName=lo.displayName;const Bd=f.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(co,{ref:r,className:v("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Bd.displayName=co.displayName;const Ud=f.forwardRef(({className:e,...t},n)=>o.jsx(uo,{ref:n,className:v("-mx-1 my-1 h-px bg-muted",e),...t}));Ud.displayName=uo.displayName;const qd=pn,os=f.forwardRef(({className:e,...t},n)=>o.jsx(fn,{ref:n,className:v("border-b",e),...t}));os.displayName="AccordionItem";const Wd="flex-1 py-4 text-sm font-medium hover:underline [&[data-state=open]>svg]:rotate-180 transition-all flex items-center justify-between",ss=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(gn,{className:"flex",children:o.jsxs(mt,{ref:r,className:v(Wd,e),...n,children:[o.jsx("div",{children:t}),o.jsx(cn,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));ss.displayName=mt.displayName;const Kd="text-sm overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",as=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(ht,{ref:r,className:v(Kd,e),...n,children:o.jsx("div",{className:"pb-4 pt-0",children:t})}));as.displayName=ht.displayName;const bt=f.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(fo,{ref:r,className:v("relative overflow-hidden","[&[data-fixed-width]>div>div]:![display:block]",e),...n,children:[o.jsx(Ea,{className:"h-full w-full rounded-[inherit]",children:t}),o.jsx(is,{}),o.jsx(ka,{})]}));bt.displayName=fo.displayName;const is=f.forwardRef(({className:e,orientation:t="vertical",...n},r)=>o.jsx(go,{ref:r,orientation:t,className:v("flex touch-none select-none transition-colors",t==="vertical"&&"w-2.5 h-full border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...n,children:o.jsx(Pa,{className:v("relative rounded-full bg-border",t==="vertical"&&"flex-1")})}));is.displayName=go.displayName;const Jd=Fa,Xd="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0",ls=f.forwardRef(({className:e,...t},n)=>o.jsx(po,{ref:n,className:v(Xd,e),...t}));ls.displayName=po.displayName;const Zd="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] w-full md:w-full max-w-lg p-6 z-50 bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] duration-200 border sm:rounded-lg shadow-lg grid gap-4",Yd=f.forwardRef(({className:e,...t},n)=>o.jsxs(Jd,{children:[o.jsx(ls,{}),o.jsx(mo,{ref:n,className:v(Zd,e),...t})]}));Yd.displayName=mo.displayName;const Qd=f.forwardRef(({className:e,...t},n)=>o.jsx(ho,{ref:n,className:v("text-lg font-semibold",e),...t}));Qd.displayName=ho.displayName;const ec=f.forwardRef(({className:e,...t},n)=>o.jsx(xo,{ref:n,className:v("text-sm text-muted-foreground",e),...t}));ec.displayName=xo.displayName;const tc=f.forwardRef(({className:e,...t},n)=>o.jsx(vo,{ref:n,className:v(hn(),e),...t}));tc.displayName=vo.displayName;const nc=f.forwardRef(({className:e,...t},n)=>o.jsx(bo,{ref:n,className:v(hn({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));nc.displayName=bo.displayName;const ds=un;ds.displayName=un.displayName;const rc="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",cs=f.forwardRef(({className:e,...t},n)=>o.jsx(ut,{ref:n,className:v(rc,e),...t}));cs.displayName=ut.displayName;const oc="fixed z-50 p-6 bg-background data-[state=open]:animate-in data-[state=open]:duration-500 data-[state=closed]:animate-out data-[state=closed]:duration-300 transition ease-in-out shadow-lg gap-4",sc="inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",ac="inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",ic="inset-y-0 left-0 h-full w-3/4 sm:max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",lc="inset-y-0 right-0 h-full w-3/4 sm:max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",dc=Te(oc,{variants:{side:{top:sc,bottom:ac,left:ic,right:lc}},defaultVariants:{side:"right"}}),cc="absolute right-4 top-4 opacity-70 hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary ring-offset-background transition-opacity rounded-sm",uc=f.forwardRef(({side:e="right",className:t,children:n,...r},s)=>o.jsxs(ds,{children:[o.jsx(cs,{}),o.jsxs(ft,{ref:s,className:v(dc({side:e}),t),...r,children:[n,o.jsxs(Wr,{className:cc,children:[o.jsx(Kr,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));uc.displayName=ft.displayName;const fc=f.forwardRef(({className:e,...t},n)=>o.jsx(gt,{ref:n,className:v("text-lg font-semibold text-foreground",e),...t}));fc.displayName=gt.displayName;const gc=f.forwardRef(({className:e,...t},n)=>o.jsx(pt,{ref:n,className:v("text-sm text-muted-foreground",e),...t}));gc.displayName=pt.displayName;const wn=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{className:"relative w-full overflow-auto",children:o.jsx("table",{ref:n,className:v("w-full caption-bottom text-sm",e),...t})}));wn.displayName="Table";const yn=f.forwardRef(({className:e,...t},n)=>o.jsx("thead",{ref:n,className:v("[&_tr]:border-b",e),...t}));yn.displayName="TableHeader";const jn=f.forwardRef(({className:e,...t},n)=>o.jsx("tbody",{ref:n,className:v("[&_tr:last-child]:border-0",e),...t}));jn.displayName="TableBody";const us=f.forwardRef(({className:e,...t},n)=>o.jsx("tfoot",{ref:n,className:v("text-primary-foreground bg-primary font-medium",e),...t}));us.displayName="TableFooter";const be=f.forwardRef(({className:e,...t},n)=>o.jsx("tr",{ref:n,className:v("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));be.displayName="TableRow";const Ce=f.forwardRef(({className:e,...t},n)=>o.jsx("th",{ref:n,className:v("h-10 px-2 text-left font-medium align-middle text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Ce.displayName="TableHead";const ie=f.forwardRef(({className:e,...t},n)=>o.jsx("td",{ref:n,className:v("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));ie.displayName="TableCell";const fs=f.forwardRef(({className:e,...t},n)=>o.jsx("caption",{ref:n,className:v("mt-4 text-sm text-muted-foreground",e),...t}));fs.displayName="TableCaption";const wt=Da,pc="p-1 h-9 text-muted-foreground bg-muted rounded-lg inline-flex items-center justify-center",Ue=f.forwardRef(({className:e,...t},n)=>o.jsx(wo,{ref:n,className:v(pc,e),...t}));Ue.displayName=wo.displayName;const mc="px-3 py-1 text-sm font-medium whitespace-nowrapfocus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=active]:text-foreground data-[state=active]:bg-background data-[state=active]:shadow ring-offset-background transition-all rounded-md inline-flex items-center justify-center",K=f.forwardRef(({className:e,...t},n)=>o.jsx(yo,{ref:n,className:v(mc,e),...t}));K.displayName=yo.displayName;const hc="mt-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none ring-offset-background",J=f.forwardRef(({className:e,...t},n)=>o.jsx(jo,{ref:n,className:v(hc,e),...t}));J.displayName=jo.displayName;const xc=`z-50 p-4 w-64 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${Ge}`,vc=f.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},s)=>o.jsx(So,{ref:s,align:t,sideOffset:n,className:v(xc,e),...r}));vc.displayName=So.displayName;const bc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("rounded-xl border bg-card text-card-foreground shadow",e),...t}));bc.displayName="Card";const wc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("flex flex-col space-y-1.5 p-6",e),...t}));wc.displayName="CardHeader";const yc=f.forwardRef(({className:e,...t},n)=>o.jsx("h3",{ref:n,className:v("font-semibold leading-none tracking-tight",e),...t}));yc.displayName="CardTitle";const jc=f.forwardRef(({className:e,...t},n)=>o.jsx("p",{ref:n,className:v("text-sm text-muted-foreground",e),...t}));jc.displayName="CardDescription";const Sc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("p-6 pt-0",e),...t}));Sc.displayName="CardContent";const Cc=f.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:v("flex items-center p-6 pt-0",e),...t}));Cc.displayName="CardFooter";function Nt({className:e,...t}){return o.jsx("div",{className:v("animate-pulse rounded-md bg-primary/10",e),...t})}const $c=f.forwardRef(({className:e,value:t,...n},r)=>o.jsx(Co,{ref:r,className:v("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...n,children:o.jsx(Ia,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));$c.displayName=Co.displayName;var Oe=function(){return Oe=Object.assign||function(t){for(var n,r=1,s=arguments.length;r({...t,children:t.children?hs(t.children):void 0}))}function xe(e,t){if(t&&e){!Array.isArray(e)&&(e=[e]);for(const n of e){if(n.id===t)return n;if(n.children){const r=xe(n.children,t);if(r)return r}}}}function xs(e,t,n){const r=[];return t&&s(e,t),r;function s(a,i){if(a)if(a instanceof Array)for(let l=0;l({id:i.dataset.treeId,el:i}));if(!s.length)return;if(t.preventDefault(),t.stopPropagation(),!n)return s[0].id;const a=s.findIndex(i=>i.id===n);if(a!==-1)switch(t.key){case"ArrowDown":case"ArrowUp":{const i=t.key==="ArrowDown"?a+1:a-1;if(i>=0&&i{const[d,u]=f.useState(t),g=f.useCallback(($,A)=>{$.stopPropagation(),u(A?.id),n?.(A)},[n]),m=f.useMemo(()=>xs(e,t,r),[e,t,r]),p=f.useRef(null),{ref:x,width:h,height:R}=gs();return o.jsx("div",{ref:$=>{x($),p.current=$},className:v("overflow-hidden",i),tabIndex:0,onKeyDown:$=>{const A=vs(p.current,$,d);A&&g($,xe(e,A))},children:o.jsx(bt,{style:{width:h,height:R},onClick:$=>g($,void 0),children:o.jsx("div",{className:"relative z-0 px-2 py-1",children:o.jsx($s,{ref:c,data:e,selectedItemId:d,handleSelectChange:g,expandedItemIds:m,IconForFolder:s,IconForItem:a,...l})})})})});const $s=f.forwardRef(({className:e,data:t,selectedItemId:n,handleSelectChange:r,expandedItemIds:s,IconForFolder:a,IconForItem:i,...l},c)=>o.jsx("div",{ref:c,role:"tree",className:e,...l,children:o.jsx("ul",{children:t instanceof Array?t.map(d=>o.jsx("li",{children:d.children?o.jsx(pn,{type:"multiple",defaultValue:s,children:o.jsxs(fn,{value:d.id,"data-tree-id":d.id,"data-tree-folder":ps,children:[o.jsx(Rs,{item:d,isSelected:n===d.id,Icon:a,onClick:u=>r(u,d)}),o.jsx(_s,{className:"pl-6",children:o.jsx($s,{data:d.children,selectedItemId:n,handleSelectChange:r,expandedItemIds:s,IconForFolder:a,IconForItem:i})})]})}):o.jsx(qt,{item:d,isSelected:n===d.id,onClick:u=>r(u,d),Icon:i})},d.id)):o.jsx("li",{children:o.jsx(qt,{item:t,isSelected:n===t.id,onClick:d=>r(d,t),Icon:i})})})})),qt=f.forwardRef(({className:e,item:t,isSelected:n,Icon:r,...s},a)=>o.jsx("div",{ref:a,className:v(js,e,n&&Ss),"data-tree-id":t.id,...s,children:o.jsx(As,{item:t,Icon:r,classes:Cs})}));qt.displayName="Tree.Leaf";const Rs=f.forwardRef(({className:e,item:t,isSelected:n,Icon:r,...s},a)=>o.jsx(Ns,{className:v(bs,n&&ws),"data-tree-folder-trigger":ms,ref:a,...s,children:o.jsx(As,{item:t,Icon:r,classes:ys})}));Rs.displayName="Tree.Folder";const Ns=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(gn,{children:o.jsx(mt,{ref:r,asChild:!0,className:v("flex-1 py-1 w-full transition-all last:[&[data-state=open]>svg]:rotate-90 outline-none cursor-pointer flex items-center",e),...n,children:o.jsxs("div",{children:[t,o.jsx(ns,{className:"shrink-0 ml-auto h-4 w-4 text-accent-foreground/50 transition-transform duration-200"})]})})}));Ns.displayName="Tree.Folder.Trigger";const _s=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(ht,{ref:r,className:v("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down transition-all overflow-hidden",e),...n,children:o.jsx("div",{children:t})}));_s.displayName="Tree.Folder.Content";function As({item:e,Icon:t,classes:n}){return o.jsxs(o.Fragment,{children:[e.icon&&o.jsx(e.icon,{className:n,"aria-hidden":"true"}),!e.icon&&t&&o.jsx(t,{className:n,"aria-hidden":"true"}),o.jsx("span",{className:"flex-grow text-sm truncate",children:e.name})]})}const Ec=Symbol(),Sn=Symbol(),Fe="a",rt="w";let kc=(e,t)=>new Proxy(e,t);const Wt=Object.getPrototypeOf,Kt=new WeakMap,Ms=e=>e&&(Kt.has(e)?Kt.get(e):Wt(e)===Object.prototype||Wt(e)===Array.prototype),zn=e=>typeof e=="object"&&e!==null,Pc=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(n=>{n.configurable=!0}),Object.create(Wt(e),t)},Es=e=>e[Sn]||e,ks=(e,t,n,r)=>{if(!Ms(e))return e;let s=r&&r.get(e);if(!s){const c=Es(e);s=(d=>Object.values(Object.getOwnPropertyDescriptors(d)).some(u=>!u.configurable&&!u.writable))(c)?[c,Pc(c)]:[c],r?.set(e,s)}const[a,i]=s;let l=n&&n.get(a);return l&&l[1].f===!!i||(l=((c,d)=>{const u={f:d};let g=!1;const m=(x,h)=>{if(!g){let R=u[Fe].get(c);if(R||(R={},u[Fe].set(c,R)),x===rt)R[rt]=!0;else{let $=R[x];$||($=new Set,R[x]=$),$.add(h)}}},p={get:(x,h)=>h===Sn?c:(m("k",h),ks(Reflect.get(x,h),u[Fe],u.c,u.t)),has:(x,h)=>h===Ec?(g=!0,u[Fe].delete(c),!0):(m("h",h),Reflect.has(x,h)),getOwnPropertyDescriptor:(x,h)=>(m("o",h),Reflect.getOwnPropertyDescriptor(x,h)),ownKeys:x=>(m(rt),Reflect.ownKeys(x))};return d&&(p.set=p.deleteProperty=()=>!1),[p,u]})(a,!!i),l[1].p=kc(i||a,l[0]),n&&n.set(a,l)),l[1][Fe]=t,l[1].c=n,l[1].t=r,l[1].p},Ps=(e,t,n,r)=>{if(Object.is(e,t))return!1;if(!zn(e)||!zn(t))return!0;const s=n.get(Es(e));if(!s)return!0;if(r){const i=r.get(e);if(i&&i.n===t)return i.g;r.set(e,{n:t,g:!1})}let a=null;try{for(const i of s.h||[])if(a=Reflect.has(e,i)!==Reflect.has(t,i),a)return a;if(s[rt]===!0){if(a=((i,l)=>{const c=Reflect.ownKeys(i),d=Reflect.ownKeys(l);return c.length!==d.length||c.some((u,g)=>u!==d[g])})(e,t),a)return a}else for(const i of s.o||[])if(a=!!Reflect.getOwnPropertyDescriptor(e,i)!=!!Reflect.getOwnPropertyDescriptor(t,i),a)return a;for(const i of s.k||[])if(a=Ps(e[i],t[i],n,r),a)return a;return a===null&&(a=!0),a}finally{r&&r.set(e,{n:t,g:a})}},Fc=e=>Ms(e)&&e[Sn]||null,Tn=(e,t=!0)=>{Kt.set(e,t)};const _t=e=>typeof e=="object"&&e!==null,ue=new WeakMap,Je=new WeakSet,Dc=(e=Object.is,t=(d,u)=>new Proxy(d,u),n=d=>_t(d)&&!Je.has(d)&&(Array.isArray(d)||!(Symbol.iterator in d))&&!(d instanceof WeakMap)&&!(d instanceof WeakSet)&&!(d instanceof Error)&&!(d instanceof Number)&&!(d instanceof Date)&&!(d instanceof String)&&!(d instanceof RegExp)&&!(d instanceof ArrayBuffer),r=d=>{switch(d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:throw d}},s=new WeakMap,a=(d,u,g=r)=>{const m=s.get(d);if(m?.[0]===u)return m[1];const p=Array.isArray(d)?[]:Object.create(Object.getPrototypeOf(d));return Tn(p,!0),s.set(d,[u,p]),Reflect.ownKeys(d).forEach(x=>{if(Object.getOwnPropertyDescriptor(p,x))return;const h=Reflect.get(d,x),R={value:h,enumerable:!0,configurable:!0};if(Je.has(h))Tn(h,!1);else if(h instanceof Promise)delete R.value,R.get=()=>g(h);else if(ue.has(h)){const[$,A]=ue.get(h);R.value=a($,A(),g)}Object.defineProperty(p,x,R)}),Object.preventExtensions(p)},i=new WeakMap,l=[1,1],c=d=>{if(!_t(d))throw new Error("object required");const u=i.get(d);if(u)return u;let g=l[0];const m=new Set,p=(j,C=++l[0])=>{g!==C&&(g=C,m.forEach(b=>b(j,C)))};let x=l[1];const h=(j=++l[1])=>(x!==j&&!m.size&&(x=j,$.forEach(([C])=>{const b=C[1](j);b>g&&(g=b)})),g),R=j=>(C,b)=>{const S=[...C];S[1]=[j,...S[1]],p(S,b)},$=new Map,A=(j,C)=>{if(m.size){const b=C[3](R(j));$.set(j,[C,b])}else $.set(j,[C])},E=j=>{var C;const b=$.get(j);b&&($.delete(j),(C=b[1])==null||C.call(b))},D=j=>(m.add(j),m.size===1&&$.forEach(([b,S],_)=>{const N=b[3](R(_));$.set(_,[b,N])}),()=>{m.delete(j),m.size===0&&$.forEach(([b,S],_)=>{S&&(S(),$.set(_,[b]))})}),G=Array.isArray(d)?[]:Object.create(Object.getPrototypeOf(d)),W=t(G,{deleteProperty(j,C){const b=Reflect.get(j,C);E(C);const S=Reflect.deleteProperty(j,C);return S&&p(["delete",[C],b]),S},set(j,C,b,S){const _=Reflect.has(j,C),N=Reflect.get(j,C,S);if(_&&(e(N,b)||i.has(b)&&e(N,i.get(b))))return!0;E(C),_t(b)&&(b=Fc(b)||b);let P=b;if(b instanceof Promise)b.then(V=>{b.status="fulfilled",b.value=V,p(["resolve",[C],V])}).catch(V=>{b.status="rejected",b.reason=V,p(["reject",[C],V])});else{!ue.has(b)&&n(b)&&(P=c(b));const V=!Je.has(P)&&ue.get(P);V&&A(C,V)}return Reflect.set(j,C,P,S),p(["set",[C],b,N]),!0}});i.set(d,W);const w=[G,h,a,D];return ue.set(W,w),Reflect.ownKeys(d).forEach(j=>{const C=Object.getOwnPropertyDescriptor(d,j);"value"in C&&(W[j]=d[j],delete C.value,delete C.writable),Object.defineProperty(G,j,C)}),W})=>[c,ue,Je,e,t,n,r,s,a,i,l],[Ic]=Dc();function qe(e={}){return Ic(e)}function yt(e,t,n){const r=ue.get(e);let s;const a=[],i=r[3];let l=!1;const d=i(u=>{if(a.push(u),n){t(a.splice(0));return}s||(s=Promise.resolve().then(()=>{s=void 0,l&&t(a.splice(0))}))});return l=!0,()=>{l=!1,d()}}function Gn(e,t){const n=ue.get(e),[r,s,a]=n;return a(r,s(),t)}var Fs={exports:{}},Ds={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -14,7 +14,7 @@ import{r as f,a as ia,$ as ur,b as la,c as fr,C as sn,d as gr,e as pr,f as an,g * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Re=f;function Vc(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Oc=typeof Object.is=="function"?Object.is:Vc,Lc=Re.useState,zc=Re.useEffect,Tc=Re.useLayoutEffect,Gc=Re.useDebugValue;function Hc(e,t){var n=t(),r=Lc({inst:{value:n,getSnapshot:t}}),s=r[0].inst,a=r[1];return Tc(function(){s.value=n,s.getSnapshot=t,_t(s)&&a({inst:s})},[e,n,t]),zc(function(){return _t(s)&&a({inst:s}),e(function(){_t(s)&&a({inst:s})})},[e]),Gc(n),n}function _t(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Oc(e,n)}catch{return!0}}function Bc(e,t){return t()}var Uc=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Bc:Hc;Ds.useSyncExternalStore=Re.useSyncExternalStore!==void 0?Re.useSyncExternalStore:Uc;Fs.exports=Ds;var qc=Fs.exports;const Wc=Jr(qc),{use:Hn}=ve,{useSyncExternalStore:Kc}=Wc;const Jc=new WeakMap;function yt(e,t){const n=t?.sync,r=f.useRef(),s=f.useRef();let a=!0;const i=Kc(f.useCallback(d=>{const u=wt(e,d,n);return d(),u},[e,n]),()=>{const d=Gn(e,Hn);try{if(!a&&r.current&&s.current&&!Ps(r.current,d,s.current,new WeakMap))return r.current}catch{}return d},()=>Gn(e,Hn));a=!1;const l=new WeakMap;f.useEffect(()=>{r.current=i,s.current=l});const c=f.useMemo(()=>new WeakMap,[]);return ks(i,l,c,Jc)}const Xc={splitterPos:30},Zc={theme:"light",treeState:Xc},Is="shadcn-tv-app-settings",te=Ue(Yc());function Yc(){const e=localStorage.getItem(Is);if(e)try{return JSON.parse(e)}catch{}return Zc}Po(te.theme);wt(te,()=>{Po(te.theme)});wt(te,()=>{localStorage.setItem(Is,JSON.stringify(te))});function Qc({className:e,title:t,...n}){return o.jsxs("svg",{className:J("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...n,children:[t&&o.jsx("title",{children:t}),o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"})]})}function eu({className:e,title:t,...n}){return o.jsxs("svg",{className:J("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...n,children:[t&&o.jsx("title",{children:t}),o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})]})}function tu({className:e,title:t,...n}){return o.jsxs("svg",{className:J("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[t&&o.jsx("title",{children:t}),o.jsx("path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4"}),o.jsx("path",{d:"M12 2v2"}),o.jsx("path",{d:"M12 20v2"}),o.jsx("path",{d:"m4.9 4.9 1.4 1.4"}),o.jsx("path",{d:"m17.7 17.7 1.4 1.4"}),o.jsx("path",{d:"M2 12h2"}),o.jsx("path",{d:"M20 12h2"}),o.jsx("path",{d:"m6.3 17.7-1.4 1.4"}),o.jsx("path",{d:"m19.1 4.9-1.4 1.4"})]})}function nu({title:e,...t}){return o.jsxs("svg",{viewBox:"0 0 21 21",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...t,children:[e&&o.jsx("title",{children:e}),o.jsx("path",{d:"M4.5 6.5h12"}),o.jsx("path",{d:"M4.498 10.5h11.997"}),o.jsx("path",{d:"M4.5 14.5h11.995"})]})}function ru({title:e,...t}){return o.jsxs("svg",{viewBox:"0 0 422 422",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...t,children:[e&&o.jsx("title",{children:e}),o.jsx("path",{d:"M364.35 116.86h-32.97v-27a8 8 0 0 0-8-8h-22V8a8 8 0 0 0-8-8h-215a8 8 0 0 0-8 8v73.86h-22a8 8 0 0 0-8 8v27h-13.3a8 8 0 0 0 0 16h13.3v27a8 8 0 0 0 8 8h22V293a8 8 0 0 0 8 8h44.5v13a8 8 0 0 0 8 8h17v92a8 8 0 0 0 8 8h60a8 8 0 0 0 8-8v-92h17a8 8 0 0 0 8-8v-13h44.5a8 8 0 0 0 8-8v-64.05l69.28-11.48a38.45 38.45 0 0 0 32.26-38.06v-23.98a38.62 38.62 0 0 0-38.57-38.57zM86.38 16h199v65.86h-199V16zm121.5 390h-44v-84h44v84zm25-100h-94v-24h94v24zm52.5-21h-36.5v-11a8 8 0 0 0-8-8h-47v-.08a22.5 22.5 0 0 1 18.88-22.27l72.62-12.04V285zm0-69.61-75.23 12.48a38.45 38.45 0 0 0-32.27 38.05v.08h-47a8 8 0 0 0-8 8v11h-36.5V167.86h27.7v69.64a8 8 0 0 0 16 0v-69.64h39V201a8 8 0 0 0 16 0v-33.14h100.3v47.53zm-229-63.53v-54h259v54h-259zm330.54 27.55a22.5 22.5 0 0 1-18.88 22.27l-66.66 11.06v-44.88h22a8 8 0 0 0 8-8v-27h32.97a22.6 22.6 0 0 1 22.57 22.57v23.98z"})]})}function At({label:e,theme:t,current:n}){return o.jsxs(Ve,{className:"grid grid-cols-[16px,1fr] items-center gap-x-2",onClick:()=>te.theme=t,children:[n===t&&o.jsx(md,{className:"w-4 h-4"}),o.jsx("div",{className:"col-start-2",children:e})]})}function ou(){const{theme:e}=yt(te),t=e==="dark",n=e==="system",r=!t&&!n;return o.jsxs("div",{className:"focus-within:ring-1 focus-within:ring-ring rounded-md flex items-center",children:[o.jsxs(Y,{variant:"ghost",size:"sm",tabIndex:-1,className:"py-0 border-y border-l border-input rounded-r-none",onClick:()=>te.theme=te.theme==="dark"?"light":"dark",children:[n&&o.jsx(tu,{className:"w-4 h-4"}),r&&o.jsx(Qc,{className:"w-4 h-4"}),t&&o.jsx(eu,{className:"w-4 h-4 p-0.5"})]}),o.jsxs(xn,{children:[o.jsx(vn,{asChild:!0,children:o.jsx(Y,{variant:"ghost",size:"sm",className:"px-1 py-0 border border-input rounded-l-none focus-visible:ring-0",onClick:()=>te.theme="system",children:o.jsx(hd,{className:"w-3 h-3"})})}),o.jsxs(xt,{align:"end",children:[o.jsx(At,{label:"Light",theme:"light",current:e}),o.jsx(At,{label:"Dark",theme:"dark",current:e}),o.jsx(At,{label:"System",theme:"system",current:e})]})]})]})}const su={theme:"system",setTheme:()=>null};f.createContext(su);function au(){return o.jsxs("div",{className:"px-2 py-3 flex items-center justify-between bg-primary-foreground",children:[o.jsxs("div",{className:"flex items-center gap-x-1",children:[o.jsx("div",{className:"ml-2 pt-1.5",children:o.jsx(ru,{className:"w-7 h-7 stroke-none fill-slate-600 -rotate-90"})}),o.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-blue-600",children:"shradcn"}),o.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-slate-600",children:"components template"})]}),o.jsx("div",{className:"flex items-center justify-end gap-x-1",children:o.jsx(ou,{})})]})}const iu=`p-1 bg-background border rounded-md shadow-md ${Te}`,lu=" px-2 py-2 text-xs focus:bg-accent focus:text-accent-foreground outline-none rounded-md select-none cursor-default flex items-center ",du=({trigger:e,onCommand:t,items:n,containerClasses:r,menuContentProps:s})=>o.jsx("div",{className:"relative inline-block text-left",children:o.jsxs(wr,{children:[o.jsx(yr,{asChild:!0,children:e}),o.jsx(pr,{children:o.jsx(an,{align:"end",...s,className:J(iu,r),children:n.map(({id:a,label:i,icon:l,shortcut:c},d)=>o.jsxs(ln,{className:lu,onClick:()=>t(a),children:[l,o.jsx("span",{className:"flex-grow",children:i}),c&&o.jsx("span",{className:"text-xs",children:c})]},a))})})]})}),cu=[{id:"new-file",label:"New File"},{id:"open-settings",label:"Settings"}],uu="w-20";function fu(){function e(t){switch(t){case"new-file":console.log(t);break;case"open-settings":console.log(t);break}}return o.jsxs("div",{className:"py-1 select-none flex items-center justify-between",children:[o.jsx("div",{className:"self-end",children:"Demo app"}),o.jsx("div",{className:"",children:o.jsx(du,{trigger:o.jsx(Y,{variant:"outline",size:"sm",className:"px-2",children:o.jsx(nu,{className:"w-4 h-4"})}),items:cu,containerClasses:uu,menuContentProps:{sideOffset:1},onCommand:e})})]})}function gu(){const[e,t]=f.useState(!1);return o.jsxs(o.Fragment,{children:[o.jsx(Y,{variant:"outline",onClick:()=>t(!0),children:"Demo dialog"}),o.jsx(Nl,{open:e,onOpenChange:()=>t(!1),children:o.jsxs(Bo,{className:"sm:max-w-[425px]",children:[o.jsxs(Uo,{children:[o.jsx(Wo,{children:"Demo dialog"}),o.jsx(Ko,{children:"Make changes to your profile here. Click save when you're done."})]}),o.jsxs("div",{className:"grid gap-4 py-4",children:[o.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[o.jsx(Tt,{htmlFor:"name",className:"text-right",children:"Name"}),o.jsx(Le,{id:"name",className:"col-span-3",value:"Pedro Duarte",onChange:n=>{}})]}),o.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[o.jsx(Tt,{htmlFor:"username",className:"text-right",children:"Username"}),o.jsx(Le,{id:"username",className:"col-span-3",value:"@peduarte",onChange:n=>{}})]})]}),o.jsx(qo,{children:o.jsx(Y,{type:"submit",onClick:()=>t(!1),children:"Save changes"})})]})})]})}function Cn({maskId:e="p1loader"}={}){return o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:`${e}-grad`,x1:0,y1:0,x2:1,y2:1,children:[o.jsx("stop",{offset:"0%"}),o.jsx("stop",{offset:"100%",stopColor:"#fff"})]}),o.jsx("mask",{id:`${e}`,children:o.jsx("rect",{x:"0",y:"0",width:"128",height:"128",fill:`url(#${e}-grad)`})})]})}const pu="[--hue1:223] [--hue2:343] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Bn="p1loader";function mu({className:e,...t}){return o.jsxs("svg",{className:J(pu,e),viewBox:"0 0 128 128",...t,children:[o.jsx(Cn,{maskId:Bn}),o.jsxs("g",{className:"pl1__g",fill:"var(--primary)",children:[o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]}),o.jsxs("g",{className:"pl1__g",fill:"var(--secondary)",mask:`url(#${Bn})`,children:[o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]})]})}const hu="[--hue1:223] [--hue2:283] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Un="p2loader";function xu({className:e,...t}){return o.jsxs("svg",{className:J(hu,e),viewBox:"0 0 128 128",...t,children:[o.jsx(Cn,{maskId:Un}),o.jsxs("g",{fill:"var(--primary)",children:[o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]}),o.jsxs("g",{fill:"var(--secondary)",mask:`url(#${Un})`,children:[o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]})]})}const vu="[--hue1:223] [--hue2:163] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",qn="p3loader";function bu({className:e,...t}){return o.jsxs("svg",{className:J(vu,e),viewBox:"0 0 128 128",...t,children:[o.jsx(Cn,{maskId:qn}),o.jsxs("g",{fill:"var(--primary)",children:[o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),o.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]}),o.jsxs("g",{fill:"var(--secondary)",mask:`url(#${qn})`,children:[o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),o.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]})]})}const wu="_content_d2oym_51",yu="_dots_d2oym_5",ju="_spin_d2oym_1",Su="_control_d2oym_87",Cu="_bg_d2oym_113",$u="_ring_d2oym_185",Ru="_dot_d2oym_5",Nu="_ball_d2oym_1",B={"dots-ring":"_dots-ring_d2oym_5",content:wu,dots:yu,spin:ju,control:Su,bg:Cu,ring:$u,dot:Ru,"over-ring":"_over-ring_d2oym_1",ball:Nu};function _u(){return o.jsxs("div",{className:`qw-64 qh-64 ${B["dots-ring"]}`,children:[o.jsx("input",{className:B.control,type:"checkbox"}),o.jsx("div",{className:B.bg}),o.jsx("div",{className:B.content,children:o.jsxs("div",{className:B.dots,children:[o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsx("div",{className:B.ring})]})})]})}const Au="_a_17o17_51",Mu="_b_17o17_79",Wn={a:Au,"rotate-clock-wise":"_rotate-clock-wise_17o17_1",b:Mu,"rotate-anti-clock-wise":"_rotate-anti-clock-wise_17o17_1"};function Eu(){return o.jsx("div",{className:"p-4 text-green-950 flex items-center justify-center",children:o.jsxs("div",{className:"relative w-32 h-32 border-current border-[14px] rounded-full",children:[o.jsx("div",{className:`${Wn.a} m-1 absolute inset-0 border-current border-[8px] border-y-transparent rounded-full`}),o.jsx("div",{className:`${Wn.b} m-4 absolute inset-0 border-current border-[20px] border-x-transparent rounded-full`})]})})}function ku({className:e,...t}){return o.jsxs("div",{className:J("flex items-center gap-2",e),...t,children:[o.jsx(mu,{className:"w-6 h-6 [--hue1:53] [--hue2:253]"}),o.jsx(xu,{className:"w-6 h-6 [--hue2:253]"}),o.jsx(bu,{className:"w-6 h-6 [--hue2:153]"})]})}function Pu(){return o.jsxs("svg",{className:"switch__base-neon",viewBox:"0 0 40 24",width:"40px",height:"24px",children:[o.jsxs("defs",{children:[o.jsxs("filter",{id:"switch-glow",children:[o.jsx("feGaussianBlur",{result:"coloredBlur",stdDeviation:1}),o.jsxs("feMerge",{children:[o.jsx("feMergeNode",{in:"coloredBlur"}),o.jsx("feMergeNode",{in:"SourceGraphic"})]})]}),o.jsxs("linearGradient",{id:"switch-gradient1",x1:0,y1:0,x2:1,y2:0,children:[o.jsx("stop",{offset:"0%",stopColor:"hsl(var(--on-hue1),90%,70%)"}),o.jsx("stop",{offset:"100%",stopColor:"hsl(var(--on-hue2),90%,70%)"})]}),o.jsxs("linearGradient",{id:"switch-gradient2",x1:"0.7",y1:0,x2:"0.3",y2:1,children:[o.jsx("stop",{offset:"25%",stopColor:"hsla(var(--on-hue1),90%,70%,0)"}),o.jsx("stop",{offset:"50%",stopColor:"hsla(var(--on-hue1),90%,70%,0.3)"}),o.jsx("stop",{offset:"100%",stopColor:"hsla(var(--on-hue2),90%,70%,0.3)"})]})]}),o.jsx("path",{fill:"none",filter:"url(#switch-glow)",stroke:"url(#switch-gradient1)",strokeWidth:1,strokeDasharray:"0 104.26 0",strokeDashoffset:"0.01",strokeLinecap:"round",d:"m.5,12C.5,5.649,5.649.5,12,.5h16c6.351,0,11.5,5.149,11.5,11.5s-5.149,11.5-11.5,11.5H12C5.649,23.5.5,18.351.5,12Z"})]})}function Fu(){return o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"switch__knob-shadow"}),o.jsx("span",{className:"switch__knob-container",children:o.jsx("span",{className:"switch__knob",children:o.jsx("svg",{className:"switch__knob-neon",viewBox:"0 0 48 48",width:"48px",height:"48px",children:o.jsx("circle",{fill:"none",stroke:"url(#switch-gradient2)",strokeDasharray:"0 90.32 0 54.19",strokeLinecap:"round",strokeWidth:1,r:23,cx:24,cy:24,transform:"rotate(-112.5,24,24)"})})})})]})}const Du="[--hue:223] [--off-hue:3] [--on-hue1:123] [--on-hue2:168] [--primary:hsl(var(--hue),90%,50%)] [--trans-dur:0.2s] [--trans-timing:cubic-bezier(0.65,0,0.35,1)] ";function Iu(e){return o.jsxs("label",{className:J(Du,"switch"),children:[o.jsx("input",{className:"switch__input",type:"checkbox",role:"switch",...e}),o.jsx("span",{className:"switch__base-outer"}),o.jsx("span",{className:"switch__base-inner"}),o.jsx(Pu,{}),o.jsx(Fu,{}),o.jsx("span",{className:"switch__led"}),o.jsx("span",{className:"switch__text",children:"Power"})]})}function Kn({className:e,...t}){return o.jsxs("div",{className:J("toggle-wrapper",e),children:[o.jsx("input",{className:"toggle-checkbox",type:"checkbox",...t}),o.jsx("svg",{className:"toggle-icon off",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8Z"})}),o.jsx("div",{className:"toggle-container",children:o.jsx("div",{className:"toggle-button"})}),o.jsx("svg",{className:"toggle-icon on",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 1 1 16 0zM2 8a6 6 0 1 0 12 0A6 6 0 1 0 2 8zm10 0a4 4 0 1 1-8 0 4 4 0 1 1 8 0z"})})]})}function Vu(){return o.jsxs("div",{className:"flex flex-col space-y-2 text-3xl",children:[o.jsx(Kn,{}),o.jsx(Kn,{defaultChecked:!0})]})}const Ou="_container_1xrdi_1",Ne={container:Ou,"sticky-header-row":"_sticky-header-row_1xrdi_47","sticky-first-column":"_sticky-first-column_1xrdi_73","sticky-header-and-first-column":"_sticky-header-and-first-column_1xrdi_99"};function Lu(){return o.jsx(o.Fragment,{children:o.jsxs("section",{className:`${Ne["sticky-header-row"]}`,children:[o.jsx("h2",{children:"Sticky Header"}),o.jsx("div",{className:`${Ne.container}`,children:o.jsxs("table",{children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{scope:"col",children:"ID"}),o.jsx("th",{scope:"col",children:"Name"}),o.jsx("th",{scope:"col",children:"Email"}),o.jsx("th",{scope:"col",children:"Role"}),o.jsx("th",{scope:"col",children:"Country"})]})}),o.jsxs("tbody",{children:[o.jsxs("tr",{children:[o.jsx("td",{children:"1"}),o.jsx("td",{children:"John Doe"}),o.jsx("td",{children:"john@example.com"}),o.jsx("td",{children:"Developer"}),o.jsx("td",{children:"USA"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"2"}),o.jsx("td",{children:"Jane Smith"}),o.jsx("td",{children:"jane@example.com"}),o.jsx("td",{children:"Manager"}),o.jsx("td",{children:"Canada"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"3"}),o.jsx("td",{children:"Bob Johnson"}),o.jsx("td",{children:"bob@example.com"}),o.jsx("td",{children:"Designer"}),o.jsx("td",{children:"UK"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"4"}),o.jsx("td",{children:"Alice Brown"}),o.jsx("td",{children:"alice@example.com"}),o.jsx("td",{children:"Analyst"}),o.jsx("td",{children:"Australia"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"5"}),o.jsx("td",{children:"Mike Wilson"}),o.jsx("td",{children:"mike@example.com"}),o.jsx("td",{children:"Engineer"}),o.jsx("td",{children:"Germany"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"6"}),o.jsx("td",{children:"Sara Davis"}),o.jsx("td",{children:"sara@example.com"}),o.jsx("td",{children:"Consultant"}),o.jsx("td",{children:"France"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"7"}),o.jsx("td",{children:"David Lee"}),o.jsx("td",{children:"david@example.com"}),o.jsx("td",{children:"Coordinator"}),o.jsx("td",{children:"Japan"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"8"}),o.jsx("td",{children:"Linda Chen"}),o.jsx("td",{children:"linda@example.com"}),o.jsx("td",{children:"Tester"}),o.jsx("td",{children:"China"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"9"}),o.jsx("td",{children:"Ryan Miller"}),o.jsx("td",{children:"ryan@example.com"}),o.jsx("td",{children:"Architect"}),o.jsx("td",{children:"Brazil"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"10"}),o.jsx("td",{children:"Emily White"}),o.jsx("td",{children:"emily@example.com"}),o.jsx("td",{children:"Administrator"}),o.jsx("td",{children:"India"})]})]})]})})]})})}function zu(){return o.jsx(o.Fragment,{children:o.jsxs("section",{className:`${Ne["sticky-first-column"]}`,children:[o.jsx("h2",{children:"Sticky First Column"}),o.jsx("div",{className:`${Ne.container}`,children:o.jsxs("table",{children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{scope:"col",children:"ID"}),o.jsx("th",{scope:"col",children:"Name"}),o.jsx("th",{scope:"col",children:"Email"}),o.jsx("th",{scope:"col",children:"Role"}),o.jsx("th",{scope:"col",children:"Country"})]})}),o.jsxs("tbody",{children:[o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"1"}),o.jsx("td",{children:"John Doe"}),o.jsx("td",{children:"john@example.com"}),o.jsx("td",{children:"Developer"}),o.jsx("td",{children:"USA"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"2"}),o.jsx("td",{children:"Jane Smith"}),o.jsx("td",{children:"jane@example.com"}),o.jsx("td",{children:"Manager"}),o.jsx("td",{children:"Canada"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"3"}),o.jsx("td",{children:"Bob Johnson"}),o.jsx("td",{children:"bob@example.com"}),o.jsx("td",{children:"Designer"}),o.jsx("td",{children:"UK"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"4"}),o.jsx("td",{children:"Alice Brown"}),o.jsx("td",{children:"alice@example.com"}),o.jsx("td",{children:"Analyst"}),o.jsx("td",{children:"Australia"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"5"}),o.jsx("td",{children:"Mike Wilson"}),o.jsx("td",{children:"mike@example.com"}),o.jsx("td",{children:"Engineer"}),o.jsx("td",{children:"Germany"})]})]})]})})]})})}function Tu(){return o.jsx(o.Fragment,{children:o.jsxs("section",{className:`${Ne["sticky-header-and-first-column"]}`,children:[o.jsx("h2",{children:"Sticky Header and First Column"}),o.jsx("div",{className:`${Ne.container}`,children:o.jsxs("table",{children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{scope:"col",children:"ID"}),o.jsx("th",{scope:"col",children:"Name"}),o.jsx("th",{scope:"col",children:"Email"}),o.jsx("th",{scope:"col",children:"Role"}),o.jsx("th",{scope:"col",children:"Country"})]})}),o.jsxs("tbody",{children:[o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"1"}),o.jsx("td",{children:"John Doe"}),o.jsx("td",{children:"john@example.com"}),o.jsx("td",{children:"Developer"}),o.jsx("td",{children:"USA"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"2"}),o.jsx("td",{children:"Jane Smith"}),o.jsx("td",{children:"jane@example.com"}),o.jsx("td",{children:"Manager"}),o.jsx("td",{children:"Canada"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"3"}),o.jsx("td",{children:"Bob Johnson"}),o.jsx("td",{children:"bob@example.com"}),o.jsx("td",{children:"Designer"}),o.jsx("td",{children:"UK"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"4"}),o.jsx("td",{children:"Alice Brown"}),o.jsx("td",{children:"alice@example.com"}),o.jsx("td",{children:"Analyst"}),o.jsx("td",{children:"Australia"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"5"}),o.jsx("td",{children:"Mike Wilson"}),o.jsx("td",{children:"mike@example.com"}),o.jsx("td",{children:"Engineer"}),o.jsx("td",{children:"Germany"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"6"}),o.jsx("td",{children:"Sara Davis"}),o.jsx("td",{children:"sara@example.com"}),o.jsx("td",{children:"Consultant"}),o.jsx("td",{children:"France"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"7"}),o.jsx("td",{children:"David Lee"}),o.jsx("td",{children:"david@example.com"}),o.jsx("td",{children:"Coordinator"}),o.jsx("td",{children:"Japan"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"8"}),o.jsx("td",{children:"Linda Chen"}),o.jsx("td",{children:"linda@example.com"}),o.jsx("td",{children:"Tester"}),o.jsx("td",{children:"China"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"9"}),o.jsx("td",{children:"Ryan Miller"}),o.jsx("td",{children:"ryan@example.com"}),o.jsx("td",{children:"Architect"}),o.jsx("td",{children:"Brazil"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"10"}),o.jsx("td",{children:"Emily White"}),o.jsx("td",{children:"emily@example.com"}),o.jsx("td",{children:"Administrator"}),o.jsx("td",{children:"India"})]})]})]})})]})})}function Gu(){return o.jsxs("div",{className:"text-xs flex flex-col space-y-4",children:[o.jsx(Lu,{}),o.jsx(zu,{}),o.jsx(Tu,{})]})}/** + */var Re=f;function Vc(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Oc=typeof Object.is=="function"?Object.is:Vc,Lc=Re.useState,zc=Re.useEffect,Tc=Re.useLayoutEffect,Gc=Re.useDebugValue;function Hc(e,t){var n=t(),r=Lc({inst:{value:n,getSnapshot:t}}),s=r[0].inst,a=r[1];return Tc(function(){s.value=n,s.getSnapshot=t,At(s)&&a({inst:s})},[e,n,t]),zc(function(){return At(s)&&a({inst:s}),e(function(){At(s)&&a({inst:s})})},[e]),Gc(n),n}function At(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Oc(e,n)}catch{return!0}}function Bc(e,t){return t()}var Uc=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Bc:Hc;Ds.useSyncExternalStore=Re.useSyncExternalStore!==void 0?Re.useSyncExternalStore:Uc;Fs.exports=Ds;var qc=Fs.exports;const Wc=Jr(qc),{use:Hn}=ve,{useSyncExternalStore:Kc}=Wc;const Jc=new WeakMap;function jt(e,t){const n=t?.sync,r=f.useRef(),s=f.useRef();let a=!0;const i=Kc(f.useCallback(d=>{const u=yt(e,d,n);return d(),u},[e,n]),()=>{const d=Gn(e,Hn);try{if(!a&&r.current&&s.current&&!Ps(r.current,d,s.current,new WeakMap))return r.current}catch{}return d},()=>Gn(e,Hn));a=!1;const l=new WeakMap;f.useEffect(()=>{r.current=i,s.current=l});const c=f.useMemo(()=>new WeakMap,[]);return ks(i,l,c,Jc)}const Xc={splitterPos:30},Zc={theme:"light",treeState:Xc},Is="shadcn-tv-app-settings",te=qe(Yc());function Yc(){const e=localStorage.getItem(Is);if(e)try{return JSON.parse(e)}catch{}return Zc}Po(te.theme);yt(te,()=>{Po(te.theme)});yt(te,()=>{localStorage.setItem(Is,JSON.stringify(te))});function Qc({className:e,title:t,...n}){return o.jsxs("svg",{className:U("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...n,children:[t&&o.jsx("title",{children:t}),o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"})]})}function eu({className:e,title:t,...n}){return o.jsxs("svg",{className:U("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...n,children:[t&&o.jsx("title",{children:t}),o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})]})}function tu({className:e,title:t,...n}){return o.jsxs("svg",{className:U("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[t&&o.jsx("title",{children:t}),o.jsx("path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4"}),o.jsx("path",{d:"M12 2v2"}),o.jsx("path",{d:"M12 20v2"}),o.jsx("path",{d:"m4.9 4.9 1.4 1.4"}),o.jsx("path",{d:"m17.7 17.7 1.4 1.4"}),o.jsx("path",{d:"M2 12h2"}),o.jsx("path",{d:"M20 12h2"}),o.jsx("path",{d:"m6.3 17.7-1.4 1.4"}),o.jsx("path",{d:"m19.1 4.9-1.4 1.4"})]})}function nu({title:e,...t}){return o.jsxs("svg",{viewBox:"0 0 21 21",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...t,children:[e&&o.jsx("title",{children:e}),o.jsx("path",{d:"M4.5 6.5h12"}),o.jsx("path",{d:"M4.498 10.5h11.997"}),o.jsx("path",{d:"M4.5 14.5h11.995"})]})}function ru({title:e,...t}){return o.jsxs("svg",{viewBox:"0 0 422 422",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...t,children:[e&&o.jsx("title",{children:e}),o.jsx("path",{d:"M364.35 116.86h-32.97v-27a8 8 0 0 0-8-8h-22V8a8 8 0 0 0-8-8h-215a8 8 0 0 0-8 8v73.86h-22a8 8 0 0 0-8 8v27h-13.3a8 8 0 0 0 0 16h13.3v27a8 8 0 0 0 8 8h22V293a8 8 0 0 0 8 8h44.5v13a8 8 0 0 0 8 8h17v92a8 8 0 0 0 8 8h60a8 8 0 0 0 8-8v-92h17a8 8 0 0 0 8-8v-13h44.5a8 8 0 0 0 8-8v-64.05l69.28-11.48a38.45 38.45 0 0 0 32.26-38.06v-23.98a38.62 38.62 0 0 0-38.57-38.57zM86.38 16h199v65.86h-199V16zm121.5 390h-44v-84h44v84zm25-100h-94v-24h94v24zm52.5-21h-36.5v-11a8 8 0 0 0-8-8h-47v-.08a22.5 22.5 0 0 1 18.88-22.27l72.62-12.04V285zm0-69.61-75.23 12.48a38.45 38.45 0 0 0-32.27 38.05v.08h-47a8 8 0 0 0-8 8v11h-36.5V167.86h27.7v69.64a8 8 0 0 0 16 0v-69.64h39V201a8 8 0 0 0 16 0v-33.14h100.3v47.53zm-229-63.53v-54h259v54h-259zm330.54 27.55a22.5 22.5 0 0 1-18.88 22.27l-66.66 11.06v-44.88h22a8 8 0 0 0 8-8v-27h32.97a22.6 22.6 0 0 1 22.57 22.57v23.98z"})]})}function Mt({label:e,theme:t,current:n}){return o.jsxs(Ve,{className:"grid grid-cols-[16px,1fr] items-center gap-x-2",onClick:()=>te.theme=t,children:[n===t&&o.jsx(md,{className:"w-4 h-4"}),o.jsx("div",{className:"col-start-2",children:e})]})}function ou(){const{theme:e}=jt(te),t=e==="dark",n=e==="system",r=!t&&!n;return o.jsxs("div",{className:"focus-within:ring-1 focus-within:ring-ring rounded-md flex items-center",children:[o.jsxs(Y,{variant:"ghost",size:"sm",tabIndex:-1,className:"py-0 border-y border-l border-input rounded-r-none",onClick:()=>te.theme=te.theme==="dark"?"light":"dark",children:[n&&o.jsx(tu,{className:"w-4 h-4"}),r&&o.jsx(Qc,{className:"w-4 h-4"}),t&&o.jsx(eu,{className:"w-4 h-4 p-0.5"})]}),o.jsxs(xn,{children:[o.jsx(vn,{asChild:!0,children:o.jsx(Y,{variant:"ghost",size:"sm",className:"px-1 py-0 border border-input rounded-l-none focus-visible:ring-0",onClick:()=>te.theme="system",children:o.jsx(hd,{className:"w-3 h-3"})})}),o.jsxs(vt,{align:"end",children:[o.jsx(Mt,{label:"Light",theme:"light",current:e}),o.jsx(Mt,{label:"Dark",theme:"dark",current:e}),o.jsx(Mt,{label:"System",theme:"system",current:e})]})]})]})}const su={theme:"system",setTheme:()=>null};f.createContext(su);function au(){return o.jsxs("div",{className:"px-2 py-3 flex items-center justify-between bg-primary-foreground",children:[o.jsxs("div",{className:"flex items-center gap-x-1",children:[o.jsx("div",{className:"ml-2 pt-1.5",children:o.jsx(ru,{className:"w-7 h-7 stroke-none fill-slate-600 -rotate-90"})}),o.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-blue-600",children:"shradcn"}),o.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-slate-600",children:"components template"})]}),o.jsx("div",{className:"flex items-center justify-end gap-x-1",children:o.jsx(ou,{})})]})}const iu=`p-1 bg-background border rounded-md shadow-md ${Ge}`,lu=" px-2 py-2 text-xs focus:bg-accent focus:text-accent-foreground outline-none rounded-md select-none cursor-default flex items-center ",du=({trigger:e,onCommand:t,items:n,containerClasses:r,menuContentProps:s})=>o.jsx("div",{className:"relative inline-block text-left",children:o.jsxs(wr,{children:[o.jsx(yr,{asChild:!0,children:e}),o.jsx(pr,{children:o.jsx(an,{align:"end",...s,className:U(iu,r),children:n.map(({id:a,label:i,icon:l,shortcut:c},d)=>o.jsxs(ln,{className:lu,onClick:()=>t(a),children:[l,o.jsx("span",{className:"flex-grow",children:i}),c&&o.jsx("span",{className:"text-xs",children:c})]},a))})})]})}),cu=[{id:"new-file",label:"New File"},{id:"open-settings",label:"Settings"}],uu="w-20";function fu(){function e(t){switch(t){case"new-file":console.log(t);break;case"open-settings":console.log(t);break}}return o.jsxs("div",{className:"py-1 select-none flex items-center justify-between",children:[o.jsx("div",{className:"self-end",children:"Demo app"}),o.jsx("div",{className:"",children:o.jsx(du,{trigger:o.jsx(Y,{variant:"outline",size:"sm",className:"px-2",children:o.jsx(nu,{className:"w-4 h-4"})}),items:cu,containerClasses:uu,menuContentProps:{sideOffset:1},onCommand:e})})]})}function gu(){const[e,t]=f.useState(!1);return o.jsxs(o.Fragment,{children:[o.jsx(Y,{variant:"outline",onClick:()=>t(!0),children:"Demo dialog"}),o.jsx(Nl,{open:e,onOpenChange:()=>t(!1),children:o.jsxs(Bo,{className:"sm:max-w-[425px]",children:[o.jsxs(Uo,{children:[o.jsx(Wo,{children:"Demo dialog"}),o.jsx(Ko,{children:"Make changes to your profile here. Click save when you're done."})]}),o.jsxs("div",{className:"grid gap-4 py-4",children:[o.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[o.jsx(Gt,{htmlFor:"name",className:"text-right",children:"Name"}),o.jsx(Le,{id:"name",className:"col-span-3",value:"Pedro Duarte",onChange:n=>{}})]}),o.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[o.jsx(Gt,{htmlFor:"username",className:"text-right",children:"Username"}),o.jsx(Le,{id:"username",className:"col-span-3",value:"@peduarte",onChange:n=>{}})]})]}),o.jsx(qo,{children:o.jsx(Y,{type:"submit",onClick:()=>t(!1),children:"Save changes"})})]})})]})}function Cn({maskId:e="p1loader"}={}){return o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:`${e}-grad`,x1:0,y1:0,x2:1,y2:1,children:[o.jsx("stop",{offset:"0%"}),o.jsx("stop",{offset:"100%",stopColor:"#fff"})]}),o.jsx("mask",{id:`${e}`,children:o.jsx("rect",{x:"0",y:"0",width:"128",height:"128",fill:`url(#${e}-grad)`})})]})}const pu="[--hue1:223] [--hue2:343] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Bn="p1loader";function mu({className:e,...t}){return o.jsxs("svg",{className:U(pu,e),viewBox:"0 0 128 128",...t,children:[o.jsx(Cn,{maskId:Bn}),o.jsxs("g",{className:"pl1__g",fill:"var(--primary)",children:[o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]}),o.jsxs("g",{className:"pl1__g",fill:"var(--secondary)",mask:`url(#${Bn})`,children:[o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),o.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),o.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]})]})}const hu="[--hue1:223] [--hue2:283] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Un="p2loader";function xu({className:e,...t}){return o.jsxs("svg",{className:U(hu,e),viewBox:"0 0 128 128",...t,children:[o.jsx(Cn,{maskId:Un}),o.jsxs("g",{fill:"var(--primary)",children:[o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]}),o.jsxs("g",{fill:"var(--secondary)",mask:`url(#${Un})`,children:[o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),o.jsx("g",{className:"pl2__rect-g",children:o.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]})]})}const vu="[--hue1:223] [--hue2:163] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",qn="p3loader";function bu({className:e,...t}){return o.jsxs("svg",{className:U(vu,e),viewBox:"0 0 128 128",...t,children:[o.jsx(Cn,{maskId:qn}),o.jsxs("g",{fill:"var(--primary)",children:[o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),o.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]}),o.jsxs("g",{fill:"var(--secondary)",mask:`url(#${qn})`,children:[o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),o.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:o.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]})]})}const wu="_content_d2oym_51",yu="_dots_d2oym_5",ju="_spin_d2oym_1",Su="_control_d2oym_87",Cu="_bg_d2oym_113",$u="_ring_d2oym_185",Ru="_dot_d2oym_5",Nu="_ball_d2oym_1",B={"dots-ring":"_dots-ring_d2oym_5",content:wu,dots:yu,spin:ju,control:Su,bg:Cu,ring:$u,dot:Ru,"over-ring":"_over-ring_d2oym_1",ball:Nu};function _u(){return o.jsxs("div",{className:`qw-64 qh-64 ${B["dots-ring"]}`,children:[o.jsx("input",{className:B.control,type:"checkbox"}),o.jsx("div",{className:B.bg}),o.jsx("div",{className:B.content,children:o.jsxs("div",{className:B.dots,children:[o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsxs("div",{className:B.dot,children:[" ",o.jsx("span",{})," "]}),o.jsx("div",{className:B.ring})]})})]})}const Au="_a_17o17_51",Mu="_b_17o17_79",Wn={a:Au,"rotate-clock-wise":"_rotate-clock-wise_17o17_1",b:Mu,"rotate-anti-clock-wise":"_rotate-anti-clock-wise_17o17_1"};function Eu(){return o.jsx("div",{className:"p-4 text-green-950 flex items-center justify-center",children:o.jsxs("div",{className:"relative w-32 h-32 border-current border-[14px] rounded-full",children:[o.jsx("div",{className:`${Wn.a} m-1 absolute inset-0 border-current border-[8px] border-y-transparent rounded-full`}),o.jsx("div",{className:`${Wn.b} m-4 absolute inset-0 border-current border-[20px] border-x-transparent rounded-full`})]})})}function ku({className:e,...t}){return o.jsxs("div",{className:U("flex items-center gap-2",e),...t,children:[o.jsx(mu,{className:"w-6 h-6 [--hue1:53] [--hue2:253]"}),o.jsx(xu,{className:"w-6 h-6 [--hue2:253]"}),o.jsx(bu,{className:"w-6 h-6 [--hue2:153]"})]})}function Pu(){return o.jsxs("svg",{className:"switch__base-neon",viewBox:"0 0 40 24",width:"40px",height:"24px",children:[o.jsxs("defs",{children:[o.jsxs("filter",{id:"switch-glow",children:[o.jsx("feGaussianBlur",{result:"coloredBlur",stdDeviation:1}),o.jsxs("feMerge",{children:[o.jsx("feMergeNode",{in:"coloredBlur"}),o.jsx("feMergeNode",{in:"SourceGraphic"})]})]}),o.jsxs("linearGradient",{id:"switch-gradient1",x1:0,y1:0,x2:1,y2:0,children:[o.jsx("stop",{offset:"0%",stopColor:"hsl(var(--on-hue1),90%,70%)"}),o.jsx("stop",{offset:"100%",stopColor:"hsl(var(--on-hue2),90%,70%)"})]}),o.jsxs("linearGradient",{id:"switch-gradient2",x1:"0.7",y1:0,x2:"0.3",y2:1,children:[o.jsx("stop",{offset:"25%",stopColor:"hsla(var(--on-hue1),90%,70%,0)"}),o.jsx("stop",{offset:"50%",stopColor:"hsla(var(--on-hue1),90%,70%,0.3)"}),o.jsx("stop",{offset:"100%",stopColor:"hsla(var(--on-hue2),90%,70%,0.3)"})]})]}),o.jsx("path",{fill:"none",filter:"url(#switch-glow)",stroke:"url(#switch-gradient1)",strokeWidth:1,strokeDasharray:"0 104.26 0",strokeDashoffset:"0.01",strokeLinecap:"round",d:"m.5,12C.5,5.649,5.649.5,12,.5h16c6.351,0,11.5,5.149,11.5,11.5s-5.149,11.5-11.5,11.5H12C5.649,23.5.5,18.351.5,12Z"})]})}function Fu(){return o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"switch__knob-shadow"}),o.jsx("span",{className:"switch__knob-container",children:o.jsx("span",{className:"switch__knob",children:o.jsx("svg",{className:"switch__knob-neon",viewBox:"0 0 48 48",width:"48px",height:"48px",children:o.jsx("circle",{fill:"none",stroke:"url(#switch-gradient2)",strokeDasharray:"0 90.32 0 54.19",strokeLinecap:"round",strokeWidth:1,r:23,cx:24,cy:24,transform:"rotate(-112.5,24,24)"})})})})]})}const Du="[--hue:223] [--off-hue:3] [--on-hue1:123] [--on-hue2:168] [--primary:hsl(var(--hue),90%,50%)] [--trans-dur:0.2s] [--trans-timing:cubic-bezier(0.65,0,0.35,1)] ";function Iu(e){return o.jsxs("label",{className:U(Du,"switch"),children:[o.jsx("input",{className:"switch__input",type:"checkbox",role:"switch",...e}),o.jsx("span",{className:"switch__base-outer"}),o.jsx("span",{className:"switch__base-inner"}),o.jsx(Pu,{}),o.jsx(Fu,{}),o.jsx("span",{className:"switch__led"}),o.jsx("span",{className:"switch__text",children:"Power"})]})}function Kn({className:e,...t}){return o.jsxs("div",{className:U("toggle-wrapper",e),children:[o.jsx("input",{className:"toggle-checkbox",type:"checkbox",...t}),o.jsx("svg",{className:"toggle-icon off",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8Z"})}),o.jsx("div",{className:"toggle-container",children:o.jsx("div",{className:"toggle-button"})}),o.jsx("svg",{className:"toggle-icon on",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 1 1 16 0zM2 8a6 6 0 1 0 12 0A6 6 0 1 0 2 8zm10 0a4 4 0 1 1-8 0 4 4 0 1 1 8 0z"})})]})}function Vu(){return o.jsxs("div",{className:"flex flex-col space-y-2 text-3xl",children:[o.jsx(Kn,{}),o.jsx(Kn,{defaultChecked:!0})]})}const Ou="_container_1xrdi_1",Ne={container:Ou,"sticky-header-row":"_sticky-header-row_1xrdi_47","sticky-first-column":"_sticky-first-column_1xrdi_73","sticky-header-and-first-column":"_sticky-header-and-first-column_1xrdi_99"};function Lu(){return o.jsx(o.Fragment,{children:o.jsxs("section",{className:`${Ne["sticky-header-row"]}`,children:[o.jsx("h2",{children:"Sticky Header"}),o.jsx("div",{className:`${Ne.container}`,children:o.jsxs("table",{children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{scope:"col",children:"ID"}),o.jsx("th",{scope:"col",children:"Name"}),o.jsx("th",{scope:"col",children:"Email"}),o.jsx("th",{scope:"col",children:"Role"}),o.jsx("th",{scope:"col",children:"Country"})]})}),o.jsxs("tbody",{children:[o.jsxs("tr",{children:[o.jsx("td",{children:"1"}),o.jsx("td",{children:"John Doe"}),o.jsx("td",{children:"john@example.com"}),o.jsx("td",{children:"Developer"}),o.jsx("td",{children:"USA"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"2"}),o.jsx("td",{children:"Jane Smith"}),o.jsx("td",{children:"jane@example.com"}),o.jsx("td",{children:"Manager"}),o.jsx("td",{children:"Canada"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"3"}),o.jsx("td",{children:"Bob Johnson"}),o.jsx("td",{children:"bob@example.com"}),o.jsx("td",{children:"Designer"}),o.jsx("td",{children:"UK"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"4"}),o.jsx("td",{children:"Alice Brown"}),o.jsx("td",{children:"alice@example.com"}),o.jsx("td",{children:"Analyst"}),o.jsx("td",{children:"Australia"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"5"}),o.jsx("td",{children:"Mike Wilson"}),o.jsx("td",{children:"mike@example.com"}),o.jsx("td",{children:"Engineer"}),o.jsx("td",{children:"Germany"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"6"}),o.jsx("td",{children:"Sara Davis"}),o.jsx("td",{children:"sara@example.com"}),o.jsx("td",{children:"Consultant"}),o.jsx("td",{children:"France"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"7"}),o.jsx("td",{children:"David Lee"}),o.jsx("td",{children:"david@example.com"}),o.jsx("td",{children:"Coordinator"}),o.jsx("td",{children:"Japan"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"8"}),o.jsx("td",{children:"Linda Chen"}),o.jsx("td",{children:"linda@example.com"}),o.jsx("td",{children:"Tester"}),o.jsx("td",{children:"China"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"9"}),o.jsx("td",{children:"Ryan Miller"}),o.jsx("td",{children:"ryan@example.com"}),o.jsx("td",{children:"Architect"}),o.jsx("td",{children:"Brazil"})]}),o.jsxs("tr",{children:[o.jsx("td",{children:"10"}),o.jsx("td",{children:"Emily White"}),o.jsx("td",{children:"emily@example.com"}),o.jsx("td",{children:"Administrator"}),o.jsx("td",{children:"India"})]})]})]})})]})})}function zu(){return o.jsx(o.Fragment,{children:o.jsxs("section",{className:`${Ne["sticky-first-column"]}`,children:[o.jsx("h2",{children:"Sticky First Column"}),o.jsx("div",{className:`${Ne.container}`,children:o.jsxs("table",{children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{scope:"col",children:"ID"}),o.jsx("th",{scope:"col",children:"Name"}),o.jsx("th",{scope:"col",children:"Email"}),o.jsx("th",{scope:"col",children:"Role"}),o.jsx("th",{scope:"col",children:"Country"})]})}),o.jsxs("tbody",{children:[o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"1"}),o.jsx("td",{children:"John Doe"}),o.jsx("td",{children:"john@example.com"}),o.jsx("td",{children:"Developer"}),o.jsx("td",{children:"USA"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"2"}),o.jsx("td",{children:"Jane Smith"}),o.jsx("td",{children:"jane@example.com"}),o.jsx("td",{children:"Manager"}),o.jsx("td",{children:"Canada"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"3"}),o.jsx("td",{children:"Bob Johnson"}),o.jsx("td",{children:"bob@example.com"}),o.jsx("td",{children:"Designer"}),o.jsx("td",{children:"UK"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"4"}),o.jsx("td",{children:"Alice Brown"}),o.jsx("td",{children:"alice@example.com"}),o.jsx("td",{children:"Analyst"}),o.jsx("td",{children:"Australia"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"5"}),o.jsx("td",{children:"Mike Wilson"}),o.jsx("td",{children:"mike@example.com"}),o.jsx("td",{children:"Engineer"}),o.jsx("td",{children:"Germany"})]})]})]})})]})})}function Tu(){return o.jsx(o.Fragment,{children:o.jsxs("section",{className:`${Ne["sticky-header-and-first-column"]}`,children:[o.jsx("h2",{children:"Sticky Header and First Column"}),o.jsx("div",{className:`${Ne.container}`,children:o.jsxs("table",{children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{scope:"col",children:"ID"}),o.jsx("th",{scope:"col",children:"Name"}),o.jsx("th",{scope:"col",children:"Email"}),o.jsx("th",{scope:"col",children:"Role"}),o.jsx("th",{scope:"col",children:"Country"})]})}),o.jsxs("tbody",{children:[o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"1"}),o.jsx("td",{children:"John Doe"}),o.jsx("td",{children:"john@example.com"}),o.jsx("td",{children:"Developer"}),o.jsx("td",{children:"USA"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"2"}),o.jsx("td",{children:"Jane Smith"}),o.jsx("td",{children:"jane@example.com"}),o.jsx("td",{children:"Manager"}),o.jsx("td",{children:"Canada"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"3"}),o.jsx("td",{children:"Bob Johnson"}),o.jsx("td",{children:"bob@example.com"}),o.jsx("td",{children:"Designer"}),o.jsx("td",{children:"UK"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"4"}),o.jsx("td",{children:"Alice Brown"}),o.jsx("td",{children:"alice@example.com"}),o.jsx("td",{children:"Analyst"}),o.jsx("td",{children:"Australia"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"5"}),o.jsx("td",{children:"Mike Wilson"}),o.jsx("td",{children:"mike@example.com"}),o.jsx("td",{children:"Engineer"}),o.jsx("td",{children:"Germany"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"6"}),o.jsx("td",{children:"Sara Davis"}),o.jsx("td",{children:"sara@example.com"}),o.jsx("td",{children:"Consultant"}),o.jsx("td",{children:"France"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"7"}),o.jsx("td",{children:"David Lee"}),o.jsx("td",{children:"david@example.com"}),o.jsx("td",{children:"Coordinator"}),o.jsx("td",{children:"Japan"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"8"}),o.jsx("td",{children:"Linda Chen"}),o.jsx("td",{children:"linda@example.com"}),o.jsx("td",{children:"Tester"}),o.jsx("td",{children:"China"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"9"}),o.jsx("td",{children:"Ryan Miller"}),o.jsx("td",{children:"ryan@example.com"}),o.jsx("td",{children:"Architect"}),o.jsx("td",{children:"Brazil"})]}),o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:"10"}),o.jsx("td",{children:"Emily White"}),o.jsx("td",{children:"emily@example.com"}),o.jsx("td",{children:"Administrator"}),o.jsx("td",{children:"India"})]})]})]})})]})})}function Gu(){return o.jsxs("div",{className:"text-xs flex flex-col space-y-4",children:[o.jsx(Lu,{}),o.jsx(zu,{}),o.jsx(Tu,{})]})}/** * table-core * * Copyright (c) TanStack @@ -23,10 +23,10 @@ import{r as f,a as ia,$ as ur,b as la,c as fr,C as sn,d as gr,e as pr,f as an,g * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ge(e,t){return typeof e=="function"?e(t):e}function Q(e,t){return n=>{t.setState(r=>({...r,[e]:ge(n,r[e])}))}}function it(e){return e instanceof Function}function Hu(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function Bu(e,t){const n=[],r=s=>{s.forEach(a=>{n.push(a);const i=t(a);i!=null&&i.length&&r(i)})};return r(e),n}function E(e,t,n){let r=[],s;return()=>{let a;n.key&&n.debug&&(a=Date.now());const i=e();if(!(i.length!==r.length||i.some((d,u)=>r[u]!==d)))return s;r=i;let c;if(n.key&&n.debug&&(c=Date.now()),s=t(...i),n==null||n.onChange==null||n.onChange(s),n.key&&n.debug&&n!=null&&n.debug()){const d=Math.round((Date.now()-a)*100)/100,u=Math.round((Date.now()-c)*100)/100,p=u/16,m=(g,x)=>{for(g=String(g);g.length{t.setState(r=>({...r,[e]:ge(n,r[e])}))}}function lt(e){return e instanceof Function}function Hu(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function Bu(e,t){const n=[],r=s=>{s.forEach(a=>{n.push(a);const i=t(a);i!=null&&i.length&&r(i)})};return r(e),n}function k(e,t,n){let r=[],s;return()=>{let a;n.key&&n.debug&&(a=Date.now());const i=e();if(!(i.length!==r.length||i.some((d,u)=>r[u]!==d)))return s;r=i;let c;if(n.key&&n.debug&&(c=Date.now()),s=t(...i),n==null||n.onChange==null||n.onChange(s),n.key&&n.debug&&n!=null&&n.debug()){const d=Math.round((Date.now()-a)*100)/100,u=Math.round((Date.now()-c)*100)/100,g=u/16,m=(p,x)=>{for(p=String(p);p.length{let g=m;for(const h of c.split(".")){var x;g=(x=g)==null?void 0:x[h]}return g}:u=m=>m[l.accessorKey]),!d)throw new Error;let p={id:`${String(d)}`,accessorFn:u,parent:r,depth:n,columnDef:l,columns:[],getFlatColumns:E(()=>[!0],()=>{var m;return[p,...(m=p.columns)==null?void 0:m.flatMap(g=>g.getFlatColumns())]},{key:"column.getFlatColumns",debug:()=>{var m;return(m=e.options.debugAll)!=null?m:e.options.debugColumns}}),getLeafColumns:E(()=>[e._getOrderColumnsFn()],m=>{var g;if((g=p.columns)!=null&&g.length){let x=p.columns.flatMap(h=>h.getLeafColumns());return m(x)}return[p]},{key:"column.getLeafColumns",debug:()=>{var m;return(m=e.options.debugAll)!=null?m:e.options.debugColumns}})};for(const m of e._features)m.createColumn==null||m.createColumn(p,e);return p}function Jn(e,t,n){var r;let a={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const i=[],l=c=>{c.subHeaders&&c.subHeaders.length&&c.subHeaders.map(l),i.push(c)};return l(a),i},getContext:()=>({table:e,header:a,column:t})};return e._features.forEach(i=>{i.createHeader==null||i.createHeader(a,e)}),a}const qu={createTable:e=>{e.getHeaderGroups=E(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,s)=>{var a,i;const l=(a=r?.map(p=>n.find(m=>m.id===p)).filter(Boolean))!=null?a:[],c=(i=s?.map(p=>n.find(m=>m.id===p)).filter(Boolean))!=null?i:[],d=n.filter(p=>!(r!=null&&r.includes(p.id))&&!(s!=null&&s.includes(p.id)));return Je(t,[...l,...d,...c],e)},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterHeaderGroups=E(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,s)=>(n=n.filter(a=>!(r!=null&&r.includes(a.id))&&!(s!=null&&s.includes(a.id))),Je(t,n,e,"center")),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftHeaderGroups=E(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var s;const a=(s=r?.map(i=>n.find(l=>l.id===i)).filter(Boolean))!=null?s:[];return Je(t,a,e,"left")},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightHeaderGroups=E(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var s;const a=(s=r?.map(i=>n.find(l=>l.id===i)).filter(Boolean))!=null?s:[];return Je(t,a,e,"right")},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getFooterGroups=E(()=>[e.getHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftFooterGroups=E(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterFooterGroups=E(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightFooterGroups=E(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getFlatHeaders=E(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftFlatHeaders=E(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterFlatHeaders=E(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightFlatHeaders=E(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterLeafHeaders=E(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftLeafHeaders=E(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightLeafHeaders=E(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeafHeaders=E(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var s,a,i,l,c,d;return[...(s=(a=t[0])==null?void 0:a.headers)!=null?s:[],...(i=(l=n[0])==null?void 0:l.headers)!=null?i:[],...(c=(d=r[0])==null?void 0:d.headers)!=null?c:[]].map(u=>u.getLeafHeaders()).flat()},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}})}};function Je(e,t,n,r){var s,a;let i=0;const l=function(m,g){g===void 0&&(g=1),i=Math.max(i,g),m.filter(x=>x.getIsVisible()).forEach(x=>{var h;(h=x.columns)!=null&&h.length&&l(x.columns,g+1)},0)};l(e);let c=[];const d=(m,g)=>{const x={depth:g,id:[r,`${g}`].filter(Boolean).join("_"),headers:[]},h=[];m.forEach($=>{const w=[...h].reverse()[0],A=$.column.depth===x.depth;let I,O=!1;if(A&&$.column.parent?I=$.column.parent:(I=$.column,O=!0),w&&w?.column===I)w.subHeaders.push($);else{const G=Jn(n,I,{id:[r,g,I.id,$?.id].filter(Boolean).join("_"),isPlaceholder:O,placeholderId:O?`${h.filter(U=>U.column===I).length}`:void 0,depth:g,index:h.length});G.subHeaders.push($),h.push(G)}x.headers.push($),$.headerGroup=x}),c.push(x),g>0&&d(h,g-1)},u=t.map((m,g)=>Jn(n,m,{depth:i,index:g}));d(u,i-1),c.reverse();const p=m=>m.filter(x=>x.column.getIsVisible()).map(x=>{let h=0,$=0,w=[0];x.subHeaders&&x.subHeaders.length?(w=[],p(x.subHeaders).forEach(I=>{let{colSpan:O,rowSpan:G}=I;h+=O,w.push(G)})):h=1;const A=Math.min(...w);return $=$+A,x.colSpan=h,x.rowSpan=$,{colSpan:h,rowSpan:$}});return p((s=(a=c[0])==null?void 0:a.headers)!=null?s:[]),c}const Xe={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Mt=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Wu={getDefaultColumnDef:()=>Xe,getInitialState:e=>({columnSizing:{},columnSizingInfo:Mt(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",onColumnSizingChange:Q("columnSizing",e),onColumnSizingInfoChange:Q("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,s;const a=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:Xe.minSize,(r=a??e.columnDef.size)!=null?r:Xe.size),(s=e.columnDef.maxSize)!=null?s:Xe.maxSize)},e.getStart=n=>{const r=n?n==="left"?t.getLeftVisibleLeafColumns():t.getRightVisibleLeafColumns():t.getVisibleLeafColumns(),s=r.findIndex(a=>a.id===e.id);if(s>0){const a=r[s-1];return a.getStart(n)+a.getSize()}return 0},e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...s}=n;return s})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=s=>{if(s.subHeaders.length)s.subHeaders.forEach(r);else{var a;n+=(a=s.column.getSize())!=null?a:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=()=>{const n=t.getColumn(e.column.id),r=n?.getCanResize();return s=>{if(!n||!r||(s.persist==null||s.persist(),Et(s)&&s.touches&&s.touches.length>1))return;const a=e.getSize(),i=e?e.getLeafHeaders().map(h=>[h.column.id,h.column.getSize()]):[[n.id,n.getSize()]],l=Et(s)?Math.round(s.touches[0].clientX):s.clientX,c={},d=(h,$)=>{typeof $=="number"&&(t.setColumnSizingInfo(w=>{var A,I;const O=$-((A=w?.startOffset)!=null?A:0),G=Math.max(O/((I=w?.startSize)!=null?I:0),-.999999);return w.columnSizingStart.forEach(U=>{let[q,y]=U;c[q]=Math.round(Math.max(y+y*G,0)*100)/100}),{...w,deltaOffset:O,deltaPercentage:G}}),(t.options.columnResizeMode==="onChange"||h==="end")&&t.setColumnSizing(w=>({...w,...c})))},u=h=>d("move",h),p=h=>{d("end",h),t.setColumnSizingInfo($=>({...$,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},m={moveHandler:h=>u(h.clientX),upHandler:h=>{document.removeEventListener("mousemove",m.moveHandler),document.removeEventListener("mouseup",m.upHandler),p(h.clientX)}},g={moveHandler:h=>(h.cancelable&&(h.preventDefault(),h.stopPropagation()),u(h.touches[0].clientX),!1),upHandler:h=>{var $;document.removeEventListener("touchmove",g.moveHandler),document.removeEventListener("touchend",g.upHandler),h.cancelable&&(h.preventDefault(),h.stopPropagation()),p(($=h.touches[0])==null?void 0:$.clientX)}},x=Ku()?{passive:!1}:!1;Et(s)?(document.addEventListener("touchmove",g.moveHandler,x),document.addEventListener("touchend",g.upHandler,x)):(document.addEventListener("mousemove",m.moveHandler,x),document.addEventListener("mouseup",m.upHandler,x)),t.setColumnSizingInfo(h=>({...h,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:i,isResizingColumn:n.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?Mt():(n=e.initialState.columnSizingInfo)!=null?n:Mt())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0}}};let Ze=null;function Ku(){if(typeof Ze=="boolean")return Ze;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return Ze=e,Ze}function Et(e){return e.type==="touchstart"}const Ju={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Q("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,s;if(!t){e._queue(()=>{t=!0});return}if((r=(s=e.options.autoResetAll)!=null?s:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var s,a;e.setExpanded(r?{}:(s=(a=e.initialState)==null?void 0:a.expanded)!=null?s:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(s=>!s.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(a=>{const i=a.split(".");r=Math.max(r,i.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var s;const a=r===!0?!0:!!(r!=null&&r[e.id]);let i={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(l=>{i[l]=!0}):i=r,n=(s=n)!=null?s:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:l,...c}=i;return c}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r?.[e.id])},e.getCanExpand=()=>{var n,r,s;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((s=e.subRows)!=null&&s.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},Vs=(e,t,n)=>{var r;const s=n.toLowerCase();return!!(!((r=e.getValue(t))==null||(r=r.toString())==null||(r=r.toLowerCase())==null)&&r.includes(s))};Vs.autoRemove=e=>re(e);const Os=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};Os.autoRemove=e=>re(e);const Ls=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===n?.toLowerCase()};Ls.autoRemove=e=>re(e);const zs=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};zs.autoRemove=e=>re(e)||!(e!=null&&e.length);const Ts=(e,t,n)=>!n.some(r=>{var s;return!((s=e.getValue(t))!=null&&s.includes(r))});Ts.autoRemove=e=>re(e)||!(e!=null&&e.length);const Gs=(e,t,n)=>n.some(r=>{var s;return(s=e.getValue(t))==null?void 0:s.includes(r)});Gs.autoRemove=e=>re(e)||!(e!=null&&e.length);const Hs=(e,t,n)=>e.getValue(t)===n;Hs.autoRemove=e=>re(e);const Bs=(e,t,n)=>e.getValue(t)==n;Bs.autoRemove=e=>re(e);const $n=(e,t,n)=>{let[r,s]=n;const a=e.getValue(t);return a>=r&&a<=s};$n.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,s=typeof n!="number"?parseFloat(n):n,a=t===null||Number.isNaN(r)?-1/0:r,i=n===null||Number.isNaN(s)?1/0:s;if(a>i){const l=a;a=i,i=l}return[a,i]};$n.autoRemove=e=>re(e)||re(e[0])&&re(e[1]);const se={includesString:Vs,includesStringSensitive:Os,equalsString:Ls,arrIncludes:zs,arrIncludesAll:Ts,arrIncludesSome:Gs,equals:Hs,weakEquals:Bs,inNumberRange:$n};function re(e){return e==null||e===""}const Xu={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:Q("columnFilters",e),onGlobalFilterChange:Q("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n?.getValue(e.id);return typeof r=="string"?se.includesString:typeof r=="number"?se.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?se.equals:Array.isArray(r)?se.arrIncludes:se.weakEquals},e.getFilterFn=()=>{var n,r;return it(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:se[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,s;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((s=t.options.enableFilters)!=null?s:!0)&&!!e.accessorFn},e.getCanGlobalFilter=()=>{var n,r,s,a;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((s=t.options.enableFilters)!=null?s:!0)&&((a=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?a:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(s=>s.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const s=e.getFilterFn(),a=r?.find(u=>u.id===e.id),i=ge(n,a?a.value:void 0);if(Xn(s,i,e)){var l;return(l=r?.filter(u=>u.id!==e.id))!=null?l:[]}const c={id:e.id,value:i};if(a){var d;return(d=r?.map(u=>u.id===e.id?c:u))!=null?d:[]}return r!=null&&r.length?[...r,c]:[c]})},e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.getGlobalAutoFilterFn=()=>se.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return it(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:se[r]},e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=s=>{var a;return(a=ge(t,s))==null?void 0:a.filter(i=>{const l=n.find(c=>c.id===i.id);if(l){const c=l.getFilterFn();if(Xn(c,i.value,l))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}};function Xn(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const Zu=(e,t,n)=>n.reduce((r,s)=>{const a=s.getValue(e);return r+(typeof a=="number"?a:0)},0),Yu=(e,t,n)=>{let r;return n.forEach(s=>{const a=s.getValue(e);a!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}),r},Qu=(e,t,n)=>{let r;return n.forEach(s=>{const a=s.getValue(e);a!=null&&(r=a)&&(r=a)}),r},ef=(e,t,n)=>{let r,s;return n.forEach(a=>{const i=a.getValue(e);i!=null&&(r===void 0?i>=i&&(r=s=i):(r>i&&(r=i),s{let n=0,r=0;if(t.forEach(s=>{let a=s.getValue(e);a!=null&&(a=+a)>=a&&(++n,r+=a)}),n)return r/n},nf=(e,t)=>{if(!t.length)return;const n=t.map(a=>a.getValue(e));if(!Hu(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),s=n.sort((a,i)=>a-i);return n.length%2!==0?s[r]:(s[r-1]+s[r])/2},rf=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),of=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,sf=(e,t)=>t.length,kt={sum:Zu,min:Yu,max:Qu,extent:ef,mean:tf,median:nf,unique:rf,uniqueCount:of,count:sf},af={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Q("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r,s,a;return(n=(r=(s=(a=e.columnDef.enableGrouping)!=null?a:!0)!=null?s:t.options.enableGrouping)!=null?r:!0)!=null?n:!!e.accessorFn},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n?.getValue(e.id);if(typeof r=="number")return kt.sum;if(Object.prototype.toString.call(r)==="[object Date]")return kt.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return it(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:kt[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var s;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((s=n.subRows)!=null&&s.length)}}};function lf(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(a=>!t.includes(a.id));return n==="remove"?r:[...t.map(a=>e.find(i=>i.id===a)).filter(Boolean),...r]}const df={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Q("columnOrder",e)}),createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=E(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>s=>{let a=[];if(!(t!=null&&t.length))a=s;else{const i=[...t],l=[...s];for(;l.length&&i.length;){const c=i.shift(),d=l.findIndex(u=>u.id===c);d>-1&&a.push(l.splice(d,1)[0])}a=[...a,...l]}return lf(a,n,r)},{key:!1})}},Jt=0,Xt=10,Pt=()=>({pageIndex:Jt,pageSize:Xt}),cf={getInitialState:e=>({...e,pagination:{...Pt(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:Q("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,s;if(!t){e._queue(()=>{t=!0});return}if((r=(s=e.options.autoResetAll)!=null?s:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const s=a=>ge(r,a);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(s)},e.resetPagination=r=>{var s;e.setPagination(r?Pt():(s=e.initialState.pagination)!=null?s:Pt())},e.setPageIndex=r=>{e.setPagination(s=>{let a=ge(r,s.pageIndex);const i=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return a=Math.max(0,Math.min(a,i)),{...s,pageIndex:a}})},e.resetPageIndex=r=>{var s,a;e.setPageIndex(r?Jt:(s=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageIndex)!=null?s:Jt)},e.resetPageSize=r=>{var s,a;e.setPageSize(r?Xt:(s=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageSize)!=null?s:Xt)},e.setPageSize=r=>{e.setPagination(s=>{const a=Math.max(1,ge(r,s.pageSize)),i=s.pageSize*s.pageIndex,l=Math.floor(i/a);return{...s,pageIndex:l,pageSize:a}})},e.setPageCount=r=>e.setPagination(s=>{var a;let i=ge(r,(a=e.options.pageCount)!=null?a:-1);return typeof i=="number"&&(i=Math.max(-1,i)),{...s,pageCount:i}}),e.getPageOptions=E(()=>[e.getPageCount()],r=>{let s=[];return r&&r>0&&(s=[...new Array(r)].fill(null).map((a,i)=>i)),s},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable}}),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,s=e.getPageCount();return s===-1?!0:s===0?!1:re.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getPrePaginationRowModel().rows.length/e.getState().pagination.pageSize)}}},Ft=()=>({left:[],right:[]}),Dt=()=>({top:[],bottom:[]}),uf={getInitialState:e=>({columnPinning:Ft(),rowPinning:Dt(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Q("columnPinning",e),onRowPinningChange:Q("rowPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(s=>s.id).filter(Boolean);t.setColumnPinning(s=>{var a,i;if(n==="right"){var l,c;return{left:((l=s?.left)!=null?l:[]).filter(p=>!(r!=null&&r.includes(p))),right:[...((c=s?.right)!=null?c:[]).filter(p=>!(r!=null&&r.includes(p))),...r]}}if(n==="left"){var d,u;return{left:[...((d=s?.left)!=null?d:[]).filter(p=>!(r!=null&&r.includes(p))),...r],right:((u=s?.right)!=null?u:[]).filter(p=>!(r!=null&&r.includes(p)))}}return{left:((a=s?.left)!=null?a:[]).filter(p=>!(r!=null&&r.includes(p))),right:((i=s?.right)!=null?i:[]).filter(p=>!(r!=null&&r.includes(p)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var s,a,i;return((s=r.columnDef.enablePinning)!=null?s:!0)&&((a=(i=t.options.enableColumnPinning)!=null?i:t.options.enablePinning)!=null?a:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(l=>l.id),{left:r,right:s}=t.getState().columnPinning,a=n.some(l=>r?.includes(l)),i=n.some(l=>s?.includes(l));return a?"left":i?"right":!1},e.getPinnedIndex=()=>{var n,r;const s=e.getIsPinned();return s?(n=(r=t.getState().columnPinning)==null||(r=r[s])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.pin=(n,r,s)=>{const a=r?e.getLeafRows().map(c=>{let{id:d}=c;return d}):[],i=s?e.getParentRows().map(c=>{let{id:d}=c;return d}):[],l=new Set([...i,e.id,...a]);t.setRowPinning(c=>{var d,u;if(n==="bottom"){var p,m;return{top:((p=c?.top)!=null?p:[]).filter(h=>!(l!=null&&l.has(h))),bottom:[...((m=c?.bottom)!=null?m:[]).filter(h=>!(l!=null&&l.has(h))),...Array.from(l)]}}if(n==="top"){var g,x;return{top:[...((g=c?.top)!=null?g:[]).filter(h=>!(l!=null&&l.has(h))),...Array.from(l)],bottom:((x=c?.bottom)!=null?x:[]).filter(h=>!(l!=null&&l.has(h)))}}return{top:((d=c?.top)!=null?d:[]).filter(h=>!(l!=null&&l.has(h))),bottom:((u=c?.bottom)!=null?u:[]).filter(h=>!(l!=null&&l.has(h)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:s}=t.options;return typeof r=="function"?r(e):(n=r??s)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:s}=t.getState().rowPinning,a=n.some(l=>r?.includes(l)),i=n.some(l=>s?.includes(l));return a?"top":i?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const s=e.getIsPinned();if(!s)return-1;const a=(n=t._getPinnedRows(s))==null?void 0:n.map(i=>{let{id:l}=i;return l});return(r=a?.indexOf(e.id))!=null?r:-1},e.getCenterVisibleCells=E(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,s)=>{const a=[...r??[],...s??[]];return n.filter(i=>!a.includes(i.column.id))},{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),e.getLeftVisibleCells=E(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,,],(n,r)=>(r??[]).map(a=>n.find(i=>i.column.id===a)).filter(Boolean).map(a=>({...a,position:"left"})),{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),e.getRightVisibleCells=E(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(a=>n.find(i=>i.column.id===a)).filter(Boolean).map(a=>({...a,position:"right"})),{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}})},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?Ft():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:Ft())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var s,a;return!!((s=r.left)!=null&&s.length||(a=r.right)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=E(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(s=>s.id===r)).filter(Boolean),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),e.getRightLeafColumns=E(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(s=>s.id===r)).filter(Boolean),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),e.getCenterLeafColumns=E(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const s=[...n??[],...r??[]];return t.filter(a=>!s.includes(a.id))},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?Dt():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:Dt())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var s,a;return!!((s=r.top)!=null&&s.length||(a=r.bottom)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=t=>E(()=>[e.getRowModel().rows,e.getState().rowPinning[t]],(n,r)=>{var s;return((s=e.options.keepPinnedRows)==null||s?(r??[]).map(i=>{const l=e.getRow(i,!0);return l.getIsAllParentsExpanded()?l:null}):(r??[]).map(i=>n.find(l=>l.id===i))).filter(Boolean).map(i=>({...i,position:t}))},{key:!1,debug:()=>{var n;return(n=e.options.debugAll)!=null?n:e.options.debugRows}})(),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=E(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const s=new Set([...n??[],...r??[]]);return t.filter(a=>!s.has(a.id))},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugRows}})}},ff={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Q("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},s=e.getPreGroupedRowModel().flatRows;return t?s.forEach(a=>{a.getCanSelect()&&(r[a.id]=!0)}):s.forEach(a=>{delete r[a.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),s={...n};return e.getRowModel().rows.forEach(a=>{Zt(s,a.id,r,!0,e)}),s}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=E(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?It(e,n):{rows:[],flatRows:[],rowsById:{}},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),e.getFilteredSelectedRowModel=E(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?It(e,n):{rows:[],flatRows:[],rowsById:{}},{key:"getFilteredSelectedRowModel",debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),e.getGroupedSelectedRowModel=E(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?It(e,n):{rows:[],flatRows:[],rowsById:{}},{key:"getGroupedSelectedRowModel",debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(s=>s.getCanSelect()&&!n[s.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(s=>s.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(s=>!n[s.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const s=e.getIsSelected();t.setRowSelection(a=>{var i;if(n=typeof n<"u"?n:!s,e.getCanSelect()&&s===n)return a;const l={...a};return Zt(l,e.id,n,(i=r?.selectChildren)!=null?i:!0,t),l})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Rn(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return Yt(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return Yt(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var s;n&&e.toggleSelected((s=r.target)==null?void 0:s.checked)}}}},Zt=(e,t,n,r,s)=>{var a;const i=s.getRow(t);n?(i.getCanMultiSelect()||Object.keys(e).forEach(l=>delete e[l]),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(a=i.subRows)!=null&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach(l=>Zt(e,l.id,n,r,s))};function It(e,t){const n=e.getState().rowSelection,r=[],s={},a=function(i,l){return i.map(c=>{var d;const u=Rn(c,n);if(u&&(r.push(c),s[c.id]=c),(d=c.subRows)!=null&&d.length&&(c={...c,subRows:a(c.subRows)}),u)return c}).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:s}}function Rn(e,t){var n;return(n=t[e.id])!=null?n:!1}function Yt(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let s=!0,a=!1;return e.subRows.forEach(i=>{if(!(a&&!s)&&(i.getCanSelect()&&(Rn(i,t)?a=!0:s=!1),i.subRows&&i.subRows.length)){const l=Yt(i,t);l==="all"?a=!0:(l==="some"&&(a=!0),s=!1)}}),s?"all":a?"some":!1}const Qt=/([0-9]+)/gm,gf=(e,t,n)=>Us(pe(e.getValue(n)).toLowerCase(),pe(t.getValue(n)).toLowerCase()),pf=(e,t,n)=>Us(pe(e.getValue(n)),pe(t.getValue(n))),mf=(e,t,n)=>Nn(pe(e.getValue(n)).toLowerCase(),pe(t.getValue(n)).toLowerCase()),hf=(e,t,n)=>Nn(pe(e.getValue(n)),pe(t.getValue(n))),xf=(e,t,n)=>{const r=e.getValue(n),s=t.getValue(n);return r>s?1:rNn(e.getValue(n),t.getValue(n));function Nn(e,t){return e===t?0:e>t?1:-1}function pe(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Us(e,t){const n=e.split(Qt).filter(Boolean),r=t.split(Qt).filter(Boolean);for(;n.length&&r.length;){const s=n.shift(),a=r.shift(),i=parseInt(s,10),l=parseInt(a,10),c=[i,l].sort();if(isNaN(c[0])){if(s>a)return 1;if(a>s)return-1;continue}if(isNaN(c[1]))return isNaN(i)?-1:1;if(i>l)return 1;if(l>i)return-1}return n.length-r.length}const De={alphanumeric:gf,alphanumericCaseSensitive:pf,text:mf,textCaseSensitive:hf,datetime:xf,basic:vf},bf={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Q("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const s of n){const a=s?.getValue(e.id);if(Object.prototype.toString.call(a)==="[object Date]")return De.datetime;if(typeof a=="string"&&(r=!0,a.split(Qt).length>1))return De.alphanumeric}return r?De.text:De.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof n?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return it(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:De[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const s=e.getNextSortingOrder(),a=typeof n<"u"&&n!==null;t.setSorting(i=>{const l=i?.find(g=>g.id===e.id),c=i?.findIndex(g=>g.id===e.id);let d=[],u,p=a?n:s==="desc";if(i!=null&&i.length&&e.getCanMultiSort()&&r?l?u="toggle":u="add":i!=null&&i.length&&c!==i.length-1?u="replace":l?u="toggle":u="replace",u==="toggle"&&(a||s||(u="remove")),u==="add"){var m;d=[...i,{id:e.id,desc:p}],d.splice(0,d.length-((m=t.options.maxMultiSortColCount)!=null?m:Number.MAX_SAFE_INTEGER))}else u==="toggle"?d=i.map(g=>g.id===e.id?{...g,desc:p}:g):u==="remove"?d=i.filter(g=>g.id!==e.id):d=[{id:e.id,desc:p}];return d})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,s;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?i!==a&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(s=t.options.enableMultiRemove)!=null)||s)?!1:i==="desc"?"asc":"desc":a},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(s=>s.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(s=>s.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},wf={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Q("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;return(n=(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=E(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),{key:"row._getAllVisibleCells",debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),e.getVisibleCells=E(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,s)=>[...n,...r,...s],{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}})},createTable:e=>{const t=(n,r)=>E(()=>[r(),r().filter(s=>s.getIsVisible()).map(s=>s.id).join("_")],s=>s.filter(a=>a.getIsVisible==null?void 0:a.getIsVisible()),{key:n,debug:()=>{var s;return(s=e.options.debugAll)!=null?s:e.options.debugColumns}});e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((s,a)=>({...s,[a.id]:n||!(a.getCanHide!=null&&a.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}},Zn=[qu,wf,df,uf,Xu,bf,af,Ju,cf,ff,Wu];function yf(e){var t;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let n={_features:Zn};const r=n._features.reduce((u,p)=>Object.assign(u,p.getDefaultOptions==null?void 0:p.getDefaultOptions(n)),{}),s=u=>n.options.mergeOptions?n.options.mergeOptions(r,u):{...r,...u};let i={...{},...(t=e.initialState)!=null?t:{}};n._features.forEach(u=>{var p;i=(p=u.getInitialState==null?void 0:u.getInitialState(i))!=null?p:i});const l=[];let c=!1;const d={_features:Zn,options:{...r,...e},initialState:i,_queue:u=>{l.push(u),c||(c=!0,Promise.resolve().then(()=>{for(;l.length;)l.shift()();c=!1}).catch(p=>setTimeout(()=>{throw p})))},reset:()=>{n.setState(n.initialState)},setOptions:u=>{const p=ge(u,n.options);n.options=s(p)},getState:()=>n.options.state,setState:u=>{n.options.onStateChange==null||n.options.onStateChange(u)},_getRowId:(u,p,m)=>{var g;return(g=n.options.getRowId==null?void 0:n.options.getRowId(u,p,m))!=null?g:`${m?[m.id,p].join("."):p}`},getCoreRowModel:()=>(n._getCoreRowModel||(n._getCoreRowModel=n.options.getCoreRowModel(n)),n._getCoreRowModel()),getRowModel:()=>n.getPaginationRowModel(),getRow:(u,p)=>{const m=(p?n.getCoreRowModel():n.getRowModel()).rowsById[u];if(!m)throw new Error;return m},_getDefaultColumnDef:E(()=>[n.options.defaultColumn],u=>{var p;return u=(p=u)!=null?p:{},{header:m=>{const g=m.header.column.columnDef;return g.accessorKey?g.accessorKey:g.accessorFn?g.id:null},cell:m=>{var g,x;return(g=(x=m.renderValue())==null||x.toString==null?void 0:x.toString())!=null?g:null},...n._features.reduce((m,g)=>Object.assign(m,g.getDefaultColumnDef==null?void 0:g.getDefaultColumnDef()),{}),...u}},{debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns},key:!1}),_getColumnDefs:()=>n.options.columns,getAllColumns:E(()=>[n._getColumnDefs()],u=>{const p=function(m,g,x){return x===void 0&&(x=0),m.map(h=>{const $=Uu(n,h,x,g),w=h;return $.columns=w.columns?p(w.columns,$,x+1):[],$})};return p(u)},{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),getAllFlatColumns:E(()=>[n.getAllColumns()],u=>u.flatMap(p=>p.getFlatColumns()),{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),_getAllFlatColumnsById:E(()=>[n.getAllFlatColumns()],u=>u.reduce((p,m)=>(p[m.id]=m,p),{}),{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),getAllLeafColumns:E(()=>[n.getAllColumns(),n._getOrderColumnsFn()],(u,p)=>{let m=u.flatMap(g=>g.getLeafColumns());return p(m)},{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),getColumn:u=>n._getAllFlatColumnsById()[u]};Object.assign(n,d);for(let u=0;u{var i;return(i=a.getValue())!=null?i:e.options.renderFallbackValue},a={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:s,getContext:E(()=>[e,n,t,a],(i,l,c,d)=>({table:i,column:l,row:c,cell:d,getValue:d.getValue,renderValue:d.renderValue}),{key:!1,debug:()=>e.options.debugAll})};return e._features.forEach(i=>{i.createCell==null||i.createCell(a,n,t,e)},{}),a}const _n=(e,t,n,r,s,a,i)=>{let l={id:t,index:r,original:n,depth:s,parentId:i,_valuesCache:{},_uniqueValuesCache:{},getValue:c=>{if(l._valuesCache.hasOwnProperty(c))return l._valuesCache[c];const d=e.getColumn(c);if(d!=null&&d.accessorFn)return l._valuesCache[c]=d.accessorFn(l.original,r),l._valuesCache[c]},getUniqueValues:c=>{if(l._uniqueValuesCache.hasOwnProperty(c))return l._uniqueValuesCache[c];const d=e.getColumn(c);if(d!=null&&d.accessorFn)return d.columnDef.getUniqueValues?(l._uniqueValuesCache[c]=d.columnDef.getUniqueValues(l.original,r),l._uniqueValuesCache[c]):(l._uniqueValuesCache[c]=[l.getValue(c)],l._uniqueValuesCache[c])},renderValue:c=>{var d;return(d=l.getValue(c))!=null?d:e.options.renderFallbackValue},subRows:a??[],getLeafRows:()=>Bu(l.subRows,c=>c.subRows),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let c=[],d=l;for(;;){const u=d.getParentRow();if(!u)break;c.push(u),d=u}return c.reverse()},getAllCells:E(()=>[e.getAllLeafColumns()],c=>c.map(d=>jf(e,l,d,d.id)),{key:!1,debug:()=>{var c;return(c=e.options.debugAll)!=null?c:e.options.debugRows}}),_getAllCellsByColumnId:E(()=>[l.getAllCells()],c=>c.reduce((d,u)=>(d[u.column.id]=u,d),{}),{key:"row.getAllCellsByColumnId",debug:()=>{var c;return(c=e.options.debugAll)!=null?c:e.options.debugRows}})};for(let c=0;cE(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(s,a,i){a===void 0&&(a=0);const l=[];for(let d=0;d{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function Cf(e,t,n){return n.options.filterFromLeafRows?$f(e,t,n):Rf(e,t,n)}function $f(e,t,n){var r;const s=[],a={},i=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,l=function(c,d){d===void 0&&(d=0);const u=[];for(let m=0;mE(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{if(!t.rows.length||!(n!=null&&n.length)&&!r){for(let m=0;m{var g;const x=e.getColumn(m.id);if(!x)return;const h=x.getFilterFn();h&&s.push({id:m.id,filterFn:h,resolvedValue:(g=h.resolveFilterValue==null?void 0:h.resolveFilterValue(m.value))!=null?g:m.value})});const i=n.map(m=>m.id),l=e.getGlobalFilterFn(),c=e.getAllLeafColumns().filter(m=>m.getCanGlobalFilter());r&&l&&c.length&&(i.push("__global__"),c.forEach(m=>{var g;a.push({id:m.id,filterFn:l,resolvedValue:(g=l.resolveFilterValue==null?void 0:l.resolveFilterValue(r))!=null?g:r})}));let d,u;for(let m=0;m{g.columnFiltersMeta[h]=$})}if(a.length){for(let x=0;x{g.columnFiltersMeta[h]=$})){g.columnFilters.__global__=!0;break}}g.columnFilters.__global__!==!0&&(g.columnFilters.__global__=!1)}}const p=m=>{for(let g=0;g{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function _f(){return e=>E(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,s=[],a=r.filter(c=>{var d;return(d=e.getColumn(c.id))==null?void 0:d.getCanSort()}),i={};a.forEach(c=>{const d=e.getColumn(c.id);d&&(i[c.id]={sortUndefined:d.columnDef.sortUndefined,invertSorting:d.columnDef.invertSorting,sortingFn:d.getSortingFn()})});const l=c=>{const d=c.map(u=>({...u}));return d.sort((u,p)=>{for(let g=0;g{var p;s.push(u),(p=u.subRows)!=null&&p.length&&(u.subRows=l(u.subRows))}),d};return{rows:l(n.rows),flatRows:s,rowsById:n.rowsById}},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function Af(e){const t=[],n=r=>{var s;t.push(r),(s=r.subRows)!=null&&s.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Mf(e){return t=>E(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:s,pageIndex:a}=n;let{rows:i,flatRows:l,rowsById:c}=r;const d=s*a,u=d+s;i=i.slice(d,u);let p;t.options.paginateExpandedRows?p={rows:i,flatRows:l,rowsById:c}:p=Af({rows:i,flatRows:l,rowsById:c}),p.flatRows=[];const m=g=>{p.flatRows.push(g),g.subRows.length&&g.subRows.forEach(m)};return p.rows.forEach(m),p},{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugTable}})}/** + color: hsl(${Math.max(0,Math.min(120-120*g,120))}deg 100% 31%);`,n?.key)}return s}}function Uu(e,t,n,r){var s,a;const l={...e._getDefaultColumnDef(),...t},c=l.accessorKey;let d=(s=(a=l.id)!=null?a:c?c.replace(".","_"):void 0)!=null?s:typeof l.header=="string"?l.header:void 0,u;if(l.accessorFn?u=l.accessorFn:c&&(c.includes(".")?u=m=>{let p=m;for(const h of c.split(".")){var x;p=(x=p)==null?void 0:x[h]}return p}:u=m=>m[l.accessorKey]),!d)throw new Error;let g={id:`${String(d)}`,accessorFn:u,parent:r,depth:n,columnDef:l,columns:[],getFlatColumns:k(()=>[!0],()=>{var m;return[g,...(m=g.columns)==null?void 0:m.flatMap(p=>p.getFlatColumns())]},{key:"column.getFlatColumns",debug:()=>{var m;return(m=e.options.debugAll)!=null?m:e.options.debugColumns}}),getLeafColumns:k(()=>[e._getOrderColumnsFn()],m=>{var p;if((p=g.columns)!=null&&p.length){let x=g.columns.flatMap(h=>h.getLeafColumns());return m(x)}return[g]},{key:"column.getLeafColumns",debug:()=>{var m;return(m=e.options.debugAll)!=null?m:e.options.debugColumns}})};for(const m of e._features)m.createColumn==null||m.createColumn(g,e);return g}function Jn(e,t,n){var r;let a={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const i=[],l=c=>{c.subHeaders&&c.subHeaders.length&&c.subHeaders.map(l),i.push(c)};return l(a),i},getContext:()=>({table:e,header:a,column:t})};return e._features.forEach(i=>{i.createHeader==null||i.createHeader(a,e)}),a}const qu={createTable:e=>{e.getHeaderGroups=k(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,s)=>{var a,i;const l=(a=r?.map(g=>n.find(m=>m.id===g)).filter(Boolean))!=null?a:[],c=(i=s?.map(g=>n.find(m=>m.id===g)).filter(Boolean))!=null?i:[],d=n.filter(g=>!(r!=null&&r.includes(g.id))&&!(s!=null&&s.includes(g.id)));return Xe(t,[...l,...d,...c],e)},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterHeaderGroups=k(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,s)=>(n=n.filter(a=>!(r!=null&&r.includes(a.id))&&!(s!=null&&s.includes(a.id))),Xe(t,n,e,"center")),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftHeaderGroups=k(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var s;const a=(s=r?.map(i=>n.find(l=>l.id===i)).filter(Boolean))!=null?s:[];return Xe(t,a,e,"left")},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightHeaderGroups=k(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var s;const a=(s=r?.map(i=>n.find(l=>l.id===i)).filter(Boolean))!=null?s:[];return Xe(t,a,e,"right")},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getFooterGroups=k(()=>[e.getHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftFooterGroups=k(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterFooterGroups=k(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightFooterGroups=k(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getFlatHeaders=k(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftFlatHeaders=k(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterFlatHeaders=k(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightFlatHeaders=k(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getCenterLeafHeaders=k(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeftLeafHeaders=k(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getRightLeafHeaders=k(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),e.getLeafHeaders=k(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var s,a,i,l,c,d;return[...(s=(a=t[0])==null?void 0:a.headers)!=null?s:[],...(i=(l=n[0])==null?void 0:l.headers)!=null?i:[],...(c=(d=r[0])==null?void 0:d.headers)!=null?c:[]].map(u=>u.getLeafHeaders()).flat()},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}})}};function Xe(e,t,n,r){var s,a;let i=0;const l=function(m,p){p===void 0&&(p=1),i=Math.max(i,p),m.filter(x=>x.getIsVisible()).forEach(x=>{var h;(h=x.columns)!=null&&h.length&&l(x.columns,p+1)},0)};l(e);let c=[];const d=(m,p)=>{const x={depth:p,id:[r,`${p}`].filter(Boolean).join("_"),headers:[]},h=[];m.forEach(R=>{const $=[...h].reverse()[0],A=R.column.depth===x.depth;let E,D=!1;if(A&&R.column.parent?E=R.column.parent:(E=R.column,D=!0),$&&$?.column===E)$.subHeaders.push(R);else{const G=Jn(n,E,{id:[r,p,E.id,R?.id].filter(Boolean).join("_"),isPlaceholder:D,placeholderId:D?`${h.filter(q=>q.column===E).length}`:void 0,depth:p,index:h.length});G.subHeaders.push(R),h.push(G)}x.headers.push(R),R.headerGroup=x}),c.push(x),p>0&&d(h,p-1)},u=t.map((m,p)=>Jn(n,m,{depth:i,index:p}));d(u,i-1),c.reverse();const g=m=>m.filter(x=>x.column.getIsVisible()).map(x=>{let h=0,R=0,$=[0];x.subHeaders&&x.subHeaders.length?($=[],g(x.subHeaders).forEach(E=>{let{colSpan:D,rowSpan:G}=E;h+=D,$.push(G)})):h=1;const A=Math.min(...$);return R=R+A,x.colSpan=h,x.rowSpan=R,{colSpan:h,rowSpan:R}});return g((s=(a=c[0])==null?void 0:a.headers)!=null?s:[]),c}const Ze={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Et=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Wu={getDefaultColumnDef:()=>Ze,getInitialState:e=>({columnSizing:{},columnSizingInfo:Et(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",onColumnSizingChange:Q("columnSizing",e),onColumnSizingInfoChange:Q("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,s;const a=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:Ze.minSize,(r=a??e.columnDef.size)!=null?r:Ze.size),(s=e.columnDef.maxSize)!=null?s:Ze.maxSize)},e.getStart=n=>{const r=n?n==="left"?t.getLeftVisibleLeafColumns():t.getRightVisibleLeafColumns():t.getVisibleLeafColumns(),s=r.findIndex(a=>a.id===e.id);if(s>0){const a=r[s-1];return a.getStart(n)+a.getSize()}return 0},e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...s}=n;return s})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=s=>{if(s.subHeaders.length)s.subHeaders.forEach(r);else{var a;n+=(a=s.column.getSize())!=null?a:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=()=>{const n=t.getColumn(e.column.id),r=n?.getCanResize();return s=>{if(!n||!r||(s.persist==null||s.persist(),kt(s)&&s.touches&&s.touches.length>1))return;const a=e.getSize(),i=e?e.getLeafHeaders().map(h=>[h.column.id,h.column.getSize()]):[[n.id,n.getSize()]],l=kt(s)?Math.round(s.touches[0].clientX):s.clientX,c={},d=(h,R)=>{typeof R=="number"&&(t.setColumnSizingInfo($=>{var A,E;const D=R-((A=$?.startOffset)!=null?A:0),G=Math.max(D/((E=$?.startSize)!=null?E:0),-.999999);return $.columnSizingStart.forEach(q=>{let[W,w]=q;c[W]=Math.round(Math.max(w+w*G,0)*100)/100}),{...$,deltaOffset:D,deltaPercentage:G}}),(t.options.columnResizeMode==="onChange"||h==="end")&&t.setColumnSizing($=>({...$,...c})))},u=h=>d("move",h),g=h=>{d("end",h),t.setColumnSizingInfo(R=>({...R,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},m={moveHandler:h=>u(h.clientX),upHandler:h=>{document.removeEventListener("mousemove",m.moveHandler),document.removeEventListener("mouseup",m.upHandler),g(h.clientX)}},p={moveHandler:h=>(h.cancelable&&(h.preventDefault(),h.stopPropagation()),u(h.touches[0].clientX),!1),upHandler:h=>{var R;document.removeEventListener("touchmove",p.moveHandler),document.removeEventListener("touchend",p.upHandler),h.cancelable&&(h.preventDefault(),h.stopPropagation()),g((R=h.touches[0])==null?void 0:R.clientX)}},x=Ku()?{passive:!1}:!1;kt(s)?(document.addEventListener("touchmove",p.moveHandler,x),document.addEventListener("touchend",p.upHandler,x)):(document.addEventListener("mousemove",m.moveHandler,x),document.addEventListener("mouseup",m.upHandler,x)),t.setColumnSizingInfo(h=>({...h,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:i,isResizingColumn:n.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?Et():(n=e.initialState.columnSizingInfo)!=null?n:Et())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,s)=>r+s.getSize(),0))!=null?t:0}}};let Ye=null;function Ku(){if(typeof Ye=="boolean")return Ye;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return Ye=e,Ye}function kt(e){return e.type==="touchstart"}const Ju={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Q("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,s;if(!t){e._queue(()=>{t=!0});return}if((r=(s=e.options.autoResetAll)!=null?s:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var s,a;e.setExpanded(r?{}:(s=(a=e.initialState)==null?void 0:a.expanded)!=null?s:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(s=>!s.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(a=>{const i=a.split(".");r=Math.max(r,i.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var s;const a=r===!0?!0:!!(r!=null&&r[e.id]);let i={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(l=>{i[l]=!0}):i=r,n=(s=n)!=null?s:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:l,...c}=i;return c}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r?.[e.id])},e.getCanExpand=()=>{var n,r,s;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((s=e.subRows)!=null&&s.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},Vs=(e,t,n)=>{var r;const s=n.toLowerCase();return!!(!((r=e.getValue(t))==null||(r=r.toString())==null||(r=r.toLowerCase())==null)&&r.includes(s))};Vs.autoRemove=e=>re(e);const Os=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};Os.autoRemove=e=>re(e);const Ls=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===n?.toLowerCase()};Ls.autoRemove=e=>re(e);const zs=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};zs.autoRemove=e=>re(e)||!(e!=null&&e.length);const Ts=(e,t,n)=>!n.some(r=>{var s;return!((s=e.getValue(t))!=null&&s.includes(r))});Ts.autoRemove=e=>re(e)||!(e!=null&&e.length);const Gs=(e,t,n)=>n.some(r=>{var s;return(s=e.getValue(t))==null?void 0:s.includes(r)});Gs.autoRemove=e=>re(e)||!(e!=null&&e.length);const Hs=(e,t,n)=>e.getValue(t)===n;Hs.autoRemove=e=>re(e);const Bs=(e,t,n)=>e.getValue(t)==n;Bs.autoRemove=e=>re(e);const $n=(e,t,n)=>{let[r,s]=n;const a=e.getValue(t);return a>=r&&a<=s};$n.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,s=typeof n!="number"?parseFloat(n):n,a=t===null||Number.isNaN(r)?-1/0:r,i=n===null||Number.isNaN(s)?1/0:s;if(a>i){const l=a;a=i,i=l}return[a,i]};$n.autoRemove=e=>re(e)||re(e[0])&&re(e[1]);const se={includesString:Vs,includesStringSensitive:Os,equalsString:Ls,arrIncludes:zs,arrIncludesAll:Ts,arrIncludesSome:Gs,equals:Hs,weakEquals:Bs,inNumberRange:$n};function re(e){return e==null||e===""}const Xu={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:Q("columnFilters",e),onGlobalFilterChange:Q("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n?.getValue(e.id);return typeof r=="string"?se.includesString:typeof r=="number"?se.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?se.equals:Array.isArray(r)?se.arrIncludes:se.weakEquals},e.getFilterFn=()=>{var n,r;return lt(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:se[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,s;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((s=t.options.enableFilters)!=null?s:!0)&&!!e.accessorFn},e.getCanGlobalFilter=()=>{var n,r,s,a;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((s=t.options.enableFilters)!=null?s:!0)&&((a=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?a:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(s=>s.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const s=e.getFilterFn(),a=r?.find(u=>u.id===e.id),i=ge(n,a?a.value:void 0);if(Xn(s,i,e)){var l;return(l=r?.filter(u=>u.id!==e.id))!=null?l:[]}const c={id:e.id,value:i};if(a){var d;return(d=r?.map(u=>u.id===e.id?c:u))!=null?d:[]}return r!=null&&r.length?[...r,c]:[c]})},e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.getGlobalAutoFilterFn=()=>se.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return lt(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:se[r]},e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=s=>{var a;return(a=ge(t,s))==null?void 0:a.filter(i=>{const l=n.find(c=>c.id===i.id);if(l){const c=l.getFilterFn();if(Xn(c,i.value,l))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}};function Xn(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const Zu=(e,t,n)=>n.reduce((r,s)=>{const a=s.getValue(e);return r+(typeof a=="number"?a:0)},0),Yu=(e,t,n)=>{let r;return n.forEach(s=>{const a=s.getValue(e);a!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}),r},Qu=(e,t,n)=>{let r;return n.forEach(s=>{const a=s.getValue(e);a!=null&&(r=a)&&(r=a)}),r},ef=(e,t,n)=>{let r,s;return n.forEach(a=>{const i=a.getValue(e);i!=null&&(r===void 0?i>=i&&(r=s=i):(r>i&&(r=i),s{let n=0,r=0;if(t.forEach(s=>{let a=s.getValue(e);a!=null&&(a=+a)>=a&&(++n,r+=a)}),n)return r/n},nf=(e,t)=>{if(!t.length)return;const n=t.map(a=>a.getValue(e));if(!Hu(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),s=n.sort((a,i)=>a-i);return n.length%2!==0?s[r]:(s[r-1]+s[r])/2},rf=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),of=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,sf=(e,t)=>t.length,Pt={sum:Zu,min:Yu,max:Qu,extent:ef,mean:tf,median:nf,unique:rf,uniqueCount:of,count:sf},af={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Q("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r,s,a;return(n=(r=(s=(a=e.columnDef.enableGrouping)!=null?a:!0)!=null?s:t.options.enableGrouping)!=null?r:!0)!=null?n:!!e.accessorFn},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n?.getValue(e.id);if(typeof r=="number")return Pt.sum;if(Object.prototype.toString.call(r)==="[object Date]")return Pt.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return lt(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:Pt[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var s;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((s=n.subRows)!=null&&s.length)}}};function lf(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(a=>!t.includes(a.id));return n==="remove"?r:[...t.map(a=>e.find(i=>i.id===a)).filter(Boolean),...r]}const df={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Q("columnOrder",e)}),createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=k(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>s=>{let a=[];if(!(t!=null&&t.length))a=s;else{const i=[...t],l=[...s];for(;l.length&&i.length;){const c=i.shift(),d=l.findIndex(u=>u.id===c);d>-1&&a.push(l.splice(d,1)[0])}a=[...a,...l]}return lf(a,n,r)},{key:!1})}},Jt=0,Xt=10,Ft=()=>({pageIndex:Jt,pageSize:Xt}),cf={getInitialState:e=>({...e,pagination:{...Ft(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:Q("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,s;if(!t){e._queue(()=>{t=!0});return}if((r=(s=e.options.autoResetAll)!=null?s:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const s=a=>ge(r,a);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(s)},e.resetPagination=r=>{var s;e.setPagination(r?Ft():(s=e.initialState.pagination)!=null?s:Ft())},e.setPageIndex=r=>{e.setPagination(s=>{let a=ge(r,s.pageIndex);const i=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return a=Math.max(0,Math.min(a,i)),{...s,pageIndex:a}})},e.resetPageIndex=r=>{var s,a;e.setPageIndex(r?Jt:(s=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageIndex)!=null?s:Jt)},e.resetPageSize=r=>{var s,a;e.setPageSize(r?Xt:(s=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageSize)!=null?s:Xt)},e.setPageSize=r=>{e.setPagination(s=>{const a=Math.max(1,ge(r,s.pageSize)),i=s.pageSize*s.pageIndex,l=Math.floor(i/a);return{...s,pageIndex:l,pageSize:a}})},e.setPageCount=r=>e.setPagination(s=>{var a;let i=ge(r,(a=e.options.pageCount)!=null?a:-1);return typeof i=="number"&&(i=Math.max(-1,i)),{...s,pageCount:i}}),e.getPageOptions=k(()=>[e.getPageCount()],r=>{let s=[];return r&&r>0&&(s=[...new Array(r)].fill(null).map((a,i)=>i)),s},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable}}),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,s=e.getPageCount();return s===-1?!0:s===0?!1:re.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getPrePaginationRowModel().rows.length/e.getState().pagination.pageSize)}}},Dt=()=>({left:[],right:[]}),It=()=>({top:[],bottom:[]}),uf={getInitialState:e=>({columnPinning:Dt(),rowPinning:It(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Q("columnPinning",e),onRowPinningChange:Q("rowPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(s=>s.id).filter(Boolean);t.setColumnPinning(s=>{var a,i;if(n==="right"){var l,c;return{left:((l=s?.left)!=null?l:[]).filter(g=>!(r!=null&&r.includes(g))),right:[...((c=s?.right)!=null?c:[]).filter(g=>!(r!=null&&r.includes(g))),...r]}}if(n==="left"){var d,u;return{left:[...((d=s?.left)!=null?d:[]).filter(g=>!(r!=null&&r.includes(g))),...r],right:((u=s?.right)!=null?u:[]).filter(g=>!(r!=null&&r.includes(g)))}}return{left:((a=s?.left)!=null?a:[]).filter(g=>!(r!=null&&r.includes(g))),right:((i=s?.right)!=null?i:[]).filter(g=>!(r!=null&&r.includes(g)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var s,a,i;return((s=r.columnDef.enablePinning)!=null?s:!0)&&((a=(i=t.options.enableColumnPinning)!=null?i:t.options.enablePinning)!=null?a:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(l=>l.id),{left:r,right:s}=t.getState().columnPinning,a=n.some(l=>r?.includes(l)),i=n.some(l=>s?.includes(l));return a?"left":i?"right":!1},e.getPinnedIndex=()=>{var n,r;const s=e.getIsPinned();return s?(n=(r=t.getState().columnPinning)==null||(r=r[s])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.pin=(n,r,s)=>{const a=r?e.getLeafRows().map(c=>{let{id:d}=c;return d}):[],i=s?e.getParentRows().map(c=>{let{id:d}=c;return d}):[],l=new Set([...i,e.id,...a]);t.setRowPinning(c=>{var d,u;if(n==="bottom"){var g,m;return{top:((g=c?.top)!=null?g:[]).filter(h=>!(l!=null&&l.has(h))),bottom:[...((m=c?.bottom)!=null?m:[]).filter(h=>!(l!=null&&l.has(h))),...Array.from(l)]}}if(n==="top"){var p,x;return{top:[...((p=c?.top)!=null?p:[]).filter(h=>!(l!=null&&l.has(h))),...Array.from(l)],bottom:((x=c?.bottom)!=null?x:[]).filter(h=>!(l!=null&&l.has(h)))}}return{top:((d=c?.top)!=null?d:[]).filter(h=>!(l!=null&&l.has(h))),bottom:((u=c?.bottom)!=null?u:[]).filter(h=>!(l!=null&&l.has(h)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:s}=t.options;return typeof r=="function"?r(e):(n=r??s)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:s}=t.getState().rowPinning,a=n.some(l=>r?.includes(l)),i=n.some(l=>s?.includes(l));return a?"top":i?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const s=e.getIsPinned();if(!s)return-1;const a=(n=t._getPinnedRows(s))==null?void 0:n.map(i=>{let{id:l}=i;return l});return(r=a?.indexOf(e.id))!=null?r:-1},e.getCenterVisibleCells=k(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,s)=>{const a=[...r??[],...s??[]];return n.filter(i=>!a.includes(i.column.id))},{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),e.getLeftVisibleCells=k(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,,],(n,r)=>(r??[]).map(a=>n.find(i=>i.column.id===a)).filter(Boolean).map(a=>({...a,position:"left"})),{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),e.getRightVisibleCells=k(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(a=>n.find(i=>i.column.id===a)).filter(Boolean).map(a=>({...a,position:"right"})),{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}})},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?Dt():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:Dt())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var s,a;return!!((s=r.left)!=null&&s.length||(a=r.right)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=k(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(s=>s.id===r)).filter(Boolean),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),e.getRightLeafColumns=k(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(s=>s.id===r)).filter(Boolean),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),e.getCenterLeafColumns=k(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const s=[...n??[],...r??[]];return t.filter(a=>!s.includes(a.id))},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?It():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:It())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var s,a;return!!((s=r.top)!=null&&s.length||(a=r.bottom)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=t=>k(()=>[e.getRowModel().rows,e.getState().rowPinning[t]],(n,r)=>{var s;return((s=e.options.keepPinnedRows)==null||s?(r??[]).map(i=>{const l=e.getRow(i,!0);return l.getIsAllParentsExpanded()?l:null}):(r??[]).map(i=>n.find(l=>l.id===i))).filter(Boolean).map(i=>({...i,position:t}))},{key:!1,debug:()=>{var n;return(n=e.options.debugAll)!=null?n:e.options.debugRows}})(),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=k(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const s=new Set([...n??[],...r??[]]);return t.filter(a=>!s.has(a.id))},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugRows}})}},ff={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Q("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},s=e.getPreGroupedRowModel().flatRows;return t?s.forEach(a=>{a.getCanSelect()&&(r[a.id]=!0)}):s.forEach(a=>{delete r[a.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),s={...n};return e.getRowModel().rows.forEach(a=>{Zt(s,a.id,r,!0,e)}),s}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=k(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?Vt(e,n):{rows:[],flatRows:[],rowsById:{}},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),e.getFilteredSelectedRowModel=k(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?Vt(e,n):{rows:[],flatRows:[],rowsById:{}},{key:"getFilteredSelectedRowModel",debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),e.getGroupedSelectedRowModel=k(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?Vt(e,n):{rows:[],flatRows:[],rowsById:{}},{key:"getGroupedSelectedRowModel",debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(s=>s.getCanSelect()&&!n[s.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(s=>s.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(s=>!n[s.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const s=e.getIsSelected();t.setRowSelection(a=>{var i;if(n=typeof n<"u"?n:!s,e.getCanSelect()&&s===n)return a;const l={...a};return Zt(l,e.id,n,(i=r?.selectChildren)!=null?i:!0,t),l})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Rn(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return Yt(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return Yt(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var s;n&&e.toggleSelected((s=r.target)==null?void 0:s.checked)}}}},Zt=(e,t,n,r,s)=>{var a;const i=s.getRow(t);n?(i.getCanMultiSelect()||Object.keys(e).forEach(l=>delete e[l]),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(a=i.subRows)!=null&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach(l=>Zt(e,l.id,n,r,s))};function Vt(e,t){const n=e.getState().rowSelection,r=[],s={},a=function(i,l){return i.map(c=>{var d;const u=Rn(c,n);if(u&&(r.push(c),s[c.id]=c),(d=c.subRows)!=null&&d.length&&(c={...c,subRows:a(c.subRows)}),u)return c}).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:s}}function Rn(e,t){var n;return(n=t[e.id])!=null?n:!1}function Yt(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let s=!0,a=!1;return e.subRows.forEach(i=>{if(!(a&&!s)&&(i.getCanSelect()&&(Rn(i,t)?a=!0:s=!1),i.subRows&&i.subRows.length)){const l=Yt(i,t);l==="all"?a=!0:(l==="some"&&(a=!0),s=!1)}}),s?"all":a?"some":!1}const Qt=/([0-9]+)/gm,gf=(e,t,n)=>Us(pe(e.getValue(n)).toLowerCase(),pe(t.getValue(n)).toLowerCase()),pf=(e,t,n)=>Us(pe(e.getValue(n)),pe(t.getValue(n))),mf=(e,t,n)=>Nn(pe(e.getValue(n)).toLowerCase(),pe(t.getValue(n)).toLowerCase()),hf=(e,t,n)=>Nn(pe(e.getValue(n)),pe(t.getValue(n))),xf=(e,t,n)=>{const r=e.getValue(n),s=t.getValue(n);return r>s?1:rNn(e.getValue(n),t.getValue(n));function Nn(e,t){return e===t?0:e>t?1:-1}function pe(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Us(e,t){const n=e.split(Qt).filter(Boolean),r=t.split(Qt).filter(Boolean);for(;n.length&&r.length;){const s=n.shift(),a=r.shift(),i=parseInt(s,10),l=parseInt(a,10),c=[i,l].sort();if(isNaN(c[0])){if(s>a)return 1;if(a>s)return-1;continue}if(isNaN(c[1]))return isNaN(i)?-1:1;if(i>l)return 1;if(l>i)return-1}return n.length-r.length}const De={alphanumeric:gf,alphanumericCaseSensitive:pf,text:mf,textCaseSensitive:hf,datetime:xf,basic:vf},bf={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Q("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const s of n){const a=s?.getValue(e.id);if(Object.prototype.toString.call(a)==="[object Date]")return De.datetime;if(typeof a=="string"&&(r=!0,a.split(Qt).length>1))return De.alphanumeric}return r?De.text:De.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof n?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return lt(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:De[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const s=e.getNextSortingOrder(),a=typeof n<"u"&&n!==null;t.setSorting(i=>{const l=i?.find(p=>p.id===e.id),c=i?.findIndex(p=>p.id===e.id);let d=[],u,g=a?n:s==="desc";if(i!=null&&i.length&&e.getCanMultiSort()&&r?l?u="toggle":u="add":i!=null&&i.length&&c!==i.length-1?u="replace":l?u="toggle":u="replace",u==="toggle"&&(a||s||(u="remove")),u==="add"){var m;d=[...i,{id:e.id,desc:g}],d.splice(0,d.length-((m=t.options.maxMultiSortColCount)!=null?m:Number.MAX_SAFE_INTEGER))}else u==="toggle"?d=i.map(p=>p.id===e.id?{...p,desc:g}:p):u==="remove"?d=i.filter(p=>p.id!==e.id):d=[{id:e.id,desc:g}];return d})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,s;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?i!==a&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(s=t.options.enableMultiRemove)!=null)||s)?!1:i==="desc"?"asc":"desc":a},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(s=>s.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(s=>s.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},wf={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Q("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;return(n=(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=k(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),{key:"row._getAllVisibleCells",debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),e.getVisibleCells=k(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,s)=>[...n,...r,...s],{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}})},createTable:e=>{const t=(n,r)=>k(()=>[r(),r().filter(s=>s.getIsVisible()).map(s=>s.id).join("_")],s=>s.filter(a=>a.getIsVisible==null?void 0:a.getIsVisible()),{key:n,debug:()=>{var s;return(s=e.options.debugAll)!=null?s:e.options.debugColumns}});e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((s,a)=>({...s,[a.id]:n||!(a.getCanHide!=null&&a.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}},Zn=[qu,wf,df,uf,Xu,bf,af,Ju,cf,ff,Wu];function yf(e){var t;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let n={_features:Zn};const r=n._features.reduce((u,g)=>Object.assign(u,g.getDefaultOptions==null?void 0:g.getDefaultOptions(n)),{}),s=u=>n.options.mergeOptions?n.options.mergeOptions(r,u):{...r,...u};let i={...{},...(t=e.initialState)!=null?t:{}};n._features.forEach(u=>{var g;i=(g=u.getInitialState==null?void 0:u.getInitialState(i))!=null?g:i});const l=[];let c=!1;const d={_features:Zn,options:{...r,...e},initialState:i,_queue:u=>{l.push(u),c||(c=!0,Promise.resolve().then(()=>{for(;l.length;)l.shift()();c=!1}).catch(g=>setTimeout(()=>{throw g})))},reset:()=>{n.setState(n.initialState)},setOptions:u=>{const g=ge(u,n.options);n.options=s(g)},getState:()=>n.options.state,setState:u=>{n.options.onStateChange==null||n.options.onStateChange(u)},_getRowId:(u,g,m)=>{var p;return(p=n.options.getRowId==null?void 0:n.options.getRowId(u,g,m))!=null?p:`${m?[m.id,g].join("."):g}`},getCoreRowModel:()=>(n._getCoreRowModel||(n._getCoreRowModel=n.options.getCoreRowModel(n)),n._getCoreRowModel()),getRowModel:()=>n.getPaginationRowModel(),getRow:(u,g)=>{const m=(g?n.getCoreRowModel():n.getRowModel()).rowsById[u];if(!m)throw new Error;return m},_getDefaultColumnDef:k(()=>[n.options.defaultColumn],u=>{var g;return u=(g=u)!=null?g:{},{header:m=>{const p=m.header.column.columnDef;return p.accessorKey?p.accessorKey:p.accessorFn?p.id:null},cell:m=>{var p,x;return(p=(x=m.renderValue())==null||x.toString==null?void 0:x.toString())!=null?p:null},...n._features.reduce((m,p)=>Object.assign(m,p.getDefaultColumnDef==null?void 0:p.getDefaultColumnDef()),{}),...u}},{debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns},key:!1}),_getColumnDefs:()=>n.options.columns,getAllColumns:k(()=>[n._getColumnDefs()],u=>{const g=function(m,p,x){return x===void 0&&(x=0),m.map(h=>{const R=Uu(n,h,x,p),$=h;return R.columns=$.columns?g($.columns,R,x+1):[],R})};return g(u)},{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),getAllFlatColumns:k(()=>[n.getAllColumns()],u=>u.flatMap(g=>g.getFlatColumns()),{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),_getAllFlatColumnsById:k(()=>[n.getAllFlatColumns()],u=>u.reduce((g,m)=>(g[m.id]=m,g),{}),{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),getAllLeafColumns:k(()=>[n.getAllColumns(),n._getOrderColumnsFn()],(u,g)=>{let m=u.flatMap(p=>p.getLeafColumns());return g(m)},{key:!1,debug:()=>{var u;return(u=n.options.debugAll)!=null?u:n.options.debugColumns}}),getColumn:u=>n._getAllFlatColumnsById()[u]};Object.assign(n,d);for(let u=0;u{var i;return(i=a.getValue())!=null?i:e.options.renderFallbackValue},a={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:s,getContext:k(()=>[e,n,t,a],(i,l,c,d)=>({table:i,column:l,row:c,cell:d,getValue:d.getValue,renderValue:d.renderValue}),{key:!1,debug:()=>e.options.debugAll})};return e._features.forEach(i=>{i.createCell==null||i.createCell(a,n,t,e)},{}),a}const _n=(e,t,n,r,s,a,i)=>{let l={id:t,index:r,original:n,depth:s,parentId:i,_valuesCache:{},_uniqueValuesCache:{},getValue:c=>{if(l._valuesCache.hasOwnProperty(c))return l._valuesCache[c];const d=e.getColumn(c);if(d!=null&&d.accessorFn)return l._valuesCache[c]=d.accessorFn(l.original,r),l._valuesCache[c]},getUniqueValues:c=>{if(l._uniqueValuesCache.hasOwnProperty(c))return l._uniqueValuesCache[c];const d=e.getColumn(c);if(d!=null&&d.accessorFn)return d.columnDef.getUniqueValues?(l._uniqueValuesCache[c]=d.columnDef.getUniqueValues(l.original,r),l._uniqueValuesCache[c]):(l._uniqueValuesCache[c]=[l.getValue(c)],l._uniqueValuesCache[c])},renderValue:c=>{var d;return(d=l.getValue(c))!=null?d:e.options.renderFallbackValue},subRows:a??[],getLeafRows:()=>Bu(l.subRows,c=>c.subRows),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let c=[],d=l;for(;;){const u=d.getParentRow();if(!u)break;c.push(u),d=u}return c.reverse()},getAllCells:k(()=>[e.getAllLeafColumns()],c=>c.map(d=>jf(e,l,d,d.id)),{key:!1,debug:()=>{var c;return(c=e.options.debugAll)!=null?c:e.options.debugRows}}),_getAllCellsByColumnId:k(()=>[l.getAllCells()],c=>c.reduce((d,u)=>(d[u.column.id]=u,d),{}),{key:"row.getAllCellsByColumnId",debug:()=>{var c;return(c=e.options.debugAll)!=null?c:e.options.debugRows}})};for(let c=0;ck(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(s,a,i){a===void 0&&(a=0);const l=[];for(let d=0;d{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function Cf(e,t,n){return n.options.filterFromLeafRows?$f(e,t,n):Rf(e,t,n)}function $f(e,t,n){var r;const s=[],a={},i=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,l=function(c,d){d===void 0&&(d=0);const u=[];for(let m=0;mk(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{if(!t.rows.length||!(n!=null&&n.length)&&!r){for(let m=0;m{var p;const x=e.getColumn(m.id);if(!x)return;const h=x.getFilterFn();h&&s.push({id:m.id,filterFn:h,resolvedValue:(p=h.resolveFilterValue==null?void 0:h.resolveFilterValue(m.value))!=null?p:m.value})});const i=n.map(m=>m.id),l=e.getGlobalFilterFn(),c=e.getAllLeafColumns().filter(m=>m.getCanGlobalFilter());r&&l&&c.length&&(i.push("__global__"),c.forEach(m=>{var p;a.push({id:m.id,filterFn:l,resolvedValue:(p=l.resolveFilterValue==null?void 0:l.resolveFilterValue(r))!=null?p:r})}));let d,u;for(let m=0;m{p.columnFiltersMeta[h]=R})}if(a.length){for(let x=0;x{p.columnFiltersMeta[h]=R})){p.columnFilters.__global__=!0;break}}p.columnFilters.__global__!==!0&&(p.columnFilters.__global__=!1)}}const g=m=>{for(let p=0;p{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function _f(){return e=>k(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,s=[],a=r.filter(c=>{var d;return(d=e.getColumn(c.id))==null?void 0:d.getCanSort()}),i={};a.forEach(c=>{const d=e.getColumn(c.id);d&&(i[c.id]={sortUndefined:d.columnDef.sortUndefined,invertSorting:d.columnDef.invertSorting,sortingFn:d.getSortingFn()})});const l=c=>{const d=c.map(u=>({...u}));return d.sort((u,g)=>{for(let p=0;p{var g;s.push(u),(g=u.subRows)!=null&&g.length&&(u.subRows=l(u.subRows))}),d};return{rows:l(n.rows),flatRows:s,rowsById:n.rowsById}},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function Af(e){const t=[],n=r=>{var s;t.push(r),(s=r.subRows)!=null&&s.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Mf(e){return t=>k(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:s,pageIndex:a}=n;let{rows:i,flatRows:l,rowsById:c}=r;const d=s*a,u=d+s;i=i.slice(d,u);let g;t.options.paginateExpandedRows?g={rows:i,flatRows:l,rowsById:c}:g=Af({rows:i,flatRows:l,rowsById:c}),g.flatRows=[];const m=p=>{g.flatRows.push(p),p.subRows.length&&p.subRows.forEach(m)};return g.rows.forEach(m),g},{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugTable}})}/** * react-table * * Copyright (c) TanStack @@ -35,7 +35,7 @@ import{r as f,a as ia,$ as ur,b as la,c as fr,C as sn,d as gr,e as pr,f as an,g * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Yn(e,t){return e?Ef(e)?f.createElement(e,t):e:null}function Ef(e){return kf(e)||typeof e=="function"||Pf(e)}function kf(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function Pf(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function Ff(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=f.useState(()=>({current:yf(t)})),[r,s]=f.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:i=>{s(i),e.onStateChange==null||e.onStateChange(i)}})),n.current}const Df=[{id:"m5gr84i9",amount:316,status:"success",email:"ken99@yahoo.com"},{id:"3u1reuv4",amount:242,status:"success",email:"Abe45@gmail.com"},{id:"derv1ws0",amount:837,status:"processing",email:"Monserrat44@gmail.com"},{id:"5kma53ae",amount:874,status:"success",email:"Silas22@gmail.com"},{id:"bhqecj4p",amount:721,status:"failed",email:"carmella@hotmail.com"}],Qn=[{id:"select",header:({table:e})=>o.jsx(Gt,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:t=>e.toggleAllPageRowsSelected(!!t),"aria-label":"Select all"}),cell:({row:e})=>o.jsx(Gt,{checked:e.getIsSelected(),onCheckedChange:t=>e.toggleSelected(!!t),"aria-label":"Select row"}),enableSorting:!1,enableHiding:!1},{accessorKey:"status",header:"Status",cell:({row:e})=>o.jsx("div",{className:"capitalize",children:e.getValue("status")})},{accessorKey:"email",header:({column:e})=>o.jsxs(Y,{variant:"ghost",onClick:()=>e.toggleSorting(e.getIsSorted()==="asc"),children:["Email",o.jsx(Tr,{className:"ml-2 h-4 w-4"})]}),cell:({row:e})=>o.jsx("div",{className:"lowercase",children:e.getValue("email")})},{accessorKey:"amount",header:()=>o.jsx("div",{className:"text-right",children:"Amount"}),cell:({row:e})=>{const t=parseFloat(e.getValue("amount")),n=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(t);return o.jsx("div",{className:"text-right font-medium",children:n})}},{id:"actions",enableHiding:!1,cell:({row:e})=>{const t=e.original;return o.jsxs(xn,{children:[o.jsx(vn,{asChild:!0,children:o.jsxs(Y,{className:"h-8 w-8 p-0",variant:"ghost",children:[o.jsx("span",{className:"sr-only",children:"Open menu"}),o.jsx(Va,{className:"h-4 w-4"})]})}),o.jsxs(xt,{align:"end",children:[o.jsx(Vo,{children:"Actions"}),o.jsx(Ve,{onClick:()=>navigator.clipboard.writeText(t.id),children:"Copy payment ID"}),o.jsx(Oo,{}),o.jsx(Ve,{children:"View customer"}),o.jsx(Ve,{children:"View payment details"})]})]})}}];function If(){const[e,t]=f.useState([]),[n,r]=f.useState([]),[s,a]=f.useState({}),[i,l]=f.useState({}),c=Ff({data:Df,columns:Qn,onSortingChange:t,onColumnFiltersChange:r,getCoreRowModel:Sf(),getPaginationRowModel:Mf(),getSortedRowModel:_f(),getFilteredRowModel:Nf(),onColumnVisibilityChange:a,onRowSelectionChange:l,state:{sorting:e,columnFilters:n,columnVisibility:s,rowSelection:i}});return o.jsxs("div",{className:"w-full",children:[o.jsxs("div",{className:"flex items-center py-4",children:[o.jsx(Le,{className:"max-w-sm",placeholder:"Filter emails...",value:c.getColumn("email")?.getFilterValue()??"",onChange:d=>c.getColumn("email")?.setFilterValue(d.target.value)}),o.jsxs(xn,{children:[o.jsx(vn,{asChild:!0,children:o.jsxs(Y,{className:"ml-auto",variant:"outline",children:["Columns",o.jsx(cn,{className:"ml-2 h-4 w-4"})]})}),o.jsx(xt,{align:"end",children:c.getAllColumns().filter(d=>d.getCanHide()).map(d=>o.jsx(Io,{className:"capitalize",checked:d.getIsVisible(),onCheckedChange:u=>d.toggleVisibility(!!u),children:d.id},d.id))})]})]}),o.jsx("div",{className:"rounded-md border",children:o.jsxs(wn,{children:[o.jsx(yn,{children:c.getHeaderGroups().map(d=>o.jsx(be,{children:d.headers.map(u=>o.jsx(Ce,{children:u.isPlaceholder?null:Yn(u.column.columnDef.header,u.getContext())},u.id))},d.id))}),o.jsx(jn,{children:c.getRowModel().rows?.length?c.getRowModel().rows.map(d=>o.jsx(be,{"data-state":d.getIsSelected()&&"selected",children:d.getVisibleCells().map(u=>o.jsx(ie,{children:Yn(u.column.columnDef.cell,u.getContext())},u.id))},d.id)):o.jsx(be,{children:o.jsx(ie,{className:"h-24 text-center",colSpan:Qn.length,children:"No results."})})})]})}),o.jsxs("div",{className:"flex items-center justify-end space-x-2 py-4",children:[o.jsxs("div",{className:"flex-1 text-sm text-muted-foreground",children:[c.getFilteredSelectedRowModel().rows.length," of"," ",c.getFilteredRowModel().rows.length," row(s) selected."]}),o.jsxs("div",{className:"space-x-2",children:[o.jsx(Y,{variant:"outline",size:"sm",onClick:()=>c.previousPage(),disabled:!c.getCanPreviousPage(),children:"Previous"}),o.jsx(Y,{variant:"outline",size:"sm",onClick:()=>c.nextPage(),disabled:!c.getCanNextPage(),children:"Next"})]})]})]})}const Vf=[{invoice:"INV001",paymentStatus:"Paid",totalAmount:"$250.00",paymentMethod:"Credit Card"},{invoice:"INV002",paymentStatus:"Pending",totalAmount:"$150.00",paymentMethod:"PayPal"},{invoice:"INV003",paymentStatus:"Unpaid",totalAmount:"$350.00",paymentMethod:"Bank Transfer"},{invoice:"INV004",paymentStatus:"Paid",totalAmount:"$450.00",paymentMethod:"Credit Card"},{invoice:"INV005",paymentStatus:"Paid",totalAmount:"$550.00",paymentMethod:"PayPal"},{invoice:"INV006",paymentStatus:"Pending",totalAmount:"$200.00",paymentMethod:"Bank Transfer"},{invoice:"INV007",paymentStatus:"Unpaid",totalAmount:"$300.00",paymentMethod:"Credit Card"}];function Of(e){return o.jsxs(wn,{...e,children:[o.jsx(fs,{children:"A list of your recent invoices."}),o.jsx(yn,{children:o.jsxs(be,{children:[o.jsx(Ce,{className:"w-[100px]",children:"Invoice"}),o.jsx(Ce,{children:"Status"}),o.jsx(Ce,{children:"Method"}),o.jsx(Ce,{className:"text-right",children:"Amount"})]})}),o.jsx(jn,{children:Vf.map(t=>o.jsxs(be,{children:[o.jsx(ie,{className:"font-medium",children:t.invoice}),o.jsx(ie,{children:t.paymentStatus}),o.jsx(ie,{children:t.paymentMethod}),o.jsx(ie,{className:"text-right",children:t.totalAmount})]},t.invoice))}),o.jsx(us,{className:"text-muted-foreground bg-muted",children:o.jsxs(be,{children:[o.jsx(ie,{colSpan:3,children:"Total"}),o.jsx(ie,{className:"text-right",children:"$2,500.00"})]})})]})}function Lf(){return o.jsxs("div",{className:"flex items-center space-x-4",children:[o.jsx(Rt,{className:"h-12 w-12 rounded-full"}),o.jsxs("div",{className:"space-y-2",children:[o.jsx(Rt,{className:"h-4 w-[250px]"}),o.jsx(Rt,{className:"h-4 w-[200px]"})]})]})}const en="focus:ring-primary-600 dark:focus:ring-primary-400 focus:ring-offset-primary-200 dark:focus:ring-offset-primary-800 focus:ring-1 focus:ring-offset-1 focus:outline-none",zf=[{id:"1",name:"Unread"},{id:"2",name:"Threads"},{id:"3",name:"Chat Rooms",children:[{id:"3.1",name:"General"},{id:"3.2",name:"Random"},{id:"3.3",name:"Open Source Projects"}]},{id:"4",name:"Direct Messages",children:[{id:"4.1",name:"Alice",children:[{id:"4.1.1",name:"Alice2",icon:On},{id:"4.1.2",name:"Bob2"},{id:"4.1.3",name:"Charlie2"}]},{id:"4.2",name:"Bob",icon:On},{id:"4.3",name:"Charlie"}]},{id:"5",name:"Direct Messages",children:[{id:"5.1",name:"Alice",children:[{id:"5.1.1",name:"Alice2"},{id:"5.1.2",name:"Bob2"},{id:"5.1.3",name:"Charlie2"}]},{id:"5.2",name:"Bob"},{id:"5.3",name:"Charlie"}]},{id:"6",name:"Direct Messages",children:[{id:"6.1",name:"Alice",children:[{id:"6.1.1",name:"Alice2"},{id:"6.1.2",name:"Bob2"},{id:"6.1.3",name:"Charlie2"}]},{id:"6.2",name:"Bob"},{id:"6.3",name:"Charlie"}]}],Tf=f.forwardRef(({data:e,initialSelectedItemId:t,onSelectChange:n,expandAll:r,IconForFolder:s,IconForItem:a,className:i,...l},c)=>{const[d]=f.useState(()=>Ue({selectedId:void 0})),u=f.useMemo(()=>{const $=xs(e,t,r),w=xe(e,d.selectedId);w&&(w.state.selected=!1);const A=xe(e,$[$.length-1]);return A&&(A.state.selected=!0,d.selectedId=A.id),$},[e,t,r]),p=f.useCallback(($,w)=>{if($.stopPropagation(),d.selectedId){const A=xe(e,d.selectedId);A&&(A.state.selected=!1)}w?(w.state.selected=!w.state.selected,d.selectedId=w.id):d.selectedId=void 0,n?.(w)},[d,n]),m=f.useRef(null),{ref:g,width:x,height:h}=gs();return o.jsx("div",{ref:$=>{g($),m.current=$},className:v("_overflow-hidden",i),tabIndex:0,onKeyDown:$=>{const w=vs(m.current,$,d.selectedId);w&&p($,xe(e,w))},children:o.jsx(vt,{className:"tree-scroll",style:{width:x,height:h},onClick:$=>p($,void 0),children:o.jsx("div",{className:"relative z-0 px-2 py-1",children:o.jsx(qs,{ref:c,data:e,handleSelectChange:p,expandedItemIds:u,IconForFolder:s,IconForItem:a,...l})})})})}),qs=f.forwardRef(({className:e,data:t,handleSelectChange:n,expandedItemIds:r,IconForFolder:s,IconForItem:a,...i},l)=>o.jsx("div",{ref:l,role:"tree",className:e,...i,children:o.jsx("ul",{children:t instanceof Array?t.map(c=>o.jsx("li",{children:c.children?o.jsx(pn,{type:"multiple",defaultValue:r,children:o.jsxs(fn,{value:c.id,"data-tree-id":c.id,"data-tree-folder":ps,children:[o.jsx(Ws,{item:c,Icon:s,onClick:d=>n(d,c)}),o.jsx(Js,{className:"pl-6",children:o.jsx(qs,{data:c.children,handleSelectChange:n,expandedItemIds:r,IconForFolder:s,IconForItem:a})})]})}):o.jsx(tn,{item:c,onClick:d=>n(d,c),Icon:a})},c.id)):o.jsx("li",{children:o.jsx(tn,{item:t,onClick:c=>n(c,t),Icon:a})})})})),tn=f.forwardRef(({className:e,item:t,Icon:n,...r},s)=>{const{selected:a}=yt(t.state);return o.jsx("div",{ref:s,className:v(js,e,a&&Ss),"data-tree-id":t.id,...r,children:o.jsx(Xs,{item:t,Icon:n,classes:Cs})})});tn.displayName="Tree.Leaf";const Ws=f.forwardRef(({className:e,item:t,Icon:n,...r},s)=>{const{selected:a}=yt(t.state);return o.jsx(Ks,{className:v(bs,a&&ws),"data-tree-folder-trigger":ms,ref:s,...r,children:o.jsx(Xs,{item:t,Icon:n,classes:ys})})});Ws.displayName="Tree.Folder";const Ks=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(gn,{children:o.jsx(pt,{asChild:!0,className:v("flex-1 py-1 w-full transition-all last:[&[data-state=open]>svg]:rotate-90 outline-none cursor-pointer flex items-center",e),ref:r,...n,children:o.jsxs("div",{children:[t,o.jsx(ns,{className:"shrink-0 ml-auto h-4 w-4 text-accent-foreground/50 transition-transform duration-200"})]})})}));Ks.displayName="Tree.Folder.Trigger";const Js=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(mt,{ref:r,className:v("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down transition-all overflow-hidden",e),...n,children:o.jsx("div",{children:t})}));Js.displayName="Tree.Folder.Content";function Xs({item:e,Icon:t,classes:n}){return o.jsxs(o.Fragment,{children:[e.icon&&o.jsx(e.icon,{className:n,"aria-hidden":"true"}),!e.icon&&t&&o.jsx(t,{className:n,"aria-hidden":"true"}),o.jsx("span",{className:"flex-grow text-sm truncate",children:e.name})]})}const Zs={display:"flex",flex:"1"},Gf=(e,t)=>{const n={...Zs};return e?n.minHeight=n.maxHeight=t+"%":n.minWidth=n.maxWidth=t+"%",n},Hf={...Zs,minWidth:0,minHeight:0};function Bf(e){const{vertical:t=!0,min:n=0,max:r=100,className:s,children:a,position:i,setPosition:l,onResize:c}=e,d=ve.useRef(null),u=ve.useCallback(m=>{if(!d.current)return;m.preventDefault();const{current:g}=d,x=g.getBoundingClientRect(),h=t?window.scrollY+x.y:window.scrollX+x.x,$=t?g.offsetHeight:g.offsetWidth,w=I=>{I.preventDefault();const O=((t?I.pageY:I.pageX)-h)/$*100,G=+wi(yi(O,n,r));l(G)},A=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",A),c?.()};document.addEventListener("mousemove",w),document.addEventListener("mouseup",A)},[d,t]);let p=ve.Children.toArray(a);return p.length<2?o.jsx("div",{className:s,style:{display:"flex"},children:p}):o.jsxs("div",{ref:d,className:s,style:{display:"flex",flexDirection:t?"column":"row"},children:[o.jsx("div",{style:Gf(t,i),children:p[0]}),o.jsx("div",{className:J("splitpane-divider",t?"vertical":"horizontal"),onMouseDown:u}),o.jsx("div",{style:Hf,children:p[1]})]})}const Uf="d09GMgABAAAAAADcAAoAAAAAAggAAACWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABk4ALAoUNAE2AiQDCAsGAAQgBSAHIBtvAcieB3aD8wURQ+TZazbRE9HvF5vde4KCYGhiCgq/NKPF0i6UIsZynbP+Xi9Ng+XLbNlmNz/xIBBqq61FIQRJhC/+QA/08PJQJ3sK5TZFMlWzC/iK5GUN40psgqvxwBjBOg6JUSJ7ewyKE2AAaXZrfUB4v+hze37ugJ9d+DeYqiDwVgCawviwVFGnuttkLqIMGivmDg",qf=`data:application/font-woff2;base64,${Uf}`,rt=Ue({text:qf}),Ye=Ue({fontText:rt.text,xmlText:"",glyphs:[]});function Wf(){const e=/^\s*data:(?[\w\/\+-]*);?(?(?:charset=[\w-]+)?);?(?base64?),(?[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%]*)\s*$/i;t();function t(){Ye.dataUri=e.exec(rt.text)?.groups}wt(rt,()=>{Ye.fontText=rt.text,t(),Ye.isUrl=!1,Ye.dataUri})}Wf();let Kf=0;function Ys(e,t){const n=`atom${++Kf}`,r={toString:()=>n};return typeof e=="function"?r.read=e:(r.init=e,r.read=s=>s(r),r.write=(s,a,i)=>a(r,typeof i=="function"?i(s(r)):i)),t&&(r.write=t),r}const er=e=>"init"in e,tr=e=>!!e.write,lt=new WeakMap,Jf=(e,t)=>{lt.set(e,t),e.catch(()=>{}).finally(()=>lt.delete(e))},nr=(e,t)=>{const n=lt.get(e);n&&(lt.delete(e),n(t))},rr=(e,t)=>{e.status="fulfilled",e.value=t},or=(e,t)=>{e.status="rejected",e.reason=t},Xf=e=>typeof e?.then=="function",Qe=(e,t)=>"v"in e&&"v"in t&&Object.is(e.v,t.v),sr=(e,t)=>"e"in e&&"e"in t&&Object.is(e.e,t.e),Ie=e=>"v"in e&&e.v instanceof Promise,Zf=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,et=e=>{if("e"in e)throw e.e;return e.v},Yf=()=>{const e=new WeakMap,t=new WeakMap,n=new Map;let r,s;const a=y=>e.get(y),i=(y,S)=>{const R=e.get(y);if(e.set(y,S),n.has(y)||n.set(y,R),R&&Ie(R)){const b="v"in S?S.v instanceof Promise?S.v:Promise.resolve(S.v):Promise.reject(S.e);R.v!==b&&nr(R.v,b)}},l=(y,S,R)=>{const b=new Map;let C=!1;R.forEach((_,N)=>{!_&&N===y&&(_=S),_&&(b.set(N,_),S.d.get(N)!==_&&(C=!0))}),(C||S.d.size!==b.size)&&(S.d=b)},c=(y,S,R)=>{const b=a(y),C={d:b?.d||new Map,v:S};if(R&&l(y,C,R),b&&Qe(b,C)&&b.d===C.d)return b;if(b&&Ie(b)&&Ie(C)&&Zf(b,C)){if(b.d===C.d)return b;C.v=b.v}return i(y,C),C},d=(y,S,R,b)=>{if(Xf(S)){let C;const _=new Promise((N,k)=>{let D=!1;S.then(F=>{if(!D){D=!0;const L=a(y),j=c(y,_,R);rr(_,F),N(F),t.has(y)&&L?.d!==j.d&&G(y,j,L?.d)}},F=>{if(!D){D=!0;const L=a(y),j=c(y,_,R);or(_,F),k(F),t.has(y)&&L?.d!==j.d&&G(y,j,L?.d)}}),C=F=>{D||(D=!0,F.then(L=>rr(_,L),L=>or(_,L)),N(F))}});return _.orig=S,_.status="pending",Jf(_,N=>{N&&C(N),b?.()}),c(y,_,R)}return c(y,S,R)},u=(y,S,R)=>{const b=a(y),C={d:b?.d||new Map,e:S};return R&&l(y,C,R),b&&sr(b,C)&&b.d===C.d?b:(i(y,C),C)},p=(y,S)=>{const R=a(y);if(!S&&R&&(t.has(y)||Array.from(R.d).every(([F,L])=>F===y||p(F)===L)))return R;const b=new Map;let C=!0;const _=F=>{if(F===y){const j=a(F);if(j)return b.set(F,j),et(j);if(er(F))return b.set(F,void 0),F.init;throw new Error("no atom init")}const L=p(F);return b.set(F,L),et(L)};let N,k;const D={get signal(){return N||(N=new AbortController),N.signal},get setSelf(){return!k&&tr(y)&&(k=(...F)=>{if(!C)return A(y,...F)}),k}};try{const F=y.read(_,D);return d(y,F,b,()=>N?.abort())}catch(F){return u(y,F,b)}finally{C=!1}},m=y=>et(p(y)),g=y=>{let S=t.get(y);return S||(S=I(y)),S},x=(y,S)=>!S.l.size&&(!S.t.size||S.t.size===1&&S.t.has(y)),h=y=>{const S=t.get(y);S&&x(y,S)&&O(y)},$=y=>{const S=new Map,R=new WeakMap,b=N=>{var k;const D=new Set((k=t.get(N))==null?void 0:k.t);return n.forEach((F,L)=>{var j;(j=a(L))!=null&&j.d.has(N)&&D.add(L)}),D},C=N=>{b(N).forEach(k=>{k!==N&&(S.set(k,(S.get(k)||new Set).add(N)),R.set(k,(R.get(k)||0)+1),C(k))})};C(y);const _=N=>{b(N).forEach(k=>{var D;if(k!==N){let F=R.get(k);if(F&&R.set(k,--F),!F){let L=!!((D=S.get(k))!=null&&D.size);if(L){const j=a(k),P=p(k,!0);L=!j||!Qe(j,P)}L||S.forEach(j=>j.delete(k))}_(k)}})};_(y)},w=(y,...S)=>{let R=!0;const b=N=>et(p(N)),C=(N,...k)=>{let D;if(N===y){if(!er(N))throw new Error("atom not writable");const F=a(N),L=d(N,k[0]);(!F||!Qe(F,L))&&$(N)}else D=w(N,...k);if(!R){const F=U()}return D},_=y.write(b,C,...S);return R=!1,_},A=(y,...S)=>{const R=w(y,...S),b=U();return R},I=(y,S,R)=>{var b;const C=R||[];(b=a(y))==null||b.d.forEach((N,k)=>{const D=t.get(k);D?D.t.add(y):k!==y&&I(k,y,C)}),p(y);const _={t:new Set(S&&[S]),l:new Set};if(t.set(y,_),tr(y)&&y.onMount){const{onMount:N}=y;C.push(()=>{const k=N((...D)=>A(y,...D));k&&(_.u=k)})}return R||C.forEach(N=>N()),_},O=y=>{var S;const R=(S=t.get(y))==null?void 0:S.u;R&&R(),t.delete(y);const b=a(y);b&&(Ie(b)&&nr(b.v),b.d.forEach((C,_)=>{if(_!==y){const N=t.get(_);N&&(N.t.delete(y),x(_,N)&&O(_))}}))},G=(y,S,R)=>{const b=new Set(S.d.keys());R?.forEach((C,_)=>{if(b.has(_)){b.delete(_);return}const N=t.get(_);N&&(N.t.delete(y),x(_,N)&&O(_))}),b.forEach(C=>{const _=t.get(C);_?_.t.add(y):t.has(y)&&I(C,y)})},U=()=>{let y;for(;n.size;){const S=Array.from(n);n.clear(),S.forEach(([R,b])=>{const C=a(R);if(C){const _=t.get(R);_&&C.d!==b?.d&&G(R,C,b?.d),_&&!(b&&!Ie(b)&&(Qe(b,C)||sr(b,C)))&&_.l.forEach(N=>N())}})}};return{get:m,set:A,sub:(y,S)=>{const R=g(y),b=U(),C=R.l;return C.add(S),()=>{C.delete(S),h(y)}}}};let Vt;const Qf=()=>(Vt||(Vt=Yf()),Vt),eg=f.createContext(void 0),Qs=e=>{const t=f.useContext(eg);return e?.store||t||Qf()},tg=e=>typeof e?.then=="function",ng=ve.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function rg(e,t){const n=Qs(t),[[r,s,a],i]=f.useReducer(d=>{const u=n.get(e);return Object.is(d[0],u)&&d[1]===n&&d[2]===e?d:[u,n,e]},void 0,()=>[n.get(e),n,e]);let l=r;(s!==n||a!==e)&&(i(),l=n.get(e));const c=t?.delay;return f.useEffect(()=>{const d=n.sub(e,()=>{if(typeof c=="number"){setTimeout(i,c);return}i()});return i(),d},[n,e,c]),f.useDebugValue(l),tg(l)?ng(l):l}function ar(e,t){const n=Qs(t);return f.useCallback((...s)=>n.set(e,...s),[n,e])}function og({doDroppedFilesAtom:e,activeAtom:t}){const n=ar(t),r=ar(e),s=f.useRef(0);return f.useEffect(()=>{function a(){s.current++||n(!0)}function i(u){u.preventDefault()}function l(){--s.current||n(!1)}function c(u){u.preventDefault(),s.current=0,n(!1),u.dataTransfer&&r(u.dataTransfer.files)}const d=document.addEventListener;return d("dragenter",a),d("dragover",i),d("dragleave",l),d("drop",c),()=>{const u=document.removeEventListener;u("dragenter",a),u("dragover",i),u("dragleave",l),u("drop",c)}},[]),null}function sg(){const[e]=f.useState(Ys(!1)),t=rg(e);return og({doDroppedFilesAtom:Qg,activeAtom:e}),o.jsx(o.Fragment,{children:t&&o.jsx("div",{className:"absolute inset-0 grid place-items-center text-5xl font-bold text-slate-50 bg-slate-800/90 z-10",children:"Drop it!"})})}let ag={data:""},ig=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||ag,lg=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,dg=/\/\*[^]*?\*\/| +/g,ir=/\n+/g,fe=(e,t)=>{let n="",r="",s="";for(let a in e){let i=e[a];a[0]=="@"?a[1]=="i"?n=a+" "+i+";":r+=a[1]=="f"?fe(i,a):a+"{"+fe(i,a[1]=="k"?"":t)+"}":typeof i=="object"?r+=fe(i,t?t.replace(/([^,])+/g,l=>a.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,l):l?l+" "+c:c)):a):i!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),s+=fe.p?fe.p(a,i):a+":"+i+";")}return n+(t&&s?t+"{"+s+"}":s)+r},ae={},ea=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+ea(e[n]);return t}return e},cg=(e,t,n,r,s)=>{let a=ea(e),i=ae[a]||(ae[a]=(c=>{let d=0,u=11;for(;d>>0;return"go"+u})(a));if(!ae[i]){let c=a!==e?e:(d=>{let u,p,m=[{}];for(;u=lg.exec(d.replace(dg,""));)u[4]?m.shift():u[3]?(p=u[3].replace(ir," ").trim(),m.unshift(m[0][p]=m[0][p]||{})):m[0][u[1]]=u[2].replace(ir," ").trim();return m[0]})(e);ae[i]=fe(s?{["@keyframes "+i]:c}:c,n?"":"."+i)}let l=n&&ae.g?ae.g:null;return n&&(ae.g=ae[i]),((c,d,u,p)=>{p?d.data=d.data.replace(p,c):d.data.indexOf(c)===-1&&(d.data=u?c+d.data:d.data+c)})(ae[i],t,r,l),i},ug=(e,t,n)=>e.reduce((r,s,a)=>{let i=t[a];if(i&&i.call){let l=i(n),c=l&&l.props&&l.props.className||/^go/.test(l)&&l;i=c?"."+c:l&&typeof l=="object"?l.props?"":fe(l,""):l===!1?"":l}return r+s+(i??"")},"");function jt(e){let t=this||{},n=e.call?e(t.p):e;return cg(n.unshift?n.raw?ug(n,[].slice.call(arguments,1),t.p):n.reduce((r,s)=>Object.assign(r,s&&s.call?s(t.p):s),{}):n,ig(t.target),t.g,t.o,t.k)}let ta,nn,rn;jt.bind({g:1});let le=jt.bind({k:1});function fg(e,t,n,r){fe.p=t,ta=e,nn=n,rn=r}function me(e,t){let n=this||{};return function(){let r=arguments;function s(a,i){let l=Object.assign({},a),c=l.className||s.className;n.p=Object.assign({theme:nn&&nn()},l),n.o=/ *go\d+/.test(c),l.className=jt.apply(n,r)+(c?" "+c:""),t&&(l.ref=i);let d=e;return e[0]&&(d=l.as||e,delete l.as),rn&&d[0]&&rn(l),ta(d,l)}return t?t(s):s}}var gg=e=>typeof e=="function",dt=(e,t)=>gg(e)?e(t):e,pg=(()=>{let e=0;return()=>(++e).toString()})(),na=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),mg=20,ot=new Map,hg=1e3,lr=e=>{if(ot.has(e))return;let t=setTimeout(()=>{ot.delete(e),je({type:4,toastId:e})},hg);ot.set(e,t)},xg=e=>{let t=ot.get(e);t&&clearTimeout(t)},on=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,mg)};case 1:return t.toast.id&&xg(t.toast.id),{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case 2:let{toast:n}=t;return e.toasts.find(a=>a.id===n.id)?on(e,{type:1,toast:n}):on(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?lr(r):e.toasts.forEach(a=>{lr(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===r||r===void 0?{...a,visible:!1}:a)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let s=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+s}))}}},st=[],at={toasts:[],pausedAt:void 0},je=e=>{at=on(at,e),st.forEach(t=>{t(at)})},vg={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},bg=(e={})=>{let[t,n]=f.useState(at);f.useEffect(()=>(st.push(n),()=>{let s=st.indexOf(n);s>-1&&st.splice(s,1)}),[t]);let r=t.toasts.map(s=>{var a,i;return{...e,...e[s.type],...s,duration:s.duration||((a=e[s.type])==null?void 0:a.duration)||e?.duration||vg[s.type],style:{...e.style,...(i=e[s.type])==null?void 0:i.style,...s.style}}});return{...t,toasts:r}},wg=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:n?.id||pg()}),qe=e=>(t,n)=>{let r=wg(t,e,n);return je({type:2,toast:r}),r.id},Z=(e,t)=>qe("blank")(e,t);Z.error=qe("error");Z.success=qe("success");Z.loading=qe("loading");Z.custom=qe("custom");Z.dismiss=e=>{je({type:3,toastId:e})};Z.remove=e=>je({type:4,toastId:e});Z.promise=(e,t,n)=>{let r=Z.loading(t.loading,{...n,...n?.loading});return e.then(s=>(Z.success(dt(t.success,s),{id:r,...n,...n?.success}),s)).catch(s=>{Z.error(dt(t.error,s),{id:r,...n,...n?.error})}),e};var yg=(e,t)=>{je({type:1,toast:{id:e,height:t}})},jg=()=>{je({type:5,time:Date.now()})},Sg=e=>{let{toasts:t,pausedAt:n}=bg(e);f.useEffect(()=>{if(n)return;let a=Date.now(),i=t.map(l=>{if(l.duration===1/0)return;let c=(l.duration||0)+l.pauseDuration-(a-l.createdAt);if(c<0){l.visible&&Z.dismiss(l.id);return}return setTimeout(()=>Z.dismiss(l.id),c)});return()=>{i.forEach(l=>l&&clearTimeout(l))}},[t,n]);let r=f.useCallback(()=>{n&&je({type:6,time:Date.now()})},[n]),s=f.useCallback((a,i)=>{let{reverseOrder:l=!1,gutter:c=8,defaultPosition:d}=i||{},u=t.filter(g=>(g.position||d)===(a.position||d)&&g.height),p=u.findIndex(g=>g.id===a.id),m=u.filter((g,x)=>xg.visible).slice(...l?[m+1]:[0,m]).reduce((g,x)=>g+(x.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:yg,startPause:jg,endPause:r,calculateOffset:s}}},Cg=le` + */function Yn(e,t){return e?Ef(e)?f.createElement(e,t):e:null}function Ef(e){return kf(e)||typeof e=="function"||Pf(e)}function kf(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function Pf(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function Ff(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=f.useState(()=>({current:yf(t)})),[r,s]=f.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:i=>{s(i),e.onStateChange==null||e.onStateChange(i)}})),n.current}const Df=[{id:"m5gr84i9",amount:316,status:"success",email:"ken99@yahoo.com"},{id:"3u1reuv4",amount:242,status:"success",email:"Abe45@gmail.com"},{id:"derv1ws0",amount:837,status:"processing",email:"Monserrat44@gmail.com"},{id:"5kma53ae",amount:874,status:"success",email:"Silas22@gmail.com"},{id:"bhqecj4p",amount:721,status:"failed",email:"carmella@hotmail.com"}],Qn=[{id:"select",header:({table:e})=>o.jsx(ze,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:t=>e.toggleAllPageRowsSelected(!!t),"aria-label":"Select all"}),cell:({row:e})=>o.jsx(ze,{checked:e.getIsSelected(),onCheckedChange:t=>e.toggleSelected(!!t),"aria-label":"Select row"}),enableSorting:!1,enableHiding:!1},{accessorKey:"status",header:"Status",cell:({row:e})=>o.jsx("div",{className:"capitalize",children:e.getValue("status")})},{accessorKey:"email",header:({column:e})=>o.jsxs(Y,{variant:"ghost",onClick:()=>e.toggleSorting(e.getIsSorted()==="asc"),children:["Email",o.jsx(Tr,{className:"ml-2 h-4 w-4"})]}),cell:({row:e})=>o.jsx("div",{className:"lowercase",children:e.getValue("email")})},{accessorKey:"amount",header:()=>o.jsx("div",{className:"text-right",children:"Amount"}),cell:({row:e})=>{const t=parseFloat(e.getValue("amount")),n=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(t);return o.jsx("div",{className:"text-right font-medium",children:n})}},{id:"actions",enableHiding:!1,cell:({row:e})=>{const t=e.original;return o.jsxs(xn,{children:[o.jsx(vn,{asChild:!0,children:o.jsxs(Y,{className:"h-8 w-8 p-0",variant:"ghost",children:[o.jsx("span",{className:"sr-only",children:"Open menu"}),o.jsx(Va,{className:"h-4 w-4"})]})}),o.jsxs(vt,{align:"end",children:[o.jsx(Vo,{children:"Actions"}),o.jsx(Ve,{onClick:()=>navigator.clipboard.writeText(t.id),children:"Copy payment ID"}),o.jsx(Oo,{}),o.jsx(Ve,{children:"View customer"}),o.jsx(Ve,{children:"View payment details"})]})]})}}];function If(){const[e,t]=f.useState([]),[n,r]=f.useState([]),[s,a]=f.useState({}),[i,l]=f.useState({}),c=Ff({data:Df,columns:Qn,onSortingChange:t,onColumnFiltersChange:r,getCoreRowModel:Sf(),getPaginationRowModel:Mf(),getSortedRowModel:_f(),getFilteredRowModel:Nf(),onColumnVisibilityChange:a,onRowSelectionChange:l,state:{sorting:e,columnFilters:n,columnVisibility:s,rowSelection:i}});return o.jsxs("div",{className:"w-full",children:[o.jsxs("div",{className:"flex items-center py-4",children:[o.jsx(Le,{className:"max-w-sm",placeholder:"Filter emails...",value:c.getColumn("email")?.getFilterValue()??"",onChange:d=>c.getColumn("email")?.setFilterValue(d.target.value)}),o.jsxs(xn,{children:[o.jsx(vn,{asChild:!0,children:o.jsxs(Y,{className:"ml-auto",variant:"outline",children:["Columns",o.jsx(cn,{className:"ml-2 h-4 w-4"})]})}),o.jsx(vt,{align:"end",children:c.getAllColumns().filter(d=>d.getCanHide()).map(d=>o.jsx(Io,{className:"capitalize",checked:d.getIsVisible(),onCheckedChange:u=>d.toggleVisibility(!!u),children:d.id},d.id))})]})]}),o.jsx("div",{className:"rounded-md border",children:o.jsxs(wn,{children:[o.jsx(yn,{children:c.getHeaderGroups().map(d=>o.jsx(be,{children:d.headers.map(u=>o.jsx(Ce,{children:u.isPlaceholder?null:Yn(u.column.columnDef.header,u.getContext())},u.id))},d.id))}),o.jsx(jn,{children:c.getRowModel().rows?.length?c.getRowModel().rows.map(d=>o.jsx(be,{"data-state":d.getIsSelected()&&"selected",children:d.getVisibleCells().map(u=>o.jsx(ie,{children:Yn(u.column.columnDef.cell,u.getContext())},u.id))},d.id)):o.jsx(be,{children:o.jsx(ie,{className:"h-24 text-center",colSpan:Qn.length,children:"No results."})})})]})}),o.jsxs("div",{className:"flex items-center justify-end space-x-2 py-4",children:[o.jsxs("div",{className:"flex-1 text-sm text-muted-foreground",children:[c.getFilteredSelectedRowModel().rows.length," of"," ",c.getFilteredRowModel().rows.length," row(s) selected."]}),o.jsxs("div",{className:"space-x-2",children:[o.jsx(Y,{variant:"outline",size:"sm",onClick:()=>c.previousPage(),disabled:!c.getCanPreviousPage(),children:"Previous"}),o.jsx(Y,{variant:"outline",size:"sm",onClick:()=>c.nextPage(),disabled:!c.getCanNextPage(),children:"Next"})]})]})]})}const Vf=[{invoice:"INV001",paymentStatus:"Paid",totalAmount:"$250.00",paymentMethod:"Credit Card"},{invoice:"INV002",paymentStatus:"Pending",totalAmount:"$150.00",paymentMethod:"PayPal"},{invoice:"INV003",paymentStatus:"Unpaid",totalAmount:"$350.00",paymentMethod:"Bank Transfer"},{invoice:"INV004",paymentStatus:"Paid",totalAmount:"$450.00",paymentMethod:"Credit Card"},{invoice:"INV005",paymentStatus:"Paid",totalAmount:"$550.00",paymentMethod:"PayPal"},{invoice:"INV006",paymentStatus:"Pending",totalAmount:"$200.00",paymentMethod:"Bank Transfer"},{invoice:"INV007",paymentStatus:"Unpaid",totalAmount:"$300.00",paymentMethod:"Credit Card"}];function Of(e){return o.jsxs(wn,{...e,children:[o.jsx(fs,{children:"A list of your recent invoices."}),o.jsx(yn,{children:o.jsxs(be,{children:[o.jsx(Ce,{className:"w-[100px]",children:"Invoice"}),o.jsx(Ce,{children:"Status"}),o.jsx(Ce,{children:"Method"}),o.jsx(Ce,{className:"text-right",children:"Amount"})]})}),o.jsx(jn,{children:Vf.map(t=>o.jsxs(be,{children:[o.jsx(ie,{className:"font-medium",children:t.invoice}),o.jsx(ie,{children:t.paymentStatus}),o.jsx(ie,{children:t.paymentMethod}),o.jsx(ie,{className:"text-right",children:t.totalAmount})]},t.invoice))}),o.jsx(us,{className:"text-muted-foreground bg-muted",children:o.jsxs(be,{children:[o.jsx(ie,{colSpan:3,children:"Total"}),o.jsx(ie,{className:"text-right",children:"$2,500.00"})]})})]})}function Lf(){return o.jsxs("div",{className:"flex items-center space-x-4",children:[o.jsx(Nt,{className:"h-12 w-12 rounded-full"}),o.jsxs("div",{className:"space-y-2",children:[o.jsx(Nt,{className:"h-4 w-[250px]"}),o.jsx(Nt,{className:"h-4 w-[200px]"})]})]})}const en="focus:ring-primary-600 dark:focus:ring-primary-400 focus:ring-offset-primary-200 dark:focus:ring-offset-primary-800 focus:ring-1 focus:ring-offset-1 focus:outline-none",zf=[{id:"1",name:"Unread"},{id:"2",name:"Threads"},{id:"3",name:"Chat Rooms",children:[{id:"3.1",name:"General"},{id:"3.2",name:"Random"},{id:"3.3",name:"Open Source Projects"}]},{id:"4",name:"Direct Messages",children:[{id:"4.1",name:"Alice",children:[{id:"4.1.1",name:"Alice2",icon:On},{id:"4.1.2",name:"Bob2"},{id:"4.1.3",name:"Charlie2"}]},{id:"4.2",name:"Bob",icon:On},{id:"4.3",name:"Charlie"}]},{id:"5",name:"Direct Messages",children:[{id:"5.1",name:"Alice",children:[{id:"5.1.1",name:"Alice2"},{id:"5.1.2",name:"Bob2"},{id:"5.1.3",name:"Charlie2"}]},{id:"5.2",name:"Bob"},{id:"5.3",name:"Charlie"}]},{id:"6",name:"Direct Messages",children:[{id:"6.1",name:"Alice",children:[{id:"6.1.1",name:"Alice2"},{id:"6.1.2",name:"Bob2"},{id:"6.1.3",name:"Charlie2"}]},{id:"6.2",name:"Bob"},{id:"6.3",name:"Charlie"}]}],Tf=f.forwardRef(({data:e,initialSelectedItemId:t,onSelectChange:n,expandAll:r,IconForFolder:s,IconForItem:a,arrowFirst:i,hideFolderIcon:l,className:c,...d},u)=>{const[g]=f.useState(()=>qe({selectedId:void 0})),m=f.useMemo(()=>{const A=xs(e,t,r),E=xe(e,g.selectedId);E&&(E.state.selected=!1);const D=xe(e,A[A.length-1]);return D&&(D.state.selected=!0,g.selectedId=D.id),A},[e,t,r]),p=f.useCallback((A,E)=>{if(A.stopPropagation(),g.selectedId){const D=xe(e,g.selectedId);D&&(D.state.selected=!1)}E?(E.state.selected=!E.state.selected,g.selectedId=E.id):g.selectedId=void 0,n?.(E)},[g,n]),x=f.useRef(null),{ref:h,width:R,height:$}=gs();return o.jsx("div",{ref:A=>{h(A),x.current=A},className:v("_overflow-hidden",c),tabIndex:0,onKeyDown:A=>{const E=vs(x.current,A,g.selectedId);E&&p(A,xe(e,E))},children:o.jsx(bt,{className:"tree-scroll",style:{width:R,height:$},onClick:A=>p(A,void 0),children:o.jsx("div",{className:"relative z-0 px-2 py-1",children:o.jsx(qs,{ref:u,data:e,handleSelectChange:p,expandedItemIds:m,IconForFolder:s,IconForItem:a,arrowFirst:i,hideFolderIcon:l,...d})})})})}),qs=f.forwardRef(({className:e,data:t,handleSelectChange:n,expandedItemIds:r,IconForFolder:s,IconForItem:a,arrowFirst:i,hideFolderIcon:l,...c},d)=>o.jsx("div",{ref:d,role:"tree",className:e,...c,children:o.jsx("ul",{children:t instanceof Array?t.map(u=>o.jsx("li",{children:u.children?o.jsx(pn,{type:"multiple",defaultValue:r,children:o.jsxs(fn,{value:u.id,"data-tree-id":u.id,"data-tree-folder":ps,children:[o.jsx(Ws,{item:u,Icon:s,arrowFirst:i,hideFolderIcon:l,onClick:g=>n(g,u)}),o.jsx(Js,{className:"pl-6",children:o.jsx(qs,{data:u.children,handleSelectChange:n,expandedItemIds:r,IconForFolder:s,IconForItem:a})})]})}):o.jsx(tn,{item:u,onClick:g=>n(g,u),Icon:a})},u.id)):o.jsx("li",{children:o.jsx(tn,{item:t,onClick:u=>n(u,t),Icon:a})})})})),tn=f.forwardRef(({className:e,item:t,Icon:n,...r},s)=>{const{selected:a}=jt(t.state);return o.jsx("div",{ref:s,className:v(js,e,a&&Ss),"data-tree-id":t.id,...r,children:o.jsx(Xs,{item:t,Icon:n,classes:Cs,hideFolderIcon:!1})})});tn.displayName="Tree.Leaf";const Ws=f.forwardRef(({className:e,item:t,Icon:n,arrowFirst:r=!0,hideFolderIcon:s,...a},i)=>{const{selected:l}=jt(t.state);return o.jsx(Ks,{className:v(bs,l&&ws),"data-tree-folder-trigger":ms,arrowFirst:r,ref:i,...a,children:o.jsx(Xs,{item:t,Icon:n,hideFolderIcon:s,classes:ys})})});Ws.displayName="Tree.Folder";const Ks=f.forwardRef(({className:e,children:t,arrowFirst:n,...r},s)=>{const a=o.jsx(ns,{className:U("shrink-0 ml-auto h-4 w-4 text-accent-foreground/50 transition-transform duration-200",n&&"mr-2")});return o.jsx(gn,{children:o.jsx(mt,{asChild:!0,className:v("flex-1 py-1 w-full transition-all outline-none cursor-pointer flex items-center",n?"first:[&[data-state=open]>svg]:rotate-90":"last:[&[data-state=open]>svg]:rotate-90",e),ref:s,...r,children:o.jsxs("div",{children:[n&&o.jsx(o.Fragment,{children:a}),t,!n&&o.jsx(o.Fragment,{children:a})]})})})});Ks.displayName="Tree.Folder.Trigger";const Js=f.forwardRef(({className:e,children:t,...n},r)=>o.jsx(ht,{ref:r,className:v("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down transition-all overflow-hidden",e),...n,children:o.jsx("div",{children:t})}));Js.displayName="Tree.Folder.Content";function Xs({item:e,Icon:t,classes:n,hideFolderIcon:r}){return o.jsxs(o.Fragment,{children:[e.icon&&o.jsx(e.icon,{className:n,"aria-hidden":"true"}),!e.icon&&t&&!r&&o.jsx(t,{className:n,"aria-hidden":"true"}),o.jsx("span",{className:"flex-grow text-sm truncate",children:e.name})]})}const Zs={display:"flex",flex:"1"},Gf=(e,t)=>{const n={...Zs};return e?n.minHeight=n.maxHeight=t+"%":n.minWidth=n.maxWidth=t+"%",n},Hf={...Zs,minWidth:0,minHeight:0};function Bf(e){const{vertical:t=!0,min:n=0,max:r=100,className:s,children:a,position:i,setPosition:l,onResize:c}=e,d=ve.useRef(null),u=ve.useCallback(m=>{if(!d.current)return;m.preventDefault();const{current:p}=d,x=p.getBoundingClientRect(),h=t?window.scrollY+x.y:window.scrollX+x.x,R=t?p.offsetHeight:p.offsetWidth,$=E=>{E.preventDefault();const D=((t?E.pageY:E.pageX)-h)/R*100,G=+wi(yi(D,n,r));l(G)},A=()=>{document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",A),c?.()};document.addEventListener("mousemove",$),document.addEventListener("mouseup",A)},[d,t]);let g=ve.Children.toArray(a);return g.length<2?o.jsx("div",{className:s,style:{display:"flex"},children:g}):o.jsxs("div",{ref:d,className:s,style:{display:"flex",flexDirection:t?"column":"row"},children:[o.jsx("div",{style:Gf(t,i),children:g[0]}),o.jsx("div",{className:U("splitpane-divider",t?"vertical":"horizontal"),onMouseDown:u}),o.jsx("div",{style:Hf,children:g[1]})]})}const Uf="d09GMgABAAAAAADcAAoAAAAAAggAAACWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABk4ALAoUNAE2AiQDCAsGAAQgBSAHIBtvAcieB3aD8wURQ+TZazbRE9HvF5vde4KCYGhiCgq/NKPF0i6UIsZynbP+Xi9Ng+XLbNlmNz/xIBBqq61FIQRJhC/+QA/08PJQJ3sK5TZFMlWzC/iK5GUN40psgqvxwBjBOg6JUSJ7ewyKE2AAaXZrfUB4v+hze37ugJ9d+DeYqiDwVgCawviwVFGnuttkLqIMGivmDg",qf=`data:application/font-woff2;base64,${Uf}`,ot=qe({text:qf}),Qe=qe({fontText:ot.text,xmlText:"",glyphs:[]});function Wf(){const e=/^\s*data:(?[\w\/\+-]*);?(?(?:charset=[\w-]+)?);?(?base64?),(?[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%]*)\s*$/i;t();function t(){Qe.dataUri=e.exec(ot.text)?.groups}yt(ot,()=>{Qe.fontText=ot.text,t(),Qe.isUrl=!1,Qe.dataUri})}Wf();let Kf=0;function Ys(e,t){const n=`atom${++Kf}`,r={toString:()=>n};return typeof e=="function"?r.read=e:(r.init=e,r.read=s=>s(r),r.write=(s,a,i)=>a(r,typeof i=="function"?i(s(r)):i)),t&&(r.write=t),r}const er=e=>"init"in e,tr=e=>!!e.write,dt=new WeakMap,Jf=(e,t)=>{dt.set(e,t),e.catch(()=>{}).finally(()=>dt.delete(e))},nr=(e,t)=>{const n=dt.get(e);n&&(dt.delete(e),n(t))},rr=(e,t)=>{e.status="fulfilled",e.value=t},or=(e,t)=>{e.status="rejected",e.reason=t},Xf=e=>typeof e?.then=="function",et=(e,t)=>"v"in e&&"v"in t&&Object.is(e.v,t.v),sr=(e,t)=>"e"in e&&"e"in t&&Object.is(e.e,t.e),Ie=e=>"v"in e&&e.v instanceof Promise,Zf=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,tt=e=>{if("e"in e)throw e.e;return e.v},Yf=()=>{const e=new WeakMap,t=new WeakMap,n=new Map;let r,s;const a=w=>e.get(w),i=(w,j)=>{const C=e.get(w);if(e.set(w,j),n.has(w)||n.set(w,C),C&&Ie(C)){const b="v"in j?j.v instanceof Promise?j.v:Promise.resolve(j.v):Promise.reject(j.e);C.v!==b&&nr(C.v,b)}},l=(w,j,C)=>{const b=new Map;let S=!1;C.forEach((_,N)=>{!_&&N===w&&(_=j),_&&(b.set(N,_),j.d.get(N)!==_&&(S=!0))}),(S||j.d.size!==b.size)&&(j.d=b)},c=(w,j,C)=>{const b=a(w),S={d:b?.d||new Map,v:j};if(C&&l(w,S,C),b&&et(b,S)&&b.d===S.d)return b;if(b&&Ie(b)&&Ie(S)&&Zf(b,S)){if(b.d===S.d)return b;S.v=b.v}return i(w,S),S},d=(w,j,C,b)=>{if(Xf(j)){let S;const _=new Promise((N,P)=>{let V=!1;j.then(I=>{if(!V){V=!0;const L=a(w),y=c(w,_,C);rr(_,I),N(I),t.has(w)&&L?.d!==y.d&&G(w,y,L?.d)}},I=>{if(!V){V=!0;const L=a(w),y=c(w,_,C);or(_,I),P(I),t.has(w)&&L?.d!==y.d&&G(w,y,L?.d)}}),S=I=>{V||(V=!0,I.then(L=>rr(_,L),L=>or(_,L)),N(I))}});return _.orig=j,_.status="pending",Jf(_,N=>{N&&S(N),b?.()}),c(w,_,C)}return c(w,j,C)},u=(w,j,C)=>{const b=a(w),S={d:b?.d||new Map,e:j};return C&&l(w,S,C),b&&sr(b,S)&&b.d===S.d?b:(i(w,S),S)},g=(w,j)=>{const C=a(w);if(!j&&C&&(t.has(w)||Array.from(C.d).every(([I,L])=>I===w||g(I)===L)))return C;const b=new Map;let S=!0;const _=I=>{if(I===w){const y=a(I);if(y)return b.set(I,y),tt(y);if(er(I))return b.set(I,void 0),I.init;throw new Error("no atom init")}const L=g(I);return b.set(I,L),tt(L)};let N,P;const V={get signal(){return N||(N=new AbortController),N.signal},get setSelf(){return!P&&tr(w)&&(P=(...I)=>{if(!S)return A(w,...I)}),P}};try{const I=w.read(_,V);return d(w,I,b,()=>N?.abort())}catch(I){return u(w,I,b)}finally{S=!1}},m=w=>tt(g(w)),p=w=>{let j=t.get(w);return j||(j=E(w)),j},x=(w,j)=>!j.l.size&&(!j.t.size||j.t.size===1&&j.t.has(w)),h=w=>{const j=t.get(w);j&&x(w,j)&&D(w)},R=w=>{const j=new Map,C=new WeakMap,b=N=>{var P;const V=new Set((P=t.get(N))==null?void 0:P.t);return n.forEach((I,L)=>{var y;(y=a(L))!=null&&y.d.has(N)&&V.add(L)}),V},S=N=>{b(N).forEach(P=>{P!==N&&(j.set(P,(j.get(P)||new Set).add(N)),C.set(P,(C.get(P)||0)+1),S(P))})};S(w);const _=N=>{b(N).forEach(P=>{var V;if(P!==N){let I=C.get(P);if(I&&C.set(P,--I),!I){let L=!!((V=j.get(P))!=null&&V.size);if(L){const y=a(P),F=g(P,!0);L=!y||!et(y,F)}L||j.forEach(y=>y.delete(P))}_(P)}})};_(w)},$=(w,...j)=>{let C=!0;const b=N=>tt(g(N)),S=(N,...P)=>{let V;if(N===w){if(!er(N))throw new Error("atom not writable");const I=a(N),L=d(N,P[0]);(!I||!et(I,L))&&R(N)}else V=$(N,...P);if(!C){const I=q()}return V},_=w.write(b,S,...j);return C=!1,_},A=(w,...j)=>{const C=$(w,...j),b=q();return C},E=(w,j,C)=>{var b;const S=C||[];(b=a(w))==null||b.d.forEach((N,P)=>{const V=t.get(P);V?V.t.add(w):P!==w&&E(P,w,S)}),g(w);const _={t:new Set(j&&[j]),l:new Set};if(t.set(w,_),tr(w)&&w.onMount){const{onMount:N}=w;S.push(()=>{const P=N((...V)=>A(w,...V));P&&(_.u=P)})}return C||S.forEach(N=>N()),_},D=w=>{var j;const C=(j=t.get(w))==null?void 0:j.u;C&&C(),t.delete(w);const b=a(w);b&&(Ie(b)&&nr(b.v),b.d.forEach((S,_)=>{if(_!==w){const N=t.get(_);N&&(N.t.delete(w),x(_,N)&&D(_))}}))},G=(w,j,C)=>{const b=new Set(j.d.keys());C?.forEach((S,_)=>{if(b.has(_)){b.delete(_);return}const N=t.get(_);N&&(N.t.delete(w),x(_,N)&&D(_))}),b.forEach(S=>{const _=t.get(S);_?_.t.add(w):t.has(w)&&E(S,w)})},q=()=>{let w;for(;n.size;){const j=Array.from(n);n.clear(),j.forEach(([C,b])=>{const S=a(C);if(S){const _=t.get(C);_&&S.d!==b?.d&&G(C,S,b?.d),_&&!(b&&!Ie(b)&&(et(b,S)||sr(b,S)))&&_.l.forEach(N=>N())}})}};return{get:m,set:A,sub:(w,j)=>{const C=p(w),b=q(),S=C.l;return S.add(j),()=>{S.delete(j),h(w)}}}};let Ot;const Qf=()=>(Ot||(Ot=Yf()),Ot),eg=f.createContext(void 0),Qs=e=>{const t=f.useContext(eg);return e?.store||t||Qf()},tg=e=>typeof e?.then=="function",ng=ve.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function rg(e,t){const n=Qs(t),[[r,s,a],i]=f.useReducer(d=>{const u=n.get(e);return Object.is(d[0],u)&&d[1]===n&&d[2]===e?d:[u,n,e]},void 0,()=>[n.get(e),n,e]);let l=r;(s!==n||a!==e)&&(i(),l=n.get(e));const c=t?.delay;return f.useEffect(()=>{const d=n.sub(e,()=>{if(typeof c=="number"){setTimeout(i,c);return}i()});return i(),d},[n,e,c]),f.useDebugValue(l),tg(l)?ng(l):l}function ar(e,t){const n=Qs(t);return f.useCallback((...s)=>n.set(e,...s),[n,e])}function og({doDroppedFilesAtom:e,activeAtom:t}){const n=ar(t),r=ar(e),s=f.useRef(0);return f.useEffect(()=>{function a(){s.current++||n(!0)}function i(u){u.preventDefault()}function l(){--s.current||n(!1)}function c(u){u.preventDefault(),s.current=0,n(!1),u.dataTransfer&&r(u.dataTransfer.files)}const d=document.addEventListener;return d("dragenter",a),d("dragover",i),d("dragleave",l),d("drop",c),()=>{const u=document.removeEventListener;u("dragenter",a),u("dragover",i),u("dragleave",l),u("drop",c)}},[]),null}function sg(){const[e]=f.useState(Ys(!1)),t=rg(e);return og({doDroppedFilesAtom:Qg,activeAtom:e}),o.jsx(o.Fragment,{children:t&&o.jsx("div",{className:"absolute inset-0 grid place-items-center text-5xl font-bold text-slate-50 bg-slate-800/90 z-10",children:"Drop it!"})})}let ag={data:""},ig=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||ag,lg=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,dg=/\/\*[^]*?\*\/| +/g,ir=/\n+/g,fe=(e,t)=>{let n="",r="",s="";for(let a in e){let i=e[a];a[0]=="@"?a[1]=="i"?n=a+" "+i+";":r+=a[1]=="f"?fe(i,a):a+"{"+fe(i,a[1]=="k"?"":t)+"}":typeof i=="object"?r+=fe(i,t?t.replace(/([^,])+/g,l=>a.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,l):l?l+" "+c:c)):a):i!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),s+=fe.p?fe.p(a,i):a+":"+i+";")}return n+(t&&s?t+"{"+s+"}":s)+r},ae={},ea=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+ea(e[n]);return t}return e},cg=(e,t,n,r,s)=>{let a=ea(e),i=ae[a]||(ae[a]=(c=>{let d=0,u=11;for(;d>>0;return"go"+u})(a));if(!ae[i]){let c=a!==e?e:(d=>{let u,g,m=[{}];for(;u=lg.exec(d.replace(dg,""));)u[4]?m.shift():u[3]?(g=u[3].replace(ir," ").trim(),m.unshift(m[0][g]=m[0][g]||{})):m[0][u[1]]=u[2].replace(ir," ").trim();return m[0]})(e);ae[i]=fe(s?{["@keyframes "+i]:c}:c,n?"":"."+i)}let l=n&&ae.g?ae.g:null;return n&&(ae.g=ae[i]),((c,d,u,g)=>{g?d.data=d.data.replace(g,c):d.data.indexOf(c)===-1&&(d.data=u?c+d.data:d.data+c)})(ae[i],t,r,l),i},ug=(e,t,n)=>e.reduce((r,s,a)=>{let i=t[a];if(i&&i.call){let l=i(n),c=l&&l.props&&l.props.className||/^go/.test(l)&&l;i=c?"."+c:l&&typeof l=="object"?l.props?"":fe(l,""):l===!1?"":l}return r+s+(i??"")},"");function St(e){let t=this||{},n=e.call?e(t.p):e;return cg(n.unshift?n.raw?ug(n,[].slice.call(arguments,1),t.p):n.reduce((r,s)=>Object.assign(r,s&&s.call?s(t.p):s),{}):n,ig(t.target),t.g,t.o,t.k)}let ta,nn,rn;St.bind({g:1});let le=St.bind({k:1});function fg(e,t,n,r){fe.p=t,ta=e,nn=n,rn=r}function me(e,t){let n=this||{};return function(){let r=arguments;function s(a,i){let l=Object.assign({},a),c=l.className||s.className;n.p=Object.assign({theme:nn&&nn()},l),n.o=/ *go\d+/.test(c),l.className=St.apply(n,r)+(c?" "+c:""),t&&(l.ref=i);let d=e;return e[0]&&(d=l.as||e,delete l.as),rn&&d[0]&&rn(l),ta(d,l)}return t?t(s):s}}var gg=e=>typeof e=="function",ct=(e,t)=>gg(e)?e(t):e,pg=(()=>{let e=0;return()=>(++e).toString()})(),na=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),mg=20,st=new Map,hg=1e3,lr=e=>{if(st.has(e))return;let t=setTimeout(()=>{st.delete(e),je({type:4,toastId:e})},hg);st.set(e,t)},xg=e=>{let t=st.get(e);t&&clearTimeout(t)},on=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,mg)};case 1:return t.toast.id&&xg(t.toast.id),{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case 2:let{toast:n}=t;return e.toasts.find(a=>a.id===n.id)?on(e,{type:1,toast:n}):on(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?lr(r):e.toasts.forEach(a=>{lr(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===r||r===void 0?{...a,visible:!1}:a)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let s=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+s}))}}},at=[],it={toasts:[],pausedAt:void 0},je=e=>{it=on(it,e),at.forEach(t=>{t(it)})},vg={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},bg=(e={})=>{let[t,n]=f.useState(it);f.useEffect(()=>(at.push(n),()=>{let s=at.indexOf(n);s>-1&&at.splice(s,1)}),[t]);let r=t.toasts.map(s=>{var a,i;return{...e,...e[s.type],...s,duration:s.duration||((a=e[s.type])==null?void 0:a.duration)||e?.duration||vg[s.type],style:{...e.style,...(i=e[s.type])==null?void 0:i.style,...s.style}}});return{...t,toasts:r}},wg=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:n?.id||pg()}),We=e=>(t,n)=>{let r=wg(t,e,n);return je({type:2,toast:r}),r.id},Z=(e,t)=>We("blank")(e,t);Z.error=We("error");Z.success=We("success");Z.loading=We("loading");Z.custom=We("custom");Z.dismiss=e=>{je({type:3,toastId:e})};Z.remove=e=>je({type:4,toastId:e});Z.promise=(e,t,n)=>{let r=Z.loading(t.loading,{...n,...n?.loading});return e.then(s=>(Z.success(ct(t.success,s),{id:r,...n,...n?.success}),s)).catch(s=>{Z.error(ct(t.error,s),{id:r,...n,...n?.error})}),e};var yg=(e,t)=>{je({type:1,toast:{id:e,height:t}})},jg=()=>{je({type:5,time:Date.now()})},Sg=e=>{let{toasts:t,pausedAt:n}=bg(e);f.useEffect(()=>{if(n)return;let a=Date.now(),i=t.map(l=>{if(l.duration===1/0)return;let c=(l.duration||0)+l.pauseDuration-(a-l.createdAt);if(c<0){l.visible&&Z.dismiss(l.id);return}return setTimeout(()=>Z.dismiss(l.id),c)});return()=>{i.forEach(l=>l&&clearTimeout(l))}},[t,n]);let r=f.useCallback(()=>{n&&je({type:6,time:Date.now()})},[n]),s=f.useCallback((a,i)=>{let{reverseOrder:l=!1,gutter:c=8,defaultPosition:d}=i||{},u=t.filter(p=>(p.position||d)===(a.position||d)&&p.height),g=u.findIndex(p=>p.id===a.id),m=u.filter((p,x)=>xp.visible).slice(...l?[m+1]:[0,m]).reduce((p,x)=>p+(x.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:yg,startPause:jg,endPause:r,calculateOffset:s}}},Cg=le` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -206,10 +206,10 @@ to { color: inherit; flex: 1 1 auto; white-space: pre-line; -`,Bg=(e,t)=>{let n=e.includes("top")?1:-1,[r,s]=na()?[zg,Tg]:[Og(n),Lg(n)];return{animation:t?`${le(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${le(s)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},Ug=f.memo(({toast:e,position:t,style:n,children:r})=>{let s=e.height?Bg(e.position||t||"top-center",e.visible):{opacity:0},a=f.createElement(Vg,{toast:e}),i=f.createElement(Hg,{...e.ariaProps},dt(e.message,e));return f.createElement(Gg,{className:e.className,style:{...s,...n,...e.style}},typeof r=="function"?r({icon:a,message:i}):f.createElement(f.Fragment,null,a,i))});fg(f.createElement);var qg=({id:e,className:t,style:n,onHeightUpdate:r,children:s})=>{let a=f.useCallback(i=>{if(i){let l=()=>{let c=i.getBoundingClientRect().height;r(e,c)};l(),new MutationObserver(l).observe(i,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return f.createElement("div",{ref:a,className:t,style:n},s)},Wg=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},s=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:na()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...s}},Kg=jt` +`,Bg=(e,t)=>{let n=e.includes("top")?1:-1,[r,s]=na()?[zg,Tg]:[Og(n),Lg(n)];return{animation:t?`${le(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${le(s)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},Ug=f.memo(({toast:e,position:t,style:n,children:r})=>{let s=e.height?Bg(e.position||t||"top-center",e.visible):{opacity:0},a=f.createElement(Vg,{toast:e}),i=f.createElement(Hg,{...e.ariaProps},ct(e.message,e));return f.createElement(Gg,{className:e.className,style:{...s,...n,...e.style}},typeof r=="function"?r({icon:a,message:i}):f.createElement(f.Fragment,null,a,i))});fg(f.createElement);var qg=({id:e,className:t,style:n,onHeightUpdate:r,children:s})=>{let a=f.useCallback(i=>{if(i){let l=()=>{let c=i.getBoundingClientRect().height;r(e,c)};l(),new MutationObserver(l).observe(i,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return f.createElement("div",{ref:a,className:t,style:n},s)},Wg=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},s=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:na()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...s}},Kg=St` z-index: 9999; > * { pointer-events: auto; } -`,tt=16,Jg=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:s,containerStyle:a,containerClassName:i})=>{let{toasts:l,handlers:c}=Sg(n);return f.createElement("div",{style:{position:"fixed",zIndex:9999,top:tt,left:tt,right:tt,bottom:tt,pointerEvents:"none",...a},className:i,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(d=>{let u=d.position||t,p=c.calculateOffset(d,{reverseOrder:e,gutter:r,defaultPosition:t}),m=Wg(u,p);return f.createElement(qg,{id:d.id,key:d.id,onHeightUpdate:c.updateHeight,className:d.visible?Kg:"",style:m},d.type==="custom"?dt(d.message,d):s?s(d):f.createElement(Ug,{toast:d,position:u}))}))};function Xg(){return o.jsx("div",{className:"toaser",children:o.jsx(Jg,{position:"bottom-right",reverseOrder:!1,gutter:8,containerClassName:"",containerStyle:{},toastOptions:{className:"",duration:5e3,style:{background:"#363636",color:"#fff"},success:{duration:3e3,iconTheme:{primary:"green",secondary:"black"}}}})})}const Zg=(e,t)=>Z(e,{style:{backgroundColor:"red"},...t});f.forwardRef(({children:e,className:t,...n},r)=>o.jsx("button",{ref:r,className:J("bg-primary border-primary-foreground border rounded select-none",en,t),...n,children:e}));function Yg(e=""){return/[.]/.exec(e)&&/([^.]+$)/.exec(e)?.[0]||""}const Qg=Ys(null,async(e,t,n)=>{try{if(n.length!==1)throw new Error("Only one file can be dropped");if(Yg(n[0].name)!=="woff2")throw new Error(`Dropped file "${n[0].name}". -Only .woff2 files are supported`);const s=await ji(n[0],{asArrayBuffer:!1});console.log("files",n),console.log("blob",s)}catch(r){Zg(r?.message||"Failed to load image")}});function ep(e){const{splitterPos:t}=yt(te.treeState),n=f.useCallback(bi(r=>te.treeState.splitterPos=r,50),[]);return o.jsx(Bf,{position:t,setPosition:n,...e})}const dr="6.1.2";function tp(e){const t=hs(e);return Ut(t,n=>n.state=Ue({selected:!1})),t}const cr=tp(zf);function ra(){const[e,t]=f.useState(()=>xe(cr,dr)?.name||"No content selected"),n=f.useMemo(()=>o.jsx(Tf,{data:cr,className:`w-full h-full border rounded-l-md ${en}`,initialSelectedItemId:dr,onSelectChange:r=>t(r?.name??""),IconForFolder:xd,IconForItem:bd}),[]);return o.jsx("div",{className:"mr-12 p-0.5 w-full h-full",children:o.jsxs(ep,{vertical:!1,className:"splitpane h-full",children:[o.jsx("div",{className:"w-full",children:n}),o.jsx("div",{className:J("flex-1 w-full h-full min-w-0 border border-l rounded-r-md z-10",en),tabIndex:0,children:o.jsx("div",{className:"min-w-0 overflow-hidden",children:o.jsx("div",{className:"px-2 py-1",children:e})})})]})})}const np=["#e2e2e2","#ff75c3","#ffa647","#ffe83f","#9fff5b","#70e2ff","#cd93ff","#09203f"];function rp({background:e,setBackground:t}){return o.jsx(K,{value:"solid",className:"mt-0 flex flex-wrap gap-1",children:np.map(n=>o.jsx("div",{style:{background:n},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>t(n)},n))})}const oa=({background:e,children:t})=>o.jsx("div",{className:"relative rounded-md !bg-cover !bg-center p-0.5 transition-all",style:{background:e},children:o.jsx("div",{className:"rounded-md bg-popover/80 p-1 text-center text-xs",children:t})}),op=["linear-gradient(to bottom right,#accbee,#e7f0fd)","linear-gradient(to bottom right,#d5d4d0,#d5d4d0,#eeeeec)","linear-gradient(to bottom right,#000000,#434343)","linear-gradient(to bottom right,#09203f,#537895)","linear-gradient(to bottom right,#ac32e4,#7918f2,#4801FF)","linear-gradient(to bottom right,#f953c6,#b91d73)","linear-gradient(to bottom right,#ee0979,#ff6a00)","linear-gradient(to bottom right,#f00000,#dc281e)","linear-gradient(to bottom right,#00c6ff,#0072ff)","linear-gradient(to bottom right,#4facfe,#00f2fe)","linear-gradient(to bottom right,#0ba360,#3cba92)","linear-gradient(to bottom right,#fdfc47,#24fe41)","linear-gradient(to bottom right,#8a2be2,#0000cd,#228b22,#ccff00)","linear-gradient(to bottom right,#40e0d0,#ff8c00,#ff0080)","linear-gradient(to bottom right,#fcc5e4,#fda34b,#ff7882,#c8699e,#7046aa,#0c1db8,#020f75)","linear-gradient(to bottom right,#ff75c3,#ffa647,#ffe83f,#9fff5b,#70e2ff,#cd93ff)"];function sp({background:e,setBackground:t}){return o.jsxs(K,{value:"gradient",className:"mt-0",children:[o.jsx("div",{className:"mb-2 flex flex-wrap gap-1",children:op.map(n=>o.jsx("div",{style:{background:n},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>t(n)},n))}),o.jsxs(oa,{background:e,children:["💡 Get more at"," ",o.jsx("a",{href:"https://gradient.page/css/ui-gradients",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"})]})]})}const ap=""+new URL("1_beautiful-blue-001-2259aa6a.jpg",import.meta.url).href,ip=""+new URL("2_pretty-in-pink-005-2359f332.jpg",import.meta.url).href,lp=""+new URL("3_vibrant-vista-004-b9ffc36d.jpg",import.meta.url).href,dp=""+new URL("4_deep-dusk-003-f4610ac8.jpg",import.meta.url).href,cp=[`url(${ap})`,`url(${ip})`,`url(${lp})`,`url(${dp})`];function up({background:e,setBackground:t}){return o.jsxs(K,{value:"image",className:"mt-0",children:[o.jsx("div",{className:"mb-2 grid grid-cols-2 gap-1",children:cp.map(n=>o.jsx("div",{style:{backgroundImage:n},className:"h-12 w-full cursor-pointer rounded-md bg-cover bg-center active:scale-105",onClick:()=>t(n)},n))}),o.jsxs(oa,{background:e,children:["🔓 Get more"," ",o.jsx("a",{href:"https://gradient.page/wallpapers",className:"font-bold hover:underline",target:"_blank",children:"wallpapers"}),o.jsx("br",{}),o.jsxs("div",{className:"text-[10px]",children:["App dev? Refer ",o.jsx("a",{href:"https://gradient.page/affiliate",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"}),", get 80%"]})]})]})}function fp({background:e,className:t}){return o.jsx($l,{asChild:!0,children:o.jsx(Y,{variant:"outline",className:v("w-[220px] justify-start text-left font-normal",!e&&"text-muted-foreground",t),children:o.jsxs("div",{className:"flex w-full items-center gap-2",children:[e?o.jsx("div",{className:"h-4 w-4 rounded !bg-cover !bg-center transition-all",style:{background:e}}):o.jsx(vd,{className:"h-4 w-4"}),o.jsx("div",{className:"flex-1 truncate",children:e||"Pick a color"})]})})})}function gp({background:e,setBackground:t,className:n}){const r=f.useMemo(()=>e.includes("url")?"image":e.includes("gradient")?"gradient":"solid",[e]);return o.jsxs(Cl,{children:[o.jsx(fp,{className:n,background:e}),o.jsxs(Go,{className:"w-64",children:[o.jsxs(bt,{defaultValue:r,className:"w-full",children:[o.jsxs(Be,{className:"mb-4 w-full",children:[o.jsx(W,{className:"flex-1",value:"solid",children:"Solid"}),o.jsx(W,{className:"flex-1",value:"gradient",children:"Gradient"}),o.jsx(W,{className:"flex-1",value:"image",children:"Image"})]}),o.jsx(rp,{background:e,setBackground:t}),o.jsx(sp,{background:e,setBackground:t}),o.jsx(up,{background:e,setBackground:t})]}),o.jsx(Le,{id:"custom",value:e,className:"col-span-2 mt-4 h-8",onChange:s=>t(s.currentTarget.value)})]})]})}const pp="linear-gradient(to bottom right,#ff75c3,#ffa647,#ffe83f,#9fff5b,#70e2ff,#cd93ff)";function mp(){const[e,t]=f.useState(pp);return o.jsx("div",{className:"preview flex items-center justify-center rounded !bg-cover !bg-center p-10 transition-all",style:{background:e},children:o.jsx(gp,{background:e,setBackground:t})})}function hp(){return o.jsxs(bt,{defaultValue:"table1",children:[o.jsxs(Be,{children:[o.jsx(W,{value:"table1",children:"Simple table"}),o.jsx(W,{value:"table2",children:"Data table"}),o.jsx(W,{value:"table3",children:"Sticky headers table"})]}),o.jsx(K,{value:"table1",children:o.jsx(Of,{className:"m-auto max-w-sm"})}),o.jsx(K,{value:"table2",children:o.jsx(If,{})}),o.jsx(K,{value:"table3",children:o.jsx(Gu,{})})]})}function xp(){return o.jsxs(bt,{defaultValue:"loaders1",children:[o.jsxs(Be,{children:[o.jsx(W,{value:"loaders1",children:"Loaders"}),o.jsx(W,{value:"loaders2",children:"Circle loader"}),o.jsx(W,{value:"loaders3",children:"Radial"}),o.jsx(W,{value:"loaders4",children:"Skeleton"})]}),o.jsx(K,{value:"loaders1",children:o.jsx(ku,{className:"m-auto max-w-sm flex items-center justify-between"})}),o.jsx(K,{value:"loaders2",children:o.jsx(_u,{})}),o.jsx(K,{value:"loaders3",children:o.jsx(Eu,{})}),o.jsx(K,{value:"loaders4",children:o.jsx(Lf,{})})]})}function vp(){return o.jsxs(bt,{defaultValue:"switch1",children:[o.jsxs(Be,{children:[o.jsx(W,{value:"switch1",children:"Neon switch"}),o.jsx(W,{value:"switch2",children:"Styled switch"}),o.jsx(W,{value:"switch3",children:"Gradient color picker"})]}),o.jsx(K,{value:"switch1",children:o.jsx(Iu,{})}),o.jsx(K,{value:"switch2",children:o.jsx(Vu,{})}),o.jsx(K,{value:"switch3",children:o.jsx(mp,{})})]})}const bp=[{id:"10",name:"Tables",component:o.jsx(hp,{})},{id:"20",name:"Loaders",component:o.jsx(xp,{})},{id:"30",name:"Switches",component:o.jsx(vp,{})},{id:"41",name:"Tree",component:o.jsx(ra,{})}],wp="41";function yp({cases:e}){return o.jsx(qd,{className:"w-full",type:"single",collapsible:!0,defaultValue:wp,children:e.map(t=>o.jsxs(os,{className:"border-b-0",value:t.id,children:[o.jsx(ss,{children:t.name}),o.jsx(as,{className:"pt-4 border-t border-b",children:t.component})]},t.id))})}function jp(){return o.jsx("div",{className:"",children:o.jsx(fu,{})})}const sa="bg-muted/30 border-muted-foreground/30 border-t border-b";function Sp(){return o.jsxs("div",{className:`p-4 flex flex-col space-y-4 ${sa}`,children:[o.jsx("div",{className:"border-muted border-b",children:o.jsx(jp,{})}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(Y,{variant:"outline",children:"OK"}),o.jsx(gu,{})]})]})}function Cp(){return o.jsxs("div",{className:`px-4 py-2 ${sa}`,children:[o.jsx("div",{className:"mb-1",children:"Fixed height non-scrollable area"}),o.jsx("div",{className:"h-[160px] overflow-hidden",children:o.jsx(ra,{})})]})}function $p(){return o.jsxs("div",{className:"min-h-0 grid grid-rows-[auto,1fr,auto]",children:[o.jsx(Sp,{}),o.jsx(vt,{className:"flex-1 p-4 min-w-0 overflow-hidden","data-fixed-width":!0,children:o.jsx(yp,{cases:bp})}),o.jsx(Cp,{})]})}function Rp(){return o.jsx("div",{className:"py-4 bg-primary-500/20"})}function Np(){return o.jsxs(o.Fragment,{children:[o.jsx(Xg,{}),o.jsxs("div",{className:"h-screen grid grid-rows-[auto,1fr,auto]",children:[o.jsx(au,{}),o.jsx($p,{}),o.jsx(Rp,{})]}),o.jsx(sg,{})]})}Ot.createRoot(document.getElementById("root")).render(o.jsx(ve.StrictMode,{children:o.jsx(Np,{})})); +`,nt=16,Jg=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:s,containerStyle:a,containerClassName:i})=>{let{toasts:l,handlers:c}=Sg(n);return f.createElement("div",{style:{position:"fixed",zIndex:9999,top:nt,left:nt,right:nt,bottom:nt,pointerEvents:"none",...a},className:i,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(d=>{let u=d.position||t,g=c.calculateOffset(d,{reverseOrder:e,gutter:r,defaultPosition:t}),m=Wg(u,g);return f.createElement(qg,{id:d.id,key:d.id,onHeightUpdate:c.updateHeight,className:d.visible?Kg:"",style:m},d.type==="custom"?ct(d.message,d):s?s(d):f.createElement(Ug,{toast:d,position:u}))}))};function Xg(){return o.jsx("div",{className:"toaser",children:o.jsx(Jg,{position:"bottom-right",reverseOrder:!1,gutter:8,containerClassName:"",containerStyle:{},toastOptions:{className:"",duration:5e3,style:{background:"#363636",color:"#fff"},success:{duration:3e3,iconTheme:{primary:"green",secondary:"black"}}}})})}const Zg=(e,t)=>Z(e,{style:{backgroundColor:"red"},...t});f.forwardRef(({children:e,className:t,...n},r)=>o.jsx("button",{ref:r,className:U("bg-primary border-primary-foreground border rounded select-none",en,t),...n,children:e}));function Yg(e=""){return/[.]/.exec(e)&&/([^.]+$)/.exec(e)?.[0]||""}const Qg=Ys(null,async(e,t,n)=>{try{if(n.length!==1)throw new Error("Only one file can be dropped");if(Yg(n[0].name)!=="woff2")throw new Error(`Dropped file "${n[0].name}". +Only .woff2 files are supported`);const s=await ji(n[0],{asArrayBuffer:!1});console.log("files",n),console.log("blob",s)}catch(r){Zg(r?.message||"Failed to load image")}});function ep(e){const{splitterPos:t}=jt(te.treeState),n=f.useCallback(bi(r=>te.treeState.splitterPos=r,50),[]);return o.jsx(Bf,{position:t,setPosition:n,...e})}const dr="6.1.2";function tp(e){const t=hs(e);return Ut(t,n=>n.state=qe({selected:!1})),t}const cr=tp(zf);function ra(){const[e,t]=f.useState(()=>xe(cr,dr)?.name||"No content selected"),[n,r]=f.useState(!0),[s,a]=f.useState(!1),i=f.useMemo(()=>o.jsx(Tf,{data:cr,className:`w-full h-full border rounded-l-md ${en}`,initialSelectedItemId:dr,onSelectChange:l=>t(l?.name??""),IconForFolder:xd,IconForItem:bd,arrowFirst:n,hideFolderIcon:s}),[n,s]);return o.jsxs("div",{className:"mr-12 p-0.5 w-full h-full",children:[o.jsxs(ep,{vertical:!1,className:"splitpane h-full",children:[o.jsx("div",{className:"w-full",children:i}),o.jsx("div",{className:U("flex-1 w-full h-full min-w-0 border border-l rounded-r-md z-10",en),tabIndex:0,children:o.jsx("div",{className:"min-w-0 overflow-hidden",children:o.jsx("div",{className:"px-2 py-1",children:e})})})]}),o.jsxs("div",{className:"mt-2 text-sm text-muted-foreground",children:[o.jsxs("label",{className:"flex items-center",children:[o.jsx(ze,{className:"mr-2",checked:n,onCheckedChange:()=>r(!n)}),"Icons first"]}),o.jsxs("label",{className:"flex items-center",children:[o.jsx(ze,{className:"mr-2",checked:s,onCheckedChange:()=>a(!s)}),"Hide folder icons"]})]})]})}const np=["#e2e2e2","#ff75c3","#ffa647","#ffe83f","#9fff5b","#70e2ff","#cd93ff","#09203f"];function rp({background:e,setBackground:t}){return o.jsx(J,{value:"solid",className:"mt-0 flex flex-wrap gap-1",children:np.map(n=>o.jsx("div",{style:{background:n},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>t(n)},n))})}const oa=({background:e,children:t})=>o.jsx("div",{className:"relative rounded-md !bg-cover !bg-center p-0.5 transition-all",style:{background:e},children:o.jsx("div",{className:"rounded-md bg-popover/80 p-1 text-center text-xs",children:t})}),op=["linear-gradient(to bottom right,#accbee,#e7f0fd)","linear-gradient(to bottom right,#d5d4d0,#d5d4d0,#eeeeec)","linear-gradient(to bottom right,#000000,#434343)","linear-gradient(to bottom right,#09203f,#537895)","linear-gradient(to bottom right,#ac32e4,#7918f2,#4801FF)","linear-gradient(to bottom right,#f953c6,#b91d73)","linear-gradient(to bottom right,#ee0979,#ff6a00)","linear-gradient(to bottom right,#f00000,#dc281e)","linear-gradient(to bottom right,#00c6ff,#0072ff)","linear-gradient(to bottom right,#4facfe,#00f2fe)","linear-gradient(to bottom right,#0ba360,#3cba92)","linear-gradient(to bottom right,#fdfc47,#24fe41)","linear-gradient(to bottom right,#8a2be2,#0000cd,#228b22,#ccff00)","linear-gradient(to bottom right,#40e0d0,#ff8c00,#ff0080)","linear-gradient(to bottom right,#fcc5e4,#fda34b,#ff7882,#c8699e,#7046aa,#0c1db8,#020f75)","linear-gradient(to bottom right,#ff75c3,#ffa647,#ffe83f,#9fff5b,#70e2ff,#cd93ff)"];function sp({background:e,setBackground:t}){return o.jsxs(J,{value:"gradient",className:"mt-0",children:[o.jsx("div",{className:"mb-2 flex flex-wrap gap-1",children:op.map(n=>o.jsx("div",{style:{background:n},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>t(n)},n))}),o.jsxs(oa,{background:e,children:["💡 Get more at"," ",o.jsx("a",{href:"https://gradient.page/css/ui-gradients",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"})]})]})}const ap=""+new URL("1_beautiful-blue-001-2259aa6a.jpg",import.meta.url).href,ip=""+new URL("2_pretty-in-pink-005-2359f332.jpg",import.meta.url).href,lp=""+new URL("3_vibrant-vista-004-b9ffc36d.jpg",import.meta.url).href,dp=""+new URL("4_deep-dusk-003-f4610ac8.jpg",import.meta.url).href,cp=[`url(${ap})`,`url(${ip})`,`url(${lp})`,`url(${dp})`];function up({background:e,setBackground:t}){return o.jsxs(J,{value:"image",className:"mt-0",children:[o.jsx("div",{className:"mb-2 grid grid-cols-2 gap-1",children:cp.map(n=>o.jsx("div",{style:{backgroundImage:n},className:"h-12 w-full cursor-pointer rounded-md bg-cover bg-center active:scale-105",onClick:()=>t(n)},n))}),o.jsxs(oa,{background:e,children:["🔓 Get more"," ",o.jsx("a",{href:"https://gradient.page/wallpapers",className:"font-bold hover:underline",target:"_blank",children:"wallpapers"}),o.jsx("br",{}),o.jsxs("div",{className:"text-[10px]",children:["App dev? Refer ",o.jsx("a",{href:"https://gradient.page/affiliate",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"}),", get 80%"]})]})]})}function fp({background:e,className:t}){return o.jsx($l,{asChild:!0,children:o.jsx(Y,{variant:"outline",className:v("w-[220px] justify-start text-left font-normal",!e&&"text-muted-foreground",t),children:o.jsxs("div",{className:"flex w-full items-center gap-2",children:[e?o.jsx("div",{className:"h-4 w-4 rounded !bg-cover !bg-center transition-all",style:{background:e}}):o.jsx(vd,{className:"h-4 w-4"}),o.jsx("div",{className:"flex-1 truncate",children:e||"Pick a color"})]})})})}function gp({background:e,setBackground:t,className:n}){const r=f.useMemo(()=>e.includes("url")?"image":e.includes("gradient")?"gradient":"solid",[e]);return o.jsxs(Cl,{children:[o.jsx(fp,{className:n,background:e}),o.jsxs(Go,{className:"w-64",children:[o.jsxs(wt,{defaultValue:r,className:"w-full",children:[o.jsxs(Ue,{className:"mb-4 w-full",children:[o.jsx(K,{className:"flex-1",value:"solid",children:"Solid"}),o.jsx(K,{className:"flex-1",value:"gradient",children:"Gradient"}),o.jsx(K,{className:"flex-1",value:"image",children:"Image"})]}),o.jsx(rp,{background:e,setBackground:t}),o.jsx(sp,{background:e,setBackground:t}),o.jsx(up,{background:e,setBackground:t})]}),o.jsx(Le,{id:"custom",value:e,className:"col-span-2 mt-4 h-8",onChange:s=>t(s.currentTarget.value)})]})]})}const pp="linear-gradient(to bottom right,#ff75c3,#ffa647,#ffe83f,#9fff5b,#70e2ff,#cd93ff)";function mp(){const[e,t]=f.useState(pp);return o.jsx("div",{className:"preview flex items-center justify-center rounded !bg-cover !bg-center p-10 transition-all",style:{background:e},children:o.jsx(gp,{background:e,setBackground:t})})}function hp(){return o.jsxs(wt,{defaultValue:"table1",children:[o.jsxs(Ue,{children:[o.jsx(K,{value:"table1",children:"Simple table"}),o.jsx(K,{value:"table2",children:"Data table"}),o.jsx(K,{value:"table3",children:"Sticky headers table"})]}),o.jsx(J,{value:"table1",children:o.jsx(Of,{className:"m-auto max-w-sm"})}),o.jsx(J,{value:"table2",children:o.jsx(If,{})}),o.jsx(J,{value:"table3",children:o.jsx(Gu,{})})]})}function xp(){return o.jsxs(wt,{defaultValue:"loaders1",children:[o.jsxs(Ue,{children:[o.jsx(K,{value:"loaders1",children:"Loaders"}),o.jsx(K,{value:"loaders2",children:"Circle loader"}),o.jsx(K,{value:"loaders3",children:"Radial"}),o.jsx(K,{value:"loaders4",children:"Skeleton"})]}),o.jsx(J,{value:"loaders1",children:o.jsx(ku,{className:"m-auto max-w-sm flex items-center justify-between"})}),o.jsx(J,{value:"loaders2",children:o.jsx(_u,{})}),o.jsx(J,{value:"loaders3",children:o.jsx(Eu,{})}),o.jsx(J,{value:"loaders4",children:o.jsx(Lf,{})})]})}function vp(){return o.jsxs(wt,{defaultValue:"switch1",children:[o.jsxs(Ue,{children:[o.jsx(K,{value:"switch1",children:"Neon switch"}),o.jsx(K,{value:"switch2",children:"Styled switch"}),o.jsx(K,{value:"switch3",children:"Gradient color picker"})]}),o.jsx(J,{value:"switch1",children:o.jsx(Iu,{})}),o.jsx(J,{value:"switch2",children:o.jsx(Vu,{})}),o.jsx(J,{value:"switch3",children:o.jsx(mp,{})})]})}const bp=[{id:"10",name:"Tables",component:o.jsx(hp,{})},{id:"20",name:"Loaders",component:o.jsx(xp,{})},{id:"30",name:"Switches",component:o.jsx(vp,{})},{id:"41",name:"Tree",component:o.jsx(ra,{})}],wp="41";function yp({cases:e}){return o.jsx(qd,{className:"w-full",type:"single",collapsible:!0,defaultValue:wp,children:e.map(t=>o.jsxs(os,{className:"border-b-0",value:t.id,children:[o.jsx(ss,{children:t.name}),o.jsx(as,{className:"pt-4 border-t border-b",children:t.component})]},t.id))})}function jp(){return o.jsx("div",{className:"",children:o.jsx(fu,{})})}const sa="bg-muted/30 border-muted-foreground/30 border-t border-b";function Sp(){return o.jsxs("div",{className:`p-4 flex flex-col space-y-4 ${sa}`,children:[o.jsx("div",{className:"border-muted border-b",children:o.jsx(jp,{})}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(Y,{variant:"outline",children:"OK"}),o.jsx(gu,{})]})]})}function Cp(){return o.jsxs("div",{className:`px-4 py-2 ${sa}`,children:[o.jsx("div",{className:"mb-1",children:"Fixed height non-scrollable area"}),o.jsx("div",{className:"h-[160px] overflow-hidden",children:o.jsx(ra,{})})]})}function $p(){return o.jsxs("div",{className:"min-h-0 grid grid-rows-[auto,1fr,auto]",children:[o.jsx(Sp,{}),o.jsx(bt,{className:"flex-1 p-4 min-w-0 overflow-hidden","data-fixed-width":!0,children:o.jsx(yp,{cases:bp})}),o.jsx(Cp,{})]})}function Rp(){return o.jsx("div",{className:"py-4 bg-primary-500/20"})}function Np(){return o.jsxs(o.Fragment,{children:[o.jsx(Xg,{}),o.jsxs("div",{className:"h-screen grid grid-rows-[auto,1fr,auto]",children:[o.jsx(au,{}),o.jsx($p,{}),o.jsx(Rp,{})]}),o.jsx(sg,{})]})}Lt.createRoot(document.getElementById("root")).render(o.jsx(ve.StrictMode,{children:o.jsx(Np,{})})); diff --git a/assets/index-4760402a.css b/assets/index-f111b7bb.css similarity index 96% rename from assets/index-4760402a.css rename to assets/index-f111b7bb.css index 8d84df2..3e31b26 100644 --- a/assets/index-4760402a.css +++ b/assets/index-f111b7bb.css @@ -1 +1 @@ -.pl1__g,.pl1__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite}.pl1__g{transform-origin:64px 64px}.pl1__rect:first-child{animation-name:pl1-b}.pl1__rect:nth-child(2){animation-name:pl1-c}@keyframes pl1-b{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px}20%{animation-timing-function:steps(1,start);width:40px;height:0}60%{animation-timing-function:cubic-bezier(.65,0,.35,1);width:0;height:40px}80%,to{width:40px;height:40px}}@keyframes pl1-c{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translateY(48px)}20%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:40px;height:88px;transform:translate(0)}40%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translate(0)}60%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:88px;height:40px;transform:translate(0)}80%,to{width:40px;height:40px;transform:translate(48px)}}.pl2__rect,.pl2__rect-g{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl2-a}.pl2__rect{animation-name:pl2-b}.pl2__rect-g .pl2__rect{transform-origin:20px 128px}.pl2__rect-g:first-child,.pl2__rect-g:first-child .pl2__rect{animation-delay:-.25s}.pl2__rect-g:nth-child(2),.pl2__rect-g:nth-child(2) .pl2__rect{animation-delay:-.125s}.pl2__rect-g:nth-child(2) .pl2__rect{transform-origin:64px 128px}.pl2__rect-g:nth-child(3) .pl2__rect{transform-origin:108px 128px}@keyframes pl2-a{0%,25%,66.67%,to{transform:translateY(0)}50%{animation-timing-function:cubic-bezier(.33,0,.67,0);transform:translateY(-80px)}}@keyframes pl2-b{0%,to{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:24px;transform:rotate(180deg) translate(0)}33.33%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:20px;height:64px;transform:rotate(180deg) translate(10px)}66.67%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:28px;height:44px;transform:rotate(180deg) translate(6px)}}.pl3__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl3}.pl3__rect-g{transform-origin:64px 64px}@keyframes pl1-a{0%{transform:rotate(0)}80%,to{animation-timing-function:steps(1,start);transform:rotate(90deg)}}@keyframes pl3{0%{transform:translate(64px);width:64px;height:64px}25%{transform:translate(0);width:128px;height:32px}50%{transform:translate(0);width:64px;height:64px}75%{transform:translate(0);width:32px;height:128px}to{transform:translateY(64px);width:64px;height:64px}}._dots-ring_d2oym_5{--w: #fafafa;--b: #141414;--s: 1s;--d: calc(var(--s) / 6);--dot-size: 1vmin;position:relative}._content_d2oym_51,._dots_d2oym_5{display:flex;align-items:center;justify-content:center}._content_d2oym_51{width:50vmin;height:50vmin;background:#f000;animation:_spin_d2oym_1 8s linear 0s infinite}._control_d2oym_87{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:4}._control_d2oym_87:checked~div{filter:invert(1)}._control_d2oym_87:checked+._bg_d2oym_113:before{content:"CLICK TO DARK"}._bg_d2oym_113{position:absolute;background:var(--b);z-index:-2;inset:0}._bg_d2oym_113:before{content:"CLICK TO LIGHT";position:absolute;top:100px;left:0;color:var(--w);font-family:Arial,Helvetica,serif;font-size:12px;text-shadow:0 0 1px var(--w);opacity:.25}._ring_d2oym_185{width:64%;height:64%;border:1.5vmin solid var(--w);border-radius:100%;box-shadow:0 0 0 1vmin var(--b),0 0 0 1vmin var(--b) inset;animation:_spin_d2oym_1 8s linear 0s infinite reverse;z-index:0}._dots_d2oym_5{background:#0ff0;width:100%;height:100%;position:relative}._dot_d2oym_5{position:absolute;left:0;width:50%;height:7vmin;background:#f000;transform-origin:100% 50%;z-index:-1;animation:_over-ring_d2oym_1 calc(var(--s) * 2) linear 0s infinite}._dot_d2oym_5 span{position:absolute;left:0;width:5.5vmin;height:5.5vmin;background:var(--w);border:1vmin solid var(--b);border-radius:100%;animation:_ball_d2oym_1 var(--s) ease-in-out 0s infinite alternate}._dot_d2oym_5:nth-child(1){transform:rotate(-30deg);animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(1) span{animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(2){transform:rotate(-60deg);animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(2) span{animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(3){transform:rotate(-90deg);animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(3) span{animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(4){transform:rotate(-120deg);animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(4) span{animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(5){transform:rotate(-150deg);animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(5) span{animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(6){transform:rotate(-180deg);animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(6) span{animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(7){transform:rotate(-210deg);animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(7) span{animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(8){transform:rotate(-240deg);animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(8) span{animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(9){transform:rotate(-270deg);animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(9) span{animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(10){transform:rotate(-300deg);animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(10) span{animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(11){transform:rotate(-330deg);animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(11) span{animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(12){transform:rotate(-360deg);animation-delay:calc(var(--d) * -11)}._dot_d2oym_5:nth-child(12) span{animation-delay:calc(var(--d) * -11)}@keyframes _spin_d2oym_1{to{transform:rotate(-360deg)}}@keyframes _ball_d2oym_1{to{left:calc(var(--dot-size) * 12);width:calc(var(--dot-size) * 4);height:calc(var(--dot-size) * 4)}}@keyframes _over-ring_d2oym_1{0%,50%{z-index:-1}51%,to{z-index:1}}._a_17o17_51{animation:_rotate-clock-wise_17o17_1 3s infinite linear}@keyframes _rotate-clock-wise_17o17_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._b_17o17_79{animation:_rotate-anti-clock-wise_17o17_1 .9s infinite linear}@keyframes _rotate-anti-clock-wise_17o17_1{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.switch,.switch__input{-webkit-tap-highlight-color:#0000}.switch{margin:auto;position:relative;width:5em;height:3em;display:block}.switch__base-outer,.switch__base-inner{position:absolute;display:block}.switch__base-outer{left:.125em;top:.125em;width:4.75em;height:2.75em;border-radius:1.25em;box-shadow:-.125em -.125em .25em hsl(var(--hue),10%,30%),.125em .125em .125em hsl(var(--hue),10%,30%) inset,.125em .125em .25em #000,-.125em -.125em .125em hsl(var(--hue),10%,5%) inset}.switch__base-inner{left:.375em;top:.375em;width:4.25em;height:2.25em;border-radius:1.125em;box-shadow:-.25em -.25em .25em hsl(var(--hue),10%,30%) inset,.0625em .0625em .125em hsla(var(--hue),10%,30%),.125em .25em .25em hsl(var(--hue),10%,5%) inset,-.0625em -.0625em .125em hsla(var(--hue),10%,5%)}.switch__base-neon{position:absolute;left:0;top:0;width:100%;height:auto;display:block;overflow:visible}.switch__base-neon path{stroke-dasharray:0 104.26 0;transition:stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__input{position:relative;width:100%;height:100%;outline:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.switch__input:before{content:"";position:absolute;inset:-.125em;display:block;border-radius:.125em;box-shadow:0 0 0 .125em hsla(var(--hue),90%,50%,0);transition:box-shadow .15s linear}.switch__input:focus-visible:before{box-shadow:0 0 0 .125em var(--primary)}.switch__knob,.switch__knob-container{display:block;position:absolute;border-radius:1em}.switch__knob{width:2em;height:2em;background-color:hsl(var(--hue),10%,15%);background-image:radial-gradient(88% 88% at 50% 50%,hsl(var(--hue),10%,20%) 47%,hsla(var(--hue),10%,20%,0) 50%),radial-gradient(88% 88% at 47% 47%,hsl(var(--hue),10%,85%) 45%,hsla(var(--hue),10%,85%,0) 50%),radial-gradient(65% 70% at 40% 60%,hsl(var(--hue),10%,20%) 46%,hsla(var(--hue),10%,20%,0) 50%);box-shadow:-.0625em -.0625em .0625em hsl(var(--hue),10%,15%) inset,-.125em -.125em .0625em hsl(var(--hue),10%,5%) inset,.75em .25em .125em #000c;transition:transform var(--trans-dur) var(--trans-timing)}.switch__knob-container{left:.5em;top:.5em;width:4em;height:2em;overflow:hidden}.switch__knob-neon{display:block;width:2em;height:auto}.switch__knob-neon circle{opacity:0;stroke-dasharray:0 90.32 0 54.19;transition:opacity var(--trans-dur) steps(1,end),stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__knob-shadow{position:absolute;left:.5em;top:.5em;width:2em;height:2em;display:block;border-radius:50%;box-shadow:.125em .125em .125em #000000e6;transition:transform var(--trans-dur) var(--trans-timing)}.switch__led{position:absolute;left:0;top:0;width:.25em;height:.25em;display:block;background-color:hsl(var(--off-hue),90%,70%);border-radius:50%;box-shadow:0 -.0625em .0625em hsl(var(--off-hue),90%,40%) inset,0 0 .125em hsla(var(--off-hue),90%,70%,.3),0 0 .125em hsla(var(--off-hue),90%,70%,.3),.125em .125em .125em #00000080;transition:background-color var(--trans-dur) var(--trans-timing),box-shadow var(--trans-dur) var(--trans-timing)}.switch__text{position:absolute;width:1px;height:1px;overflow:hidden}.switch__input:checked~.switch__led{background-color:hsl(var(--on-hue1),90%,70%);box-shadow:0 -.0625em .0625em hsl(var(--on-hue1),90%,40%) inset,0 -.125em .125em hsla(var(--on-hue1),90%,70%,.3),0 .125em .125em hsla(var(--on-hue1),90%,70%,.3),.125em .125em .125em #00000080}.switch__input:checked~.switch__base-neon path{stroke-dasharray:52.13 0 52.13}.switch__input:checked~.switch__knob-shadow,.switch__input:checked~.switch__knob-container .switch__knob{transform:translate(100%)}.switch__input:checked~.switch__knob-container .switch__knob-neon circle{opacity:1;stroke-dasharray:45.16 0 45.16 54.19;transition-timing-function:steps(1,start),var(--trans-timing)}.toggle-wrapper{position:relative;display:flex;justify-content:center;align-items:center;-moz-column-gap:.25em;column-gap:.25em}.toggle-icon{width:.5em;height:.5em;fill:#4c9bab;filter:drop-shadow(0 1px 1px rgba(255,255,255,.4));transition:fill .4s}.toggle-checkbox:not(:checked)+.toggle-icon.off,.toggle-checkbox:checked~.toggle-icon.on{fill:#e0f9fc}.toggle-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:1;border-radius:3.125em;width:4.05em;height:100%;opacity:0;cursor:pointer}.toggle-container{position:relative;border-radius:3.125em;width:4.05em;height:1.5em;background-image:repeating-conic-gradient(#0b66a0 0% 25%,#1093a8 0% 50%);background-size:.125em .125em;box-shadow:inset 0 .125em .25em #00092699,inset -1.5em 0 .0625em #00092680,inset .5em 0 .5em #00092680,0 1px 1px #fff6}.toggle-button{display:flex;justify-content:center;align-items:center;position:absolute;top:.0625em;left:.0625em;border-radius:inherit;width:2.55em;height:calc(100% - .125em);background-image:linear-gradient(to right,#86e2fa,#125e79);box-shadow:0 .125em .25em #0009;transition:left .4s}.toggle-checkbox:checked~.toggle-container>.toggle-button{left:1.4375em}.toggle-button:before{content:"";position:absolute;top:inherit;border-radius:inherit;width:calc(100% - .375em);height:inherit;background-image:linear-gradient(to right,#0f73a8,#57cfe2,#b3f0ff)}.toggle-button:after{content:"";position:absolute;width:.5em;height:38%;background-image:repeating-linear-gradient(to right,#d2f2f6 0 .0625em,#4ea0ae .0625em .125em,transparent .125em .1875em)}._container_1xrdi_1 table{border-spacing:0;--sticky-cell-border-color: #545d9e}._container_1xrdi_1 th,._container_1xrdi_1 td{border:1px solid #2e3252;padding:8px;text-align:left}._container_1xrdi_1 th{background-color:#272a3f}._container_1xrdi_1 td{background-color:#212335;color:#bdbddb}._sticky-header-row_1xrdi_47 ._container_1xrdi_1{width:-moz-fit-content;width:fit-content;height:300px;overflow:auto}._sticky-header-row_1xrdi_47 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--sticky-cell-border-color)}._sticky-first-column_1xrdi_73 ._container_1xrdi_1{width:300px;overflow:auto}._sticky-first-column_1xrdi_73 th[scope=col]:first-child,._sticky-first-column_1xrdi_73 th[scope=row]{position:sticky;left:0;border-right-color:var(--sticky-cell-border-color)}._sticky-header-and-first-column_1xrdi_99 ._container_1xrdi_1{width:400px;height:400px;overflow:auto}._sticky-header-and-first-column_1xrdi_99 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--sticky-cell-border-color)}._sticky-header-and-first-column_1xrdi_99 th[scope=row]{position:sticky;left:0;border-right-color:var(--sticky-cell-border-color)}._sticky-header-and-first-column_1xrdi_99 th[scope=col]:first-child{left:0;z-index:1;border-right-color:var(--sticky-cell-border-color);border-bottom-color:var(--sticky-cell-border-color)}._container_1xrdi_1::-webkit-scrollbar{width:6px;height:6px}._container_1xrdi_1::-webkit-scrollbar-track{background:black}._container_1xrdi_1::-webkit-scrollbar-thumb{background-color:#9f9ec7;border-radius:10px}._container_1xrdi_1::-webkit-scrollbar-thumb:hover{background-color:#8988aa}.splitpane-content,.splitpane{flex:1;min-height:0;min-width:0}.splitpane-divider{flex-shrink:0;z-index:1000;transition:background-color .1s ease .4s}.splitpane-divider.horizontal{width:3px}.splitpane-divider.vertical{height:3px}.splitpane-divider:hover{background-color:#2e8fff;cursor:ew-resize}.splitpane-divider.vertical:hover{cursor:ns-resize}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--card: 0 0% 100%;--card-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 224 71% 4%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--border: 216 34% 17%;--input: 216 34% 17%;--card: 224 71% 4%;--card-foreground: 213 31% 91%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}html,body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-4{top:1rem}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-start-2{grid-column-start:2}.m-0{margin:0}.m-0\.5{margin:.125rem}.m-1{margin:.25rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-12{margin-right:3rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[160px\]{height:160px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[460px\]{height:460px}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-\[60px\]{min-height:60px}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[230px\]{width:230px}.w-\[250px\]{width:250px}.w-\[280px\]{width:280px}.w-\[36px\]{width:36px}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-0{min-width:0px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[16px\,1fr\]{grid-template-columns:16px 1fr}.grid-rows-\[auto\,1fr\,auto\]{grid-template-rows:auto 1fr auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-\[14px\]{border-width:14px}.border-\[1px\]{border-width:1px}.border-\[20px\]{border-width:20px}.border-\[8px\]{border-width:8px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-current{border-color:currentColor}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-muted{border-color:hsl(var(--muted))}.border-muted-foreground\/30{border-color:hsl(var(--muted-foreground) / .3)}.border-primary{border-color:hsl(var(--primary))}.border-primary-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-primary-foreground{border-color:hsl(var(--primary-foreground))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-transparent{border-color:transparent}.border-x-transparent{border-left-color:transparent;border-right-color:transparent}.border-y-transparent{border-top-color:transparent;border-bottom-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-popover{background-color:hsl(var(--popover))}.bg-popover\/80{background-color:hsl(var(--popover) / .8)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-primary-500\/20{background-color:#71717a33}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-800\/90{background-color:#1e293be6}.bg-transparent{background-color:transparent}.\!bg-cover{background-size:cover!important}.bg-cover{background-size:cover}.\!bg-center{background-position:center!important}.bg-center{background-position:center}.fill-current{fill:currentColor}.fill-none{fill:none}.fill-primary{fill:hsl(var(--primary))}.fill-slate-600{fill:#475569}.stroke-current{stroke:currentColor}.stroke-none{stroke:none}.stroke-\[1\.5\]{stroke-width:1.5}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-tighter{letter-spacing:-.05em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-accent-foreground\/50{color:hsl(var(--accent-foreground) / .5)}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.resizer::-webkit-resizer{background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsSAAALEgHS3X78AAAAIGNIUk0AAG11AABzoAAA9q8AAIWZAABumgAA57sAADF9AAAXvQF2CngAAABESURBVHjajM67DQAgDENBw6x0WZDtHi3KR4klF5ausAAVvf8u0TGjgwFlMEUeepR+DCj72CJAC9AkW8OM4QMAAP//AwD5ltVB1vqf0gAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:bottom right;background-size:95% 95%}.\[--bg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]{--bg: hsl(var(--hue1),90%,90%)}.\[--fg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]{--fg: hsl(var(--hue1),90%,10%)}.\[--hue1\:223\]{--hue1: 223}.\[--hue1\:53\]{--hue1: 53}.\[--hue2\:153\]{--hue2: 153}.\[--hue2\:163\]{--hue2: 163}.\[--hue2\:253\]{--hue2: 253}.\[--hue2\:283\]{--hue2: 283}.\[--hue2\:343\]{--hue2: 343}.\[--hue\:223\]{--hue: 223}.\[--off-hue\:3\]{--off-hue: 3}.\[--on-hue1\:123\]{--on-hue1: 123}.\[--on-hue2\:168\]{--on-hue2: 168}.\[--primary\:hsl\(var\(--hue\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue),90%,50%)}.\[--primary\:hsl\(var\(--hue1\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue1),90%,50%)}.\[--secondary\:hsl\(var\(--hue2\)\,90\%\,50\%\)\]{--secondary: hsl(var(--hue2),90%,50%)}.\[--trans-dur\:0\.2s\]{--trans-dur: .2s}.\[--trans-timing\:cubic-bezier\(0\.65\,0\,0\.35\,1\)\]{--trans-timing: cubic-bezier(.65,0,.35,1)}.\[grid-area\:1\/1\/2\/2\]{grid-area:1/1/2/2}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-0:before{content:var(--tw-content);left:0}.before\:right-1:before{content:var(--tw-content);right:.25rem}.before\:-z-10:before{content:var(--tw-content);z-index:-10}.before\:h-\[1\.75rem\]:before{content:var(--tw-content);height:1.75rem}.before\:w-full:before{content:var(--tw-content);width:100%}.before\:border-l-2:before{content:var(--tw-content);border-left-width:2px}.before\:border-l-accent-foreground\/50:before{content:var(--tw-content);border-left-color:hsl(var(--accent-foreground) / .5)}.before\:bg-accent:before{content:var(--tw-content);background-color:hsl(var(--accent))}.before\:bg-muted\/80:before{content:var(--tw-content);background-color:hsl(var(--muted) / .8)}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:opacity-100:before{content:var(--tw-content);opacity:1}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\:visible:after{content:var(--tw-content);visibility:visible}.after\:invisible:after{content:var(--tw-content);visibility:hidden}.after\:whitespace-pre:after{content:var(--tw-content);white-space:pre}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-transparent:after{content:var(--tw-content);border-color:transparent}.after\:px-3:after{content:var(--tw-content);padding-left:.75rem;padding-right:.75rem}.after\:py-2:after{content:var(--tw-content);padding-top:.5rem;padding-bottom:.5rem}.after\:text-sm:after{content:var(--tw-content);font-size:.875rem;line-height:1.25rem}.after\:text-red-500:after{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.after\:\!\[content\:attr\(data-replicated\)_\"_\"\]:after{content:attr(data-replicated) " "!important}.after\:\[grid-area\:1\/1\/2\/2\]:after{content:var(--tw-content);grid-area:1/1/2/2}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-ring:focus-within{--tw-ring-color: hsl(var(--ring))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:before\:opacity-100:hover:before{content:var(--tw-content);opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(82 82 91 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-primary-200:focus{--tw-ring-offset-color: #e4e4e7}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:scale-105:active{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:-rotate-90){--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:rotate-0){--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-0){--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-100){--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:\[--bg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]){--bg: hsl(var(--hue1),90%,10%)}:is(.dark .dark\:\[--fg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]){--fg: hsl(var(--hue1),90%,90%)}:is(.dark .dark\:before\:border-0):before{content:var(--tw-content);border-width:0px}:is(.dark .dark\:focus\:ring-primary-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(161 161 170 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-primary-800:focus){--tw-ring-offset-color: #27272a}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-\[420px\]{max-width:420px}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start){border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]){border-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>div\]\:w-full>div{width:100%}.\[\&\>div\]\:text-left>div{text-align:left}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\[data-fixed-width\]\>div\>div\]\:\!\[display\:block\][data-fixed-width]>div>div{display:block!important}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:last-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} +.pl1__g,.pl1__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite}.pl1__g{transform-origin:64px 64px}.pl1__rect:first-child{animation-name:pl1-b}.pl1__rect:nth-child(2){animation-name:pl1-c}@keyframes pl1-b{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px}20%{animation-timing-function:steps(1,start);width:40px;height:0}60%{animation-timing-function:cubic-bezier(.65,0,.35,1);width:0;height:40px}80%,to{width:40px;height:40px}}@keyframes pl1-c{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translateY(48px)}20%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:40px;height:88px;transform:translate(0)}40%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translate(0)}60%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:88px;height:40px;transform:translate(0)}80%,to{width:40px;height:40px;transform:translate(48px)}}.pl2__rect,.pl2__rect-g{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl2-a}.pl2__rect{animation-name:pl2-b}.pl2__rect-g .pl2__rect{transform-origin:20px 128px}.pl2__rect-g:first-child,.pl2__rect-g:first-child .pl2__rect{animation-delay:-.25s}.pl2__rect-g:nth-child(2),.pl2__rect-g:nth-child(2) .pl2__rect{animation-delay:-.125s}.pl2__rect-g:nth-child(2) .pl2__rect{transform-origin:64px 128px}.pl2__rect-g:nth-child(3) .pl2__rect{transform-origin:108px 128px}@keyframes pl2-a{0%,25%,66.67%,to{transform:translateY(0)}50%{animation-timing-function:cubic-bezier(.33,0,.67,0);transform:translateY(-80px)}}@keyframes pl2-b{0%,to{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:24px;transform:rotate(180deg) translate(0)}33.33%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:20px;height:64px;transform:rotate(180deg) translate(10px)}66.67%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:28px;height:44px;transform:rotate(180deg) translate(6px)}}.pl3__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl3}.pl3__rect-g{transform-origin:64px 64px}@keyframes pl1-a{0%{transform:rotate(0)}80%,to{animation-timing-function:steps(1,start);transform:rotate(90deg)}}@keyframes pl3{0%{transform:translate(64px);width:64px;height:64px}25%{transform:translate(0);width:128px;height:32px}50%{transform:translate(0);width:64px;height:64px}75%{transform:translate(0);width:32px;height:128px}to{transform:translateY(64px);width:64px;height:64px}}._dots-ring_d2oym_5{--w: #fafafa;--b: #141414;--s: 1s;--d: calc(var(--s) / 6);--dot-size: 1vmin;position:relative}._content_d2oym_51,._dots_d2oym_5{display:flex;align-items:center;justify-content:center}._content_d2oym_51{width:50vmin;height:50vmin;background:#f000;animation:_spin_d2oym_1 8s linear 0s infinite}._control_d2oym_87{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:4}._control_d2oym_87:checked~div{filter:invert(1)}._control_d2oym_87:checked+._bg_d2oym_113:before{content:"CLICK TO DARK"}._bg_d2oym_113{position:absolute;background:var(--b);z-index:-2;inset:0}._bg_d2oym_113:before{content:"CLICK TO LIGHT";position:absolute;top:100px;left:0;color:var(--w);font-family:Arial,Helvetica,serif;font-size:12px;text-shadow:0 0 1px var(--w);opacity:.25}._ring_d2oym_185{width:64%;height:64%;border:1.5vmin solid var(--w);border-radius:100%;box-shadow:0 0 0 1vmin var(--b),0 0 0 1vmin var(--b) inset;animation:_spin_d2oym_1 8s linear 0s infinite reverse;z-index:0}._dots_d2oym_5{background:#0ff0;width:100%;height:100%;position:relative}._dot_d2oym_5{position:absolute;left:0;width:50%;height:7vmin;background:#f000;transform-origin:100% 50%;z-index:-1;animation:_over-ring_d2oym_1 calc(var(--s) * 2) linear 0s infinite}._dot_d2oym_5 span{position:absolute;left:0;width:5.5vmin;height:5.5vmin;background:var(--w);border:1vmin solid var(--b);border-radius:100%;animation:_ball_d2oym_1 var(--s) ease-in-out 0s infinite alternate}._dot_d2oym_5:nth-child(1){transform:rotate(-30deg);animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(1) span{animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(2){transform:rotate(-60deg);animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(2) span{animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(3){transform:rotate(-90deg);animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(3) span{animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(4){transform:rotate(-120deg);animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(4) span{animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(5){transform:rotate(-150deg);animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(5) span{animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(6){transform:rotate(-180deg);animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(6) span{animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(7){transform:rotate(-210deg);animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(7) span{animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(8){transform:rotate(-240deg);animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(8) span{animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(9){transform:rotate(-270deg);animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(9) span{animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(10){transform:rotate(-300deg);animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(10) span{animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(11){transform:rotate(-330deg);animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(11) span{animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(12){transform:rotate(-360deg);animation-delay:calc(var(--d) * -11)}._dot_d2oym_5:nth-child(12) span{animation-delay:calc(var(--d) * -11)}@keyframes _spin_d2oym_1{to{transform:rotate(-360deg)}}@keyframes _ball_d2oym_1{to{left:calc(var(--dot-size) * 12);width:calc(var(--dot-size) * 4);height:calc(var(--dot-size) * 4)}}@keyframes _over-ring_d2oym_1{0%,50%{z-index:-1}51%,to{z-index:1}}._a_17o17_51{animation:_rotate-clock-wise_17o17_1 3s infinite linear}@keyframes _rotate-clock-wise_17o17_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._b_17o17_79{animation:_rotate-anti-clock-wise_17o17_1 .9s infinite linear}@keyframes _rotate-anti-clock-wise_17o17_1{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.switch,.switch__input{-webkit-tap-highlight-color:#0000}.switch{margin:auto;position:relative;width:5em;height:3em;display:block}.switch__base-outer,.switch__base-inner{position:absolute;display:block}.switch__base-outer{left:.125em;top:.125em;width:4.75em;height:2.75em;border-radius:1.25em;box-shadow:-.125em -.125em .25em hsl(var(--hue),10%,30%),.125em .125em .125em hsl(var(--hue),10%,30%) inset,.125em .125em .25em #000,-.125em -.125em .125em hsl(var(--hue),10%,5%) inset}.switch__base-inner{left:.375em;top:.375em;width:4.25em;height:2.25em;border-radius:1.125em;box-shadow:-.25em -.25em .25em hsl(var(--hue),10%,30%) inset,.0625em .0625em .125em hsla(var(--hue),10%,30%),.125em .25em .25em hsl(var(--hue),10%,5%) inset,-.0625em -.0625em .125em hsla(var(--hue),10%,5%)}.switch__base-neon{position:absolute;left:0;top:0;width:100%;height:auto;display:block;overflow:visible}.switch__base-neon path{stroke-dasharray:0 104.26 0;transition:stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__input{position:relative;width:100%;height:100%;outline:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.switch__input:before{content:"";position:absolute;inset:-.125em;display:block;border-radius:.125em;box-shadow:0 0 0 .125em hsla(var(--hue),90%,50%,0);transition:box-shadow .15s linear}.switch__input:focus-visible:before{box-shadow:0 0 0 .125em var(--primary)}.switch__knob,.switch__knob-container{display:block;position:absolute;border-radius:1em}.switch__knob{width:2em;height:2em;background-color:hsl(var(--hue),10%,15%);background-image:radial-gradient(88% 88% at 50% 50%,hsl(var(--hue),10%,20%) 47%,hsla(var(--hue),10%,20%,0) 50%),radial-gradient(88% 88% at 47% 47%,hsl(var(--hue),10%,85%) 45%,hsla(var(--hue),10%,85%,0) 50%),radial-gradient(65% 70% at 40% 60%,hsl(var(--hue),10%,20%) 46%,hsla(var(--hue),10%,20%,0) 50%);box-shadow:-.0625em -.0625em .0625em hsl(var(--hue),10%,15%) inset,-.125em -.125em .0625em hsl(var(--hue),10%,5%) inset,.75em .25em .125em #000c;transition:transform var(--trans-dur) var(--trans-timing)}.switch__knob-container{left:.5em;top:.5em;width:4em;height:2em;overflow:hidden}.switch__knob-neon{display:block;width:2em;height:auto}.switch__knob-neon circle{opacity:0;stroke-dasharray:0 90.32 0 54.19;transition:opacity var(--trans-dur) steps(1,end),stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__knob-shadow{position:absolute;left:.5em;top:.5em;width:2em;height:2em;display:block;border-radius:50%;box-shadow:.125em .125em .125em #000000e6;transition:transform var(--trans-dur) var(--trans-timing)}.switch__led{position:absolute;left:0;top:0;width:.25em;height:.25em;display:block;background-color:hsl(var(--off-hue),90%,70%);border-radius:50%;box-shadow:0 -.0625em .0625em hsl(var(--off-hue),90%,40%) inset,0 0 .125em hsla(var(--off-hue),90%,70%,.3),0 0 .125em hsla(var(--off-hue),90%,70%,.3),.125em .125em .125em #00000080;transition:background-color var(--trans-dur) var(--trans-timing),box-shadow var(--trans-dur) var(--trans-timing)}.switch__text{position:absolute;width:1px;height:1px;overflow:hidden}.switch__input:checked~.switch__led{background-color:hsl(var(--on-hue1),90%,70%);box-shadow:0 -.0625em .0625em hsl(var(--on-hue1),90%,40%) inset,0 -.125em .125em hsla(var(--on-hue1),90%,70%,.3),0 .125em .125em hsla(var(--on-hue1),90%,70%,.3),.125em .125em .125em #00000080}.switch__input:checked~.switch__base-neon path{stroke-dasharray:52.13 0 52.13}.switch__input:checked~.switch__knob-shadow,.switch__input:checked~.switch__knob-container .switch__knob{transform:translate(100%)}.switch__input:checked~.switch__knob-container .switch__knob-neon circle{opacity:1;stroke-dasharray:45.16 0 45.16 54.19;transition-timing-function:steps(1,start),var(--trans-timing)}.toggle-wrapper{position:relative;display:flex;justify-content:center;align-items:center;-moz-column-gap:.25em;column-gap:.25em}.toggle-icon{width:.5em;height:.5em;fill:#4c9bab;filter:drop-shadow(0 1px 1px rgba(255,255,255,.4));transition:fill .4s}.toggle-checkbox:not(:checked)+.toggle-icon.off,.toggle-checkbox:checked~.toggle-icon.on{fill:#e0f9fc}.toggle-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:1;border-radius:3.125em;width:4.05em;height:100%;opacity:0;cursor:pointer}.toggle-container{position:relative;border-radius:3.125em;width:4.05em;height:1.5em;background-image:repeating-conic-gradient(#0b66a0 0% 25%,#1093a8 0% 50%);background-size:.125em .125em;box-shadow:inset 0 .125em .25em #00092699,inset -1.5em 0 .0625em #00092680,inset .5em 0 .5em #00092680,0 1px 1px #fff6}.toggle-button{display:flex;justify-content:center;align-items:center;position:absolute;top:.0625em;left:.0625em;border-radius:inherit;width:2.55em;height:calc(100% - .125em);background-image:linear-gradient(to right,#86e2fa,#125e79);box-shadow:0 .125em .25em #0009;transition:left .4s}.toggle-checkbox:checked~.toggle-container>.toggle-button{left:1.4375em}.toggle-button:before{content:"";position:absolute;top:inherit;border-radius:inherit;width:calc(100% - .375em);height:inherit;background-image:linear-gradient(to right,#0f73a8,#57cfe2,#b3f0ff)}.toggle-button:after{content:"";position:absolute;width:.5em;height:38%;background-image:repeating-linear-gradient(to right,#d2f2f6 0 .0625em,#4ea0ae .0625em .125em,transparent .125em .1875em)}._container_1xrdi_1 table{border-spacing:0;--sticky-cell-border-color: #545d9e}._container_1xrdi_1 th,._container_1xrdi_1 td{border:1px solid #2e3252;padding:8px;text-align:left}._container_1xrdi_1 th{background-color:#272a3f}._container_1xrdi_1 td{background-color:#212335;color:#bdbddb}._sticky-header-row_1xrdi_47 ._container_1xrdi_1{width:-moz-fit-content;width:fit-content;height:300px;overflow:auto}._sticky-header-row_1xrdi_47 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--sticky-cell-border-color)}._sticky-first-column_1xrdi_73 ._container_1xrdi_1{width:300px;overflow:auto}._sticky-first-column_1xrdi_73 th[scope=col]:first-child,._sticky-first-column_1xrdi_73 th[scope=row]{position:sticky;left:0;border-right-color:var(--sticky-cell-border-color)}._sticky-header-and-first-column_1xrdi_99 ._container_1xrdi_1{width:400px;height:400px;overflow:auto}._sticky-header-and-first-column_1xrdi_99 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--sticky-cell-border-color)}._sticky-header-and-first-column_1xrdi_99 th[scope=row]{position:sticky;left:0;border-right-color:var(--sticky-cell-border-color)}._sticky-header-and-first-column_1xrdi_99 th[scope=col]:first-child{left:0;z-index:1;border-right-color:var(--sticky-cell-border-color);border-bottom-color:var(--sticky-cell-border-color)}._container_1xrdi_1::-webkit-scrollbar{width:6px;height:6px}._container_1xrdi_1::-webkit-scrollbar-track{background:black}._container_1xrdi_1::-webkit-scrollbar-thumb{background-color:#9f9ec7;border-radius:10px}._container_1xrdi_1::-webkit-scrollbar-thumb:hover{background-color:#8988aa}.splitpane-content,.splitpane{flex:1;min-height:0;min-width:0}.splitpane-divider{flex-shrink:0;z-index:1000;transition:background-color .1s ease .4s}.splitpane-divider.horizontal{width:3px}.splitpane-divider.vertical{height:3px}.splitpane-divider:hover{background-color:#2e8fff;cursor:ew-resize}.splitpane-divider.vertical:hover{cursor:ns-resize}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--card: 0 0% 100%;--card-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 224 71% 4%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--border: 216 34% 17%;--input: 216 34% 17%;--card: 224 71% 4%;--card-foreground: 213 31% 91%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}html,body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-4{top:1rem}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-start-2{grid-column-start:2}.m-0{margin:0}.m-0\.5{margin:.125rem}.m-1{margin:.25rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-12{margin-right:3rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[160px\]{height:160px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[460px\]{height:460px}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-\[60px\]{min-height:60px}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[230px\]{width:230px}.w-\[250px\]{width:250px}.w-\[280px\]{width:280px}.w-\[36px\]{width:36px}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-0{min-width:0px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[16px\,1fr\]{grid-template-columns:16px 1fr}.grid-rows-\[auto\,1fr\,auto\]{grid-template-rows:auto 1fr auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-\[14px\]{border-width:14px}.border-\[1px\]{border-width:1px}.border-\[20px\]{border-width:20px}.border-\[8px\]{border-width:8px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-current{border-color:currentColor}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-muted{border-color:hsl(var(--muted))}.border-muted-foreground\/30{border-color:hsl(var(--muted-foreground) / .3)}.border-primary{border-color:hsl(var(--primary))}.border-primary-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-primary-foreground{border-color:hsl(var(--primary-foreground))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-transparent{border-color:transparent}.border-x-transparent{border-left-color:transparent;border-right-color:transparent}.border-y-transparent{border-top-color:transparent;border-bottom-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-popover{background-color:hsl(var(--popover))}.bg-popover\/80{background-color:hsl(var(--popover) / .8)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-primary-500\/20{background-color:#71717a33}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-800\/90{background-color:#1e293be6}.bg-transparent{background-color:transparent}.\!bg-cover{background-size:cover!important}.bg-cover{background-size:cover}.\!bg-center{background-position:center!important}.bg-center{background-position:center}.fill-current{fill:currentColor}.fill-none{fill:none}.fill-primary{fill:hsl(var(--primary))}.fill-slate-600{fill:#475569}.stroke-current{stroke:currentColor}.stroke-none{stroke:none}.stroke-\[1\.5\]{stroke-width:1.5}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-tighter{letter-spacing:-.05em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-accent-foreground\/50{color:hsl(var(--accent-foreground) / .5)}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.resizer::-webkit-resizer{background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsSAAALEgHS3X78AAAAIGNIUk0AAG11AABzoAAA9q8AAIWZAABumgAA57sAADF9AAAXvQF2CngAAABESURBVHjajM67DQAgDENBw6x0WZDtHi3KR4klF5ausAAVvf8u0TGjgwFlMEUeepR+DCj72CJAC9AkW8OM4QMAAP//AwD5ltVB1vqf0gAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:bottom right;background-size:95% 95%}.\[--bg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]{--bg: hsl(var(--hue1),90%,90%)}.\[--fg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]{--fg: hsl(var(--hue1),90%,10%)}.\[--hue1\:223\]{--hue1: 223}.\[--hue1\:53\]{--hue1: 53}.\[--hue2\:153\]{--hue2: 153}.\[--hue2\:163\]{--hue2: 163}.\[--hue2\:253\]{--hue2: 253}.\[--hue2\:283\]{--hue2: 283}.\[--hue2\:343\]{--hue2: 343}.\[--hue\:223\]{--hue: 223}.\[--off-hue\:3\]{--off-hue: 3}.\[--on-hue1\:123\]{--on-hue1: 123}.\[--on-hue2\:168\]{--on-hue2: 168}.\[--primary\:hsl\(var\(--hue\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue),90%,50%)}.\[--primary\:hsl\(var\(--hue1\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue1),90%,50%)}.\[--secondary\:hsl\(var\(--hue2\)\,90\%\,50\%\)\]{--secondary: hsl(var(--hue2),90%,50%)}.\[--trans-dur\:0\.2s\]{--trans-dur: .2s}.\[--trans-timing\:cubic-bezier\(0\.65\,0\,0\.35\,1\)\]{--trans-timing: cubic-bezier(.65,0,.35,1)}.\[grid-area\:1\/1\/2\/2\]{grid-area:1/1/2/2}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-0:before{content:var(--tw-content);left:0}.before\:right-1:before{content:var(--tw-content);right:.25rem}.before\:-z-10:before{content:var(--tw-content);z-index:-10}.before\:h-\[1\.75rem\]:before{content:var(--tw-content);height:1.75rem}.before\:w-full:before{content:var(--tw-content);width:100%}.before\:border-l-2:before{content:var(--tw-content);border-left-width:2px}.before\:border-l-accent-foreground\/50:before{content:var(--tw-content);border-left-color:hsl(var(--accent-foreground) / .5)}.before\:bg-accent:before{content:var(--tw-content);background-color:hsl(var(--accent))}.before\:bg-muted\/80:before{content:var(--tw-content);background-color:hsl(var(--muted) / .8)}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:opacity-100:before{content:var(--tw-content);opacity:1}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\:visible:after{content:var(--tw-content);visibility:visible}.after\:invisible:after{content:var(--tw-content);visibility:hidden}.after\:whitespace-pre:after{content:var(--tw-content);white-space:pre}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-transparent:after{content:var(--tw-content);border-color:transparent}.after\:px-3:after{content:var(--tw-content);padding-left:.75rem;padding-right:.75rem}.after\:py-2:after{content:var(--tw-content);padding-top:.5rem;padding-bottom:.5rem}.after\:text-sm:after{content:var(--tw-content);font-size:.875rem;line-height:1.25rem}.after\:text-red-500:after{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.after\:\!\[content\:attr\(data-replicated\)_\"_\"\]:after{content:attr(data-replicated) " "!important}.after\:\[grid-area\:1\/1\/2\/2\]:after{content:var(--tw-content);grid-area:1/1/2/2}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-ring:focus-within{--tw-ring-color: hsl(var(--ring))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:before\:opacity-100:hover:before{content:var(--tw-content);opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(82 82 91 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-primary-200:focus{--tw-ring-offset-color: #e4e4e7}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:scale-105:active{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:-rotate-90){--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:rotate-0){--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-0){--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-100){--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:\[--bg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]){--bg: hsl(var(--hue1),90%,10%)}:is(.dark .dark\:\[--fg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]){--fg: hsl(var(--hue1),90%,90%)}:is(.dark .dark\:before\:border-0):before{content:var(--tw-content);border-width:0px}:is(.dark .dark\:focus\:ring-primary-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(161 161 170 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-primary-800:focus){--tw-ring-offset-color: #27272a}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-\[420px\]{max-width:420px}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start){border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]){border-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>div\]\:w-full>div{width:100%}.\[\&\>div\]\:text-left>div{text-align:left}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\[data-fixed-width\]\>div\>div\]\:\!\[display\:block\][data-fixed-width]>div>div{display:block!important}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.first\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:first-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:last-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} diff --git a/index.html b/index.html index a2763c6..db89806 100644 --- a/index.html +++ b/index.html @@ -5,9 +5,9 @@ sharcd-ui - + - +