@hari_digitus/sms-ui-library 9.0.1 → 9.0.2

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.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ae=require("react"),dn=require("react-dom");function pn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const g=pn(ae),mn=pn(dn);var _t={exports:{}},yt={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react");var ce={exports:{}},Q={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Fr;function yo(){if(Fr)return yt;Fr=1;var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(c,l,d){var u,p={},m=null,v=null;d!==void 0&&(m=""+d),l.key!==void 0&&(m=""+l.key),l.ref!==void 0&&(v=l.ref);for(u in l)o.call(l,u)&&!s.hasOwnProperty(u)&&(p[u]=l[u]);if(c&&c.defaultProps)for(u in l=c.defaultProps,l)p[u]===void 0&&(p[u]=l[u]);return{$$typeof:t,type:c,key:m,ref:v,props:p,_owner:i.current}}return yt.Fragment=r,yt.jsx=a,yt.jsxs=a,yt}var bt={};/**
9
+ */var Fe;function pr(){if(Fe)return Q;Fe=1;var w=S,P=Symbol.for("react.element"),h=Symbol.for("react.fragment"),_=Object.prototype.hasOwnProperty,k=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,N={key:!0,ref:!0,__self:!0,__source:!0};function I(m,d,D){var g,j={},O=null,Y=null;D!==void 0&&(O=""+D),d.key!==void 0&&(O=""+d.key),d.ref!==void 0&&(Y=d.ref);for(g in d)_.call(d,g)&&!N.hasOwnProperty(g)&&(j[g]=d[g]);if(m&&m.defaultProps)for(g in d=m.defaultProps,d)j[g]===void 0&&(j[g]=d[g]);return{$$typeof:P,type:m,key:O,ref:Y,props:j,_owner:k.current}}return Q.Fragment=h,Q.jsx=I,Q.jsxs=I,Q}var ee={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,46 +14,17 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Mr;function bo(){return Mr||(Mr=1,process.env.NODE_ENV!=="production"&&(function(){var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),y=Symbol.iterator,b="@@iterator";function k(n){if(n===null||typeof n!="object")return null;var f=y&&n[y]||n[b];return typeof f=="function"?f:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(n){{for(var f=arguments.length,h=new Array(f>1?f-1:0),w=1;w<f;w++)h[w-1]=arguments[w];T("error",n,h)}}function T(n,f,h){{var w=E.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(f+="%s",h=h.concat([N]));var I=h.map(function(C){return String(C)});I.unshift("Warning: "+f),Function.prototype.apply.call(console[n],console,I)}}var O=!1,F=!1,$=!1,A=!1,_=!1,V;V=Symbol.for("react.module.reference");function K(n){return!!(typeof n=="string"||typeof n=="function"||n===o||n===s||_||n===i||n===d||n===u||A||n===v||O||F||$||typeof n=="object"&&n!==null&&(n.$$typeof===m||n.$$typeof===p||n.$$typeof===a||n.$$typeof===c||n.$$typeof===l||n.$$typeof===V||n.getModuleId!==void 0))}function ne(n,f,h){var w=n.displayName;if(w)return w;var N=f.displayName||f.name||"";return N!==""?h+"("+N+")":h}function q(n){return n.displayName||"Context"}function H(n){if(n==null)return null;if(typeof n.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case o:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case c:var f=n;return q(f)+".Consumer";case a:var h=n;return q(h._context)+".Provider";case l:return ne(n,n.render,"ForwardRef");case p:var w=n.displayName||null;return w!==null?w:H(n.type)||"Memo";case m:{var N=n,I=N._payload,C=N._init;try{return H(C(I))}catch{return null}}}return null}var W=Object.assign,J=0,z,U,R,L,oe,ce,ue;function ee(){}ee.__reactDisabledLog=!0;function X(){{if(J===0){z=console.log,U=console.info,R=console.warn,L=console.error,oe=console.group,ce=console.groupCollapsed,ue=console.groupEnd;var n={configurable:!0,enumerable:!0,value:ee,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}J++}}function he(){{if(J--,J===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},n,{value:z}),info:W({},n,{value:U}),warn:W({},n,{value:R}),error:W({},n,{value:L}),group:W({},n,{value:oe}),groupCollapsed:W({},n,{value:ce}),groupEnd:W({},n,{value:ue})})}J<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fe=E.ReactCurrentDispatcher,Z;function de(n,f,h){{if(Z===void 0)try{throw Error()}catch(N){var w=N.stack.trim().match(/\n( *(at )?)/);Z=w&&w[1]||""}return`
18
- `+Z+n}}var pe=!1,se;{var Oe=typeof WeakMap=="function"?WeakMap:Map;se=new Oe}function we(n,f){if(!n||pe)return"";{var h=se.get(n);if(h!==void 0)return h}var w;pe=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=fe.current,fe.current=null,X();try{if(f){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(te){w=te}Reflect.construct(n,[],C)}else{try{C.call()}catch(te){w=te}n.call(C.prototype)}}else{try{throw Error()}catch(te){w=te}n()}}catch(te){if(te&&w&&typeof te.stack=="string"){for(var S=te.stack.split(`
19
- `),Q=w.stack.split(`
20
- `),B=S.length-1,Y=Q.length-1;B>=1&&Y>=0&&S[B]!==Q[Y];)Y--;for(;B>=1&&Y>=0;B--,Y--)if(S[B]!==Q[Y]){if(B!==1||Y!==1)do if(B--,Y--,Y<0||S[B]!==Q[Y]){var re=`
21
- `+S[B].replace(" at new "," at ");return n.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",n.displayName)),typeof n=="function"&&se.set(n,re),re}while(B>=1&&Y>=0);break}}}finally{pe=!1,fe.current=I,he(),Error.prepareStackTrace=N}var ye=n?n.displayName||n.name:"",le=ye?de(ye):"";return typeof n=="function"&&se.set(n,le),le}function je(n,f,h){return we(n,!1)}function it(n){var f=n.prototype;return!!(f&&f.isReactComponent)}function ke(n,f,h){if(n==null)return"";if(typeof n=="function")return we(n,it(n));if(typeof n=="string")return de(n);switch(n){case d:return de("Suspense");case u:return de("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case l:return je(n.render);case p:return ke(n.type,f,h);case m:{var w=n,N=w._payload,I=w._init;try{return ke(I(N),f,h)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,Me={},We=E.ReactDebugCurrentFrame;function me(n){if(n){var f=n._owner,h=ke(n.type,n._source,f?f.type:null);We.setExtraStackFrame(h)}else We.setExtraStackFrame(null)}function Yt(n,f,h,w,N){{var I=Function.call.bind(ge);for(var C in n)if(I(n,C)){var S=void 0;try{if(typeof n[C]!="function"){var Q=Error((w||"React class")+": "+h+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Q.name="Invariant Violation",Q}S=n[C](f,C,w,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){S=B}S&&!(S instanceof Error)&&(me(N),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",w||"React class",h,C,typeof S),me(null)),S instanceof Error&&!(S.message in Me)&&(Me[S.message]=!0,me(N),x("Failed %s type: %s",h,S.message),me(null))}}}var Vt=Array.isArray;function Be(n){return Vt(n)}function Ht(n){{var f=typeof Symbol=="function"&&Symbol.toStringTag,h=f&&n[Symbol.toStringTag]||n.constructor.name||"Object";return h}}function Gt(n){try{return st(n),!1}catch{return!0}}function st(n){return""+n}function at(n){if(Gt(n))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ht(n)),st(n)}var lt=E.ReactCurrentOwner,Xt={key:!0,ref:!0,__self:!0,__source:!0},ct,ut;function Kt(n){if(ge.call(n,"ref")){var f=Object.getOwnPropertyDescriptor(n,"ref").get;if(f&&f.isReactWarning)return!1}return n.ref!==void 0}function Jt(n){if(ge.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function qt(n,f){typeof n.ref=="string"&&lt.current}function Qt(n,f){{var h=function(){ct||(ct=!0,x("%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://reactjs.org/link/special-props)",f))};h.isReactWarning=!0,Object.defineProperty(n,"key",{get:h,configurable:!0})}}function Zt(n,f){{var h=function(){ut||(ut=!0,x("%s: `ref` 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://reactjs.org/link/special-props)",f))};h.isReactWarning=!0,Object.defineProperty(n,"ref",{get:h,configurable:!0})}}var er=function(n,f,h,w,N,I,C){var S={$$typeof:t,type:n,key:f,ref:h,props:C,_owner:I};return S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(S,"_self",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.defineProperty(S,"_source",{configurable:!1,enumerable:!1,writable:!1,value:N}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S};function tr(n,f,h,w,N){{var I,C={},S=null,Q=null;h!==void 0&&(at(h),S=""+h),Jt(f)&&(at(f.key),S=""+f.key),Kt(f)&&(Q=f.ref,qt(f,N));for(I in f)ge.call(f,I)&&!Xt.hasOwnProperty(I)&&(C[I]=f[I]);if(n&&n.defaultProps){var B=n.defaultProps;for(I in B)C[I]===void 0&&(C[I]=B[I])}if(S||Q){var Y=typeof n=="function"?n.displayName||n.name||"Unknown":n;S&&Qt(C,Y),Q&&Zt(C,Y)}return er(n,S,Q,N,w,lt.current,C)}}var Ue=E.ReactCurrentOwner,ft=E.ReactDebugCurrentFrame;function ve(n){if(n){var f=n._owner,h=ke(n.type,n._source,f?f.type:null);ft.setExtraStackFrame(h)}else ft.setExtraStackFrame(null)}var Ye;Ye=!1;function Ve(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function dt(){{if(Ue.current){var n=H(Ue.current.type);if(n)return`
17
+ */var Me;function vr(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&(function(){var w=S,P=Symbol.for("react.element"),h=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),m=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),b=Symbol.iterator,re="@@iterator";function B(e){if(e===null||typeof e!="object")return null;var r=b&&e[b]||e[re];return typeof r=="function"?r:null}var F=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];fe("error",e,n)}}function fe(e,r,n){{var a=F.ReactDebugCurrentFrame,s=a.getStackAddendum();s!==""&&(r+="%s",n=n.concat([s]));var u=n.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var de=!1,ne=!1,pe=!1,te=!1,ae=!1,M;M=Symbol.for("react.module.reference");function q(e){return!!(typeof e=="string"||typeof e=="function"||e===_||e===N||ae||e===k||e===D||e===g||te||e===Y||de||ne||pe||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===j||e.$$typeof===I||e.$$typeof===m||e.$$typeof===d||e.$$typeof===M||e.getModuleId!==void 0))}function ie(e,r,n){var a=e.displayName;if(a)return a;var s=r.displayName||r.name||"";return s!==""?n+"("+s+")":n}function J(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _:return"Fragment";case h:return"Portal";case N:return"Profiler";case k:return"StrictMode";case D:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m:var r=e;return J(r)+".Consumer";case I:var n=e;return J(n._context)+".Provider";case d:return ie(e,e.render,"ForwardRef");case j:var a=e.displayName||null;return a!==null?a:T(e.type)||"Memo";case O:{var s=e,u=s._payload,o=s._init;try{return T(o(u))}catch{return null}}}return null}var A=Object.assign,$=0,v,C,L,l,H,K,G;function z(){}z.__reactDisabledLog=!0;function x(){{if($===0){v=console.log,C=console.info,L=console.warn,l=console.error,H=console.group,K=console.groupCollapsed,G=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function ve(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:v}),info:A({},e,{value:C}),warn:A({},e,{value:L}),error:A({},e,{value:l}),group:A({},e,{value:H}),groupCollapsed:A({},e,{value:K}),groupEnd:A({},e,{value:G})})}$<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var X=F.ReactCurrentDispatcher,he;function oe(e,r,n){{if(he===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);he=a&&a[1]||""}return`
18
+ `+he+e}}var me=!1,se;{var Be=typeof WeakMap=="function"?WeakMap:Map;se=new Be}function je(e,r){if(!e||me)return"";{var n=se.get(e);if(n!==void 0)return n}var a;me=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=X.current,X.current=null,x();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(E){a=E}Reflect.construct(e,[],o)}else{try{o.call()}catch(E){a=E}e.call(o.prototype)}}else{try{throw Error()}catch(E){a=E}e()}}catch(E){if(E&&a&&typeof E.stack=="string"){for(var i=E.stack.split(`
19
+ `),y=a.stack.split(`
20
+ `),c=i.length-1,f=y.length-1;c>=1&&f>=0&&i[c]!==y[f];)f--;for(;c>=1&&f>=0;c--,f--)if(i[c]!==y[f]){if(c!==1||f!==1)do if(c--,f--,f<0||i[c]!==y[f]){var R=`
21
+ `+i[c].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&se.set(e,R),R}while(c>=1&&f>=0);break}}}finally{me=!1,X.current=u,ve(),Error.prepareStackTrace=s}var V=e?e.displayName||e.name:"",W=V?oe(V):"";return typeof e=="function"&&se.set(e,W),W}function Ue(e,r,n){return je(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function le(e,r,n){if(e==null)return"";if(typeof e=="function")return je(e,Ve(e));if(typeof e=="string")return oe(e);switch(e){case D:return oe("Suspense");case g:return oe("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return Ue(e.render);case j:return le(e.type,r,n);case O:{var a=e,s=a._payload,u=a._init;try{return le(u(s),r,n)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,Re={},_e=F.ReactDebugCurrentFrame;function ue(e){if(e){var r=e._owner,n=le(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(n)}else _e.setExtraStackFrame(null)}function qe(e,r,n,a,s){{var u=Function.call.bind(Z);for(var o in e)if(u(e,o)){var i=void 0;try{if(typeof e[o]!="function"){var y=Error((a||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}i=e[o](r,o,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){i=c}i&&!(i instanceof Error)&&(ue(s),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",n,o,typeof i),ue(null)),i instanceof Error&&!(i.message in Re)&&(Re[i.message]=!0,ue(s),p("Failed %s type: %s",n,i.message),ue(null))}}}var Je=Array.isArray;function ge(e){return Je(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,n=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ke(e){try{return Ce(e),!1}catch{return!0}}function Ce(e){return""+e}function Se(e){if(Ke(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),Ce(e)}var we=F.ReactCurrentOwner,Ge={key:!0,ref:!0,__self:!0,__source:!0},Oe,Te;function ze(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Xe(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ze(e,r){typeof e.ref=="string"&&we.current}function Qe(e,r){{var n=function(){Oe||(Oe=!0,p("%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://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}}function er(e,r){{var n=function(){Te||(Te=!0,p("%s: `ref` 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://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}}var rr=function(e,r,n,a,s,u,o){var i={$$typeof:P,type:e,key:r,ref:n,props:o,_owner:u};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nr(e,r,n,a,s){{var u,o={},i=null,y=null;n!==void 0&&(Se(n),i=""+n),Xe(r)&&(Se(r.key),i=""+r.key),ze(r)&&(y=r.ref,Ze(r,s));for(u in r)Z.call(r,u)&&!Ge.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var c=e.defaultProps;for(u in c)o[u]===void 0&&(o[u]=c[u])}if(i||y){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&Qe(o,f),y&&er(o,f)}return rr(e,i,y,s,a,we.current,o)}}var be=F.ReactCurrentOwner,Pe=F.ReactDebugCurrentFrame;function U(e){if(e){var r=e._owner,n=le(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(n)}else Pe.setExtraStackFrame(null)}var xe;xe=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function ke(){{if(be.current){var e=T(be.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+n+"`."}return""}}function rr(n){return""}var pt={};function nr(n){{var f=dt();if(!f){var h=typeof n=="string"?n:n.displayName||n.name;h&&(f=`
23
+ Check the render method of \``+e+"`."}return""}}function tr(e){return""}var Ne={};function ar(e){{var r=ke();if(!r){var n=typeof e=="string"?e:e.displayName||e.name;n&&(r=`
24
24
 
25
- Check the top-level render call using <`+h+">.")}return f}}function mt(n,f){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var h=nr(f);if(pt[h])return;pt[h]=!0;var w="";n&&n._owner&&n._owner!==Ue.current&&(w=" It was passed a child from "+H(n._owner.type)+"."),ve(n),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',h,w),ve(null)}}function ht(n,f){{if(typeof n!="object")return;if(Be(n))for(var h=0;h<n.length;h++){var w=n[h];Ve(w)&&mt(w,f)}else if(Ve(n))n._store&&(n._store.validated=!0);else if(n){var N=k(n);if(typeof N=="function"&&N!==n.entries)for(var I=N.call(n),C;!(C=I.next()).done;)Ve(C.value)&&mt(C.value,f)}}}function or(n){{var f=n.type;if(f==null||typeof f=="string")return;var h;if(typeof f=="function")h=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===l||f.$$typeof===p))h=f.propTypes;else return;if(h){var w=H(f);Yt(h,n.props,"prop",w,n)}else if(f.PropTypes!==void 0&&!Ye){Ye=!0;var N=H(f);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",N||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ir(n){{for(var f=Object.keys(n.props),h=0;h<f.length;h++){var w=f[h];if(w!=="children"&&w!=="key"){ve(n),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w),ve(null);break}}n.ref!==null&&(ve(n),x("Invalid attribute `ref` supplied to `React.Fragment`."),ve(null))}}var gt={};function vt(n,f,h,w,N,I){{var C=K(n);if(!C){var S="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Q=rr();Q?S+=Q:S+=dt();var B;n===null?B="null":Be(n)?B="array":n!==void 0&&n.$$typeof===t?(B="<"+(H(n.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):B=typeof n,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,S)}var Y=tr(n,f,h,N,I);if(Y==null)return Y;if(C){var re=f.children;if(re!==void 0)if(w)if(Be(re)){for(var ye=0;ye<re.length;ye++)ht(re[ye],n);Object.freeze&&Object.freeze(re)}else x("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 ht(re,n)}if(ge.call(f,"key")){var le=H(n),te=Object.keys(f).filter(function(fr){return fr!=="key"}),He=te.length>0?"{key: someKey, "+te.join(": ..., ")+": ...}":"{key: someKey}";if(!gt[le+He]){var ur=te.length>0?"{"+te.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+n+">.")}return r}}function Ie(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=ar(r);if(Ne[n])return;Ne[n]=!0;var a="";e&&e._owner&&e._owner!==be.current&&(a=" It was passed a child from "+T(e._owner.type)+"."),U(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,a),U(null)}}function De(e,r){{if(typeof e!="object")return;if(ge(e))for(var n=0;n<e.length;n++){var a=e[n];ye(a)&&Ie(a,r)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var s=B(e);if(typeof s=="function"&&s!==e.entries)for(var u=s.call(e),o;!(o=u.next()).done;)ye(o.value)&&Ie(o.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var n;if(typeof r=="function")n=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===j))n=r.propTypes;else return;if(n){var a=T(r);qe(n,e.props,"prop",a,e)}else if(r.PropTypes!==void 0&&!xe){xe=!0;var s=T(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function or(e){{for(var r=Object.keys(e.props),n=0;n<r.length;n++){var a=r[n];if(a!=="children"&&a!=="key"){U(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),U(null);break}}e.ref!==null&&(U(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),U(null))}}var Ae={};function Le(e,r,n,a,s,u){{var o=q(e);if(!o){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var y=tr();y?i+=y:i+=ke();var c;e===null?c="null":ge(e)?c="array":e!==void 0&&e.$$typeof===P?(c="<"+(T(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,i)}var f=nr(e,r,n,s,u);if(f==null)return f;if(o){var R=r.children;if(R!==void 0)if(a)if(ge(R)){for(var V=0;V<R.length;V++)De(R[V],e);Object.freeze&&Object.freeze(R)}else p("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 De(R,e)}if(Z.call(r,"key")){var W=T(e),E=Object.keys(r).filter(function(dr){return dr!=="key"}),Ee=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[W+Ee]){var fr=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,He,le,ur,le),gt[le+He]=!0}}return n===o?ir(Y):or(Y),Y}}function sr(n,f,h){return vt(n,f,h,!0)}function ar(n,f,h){return vt(n,f,h,!1)}var lr=ar,cr=sr;bt.Fragment=o,bt.jsx=lr,bt.jsxs=cr})()),bt}var Wr;function xo(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?_t.exports=yo():_t.exports=bo()),_t.exports}var D=xo();const hn=ae.createContext(null),wo=({children:e})=>{const[t,r]=ae.useState(!0),[o,i]=ae.useState(null),s=()=>{r(c=>!c),i(null)},a=c=>{i(l=>l===c?null:c)};return D.jsx(hn.Provider,{value:{isExpanded:t,toggleSidebar:s,openSubmenu:o,toggleSubmenu:a},children:e})},gn=()=>{const e=ae.useContext(hn);if(!e)throw new Error("useSidebar must be used inside <SidebarProvider>");return e},ko="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.3334%207C20.3334%207.55228%2020.0072%208%2019.6048%208L4.06194%208C3.65957%208%203.33337%207.55228%203.33337%207C3.33337%206.44772%203.65957%206%204.06194%206L19.6048%206C20.0072%206%2020.3334%206.44772%2020.3334%207Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.3334%2012C20.3334%2012.5523%2020.0072%2013%2019.6048%2013L4.06194%2013C3.65957%2013%203.33337%2012.5523%203.33337%2012C3.33337%2011.4477%203.65957%2011%204.06194%2011L19.6048%2011C20.0072%2011%2020.3334%2011.4477%2020.3334%2012Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.3334%2017C20.3334%2017.5523%2020.0072%2018%2019.6048%2018L4.06194%2018C3.65957%2018%203.33337%2017.5523%203.33337%2017C3.33337%2016.4477%203.65957%2016%204.06194%2016L19.6048%2016C20.0072%2016%2020.3334%2016.4477%2020.3334%2017Z'%20fill='white'%20/%3e%3c/svg%3e",Eo="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20strokeWidth='2'%20strokeLinecap='round'%20strokeLinejoin='round'%20%3e%3ccircle%20cx='12'%20cy='12'%20r='10'%20/%3e%3cpath%20d='M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203'%20/%3e%3cline%20x1='12'%20y1='17'%20x2='12.01'%20y2='17'%20/%3e%3c/svg%3e",Ro="data:image/svg+xml,",So="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20strokeWidth='2.5'%20strokeLinecap='round'%20strokeLinejoin='round'%20%3e%3cline%20x1='12'%20y1='5'%20x2='12'%20y2='19'%20/%3e%3cline%20x1='5'%20y1='12'%20x2='19'%20y2='12'%20/%3e%3c/svg%3e",_o="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20strokeWidth='2'%20strokeLinecap='round'%20strokeLinejoin='round'%20%3e%3cpath%20d='M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4'%20/%3e%3cpolyline%20points='16%2017%2021%2012%2016%207'%20/%3e%3cline%20x1='21'%20y1='12'%20x2='9'%20y2='12'%20/%3e%3c/svg%3e";var dr={exports:{}},xt={};/**
31
- * @license React
32
- * react-jsx-runtime.production.min.js
33
- *
34
- * Copyright (c) Facebook, Inc. and its 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 Br;function Co(){if(Br)return xt;Br=1;var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(c,l,d){var u,p={},m=null,v=null;d!==void 0&&(m=""+d),l.key!==void 0&&(m=""+l.key),l.ref!==void 0&&(v=l.ref);for(u in l)o.call(l,u)&&!s.hasOwnProperty(u)&&(p[u]=l[u]);if(c&&c.defaultProps)for(u in l=c.defaultProps,l)p[u]===void 0&&(p[u]=l[u]);return{$$typeof:t,type:c,key:m,ref:v,props:p,_owner:i.current}}return xt.Fragment=r,xt.jsx=a,xt.jsxs=a,xt}var Ct={};/**
39
- * @license React
40
- * react-jsx-runtime.development.js
41
- *
42
- * Copyright (c) Facebook, Inc. and its affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */var Ur;function Oo(){return Ur||(Ur=1,process.env.NODE_ENV!=="production"&&(function(){var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),y=Symbol.iterator,b="@@iterator";function k(n){if(n===null||typeof n!="object")return null;var f=y&&n[y]||n[b];return typeof f=="function"?f:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(n){{for(var f=arguments.length,h=new Array(f>1?f-1:0),w=1;w<f;w++)h[w-1]=arguments[w];T("error",n,h)}}function T(n,f,h){{var w=E.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(f+="%s",h=h.concat([N]));var I=h.map(function(C){return String(C)});I.unshift("Warning: "+f),Function.prototype.apply.call(console[n],console,I)}}var O=!1,F=!1,$=!1,A=!1,_=!1,V;V=Symbol.for("react.module.reference");function K(n){return!!(typeof n=="string"||typeof n=="function"||n===o||n===s||_||n===i||n===d||n===u||A||n===v||O||F||$||typeof n=="object"&&n!==null&&(n.$$typeof===m||n.$$typeof===p||n.$$typeof===a||n.$$typeof===c||n.$$typeof===l||n.$$typeof===V||n.getModuleId!==void 0))}function ne(n,f,h){var w=n.displayName;if(w)return w;var N=f.displayName||f.name||"";return N!==""?h+"("+N+")":h}function q(n){return n.displayName||"Context"}function H(n){if(n==null)return null;if(typeof n.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case o:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case c:var f=n;return q(f)+".Consumer";case a:var h=n;return q(h._context)+".Provider";case l:return ne(n,n.render,"ForwardRef");case p:var w=n.displayName||null;return w!==null?w:H(n.type)||"Memo";case m:{var N=n,I=N._payload,C=N._init;try{return H(C(I))}catch{return null}}}return null}var W=Object.assign,J=0,z,U,R,L,oe,ce,ue;function ee(){}ee.__reactDisabledLog=!0;function X(){{if(J===0){z=console.log,U=console.info,R=console.warn,L=console.error,oe=console.group,ce=console.groupCollapsed,ue=console.groupEnd;var n={configurable:!0,enumerable:!0,value:ee,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}J++}}function he(){{if(J--,J===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},n,{value:z}),info:W({},n,{value:U}),warn:W({},n,{value:R}),error:W({},n,{value:L}),group:W({},n,{value:oe}),groupCollapsed:W({},n,{value:ce}),groupEnd:W({},n,{value:ue})})}J<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fe=E.ReactCurrentDispatcher,Z;function de(n,f,h){{if(Z===void 0)try{throw Error()}catch(N){var w=N.stack.trim().match(/\n( *(at )?)/);Z=w&&w[1]||""}return`
47
- `+Z+n}}var pe=!1,se;{var Oe=typeof WeakMap=="function"?WeakMap:Map;se=new Oe}function we(n,f){if(!n||pe)return"";{var h=se.get(n);if(h!==void 0)return h}var w;pe=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=fe.current,fe.current=null,X();try{if(f){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(te){w=te}Reflect.construct(n,[],C)}else{try{C.call()}catch(te){w=te}n.call(C.prototype)}}else{try{throw Error()}catch(te){w=te}n()}}catch(te){if(te&&w&&typeof te.stack=="string"){for(var S=te.stack.split(`
48
- `),Q=w.stack.split(`
49
- `),B=S.length-1,Y=Q.length-1;B>=1&&Y>=0&&S[B]!==Q[Y];)Y--;for(;B>=1&&Y>=0;B--,Y--)if(S[B]!==Q[Y]){if(B!==1||Y!==1)do if(B--,Y--,Y<0||S[B]!==Q[Y]){var re=`
50
- `+S[B].replace(" at new "," at ");return n.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",n.displayName)),typeof n=="function"&&se.set(n,re),re}while(B>=1&&Y>=0);break}}}finally{pe=!1,fe.current=I,he(),Error.prepareStackTrace=N}var ye=n?n.displayName||n.name:"",le=ye?de(ye):"";return typeof n=="function"&&se.set(n,le),le}function je(n,f,h){return we(n,!1)}function it(n){var f=n.prototype;return!!(f&&f.isReactComponent)}function ke(n,f,h){if(n==null)return"";if(typeof n=="function")return we(n,it(n));if(typeof n=="string")return de(n);switch(n){case d:return de("Suspense");case u:return de("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case l:return je(n.render);case p:return ke(n.type,f,h);case m:{var w=n,N=w._payload,I=w._init;try{return ke(I(N),f,h)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,Me={},We=E.ReactDebugCurrentFrame;function me(n){if(n){var f=n._owner,h=ke(n.type,n._source,f?f.type:null);We.setExtraStackFrame(h)}else We.setExtraStackFrame(null)}function Yt(n,f,h,w,N){{var I=Function.call.bind(ge);for(var C in n)if(I(n,C)){var S=void 0;try{if(typeof n[C]!="function"){var Q=Error((w||"React class")+": "+h+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Q.name="Invariant Violation",Q}S=n[C](f,C,w,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){S=B}S&&!(S instanceof Error)&&(me(N),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",w||"React class",h,C,typeof S),me(null)),S instanceof Error&&!(S.message in Me)&&(Me[S.message]=!0,me(N),x("Failed %s type: %s",h,S.message),me(null))}}}var Vt=Array.isArray;function Be(n){return Vt(n)}function Ht(n){{var f=typeof Symbol=="function"&&Symbol.toStringTag,h=f&&n[Symbol.toStringTag]||n.constructor.name||"Object";return h}}function Gt(n){try{return st(n),!1}catch{return!0}}function st(n){return""+n}function at(n){if(Gt(n))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ht(n)),st(n)}var lt=E.ReactCurrentOwner,Xt={key:!0,ref:!0,__self:!0,__source:!0},ct,ut;function Kt(n){if(ge.call(n,"ref")){var f=Object.getOwnPropertyDescriptor(n,"ref").get;if(f&&f.isReactWarning)return!1}return n.ref!==void 0}function Jt(n){if(ge.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function qt(n,f){typeof n.ref=="string"&&lt.current}function Qt(n,f){{var h=function(){ct||(ct=!0,x("%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://reactjs.org/link/special-props)",f))};h.isReactWarning=!0,Object.defineProperty(n,"key",{get:h,configurable:!0})}}function Zt(n,f){{var h=function(){ut||(ut=!0,x("%s: `ref` 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://reactjs.org/link/special-props)",f))};h.isReactWarning=!0,Object.defineProperty(n,"ref",{get:h,configurable:!0})}}var er=function(n,f,h,w,N,I,C){var S={$$typeof:t,type:n,key:f,ref:h,props:C,_owner:I};return S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(S,"_self",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.defineProperty(S,"_source",{configurable:!1,enumerable:!1,writable:!1,value:N}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S};function tr(n,f,h,w,N){{var I,C={},S=null,Q=null;h!==void 0&&(at(h),S=""+h),Jt(f)&&(at(f.key),S=""+f.key),Kt(f)&&(Q=f.ref,qt(f));for(I in f)ge.call(f,I)&&!Xt.hasOwnProperty(I)&&(C[I]=f[I]);if(n&&n.defaultProps){var B=n.defaultProps;for(I in B)C[I]===void 0&&(C[I]=B[I])}if(S||Q){var Y=typeof n=="function"?n.displayName||n.name||"Unknown":n;S&&Qt(C,Y),Q&&Zt(C,Y)}return er(n,S,Q,N,w,lt.current,C)}}var Ue=E.ReactCurrentOwner,ft=E.ReactDebugCurrentFrame;function ve(n){if(n){var f=n._owner,h=ke(n.type,n._source,f?f.type:null);ft.setExtraStackFrame(h)}else ft.setExtraStackFrame(null)}var Ye;Ye=!1;function Ve(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function dt(){{if(Ue.current){var n=H(Ue.current.type);if(n)return`
51
-
52
- Check the render method of \``+n+"`."}return""}}function rr(n){return""}var pt={};function nr(n){{var f=dt();if(!f){var h=typeof n=="string"?n:n.displayName||n.name;h&&(f=`
53
-
54
- Check the top-level render call using <`+h+">.")}return f}}function mt(n,f){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var h=nr(f);if(pt[h])return;pt[h]=!0;var w="";n&&n._owner&&n._owner!==Ue.current&&(w=" It was passed a child from "+H(n._owner.type)+"."),ve(n),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',h,w),ve(null)}}function ht(n,f){{if(typeof n!="object")return;if(Be(n))for(var h=0;h<n.length;h++){var w=n[h];Ve(w)&&mt(w,f)}else if(Ve(n))n._store&&(n._store.validated=!0);else if(n){var N=k(n);if(typeof N=="function"&&N!==n.entries)for(var I=N.call(n),C;!(C=I.next()).done;)Ve(C.value)&&mt(C.value,f)}}}function or(n){{var f=n.type;if(f==null||typeof f=="string")return;var h;if(typeof f=="function")h=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===l||f.$$typeof===p))h=f.propTypes;else return;if(h){var w=H(f);Yt(h,n.props,"prop",w,n)}else if(f.PropTypes!==void 0&&!Ye){Ye=!0;var N=H(f);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",N||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ir(n){{for(var f=Object.keys(n.props),h=0;h<f.length;h++){var w=f[h];if(w!=="children"&&w!=="key"){ve(n),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w),ve(null);break}}n.ref!==null&&(ve(n),x("Invalid attribute `ref` supplied to `React.Fragment`."),ve(null))}}var gt={};function vt(n,f,h,w,N,I){{var C=K(n);if(!C){var S="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Q=rr();Q?S+=Q:S+=dt();var B;n===null?B="null":Be(n)?B="array":n!==void 0&&n.$$typeof===t?(B="<"+(H(n.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):B=typeof n,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,S)}var Y=tr(n,f,h,N,I);if(Y==null)return Y;if(C){var re=f.children;if(re!==void 0)if(w)if(Be(re)){for(var ye=0;ye<re.length;ye++)ht(re[ye],n);Object.freeze&&Object.freeze(re)}else x("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 ht(re,n)}if(ge.call(f,"key")){var le=H(n),te=Object.keys(f).filter(function(fr){return fr!=="key"}),He=te.length>0?"{key: someKey, "+te.join(": ..., ")+": ...}":"{key: someKey}";if(!gt[le+He]){var ur=te.length>0?"{"+te.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
55
- let props = %s;
56
- <%s {...props} />
57
- React keys must be passed directly to JSX without using spread:
58
- let props = %s;
59
- <%s key={someKey} {...props} />`,He,le,ur,le),gt[le+He]=!0}}return n===o?ir(Y):or(Y),Y}}function sr(n,f,h){return vt(n,f,h,!0)}function ar(n,f,h){return vt(n,f,h,!1)}var lr=ar,cr=sr;Ct.Fragment=o,Ct.jsx=lr,Ct.jsxs=cr})()),Ct}var Yr;function jo(){return Yr||(Yr=1,process.env.NODE_ENV==="production"?dr.exports=Co():dr.exports=Oo()),dr.exports}var M=jo();function vn(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=vn(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function yn(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=vn(e))&&(o&&(o+=" "),o+=t);return o}const Vr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Hr=yn,Po=(e,t)=>r=>{var o;if((t==null?void 0:t.variants)==null)return Hr(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:s}=t,a=Object.keys(i).map(d=>{const u=r==null?void 0:r[d],p=s==null?void 0:s[d];if(u===null)return null;const m=Vr(u)||Vr(p);return i[d][m]}),c=r&&Object.entries(r).reduce((d,u)=>{let[p,m]=u;return m===void 0||(d[p]=m),d},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((d,u)=>{let{class:p,className:m,...v}=u;return Object.entries(v).every(y=>{let[b,k]=y;return Array.isArray(k)?k.includes({...s,...c}[b]):{...s,...c}[b]===k})?[...d,p,m]:d},[]);return Hr(e,a,l,r==null?void 0:r.class,r==null?void 0:r.className)},Cr="-",To=e=>{const t=Do(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{const s=i.split(Cr);return s[0]===""&&s.length!==1&&s.shift(),bn(s,t)||No(i)},getConflictingClassGroupIds:(i,s)=>{const a=r[i]||[];return s&&o[i]?[...a,...o[i]]:a}}},bn=(e,t)=>{var r;if(e.length===0)return t.classGroupId;const o=e[0],i=t.nextPart.get(o),s=i?bn(e.slice(1),i):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(Cr);return(r=t.validators.find(({validator:c})=>c(a)))==null?void 0:r.classGroupId},Gr=/^\[(.+)\]$/,No=e=>{if(Gr.test(e)){const t=Gr.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Do=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const i in r)yr(r[i],o,i,t);return o},yr=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Xr(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(Ao(i)){yr(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{yr(a,Xr(t,s),r,o)})})},Xr=(e,t)=>{let r=e;return t.split(Cr).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ao=e=>e.isThemeGetter,Io=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},br="!",xr=":",Lo=xr.length,$o=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=i=>{const s=[];let a=0,c=0,l=0,d;for(let y=0;y<i.length;y++){let b=i[y];if(a===0&&c===0){if(b===xr){s.push(i.slice(l,y)),l=y+Lo;continue}if(b==="/"){d=y;continue}}b==="["?a++:b==="]"?a--:b==="("?c++:b===")"&&c--}const u=s.length===0?i:i.substring(l),p=zo(u),m=p!==u,v=d&&d>l?d-l:void 0;return{modifiers:s,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:v}};if(t){const i=t+xr,s=o;o=a=>a.startsWith(i)?s(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(r){const i=o;o=s=>r({className:s,parseClassName:i})}return o},zo=e=>e.endsWith(br)?e.substring(0,e.length-1):e.startsWith(br)?e.substring(1):e,Fo=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let i=[];return r.forEach(s=>{s[0]==="["||t[s]?(o.push(...i.sort(),s),i=[]):i.push(s)}),o.push(...i.sort()),o}},Mo=e=>({cache:Io(e.cacheSize),parseClassName:$o(e),sortModifiers:Fo(e),...To(e)}),Wo=/\s+/,Bo=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,a=[],c=e.trim().split(Wo);let l="";for(let d=c.length-1;d>=0;d-=1){const u=c[d],{isExternal:p,modifiers:m,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:b}=r(u);if(p){l=u+(l.length>0?" "+l:l);continue}let k=!!b,E=o(k?y.substring(0,b):y);if(!E){if(!k){l=u+(l.length>0?" "+l:l);continue}if(E=o(y),!E){l=u+(l.length>0?" "+l:l);continue}k=!1}const x=s(m).join(":"),T=v?x+br:x,O=T+E;if(a.includes(O))continue;a.push(O);const F=i(E,k);for(let $=0;$<F.length;++$){const A=F[$];a.push(T+A)}l=u+(l.length>0?" "+l:l)}return l};function Uo(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=xn(t))&&(o&&(o+=" "),o+=r);return o}const xn=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=xn(e[o]))&&(r&&(r+=" "),r+=t);return r};function Yo(e,...t){let r,o,i,s=a;function a(l){const d=t.reduce((u,p)=>p(u),e());return r=Mo(d),o=r.cache.get,i=r.cache.set,s=c,c(l)}function c(l){const d=o(l);if(d)return d;const u=Bo(l,r);return i(l,u),u}return function(){return s(Uo.apply(null,arguments))}}const ie=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},wn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,kn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Vo=/^\d+\/\d+$/,Ho=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Go=/\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$/,Xo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ko=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qe=e=>Vo.test(e),G=e=>!!e&&!Number.isNaN(Number(e)),Ie=e=>!!e&&Number.isInteger(Number(e)),pr=e=>e.endsWith("%")&&G(e.slice(0,-1)),Pe=e=>Ho.test(e),qo=()=>!0,Qo=e=>Go.test(e)&&!Xo.test(e),En=()=>!1,Zo=e=>Ko.test(e),ei=e=>Jo.test(e),ti=e=>!j(e)&&!P(e),ri=e=>tt(e,_n,En),j=e=>wn.test(e),Ge=e=>tt(e,Cn,Qo),mr=e=>tt(e,ai,G),Kr=e=>tt(e,Rn,En),ni=e=>tt(e,Sn,ei),Ot=e=>tt(e,On,Zo),P=e=>kn.test(e),wt=e=>rt(e,Cn),oi=e=>rt(e,li),Jr=e=>rt(e,Rn),ii=e=>rt(e,_n),si=e=>rt(e,Sn),jt=e=>rt(e,On,!0),tt=(e,t,r)=>{const o=wn.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},rt=(e,t,r=!1)=>{const o=kn.exec(e);return o?o[1]?t(o[1]):r:!1},Rn=e=>e==="position"||e==="percentage",Sn=e=>e==="image"||e==="url",_n=e=>e==="length"||e==="size"||e==="bg-size",Cn=e=>e==="length",ai=e=>e==="number",li=e=>e==="family-name",On=e=>e==="shadow",ci=()=>{const e=ie("color"),t=ie("font"),r=ie("text"),o=ie("font-weight"),i=ie("tracking"),s=ie("leading"),a=ie("breakpoint"),c=ie("container"),l=ie("spacing"),d=ie("radius"),u=ie("shadow"),p=ie("inset-shadow"),m=ie("text-shadow"),v=ie("drop-shadow"),y=ie("blur"),b=ie("perspective"),k=ie("aspect"),E=ie("ease"),x=ie("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...O(),P,j],$=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],_=()=>[P,j,l],V=()=>[qe,"full","auto",..._()],K=()=>[Ie,"none","subgrid",P,j],ne=()=>["auto",{span:["full",Ie,P,j]},Ie,P,j],q=()=>[Ie,"auto",P,j],H=()=>["auto","min","max","fr",P,j],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",..._()],U=()=>[qe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],R=()=>[e,P,j],L=()=>[...O(),Jr,Kr,{position:[P,j]}],oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ce=()=>["auto","cover","contain",ii,ri,{size:[P,j]}],ue=()=>[pr,wt,Ge],ee=()=>["","none","full",d,P,j],X=()=>["",G,wt,Ge],he=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>[G,pr,Jr,Kr],de=()=>["","none",y,P,j],pe=()=>["none",G,P,j],se=()=>["none",G,P,j],Oe=()=>[G,P,j],we=()=>[qe,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Pe],breakpoint:[Pe],color:[qo],container:[Pe],"drop-shadow":[Pe],ease:["in","out","in-out"],font:[ti],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Pe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Pe],shadow:[Pe],spacing:["px",G],text:[Pe],"text-shadow":[Pe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qe,j,P,k]}],container:["container"],columns:[{columns:[G,j,P,c]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"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:F()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[Ie,"auto",P,j]}],basis:[{basis:[qe,"full","auto",c,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[G,qe,"auto","initial","none",j]}],grow:[{grow:["",G,P,j]}],shrink:[{shrink:["",G,P,j]}],order:[{order:[Ie,"first","last","none",P,j]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[c,"screen",...U()]}],"min-w":[{"min-w":[c,"screen","none",...U()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...U()]}],h:[{h:["screen",...U()]}],"min-h":[{"min-h":["screen","none",...U()]}],"max-h":[{"max-h":["screen",...U()]}],"font-size":[{text:["base",r,wt,Ge]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,P,mr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pr,j]}],"font-family":[{font:[oi,j,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:[i,P,j]}],"line-clamp":[{"line-clamp":[G,"none",P,mr]}],leading:[{leading:[s,..._()]}],"list-image":[{"list-image":["none",P,j]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",P,j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[G,"from-font","auto",P,Ge]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[G,"auto",P,j]}],"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",P,j]}],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",P,j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ie,P,j],radial:["",P,j],conic:[Ie,P,j]},si,ni]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[G,P,j]}],"outline-w":[{outline:["",G,wt,Ge]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",u,jt,Ot]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",p,jt,Ot]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[G,Ge]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",m,jt,Ot]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[G,P,j]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"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":[G]}],"mask-image-linear-from-pos":[{"mask-linear-from":Z()}],"mask-image-linear-to-pos":[{"mask-linear-to":Z()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":Z()}],"mask-image-t-to-pos":[{"mask-t-to":Z()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":Z()}],"mask-image-r-to-pos":[{"mask-r-to":Z()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":Z()}],"mask-image-b-to-pos":[{"mask-b-to":Z()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":Z()}],"mask-image-l-to-pos":[{"mask-l-to":Z()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":Z()}],"mask-image-x-to-pos":[{"mask-x-to":Z()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":Z()}],"mask-image-y-to-pos":[{"mask-y-to":Z()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[P,j]}],"mask-image-radial-from-pos":[{"mask-radial-from":Z()}],"mask-image-radial-to-pos":[{"mask-radial-to":Z()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"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":O()}],"mask-image-conic-pos":[{"mask-conic":[G]}],"mask-image-conic-from-pos":[{"mask-conic-from":Z()}],"mask-image-conic-to-pos":[{"mask-conic-to":Z()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",P,j]}],filter:[{filter:["","none",P,j]}],blur:[{blur:de()}],brightness:[{brightness:[G,P,j]}],contrast:[{contrast:[G,P,j]}],"drop-shadow":[{"drop-shadow":["","none",v,jt,Ot]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",G,P,j]}],"hue-rotate":[{"hue-rotate":[G,P,j]}],invert:[{invert:["",G,P,j]}],saturate:[{saturate:[G,P,j]}],sepia:[{sepia:["",G,P,j]}],"backdrop-filter":[{"backdrop-filter":["","none",P,j]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[G,P,j]}],"backdrop-contrast":[{"backdrop-contrast":[G,P,j]}],"backdrop-grayscale":[{"backdrop-grayscale":["",G,P,j]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[G,P,j]}],"backdrop-invert":[{"backdrop-invert":["",G,P,j]}],"backdrop-opacity":[{"backdrop-opacity":[G,P,j]}],"backdrop-saturate":[{"backdrop-saturate":[G,P,j]}],"backdrop-sepia":[{"backdrop-sepia":["",G,P,j]}],"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",P,j]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[G,"initial",P,j]}],ease:[{ease:["linear","initial",E,P,j]}],delay:[{delay:[G,P,j]}],animate:[{animate:["none",x,P,j]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,P,j]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:pe()}],"rotate-x":[{"rotate-x":pe()}],"rotate-y":[{"rotate-y":pe()}],"rotate-z":[{"rotate-z":pe()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:Oe()}],"skew-x":[{"skew-x":Oe()}],"skew-y":[{"skew-y":Oe()}],transform:[{transform:[P,j,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:we()}],"translate-x":[{"translate-x":we()}],"translate-y":[{"translate-y":we()}],"translate-z":[{"translate-z":we()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"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",P,j]}],"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",P,j]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[G,wt,Ge,mr]}],stroke:[{stroke:["none",...R()]}],"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"]}},ui=Yo(ci);function fi(...e){return ui(yn(e))}function Te(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function qr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function jn(...e){return t=>{let r=!1;const o=e.map(i=>{const s=qr(i,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let i=0;i<o.length;i++){const s=o[i];typeof s=="function"?s():qr(e[i],null)}}}}function Je(...e){return g.useCallback(jn(...e),e)}function Pn(e,t=[]){let r=[];function o(s,a){const c=g.createContext(a),l=r.length;r=[...r,a];const d=p=>{var m;const{scope:v,children:y,...b}=p,k=((m=v==null?void 0:v[e])==null?void 0:m[l])||c,E=g.useMemo(()=>b,Object.values(b));return M.jsx(k.Provider,{value:E,children:y})};d.displayName=s+"Provider";function u(p,m){var v;const y=((v=m==null?void 0:m[e])==null?void 0:v[l])||c,b=g.useContext(y);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[d,u]}const i=()=>{const s=r.map(a=>g.createContext(a));return function(a){const c=(a==null?void 0:a[e])||s;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return i.scopeName=e,[o,di(i,...t)]}function di(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(i){const s=o.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}function pi(e){const t=mi(e),r=g.forwardRef((o,i)=>{const{children:s,...a}=o,c=g.Children.toArray(s),l=c.find(gi);if(l){const d=l.props.children,u=c.map(p=>p===l?g.Children.count(d)>1?g.Children.only(null):g.isValidElement(d)?d.props.children:null:p);return M.jsx(t,{...a,ref:i,children:g.isValidElement(d)?g.cloneElement(d,void 0,u):null})}return M.jsx(t,{...a,ref:i,children:s})});return r.displayName=`${e}.Slot`,r}function mi(e){const t=g.forwardRef((r,o)=>{const{children:i,...s}=r;if(g.isValidElement(i)){const a=yi(i),c=vi(s,i.props);return i.type!==g.Fragment&&(c.ref=o?jn(o,a):a),g.cloneElement(i,c)}return g.Children.count(i)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Tn=Symbol("radix.slottable");function hi(e){const t=({children:r})=>M.jsx(M.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=Tn,t}function gi(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Tn}function vi(e,t){const r={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?r[o]=(...a)=>{const c=s(...a);return i(...a),c}:i&&(r[o]=i):o==="style"?r[o]={...i,...s}:o==="className"&&(r[o]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}function yi(e){var t,r;let o=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,i=o&&"isReactWarning"in o&&o.isReactWarning;return i?e.ref:(o=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,i=o&&"isReactWarning"in o&&o.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var bi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Fe=bi.reduce((e,t)=>{const r=pi(`Primitive.${t}`),o=g.forwardRef((i,s)=>{const{asChild:a,...c}=i,l=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(l,{...c,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function xi(e,t){e&&mn.flushSync(()=>e.dispatchEvent(t))}function $t(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...r)=>{var o;return(o=t.current)==null?void 0:o.call(t,...r)},[])}function wi(e,t=globalThis==null?void 0:globalThis.document){const r=$t(e);g.useEffect(()=>{const o=i=>{i.key==="Escape"&&r(i)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var ki="DismissableLayer",wr="dismissableLayer.update",Ei="dismissableLayer.pointerDownOutside",Ri="dismissableLayer.focusOutside",Qr,Nn=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dn=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:a,onDismiss:c,...l}=e,d=g.useContext(Nn),[u,p]=g.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=g.useState({}),y=Je(t,A=>p(A)),b=Array.from(d.layers),[k]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),E=b.indexOf(k),x=u?b.indexOf(u):-1,T=d.layersWithOutsidePointerEventsDisabled.size>0,O=x>=E,F=Ci(A=>{const _=A.target,V=[...d.branches].some(K=>K.contains(_));!O||V||(i==null||i(A),a==null||a(A),A.defaultPrevented||c==null||c())},m),$=Oi(A=>{const _=A.target;[...d.branches].some(V=>V.contains(_))||(s==null||s(A),a==null||a(A),A.defaultPrevented||c==null||c())},m);return wi(A=>{x===d.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},m),g.useEffect(()=>{if(u)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Qr=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Zr(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Qr)}},[u,m,r,d]),g.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Zr())},[u,d]),g.useEffect(()=>{const A=()=>v({});return document.addEventListener(wr,A),()=>document.removeEventListener(wr,A)},[]),M.jsx(Fe.div,{...l,ref:y,style:{pointerEvents:T?O?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,$.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,$.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,F.onPointerDownCapture)})});Dn.displayName=ki;var Si="DismissableLayerBranch",_i=g.forwardRef((e,t)=>{const r=g.useContext(Nn),o=g.useRef(null),i=Je(t,o);return g.useEffect(()=>{const s=o.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),M.jsx(Fe.div,{...e,ref:i})});_i.displayName=Si;function Ci(e,t=globalThis==null?void 0:globalThis.document){const r=$t(e),o=g.useRef(!1),i=g.useRef(()=>{});return g.useEffect(()=>{const s=c=>{if(c.target&&!o.current){let l=function(){An(Ei,r,d,{discrete:!0})};const d={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function Oi(e,t=globalThis==null?void 0:globalThis.document){const r=$t(e),o=g.useRef(!1);return g.useEffect(()=>{const i=s=>{s.target&&!o.current&&An(Ri,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Zr(){const e=new CustomEvent(wr);document.dispatchEvent(e)}function An(e,t,r,{discrete:o}){const i=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),o?xi(i,s):i.dispatchEvent(s)}var Le=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},ji=g[" useId ".trim().toString()]||(()=>{}),Pi=0;function Ti(e){const[t,r]=g.useState(ji());return Le(()=>{r(o=>o??String(Pi++))},[e]),t?`radix-${t}`:""}const Ni=["top","right","bottom","left"],$e=Math.min,be=Math.max,Dt=Math.round,Pt=Math.floor,_e=e=>({x:e,y:e}),Di={left:"right",right:"left",bottom:"top",top:"bottom"};function kr(e,t,r){return be(e,$e(t,r))}function Ne(e,t){return typeof e=="function"?e(t):e}function De(e){return e.split("-")[0]}function nt(e){return e.split("-")[1]}function Or(e){return e==="x"?"y":"x"}function jr(e){return e==="y"?"height":"width"}function Se(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Pr(e){return Or(Se(e))}function Ai(e,t,r){r===void 0&&(r=!1);const o=nt(e),i=Pr(e),s=jr(i);let a=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=At(a)),[a,At(a)]}function Ii(e){const t=At(e);return[Er(e),t,Er(t)]}function Er(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const en=["left","right"],tn=["right","left"],Li=["top","bottom"],$i=["bottom","top"];function zi(e,t,r){switch(e){case"top":case"bottom":return r?t?tn:en:t?en:tn;case"left":case"right":return t?Li:$i;default:return[]}}function Fi(e,t,r,o){const i=nt(e);let s=zi(De(e),r==="start",o);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Er)))),s}function At(e){const t=De(e);return Di[t]+e.slice(t.length)}function Mi(e){return{top:0,right:0,bottom:0,left:0,...e}}function In(e){return typeof e!="number"?Mi(e):{top:e,right:e,bottom:e,left:e}}function It(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function rn(e,t,r){let{reference:o,floating:i}=e;const s=Se(t),a=Pr(t),c=jr(a),l=De(t),d=s==="y",u=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;let v;switch(l){case"top":v={x:u,y:o.y-i.height};break;case"bottom":v={x:u,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:p};break;case"left":v={x:o.x-i.width,y:p};break;default:v={x:o.x,y:o.y}}switch(nt(t)){case"start":v[a]-=m*(r&&d?-1:1);break;case"end":v[a]+=m*(r&&d?-1:1);break}return v}async function Wi(e,t){var r;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:a,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:v=0}=Ne(t,e),y=In(v),b=c[m?p==="floating"?"reference":"floating":p],k=It(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(b)))==null||r?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:u,strategy:l})),E=p==="floating"?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),T=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},O=It(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:E,offsetParent:x,strategy:l}):E);return{top:(k.top-O.top+y.top)/T.y,bottom:(O.bottom-k.bottom+y.bottom)/T.y,left:(k.left-O.left+y.left)/T.x,right:(O.right-k.right+y.right)/T.x}}const Bi=50,Ui=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:Wi},l=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:p}=rn(d,o,l),m=o,v=0;const y={};for(let b=0;b<s.length;b++){const k=s[b];if(!k)continue;const{name:E,fn:x}=k,{x:T,y:O,data:F,reset:$}=await x({x:u,y:p,initialPlacement:o,placement:m,strategy:i,middlewareData:y,rects:d,platform:c,elements:{reference:e,floating:t}});u=T??u,p=O??p,y[E]={...y[E],...F},$&&v<Bi&&(v++,typeof $=="object"&&($.placement&&(m=$.placement),$.rects&&(d=$.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):$.rects),{x:u,y:p}=rn(d,m,l)),b=-1)}return{x:u,y:p,placement:m,strategy:i,middlewareData:y}},Yi=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:s,platform:a,elements:c,middlewareData:l}=t,{element:d,padding:u=0}=Ne(e,t)||{};if(d==null)return{};const p=In(u),m={x:r,y:o},v=Pr(i),y=jr(v),b=await a.getDimensions(d),k=v==="y",E=k?"top":"left",x=k?"bottom":"right",T=k?"clientHeight":"clientWidth",O=s.reference[y]+s.reference[v]-m[v]-s.floating[y],F=m[v]-s.reference[v],$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let A=$?$[T]:0;(!A||!await(a.isElement==null?void 0:a.isElement($)))&&(A=c.floating[T]||s.floating[y]);const _=O/2-F/2,V=A/2-b[y]/2-1,K=$e(p[E],V),ne=$e(p[x],V),q=K,H=A-b[y]-ne,W=A/2-b[y]/2+_,J=kr(q,W,H),z=!l.arrow&&nt(i)!=null&&W!==J&&s.reference[y]/2-(W<q?K:ne)-b[y]/2<0,U=z?W<q?W-q:W-H:0;return{[v]:m[v]+U,data:{[v]:J,centerOffset:W-J-U,...z&&{alignmentOffset:U}},reset:z}}}),Vi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:s,rects:a,initialPlacement:c,platform:l,elements:d}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...k}=Ne(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const E=De(i),x=Se(c),T=De(c)===c,O=await(l.isRTL==null?void 0:l.isRTL(d.floating)),F=m||(T||!b?[At(c)]:Ii(c)),$=y!=="none";!m&&$&&F.push(...Fi(c,b,y,O));const A=[c,...F],_=await l.detectOverflow(t,k),V=[];let K=((o=s.flip)==null?void 0:o.overflows)||[];if(u&&V.push(_[E]),p){const W=Ai(i,a,O);V.push(_[W[0]],_[W[1]])}if(K=[...K,{placement:i,overflows:V}],!V.every(W=>W<=0)){var ne,q;const W=(((ne=s.flip)==null?void 0:ne.index)||0)+1,J=A[W];if(J&&(!(p==="alignment"&&x!==Se(J))||K.every(U=>Se(U.placement)===x?U.overflows[0]>0:!0)))return{data:{index:W,overflows:K},reset:{placement:J}};let z=(q=K.filter(U=>U.overflows[0]<=0).sort((U,R)=>U.overflows[1]-R.overflows[1])[0])==null?void 0:q.placement;if(!z)switch(v){case"bestFit":{var H;const U=(H=K.filter(R=>{if($){const L=Se(R.placement);return L===x||L==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(L=>L>0).reduce((L,oe)=>L+oe,0)]).sort((R,L)=>R[1]-L[1])[0])==null?void 0:H[0];U&&(z=U);break}case"initialPlacement":z=c;break}if(i!==z)return{reset:{placement:z}}}return{}}}};function nn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function on(e){return Ni.some(t=>e[t]>=0)}const Hi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:i="referenceHidden",...s}=Ne(e,t);switch(i){case"referenceHidden":{const a=await o.detectOverflow(t,{...s,elementContext:"reference"}),c=nn(a,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:on(c)}}}case"escaped":{const a=await o.detectOverflow(t,{...s,altBoundary:!0}),c=nn(a,r.floating);return{data:{escapedOffsets:c,escaped:on(c)}}}default:return{}}}}},Ln=new Set(["left","top"]);async function Gi(e,t){const{placement:r,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),a=De(r),c=nt(r),l=Se(r)==="y",d=Ln.has(a)?-1:1,u=s&&l?-1:1,p=Ne(t,e);let{mainAxis:m,crossAxis:v,alignmentAxis:y}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof y=="number"&&(v=c==="end"?y*-1:y),l?{x:v*u,y:m*d}:{x:m*d,y:v*u}}const Xi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:s,placement:a,middlewareData:c}=t,l=await Gi(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:a}}}}},Ki=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i,platform:s}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:E=>{let{x,y:T}=E;return{x,y:T}}},...d}=Ne(e,t),u={x:r,y:o},p=await s.detectOverflow(t,d),m=Se(De(i)),v=Or(m);let y=u[v],b=u[m];if(a){const E=v==="y"?"top":"left",x=v==="y"?"bottom":"right",T=y+p[E],O=y-p[x];y=kr(T,y,O)}if(c){const E=m==="y"?"top":"left",x=m==="y"?"bottom":"right",T=b+p[E],O=b-p[x];b=kr(T,b,O)}const k=l.fn({...t,[v]:y,[m]:b});return{...k,data:{x:k.x-r,y:k.y-o,enabled:{[v]:a,[m]:c}}}}}},Ji=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:s,middlewareData:a}=t,{offset:c=0,mainAxis:l=!0,crossAxis:d=!0}=Ne(e,t),u={x:r,y:o},p=Se(i),m=Or(p);let v=u[m],y=u[p];const b=Ne(c,t),k=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){const T=m==="y"?"height":"width",O=s.reference[m]-s.floating[T]+k.mainAxis,F=s.reference[m]+s.reference[T]-k.mainAxis;v<O?v=O:v>F&&(v=F)}if(d){var E,x;const T=m==="y"?"width":"height",O=Ln.has(De(i)),F=s.reference[p]-s.floating[T]+(O&&((E=a.offset)==null?void 0:E[p])||0)+(O?0:k.crossAxis),$=s.reference[p]+s.reference[T]+(O?0:((x=a.offset)==null?void 0:x[p])||0)-(O?k.crossAxis:0);y<F?y=F:y>$&&(y=$)}return{[m]:v,[p]:y}}}},qi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:i,rects:s,platform:a,elements:c}=t,{apply:l=()=>{},...d}=Ne(e,t),u=await a.detectOverflow(t,d),p=De(i),m=nt(i),v=Se(i)==="y",{width:y,height:b}=s.floating;let k,E;p==="top"||p==="bottom"?(k=p,E=m===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(E=p,k=m==="end"?"top":"bottom");const x=b-u.top-u.bottom,T=y-u.left-u.right,O=$e(b-u[k],x),F=$e(y-u[E],T),$=!t.middlewareData.shift;let A=O,_=F;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(_=T),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=x),$&&!m){const K=be(u.left,0),ne=be(u.right,0),q=be(u.top,0),H=be(u.bottom,0);v?_=y-2*(K!==0||ne!==0?K+ne:be(u.left,u.right)):A=b-2*(q!==0||H!==0?q+H:be(u.top,u.bottom))}await l({...t,availableWidth:_,availableHeight:A});const V=await a.getDimensions(c.floating);return y!==V.width||b!==V.height?{reset:{rects:!0}}:{}}}};function zt(){return typeof window<"u"}function ot(e){return $n(e)?(e.nodeName||"").toLowerCase():"#document"}function xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ce(e){var t;return(t=($n(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $n(e){return zt()?e instanceof Node||e instanceof xe(e).Node:!1}function Ee(e){return zt()?e instanceof Element||e instanceof xe(e).Element:!1}function Ae(e){return zt()?e instanceof HTMLElement||e instanceof xe(e).HTMLElement:!1}function sn(e){return!zt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xe(e).ShadowRoot}function Rt(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&i!=="inline"&&i!=="contents"}function Qi(e){return/^(table|td|th)$/.test(ot(e))}function Ft(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Zi=/transform|translate|scale|rotate|perspective|filter/,es=/paint|layout|strict|content/,Xe=e=>!!e&&e!=="none";let hr;function Tr(e){const t=Ee(e)?Re(e):e;return Xe(t.transform)||Xe(t.translate)||Xe(t.scale)||Xe(t.rotate)||Xe(t.perspective)||!Nr()&&(Xe(t.backdropFilter)||Xe(t.filter))||Zi.test(t.willChange||"")||es.test(t.contain||"")}function ts(e){let t=ze(e);for(;Ae(t)&&!Ze(t);){if(Tr(t))return t;if(Ft(t))return null;t=ze(t)}return null}function Nr(){return hr==null&&(hr=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hr}function Ze(e){return/^(html|body|#document)$/.test(ot(e))}function Re(e){return xe(e).getComputedStyle(e)}function Mt(e){return Ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(ot(e)==="html")return e;const t=e.assignedSlot||e.parentNode||sn(e)&&e.host||Ce(e);return sn(t)?t.host:t}function zn(e){const t=ze(e);return Ze(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ae(t)&&Rt(t)?t:zn(t)}function kt(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=zn(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),a=xe(i);if(s){const c=Rr(a);return t.concat(a,a.visualViewport||[],Rt(i)?i:[],c&&r?kt(c):[])}else return t.concat(i,kt(i,[],r))}function Rr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fn(e){const t=Re(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Ae(e),s=i?e.offsetWidth:r,a=i?e.offsetHeight:o,c=Dt(r)!==s||Dt(o)!==a;return c&&(r=s,o=a),{width:r,height:o,$:c}}function Dr(e){return Ee(e)?e:e.contextElement}function Qe(e){const t=Dr(e);if(!Ae(t))return _e(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:s}=Fn(t);let a=(s?Dt(r.width):r.width)/o,c=(s?Dt(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const rs=_e(0);function Mn(e){const t=xe(e);return!Nr()||!t.visualViewport?rs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ns(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==xe(e)?!1:t}function Ke(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=Dr(e);let a=_e(1);t&&(o?Ee(o)&&(a=Qe(o)):a=Qe(e));const c=ns(s,r,o)?Mn(s):_e(0);let l=(i.left+c.x)/a.x,d=(i.top+c.y)/a.y,u=i.width/a.x,p=i.height/a.y;if(s){const m=xe(s),v=o&&Ee(o)?xe(o):o;let y=m,b=Rr(y);for(;b&&o&&v!==y;){const k=Qe(b),E=b.getBoundingClientRect(),x=Re(b),T=E.left+(b.clientLeft+parseFloat(x.paddingLeft))*k.x,O=E.top+(b.clientTop+parseFloat(x.paddingTop))*k.y;l*=k.x,d*=k.y,u*=k.x,p*=k.y,l+=T,d+=O,y=xe(b),b=Rr(y)}}return It({width:u,height:p,x:l,y:d})}function Wt(e,t){const r=Mt(e).scrollLeft;return t?t.left+r:Ke(Ce(e)).left+r}function Wn(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-Wt(e,r),i=r.top+t.scrollTop;return{x:o,y:i}}function os(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const s=i==="fixed",a=Ce(o),c=t?Ft(t.floating):!1;if(o===a||c&&s)return r;let l={scrollLeft:0,scrollTop:0},d=_e(1);const u=_e(0),p=Ae(o);if((p||!p&&!s)&&((ot(o)!=="body"||Rt(a))&&(l=Mt(o)),p)){const v=Ke(o);d=Qe(o),u.x=v.x+o.clientLeft,u.y=v.y+o.clientTop}const m=a&&!p&&!s?Wn(a,l):_e(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+u.x+m.x,y:r.y*d.y-l.scrollTop*d.y+u.y+m.y}}function is(e){return Array.from(e.getClientRects())}function ss(e){const t=Ce(e),r=Mt(e),o=e.ownerDocument.body,i=be(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=be(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+Wt(e);const c=-r.scrollTop;return Re(o).direction==="rtl"&&(a+=be(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:a,y:c}}const an=25;function as(e,t){const r=xe(e),o=Ce(e),i=r.visualViewport;let s=o.clientWidth,a=o.clientHeight,c=0,l=0;if(i){s=i.width,a=i.height;const u=Nr();(!u||u&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const d=Wt(o);if(d<=0){const u=o.ownerDocument,p=u.body,m=getComputedStyle(p),v=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(o.clientWidth-p.clientWidth-v);y<=an&&(s-=y)}else d<=an&&(s+=d);return{width:s,height:a,x:c,y:l}}function ls(e,t){const r=Ke(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,s=Ae(e)?Qe(e):_e(1),a=e.clientWidth*s.x,c=e.clientHeight*s.y,l=i*s.x,d=o*s.y;return{width:a,height:c,x:l,y:d}}function ln(e,t,r){let o;if(t==="viewport")o=as(e,r);else if(t==="document")o=ss(Ce(e));else if(Ee(t))o=ls(t,r);else{const i=Mn(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return It(o)}function Bn(e,t){const r=ze(e);return r===t||!Ee(r)||Ze(r)?!1:Re(r).position==="fixed"||Bn(r,t)}function cs(e,t){const r=t.get(e);if(r)return r;let o=kt(e,[],!1).filter(c=>Ee(c)&&ot(c)!=="body"),i=null;const s=Re(e).position==="fixed";let a=s?ze(e):e;for(;Ee(a)&&!Ze(a);){const c=Re(a),l=Tr(a);!l&&c.position==="fixed"&&(i=null),(s?!l&&!i:!l&&c.position==="static"&&i&&(i.position==="absolute"||i.position==="fixed")||Rt(a)&&!l&&Bn(e,a))?o=o.filter(d=>d!==a):i=c,a=ze(a)}return t.set(e,o),o}function us(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const s=[...r==="clippingAncestors"?Ft(t)?[]:cs(t,this._c):[].concat(r),o],a=ln(t,s[0],i);let c=a.top,l=a.right,d=a.bottom,u=a.left;for(let p=1;p<s.length;p++){const m=ln(t,s[p],i);c=be(m.top,c),l=$e(m.right,l),d=$e(m.bottom,d),u=be(m.left,u)}return{width:l-u,height:d-c,x:u,y:c}}function fs(e){const{width:t,height:r}=Fn(e);return{width:t,height:r}}function ds(e,t,r){const o=Ae(t),i=Ce(t),s=r==="fixed",a=Ke(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=_e(0);function d(){l.x=Wt(i)}if(o||!o&&!s)if((ot(t)!=="body"||Rt(i))&&(c=Mt(t)),o){const v=Ke(t,!0,s,t);l.x=v.x+t.clientLeft,l.y=v.y+t.clientTop}else i&&d();s&&!o&&i&&d();const u=i&&!o&&!s?Wn(i,c):_e(0),p=a.left+c.scrollLeft-l.x-u.x,m=a.top+c.scrollTop-l.y-u.y;return{x:p,y:m,width:a.width,height:a.height}}function gr(e){return Re(e).position==="static"}function cn(e,t){if(!Ae(e)||Re(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ce(e)===r&&(r=r.ownerDocument.body),r}function Un(e,t){const r=xe(e);if(Ft(e))return r;if(!Ae(e)){let i=ze(e);for(;i&&!Ze(i);){if(Ee(i)&&!gr(i))return i;i=ze(i)}return r}let o=cn(e,t);for(;o&&Qi(o)&&gr(o);)o=cn(o,t);return o&&Ze(o)&&gr(o)&&!Tr(o)?r:o||ts(e)||r}const ps=async function(e){const t=this.getOffsetParent||Un,r=this.getDimensions,o=await r(e.floating);return{reference:ds(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function ms(e){return Re(e).direction==="rtl"}const hs={convertOffsetParentRelativeRectToViewportRelativeRect:os,getDocumentElement:Ce,getClippingRect:us,getOffsetParent:Un,getElementRects:ps,getClientRects:is,getDimensions:fs,getScale:Qe,isElement:Ee,isRTL:ms};function Yn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gs(e,t){let r=null,o;const i=Ce(e);function s(){var c;clearTimeout(o),(c=r)==null||c.disconnect(),r=null}function a(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const d=e.getBoundingClientRect(),{left:u,top:p,width:m,height:v}=d;if(c||t(),!m||!v)return;const y=Pt(p),b=Pt(i.clientWidth-(u+m)),k=Pt(i.clientHeight-(p+v)),E=Pt(u),x={rootMargin:-y+"px "+-b+"px "+-k+"px "+-E+"px",threshold:be(0,$e(1,l))||1};let T=!0;function O(F){const $=F[0].intersectionRatio;if($!==l){if(!T)return a();$?a(!1,$):o=setTimeout(()=>{a(!1,1e-7)},1e3)}$===1&&!Yn(d,e.getBoundingClientRect())&&a(),T=!1}try{r=new IntersectionObserver(O,{...x,root:i.ownerDocument})}catch{r=new IntersectionObserver(O,x)}r.observe(e)}return a(!0),s}function vs(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,d=Dr(e),u=i||s?[...d?kt(d):[],...t?kt(t):[]]:[];u.forEach(E=>{i&&E.addEventListener("scroll",r,{passive:!0}),s&&E.addEventListener("resize",r)});const p=d&&c?gs(d,r):null;let m=-1,v=null;a&&(v=new ResizeObserver(E=>{let[x]=E;x&&x.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var T;(T=v)==null||T.observe(t)})),r()}),d&&!l&&v.observe(d),t&&v.observe(t));let y,b=l?Ke(e):null;l&&k();function k(){const E=Ke(e);b&&!Yn(b,E)&&r(),b=E,y=requestAnimationFrame(k)}return r(),()=>{var E;u.forEach(x=>{i&&x.removeEventListener("scroll",r),s&&x.removeEventListener("resize",r)}),p==null||p(),(E=v)==null||E.disconnect(),v=null,l&&cancelAnimationFrame(y)}}const ys=Xi,bs=Ki,xs=Vi,ws=qi,ks=Hi,un=Yi,Es=Ji,Rs=(e,t,r)=>{const o=new Map,i={platform:hs,...r},s={...i.platform,_c:o};return Ui(e,t,{...i,platform:s})};var Ss=typeof document<"u",_s=function(){},Nt=Ss?ae.useLayoutEffect:_s;function Lt(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,o,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!Lt(e[o],t[o]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){const s=i[o];if(!(s==="_owner"&&e.$$typeof)&&!Lt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Vn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fn(e,t){const r=Vn(e);return Math.round(t*r)/r}function vr(e){const t=g.useRef(e);return Nt(()=>{t.current=e}),t}function Cs(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:s,floating:a}={},transform:c=!0,whileElementsMounted:l,open:d}=e,[u,p]=g.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,v]=g.useState(o);Lt(m,o)||v(o);const[y,b]=g.useState(null),[k,E]=g.useState(null),x=g.useCallback(R=>{R!==$.current&&($.current=R,b(R))},[]),T=g.useCallback(R=>{R!==A.current&&(A.current=R,E(R))},[]),O=s||y,F=a||k,$=g.useRef(null),A=g.useRef(null),_=g.useRef(u),V=l!=null,K=vr(l),ne=vr(i),q=vr(d),H=g.useCallback(()=>{if(!$.current||!A.current)return;const R={placement:t,strategy:r,middleware:m};ne.current&&(R.platform=ne.current),Rs($.current,A.current,R).then(L=>{const oe={...L,isPositioned:q.current!==!1};W.current&&!Lt(_.current,oe)&&(_.current=oe,mn.flushSync(()=>{p(oe)}))})},[m,t,r,ne,q]);Nt(()=>{d===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,p(R=>({...R,isPositioned:!1})))},[d]);const W=g.useRef(!1);Nt(()=>(W.current=!0,()=>{W.current=!1}),[]),Nt(()=>{if(O&&($.current=O),F&&(A.current=F),O&&F){if(K.current)return K.current(O,F,H);H()}},[O,F,H,K,V]);const J=g.useMemo(()=>({reference:$,floating:A,setReference:x,setFloating:T}),[x,T]),z=g.useMemo(()=>({reference:O,floating:F}),[O,F]),U=g.useMemo(()=>{const R={position:r,left:0,top:0};if(!z.floating)return R;const L=fn(z.floating,u.x),oe=fn(z.floating,u.y);return c?{...R,transform:"translate("+L+"px, "+oe+"px)",...Vn(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:L,top:oe}},[r,c,z.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:H,refs:J,elements:z,floatingStyles:U}),[u,H,J,z,U])}const Os=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:i}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?un({element:o.current,padding:i}).fn(r):{}:o?un({element:o,padding:i}).fn(r):{}}}},js=(e,t)=>{const r=ys(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ps=(e,t)=>{const r=bs(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ts=(e,t)=>({fn:Es(e).fn,options:[e,t]}),Ns=(e,t)=>{const r=xs(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ds=(e,t)=>{const r=ws(e);return{name:r.name,fn:r.fn,options:[e,t]}},As=(e,t)=>{const r=ks(e);return{name:r.name,fn:r.fn,options:[e,t]}},Is=(e,t)=>{const r=Os(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Ls="Arrow",Hn=g.forwardRef((e,t)=>{const{children:r,width:o=10,height:i=5,...s}=e;return M.jsx(Fe.svg,{...s,ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:M.jsx("polygon",{points:"0,0 30,0 15,10"})})});Hn.displayName=Ls;var $s=Hn;function zs(e){const[t,r]=g.useState(void 0);return Le(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let a,c;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;r({width:a,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var Ar="Popper",[Gn,Xn]=Pn(Ar),[Fs,Kn]=Gn(Ar),Jn=e=>{const{__scopePopper:t,children:r}=e,[o,i]=g.useState(null);return M.jsx(Fs,{scope:t,anchor:o,onAnchorChange:i,children:r})};Jn.displayName=Ar;var qn="PopperAnchor",Qn=g.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...i}=e,s=Kn(qn,r),a=g.useRef(null),c=Je(t,a),l=g.useRef(null);return g.useEffect(()=>{const d=l.current;l.current=(o==null?void 0:o.current)||a.current,d!==l.current&&s.onAnchorChange(l.current)}),o?null:M.jsx(Fe.div,{...i,ref:c})});Qn.displayName=qn;var Ir="PopperContent",[Ms,Ws]=Gn(Ir),Zn=g.forwardRef((e,t)=>{var r,o,i,s,a,c;const{__scopePopper:l,side:d="bottom",sideOffset:u=0,align:p="center",alignOffset:m=0,arrowPadding:v=0,avoidCollisions:y=!0,collisionBoundary:b=[],collisionPadding:k=0,sticky:E="partial",hideWhenDetached:x=!1,updatePositionStrategy:T="optimized",onPlaced:O,...F}=e,$=Kn(Ir,l),[A,_]=g.useState(null),V=Je(t,je=>_(je)),[K,ne]=g.useState(null),q=zs(K),H=(q==null?void 0:q.width)??0,W=(q==null?void 0:q.height)??0,J=d+(p!=="center"?"-"+p:""),z=typeof k=="number"?k:{top:0,right:0,bottom:0,left:0,...k},U=Array.isArray(b)?b:[b],R=U.length>0,L={padding:z,boundary:U.filter(Us),altBoundary:R},{refs:oe,floatingStyles:ce,placement:ue,isPositioned:ee,middlewareData:X}=Cs({strategy:"fixed",placement:J,whileElementsMounted:(...je)=>vs(...je,{animationFrame:T==="always"}),elements:{reference:$.anchor},middleware:[js({mainAxis:u+W,alignmentAxis:m}),y&&Ps({mainAxis:!0,crossAxis:!1,limiter:E==="partial"?Ts():void 0,...L}),y&&Ns({...L}),Ds({...L,apply:({elements:je,rects:it,availableWidth:ke,availableHeight:ge})=>{const{width:Me,height:We}=it.reference,me=je.floating.style;me.setProperty("--radix-popper-available-width",`${ke}px`),me.setProperty("--radix-popper-available-height",`${ge}px`),me.setProperty("--radix-popper-anchor-width",`${Me}px`),me.setProperty("--radix-popper-anchor-height",`${We}px`)}}),K&&Is({element:K,padding:v}),Ys({arrowWidth:H,arrowHeight:W}),x&&As({strategy:"referenceHidden",...L})]}),[he,fe]=ro(ue),Z=$t(O);Le(()=>{ee&&(Z==null||Z())},[ee,Z]);const de=(r=X.arrow)==null?void 0:r.x,pe=(o=X.arrow)==null?void 0:o.y,se=((i=X.arrow)==null?void 0:i.centerOffset)!==0,[Oe,we]=g.useState();return Le(()=>{A&&we(window.getComputedStyle(A).zIndex)},[A]),M.jsx("div",{ref:oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ce,transform:ee?ce.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Oe,"--radix-popper-transform-origin":[(s=X.transformOrigin)==null?void 0:s.x,(a=X.transformOrigin)==null?void 0:a.y].join(" "),...((c=X.hide)==null?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:M.jsx(Ms,{scope:l,placedSide:he,onArrowChange:ne,arrowX:de,arrowY:pe,shouldHideArrow:se,children:M.jsx(Fe.div,{"data-side":he,"data-align":fe,...F,ref:V,style:{...F.style,animation:ee?void 0:"none"}})})})});Zn.displayName=Ir;var eo="PopperArrow",Bs={top:"bottom",right:"left",bottom:"top",left:"right"},to=g.forwardRef(function(e,t){const{__scopePopper:r,...o}=e,i=Ws(eo,r),s=Bs[i.placedSide];return M.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:M.jsx($s,{...o,ref:t,style:{...o.style,display:"block"}})})});to.displayName=eo;function Us(e){return e!==null}var Ys=e=>({name:"transformOrigin",options:e,fn(t){var r,o,i;const{placement:s,rects:a,middlewareData:c}=t,l=((r=c.arrow)==null?void 0:r.centerOffset)!==0,d=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[p,m]=ro(s),v={start:"0%",center:"50%",end:"100%"}[m],y=(((o=c.arrow)==null?void 0:o.x)??0)+d/2,b=(((i=c.arrow)==null?void 0:i.y)??0)+u/2;let k="",E="";return p==="bottom"?(k=l?v:`${y}px`,E=`${-u}px`):p==="top"?(k=l?v:`${y}px`,E=`${a.floating.height+u}px`):p==="right"?(k=`${-u}px`,E=l?v:`${b}px`):p==="left"&&(k=`${a.floating.width+u}px`,E=l?v:`${b}px`),{data:{x:k,y:E}}}});function ro(e){const[t,r="center"]=e.split("-");return[t,r]}var Vs=Jn,Hs=Qn,Gs=Zn,Xs=to,Ks="Portal",no=g.forwardRef((e,t)=>{var r;const{container:o,...i}=e,[s,a]=g.useState(!1);Le(()=>a(!0),[]);const c=o||s&&((r=globalThis==null?void 0:globalThis.document)==null?void 0:r.body);return c?dn.createPortal(M.jsx(Fe.div,{...i,ref:t}),c):null});no.displayName=Ks;function Js(e,t){return g.useReducer((r,o)=>t[r][o]??r,e)}var Lr=e=>{const{present:t,children:r}=e,o=qs(t),i=typeof r=="function"?r({present:o.isPresent}):g.Children.only(r),s=Je(o.ref,Qs(i));return typeof r=="function"||o.isPresent?g.cloneElement(i,{ref:s}):null};Lr.displayName="Presence";function qs(e){const[t,r]=g.useState(),o=g.useRef(null),i=g.useRef(e),s=g.useRef("none"),a=e?"mounted":"unmounted",[c,l]=Js(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const d=Tt(o.current);s.current=c==="mounted"?d:"none"},[c]),Le(()=>{const d=o.current,u=i.current;if(u!==e){const p=s.current,m=Tt(d);e?l("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Le(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,p=v=>{const y=Tt(o.current).includes(CSS.escape(v.animationName));if(v.target===t&&y&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",d=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=v=>{v.target===t&&(s.current=Tt(o.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:g.useCallback(d=>{o.current=d?getComputedStyle(d):null,r(d)},[])}}function Tt(e){return(e==null?void 0:e.animationName)||"none"}function Qs(e){var t,r;let o=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,i=o&&"isReactWarning"in o&&o.isReactWarning;return i?e.ref:(o=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,i=o&&"isReactWarning"in o&&o.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var Zs=g[" useInsertionEffect ".trim().toString()]||Le;function ea({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){const[i,s,a]=ta({defaultProp:t,onChange:r}),c=e!==void 0,l=c?e:i;{const u=g.useRef(e!==void 0);g.useEffect(()=>{const p=u.current;p!==c&&console.warn(`${o} is changing from ${p?"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.`),u.current=c},[c,o])}const d=g.useCallback(u=>{var p;if(c){const m=ra(u)?u(e):u;m!==e&&((p=a.current)==null||p.call(a,m))}else s(u)},[c,e,s,a]);return[l,d]}function ta({defaultProp:e,onChange:t}){const[r,o]=g.useState(e),i=g.useRef(r),s=g.useRef(t);return Zs(()=>{s.current=t},[t]),g.useEffect(()=>{var a;i.current!==r&&((a=s.current)==null||a.call(s,r),i.current=r)},[r,i]),[r,o,s]}function ra(e){return typeof e=="function"}var na=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"}),oa="VisuallyHidden",oo=g.forwardRef((e,t)=>M.jsx(Fe.span,{...e,ref:t,style:{...na,...e.style}}));oo.displayName=oa;var ia=oo,[Bt]=Pn("Tooltip",[Xn]),Ut=Xn(),io="TooltipProvider",sa=700,Sr="tooltip.open",[aa,$r]=Bt(io),so=e=>{const{__scopeTooltip:t,delayDuration:r=sa,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:s}=e,a=g.useRef(!0),c=g.useRef(!1),l=g.useRef(0);return g.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),M.jsx(aa,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:g.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:c,onPointerInTransitChange:g.useCallback(d=>{c.current=d},[]),disableHoverableContent:i,children:s})};so.displayName=io;var Et="Tooltip",[la,St]=Bt(Et),ao=e=>{const{__scopeTooltip:t,children:r,open:o,defaultOpen:i,onOpenChange:s,disableHoverableContent:a,delayDuration:c}=e,l=$r(Et,e.__scopeTooltip),d=Ut(t),[u,p]=g.useState(null),m=Ti(),v=g.useRef(0),y=a??l.disableHoverableContent,b=c??l.delayDuration,k=g.useRef(!1),[E,x]=ea({prop:o,defaultProp:i??!1,onChange:A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(Sr))):l.onClose(),s==null||s(A)},caller:Et}),T=g.useMemo(()=>E?k.current?"delayed-open":"instant-open":"closed",[E]),O=g.useCallback(()=>{window.clearTimeout(v.current),v.current=0,k.current=!1,x(!0)},[x]),F=g.useCallback(()=>{window.clearTimeout(v.current),v.current=0,x(!1)},[x]),$=g.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{k.current=!0,x(!0),v.current=0},b)},[b,x]);return g.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),M.jsx(Vs,{...d,children:M.jsx(la,{scope:t,contentId:m,open:E,stateAttribute:T,trigger:u,onTriggerChange:p,onTriggerEnter:g.useCallback(()=>{l.isOpenDelayedRef.current?$():O()},[l.isOpenDelayedRef,$,O]),onTriggerLeave:g.useCallback(()=>{y?F():(window.clearTimeout(v.current),v.current=0)},[F,y]),onOpen:O,onClose:F,disableHoverableContent:y,children:r})})};ao.displayName=Et;var _r="TooltipTrigger",lo=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,i=St(_r,r),s=$r(_r,r),a=Ut(r),c=g.useRef(null),l=Je(t,c,i.onTriggerChange),d=g.useRef(!1),u=g.useRef(!1),p=g.useCallback(()=>d.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),M.jsx(Hs,{asChild:!0,...a,children:M.jsx(Fe.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:l,onPointerMove:Te(e.onPointerMove,m=>{m.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:Te(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:Te(e.onPointerDown,()=>{i.open&&i.onClose(),d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Te(e.onFocus,()=>{d.current||i.onOpen()}),onBlur:Te(e.onBlur,i.onClose),onClick:Te(e.onClick,i.onClose)})})});lo.displayName=_r;var zr="TooltipPortal",[ca,ua]=Bt(zr,{forceMount:void 0}),co=e=>{const{__scopeTooltip:t,forceMount:r,children:o,container:i}=e,s=St(zr,t);return M.jsx(ca,{scope:t,forceMount:r,children:M.jsx(Lr,{present:r||s.open,children:M.jsx(no,{asChild:!0,container:i,children:o})})})};co.displayName=zr;var et="TooltipContent",uo=g.forwardRef((e,t)=>{const r=ua(et,e.__scopeTooltip),{forceMount:o=r.forceMount,side:i="top",...s}=e,a=St(et,e.__scopeTooltip);return M.jsx(Lr,{present:o||a.open,children:a.disableHoverableContent?M.jsx(fo,{side:i,...s,ref:t}):M.jsx(fa,{side:i,...s,ref:t})})}),fa=g.forwardRef((e,t)=>{const r=St(et,e.__scopeTooltip),o=$r(et,e.__scopeTooltip),i=g.useRef(null),s=Je(t,i),[a,c]=g.useState(null),{trigger:l,onClose:d}=r,u=i.current,{onPointerInTransitChange:p}=o,m=g.useCallback(()=>{c(null),p(!1)},[p]),v=g.useCallback((y,b)=>{const k=y.currentTarget,E={x:y.clientX,y:y.clientY},x=ha(E,k.getBoundingClientRect()),T=ga(E,x),O=va(b.getBoundingClientRect()),F=ba([...T,...O]);c(F),p(!0)},[p]);return g.useEffect(()=>()=>m(),[m]),g.useEffect(()=>{if(l&&u){const y=k=>v(k,u),b=k=>v(k,l);return l.addEventListener("pointerleave",y),u.addEventListener("pointerleave",b),()=>{l.removeEventListener("pointerleave",y),u.removeEventListener("pointerleave",b)}}},[l,u,v,m]),g.useEffect(()=>{if(a){const y=b=>{const k=b.target,E={x:b.clientX,y:b.clientY},x=(l==null?void 0:l.contains(k))||(u==null?void 0:u.contains(k)),T=!ya(E,a);x?m():T&&(m(),d())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,u,a,d,m]),M.jsx(fo,{...e,ref:s})}),[da,pa]=Bt(Et,{isInside:!1}),ma=hi("TooltipContent"),fo=g.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:a,...c}=e,l=St(et,r),d=Ut(r),{onClose:u}=l;return g.useEffect(()=>(document.addEventListener(Sr,u),()=>document.removeEventListener(Sr,u)),[u]),g.useEffect(()=>{if(l.trigger){const p=m=>{const v=m.target;v!=null&&v.contains(l.trigger)&&u()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,u]),M.jsx(Dn,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:u,children:M.jsxs(Gs,{"data-state":l.stateAttribute,...d,...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:[M.jsx(ma,{children:o}),M.jsx(da,{scope:r,isInside:!0,children:M.jsx(ia,{id:l.contentId,role:"tooltip",children:i||o})})]})})});uo.displayName=et;var po="TooltipArrow",mo=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,i=Ut(r);return pa(po,r).isInside?null:M.jsx(Xs,{...i,...o,ref:t})});mo.displayName=po;function ha(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,o,i,s)){case s:return"left";case i:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function ga(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}function va(e){const{top:t,right:r,bottom:o,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:o},{x:i,y:o}]}function ya(e,t){const{x:r,y:o}=e;let i=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const c=t[s],l=t[a],d=c.x,u=c.y,p=l.x,m=l.y;u>o!=m>o&&r<(p-d)*(o-u)/(m-u)+d&&(i=!i)}return i}function ba(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),xa(t)}function xa(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const i=e[o];for(;t.length>=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(i.y-a.y)>=(s.y-a.y)*(i.x-a.x))t.pop();else break}t.push(i)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;r.length>=2;){const s=r[r.length-1],a=r[r.length-2];if((s.x-a.x)*(i.y-a.y)>=(s.y-a.y)*(i.x-a.x))r.pop();else break}r.push(i)}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 wa=so,ka=ao,Ea=lo,Ra=co,ho=uo,Sa=mo;const _a=wa,Ca=ka,Oa=Ea,go=g.forwardRef(({className:e,sideOffset:t=6,...r},o)=>M.jsx(Ra,{children:M.jsxs(ho,{ref:o,sideOffset:t,className:`z-50 overflow-hidden rounded-lg border border-slate-950 bg-slate-950 px-3 py-1 text-xs text-white ${e??""}`,...r,children:[r.children,M.jsx(Sa,{className:"fill-slate-950"})]})}));go.displayName=ho.displayName;const ja=Po("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-blue-500 text-white",save:"text-white",delete:"text-white",update:"text-white",cancel:"text-[#414651] border border-[#D5D7DA]",outline:"text-[#003B71]"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3 text-xs",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",xs:"h-5 px-2 text-xs rounded"}},defaultVariants:{variant:"default",size:"default"}}),vo=ae.forwardRef(({className:e,variant:t,size:r,loading:o=!1,disabled:i,children:s,leftIcon:a,datatestid:c,rightIcon:l,style:d,iconButton:u=!1,tooltipLabel:p,saveColor:m="#003B71",deleteColor:v="#FF6070",updateColor:y="#003B71",cancelColor:b="#ffffff",outlineColor:k="#003B71",...E},x)=>{const T={...t&&{save:{backgroundColor:m},delete:{backgroundColor:v},update:{backgroundColor:y},cancel:{backgroundColor:b},outline:{backgroundColor:k}}[t],...d},O=M.jsxs("button",{ref:x,"data-testid":c,className:fi(ja({variant:t,size:r}),e),style:T,disabled:i||o,...E,children:[o&&M.jsx("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),!o&&a&&a,s,!o&&l&&l]});return u?M.jsx(_a,{children:M.jsxs(Ca,{children:[M.jsx(Oa,{asChild:!0,children:O}),p&&M.jsx(go,{children:p})]})}):O});vo.displayName="Button";const Pa=({config:e})=>{const{navItems:t,user:r,createButtonRoles:o,createButtonLabel:i="Create",createButtonPath:s,brandName:a="Amphenol",brandSubtitle:c="COMMUNICATION SOLUTIONS",logo:l,helpLabel:d="Help Center",helpIcon:u,onSignOut:p,onNavigate:m,className:v=""}=e,{isExpanded:y,toggleSidebar:b,openSubmenu:k,toggleSubmenu:E}=gn(),[x,T]=ae.useState(window.location.pathname),[O,F]=ae.useState(!1),[$,A]=ae.useState(!1),[_,V]=ae.useState(null);ae.useEffect(()=>{const z=()=>T(window.location.pathname);return window.addEventListener("popstate",z),()=>window.removeEventListener("popstate",z)},[]);const K=(z,U)=>{z.preventDefault(),U&&(m?m(U):(window.history.pushState({},"",U),window.dispatchEvent(new PopStateEvent("popstate"))))},ne=()=>r.email?r.email.split("@")[0]:"User",q=()=>r.email?r.email.charAt(0).toUpperCase():"U",H=()=>{p?p():window.location.href="/c/portal/logout"},W=!o||o.includes(r.role),J=t.reduce((z,U)=>{const R=U.section||"GENERAL";return z[R]||(z[R]=[]),z[R].push(U),z},{});return D.jsxs("aside",{style:{backgroundColor:"#0f172a"},className:`rdr-sidebar ${y?"expanded":"collapsed"} ${v}`,children:[D.jsxs("div",{className:"sidebar-header ",style:{paddingTop:"10px"},children:[D.jsxs("div",{className:"logo-section",onClick:b,children:[D.jsx("span",{className:"logo-icon ",style:{color:"var(--sidebar-accent)",marginTop:"15px"},children:l??D.jsx(Ro,{})}),y&&D.jsxs("div",{className:"brand-text",children:[D.jsx("h2",{children:a}),c&&D.jsx("span",{children:c})]})]}),y&&D.jsx(vo,{className:"menu-toggle",onClick:b,"aria-label":"Collapse sidebar",children:D.jsx(ko,{})})]}),W&&s&&D.jsx("div",{className:"sidebar-actions",children:D.jsxs("button",{className:"sidebar-create-btn",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",width:y?"100%":"44px",height:"44px",padding:y?"0 16px":"0",borderRadius:"10px",border:"none",outline:"none",boxShadow:"none",cursor:"pointer",fontSize:"14px",fontWeight:600,color:"#fff",background:$?"#149B6E":"#18B885",transition:"background-color 0.2s ease"},onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),onClick:z=>K(z,s),children:[D.jsx(So,{}),y&&D.jsx("span",{children:i})]})}),D.jsx("div",{className:"sidebar-nav",children:Object.entries(J).map(([z,U])=>{const R=U.filter(L=>!L.roles||L.roles.includes(r.role));return R.length?D.jsxs("div",{className:"nav-section",style:{listStyleType:"none"},children:[y&&D.jsx("h4",{className:"section-title",children:z}),D.jsx("ul",{className:"nav-items",children:R.map(L=>{var ue,ee;const oe=(ue=L.subItems)==null?void 0:ue.some(X=>X.path&&x.includes(X.path)),ce=L.path?x===L.path:!1;return D.jsx("li",{children:(ee=L.subItems)!=null&&ee.length?D.jsxs(D.Fragment,{children:[D.jsxs("div",{className:`nav-item ${k===L.name||oe?"active":""}`,"data-label":L.name,onClick:()=>E(L.name),onMouseEnter:()=>V(L.name),onMouseLeave:()=>V(null),style:k===L.name||oe||_===L.name?{backgroundColor:"#10B981",border:"1px solid #10B981",borderRadius:"8px"}:{},children:[D.jsx("span",{className:"nav-icon",children:L.icon}),y&&D.jsxs(D.Fragment,{children:[D.jsx("span",{className:"nav-text",children:L.name}),D.jsx("span",{className:"submenu-arrow",children:k===L.name?"−":"+"})]})]}),y&&k===L.name&&D.jsx("ul",{className:"submenu",children:L.subItems.map(X=>{const he=X.path?x===X.path:!1;return D.jsx("li",{children:D.jsxs("a",{href:X.path||"/",onClick:fe=>K(fe,X.path),className:`submenu-item ${he?"active-sub":""}`,children:[X.icon&&D.jsx("span",{className:"submenu-icon",children:X.icon}),D.jsx("span",{children:X.name})]})},X.name)})})]}):D.jsxs("a",{href:L.path||"/","data-label":L.name,onClick:X=>K(X,L.path),style:ce||_===L.name?{backgroundColor:"#10B981",border:"none",borderRadius:"8px",outline:"1px solid #10B981",outlineOffset:"0px"}:{border:"none"},onMouseEnter:()=>V(L.name),onMouseLeave:()=>V(null),className:`nav-item ${ce?"active":""}`,children:[D.jsx("span",{className:"nav-icon",children:L.icon}),y&&D.jsx("span",{className:"nav-text",children:L.name})]})},L.name)})})]},z):null})}),D.jsxs("div",{className:"sidebar-footer",children:[D.jsxs("div",{className:"footer-link","data-label":d,children:[D.jsx("span",{children:u??D.jsx(Eo,{})}),y&&D.jsx("span",{children:d})]}),D.jsxs("div",{className:"user-profile-wrapper",children:[D.jsxs("div",{className:"user-profile",onClick:()=>F(z=>!z),children:[D.jsx("div",{className:"avatar",children:q()}),y&&D.jsxs("div",{className:"user-info",children:[D.jsx("div",{className:"user-name",children:ne()}),D.jsx("div",{className:"user-role",children:r.roleName})]})]}),O&&D.jsxs("div",{className:"profile-popup",children:[D.jsx("button",{className:"popup-close",onClick:()=>F(!1),"aria-label":"Close",children:"✕"}),D.jsxs("div",{className:"popup-header",children:[D.jsx("div",{className:"popup-avatar",children:q()}),D.jsxs("div",{className:"popup-user-details",children:[D.jsx("div",{className:"popup-name",children:ne()}),D.jsx("div",{className:"popup-role",children:r.roleName}),D.jsx("div",{className:"popup-email",children:r.email})]})]}),D.jsx("div",{className:"popup-divider"}),D.jsxs("button",{className:"signout-btn",onClick:H,children:[D.jsx(_o,{}),D.jsx("span",{children:"Sign Out"})]})]})]})]})]})};exports.SideNavbar=Pa;exports.SidebarProvider=wo;exports.useSidebar=gn;
30
+ <%s key={someKey} {...props} />`,Ee,W,fr,W),Ae[W+Ee]=!0}}return e===_?or(f):ir(f),f}}function sr(e,r,n){return Le(e,r,n,!0)}function lr(e,r,n){return Le(e,r,n,!1)}var ur=lr,cr=sr;ee.Fragment=_,ee.jsx=ur,ee.jsxs=cr})()),ee}var $e;function hr(){return $e||($e=1,process.env.NODE_ENV==="production"?ce.exports=pr():ce.exports=vr()),ce.exports}var t=hr();const We=S.createContext(null),mr=({children:w})=>{const[P,h]=S.useState(!0),[_,k]=S.useState(null),N=()=>{h(m=>!m),k(null)},I=m=>{k(d=>d===m?null:m)};return t.jsx(We.Provider,{value:{isExpanded:P,toggleSidebar:N,openSubmenu:_,toggleSubmenu:I},children:w})},Ye=()=>{const w=S.useContext(We);if(!w)throw new Error("useSidebar must be used inside <SidebarProvider>");return w},gr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.3334%207C20.3334%207.55228%2020.0072%208%2019.6048%208L4.06194%208C3.65957%208%203.33337%207.55228%203.33337%207C3.33337%206.44772%203.65957%206%204.06194%206L19.6048%206C20.0072%206%2020.3334%206.44772%2020.3334%207Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.3334%2012C20.3334%2012.5523%2020.0072%2013%2019.6048%2013L4.06194%2013C3.65957%2013%203.33337%2012.5523%203.33337%2012C3.33337%2011.4477%203.65957%2011%204.06194%2011L19.6048%2011C20.0072%2011%2020.3334%2011.4477%2020.3334%2012Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.3334%2017C20.3334%2017.5523%2020.0072%2018%2019.6048%2018L4.06194%2018C3.65957%2018%203.33337%2017.5523%203.33337%2017C3.33337%2016.4477%203.65957%2016%204.06194%2016L19.6048%2016C20.0072%2016%2020.3334%2016.4477%2020.3334%2017Z'%20fill='white'%20/%3e%3c/svg%3e",br="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20strokeWidth='2'%20strokeLinecap='round'%20strokeLinejoin='round'%20%3e%3ccircle%20cx='12'%20cy='12'%20r='10'%20/%3e%3cpath%20d='M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203'%20/%3e%3cline%20x1='12'%20y1='17'%20x2='12.01'%20y2='17'%20/%3e%3c/svg%3e",xr="data:image/svg+xml,",yr="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20strokeWidth='2.5'%20strokeLinecap='round'%20strokeLinejoin='round'%20%3e%3cline%20x1='12'%20y1='5'%20x2='12'%20y2='19'%20/%3e%3cline%20x1='5'%20y1='12'%20x2='19'%20y2='12'%20/%3e%3c/svg%3e",Er="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20strokeWidth='2'%20strokeLinecap='round'%20strokeLinejoin='round'%20%3e%3cpath%20d='M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4'%20/%3e%3cpolyline%20points='16%2017%2021%2012%2016%207'%20/%3e%3cline%20x1='21'%20y1='12'%20x2='9'%20y2='12'%20/%3e%3c/svg%3e",jr=({config:w})=>{const{navItems:P,user:h,createButtonRoles:_,createButtonLabel:k="Create",createButtonPath:N,brandName:I="Amphenol",brandSubtitle:m="COMMUNICATION SOLUTIONS",logo:d,helpLabel:D="Help Center",helpIcon:g,onSignOut:j,onNavigate:O,className:Y=""}=w,{isExpanded:b,toggleSidebar:re,openSubmenu:B,toggleSubmenu:F}=Ye(),[p,fe]=S.useState(window.location.pathname),[de,ne]=S.useState(!1),[pe,te]=S.useState(!1),[ae,M]=S.useState(null);S.useEffect(()=>{const v=()=>fe(window.location.pathname);return window.addEventListener("popstate",v),()=>window.removeEventListener("popstate",v)},[]);const q=(v,C)=>{v.preventDefault(),C&&(O?O(C):(window.history.pushState({},"",C),window.dispatchEvent(new PopStateEvent("popstate"))))},ie=()=>h.email?h.email.split("@")[0]:"User",J=()=>h.email?h.email.charAt(0).toUpperCase():"U",T=()=>{j?j():window.location.href="/c/portal/logout"},A=!_||_.includes(h.role),$=P.reduce((v,C)=>{const L=C.section||"GENERAL";return v[L]||(v[L]=[]),v[L].push(C),v},{});return t.jsxs("aside",{style:{backgroundColor:"#0f172a"},className:`rdr-sidebar ${b?"expanded":"collapsed"} ${Y}`,children:[t.jsxs("div",{className:"sidebar-header ",style:{paddingTop:"10px"},children:[t.jsxs("div",{className:"logo-section",onClick:re,children:[t.jsx("span",{className:"logo-icon ",style:{color:"var(--sidebar-accent)",marginTop:"15px"},children:d??t.jsx(xr,{})}),b&&t.jsxs("div",{className:"brand-text",children:[t.jsx("h2",{children:I}),m&&t.jsx("span",{children:m})]})]}),b&&t.jsx("button",{className:"menu-toggle",onClick:re,"aria-label":"Collapse sidebar",children:t.jsx(gr,{})})]}),A&&N&&t.jsx("div",{className:"sidebar-actions",children:t.jsxs("button",{className:"sidebar-create-btn",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",width:b?"100%":"44px",height:"44px",padding:b?"0 16px":"0",borderRadius:"10px",border:"none",outline:"none",boxShadow:"none",cursor:"pointer",fontSize:"14px",fontWeight:600,color:"#fff",background:pe?"#149B6E":"#18B885",transition:"background-color 0.2s ease"},onMouseEnter:()=>te(!0),onMouseLeave:()=>te(!1),onClick:v=>q(v,N),children:[t.jsx(yr,{}),b&&t.jsx("span",{children:k})]})}),t.jsx("div",{className:"sidebar-nav",children:Object.entries($).map(([v,C])=>{const L=C.filter(l=>!l.roles||l.roles.includes(h.role));return L.length?t.jsxs("div",{className:"nav-section",style:{listStyleType:"none"},children:[b&&t.jsx("h4",{className:"section-title",children:v}),t.jsx("ul",{className:"nav-items",children:L.map(l=>{var G,z;const H=(G=l.subItems)==null?void 0:G.some(x=>x.path&&p.includes(x.path)),K=l.path?p===l.path:!1;return t.jsx("li",{children:(z=l.subItems)!=null&&z.length?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:`nav-item ${B===l.name||H?"active":""}`,"data-label":l.name,onClick:()=>F(l.name),onMouseEnter:()=>M(l.name),onMouseLeave:()=>M(null),style:B===l.name||H||ae===l.name?{backgroundColor:"#10B981",border:"1px solid #10B981",borderRadius:"8px"}:{},children:[t.jsx("span",{className:"nav-icon",children:l.icon}),b&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"nav-text",children:l.name}),t.jsx("span",{className:"submenu-arrow",children:B===l.name?"−":"+"})]})]}),b&&B===l.name&&t.jsx("ul",{className:"submenu",children:l.subItems.map(x=>{const ve=x.path?p===x.path:!1;return t.jsx("li",{children:t.jsxs("a",{href:x.path||"/",onClick:X=>q(X,x.path),className:`submenu-item ${ve?"active-sub":""}`,children:[x.icon&&t.jsx("span",{className:"submenu-icon",children:x.icon}),t.jsx("span",{children:x.name})]})},x.name)})})]}):t.jsxs("a",{href:l.path||"/","data-label":l.name,onClick:x=>q(x,l.path),style:K||ae===l.name?{backgroundColor:"#10B981",border:"none",borderRadius:"8px",outline:"1px solid #10B981",outlineOffset:"0px"}:{border:"none"},onMouseEnter:()=>M(l.name),onMouseLeave:()=>M(null),className:`nav-item ${K?"active":""}`,children:[t.jsx("span",{className:"nav-icon",children:l.icon}),b&&t.jsx("span",{className:"nav-text",children:l.name})]})},l.name)})})]},v):null})}),t.jsxs("div",{className:"sidebar-footer",children:[t.jsxs("div",{className:"footer-link","data-label":D,children:[t.jsx("span",{children:g??t.jsx(br,{})}),b&&t.jsx("span",{children:D})]}),t.jsxs("div",{className:"user-profile-wrapper",children:[t.jsxs("div",{className:"user-profile",onClick:()=>ne(v=>!v),children:[t.jsx("div",{className:"avatar",children:J()}),b&&t.jsxs("div",{className:"user-info",children:[t.jsx("div",{className:"user-name",children:ie()}),t.jsx("div",{className:"user-role",children:h.roleName})]})]}),de&&t.jsxs("div",{className:"profile-popup",children:[t.jsx("button",{className:"popup-close",onClick:()=>ne(!1),"aria-label":"Close",children:"✕"}),t.jsxs("div",{className:"popup-header",children:[t.jsx("div",{className:"popup-avatar",children:J()}),t.jsxs("div",{className:"popup-user-details",children:[t.jsx("div",{className:"popup-name",children:ie()}),t.jsx("div",{className:"popup-role",children:h.roleName}),t.jsx("div",{className:"popup-email",children:h.email})]})]}),t.jsx("div",{className:"popup-divider"}),t.jsxs("button",{className:"signout-btn",onClick:T,children:[t.jsx(Er,{}),t.jsx("span",{children:"Sign Out"})]})]})]})]})]})};exports.SideNavbar=jr;exports.SidebarProvider=mr;exports.useSidebar=Ye;