@service_laboratory/ui 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,132 @@
1
+ (function(P,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],D):(P=typeof globalThis<"u"?globalThis:P||self,D(P.ui={},P.react))})(this,(function(P,D){"use strict";function ba(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const f=ba(D);function ya(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ot={exports:{}},Ye={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Nr;function xa(){if(Nr)return Ye;Nr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,a){var i=null;if(a!==void 0&&(i=""+a),o.key!==void 0&&(i=""+o.key),"key"in o){a={};for(var c in o)c!=="key"&&(a[c]=o[c])}else a=o;return o=a.ref,{$$typeof:e,type:n,key:i,ref:o!==void 0?o:null,props:a}}return Ye.Fragment=t,Ye.jsx=r,Ye.jsxs=r,Ye}var Ke={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Dr;function wa(){return Dr||(Dr=1,process.env.NODE_ENV!=="production"&&(function(){function e(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===z?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case g:return"Fragment";case y:return"Profiler";case b:return"StrictMode";case E:return"Suspense";case T:return"SuspenseList";case I:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case h:return"Portal";case O:return(x.displayName||"Context")+".Provider";case S:return(x._context.displayName||"Context")+".Consumer";case w:var M=x.render;return x=x.displayName,x||(x=M.displayName||M.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case A:return M=x.displayName||null,M!==null?M:e(x.type)||"Memo";case _:M=x._payload,x=x._init;try{return e(x(M))}catch{}}return null}function t(x){return""+x}function r(x){try{t(x);var M=!1}catch{M=!0}if(M){M=console;var W=M.error,j=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return W.call(M,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",j),t(x)}}function n(x){if(x===g)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===_)return"<...>";try{var M=e(x);return M?"<"+M+">":"<...>"}catch{return"<...>"}}function o(){var x=H.A;return x===null?null:x.getOwner()}function a(){return Error("react-stack-top-frame")}function i(x){if(U.call(x,"key")){var M=Object.getOwnPropertyDescriptor(x,"key").get;if(M&&M.isReactWarning)return!1}return x.key!==void 0}function c(x,M){function W(){K||(K=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",M))}W.isReactWarning=!0,Object.defineProperty(x,"key",{get:W,configurable:!0})}function l(){var x=e(this.type);return F[x]||(F[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function s(x,M,W,j,Y,Q,_e,B){return W=Q.ref,x={$$typeof:p,type:x,key:M,props:Q,_owner:Y},(W!==void 0?W:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:l}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_e}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function m(x,M,W,j,Y,Q,_e,B){var X=M.children;if(X!==void 0)if(j)if(G(X)){for(j=0;j<X.length;j++)d(X[j]);Object.freeze&&Object.freeze(X)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(X);if(U.call(M,"key")){X=e(x);var ie=Object.keys(M).filter(function(Ne){return Ne!=="key"});j=0<ie.length?"{key: someKey, "+ie.join(": ..., ")+": ...}":"{key: someKey}",q[X+j]||(ie=0<ie.length?"{"+ie.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ let props = %s;
19
+ <%s {...props} />
20
+ React keys must be passed directly to JSX without using spread:
21
+ let props = %s;
22
+ <%s key={someKey} {...props} />`,j,X,ie,X),q[X+j]=!0)}if(X=null,W!==void 0&&(r(W),X=""+W),i(M)&&(r(M.key),X=""+M.key),"key"in M){W={};for(var ve in M)ve!=="key"&&(W[ve]=M[ve])}else W=M;return X&&c(W,typeof x=="function"?x.displayName||x.name||"Unknown":x),s(x,X,Q,Y,o(),W,_e,B)}function d(x){typeof x=="object"&&x!==null&&x.$$typeof===p&&x._store&&(x._store.validated=1)}var u=D,p=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),O=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),z=Symbol.for("react.client.reference"),H=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,G=Array.isArray,V=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(x){return x()}};var K,F={},$=u.react_stack_bottom_frame.bind(u,a)(),C=V(n(a)),q={};Ke.Fragment=g,Ke.jsx=function(x,M,W,j,Y){var Q=1e4>H.recentlyCreatedOwnerStacks++;return m(x,M,W,!1,j,Y,Q?Error("react-stack-top-frame"):$,Q?V(n(x)):C)},Ke.jsxs=function(x,M,W,j,Y){var Q=1e4>H.recentlyCreatedOwnerStacks++;return m(x,M,W,!0,j,Y,Q?Error("react-stack-top-frame"):$,Q?V(n(x)):C)}})()),Ke}var Mr;function Sa(){return Mr||(Mr=1,process.env.NODE_ENV==="production"?ot.exports=xa():ot.exports=wa()),ot.exports}var v=Sa();function Ea(e,t){const r=f.createContext(t),n=a=>{const{children:i,...c}=a,l=f.useMemo(()=>c,Object.values(c));return v.jsx(r.Provider,{value:l,children:i})};n.displayName=e+"Provider";function o(a){const i=f.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[n,o]}function at(e,t=[]){let r=[];function n(a,i){const c=f.createContext(i),l=r.length;r=[...r,i];const s=d=>{const{scope:u,children:p,...h}=d,g=u?.[e]?.[l]||c,b=f.useMemo(()=>h,Object.values(h));return v.jsx(g.Provider,{value:b,children:p})};s.displayName=a+"Provider";function m(d,u){const p=u?.[e]?.[l]||c,h=f.useContext(p);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[s,m]}const o=()=>{const a=r.map(i=>f.createContext(i));return function(c){const l=c?.[e]||a;return f.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return o.scopeName=e,[n,Ca(o,...t)]}function Ca(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((c,{useScope:l,scopeName:s})=>{const d=l(a)[`__scope${s}`];return{...c,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Ae(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...r)=>t.current?.(...r),[])}var se=globalThis?.document?f.useLayoutEffect:()=>{},it={exports:{}},ee={};/**
23
+ * @license React
24
+ * react-dom.production.js
25
+ *
26
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */var Lr;function Oa(){if(Lr)return ee;Lr=1;var e=D;function t(l){var s="https://react.dev/errors/"+l;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)s+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+l+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function a(l,s,m){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:d==null?null:""+d,children:l,containerInfo:s,implementation:m}}var i=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(l,s){if(l==="font")return"";if(typeof s=="string")return s==="use-credentials"?s:""}return ee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,ee.createPortal=function(l,s){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)throw Error(t(299));return a(l,s,null,m)},ee.flushSync=function(l){var s=i.T,m=n.p;try{if(i.T=null,n.p=2,l)return l()}finally{i.T=s,n.p=m,n.d.f()}},ee.preconnect=function(l,s){typeof l=="string"&&(s?(s=s.crossOrigin,s=typeof s=="string"?s==="use-credentials"?s:"":void 0):s=null,n.d.C(l,s))},ee.prefetchDNS=function(l){typeof l=="string"&&n.d.D(l)},ee.preinit=function(l,s){if(typeof l=="string"&&s&&typeof s.as=="string"){var m=s.as,d=c(m,s.crossOrigin),u=typeof s.integrity=="string"?s.integrity:void 0,p=typeof s.fetchPriority=="string"?s.fetchPriority:void 0;m==="style"?n.d.S(l,typeof s.precedence=="string"?s.precedence:void 0,{crossOrigin:d,integrity:u,fetchPriority:p}):m==="script"&&n.d.X(l,{crossOrigin:d,integrity:u,fetchPriority:p,nonce:typeof s.nonce=="string"?s.nonce:void 0})}},ee.preinitModule=function(l,s){if(typeof l=="string")if(typeof s=="object"&&s!==null){if(s.as==null||s.as==="script"){var m=c(s.as,s.crossOrigin);n.d.M(l,{crossOrigin:m,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0})}}else s==null&&n.d.M(l)},ee.preload=function(l,s){if(typeof l=="string"&&typeof s=="object"&&s!==null&&typeof s.as=="string"){var m=s.as,d=c(m,s.crossOrigin);n.d.L(l,m,{crossOrigin:d,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0,type:typeof s.type=="string"?s.type:void 0,fetchPriority:typeof s.fetchPriority=="string"?s.fetchPriority:void 0,referrerPolicy:typeof s.referrerPolicy=="string"?s.referrerPolicy:void 0,imageSrcSet:typeof s.imageSrcSet=="string"?s.imageSrcSet:void 0,imageSizes:typeof s.imageSizes=="string"?s.imageSizes:void 0,media:typeof s.media=="string"?s.media:void 0})}},ee.preloadModule=function(l,s){if(typeof l=="string")if(s){var m=c(s.as,s.crossOrigin);n.d.m(l,{as:typeof s.as=="string"&&s.as!=="script"?s.as:void 0,crossOrigin:m,integrity:typeof s.integrity=="string"?s.integrity:void 0})}else n.d.m(l)},ee.requestFormReset=function(l){n.d.r(l)},ee.unstable_batchedUpdates=function(l,s){return l(s)},ee.useFormState=function(l,s,m){return i.H.useFormState(l,s,m)},ee.useFormStatus=function(){return i.H.useHostTransitionStatus()},ee.version="19.1.1",ee}var te={};/**
31
+ * @license React
32
+ * react-dom.development.js
33
+ *
34
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE file in the root directory of this source tree.
38
+ */var Ir;function _a(){return Ir||(Ir=1,process.env.NODE_ENV!=="production"&&(function(){function e(){}function t(d){return""+d}function r(d,u,p){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(h);var g=!1}catch{g=!0}return g&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object"),t(h)),{$$typeof:s,key:h==null?null:""+h,children:d,containerInfo:u,implementation:p}}function n(d,u){if(d==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}function o(d){return d===null?"`null`":d===void 0?"`undefined`":d===""?"an empty string":'something with type "'+typeof d+'"'}function a(d){return d===null?"`null`":d===void 0?"`undefined`":d===""?"an empty string":typeof d=="string"?JSON.stringify(d):typeof d=="number"?"`"+d+"`":'something with type "'+typeof d+'"'}function i(){var d=m.H;return d===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
39
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
40
+ 2. You might be breaking the Rules of Hooks
41
+ 3. You might have more than one copy of React in the same app
42
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),d}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=D,l={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},s=Symbol.for("react.portal"),m=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),te.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,te.createPortal=function(d,u){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error("Target container is not a DOM element.");return r(d,u,null,p)},te.flushSync=function(d){var u=m.T,p=l.p;try{if(m.T=null,l.p=2,d)return d()}finally{m.T=u,l.p=p,l.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},te.preconnect=function(d,u){typeof d=="string"&&d?u!=null&&typeof u!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",a(u)):u!=null&&typeof u.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(u.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(d)),typeof d=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,l.d.C(d,u))},te.prefetchDNS=function(d){if(typeof d!="string"||!d)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(d));else if(1<arguments.length){var u=arguments[1];typeof u=="object"&&u.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",a(u)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",a(u))}typeof d=="string"&&l.d.D(d)},te.preinit=function(d,u){if(typeof d=="string"&&d?u==null||typeof u!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",a(u)):u.as!=="style"&&u.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',a(u.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(d)),typeof d=="string"&&u&&typeof u.as=="string"){var p=u.as,h=n(p,u.crossOrigin),g=typeof u.integrity=="string"?u.integrity:void 0,b=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;p==="style"?l.d.S(d,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:h,integrity:g,fetchPriority:b}):p==="script"&&l.d.X(d,{crossOrigin:h,integrity:g,fetchPriority:b,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},te.preinitModule=function(d,u){var p="";if(typeof d=="string"&&d||(p+=" The `href` argument encountered was "+o(d)+"."),u!==void 0&&typeof u!="object"?p+=" The `options` argument encountered was "+o(u)+".":u&&"as"in u&&u.as!=="script"&&(p+=" The `as` option encountered was "+a(u.as)+"."),p)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",p);else switch(p=u&&typeof u.as=="string"?u.as:"script",p){case"script":break;default:p=a(p),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',p,d)}typeof d=="string"&&(typeof u=="object"&&u!==null?(u.as==null||u.as==="script")&&(p=n(u.as,u.crossOrigin),l.d.M(d,{crossOrigin:p,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})):u==null&&l.d.M(d))},te.preload=function(d,u){var p="";if(typeof d=="string"&&d||(p+=" The `href` argument encountered was "+o(d)+"."),u==null||typeof u!="object"?p+=" The `options` argument encountered was "+o(u)+".":typeof u.as=="string"&&u.as||(p+=" The `as` option encountered was "+o(u.as)+"."),p&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',p),typeof d=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){p=u.as;var h=n(p,u.crossOrigin);l.d.L(d,p,{crossOrigin:h,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},te.preloadModule=function(d,u){var p="";typeof d=="string"&&d||(p+=" The `href` argument encountered was "+o(d)+"."),u!==void 0&&typeof u!="object"?p+=" The `options` argument encountered was "+o(u)+".":u&&"as"in u&&typeof u.as!="string"&&(p+=" The `as` option encountered was "+o(u.as)+"."),p&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',p),typeof d=="string"&&(u?(p=n(u.as,u.crossOrigin),l.d.m(d,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:p,integrity:typeof u.integrity=="string"?u.integrity:void 0})):l.d.m(d))},te.requestFormReset=function(d){l.d.r(d)},te.unstable_batchedUpdates=function(d,u){return d(u)},te.useFormState=function(d,u,p){return i().useFormState(d,u,p)},te.useFormStatus=function(){return i().useHostTransitionStatus()},te.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),te}var jr;function Aa(){if(jr)return it.exports;jr=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),it.exports=Oa()):it.exports=_a(),it.exports}var jt=Aa();const Ra=ya(jt);function Fr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ft(...e){return t=>{let r=!1;const n=e.map(o=>{const a=Fr(o,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let o=0;o<n.length;o++){const a=n[o];typeof a=="function"?a():Fr(e[o],null)}}}}function ce(...e){return f.useCallback(Ft(...e),e)}function $t(e){const t=ka(e),r=f.forwardRef((n,o)=>{const{children:a,...i}=n,c=f.Children.toArray(a),l=c.find(Pa);if(l){const s=l.props.children,m=c.map(d=>d===l?f.Children.count(s)>1?f.Children.only(null):f.isValidElement(s)?s.props.children:null:d);return v.jsx(t,{...i,ref:o,children:f.isValidElement(s)?f.cloneElement(s,void 0,m):null})}return v.jsx(t,{...i,ref:o,children:a})});return r.displayName=`${e}.Slot`,r}var we=$t("Slot");function ka(e){const t=f.forwardRef((r,n)=>{const{children:o,...a}=r;if(f.isValidElement(o)){const i=Da(o),c=Na(a,o.props);return o.type!==f.Fragment&&(c.ref=n?Ft(n,i):i),f.cloneElement(o,c)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $r=Symbol("radix.slottable");function Ta(e){const t=({children:r})=>v.jsx(v.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=$r,t}function Pa(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$r}function Na(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...c)=>{const l=a(...c);return o(...c),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function Da(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ma=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],J=Ma.reduce((e,t)=>{const r=$t(`Primitive.${t}`),n=f.forwardRef((o,a)=>{const{asChild:i,...c}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(l,{...c,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function La(e,t){e&&jt.flushSync(()=>e.dispatchEvent(t))}var st={exports:{}},zt={};/**
43
+ * @license React
44
+ * use-sync-external-store-shim.production.js
45
+ *
46
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
47
+ *
48
+ * This source code is licensed under the MIT license found in the
49
+ * LICENSE file in the root directory of this source tree.
50
+ */var zr;function Ia(){if(zr)return zt;zr=1;var e=D;function t(d,u){return d===u&&(d!==0||1/d===1/u)||d!==d&&u!==u}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function c(d,u){var p=u(),h=n({inst:{value:p,getSnapshot:u}}),g=h[0].inst,b=h[1];return a(function(){g.value=p,g.getSnapshot=u,l(g)&&b({inst:g})},[d,p,u]),o(function(){return l(g)&&b({inst:g}),d(function(){l(g)&&b({inst:g})})},[d]),i(p),p}function l(d){var u=d.getSnapshot;d=d.value;try{var p=u();return!r(d,p)}catch{return!0}}function s(d,u){return u()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?s:c;return zt.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,zt}var Vt={};/**
51
+ * @license React
52
+ * use-sync-external-store-shim.development.js
53
+ *
54
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
55
+ *
56
+ * This source code is licensed under the MIT license found in the
57
+ * LICENSE file in the root directory of this source tree.
58
+ */var Vr;function ja(){return Vr||(Vr=1,process.env.NODE_ENV!=="production"&&(function(){function e(p,h){return p===h&&(p!==0||1/p===1/h)||p!==p&&h!==h}function t(p,h){m||o.startTransition===void 0||(m=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=h();if(!d){var b=h();a(g,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}b=i({inst:{value:g,getSnapshot:h}});var y=b[0].inst,S=b[1];return l(function(){y.value=g,y.getSnapshot=h,r(y)&&S({inst:y})},[p,g,h]),c(function(){return r(y)&&S({inst:y}),p(function(){r(y)&&S({inst:y})})},[p]),s(g),g}function r(p){var h=p.getSnapshot;p=p.value;try{var g=h();return!a(p,g)}catch{return!0}}function n(p,h){return h()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=D,a=typeof Object.is=="function"?Object.is:e,i=o.useState,c=o.useEffect,l=o.useLayoutEffect,s=o.useDebugValue,m=!1,d=!1,u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Vt.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Vt}var Wr;function Fa(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?st.exports=Ia():st.exports=ja()),st.exports}var $a=Fa();function za(){return $a.useSyncExternalStore(Va,()=>!0,()=>!1)}function Va(){return()=>{}}var Wt="Avatar",[Wa,Md]=at(Wt),[Ba,Br]=Wa(Wt),Hr=f.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,a]=f.useState("idle");return v.jsx(Ba,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:a,children:v.jsx(J.span,{...n,ref:t})})});Hr.displayName=Wt;var Ur="AvatarImage",Ha=f.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...a}=e,i=Br(Ur,r),c=Ga(n,a),l=Ae(s=>{o(s),i.onImageLoadingStatusChange(s)});return se(()=>{c!=="idle"&&l(c)},[c,l]),c==="loaded"?v.jsx(J.img,{...a,ref:t,src:n}):null});Ha.displayName=Ur;var Gr="AvatarFallback",Ua=f.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,a=Br(Gr,r),[i,c]=f.useState(n===void 0);return f.useEffect(()=>{if(n!==void 0){const l=window.setTimeout(()=>c(!0),n);return()=>window.clearTimeout(l)}},[n]),i&&a.imageLoadingStatus!=="loaded"?v.jsx(J.span,{...o,ref:t}):null});Ua.displayName=Gr;function Yr(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Ga(e,{referrerPolicy:t,crossOrigin:r}){const n=za(),o=f.useRef(null),a=n?(o.current||(o.current=new window.Image),o.current):null,[i,c]=f.useState(()=>Yr(a,e));return se(()=>{c(Yr(a,e))},[a,e]),se(()=>{const l=d=>()=>{c(d)};if(!a)return;const s=l("loaded"),m=l("error");return a.addEventListener("load",s),a.addEventListener("error",m),t&&(a.referrerPolicy=t),typeof r=="string"&&(a.crossOrigin=r),()=>{a.removeEventListener("load",s),a.removeEventListener("error",m)}},[a,r,t]),i}var Ya=Hr;function Kr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Kr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function qr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Kr(e))&&(n&&(n+=" "),n+=t);return n}const Bt="-",Ka=e=>{const t=Xa(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{const c=i.split(Bt);return c[0]===""&&c.length!==1&&c.shift(),Xr(c,t)||qa(i)},getConflictingClassGroupIds:(i,c)=>{const l=r[i]||[];return c&&n[i]?[...l,...n[i]]:l}}},Xr=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Xr(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(Bt);return t.validators.find(({validator:i})=>i(a))?.classGroupId},Zr=/^\[(.+)\]$/,qa=e=>{if(Zr.test(e)){const t=Zr.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xa=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const o in r)Ht(r[o],n,o,t);return n},Ht=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Jr(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(Za(o)){Ht(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([a,i])=>{Ht(i,Jr(t,a),r,n)})})},Jr=(e,t)=>{let r=e;return t.split(Bt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Za=e=>e.isThemeGetter,Ja=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=n.get(a))!==void 0)return o(a,i),i},set(a,i){r.has(a)?r.set(a,i):o(a,i)}}},Ut="!",Gt=":",Qa=Gt.length,ei=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const a=[];let i=0,c=0,l=0,s;for(let h=0;h<o.length;h++){let g=o[h];if(i===0&&c===0){if(g===Gt){a.push(o.slice(l,h)),l=h+Qa;continue}if(g==="/"){s=h;continue}}g==="["?i++:g==="]"?i--:g==="("?c++:g===")"&&c--}const m=a.length===0?o:o.substring(l),d=ti(m),u=d!==m,p=s&&s>l?s-l:void 0;return{modifiers:a,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:p}};if(t){const o=t+Gt,a=n;n=i=>i.startsWith(o)?a(i.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(r){const o=n;n=a=>r({className:a,parseClassName:o})}return n},ti=e=>e.endsWith(Ut)?e.substring(0,e.length-1):e.startsWith(Ut)?e.substring(1):e,ri=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const o=[];let a=[];return n.forEach(i=>{i[0]==="["||t[i]?(o.push(...a.sort(),i),a=[]):a.push(i)}),o.push(...a.sort()),o}},ni=e=>({cache:Ja(e.cacheSize),parseClassName:ei(e),sortModifiers:ri(e),...Ka(e)}),oi=/\s+/,ai=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],c=e.trim().split(oi);let l="";for(let s=c.length-1;s>=0;s-=1){const m=c[s],{isExternal:d,modifiers:u,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:g}=r(m);if(d){l=m+(l.length>0?" "+l:l);continue}let b=!!g,y=n(b?h.substring(0,g):h);if(!y){if(!b){l=m+(l.length>0?" "+l:l);continue}if(y=n(h),!y){l=m+(l.length>0?" "+l:l);continue}b=!1}const S=a(u).join(":"),O=p?S+Ut:S,w=O+y;if(i.includes(w))continue;i.push(w);const E=o(y,b);for(let T=0;T<E.length;++T){const A=E[T];i.push(O+A)}l=m+(l.length>0?" "+l:l)}return l};function ii(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Qr(t))&&(n&&(n+=" "),n+=r);return n}const Qr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Qr(e[n]))&&(r&&(r+=" "),r+=t);return r};function si(e,...t){let r,n,o,a=i;function i(l){const s=t.reduce((m,d)=>d(m),e());return r=ni(s),n=r.cache.get,o=r.cache.set,a=c,c(l)}function c(l){const s=n(l);if(s)return s;const m=ai(l,r);return o(l,m),m}return function(){return a(ii.apply(null,arguments))}}const Z=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},en=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ci=/^\d+\/\d+$/,li=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ui=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,di=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,fi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mi=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,De=e=>ci.test(e),L=e=>!!e&&!Number.isNaN(Number(e)),Se=e=>!!e&&Number.isInteger(Number(e)),Yt=e=>e.endsWith("%")&&L(e.slice(0,-1)),be=e=>li.test(e),pi=()=>!0,gi=e=>ui.test(e)&&!di.test(e),rn=()=>!1,hi=e=>fi.test(e),vi=e=>mi.test(e),bi=e=>!R(e)&&!k(e),yi=e=>Me(e,cn,rn),R=e=>en.test(e),Re=e=>Me(e,ln,gi),Kt=e=>Me(e,Ci,L),nn=e=>Me(e,an,rn),xi=e=>Me(e,sn,vi),ct=e=>Me(e,un,hi),k=e=>tn.test(e),qe=e=>Le(e,ln),wi=e=>Le(e,Oi),on=e=>Le(e,an),Si=e=>Le(e,cn),Ei=e=>Le(e,sn),lt=e=>Le(e,un,!0),Me=(e,t,r)=>{const n=en.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Le=(e,t,r=!1)=>{const n=tn.exec(e);return n?n[1]?t(n[1]):r:!1},an=e=>e==="position"||e==="percentage",sn=e=>e==="image"||e==="url",cn=e=>e==="length"||e==="size"||e==="bg-size",ln=e=>e==="length",Ci=e=>e==="number",Oi=e=>e==="family-name",un=e=>e==="shadow",_i=si(()=>{const e=Z("color"),t=Z("font"),r=Z("text"),n=Z("font-weight"),o=Z("tracking"),a=Z("leading"),i=Z("breakpoint"),c=Z("container"),l=Z("spacing"),s=Z("radius"),m=Z("shadow"),d=Z("inset-shadow"),u=Z("text-shadow"),p=Z("drop-shadow"),h=Z("blur"),g=Z("perspective"),b=Z("aspect"),y=Z("ease"),S=Z("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...w(),k,R],T=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],_=()=>[k,R,l],I=()=>[De,"full","auto",..._()],z=()=>[Se,"none","subgrid",k,R],H=()=>["auto",{span:["full",Se,k,R]},Se,k,R],U=()=>[Se,"auto",k,R],G=()=>["auto","min","max","fr",k,R],V=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],K=()=>["start","end","center","stretch","center-safe","end-safe"],F=()=>["auto",..._()],$=()=>[De,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],C=()=>[e,k,R],q=()=>[...w(),on,nn,{position:[k,R]}],x=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",Si,yi,{size:[k,R]}],W=()=>[Yt,qe,Re],j=()=>["","none","full",s,k,R],Y=()=>["",L,qe,Re],Q=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>[L,Yt,on,nn],X=()=>["","none",h,k,R],ie=()=>["none",L,k,R],ve=()=>["none",L,k,R],Ne=()=>[L,k,R],Ge=()=>[De,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[be],breakpoint:[be],color:[pi],container:[be],"drop-shadow":[be],ease:["in","out","in-out"],font:[bi],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[be],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[be],shadow:[be],spacing:["px",L],text:[be],"text-shadow":[be],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",De,R,k,b]}],container:["container"],columns:[{columns:[L,R,k,c]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Se,"auto",k,R]}],basis:[{basis:[De,"full","auto",c,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[L,De,"auto","initial","none",R]}],grow:[{grow:["",L,k,R]}],shrink:[{shrink:["",L,k,R]}],order:[{order:[Se,"first","last","none",k,R]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:H()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:H()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...V(),"normal"]}],"justify-items":[{"justify-items":[...K(),"normal"]}],"justify-self":[{"justify-self":["auto",...K()]}],"align-content":[{content:["normal",...V()]}],"align-items":[{items:[...K(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...K(),{baseline:["","last"]}]}],"place-content":[{"place-content":V()}],"place-items":[{"place-items":[...K(),"baseline"]}],"place-self":[{"place-self":["auto",...K()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:F()}],mx:[{mx:F()}],my:[{my:F()}],ms:[{ms:F()}],me:[{me:F()}],mt:[{mt:F()}],mr:[{mr:F()}],mb:[{mb:F()}],ml:[{ml:F()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],w:[{w:[c,"screen",...$()]}],"min-w":[{"min-w":[c,"screen","none",...$()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[i]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,qe,Re]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,k,Kt]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Yt,R]}],"font-family":[{font:[wi,R,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,k,R]}],"line-clamp":[{"line-clamp":[L,"none",k,Kt]}],leading:[{leading:[a,..._()]}],"list-image":[{"list-image":["none",k,R]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",k,R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:C()}],"text-color":[{text:C()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[L,"from-font","auto",k,Re]}],"text-decoration-color":[{decoration:C()}],"underline-offset":[{"underline-offset":[L,"auto",k,R]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",k,R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",k,R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:q()}],"bg-repeat":[{bg:x()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Se,k,R],radial:["",k,R],conic:[Se,k,R]},Ei,xi]}],"bg-color":[{bg:C()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[L,k,R]}],"outline-w":[{outline:["",L,qe,Re]}],"outline-color":[{outline:C()}],shadow:[{shadow:["","none",m,lt,ct]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",d,lt,ct]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[L,Re]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",u,lt,ct]}],"text-shadow-color":[{"text-shadow":C()}],opacity:[{opacity:[L,k,R]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[L]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[k,R]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[L]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:q()}],"mask-repeat":[{mask:x()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",k,R]}],filter:[{filter:["","none",k,R]}],blur:[{blur:X()}],brightness:[{brightness:[L,k,R]}],contrast:[{contrast:[L,k,R]}],"drop-shadow":[{"drop-shadow":["","none",p,lt,ct]}],"drop-shadow-color":[{"drop-shadow":C()}],grayscale:[{grayscale:["",L,k,R]}],"hue-rotate":[{"hue-rotate":[L,k,R]}],invert:[{invert:["",L,k,R]}],saturate:[{saturate:[L,k,R]}],sepia:[{sepia:["",L,k,R]}],"backdrop-filter":[{"backdrop-filter":["","none",k,R]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[L,k,R]}],"backdrop-contrast":[{"backdrop-contrast":[L,k,R]}],"backdrop-grayscale":[{"backdrop-grayscale":["",L,k,R]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L,k,R]}],"backdrop-invert":[{"backdrop-invert":["",L,k,R]}],"backdrop-opacity":[{"backdrop-opacity":[L,k,R]}],"backdrop-saturate":[{"backdrop-saturate":[L,k,R]}],"backdrop-sepia":[{"backdrop-sepia":["",L,k,R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",k,R]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[L,"initial",k,R]}],ease:[{ease:["linear","initial",y,k,R]}],delay:[{delay:[L,k,R]}],animate:[{animate:["none",S,k,R]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,k,R]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:ie()}],"rotate-x":[{"rotate-x":ie()}],"rotate-y":[{"rotate-y":ie()}],"rotate-z":[{"rotate-z":ie()}],scale:[{scale:ve()}],"scale-x":[{"scale-x":ve()}],"scale-y":[{"scale-y":ve()}],"scale-z":[{"scale-z":ve()}],"scale-3d":["scale-3d"],skew:[{skew:Ne()}],"skew-x":[{"skew-x":Ne()}],"skew-y":[{"skew-y":Ne()}],transform:[{transform:[k,R,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ge()}],"translate-x":[{"translate-x":Ge()}],"translate-y":[{"translate-y":Ge()}],"translate-z":[{"translate-z":Ge()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",k,R]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",k,R]}],fill:[{fill:["none",...C()]}],"stroke-w":[{stroke:[L,qe,Re,Kt]}],stroke:[{stroke:["none",...C()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function N(...e){return _i(qr(e))}function Ai({className:e,...t}){return v.jsx(Ya,{"data-slot":"avatar",className:N("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}const dn=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,fn=qr,qt=(e,t)=>r=>{var n;if(t?.variants==null)return fn(e,r?.class,r?.className);const{variants:o,defaultVariants:a}=t,i=Object.keys(o).map(s=>{const m=r?.[s],d=a?.[s];if(m===null)return null;const u=dn(m)||dn(d);return o[s][u]}),c=r&&Object.entries(r).reduce((s,m)=>{let[d,u]=m;return u===void 0||(s[d]=u),s},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((s,m)=>{let{class:d,className:u,...p}=m;return Object.entries(p).every(h=>{let[g,b]=h;return Array.isArray(b)?b.includes({...a,...c}[g]):{...a,...c}[g]===b})?[...s,d,u]:s},[]);return fn(e,i,l,r?.class,r?.className)},mn=qt("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Ri({className:e,variant:t,asChild:r=!1,...n}){const o=r?we:"span";return v.jsx(o,{"data-slot":"badge",className:N(mn({variant:t}),e),...n})}const pn=qt("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function gn({className:e,variant:t="default",size:r="default",asChild:n=!1,...o}){const a=n?we:"button";return v.jsx(a,{"data-slot":"button","data-variant":t,"data-size":r,className:N(pn({variant:t,size:r,className:e})),...o})}function ki({className:e,...t}){return v.jsx("div",{"data-slot":"card",className:N("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Ti({className:e,...t}){return v.jsx("div",{"data-slot":"card-header",className:N("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function Pi({className:e,...t}){return v.jsx("div",{"data-slot":"card-title",className:N("leading-none font-semibold",e),...t})}function Ni({className:e,...t}){return v.jsx("div",{"data-slot":"card-description",className:N("text-muted-foreground text-sm",e),...t})}function Di({className:e,...t}){return v.jsx("div",{"data-slot":"card-action",className:N("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function Mi({className:e,...t}){return v.jsx("div",{"data-slot":"card-content",className:N("px-6",e),...t})}function Li({className:e,...t}){return v.jsx("div",{"data-slot":"card-footer",className:N("flex items-center px-6 [.border-t]:pt-6",e),...t})}var Ii="Label",hn=f.forwardRef((e,t)=>v.jsx(J.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));hn.displayName=Ii;var ji=hn,Fi=e=>e.type==="checkbox",Xe=e=>e instanceof Date,Xt=e=>e==null;const vn=e=>typeof e=="object";var ke=e=>!Xt(e)&&!Array.isArray(e)&&vn(e)&&!Xe(e),$i=e=>ke(e)&&e.target?Fi(e.target)?e.target.checked:e.target.value:e,zi=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Vi=(e,t)=>e.has(zi(t)),Wi=e=>{const t=e.constructor&&e.constructor.prototype;return ke(t)&&t.hasOwnProperty("isPrototypeOf")},Bi=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function bn(e){let t;const r=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(Bi&&(e instanceof Blob||n))&&(r||ke(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!Wi(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=bn(e[o]));else return e;return t}var yn=e=>/^\w*$/.test(e),Zt=e=>e===void 0,Hi=e=>Array.isArray(e)?e.filter(Boolean):[],xn=e=>Hi(e.replace(/["|']|\]/g,"").split(/\.|\[/)),re=(e,t,r)=>{if(!t||!ke(e))return r;const n=(yn(t)?[t]:xn(t)).reduce((o,a)=>Xt(o)?o:o[a],e);return Zt(n)||n===e?Zt(e[t])?r:e[t]:n},Jt=e=>typeof e=="boolean",wn=(e,t,r)=>{let n=-1;const o=yn(t)?[t]:xn(t),a=o.length,i=a-1;for(;++n<a;){const c=o[n];let l=r;if(n!==i){const s=e[c];l=ke(s)||Array.isArray(s)?s:isNaN(+o[n+1])?{}:[]}if(c==="__proto__"||c==="constructor"||c==="prototype")return;e[c]=l,e=e[c]}};const Sn={BLUR:"blur",CHANGE:"change"},En={all:"all"},Qt=D.createContext(null);Qt.displayName="HookFormContext";const ut=()=>D.useContext(Qt),Ui=e=>{const{children:t,...r}=e;return D.createElement(Qt.Provider,{value:r},t)};var Gi=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const i=a;return t._proxyFormState[i]!==En.all&&(t._proxyFormState[i]=!n||En.all),r&&(r[i]=!0),e[i]}});return o};const Cn=typeof window<"u"?D.useLayoutEffect:D.useEffect;function On(e){const t=ut(),{control:r=t.control,disabled:n,name:o,exact:a}=e||{},[i,c]=D.useState(r._formState),l=D.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Cn(()=>r._subscribe({name:o,formState:l.current,exact:a,callback:s=>{!n&&c({...r._formState,...s})}}),[o,n,a]),D.useEffect(()=>{l.current.isValid&&r._setValid(!0)},[r]),D.useMemo(()=>Gi(i,r,l.current,!1),[i,r])}var Yi=e=>typeof e=="string",_n=(e,t,r,n,o)=>Yi(e)?re(r,e,o):Array.isArray(e)?e.map(a=>re(r,a)):r,An=e=>Xt(e)||!vn(e);function dt(e,t,r=new WeakSet){if(An(e)||An(t))return Object.is(e,t);if(Xe(e)&&Xe(t))return e.getTime()===t.getTime();const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const a of n){const i=e[a];if(!o.includes(a))return!1;if(a!=="ref"){const c=t[a];if(Xe(i)&&Xe(c)||ke(i)&&ke(c)||Array.isArray(i)&&Array.isArray(c)?!dt(i,c,r):!Object.is(i,c))return!1}}return!0}function Ki(e){const t=ut(),{control:r=t.control,name:n,defaultValue:o,disabled:a,exact:i,compute:c}=e||{},l=D.useRef(o),s=D.useRef(c),m=D.useRef(void 0),d=D.useRef(r),u=D.useRef(n);s.current=c;const[p,h]=D.useState(()=>{const w=r._getWatch(n,l.current);return s.current?s.current(w):w}),g=D.useCallback(w=>{const E=_n(n,r._names,w||r._formValues,!1,l.current);return s.current?s.current(E):E},[r._formValues,r._names,n]),b=D.useCallback(w=>{if(!a){const E=_n(n,r._names,w||r._formValues,!1,l.current);if(s.current){const T=s.current(E);dt(T,m.current)||(h(T),m.current=T)}else h(E)}},[r._formValues,r._names,a,n]);Cn(()=>((d.current!==r||!dt(u.current,n))&&(d.current=r,u.current=n,b()),r._subscribe({name:n,formState:{values:!0},exact:i,callback:w=>{b(w.values)}})),[r,i,n,b]),D.useEffect(()=>r._removeUnmounted());const y=d.current!==r,S=u.current,O=D.useMemo(()=>{if(a)return null;const w=!y&&!dt(S,n);return y||w?g():null},[a,y,n,S,g]);return O!==null?O:p}function qi(e){const t=ut(),{name:r,disabled:n,control:o=t.control,shouldUnregister:a,defaultValue:i,exact:c=!0}=e,l=Vi(o._names.array,r),s=D.useMemo(()=>re(o._formValues,r,re(o._defaultValues,r,i)),[o,r,i]),m=Ki({control:o,name:r,defaultValue:s,exact:c}),d=On({control:o,name:r,exact:c}),u=D.useRef(e),p=D.useRef(void 0),h=D.useRef(o.register(r,{...e.rules,value:m,...Jt(e.disabled)?{disabled:e.disabled}:{}}));u.current=e;const g=D.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!re(d.errors,r)},isDirty:{enumerable:!0,get:()=>!!re(d.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!re(d.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!re(d.validatingFields,r)},error:{enumerable:!0,get:()=>re(d.errors,r)}}),[d,r]),b=D.useCallback(w=>h.current.onChange({target:{value:$i(w),name:r},type:Sn.CHANGE}),[r]),y=D.useCallback(()=>h.current.onBlur({target:{value:re(o._formValues,r),name:r},type:Sn.BLUR}),[r,o._formValues]),S=D.useCallback(w=>{const E=re(o._fields,r);E&&w&&(E._f.ref={focus:()=>w.focus&&w.focus(),select:()=>w.select&&w.select(),setCustomValidity:T=>w.setCustomValidity(T),reportValidity:()=>w.reportValidity()})},[o._fields,r]),O=D.useMemo(()=>({name:r,value:m,...Jt(n)||d.disabled?{disabled:d.disabled||n}:{},onChange:b,onBlur:y,ref:S}),[r,n,d.disabled,b,y,S,m]);return D.useEffect(()=>{const w=o._options.shouldUnregister||a,E=p.current;E&&E!==r&&!l&&o.unregister(E),o.register(r,{...u.current.rules,...Jt(u.current.disabled)?{disabled:u.current.disabled}:{}});const T=(A,_)=>{const I=re(o._fields,A);I&&I._f&&(I._f.mount=_)};if(T(r,!0),w){const A=bn(re(o._options.defaultValues,r,u.current.defaultValue));wn(o._defaultValues,r,A),Zt(re(o._formValues,r))&&wn(o._formValues,r,A)}return!l&&o.register(r),p.current=r,()=>{(l?w&&!o._state.action:w)?o.unregister(r):T(r,!1)}},[r,o,l,a]),D.useEffect(()=>{o._setDisabledField({disabled:n,name:r})},[n,r,o]),D.useMemo(()=>({field:O,formState:d,fieldState:g}),[O,d,g])}const Xi=e=>e.render(qi(e));function Rn({className:e,...t}){return v.jsx(ji,{"data-slot":"label",className:N("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}const Zi=Ui,kn=f.createContext({}),Ji=({...e})=>v.jsx(kn.Provider,{value:{name:e.name},children:v.jsx(Xi,{...e})}),Ze=()=>{const e=f.useContext(kn),t=f.useContext(Tn),{getFieldState:r}=ut(),n=On({name:e.name}),o=r(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...o}},Tn=f.createContext({});function Qi({className:e,...t}){const r=f.useId();return v.jsx(Tn.Provider,{value:{id:r},children:v.jsx("div",{"data-slot":"form-item",className:N("grid gap-2",e),...t})})}function es({className:e,...t}){const{error:r,formItemId:n}=Ze();return v.jsx(Rn,{"data-slot":"form-label","data-error":!!r,className:N("data-[error=true]:text-destructive",e),htmlFor:n,...t})}function ts({...e}){const{error:t,formItemId:r,formDescriptionId:n,formMessageId:o}=Ze();return v.jsx(we,{"data-slot":"form-control",id:r,"aria-describedby":t?`${n} ${o}`:`${n}`,"aria-invalid":!!t,...e})}function rs({className:e,...t}){const{formDescriptionId:r}=Ze();return v.jsx("p",{"data-slot":"form-description",id:r,className:N("text-muted-foreground text-sm",e),...t})}function ns({className:e,...t}){const{error:r,formMessageId:n}=Ze(),o=r?String(r?.message??""):t.children;return o?v.jsx("p",{"data-slot":"form-message",id:n,className:N("text-destructive text-sm",e),...t,children:o}):null}function Pn({className:e,type:t,...r}){return v.jsx("input",{type:t,"data-slot":"input",className:N("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}/**
59
+ * @license lucide-react v0.562.0 - ISC
60
+ *
61
+ * This source code is licensed under the ISC license.
62
+ * See the LICENSE file in the root directory of this source tree.
63
+ */const os=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),as=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Nn=e=>{const t=as(e);return t.charAt(0).toUpperCase()+t.slice(1)},Dn=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),is=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
64
+ * @license lucide-react v0.562.0 - ISC
65
+ *
66
+ * This source code is licensed under the ISC license.
67
+ * See the LICENSE file in the root directory of this source tree.
68
+ */var ss={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"};/**
69
+ * @license lucide-react v0.562.0 - ISC
70
+ *
71
+ * This source code is licensed under the ISC license.
72
+ * See the LICENSE file in the root directory of this source tree.
73
+ */const cs=D.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:a,iconNode:i,...c},l)=>D.createElement("svg",{ref:l,...ss,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:Dn("lucide",o),...!a&&!is(c)&&{"aria-hidden":"true"},...c},[...i.map(([s,m])=>D.createElement(s,m)),...Array.isArray(a)?a:[a]]));/**
74
+ * @license lucide-react v0.562.0 - ISC
75
+ *
76
+ * This source code is licensed under the ISC license.
77
+ * See the LICENSE file in the root directory of this source tree.
78
+ */const Mn=(e,t)=>{const r=D.forwardRef(({className:n,...o},a)=>D.createElement(cs,{ref:a,iconNode:t,className:Dn(`lucide-${os(Nn(e))}`,`lucide-${e}`,n),...o}));return r.displayName=Nn(e),r};/**
79
+ * @license lucide-react v0.562.0 - ISC
80
+ *
81
+ * This source code is licensed under the ISC license.
82
+ * See the LICENSE file in the root directory of this source tree.
83
+ */const ls=Mn("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);/**
84
+ * @license lucide-react v0.562.0 - ISC
85
+ *
86
+ * This source code is licensed under the ISC license.
87
+ * See the LICENSE file in the root directory of this source tree.
88
+ */const us=Mn("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),er=768;function ds(){const[e,t]=f.useState(void 0);return f.useEffect(()=>{const r=window.matchMedia(`(max-width: ${er-1}px)`),n=()=>{t(window.innerWidth<er)};return r.addEventListener("change",n),t(window.innerWidth<er),()=>r.removeEventListener("change",n)},[]),!!e}var fs=Symbol.for("react.lazy"),ft=f[" use ".trim().toString()];function ms(e){return typeof e=="object"&&e!==null&&"then"in e}function Ln(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===fs&&"_payload"in e&&ms(e._payload)}function ps(e){const t=gs(e),r=f.forwardRef((n,o)=>{let{children:a,...i}=n;Ln(a)&&typeof ft=="function"&&(a=ft(a._payload));const c=f.Children.toArray(a),l=c.find(vs);if(l){const s=l.props.children,m=c.map(d=>d===l?f.Children.count(s)>1?f.Children.only(null):f.isValidElement(s)?s.props.children:null:d);return v.jsx(t,{...i,ref:o,children:f.isValidElement(s)?f.cloneElement(s,void 0,m):null})}return v.jsx(t,{...i,ref:o,children:a})});return r.displayName=`${e}.Slot`,r}function gs(e){const t=f.forwardRef((r,n)=>{let{children:o,...a}=r;if(Ln(o)&&typeof ft=="function"&&(o=ft(o._payload)),f.isValidElement(o)){const i=ys(o),c=bs(a,o.props);return o.type!==f.Fragment&&(c.ref=n?Ft(n,i):i),f.cloneElement(o,c)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hs=Symbol("radix.slottable");function vs(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hs}function bs(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...c)=>{const l=a(...c);return o(...c),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function ys(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var xs=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ws=xs.reduce((e,t)=>{const r=ps(`Primitive.${t}`),n=f.forwardRef((o,a)=>{const{asChild:i,...c}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(l,{...c,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Ss="Separator",In="horizontal",Es=["horizontal","vertical"],jn=f.forwardRef((e,t)=>{const{decorative:r,orientation:n=In,...o}=e,a=Cs(n)?n:In,c=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return v.jsx(ws.div,{"data-orientation":a,...c,...o,ref:t})});jn.displayName=Ss;function Cs(e){return Es.includes(e)}var Os=jn;function _s({className:e,orientation:t="horizontal",decorative:r=!0,...n}){return v.jsx(Os,{"data-slot":"separator",decorative:r,orientation:t,className:N("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}function ne(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}var As=f[" useId ".trim().toString()]||(()=>{}),Rs=0;function mt(e){const[t,r]=f.useState(As());return se(()=>{r(n=>n??String(Rs++))},[e]),e||(t?`radix-${t}`:"")}var ks=f[" useInsertionEffect ".trim().toString()]||se;function Fn({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,a,i]=Ts({defaultProp:t,onChange:r}),c=e!==void 0,l=c?e:o;{const m=f.useRef(e!==void 0);f.useEffect(()=>{const d=m.current;d!==c&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,n])}const s=f.useCallback(m=>{if(c){const d=Ps(m)?m(e):m;d!==e&&i.current?.(d)}else a(m)},[c,e,a,i]);return[l,s]}function Ts({defaultProp:e,onChange:t}){const[r,n]=f.useState(e),o=f.useRef(r),a=f.useRef(t);return ks(()=>{a.current=t},[t]),f.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}function Ps(e){return typeof e=="function"}function Ns(e,t=globalThis?.document){const r=Ae(e);f.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Ds="DismissableLayer",tr="dismissableLayer.update",Ms="dismissableLayer.pointerDownOutside",Ls="dismissableLayer.focusOutside",$n,zn=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rr=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:i,onDismiss:c,...l}=e,s=f.useContext(zn),[m,d]=f.useState(null),u=m?.ownerDocument??globalThis?.document,[,p]=f.useState({}),h=ce(t,A=>d(A)),g=Array.from(s.layers),[b]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(b),S=m?g.indexOf(m):-1,O=s.layersWithOutsidePointerEventsDisabled.size>0,w=S>=y,E=Fs(A=>{const _=A.target,I=[...s.branches].some(z=>z.contains(_));!w||I||(o?.(A),i?.(A),A.defaultPrevented||c?.())},u),T=$s(A=>{const _=A.target;[...s.branches].some(z=>z.contains(_))||(a?.(A),i?.(A),A.defaultPrevented||c?.())},u);return Ns(A=>{S===s.layers.size-1&&(n?.(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},u),f.useEffect(()=>{if(m)return r&&(s.layersWithOutsidePointerEventsDisabled.size===0&&($n=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(m)),s.layers.add(m),Vn(),()=>{r&&s.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=$n)}},[m,u,r,s]),f.useEffect(()=>()=>{m&&(s.layers.delete(m),s.layersWithOutsidePointerEventsDisabled.delete(m),Vn())},[m,s]),f.useEffect(()=>{const A=()=>p({});return document.addEventListener(tr,A),()=>document.removeEventListener(tr,A)},[]),v.jsx(J.div,{...l,ref:h,style:{pointerEvents:O?w?"auto":"none":void 0,...e.style},onFocusCapture:ne(e.onFocusCapture,T.onFocusCapture),onBlurCapture:ne(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:ne(e.onPointerDownCapture,E.onPointerDownCapture)})});rr.displayName=Ds;var Is="DismissableLayerBranch",js=f.forwardRef((e,t)=>{const r=f.useContext(zn),n=f.useRef(null),o=ce(t,n);return f.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),v.jsx(J.div,{...e,ref:o})});js.displayName=Is;function Fs(e,t=globalThis?.document){const r=Ae(e),n=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=c=>{if(c.target&&!n.current){let l=function(){Wn(Ms,r,s,{discrete:!0})};const s={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function $s(e,t=globalThis?.document){const r=Ae(e),n=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!n.current&&Wn(Ls,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Vn(){const e=new CustomEvent(tr);document.dispatchEvent(e)}function Wn(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?La(o,a):o.dispatchEvent(a)}var nr="focusScope.autoFocusOnMount",or="focusScope.autoFocusOnUnmount",Bn={bubbles:!1,cancelable:!0},zs="FocusScope",Hn=f.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[c,l]=f.useState(null),s=Ae(o),m=Ae(a),d=f.useRef(null),u=ce(t,g=>l(g)),p=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(n){let g=function(O){if(p.paused||!c)return;const w=O.target;c.contains(w)?d.current=w:Ee(d.current,{select:!0})},b=function(O){if(p.paused||!c)return;const w=O.relatedTarget;w!==null&&(c.contains(w)||Ee(d.current,{select:!0}))},y=function(O){if(document.activeElement===document.body)for(const E of O)E.removedNodes.length>0&&Ee(c)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const S=new MutationObserver(y);return c&&S.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),S.disconnect()}}},[n,c,p.paused]),f.useEffect(()=>{if(c){Yn.add(p);const g=document.activeElement;if(!c.contains(g)){const y=new CustomEvent(nr,Bn);c.addEventListener(nr,s),c.dispatchEvent(y),y.defaultPrevented||(Vs(Gs(Un(c)),{select:!0}),document.activeElement===g&&Ee(c))}return()=>{c.removeEventListener(nr,s),setTimeout(()=>{const y=new CustomEvent(or,Bn);c.addEventListener(or,m),c.dispatchEvent(y),y.defaultPrevented||Ee(g??document.body,{select:!0}),c.removeEventListener(or,m),Yn.remove(p)},0)}}},[c,s,m,p]);const h=f.useCallback(g=>{if(!r&&!n||p.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(b&&y){const S=g.currentTarget,[O,w]=Ws(S);O&&w?!g.shiftKey&&y===w?(g.preventDefault(),r&&Ee(O,{select:!0})):g.shiftKey&&y===O&&(g.preventDefault(),r&&Ee(w,{select:!0})):y===S&&g.preventDefault()}},[r,n,p.paused]);return v.jsx(J.div,{tabIndex:-1,...i,ref:u,onKeyDown:h})});Hn.displayName=zs;function Vs(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Ee(n,{select:t}),document.activeElement!==r)return}function Ws(e){const t=Un(e),r=Gn(t,e),n=Gn(t.reverse(),e);return[r,n]}function Un(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Gn(e,t){for(const r of e)if(!Bs(r,{upTo:t}))return r}function Bs(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Hs(e){return e instanceof HTMLInputElement&&"select"in e}function Ee(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Hs(e)&&t&&e.select()}}var Yn=Us();function Us(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Kn(e,t),e.unshift(t)},remove(t){e=Kn(e,t),e[0]?.resume()}}}function Kn(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Gs(e){return e.filter(t=>t.tagName!=="A")}var Ys="Portal",ar=f.forwardRef((e,t)=>{const{container:r,...n}=e,[o,a]=f.useState(!1);se(()=>a(!0),[]);const i=r||o&&globalThis?.document?.body;return i?Ra.createPortal(v.jsx(J.div,{...n,ref:t}),i):null});ar.displayName=Ys;function Ks(e,t){return f.useReducer((r,n)=>t[r][n]??r,e)}var Ie=e=>{const{present:t,children:r}=e,n=qs(t),o=typeof r=="function"?r({present:n.isPresent}):f.Children.only(r),a=ce(n.ref,Xs(o));return typeof r=="function"||n.isPresent?f.cloneElement(o,{ref:a}):null};Ie.displayName="Presence";function qs(e){const[t,r]=f.useState(),n=f.useRef(null),o=f.useRef(e),a=f.useRef("none"),i=e?"mounted":"unmounted",[c,l]=Ks(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const s=pt(n.current);a.current=c==="mounted"?s:"none"},[c]),se(()=>{const s=n.current,m=o.current;if(m!==e){const u=a.current,p=pt(s);e?l("MOUNT"):p==="none"||s?.display==="none"?l("UNMOUNT"):l(m&&u!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),se(()=>{if(t){let s;const m=t.ownerDocument.defaultView??window,d=p=>{const g=pt(n.current).includes(CSS.escape(p.animationName));if(p.target===t&&g&&(l("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",s=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},u=p=>{p.target===t&&(a.current=pt(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{m.clearTimeout(s),t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:f.useCallback(s=>{n.current=s?getComputedStyle(s):null,r(s)},[])}}function pt(e){return e?.animationName||"none"}function Xs(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var ir=0;function Zs(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??qn()),document.body.insertAdjacentElement("beforeend",e[1]??qn()),ir++,()=>{ir===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ir--}},[])}function qn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var fe=function(){return fe=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},fe.apply(this,arguments)};function Xn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Js(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var gt="right-scroll-bar-position",ht="width-before-scroll-bar",Qs="with-scroll-bars-hidden",ec="--removed-body-scroll-bar-size";function sr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function tc(e,t){var r=D.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var rc=typeof window<"u"?f.useLayoutEffect:f.useEffect,Zn=new WeakMap;function nc(e,t){var r=tc(null,function(n){return e.forEach(function(o){return sr(o,n)})});return rc(function(){var n=Zn.get(r);if(n){var o=new Set(n),a=new Set(e),i=r.current;o.forEach(function(c){a.has(c)||sr(c,null)}),a.forEach(function(c){o.has(c)||sr(c,i)})}Zn.set(r,e)},[e]),r}function oc(e){return e}function ac(e,t){t===void 0&&(t=oc);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(c){return c!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(c){return a(c)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var c=r;r=[],c.forEach(a),i=r}var l=function(){var m=i;i=[],m.forEach(a)},s=function(){return Promise.resolve().then(l)};s(),r={push:function(m){i.push(m),s()},filter:function(m){return i=i.filter(m),r}}}};return o}function ic(e){e===void 0&&(e={});var t=ac(null);return t.options=fe({async:!0,ssr:!1},e),t}var Jn=function(e){var t=e.sideCar,r=Xn(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return f.createElement(n,fe({},r))};Jn.isSideCarExport=!0;function sc(e,t){return e.useMedium(t),Jn}var Qn=ic(),cr=function(){},vt=f.forwardRef(function(e,t){var r=f.useRef(null),n=f.useState({onScrollCapture:cr,onWheelCapture:cr,onTouchMoveCapture:cr}),o=n[0],a=n[1],i=e.forwardProps,c=e.children,l=e.className,s=e.removeScrollBar,m=e.enabled,d=e.shards,u=e.sideCar,p=e.noRelative,h=e.noIsolation,g=e.inert,b=e.allowPinchZoom,y=e.as,S=y===void 0?"div":y,O=e.gapMode,w=Xn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=u,T=nc([r,t]),A=fe(fe({},w),o);return f.createElement(f.Fragment,null,m&&f.createElement(E,{sideCar:Qn,removeScrollBar:s,shards:d,noRelative:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!b,lockRef:r,gapMode:O}),i?f.cloneElement(f.Children.only(c),fe(fe({},A),{ref:T})):f.createElement(S,fe({},A,{className:l,ref:T}),c))});vt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},vt.classNames={fullWidth:ht,zeroRight:gt};var cc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function lc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=cc();return t&&e.setAttribute("nonce",t),e}function uc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function dc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fc=function(){var e=0,t=null;return{add:function(r){e==0&&(t=lc())&&(uc(t,r),dc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},mc=function(){var e=fc();return function(t,r){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eo=function(){var e=mc(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},pc={left:0,top:0,right:0,gap:0},lr=function(e){return parseInt(e||"",10)||0},gc=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[lr(r),lr(n),lr(o)]},hc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return pc;var t=gc(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},vc=eo(),je="data-scroll-locked",bc=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,c=e.gap;return r===void 0&&(r="margin"),`
89
+ .`.concat(Qs,` {
90
+ overflow: hidden `).concat(n,`;
91
+ padding-right: `).concat(c,"px ").concat(n,`;
92
+ }
93
+ body[`).concat(je,`] {
94
+ overflow: hidden `).concat(n,`;
95
+ overscroll-behavior: contain;
96
+ `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
97
+ padding-left: `.concat(o,`px;
98
+ padding-top: `).concat(a,`px;
99
+ padding-right: `).concat(i,`px;
100
+ margin-left:0;
101
+ margin-top:0;
102
+ margin-right: `).concat(c,"px ").concat(n,`;
103
+ `),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";")].filter(Boolean).join(""),`
104
+ }
105
+
106
+ .`).concat(gt,` {
107
+ right: `).concat(c,"px ").concat(n,`;
108
+ }
109
+
110
+ .`).concat(ht,` {
111
+ margin-right: `).concat(c,"px ").concat(n,`;
112
+ }
113
+
114
+ .`).concat(gt," .").concat(gt,` {
115
+ right: 0 `).concat(n,`;
116
+ }
117
+
118
+ .`).concat(ht," .").concat(ht,` {
119
+ margin-right: 0 `).concat(n,`;
120
+ }
121
+
122
+ body[`).concat(je,`] {
123
+ `).concat(ec,": ").concat(c,`px;
124
+ }
125
+ `)},to=function(){var e=parseInt(document.body.getAttribute(je)||"0",10);return isFinite(e)?e:0},yc=function(){f.useEffect(function(){return document.body.setAttribute(je,(to()+1).toString()),function(){var e=to()-1;e<=0?document.body.removeAttribute(je):document.body.setAttribute(je,e.toString())}},[])},xc=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;yc();var a=f.useMemo(function(){return hc(o)},[o]);return f.createElement(vc,{styles:bc(a,!t,o,r?"":"!important")})},ur=!1;if(typeof window<"u")try{var bt=Object.defineProperty({},"passive",{get:function(){return ur=!0,!0}});window.addEventListener("test",bt,bt),window.removeEventListener("test",bt,bt)}catch{ur=!1}var Fe=ur?{passive:!1}:!1,wc=function(e){return e.tagName==="TEXTAREA"},ro=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!wc(e)&&r[t]==="visible")},Sc=function(e){return ro(e,"overflowY")},Ec=function(e){return ro(e,"overflowX")},no=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=oo(e,n);if(o){var a=ao(e,n),i=a[1],c=a[2];if(i>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Cc=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Oc=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},oo=function(e,t){return e==="v"?Sc(t):Ec(t)},ao=function(e,t){return e==="v"?Cc(t):Oc(t)},_c=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ac=function(e,t,r,n,o){var a=_c(e,window.getComputedStyle(t).direction),i=a*n,c=r.target,l=t.contains(c),s=!1,m=i>0,d=0,u=0;do{if(!c)break;var p=ao(e,c),h=p[0],g=p[1],b=p[2],y=g-b-a*h;(h||y)&&oo(e,c)&&(d+=y,u+=h);var S=c.parentNode;c=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(m&&Math.abs(d)<1||!m&&Math.abs(u)<1)&&(s=!0),s},yt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},io=function(e){return[e.deltaX,e.deltaY]},so=function(e){return e&&"current"in e?e.current:e},Rc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},kc=function(e){return`
126
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
127
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
128
+ `)},Tc=0,$e=[];function Pc(e){var t=f.useRef([]),r=f.useRef([0,0]),n=f.useRef(),o=f.useState(Tc++)[0],a=f.useState(eo)[0],i=f.useRef(e);f.useEffect(function(){i.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=Js([e.lockRef.current],(e.shards||[]).map(so),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=f.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var y=yt(g),S=r.current,O="deltaX"in g?g.deltaX:S[0]-y[0],w="deltaY"in g?g.deltaY:S[1]-y[1],E,T=g.target,A=Math.abs(O)>Math.abs(w)?"h":"v";if("touches"in g&&A==="h"&&T.type==="range")return!1;var _=window.getSelection(),I=_&&_.anchorNode,z=I?I===T||I.contains(T):!1;if(z)return!1;var H=no(A,T);if(!H)return!0;if(H?E=A:(E=A==="v"?"h":"v",H=no(A,T)),!H)return!1;if(!n.current&&"changedTouches"in g&&(O||w)&&(n.current=E),!E)return!0;var U=n.current||E;return Ac(U,b,g,U==="h"?O:w)},[]),l=f.useCallback(function(g){var b=g;if(!(!$e.length||$e[$e.length-1]!==a)){var y="deltaY"in b?io(b):yt(b),S=t.current.filter(function(E){return E.name===b.type&&(E.target===b.target||b.target===E.shadowParent)&&Rc(E.delta,y)})[0];if(S&&S.should){b.cancelable&&b.preventDefault();return}if(!S){var O=(i.current.shards||[]).map(so).filter(Boolean).filter(function(E){return E.contains(b.target)}),w=O.length>0?c(b,O[0]):!i.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),s=f.useCallback(function(g,b,y,S){var O={name:g,delta:b,target:y,should:S,shadowParent:Nc(y)};t.current.push(O),setTimeout(function(){t.current=t.current.filter(function(w){return w!==O})},1)},[]),m=f.useCallback(function(g){r.current=yt(g),n.current=void 0},[]),d=f.useCallback(function(g){s(g.type,io(g),g.target,c(g,e.lockRef.current))},[]),u=f.useCallback(function(g){s(g.type,yt(g),g.target,c(g,e.lockRef.current))},[]);f.useEffect(function(){return $e.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:u}),document.addEventListener("wheel",l,Fe),document.addEventListener("touchmove",l,Fe),document.addEventListener("touchstart",m,Fe),function(){$e=$e.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Fe),document.removeEventListener("touchmove",l,Fe),document.removeEventListener("touchstart",m,Fe)}},[]);var p=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(a,{styles:kc(o)}):null,p?f.createElement(xc,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Nc(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Dc=sc(Qn,Pc);var co=f.forwardRef(function(e,t){return f.createElement(vt,fe({},e,{ref:t,sideCar:Dc}))});co.classNames=vt.classNames;var Mc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ze=new WeakMap,xt=new WeakMap,wt={},dr=0,lo=function(e){return e&&(e.host||lo(e.parentNode))},Lc=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=lo(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Ic=function(e,t,r,n){var o=Lc(t,Array.isArray(e)?e:[e]);wt[r]||(wt[r]=new WeakMap);var a=wt[r],i=[],c=new Set,l=new Set(o),s=function(d){!d||c.has(d)||(c.add(d),s(d.parentNode))};o.forEach(s);var m=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(u){if(c.has(u))m(u);else try{var p=u.getAttribute(n),h=p!==null&&p!=="false",g=(ze.get(u)||0)+1,b=(a.get(u)||0)+1;ze.set(u,g),a.set(u,b),i.push(u),g===1&&h&&xt.set(u,!0),b===1&&u.setAttribute(r,"true"),h||u.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",u,y)}})};return m(t),c.clear(),dr++,function(){i.forEach(function(d){var u=ze.get(d)-1,p=a.get(d)-1;ze.set(d,u),a.set(d,p),u||(xt.has(d)||d.removeAttribute(n),xt.delete(d)),p||d.removeAttribute(r)}),dr--,dr||(ze=new WeakMap,ze=new WeakMap,xt=new WeakMap,wt={})}},jc=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=Mc(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),Ic(n,o,r,"aria-hidden")):function(){return null}},St="Dialog",[uo,Fd]=at(St),[Fc,le]=uo(St),fo=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,c=f.useRef(null),l=f.useRef(null),[s,m]=Fn({prop:n,defaultProp:o??!1,onChange:a,caller:St});return v.jsx(Fc,{scope:t,triggerRef:c,contentRef:l,contentId:mt(),titleId:mt(),descriptionId:mt(),open:s,onOpenChange:m,onOpenToggle:f.useCallback(()=>m(d=>!d),[m]),modal:i,children:r})};fo.displayName=St;var mo="DialogTrigger",$c=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=le(mo,r),a=ce(t,o.triggerRef);return v.jsx(J.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":pr(o.open),...n,ref:a,onClick:ne(e.onClick,o.onOpenToggle)})});$c.displayName=mo;var fr="DialogPortal",[zc,po]=uo(fr,{forceMount:void 0}),go=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=le(fr,t);return v.jsx(zc,{scope:t,forceMount:r,children:f.Children.map(n,i=>v.jsx(Ie,{present:r||a.open,children:v.jsx(ar,{asChild:!0,container:o,children:i})}))})};go.displayName=fr;var Et="DialogOverlay",ho=f.forwardRef((e,t)=>{const r=po(Et,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=le(Et,e.__scopeDialog);return a.modal?v.jsx(Ie,{present:n||a.open,children:v.jsx(Wc,{...o,ref:t})}):null});ho.displayName=Et;var Vc=$t("DialogOverlay.RemoveScroll"),Wc=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=le(Et,r);return v.jsx(co,{as:Vc,allowPinchZoom:!0,shards:[o.contentRef],children:v.jsx(J.div,{"data-state":pr(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),Te="DialogContent",vo=f.forwardRef((e,t)=>{const r=po(Te,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=le(Te,e.__scopeDialog);return v.jsx(Ie,{present:n||a.open,children:a.modal?v.jsx(Bc,{...o,ref:t}):v.jsx(Hc,{...o,ref:t})})});vo.displayName=Te;var Bc=f.forwardRef((e,t)=>{const r=le(Te,e.__scopeDialog),n=f.useRef(null),o=ce(t,r.contentRef,n);return f.useEffect(()=>{const a=n.current;if(a)return jc(a)},[]),v.jsx(bo,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ne(e.onCloseAutoFocus,a=>{a.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:ne(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,c=i.button===0&&i.ctrlKey===!0;(i.button===2||c)&&a.preventDefault()}),onFocusOutside:ne(e.onFocusOutside,a=>a.preventDefault())})}),Hc=f.forwardRef((e,t)=>{const r=le(Te,e.__scopeDialog),n=f.useRef(!1),o=f.useRef(!1);return v.jsx(bo,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{e.onCloseAutoFocus?.(a),a.defaultPrevented||(n.current||r.triggerRef.current?.focus(),a.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:a=>{e.onInteractOutside?.(a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=a.target;r.triggerRef.current?.contains(i)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),bo=f.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,c=le(Te,r),l=f.useRef(null),s=ce(t,l);return Zs(),v.jsxs(v.Fragment,{children:[v.jsx(Hn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a,children:v.jsx(rr,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":pr(c.open),...i,ref:s,onDismiss:()=>c.onOpenChange(!1)})}),v.jsxs(v.Fragment,{children:[v.jsx(Uc,{titleId:c.titleId}),v.jsx(Yc,{contentRef:l,descriptionId:c.descriptionId})]})]})}),mr="DialogTitle",yo=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=le(mr,r);return v.jsx(J.h2,{id:o.titleId,...n,ref:t})});yo.displayName=mr;var xo="DialogDescription",wo=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=le(xo,r);return v.jsx(J.p,{id:o.descriptionId,...n,ref:t})});wo.displayName=xo;var So="DialogClose",Eo=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=le(So,r);return v.jsx(J.button,{type:"button",...n,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});Eo.displayName=So;function pr(e){return e?"open":"closed"}var Co="DialogTitleWarning",[$d,Oo]=Ea(Co,{contentName:Te,titleName:mr,docsSlug:"dialog"}),Uc=({titleId:e})=>{const t=Oo(Co),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
129
+
130
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
131
+
132
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return f.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Gc="DialogDescriptionWarning",Yc=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Oo(Gc).contentName}}.`;return f.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Kc=fo,qc=go,Xc=ho,Zc=vo,Jc=yo,Qc=wo,el=Eo;function tl({...e}){return v.jsx(Kc,{"data-slot":"sheet",...e})}function rl({...e}){return v.jsx(qc,{"data-slot":"sheet-portal",...e})}function nl({className:e,...t}){return v.jsx(Xc,{"data-slot":"sheet-overlay",className:N("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function ol({className:e,children:t,side:r="right",...n}){return v.jsxs(rl,{children:[v.jsx(nl,{}),v.jsxs(Zc,{"data-slot":"sheet-content",className:N("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",r==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",r==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",r==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",r==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...n,children:[t,v.jsxs(el,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[v.jsx(us,{className:"size-4"}),v.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function al({className:e,...t}){return v.jsx("div",{"data-slot":"sheet-header",className:N("flex flex-col gap-1.5 p-4",e),...t})}function il({className:e,...t}){return v.jsx(Jc,{"data-slot":"sheet-title",className:N("text-foreground font-semibold",e),...t})}function sl({className:e,...t}){return v.jsx(Qc,{"data-slot":"sheet-description",className:N("text-muted-foreground text-sm",e),...t})}function _o({className:e,...t}){return v.jsx("div",{"data-slot":"skeleton",className:N("bg-accent animate-pulse rounded-md",e),...t})}const cl=["top","right","bottom","left"],Ce=Math.min,oe=Math.max,Ct=Math.round,Ot=Math.floor,me=e=>({x:e,y:e}),ll={left:"right",right:"left",bottom:"top",top:"bottom"},ul={start:"end",end:"start"};function gr(e,t,r){return oe(e,Ce(t,r))}function ye(e,t){return typeof e=="function"?e(t):e}function xe(e){return e.split("-")[0]}function Ve(e){return e.split("-")[1]}function hr(e){return e==="x"?"y":"x"}function vr(e){return e==="y"?"height":"width"}const dl=new Set(["top","bottom"]);function pe(e){return dl.has(xe(e))?"y":"x"}function br(e){return hr(pe(e))}function fl(e,t,r){r===void 0&&(r=!1);const n=Ve(e),o=br(e),a=vr(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=_t(i)),[i,_t(i)]}function ml(e){const t=_t(e);return[yr(e),t,yr(t)]}function yr(e){return e.replace(/start|end/g,t=>ul[t])}const Ao=["left","right"],Ro=["right","left"],pl=["top","bottom"],gl=["bottom","top"];function hl(e,t,r){switch(e){case"top":case"bottom":return r?t?Ro:Ao:t?Ao:Ro;case"left":case"right":return t?pl:gl;default:return[]}}function vl(e,t,r,n){const o=Ve(e);let a=hl(xe(e),r==="start",n);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(yr)))),a}function _t(e){return e.replace(/left|right|bottom|top/g,t=>ll[t])}function bl(e){return{top:0,right:0,bottom:0,left:0,...e}}function ko(e){return typeof e!="number"?bl(e):{top:e,right:e,bottom:e,left:e}}function At(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function To(e,t,r){let{reference:n,floating:o}=e;const a=pe(t),i=br(t),c=vr(i),l=xe(t),s=a==="y",m=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,u=n[c]/2-o[c]/2;let p;switch(l){case"top":p={x:m,y:n.y-o.height};break;case"bottom":p={x:m,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}switch(Ve(t)){case"start":p[i]-=u*(r&&s?-1:1);break;case"end":p[i]+=u*(r&&s?-1:1);break}return p}const yl=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,c=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:d}=To(s,n,l),u=n,p={},h=0;for(let g=0;g<c.length;g++){const{name:b,fn:y}=c[g],{x:S,y:O,data:w,reset:E}=await y({x:m,y:d,initialPlacement:n,placement:u,strategy:o,middlewareData:p,rects:s,platform:i,elements:{reference:e,floating:t}});m=S??m,d=O??d,p={...p,[b]:{...p[b],...w}},E&&h<=50&&(h++,typeof E=="object"&&(E.placement&&(u=E.placement),E.rects&&(s=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:m,y:d}=To(s,u,l)),g=-1)}return{x:m,y:d,placement:u,strategy:o,middlewareData:p}};async function Je(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:c,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:m="viewport",elementContext:d="floating",altBoundary:u=!1,padding:p=0}=ye(t,e),h=ko(p),b=c[u?d==="floating"?"reference":"floating":d],y=At(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:s,rootBoundary:m,strategy:l})),S=d==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),w=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},E=At(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:S,offsetParent:O,strategy:l}):S);return{top:(y.top-E.top+h.top)/w.y,bottom:(E.bottom-y.bottom+h.bottom)/w.y,left:(y.left-E.left+h.left)/w.x,right:(E.right-y.right+h.right)/w.x}}const xl=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:c,middlewareData:l}=t,{element:s,padding:m=0}=ye(e,t)||{};if(s==null)return{};const d=ko(m),u={x:r,y:n},p=br(o),h=vr(p),g=await i.getDimensions(s),b=p==="y",y=b?"top":"left",S=b?"bottom":"right",O=b?"clientHeight":"clientWidth",w=a.reference[h]+a.reference[p]-u[p]-a.floating[h],E=u[p]-a.reference[p],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s));let A=T?T[O]:0;(!A||!await(i.isElement==null?void 0:i.isElement(T)))&&(A=c.floating[O]||a.floating[h]);const _=w/2-E/2,I=A/2-g[h]/2-1,z=Ce(d[y],I),H=Ce(d[S],I),U=z,G=A-g[h]-H,V=A/2-g[h]/2+_,K=gr(U,V,G),F=!l.arrow&&Ve(o)!=null&&V!==K&&a.reference[h]/2-(V<U?z:H)-g[h]/2<0,$=F?V<U?V-U:V-G:0;return{[p]:u[p]+$,data:{[p]:K,centerOffset:V-K-$,...F&&{alignmentOffset:$}},reset:F}}}),wl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:c,platform:l,elements:s}=t,{mainAxis:m=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...b}=ye(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const y=xe(o),S=pe(c),O=xe(c)===c,w=await(l.isRTL==null?void 0:l.isRTL(s.floating)),E=u||(O||!g?[_t(c)]:ml(c)),T=h!=="none";!u&&T&&E.push(...vl(c,g,h,w));const A=[c,...E],_=await Je(t,b),I=[];let z=((n=a.flip)==null?void 0:n.overflows)||[];if(m&&I.push(_[y]),d){const V=fl(o,i,w);I.push(_[V[0]],_[V[1]])}if(z=[...z,{placement:o,overflows:I}],!I.every(V=>V<=0)){var H,U;const V=(((H=a.flip)==null?void 0:H.index)||0)+1,K=A[V];if(K&&(!(d==="alignment"?S!==pe(K):!1)||z.every(C=>pe(C.placement)===S?C.overflows[0]>0:!0)))return{data:{index:V,overflows:z},reset:{placement:K}};let F=(U=z.filter($=>$.overflows[0]<=0).sort(($,C)=>$.overflows[1]-C.overflows[1])[0])==null?void 0:U.placement;if(!F)switch(p){case"bestFit":{var G;const $=(G=z.filter(C=>{if(T){const q=pe(C.placement);return q===S||q==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(q=>q>0).reduce((q,x)=>q+x,0)]).sort((C,q)=>C[1]-q[1])[0])==null?void 0:G[0];$&&(F=$);break}case"initialPlacement":F=c;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function Po(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function No(e){return cl.some(t=>e[t]>=0)}const Sl=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=ye(e,t);switch(n){case"referenceHidden":{const a=await Je(t,{...o,elementContext:"reference"}),i=Po(a,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:No(i)}}}case"escaped":{const a=await Je(t,{...o,altBoundary:!0}),i=Po(a,r.floating);return{data:{escapedOffsets:i,escaped:No(i)}}}default:return{}}}}},Do=new Set(["left","top"]);async function El(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=xe(r),c=Ve(r),l=pe(r)==="y",s=Do.has(i)?-1:1,m=a&&l?-1:1,d=ye(t,e);let{mainAxis:u,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),l?{x:p*m,y:u*s}:{x:u*s,y:p*m}}const Cl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:c}=t,l=await El(t,e);return i===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},Ol=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:c={fn:b=>{let{x:y,y:S}=b;return{x:y,y:S}}},...l}=ye(e,t),s={x:r,y:n},m=await Je(t,l),d=pe(xe(o)),u=hr(d);let p=s[u],h=s[d];if(a){const b=u==="y"?"top":"left",y=u==="y"?"bottom":"right",S=p+m[b],O=p-m[y];p=gr(S,p,O)}if(i){const b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",S=h+m[b],O=h-m[y];h=gr(S,h,O)}const g=c.fn({...t,[u]:p,[d]:h});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[u]:a,[d]:i}}}}}},_l=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:c=0,mainAxis:l=!0,crossAxis:s=!0}=ye(e,t),m={x:r,y:n},d=pe(o),u=hr(d);let p=m[u],h=m[d];const g=ye(c,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const O=u==="y"?"height":"width",w=a.reference[u]-a.floating[O]+b.mainAxis,E=a.reference[u]+a.reference[O]-b.mainAxis;p<w?p=w:p>E&&(p=E)}if(s){var y,S;const O=u==="y"?"width":"height",w=Do.has(xe(o)),E=a.reference[d]-a.floating[O]+(w&&((y=i.offset)==null?void 0:y[d])||0)+(w?0:b.crossAxis),T=a.reference[d]+a.reference[O]+(w?0:((S=i.offset)==null?void 0:S[d])||0)-(w?b.crossAxis:0);h<E?h=E:h>T&&(h=T)}return{[u]:p,[d]:h}}}},Al=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:a,platform:i,elements:c}=t,{apply:l=()=>{},...s}=ye(e,t),m=await Je(t,s),d=xe(o),u=Ve(o),p=pe(o)==="y",{width:h,height:g}=a.floating;let b,y;d==="top"||d==="bottom"?(b=d,y=u===(await(i.isRTL==null?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(y=d,b=u==="end"?"top":"bottom");const S=g-m.top-m.bottom,O=h-m.left-m.right,w=Ce(g-m[b],S),E=Ce(h-m[y],O),T=!t.middlewareData.shift;let A=w,_=E;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(_=O),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(A=S),T&&!u){const z=oe(m.left,0),H=oe(m.right,0),U=oe(m.top,0),G=oe(m.bottom,0);p?_=h-2*(z!==0||H!==0?z+H:oe(m.left,m.right)):A=g-2*(U!==0||G!==0?U+G:oe(m.top,m.bottom))}await l({...t,availableWidth:_,availableHeight:A});const I=await i.getDimensions(c.floating);return h!==I.width||g!==I.height?{reset:{rects:!0}}:{}}}};function Rt(){return typeof window<"u"}function We(e){return Mo(e)?(e.nodeName||"").toLowerCase():"#document"}function ae(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ge(e){var t;return(t=(Mo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Mo(e){return Rt()?e instanceof Node||e instanceof ae(e).Node:!1}function ue(e){return Rt()?e instanceof Element||e instanceof ae(e).Element:!1}function he(e){return Rt()?e instanceof HTMLElement||e instanceof ae(e).HTMLElement:!1}function Lo(e){return!Rt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ae(e).ShadowRoot}const Rl=new Set(["inline","contents"]);function Qe(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=de(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Rl.has(o)}const kl=new Set(["table","td","th"]);function Tl(e){return kl.has(We(e))}const Pl=[":popover-open",":modal"];function kt(e){return Pl.some(t=>{try{return e.matches(t)}catch{return!1}})}const Nl=["transform","translate","scale","rotate","perspective"],Dl=["transform","translate","scale","rotate","perspective","filter"],Ml=["paint","layout","strict","content"];function xr(e){const t=wr(),r=ue(e)?de(e):e;return Nl.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Dl.some(n=>(r.willChange||"").includes(n))||Ml.some(n=>(r.contain||"").includes(n))}function Ll(e){let t=Oe(e);for(;he(t)&&!Be(t);){if(xr(t))return t;if(kt(t))return null;t=Oe(t)}return null}function wr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Il=new Set(["html","body","#document"]);function Be(e){return Il.has(We(e))}function de(e){return ae(e).getComputedStyle(e)}function Tt(e){return ue(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Oe(e){if(We(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Lo(e)&&e.host||ge(e);return Lo(t)?t.host:t}function Io(e){const t=Oe(e);return Be(t)?e.ownerDocument?e.ownerDocument.body:e.body:he(t)&&Qe(t)?t:Io(t)}function et(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Io(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),i=ae(o);if(a){const c=Sr(i);return t.concat(i,i.visualViewport||[],Qe(o)?o:[],c&&r?et(c):[])}return t.concat(o,et(o,[],r))}function Sr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jo(e){const t=de(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=he(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,c=Ct(r)!==a||Ct(n)!==i;return c&&(r=a,n=i),{width:r,height:n,$:c}}function Er(e){return ue(e)?e:e.contextElement}function He(e){const t=Er(e);if(!he(t))return me(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=jo(t);let i=(a?Ct(r.width):r.width)/n,c=(a?Ct(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const jl=me(0);function Fo(e){const t=ae(e);return!wr()||!t.visualViewport?jl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Fl(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ae(e)?!1:t}function Pe(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=Er(e);let i=me(1);t&&(n?ue(n)&&(i=He(n)):i=He(e));const c=Fl(a,r,n)?Fo(a):me(0);let l=(o.left+c.x)/i.x,s=(o.top+c.y)/i.y,m=o.width/i.x,d=o.height/i.y;if(a){const u=ae(a),p=n&&ue(n)?ae(n):n;let h=u,g=Sr(h);for(;g&&n&&p!==h;){const b=He(g),y=g.getBoundingClientRect(),S=de(g),O=y.left+(g.clientLeft+parseFloat(S.paddingLeft))*b.x,w=y.top+(g.clientTop+parseFloat(S.paddingTop))*b.y;l*=b.x,s*=b.y,m*=b.x,d*=b.y,l+=O,s+=w,h=ae(g),g=Sr(h)}}return At({width:m,height:d,x:l,y:s})}function Pt(e,t){const r=Tt(e).scrollLeft;return t?t.left+r:Pe(ge(e)).left+r}function $o(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Pt(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function $l(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a=o==="fixed",i=ge(n),c=t?kt(t.floating):!1;if(n===i||c&&a)return r;let l={scrollLeft:0,scrollTop:0},s=me(1);const m=me(0),d=he(n);if((d||!d&&!a)&&((We(n)!=="body"||Qe(i))&&(l=Tt(n)),he(n))){const p=Pe(n);s=He(n),m.x=p.x+n.clientLeft,m.y=p.y+n.clientTop}const u=i&&!d&&!a?$o(i,l):me(0);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-l.scrollLeft*s.x+m.x+u.x,y:r.y*s.y-l.scrollTop*s.y+m.y+u.y}}function zl(e){return Array.from(e.getClientRects())}function Vl(e){const t=ge(e),r=Tt(e),n=e.ownerDocument.body,o=oe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=oe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+Pt(e);const c=-r.scrollTop;return de(n).direction==="rtl"&&(i+=oe(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:c}}const zo=25;function Wl(e,t){const r=ae(e),n=ge(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,c=0,l=0;if(o){a=o.width,i=o.height;const m=wr();(!m||m&&t==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}const s=Pt(n);if(s<=0){const m=n.ownerDocument,d=m.body,u=getComputedStyle(d),p=m.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,h=Math.abs(n.clientWidth-d.clientWidth-p);h<=zo&&(a-=h)}else s<=zo&&(a+=s);return{width:a,height:i,x:c,y:l}}const Bl=new Set(["absolute","fixed"]);function Hl(e,t){const r=Pe(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=he(e)?He(e):me(1),i=e.clientWidth*a.x,c=e.clientHeight*a.y,l=o*a.x,s=n*a.y;return{width:i,height:c,x:l,y:s}}function Vo(e,t,r){let n;if(t==="viewport")n=Wl(e,r);else if(t==="document")n=Vl(ge(e));else if(ue(t))n=Hl(t,r);else{const o=Fo(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return At(n)}function Wo(e,t){const r=Oe(e);return r===t||!ue(r)||Be(r)?!1:de(r).position==="fixed"||Wo(r,t)}function Ul(e,t){const r=t.get(e);if(r)return r;let n=et(e,[],!1).filter(c=>ue(c)&&We(c)!=="body"),o=null;const a=de(e).position==="fixed";let i=a?Oe(e):e;for(;ue(i)&&!Be(i);){const c=de(i),l=xr(i);!l&&c.position==="fixed"&&(o=null),(a?!l&&!o:!l&&c.position==="static"&&!!o&&Bl.has(o.position)||Qe(i)&&!l&&Wo(e,i))?n=n.filter(m=>m!==i):o=c,i=Oe(i)}return t.set(e,n),n}function Gl(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?kt(t)?[]:Ul(t,this._c):[].concat(r),n],c=i[0],l=i.reduce((s,m)=>{const d=Vo(t,m,o);return s.top=oe(d.top,s.top),s.right=Ce(d.right,s.right),s.bottom=Ce(d.bottom,s.bottom),s.left=oe(d.left,s.left),s},Vo(t,c,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Yl(e){const{width:t,height:r}=jo(e);return{width:t,height:r}}function Kl(e,t,r){const n=he(t),o=ge(t),a=r==="fixed",i=Pe(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const l=me(0);function s(){l.x=Pt(o)}if(n||!n&&!a)if((We(t)!=="body"||Qe(o))&&(c=Tt(t)),n){const p=Pe(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&s();a&&!n&&o&&s();const m=o&&!n&&!a?$o(o,c):me(0),d=i.left+c.scrollLeft-l.x-m.x,u=i.top+c.scrollTop-l.y-m.y;return{x:d,y:u,width:i.width,height:i.height}}function Cr(e){return de(e).position==="static"}function Bo(e,t){if(!he(e)||de(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ge(e)===r&&(r=r.ownerDocument.body),r}function Ho(e,t){const r=ae(e);if(kt(e))return r;if(!he(e)){let o=Oe(e);for(;o&&!Be(o);){if(ue(o)&&!Cr(o))return o;o=Oe(o)}return r}let n=Bo(e,t);for(;n&&Tl(n)&&Cr(n);)n=Bo(n,t);return n&&Be(n)&&Cr(n)&&!xr(n)?r:n||Ll(e)||r}const ql=async function(e){const t=this.getOffsetParent||Ho,r=this.getDimensions,n=await r(e.floating);return{reference:Kl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Xl(e){return de(e).direction==="rtl"}const Zl={convertOffsetParentRelativeRectToViewportRelativeRect:$l,getDocumentElement:ge,getClippingRect:Gl,getOffsetParent:Ho,getElementRects:ql,getClientRects:zl,getDimensions:Yl,getScale:He,isElement:ue,isRTL:Xl};function Uo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Jl(e,t){let r=null,n;const o=ge(e);function a(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function i(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),a();const s=e.getBoundingClientRect(),{left:m,top:d,width:u,height:p}=s;if(c||t(),!u||!p)return;const h=Ot(d),g=Ot(o.clientWidth-(m+u)),b=Ot(o.clientHeight-(d+p)),y=Ot(m),O={rootMargin:-h+"px "+-g+"px "+-b+"px "+-y+"px",threshold:oe(0,Ce(1,l))||1};let w=!0;function E(T){const A=T[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):n=setTimeout(()=>{i(!1,1e-7)},1e3)}A===1&&!Uo(s,e.getBoundingClientRect())&&i(),w=!1}try{r=new IntersectionObserver(E,{...O,root:o.ownerDocument})}catch{r=new IntersectionObserver(E,O)}r.observe(e)}return i(!0),a}function Ql(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,s=Er(e),m=o||a?[...s?et(s):[],...et(t)]:[];m.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),a&&y.addEventListener("resize",r)});const d=s&&c?Jl(s,r):null;let u=-1,p=null;i&&(p=new ResizeObserver(y=>{let[S]=y;S&&S.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var O;(O=p)==null||O.observe(t)})),r()}),s&&!l&&p.observe(s),p.observe(t));let h,g=l?Pe(e):null;l&&b();function b(){const y=Pe(e);g&&!Uo(g,y)&&r(),g=y,h=requestAnimationFrame(b)}return r(),()=>{var y;m.forEach(S=>{o&&S.removeEventListener("scroll",r),a&&S.removeEventListener("resize",r)}),d?.(),(y=p)==null||y.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const eu=Cl,tu=Ol,ru=wl,nu=Al,ou=Sl,Go=xl,au=_l,iu=(e,t,r)=>{const n=new Map,o={platform:Zl,...r},a={...o.platform,_c:n};return yl(e,t,{...o,platform:a})};var su=typeof document<"u",cu=function(){},Nt=su?D.useLayoutEffect:cu;function Dt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Dt(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Dt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Yo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ko(e,t){const r=Yo(e);return Math.round(t*r)/r}function Or(e){const t=f.useRef(e);return Nt(()=>{t.current=e}),t}function lu(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:i}={},transform:c=!0,whileElementsMounted:l,open:s}=e,[m,d]=f.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[u,p]=f.useState(n);Dt(u,n)||p(n);const[h,g]=f.useState(null),[b,y]=f.useState(null),S=f.useCallback(C=>{C!==T.current&&(T.current=C,g(C))},[]),O=f.useCallback(C=>{C!==A.current&&(A.current=C,y(C))},[]),w=a||h,E=i||b,T=f.useRef(null),A=f.useRef(null),_=f.useRef(m),I=l!=null,z=Or(l),H=Or(o),U=Or(s),G=f.useCallback(()=>{if(!T.current||!A.current)return;const C={placement:t,strategy:r,middleware:u};H.current&&(C.platform=H.current),iu(T.current,A.current,C).then(q=>{const x={...q,isPositioned:U.current!==!1};V.current&&!Dt(_.current,x)&&(_.current=x,jt.flushSync(()=>{d(x)}))})},[u,t,r,H,U]);Nt(()=>{s===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,d(C=>({...C,isPositioned:!1})))},[s]);const V=f.useRef(!1);Nt(()=>(V.current=!0,()=>{V.current=!1}),[]),Nt(()=>{if(w&&(T.current=w),E&&(A.current=E),w&&E){if(z.current)return z.current(w,E,G);G()}},[w,E,G,z,I]);const K=f.useMemo(()=>({reference:T,floating:A,setReference:S,setFloating:O}),[S,O]),F=f.useMemo(()=>({reference:w,floating:E}),[w,E]),$=f.useMemo(()=>{const C={position:r,left:0,top:0};if(!F.floating)return C;const q=Ko(F.floating,m.x),x=Ko(F.floating,m.y);return c?{...C,transform:"translate("+q+"px, "+x+"px)",...Yo(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:q,top:x}},[r,c,F.floating,m.x,m.y]);return f.useMemo(()=>({...m,update:G,refs:K,elements:F,floatingStyles:$}),[m,G,K,F,$])}const uu=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Go({element:n.current,padding:o}).fn(r):{}:n?Go({element:n,padding:o}).fn(r):{}}}},du=(e,t)=>({...eu(e),options:[e,t]}),fu=(e,t)=>({...tu(e),options:[e,t]}),mu=(e,t)=>({...au(e),options:[e,t]}),pu=(e,t)=>({...ru(e),options:[e,t]}),gu=(e,t)=>({...nu(e),options:[e,t]}),hu=(e,t)=>({...ou(e),options:[e,t]}),vu=(e,t)=>({...uu(e),options:[e,t]});var bu="Arrow",qo=f.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return v.jsx(J.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});qo.displayName=bu;var yu=qo;function xu(e){const[t,r]=f.useState(void 0);return se(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,c;if("borderBoxSize"in a){const l=a.borderBoxSize,s=Array.isArray(l)?l[0]:l;i=s.inlineSize,c=s.blockSize}else i=e.offsetWidth,c=e.offsetHeight;r({width:i,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var _r="Popper",[Xo,Zo]=at(_r),[wu,Jo]=Xo(_r),Qo=e=>{const{__scopePopper:t,children:r}=e,[n,o]=f.useState(null);return v.jsx(wu,{scope:t,anchor:n,onAnchorChange:o,children:r})};Qo.displayName=_r;var ea="PopperAnchor",ta=f.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Jo(ea,r),i=f.useRef(null),c=ce(t,i),l=f.useRef(null);return f.useEffect(()=>{const s=l.current;l.current=n?.current||i.current,s!==l.current&&a.onAnchorChange(l.current)}),n?null:v.jsx(J.div,{...o,ref:c})});ta.displayName=ea;var Ar="PopperContent",[Su,Eu]=Xo(Ar),ra=f.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:s=[],collisionPadding:m=0,sticky:d="partial",hideWhenDetached:u=!1,updatePositionStrategy:p="optimized",onPlaced:h,...g}=e,b=Jo(Ar,r),[y,S]=f.useState(null),O=ce(t,B=>S(B)),[w,E]=f.useState(null),T=xu(w),A=T?.width??0,_=T?.height??0,I=n+(a!=="center"?"-"+a:""),z=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},H=Array.isArray(s)?s:[s],U=H.length>0,G={padding:z,boundary:H.filter(Ou),altBoundary:U},{refs:V,floatingStyles:K,placement:F,isPositioned:$,middlewareData:C}=lu({strategy:"fixed",placement:I,whileElementsMounted:(...B)=>Ql(...B,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[du({mainAxis:o+_,alignmentAxis:i}),l&&fu({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?mu():void 0,...G}),l&&pu({...G}),gu({...G,apply:({elements:B,rects:X,availableWidth:ie,availableHeight:ve})=>{const{width:Ne,height:Ge}=X.reference,It=B.floating.style;It.setProperty("--radix-popper-available-width",`${ie}px`),It.setProperty("--radix-popper-available-height",`${ve}px`),It.setProperty("--radix-popper-anchor-width",`${Ne}px`),It.setProperty("--radix-popper-anchor-height",`${Ge}px`)}}),w&&vu({element:w,padding:c}),_u({arrowWidth:A,arrowHeight:_}),u&&hu({strategy:"referenceHidden",...G})]}),[q,x]=aa(F),M=Ae(h);se(()=>{$&&M?.()},[$,M]);const W=C.arrow?.x,j=C.arrow?.y,Y=C.arrow?.centerOffset!==0,[Q,_e]=f.useState();return se(()=>{y&&_e(window.getComputedStyle(y).zIndex)},[y]),v.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:$?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[C.transformOrigin?.x,C.transformOrigin?.y].join(" "),...C.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(Su,{scope:r,placedSide:q,onArrowChange:E,arrowX:W,arrowY:j,shouldHideArrow:Y,children:v.jsx(J.div,{"data-side":q,"data-align":x,...g,ref:O,style:{...g.style,animation:$?void 0:"none"}})})})});ra.displayName=Ar;var na="PopperArrow",Cu={top:"bottom",right:"left",bottom:"top",left:"right"},oa=f.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=Eu(na,n),i=Cu[a.placedSide];return v.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:v.jsx(yu,{...o,ref:r,style:{...o.style,display:"block"}})})});oa.displayName=na;function Ou(e){return e!==null}var _u=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,c=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,m]=aa(r),d={start:"0%",center:"50%",end:"100%"}[m],u=(o.arrow?.x??0)+c/2,p=(o.arrow?.y??0)+l/2;let h="",g="";return s==="bottom"?(h=i?d:`${u}px`,g=`${-l}px`):s==="top"?(h=i?d:`${u}px`,g=`${n.floating.height+l}px`):s==="right"?(h=`${-l}px`,g=i?d:`${p}px`):s==="left"&&(h=`${n.floating.width+l}px`,g=i?d:`${p}px`),{data:{x:h,y:g}}}});function aa(e){const[t,r="center"]=e.split("-");return[t,r]}var Au=Qo,Ru=ta,ku=ra,Tu=oa,Pu=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Nu="VisuallyHidden",ia=f.forwardRef((e,t)=>v.jsx(J.span,{...e,ref:t,style:{...Pu,...e.style}}));ia.displayName=Nu;var Du=ia,[Mt,zd]=at("Tooltip",[Zo]),Lt=Zo(),sa="TooltipProvider",Mu=700,Rr="tooltip.open",[Lu,kr]=Mt(sa),ca=e=>{const{__scopeTooltip:t,delayDuration:r=Mu,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,i=f.useRef(!0),c=f.useRef(!1),l=f.useRef(0);return f.useEffect(()=>{const s=l.current;return()=>window.clearTimeout(s)},[]),v.jsx(Lu,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:f.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:f.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:f.useCallback(s=>{c.current=s},[]),disableHoverableContent:o,children:a})};ca.displayName=sa;var tt="Tooltip",[Iu,rt]=Mt(tt),la=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:a,disableHoverableContent:i,delayDuration:c}=e,l=kr(tt,e.__scopeTooltip),s=Lt(t),[m,d]=f.useState(null),u=mt(),p=f.useRef(0),h=i??l.disableHoverableContent,g=c??l.delayDuration,b=f.useRef(!1),[y,S]=Fn({prop:n,defaultProp:o??!1,onChange:A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(Rr))):l.onClose(),a?.(A)},caller:tt}),O=f.useMemo(()=>y?b.current?"delayed-open":"instant-open":"closed",[y]),w=f.useCallback(()=>{window.clearTimeout(p.current),p.current=0,b.current=!1,S(!0)},[S]),E=f.useCallback(()=>{window.clearTimeout(p.current),p.current=0,S(!1)},[S]),T=f.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{b.current=!0,S(!0),p.current=0},g)},[g,S]);return f.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),v.jsx(Au,{...s,children:v.jsx(Iu,{scope:t,contentId:u,open:y,stateAttribute:O,trigger:m,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayedRef.current?T():w()},[l.isOpenDelayedRef,T,w]),onTriggerLeave:f.useCallback(()=>{h?E():(window.clearTimeout(p.current),p.current=0)},[E,h]),onOpen:w,onClose:E,disableHoverableContent:h,children:r})})};la.displayName=tt;var Tr="TooltipTrigger",ua=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rt(Tr,r),a=kr(Tr,r),i=Lt(r),c=f.useRef(null),l=ce(t,c,o.onTriggerChange),s=f.useRef(!1),m=f.useRef(!1),d=f.useCallback(()=>s.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),v.jsx(Ru,{asChild:!0,...i,children:v.jsx(J.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:ne(e.onPointerMove,u=>{u.pointerType!=="touch"&&!m.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),m.current=!0)}),onPointerLeave:ne(e.onPointerLeave,()=>{o.onTriggerLeave(),m.current=!1}),onPointerDown:ne(e.onPointerDown,()=>{o.open&&o.onClose(),s.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ne(e.onFocus,()=>{s.current||o.onOpen()}),onBlur:ne(e.onBlur,o.onClose),onClick:ne(e.onClick,o.onClose)})})});ua.displayName=Tr;var Pr="TooltipPortal",[ju,Fu]=Mt(Pr,{forceMount:void 0}),da=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=rt(Pr,t);return v.jsx(ju,{scope:t,forceMount:r,children:v.jsx(Ie,{present:r||a.open,children:v.jsx(ar,{asChild:!0,container:o,children:n})})})};da.displayName=Pr;var Ue="TooltipContent",fa=f.forwardRef((e,t)=>{const r=Fu(Ue,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=rt(Ue,e.__scopeTooltip);return v.jsx(Ie,{present:n||i.open,children:i.disableHoverableContent?v.jsx(ma,{side:o,...a,ref:t}):v.jsx($u,{side:o,...a,ref:t})})}),$u=f.forwardRef((e,t)=>{const r=rt(Ue,e.__scopeTooltip),n=kr(Ue,e.__scopeTooltip),o=f.useRef(null),a=ce(t,o),[i,c]=f.useState(null),{trigger:l,onClose:s}=r,m=o.current,{onPointerInTransitChange:d}=n,u=f.useCallback(()=>{c(null),d(!1)},[d]),p=f.useCallback((h,g)=>{const b=h.currentTarget,y={x:h.clientX,y:h.clientY},S=Bu(y,b.getBoundingClientRect()),O=Hu(y,S),w=Uu(g.getBoundingClientRect()),E=Yu([...O,...w]);c(E),d(!0)},[d]);return f.useEffect(()=>()=>u(),[u]),f.useEffect(()=>{if(l&&m){const h=b=>p(b,m),g=b=>p(b,l);return l.addEventListener("pointerleave",h),m.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),m.removeEventListener("pointerleave",g)}}},[l,m,p,u]),f.useEffect(()=>{if(i){const h=g=>{const b=g.target,y={x:g.clientX,y:g.clientY},S=l?.contains(b)||m?.contains(b),O=!Gu(y,i);S?u():O&&(u(),s())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,m,i,s,u]),v.jsx(ma,{...e,ref:a})}),[zu,Vu]=Mt(tt,{isInside:!1}),Wu=Ta("TooltipContent"),ma=f.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...c}=e,l=rt(Ue,r),s=Lt(r),{onClose:m}=l;return f.useEffect(()=>(document.addEventListener(Rr,m),()=>document.removeEventListener(Rr,m)),[m]),f.useEffect(()=>{if(l.trigger){const d=u=>{u.target?.contains(l.trigger)&&m()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,m]),v.jsx(rr,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:d=>d.preventDefault(),onDismiss:m,children:v.jsxs(ku,{"data-state":l.stateAttribute,...s,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[v.jsx(Wu,{children:n}),v.jsx(zu,{scope:r,isInside:!0,children:v.jsx(Du,{id:l.contentId,role:"tooltip",children:o||n})})]})})});fa.displayName=Ue;var pa="TooltipArrow",ga=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Lt(r);return Vu(pa,r).isInside?null:v.jsx(Tu,{...o,...n,ref:t})});ga.displayName=pa;function Bu(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Hu(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Uu(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Gu(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const c=t[a],l=t[i],s=c.x,m=c.y,d=l.x,u=l.y;m>n!=u>n&&r<(d-s)*(n-m)/(u-m)+s&&(o=!o)}return o}function Yu(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Ku(t)}function Ku(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var qu=ca,Xu=la,Zu=ua,Ju=da,Qu=fa,ed=ga;function ha({delayDuration:e=0,...t}){return v.jsx(qu,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function td({...e}){return v.jsx(ha,{children:v.jsx(Xu,{"data-slot":"tooltip",...e})})}function rd({...e}){return v.jsx(Zu,{"data-slot":"tooltip-trigger",...e})}function nd({className:e,sideOffset:t=0,children:r,...n}){return v.jsx(Ju,{children:v.jsxs(Qu,{"data-slot":"tooltip-content",sideOffset:t,className:N("bg-foreground text-background 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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...n,children:[r,v.jsx(ed,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}const od="sidebar_state",ad=3600*24*7,id="16rem",sd="18rem",cd="3rem",ld="b",va=f.createContext(null);function nt(){const e=f.useContext(va);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function ud({defaultOpen:e=!0,open:t,onOpenChange:r,className:n,style:o,children:a,...i}){const c=ds(),[l,s]=f.useState(!1),[m,d]=f.useState(e),u=t??m,p=f.useCallback(y=>{const S=typeof y=="function"?y(u):y;r?r(S):d(S),document.cookie=`${od}=${S}; path=/; max-age=${ad}`},[r,u]),h=f.useCallback(()=>c?s(y=>!y):p(y=>!y),[c,p,s]);f.useEffect(()=>{const y=S=>{S.key===ld&&(S.metaKey||S.ctrlKey)&&(S.preventDefault(),h())};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[h]);const g=u?"expanded":"collapsed",b=f.useMemo(()=>({state:g,open:u,setOpen:p,isMobile:c,openMobile:l,setOpenMobile:s,toggleSidebar:h}),[g,u,p,c,l,s,h]);return v.jsx(va.Provider,{value:b,children:v.jsx(ha,{delayDuration:0,children:v.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":id,"--sidebar-width-icon":cd,...o},className:N("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",n),...i,children:a})})})}function dd({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:n,children:o,...a}){const{isMobile:i,state:c,openMobile:l,setOpenMobile:s}=nt();return r==="none"?v.jsx("div",{"data-slot":"sidebar",className:N("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",n),...a,children:o}):i?v.jsx(tl,{open:l,onOpenChange:s,...a,children:v.jsxs(ol,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":sd},side:e,children:[v.jsxs(al,{className:"sr-only",children:[v.jsx(il,{children:"Sidebar"}),v.jsx(sl,{children:"Displays the mobile sidebar."})]}),v.jsx("div",{className:"flex h-full w-full flex-col",children:o})]})}):v.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":c,"data-collapsible":c==="collapsed"?r:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[v.jsx("div",{"data-slot":"sidebar-gap",className:N("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),v.jsx("div",{"data-slot":"sidebar-container",className:N("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...a,children:v.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:o})})]})}function fd({className:e,onClick:t,...r}){const{toggleSidebar:n}=nt();return v.jsxs(gn,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:N("size-7",e),onClick:o=>{t?.(o),n()},...r,children:[v.jsx(ls,{}),v.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function md({className:e,...t}){const{toggleSidebar:r}=nt();return v.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:N("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})}function pd({className:e,...t}){return v.jsx("main",{"data-slot":"sidebar-inset",className:N("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})}function gd({className:e,...t}){return v.jsx(Pn,{"data-slot":"sidebar-input","data-sidebar":"input",className:N("bg-background h-8 w-full shadow-none",e),...t})}function hd({className:e,...t}){return v.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:N("flex flex-col gap-2 p-2",e),...t})}function vd({className:e,...t}){return v.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:N("flex flex-col gap-2 p-2",e),...t})}function bd({className:e,...t}){return v.jsx(_s,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:N("bg-sidebar-border mx-2 w-auto",e),...t})}function yd({className:e,...t}){return v.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:N("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function xd({className:e,...t}){return v.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:N("relative flex w-full min-w-0 flex-col p-2",e),...t})}function wd({className:e,asChild:t=!1,...r}){const n=t?we:"div";return v.jsx(n,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:N("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...r})}function Sd({className:e,asChild:t=!1,...r}){const n=t?we:"button";return v.jsx(n,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e),...r})}function Ed({className:e,...t}){return v.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:N("w-full text-sm",e),...t})}function Cd({className:e,...t}){return v.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:N("flex w-full min-w-0 flex-col gap-1",e),...t})}function Od({className:e,...t}){return v.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:N("group/menu-item relative",e),...t})}const _d=qt("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function Ad({asChild:e=!1,isActive:t=!1,variant:r="default",size:n="default",tooltip:o,className:a,...i}){const c=e?we:"button",{isMobile:l,state:s}=nt(),m=v.jsx(c,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":n,"data-active":t,className:N(_d({variant:r,size:n}),a),...i});return o?(typeof o=="string"&&(o={children:o}),v.jsxs(td,{children:[v.jsx(rd,{asChild:!0,children:m}),v.jsx(nd,{side:"right",align:"center",hidden:s!=="collapsed"||l,...o})]})):m}function Rd({className:e,asChild:t=!1,showOnHover:r=!1,...n}){const o=t?we:"button";return v.jsx(o,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),...n})}function kd({className:e,...t}){return v.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:N("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t})}function Td({className:e,showIcon:t=!1,...r}){const n=f.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return v.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:N("flex h-8 items-center gap-2 rounded-md px-2",e),...r,children:[t&&v.jsx(_o,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),v.jsx(_o,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})}function Pd({className:e,...t}){return v.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:N("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t})}function Nd({className:e,...t}){return v.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:N("group/menu-sub-item relative",e),...t})}function Dd({asChild:e=!1,size:t="md",isActive:r=!1,className:n,...o}){const a=e?we:"a";return v.jsx(a,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...o})}P.Avatar=Ai,P.Badge=Ri,P.Button=gn,P.Card=ki,P.CardAction=Di,P.CardContent=Mi,P.CardDescription=Ni,P.CardFooter=Li,P.CardHeader=Ti,P.CardTitle=Pi,P.Form=Zi,P.FormControl=ts,P.FormDescription=rs,P.FormField=Ji,P.FormItem=Qi,P.FormLabel=es,P.FormMessage=ns,P.Input=Pn,P.Label=Rn,P.Sidebar=dd,P.SidebarContent=yd,P.SidebarFooter=vd,P.SidebarGroup=xd,P.SidebarGroupAction=Sd,P.SidebarGroupContent=Ed,P.SidebarGroupLabel=wd,P.SidebarHeader=hd,P.SidebarInput=gd,P.SidebarInset=pd,P.SidebarMenu=Cd,P.SidebarMenuAction=Rd,P.SidebarMenuBadge=kd,P.SidebarMenuButton=Ad,P.SidebarMenuItem=Od,P.SidebarMenuSkeleton=Td,P.SidebarMenuSub=Pd,P.SidebarMenuSubButton=Dd,P.SidebarMenuSubItem=Nd,P.SidebarProvider=ud,P.SidebarRail=md,P.SidebarSeparator=bd,P.SidebarTrigger=fd,P.badgeVariants=mn,P.buttonVariants=pn,P.cn=N,P.useFormField=Ze,P.useSidebar=nt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@service_laboratory/ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "./dist/ui.umd.cjs",
6
6
  "module": "./dist/ui.js",
@@ -14,20 +14,30 @@
14
14
  },
15
15
  "exports": {
16
16
  ".": {
17
- "types": "./dist/ui.d.ts",
18
- "import": "./dist/ui.js",
19
- "require": "./dist/ui.umd.cjs"
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js",
19
+ "require": "./dist/index.umd.cjs"
20
+ },
21
+ "./index.css": {
22
+ "import": "./dist/index.css",
23
+ "require": "./dist/index.css"
20
24
  }
21
25
  },
22
26
  "dependencies": {
23
27
  "@radix-ui/react-avatar": "^1.1.10",
28
+ "@radix-ui/react-dialog": "^1.1.15",
24
29
  "@radix-ui/react-label": "^2.1.7",
30
+ "@radix-ui/react-separator": "^1.1.8",
25
31
  "@radix-ui/react-slot": "^1.2.3",
32
+ "@radix-ui/react-tooltip": "^1.2.8",
33
+ "@tailwindcss/vite": "^4.1.18",
26
34
  "@tanstack/store": "^0.7.4",
27
- "axios": "^1.11.0",
35
+ "axios": "^1.13.2",
28
36
  "class-variance-authority": "^0.7.1",
29
37
  "clsx": "^2.1.1",
30
- "tailwind-merge": "^3.3.1"
38
+ "lucide-react": "^0.562.0",
39
+ "tailwind-merge": "^3.3.1",
40
+ "tailwindcss": "^4.1.18"
31
41
  },
32
42
  "peerDependencies": {
33
43
  "react": "^19.1.1",
@@ -37,7 +47,9 @@
37
47
  "devDependencies": {
38
48
  "@types/node": "^24.5.2",
39
49
  "@types/react": "^19.1.13",
50
+ "@types/react-dom": "^19.1.9",
40
51
  "@vitejs/plugin-react": "^5.0.3",
52
+ "tw-animate-css": "^1.4.0",
41
53
  "typescript": "~5.8.3",
42
54
  "vite": "7.1.5",
43
55
  "vite-plugin-dts": "^4.5.4"