@hari_digitus/sms-ui-library 9.0.6 → 9.0.8

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 O=require("react");function vr(u){const S=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(u){for(const d in u)if(d!=="default"){const R=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(S,d,R.get?R:{enumerable:!0,get:()=>u[d]})}}return S.default=u,Object.freeze(S)}const g=vr(O);var fe={exports:{}},ee={};/**
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 m=pn(ae),mn=pn(dn);var _t={exports:{}},yt={};/**
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 Me;function hr(){if(Me)return ee;Me=1;var u=O,S=Symbol.for("react.element"),d=Symbol.for("react.fragment"),R=Object.prototype.hasOwnProperty,N=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function D(b,v,A){var x,C={},P=null,Y=null;A!==void 0&&(P=""+A),v.key!==void 0&&(P=""+v.key),v.ref!==void 0&&(Y=v.ref);for(x in v)R.call(v,x)&&!I.hasOwnProperty(x)&&(C[x]=v[x]);if(b&&b.defaultProps)for(x in v=b.defaultProps,v)C[x]===void 0&&(C[x]=v[x]);return{$$typeof:S,type:b,key:P,ref:Y,props:C,_owner:N.current}}return ee.Fragment=d,ee.jsx=D,ee.jsxs=D,ee}var re={};/**
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={},h=null,v=null;d!==void 0&&(h=""+d),l.key!==void 0&&(h=""+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:h,ref:v,props:p,_owner:i.current}}return yt.Fragment=r,yt.jsx=a,yt.jsxs=a,yt}var bt={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,17 +14,46 @@
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 $e;function mr(){return $e||($e=1,process.env.NODE_ENV!=="production"&&(function(){var u=O,S=Symbol.for("react.element"),d=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),b=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),E=Symbol.iterator,te="@@iterator";function U(e){if(e===null||typeof e!="object")return null;var r=E&&e[E]||e[te];return typeof r=="function"?r:null}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function h(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];de("error",e,t)}}function de(e,r,t){{var a=M.ReactDebugCurrentFrame,s=a.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var pe=!1,ne=!1,ve=!1,ae=!1,ie=!1,$;$=Symbol.for("react.module.reference");function q(e){return!!(typeof e=="string"||typeof e=="function"||e===R||e===I||ie||e===N||e===A||e===x||ae||e===Y||pe||ne||ve||typeof e=="object"&&e!==null&&(e.$$typeof===P||e.$$typeof===C||e.$$typeof===D||e.$$typeof===b||e.$$typeof===v||e.$$typeof===$||e.getModuleId!==void 0))}function oe(e,r,t){var a=e.displayName;if(a)return a;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function H(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&h("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 R:return"Fragment";case d:return"Portal";case I:return"Profiler";case N:return"StrictMode";case A:return"Suspense";case x:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case b:var r=e;return H(r)+".Consumer";case D:var t=e;return H(t._context)+".Provider";case v:return oe(e,e.render,"ForwardRef");case C:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case P:{var s=e,c=s._payload,o=s._init;try{return k(o(c))}catch{return null}}}return null}var L=Object.assign,W=0,m,T,F,l,K,z,G;function X(){}X.__reactDisabledLog=!0;function y(){{if(W===0){m=console.log,T=console.info,F=console.warn,l=console.error,K=console.group,z=console.groupCollapsed,G=console.groupEnd;var e={configurable:!0,enumerable:!0,value:X,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function he(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:m}),info:L({},e,{value:T}),warn:L({},e,{value:F}),error:L({},e,{value:l}),group:L({},e,{value:K}),groupCollapsed:L({},e,{value:z}),groupEnd:L({},e,{value:G})})}W<0&&h("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=M.ReactCurrentDispatcher,me;function se(e,r,t){{if(me===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);me=a&&a[1]||""}return`
18
- `+me+e}}var ge=!1,le;{var Ue=typeof WeakMap=="function"?WeakMap:Map;le=new Ue}function Re(e,r){if(!e||ge)return"";{var t=le.get(e);if(t!==void 0)return t}var a;ge=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=Z.current,Z.current=null,y();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(_){a=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){a=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){a=_}e()}}catch(_){if(_&&a&&typeof _.stack=="string"){for(var i=_.stack.split(`
19
- `),j=a.stack.split(`
20
- `),f=i.length-1,p=j.length-1;f>=1&&p>=0&&i[f]!==j[p];)p--;for(;f>=1&&p>=0;f--,p--)if(i[f]!==j[p]){if(f!==1||p!==1)do if(f--,p--,p<0||i[f]!==j[p]){var w=`
21
- `+i[f].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),typeof e=="function"&&le.set(e,w),w}while(f>=1&&p>=0);break}}}finally{ge=!1,Z.current=c,he(),Error.prepareStackTrace=s}var J=e?e.displayName||e.name:"",B=J?se(J):"";return typeof e=="function"&&le.set(e,B),B}function Ve(e,r,t){return Re(e,!1)}function Je(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function ce(e,r,t){if(e==null)return"";if(typeof e=="function")return Re(e,Je(e));if(typeof e=="string")return se(e);switch(e){case A:return se("Suspense");case x:return se("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case v:return Ve(e.render);case C:return ce(e.type,r,t);case P:{var a=e,s=a._payload,c=a._init;try{return ce(c(s),r,t)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,_e={},Se=M.ReactDebugCurrentFrame;function ue(e){if(e){var r=e._owner,t=ce(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}function qe(e,r,t,a,s){{var c=Function.call.bind(Q);for(var o in e)if(c(e,o)){var i=void 0;try{if(typeof e[o]!="function"){var j=Error((a||"React class")+": "+t+" 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 j.name="Invariant Violation",j}i=e[o](r,o,a,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(f){i=f}i&&!(i instanceof Error)&&(ue(s),h("%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",t,o,typeof i),ue(null)),i instanceof Error&&!(i.message in _e)&&(_e[i.message]=!0,ue(s),h("Failed %s type: %s",t,i.message),ue(null))}}}var He=Array.isArray;function be(e){return He(e)}function Ke(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ze(e){try{return Ce(e),!1}catch{return!0}}function Ce(e){return""+e}function we(e){if(ze(e))return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ke(e)),Ce(e)}var Oe=M.ReactCurrentOwner,Ge={key:!0,ref:!0,__self:!0,__source:!0},Te,Pe;function Xe(e){if(Q.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(Q.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Oe.current}function er(e,r){{var t=function(){Te||(Te=!0,h("%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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Pe||(Pe=!0,h("%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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,a,s,c,o){var i={$$typeof:S,type:e,key:r,ref:t,props:o,_owner:c};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,t,a,s){{var c,o={},i=null,j=null;t!==void 0&&(we(t),i=""+t),Ze(r)&&(we(r.key),i=""+r.key),Xe(r)&&(j=r.ref,Qe(r,s));for(c in r)Q.call(r,c)&&!Ge.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var f=e.defaultProps;for(c in f)o[c]===void 0&&(o[c]=f[c])}if(i||j){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&er(o,p),j&&rr(o,p)}return tr(e,i,j,s,a,Oe.current,o)}}var xe=M.ReactCurrentOwner,ke=M.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=ce(e.type,e._source,r?r.type:null);ke.setExtraStackFrame(t)}else ke.setExtraStackFrame(null)}var Ee;Ee=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===S}function Ne(){{if(xe.current){var e=k(xe.current.type);if(e)return`
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"),h=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,g=new Array(f>1?f-1:0),w=1;w<f;w++)g[w-1]=arguments[w];T("error",n,g)}}function T(n,f,g){{var w=E.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(f+="%s",g=g.concat([N]));var I=g.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===h||n.$$typeof===p||n.$$typeof===a||n.$$typeof===c||n.$$typeof===l||n.$$typeof===V||n.getModuleId!==void 0))}function ne(n,f,g){var w=n.displayName;if(w)return w;var N=f.displayName||f.name||"";return N!==""?g+"("+N+")":g}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 g=n;return q(g._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 h:{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,g){{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 g=se.get(n);if(g!==void 0)return g}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,g){return we(n,!1)}function it(n){var f=n.prototype;return!!(f&&f.isReactComponent)}function ke(n,f,g){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,g);case h:{var w=n,N=w._payload,I=w._init;try{return ke(I(N),f,g)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,Me={},We=E.ReactDebugCurrentFrame;function me(n){if(n){var f=n._owner,g=ke(n.type,n._source,f?f.type:null);We.setExtraStackFrame(g)}else We.setExtraStackFrame(null)}function Yt(n,f,g,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")+": "+g+" 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,g,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",g,C,typeof S),me(null)),S instanceof Error&&!(S.message in Me)&&(Me[S.message]=!0,me(N),x("Failed %s type: %s",g,S.message),me(null))}}}var Vt=Array.isArray;function Be(n){return Vt(n)}function Ht(n){{var f=typeof Symbol=="function"&&Symbol.toStringTag,g=f&&n[Symbol.toStringTag]||n.constructor.name||"Object";return g}}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 g=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))};g.isReactWarning=!0,Object.defineProperty(n,"key",{get:g,configurable:!0})}}function Zt(n,f){{var g=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))};g.isReactWarning=!0,Object.defineProperty(n,"ref",{get:g,configurable:!0})}}var er=function(n,f,g,w,N,I,C){var S={$$typeof:t,type:n,key:f,ref:g,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,g,w,N){{var I,C={},S=null,Q=null;g!==void 0&&(at(g),S=""+g),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,g=ke(n.type,n._source,f?f.type:null);ft.setExtraStackFrame(g)}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`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function ar(e){return""}var Ie={};function ir(e){{var r=Ne();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
23
+ Check the render method of \``+n+"`."}return""}}function rr(n){return""}var pt={};function nr(n){{var f=dt();if(!f){var g=typeof n=="string"?n:n.displayName||n.name;g&&(f=`
24
24
 
25
- Check the top-level render call using <`+t+">.")}return r}}function De(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ir(r);if(Ie[t])return;Ie[t]=!0;var a="";e&&e._owner&&e._owner!==xe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),V(e),h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,a),V(null)}}function Ae(e,r){{if(typeof e!="object")return;if(be(e))for(var t=0;t<e.length;t++){var a=e[t];ye(a)&&De(a,r)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var s=U(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)ye(o.value)&&De(o.value,r)}}}function or(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===v||r.$$typeof===C))t=r.propTypes;else return;if(t){var a=k(r);qe(t,e.props,"prop",a,e)}else if(r.PropTypes!==void 0&&!Ee){Ee=!0;var s=k(r);h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var a=r[t];if(a!=="children"&&a!=="key"){V(e),h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),V(null);break}}e.ref!==null&&(V(e),h("Invalid attribute `ref` supplied to `React.Fragment`."),V(null))}}var Le={};function Fe(e,r,t,a,s,c){{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 j=ar();j?i+=j:i+=Ne();var f;e===null?f="null":be(e)?f="array":e!==void 0&&e.$$typeof===S?(f="<"+(k(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):f=typeof e,h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",f,i)}var p=nr(e,r,t,s,c);if(p==null)return p;if(o){var w=r.children;if(w!==void 0)if(a)if(be(w)){for(var J=0;J<w.length;J++)Ae(w[J],e);Object.freeze&&Object.freeze(w)}else h("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 Ae(w,e)}if(Q.call(r,"key")){var B=k(e),_=Object.keys(r).filter(function(pr){return pr!=="key"}),je=_.length>0?"{key: someKey, "+_.join(": ..., ")+": ...}":"{key: someKey}";if(!Le[B+je]){var dr=_.length>0?"{"+_.join(": ..., ")+": ...}":"{}";h(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+g+">.")}return f}}function mt(n,f){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var g=nr(f);if(pt[g])return;pt[g]=!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.',g,w),ve(null)}}function ht(n,f){{if(typeof n!="object")return;if(Be(n))for(var g=0;g<n.length;g++){var w=n[g];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 g;if(typeof f=="function")g=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===l||f.$$typeof===p))g=f.propTypes;else return;if(g){var w=H(f);Yt(g,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),g=0;g<f.length;g++){var w=f[g];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,g,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,g,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:
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} />`,je,B,dr,B),Le[B+je]=!0}}return e===R?sr(p):or(p),p}}function lr(e,r,t){return Fe(e,r,t,!0)}function cr(e,r,t){return Fe(e,r,t,!1)}var ur=cr,fr=lr;re.Fragment=R,re.jsx=ur,re.jsxs=fr})()),re}var We;function gr(){return We||(We=1,process.env.NODE_ENV==="production"?fe.exports=hr():fe.exports=mr()),fe.exports}var n=gr();const Be=O.createContext(null),br=({children:u})=>{const[S,d]=O.useState(!0),[R,N]=O.useState(null),I=()=>{d(b=>!b),N(null)},D=b=>{N(v=>v===b?null:b)};return n.jsx(Be.Provider,{value:{isExpanded:S,toggleSidebar:I,openSubmenu:R,toggleSubmenu:D},children:u})},Ye=()=>{const u=O.useContext(Be);if(!u)throw new Error("useSidebar must be used inside <SidebarProvider>");return u},xr=u=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...u},g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3334 7C20.3334 7.55228 20.0072 8 19.6048 8L4.06194 8C3.65957 8 3.33337 7.55228 3.33337 7C3.33337 6.44772 3.65957 6 4.06194 6L19.6048 6C20.0072 6 20.3334 6.44772 20.3334 7Z",fill:"white"}),g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3334 12C20.3334 12.5523 20.0072 13 19.6048 13L4.06194 13C3.65957 13 3.33337 12.5523 3.33337 12C3.33337 11.4477 3.65957 11 4.06194 11L19.6048 11C20.0072 11 20.3334 11.4477 20.3334 12Z",fill:"white"}),g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3334 17C20.3334 17.5523 20.0072 18 19.6048 18L4.06194 18C3.65957 18 3.33337 17.5523 3.33337 17C3.33337 16.4477 3.65957 16 4.06194 16L19.6048 16C20.0072 16 20.3334 16.4477 20.3334 17Z",fill:"white"})),Er=u=>g.createElement("svg",{width:18,height:18,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...u},g.createElement("circle",{cx:12,cy:12,r:10}),g.createElement("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),g.createElement("line",{x1:12,y1:17,x2:12.01,y2:17})),yr=u=>g.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",...u},g.createElement("rect",{width:32,height:32,rx:8,fill:"currentColor",opacity:.15}),g.createElement("circle",{cx:16,cy:16,r:6,fill:"currentColor"})),jr=u=>g.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",...u},g.createElement("line",{x1:12,y1:5,x2:12,y2:19}),g.createElement("line",{x1:5,y1:12,x2:19,y2:12})),Rr=u=>g.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...u},g.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),g.createElement("polyline",{points:"16 17 21 12 16 7"}),g.createElement("line",{x1:21,y1:12,x2:9,y2:12})),_r=({config:u})=>{const{navItems:S,user:d,createButtonRoles:R,createButtonLabel:N="Create",createButtonPath:I,brandName:D="Amphenol",brandSubtitle:b="COMMUNICATION SOLUTIONS",logo:v,helpLabel:A="Help Center",helpIcon:x,onSignOut:C,onNavigate:P,className:Y=""}=u,{isExpanded:E,toggleSidebar:te,openSubmenu:U,toggleSubmenu:M}=Ye(),[h,de]=O.useState(window.location.pathname),[pe,ne]=O.useState(!1),[ve,ae]=O.useState(!1),[ie,$]=O.useState(null);O.useEffect(()=>{const m=()=>de(window.location.pathname);return window.addEventListener("popstate",m),()=>window.removeEventListener("popstate",m)},[]);const q=(m,T)=>{m.preventDefault(),T&&(P?P(T):(window.history.pushState({},"",T),window.dispatchEvent(new PopStateEvent("popstate"))))},oe=()=>d.email?d.email.split("@")[0]:"User",H=()=>d.email?d.email.charAt(0).toUpperCase():"U",k=()=>{C?C():window.location.href="/c/portal/logout"},L=!R||R.includes(d.role),W=S.reduce((m,T)=>{const F=T.section||"GENERAL";return m[F]||(m[F]=[]),m[F].push(T),m},{});return n.jsxs("aside",{style:{backgroundColor:"#0f172a"},className:`rdr-sidebar ${E?"expanded":"collapsed"} ${Y}`,children:[n.jsxs("div",{className:"sidebar-header ",style:{paddingTop:"10px"},children:[n.jsxs("div",{className:"logo-section",onClick:te,children:[n.jsx("span",{className:"logo-icon ",style:{color:"var(--sidebar-accent)",marginTop:"15px"},children:v??n.jsx(yr,{})}),E&&n.jsxs("div",{className:"brand-text",children:[n.jsx("h2",{children:D}),b&&n.jsx("span",{children:b})]})]}),E&&n.jsx("button",{className:"menu-toggle",onClick:te,"aria-label":"Collapse sidebar",children:n.jsx(xr,{})})]}),L&&I&&n.jsx("div",{className:"sidebar-actions",children:n.jsxs("button",{className:"sidebar-create-btn",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",width:E?"100%":"44px",height:"44px",padding:E?"0 16px":"0",borderRadius:"10px",border:"none",outline:"none",boxShadow:"none",cursor:"pointer",fontSize:"14px",fontWeight:600,color:"#fff",background:ve?"#149B6E":"#18B885",transition:"background-color 0.2s ease"},onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),onClick:m=>q(m,I),children:[n.jsx(jr,{}),E&&n.jsx("span",{children:N})]})}),n.jsx("div",{className:"sidebar-nav",children:Object.entries(W).map(([m,T])=>{const F=T.filter(l=>!l.roles||l.roles.includes(d.role));return F.length?n.jsxs("div",{className:"nav-section",style:{listStyleType:"none"},children:[E&&n.jsx("h4",{className:"section-title",children:m}),n.jsx("ul",{className:"nav-items",children:F.map(l=>{var G,X;const K=(G=l.subItems)==null?void 0:G.some(y=>y.path&&h.includes(y.path)),z=l.path?h===l.path:!1;return n.jsx("li",{children:(X=l.subItems)!=null&&X.length?n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:`nav-item ${U===l.name||K?"active":""}`,"data-label":l.name,onClick:()=>M(l.name),onMouseEnter:()=>$(l.name),onMouseLeave:()=>$(null),style:U===l.name||K||ie===l.name?{backgroundColor:"#10B981",border:"1px solid #10B981",borderRadius:"8px"}:{},children:[n.jsx("span",{className:"nav-icon",children:l.icon}),E&&n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"nav-text",children:l.name}),n.jsx("span",{className:"submenu-arrow",children:U===l.name?"−":"+"})]})]}),E&&U===l.name&&n.jsx("ul",{className:"submenu",children:l.subItems.map(y=>{const he=y.path?h===y.path:!1;return n.jsx("li",{children:n.jsxs("a",{href:y.path||"/",onClick:Z=>q(Z,y.path),className:`submenu-item ${he?"active-sub":""}`,children:[y.icon&&n.jsx("span",{className:"submenu-icon",children:y.icon}),n.jsx("span",{children:y.name})]})},y.name)})})]}):n.jsxs("a",{href:l.path||"/","data-label":l.name,onClick:y=>q(y,l.path),style:z||ie===l.name?{backgroundColor:"#10B981",border:"none",borderRadius:"8px",outline:"1px solid #10B981",outlineOffset:"0px"}:{border:"none"},onMouseEnter:()=>$(l.name),onMouseLeave:()=>$(null),className:`nav-item ${z?"active":""}`,children:[n.jsx("span",{className:"nav-icon",children:l.icon}),E&&n.jsx("span",{className:"nav-text",children:l.name})]})},l.name)})})]},m):null})}),n.jsxs("div",{className:"sidebar-footer",children:[n.jsxs("div",{className:"footer-link","data-label":A,children:[n.jsx("span",{children:x??n.jsx(Er,{})}),E&&n.jsx("span",{children:A})]}),n.jsxs("div",{className:"user-profile-wrapper",children:[n.jsxs("div",{className:"user-profile",onClick:()=>ne(m=>!m),children:[n.jsx("div",{className:"avatar",children:H()}),E&&n.jsxs("div",{className:"user-info",children:[n.jsx("div",{className:"user-name",children:oe()}),n.jsx("div",{className:"user-role",children:d.roleName})]})]}),pe&&n.jsxs("div",{className:"profile-popup",children:[n.jsx("button",{className:"popup-close",onClick:()=>ne(!1),"aria-label":"Close",children:"✕"}),n.jsxs("div",{className:"popup-header",children:[n.jsx("div",{className:"popup-avatar",children:H()}),n.jsxs("div",{className:"popup-user-details",children:[n.jsx("div",{className:"popup-name",children:oe()}),n.jsx("div",{className:"popup-role",children:d.roleName}),n.jsx("div",{className:"popup-email",children:d.email})]})]}),n.jsx("div",{className:"popup-divider"}),n.jsxs("button",{className:"signout-btn",onClick:k,children:[n.jsx(Rr,{}),n.jsx("span",{children:"Sign Out"})]})]})]})]})]})};exports.SideNavbar=_r;exports.SidebarProvider=br;exports.useSidebar=Ye;
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,g){return vt(n,f,g,!0)}function ar(n,f,g){return vt(n,f,g,!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=e=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e},m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3334 7C20.3334 7.55228 20.0072 8 19.6048 8L4.06194 8C3.65957 8 3.33337 7.55228 3.33337 7C3.33337 6.44772 3.65957 6 4.06194 6L19.6048 6C20.0072 6 20.3334 6.44772 20.3334 7Z",fill:"white"}),m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3334 12C20.3334 12.5523 20.0072 13 19.6048 13L4.06194 13C3.65957 13 3.33337 12.5523 3.33337 12C3.33337 11.4477 3.65957 11 4.06194 11L19.6048 11C20.0072 11 20.3334 11.4477 20.3334 12Z",fill:"white"}),m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3334 17C20.3334 17.5523 20.0072 18 19.6048 18L4.06194 18C3.65957 18 3.33337 17.5523 3.33337 17C3.33337 16.4477 3.65957 16 4.06194 16L19.6048 16C20.0072 16 20.3334 16.4477 20.3334 17Z",fill:"white"})),Eo=e=>m.createElement("svg",{width:18,height:18,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...e},m.createElement("circle",{cx:12,cy:12,r:10}),m.createElement("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),m.createElement("line",{x1:12,y1:17,x2:12.01,y2:17})),Ro=e=>m.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",...e},m.createElement("rect",{width:32,height:32,rx:8,fill:"currentColor",opacity:.15}),m.createElement("circle",{cx:16,cy:16,r:6,fill:"currentColor"})),So=e=>m.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",...e},m.createElement("line",{x1:12,y1:5,x2:12,y2:19}),m.createElement("line",{x1:5,y1:12,x2:19,y2:12})),_o=e=>m.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...e},m.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),m.createElement("polyline",{points:"16 17 21 12 16 7"}),m.createElement("line",{x1:21,y1:12,x2:9,y2:12}));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={},h=null,v=null;d!==void 0&&(h=""+d),l.key!==void 0&&(h=""+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:h,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"),h=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,g=new Array(f>1?f-1:0),w=1;w<f;w++)g[w-1]=arguments[w];T("error",n,g)}}function T(n,f,g){{var w=E.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(f+="%s",g=g.concat([N]));var I=g.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===h||n.$$typeof===p||n.$$typeof===a||n.$$typeof===c||n.$$typeof===l||n.$$typeof===V||n.getModuleId!==void 0))}function ne(n,f,g){var w=n.displayName;if(w)return w;var N=f.displayName||f.name||"";return N!==""?g+"("+N+")":g}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 g=n;return q(g._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 h:{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,g){{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 g=se.get(n);if(g!==void 0)return g}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,g){return we(n,!1)}function it(n){var f=n.prototype;return!!(f&&f.isReactComponent)}function ke(n,f,g){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,g);case h:{var w=n,N=w._payload,I=w._init;try{return ke(I(N),f,g)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,Me={},We=E.ReactDebugCurrentFrame;function me(n){if(n){var f=n._owner,g=ke(n.type,n._source,f?f.type:null);We.setExtraStackFrame(g)}else We.setExtraStackFrame(null)}function Yt(n,f,g,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")+": "+g+" 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,g,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",g,C,typeof S),me(null)),S instanceof Error&&!(S.message in Me)&&(Me[S.message]=!0,me(N),x("Failed %s type: %s",g,S.message),me(null))}}}var Vt=Array.isArray;function Be(n){return Vt(n)}function Ht(n){{var f=typeof Symbol=="function"&&Symbol.toStringTag,g=f&&n[Symbol.toStringTag]||n.constructor.name||"Object";return g}}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 g=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))};g.isReactWarning=!0,Object.defineProperty(n,"key",{get:g,configurable:!0})}}function Zt(n,f){{var g=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))};g.isReactWarning=!0,Object.defineProperty(n,"ref",{get:g,configurable:!0})}}var er=function(n,f,g,w,N,I,C){var S={$$typeof:t,type:n,key:f,ref:g,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,g,w,N){{var I,C={},S=null,Q=null;g!==void 0&&(at(g),S=""+g),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,g=ke(n.type,n._source,f?f.type:null);ft.setExtraStackFrame(g)}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 g=typeof n=="string"?n:n.displayName||n.name;g&&(f=`
53
+
54
+ Check the top-level render call using <`+g+">.")}return f}}function mt(n,f){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var g=nr(f);if(pt[g])return;pt[g]=!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.',g,w),ve(null)}}function ht(n,f){{if(typeof n!="object")return;if(Be(n))for(var g=0;g<n.length;g++){var w=n[g];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 g;if(typeof f=="function")g=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===l||f.$$typeof===p))g=f.propTypes;else return;if(g){var w=H(f);Yt(g,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),g=0;g<f.length;g++){var w=f[g];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,g,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,g,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,g){return vt(n,f,g,!0)}function ar(n,f,g){return vt(n,f,g,!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 h=Vr(u)||Vr(p);return i[d][h]}),c=r&&Object.entries(r).reduce((d,u)=>{let[p,h]=u;return h===void 0||(d[p]=h),d},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((d,u)=>{let{class:p,className:h,...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,h]: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),h=p!==u,v=d&&d>l?d-l:void 0;return{modifiers:s,hasImportantModifier:h,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:h,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(h).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"),h=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",h,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 m.useCallback(jn(...e),e)}function Pn(e,t=[]){let r=[];function o(s,a){const c=m.createContext(a),l=r.length;r=[...r,a];const d=p=>{var h;const{scope:v,children:y,...b}=p,k=((h=v==null?void 0:v[e])==null?void 0:h[l])||c,E=m.useMemo(()=>b,Object.values(b));return M.jsx(k.Provider,{value:E,children:y})};d.displayName=s+"Provider";function u(p,h){var v;const y=((v=h==null?void 0:h[e])==null?void 0:v[l])||c,b=m.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=>m.createContext(a));return function(a){const c=(a==null?void 0:a[e])||s;return m.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 m.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}function pi(e){const t=mi(e),r=m.forwardRef((o,i)=>{const{children:s,...a}=o,c=m.Children.toArray(s),l=c.find(gi);if(l){const d=l.props.children,u=c.map(p=>p===l?m.Children.count(d)>1?m.Children.only(null):m.isValidElement(d)?d.props.children:null:p);return M.jsx(t,{...a,ref:i,children:m.isValidElement(d)?m.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=m.forwardRef((r,o)=>{const{children:i,...s}=r;if(m.isValidElement(i)){const a=yi(i),c=vi(s,i.props);return i.type!==m.Fragment&&(c.ref=o?jn(o,a):a),m.cloneElement(i,c)}return m.Children.count(i)>1?m.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 m.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=m.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=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.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);m.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=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dn=m.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:a,onDismiss:c,...l}=e,d=m.useContext(Nn),[u,p]=m.useState(null),h=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=m.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())},h),$=Oi(A=>{const _=A.target;[...d.branches].some(V=>V.contains(_))||(s==null||s(A),a==null||a(A),A.defaultPrevented||c==null||c())},h);return wi(A=>{x===d.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},h),m.useEffect(()=>{if(u)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Qr=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Zr(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Qr)}},[u,h,r,d]),m.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Zr())},[u,d]),m.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=m.forwardRef((e,t)=>{const r=m.useContext(Nn),o=m.useRef(null),i=Je(t,o);return m.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=m.useRef(!1),i=m.useRef(()=>{});return m.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=m.useRef(!1);return m.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?m.useLayoutEffect:()=>{},ji=m[" useId ".trim().toString()]||(()=>{}),Pi=0;function Ti(e){const[t,r]=m.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,h=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]-=h*(r&&d?-1:1);break;case"end":v[a]+=h*(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:h=!1,padding:v=0}=Ne(t,e),y=In(v),b=c[h?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),h=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:h,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&&(h=$.placement),$.rects&&(d=$.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):$.rects),{x:u,y:p}=rn(d,h,l)),b=-1)}return{x:u,y:p,placement:h,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),h={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]-h[v]-s.floating[y],F=h[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]:h[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:h,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=h||(T||!b?[At(c)]:Ii(c)),$=y!=="none";!h&&$&&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:h,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:h*d}:{x:h*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),h=Se(De(i)),v=Or(h);let y=u[v],b=u[h];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=h==="y"?"top":"left",x=h==="y"?"bottom":"right",T=b+p[E],O=b-p[x];b=kr(T,b,O)}const k=l.fn({...t,[v]:y,[h]:b});return{...k,data:{x:k.x-r,y:k.y-o,enabled:{[v]:a,[h]: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),h=Or(p);let v=u[h],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=h==="y"?"height":"width",O=s.reference[h]-s.floating[T]+k.mainAxis,F=s.reference[h]+s.reference[T]-k.mainAxis;v<O?v=O:v>F&&(v=F)}if(d){var E,x;const T=h==="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{[h]: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),h=nt(i),v=Se(i)==="y",{width:y,height:b}=s.floating;let k,E;p==="top"||p==="bottom"?(k=p,E=h===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(E=p,k=h==="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),$&&!h){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 h=xe(s),v=o&&Ee(o)?xe(o):o;let y=h,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 h=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+h.x,y:r.y*d.y-l.scrollTop*d.y+u.y+h.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,h=getComputedStyle(p),v=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.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 h=ln(t,s[p],i);c=be(h.top,c),l=$e(h.right,l),d=$e(h.bottom,d),u=be(h.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,h=a.top+c.scrollTop-l.y-u.y;return{x:p,y:h,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:h,height:v}=d;if(c||t(),!h||!v)return;const y=Pt(p),b=Pt(i.clientWidth-(u+h)),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 h=-1,v=null;a&&(v=new ResizeObserver(E=>{let[x]=E;x&&x.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(h),h=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=m.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]=m.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,v]=m.useState(o);Lt(h,o)||v(o);const[y,b]=m.useState(null),[k,E]=m.useState(null),x=m.useCallback(R=>{R!==$.current&&($.current=R,b(R))},[]),T=m.useCallback(R=>{R!==A.current&&(A.current=R,E(R))},[]),O=s||y,F=a||k,$=m.useRef(null),A=m.useRef(null),_=m.useRef(u),V=l!=null,K=vr(l),ne=vr(i),q=vr(d),H=m.useCallback(()=>{if(!$.current||!A.current)return;const R={placement:t,strategy:r,middleware:h};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)}))})},[h,t,r,ne,q]);Nt(()=>{d===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,p(R=>({...R,isPositioned:!1})))},[d]);const W=m.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=m.useMemo(()=>({reference:$,floating:A,setReference:x,setFloating:T}),[x,T]),z=m.useMemo(()=>({reference:O,floating:F}),[O,F]),U=m.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 m.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=m.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]=m.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]=m.useState(null);return M.jsx(Fs,{scope:t,anchor:o,onAnchorChange:i,children:r})};Jn.displayName=Ar;var qn="PopperAnchor",Qn=m.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...i}=e,s=Kn(qn,r),a=m.useRef(null),c=Je(t,a),l=m.useRef(null);return m.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=m.forwardRef((e,t)=>{var r,o,i,s,a,c;const{__scopePopper:l,side:d="bottom",sideOffset:u=0,align:p="center",alignOffset:h=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,_]=m.useState(null),V=Je(t,je=>_(je)),[K,ne]=m.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:h}),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]=m.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=m.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,h]=ro(s),v={start:"0%",center:"50%",end:"100%"}[h],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=m.forwardRef((e,t)=>{var r;const{container:o,...i}=e,[s,a]=m.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 m.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}):m.Children.only(r),s=Je(o.ref,Qs(i));return typeof r=="function"||o.isPresent?m.cloneElement(i,{ref:s}):null};Lr.displayName="Presence";function qs(e){const[t,r]=m.useState(),o=m.useRef(null),i=m.useRef(e),s=m.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 m.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,h=Tt(d);e?l("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(u&&p!==h?"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)})}},h=v=>{v.target===t&&(s.current=Tt(o.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:m.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=m[" 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=m.useRef(e!==void 0);m.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=m.useCallback(u=>{var p;if(c){const h=ra(u)?u(e):u;h!==e&&((p=a.current)==null||p.call(a,h))}else s(u)},[c,e,s,a]);return[l,d]}function ta({defaultProp:e,onChange:t}){const[r,o]=m.useState(e),i=m.useRef(r),s=m.useRef(t);return Zs(()=>{s.current=t},[t]),m.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=m.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=m.useRef(!0),c=m.useRef(!1),l=m.useRef(0);return m.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),M.jsx(aa,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:m.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:m.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:c,onPointerInTransitChange:m.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]=m.useState(null),h=Ti(),v=m.useRef(0),y=a??l.disableHoverableContent,b=c??l.delayDuration,k=m.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=m.useMemo(()=>E?k.current?"delayed-open":"instant-open":"closed",[E]),O=m.useCallback(()=>{window.clearTimeout(v.current),v.current=0,k.current=!1,x(!0)},[x]),F=m.useCallback(()=>{window.clearTimeout(v.current),v.current=0,x(!1)},[x]),$=m.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{k.current=!0,x(!0),v.current=0},b)},[b,x]);return m.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),M.jsx(Vs,{...d,children:M.jsx(la,{scope:t,contentId:h,open:E,stateAttribute:T,trigger:u,onTriggerChange:p,onTriggerEnter:m.useCallback(()=>{l.isOpenDelayedRef.current?$():O()},[l.isOpenDelayedRef,$,O]),onTriggerLeave:m.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=m.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,i=St(_r,r),s=$r(_r,r),a=Ut(r),c=m.useRef(null),l=Je(t,c,i.onTriggerChange),d=m.useRef(!1),u=m.useRef(!1),p=m.useCallback(()=>d.current=!1,[]);return m.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,h=>{h.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=m.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=m.forwardRef((e,t)=>{const r=St(et,e.__scopeTooltip),o=$r(et,e.__scopeTooltip),i=m.useRef(null),s=Je(t,i),[a,c]=m.useState(null),{trigger:l,onClose:d}=r,u=i.current,{onPointerInTransitChange:p}=o,h=m.useCallback(()=>{c(null),p(!1)},[p]),v=m.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 m.useEffect(()=>()=>h(),[h]),m.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,h]),m.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?h():T&&(h(),d())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,u,a,d,h]),M.jsx(fo,{...e,ref:s})}),[da,pa]=Bt(Et,{isInside:!1}),ma=hi("TooltipContent"),fo=m.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 m.useEffect(()=>(document.addEventListener(Sr,u),()=>document.removeEventListener(Sr,u)),[u]),m.useEffect(()=>{if(l.trigger){const p=h=>{const v=h.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=m.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,h=l.y;u>o!=h>o&&r<(p-d)*(o-u)/(h-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=m.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:h="#003B71",deleteColor:v="#FF6070",updateColor:y="#003B71",cancelColor:b="#ffffff",outlineColor:k="#003B71",...E},x)=>{const T={...t&&{save:{backgroundColor:h},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:h,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&&(h?h(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 ",style:{marginRight:"20px",paddingRight:"20px"},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;