globalfy-design-system 0.66.0 → 0.68.0

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
- (function(Pe,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],f):(Pe=typeof globalThis<"u"?globalThis:Pe||self,f(Pe["Globalfy Design System"]={},Pe.React,Pe.$k7QOs$reactdom))})(this,function(Pe,f,hn){"use strict";function Hl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const G=Hl(f),Cp=Hl(hn);var Qa={exports:{}},mn={};/**
1
+ (function(xe,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],f):(xe=typeof globalThis<"u"?globalThis:xe||self,f(xe["Globalfy Design System"]={},xe.React,xe.$k7QOs$reactdom))})(this,function(xe,f,$n){"use strict";function Mc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const W=Mc(f),Th=Mc($n);var gs={exports:{}},Dn={};/**
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 Yl;function Pp(){if(Yl)return mn;Yl=1;var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(i,l,c){var u,d={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(i&&i.defaultProps)for(u in l=i.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:i,key:p,ref:h,props:d,_owner:o.current}}return mn.Fragment=r,mn.jsx=s,mn.jsxs=s,mn}var gn={};/**
9
+ */var Sc;function Eh(){if(Sc)return Dn;Sc=1;var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(i,l,c){var u,d={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(i&&i.defaultProps)for(u in l=i.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:i,key:p,ref:h,props:d,_owner:o.current}}return Dn.Fragment=r,Dn.jsx=s,Dn.jsxs=s,Dn}var kn={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,17 +14,17 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Gl;function Mp(){return Gl||(Gl=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,b="@@iterator";function y(v){if(v===null||typeof v!="object")return null;var A=g&&v[g]||v[b];return typeof A=="function"?A:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(v){{for(var A=arguments.length,_=new Array(A>1?A-1:0),B=1;B<A;B++)_[B-1]=arguments[B];C("error",v,_)}}function C(v,A,_){{var B=P.ReactDebugCurrentFrame,J=B.getStackAddendum();J!==""&&(A+="%s",_=_.concat([J]));var ne=_.map(function(q){return String(q)});ne.unshift("Warning: "+A),Function.prototype.apply.call(console[v],console,ne)}}var S=!1,$=!1,N=!1,j=!1,m=!1,D;D=Symbol.for("react.module.reference");function I(v){return!!(typeof v=="string"||typeof v=="function"||v===n||v===a||m||v===o||v===c||v===u||j||v===h||S||$||N||typeof v=="object"&&v!==null&&(v.$$typeof===p||v.$$typeof===d||v.$$typeof===s||v.$$typeof===i||v.$$typeof===l||v.$$typeof===D||v.getModuleId!==void 0))}function T(v,A,_){var B=v.displayName;if(B)return B;var J=A.displayName||A.name||"";return J!==""?_+"("+J+")":_}function k(v){return v.displayName||"Context"}function w(v){if(v==null)return null;if(typeof v.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case i:var A=v;return k(A)+".Consumer";case s:var _=v;return k(_._context)+".Provider";case l:return T(v,v.render,"ForwardRef");case d:var B=v.displayName||null;return B!==null?B:w(v.type)||"Memo";case p:{var J=v,ne=J._payload,q=J._init;try{return w(q(ne))}catch{return null}}}return null}var M=Object.assign,O=0,F,E,V,H,R,W,ee;function U(){}U.__reactDisabledLog=!0;function re(){{if(O===0){F=console.log,E=console.info,V=console.warn,H=console.error,R=console.group,W=console.groupCollapsed,ee=console.groupEnd;var v={configurable:!0,enumerable:!0,value:U,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}O++}}function X(){{if(O--,O===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},v,{value:F}),info:M({},v,{value:E}),warn:M({},v,{value:V}),error:M({},v,{value:H}),group:M({},v,{value:R}),groupCollapsed:M({},v,{value:W}),groupEnd:M({},v,{value:ee})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=P.ReactCurrentDispatcher,ce;function be(v,A,_){{if(ce===void 0)try{throw Error()}catch(J){var B=J.stack.trim().match(/\n( *(at )?)/);ce=B&&B[1]||""}return`
18
- `+ce+v}}var pe=!1,fe;{var he=typeof WeakMap=="function"?WeakMap:Map;fe=new he}function Te(v,A){if(!v||pe)return"";{var _=fe.get(v);if(_!==void 0)return _}var B;pe=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=te.current,te.current=null,re();try{if(A){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(ze){B=ze}Reflect.construct(v,[],q)}else{try{q.call()}catch(ze){B=ze}v.call(q.prototype)}}else{try{throw Error()}catch(ze){B=ze}v()}}catch(ze){if(ze&&B&&typeof ze.stack=="string"){for(var Y=ze.stack.split(`
19
- `),Ce=B.stack.split(`
20
- `),le=Y.length-1,de=Ce.length-1;le>=1&&de>=0&&Y[le]!==Ce[de];)de--;for(;le>=1&&de>=0;le--,de--)if(Y[le]!==Ce[de]){if(le!==1||de!==1)do if(le--,de--,de<0||Y[le]!==Ce[de]){var Ae=`
21
- `+Y[le].replace(" at new "," at ");return v.displayName&&Ae.includes("<anonymous>")&&(Ae=Ae.replace("<anonymous>",v.displayName)),typeof v=="function"&&fe.set(v,Ae),Ae}while(le>=1&&de>=0);break}}}finally{pe=!1,te.current=ne,X(),Error.prepareStackTrace=J}var dt=v?v.displayName||v.name:"",Po=dt?be(dt):"";return typeof v=="function"&&fe.set(v,Po),Po}function Se(v,A,_){return Te(v,!1)}function ae(v){var A=v.prototype;return!!(A&&A.isReactComponent)}function Z(v,A,_){if(v==null)return"";if(typeof v=="function")return Te(v,ae(v));if(typeof v=="string")return be(v);switch(v){case c:return be("Suspense");case u:return be("SuspenseList")}if(typeof v=="object")switch(v.$$typeof){case l:return Se(v.render);case d:return Z(v.type,A,_);case p:{var B=v,J=B._payload,ne=B._init;try{return Z(ne(J),A,_)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,_e={},Fe=P.ReactDebugCurrentFrame;function Ie(v){if(v){var A=v._owner,_=Z(v.type,v._source,A?A.type:null);Fe.setExtraStackFrame(_)}else Fe.setExtraStackFrame(null)}function It(v,A,_,B,J){{var ne=Function.call.bind(Oe);for(var q in v)if(ne(v,q)){var Y=void 0;try{if(typeof v[q]!="function"){var Ce=Error((B||"React class")+": "+_+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ce.name="Invariant Violation",Ce}Y=v[q](A,q,B,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(le){Y=le}Y&&!(Y instanceof Error)&&(Ie(J),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).",B||"React class",_,q,typeof Y),Ie(null)),Y instanceof Error&&!(Y.message in _e)&&(_e[Y.message]=!0,Ie(J),x("Failed %s type: %s",_,Y.message),Ie(null))}}}var mt=Array.isArray;function et(v){return mt(v)}function Ir(v){{var A=typeof Symbol=="function"&&Symbol.toStringTag,_=A&&v[Symbol.toStringTag]||v.constructor.name||"Object";return _}}function qe(v){try{return Qe(v),!1}catch{return!0}}function Qe(v){return""+v}function kr(v){if(qe(v))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ir(v)),Qe(v)}var xe=P.ReactCurrentOwner,co={key:!0,ref:!0,__self:!0,__source:!0},Ar,Or,Ht;Ht={};function uo(v){if(Oe.call(v,"ref")){var A=Object.getOwnPropertyDescriptor(v,"ref").get;if(A&&A.isReactWarning)return!1}return v.ref!==void 0}function fo(v){if(Oe.call(v,"key")){var A=Object.getOwnPropertyDescriptor(v,"key").get;if(A&&A.isReactWarning)return!1}return v.key!==void 0}function po(v,A){if(typeof v.ref=="string"&&xe.current&&A&&xe.current.stateNode!==A){var _=w(xe.current.type);Ht[_]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(xe.current.type),v.ref),Ht[_]=!0)}}function ho(v,A){{var _=function(){Ar||(Ar=!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)",A))};_.isReactWarning=!0,Object.defineProperty(v,"key",{get:_,configurable:!0})}}function mo(v,A){{var _=function(){Or||(Or=!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)",A))};_.isReactWarning=!0,Object.defineProperty(v,"ref",{get:_,configurable:!0})}}var go=function(v,A,_,B,J,ne,q){var Y={$$typeof:t,type:v,key:A,ref:_,props:q,_owner:ne};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:J}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function ue(v,A,_,B,J){{var ne,q={},Y=null,Ce=null;_!==void 0&&(kr(_),Y=""+_),fo(A)&&(kr(A.key),Y=""+A.key),uo(A)&&(Ce=A.ref,po(A,J));for(ne in A)Oe.call(A,ne)&&!co.hasOwnProperty(ne)&&(q[ne]=A[ne]);if(v&&v.defaultProps){var le=v.defaultProps;for(ne in le)q[ne]===void 0&&(q[ne]=le[ne])}if(Y||Ce){var de=typeof v=="function"?v.displayName||v.name||"Unknown":v;Y&&ho(q,de),Ce&&mo(q,de)}return go(v,Y,Ce,J,B,xe.current,q)}}var ct=P.ReactCurrentOwner,vo=P.ReactDebugCurrentFrame;function ut(v){if(v){var A=v._owner,_=Z(v.type,v._source,A?A.type:null);vo.setExtraStackFrame(_)}else vo.setExtraStackFrame(null)}var Nr;Nr=!1;function jr(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function bo(){{if(ct.current){var v=w(ct.current.type);if(v)return`
17
+ */var Tc;function $h(){return Tc||(Tc=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,v="@@iterator";function b(y){if(y===null||typeof y!="object")return null;var j=g&&y[g]||y[v];return typeof j=="function"?j:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(y){{for(var j=arguments.length,V=new Array(j>1?j-1:0),H=1;H<j;H++)V[H-1]=arguments[H];w("error",y,V)}}function w(y,j,V){{var H=P.ReactDebugCurrentFrame,re=H.getStackAddendum();re!==""&&(j+="%s",V=V.concat([re]));var oe=V.map(function(J){return String(J)});oe.unshift("Warning: "+j),Function.prototype.apply.call(console[y],console,oe)}}var T=!1,$=!1,E=!1,A=!1,m=!1,k;k=Symbol.for("react.module.reference");function I(y){return!!(typeof y=="string"||typeof y=="function"||y===n||y===a||m||y===o||y===c||y===u||A||y===h||T||$||E||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===l||y.$$typeof===k||y.getModuleId!==void 0))}function S(y,j,V){var H=y.displayName;if(H)return H;var re=j.displayName||j.name||"";return re!==""?V+"("+re+")":V}function N(y){return y.displayName||"Context"}function C(y){if(y==null)return null;if(typeof y.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case i:var j=y;return N(j)+".Consumer";case s:var V=y;return N(V._context)+".Provider";case l:return S(y,y.render,"ForwardRef");case d:var H=y.displayName||null;return H!==null?H:C(y.type)||"Memo";case p:{var re=y,oe=re._payload,J=re._init;try{return C(J(oe))}catch{return null}}}return null}var M=Object.assign,O=0,_,D,z,X,G,U,F;function B(){}B.__reactDisabledLog=!0;function q(){{if(O===0){_=console.log,D=console.info,z=console.warn,X=console.error,G=console.group,U=console.groupCollapsed,F=console.groupEnd;var y={configurable:!0,enumerable:!0,value:B,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}O++}}function K(){{if(O--,O===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},y,{value:_}),info:M({},y,{value:D}),warn:M({},y,{value:z}),error:M({},y,{value:X}),group:M({},y,{value:G}),groupCollapsed:M({},y,{value:U}),groupEnd:M({},y,{value:F})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=P.ReactCurrentDispatcher,ne;function le(y,j,V){{if(ne===void 0)try{throw Error()}catch(re){var H=re.stack.trim().match(/\n( *(at )?)/);ne=H&&H[1]||""}return`
18
+ `+ne+y}}var ce=!1,ue;{var ge=typeof WeakMap=="function"?WeakMap:Map;ue=new ge}function Se(y,j){if(!y||ce)return"";{var V=ue.get(y);if(V!==void 0)return V}var H;ce=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var oe;oe=Q.current,Q.current=null,q();try{if(j){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(We){H=We}Reflect.construct(y,[],J)}else{try{J.call()}catch(We){H=We}y.call(J.prototype)}}else{try{throw Error()}catch(We){H=We}y()}}catch(We){if(We&&H&&typeof We.stack=="string"){for(var Z=We.stack.split(`
19
+ `),Pe=H.stack.split(`
20
+ `),pe=Z.length-1,me=Pe.length-1;pe>=1&&me>=0&&Z[pe]!==Pe[me];)me--;for(;pe>=1&&me>=0;pe--,me--)if(Z[pe]!==Pe[me]){if(pe!==1||me!==1)do if(pe--,me--,me<0||Z[pe]!==Pe[me]){var Oe=`
21
+ `+Z[pe].replace(" at new "," at ");return y.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",y.displayName)),typeof y=="function"&&ue.set(y,Oe),Oe}while(pe>=1&&me>=0);break}}}finally{ce=!1,Q.current=oe,K(),Error.prepareStackTrace=re}var pt=y?y.displayName||y.name:"",Wo=pt?le(pt):"";return typeof y=="function"&&ue.set(y,Wo),Wo}function Te(y,j,V){return Se(y,!1)}function se(y){var j=y.prototype;return!!(j&&j.isReactComponent)}function te(y,j,V){if(y==null)return"";if(typeof y=="function")return Se(y,se(y));if(typeof y=="string")return le(y);switch(y){case c:return le("Suspense");case u:return le("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case l:return Te(y.render);case d:return te(y.type,j,V);case p:{var H=y,re=H._payload,oe=H._init;try{return te(oe(re),j,V)}catch{}}}return""}var je=Object.prototype.hasOwnProperty,Fe={},Ve=P.ReactDebugCurrentFrame;function Ie(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);Ve.setExtraStackFrame(V)}else Ve.setExtraStackFrame(null)}function Nt(y,j,V,H,re){{var oe=Function.call.bind(je);for(var J in y)if(oe(y,J)){var Z=void 0;try{if(typeof y[J]!="function"){var Pe=Error((H||"React class")+": "+V+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}Z=y[J](j,J,H,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){Z=pe}Z&&!(Z instanceof Error)&&(Ie(re),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).",H||"React class",V,J,typeof Z),Ie(null)),Z instanceof Error&&!(Z.message in Fe)&&(Fe[Z.message]=!0,Ie(re),x("Failed %s type: %s",V,Z.message),Ie(null))}}}var vt=Array.isArray;function rt(y){return vt(y)}function Wr(y){{var j=typeof Symbol=="function"&&Symbol.toStringTag,V=j&&y[Symbol.toStringTag]||y.constructor.name||"Object";return V}}function Qe(y){try{return Xe(y),!1}catch{return!0}}function Xe(y){return""+y}function Br(y){if(Qe(y))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Wr(y)),Xe(y)}var Ce=P.ReactCurrentOwner,$o={key:!0,ref:!0,__self:!0,__source:!0},Kr,Rr,Qt;Qt={};function Do(y){if(je.call(y,"ref")){var j=Object.getOwnPropertyDescriptor(y,"ref").get;if(j&&j.isReactWarning)return!1}return y.ref!==void 0}function ko(y){if(je.call(y,"key")){var j=Object.getOwnPropertyDescriptor(y,"key").get;if(j&&j.isReactWarning)return!1}return y.key!==void 0}function Io(y,j){if(typeof y.ref=="string"&&Ce.current&&j&&Ce.current.stateNode!==j){var V=C(Ce.current.type);Qt[V]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(Ce.current.type),y.ref),Qt[V]=!0)}}function Ao(y,j){{var V=function(){Kr||(Kr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"key",{get:V,configurable:!0})}}function No(y,j){{var V=function(){Rr||(Rr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"ref",{get:V,configurable:!0})}}var Oo=function(y,j,V,H,re,oe,J){var Z={$$typeof:t,type:y,key:j,ref:V,props:J,_owner:oe};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function he(y,j,V,H,re){{var oe,J={},Z=null,Pe=null;V!==void 0&&(Br(V),Z=""+V),ko(j)&&(Br(j.key),Z=""+j.key),Do(j)&&(Pe=j.ref,Io(j,re));for(oe in j)je.call(j,oe)&&!$o.hasOwnProperty(oe)&&(J[oe]=j[oe]);if(y&&y.defaultProps){var pe=y.defaultProps;for(oe in pe)J[oe]===void 0&&(J[oe]=pe[oe])}if(Z||Pe){var me=typeof y=="function"?y.displayName||y.name||"Unknown":y;Z&&Ao(J,me),Pe&&No(J,me)}return Oo(y,Z,Pe,re,H,Ce.current,J)}}var dt=P.ReactCurrentOwner,jo=P.ReactDebugCurrentFrame;function ft(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);jo.setExtraStackFrame(V)}else jo.setExtraStackFrame(null)}var Ur;Ur=!1;function Gr(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function Lo(){{if(dt.current){var y=C(dt.current.type);if(y)return`
22
22
 
23
- Check the render method of \``+v+"`."}return""}}function Fl(v){{if(v!==void 0){var A=v.fileName.replace(/^.*[\\\/]/,""),_=v.lineNumber;return`
23
+ Check the render method of \``+y+"`."}return""}}function gc(y){{if(y!==void 0){var j=y.fileName.replace(/^.*[\\\/]/,""),V=y.lineNumber;return`
24
24
 
25
- Check your code at `+A+":"+_+"."}return""}}var yo={};function Vl(v){{var A=bo();if(!A){var _=typeof v=="string"?v:v.displayName||v.name;_&&(A=`
25
+ Check your code at `+j+":"+V+"."}return""}}var _o={};function vc(y){{var j=Lo();if(!j){var V=typeof y=="string"?y:y.displayName||y.name;V&&(j=`
26
26
 
27
- Check the top-level render call using <`+_+">.")}return A}}function xo(v,A){{if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var _=Vl(A);if(yo[_])return;yo[_]=!0;var B="";v&&v._owner&&v._owner!==ct.current&&(B=" It was passed a child from "+w(v._owner.type)+"."),ut(v),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,B),ut(null)}}function wo(v,A){{if(typeof v!="object")return;if(et(v))for(var _=0;_<v.length;_++){var B=v[_];jr(B)&&xo(B,A)}else if(jr(v))v._store&&(v._store.validated=!0);else if(v){var J=y(v);if(typeof J=="function"&&J!==v.entries)for(var ne=J.call(v),q;!(q=ne.next()).done;)jr(q.value)&&xo(q.value,A)}}}function zl(v){{var A=v.type;if(A==null||typeof A=="string")return;var _;if(typeof A=="function")_=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===l||A.$$typeof===d))_=A.propTypes;else return;if(_){var B=w(A);It(_,v.props,"prop",B,v)}else if(A.PropTypes!==void 0&&!Nr){Nr=!0;var J=w(A);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wl(v){{for(var A=Object.keys(v.props),_=0;_<A.length;_++){var B=A[_];if(B!=="children"&&B!=="key"){ut(v),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),ut(null);break}}v.ref!==null&&(ut(v),x("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}function Co(v,A,_,B,J,ne){{var q=I(v);if(!q){var Y="";(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(Y+=" 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 Ce=Fl(J);Ce?Y+=Ce:Y+=bo();var le;v===null?le="null":et(v)?le="array":v!==void 0&&v.$$typeof===t?(le="<"+(w(v.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):le=typeof v,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",le,Y)}var de=ue(v,A,_,J,ne);if(de==null)return de;if(q){var Ae=A.children;if(Ae!==void 0)if(B)if(et(Ae)){for(var dt=0;dt<Ae.length;dt++)wo(Ae[dt],v);Object.freeze&&Object.freeze(Ae)}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 wo(Ae,v)}return v===n?Wl(de):zl(de),de}}function Bl(v,A,_){return Co(v,A,_,!0)}function Rl(v,A,_){return Co(v,A,_,!1)}var Kl=Rl,Ul=Bl;gn.Fragment=n,gn.jsx=Kl,gn.jsxs=Ul}()),gn}process.env.NODE_ENV==="production"?Qa.exports=Pp():Qa.exports=Mp();var L=Qa.exports,ql=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ke=e=>!e||typeof e!="object"||Object.keys(e).length===0,Tp=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function Ql(e,t){e.forEach(function(r){Array.isArray(r)?Ql(r,t):t.push(r)})}function Xl(e){let t=[];return Ql(e,t),t}var Sp=(...e)=>Xl(e).filter(Boolean),Zl=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let a of n)if(o.includes(a)){let s=e[a],i=t[a];typeof s=="object"&&typeof i=="object"?r[a]=Zl(s,i):r[a]=i+" "+s}else r[a]=e[a];for(let a of o)n.includes(a)||(r[a]=t[a]);return r},Jl=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Ep(){for(var e=0,t,r,n="";e<arguments.length;)(t=arguments[e++])&&(r=ec(t))&&(n&&(n+=" "),n+=r);return n}function ec(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=ec(e[n]))&&(r&&(r+=" "),r+=t);return r}var Xa="-";function $p(e){var t=Ip(e),r=e.conflictingClassGroups,n=e.conflictingClassGroupModifiers,o=n===void 0?{}:n;function a(i){var l=i.split(Xa);return l[0]===""&&l.length!==1&&l.shift(),tc(l,t)||Dp(i)}function s(i,l){var c=r[i]||[];return l&&o[i]?[].concat(c,o[i]):c}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function tc(e,t){var s;if(e.length===0)return t.classGroupId;var r=e[0],n=t.nextPart.get(r),o=n?tc(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(Xa);return(s=t.validators.find(function(i){var l=i.validator;return l(a)}))==null?void 0:s.classGroupId}}var rc=/^\[(.+)\]$/;function Dp(e){if(rc.test(e)){var t=rc.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function Ip(e){var t=e.theme,r=e.prefix,n={nextPart:new Map,validators:[]},o=Ap(Object.entries(e.classGroups),r);return o.forEach(function(a){var s=a[0],i=a[1];Za(i,n,s,t)}),n}function Za(e,t,r,n){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:nc(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(kp(o)){Za(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(function(s){var i=s[0],l=s[1];Za(l,nc(t,i),r,n)})})}function nc(e,t){var r=e;return t.split(Xa).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function kp(e){return e.isThemeGetter}function Ap(e,t){return t?e.map(function(r){var n=r[0],o=r[1],a=o.map(function(s){return typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(function(i){var l=i[0],c=i[1];return[t+l,c]})):s});return[n,a]}):e}function Op(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,s){r.set(a,s),t++,t>e&&(t=0,n=r,r=new Map)}return{get:function(s){var i=r.get(s);if(i!==void 0)return i;if((i=n.get(s))!==void 0)return o(s,i),i},set:function(s,i){r.has(s)?r.set(s,i):o(s,i)}}}var oc="!";function Np(e){var t=e.separator||":",r=t.length===1,n=t[0],o=t.length;return function(s){for(var i=[],l=0,c=0,u,d=0;d<s.length;d++){var p=s[d];if(l===0){if(p===n&&(r||s.slice(d,d+o)===t)){i.push(s.slice(c,d)),c=d+o;continue}if(p==="/"){u=d;continue}}p==="["?l++:p==="]"&&l--}var h=i.length===0?s:s.substring(c),g=h.startsWith(oc),b=g?h.substring(1):h,y=u&&u>c?u-c:void 0;return{modifiers:i,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:y}}}function jp(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var o=n[0]==="[";o?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function Lp(e){return{cache:Op(e.cacheSize),splitModifiers:Np(e),...$p(e)}}var _p=/\s+/;function Fp(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(_p).map(function(s){var i=r(s),l=i.modifiers,c=i.hasImportantModifier,u=i.baseClassName,d=i.maybePostfixModifierPosition,p=n(d?u.substring(0,d):u),h=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:s};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:s};h=!1}var g=jp(l).join(":"),b=c?g+oc:g;return{isTailwindClass:!0,modifierId:b,classGroupId:p,originalClassName:s,hasPostfixModifier:h}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var i=s.modifierId,l=s.classGroupId,c=s.hasPostfixModifier,u=i+l;return a.has(u)?!1:(a.add(u),o(l,c).forEach(function(d){return a.add(i+d)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function Ja(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,s=i;function i(c){var u=t[0],d=t.slice(1),p=d.reduce(function(h,g){return g(h)},u());return n=Lp(p),o=n.cache.get,a=n.cache.set,s=l,l(c)}function l(c){var u=o(c);if(u)return u;var d=Fp(c,n);return a(c,d),d}return function(){return s(Ep.apply(null,arguments))}}function ke(e){var t=function(n){return n[e]||[]};return t.isThemeGetter=!0,t}var ac=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vp=/^\d+\/\d+$/,zp=new Set(["px","full","screen"]),Wp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bp=/\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$/,Rp=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function gt(e){return cr(e)||zp.has(e)||Vp.test(e)||es(e)}function es(e){return ur(e,"length",qp)}function Kp(e){return ur(e,"size",sc)}function Up(e){return ur(e,"position",sc)}function Hp(e){return ur(e,"url",Qp)}function Mo(e){return ur(e,"number",cr)}function cr(e){return!Number.isNaN(Number(e))}function Yp(e){return e.endsWith("%")&&cr(e.slice(0,-1))}function vn(e){return ic(e)||ur(e,"number",ic)}function ve(e){return ac.test(e)}function bn(){return!0}function Yt(e){return Wp.test(e)}function Gp(e){return ur(e,"",Xp)}function ur(e,t,r){var n=ac.exec(e);return n?n[1]?n[1]===t:r(n[2]):!1}function qp(e){return Bp.test(e)}function sc(){return!1}function Qp(e){return e.startsWith("url(")}function ic(e){return Number.isInteger(Number(e))}function Xp(e){return Rp.test(e)}function ts(){var e=ke("colors"),t=ke("spacing"),r=ke("blur"),n=ke("brightness"),o=ke("borderColor"),a=ke("borderRadius"),s=ke("borderSpacing"),i=ke("borderWidth"),l=ke("contrast"),c=ke("grayscale"),u=ke("hueRotate"),d=ke("invert"),p=ke("gap"),h=ke("gradientColorStops"),g=ke("gradientColorStopPositions"),b=ke("inset"),y=ke("margin"),P=ke("opacity"),x=ke("padding"),C=ke("saturate"),S=ke("scale"),$=ke("sepia"),N=ke("skew"),j=ke("space"),m=ke("translate"),D=function(){return["auto","contain","none"]},I=function(){return["auto","hidden","clip","visible","scroll"]},T=function(){return["auto",ve,t]},k=function(){return[ve,t]},w=function(){return["",gt]},M=function(){return["auto",cr,ve]},O=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},F=function(){return["solid","dashed","dotted","double","none"]},E=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},V=function(){return["start","end","center","between","around","evenly","stretch"]},H=function(){return["","0",ve]},R=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},W=function(){return[cr,Mo]},ee=function(){return[cr,ve]};return{cacheSize:500,theme:{colors:[bn],spacing:[gt],blur:["none","",Yt,ve],brightness:W(),borderColor:[e],borderRadius:["none","","full",Yt,ve],borderSpacing:k(),borderWidth:w(),contrast:W(),grayscale:H(),hueRotate:ee(),invert:H(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Yp,es],inset:T(),margin:T(),opacity:W(),padding:k(),saturate:W(),scale:W(),sepia:H(),skew:ee(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",ve]}],container:["container"],columns:[{columns:[Yt]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"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"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(O(),[ve])}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",vn]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ve]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",vn]}],"grid-cols":[{"grid-cols":[bn]}],"col-start-end":[{col:["auto",{span:["full",vn]},ve]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[bn]}],"row-start-end":[{row:["auto",{span:[vn]},ve]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ve]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ve]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(V())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(V(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(V(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",ve,t]}],"min-w":[{"min-w":["min","max","fit",ve,gt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Yt]},Yt,ve]}],h:[{h:[ve,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",ve,gt]}],"max-h":[{"max-h":[ve,t,"min","max","fit"]}],"font-size":[{text:["base",Yt,es]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Mo]}],"font-family":[{font:[bn]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ve]}],"line-clamp":[{"line-clamp":["none",cr,Mo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ve,gt]}],"list-image":[{"list-image":["none",ve]}],"list-style-type":[{list:["none","disc","decimal",ve]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(F(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",gt]}],"underline-offset":[{"underline-offset":["auto",ve,gt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(O(),[Up])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kp]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Hp]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[].concat(F(),["hidden"])}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:F()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(F())}],"outline-offset":[{"outline-offset":[ve,gt]}],"outline-w":[{outline:[gt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[gt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Yt,Gp]}],"shadow-color":[{shadow:[bn]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":E()}],"bg-blend":[{"bg-blend":E()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Yt,ve]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[C]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ve]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",ve]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ve]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[vn,ve]}],"translate-x":[{"translate-x":[m]}],"translate-y":[{"translate-y":[m]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ve]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",ve]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ve]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gt,Mo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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-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-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"],"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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Zp(e,t){for(var r in t)lc(e,r,t[r]);return e}var Jp=Object.prototype.hasOwnProperty,eh=new Set(["string","number","boolean"]);function lc(e,t,r){if(!Jp.call(e,t)||eh.has(typeof r)||r===null){e[t]=r;return}if(Array.isArray(r)&&Array.isArray(e[t])){e[t]=e[t].concat(r);return}if(typeof r=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=r;return}for(var n in r)lc(e[t],n,r[n])}}function th(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return typeof e=="function"?Ja.apply(void 0,[ts,e].concat(r)):Ja.apply(void 0,[function(){return Zp(ts(),e)}].concat(r))}var cc=Ja(ts),rh={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},uc=e=>e||void 0,To=(...e)=>uc(Xl(e).filter(Boolean).join(" ")),rs=null,So={},ns=!1,yn=(...e)=>t=>t.twMerge?((!rs||ns)&&(ns=!1,rs=Ke(So)?cc:th(So)),uc(rs(To(e)))):To(e),dc=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=To(e[r],t[r]):e[r]=t[r];return e},we=(e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:a=[],compoundSlots:s=[],defaultVariants:i={}}=e,l={...rh,...t},c=r!=null&&r.base?To(r.base,e==null?void 0:e.base):e==null?void 0:e.base,u=r!=null&&r.variants&&!Ke(r.variants)?Zl(o,r.variants):o,d=r!=null&&r.defaultVariants&&!Ke(r.defaultVariants)?{...r.defaultVariants,...i}:i;!Ke(l.twMergeConfig)&&!Tp(l.twMergeConfig,So)&&(ns=!0,So=l.twMergeConfig);let p=Ke(n)?{}:{base:e==null?void 0:e.base,...n},h=Ke(r==null?void 0:r.slots)?p:dc({...r==null?void 0:r.slots},Ke(p)?{base:e==null?void 0:e.base}:p),g=y=>{if(Ke(u)&&Ke(n)&&Ke(r==null?void 0:r.slots))return yn(c,y==null?void 0:y.class,y==null?void 0:y.className)(l);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(s&&!Array.isArray(s))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof s}`);let P=(T,k,w=[],M)=>{let O=w;if(typeof k=="string")O=O.concat(Jl(k).split(" ").map(F=>`${T}:${F}`));else if(Array.isArray(k))O=O.concat(k.reduce((F,E)=>F.concat(`${T}:${E}`),[]));else if(typeof k=="object"&&typeof M=="string"){for(let F in k)if(k.hasOwnProperty(F)&&F===M){let E=k[F];if(E&&typeof E=="string"){let V=Jl(E);O[M]?O[M]=O[M].concat(V.split(" ").map(H=>`${T}:${H}`)):O[M]=V.split(" ").map(H=>`${T}:${H}`)}else Array.isArray(E)&&E.length>0&&(O[M]=E.reduce((V,H)=>V.concat(`${T}:${H}`),[]))}}return O},x=(T,k=u,w=null,M=null)=>{var O;let F=k[T];if(!F||Ke(F))return null;let E=(O=M==null?void 0:M[T])!=null?O:y==null?void 0:y[T];if(E===null)return null;let V=ql(E),H=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,R=d==null?void 0:d[T],W=[];if(typeof V=="object"&&H)for(let[U,re]of Object.entries(V)){let X=F[re];if(U==="initial"){R=re;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(U)||(W=P(U,X,W,w))}let ee=F[V]||F[ql(R)];return typeof W=="object"&&typeof w=="string"&&W[w]?dc(W,ee):W.length>0?(W.push(ee),W):ee},C=()=>u?Object.keys(u).map(T=>x(T,u)):null,S=(T,k)=>{if(!u||typeof u!="object")return null;let w=new Array;for(let M in u){let O=x(M,u,T,k),F=T==="base"&&typeof O=="string"?O:O&&O[T];F&&(w[w.length]=F)}return w},$={};for(let T in y)y[T]!==void 0&&($[T]=y[T]);let N=(T,k)=>{var w;let M=typeof(y==null?void 0:y[T])=="object"?{[T]:(w=y[T])==null?void 0:w.initial}:{};return{...d,...$,...M,...k}},j=(T=[],k)=>{let w=[];for(let{class:M,className:O,...F}of T){let E=!0;for(let[V,H]of Object.entries(F)){let R=N(V,k);if(Array.isArray(H)){if(!H.includes(R[V])){E=!1;break}}else if(R[V]!==H){E=!1;break}}E&&(M&&w.push(M),O&&w.push(O))}return w},m=T=>{let k=j(a,T),w=j(r==null?void 0:r.compoundVariants,T);return Sp(w,k)},D=T=>{let k=m(T);if(!Array.isArray(k))return k;let w={};for(let M of k)if(typeof M=="string"&&(w.base=yn(w.base,M)(l)),typeof M=="object")for(let[O,F]of Object.entries(M))w[O]=yn(w[O],F)(l);return w},I=T=>{if(s.length<1)return null;let k={};for(let{slots:w=[],class:M,className:O,...F}of s){if(!Ke(F)){let E=!0;for(let V of Object.keys(F)){let H=N(V,T)[V];if(H===void 0||(Array.isArray(F[V])?!F[V].includes(H):F[V]!==H)){E=!1;break}}if(!E)continue}for(let E of w)k[E]=k[E]||[],k[E].push([M,O])}return k};if(!Ke(n)||!Ke(r==null?void 0:r.slots)){let T={};if(typeof h=="object"&&!Ke(h))for(let k of Object.keys(h))T[k]=w=>{var M,O;return yn(h[k],S(k,w),((M=D(w))!=null?M:[])[k],((O=I(w))!=null?O:[])[k],w==null?void 0:w.class,w==null?void 0:w.className)(l)};return T}return yn(c,C(),m(),y==null?void 0:y.class,y==null?void 0:y.className)(l)},b=()=>{if(!(!u||typeof u!="object"))return Object.keys(u)};return g.variantKeys=b(),g.extend=r,g.base=c,g.slots=h,g.variants=u,g.defaultVariants=d,g.compoundSlots=s,g.compoundVariants=a,g};const nh=258,oh=70,ah=223,sh=266;function ih({variant:e="default",className:t,short:r,width:n,height:o}){let a=r?ah:nh,s=r?sh:oh;const i=a/s;n&&(a=n,s=parseFloat((n/i).toFixed(2))),o&&(s=o,a=parseFloat((o*i).toFixed(2)));const l=we({base:"",variants:{variant:{default:"fill-secondary-green-500",dark:"fill-primary-green-500",light:"fill-white"}}});return r?L.jsx("svg",{preserveAspectRatio:"none",width:a,height:s,viewBox:"0 0 223 266",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:L.jsx("path",{d:"M222.964 194.18V85.6459C222.964 85.2381 222.88 84.8344 222.718 84.458C222.556 84.0816 222.319 83.74 222.02 83.4529C221.721 83.1657 221.366 82.9388 220.975 82.7852C220.585 82.6316 220.167 82.5543 219.746 82.5577H182.608C182.191 82.5577 181.777 82.6378 181.392 82.7933C181.006 82.9488 180.656 83.1767 180.362 83.4638C180.068 83.7509 179.836 84.0916 179.678 84.4661C179.521 84.8406 179.442 85.2416 179.445 85.6459V171.586C177.727 171.586 176.719 171.586 176.364 171.586C164.721 170.029 159.213 167.178 152.914 161.028C146.616 154.878 144.516 146.089 144.025 135.637V104.914C144.03 104.501 143.948 104.091 143.784 103.71C143.62 103.329 143.377 102.984 143.071 102.697L121.966 82.9009L101.434 62.498C101.143 62.1997 100.792 61.9617 100.403 61.7984C100.014 61.6351 99.5947 61.5498 99.1707 61.5478H66.0684C66.7731 54.8644 69.6353 48.5659 74.2486 43.5468C77.1792 40.3682 80.7538 37.8071 84.7504 36.0226C88.7469 34.2381 93.08 33.2684 97.4802 33.1738C98.2977 33.14 99.0706 32.8033 99.639 32.2335C100.207 31.6636 100.528 30.9041 100.534 30.112V2.66184C100.546 2.04062 100.331 1.43533 99.9266 0.952523C99.5226 0.469716 98.9556 0.140347 98.3255 0.0223983H97.7529C97.5176 -0.00746611 97.2792 -0.00746611 97.0439 0.0223983C84.1284 0.266286 71.4425 3.37237 59.9605 9.10208C49.7635 14.1971 41.0132 21.6355 34.4766 30.7653C27.94 39.8951 23.8167 50.4375 22.4681 61.4686H3.163C2.32163 61.4756 1.51715 61.804 0.924744 62.3824C0.332339 62.9608 -3.07314e-05 63.7423 2.13119e-09 64.5568V100.612C2.13119e-09 101.014 0.0817794 101.412 0.240735 101.783C0.39969 102.155 0.632697 102.492 0.926408 102.777C1.22012 103.061 1.56884 103.286 1.95259 103.44C2.33634 103.594 2.74763 103.673 3.163 103.673H21.841V201.517C21.841 201.922 21.9237 202.322 22.0844 202.695C22.245 203.068 22.4804 203.407 22.777 203.692C23.0736 203.976 23.4255 204.201 23.8124 204.354C24.1993 204.506 24.6136 204.583 25.0313 204.579H62.1691C62.5868 204.583 63.0011 204.506 63.388 204.354C63.7749 204.201 64.1268 203.976 64.4234 203.692C64.72 203.407 64.9554 203.068 65.116 202.695C65.2767 202.322 65.3595 201.922 65.3594 201.517V103.673H100.534V132.707C100.534 132.707 100.534 132.918 100.534 133.05C100.31 146.04 103.822 158.834 110.677 170.002C117.395 180.787 127.07 189.558 138.626 195.341C150.258 201.217 163.137 204.406 176.255 204.658H179.5C178.479 211.37 175.291 217.597 170.393 222.448C163.549 229.416 158.013 233.006 147.379 233.006C146.958 233.002 146.54 233.08 146.15 233.233C145.76 233.387 145.405 233.614 145.106 233.901C144.806 234.188 144.569 234.53 144.407 234.906C144.245 235.283 144.162 235.686 144.162 236.094V262.937C144.158 263.345 144.239 263.749 144.4 264.126C144.561 264.502 144.799 264.843 145.099 265.129C145.399 265.415 145.756 265.639 146.148 265.789C146.539 265.938 146.958 266.01 147.379 265.999C160.384 265.772 173.152 262.589 184.653 256.708C196.283 250.973 206.042 242.23 212.848 231.449C219.691 220.275 223.202 207.485 222.991 194.496C222.991 194.496 222.964 194.312 222.964 194.18Z"})}):L.jsxs("svg",{preserveAspectRatio:"none",width:a,height:s,viewBox:"0 0 258 70",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:[L.jsx("path",{d:"M44.1576 5.54621e-10H53.8953C54.117 5.54621e-10 54.3296 0.0853594 54.4864 0.2373C54.6431 0.389241 54.7312 0.595316 54.7312 0.810193V52.8634C54.7312 52.9694 54.7095 53.0745 54.6674 53.1724C54.6253 53.2703 54.5637 53.3591 54.486 53.4338C54.4082 53.5085 54.316 53.5675 54.2147 53.6075C54.1133 53.6474 54.0048 53.6675 53.8953 53.6666H44.1576C43.9378 53.6666 43.727 53.582 43.5716 53.4314C43.4162 53.2807 43.3289 53.0764 43.3289 52.8634V0.810193C43.3279 0.704125 43.3487 0.598926 43.3899 0.500669C43.4311 0.402411 43.492 0.31304 43.5691 0.237715C43.6461 0.162389 43.7378 0.102601 43.8388 0.0618008C43.9398 0.0210004 44.0482 -3.94095e-06 44.1576 5.54621e-10Z"}),L.jsx("path",{d:"M68.7089 51.2755C65.8506 49.7718 63.4549 47.4816 61.7891 44.6605C60.1032 41.7448 59.2396 38.4048 59.2947 35.0137C59.2396 31.6226 60.1032 28.2825 61.7891 25.3668C63.45 22.5364 65.8465 20.2384 68.7089 18.7312C71.8146 17.1539 75.2322 16.3335 78.6964 16.3335C82.1606 16.3335 85.5782 17.1539 88.6838 18.7312C91.5312 20.2475 93.9147 22.5442 95.5701 25.3668C97.251 28.2844 98.1121 31.6236 98.0578 35.0137C98.1121 38.4038 97.251 41.743 95.5701 44.6605C93.9093 47.4735 91.5268 49.7622 88.6838 51.2755C85.577 52.8486 82.1599 53.6668 78.6964 53.6668C75.2329 53.6668 71.8157 52.8486 68.7089 51.2755ZM85.1703 42.3177C86.8555 40.4802 87.6982 38.0432 87.6982 35.0068C87.6982 31.9703 86.8555 29.5379 85.1703 27.7096C84.3456 26.806 83.3434 26.093 82.2302 25.6178C81.1169 25.1426 79.9181 24.9161 78.7131 24.9534C77.5026 24.9186 76.2984 25.146 75.179 25.6209C74.0596 26.0957 73.0499 26.8074 72.2157 27.7096C70.5215 29.5287 69.6744 31.9657 69.6744 35.0206C69.6744 38.0754 70.5215 40.5078 72.2157 42.3177C73.0507 43.2189 74.0605 43.9299 75.1797 44.4047C76.2989 44.8795 77.5027 45.1075 78.7131 45.074C79.9179 45.1103 81.1166 44.8834 82.2297 44.4083C83.3428 43.9332 84.3451 43.2206 85.1703 42.3177Z"}),L.jsx("path",{d:"M187.827 5.54621e-10H197.565C197.787 5.54621e-10 197.999 0.0853594 198.156 0.2373C198.313 0.389241 198.401 0.595316 198.401 0.810193V52.8634C198.401 52.9694 198.379 53.0745 198.337 53.1724C198.295 53.2703 198.233 53.3591 198.156 53.4338C198.078 53.5085 197.986 53.5675 197.884 53.6075C197.783 53.6474 197.674 53.6675 197.565 53.6666H187.827C187.718 53.6666 187.611 53.6459 187.51 53.6055C187.41 53.5651 187.318 53.506 187.241 53.4314C187.164 53.3568 187.103 53.2682 187.062 53.1708C187.02 53.0733 186.999 52.9688 186.999 52.8634V0.810193C186.998 0.704125 187.018 0.598926 187.06 0.500669C187.101 0.402411 187.162 0.31304 187.239 0.237715C187.316 0.162389 187.407 0.102601 187.508 0.0618008C187.61 0.0210004 187.718 -3.94095e-06 187.827 5.54621e-10V5.54621e-10Z"}),L.jsx("path",{d:"M138.924 25.2187C137.26 22.3784 134.865 20.0701 132.005 18.5505C129.42 17.1729 126.578 16.3842 123.671 16.2378C123.128 16.1962 122.591 16.1408 122.027 16.1408C121.464 16.1408 120.927 16.1962 120.377 16.2378C117.94 16.3776 115.546 16.9589 113.304 17.955V0.810156C113.306 0.599481 113.227 0.396499 113.085 0.244956C112.944 0.0934118 112.75 0.00544026 112.546 0L103.406 0C103.198 0 102.998 0.0853555 102.851 0.237289C102.704 0.389223 102.621 0.59529 102.621 0.810156V52.861C102.623 53.0746 102.706 53.2789 102.853 53.4294C103 53.5798 103.199 53.6642 103.406 53.6642H112.546C112.752 53.6642 112.95 53.5796 113.096 53.4289C113.242 53.2783 113.324 53.074 113.324 52.861V51.8569C116.078 53.0793 119.049 53.6948 122.047 53.6642C125.51 53.718 128.931 52.8854 132.005 51.2407C134.853 49.7142 137.238 47.4069 138.897 44.5725C140.579 41.6406 141.441 38.285 141.386 34.8783C141.443 31.4859 140.591 28.1433 138.924 25.2187ZM128.523 42.2389C127.695 43.1457 126.691 43.8613 125.576 44.3387C124.461 44.8161 123.261 45.0445 122.054 45.0087C120.843 45.0424 119.638 44.8132 118.518 44.3361C117.398 43.859 116.387 43.1445 115.552 42.2389C114.427 40.9975 113.659 39.4587 113.331 37.7935C112.883 35.8844 112.883 33.8929 113.331 31.9839C113.659 30.3207 114.428 28.7842 115.552 27.5453C116.387 26.6387 117.397 25.9235 118.517 25.4463C119.638 24.9691 120.843 24.7406 122.054 24.7756C123.261 24.7385 124.462 24.9662 125.577 25.4437C126.692 25.9211 127.696 26.6375 128.523 27.5453C130.205 29.3918 131.046 31.8408 131.046 34.8921C131.046 37.9435 130.205 40.3924 128.523 42.2389Z"}),L.jsx("path",{d:"M171.742 17.1428V18.1215C169.01 16.9171 166.064 16.3092 163.092 16.3365C159.615 16.2772 156.179 17.1011 153.087 18.7349C150.224 20.2425 147.828 22.541 146.166 25.3719C144.48 28.2882 143.617 31.6289 143.672 35.0207C143.617 38.4125 144.48 41.7532 146.166 44.6695C147.834 47.4861 150.23 49.7718 153.087 51.2721C156.179 52.9037 159.616 53.7252 163.092 53.6636C166.064 53.693 169.009 53.0875 171.742 51.8855V52.8641C171.742 53.0762 171.824 53.2795 171.97 53.4294C172.116 53.5794 172.313 53.6636 172.52 53.6636H181.66C181.866 53.6636 182.064 53.5794 182.21 53.4294C182.355 53.2795 182.437 53.0762 182.437 52.8641V17.1428C182.437 16.9302 182.356 16.7261 182.21 16.5751C182.064 16.4241 181.866 16.3383 181.66 16.3365H172.52C172.313 16.3383 172.115 16.4241 171.969 16.5751C171.824 16.7261 171.742 16.9302 171.742 17.1428ZM169.549 42.3125C168.724 43.2155 167.722 43.9282 166.608 44.4035C165.495 44.8787 164.296 45.1056 163.092 45.0693C161.881 45.1028 160.677 44.8747 159.558 44.3998C158.439 43.9249 157.429 43.2138 156.594 42.3125C154.891 40.4746 154.039 38.0371 154.039 35C154.039 31.963 154.891 29.5255 156.594 27.6876C157.428 26.7852 158.438 26.0734 159.557 25.5984C160.677 25.1235 161.881 24.896 163.092 24.9308C164.297 24.8936 165.495 25.1201 166.609 25.5954C167.722 26.0707 168.724 26.7839 169.549 27.6876C170.66 28.9209 171.418 30.4446 171.742 32.0916C172.189 34.0033 172.189 35.9967 171.742 37.9085C171.416 39.5549 170.658 41.0781 169.549 42.3125Z"}),L.jsx("path",{d:"M41.0484 51.1316V17.1532C41.0485 16.9392 40.9619 16.7339 40.8076 16.582C40.6533 16.43 40.4437 16.3437 40.2246 16.3419H30.5438C30.3247 16.3437 30.1151 16.43 29.9608 16.582C29.8065 16.7339 29.7199 16.9392 29.7199 17.1532V18.2003C26.8101 16.9534 23.6643 16.3179 20.4866 16.335C16.8207 16.2935 13.2007 17.1342 9.9465 18.7828C6.92093 20.297 4.38759 22.6047 2.6309 25.4467C0.855237 28.3743 -0.0544231 31.7252 0.00296367 35.1271C-0.0590547 38.5392 0.853371 41.9008 2.638 44.8352C4.39099 47.6742 6.92257 49.9777 9.9465 51.4853C13.2111 53.1311 16.8413 53.9648 20.515 53.9123C23.7856 53.8752 27.015 53.196 30.0111 51.9152C30.0135 54.3789 29.0796 56.7559 27.3903 58.5861C25.6076 60.4167 24.116 61.3043 21.3318 61.3043C21.1127 61.3062 20.9031 61.3925 20.7488 61.5444C20.5945 61.6964 20.5079 61.9017 20.5079 62.1157V69.1887C20.5089 69.2968 20.5317 69.4036 20.5751 69.503C20.6185 69.6023 20.6817 69.6923 20.7609 69.7678C20.8402 69.8432 20.9339 69.9026 21.0368 69.9424C21.1397 69.9823 21.2496 70.0019 21.3603 70C24.7569 69.9521 28.0956 69.1331 31.112 67.6077C34.128 66.0809 36.6507 63.7667 38.3992 60.923C40.1863 57.9893 41.1012 54.6276 41.0413 51.2148C41.0413 51.2148 41.0484 51.1663 41.0484 51.1316ZM29.7199 37.8107C29.4003 39.553 28.5772 41.1698 27.3477 42.4706C26.475 43.379 25.4145 44.0961 24.2366 44.5742C23.0587 45.0524 21.7902 45.2808 20.515 45.2443C19.2361 45.2782 17.9641 45.0487 16.782 44.5708C15.5999 44.0929 14.5341 43.3773 13.654 42.4706C11.8594 40.6214 10.9598 38.1736 10.9551 35.1271C10.9503 32.0806 11.85 29.6328 13.654 27.7836C14.5349 26.878 15.6009 26.1631 16.7828 25.6852C17.9647 25.2074 19.2362 24.9773 20.515 25.0099C21.79 24.9747 23.0581 25.2037 24.2358 25.6818C25.4136 26.1599 26.4741 26.8762 27.3477 27.7836C28.5734 29.0842 29.396 30.6977 29.7199 32.4366C30.1081 34.2079 30.1081 36.0394 29.7199 37.8107Z"}),L.jsx("path",{d:"M257.684 51.0999V22.5384C257.684 22.4311 257.662 22.3248 257.621 22.2258C257.579 22.1267 257.519 22.0368 257.442 21.9613C257.366 21.8857 257.275 21.826 257.175 21.7856C257.076 21.7451 256.969 21.7248 256.861 21.7257H247.366C247.26 21.7257 247.154 21.7468 247.055 21.7877C246.957 21.8286 246.867 21.8886 246.792 21.9642C246.717 22.0397 246.658 22.1294 246.617 22.2279C246.577 22.3265 246.557 22.432 246.558 22.5384V45.1542C246.119 45.1542 245.861 45.1542 245.77 45.1542C242.793 44.7444 241.385 43.9943 239.775 42.3759C238.165 40.7575 237.628 38.4445 237.502 35.6939V27.6089C237.504 27.5002 237.483 27.3924 237.441 27.2921C237.399 27.1918 237.337 27.101 237.258 27.0254L231.863 21.816L226.614 16.4468C226.539 16.3683 226.449 16.3057 226.35 16.2627C226.251 16.2198 226.143 16.1973 226.035 16.1968H217.572C217.752 14.438 218.484 12.7805 219.663 11.4597C220.413 10.6232 221.327 9.94923 222.348 9.47962C223.37 9.01002 224.478 8.75484 225.603 8.72994C225.812 8.72104 226.009 8.63245 226.155 8.48249C226.3 8.33253 226.382 8.13267 226.384 7.92422V0.700484C226.386 0.537006 226.331 0.377718 226.228 0.250664C226.125 0.123609 225.98 0.0369334 225.819 0.00589429H225.672C225.612 -0.00196476 225.551 -0.00196476 225.491 0.00589429C222.189 0.0700753 218.946 0.887465 216.011 2.39528C213.404 3.73607 211.166 5.69354 209.495 8.09612C207.824 10.4987 206.77 13.273 206.425 16.1759H201.49C201.275 16.1778 201.069 16.2642 200.918 16.4164C200.766 16.5686 200.681 16.7743 200.681 16.9886V26.4767C200.681 26.5825 200.702 26.6873 200.743 26.7851C200.783 26.8828 200.843 26.9716 200.918 27.0465C200.993 27.1213 201.082 27.1806 201.18 27.2211C201.278 27.2616 201.384 27.2824 201.49 27.2824H206.265V53.0309C206.265 53.1373 206.286 53.2426 206.327 53.3408C206.368 53.439 206.428 53.5282 206.504 53.6031C206.58 53.678 206.67 53.7372 206.769 53.7773C206.868 53.8174 206.974 53.8375 207.081 53.8366H216.575C216.682 53.8375 216.788 53.8174 216.887 53.7773C216.986 53.7372 217.076 53.678 217.152 53.6031C217.227 53.5282 217.288 53.439 217.329 53.3408C217.37 53.2426 217.391 53.1373 217.391 53.0309V27.2824H226.384V34.9229C226.384 34.9229 226.384 34.9785 226.384 35.0132C226.326 38.4315 227.224 41.7984 228.977 44.7375C230.694 47.5755 233.168 49.8836 236.122 51.4056C239.096 52.9517 242.389 53.791 245.742 53.8575H246.572C246.311 55.6236 245.496 57.2623 244.243 58.539C242.494 60.3727 241.079 61.3173 238.36 61.3173C238.252 61.3164 238.145 61.3368 238.046 61.3772C237.946 61.4176 237.855 61.4774 237.779 61.5529C237.702 61.6285 237.641 61.7184 237.6 61.8174C237.559 61.9165 237.537 62.0227 237.537 62.13V69.194C237.536 69.3013 237.557 69.4076 237.598 69.5067C237.639 69.6058 237.7 69.6956 237.777 69.7708C237.854 69.846 237.945 69.9051 238.045 69.9444C238.145 69.9837 238.252 70.0025 238.36 69.9997C241.685 69.94 244.949 69.1025 247.889 67.5548C250.862 66.0456 253.358 63.7446 255.097 60.9075C256.847 57.9672 257.745 54.6012 257.691 51.1833C257.691 51.1833 257.684 51.1347 257.684 51.0999Z"})]})}function fc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=fc(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function pc(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=fc(e))&&(n&&(n+=" "),n+=t);return n}const Gt=(...e)=>cc(pc(e)),hc=({children:e,className:t,font:r="satoshi",weight:n="regular",...o})=>{const a=we({variants:{font:{satoshi:"font-satoshi",livvic:"font-livvic"},weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",black:"font-black"}}});return L.jsx("p",{...o,className:Gt(t,a({font:r,weight:n})),children:e})},lh={bra:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTA5OSIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MSAzNS4xODY1QzI3LjcyMzkgMzUuMTg2NSAzNS4xOTMzIDI3LjcxNzEgMzUuMTkzMyAxOC41MDMyQzM1LjE5MzMgOS4yODkyMSAyNy43MjM5IDEuODE5ODIgMTguNTEgMS44MTk4MkM5LjI5NjA0IDEuODE5ODIgMS44MjY2NiA5LjI4OTIxIDEuODI2NjYgMTguNTAzMkMxLjgyNjY2IDI3LjcxNzEgOS4yOTYwNCAzNS4xODY1IDE4LjUxIDM1LjE4NjVaIiBmaWxsPSIjMEI5RjU5Ii8+CjxwYXRoIGQ9Ik0xOC41MTAxIDguMzQ4MjhMMzIuMjkyIDE4LjUwMzNMMTguNTEwMSAyOC42NTg0TDQuNzI4MjQgMTguNTAzM0wxOC41MTAxIDguMzQ4MjhaIiBmaWxsPSIjRkZEQTQ0Ii8+CjxwYXRoIGQ9Ik0xOC41MDk5IDI0LjMwNjJDMjEuNzE0OCAyNC4zMDYyIDI0LjMxMjggMjEuNzA4MSAyNC4zMTI4IDE4LjUwMzNDMjQuMzEyOCAxNS4yOTg1IDIxLjcxNDggMTIuNzAwNCAxOC41MDk5IDEyLjcwMDRDMTUuMzA1MSAxMi43MDA0IDEyLjcwNyAxNS4yOTg1IDEyLjcwNyAxOC41MDMzQzEyLjcwNyAyMS43MDgxIDE1LjMwNTEgMjQuMzA2MiAxOC41MDk5IDI0LjMwNjJaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNS42MDgzIDE4LjEzOTdDMTQuNTk5MiAxOC4xMzk3IDEzLjYyNTQgMTguMjkzMSAxMi43MDg3IDE4LjU3NzlDMTIuNzQ5MyAyMS43NDc4IDE1LjMzMDMgMjQuMzA1MyAxOC41MDk4IDI0LjMwNTNDMjAuNDc1OCAyNC4zMDUzIDIyLjIxMjIgMjMuMzI2NiAyMy4yNjE4IDIxLjgzMDlDMjEuNDY2IDE5LjU4MjggMTguNzAyNyAxOC4xMzk3IDE1LjYwODMgMTguMTM5N1oiIGZpbGw9IiMwMDUyQjQiLz4KPHBhdGggZD0iTTI0LjIwNTEgMTkuNjE0MkMyNC4yNzUgMTkuMjU0MiAyNC4zMTI3IDE4Ljg4MjggMjQuMzEyNyAxOC41MDI1QzI0LjMxMjcgMTUuMjk3NiAyMS43MTQ3IDEyLjY5OTYgMTguNTA5OSAxMi42OTk2QzE2LjExODUgMTIuNjk5NiAxNC4wNjU3IDE0LjE0NjQgMTMuMTc3MyAxNi4yMTIxQzEzLjk2MjYgMTYuMDQ5NCAxNC43NzU3IDE1Ljk2MzcgMTUuNjA4NSAxNS45NjM3QzE4Ljk3ODggMTUuOTYzNyAyMi4wMjc4IDE3LjM2NDcgMjQuMjA1MSAxOS42MTQyWiIgZmlsbD0iIzAwNTJCNCIvPgo8L3N2Zz4K",esp:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTE2OCIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xLjgzMzUgMTguNTAyN0MxLjgzMzUgMjAuNTQzNCAyLjIwMDU5IDIyLjQ5ODIgMi44NzExOSAyNC4zMDU2TDE4LjUxNjggMjUuNzU2M0wzNC4xNjI1IDI0LjMwNTZDMzQuODMzMSAyMi40OTgyIDM1LjIwMDIgMjAuNTQzNCAzNS4yMDAyIDE4LjUwMjdDMzUuMjAwMiAxNi40NjIgMzQuODMzMSAxNC41MDcyIDM0LjE2MjUgMTIuNjk5OEwxOC41MTY4IDExLjI0OTFMMi44NzExOSAxMi42OTk4QzIuMjAwNTkgMTQuNTA3MiAxLjgzMzUgMTYuNDYyIDEuODMzNSAxOC41MDI3WiIgZmlsbD0iI0ZGREE0NCIvPgo8cGF0aCBkPSJNMzQuMTYyOCAxMi43MDAzQzMxLjgwNTUgNi4zNDczNSAyNS42OTA0IDEuODE5ODIgMTguNTE3MSAxLjgxOTgyQzExLjM0MzkgMS44MTk4MiA1LjIyODcgNi4zNDczNSAyLjg3MTQ2IDEyLjcwMDNIMzQuMTYyOFoiIGZpbGw9IiNEODAwMjciLz4KPHBhdGggZD0iTTIuODcxMTkgMjQuMzA1NkM1LjIyODQyIDMwLjY1ODYgMTEuMzQzOSAzNS4xODY1IDE4LjUxNzEgMzUuMTg2NUMyNS42OTA0IDM1LjE4NjUgMzEuODA1MiAzMC42NTg2IDM0LjE2MjUgMjQuMzA1NkgyLjg3MTE5WiIgZmlsbD0iI0Q4MDAyNyIvPgo8L3N2Zz4K",usa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTAzMyIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjcuNzE3NCAzNS4xODY1IDM1LjE4NjcgMjcuNzE3MSAzNS4xODY3IDE4LjUwMzJDMzUuMTg2NyA5LjI4OTIxIDI3LjcxNzQgMS44MTk4MiAxOC41MDM0IDEuODE5ODJDOS4yODk0NSAxLjgxOTgyIDEuODIwMDcgOS4yODkyMSAxLjgyMDA3IDE4LjUwMzJDMS44MjAwNyAyNy43MTcxIDkuMjg5NDUgMzUuMTg2NSAxOC41MDM0IDM1LjE4NjVaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDE4LjUwMzdIMzUuMTg2NkMzNS4xODY2IDE2Ljk5NzggMzQuOTg1OCAxNS41MzkxIDM0LjYxMTggMTQuMTUxNUgxNy43Nzc5VjE4LjUwMzdaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDkuNzk5MzRIMzIuNzM3OUMzMS43MTY2IDguMTMyODMgMzAuNDEwOCA2LjY1OTgxIDI4Ljg4ODMgNS40NDcxNEgxNy43Nzc5VjkuNzk5MzRaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjIuNDI5OCAzNS4xODY1IDI2LjAzODQgMzMuODI5OCAyOC44ODgyIDMxLjU2MDFIOC4xMTc5OUMxMC45Njc4IDMzLjgyOTggMTQuNTc3IDM1LjE4NjUgMTguNTAzNCAzNS4xODY1WiIgZmlsbD0iI0Q4MDAyNyIvPgo8cGF0aCBkPSJNNC4yNjg1NyAyNy4yMDhIMzIuNzM3OUMzMy41NTc4IDI1Ljg3MDEgMzQuMTkzNiAyNC40MDc3IDM0LjYxMTggMjIuODU1OEgyLjM5NDYzQzIuODEyODIgMjQuNDA3NyAzLjQ0ODY3IDI1Ljg3MDEgNC4yNjg1NyAyNy4yMDhaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik05LjU0ODEgNC40MjUxNkgxMS4wNjg0TDkuNjU0MjYgNS40NTI1NUwxMC4xOTQ0IDcuMTE0OTZMOC43ODAzNCA2LjA4NzU2TDcuMzY2MjMgNy4xMTQ5Nkw3LjgzMjg1IDUuNjc4ODJDNi41ODc3MiA2LjcxNTk5IDUuNDk2NCA3LjkzMTE0IDQuNTk3MDYgOS4yODUwOUg1LjA4NDJMNC4xODQwMiA5LjkzOTA3QzQuMDQzNzcgMTAuMTczIDMuOTA5MjYgMTAuNDEwNyAzLjc4MDM2IDEwLjY1MTlMNC4yMTAyMiAxMS45NzQ5TDMuNDA4MjQgMTEuMzkyMkMzLjIwODg5IDExLjgxNDYgMy4wMjY1NSAxMi4yNDY1IDIuODYyNjUgMTIuNjg3M0wzLjMzNjIzIDE0LjE0NUg1LjA4NDJMMy42NzAwMyAxNS4xNzI0TDQuMjEwMjIgMTYuODM0OEwyLjc5NjExIDE1LjgwNzRMMS45NDkwNCAxNi40MjI5QzEuODY0MjUgMTcuMTA0NCAxLjgyMDA3IDE3Ljc5ODYgMS44MjAwNyAxOC41MDMySDE4LjUwMzRDMTguNTAzNCA5LjI4OTI3IDE4LjUwMzQgOC4yMDMwMiAxOC41MDM0IDEuODE5ODJDMTUuMjA3NyAxLjgxOTgyIDEyLjEzNTQgMi43NzU4NiA5LjU0ODEgNC40MjUxNlpNMTAuMTk0NCAxNi44MzQ4TDguNzgwMzQgMTUuODA3NEw3LjM2NjIzIDE2LjgzNDhMNy45MDY0MiAxNS4xNzI0TDYuNDkyMjUgMTQuMTQ1SDguMjQwMjJMOC43ODAzNCAxMi40ODI2TDkuMzIwNDYgMTQuMTQ1SDExLjA2ODRMOS42NTQyNiAxNS4xNzI0TDEwLjE5NDQgMTYuODM0OFpNOS42NTQyNiAxMC4zMTI1TDEwLjE5NDQgMTEuOTc0OUw4Ljc4MDM0IDEwLjk0NzVMNy4zNjYyMyAxMS45NzQ5TDcuOTA2NDIgMTAuMzEyNUw2LjQ5MjI1IDkuMjg1MDlIOC4yNDAyMkw4Ljc4MDM0IDcuNjIyNjlMOS4zMjA0NiA5LjI4NTA5SDExLjA2ODRMOS42NTQyNiAxMC4zMTI1Wk0xNi4xNzg3IDE2LjgzNDhMMTQuNzY0NiAxNS44MDc0TDEzLjM1MDUgMTYuODM0OEwxMy44OTA3IDE1LjE3MjRMMTIuNDc2NSAxNC4xNDVIMTQuMjI0NUwxNC43NjQ2IDEyLjQ4MjZMMTUuMzA0NyAxNC4xNDVIMTcuMDUyN0wxNS42Mzg1IDE1LjE3MjRMMTYuMTc4NyAxNi44MzQ4Wk0xNS42Mzg1IDEwLjMxMjVMMTYuMTc4NyAxMS45NzQ5TDE0Ljc2NDYgMTAuOTQ3NUwxMy4zNTA1IDExLjk3NDlMMTMuODkwNyAxMC4zMTI1TDEyLjQ3NjUgOS4yODUwOUgxNC4yMjQ1TDE0Ljc2NDYgNy42MjI2OUwxNS4zMDQ3IDkuMjg1MDlIMTcuMDUyN0wxNS42Mzg1IDEwLjMxMjVaTTE1LjYzODUgNS40NTI1NUwxNi4xNzg3IDcuMTE0OTZMMTQuNzY0NiA2LjA4NzU2TDEzLjM1MDUgNy4xMTQ5NkwxMy44OTA3IDUuNDUyNTVMMTIuNDc2NSA0LjQyNTE2SDE0LjIyNDVMMTQuNzY0NiAyLjc2Mjc2TDE1LjMwNDcgNC40MjUxNkgxNy4wNTI3TDE1LjYzODUgNS40NTI1NVoiIGZpbGw9IiMwMDUyQjQiLz4KPC9zdmc+Cg=="},ch=({shadow:e,country:t,className:r,...n})=>{const o=we({base:"rounded-full",variants:{shadow:{true:"shadow-[4px_4px_6px_0px_rgba(0,0,0,0.17)]",false:""}}}),a=lh[t];return L.jsx("img",{...n,src:a,alt:`${t} flag`,className:Gt(r,o({shadow:e}))})},Ox="",Ue=({name:e,className:t,...r})=>L.jsx("span",{...r,className:`icon-${e} ${t??""}`});({IcoMoonType:"selection",icons:[{icon:{paths:["M695.177 547.182c48.599-38.234 84.074-90.672 101.482-150.006 17.414-59.336 15.898-122.624-4.332-181.059-20.236-58.435-58.178-109.11-108.546-144.977-50.375-35.867-110.679-55.141-172.514-55.141-61.842 0-122.139 19.273-172.514 55.141s-88.316 86.542-108.547 144.977c-20.233 58.435-21.747 121.723-4.335 181.059 17.411 59.334 52.885 111.77 101.483 150.006-83.277 33.367-155.938 88.703-210.238 160.112-54.3 71.413-88.203 156.219-98.097 245.383-0.715 6.509-0.144 13.098 1.687 19.387 1.829 6.286 4.879 12.155 8.977 17.262 8.274 10.321 20.307 16.934 33.454 18.377 13.147 1.448 26.329-2.389 36.649-10.663s16.929-20.309 18.376-33.455c10.884-96.902 57.090-186.399 129.789-251.386s166.794-100.912 264.305-100.912c97.512 0 191.604 35.926 264.305 100.912 72.696 64.989 118.901 154.483 129.789 251.386 1.348 12.18 7.159 23.433 16.315 31.578 9.156 8.15 21.003 12.617 33.258 12.543h5.452c12.992-1.492 24.87-8.066 33.039-18.276 8.174-10.217 11.976-23.243 10.583-36.251-9.94-89.417-44.024-174.441-98.609-245.963-54.579-71.52-127.592-126.838-211.213-160.027zM511.266 511.984c-39.215 0-77.554-11.629-110.162-33.417s-58.021-52.754-73.030-88.989c-15.007-36.232-18.935-76.102-11.284-114.564s26.536-73.795 54.267-101.525c27.731-27.731 63.062-46.616 101.525-54.267s78.334-3.724 114.564 11.284c36.232 15.007 67.199 40.422 88.991 73.030 21.787 32.608 33.417 70.945 33.417 110.161 0 52.59-20.89 103.022-58.077 140.213-37.183 37.183-87.617 58.072-140.208 58.072z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["user"],colorPermutations:{}},attrs:[],properties:{order:37,id:23,name:"user",prevSize:32,code:59658},setIdx:0,setId:3,iconIdx:0},{icon:{paths:["M526.086 521.84c23.866-20.659 43.009-46.207 56.127-74.918 13.118-28.707 19.908-59.901 19.908-91.464 0-59.31-23.562-116.193-65.502-158.13-41.936-41.938-98.819-65.501-158.129-65.501s-116.193 23.561-158.13 65.501c-41.938 41.938-65.501 98.822-65.501 158.13 0 31.564 6.789 62.757 19.909 91.464 13.119 28.71 32.26 54.257 56.126 74.918-62.61 28.351-115.731 74.134-153.010 131.876-37.28 57.747-57.139 125.002-57.204 193.732 0 11.86 4.712 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.861 0 23.238-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0-71.172 28.273-139.43 78.601-189.756 50.327-50.331 118.586-78.602 189.757-78.602s139.43 28.272 189.756 78.602c50.331 50.327 78.602 118.583 78.602 189.756 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c-0.068-68.732-19.926-135.985-57.205-193.732-37.281-57.742-90.397-103.524-153.009-131.876zM378.488 489.638c-26.539 0-52.48-7.866-74.545-22.613-22.067-14.742-39.265-35.702-49.42-60.217-10.155-24.518-12.812-51.497-7.635-77.526s17.957-49.936 36.722-68.701c18.765-18.765 42.674-31.544 68.701-36.722s53.008-2.52 77.528 7.635c24.515 10.155 45.473 27.353 60.215 49.42 14.747 22.067 22.613 48.008 22.613 74.545 0 35.586-14.138 69.715-39.301 94.877s-59.291 39.301-94.877 39.301zM814.122 503.948c28.626-32.235 47.32-72.050 53.841-114.663 6.522-42.611 0.587-86.199-17.085-125.518-17.676-39.318-46.337-72.689-82.533-96.099-36.201-23.407-78.391-35.855-121.498-35.845-11.86 0-23.24 4.712-31.626 13.1s-13.1 19.764-13.1 31.626c0 11.861 4.714 23.238 13.1 31.626s19.764 13.1 31.626 13.1c35.584 0 69.715 14.138 94.877 39.3s39.301 59.292 39.301 94.878c-0.064 23.492-6.294 46.555-18.065 66.886-11.776 20.327-28.679 37.212-49.024 48.957-6.632 3.825-12.171 9.291-16.085 15.864-3.919 6.58-6.078 14.053-6.279 21.705-0.188 7.594 1.561 15.109 5.085 21.839 3.52 6.726 8.694 12.451 15.041 16.624l17.443 11.628 5.815 3.131c53.914 25.571 99.394 66.016 131.092 116.57 31.693 50.554 48.282 109.115 47.813 168.783 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0.366-68.637-16.826-136.222-49.936-196.343-33.115-60.122-81.053-110.779-139.256-147.154z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["users"],colorPermutations:{}},attrs:[],properties:{order:38,id:22,name:"users",prevSize:32,code:59666},setIdx:0,setId:3,iconIdx:1},{icon:{paths:["M857.957 264.888h-49.422v-49.422c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426h-494.223c-39.324 0-77.034 15.621-104.84 43.426s-43.426 65.518-43.426 104.84v593.066c0 39.321 15.621 77.034 43.426 104.839s65.518 43.427 104.84 43.427h691.912c39.321 0 77.034-15.622 104.839-43.427s43.427-65.52 43.427-104.839v-395.378c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426zM166.044 166.043h494.223c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422h-543.644c-13.107 0-25.678-5.206-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.107 5.206-25.678 14.476-34.946s21.839-14.476 34.946-14.476zM907.378 660.266h-49.422c-13.106 0-25.68-5.208-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.106 5.208-25.68 14.476-34.946s21.839-14.476 34.946-14.476h49.422v98.844zM907.378 462.578h-49.422c-39.321 0-77.034 15.622-104.839 43.427s-43.427 65.52-43.427 104.839c0 39.321 15.622 77.034 43.427 104.839s65.52 43.427 104.839 43.427h49.422v49.422c0 13.106-5.208 25.68-14.476 34.946s-21.839 14.476-34.946 14.476h-691.912c-13.107 0-25.678-5.208-34.946-14.476s-14.476-21.839-14.476-34.946v-453.202c15.878 5.586 32.591 8.426 49.422 8.402h691.912c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["wallet"],colorPermutations:{}},attrs:[],properties:{order:39,id:21,name:"wallet",prevSize:32,code:59667},setIdx:0,setId:3,iconIdx:2},{icon:{paths:["M979.553 176.238c-6.483-6.535-14.195-11.724-22.693-15.262-8.5-3.542-17.616-5.365-26.818-5.365s-18.319 1.823-26.818 5.365c-8.5 3.542-16.213 8.727-22.693 15.262l-519.504 520.201-218.263-218.958c-6.732-6.501-14.678-11.612-23.382-15.044s-18.004-5.113-27.36-4.952c-9.357 0.159-18.592 2.163-27.172 5.897s-16.347 9.112-22.848 15.844c-6.501 6.73-11.612 14.677-15.043 23.382s-5.114 18.004-4.952 27.36c0.161 9.357 2.163 18.592 5.897 27.172s9.112 16.345 15.843 22.848l267.77 267.773c6.482 6.532 14.193 11.722 22.694 15.263 8.496 3.537 17.613 5.365 26.817 5.365s18.319-1.827 26.816-5.365c8.496-3.542 16.209-8.731 22.695-15.263l569.013-569.015c7.078-6.528 12.724-14.456 16.591-23.277s5.858-18.347 5.858-27.977c0-9.63-1.992-19.156-5.858-27.977s-9.511-16.746-16.591-23.277z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["check"],colorPermutations:{}},attrs:[],properties:{order:40,id:20,name:"check",prevSize:32,code:59668},setIdx:0,setId:3,iconIdx:3},{icon:{paths:["M441.48 33.984c-101.267 0-181.649 77.289-195.622 175.411-0.576-0.148-1.357-0.3-2.151-0.42l-0.154-0.021h-197.93c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h197.93c0.934-0.329 1.661-0.627 2.37-0.951l-0.175 0.073c13.778 98.344 94.31 175.852 195.731 175.852 111.011 0 201.335-91.419 201.335-203.090s-90.322-203.090-201.335-203.090zM441.48 90.222c80.312 0 145.098 65.272 145.098 146.854s-64.786 146.854-145.098 146.854c-80.312 0-144.989-65.272-144.989-146.854s64.676-146.854 144.989-146.854zM738.484 208.958c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0zM639.522 583.838c-111.010 0-201.335 91.42-201.335 203.090s90.323 203.090 201.335 203.090c101.43 0 182.067-77.505 195.841-175.852 0.506 0.249 1.192 0.546 1.892 0.813l0.193 0.065h197.93c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0h-197.93c-0.895 0.332-1.583 0.628-2.254 0.952l0.169-0.074c-13.773-98.346-94.413-175.852-195.841-175.852zM639.522 640.076c80.317 0 145.098 65.272 145.098 146.854s-64.783 146.854-145.098 146.854c-80.31 0-145.098-65.273-145.098-146.854s64.788-146.854 145.098-146.854zM45.622 758.808c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0z"],width:1081,attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["filters"],grid:0},attrs:[],properties:{order:36,id:0,name:"filters",prevSize:32,code:59665},setIdx:0,setId:3,iconIdx:4},{icon:{paths:["M221.91 16c-48.472 0-91.817 15.678-120.059 48.704s-39.686 78.531-39.686 132.284v742.129h-11.959c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h787.294c0.153 0.078 0.527 0.235 0.904 0.387l0.23 0.082c0.608-0.232 0.983-0.39 1.354-0.554l-0.218 0.087h134.021c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0h-100.951v-155.067c54.54-16.957 93.201-70.819 93.201-133.487v-110.371c0-75.121-54.176-141.17-126.606-141.17s-126.539 66.049-126.539 141.17v110.371c0 62.051 37.857 115.532 91.531 133.085v155.467h-161.681v-742.129c0-53.703-11.226-99.158-39.351-132.217s-71.454-48.771-119.925-48.771zM221.91 84.415h261.562c35.068 0 54.273 8.805 67.812 24.719s23.049 43.854 23.049 87.856v742.129h-185.533v-148.119c0-18.891-15.315-34.206-34.206-34.206v0c-18.891 0-34.206 15.315-34.206 34.206v0 148.119h-189.809v-742.129c0-43.953 9.613-71.84 23.25-87.789s33.010-24.786 68.080-24.786zM251.707 270.748c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM251.707 453.007c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM839.438 467.438c30.006 0 58.191 29.277 58.191 72.757v110.371c0 43.236-27.909 72.162-57.724 72.49-0.193-0.054-0.622-0.148-1.053-0.231l-0.217-0.034c-0.010 0-0.023 0-0.033 0s-0.025 0-0.035 0h0.002c-29.634-0.633-57.257-29.219-57.257-72.222v-110.371c0-43.481 28.118-72.757 58.125-72.757z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["building"],grid:0},attrs:[],properties:{order:32,id:1,name:"building",prevSize:32,code:59661},setIdx:0,setId:3,iconIdx:5},{icon:{paths:["M474.119 16c-80.744 0-133.002 18.798-160.546 57.657s-25.188 83.466-25.188 124.335v2.74h-13.162c-106.295 0-176.908 24.402-217.869 71.889s-45.635 110.102-38.75 170.768l35.477 368.794c0.042 0.341 0.067 0.5 0.092 0.658l-0.025-0.191c5.325 48.463 18.348 100.416 60.797 138.23s108.001 57.124 207.647 57.124h378.814c99.646 0 165.199-19.309 207.647-57.124s55.471-89.767 60.797-138.23c0 0.034 0.025-0.125 0.046-0.284l0.022-0.183 32.737-340.466 0.069-0.134c0-0.039 0-0.087 0-0.134s0-0.093 0-0.141v0.007l2.673-27.928c6.881-60.667 2.208-123.284-38.753-170.769s-111.574-71.889-217.869-71.889h-13.162v-2.74c0-40.869 2.356-85.474-25.188-124.335s-79.802-57.657-160.546-57.657zM474.119 84.415h75.763c70.807 0 94.347 14.202 104.691 28.796s12.626 43.914 12.626 84.783v2.74h-310.402v-2.74c0-40.869 2.283-70.189 12.626-84.783s33.884-28.796 104.691-28.796zM275.224 269.144h473.552c95.931 0 143.050 21.538 166.023 48.17s28.485 66.309 22.582 118.322c-0.009 0.036-0.032 0.243-0.055 0.451l-0.014 0.152-0.802 8.418c-90.418 61.486-191.449 98.993-295.569 117.186v-3.675c0-11.545 0.127-20.64-1.003-30.533-1.127-9.891-4.112-23.496-15.232-34.34s-24.375-13.492-34.271-14.565-19.227-0.936-31.067-0.936h-94.737c-11.84 0-21.171-0.137-31.067 0.935s-23.153 3.721-34.273 14.564c-11.122 10.844-14.105 24.449-15.232 34.34s-1.003 18.988-1.003 30.533v4.743c-103.328-16.824-204.524-52.276-294.967-112.376l-1.402-14.297c-0.034-0.355-0.058-0.562-0.084-0.768l0.017 0.166c-5.903-52.012-0.393-91.688 22.582-118.322s70.092-48.17 166.023-48.17zM928.696 525.763l-26.858 279.869v-0.467c-4.62 42.048-13.6 72.616-38.283 94.603s-71.408 39.819-162.149 39.819h-378.814c-90.739 0-137.466-17.83-162.149-39.819s-33.662-52.555-38.283-94.603v0.467l-26.456-275.126c90.546 52.332 187.8 87.604 288.487 102.42 0.946 18.776 3.822 38.317 17.639 57.322 20.648 28.406 58.343 40.688 110.17 40.688 52.096 0 89.971-12.499 110.505-41.088 13.846-19.276 16.588-38.976 17.438-57.858 100.973-16.032 198.085-52.864 288.755-106.229zM464.631 546.206h94.737c6.436 0 8.729 0.167 12.894 0.267 0.090 3.921 0.267 5.767 0.267 11.691v47.101c0 25.061-2.348 40.084-5.611 44.629s-12.767 12.626-54.918 12.626c-41.943 0-51.583-8.064-54.851-12.56s-5.678-19.275-5.678-44.229v-47.569c0-5.924 0.178-7.771 0.267-11.691 4.165-0.098 6.458-0.267 12.894-0.267z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["briefcase"],grid:0},attrs:[],properties:{order:33,id:2,name:"briefcase",prevSize:32,code:59662},setIdx:0,setId:3,iconIdx:6},{icon:{paths:["M482.712 22.394l-377.328 166.783c-31.614 13.974-46.767 41.583-46.767 74.318v153.774c0 42.336 32.474 80.455 76.119 80.455h7.738v255.977h-7.738c-43.641 0-76.119 38.118-76.119 80.455v104.807h-7.738c-18.865 0-34.157 15.292-34.157 34.157v0c0 18.865 15.292 34.157 34.157 34.157v0h922.239c18.865 0 34.157-15.292 34.157-34.157v0c0-18.865-15.292-34.157-34.157-34.157v0h-7.738v-104.807c0-42.335-32.478-80.455-76.119-80.455h-7.738v-255.977h7.738c43.644 0 76.119-38.121 76.119-80.455v-153.774c0-32.732-15.149-60.347-46.767-74.318l-377.328-166.783c-21.473-9.489-37.103-9.489-58.574 0zM510.266 84.905c-4.7 2.077 8.17 2.077 3.469 0l377.262 166.783c-2.269-1.003 6.071 10.263 6.071 11.809v153.774c0 8.614-5.338 12.142-7.805 12.142h-754.523c-2.467 0-7.805-3.53-7.805-12.142v-153.774c0-1.543 8.34-12.811 6.071-11.809zM512 174.698c-55.125 0-97.067 48.525-97.067 103.605s41.943 103.672 97.067 103.672c55.125 0 97.067-48.593 97.067-103.672s-41.943-103.605-97.067-103.605zM512 243.013c14.33 0 28.753 13.623 28.753 35.292s-14.423 35.359-28.753 35.359c-14.33 0-28.753-13.69-28.753-35.359s14.423-35.292 28.753-35.292zM210.791 497.723h99.403v255.977h-99.403zM378.507 497.723h99.336v255.977h-99.336zM546.157 497.723h99.336v255.977h-99.336zM713.807 497.723h99.403v255.977h-99.403zM134.738 822.016h754.523c2.47 0 7.805 3.522 7.805 12.142v104.807h-770.134v-104.807c0-8.617 5.335-12.142 7.805-12.142z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["bank"],grid:0},attrs:[],properties:{order:34,id:3,name:"bank",prevSize:32,code:59663},setIdx:0,setId:3,iconIdx:7},{icon:{paths:["M511.864 16.070c-272.629 0-495.93 223.302-495.93 495.93 0 272.626 223.302 495.93 495.93 495.93 272.631 0 496.066-223.304 496.066-495.93 0-272.629-223.435-495.93-496.066-495.93zM511.864 85.276c234.882 0 426.859 191.845 426.859 426.724s-191.977 426.724-426.859 426.724c-234.88 0-426.724-191.846-426.724-426.724s191.843-426.724 426.724-426.724z","M327.36 460.095c-28.667 0-51.905 23.238-51.905 51.905v0c0 28.667 23.238 51.905 51.905 51.905v0h369.142c28.667 0 51.905-23.238 51.905-51.905v0c0-28.667-23.238-51.905-51.905-51.905v0z","M512 275.593c-28.667 0-51.905 23.238-51.905 51.905v0 369.007c0 28.667 23.238 51.905 51.905 51.905v0c28.667 0 51.905-23.238 51.905-51.905v0-369.007c0-28.667-23.238-51.905-51.905-51.905v0z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["add-circle"],grid:0},attrs:[],properties:{order:35,id:4,name:"add-circle",prevSize:32,code:59664},setIdx:0,setId:3,iconIdx:8},{icon:{paths:["M512 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM512 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM810.667 128h-42.667v-42.667c0-11.316-4.497-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.315 0-22.17 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-341.333v-42.667c0-11.316-4.495-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.316 0-22.168 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-42.667c-33.948 0-66.505 13.486-90.51 37.49s-37.49 56.562-37.49 90.51v597.333c0 33.946 13.486 66.505 37.49 90.509s56.562 37.491 90.51 37.491h597.333c33.946 0 66.505-13.487 90.509-37.491s37.491-56.563 37.491-90.509v-597.333c0-33.948-13.487-66.505-37.491-90.51s-56.563-37.49-90.509-37.49zM853.333 853.333c0 11.315-4.497 22.17-12.497 30.17s-18.854 12.497-30.17 12.497h-597.333c-11.316 0-22.168-4.497-30.17-12.497s-12.497-18.854-12.497-30.17v-384h682.667v384zM853.333 384h-682.667v-128c0-11.316 4.495-22.168 12.497-30.17s18.854-12.497 30.17-12.497h42.667v42.667c0 11.316 4.495 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.316 0 22.168-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h341.333v42.667c0 11.316 4.497 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.315 0 22.17-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h42.667c11.315 0 22.17 4.495 30.17 12.497s12.497 18.854 12.497 30.17v128zM298.667 640c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM298.667 810.667c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[{}]},tags:["calendar"],grid:0},attrs:[{}],properties:{order:22,id:5,name:"calendar",prevSize:32,code:59660},setIdx:0,setId:3,iconIdx:9},{icon:{paths:["M92.308 1008.001l-76.307-76.31 419.692-419.691-419.692-419.692 76.307-76.307 419.692 419.692 419.691-419.692 76.31 76.307-419.692 419.692 419.692 419.691-76.31 76.31-419.691-419.692-419.692 419.692z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["close"],grid:0},attrs:[],properties:{order:20,id:6,name:"close",prevSize:32,code:59659},setIdx:0,setId:3,iconIdx:10},{icon:{paths:["M479.562 16.805l-25.249 2.704c-85.122 9.016-168.126 42.381-241.661 97.025-27.458 20.423-75.563 68.53-96.213 96.124-112.624 150.903-131.877 345.585-50.901 514.566 24.618 51.308 53.156 91.118 96.528 134.446 43.329 43.372 83.138 71.911 134.446 96.528 168.936 80.974 363.753 61.632 514.745-51.083 27.458-20.47 75.698-68.711 96.169-96.169 134.086-179.667 134.086-418.804 0-598.47-20.47-27.413-68.666-75.61-96.033-95.944-71.911-53.472-147.656-84.537-235.214-96.44-19.071-2.616-83.365-4.78-96.62-3.292zM571.537 110.494c115.556 17.447 216.593 82.507 281.336 181.201 13.662 20.875 33.498 61.272 42.020 85.663 15.6 44.769 21.866 83.183 21.866 134.357 0 67.314-11.587 118.17-40.442 177.639-31.786 65.555-79.757 120.244-142.157 161.949-35.573 23.806-92.472 47.612-136.114 57.034-25.62 5.722-55.043 8.998-85.231 8.998-96.674 0-185.496-33.609-255.424-89.779l0.796 0.619c-68.215-54.644-119.387-134.806-139.902-219.072-8.387-34.401-11-57.348-11-97.385 0-67.314 11.587-118.17 40.442-177.639 48.209-97.574 131.699-171.591 233.4-206.28l2.851-0.844c31.786-10.504 57.348-15.69 98.288-19.928 14.519-1.488 70.83 0.676 89.27 3.471zM494.621 288.856c-9.882 2.687-17.931 9.133-22.672 17.667l-0.094 0.187c-4.012 7.484-4.012 7.935-4.508 110.821-0.36 66.771 0.136 105.727 1.352 110.19 4.735 17.674 17.764 27.322 38.638 28.674 21.866 1.397 36.204-4.915 44.365-19.523l4.508-8.025v-214.608l-4.012-7.528c-2.526-4.494-5.734-8.293-9.532-11.395l-0.071-0.056c-11.903-8.52-32.507-11.227-47.972-6.403zM494.621 649.453c-17.764 5.816-25.925 17.223-27.277 38.097-1.397 21.687 4.959 36.025 19.523 44.184 6.988 3.923 10.235 4.508 25.158 4.508 14.067 0 18.395-0.721 24.346-3.876 14.698-7.935 20.739-19.611 20.739-40.306 0-28.99-12.939-42.922-41.344-44.365-8.567-0.452-16.455 0.224-21.146 1.759z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["alert-circle"],grid:0},attrs:[{}],properties:{order:3,id:8,name:"alert-circle",prevSize:32,code:59648},setIdx:0,setId:3,iconIdx:11},{icon:{paths:["M86.74 248.039c-13.743 7.271-32.022 25.885-39.226 39.959-3.593 6.962-5.699 15.194-5.699 23.918 0 8.777 2.132 17.053 5.906 24.343l-0.14-0.295c8.339 16.68 423.485 431.822 440.161 440.161 7.050 3.626 15.386 5.753 24.216 5.753s17.166-2.127 24.519-5.894l-0.303 0.141c16.68-8.339 431.822-423.485 440.161-440.161 11.741-23.549 5.737-47.899-17.345-70.981-22.684-22.684-48.099-28.753-71.58-17.012-7.472 3.734-71.38 65.711-193.329 187.392l-182.121 181.854-182.121-181.854c-121.949-121.682-185.858-183.656-193.329-187.392-7.274-3.457-15.806-5.475-24.812-5.475-9.058 0-17.641 2.042-25.313 5.692l0.355-0.152z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-down"],grid:0},attrs:[{}],properties:{order:4,id:9,name:"chevron-down",prevSize:32,code:59649},setIdx:0,setId:3,iconIdx:12},{icon:{paths:["M696.431 22.299c-16.683 8.519-455.166 447.703-463.259 463.964-3.67 7.465-5.925 16.214-6.192 25.461l-0.002 0.092c0 7.814 2.463 18.021 6.195 25.553 8.798 17.599 446.859 455.657 464.458 464.458 24.848 12.388 50.544 6.053 74.898-18.302 24.426-24.426 30.692-50.050 18.302-74.898-4.434-8.729-63.566-69.902-198.087-204.633l-191.892-192.174 191.892-192.174c134.521-134.733 193.654-195.904 198.087-204.633 12.388-24.848 6.124-50.472-18.302-74.898-23.934-23.934-51.6-30.411-76.097-17.811z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-left"],grid:0},attrs:[{}],properties:{order:5,id:10,name:"chevron-left",prevSize:32,code:59650},setIdx:0,setId:3,iconIdx:13},{icon:{paths:["M274.397 21.85c-14.506 7.676-33.802 27.323-41.407 42.182-3.793 7.347-6.016 16.037-6.016 25.248 0 9.265 2.25 18.003 6.233 25.699l-0.148-0.312c4.436 8.732 63.589 69.927 198.164 204.713l191.967 192.248-191.967 192.248c-134.573 134.785-193.727 195.98-198.164 204.713-12.393 24.858-6.126 50.492 18.309 74.927 24.366 24.366 50.068 30.704 74.927 18.309 17.606-8.802 455.833-447.031 464.636-464.636 3.671-7.468 5.928-16.22 6.194-25.472l0.002-0.092c-0.268-9.341-2.525-18.096-6.36-25.936l0.164 0.373c-8.522-17.112-446.96-455.833-464.002-464.284-7.679-3.647-16.687-5.779-26.192-5.779-9.563 0-18.623 2.157-26.72 6.009l0.376-0.161z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-right"],grid:0},attrs:[{}],properties:{order:6,id:11,name:"chevron-right",prevSize:32,code:59651},setIdx:0,setId:3,iconIdx:14},{icon:{paths:["M122.87 145.282c-45.789 7.741-83.47 41.162-97.682 86.706l-3.85 12.287v535.715l3.85 12.287c12.591 40.186 43.612 71.207 82.901 83.554l0.897 0.243 12.287 3.85h781.455l12.287-3.85c40.186-12.591 71.207-43.612 83.554-82.901l0.243-0.897 3.85-12.287v-535.715l-3.85-12.287c-12.527-39.881-43.174-70.717-82.042-83.262l-0.897-0.25-13.147-4.136-385.813-0.246c-212.197-0.122-389.54 0.41-394.045 1.187zM893.308 227.933c6.274 1.981 11.613 5.404 15.833 9.892l0.019 0.020c12.122 12.122 12.41 14.212 12.41 87.812v63.606h-819.135v-63.606c0-73.641 0.287-75.688 12.451-87.812 4.087-4.335 9.153-7.7 14.847-9.746l0.265-0.083c6.554-2.006 60.903-2.375 381.308-2.458 329.949-0.122 374.59 0.163 382.004 2.375zM921.568 616.736c0 157.93 0.205 154.324-9.051 166.448-2.499 3.277-7.945 7.986-12.082 10.403l-7.536 4.424h-761.796l-7.536-4.424c-4.601-2.832-8.531-6.217-11.861-10.129l-0.058-0.069c-9.543-12.532-9.216-6.511-9.216-165.793v-146.42h819.135v145.56z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["credit-card"],grid:0},attrs:[{}],properties:{order:7,id:12,name:"credit-card",prevSize:32,code:59652},setIdx:0,setId:3,iconIdx:15},{icon:{paths:["M124.444 1024c-25.6 0-48-9.603-67.2-28.803s-28.8-41.597-28.8-67.197v-228.801h96v228.801h832v-228.801h96v228.801c0 25.6-9.603 47.997-28.803 67.197s-41.597 28.803-67.197 28.803h-832zM540.444 779.201l-308.8-308.801 68.8-68.8 192 192.002v-593.601h96.003v593.601l192-192.002 68.796 68.8-308.799 308.801z"],width:1081,attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["download"],grid:0},attrs:[{}],properties:{order:8,id:13,name:"download",prevSize:32,code:59653},setIdx:0,setId:3,iconIdx:16},{icon:{paths:["M794.006 17.661l-151.696 1.040-9.863 5.054c-16.85 8.673-23.837 23.986-22.3 48.666 1.437 22.747 11.943 37.069 31.023 42.371 4.362 1.239 44.353 2.031 101.345 2.031h94.11l-234.158 234.406c-167.702 167.801-235.446 236.884-238.618 243.178-8.721 17.494-4.311 35.583 12.884 52.728 17.147 17.197 35.236 21.607 52.728 12.884 6.293-3.172 75.377-70.917 243.178-238.618l234.406-234.158v94.11c0 56.992 0.793 96.984 2.031 101.345 5.301 19.080 19.624 29.586 42.371 31.023 24.034 1.536 39.794-5.402 48.764-21.459l4.956-8.822 1.337-156.601c0.743-86.13 1.389-159.525 1.487-163.094 0.199-9.367-10.010-30.676-17.197-35.781-11.101-7.88-24.034-12.29-34.839-11.796-5.65 0.247-78.549 0.942-161.954 1.487zM138.857 168.514c-55.307 9.267-100.999 49.804-118.194 104.912l-4.659 14.867v598.654l4.659 14.867c15.235 48.626 52.77 86.159 100.311 101.101l1.085 0.293 14.867 4.659h598.654l14.867-4.659c48.626-15.235 86.159-52.77 101.101-100.311l0.293-1.085 4.659-14.867v-342.936l-4.51-8.424c-8.177-15.363-27.751-23.787-50.3-21.756-21.557 1.983-36.326 13.034-41.281 30.924-1.288 4.558-2.031 65.068-2.031 163.985 0 170.081 0.149 167.504-10.951 182.074-3.023 3.964-9.614 9.664-14.62 12.587l-9.119 5.353h-574.865l-9.119-5.353c-5.567-3.428-10.323-7.523-14.351-12.254l-0.070-0.086c-11.796-15.463-11.15 1.585-11.15-302.349 0-314.194-1.090-292.092 15.016-308.198 15.61-15.61 8.177-15.016 186.040-15.016 98.917 0 159.377-0.743 163.935-2.031 11.026-3.042 20.021-10.196 25.414-19.667l0.108-0.206c4.311-7.73 4.956-11.2 4.906-27.653-0.050-21.459-4.014-31.964-14.916-39.696-13.925-9.911-13.034-9.863-185.048-9.614-88.411 0.098-165.274 0.991-170.726 1.884z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["external-link"],grid:0},attrs:[{}],properties:{order:9,id:14,name:"external-link",prevSize:32,code:59654},setIdx:0,setId:3,iconIdx:17},{icon:{paths:["M37.011 21.092c-7.44 4.919-15.211 13.392-19.096 20.832-2.893 5.497-2.397 26.205 0.744 32.446 1.488 2.893 43.936 46.623 94.363 97.173l91.676 91.883-22.072 19.881c-55.882 50.302-111.391 120.526-152.394 192.652-19.923 35.091-19.551 40.216 6.572 83.906 22.981 38.439 50.839 77.582 81.963 114.987 17.277 20.832 68.571 72.374 88.204 88.659 77.664 64.52 156.486 101.967 243.863 115.938 29.181 4.671 84.691 4.919 114.905 0.537 64.774-9.256 123.081-30.451 174.918-61.366l-2.146 1.186 14.053-8.391 95.891 95.643c52.74 52.575 98.289 96.801 101.182 98.289 3.431 1.695 9.589 2.645 17.484 2.645 10.871 0 13.061-0.579 19.881-5.084 7.44-4.919 15.211-13.392 19.096-20.832 1.033-1.984 1.901-9.135 1.901-15.872 0-10.788-0.579-13.061-4.877-19.509-6.696-10.003-922.132-924.736-928.745-928.042-3.431-1.695-9.631-2.645-17.484-2.645-10.871 0-13.061 0.579-19.881 5.084zM483.073 140.957c-38.77 3.885-70.679 9.879-81.384 15.335-17.443 8.928-22.651 27.611-14.467 51.748 3.431 9.961 12.565 20.501 19.964 22.94 7.233 2.397 20.584 2.356 31.413-0.083 21.828-4.99 46.894-7.847 72.629-7.847 24.765 0 48.908 2.647 72.168 7.674l-2.239-0.405c112.673 22.94 225.345 110.358 314.128 243.697 27.404 41.126 25.833 34.802 13.681 54.89-18.486 29.629-36.424 54.854-55.698 78.967l1.263-1.635c-15.665 19.427-20.419 28.396-20.419 38.728 0 9.961 3.844 17.897 13.020 26.825 15.789 15.335 32.074 19.179 47.078 10.995 16.285-8.845 62.164-70.431 96.553-129.578 23.188-39.844 23.064-44.267-2.356-87.212-37.302-62.647-79.77-116.755-128.241-164.821l-0.056-0.055c-52.906-52.864-96.015-84.608-154.667-113.789-47.987-23.891-92.875-37.778-142.185-43.978-14.921-1.901-69.067-3.472-80.186-2.397zM363.497 436.278c-7.027 12.235-16.161 40.547-18.6 57.411-2.273 15.748-1.281 38.026 2.439 55.51 13.81 64.070 63.4 113.659 126.385 127.273l1.085 0.197c36.992 7.853 73.986 2.976 109.035-14.467l13.144-6.531 95.767 95.767-18.145 9.093c-55.551 27.859-106.762 40.010-167.562 39.762-34.884-0.124-55.51-2.852-85.146-11.325-108.953-31.041-213.029-116.558-296.355-243.491-23.767-36.207-22.609-30.421-10.209-50.798 36.103-58.15 77.662-108.281 125.123-152.115l0.487-0.445 22.196-20.295 105.481 105.481-5.125 8.969zM482.99 541.677c28.148 28.189 50.839 51.5 50.426 51.872-2.371 0.956-5.22 1.825-8.155 2.456l-0.358 0.065c-32.694 8.019-71.795-10.664-88.618-42.324-7.068-13.309-10.871-31.165-9.424-44.226s2.645-19.013 3.927-19.013c0.579 0 24.097 23.023 52.203 51.17z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye-off"],grid:0},attrs:[{}],properties:{order:10,id:15,name:"eye-off",prevSize:32,code:59655},setIdx:0,setId:3,iconIdx:18},{icon:{paths:["M476.812 145.058c-91.938 8.183-178.844 45.99-262.682 114.237-22.013 17.88-73.24 69.23-93.411 93.576-27.898 33.332-54.401 70.307-78.054 109.206l-2.265 4.009c-25.408 43.004-25.408 48.075 0 91.079 26.595 43.828 53.754 81.602 83.511 117.127l-1.187-1.456c17.103 20.621 67.881 71.644 87.316 87.765 95.252 79.132 196.848 119.231 301.963 119.231 101.186 0 199.262-37.274 291.528-110.8 24.55-19.599 77.168-71.317 97.789-96.194 28.531-34.062 55.678-71.838 79.947-111.56l2.335-4.112c25.408-43.004 25.408-48.075 0-91.079-36.927-62.014-78.968-115.578-126.948-163.159l-0.056-0.055c-52.373-52.333-95.049-83.755-153.109-112.642-47.258-23.526-92.471-37.52-140.752-43.534-19.762-2.456-66.611-3.355-85.924-1.636zM542.401 226.93c113.297 11.048 221.112 79.46 315.996 200.613 12.97 16.572 49.221 69.557 54.46 79.622 2.865 5.524 3.109 4.991-18.289 37.602-76.268 116.162-173.648 200.285-270.457 233.633-36.375 12.521-63.503 17.677-100.654 19.107-41.858 1.595-75.777-3.436-118.575-17.634-99.877-33.061-197.545-116.447-275.448-235.106-21.4-32.57-21.154-32.118-18.289-37.561 5.319-10.106 35.598-54.828 49.058-72.503 112.439-147.544 247.339-220.865 382.198-207.772zM485.731 350.456c-46.153 7.2-90.63 37.358-114.115 77.413-14.495 23.907-23.073 52.8-23.073 83.696 0 68.318 41.943 126.839 101.484 151.218l1.089 0.394c18.045 7.475 38.999 11.817 60.968 11.817 68.256 0 126.725-41.91 151.074-101.401l0.393-1.088c7.497-18.004 11.851-38.921 11.851-60.853 0-21.895-4.34-42.775-12.205-61.827l0.393 1.079c-21.587-53.034-68.85-91.572-125.925-100.454l-0.915-0.116c-7.561-1.328-16.266-2.088-25.149-2.088-9.141 0-18.093 0.805-26.792 2.346l0.92-0.135zM533.4 432.78c30.737 8.794 53.801 34.225 59.016 65.681l0.066 0.48c4.092 26.718-3.846 50.859-23.077 70.131-16.407 16.489-35.024 24.386-57.404 24.386-21.072 0-39.361-7.284-55.114-21.891-54.418-50.572-18.985-141.571 55.114-141.571 5.851 0 15.467 1.268 21.4 2.782z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye"],grid:0},attrs:[{}],properties:{order:11,id:16,name:"eye",prevSize:32,code:59656},setIdx:0,setId:3,iconIdx:19},{icon:{paths:["M481.28 43.648l-23.893 2.56c-80.555 8.533-159.104 40.107-228.693 91.819-25.984 19.328-71.509 64.853-91.051 90.965-106.581 142.805-124.8 327.040-48.171 486.955 23.296 48.555 50.304 86.229 91.349 127.232 41.003 41.045 78.677 68.053 127.232 91.349 159.872 76.629 344.235 58.325 487.125-48.341 25.984-19.371 71.637-65.024 91.008-91.008 126.891-170.027 126.891-396.331 0-566.357-19.371-25.941-64.981-71.552-90.88-90.795-68.053-50.603-139.733-80-222.592-91.264-18.048-2.475-78.891-4.523-91.435-3.115zM568.32 132.309c109.355 16.512 204.971 78.080 266.24 171.477 12.928 19.755 31.701 57.984 39.765 81.067 14.763 42.368 20.693 78.72 20.693 127.147 0 63.701-10.965 111.829-38.272 168.107-30.080 62.037-75.477 113.792-134.528 153.259-33.664 22.528-87.509 45.056-128.811 53.973-24.244 5.414-52.089 8.515-80.658 8.515-91.486 0-175.543-31.805-241.717-84.962l0.754 0.586c-64.555-51.712-112.981-127.573-132.395-207.317-7.936-32.555-10.411-54.272-10.411-92.16 0-63.701 10.965-111.829 38.272-168.107 45.622-92.339 124.633-162.383 220.876-195.211l2.698-0.799c30.080-9.941 54.272-14.848 93.013-18.859 13.739-1.408 67.029 0.64 84.48 3.285zM482.133 257.792c-22.357 3.456-48.768 14.165-70.827 28.715-38.101 25.131-71.424 80-66.261 109.184 2.56 14.72 15.104 25.173 36.309 30.421 9.771 2.389 12.843 2.517 19.499 0.768 11.392-3.029 20.821-12.971 27.563-28.928 6.741-16.085 12.8-25.003 23.509-34.645 26.325-23.68 61.141-28.501 94.208-13.013 14.848 6.955 31.744 24.021 38.997 39.381 6.059 12.843 9.643 32.128 8.021 43.093-4.096 27.221-38.699 56.917-92.288 79.232-31.019 12.885-39.424 24.107-34.944 46.805 5.675 28.8 22.997 43.221 46.421 38.613 24.832-4.907 68.651-26.965 97.451-49.109 49.365-37.973 71.595-80.213 68.949-130.987-2.261-43.136-18.731-79.957-49.749-111.189-21.063-21.482-47.858-37.271-77.909-44.894l-1.152-0.248c-15.317-3.968-51.925-5.675-67.797-3.2zM495.531 685.013c-16.811 5.504-24.533 16.299-25.813 36.053-1.323 20.523 4.693 34.091 18.475 41.813 6.613 3.712 9.685 4.267 23.808 4.267 13.312 0 17.408-0.683 23.040-3.669 13.909-7.509 19.627-18.56 19.627-38.144 0-27.435-12.245-40.619-39.125-41.984-8.107-0.427-15.573 0.213-20.011 1.664z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["help-circle"],grid:0},attrs:[{}],properties:{order:12,id:17,name:"help-circle",prevSize:32,code:59657},setIdx:0,setId:3,iconIdx:20}],height:1024,metadata:{name:"icomoon"},preferences:{showGlyphs:!0,showQuickUse:!0,showQuickUse2:!0,showSVGs:!0,fontPref:{prefix:"icon-",metadata:{fontFamily:"icomoon"},metrics:{emSize:1024,baseline:6.25,whitespace:50},embed:!1},imagePref:{prefix:"icon-",png:!0,useClassSelector:!0,color:0,bgColor:16777215,classSelector:".icon",name:"icomoon"},historySize:50,showCodes:!0,gridSize:16,showGrid:!1}}).icons.map(e=>e.properties.name).reduce((e,t)=>(e[t]=t,e),{});const Eo={prefix:String(Math.round(Math.random()*1e10)),current:0},mc=f.createContext(Eo),uh=f.createContext(!1);let dh=!!(typeof window<"u"&&window.document&&window.document.createElement),os=new WeakMap;function fh(e=!1){let t=f.useContext(mc),r=f.useRef(null);if(r.current===null&&!e){var n,o;let a=(o=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(n=o.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let s=os.get(a);s==null?os.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==s.state&&(t.current=s.id,os.delete(a))}r.current=++t.current}return r.current}function ph(e){let t=f.useContext(mc);t===Eo&&!dh&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=fh(!!e),n=t===Eo&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function hh(e){let t=f.useId(),[r]=f.useState(gc()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Eo.prefix}`;return e||`${n}-${t}`}const mh=typeof f.useId=="function"?hh:ph;function gh(){return!1}function vh(){return!0}function bh(e){return()=>{}}function gc(){return typeof f.useSyncExternalStore=="function"?f.useSyncExternalStore(bh,gh,vh):f.useContext(uh)}function yh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xh(e,t,r){yh(e,t),t.set(e,r)}function Lr(e,t,r){let[n,o]=f.useState(e||t),a=f.useRef(e!==void 0),s=e!==void 0;f.useEffect(()=>{let c=a.current;c!==s&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s},[s]);let i=s?e:n,l=f.useCallback((c,...u)=>{let d=(p,...h)=>{r&&(Object.is(i,p)||r(p,...h)),s||(i=p)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((h,...g)=>{let b=c(s?i:h,...g);return d(b,...u),s?h:b})):(s||o(c),d(c,...u))},[s,i,r]);return[i,l]}const kt=typeof document<"u"?f.useLayoutEffect:()=>{};function We(e){const t=f.useRef(null);return kt(()=>{t.current=e},[e]),f.useCallback((...r)=>{const n=t.current;return n(...r)},[])}function wh(e){let[t,r]=f.useState(e),n=f.useRef(null),o=We(()=>{let s=n.current.next();if(s.done){n.current=null;return}t===s.value?o():r(s.value)});kt(()=>{n.current&&o()});let a=We(s=>{n.current=s(t),o()});return[t,a]}let Ch=!!(typeof window<"u"&&window.document&&window.document.createElement),$o=new Map;function _r(e){let[t,r]=f.useState(e),n=f.useRef(null),o=mh(t),a=f.useCallback(s=>{n.current=s},[]);return Ch&&$o.set(o,a),kt(()=>{let s=o;return()=>{$o.delete(s)}},[o]),f.useEffect(()=>{let s=n.current;s&&(n.current=null,r(s))}),o}function Ph(e,t){if(e===t)return e;let r=$o.get(e);if(r)return r(t),t;let n=$o.get(t);return n?(n(e),e):t}function vc(e=[]){let t=_r(),[r,n]=wh(t),o=f.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return kt(o,[t,o,...e]),r}function dr(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const Ct=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},xn=e=>e&&"window"in e&&e.window===e?e:Ct(e).defaultView||window;function ie(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],s=n[o];typeof a=="function"&&typeof s=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=dr(a,s):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof s=="string"?t[o]=pc(a,s):o==="id"&&a&&s?t.id=Ph(a,s):t[o]=s!==void 0?s:a}}return t}const Mh=new Set(["id"]),Th=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Sh=new Set(["href","target","rel","download","ping","referrerPolicy"]),Eh=/^(data-.*)$/;function Fr(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,a={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(Mh.has(s)||r&&Th.has(s)||n&&Sh.has(s)||o!=null&&o.has(s)||Eh.test(s))&&(a[s]=e[s]);return a}function tt(e){if($h())e.focus({preventScroll:!0});else{let t=Dh(e);e.focus(),Ih(t)}}let Do=null;function $h(){if(Do==null){Do=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Do=!0,!0}})}catch{}}return Do}function Dh(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function Ih(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function Io(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function as(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function qt(){return as(/^Mac/i)}function kh(){return as(/^iPhone/i)}function bc(){return as(/^iPad/i)||qt()&&navigator.maxTouchPoints>1}function wn(){return kh()||bc()}function Ah(){return qt()||wn()}function Oh(){return Io(/AppleWebKit/i)&&!Nh()}function Nh(){return Io(/Chrome/i)}function yc(){return Io(/Android/i)}function jh(){return Io(/Firefox/i)}const Lh=f.createContext({isNative:!0,open:Fh});function xc(){return f.useContext(Lh)}function At(e,t,r=!0){var n,o;let{metaKey:a,ctrlKey:s,altKey:i,shiftKey:l}=t;jh()&&(!((o=window.event)===null||o===void 0||(n=o.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(qt()?a=!0:s=!0);let c=Oh()&&qt()&&!bc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:s,altKey:i,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:s,altKey:i,shiftKey:l,bubbles:!0,cancelable:!0});At.isOpening=r,tt(e),e.dispatchEvent(c),At.isOpening=!1}At.isOpening=!1;function _h(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Fh(e,t){_h(e,r=>At(r,t))}let Vr=new Map,ss=new Set;function wc(){if(typeof window>"u")return;let e=r=>{let n=Vr.get(r.target);n||(n=new Set,Vr.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Vr.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Vr.delete(r.target)),Vr.size===0)){for(let o of ss)o();ss.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?wc():document.addEventListener("DOMContentLoaded",wc));function is(e){requestAnimationFrame(()=>{Vr.size===0?e():ss.add(e)})}function ls(){let e=f.useRef(new Map),t=f.useCallback((o,a,s,i)=>{let l=i!=null&&i.once?(...c)=>{e.current.delete(s),s(...c)}:s;e.current.set(s,{type:a,eventTarget:o,fn:l,options:i}),o.addEventListener(a,s,i)},[]),r=f.useCallback((o,a,s,i)=>{var l;let c=((l=e.current.get(s))===null||l===void 0?void 0:l.fn)||s;o.removeEventListener(a,c,i),e.current.delete(s)},[]),n=f.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return f.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function cs(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=_r(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function us(e,t){kt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function Cc(e,t){for(Pc(e,t)&&(e=e.parentElement);e&&!Pc(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Pc(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}let Vh=0;const ds=new Map;function zh(e){let[t,r]=f.useState(void 0);return kt(()=>{if(!e)return;let n=ds.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Vh++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},ds.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),ds.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Wh(e,t,r,n){let o=We(r),a=r==null;f.useEffect(()=>{if(a)return;let s=e.current;return s.addEventListener(t,o,n),()=>{s.removeEventListener(t,o,n)}},[e,t,n,a,o])}function Mc(e,t){let r=Tc(e,t,"left"),n=Tc(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,s=e.scrollLeft,i=e.scrollTop,{borderTopWidth:l,borderLeftWidth:c}=getComputedStyle(e),u=e.scrollLeft+parseInt(c,10),d=e.scrollTop+parseInt(l,10),p=u+e.clientWidth,h=d+e.clientHeight;r<=s?s=r-parseInt(c,10):r+o>p&&(s+=r+o-p),n<=d?i=n-parseInt(l,10):n+a>h&&(i+=n+a-h),e.scrollLeft=s,e.scrollTop=i}function Tc(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function Sc(e,t){if(document.contains(e)){let s=document.scrollingElement||document.documentElement;if(window.getComputedStyle(s).overflow==="hidden"){let l=Cc(e);for(;e&&l&&e!==s&&l!==s;)Mc(l,e),e=l,l=Cc(e)}else{var r;let{left:l,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:u,top:d}=e.getBoundingClientRect();if(Math.abs(l-u)>1||Math.abs(c-d)>1){var n,o,a;t==null||(o=t.containingElement)===null||o===void 0||(n=o.scrollIntoView)===null||n===void 0||n.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Cn(e){return e.mozInputSource===0&&e.isTrusted?!0:yc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Ec(e){return!yc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function fs(e,t,r){let n=f.useRef(t),o=We(()=>{r&&r(n.current)});f.useEffect(()=>{var a;let s=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return s==null||s.addEventListener("reset",o),()=>{s==null||s.removeEventListener("reset",o)}},[e,o])}const Bh=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Rh=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Kh(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Bh.has(r.script)}let t=e.split("-")[0];return Rh.has(t)}const Uh=Symbol.for("react-aria.i18n.locale");function $c(){let e=typeof window<"u"&&window[Uh]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Kh(e)?"rtl":"ltr"}}let ps=$c(),Pn=new Set;function Dc(){ps=$c();for(let e of Pn)e(ps)}function Hh(){let e=gc(),[t,r]=f.useState(ps);return f.useEffect(()=>(Pn.size===0&&window.addEventListener("languagechange",Dc),Pn.add(r),()=>{Pn.delete(r),Pn.size===0&&window.removeEventListener("languagechange",Dc)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Yh=f.createContext(null);function hs(){let e=Hh();return f.useContext(Yh)||e}var Pt=function(){return Pt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Pt.apply(this,arguments)};function Ic(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Gh(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function qh(e,t){return t.get?t.get.call(e):t.value}function kc(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function Qh(e,t){var r=kc(e,t,"get");return qh(e,r)}function Xh(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Ac(e,t,r){var n=kc(e,t,"set");return Xh(e,n,r),r}let zr="default",ms="",ko=new WeakMap;function Oc(e){if(wn()){if(zr==="default"){const t=Ct(e);ms=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}zr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(ko.set(e,e.style.userSelect),e.style.userSelect="none")}function Ao(e){if(wn()){if(zr!=="disabled")return;zr="restoring",setTimeout(()=>{is(()=>{if(zr==="restoring"){const t=Ct(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ms||""),ms="",zr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&ko.has(e)){let t=ko.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),ko.delete(e)}}const Nc=f.createContext({register:()=>{}});Nc.displayName="PressResponderContext";function Zh(e){let t=f.useContext(Nc);if(t){let{register:r,...n}=t;e=ie(n,e),r()}return us(t,e.ref),e}var Oo=new WeakMap;class No{continuePropagation(){Ac(this,Oo,!1)}get shouldStopPropagation(){return Qh(this,Oo)}constructor(t,r,n){xh(this,Oo,{writable:!0,value:void 0}),Ac(this,Oo,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const jc=Symbol("linkClicked");function fr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:s,isPressed:i,preventFocusOnPress:l,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:u,ref:d,...p}=Zh(e),[h,g]=f.useState(!1),b=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:y,removeAllGlobalListeners:P}=ls(),x=We((m,D)=>{let I=b.current;if(s||I.didFirePressStart)return!1;let T=!0;if(I.isTriggeringEvent=!0,n){let k=new No("pressstart",D,m);n(k),T=k.shouldStopPropagation}return r&&r(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),T}),C=We((m,D,I=!0)=>{let T=b.current;if(!T.didFirePressStart)return!1;T.ignoreClickAfterPress=!0,T.didFirePressStart=!1,T.isTriggeringEvent=!0;let k=!0;if(o){let w=new No("pressend",D,m);o(w),k=w.shouldStopPropagation}if(r&&r(!1),g(!1),t&&I&&!s){let w=new No("press",D,m);t(w),k&&(k=w.shouldStopPropagation)}return T.isTriggeringEvent=!1,k}),S=We((m,D)=>{let I=b.current;if(s)return!1;if(a){I.isTriggeringEvent=!0;let T=new No("pressup",D,m);return a(T),I.isTriggeringEvent=!1,T.shouldStopPropagation}return!0}),$=We(m=>{let D=b.current;D.isPressed&&D.target&&(D.isOverTarget&&D.pointerType!=null&&C(Ot(D.target,m),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,P(),u||Ao(D.target))}),N=We(m=>{c&&$(m)}),j=f.useMemo(()=>{let m=b.current,D={onKeyDown(T){if(vs(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)){var k;_c(T.target,T.key)&&T.preventDefault();let w=!0;!m.isPressed&&!T.repeat&&(m.target=T.currentTarget,m.isPressed=!0,w=x(T,"keyboard"),y(Ct(T.currentTarget),"keyup",I,!1)),w&&T.stopPropagation(),T.metaKey&&qt()&&((k=m.metaKeyEvents)===null||k===void 0||k.set(T.key,T.nativeEvent))}else T.key==="Meta"&&(m.metaKeyEvents=new Map)},onKeyUp(T){vs(T.nativeEvent,T.currentTarget)&&!T.repeat&&T.currentTarget.contains(T.target)&&m.target&&S(Ot(m.target,T),"keyboard")},onClick(T){if(!(T&&!T.currentTarget.contains(T.target))&&T&&T.button===0&&!m.isTriggeringEvent&&!At.isOpening){let k=!0;if(s&&T.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Cn(T.nativeEvent))){!s&&!l&&tt(T.currentTarget);let w=x(T,"virtual"),M=S(T,"virtual"),O=C(T,"virtual");k=w&&M&&O}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,k&&T.stopPropagation()}}},I=T=>{var k;if(m.isPressed&&m.target&&vs(T,m.target)){var w;_c(T.target,T.key)&&T.preventDefault();let O=T.target,F=C(Ot(m.target,T),"keyboard",m.target.contains(O));P(),F&&T.stopPropagation(),T.key!=="Enter"&&gs(m.target)&&m.target.contains(O)&&!T[jc]&&(T[jc]=!0,At(m.target,T,!1)),m.isPressed=!1,(w=m.metaKeyEvents)===null||w===void 0||w.delete(T.key)}else if(T.key==="Meta"&&(!((k=m.metaKeyEvents)===null||k===void 0)&&k.size)){var M;let O=m.metaKeyEvents;m.metaKeyEvents=void 0;for(let F of O.values())(M=m.target)===null||M===void 0||M.dispatchEvent(new KeyboardEvent("keyup",F))}};if(typeof PointerEvent<"u"){D.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(Ec(M.nativeEvent)){m.pointerType="virtual";return}bs(M.currentTarget)&&M.preventDefault(),m.pointerType=M.pointerType;let O=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=M.pointerId,m.target=M.currentTarget,!s&&!l&&tt(M.currentTarget),u||Oc(m.target),O=x(M,m.pointerType),y(Ct(M.currentTarget),"pointermove",T,!1),y(Ct(M.currentTarget),"pointerup",k,!1),y(Ct(M.currentTarget),"pointercancel",w,!1)),O&&M.stopPropagation()},D.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(bs(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},D.onPointerUp=M=>{!M.currentTarget.contains(M.target)||m.pointerType==="virtual"||M.button===0&&Wr(M,M.currentTarget)&&S(M,m.pointerType||M.pointerType)};let T=M=>{M.pointerId===m.activePointerId&&(m.target&&Wr(M,m.target)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,x(Ot(m.target,M),m.pointerType)):m.target&&m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,C(Ot(m.target,M),m.pointerType,!1),N(M)))},k=M=>{M.pointerId===m.activePointerId&&m.isPressed&&M.button===0&&m.target&&(Wr(M,m.target)&&m.pointerType!=null?C(Ot(m.target,M),m.pointerType):m.isOverTarget&&m.pointerType!=null&&C(Ot(m.target,M),m.pointerType,!1),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,P(),u||Ao(m.target))},w=M=>{$(M)};D.onDragStart=M=>{M.currentTarget.contains(M.target)&&$(M)}}else{D.onMouseDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(bs(w.currentTarget)&&w.preventDefault(),m.ignoreEmulatedMouseEvents){w.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=w.currentTarget,m.pointerType=Cn(w.nativeEvent)?"virtual":"mouse",!s&&!l&&tt(w.currentTarget),x(w,m.pointerType)&&w.stopPropagation(),y(Ct(w.currentTarget),"mouseup",T,!1)},D.onMouseEnter=w=>{if(!w.currentTarget.contains(w.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!0,M=x(w,m.pointerType)),M&&w.stopPropagation()},D.onMouseLeave=w=>{if(!w.currentTarget.contains(w.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!1,M=C(w,m.pointerType,!1),N(w)),M&&w.stopPropagation()},D.onMouseUp=w=>{w.currentTarget.contains(w.target)&&!m.ignoreEmulatedMouseEvents&&w.button===0&&S(w,m.pointerType||"mouse")};let T=w=>{if(w.button===0){if(m.isPressed=!1,P(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&Wr(w,m.target)&&m.pointerType!=null?C(Ot(m.target,w),m.pointerType):m.target&&m.isOverTarget&&m.pointerType!=null&&C(Ot(m.target,w),m.pointerType,!1),m.isOverTarget=!1}};D.onTouchStart=w=>{if(!w.currentTarget.contains(w.target))return;let M=Jh(w.nativeEvent);if(!M)return;m.activePointerId=M.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=w.currentTarget,m.pointerType="touch",!s&&!l&&tt(w.currentTarget),u||Oc(m.target),x(w,m.pointerType)&&w.stopPropagation(),y(xn(w.currentTarget),"scroll",k,!0)},D.onTouchMove=w=>{if(!w.currentTarget.contains(w.target))return;if(!m.isPressed){w.stopPropagation();return}let M=Lc(w.nativeEvent,m.activePointerId),O=!0;M&&Wr(M,w.currentTarget)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,O=x(w,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,O=C(w,m.pointerType,!1),N(w)),O&&w.stopPropagation()},D.onTouchEnd=w=>{if(!w.currentTarget.contains(w.target))return;if(!m.isPressed){w.stopPropagation();return}let M=Lc(w.nativeEvent,m.activePointerId),O=!0;M&&Wr(M,w.currentTarget)&&m.pointerType!=null?(S(w,m.pointerType),O=C(w,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(O=C(w,m.pointerType,!1)),O&&w.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,m.target&&!u&&Ao(m.target),P()},D.onTouchCancel=w=>{w.currentTarget.contains(w.target)&&(w.stopPropagation(),m.isPressed&&$(w))};let k=w=>{m.isPressed&&w.target.contains(m.target)&&$({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=w=>{w.currentTarget.contains(w.target)&&$(w)}}return D},[y,s,l,P,u,$,N,C,x,S]);return f.useEffect(()=>()=>{var m;u||Ao((m=b.current.target)!==null&&m!==void 0?m:void 0)},[u]),{isPressed:i||h,pressProps:ie(p,j)}}function gs(e){return e.tagName==="A"&&e.hasAttribute("href")}function vs(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof xn(o).HTMLInputElement&&!Fc(o,r)||o instanceof xn(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&gs(o))&&r!=="Enter")}function Jh(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Lc(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function Ot(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function em(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function tm(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Wr(e,t){let r=t.getBoundingClientRect(),n=em(e);return tm(r,n)}function bs(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function _c(e,t){return e instanceof HTMLInputElement?!Fc(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!gs(e)}const rm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Fc(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":rm.has(e.type)}class nm{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function Vc(e){let t=f.useRef({isFocused:!1,observer:null});kt(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=We(n=>{e==null||e(n)});return f.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,a=s=>{t.current.isFocused=!1,o.disabled&&r(new nm("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let i=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function zc(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=f.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),s=Vc(a),i=f.useCallback(l=>{l.target===l.currentTarget&&document.activeElement===l.target&&(r&&r(l),o&&o(!0),s(l))},[o,r,s]);return{focusProps:{onFocus:!t&&(r||o||n)?i:void 0,onBlur:!t&&(n||o)?a:void 0}}}let pr=null,ys=new Set,Wc=!1,hr=!1,xs=!1;const om={Tab:!0,Escape:!0};function jo(e,t){for(let r of ys)r(e,t)}function am(e){return!(e.metaKey||!qt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Bc(e){hr=!0,am(e)&&(pr="keyboard",jo("keyboard",e))}function Br(e){pr="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(hr=!0,jo("pointer",e))}function sm(e){Cn(e)&&(hr=!0,pr="virtual")}function im(e){e.target===window||e.target===document||(!hr&&!xs&&(pr="virtual",jo("virtual",e)),hr=!1,xs=!1)}function lm(){hr=!1,xs=!0}function ws(){if(typeof window>"u"||Wc)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){hr=!0,e.apply(this,arguments)},document.addEventListener("keydown",Bc,!0),document.addEventListener("keyup",Bc,!0),document.addEventListener("click",sm,!0),window.addEventListener("focus",im,!0),window.addEventListener("blur",lm,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Br,!0),document.addEventListener("pointermove",Br,!0),document.addEventListener("pointerup",Br,!0)):(document.addEventListener("mousedown",Br,!0),document.addEventListener("mousemove",Br,!0),document.addEventListener("mouseup",Br,!0)),Wc=!0}typeof document<"u"&&(document.readyState!=="loading"?ws():document.addEventListener("DOMContentLoaded",ws));function Rc(){return pr!=="pointer"}function Cs(){return pr}function cm(e){pr=e,jo(e,null)}const um=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function dm(e,t,r){var n;return e=e||(r==null?void 0:r.target)instanceof HTMLInputElement&&!um.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof HTMLTextAreaElement||(r==null?void 0:r.target)instanceof HTMLElement&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!om[r.key])}function fm(e,t,r){ws(),f.useEffect(()=>{let n=(o,a)=>{dm(!!(r!=null&&r.isTextInput),o,a)&&e(Rc())};return ys.add(n),()=>{ys.delete(n)}},t)}function Lo(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=f.useRef({isFocusWithin:!1}),s=f.useCallback(c=>{a.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(c),o&&o(!1))},[r,o,a]),i=Vc(s),l=f.useCallback(c=>{!a.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),o&&o(!0),a.current.isFocusWithin=!0,i(c))},[n,o,i]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let _o=!1,Ps=0;function Ms(){_o=!0,setTimeout(()=>{_o=!1},50)}function Kc(e){e.pointerType==="touch"&&Ms()}function pm(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Kc):document.addEventListener("touchend",Ms),Ps++,()=>{Ps--,!(Ps>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Kc):document.removeEventListener("touchend",Ms))}}function mr(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,s]=f.useState(!1),i=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(pm,[]);let{hoverProps:l,triggerHoverEnd:c}=f.useMemo(()=>{let u=(h,g)=>{if(i.pointerType=g,o||g==="touch"||i.isHovered||!h.currentTarget.contains(h.target))return;i.isHovered=!0;let b=h.currentTarget;i.target=b,t&&t({type:"hoverstart",target:b,pointerType:g}),r&&r(!0),s(!0)},d=(h,g)=>{if(i.pointerType="",i.target=null,g==="touch"||!i.isHovered)return;i.isHovered=!1;let b=h.currentTarget;n&&n({type:"hoverend",target:b,pointerType:g}),r&&r(!1),s(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{_o&&h.pointerType==="mouse"||u(h,h.pointerType)},p.onPointerLeave=h=>{!o&&h.currentTarget.contains(h.target)&&d(h,h.pointerType)}):(p.onTouchStart=()=>{i.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!i.ignoreEmulatedMouseEvents&&!_o&&u(h,"mouse"),i.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!o&&h.currentTarget.contains(h.target)&&d(h,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,r,n,o,i]);return f.useEffect(()=>{o&&c({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:l,isHovered:a}}function Uc(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function hm(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Uc(e.onKeyDown),onKeyUp:Uc(e.onKeyUp)}}}const mm=500;function gm(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=mm,accessibilityDescription:s}=e;const i=f.useRef();let{addGlobalListener:l,removeGlobalListener:c}=ls(),{pressProps:u}=fr({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),i.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),i.current=void 0},a),p.pointerType==="touch")){let h=g=>{g.preventDefault()};l(p.target,"contextmenu",h,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){i.current&&clearTimeout(i.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),d=zh(o&&!t?s:void 0);return{longPressProps:ie(u,d)}}function Fo(e){const t=Ct(e);if(Cs()==="virtual"){let r=t.activeElement;is(()=>{t.activeElement===r&&e.isConnected&&tt(e)})}else tt(e)}function vm(e){const t=xn(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:s,visibility:i}=a(e);o=s!=="none"&&i!=="hidden"&&i!=="collapse"}return o}function bm(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Hc(e,t){return e.nodeName!=="#comment"&&vm(e)&&bm(e,t)&&(!e.parentElement||Hc(e.parentElement,e))}const Ts=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],ym=Ts.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ts.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const xm=Ts.join(':not([hidden]):not([tabindex="-1"]),');function Yc(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Ss(e,t,r){let n=t!=null&&t.tabbable?xm:ym,o=Ct(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Hc(a)&&(!r||Yc(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Es{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new Gc({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Yc(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new Es;var n;for(let o of this.traverse())r.addTreeNode(o.scopeRef,(n=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new Gc({scopeRef:null}),this.fastMap.set(null,this.root)}}class Gc{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new Es;function Mt(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||Rc()}),[a,s]=f.useState(!1),[i,l]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=f.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=f.useCallback(h=>{o.current.isFocused=h,s(h),c()},[c]);fm(h=>{o.current.isFocusVisible=h,c()},[],{isTextInput:r});let{focusProps:d}=zc({isDisabled:n,onFocusChange:u}),{focusWithinProps:p}=Lo({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:i,focusProps:n?p:d}}let wm=f.createContext(null);function Cm(e){let t=f.useContext(wm)||{};us(t,e);let{ref:r,...n}=t;return n}function Vo(e,t){let{focusProps:r}=zc(e),{keyboardProps:n}=hm(e),o=ie(r,n),a=Cm(t),s=e.isDisabled?{}:a,i=f.useRef(e.autoFocus);return f.useEffect(()=>{i.current&&t.current&&Fo(t.current),i.current=!1},[t]),{focusableProps:ie({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},s)}}function Pm(e,t){let r=t==null?void 0:t.isDisabled,[n,o]=f.useState(!1);return kt(()=>{if(e!=null&&e.current&&!r){let a=()=>{if(e.current){let i=Ss(e.current,{tabbable:!0});o(!!i.nextNode())}};a();let s=new MutationObserver(a);return s.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{s.disconnect()}}}),r?!1:n}const qc={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Mm(e={}){let{style:t,isFocusable:r}=e,[n,o]=f.useState(!1),{focusWithinProps:a}=Lo({isDisabled:!r,onFocusWithinChange:i=>o(i)}),s=f.useMemo(()=>n?t:t?{...qc,...t}:qc,[n]);return{visuallyHiddenProps:{...a,style:s}}}function $s(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:s}=Mm(e);return f.createElement(r,ie(a,s),t)}function vt(e){return f.forwardRef(e)}var Mn=(e,t,r=!0)=>{if(!t)return[e,{}];const n=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return r?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,s)=>({...a,[s]:e[s]}),{}),n]:[e,n]},Tm=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],Ds=Tm.map(e=>`unit-${e}`),zo=["small","medium","large"],rt=(e,t)=>{var r,n,o;return we(e,{...t,twMerge:(r=t==null?void 0:t.twMerge)!=null?r:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(n=t==null?void 0:t.twMergeConfig)==null?void 0:n.theme,opacity:["disabled"],spacing:["divider","unit",...Ds],borderWidth:zo,borderRadius:zo},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:zo}],"font-size":[{text:["tiny",...zo]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...Ds]}],"min-h":[{"min-h":["unit",...Ds]}]}}})},Tn=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],Wo=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],Sm=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],Is=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],Rr={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},Em={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},$m={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},Dm={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},Im={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},km={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},Am={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},Om={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},K={solid:Em,shadow:$m,bordered:Dm,flat:Im,faded:km,light:Am,ghost:Om},Qc=rt({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),Xc=rt({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...Tn],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none",...Tn]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1,disableAnimation:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:K.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:K.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:K.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:K.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:K.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),Zc=rt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...Wo],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 text-current",endContent:"z-0 absolute right-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,disableAnimation:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),Nm=rt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","border-solid","border-medium","box-border","border-default","rounded-full","group-data-[hover-unselected=true]:bg-default-100",...Wo],labelWrapper:"flex flex-col ml-1",control:["z-10","w-2","h-2","opacity-0","scale-0","origin-center","rounded-full","group-data-[selected=true]:opacity-100","group-data-[selected=true]:scale-100"],label:"relative text-foreground select-none",description:"relative text-foreground-400"},variants:{color:{default:{control:"bg-default-500 text-default-foreground",wrapper:"group-data-[selected=true]:border-default-500"},primary:{control:"bg-primary text-primary-foreground",wrapper:"group-data-[selected=true]:border-primary"},secondary:{control:"bg-secondary text-secondary-foreground",wrapper:"group-data-[selected=true]:border-secondary"},success:{control:"bg-success text-success-foreground",wrapper:"group-data-[selected=true]:border-success"},warning:{control:"bg-warning text-warning-foreground",wrapper:"group-data-[selected=true]:border-warning"},danger:{control:"bg-danger text-danger-foreground",wrapper:"group-data-[selected=true]:border-danger"}},size:{sm:{wrapper:"w-4 h-4",control:"w-1.5 h-1.5",labelWrapper:"ml-1",label:"text-small",description:"text-tiny"},md:{wrapper:"w-5 h-5",control:"w-2 h-2",labelWrapper:"ml-2",label:"text-medium",description:"text-small"},lg:{wrapper:"w-6 h-6",control:"w-2.5 h-2.5",labelWrapper:"ml-2",label:"text-large",description:"text-medium"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{control:"bg-danger text-danger-foreground",wrapper:"border-danger group-data-[selected=true]:border-danger",label:"text-danger",description:"text-danger-300"}},disableAnimation:{true:{},false:{wrapper:["group-data-[pressed=true]:scale-95","transition-transform-colors","motion-reduce:transition-none"],control:"transition-transform-opacity motion-reduce:transition-none",label:"transition-colors motion-reduce:transition-none",description:"transition-colors motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,isInvalid:!1,disableAnimation:!1}}),jm=rt({slots:{base:"relative flex flex-col gap-2",label:"relative text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}}),Jc=rt({slots:{base:"group flex flex-col",label:["absolute","z-10","pointer-events-none","origin-top-left","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...Tn],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-unit-8 min-h-unit-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-unit-10 min-h-unit-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-unit-12 min-h-unit-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1,disableAnimation:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...Wo]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:["outside","outside-left"],class:{input:"h-full"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),Lm=rt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...Wo],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1,disableAnimation:!1}});rt({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}});var eu=rt({slots:{base:["relative","max-w-fit","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...Sm,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:K.solid.default}},{variant:"solid",color:"primary",class:{base:K.solid.primary}},{variant:"solid",color:"secondary",class:{base:K.solid.secondary}},{variant:"solid",color:"success",class:{base:K.solid.success}},{variant:"solid",color:"warning",class:{base:K.solid.warning}},{variant:"solid",color:"danger",class:{base:K.solid.danger}},{variant:"shadow",color:"default",class:{base:K.shadow.default}},{variant:"shadow",color:"primary",class:{base:K.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:K.shadow.secondary}},{variant:"shadow",color:"success",class:{base:K.shadow.success}},{variant:"shadow",color:"warning",class:{base:K.shadow.warning}},{variant:"shadow",color:"danger",class:{base:K.shadow.danger}},{variant:"bordered",color:"default",class:{base:K.bordered.default}},{variant:"bordered",color:"primary",class:{base:K.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:K.bordered.secondary}},{variant:"bordered",color:"success",class:{base:K.bordered.success}},{variant:"bordered",color:"warning",class:{base:K.bordered.warning}},{variant:"bordered",color:"danger",class:{base:K.bordered.danger}},{variant:"flat",color:"default",class:{base:K.flat.default}},{variant:"flat",color:"primary",class:{base:K.flat.primary}},{variant:"flat",color:"secondary",class:{base:K.flat.secondary}},{variant:"flat",color:"success",class:{base:K.flat.success}},{variant:"flat",color:"warning",class:{base:K.flat.warning}},{variant:"flat",color:"danger",class:{base:K.flat.danger}},{variant:"faded",color:"default",class:{base:K.faded.default}},{variant:"faded",color:"primary",class:{base:K.faded.primary}},{variant:"faded",color:"secondary",class:{base:K.faded.secondary}},{variant:"faded",color:"success",class:{base:K.faded.success}},{variant:"faded",color:"warning",class:{base:K.faded.warning}},{variant:"faded",color:"danger",class:{base:K.faded.danger}},{variant:"light",color:"default",class:{base:K.light.default}},{variant:"light",color:"primary",class:{base:K.light.primary}},{variant:"light",color:"secondary",class:{base:K.light.secondary}},{variant:"light",color:"success",class:{base:K.light.success}},{variant:"light",color:"warning",class:{base:K.light.warning}},{variant:"light",color:"danger",class:{base:K.light.danger}},{isOneChar:!0,size:"sm",class:{base:"w-5 h-5 min-w-unit-5 min-h-5"}},{isOneChar:!0,size:"md",class:{base:"w-6 h-6 min-w-unit-6 min-h-6"}},{isOneChar:!0,size:"lg",class:{base:"w-7 h-7 min-w-unit-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,class:{base:"w-auto"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),_m=rt({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...Tn],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...Is,"flex","items-center","justify-center"],name:[...Is,"font-normal","text-center","text-inherit"],icon:[...Is,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:K.solid.default},primary:{base:K.solid.primary},secondary:{base:K.solid.secondary},success:{base:K.solid.success},warning:{base:K.solid.warning},danger:{base:K.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});rt({base:"flex items-center justify-center h-auto w-max-content",variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var Fm=rt({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent",...Tn],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small",md:"px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium",lg:"px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-unit-0 !gap-unit-0",false:"[&>svg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:K.solid.default},{variant:"solid",color:"primary",class:K.solid.primary},{variant:"solid",color:"secondary",class:K.solid.secondary},{variant:"solid",color:"success",class:K.solid.success},{variant:"solid",color:"warning",class:K.solid.warning},{variant:"solid",color:"danger",class:K.solid.danger},{variant:"shadow",color:"default",class:K.shadow.default},{variant:"shadow",color:"primary",class:K.shadow.primary},{variant:"shadow",color:"secondary",class:K.shadow.secondary},{variant:"shadow",color:"success",class:K.shadow.success},{variant:"shadow",color:"warning",class:K.shadow.warning},{variant:"shadow",color:"danger",class:K.shadow.danger},{variant:"bordered",color:"default",class:K.bordered.default},{variant:"bordered",color:"primary",class:K.bordered.primary},{variant:"bordered",color:"secondary",class:K.bordered.secondary},{variant:"bordered",color:"success",class:K.bordered.success},{variant:"bordered",color:"warning",class:K.bordered.warning},{variant:"bordered",color:"danger",class:K.bordered.danger},{variant:"flat",color:"default",class:K.flat.default},{variant:"flat",color:"primary",class:K.flat.primary},{variant:"flat",color:"secondary",class:K.flat.secondary},{variant:"flat",color:"success",class:K.flat.success},{variant:"flat",color:"warning",class:K.flat.warning},{variant:"flat",color:"danger",class:K.flat.danger},{variant:"faded",color:"default",class:K.faded.default},{variant:"faded",color:"primary",class:K.faded.primary},{variant:"faded",color:"secondary",class:K.faded.secondary},{variant:"faded",color:"success",class:K.faded.success},{variant:"faded",color:"warning",class:K.faded.warning},{variant:"faded",color:"danger",class:K.faded.danger},{variant:"light",color:"default",class:[K.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[K.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[K.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[K.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[K.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[K.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:K.ghost.default},{variant:"ghost",color:"primary",class:K.ghost.primary},{variant:"ghost",color:"secondary",class:K.ghost.secondary},{variant:"ghost",color:"success",class:K.ghost.success},{variant:"ghost",color:"warning",class:K.ghost.warning},{variant:"ghost",color:"danger",class:K.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:Rr.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:Rr.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:Rr.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:Rr.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:Rr.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:Rr.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});rt({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var Vm=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3),ks=(...e)=>{let t=" ";for(const r of e)if(typeof r=="string"&&r.length>0){t=r;break}return t};function tu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=tu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function me(...e){for(var t=0,r,n,o="";t<e.length;)(r=e[t++])&&(n=tu(r))&&(o&&(o+=" "),o+=n);return o}var ru={};function Bo(e,t,...r){var n;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!ru[a]&&(ru[a]=!0,((n=process==null?void 0:process.env)==null?void 0:n.NODE_ENV)!=="production"))return console.warn(a,r)}function zm(e){return`${e}-${Math.floor(Math.random()*1e6)}`}var nu=process.env.NODE_ENV!=="production";process.env.NODE_ENV;var Q=e=>e?"true":void 0;function Ro(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=G.createContext(void 0);o.displayName=n;function a(){var s;const i=G.useContext(o);if(!i&&t){const l=new Error(r);throw l.name="ContextError",(s=Error.captureStackTrace)==null||s.call(Error,l,a),l}return i}return[o.Provider,a,o]}function Wm(e){return{UNSAFE_getDOMNode(){return e.current}}}function Bm(e,t=e){return{...Wm(e),focus(){t.current&&t.current.focus()}}}function nt(e){const t=f.useRef(null);return f.useImperativeHandle(e,()=>t.current),t}function ou(e,t){const r=f.useRef(null);return f.useImperativeHandle(e,()=>Bm(r,t)),r}var Rm=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),Km=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),Um=/^(data-.*)$/,Hm=/^(aria-.*)$/,As=/^(on[A-Z].*)$/;function Sn(e,t={}){let{labelable:r=!0,enabled:n=!0,propNames:o,omitPropNames:a,omitEventNames:s}=t,i={};if(!n)return e;for(const l in e)a!=null&&a.has(l)||s!=null&&s.has(l)&&As.test(l)||As.test(l)&&!Km.has(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(Rm.has(l)||r&&Hm.test(l)||o!=null&&o.has(l)||Um.test(l))||As.test(l))&&(i[l]=e[l]);return i}function Os(e){return Ah()?e.altKey:e.ctrlKey}function Kr(e){return qt()?e.metaKey:e.ctrlKey}const Ym=1e3;function Gm(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=f.useRef({search:"",timeout:null}).current,a=s=>{let i=qm(s.key);if(!i||s.ctrlKey||s.metaKey||!s.currentTarget.contains(s.target))return;i===" "&&o.search.trim().length>0&&(s.preventDefault(),"continuePropagation"in s||s.stopPropagation()),o.search+=i;let l=t.getKeyForSearch(o.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(r.setFocusedKey(l),n&&n(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},Ym)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function qm(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function Qm(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:s=!1,disallowSelectAll:i=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:u,allowsTabNavigation:d=!1,isVirtualized:p,scrollRef:h=n,linkBehavior:g="action"}=e,{direction:b}=hs(),y=xc(),P=I=>{if(I.altKey&&I.key==="Tab"&&I.preventDefault(),!n.current.contains(I.target))return;const T=(R,W)=>{if(R!=null){if(t.isLink(R)&&g==="selection"&&l&&!Os(I)){hn.flushSync(()=>{t.setFocusedKey(R,W)});let ee=h.current.querySelector(`[data-key="${CSS.escape(R.toString())}"]`);y.open(ee,I);return}if(t.setFocusedKey(R,W),t.isLink(R)&&g==="override")return;I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(R):l&&!Os(I)&&t.replaceSelection(R)}};switch(I.key){case"ArrowDown":if(r.getKeyBelow){var k,w;I.preventDefault();let R=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(k=r.getFirstKey)===null||k===void 0?void 0:k.call(r);R==null&&a&&(R=(w=r.getFirstKey)===null||w===void 0?void 0:w.call(r,t.focusedKey)),T(R)}break;case"ArrowUp":if(r.getKeyAbove){var M,O;I.preventDefault();let R=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(M=r.getLastKey)===null||M===void 0?void 0:M.call(r);R==null&&a&&(R=(O=r.getLastKey)===null||O===void 0?void 0:O.call(r,t.focusedKey)),T(R)}break;case"ArrowLeft":if(r.getKeyLeftOf){var F,E;I.preventDefault();let R=r.getKeyLeftOf(t.focusedKey);R==null&&a&&(R=b==="rtl"?(F=r.getFirstKey)===null||F===void 0?void 0:F.call(r,t.focusedKey):(E=r.getLastKey)===null||E===void 0?void 0:E.call(r,t.focusedKey)),T(R,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var V,H;I.preventDefault();let R=r.getKeyRightOf(t.focusedKey);R==null&&a&&(R=b==="rtl"?(V=r.getLastKey)===null||V===void 0?void 0:V.call(r,t.focusedKey):(H=r.getFirstKey)===null||H===void 0?void 0:H.call(r,t.focusedKey)),T(R,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){I.preventDefault();let R=r.getFirstKey(t.focusedKey,Kr(I));t.setFocusedKey(R),Kr(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(R):l&&t.replaceSelection(R)}break;case"End":if(r.getLastKey){I.preventDefault();let R=r.getLastKey(t.focusedKey,Kr(I));t.setFocusedKey(R),Kr(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(R):l&&t.replaceSelection(R)}break;case"PageDown":if(r.getKeyPageBelow){I.preventDefault();let R=r.getKeyPageBelow(t.focusedKey);T(R)}break;case"PageUp":if(r.getKeyPageAbove){I.preventDefault();let R=r.getKeyPageAbove(t.focusedKey);T(R)}break;case"a":Kr(I)&&t.selectionMode==="multiple"&&i!==!0&&(I.preventDefault(),t.selectAll());break;case"Escape":I.preventDefault(),s||t.clearSelection();break;case"Tab":if(!d){if(I.shiftKey)n.current.focus();else{let R=Ss(n.current,{tabbable:!0}),W,ee;do ee=R.lastChild(),ee&&(W=ee);while(ee);W&&!W.contains(document.activeElement)&&tt(W)}break}}},x=f.useRef({top:0,left:0});Wh(h,"scroll",p?null:()=>{x.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let C=I=>{if(t.isFocused){I.currentTarget.contains(I.target)||t.setFocused(!1);return}if(I.currentTarget.contains(I.target)){if(t.setFocused(!0),t.focusedKey==null){let w=O=>{O!=null&&(t.setFocusedKey(O),l&&t.replaceSelection(O))},M=I.relatedTarget;var T,k;M&&I.currentTarget.compareDocumentPosition(M)&Node.DOCUMENT_POSITION_FOLLOWING?w((T=t.lastSelectedKey)!==null&&T!==void 0?T:r.getLastKey()):w((k=t.firstSelectedKey)!==null&&k!==void 0?k:r.getFirstKey())}else p||(h.current.scrollTop=x.current.top,h.current.scrollLeft=x.current.left);if(!p&&t.focusedKey!=null){let w=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);w&&(w.contains(document.activeElement)||tt(w),Cs()==="keyboard"&&Sc(w,{containingElement:n.current}))}}},S=I=>{I.currentTarget.contains(I.relatedTarget)||t.setFocused(!1)};const $=f.useRef(o);f.useEffect(()=>{if($.current){let I=null;o==="first"&&(I=r.getFirstKey()),o==="last"&&(I=r.getLastKey());let T=t.selectedKeys;if(T.size){for(let k of T)if(t.canSelectItem(k)){I=k;break}}t.setFocused(!0),t.setFocusedKey(I),I==null&&!u&&Fo(n.current)}},[]);let N=f.useRef(t.focusedKey);f.useEffect(()=>{let I=Cs();if(t.isFocused&&t.focusedKey!=null&&(h!=null&&h.current)){let T=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);T&&(I==="keyboard"||$.current)&&(p||Mc(h.current,T),Sc(T,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&N.current!=null&&Fo(n.current),N.current=t.focusedKey,$.current=!1},[p,h,t.focusedKey,t.isFocused,n]);let j={onKeyDown:P,onFocus:C,onBlur:S,onMouseDown(I){h.current===I.target&&I.preventDefault()}},{typeSelectProps:m}=Gm({keyboardDelegate:r,selectionManager:t});c||(j=ie(m,j));let D;return u||(D=t.focusedKey==null?0:-1),{collectionProps:{...j,tabIndex:D}}}function Xm(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:s,isDisabled:i,onAction:l,allowsDifferentPressOrigin:c,linkBehavior:u="action"}=e,d=xc(),p=E=>{if(E.pointerType==="keyboard"&&Os(E))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(u==="selection"){d.open(n.current,E),t.setSelectedKeys(t.selectedKeys);return}else if(u==="override"||u==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):E&&E.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||E&&(Kr(E)||E.pointerType==="touch"||E.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};f.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!a&&(s?s():document.activeElement!==n.current&&Fo(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),i=i||t.isDisabled(r);let h={};!a&&!i?h={tabIndex:r===t.focusedKey?0:-1,onFocus(E){E.target===n.current&&t.setFocusedKey(r)}}:i&&(h.onMouseDown=E=>{E.preventDefault()});let g=t.isLink(r)&&u==="override",b=t.isLink(r)&&u!=="selection"&&u!=="none",y=!i&&t.canSelectItem(r)&&!g,P=(l||b)&&!i,x=P&&(t.selectionBehavior==="replace"?!y:!y||t.isEmpty),C=P&&y&&t.selectionBehavior==="replace",S=x||C,$=f.useRef(null),N=S&&y,j=f.useRef(!1),m=f.useRef(!1),D=E=>{l&&l(),b&&d.open(n.current,E)},I={};o?(I.onPressStart=E=>{$.current=E.pointerType,j.current=N,E.pointerType==="keyboard"&&(!S||su())&&p(E)},c?(I.onPressUp=x?null:E=>{E.pointerType!=="keyboard"&&y&&p(E)},I.onPress=x?D:null):I.onPress=E=>{if(x||C&&E.pointerType!=="mouse"){if(E.pointerType==="keyboard"&&!au())return;D(E)}else E.pointerType!=="keyboard"&&y&&p(E)}):(I.onPressStart=E=>{$.current=E.pointerType,j.current=N,m.current=x,y&&(E.pointerType==="mouse"&&!x||E.pointerType==="keyboard"&&(!P||su()))&&p(E)},I.onPress=E=>{(E.pointerType==="touch"||E.pointerType==="pen"||E.pointerType==="virtual"||E.pointerType==="keyboard"&&S&&au()||E.pointerType==="mouse"&&m.current)&&(S?D(E):y&&p(E))}),h["data-key"]=r,I.preventFocusOnPress=a;let{pressProps:T,isPressed:k}=fr(I),w=C?E=>{$.current==="mouse"&&(E.stopPropagation(),E.preventDefault(),D(E))}:void 0,{longPressProps:M}=gm({isDisabled:!N,onLongPress(E){E.pointerType==="touch"&&(p(E),t.setSelectionBehavior("toggle"))}}),O=E=>{$.current==="touch"&&j.current&&E.preventDefault()},F=t.isLink(r)?E=>{At.isOpening||E.preventDefault()}:void 0;return{itemProps:ie(h,y||x?T:{},N?M:{},{onDoubleClick:w,onDragStartCapture:O,onClick:F}),isPressed:k,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:i,allowsSelection:y,hasAction:S}}function au(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function su(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}var iu=f.createContext(null);iu.displayName="PressResponderContext";var Zm=Object.defineProperty,Jm=(e,t,r)=>t in e?Zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gr=(e,t,r)=>(Jm(e,typeof t!="symbol"?t+"":t,r),r),lu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},eg=(e,t,r)=>(lu(e,t,"read from private field"),r?r.call(e):t.get(e)),tg=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},rg=(e,t,r,n)=>(lu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Ko,Uo=class{constructor(e,t,r){gr(this,"type"),gr(this,"pointerType"),gr(this,"target"),gr(this,"shiftKey"),gr(this,"ctrlKey"),gr(this,"metaKey"),gr(this,"altKey"),tg(this,Ko,!0),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}continuePropagation(){rg(this,Ko,!1)}get shouldStopPropagation(){return eg(this,Ko)}};Ko=new WeakMap;var vr=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document},Ns=e=>{var t,r;return(r=(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)!=null?r:window},Ur="default",js="",Ho=new WeakMap;function cu(e){if(wn()){if(Ur==="default"){const t=vr(e);js=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ur="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Ho.set(e,e.style.userSelect),e.style.userSelect="none")}function Yo(e){if(wn()){if(Ur!=="disabled")return;Ur="restoring",setTimeout(()=>{is(()=>{if(Ur==="restoring"){const t=vr(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=js||""),js="",Ur="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ho.has(e)){let t=Ho.get(e);e.style.userSelect==="none"&&t&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Ho.delete(e)}}function ng(e){let t=f.useContext(iu);if(t){let{register:r,...n}=t;e=ie(n,e),r()}return us(t,e.ref),e}var uu=Symbol("linkClicked");function En(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:s,isPressed:i,preventFocusOnPress:l,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:u,ref:d,...p}=ng(e),[h,g]=f.useState(!1),b=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:y,removeAllGlobalListeners:P}=ls(),x=We((m,D)=>{let I=b.current;if(s||I.didFirePressStart)return;let T=!0;if(I.isTriggeringEvent=!0,n){let k=new Uo("pressstart",D,m);n(k),T=k.shouldStopPropagation}return r&&r(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),T}),C=We((m,D,I=!0)=>{let T=b.current;if(!T.didFirePressStart)return;T.ignoreClickAfterPress=!0,T.didFirePressStart=!1,T.isTriggeringEvent=!0;let k=!0;if(o){let w=new Uo("pressend",D,m);o(w),k=w.shouldStopPropagation}if(r&&r(!1),g(!1),t&&I&&!s){let w=new Uo("press",D,m);t(w),k&&(k=w.shouldStopPropagation)}return T.isTriggeringEvent=!1,k}),S=We((m,D)=>{let I=b.current;if(!s){if(a){I.isTriggeringEvent=!0;let T=new Uo("pressup",D,m);return a(T),I.isTriggeringEvent=!1,T.shouldStopPropagation}return!0}}),$=We(m=>{let D=b.current;D.isPressed&&(D.isOverTarget&&D.target&&C(Nt(D.target,m),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,P(),!u&&D.target&&Yo(D.target))}),N=We(m=>{c&&$(m)}),j=f.useMemo(()=>{let m=b.current,D={onKeyDown(T){var k;if(_s(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)){fu(T.target,T.key)&&T.preventDefault();let w=!0;!m.isPressed&&!T.repeat&&(m.target=T.currentTarget,m.isPressed=!0,w=x(T,"keyboard"),y(vr(T.currentTarget),"keyup",I,!1)),w&&T.stopPropagation(),T.metaKey&&qt()&&((k=m.metaKeyEvents)==null||k.set(T.key,T.nativeEvent))}else T.key==="Meta"&&(m.metaKeyEvents=new Map)},onKeyUp(T){m.target&&_s(T.nativeEvent,T.currentTarget)&&!T.repeat&&T.currentTarget.contains(T.target)&&S(Nt(m.target,T),"keyboard")},onClick(T){if(!(T&&!T.currentTarget.contains(T.target))&&T&&T.button===0&&!m.isTriggeringEvent&&!At.isOpening){let k=!0;if(s&&T.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Cn(T.nativeEvent))){!s&&!l&&tt(T.currentTarget);let w=x(T,"virtual"),M=S(T,"virtual"),O=C(T,"virtual");k=w&&M&&O}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,k&&T.stopPropagation()}}},I=T=>{var k,w;if(m.isPressed&&m.target&&_s(T,m.target)){fu(T.target,T.key)&&T.preventDefault();let M=T.target,O=C(Nt(m.target,T),"keyboard",m.target.contains(M));P(),O&&T.stopPropagation(),T.key!=="Enter"&&Ls(m.target)&&m.target.contains(M)&&!T[uu]&&(T[uu]=!0,At(m.target,T,!1)),m.isPressed=!1,(k=m.metaKeyEvents)==null||k.delete(T.key)}else if(T.key==="Meta"&&((w=m.metaKeyEvents)!=null&&w.size)){let M=m.metaKeyEvents;m.metaKeyEvents=null;for(let O of M.values())m.target&&m.target.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){D.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(Ec(M.nativeEvent)){m.pointerType="virtual";return}Fs(M.currentTarget)&&M.preventDefault(),m.pointerType=M.pointerType;let O=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=M.pointerId,m.target=M.currentTarget,!s&&!l&&tt(M.currentTarget),u||cu(m.target),O=x(M,m.pointerType),y(vr(M.currentTarget),"pointermove",T,!1),y(vr(M.currentTarget),"pointerup",k,!1),y(vr(M.currentTarget),"pointercancel",w,!1)),O&&M.stopPropagation()},D.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(Fs(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},D.onPointerUp=M=>{!M.currentTarget.contains(M.target)||m.pointerType==="virtual"||M.button===0&&Hr(M,M.currentTarget)&&S(M,m.pointerType||M.pointerType)};let T=M=>{M.pointerId!==m.activePointerId||!m.target||(Hr(M,m.target)?m.isOverTarget||(m.isOverTarget=!0,x(Nt(m.target,M),m.pointerType)):m.isOverTarget&&(m.isOverTarget=!1,C(Nt(m.target,M),m.pointerType,!1),N(M)))},k=M=>{M.pointerId===m.activePointerId&&m.isPressed&&M.button===0&&m.target&&((Hr(M,m.target)||m.isOverTarget)&&C(Nt(m.target,M),m.pointerType),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,P(),u||Yo(m.target))},w=M=>{$(M)};D.onDragStart=M=>{M.currentTarget.contains(M.target)&&$(M)}}else{D.onMouseDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(Fs(w.currentTarget)&&w.preventDefault(),m.ignoreEmulatedMouseEvents){w.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=w.currentTarget,m.pointerType=Cn(w.nativeEvent)?"virtual":"mouse",!s&&!l&&tt(w.currentTarget),x(w,m.pointerType)&&w.stopPropagation(),y(vr(w.currentTarget),"mouseup",T,!1)},D.onMouseEnter=w=>{if(!w.currentTarget.contains(w.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&(m.isOverTarget=!0,M=x(w,m.pointerType)),M&&w.stopPropagation()},D.onMouseLeave=w=>{if(!w.currentTarget.contains(w.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&(m.isOverTarget=!1,M=C(w,m.pointerType,!1),N(w)),M&&w.stopPropagation()},D.onMouseUp=w=>{w.currentTarget.contains(w.target)&&!m.ignoreEmulatedMouseEvents&&w.button===0&&S(w,m.pointerType||"mouse")};let T=w=>{if(w.button===0){if(m.isPressed=!1,P(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&(Hr(w,m.target)?C(Nt(m.target,w),m.pointerType):m.isOverTarget&&C(Nt(m.target,w),m.pointerType,!1),m.isOverTarget=!1)}};D.onTouchStart=w=>{if(!w.currentTarget.contains(w.target))return;let M=og(w.nativeEvent);if(!M)return;m.activePointerId=M.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=w.currentTarget,m.pointerType="touch",!s&&!l&&tt(w.currentTarget),u||cu(m.target),x(w,m.pointerType)&&w.stopPropagation(),y(Ns(w.currentTarget),"scroll",k,!0)},D.onTouchMove=w=>{if(!w.currentTarget.contains(w.target))return;if(!m.isPressed){w.stopPropagation();return}let M=du(w.nativeEvent,m.activePointerId),O=!0;M&&Hr(M,w.currentTarget)?m.isOverTarget||(m.isOverTarget=!0,O=x(w,m.pointerType)):m.isOverTarget&&(m.isOverTarget=!1,O=C(w,m.pointerType,!1),N(w)),O&&w.stopPropagation()},D.onTouchEnd=w=>{if(!w.currentTarget.contains(w.target))return;if(!m.isPressed){w.stopPropagation();return}let M=du(w.nativeEvent,m.activePointerId),O=!0;M&&Hr(M,w.currentTarget)?(S(w,m.pointerType),O=C(w,m.pointerType)):m.isOverTarget&&(O=C(w,m.pointerType,!1)),O&&w.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,!u&&m.target&&Yo(m.target),P()},D.onTouchCancel=w=>{w.currentTarget.contains(w.target)&&(w.stopPropagation(),m.isPressed&&$(w))};let k=w=>{m.isPressed&&w.target.contains(m.target)&&$({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=w=>{w.currentTarget.contains(w.target)&&$(w)}}return D},[y,s,l,P,u,$,N,C,x,S]);return f.useEffect(()=>()=>{!u&&b.current.target&&Yo(b.current.target)},[u]),{isPressed:i||h,pressProps:ie(p,j)}}function Ls(e){return e.tagName==="A"&&e.hasAttribute("href")}function _s(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof Ns(o).HTMLInputElement&&!pu(o,r)||o instanceof Ns(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Ls(o))&&r!=="Enter")}function og(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function du(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function Nt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function ag(e){let t=e.width?e.width/2:e.radiusX||0,r=e.height?e.height/2:e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function sg(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Hr(e,t){let r=t.getBoundingClientRect(),n=ag(e);return sg(r,n)}function Fs(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function fu(e,t){return e instanceof HTMLInputElement?!pu(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Ls(e)}var ig=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function pu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":ig.has(e.type)}var lg=e=>L.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:L.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const hu=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Go=f.createContext({}),qo=f.createContext(null),Qo=typeof document<"u",Vs=Qo?f.useLayoutEffect:f.useEffect,mu=f.createContext({strict:!1}),zs=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),gu="data-"+zs("framerAppearId");function cg(e,t,r,n){const{visualElement:o}=f.useContext(Go),a=f.useContext(mu),s=f.useContext(qo),i=f.useContext(hu).reducedMotion,l=f.useRef();n=n||a.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:i}));const c=l.current;f.useInsertionEffect(()=>{c&&c.update(r,s)});const u=f.useRef(!!(r[gu]&&!window.HandoffComplete));return Vs(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),f.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,window.HandoffComplete=!0))}),c}function Yr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function ug(e,t,r){return f.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Yr(r)&&(r.current=n))},[t])}function $n(e){return typeof e=="string"||Array.isArray(e)}function Xo(e){return typeof e=="object"&&typeof e.start=="function"}const Ws=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Bs=["initial",...Ws];function Zo(e){return Xo(e.animate)||Bs.some(t=>$n(e[t]))}function vu(e){return!!(Zo(e)||e.variants)}function dg(e,t){if(Zo(e)){const{initial:r,animate:n}=e;return{initial:r===!1||$n(r)?r:void 0,animate:$n(n)?n:void 0}}return e.inherit!==!1?t:{}}function fg(e){const{initial:t,animate:r}=dg(e,f.useContext(Go));return f.useMemo(()=>({initial:t,animate:r}),[bu(t),bu(r)])}function bu(e){return Array.isArray(e)?e.join(" "):e}const yu={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Dn={};for(const e in yu)Dn[e]={isEnabled:t=>yu[e].some(r=>!!t[r])};function pg(e){for(const t in e)Dn[t]={...Dn[t],...e[t]}}const In=f.createContext({}),xu=f.createContext({}),hg=Symbol.for("motionComponentSymbol");function mg({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&pg(e);function a(i,l){let c;const u={...f.useContext(hu),...i,layoutId:gg(i)},{isStatic:d}=u,p=fg(i),h=n(i,d);if(!d&&Qo){p.visualElement=cg(o,h,u,t);const g=f.useContext(xu),b=f.useContext(mu).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,b,e,g))}return G.createElement(Go.Provider,{value:p},c&&p.visualElement?G.createElement(c,{visualElement:p.visualElement,...u}):null,r(o,i,ug(h,p.visualElement,l),h,d,p.visualElement))}const s=f.forwardRef(a);return s[hg]=o,s}function gg({layoutId:e}){const t=f.useContext(In).id;return t&&e!==void 0?t+"-"+e:e}function vg(e){function t(n,o={}){return mg(e(n,o))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}const bg=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Rs(e){return typeof e!="string"||e.includes("-")?!1:!!(bg.indexOf(e)>-1||/[A-Z]/.test(e))}const Jo={};function yg(e){Object.assign(Jo,e)}const kn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],br=new Set(kn);function wu(e,{layout:t,layoutId:r}){return br.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Jo[e]||e==="opacity")}const Xe=e=>!!(e&&e.getVelocity),xg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wg=kn.length;function Cg(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let a="";for(let s=0;s<wg;s++){const i=kn[s];if(e[i]!==void 0){const l=xg[i]||i;a+=`${l}(${e[i]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,n?"":a):r&&n&&(a="none"),a}const Cu=e=>t=>typeof t=="string"&&t.startsWith(e),Pu=Cu("--"),Ks=Cu("var(--"),Pg=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Mg=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Qt=(e,t,r)=>Math.min(Math.max(r,e),t),yr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},An={...yr,transform:e=>Qt(0,1,e)},ea={...yr,default:1},On=e=>Math.round(e*1e5)/1e5,ta=/(-)?([\d]*\.?[\d])+/g,Mu=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Tg=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Nn(e){return typeof e=="string"}const jn=e=>({test:t=>Nn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Xt=jn("deg"),Tt=jn("%"),oe=jn("px"),Sg=jn("vh"),Eg=jn("vw"),Tu={...Tt,parse:e=>Tt.parse(e)/100,transform:e=>Tt.transform(e*100)},Su={...yr,transform:Math.round},Eu={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:Xt,rotateX:Xt,rotateY:Xt,rotateZ:Xt,scale:ea,scaleX:ea,scaleY:ea,scaleZ:ea,skew:Xt,skewX:Xt,skewY:Xt,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:An,originX:Tu,originY:Tu,originZ:oe,zIndex:Su,fillOpacity:An,strokeOpacity:An,numOctaves:Su};function Us(e,t,r,n){const{style:o,vars:a,transform:s,transformOrigin:i}=e;let l=!1,c=!1,u=!0;for(const d in t){const p=t[d];if(Pu(d)){a[d]=p;continue}const h=Eu[d],g=Mg(p,h);if(br.has(d)){if(l=!0,s[d]=g,!u)continue;p!==(h.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,i[d]=g):o[d]=g}if(t.transform||(l||n?o.transform=Cg(e.transform,r,u,n):o.transform&&(o.transform="none")),c){const{originX:d="50%",originY:p="50%",originZ:h=0}=i;o.transformOrigin=`${d} ${p} ${h}`}}const Hs=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $u(e,t,r){for(const n in t)!Xe(t[n])&&!wu(n,r)&&(e[n]=t[n])}function $g({transformTemplate:e},t,r){return f.useMemo(()=>{const n=Hs();return Us(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Dg(e,t,r){const n=e.style||{},o={};return $u(o,n,e),Object.assign(o,$g(e,t,r)),e.transformValues?e.transformValues(o):o}function Ig(e,t,r){const n={},o=Dg(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const kg=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ra(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||kg.has(e)}let Du=e=>!ra(e);function Ag(e){e&&(Du=t=>t.startsWith("on")?!ra(t):e(t))}try{Ag(require("@emotion/is-prop-valid").default)}catch{}function Og(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(Du(o)||r===!0&&ra(o)||!t&&!ra(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function Iu(e,t,r){return typeof e=="string"?e:oe.transform(t+r*e)}function Ng(e,t,r){const n=Iu(t,e.x,e.width),o=Iu(r,e.y,e.height);return`${n} ${o}`}const jg={offset:"stroke-dashoffset",array:"stroke-dasharray"},Lg={offset:"strokeDashoffset",array:"strokeDasharray"};function _g(e,t,r=1,n=0,o=!0){e.pathLength=1;const a=o?jg:Lg;e[a.offset]=oe.transform(-n);const s=oe.transform(t),i=oe.transform(r);e[a.array]=`${s} ${i}`}function Ys(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:a,pathLength:s,pathSpacing:i=1,pathOffset:l=0,...c},u,d,p){if(Us(e,c,u,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g,dimensions:b}=e;h.transform&&(b&&(g.transform=h.transform),delete h.transform),b&&(o!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=Ng(b,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),s!==void 0&&_g(h,s,i,l,!1)}const ku=()=>({...Hs(),attrs:{}}),Gs=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Fg(e,t,r,n){const o=f.useMemo(()=>{const a=ku();return Ys(a,t,{enableHardwareAcceleration:!1},Gs(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};$u(a,e.style,e),o.style={...a,...o.style}}return o}function Vg(e=!1){return(r,n,o,{latestValues:a},s)=>{const l=(Rs(r)?Fg:Ig)(n,a,s,r),u={...Og(n,typeof r=="string",e),...l,ref:o},{children:d}=n,p=f.useMemo(()=>Xe(d)?d.get():d,[d]);return f.createElement(r,{...u,children:p})}}function Au(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const a in r)e.style.setProperty(a,r[a])}const Ou=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Nu(e,t,r,n){Au(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Ou.has(o)?o:zs(o),t.attrs[o])}function qs(e,t){const{style:r}=e,n={};for(const o in r)(Xe(r[o])||t.style&&Xe(t.style[o])||wu(o,e))&&(n[o]=r[o]);return n}function ju(e,t){const r=qs(e,t);for(const n in e)if(Xe(e[n])||Xe(t[n])){const o=kn.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function Qs(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}function Lu(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const na=e=>Array.isArray(e),zg=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Wg=e=>na(e)?e[e.length-1]||0:e;function oa(e){const t=Xe(e)?e.get():e;return zg(t)?t.toValue():t}function Bg({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,a){const s={latestValues:Rg(n,o,a,e),renderState:t()};return r&&(s.mount=i=>r(n,i,s)),s}const _u=e=>(t,r)=>{const n=f.useContext(Go),o=f.useContext(qo),a=()=>Bg(e,t,n,o);return r?a():Lu(a)};function Rg(e,t,r,n){const o={},a=n(e,{});for(const p in a)o[p]=oa(a[p]);let{initial:s,animate:i}=e;const l=Zo(e),c=vu(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),i===void 0&&(i=t.animate));let u=r?r.initial===!1:!1;u=u||s===!1;const d=u?i:s;return d&&typeof d!="boolean"&&!Xo(d)&&(Array.isArray(d)?d:[d]).forEach(h=>{const g=Qs(e,h);if(!g)return;const{transitionEnd:b,transition:y,...P}=g;for(const x in P){let C=P[x];if(Array.isArray(C)){const S=u?C.length-1:0;C=C[S]}C!==null&&(o[x]=C)}for(const x in b)o[x]=b[x]}),o}const Le=e=>e;class Fu{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Kg(e){let t=new Fu,r=new Fu,n=0,o=!1,a=!1;const s=new WeakSet,i={schedule:(l,c=!1,u=!1)=>{const d=u&&o,p=d?t:r;return c&&s.add(l),p.add(l)&&d&&o&&(n=t.order.length),l},cancel:l=>{r.remove(l),s.delete(l)},process:l=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let c=0;c<n;c++){const u=t.order[c];u(l),s.has(u)&&(i.schedule(u),e())}o=!1,a&&(a=!1,i.process(l))}};return i}const aa=["prepare","read","update","preRender","render","postRender"],Ug=40;function Hg(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=aa.reduce((d,p)=>(d[p]=Kg(()=>r=!0),d),{}),s=d=>a[d].process(o),i=()=>{const d=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(d-o.timestamp,Ug),1),o.timestamp=d,o.isProcessing=!0,aa.forEach(s),o.isProcessing=!1,r&&t&&(n=!1,e(i))},l=()=>{r=!0,n=!0,o.isProcessing||e(i)};return{schedule:aa.reduce((d,p)=>{const h=a[p];return d[p]=(g,b=!1,y=!1)=>(r||l(),h.schedule(g,b,y)),d},{}),cancel:d=>aa.forEach(p=>a[p].cancel(d)),state:o,steps:a}}const{schedule:Ee,cancel:jt,state:Be,steps:Xs}=Hg(typeof requestAnimationFrame<"u"?requestAnimationFrame:Le,!0),Yg={useVisualState:_u({scrapeMotionValuesFromProps:ju,createRenderState:ku,onMount:(e,t,{renderState:r,latestValues:n})=>{Ee.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Ee.render(()=>{Ys(r,n,{enableHardwareAcceleration:!1},Gs(t.tagName),e.transformTemplate),Nu(t,r)})}})},Gg={useVisualState:_u({scrapeMotionValuesFromProps:qs,createRenderState:Hs})};function qg(e,{forwardMotionProps:t=!1},r,n){return{...Rs(e)?Yg:Gg,preloadedFeatures:r,useRender:Vg(t),createVisualElement:n,Component:e}}function Lt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const Vu=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function sa(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Qg=e=>t=>Vu(t)&&e(t,sa(t));function _t(e,t,r,n){return Lt(e,t,Qg(r),n)}const Xg=(e,t)=>r=>t(e(r)),Zt=(...e)=>e.reduce(Xg);function zu(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Wu=zu("dragHorizontal"),Bu=zu("dragVertical");function Ru(e){let t=!1;if(e==="y")t=Bu();else if(e==="x")t=Wu();else{const r=Wu(),n=Bu();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Ku(){const e=Ru(!0);return e?(e(),!1):!0}class Jt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Uu(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(a,s)=>{if(a.type==="touch"||Ku())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&Ee.update(()=>i[n](a,s))};return _t(e.current,r,o,{passive:!e.getProps()[n]})}class Zg extends Jt{mount(){this.unmount=Zt(Uu(this.node,!0),Uu(this.node,!1))}unmount(){}}class Jg extends Jt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zt(Lt(this.node.current,"focus",()=>this.onFocus()),Lt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Hu=(e,t)=>t?e===t?!0:Hu(e,t.parentElement):!1;function Zs(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,sa(r))}class ev extends Jt{constructor(){super(...arguments),this.removeStartListeners=Le,this.removeEndListeners=Le,this.removeAccessibleListeners=Le,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),a=_t(window,"pointerup",(i,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u}=this.node.getProps();Ee.update(()=>{Hu(this.node.current,i.target)?c&&c(i,l):u&&u(i,l)})},{passive:!(n.onTap||n.onPointerUp)}),s=_t(window,"pointercancel",(i,l)=>this.cancelPress(i,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Zt(a,s),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const s=i=>{i.key!=="Enter"||!this.checkPressEnd()||Zs("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&Ee.update(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=Lt(this.node.current,"keyup",s),Zs("down",(i,l)=>{this.startPress(i,l)})},r=Lt(this.node.current,"keydown",t),n=()=>{this.isPressing&&Zs("cancel",(a,s)=>this.cancelPress(a,s))},o=Lt(this.node.current,"blur",n);this.removeAccessibleListeners=Zt(r,o)}}startPress(t,r){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Ee.update(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ku()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ee.update(()=>n(t,r))}mount(){const t=this.node.getProps(),r=_t(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Lt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Zt(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Js=new WeakMap,ei=new WeakMap,tv=e=>{const t=Js.get(e.target);t&&t(e)},rv=e=>{e.forEach(tv)};function nv({root:e,...t}){const r=e||document;ei.has(r)||ei.set(r,{});const n=ei.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(rv,{root:e,...t})),n[o]}function ov(e,t,r){const n=nv(t);return Js.set(e,r),n.observe(e),()=>{Js.delete(e),n.unobserve(e)}}const av={some:0,all:1};class sv extends Jt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:av[o]},i=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),p=c?u:d;p&&p(l)};return ov(this.node.current,s,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(iv(t,r))&&this.startObserver()}unmount(){}}function iv({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const lv={inView:{Feature:sv},tap:{Feature:ev},focus:{Feature:Jg},hover:{Feature:Zg}};function Yu(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function cv(e){const t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function uv(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function ia(e,t,r){const n=e.getProps();return Qs(n,t,r!==void 0?r:n.custom,cv(e),uv(e))}let Ln=Le,bt=Le;process.env.NODE_ENV!=="production"&&(Ln=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},bt=(e,t)=>{if(!e)throw new Error(t)});const er=e=>e*1e3,Ft=e=>e/1e3,dv={current:!1},Gu=e=>Array.isArray(e)&&typeof e[0]=="number";function qu(e){return!!(!e||typeof e=="string"&&Qu[e]||Gu(e)||Array.isArray(e)&&e.every(qu))}const _n=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Qu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_n([0,.65,.55,1]),circOut:_n([.55,0,1,.45]),backIn:_n([.31,.01,.66,-.59]),backOut:_n([.33,1.53,.69,.99])};function Xu(e){if(e)return Gu(e)?_n(e):Array.isArray(e)?e.map(Xu):Qu[e]}function fv(e,t,r,{delay:n=0,duration:o,repeat:a=0,repeatType:s="loop",ease:i,times:l}={}){const c={[t]:r};l&&(c.offset=l);const u=Xu(i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}function pv(e,{repeat:t,repeatType:r="loop"}){const n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}const Zu=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,hv=1e-7,mv=12;function gv(e,t,r,n,o){let a,s,i=0;do s=t+(r-t)/2,a=Zu(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>hv&&++i<mv);return s}function Fn(e,t,r,n){if(e===t&&r===n)return Le;const o=a=>gv(a,0,1,e,r);return a=>a===0||a===1?a:Zu(o(a),t,n)}const vv=Fn(.42,0,1,1),bv=Fn(0,0,.58,1),Ju=Fn(.42,0,.58,1),yv=e=>Array.isArray(e)&&typeof e[0]!="number",ed=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,td=e=>t=>1-e(1-t),ti=e=>1-Math.sin(Math.acos(e)),rd=td(ti),xv=ed(ti),nd=Fn(.33,1.53,.69,.99),ri=td(nd),wv=ed(ri),od={linear:Le,easeIn:vv,easeInOut:Ju,easeOut:bv,circIn:ti,circInOut:xv,circOut:rd,backIn:ri,backInOut:wv,backOut:nd,anticipate:e=>(e*=2)<1?.5*ri(e):.5*(2-Math.pow(2,-10*(e-1)))},ad=e=>{if(Array.isArray(e)){bt(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return Fn(t,r,n,o)}else if(typeof e=="string")return bt(od[e]!==void 0,`Invalid easing type '${e}'`),od[e];return e},ni=(e,t)=>r=>!!(Nn(r)&&Tg.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),sd=(e,t,r)=>n=>{if(!Nn(n))return n;const[o,a,s,i]=n.match(ta);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:i!==void 0?parseFloat(i):1}},Cv=e=>Qt(0,255,e),oi={...yr,transform:e=>Math.round(Cv(e))},xr={test:ni("rgb","red"),parse:sd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+oi.transform(e)+", "+oi.transform(t)+", "+oi.transform(r)+", "+On(An.transform(n))+")"};function Pv(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const ai={test:ni("#"),parse:Pv,transform:xr.transform},Gr={test:ni("hsl","hue"),parse:sd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Tt.transform(On(t))+", "+Tt.transform(On(r))+", "+On(An.transform(n))+")"},He={test:e=>xr.test(e)||ai.test(e)||Gr.test(e),parse:e=>xr.test(e)?xr.parse(e):Gr.test(e)?Gr.parse(e):ai.parse(e),transform:e=>Nn(e)?e:e.hasOwnProperty("red")?xr.transform(e):Gr.transform(e)},Ne=(e,t,r)=>-r*e+r*t+e;function si(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Mv({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{const i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;o=si(l,i,e+1/3),a=si(l,i,e),s=si(l,i,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}const ii=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},Tv=[ai,xr,Gr],Sv=e=>Tv.find(t=>t.test(e));function id(e){const t=Sv(e);bt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Gr&&(r=Mv(r)),r}const ld=(e,t)=>{const r=id(e),n=id(t),o={...r};return a=>(o.red=ii(r.red,n.red,a),o.green=ii(r.green,n.green,a),o.blue=ii(r.blue,n.blue,a),o.alpha=Ne(r.alpha,n.alpha,a),xr.transform(o))};function Ev(e){var t,r;return isNaN(e)&&Nn(e)&&(((t=e.match(ta))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Mu))===null||r===void 0?void 0:r.length)||0)>0}const cd={regex:Pg,countKey:"Vars",token:"${v}",parse:Le},ud={regex:Mu,countKey:"Colors",token:"${c}",parse:He.parse},dd={regex:ta,countKey:"Numbers",token:"${n}",parse:yr.parse};function li(e,{regex:t,countKey:r,token:n,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+r]=a.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...a.map(o)))}function la(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&li(r,cd),li(r,ud),li(r,dd),r}function fd(e){return la(e).values}function pd(e){const{values:t,numColors:r,numVars:n,tokenised:o}=la(e),a=t.length;return s=>{let i=o;for(let l=0;l<a;l++)l<n?i=i.replace(cd.token,s[l]):l<n+r?i=i.replace(ud.token,He.transform(s[l])):i=i.replace(dd.token,On(s[l]));return i}}const $v=e=>typeof e=="number"?0:e;function Dv(e){const t=fd(e);return pd(e)(t.map($v))}const tr={test:Ev,parse:fd,createTransformer:pd,getAnimatableNone:Dv},hd=(e,t)=>r=>`${r>0?t:e}`;function md(e,t){return typeof e=="number"?r=>Ne(e,t,r):He.test(e)?ld(e,t):e.startsWith("var(")?hd(e,t):vd(e,t)}const gd=(e,t)=>{const r=[...e],n=r.length,o=e.map((a,s)=>md(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}},Iv=(e,t)=>{const r={...e,...t},n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=md(e[o],t[o]));return o=>{for(const a in n)r[a]=n[a](o);return r}},vd=(e,t)=>{const r=tr.createTransformer(t),n=la(e),o=la(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?Zt(gd(n.values,o.values),r):(Ln(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),hd(e,t))},Vn=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},bd=(e,t)=>r=>Ne(e,t,r);function kv(e){return typeof e=="number"?bd:typeof e=="string"?He.test(e)?ld:vd:Array.isArray(e)?gd:typeof e=="object"?Iv:bd}function Av(e,t,r){const n=[],o=r||kv(e[0]),a=e.length-1;for(let s=0;s<a;s++){let i=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Le:t;i=Zt(l,i)}n.push(i)}return n}function yd(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const a=e.length;if(bt(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Av(t,n,o),i=s.length,l=c=>{let u=0;if(i>1)for(;u<e.length-2&&!(c<e[u+1]);u++);const d=Vn(e[u],e[u+1],c);return s[u](d)};return r?c=>l(Qt(e[0],e[a-1],c)):l}function Ov(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=Vn(0,t,n);e.push(Ne(r,1,o))}}function Nv(e){const t=[0];return Ov(t,e.length-1),t}function jv(e,t){return e.map(r=>r*t)}function Lv(e,t){return e.map(()=>t||Ju).splice(0,e.length-1)}function ca({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=yv(n)?n.map(ad):ad(n),a={done:!1,value:t[0]},s=jv(r&&r.length===t.length?r:Nv(t),e),i=yd(s,t,{ease:Array.isArray(o)?o:Lv(t,o)});return{calculatedDuration:e,next:l=>(a.value=i(l),a.done=l>=e,a)}}function xd(e,t){return t?e*(1e3/t):0}const _v=5;function wd(e,t,r){const n=Math.max(t-_v,0);return xd(r-e(n),t-n)}const ci=.001,Fv=.01,Cd=10,Vv=.05,zv=1;function Wv({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;Ln(e<=er(Cd),"Spring duration must be 10 seconds or less");let s=1-t;s=Qt(Vv,zv,s),e=Qt(Fv,Cd,Ft(e)),s<1?(o=c=>{const u=c*s,d=u*e,p=u-r,h=ui(c,s),g=Math.exp(-d);return ci-p/h*g},a=c=>{const d=c*s*e,p=d*r+r,h=Math.pow(s,2)*Math.pow(c,2)*e,g=Math.exp(-d),b=ui(Math.pow(c,2),s);return(-o(c)+ci>0?-1:1)*((p-h)*g)/b}):(o=c=>{const u=Math.exp(-c*e),d=(c-r)*e+1;return-ci+u*d},a=c=>{const u=Math.exp(-c*e),d=(r-c)*(e*e);return u*d});const i=5/e,l=Rv(o,a,i);if(e=er(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}const Bv=12;function Rv(e,t,r){let n=r;for(let o=1;o<Bv;o++)n=n-e(n)/t(n);return n}function ui(e,t){return e*Math.sqrt(1-t*t)}const Kv=["duration","bounce"],Uv=["stiffness","damping","mass"];function Pd(e,t){return t.some(r=>e[r]!==void 0)}function Hv(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Pd(e,Uv)&&Pd(e,Kv)){const r=Wv(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Md({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:i,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=Hv(n),h=u?-Ft(u):0,g=l/(2*Math.sqrt(i*c)),b=a-o,y=Ft(Math.sqrt(i/c)),P=Math.abs(b)<5;r||(r=P?.01:2),t||(t=P?.005:.5);let x;if(g<1){const C=ui(y,g);x=S=>{const $=Math.exp(-g*y*S);return a-$*((h+g*y*b)/C*Math.sin(C*S)+b*Math.cos(C*S))}}else if(g===1)x=C=>a-Math.exp(-y*C)*(b+(h+y*b)*C);else{const C=y*Math.sqrt(g*g-1);x=S=>{const $=Math.exp(-g*y*S),N=Math.min(C*S,300);return a-$*((h+g*y*b)*Math.sinh(N)+C*b*Math.cosh(N))/C}}return{calculatedDuration:p&&d||null,next:C=>{const S=x(C);if(p)s.done=C>=d;else{let $=h;C!==0&&(g<1?$=wd(x,C,S):$=0);const N=Math.abs($)<=r,j=Math.abs(a-S)<=t;s.done=N&&j}return s.value=s.done?a:S,s}}}function Td({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:i,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=m=>i!==void 0&&m<i||l!==void 0&&m>l,g=m=>i===void 0?l:l===void 0||Math.abs(i-m)<Math.abs(l-m)?i:l;let b=r*t;const y=d+b,P=s===void 0?y:s(y);P!==y&&(b=P-d);const x=m=>-b*Math.exp(-m/n),C=m=>P+x(m),S=m=>{const D=x(m),I=C(m);p.done=Math.abs(D)<=c,p.value=p.done?P:I};let $,N;const j=m=>{h(p.value)&&($=m,N=Md({keyframes:[p.value,g(p.value)],velocity:wd(C,m,p.value),damping:o,stiffness:a,restDelta:c,restSpeed:u}))};return j(0),{calculatedDuration:null,next:m=>{let D=!1;return!N&&$===void 0&&(D=!0,S(m),j(m)),$!==void 0&&m>$?N.next(m-$):(!D&&S(m),p)}}}const Yv=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Ee.update(t,!0),stop:()=>jt(t),now:()=>Be.isProcessing?Be.timestamp:performance.now()}},Sd=2e4;function Ed(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<Sd;)t+=r,n=e.next(t);return t>=Sd?1/0:t}const Gv={decay:Td,inertia:Td,tween:ca,keyframes:ca,spring:Md};function ua({autoplay:e=!0,delay:t=0,driver:r=Yv,keyframes:n,type:o="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:i="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h=1,g=!1,b,y;const P=()=>{y=new Promise(W=>{b=W})};P();let x;const C=Gv[o]||ca;let S;C!==ca&&typeof n[0]!="number"&&(S=yd([0,100],n,{clamp:!1}),n=[0,100]);const $=C({...p,keyframes:n});let N;i==="mirror"&&(N=C({...p,keyframes:[...n].reverse(),velocity:-(p.velocity||0)}));let j="idle",m=null,D=null,I=null;$.calculatedDuration===null&&a&&($.calculatedDuration=Ed($));const{calculatedDuration:T}=$;let k=1/0,w=1/0;T!==null&&(k=T+s,w=k*(a+1)-s);let M=0;const O=W=>{if(D===null)return;h>0&&(D=Math.min(D,W)),h<0&&(D=Math.min(W-w/h,D)),m!==null?M=m:M=Math.round(W-D)*h;const ee=M-t*(h>=0?1:-1),U=h>=0?ee<0:ee>w;M=Math.max(ee,0),j==="finished"&&m===null&&(M=w);let re=M,X=$;if(a){const pe=M/k;let fe=Math.floor(pe),he=pe%1;!he&&pe>=1&&(he=1),he===1&&fe--,fe=Math.min(fe,a+1);const Te=!!(fe%2);Te&&(i==="reverse"?(he=1-he,s&&(he-=s/k)):i==="mirror"&&(X=N));let Se=Qt(0,1,he);M>w&&(Se=i==="reverse"&&Te?1:0),re=Se*k}const te=U?{done:!1,value:n[0]}:X.next(re);S&&(te.value=S(te.value));let{done:ce}=te;!U&&T!==null&&(ce=h>=0?M>=w:M<=0);const be=m===null&&(j==="finished"||j==="running"&&ce);return d&&d(te.value),be&&V(),te},F=()=>{x&&x.stop(),x=void 0},E=()=>{j="idle",F(),b(),P(),D=I=null},V=()=>{j="finished",u&&u(),F(),b()},H=()=>{if(g)return;x||(x=r(O));const W=x.now();l&&l(),m!==null?D=W-m:(!D||j==="finished")&&(D=W),j==="finished"&&P(),I=D,m=null,j="running",x.start()};e&&H();const R={then(W,ee){return y.then(W,ee)},get time(){return Ft(M)},set time(W){W=er(W),M=W,m!==null||!x||h===0?m=W:D=x.now()-W/h},get duration(){const W=$.calculatedDuration===null?Ed($):$.calculatedDuration;return Ft(W)},get speed(){return h},set speed(W){W===h||!x||(h=W,R.time=Ft(M))},get state(){return j},play:H,pause:()=>{j="paused",m=M},stop:()=>{g=!0,j!=="idle"&&(j="idle",c&&c(),E())},cancel:()=>{I!==null&&O(I),E()},complete:()=>{j="finished"},sample:W=>(D=0,O(W))};return R}function qv(e){let t;return()=>(t===void 0&&(t=e()),t)}const Qv=qv(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Xv=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),da=10,Zv=2e4,Jv=(e,t)=>t.type==="spring"||e==="backgroundColor"||!qu(t.ease);function e2(e,t,{onUpdate:r,onComplete:n,...o}){if(!(Qv()&&Xv.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let s=!1,i,l;const c=()=>{l=new Promise(x=>{i=x})};c();let{keyframes:u,duration:d=300,ease:p,times:h}=o;if(Jv(t,o)){const x=ua({...o,repeat:0,delay:0});let C={done:!1,value:u[0]};const S=[];let $=0;for(;!C.done&&$<Zv;)C=x.sample($),S.push(C.value),$+=da;h=void 0,u=S,d=$-da,p="linear"}const g=fv(e.owner.current,t,u,{...o,duration:d,ease:p,times:h}),b=()=>g.cancel(),y=()=>{Ee.update(b),i(),c()};return g.onfinish=()=>{e.set(pv(u,o)),n&&n(),y()},{then(x,C){return l.then(x,C)},attachTimeline(x){return g.timeline=x,g.onfinish=null,Le},get time(){return Ft(g.currentTime||0)},set time(x){g.currentTime=er(x)},get speed(){return g.playbackRate},set speed(x){g.playbackRate=x},get duration(){return Ft(d)},play:()=>{s||(g.play(),jt(b))},pause:()=>g.pause(),stop:()=>{if(s=!0,g.playState==="idle")return;const{currentTime:x}=g;if(x){const C=ua({...o,autoplay:!1});e.setWithVelocity(C.sample(x-da).value,C.sample(x).value,da)}y()},complete:()=>g.finish(),cancel:y}}function t2({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:Le,pause:Le,stop:Le,then:a=>(a(),Promise.resolve()),cancel:Le,complete:Le});return t?ua({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const r2={type:"spring",stiffness:500,damping:25,restSpeed:10},n2=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),o2={type:"keyframes",duration:.8},a2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},s2=(e,{keyframes:t})=>t.length>2?o2:br.has(e)?e.startsWith("scale")?n2(t[1]):r2:a2,di=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(tr.test(t)||t==="0")&&!t.startsWith("url(")),i2=new Set(["brightness","contrast","saturate","opacity"]);function l2(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(ta)||[];if(!n)return e;const o=r.replace(n,"");let a=i2.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}const c2=/([a-z-]*)\(.*?\)/g,fi={...tr,getAnimatableNone:e=>{const t=e.match(c2);return t?t.map(l2).join(" "):e}},u2={...Eu,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:fi,WebkitFilter:fi},pi=e=>u2[e];function $d(e,t){let r=pi(e);return r!==fi&&(r=tr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Dd=e=>/^0[^.\s]+$/.test(e);function d2(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Dd(e)}function f2(e,t,r,n){const o=di(t,r);let a;Array.isArray(r)?a=[...r]:a=[null,r];const s=n.from!==void 0?n.from:e.get();let i;const l=[];for(let c=0;c<a.length;c++)a[c]===null&&(a[c]=c===0?s:a[c-1]),d2(a[c])&&l.push(c),typeof a[c]=="string"&&a[c]!=="none"&&a[c]!=="0"&&(i=a[c]);if(o&&l.length&&i)for(let c=0;c<l.length;c++){const u=l[c];a[u]=$d(t,i)}return a}function p2({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:i,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function hi(e,t){return e[t]||e.default||e}const mi=(e,t,r,n={})=>o=>{const a=hi(n,e)||{},s=a.delay||n.delay||0;let{elapsed:i=0}=n;i=i-er(s);const l=f2(t,e,r,a),c=l[0],u=l[l.length-1],d=di(e,c),p=di(e,u);Ln(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-i,onUpdate:g=>{t.set(g),a.onUpdate&&a.onUpdate(g)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(p2(a)||(h={...h,...s2(e,h)}),h.duration&&(h.duration=er(h.duration)),h.repeatDelay&&(h.repeatDelay=er(h.repeatDelay)),!d||!p||dv.current||a.type===!1)return t2(h);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const g=e2(t,e,h);if(g)return g}return ua(h)};function fa(e){return!!(Xe(e)&&e.add)}const Id=e=>/^\-?\d*\.?\d+$/.test(e);function gi(e,t){e.indexOf(t)===-1&&e.push(t)}function vi(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class bi{constructor(){this.subscriptions=[]}add(t){return gi(this.subscriptions,t),()=>vi(this.subscriptions,t)}notify(t,r,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){const s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const kd=new Set;function yi(e,t,r){e||kd.has(t)||(console.warn(t),r&&console.warn(r),kd.add(t))}const h2=e=>!isNaN(parseFloat(e));class m2{constructor(t,r={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{this.prev=this.current,this.current=n;const{delta:a,timestamp:s}=Be;this.lastUpdated!==s&&(this.timeDelta=a,this.lastUpdated=s,Ee.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Ee.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=h2(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&yi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new bi);const n=this.events[t].add(r);return t==="change"?()=>{n(),Ee.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?xd(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function qr(e,t){return new m2(e,t)}const Ad=e=>t=>t.test(e),Od=[yr,oe,Tt,Xt,Eg,Sg,{test:e=>e==="auto",parse:e=>e}],zn=e=>Od.find(Ad(e)),g2=[...Od,He,tr],v2=e=>g2.find(Ad(e));function b2(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,qr(r))}function y2(e,t){const r=ia(e,t);let{transitionEnd:n={},transition:o={},...a}=r?e.makeTargetAnimatable(r,!1):{};a={...a,...n};for(const s in a){const i=Wg(a[s]);b2(e,s,i)}}function x2(e,t,r){var n,o;const a=Object.keys(t).filter(i=>!e.hasValue(i)),s=a.length;if(s)for(let i=0;i<s;i++){const l=a[i],c=t[l];let u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(o=(n=r[l])!==null&&n!==void 0?n:e.readValue(l))!==null&&o!==void 0?o:t[l]),u!=null&&(typeof u=="string"&&(Id(u)||Dd(u))?u=parseFloat(u):!v2(u)&&tr.test(c)&&(u=$d(l,c)),e.addValue(l,qr(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u))}}function w2(e,t){return t?(t[e]||t.default||t).from:void 0}function C2(e,t,r){const n={};for(const o in e){const a=w2(o,t);if(a!==void 0)n[o]=a;else{const s=r.getValue(o);s&&(n[o]=s.get())}}return n}function P2({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function M2(e,t){const r=e.get();if(Array.isArray(t)){for(let n=0;n<t.length;n++)if(t[n]!==r)return!0}else return r!==t}function Nd(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...i}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");n&&(a=n);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const d in i){const p=e.getValue(d),h=i[d];if(!p||h===void 0||u&&P2(u,d))continue;const g={delay:r,elapsed:0,...hi(a||{},d)};if(window.HandoffAppearAnimations){const P=e.getProps()[gu];if(P){const x=window.HandoffAppearAnimations(P,d,p,Ee);x!==null&&(g.elapsed=x,g.isHandoff=!0)}}let b=!g.isHandoff&&!M2(p,h);if(g.type==="spring"&&(p.getVelocity()||g.velocity)&&(b=!1),p.animation&&(b=!1),b)continue;p.start(mi(d,p,h,e.shouldReduceMotion&&br.has(d)?{type:!1}:g));const y=p.animation;fa(l)&&(l.add(d),y.then(()=>l.remove(d))),c.push(y)}return s&&Promise.all(c).then(()=>{s&&y2(e,s)}),c}function xi(e,t,r={}){const n=ia(e,t,r.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);const a=n?()=>Promise.all(Nd(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=o;return T2(e,t,c+l,u,d,r)}:()=>Promise.resolve(),{when:i}=o;if(i){const[l,c]=i==="beforeChildren"?[a,s]:[s,a];return l().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function T2(e,t,r=0,n=0,o=1,a){const s=[],i=(e.variantChildren.size-1)*n,l=o===1?(c=0)=>c*n:(c=0)=>i-c*n;return Array.from(e.variantChildren).sort(S2).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(xi(c,t,{...a,delay:r+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function S2(e,t){return e.sortNodePosition(t)}function E2(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(a=>xi(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=xi(e,t,r);else{const o=typeof t=="function"?ia(e,t,r.custom):t;n=Promise.all(Nd(e,o,r))}return n.then(()=>e.notify("AnimationComplete",t))}const $2=[...Ws].reverse(),D2=Ws.length;function I2(e){return t=>Promise.all(t.map(({animation:r,options:n})=>E2(e,r,n)))}function k2(e){let t=I2(e);const r=O2();let n=!0;const o=(l,c)=>{const u=ia(e,c);if(u){const{transition:d,transitionEnd:p,...h}=u;l={...l,...h,...p}}return l};function a(l){t=l(e)}function s(l,c){const u=e.getProps(),d=e.getVariantContext(!0)||{},p=[],h=new Set;let g={},b=1/0;for(let P=0;P<D2;P++){const x=$2[P],C=r[x],S=u[x]!==void 0?u[x]:d[x],$=$n(S),N=x===c?C.isActive:null;N===!1&&(b=P);let j=S===d[x]&&S!==u[x]&&$;if(j&&n&&e.manuallyAnimateOnMount&&(j=!1),C.protectedKeys={...g},!C.isActive&&N===null||!S&&!C.prevProp||Xo(S)||typeof S=="boolean")continue;const m=A2(C.prevProp,S);let D=m||x===c&&C.isActive&&!j&&$||P>b&&$;const I=Array.isArray(S)?S:[S];let T=I.reduce(o,{});N===!1&&(T={});const{prevResolvedValues:k={}}=C,w={...k,...T},M=O=>{D=!0,h.delete(O),C.needsAnimating[O]=!0};for(const O in w){const F=T[O],E=k[O];g.hasOwnProperty(O)||(F!==E?na(F)&&na(E)?!Yu(F,E)||m?M(O):C.protectedKeys[O]=!0:F!==void 0?M(O):h.add(O):F!==void 0&&h.has(O)?M(O):C.protectedKeys[O]=!0)}C.prevProp=S,C.prevResolvedValues=T,C.isActive&&(g={...g,...T}),n&&e.blockInitialAnimation&&(D=!1),D&&!j&&p.push(...I.map(O=>({animation:O,options:{type:x,...l}})))}if(h.size){const P={};h.forEach(x=>{const C=e.getBaseTarget(x);C!==void 0&&(P[x]=C)}),p.push({animation:P})}let y=!!p.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(p):Promise.resolve()}function i(l,c,u){var d;if(r[l].isActive===c)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;const p=s(u,l);for(const h in r)r[h].protectedKeys={};return p}return{animateChanges:s,setActive:i,setAnimateFunction:a,getState:()=>r}}function A2(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Yu(t,e):!1}function wr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function O2(){return{animate:wr(!0),whileInView:wr(),whileHover:wr(),whileTap:wr(),whileDrag:wr(),whileFocus:wr(),exit:wr()}}class N2 extends Jt{constructor(t){super(t),t.animationState||(t.animationState=k2(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Xo(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let j2=0;class L2 extends Jt{constructor(){super(...arguments),this.id=j2++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t,{custom:n??this.node.getProps().custom});r&&!t&&a.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const _2={animation:{Feature:N2},exit:{Feature:L2}},jd=(e,t)=>Math.abs(e-t);function F2(e,t){const r=jd(e.x,t.x),n=jd(e.y,t.y);return Math.sqrt(r**2+n**2)}class Ld{constructor(t,r,{transformPagePoint:n,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Ci(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=F2(u.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:h}=u,{timestamp:g}=Be;this.history.push({...h,timestamp:g});const{onStart:b,onMove:y}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=wi(d,this.transformPagePoint),Ee.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:h}=this.handlers,g=Ci(u.type==="pointercancel"?this.lastMoveEventInfo:wi(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(u,g),h&&h(u,g)},!Vu(t))return;this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;const a=sa(t),s=wi(a,this.transformPagePoint),{point:i}=s,{timestamp:l}=Be;this.history=[{...i,timestamp:l}];const{onSessionStart:c}=r;c&&c(t,Ci(s,this.history)),this.removeListeners=Zt(_t(this.contextWindow,"pointermove",this.handlePointerMove),_t(this.contextWindow,"pointerup",this.handlePointerUp),_t(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),jt(this.updatePoint)}}function wi(e,t){return t?{point:t(e.point)}:e}function _d(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ci({point:e},t){return{point:e,delta:_d(e,Fd(t)),offset:_d(e,V2(t)),velocity:z2(t,.1)}}function V2(e){return e[0]}function Fd(e){return e[e.length-1]}function z2(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=Fd(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>er(t)));)r--;if(!n)return{x:0,y:0};const a=Ft(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};const s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function ot(e){return e.max-e.min}function Pi(e,t=0,r=.01){return Math.abs(e-t)<=r}function Vd(e,t,r,n=.5){e.origin=n,e.originPoint=Ne(t.min,t.max,e.origin),e.scale=ot(r)/ot(t),(Pi(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ne(r.min,r.max,e.origin)-e.originPoint,(Pi(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Wn(e,t,r,n){Vd(e.x,t.x,r.x,n?n.originX:void 0),Vd(e.y,t.y,r.y,n?n.originY:void 0)}function zd(e,t,r){e.min=r.min+t.min,e.max=e.min+ot(t)}function W2(e,t,r){zd(e.x,t.x,r.x),zd(e.y,t.y,r.y)}function Wd(e,t,r){e.min=t.min-r.min,e.max=e.min+ot(t)}function Bn(e,t,r){Wd(e.x,t.x,r.x),Wd(e.y,t.y,r.y)}function B2(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Ne(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Ne(r,e,n.max):Math.min(e,r)),e}function Bd(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function R2(e,{top:t,left:r,bottom:n,right:o}){return{x:Bd(e.x,r,o),y:Bd(e.y,t,n)}}function Rd(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function K2(e,t){return{x:Rd(e.x,t.x),y:Rd(e.y,t.y)}}function U2(e,t){let r=.5;const n=ot(e),o=ot(t);return o>n?r=Vn(t.min,t.max-n,e.min):n>o&&(r=Vn(e.min,e.max-o,t.min)),Qt(0,1,r)}function H2(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Mi=.35;function Y2(e=Mi){return e===!1?e=0:e===!0&&(e=Mi),{x:Kd(e,"left","right"),y:Kd(e,"top","bottom")}}function Kd(e,t,r){return{min:Ud(e,t),max:Ud(e,r)}}function Ud(e,t){return typeof e=="number"?e:e[t]||0}const Hd=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qr=()=>({x:Hd(),y:Hd()}),Yd=()=>({min:0,max:0}),Ve=()=>({x:Yd(),y:Yd()});function St(e){return[e("x"),e("y")]}function Gd({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function G2({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function q2(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ti(e){return e===void 0||e===1}function Si({scale:e,scaleX:t,scaleY:r}){return!Ti(e)||!Ti(t)||!Ti(r)}function Cr(e){return Si(e)||qd(e)||e.z||e.rotate||e.rotateX||e.rotateY}function qd(e){return Qd(e.x)||Qd(e.y)}function Qd(e){return e&&e!=="0%"}function pa(e,t,r){const n=e-r,o=t*n;return r+o}function Xd(e,t,r,n,o){return o!==void 0&&(e=pa(e,o,n)),pa(e,r,n)+t}function Ei(e,t=0,r=1,n,o){e.min=Xd(e.min,t,r,n,o),e.max=Xd(e.max,t,r,n,o)}function Zd(e,{x:t,y:r}){Ei(e.x,t.translate,t.scale,t.originPoint),Ei(e.y,r.translate,r.scale,r.originPoint)}function Q2(e,t,r,n=!1){const o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let i=0;i<o;i++){a=r[i],s=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Xr(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Zd(e,s)),n&&Cr(a.latestValues)&&Xr(e,a.latestValues))}t.x=Jd(t.x),t.y=Jd(t.y)}function Jd(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function rr(e,t){e.min=e.min+t,e.max=e.max+t}function ef(e,t,[r,n,o]){const a=t[o]!==void 0?t[o]:.5,s=Ne(e.min,e.max,a);Ei(e,t[r],t[n],s,t.scale)}const X2=["x","scaleX","originX"],Z2=["y","scaleY","originY"];function Xr(e,t){ef(e.x,t,X2),ef(e.y,t,Z2)}function tf(e,t){return Gd(q2(e.getBoundingClientRect(),t))}function J2(e,t,r){const n=tf(e,r),{scroll:o}=t;return o&&(rr(n.x,o.offset.x),rr(n.y,o.offset.y)),n}const rf=({current:e})=>e?e.ownerDocument.defaultView:null,eb=new WeakMap;class tb{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ve(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=l=>{this.stopAnimation(),r&&this.snapToCursor(sa(l,"page").point)},a=(l,c)=>{const{drag:u,dragPropagation:d,onDragStart:p}=this.getProps();if(u&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ru(u),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),St(g=>{let b=this.getAxisMotionValue(g).get()||0;if(Tt.test(b)){const{projection:y}=this.visualElement;if(y&&y.layout){const P=y.layout.layoutBox[g];P&&(b=ot(P)*(parseFloat(b)/100))}}this.originPoint[g]=b}),p&&Ee.update(()=>p(l,c),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(l,c)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:p,onDrag:h}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:g}=c;if(d&&this.currentDirection===null){this.currentDirection=rb(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),h&&h(l,c)},i=(l,c)=>this.stop(l,c);this.panSession=new Ld(t,{onSessionStart:o,onStart:a,onMove:s,onSessionEnd:i},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:rf(this.visualElement)})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Ee.update(()=>a(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:o}=this.getProps();if(!n||!ha(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=B2(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;r&&Yr(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=R2(o.layoutBox,r):this.constraints=!1,this.elastic=Y2(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&St(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=H2(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Yr(t))return!1;const n=t.current;bt(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const a=J2(n,o.root,this.visualElement.getTransformPagePoint());let s=K2(o.layout.layoutBox,a);if(r){const i=r(G2(s));this.hasMutatedConstraints=!!i,i&&(s=Gd(i))}return s}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},c=St(u=>{if(!ha(u,r,this.currentDirection))return;let d=l&&l[u]||{};s&&(d={min:0,max:0});const p=o?200:1e6,h=o?40:1e7,g={type:"inertia",velocity:n?t[u]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(i)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(mi(t,n,0,r))}stopAnimation(){St(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){St(r=>{const{drag:n}=this.getProps();if(!ha(r,n,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){const{min:s,max:i}=o.layout.layoutBox[r];a.set(t[r]-Ne(s,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Yr(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};St(s=>{const i=this.getAxisMotionValue(s);if(i){const l=i.get();o[s]=U2({min:l,max:l},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),St(s=>{if(!ha(s,t,null))return;const i=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];i.set(Ne(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;eb.set(this.visualElement,this);const t=this.visualElement.current,r=_t(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();Yr(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const s=Lt(window,"resize",()=>this.scalePositionWithinConstraints()),i=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(St(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),i&&i()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=Mi,dragMomentum:i=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:i}}}function ha(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function rb(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class nb extends Jt{constructor(t){super(t),this.removeGroupControls=Le,this.removeListeners=Le,this.controls=new tb(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Le}unmount(){this.removeGroupControls(),this.removeListeners()}}const nf=e=>(t,r)=>{e&&Ee.update(()=>e(t,r))};class ob extends Jt{constructor(){super(...arguments),this.removePointerDownListener=Le}onPointerDown(t){this.session=new Ld(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rf(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:nf(t),onStart:nf(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&Ee.update(()=>o(a,s))}}}mount(){this.removePointerDownListener=_t(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function ab(){const e=f.useContext(qo);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=f.useId();return f.useEffect(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}const ma={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function of(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Rn={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;const r=of(e,t.target.x),n=of(e,t.target.y);return`${r}% ${n}%`}},sb={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=tr.parse(e);if(o.length>5)return n;const a=tr.createTransformer(e),s=typeof o[0]!="number"?1:0,i=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=i,o[1+s]/=l;const c=Ne(i,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};class ib extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;yg(lb),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),ma.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,s=n.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||Ee.postRender(()=>{const i=s.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function af(e){const[t,r]=ab(),n=f.useContext(In);return f.createElement(ib,{...e,layoutGroup:n,switchLayoutGroup:f.useContext(xu),isPresent:t,safeToRemove:r})}const lb={borderRadius:{...Rn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Rn,borderTopRightRadius:Rn,borderBottomLeftRadius:Rn,borderBottomRightRadius:Rn,boxShadow:sb},sf=["TopLeft","TopRight","BottomLeft","BottomRight"],cb=sf.length,lf=e=>typeof e=="string"?parseFloat(e):e,cf=e=>typeof e=="number"||oe.test(e);function ub(e,t,r,n,o,a){o?(e.opacity=Ne(0,r.opacity!==void 0?r.opacity:1,db(n)),e.opacityExit=Ne(t.opacity!==void 0?t.opacity:1,0,fb(n))):a&&(e.opacity=Ne(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<cb;s++){const i=`border${sf[s]}Radius`;let l=uf(t,i),c=uf(r,i);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||cf(l)===cf(c)?(e[i]=Math.max(Ne(lf(l),lf(c),n),0),(Tt.test(c)||Tt.test(l))&&(e[i]+="%")):e[i]=c}(t.rotate||r.rotate)&&(e.rotate=Ne(t.rotate||0,r.rotate||0,n))}function uf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const db=df(0,.5,rd),fb=df(.5,.95,Le);function df(e,t,r){return n=>n<e?0:n>t?1:r(Vn(e,t,n))}function ff(e,t){e.min=t.min,e.max=t.max}function ft(e,t){ff(e.x,t.x),ff(e.y,t.y)}function pf(e,t,r,n,o){return e-=t,e=pa(e,1/r,n),o!==void 0&&(e=pa(e,1/o,n)),e}function pb(e,t=0,r=1,n=.5,o,a=e,s=e){if(Tt.test(t)&&(t=parseFloat(t),t=Ne(s.min,s.max,t/100)-s.min),typeof t!="number")return;let i=Ne(a.min,a.max,n);e===a&&(i-=t),e.min=pf(e.min,t,r,i,o),e.max=pf(e.max,t,r,i,o)}function hf(e,t,[r,n,o],a,s){pb(e,t[r],t[n],t[o],t.scale,a,s)}const hb=["x","scaleX","originX"],mb=["y","scaleY","originY"];function mf(e,t,r,n){hf(e.x,t,hb,r?r.x:void 0,n?n.x:void 0),hf(e.y,t,mb,r?r.y:void 0,n?n.y:void 0)}function gf(e){return e.translate===0&&e.scale===1}function vf(e){return gf(e.x)&&gf(e.y)}function gb(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function bf(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function yf(e){return ot(e.x)/ot(e.y)}class vb{constructor(){this.members=[]}add(t){gi(this.members,t),t.scheduleRender()}remove(t){if(vi(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){const a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function xf(e,t,r){let n="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(n=`translate3d(${o}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:l,rotateX:c,rotateY:u}=r;l&&(n+=`rotate(${l}deg) `),c&&(n+=`rotateX(${c}deg) `),u&&(n+=`rotateY(${u}deg) `)}const s=e.x.scale*t.x,i=e.y.scale*t.y;return(s!==1||i!==1)&&(n+=`scale(${s}, ${i})`),n||"none"}const bb=(e,t)=>e.depth-t.depth;class yb{constructor(){this.children=[],this.isDirty=!1}add(t){gi(this.children,t),this.isDirty=!0}remove(t){vi(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(bb),this.isDirty=!1,this.children.forEach(t)}}function xb(e,t){const r=performance.now(),n=({timestamp:o})=>{const a=o-r;a>=t&&(jt(n),e(a-t))};return Ee.read(n,!0),()=>jt(n)}function wb(e){window.MotionDebug&&window.MotionDebug.record(e)}function Cb(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Pb(e,t,r){const n=Xe(e)?e:qr(e);return n.start(mi("",n,t,r)),n.animation}const wf=["","X","Y","Z"],Mb={visibility:"hidden"},Cf=1e3;let Tb=0;const Pr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Pf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},i=t==null?void 0:t()){this.id=Tb++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Pr.totalNodes=Pr.resolvedTargetDeltas=Pr.recalculatedProjection=0,this.nodes.forEach($b),this.nodes.forEach(Ob),this.nodes.forEach(Nb),this.nodes.forEach(Db),wb(Pr)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new yb)}addEventListener(s,i){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new bi),this.eventHandlers.get(s).add(i)}notifyListeners(s,...i){const l=this.eventHandlers.get(s);l&&l.notify(...i)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Cb(s),this.instance=s;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(c||l)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=xb(p,250),ma.hasAnimatedSinceResize&&(ma.hasAnimatedSinceResize=!1,this.nodes.forEach(Tf))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||u.getDefaultTransition()||Vb,{onLayoutAnimationStart:y,onLayoutAnimationComplete:P}=u.getProps(),x=!this.targetLayout||!bf(this.targetLayout,g)||h,C=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||C||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,C);const S={...hi(b,"layout"),onPlay:y,onComplete:P};(u.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||Tf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,jt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(jb),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:i,layout:l}=this.options;if(i===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Mf);return}this.isUpdating||this.nodes.forEach(kb),this.isUpdating=!1,this.nodes.forEach(Ab),this.nodes.forEach(Sb),this.nodes.forEach(Eb),this.clearAllSnapshots();const i=performance.now();Be.delta=Qt(0,1e3/60,i-Be.timestamp),Be.timestamp=i,Be.isProcessing=!0,Xs.update.process(Be),Xs.preRender.process(Be),Xs.render.process(Be),Be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ib),this.sharedNodes.forEach(Lb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ve(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let i=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(i=!1),i&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform,i=this.projectionDelta&&!vf(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(i||Cr(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const i=this.measurePageBox();let l=this.removeElementScroll(i);return s&&(l=this.removeTransform(l)),zb(l),{animationId:this.root.animationId,measuredBox:i,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Ve();const i=s.measureViewportBox(),{scroll:l}=this.root;return l&&(rr(i.x,l.offset.x),rr(i.y,l.offset.y)),i}removeElementScroll(s){const i=Ve();ft(i,s);for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;if(c!==this.root&&u&&d.layoutScroll){if(u.isRoot){ft(i,s);const{scroll:p}=this.root;p&&(rr(i.x,-p.offset.x),rr(i.y,-p.offset.y))}rr(i.x,u.offset.x),rr(i.y,u.offset.y)}}return i}applyTransform(s,i=!1){const l=Ve();ft(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Xr(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Cr(u.latestValues)&&Xr(l,u.latestValues)}return Cr(this.latestValues)&&Xr(l,this.latestValues),l}removeTransform(s){const i=Ve();ft(i,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Cr(c.latestValues))continue;Si(c.latestValues)&&c.updateSnapshot();const u=Ve(),d=c.measurePageBox();ft(u,d),mf(i,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Cr(this.latestValues)&&mf(i,this.latestValues),i}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Be.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var i;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||p))){if(this.resolvedRelativeTargetAt=Be.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ve(),this.relativeTargetOrigin=Ve(),Bn(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ft(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ve(),this.targetWithTransforms=Ve()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),W2(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ft(this.target,this.layout.layoutBox),Zd(this.target,this.targetDelta)):ft(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ve(),this.relativeTargetOrigin=Ve(),Bn(this.relativeTargetOrigin,this.target,h.target),ft(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Pr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Si(this.parent.latestValues)||qd(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const i=this.getLead(),l=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Be.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;ft(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;Q2(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox);const{target:g}=i;if(!g){this.projectionTransform&&(this.projectionDelta=Qr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Qr(),this.projectionDeltaWithTransform=Qr());const b=this.projectionTransform;Wn(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=xf(this.projectionDelta,this.treeScale),(this.projectionTransform!==b||this.treeScale.x!==p||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),Pr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const i=this.getStack();i&&i.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,i=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=Qr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;const p=Ve(),h=l?l.source:void 0,g=this.layout?this.layout.source:void 0,b=h!==g,y=this.getStack(),P=!y||y.members.length<=1,x=!!(b&&!P&&this.options.crossfade===!0&&!this.path.some(Fb));this.animationProgress=0;let C;this.mixTargetDelta=S=>{const $=S/1e3;Sf(d.x,s.x,$),Sf(d.y,s.y,$),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bn(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),_b(this.relativeTarget,this.relativeTargetOrigin,p,$),C&&gb(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=Ve()),ft(C,this.relativeTarget)),b&&(this.animationValues=u,ub(u,c,this.latestValues,$,x,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=$},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(jt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ee.update(()=>{ma.hasAnimatedSinceResize=!0,this.currentAnimation=Pb(0,Cf,{...s,onUpdate:i=>{this.mixTargetDelta(i),s.onUpdate&&s.onUpdate(i)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Cf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:i,target:l,layout:c,latestValues:u}=s;if(!(!i||!l||!c)){if(this!==s&&this.layout&&c&&kf(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ve();const d=ot(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const p=ot(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+p}ft(i,l),Xr(i,u),Wn(this.projectionDeltaWithTransform,this.layoutCorrected,i,u)}}registerSharedNode(s,i){this.sharedNodes.has(s)||this.sharedNodes.set(s,new vb),this.sharedNodes.get(s).add(i);const c=i.options.initialPromotionConfig;i.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(i):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:i}=this.options;return i?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:i}=this.options;return i?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:i,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let i=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(i=!0),!i)return;const c={};for(let u=0;u<wf.length;u++){const d="rotate"+wf[u];l[d]&&(c[d]=l[d],s.setStaticValue(d,0))}s.render();for(const u in c)s.setStaticValue(u,c[u]);s.scheduleRender()}getProjectionStyles(s){var i,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Mb;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=oa(s==null?void 0:s.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=oa(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!Cr(this.latestValues)&&(b.transform=u?u({},""):"none",this.hasProjected=!1),b}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=xf(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:h,y:g}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(i=p.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const b in Jo){if(p[b]===void 0)continue;const{correct:y,applyTo:P}=Jo[b],x=c.transform==="none"?p[b]:y(p[b],d);if(P){const C=P.length;for(let S=0;S<C;S++)c[P[S]]=x}else c[b]=x}return this.options.layoutId&&(c.pointerEvents=d===this?oa(s==null?void 0:s.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var i;return(i=s.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(Mf),this.root.sharedNodes.clear()}}}function Sb(e){e.updateLayout()}function Eb(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,s=r.source!==e.layout.source;a==="size"?St(d=>{const p=s?r.measuredBox[d]:r.layoutBox[d],h=ot(p);p.min=n[d].min,p.max=p.min+h}):kf(a,r.layoutBox,n)&&St(d=>{const p=s?r.measuredBox[d]:r.layoutBox[d],h=ot(n[d]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const i=Qr();Wn(i,n,r.layoutBox);const l=Qr();s?Wn(l,e.applyTransform(o,!0),r.measuredBox):Wn(l,n,r.layoutBox);const c=!vf(i);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:h}=d;if(p&&h){const g=Ve();Bn(g,r.layoutBox,p.layoutBox);const b=Ve();Bn(b,n,h.layoutBox),bf(g,b)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function $b(e){Pr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Db(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ib(e){e.clearSnapshot()}function Mf(e){e.clearMeasurements()}function kb(e){e.isLayoutDirty=!1}function Ab(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Tf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ob(e){e.resolveTargetDelta()}function Nb(e){e.calcProjection()}function jb(e){e.resetRotation()}function Lb(e){e.removeLeadSnapshot()}function Sf(e,t,r){e.translate=Ne(t.translate,0,r),e.scale=Ne(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Ef(e,t,r,n){e.min=Ne(t.min,r.min,n),e.max=Ne(t.max,r.max,n)}function _b(e,t,r,n){Ef(e.x,t.x,r.x,n),Ef(e.y,t.y,r.y,n)}function Fb(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Vb={duration:.45,ease:[.4,0,.1,1]},$f=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Df=$f("applewebkit/")&&!$f("chrome/")?Math.round:Le;function If(e){e.min=Df(e.min),e.max=Df(e.max)}function zb(e){If(e.x),If(e.y)}function kf(e,t,r){return e==="position"||e==="preserve-aspect"&&!Pi(yf(t),yf(r),.2)}const Wb=Pf({attachResizeListener:(e,t)=>Lt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),$i={current:void 0},Af=Pf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$i.current){const e=new Wb({});e.mount(window),e.setOptions({layoutScroll:!0}),$i.current=e}return $i.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Bb={pan:{Feature:ob},drag:{Feature:nb,ProjectionNode:Af,MeasureLayout:af}},Rb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Kb(e){const t=Rb.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}const Ub=4;function Di(e,t,r=1){bt(r<=Ub,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=Kb(e);if(!n)return;const a=window.getComputedStyle(t).getPropertyValue(n);if(a){const s=a.trim();return Id(s)?parseFloat(s):s}else return Ks(o)?Di(o,t,r+1):o}function Hb(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(o=>{const a=o.get();if(!Ks(a))return;const s=Di(a,n);s&&o.set(s)});for(const o in t){const a=t[o];if(!Ks(a))continue;const s=Di(a,n);s&&(t[o]=s,r||(r={}),r[o]===void 0&&(r[o]=a))}return{target:t,transitionEnd:r}}const Yb=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Of=e=>Yb.has(e),Gb=e=>Object.keys(e).some(Of),ga=e=>e===yr||e===oe,Nf=(e,t)=>parseFloat(e.split(", ")[t]),jf=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return Nf(o[1],t);{const a=n.match(/^matrix\((.+)\)$/);return a?Nf(a[1],e):0}},qb=new Set(["x","y","z"]),Qb=kn.filter(e=>!qb.has(e));function Xb(e){const t=[];return Qb.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Zr={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:jf(4,13),y:jf(5,14)};Zr.translateX=Zr.x,Zr.translateY=Zr.y;const Zb=(e,t,r)=>{const n=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:s}=a,i={};s==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{i[c]=Zr[c](n,a)}),t.render();const l=t.measureViewportBox();return r.forEach(c=>{const u=t.getValue(c);u&&u.jump(i[c]),e[c]=Zr[c](l,a)}),e},Jb=(e,t,r={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(Of);let a=[],s=!1;const i=[];if(o.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],d=zn(u);const p=t[l];let h;if(na(p)){const g=p.length,b=p[0]===null?1:0;u=p[b],d=zn(u);for(let y=b;y<g&&p[y]!==null;y++)h?bt(zn(p[y])===h,"All keyframes must be of the same type"):(h=zn(p[y]),bt(h===d||ga(d)&&ga(h),"Keyframes must be of the same dimension as the current value"))}else h=zn(p);if(d!==h)if(ga(d)&&ga(h)){const g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&h===oe&&(t[l]=p.map(parseFloat))}else d!=null&&d.transform&&(h!=null&&h.transform)&&(u===0||p===0)?u===0?c.set(h.transform(u)):t[l]=d.transform(p):(s||(a=Xb(e),s=!0),i.push(l),n[l]=n[l]!==void 0?n[l]:t[l],c.jump(p))}),i.length){const l=i.indexOf("height")>=0?window.pageYOffset:null,c=Zb(t,e,i);return a.length&&a.forEach(([u,d])=>{e.getValue(u).set(d)}),e.render(),Qo&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:n}}else return{target:t,transitionEnd:n}};function e5(e,t,r,n){return Gb(t)?Jb(e,t,r,n):{target:t,transitionEnd:n}}const t5=(e,t,r,n)=>{const o=Hb(e,t,n);return t=o.target,n=o.transitionEnd,e5(e,t,r,n)},Ii={current:null},Lf={current:!1};function r5(){if(Lf.current=!0,!!Qo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ii.current=e.matches;e.addListener(t),t()}else Ii.current=!1}function n5(e,t,r){const{willChange:n}=t;for(const o in t){const a=t[o],s=r[o];if(Xe(a))e.addValue(o,a),fa(n)&&n.add(o),process.env.NODE_ENV==="development"&&yi(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(Xe(s))e.addValue(o,qr(a,{owner:e})),fa(n)&&n.remove(o);else if(s!==a)if(e.hasValue(o)){const i=e.getValue(o);!i.hasAnimated&&i.set(a)}else{const i=e.getStaticValue(o);e.addValue(o,qr(i!==void 0?i:a,{owner:e}))}}for(const o in r)t[o]===void 0&&e.removeValue(o);return t}const _f=new WeakMap,Ff=Object.keys(Dn),o5=Ff.length,Vf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],a5=Bs.length;class s5{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ee.render(this.render,!1,!0);const{latestValues:i,renderState:l}=a;this.latestValues=i,this.baseTarget={...i},this.initialValues=r.initial?{...i}:{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.isControllingVariants=Zo(r),this.isVariantNode=vu(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(r,{});for(const d in u){const p=u[d];i[d]!==void 0&&Xe(p)&&(p.set(i[d],!1),fa(c)&&c.add(d))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,_f.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),Lf.current||r5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ii.current,process.env.NODE_ENV!=="production"&&yi(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){_f.delete(this.current),this.projection&&this.projection.unmount(),jt(this.notifyUpdate),jt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const n=br.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ee.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,a){let s,i;if(process.env.NODE_ENV!=="production"&&o&&n){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?Ln(!1,l):bt(!1,l)}for(let l=0;l<o5;l++){const c=Ff[l],{isEnabled:u,Feature:d,ProjectionNode:p,MeasureLayout:h}=Dn[c];p&&(s=p),u(r)&&(!this.features[c]&&d&&(this.features[c]=new d(this)),h&&(i=h))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:c,drag:u,dragConstraints:d,layoutScroll:p,layoutRoot:h}=r;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||d&&Yr(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:a,layoutScroll:p,layoutRoot:h})}return i}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ve()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<Vf.length;n++){const o=Vf[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a=t["on"+o];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=n5(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const r={};for(let n=0;n<a5;n++){const o=Bs[n],a=this.props[o];($n(a)||a===!1)&&(r[o]=a)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=qr(r,{owner:this}),this.addValue(t,n)),n}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(r=Qs(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Xe(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new bi),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class zf extends s5{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...n},{transformValues:o},a){let s=C2(n,t||{},this);if(o&&(r&&(r=o(r)),n&&(n=o(n)),s&&(s=o(s))),a){x2(this,n,s);const i=t5(this,n,s,r);r=i.transitionEnd,n=i.target}return{transition:t,transitionEnd:r,...n}}}function i5(e){return window.getComputedStyle(e)}class l5 extends zf{readValueFromInstance(t,r){if(br.has(r)){const n=pi(r);return n&&n.default||0}else{const n=i5(t),o=(Pu(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return tf(t,r)}build(t,r,n,o){Us(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r){return qs(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Xe(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,o){Au(t,r,n,o)}}class c5 extends zf{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(br.has(r)){const n=pi(r);return n&&n.default||0}return r=Ou.has(r)?r:zs(r),t.getAttribute(r)}measureInstanceViewportBox(){return Ve()}scrapeMotionValuesFromProps(t,r){return ju(t,r)}build(t,r,n,o){Ys(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){Nu(t,r,n,o)}mount(t){this.isSVGTag=Gs(t.tagName),super.mount(t)}}const u5=(e,t)=>Rs(e)?new c5(t,{enableHardwareAcceleration:!1}):new l5(t,{enableHardwareAcceleration:!0}),d5={..._2,...lv,...Bb,...{layout:{ProjectionNode:Af,MeasureLayout:af}}},Wf=vg((e,t)=>qg(e,t,d5,u5));function Bf(){const e=f.useRef(!1);return Vs(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Rf(){const e=Bf(),[t,r]=f.useState(0),n=f.useCallback(()=>{e.current&&r(t+1)},[t]);return[f.useCallback(()=>Ee.postRender(n),[n]),t]}class f5 extends G.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function p5({children:e,isPresent:t}){const r=f.useId(),n=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0});return f.useInsertionEffect(()=>{const{width:a,height:s,top:i,left:l}=o.current;if(t||!n.current||!a||!s)return;n.current.dataset.motionPopId=r;const c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
27
+ Check the top-level render call using <`+V+">.")}return j}}function Fo(y,j){{if(!y._store||y._store.validated||y.key!=null)return;y._store.validated=!0;var V=vc(j);if(_o[V])return;_o[V]=!0;var H="";y&&y._owner&&y._owner!==dt.current&&(H=" It was passed a child from "+C(y._owner.type)+"."),ft(y),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,H),ft(null)}}function Vo(y,j){{if(typeof y!="object")return;if(rt(y))for(var V=0;V<y.length;V++){var H=y[V];Gr(H)&&Fo(H,j)}else if(Gr(y))y._store&&(y._store.validated=!0);else if(y){var re=b(y);if(typeof re=="function"&&re!==y.entries)for(var oe=re.call(y),J;!(J=oe.next()).done;)Gr(J.value)&&Fo(J.value,j)}}}function bc(y){{var j=y.type;if(j==null||typeof j=="string")return;var V;if(typeof j=="function")V=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===l||j.$$typeof===d))V=j.propTypes;else return;if(V){var H=C(j);Nt(V,y.props,"prop",H,y)}else if(j.PropTypes!==void 0&&!Ur){Ur=!0;var re=C(j);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yc(y){{for(var j=Object.keys(y.props),V=0;V<j.length;V++){var H=j[V];if(H!=="children"&&H!=="key"){ft(y),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H),ft(null);break}}y.ref!==null&&(ft(y),x("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}function zo(y,j,V,H,re,oe){{var J=I(y);if(!J){var Z="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(Z+=" 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 Pe=gc(re);Pe?Z+=Pe:Z+=Lo();var pe;y===null?pe="null":rt(y)?pe="array":y!==void 0&&y.$$typeof===t?(pe="<"+(C(y.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof y,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,Z)}var me=he(y,j,V,re,oe);if(me==null)return me;if(J){var Oe=j.children;if(Oe!==void 0)if(H)if(rt(Oe)){for(var pt=0;pt<Oe.length;pt++)Vo(Oe[pt],y);Object.freeze&&Object.freeze(Oe)}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 Vo(Oe,y)}return y===n?yc(me):bc(me),me}}function xc(y,j,V){return zo(y,j,V,!0)}function wc(y,j,V){return zo(y,j,V,!1)}var Cc=wc,Pc=xc;kn.Fragment=n,kn.jsx=Cc,kn.jsxs=Pc}()),kn}process.env.NODE_ENV==="production"?gs.exports=Eh():gs.exports=$h();var L=gs.exports,Ec=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ue=e=>!e||typeof e!="object"||Object.keys(e).length===0,Dh=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function $c(e,t){e.forEach(function(r){Array.isArray(r)?$c(r,t):t.push(r)})}function Dc(e){let t=[];return $c(e,t),t}var kh=(...e)=>Dc(e).filter(Boolean),kc=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let a of n)if(o.includes(a)){let s=e[a],i=t[a];typeof s=="object"&&typeof i=="object"?r[a]=kc(s,i):r[a]=i+" "+s}else r[a]=e[a];for(let a of o)n.includes(a)||(r[a]=t[a]);return r},Ic=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Ih(){for(var e=0,t,r,n="";e<arguments.length;)(t=arguments[e++])&&(r=Ac(t))&&(n&&(n+=" "),n+=r);return n}function Ac(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=Ac(e[n]))&&(r&&(r+=" "),r+=t);return r}var vs="-";function Ah(e){var t=Oh(e),r=e.conflictingClassGroups,n=e.conflictingClassGroupModifiers,o=n===void 0?{}:n;function a(i){var l=i.split(vs);return l[0]===""&&l.length!==1&&l.shift(),Nc(l,t)||Nh(i)}function s(i,l){var c=r[i]||[];return l&&o[i]?[].concat(c,o[i]):c}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function Nc(e,t){var s;if(e.length===0)return t.classGroupId;var r=e[0],n=t.nextPart.get(r),o=n?Nc(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(vs);return(s=t.validators.find(function(i){var l=i.validator;return l(a)}))==null?void 0:s.classGroupId}}var Oc=/^\[(.+)\]$/;function Nh(e){if(Oc.test(e)){var t=Oc.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function Oh(e){var t=e.theme,r=e.prefix,n={nextPart:new Map,validators:[]},o=Lh(Object.entries(e.classGroups),r);return o.forEach(function(a){var s=a[0],i=a[1];bs(i,n,s,t)}),n}function bs(e,t,r,n){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:jc(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(jh(o)){bs(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(function(s){var i=s[0],l=s[1];bs(l,jc(t,i),r,n)})})}function jc(e,t){var r=e;return t.split(vs).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function jh(e){return e.isThemeGetter}function Lh(e,t){return t?e.map(function(r){var n=r[0],o=r[1],a=o.map(function(s){return typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(function(i){var l=i[0],c=i[1];return[t+l,c]})):s});return[n,a]}):e}function _h(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,s){r.set(a,s),t++,t>e&&(t=0,n=r,r=new Map)}return{get:function(s){var i=r.get(s);if(i!==void 0)return i;if((i=n.get(s))!==void 0)return o(s,i),i},set:function(s,i){r.has(s)?r.set(s,i):o(s,i)}}}var Lc="!";function Fh(e){var t=e.separator||":",r=t.length===1,n=t[0],o=t.length;return function(s){for(var i=[],l=0,c=0,u,d=0;d<s.length;d++){var p=s[d];if(l===0){if(p===n&&(r||s.slice(d,d+o)===t)){i.push(s.slice(c,d)),c=d+o;continue}if(p==="/"){u=d;continue}}p==="["?l++:p==="]"&&l--}var h=i.length===0?s:s.substring(c),g=h.startsWith(Lc),v=g?h.substring(1):h,b=u&&u>c?u-c:void 0;return{modifiers:i,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:b}}}function Vh(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var o=n[0]==="[";o?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function zh(e){return{cache:_h(e.cacheSize),splitModifiers:Fh(e),...Ah(e)}}var Wh=/\s+/;function Bh(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(Wh).map(function(s){var i=r(s),l=i.modifiers,c=i.hasImportantModifier,u=i.baseClassName,d=i.maybePostfixModifierPosition,p=n(d?u.substring(0,d):u),h=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:s};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:s};h=!1}var g=Vh(l).join(":"),v=c?g+Lc:g;return{isTailwindClass:!0,modifierId:v,classGroupId:p,originalClassName:s,hasPostfixModifier:h}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var i=s.modifierId,l=s.classGroupId,c=s.hasPostfixModifier,u=i+l;return a.has(u)?!1:(a.add(u),o(l,c).forEach(function(d){return a.add(i+d)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function ys(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,s=i;function i(c){var u=t[0],d=t.slice(1),p=d.reduce(function(h,g){return g(h)},u());return n=zh(p),o=n.cache.get,a=n.cache.set,s=l,l(c)}function l(c){var u=o(c);if(u)return u;var d=Bh(c,n);return a(c,d),d}return function(){return s(Ih.apply(null,arguments))}}function Ae(e){var t=function(n){return n[e]||[]};return t.isThemeGetter=!0,t}var _c=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kh=/^\d+\/\d+$/,Rh=new Set(["px","full","screen"]),Uh=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gh=/\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$/,Hh=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function bt(e){return hr(e)||Rh.has(e)||Kh.test(e)||xs(e)}function xs(e){return mr(e,"length",Jh)}function Yh(e){return mr(e,"size",Fc)}function qh(e){return mr(e,"position",Fc)}function Qh(e){return mr(e,"url",em)}function Bo(e){return mr(e,"number",hr)}function hr(e){return!Number.isNaN(Number(e))}function Xh(e){return e.endsWith("%")&&hr(e.slice(0,-1))}function In(e){return Vc(e)||mr(e,"number",Vc)}function be(e){return _c.test(e)}function An(){return!0}function Xt(e){return Uh.test(e)}function Zh(e){return mr(e,"",tm)}function mr(e,t,r){var n=_c.exec(e);return n?n[1]?n[1]===t:r(n[2]):!1}function Jh(e){return Gh.test(e)}function Fc(){return!1}function em(e){return e.startsWith("url(")}function Vc(e){return Number.isInteger(Number(e))}function tm(e){return Hh.test(e)}function ws(){var e=Ae("colors"),t=Ae("spacing"),r=Ae("blur"),n=Ae("brightness"),o=Ae("borderColor"),a=Ae("borderRadius"),s=Ae("borderSpacing"),i=Ae("borderWidth"),l=Ae("contrast"),c=Ae("grayscale"),u=Ae("hueRotate"),d=Ae("invert"),p=Ae("gap"),h=Ae("gradientColorStops"),g=Ae("gradientColorStopPositions"),v=Ae("inset"),b=Ae("margin"),P=Ae("opacity"),x=Ae("padding"),w=Ae("saturate"),T=Ae("scale"),$=Ae("sepia"),E=Ae("skew"),A=Ae("space"),m=Ae("translate"),k=function(){return["auto","contain","none"]},I=function(){return["auto","hidden","clip","visible","scroll"]},S=function(){return["auto",be,t]},N=function(){return[be,t]},C=function(){return["",bt]},M=function(){return["auto",hr,be]},O=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},_=function(){return["solid","dashed","dotted","double","none"]},D=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},z=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",be]},G=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},U=function(){return[hr,Bo]},F=function(){return[hr,be]};return{cacheSize:500,theme:{colors:[An],spacing:[bt],blur:["none","",Xt,be],brightness:U(),borderColor:[e],borderRadius:["none","","full",Xt,be],borderSpacing:N(),borderWidth:C(),contrast:U(),grayscale:X(),hueRotate:F(),invert:X(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Xh,xs],inset:S(),margin:S(),opacity:U(),padding:N(),saturate:U(),scale:U(),sepia:X(),skew:F(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Xt]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"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"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(O(),[be])}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],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:["auto",In]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",In]}],"grid-cols":[{"grid-cols":[An]}],"col-start-end":[{col:["auto",{span:["full",In]},be]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[An]}],"row-start-end":[{row:["auto",{span:[In]},be]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(z())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(z(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(z(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",be,t]}],"min-w":[{"min-w":["min","max","fit",be,bt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Xt]},Xt,be]}],h:[{h:[be,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",be,bt]}],"max-h":[{"max-h":[be,t,"min","max","fit"]}],"font-size":[{text:["base",Xt,xs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Bo]}],"font-family":[{font:[An]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",hr,Bo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",be,bt]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(_(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",bt]}],"underline-offset":[{"underline-offset":["auto",be,bt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(O(),[qh])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yh]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Qh]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[].concat(_(),["hidden"])}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:_()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(_())}],"outline-offset":[{"outline-offset":[be,bt]}],"outline-w":[{outline:[bt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[bt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xt,Zh]}],"shadow-color":[{shadow:[An]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":D()}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xt,be]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[In,be]}],"translate-x":[{"translate-x":[m]}],"translate-y":[{"translate-y":[m]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[bt,Bo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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-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-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"],"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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function rm(e,t){for(var r in t)zc(e,r,t[r]);return e}var nm=Object.prototype.hasOwnProperty,om=new Set(["string","number","boolean"]);function zc(e,t,r){if(!nm.call(e,t)||om.has(typeof r)||r===null){e[t]=r;return}if(Array.isArray(r)&&Array.isArray(e[t])){e[t]=e[t].concat(r);return}if(typeof r=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=r;return}for(var n in r)zc(e[t],n,r[n])}}function am(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return typeof e=="function"?ys.apply(void 0,[ws,e].concat(r)):ys.apply(void 0,[function(){return rm(ws(),e)}].concat(r))}var Wc=ys(ws),sm={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Bc=e=>e||void 0,Ko=(...e)=>Bc(Dc(e).filter(Boolean).join(" ")),Cs=null,Ro={},Ps=!1,Nn=(...e)=>t=>t.twMerge?((!Cs||Ps)&&(Ps=!1,Cs=Ue(Ro)?Wc:am(Ro)),Bc(Cs(Ko(e)))):Ko(e),Kc=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=Ko(e[r],t[r]):e[r]=t[r];return e},ye=(e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:a=[],compoundSlots:s=[],defaultVariants:i={}}=e,l={...sm,...t},c=r!=null&&r.base?Ko(r.base,e==null?void 0:e.base):e==null?void 0:e.base,u=r!=null&&r.variants&&!Ue(r.variants)?kc(o,r.variants):o,d=r!=null&&r.defaultVariants&&!Ue(r.defaultVariants)?{...r.defaultVariants,...i}:i;!Ue(l.twMergeConfig)&&!Dh(l.twMergeConfig,Ro)&&(Ps=!0,Ro=l.twMergeConfig);let p=Ue(n)?{}:{base:e==null?void 0:e.base,...n},h=Ue(r==null?void 0:r.slots)?p:Kc({...r==null?void 0:r.slots},Ue(p)?{base:e==null?void 0:e.base}:p),g=b=>{if(Ue(u)&&Ue(n)&&Ue(r==null?void 0:r.slots))return Nn(c,b==null?void 0:b.class,b==null?void 0:b.className)(l);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(s&&!Array.isArray(s))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof s}`);let P=(S,N,C=[],M)=>{let O=C;if(typeof N=="string")O=O.concat(Ic(N).split(" ").map(_=>`${S}:${_}`));else if(Array.isArray(N))O=O.concat(N.reduce((_,D)=>_.concat(`${S}:${D}`),[]));else if(typeof N=="object"&&typeof M=="string"){for(let _ in N)if(N.hasOwnProperty(_)&&_===M){let D=N[_];if(D&&typeof D=="string"){let z=Ic(D);O[M]?O[M]=O[M].concat(z.split(" ").map(X=>`${S}:${X}`)):O[M]=z.split(" ").map(X=>`${S}:${X}`)}else Array.isArray(D)&&D.length>0&&(O[M]=D.reduce((z,X)=>z.concat(`${S}:${X}`),[]))}}return O},x=(S,N=u,C=null,M=null)=>{var O;let _=N[S];if(!_||Ue(_))return null;let D=(O=M==null?void 0:M[S])!=null?O:b==null?void 0:b[S];if(D===null)return null;let z=Ec(D),X=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,G=d==null?void 0:d[S],U=[];if(typeof z=="object"&&X)for(let[B,q]of Object.entries(z)){let K=_[q];if(B==="initial"){G=q;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(B)||(U=P(B,K,U,C))}let F=_[z]||_[Ec(G)];return typeof U=="object"&&typeof C=="string"&&U[C]?Kc(U,F):U.length>0?(U.push(F),U):F},w=()=>u?Object.keys(u).map(S=>x(S,u)):null,T=(S,N)=>{if(!u||typeof u!="object")return null;let C=new Array;for(let M in u){let O=x(M,u,S,N),_=S==="base"&&typeof O=="string"?O:O&&O[S];_&&(C[C.length]=_)}return C},$={};for(let S in b)b[S]!==void 0&&($[S]=b[S]);let E=(S,N)=>{var C;let M=typeof(b==null?void 0:b[S])=="object"?{[S]:(C=b[S])==null?void 0:C.initial}:{};return{...d,...$,...M,...N}},A=(S=[],N)=>{let C=[];for(let{class:M,className:O,..._}of S){let D=!0;for(let[z,X]of Object.entries(_)){let G=E(z,N);if(Array.isArray(X)){if(!X.includes(G[z])){D=!1;break}}else if(G[z]!==X){D=!1;break}}D&&(M&&C.push(M),O&&C.push(O))}return C},m=S=>{let N=A(a,S),C=A(r==null?void 0:r.compoundVariants,S);return kh(C,N)},k=S=>{let N=m(S);if(!Array.isArray(N))return N;let C={};for(let M of N)if(typeof M=="string"&&(C.base=Nn(C.base,M)(l)),typeof M=="object")for(let[O,_]of Object.entries(M))C[O]=Nn(C[O],_)(l);return C},I=S=>{if(s.length<1)return null;let N={};for(let{slots:C=[],class:M,className:O,..._}of s){if(!Ue(_)){let D=!0;for(let z of Object.keys(_)){let X=E(z,S)[z];if(X===void 0||(Array.isArray(_[z])?!_[z].includes(X):_[z]!==X)){D=!1;break}}if(!D)continue}for(let D of C)N[D]=N[D]||[],N[D].push([M,O])}return N};if(!Ue(n)||!Ue(r==null?void 0:r.slots)){let S={};if(typeof h=="object"&&!Ue(h))for(let N of Object.keys(h))S[N]=C=>{var M,O;return Nn(h[N],T(N,C),((M=k(C))!=null?M:[])[N],((O=I(C))!=null?O:[])[N],C==null?void 0:C.class,C==null?void 0:C.className)(l)};return S}return Nn(c,w(),m(),b==null?void 0:b.class,b==null?void 0:b.className)(l)},v=()=>{if(!(!u||typeof u!="object"))return Object.keys(u)};return g.variantKeys=v(),g.extend=r,g.base=c,g.slots=h,g.variants=u,g.defaultVariants=d,g.compoundSlots=s,g.compoundVariants=a,g};const im=258,lm=70,cm=223,um=266;function dm({variant:e="default",className:t,short:r,width:n,height:o}){let a=r?cm:im,s=r?um:lm;const i=a/s;n&&(a=n,s=parseFloat((n/i).toFixed(2))),o&&(s=o,a=parseFloat((o*i).toFixed(2)));const l=ye({base:"",variants:{variant:{default:"fill-secondary-green-500",dark:"fill-primary-green-500",light:"fill-white"}}});return r?L.jsx("svg",{preserveAspectRatio:"none",width:a,height:s,viewBox:"0 0 223 266",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:L.jsx("path",{d:"M222.964 194.18V85.6459C222.964 85.2381 222.88 84.8344 222.718 84.458C222.556 84.0816 222.319 83.74 222.02 83.4529C221.721 83.1657 221.366 82.9388 220.975 82.7852C220.585 82.6316 220.167 82.5543 219.746 82.5577H182.608C182.191 82.5577 181.777 82.6378 181.392 82.7933C181.006 82.9488 180.656 83.1767 180.362 83.4638C180.068 83.7509 179.836 84.0916 179.678 84.4661C179.521 84.8406 179.442 85.2416 179.445 85.6459V171.586C177.727 171.586 176.719 171.586 176.364 171.586C164.721 170.029 159.213 167.178 152.914 161.028C146.616 154.878 144.516 146.089 144.025 135.637V104.914C144.03 104.501 143.948 104.091 143.784 103.71C143.62 103.329 143.377 102.984 143.071 102.697L121.966 82.9009L101.434 62.498C101.143 62.1997 100.792 61.9617 100.403 61.7984C100.014 61.6351 99.5947 61.5498 99.1707 61.5478H66.0684C66.7731 54.8644 69.6353 48.5659 74.2486 43.5468C77.1792 40.3682 80.7538 37.8071 84.7504 36.0226C88.7469 34.2381 93.08 33.2684 97.4802 33.1738C98.2977 33.14 99.0706 32.8033 99.639 32.2335C100.207 31.6636 100.528 30.9041 100.534 30.112V2.66184C100.546 2.04062 100.331 1.43533 99.9266 0.952523C99.5226 0.469716 98.9556 0.140347 98.3255 0.0223983H97.7529C97.5176 -0.00746611 97.2792 -0.00746611 97.0439 0.0223983C84.1284 0.266286 71.4425 3.37237 59.9605 9.10208C49.7635 14.1971 41.0132 21.6355 34.4766 30.7653C27.94 39.8951 23.8167 50.4375 22.4681 61.4686H3.163C2.32163 61.4756 1.51715 61.804 0.924744 62.3824C0.332339 62.9608 -3.07314e-05 63.7423 2.13119e-09 64.5568V100.612C2.13119e-09 101.014 0.0817794 101.412 0.240735 101.783C0.39969 102.155 0.632697 102.492 0.926408 102.777C1.22012 103.061 1.56884 103.286 1.95259 103.44C2.33634 103.594 2.74763 103.673 3.163 103.673H21.841V201.517C21.841 201.922 21.9237 202.322 22.0844 202.695C22.245 203.068 22.4804 203.407 22.777 203.692C23.0736 203.976 23.4255 204.201 23.8124 204.354C24.1993 204.506 24.6136 204.583 25.0313 204.579H62.1691C62.5868 204.583 63.0011 204.506 63.388 204.354C63.7749 204.201 64.1268 203.976 64.4234 203.692C64.72 203.407 64.9554 203.068 65.116 202.695C65.2767 202.322 65.3595 201.922 65.3594 201.517V103.673H100.534V132.707C100.534 132.707 100.534 132.918 100.534 133.05C100.31 146.04 103.822 158.834 110.677 170.002C117.395 180.787 127.07 189.558 138.626 195.341C150.258 201.217 163.137 204.406 176.255 204.658H179.5C178.479 211.37 175.291 217.597 170.393 222.448C163.549 229.416 158.013 233.006 147.379 233.006C146.958 233.002 146.54 233.08 146.15 233.233C145.76 233.387 145.405 233.614 145.106 233.901C144.806 234.188 144.569 234.53 144.407 234.906C144.245 235.283 144.162 235.686 144.162 236.094V262.937C144.158 263.345 144.239 263.749 144.4 264.126C144.561 264.502 144.799 264.843 145.099 265.129C145.399 265.415 145.756 265.639 146.148 265.789C146.539 265.938 146.958 266.01 147.379 265.999C160.384 265.772 173.152 262.589 184.653 256.708C196.283 250.973 206.042 242.23 212.848 231.449C219.691 220.275 223.202 207.485 222.991 194.496C222.991 194.496 222.964 194.312 222.964 194.18Z"})}):L.jsxs("svg",{preserveAspectRatio:"none",width:a,height:s,viewBox:"0 0 258 70",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:[L.jsx("path",{d:"M44.1576 5.54621e-10H53.8953C54.117 5.54621e-10 54.3296 0.0853594 54.4864 0.2373C54.6431 0.389241 54.7312 0.595316 54.7312 0.810193V52.8634C54.7312 52.9694 54.7095 53.0745 54.6674 53.1724C54.6253 53.2703 54.5637 53.3591 54.486 53.4338C54.4082 53.5085 54.316 53.5675 54.2147 53.6075C54.1133 53.6474 54.0048 53.6675 53.8953 53.6666H44.1576C43.9378 53.6666 43.727 53.582 43.5716 53.4314C43.4162 53.2807 43.3289 53.0764 43.3289 52.8634V0.810193C43.3279 0.704125 43.3487 0.598926 43.3899 0.500669C43.4311 0.402411 43.492 0.31304 43.5691 0.237715C43.6461 0.162389 43.7378 0.102601 43.8388 0.0618008C43.9398 0.0210004 44.0482 -3.94095e-06 44.1576 5.54621e-10Z"}),L.jsx("path",{d:"M68.7089 51.2755C65.8506 49.7718 63.4549 47.4816 61.7891 44.6605C60.1032 41.7448 59.2396 38.4048 59.2947 35.0137C59.2396 31.6226 60.1032 28.2825 61.7891 25.3668C63.45 22.5364 65.8465 20.2384 68.7089 18.7312C71.8146 17.1539 75.2322 16.3335 78.6964 16.3335C82.1606 16.3335 85.5782 17.1539 88.6838 18.7312C91.5312 20.2475 93.9147 22.5442 95.5701 25.3668C97.251 28.2844 98.1121 31.6236 98.0578 35.0137C98.1121 38.4038 97.251 41.743 95.5701 44.6605C93.9093 47.4735 91.5268 49.7622 88.6838 51.2755C85.577 52.8486 82.1599 53.6668 78.6964 53.6668C75.2329 53.6668 71.8157 52.8486 68.7089 51.2755ZM85.1703 42.3177C86.8555 40.4802 87.6982 38.0432 87.6982 35.0068C87.6982 31.9703 86.8555 29.5379 85.1703 27.7096C84.3456 26.806 83.3434 26.093 82.2302 25.6178C81.1169 25.1426 79.9181 24.9161 78.7131 24.9534C77.5026 24.9186 76.2984 25.146 75.179 25.6209C74.0596 26.0957 73.0499 26.8074 72.2157 27.7096C70.5215 29.5287 69.6744 31.9657 69.6744 35.0206C69.6744 38.0754 70.5215 40.5078 72.2157 42.3177C73.0507 43.2189 74.0605 43.9299 75.1797 44.4047C76.2989 44.8795 77.5027 45.1075 78.7131 45.074C79.9179 45.1103 81.1166 44.8834 82.2297 44.4083C83.3428 43.9332 84.3451 43.2206 85.1703 42.3177Z"}),L.jsx("path",{d:"M187.827 5.54621e-10H197.565C197.787 5.54621e-10 197.999 0.0853594 198.156 0.2373C198.313 0.389241 198.401 0.595316 198.401 0.810193V52.8634C198.401 52.9694 198.379 53.0745 198.337 53.1724C198.295 53.2703 198.233 53.3591 198.156 53.4338C198.078 53.5085 197.986 53.5675 197.884 53.6075C197.783 53.6474 197.674 53.6675 197.565 53.6666H187.827C187.718 53.6666 187.611 53.6459 187.51 53.6055C187.41 53.5651 187.318 53.506 187.241 53.4314C187.164 53.3568 187.103 53.2682 187.062 53.1708C187.02 53.0733 186.999 52.9688 186.999 52.8634V0.810193C186.998 0.704125 187.018 0.598926 187.06 0.500669C187.101 0.402411 187.162 0.31304 187.239 0.237715C187.316 0.162389 187.407 0.102601 187.508 0.0618008C187.61 0.0210004 187.718 -3.94095e-06 187.827 5.54621e-10V5.54621e-10Z"}),L.jsx("path",{d:"M138.924 25.2187C137.26 22.3784 134.865 20.0701 132.005 18.5505C129.42 17.1729 126.578 16.3842 123.671 16.2378C123.128 16.1962 122.591 16.1408 122.027 16.1408C121.464 16.1408 120.927 16.1962 120.377 16.2378C117.94 16.3776 115.546 16.9589 113.304 17.955V0.810156C113.306 0.599481 113.227 0.396499 113.085 0.244956C112.944 0.0934118 112.75 0.00544026 112.546 0L103.406 0C103.198 0 102.998 0.0853555 102.851 0.237289C102.704 0.389223 102.621 0.59529 102.621 0.810156V52.861C102.623 53.0746 102.706 53.2789 102.853 53.4294C103 53.5798 103.199 53.6642 103.406 53.6642H112.546C112.752 53.6642 112.95 53.5796 113.096 53.4289C113.242 53.2783 113.324 53.074 113.324 52.861V51.8569C116.078 53.0793 119.049 53.6948 122.047 53.6642C125.51 53.718 128.931 52.8854 132.005 51.2407C134.853 49.7142 137.238 47.4069 138.897 44.5725C140.579 41.6406 141.441 38.285 141.386 34.8783C141.443 31.4859 140.591 28.1433 138.924 25.2187ZM128.523 42.2389C127.695 43.1457 126.691 43.8613 125.576 44.3387C124.461 44.8161 123.261 45.0445 122.054 45.0087C120.843 45.0424 119.638 44.8132 118.518 44.3361C117.398 43.859 116.387 43.1445 115.552 42.2389C114.427 40.9975 113.659 39.4587 113.331 37.7935C112.883 35.8844 112.883 33.8929 113.331 31.9839C113.659 30.3207 114.428 28.7842 115.552 27.5453C116.387 26.6387 117.397 25.9235 118.517 25.4463C119.638 24.9691 120.843 24.7406 122.054 24.7756C123.261 24.7385 124.462 24.9662 125.577 25.4437C126.692 25.9211 127.696 26.6375 128.523 27.5453C130.205 29.3918 131.046 31.8408 131.046 34.8921C131.046 37.9435 130.205 40.3924 128.523 42.2389Z"}),L.jsx("path",{d:"M171.742 17.1428V18.1215C169.01 16.9171 166.064 16.3092 163.092 16.3365C159.615 16.2772 156.179 17.1011 153.087 18.7349C150.224 20.2425 147.828 22.541 146.166 25.3719C144.48 28.2882 143.617 31.6289 143.672 35.0207C143.617 38.4125 144.48 41.7532 146.166 44.6695C147.834 47.4861 150.23 49.7718 153.087 51.2721C156.179 52.9037 159.616 53.7252 163.092 53.6636C166.064 53.693 169.009 53.0875 171.742 51.8855V52.8641C171.742 53.0762 171.824 53.2795 171.97 53.4294C172.116 53.5794 172.313 53.6636 172.52 53.6636H181.66C181.866 53.6636 182.064 53.5794 182.21 53.4294C182.355 53.2795 182.437 53.0762 182.437 52.8641V17.1428C182.437 16.9302 182.356 16.7261 182.21 16.5751C182.064 16.4241 181.866 16.3383 181.66 16.3365H172.52C172.313 16.3383 172.115 16.4241 171.969 16.5751C171.824 16.7261 171.742 16.9302 171.742 17.1428ZM169.549 42.3125C168.724 43.2155 167.722 43.9282 166.608 44.4035C165.495 44.8787 164.296 45.1056 163.092 45.0693C161.881 45.1028 160.677 44.8747 159.558 44.3998C158.439 43.9249 157.429 43.2138 156.594 42.3125C154.891 40.4746 154.039 38.0371 154.039 35C154.039 31.963 154.891 29.5255 156.594 27.6876C157.428 26.7852 158.438 26.0734 159.557 25.5984C160.677 25.1235 161.881 24.896 163.092 24.9308C164.297 24.8936 165.495 25.1201 166.609 25.5954C167.722 26.0707 168.724 26.7839 169.549 27.6876C170.66 28.9209 171.418 30.4446 171.742 32.0916C172.189 34.0033 172.189 35.9967 171.742 37.9085C171.416 39.5549 170.658 41.0781 169.549 42.3125Z"}),L.jsx("path",{d:"M41.0484 51.1316V17.1532C41.0485 16.9392 40.9619 16.7339 40.8076 16.582C40.6533 16.43 40.4437 16.3437 40.2246 16.3419H30.5438C30.3247 16.3437 30.1151 16.43 29.9608 16.582C29.8065 16.7339 29.7199 16.9392 29.7199 17.1532V18.2003C26.8101 16.9534 23.6643 16.3179 20.4866 16.335C16.8207 16.2935 13.2007 17.1342 9.9465 18.7828C6.92093 20.297 4.38759 22.6047 2.6309 25.4467C0.855237 28.3743 -0.0544231 31.7252 0.00296367 35.1271C-0.0590547 38.5392 0.853371 41.9008 2.638 44.8352C4.39099 47.6742 6.92257 49.9777 9.9465 51.4853C13.2111 53.1311 16.8413 53.9648 20.515 53.9123C23.7856 53.8752 27.015 53.196 30.0111 51.9152C30.0135 54.3789 29.0796 56.7559 27.3903 58.5861C25.6076 60.4167 24.116 61.3043 21.3318 61.3043C21.1127 61.3062 20.9031 61.3925 20.7488 61.5444C20.5945 61.6964 20.5079 61.9017 20.5079 62.1157V69.1887C20.5089 69.2968 20.5317 69.4036 20.5751 69.503C20.6185 69.6023 20.6817 69.6923 20.7609 69.7678C20.8402 69.8432 20.9339 69.9026 21.0368 69.9424C21.1397 69.9823 21.2496 70.0019 21.3603 70C24.7569 69.9521 28.0956 69.1331 31.112 67.6077C34.128 66.0809 36.6507 63.7667 38.3992 60.923C40.1863 57.9893 41.1012 54.6276 41.0413 51.2148C41.0413 51.2148 41.0484 51.1663 41.0484 51.1316ZM29.7199 37.8107C29.4003 39.553 28.5772 41.1698 27.3477 42.4706C26.475 43.379 25.4145 44.0961 24.2366 44.5742C23.0587 45.0524 21.7902 45.2808 20.515 45.2443C19.2361 45.2782 17.9641 45.0487 16.782 44.5708C15.5999 44.0929 14.5341 43.3773 13.654 42.4706C11.8594 40.6214 10.9598 38.1736 10.9551 35.1271C10.9503 32.0806 11.85 29.6328 13.654 27.7836C14.5349 26.878 15.6009 26.1631 16.7828 25.6852C17.9647 25.2074 19.2362 24.9773 20.515 25.0099C21.79 24.9747 23.0581 25.2037 24.2358 25.6818C25.4136 26.1599 26.4741 26.8762 27.3477 27.7836C28.5734 29.0842 29.396 30.6977 29.7199 32.4366C30.1081 34.2079 30.1081 36.0394 29.7199 37.8107Z"}),L.jsx("path",{d:"M257.684 51.0999V22.5384C257.684 22.4311 257.662 22.3248 257.621 22.2258C257.579 22.1267 257.519 22.0368 257.442 21.9613C257.366 21.8857 257.275 21.826 257.175 21.7856C257.076 21.7451 256.969 21.7248 256.861 21.7257H247.366C247.26 21.7257 247.154 21.7468 247.055 21.7877C246.957 21.8286 246.867 21.8886 246.792 21.9642C246.717 22.0397 246.658 22.1294 246.617 22.2279C246.577 22.3265 246.557 22.432 246.558 22.5384V45.1542C246.119 45.1542 245.861 45.1542 245.77 45.1542C242.793 44.7444 241.385 43.9943 239.775 42.3759C238.165 40.7575 237.628 38.4445 237.502 35.6939V27.6089C237.504 27.5002 237.483 27.3924 237.441 27.2921C237.399 27.1918 237.337 27.101 237.258 27.0254L231.863 21.816L226.614 16.4468C226.539 16.3683 226.449 16.3057 226.35 16.2627C226.251 16.2198 226.143 16.1973 226.035 16.1968H217.572C217.752 14.438 218.484 12.7805 219.663 11.4597C220.413 10.6232 221.327 9.94923 222.348 9.47962C223.37 9.01002 224.478 8.75484 225.603 8.72994C225.812 8.72104 226.009 8.63245 226.155 8.48249C226.3 8.33253 226.382 8.13267 226.384 7.92422V0.700484C226.386 0.537006 226.331 0.377718 226.228 0.250664C226.125 0.123609 225.98 0.0369334 225.819 0.00589429H225.672C225.612 -0.00196476 225.551 -0.00196476 225.491 0.00589429C222.189 0.0700753 218.946 0.887465 216.011 2.39528C213.404 3.73607 211.166 5.69354 209.495 8.09612C207.824 10.4987 206.77 13.273 206.425 16.1759H201.49C201.275 16.1778 201.069 16.2642 200.918 16.4164C200.766 16.5686 200.681 16.7743 200.681 16.9886V26.4767C200.681 26.5825 200.702 26.6873 200.743 26.7851C200.783 26.8828 200.843 26.9716 200.918 27.0465C200.993 27.1213 201.082 27.1806 201.18 27.2211C201.278 27.2616 201.384 27.2824 201.49 27.2824H206.265V53.0309C206.265 53.1373 206.286 53.2426 206.327 53.3408C206.368 53.439 206.428 53.5282 206.504 53.6031C206.58 53.678 206.67 53.7372 206.769 53.7773C206.868 53.8174 206.974 53.8375 207.081 53.8366H216.575C216.682 53.8375 216.788 53.8174 216.887 53.7773C216.986 53.7372 217.076 53.678 217.152 53.6031C217.227 53.5282 217.288 53.439 217.329 53.3408C217.37 53.2426 217.391 53.1373 217.391 53.0309V27.2824H226.384V34.9229C226.384 34.9229 226.384 34.9785 226.384 35.0132C226.326 38.4315 227.224 41.7984 228.977 44.7375C230.694 47.5755 233.168 49.8836 236.122 51.4056C239.096 52.9517 242.389 53.791 245.742 53.8575H246.572C246.311 55.6236 245.496 57.2623 244.243 58.539C242.494 60.3727 241.079 61.3173 238.36 61.3173C238.252 61.3164 238.145 61.3368 238.046 61.3772C237.946 61.4176 237.855 61.4774 237.779 61.5529C237.702 61.6285 237.641 61.7184 237.6 61.8174C237.559 61.9165 237.537 62.0227 237.537 62.13V69.194C237.536 69.3013 237.557 69.4076 237.598 69.5067C237.639 69.6058 237.7 69.6956 237.777 69.7708C237.854 69.846 237.945 69.9051 238.045 69.9444C238.145 69.9837 238.252 70.0025 238.36 69.9997C241.685 69.94 244.949 69.1025 247.889 67.5548C250.862 66.0456 253.358 63.7446 255.097 60.9075C256.847 57.9672 257.745 54.6012 257.691 51.1833C257.691 51.1833 257.684 51.1347 257.684 51.0999Z"})]})}function Rc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Rc(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Uc(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Rc(e))&&(n&&(n+=" "),n+=t);return n}const Zt=(...e)=>Wc(Uc(e)),Gc=({children:e,className:t,font:r="satoshi",weight:n="regular",...o})=>{const a=ye({variants:{font:{satoshi:"font-satoshi",livvic:"font-livvic"},weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",black:"font-black"}}});return L.jsx("p",{...o,className:Zt(t,a({font:r,weight:n})),children:e})},fm={bra:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTA5OSIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MSAzNS4xODY1QzI3LjcyMzkgMzUuMTg2NSAzNS4xOTMzIDI3LjcxNzEgMzUuMTkzMyAxOC41MDMyQzM1LjE5MzMgOS4yODkyMSAyNy43MjM5IDEuODE5ODIgMTguNTEgMS44MTk4MkM5LjI5NjA0IDEuODE5ODIgMS44MjY2NiA5LjI4OTIxIDEuODI2NjYgMTguNTAzMkMxLjgyNjY2IDI3LjcxNzEgOS4yOTYwNCAzNS4xODY1IDE4LjUxIDM1LjE4NjVaIiBmaWxsPSIjMEI5RjU5Ii8+CjxwYXRoIGQ9Ik0xOC41MTAxIDguMzQ4MjhMMzIuMjkyIDE4LjUwMzNMMTguNTEwMSAyOC42NTg0TDQuNzI4MjQgMTguNTAzM0wxOC41MTAxIDguMzQ4MjhaIiBmaWxsPSIjRkZEQTQ0Ii8+CjxwYXRoIGQ9Ik0xOC41MDk5IDI0LjMwNjJDMjEuNzE0OCAyNC4zMDYyIDI0LjMxMjggMjEuNzA4MSAyNC4zMTI4IDE4LjUwMzNDMjQuMzEyOCAxNS4yOTg1IDIxLjcxNDggMTIuNzAwNCAxOC41MDk5IDEyLjcwMDRDMTUuMzA1MSAxMi43MDA0IDEyLjcwNyAxNS4yOTg1IDEyLjcwNyAxOC41MDMzQzEyLjcwNyAyMS43MDgxIDE1LjMwNTEgMjQuMzA2MiAxOC41MDk5IDI0LjMwNjJaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNS42MDgzIDE4LjEzOTdDMTQuNTk5MiAxOC4xMzk3IDEzLjYyNTQgMTguMjkzMSAxMi43MDg3IDE4LjU3NzlDMTIuNzQ5MyAyMS43NDc4IDE1LjMzMDMgMjQuMzA1MyAxOC41MDk4IDI0LjMwNTNDMjAuNDc1OCAyNC4zMDUzIDIyLjIxMjIgMjMuMzI2NiAyMy4yNjE4IDIxLjgzMDlDMjEuNDY2IDE5LjU4MjggMTguNzAyNyAxOC4xMzk3IDE1LjYwODMgMTguMTM5N1oiIGZpbGw9IiMwMDUyQjQiLz4KPHBhdGggZD0iTTI0LjIwNTEgMTkuNjE0MkMyNC4yNzUgMTkuMjU0MiAyNC4zMTI3IDE4Ljg4MjggMjQuMzEyNyAxOC41MDI1QzI0LjMxMjcgMTUuMjk3NiAyMS43MTQ3IDEyLjY5OTYgMTguNTA5OSAxMi42OTk2QzE2LjExODUgMTIuNjk5NiAxNC4wNjU3IDE0LjE0NjQgMTMuMTc3MyAxNi4yMTIxQzEzLjk2MjYgMTYuMDQ5NCAxNC43NzU3IDE1Ljk2MzcgMTUuNjA4NSAxNS45NjM3QzE4Ljk3ODggMTUuOTYzNyAyMi4wMjc4IDE3LjM2NDcgMjQuMjA1MSAxOS42MTQyWiIgZmlsbD0iIzAwNTJCNCIvPgo8L3N2Zz4K",esp:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTE2OCIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xLjgzMzUgMTguNTAyN0MxLjgzMzUgMjAuNTQzNCAyLjIwMDU5IDIyLjQ5ODIgMi44NzExOSAyNC4zMDU2TDE4LjUxNjggMjUuNzU2M0wzNC4xNjI1IDI0LjMwNTZDMzQuODMzMSAyMi40OTgyIDM1LjIwMDIgMjAuNTQzNCAzNS4yMDAyIDE4LjUwMjdDMzUuMjAwMiAxNi40NjIgMzQuODMzMSAxNC41MDcyIDM0LjE2MjUgMTIuNjk5OEwxOC41MTY4IDExLjI0OTFMMi44NzExOSAxMi42OTk4QzIuMjAwNTkgMTQuNTA3MiAxLjgzMzUgMTYuNDYyIDEuODMzNSAxOC41MDI3WiIgZmlsbD0iI0ZGREE0NCIvPgo8cGF0aCBkPSJNMzQuMTYyOCAxMi43MDAzQzMxLjgwNTUgNi4zNDczNSAyNS42OTA0IDEuODE5ODIgMTguNTE3MSAxLjgxOTgyQzExLjM0MzkgMS44MTk4MiA1LjIyODcgNi4zNDczNSAyLjg3MTQ2IDEyLjcwMDNIMzQuMTYyOFoiIGZpbGw9IiNEODAwMjciLz4KPHBhdGggZD0iTTIuODcxMTkgMjQuMzA1NkM1LjIyODQyIDMwLjY1ODYgMTEuMzQzOSAzNS4xODY1IDE4LjUxNzEgMzUuMTg2NUMyNS42OTA0IDM1LjE4NjUgMzEuODA1MiAzMC42NTg2IDM0LjE2MjUgMjQuMzA1NkgyLjg3MTE5WiIgZmlsbD0iI0Q4MDAyNyIvPgo8L3N2Zz4K",usa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTAzMyIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjcuNzE3NCAzNS4xODY1IDM1LjE4NjcgMjcuNzE3MSAzNS4xODY3IDE4LjUwMzJDMzUuMTg2NyA5LjI4OTIxIDI3LjcxNzQgMS44MTk4MiAxOC41MDM0IDEuODE5ODJDOS4yODk0NSAxLjgxOTgyIDEuODIwMDcgOS4yODkyMSAxLjgyMDA3IDE4LjUwMzJDMS44MjAwNyAyNy43MTcxIDkuMjg5NDUgMzUuMTg2NSAxOC41MDM0IDM1LjE4NjVaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDE4LjUwMzdIMzUuMTg2NkMzNS4xODY2IDE2Ljk5NzggMzQuOTg1OCAxNS41MzkxIDM0LjYxMTggMTQuMTUxNUgxNy43Nzc5VjE4LjUwMzdaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDkuNzk5MzRIMzIuNzM3OUMzMS43MTY2IDguMTMyODMgMzAuNDEwOCA2LjY1OTgxIDI4Ljg4ODMgNS40NDcxNEgxNy43Nzc5VjkuNzk5MzRaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjIuNDI5OCAzNS4xODY1IDI2LjAzODQgMzMuODI5OCAyOC44ODgyIDMxLjU2MDFIOC4xMTc5OUMxMC45Njc4IDMzLjgyOTggMTQuNTc3IDM1LjE4NjUgMTguNTAzNCAzNS4xODY1WiIgZmlsbD0iI0Q4MDAyNyIvPgo8cGF0aCBkPSJNNC4yNjg1NyAyNy4yMDhIMzIuNzM3OUMzMy41NTc4IDI1Ljg3MDEgMzQuMTkzNiAyNC40MDc3IDM0LjYxMTggMjIuODU1OEgyLjM5NDYzQzIuODEyODIgMjQuNDA3NyAzLjQ0ODY3IDI1Ljg3MDEgNC4yNjg1NyAyNy4yMDhaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik05LjU0ODEgNC40MjUxNkgxMS4wNjg0TDkuNjU0MjYgNS40NTI1NUwxMC4xOTQ0IDcuMTE0OTZMOC43ODAzNCA2LjA4NzU2TDcuMzY2MjMgNy4xMTQ5Nkw3LjgzMjg1IDUuNjc4ODJDNi41ODc3MiA2LjcxNTk5IDUuNDk2NCA3LjkzMTE0IDQuNTk3MDYgOS4yODUwOUg1LjA4NDJMNC4xODQwMiA5LjkzOTA3QzQuMDQzNzcgMTAuMTczIDMuOTA5MjYgMTAuNDEwNyAzLjc4MDM2IDEwLjY1MTlMNC4yMTAyMiAxMS45NzQ5TDMuNDA4MjQgMTEuMzkyMkMzLjIwODg5IDExLjgxNDYgMy4wMjY1NSAxMi4yNDY1IDIuODYyNjUgMTIuNjg3M0wzLjMzNjIzIDE0LjE0NUg1LjA4NDJMMy42NzAwMyAxNS4xNzI0TDQuMjEwMjIgMTYuODM0OEwyLjc5NjExIDE1LjgwNzRMMS45NDkwNCAxNi40MjI5QzEuODY0MjUgMTcuMTA0NCAxLjgyMDA3IDE3Ljc5ODYgMS44MjAwNyAxOC41MDMySDE4LjUwMzRDMTguNTAzNCA5LjI4OTI3IDE4LjUwMzQgOC4yMDMwMiAxOC41MDM0IDEuODE5ODJDMTUuMjA3NyAxLjgxOTgyIDEyLjEzNTQgMi43NzU4NiA5LjU0ODEgNC40MjUxNlpNMTAuMTk0NCAxNi44MzQ4TDguNzgwMzQgMTUuODA3NEw3LjM2NjIzIDE2LjgzNDhMNy45MDY0MiAxNS4xNzI0TDYuNDkyMjUgMTQuMTQ1SDguMjQwMjJMOC43ODAzNCAxMi40ODI2TDkuMzIwNDYgMTQuMTQ1SDExLjA2ODRMOS42NTQyNiAxNS4xNzI0TDEwLjE5NDQgMTYuODM0OFpNOS42NTQyNiAxMC4zMTI1TDEwLjE5NDQgMTEuOTc0OUw4Ljc4MDM0IDEwLjk0NzVMNy4zNjYyMyAxMS45NzQ5TDcuOTA2NDIgMTAuMzEyNUw2LjQ5MjI1IDkuMjg1MDlIOC4yNDAyMkw4Ljc4MDM0IDcuNjIyNjlMOS4zMjA0NiA5LjI4NTA5SDExLjA2ODRMOS42NTQyNiAxMC4zMTI1Wk0xNi4xNzg3IDE2LjgzNDhMMTQuNzY0NiAxNS44MDc0TDEzLjM1MDUgMTYuODM0OEwxMy44OTA3IDE1LjE3MjRMMTIuNDc2NSAxNC4xNDVIMTQuMjI0NUwxNC43NjQ2IDEyLjQ4MjZMMTUuMzA0NyAxNC4xNDVIMTcuMDUyN0wxNS42Mzg1IDE1LjE3MjRMMTYuMTc4NyAxNi44MzQ4Wk0xNS42Mzg1IDEwLjMxMjVMMTYuMTc4NyAxMS45NzQ5TDE0Ljc2NDYgMTAuOTQ3NUwxMy4zNTA1IDExLjk3NDlMMTMuODkwNyAxMC4zMTI1TDEyLjQ3NjUgOS4yODUwOUgxNC4yMjQ1TDE0Ljc2NDYgNy42MjI2OUwxNS4zMDQ3IDkuMjg1MDlIMTcuMDUyN0wxNS42Mzg1IDEwLjMxMjVaTTE1LjYzODUgNS40NTI1NUwxNi4xNzg3IDcuMTE0OTZMMTQuNzY0NiA2LjA4NzU2TDEzLjM1MDUgNy4xMTQ5NkwxMy44OTA3IDUuNDUyNTVMMTIuNDc2NSA0LjQyNTE2SDE0LjIyNDVMMTQuNzY0NiAyLjc2Mjc2TDE1LjMwNDcgNC40MjUxNkgxNy4wNTI3TDE1LjYzODUgNS40NTI1NVoiIGZpbGw9IiMwMDUyQjQiLz4KPC9zdmc+Cg=="},pm=({shadow:e,country:t,className:r,...n})=>{const o=ye({base:"rounded-full",variants:{shadow:{true:"shadow-[4px_4px_6px_0px_rgba(0,0,0,0.17)]",false:""}}}),a=fm[t];return L.jsx("img",{...n,src:a,alt:`${t} flag`,className:Zt(r,o({shadow:e}))})},BC="",Ge=({name:e,className:t,...r})=>L.jsx("span",{...r,className:`icon-${e} ${t??""}`});({IcoMoonType:"selection",icons:[{icon:{paths:["M695.177 547.182c48.599-38.234 84.074-90.672 101.482-150.006 17.414-59.336 15.898-122.624-4.332-181.059-20.236-58.435-58.178-109.11-108.546-144.977-50.375-35.867-110.679-55.141-172.514-55.141-61.842 0-122.139 19.273-172.514 55.141s-88.316 86.542-108.547 144.977c-20.233 58.435-21.747 121.723-4.335 181.059 17.411 59.334 52.885 111.77 101.483 150.006-83.277 33.367-155.938 88.703-210.238 160.112-54.3 71.413-88.203 156.219-98.097 245.383-0.715 6.509-0.144 13.098 1.687 19.387 1.829 6.286 4.879 12.155 8.977 17.262 8.274 10.321 20.307 16.934 33.454 18.377 13.147 1.448 26.329-2.389 36.649-10.663s16.929-20.309 18.376-33.455c10.884-96.902 57.090-186.399 129.789-251.386s166.794-100.912 264.305-100.912c97.512 0 191.604 35.926 264.305 100.912 72.696 64.989 118.901 154.483 129.789 251.386 1.348 12.18 7.159 23.433 16.315 31.578 9.156 8.15 21.003 12.617 33.258 12.543h5.452c12.992-1.492 24.87-8.066 33.039-18.276 8.174-10.217 11.976-23.243 10.583-36.251-9.94-89.417-44.024-174.441-98.609-245.963-54.579-71.52-127.592-126.838-211.213-160.027zM511.266 511.984c-39.215 0-77.554-11.629-110.162-33.417s-58.021-52.754-73.030-88.989c-15.007-36.232-18.935-76.102-11.284-114.564s26.536-73.795 54.267-101.525c27.731-27.731 63.062-46.616 101.525-54.267s78.334-3.724 114.564 11.284c36.232 15.007 67.199 40.422 88.991 73.030 21.787 32.608 33.417 70.945 33.417 110.161 0 52.59-20.89 103.022-58.077 140.213-37.183 37.183-87.617 58.072-140.208 58.072z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["user"],colorPermutations:{}},attrs:[],properties:{order:37,id:23,name:"user",prevSize:32,code:59658},setIdx:0,setId:3,iconIdx:0},{icon:{paths:["M526.086 521.84c23.866-20.659 43.009-46.207 56.127-74.918 13.118-28.707 19.908-59.901 19.908-91.464 0-59.31-23.562-116.193-65.502-158.13-41.936-41.938-98.819-65.501-158.129-65.501s-116.193 23.561-158.13 65.501c-41.938 41.938-65.501 98.822-65.501 158.13 0 31.564 6.789 62.757 19.909 91.464 13.119 28.71 32.26 54.257 56.126 74.918-62.61 28.351-115.731 74.134-153.010 131.876-37.28 57.747-57.139 125.002-57.204 193.732 0 11.86 4.712 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.861 0 23.238-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0-71.172 28.273-139.43 78.601-189.756 50.327-50.331 118.586-78.602 189.757-78.602s139.43 28.272 189.756 78.602c50.331 50.327 78.602 118.583 78.602 189.756 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c-0.068-68.732-19.926-135.985-57.205-193.732-37.281-57.742-90.397-103.524-153.009-131.876zM378.488 489.638c-26.539 0-52.48-7.866-74.545-22.613-22.067-14.742-39.265-35.702-49.42-60.217-10.155-24.518-12.812-51.497-7.635-77.526s17.957-49.936 36.722-68.701c18.765-18.765 42.674-31.544 68.701-36.722s53.008-2.52 77.528 7.635c24.515 10.155 45.473 27.353 60.215 49.42 14.747 22.067 22.613 48.008 22.613 74.545 0 35.586-14.138 69.715-39.301 94.877s-59.291 39.301-94.877 39.301zM814.122 503.948c28.626-32.235 47.32-72.050 53.841-114.663 6.522-42.611 0.587-86.199-17.085-125.518-17.676-39.318-46.337-72.689-82.533-96.099-36.201-23.407-78.391-35.855-121.498-35.845-11.86 0-23.24 4.712-31.626 13.1s-13.1 19.764-13.1 31.626c0 11.861 4.714 23.238 13.1 31.626s19.764 13.1 31.626 13.1c35.584 0 69.715 14.138 94.877 39.3s39.301 59.292 39.301 94.878c-0.064 23.492-6.294 46.555-18.065 66.886-11.776 20.327-28.679 37.212-49.024 48.957-6.632 3.825-12.171 9.291-16.085 15.864-3.919 6.58-6.078 14.053-6.279 21.705-0.188 7.594 1.561 15.109 5.085 21.839 3.52 6.726 8.694 12.451 15.041 16.624l17.443 11.628 5.815 3.131c53.914 25.571 99.394 66.016 131.092 116.57 31.693 50.554 48.282 109.115 47.813 168.783 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0.366-68.637-16.826-136.222-49.936-196.343-33.115-60.122-81.053-110.779-139.256-147.154z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["users"],colorPermutations:{}},attrs:[],properties:{order:38,id:22,name:"users",prevSize:32,code:59666},setIdx:0,setId:3,iconIdx:1},{icon:{paths:["M857.957 264.888h-49.422v-49.422c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426h-494.223c-39.324 0-77.034 15.621-104.84 43.426s-43.426 65.518-43.426 104.84v593.066c0 39.321 15.621 77.034 43.426 104.839s65.518 43.427 104.84 43.427h691.912c39.321 0 77.034-15.622 104.839-43.427s43.427-65.52 43.427-104.839v-395.378c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426zM166.044 166.043h494.223c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422h-543.644c-13.107 0-25.678-5.206-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.107 5.206-25.678 14.476-34.946s21.839-14.476 34.946-14.476zM907.378 660.266h-49.422c-13.106 0-25.68-5.208-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.106 5.208-25.68 14.476-34.946s21.839-14.476 34.946-14.476h49.422v98.844zM907.378 462.578h-49.422c-39.321 0-77.034 15.622-104.839 43.427s-43.427 65.52-43.427 104.839c0 39.321 15.622 77.034 43.427 104.839s65.52 43.427 104.839 43.427h49.422v49.422c0 13.106-5.208 25.68-14.476 34.946s-21.839 14.476-34.946 14.476h-691.912c-13.107 0-25.678-5.208-34.946-14.476s-14.476-21.839-14.476-34.946v-453.202c15.878 5.586 32.591 8.426 49.422 8.402h691.912c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["wallet"],colorPermutations:{}},attrs:[],properties:{order:39,id:21,name:"wallet",prevSize:32,code:59667},setIdx:0,setId:3,iconIdx:2},{icon:{paths:["M979.553 176.238c-6.483-6.535-14.195-11.724-22.693-15.262-8.5-3.542-17.616-5.365-26.818-5.365s-18.319 1.823-26.818 5.365c-8.5 3.542-16.213 8.727-22.693 15.262l-519.504 520.201-218.263-218.958c-6.732-6.501-14.678-11.612-23.382-15.044s-18.004-5.113-27.36-4.952c-9.357 0.159-18.592 2.163-27.172 5.897s-16.347 9.112-22.848 15.844c-6.501 6.73-11.612 14.677-15.043 23.382s-5.114 18.004-4.952 27.36c0.161 9.357 2.163 18.592 5.897 27.172s9.112 16.345 15.843 22.848l267.77 267.773c6.482 6.532 14.193 11.722 22.694 15.263 8.496 3.537 17.613 5.365 26.817 5.365s18.319-1.827 26.816-5.365c8.496-3.542 16.209-8.731 22.695-15.263l569.013-569.015c7.078-6.528 12.724-14.456 16.591-23.277s5.858-18.347 5.858-27.977c0-9.63-1.992-19.156-5.858-27.977s-9.511-16.746-16.591-23.277z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["check"],colorPermutations:{}},attrs:[],properties:{order:40,id:20,name:"check",prevSize:32,code:59668},setIdx:0,setId:3,iconIdx:3},{icon:{paths:["M441.48 33.984c-101.267 0-181.649 77.289-195.622 175.411-0.576-0.148-1.357-0.3-2.151-0.42l-0.154-0.021h-197.93c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h197.93c0.934-0.329 1.661-0.627 2.37-0.951l-0.175 0.073c13.778 98.344 94.31 175.852 195.731 175.852 111.011 0 201.335-91.419 201.335-203.090s-90.322-203.090-201.335-203.090zM441.48 90.222c80.312 0 145.098 65.272 145.098 146.854s-64.786 146.854-145.098 146.854c-80.312 0-144.989-65.272-144.989-146.854s64.676-146.854 144.989-146.854zM738.484 208.958c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0zM639.522 583.838c-111.010 0-201.335 91.42-201.335 203.090s90.323 203.090 201.335 203.090c101.43 0 182.067-77.505 195.841-175.852 0.506 0.249 1.192 0.546 1.892 0.813l0.193 0.065h197.93c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0h-197.93c-0.895 0.332-1.583 0.628-2.254 0.952l0.169-0.074c-13.773-98.346-94.413-175.852-195.841-175.852zM639.522 640.076c80.317 0 145.098 65.272 145.098 146.854s-64.783 146.854-145.098 146.854c-80.31 0-145.098-65.273-145.098-146.854s64.788-146.854 145.098-146.854zM45.622 758.808c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0z"],width:1081,attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["filters"],grid:0},attrs:[],properties:{order:36,id:0,name:"filters",prevSize:32,code:59665},setIdx:0,setId:3,iconIdx:4},{icon:{paths:["M221.91 16c-48.472 0-91.817 15.678-120.059 48.704s-39.686 78.531-39.686 132.284v742.129h-11.959c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h787.294c0.153 0.078 0.527 0.235 0.904 0.387l0.23 0.082c0.608-0.232 0.983-0.39 1.354-0.554l-0.218 0.087h134.021c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0h-100.951v-155.067c54.54-16.957 93.201-70.819 93.201-133.487v-110.371c0-75.121-54.176-141.17-126.606-141.17s-126.539 66.049-126.539 141.17v110.371c0 62.051 37.857 115.532 91.531 133.085v155.467h-161.681v-742.129c0-53.703-11.226-99.158-39.351-132.217s-71.454-48.771-119.925-48.771zM221.91 84.415h261.562c35.068 0 54.273 8.805 67.812 24.719s23.049 43.854 23.049 87.856v742.129h-185.533v-148.119c0-18.891-15.315-34.206-34.206-34.206v0c-18.891 0-34.206 15.315-34.206 34.206v0 148.119h-189.809v-742.129c0-43.953 9.613-71.84 23.25-87.789s33.010-24.786 68.080-24.786zM251.707 270.748c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM251.707 453.007c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM839.438 467.438c30.006 0 58.191 29.277 58.191 72.757v110.371c0 43.236-27.909 72.162-57.724 72.49-0.193-0.054-0.622-0.148-1.053-0.231l-0.217-0.034c-0.010 0-0.023 0-0.033 0s-0.025 0-0.035 0h0.002c-29.634-0.633-57.257-29.219-57.257-72.222v-110.371c0-43.481 28.118-72.757 58.125-72.757z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["building"],grid:0},attrs:[],properties:{order:32,id:1,name:"building",prevSize:32,code:59661},setIdx:0,setId:3,iconIdx:5},{icon:{paths:["M474.119 16c-80.744 0-133.002 18.798-160.546 57.657s-25.188 83.466-25.188 124.335v2.74h-13.162c-106.295 0-176.908 24.402-217.869 71.889s-45.635 110.102-38.75 170.768l35.477 368.794c0.042 0.341 0.067 0.5 0.092 0.658l-0.025-0.191c5.325 48.463 18.348 100.416 60.797 138.23s108.001 57.124 207.647 57.124h378.814c99.646 0 165.199-19.309 207.647-57.124s55.471-89.767 60.797-138.23c0 0.034 0.025-0.125 0.046-0.284l0.022-0.183 32.737-340.466 0.069-0.134c0-0.039 0-0.087 0-0.134s0-0.093 0-0.141v0.007l2.673-27.928c6.881-60.667 2.208-123.284-38.753-170.769s-111.574-71.889-217.869-71.889h-13.162v-2.74c0-40.869 2.356-85.474-25.188-124.335s-79.802-57.657-160.546-57.657zM474.119 84.415h75.763c70.807 0 94.347 14.202 104.691 28.796s12.626 43.914 12.626 84.783v2.74h-310.402v-2.74c0-40.869 2.283-70.189 12.626-84.783s33.884-28.796 104.691-28.796zM275.224 269.144h473.552c95.931 0 143.050 21.538 166.023 48.17s28.485 66.309 22.582 118.322c-0.009 0.036-0.032 0.243-0.055 0.451l-0.014 0.152-0.802 8.418c-90.418 61.486-191.449 98.993-295.569 117.186v-3.675c0-11.545 0.127-20.64-1.003-30.533-1.127-9.891-4.112-23.496-15.232-34.34s-24.375-13.492-34.271-14.565-19.227-0.936-31.067-0.936h-94.737c-11.84 0-21.171-0.137-31.067 0.935s-23.153 3.721-34.273 14.564c-11.122 10.844-14.105 24.449-15.232 34.34s-1.003 18.988-1.003 30.533v4.743c-103.328-16.824-204.524-52.276-294.967-112.376l-1.402-14.297c-0.034-0.355-0.058-0.562-0.084-0.768l0.017 0.166c-5.903-52.012-0.393-91.688 22.582-118.322s70.092-48.17 166.023-48.17zM928.696 525.763l-26.858 279.869v-0.467c-4.62 42.048-13.6 72.616-38.283 94.603s-71.408 39.819-162.149 39.819h-378.814c-90.739 0-137.466-17.83-162.149-39.819s-33.662-52.555-38.283-94.603v0.467l-26.456-275.126c90.546 52.332 187.8 87.604 288.487 102.42 0.946 18.776 3.822 38.317 17.639 57.322 20.648 28.406 58.343 40.688 110.17 40.688 52.096 0 89.971-12.499 110.505-41.088 13.846-19.276 16.588-38.976 17.438-57.858 100.973-16.032 198.085-52.864 288.755-106.229zM464.631 546.206h94.737c6.436 0 8.729 0.167 12.894 0.267 0.090 3.921 0.267 5.767 0.267 11.691v47.101c0 25.061-2.348 40.084-5.611 44.629s-12.767 12.626-54.918 12.626c-41.943 0-51.583-8.064-54.851-12.56s-5.678-19.275-5.678-44.229v-47.569c0-5.924 0.178-7.771 0.267-11.691 4.165-0.098 6.458-0.267 12.894-0.267z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["briefcase"],grid:0},attrs:[],properties:{order:33,id:2,name:"briefcase",prevSize:32,code:59662},setIdx:0,setId:3,iconIdx:6},{icon:{paths:["M482.712 22.394l-377.328 166.783c-31.614 13.974-46.767 41.583-46.767 74.318v153.774c0 42.336 32.474 80.455 76.119 80.455h7.738v255.977h-7.738c-43.641 0-76.119 38.118-76.119 80.455v104.807h-7.738c-18.865 0-34.157 15.292-34.157 34.157v0c0 18.865 15.292 34.157 34.157 34.157v0h922.239c18.865 0 34.157-15.292 34.157-34.157v0c0-18.865-15.292-34.157-34.157-34.157v0h-7.738v-104.807c0-42.335-32.478-80.455-76.119-80.455h-7.738v-255.977h7.738c43.644 0 76.119-38.121 76.119-80.455v-153.774c0-32.732-15.149-60.347-46.767-74.318l-377.328-166.783c-21.473-9.489-37.103-9.489-58.574 0zM510.266 84.905c-4.7 2.077 8.17 2.077 3.469 0l377.262 166.783c-2.269-1.003 6.071 10.263 6.071 11.809v153.774c0 8.614-5.338 12.142-7.805 12.142h-754.523c-2.467 0-7.805-3.53-7.805-12.142v-153.774c0-1.543 8.34-12.811 6.071-11.809zM512 174.698c-55.125 0-97.067 48.525-97.067 103.605s41.943 103.672 97.067 103.672c55.125 0 97.067-48.593 97.067-103.672s-41.943-103.605-97.067-103.605zM512 243.013c14.33 0 28.753 13.623 28.753 35.292s-14.423 35.359-28.753 35.359c-14.33 0-28.753-13.69-28.753-35.359s14.423-35.292 28.753-35.292zM210.791 497.723h99.403v255.977h-99.403zM378.507 497.723h99.336v255.977h-99.336zM546.157 497.723h99.336v255.977h-99.336zM713.807 497.723h99.403v255.977h-99.403zM134.738 822.016h754.523c2.47 0 7.805 3.522 7.805 12.142v104.807h-770.134v-104.807c0-8.617 5.335-12.142 7.805-12.142z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["bank"],grid:0},attrs:[],properties:{order:34,id:3,name:"bank",prevSize:32,code:59663},setIdx:0,setId:3,iconIdx:7},{icon:{paths:["M511.864 16.070c-272.629 0-495.93 223.302-495.93 495.93 0 272.626 223.302 495.93 495.93 495.93 272.631 0 496.066-223.304 496.066-495.93 0-272.629-223.435-495.93-496.066-495.93zM511.864 85.276c234.882 0 426.859 191.845 426.859 426.724s-191.977 426.724-426.859 426.724c-234.88 0-426.724-191.846-426.724-426.724s191.843-426.724 426.724-426.724z","M327.36 460.095c-28.667 0-51.905 23.238-51.905 51.905v0c0 28.667 23.238 51.905 51.905 51.905v0h369.142c28.667 0 51.905-23.238 51.905-51.905v0c0-28.667-23.238-51.905-51.905-51.905v0z","M512 275.593c-28.667 0-51.905 23.238-51.905 51.905v0 369.007c0 28.667 23.238 51.905 51.905 51.905v0c28.667 0 51.905-23.238 51.905-51.905v0-369.007c0-28.667-23.238-51.905-51.905-51.905v0z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["add-circle"],grid:0},attrs:[],properties:{order:35,id:4,name:"add-circle",prevSize:32,code:59664},setIdx:0,setId:3,iconIdx:8},{icon:{paths:["M512 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM512 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM810.667 128h-42.667v-42.667c0-11.316-4.497-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.315 0-22.17 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-341.333v-42.667c0-11.316-4.495-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.316 0-22.168 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-42.667c-33.948 0-66.505 13.486-90.51 37.49s-37.49 56.562-37.49 90.51v597.333c0 33.946 13.486 66.505 37.49 90.509s56.562 37.491 90.51 37.491h597.333c33.946 0 66.505-13.487 90.509-37.491s37.491-56.563 37.491-90.509v-597.333c0-33.948-13.487-66.505-37.491-90.51s-56.563-37.49-90.509-37.49zM853.333 853.333c0 11.315-4.497 22.17-12.497 30.17s-18.854 12.497-30.17 12.497h-597.333c-11.316 0-22.168-4.497-30.17-12.497s-12.497-18.854-12.497-30.17v-384h682.667v384zM853.333 384h-682.667v-128c0-11.316 4.495-22.168 12.497-30.17s18.854-12.497 30.17-12.497h42.667v42.667c0 11.316 4.495 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.316 0 22.168-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h341.333v42.667c0 11.316 4.497 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.315 0 22.17-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h42.667c11.315 0 22.17 4.495 30.17 12.497s12.497 18.854 12.497 30.17v128zM298.667 640c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM298.667 810.667c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[{}]},tags:["calendar"],grid:0},attrs:[{}],properties:{order:22,id:5,name:"calendar",prevSize:32,code:59660},setIdx:0,setId:3,iconIdx:9},{icon:{paths:["M92.308 1008.001l-76.307-76.31 419.692-419.691-419.692-419.692 76.307-76.307 419.692 419.692 419.691-419.692 76.31 76.307-419.692 419.692 419.692 419.691-76.31 76.31-419.691-419.692-419.692 419.692z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["close"],grid:0},attrs:[],properties:{order:20,id:6,name:"close",prevSize:32,code:59659},setIdx:0,setId:3,iconIdx:10},{icon:{paths:["M479.562 16.805l-25.249 2.704c-85.122 9.016-168.126 42.381-241.661 97.025-27.458 20.423-75.563 68.53-96.213 96.124-112.624 150.903-131.877 345.585-50.901 514.566 24.618 51.308 53.156 91.118 96.528 134.446 43.329 43.372 83.138 71.911 134.446 96.528 168.936 80.974 363.753 61.632 514.745-51.083 27.458-20.47 75.698-68.711 96.169-96.169 134.086-179.667 134.086-418.804 0-598.47-20.47-27.413-68.666-75.61-96.033-95.944-71.911-53.472-147.656-84.537-235.214-96.44-19.071-2.616-83.365-4.78-96.62-3.292zM571.537 110.494c115.556 17.447 216.593 82.507 281.336 181.201 13.662 20.875 33.498 61.272 42.020 85.663 15.6 44.769 21.866 83.183 21.866 134.357 0 67.314-11.587 118.17-40.442 177.639-31.786 65.555-79.757 120.244-142.157 161.949-35.573 23.806-92.472 47.612-136.114 57.034-25.62 5.722-55.043 8.998-85.231 8.998-96.674 0-185.496-33.609-255.424-89.779l0.796 0.619c-68.215-54.644-119.387-134.806-139.902-219.072-8.387-34.401-11-57.348-11-97.385 0-67.314 11.587-118.17 40.442-177.639 48.209-97.574 131.699-171.591 233.4-206.28l2.851-0.844c31.786-10.504 57.348-15.69 98.288-19.928 14.519-1.488 70.83 0.676 89.27 3.471zM494.621 288.856c-9.882 2.687-17.931 9.133-22.672 17.667l-0.094 0.187c-4.012 7.484-4.012 7.935-4.508 110.821-0.36 66.771 0.136 105.727 1.352 110.19 4.735 17.674 17.764 27.322 38.638 28.674 21.866 1.397 36.204-4.915 44.365-19.523l4.508-8.025v-214.608l-4.012-7.528c-2.526-4.494-5.734-8.293-9.532-11.395l-0.071-0.056c-11.903-8.52-32.507-11.227-47.972-6.403zM494.621 649.453c-17.764 5.816-25.925 17.223-27.277 38.097-1.397 21.687 4.959 36.025 19.523 44.184 6.988 3.923 10.235 4.508 25.158 4.508 14.067 0 18.395-0.721 24.346-3.876 14.698-7.935 20.739-19.611 20.739-40.306 0-28.99-12.939-42.922-41.344-44.365-8.567-0.452-16.455 0.224-21.146 1.759z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["alert-circle"],grid:0},attrs:[{}],properties:{order:3,id:8,name:"alert-circle",prevSize:32,code:59648},setIdx:0,setId:3,iconIdx:11},{icon:{paths:["M86.74 248.039c-13.743 7.271-32.022 25.885-39.226 39.959-3.593 6.962-5.699 15.194-5.699 23.918 0 8.777 2.132 17.053 5.906 24.343l-0.14-0.295c8.339 16.68 423.485 431.822 440.161 440.161 7.050 3.626 15.386 5.753 24.216 5.753s17.166-2.127 24.519-5.894l-0.303 0.141c16.68-8.339 431.822-423.485 440.161-440.161 11.741-23.549 5.737-47.899-17.345-70.981-22.684-22.684-48.099-28.753-71.58-17.012-7.472 3.734-71.38 65.711-193.329 187.392l-182.121 181.854-182.121-181.854c-121.949-121.682-185.858-183.656-193.329-187.392-7.274-3.457-15.806-5.475-24.812-5.475-9.058 0-17.641 2.042-25.313 5.692l0.355-0.152z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-down"],grid:0},attrs:[{}],properties:{order:4,id:9,name:"chevron-down",prevSize:32,code:59649},setIdx:0,setId:3,iconIdx:12},{icon:{paths:["M696.431 22.299c-16.683 8.519-455.166 447.703-463.259 463.964-3.67 7.465-5.925 16.214-6.192 25.461l-0.002 0.092c0 7.814 2.463 18.021 6.195 25.553 8.798 17.599 446.859 455.657 464.458 464.458 24.848 12.388 50.544 6.053 74.898-18.302 24.426-24.426 30.692-50.050 18.302-74.898-4.434-8.729-63.566-69.902-198.087-204.633l-191.892-192.174 191.892-192.174c134.521-134.733 193.654-195.904 198.087-204.633 12.388-24.848 6.124-50.472-18.302-74.898-23.934-23.934-51.6-30.411-76.097-17.811z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-left"],grid:0},attrs:[{}],properties:{order:5,id:10,name:"chevron-left",prevSize:32,code:59650},setIdx:0,setId:3,iconIdx:13},{icon:{paths:["M274.397 21.85c-14.506 7.676-33.802 27.323-41.407 42.182-3.793 7.347-6.016 16.037-6.016 25.248 0 9.265 2.25 18.003 6.233 25.699l-0.148-0.312c4.436 8.732 63.589 69.927 198.164 204.713l191.967 192.248-191.967 192.248c-134.573 134.785-193.727 195.98-198.164 204.713-12.393 24.858-6.126 50.492 18.309 74.927 24.366 24.366 50.068 30.704 74.927 18.309 17.606-8.802 455.833-447.031 464.636-464.636 3.671-7.468 5.928-16.22 6.194-25.472l0.002-0.092c-0.268-9.341-2.525-18.096-6.36-25.936l0.164 0.373c-8.522-17.112-446.96-455.833-464.002-464.284-7.679-3.647-16.687-5.779-26.192-5.779-9.563 0-18.623 2.157-26.72 6.009l0.376-0.161z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-right"],grid:0},attrs:[{}],properties:{order:6,id:11,name:"chevron-right",prevSize:32,code:59651},setIdx:0,setId:3,iconIdx:14},{icon:{paths:["M122.87 145.282c-45.789 7.741-83.47 41.162-97.682 86.706l-3.85 12.287v535.715l3.85 12.287c12.591 40.186 43.612 71.207 82.901 83.554l0.897 0.243 12.287 3.85h781.455l12.287-3.85c40.186-12.591 71.207-43.612 83.554-82.901l0.243-0.897 3.85-12.287v-535.715l-3.85-12.287c-12.527-39.881-43.174-70.717-82.042-83.262l-0.897-0.25-13.147-4.136-385.813-0.246c-212.197-0.122-389.54 0.41-394.045 1.187zM893.308 227.933c6.274 1.981 11.613 5.404 15.833 9.892l0.019 0.020c12.122 12.122 12.41 14.212 12.41 87.812v63.606h-819.135v-63.606c0-73.641 0.287-75.688 12.451-87.812 4.087-4.335 9.153-7.7 14.847-9.746l0.265-0.083c6.554-2.006 60.903-2.375 381.308-2.458 329.949-0.122 374.59 0.163 382.004 2.375zM921.568 616.736c0 157.93 0.205 154.324-9.051 166.448-2.499 3.277-7.945 7.986-12.082 10.403l-7.536 4.424h-761.796l-7.536-4.424c-4.601-2.832-8.531-6.217-11.861-10.129l-0.058-0.069c-9.543-12.532-9.216-6.511-9.216-165.793v-146.42h819.135v145.56z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["credit-card"],grid:0},attrs:[{}],properties:{order:7,id:12,name:"credit-card",prevSize:32,code:59652},setIdx:0,setId:3,iconIdx:15},{icon:{paths:["M124.444 1024c-25.6 0-48-9.603-67.2-28.803s-28.8-41.597-28.8-67.197v-228.801h96v228.801h832v-228.801h96v228.801c0 25.6-9.603 47.997-28.803 67.197s-41.597 28.803-67.197 28.803h-832zM540.444 779.201l-308.8-308.801 68.8-68.8 192 192.002v-593.601h96.003v593.601l192-192.002 68.796 68.8-308.799 308.801z"],width:1081,attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["download"],grid:0},attrs:[{}],properties:{order:8,id:13,name:"download",prevSize:32,code:59653},setIdx:0,setId:3,iconIdx:16},{icon:{paths:["M794.006 17.661l-151.696 1.040-9.863 5.054c-16.85 8.673-23.837 23.986-22.3 48.666 1.437 22.747 11.943 37.069 31.023 42.371 4.362 1.239 44.353 2.031 101.345 2.031h94.11l-234.158 234.406c-167.702 167.801-235.446 236.884-238.618 243.178-8.721 17.494-4.311 35.583 12.884 52.728 17.147 17.197 35.236 21.607 52.728 12.884 6.293-3.172 75.377-70.917 243.178-238.618l234.406-234.158v94.11c0 56.992 0.793 96.984 2.031 101.345 5.301 19.080 19.624 29.586 42.371 31.023 24.034 1.536 39.794-5.402 48.764-21.459l4.956-8.822 1.337-156.601c0.743-86.13 1.389-159.525 1.487-163.094 0.199-9.367-10.010-30.676-17.197-35.781-11.101-7.88-24.034-12.29-34.839-11.796-5.65 0.247-78.549 0.942-161.954 1.487zM138.857 168.514c-55.307 9.267-100.999 49.804-118.194 104.912l-4.659 14.867v598.654l4.659 14.867c15.235 48.626 52.77 86.159 100.311 101.101l1.085 0.293 14.867 4.659h598.654l14.867-4.659c48.626-15.235 86.159-52.77 101.101-100.311l0.293-1.085 4.659-14.867v-342.936l-4.51-8.424c-8.177-15.363-27.751-23.787-50.3-21.756-21.557 1.983-36.326 13.034-41.281 30.924-1.288 4.558-2.031 65.068-2.031 163.985 0 170.081 0.149 167.504-10.951 182.074-3.023 3.964-9.614 9.664-14.62 12.587l-9.119 5.353h-574.865l-9.119-5.353c-5.567-3.428-10.323-7.523-14.351-12.254l-0.070-0.086c-11.796-15.463-11.15 1.585-11.15-302.349 0-314.194-1.090-292.092 15.016-308.198 15.61-15.61 8.177-15.016 186.040-15.016 98.917 0 159.377-0.743 163.935-2.031 11.026-3.042 20.021-10.196 25.414-19.667l0.108-0.206c4.311-7.73 4.956-11.2 4.906-27.653-0.050-21.459-4.014-31.964-14.916-39.696-13.925-9.911-13.034-9.863-185.048-9.614-88.411 0.098-165.274 0.991-170.726 1.884z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["external-link"],grid:0},attrs:[{}],properties:{order:9,id:14,name:"external-link",prevSize:32,code:59654},setIdx:0,setId:3,iconIdx:17},{icon:{paths:["M37.011 21.092c-7.44 4.919-15.211 13.392-19.096 20.832-2.893 5.497-2.397 26.205 0.744 32.446 1.488 2.893 43.936 46.623 94.363 97.173l91.676 91.883-22.072 19.881c-55.882 50.302-111.391 120.526-152.394 192.652-19.923 35.091-19.551 40.216 6.572 83.906 22.981 38.439 50.839 77.582 81.963 114.987 17.277 20.832 68.571 72.374 88.204 88.659 77.664 64.52 156.486 101.967 243.863 115.938 29.181 4.671 84.691 4.919 114.905 0.537 64.774-9.256 123.081-30.451 174.918-61.366l-2.146 1.186 14.053-8.391 95.891 95.643c52.74 52.575 98.289 96.801 101.182 98.289 3.431 1.695 9.589 2.645 17.484 2.645 10.871 0 13.061-0.579 19.881-5.084 7.44-4.919 15.211-13.392 19.096-20.832 1.033-1.984 1.901-9.135 1.901-15.872 0-10.788-0.579-13.061-4.877-19.509-6.696-10.003-922.132-924.736-928.745-928.042-3.431-1.695-9.631-2.645-17.484-2.645-10.871 0-13.061 0.579-19.881 5.084zM483.073 140.957c-38.77 3.885-70.679 9.879-81.384 15.335-17.443 8.928-22.651 27.611-14.467 51.748 3.431 9.961 12.565 20.501 19.964 22.94 7.233 2.397 20.584 2.356 31.413-0.083 21.828-4.99 46.894-7.847 72.629-7.847 24.765 0 48.908 2.647 72.168 7.674l-2.239-0.405c112.673 22.94 225.345 110.358 314.128 243.697 27.404 41.126 25.833 34.802 13.681 54.89-18.486 29.629-36.424 54.854-55.698 78.967l1.263-1.635c-15.665 19.427-20.419 28.396-20.419 38.728 0 9.961 3.844 17.897 13.020 26.825 15.789 15.335 32.074 19.179 47.078 10.995 16.285-8.845 62.164-70.431 96.553-129.578 23.188-39.844 23.064-44.267-2.356-87.212-37.302-62.647-79.77-116.755-128.241-164.821l-0.056-0.055c-52.906-52.864-96.015-84.608-154.667-113.789-47.987-23.891-92.875-37.778-142.185-43.978-14.921-1.901-69.067-3.472-80.186-2.397zM363.497 436.278c-7.027 12.235-16.161 40.547-18.6 57.411-2.273 15.748-1.281 38.026 2.439 55.51 13.81 64.070 63.4 113.659 126.385 127.273l1.085 0.197c36.992 7.853 73.986 2.976 109.035-14.467l13.144-6.531 95.767 95.767-18.145 9.093c-55.551 27.859-106.762 40.010-167.562 39.762-34.884-0.124-55.51-2.852-85.146-11.325-108.953-31.041-213.029-116.558-296.355-243.491-23.767-36.207-22.609-30.421-10.209-50.798 36.103-58.15 77.662-108.281 125.123-152.115l0.487-0.445 22.196-20.295 105.481 105.481-5.125 8.969zM482.99 541.677c28.148 28.189 50.839 51.5 50.426 51.872-2.371 0.956-5.22 1.825-8.155 2.456l-0.358 0.065c-32.694 8.019-71.795-10.664-88.618-42.324-7.068-13.309-10.871-31.165-9.424-44.226s2.645-19.013 3.927-19.013c0.579 0 24.097 23.023 52.203 51.17z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye-off"],grid:0},attrs:[{}],properties:{order:10,id:15,name:"eye-off",prevSize:32,code:59655},setIdx:0,setId:3,iconIdx:18},{icon:{paths:["M476.812 145.058c-91.938 8.183-178.844 45.99-262.682 114.237-22.013 17.88-73.24 69.23-93.411 93.576-27.898 33.332-54.401 70.307-78.054 109.206l-2.265 4.009c-25.408 43.004-25.408 48.075 0 91.079 26.595 43.828 53.754 81.602 83.511 117.127l-1.187-1.456c17.103 20.621 67.881 71.644 87.316 87.765 95.252 79.132 196.848 119.231 301.963 119.231 101.186 0 199.262-37.274 291.528-110.8 24.55-19.599 77.168-71.317 97.789-96.194 28.531-34.062 55.678-71.838 79.947-111.56l2.335-4.112c25.408-43.004 25.408-48.075 0-91.079-36.927-62.014-78.968-115.578-126.948-163.159l-0.056-0.055c-52.373-52.333-95.049-83.755-153.109-112.642-47.258-23.526-92.471-37.52-140.752-43.534-19.762-2.456-66.611-3.355-85.924-1.636zM542.401 226.93c113.297 11.048 221.112 79.46 315.996 200.613 12.97 16.572 49.221 69.557 54.46 79.622 2.865 5.524 3.109 4.991-18.289 37.602-76.268 116.162-173.648 200.285-270.457 233.633-36.375 12.521-63.503 17.677-100.654 19.107-41.858 1.595-75.777-3.436-118.575-17.634-99.877-33.061-197.545-116.447-275.448-235.106-21.4-32.57-21.154-32.118-18.289-37.561 5.319-10.106 35.598-54.828 49.058-72.503 112.439-147.544 247.339-220.865 382.198-207.772zM485.731 350.456c-46.153 7.2-90.63 37.358-114.115 77.413-14.495 23.907-23.073 52.8-23.073 83.696 0 68.318 41.943 126.839 101.484 151.218l1.089 0.394c18.045 7.475 38.999 11.817 60.968 11.817 68.256 0 126.725-41.91 151.074-101.401l0.393-1.088c7.497-18.004 11.851-38.921 11.851-60.853 0-21.895-4.34-42.775-12.205-61.827l0.393 1.079c-21.587-53.034-68.85-91.572-125.925-100.454l-0.915-0.116c-7.561-1.328-16.266-2.088-25.149-2.088-9.141 0-18.093 0.805-26.792 2.346l0.92-0.135zM533.4 432.78c30.737 8.794 53.801 34.225 59.016 65.681l0.066 0.48c4.092 26.718-3.846 50.859-23.077 70.131-16.407 16.489-35.024 24.386-57.404 24.386-21.072 0-39.361-7.284-55.114-21.891-54.418-50.572-18.985-141.571 55.114-141.571 5.851 0 15.467 1.268 21.4 2.782z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye"],grid:0},attrs:[{}],properties:{order:11,id:16,name:"eye",prevSize:32,code:59656},setIdx:0,setId:3,iconIdx:19},{icon:{paths:["M481.28 43.648l-23.893 2.56c-80.555 8.533-159.104 40.107-228.693 91.819-25.984 19.328-71.509 64.853-91.051 90.965-106.581 142.805-124.8 327.040-48.171 486.955 23.296 48.555 50.304 86.229 91.349 127.232 41.003 41.045 78.677 68.053 127.232 91.349 159.872 76.629 344.235 58.325 487.125-48.341 25.984-19.371 71.637-65.024 91.008-91.008 126.891-170.027 126.891-396.331 0-566.357-19.371-25.941-64.981-71.552-90.88-90.795-68.053-50.603-139.733-80-222.592-91.264-18.048-2.475-78.891-4.523-91.435-3.115zM568.32 132.309c109.355 16.512 204.971 78.080 266.24 171.477 12.928 19.755 31.701 57.984 39.765 81.067 14.763 42.368 20.693 78.72 20.693 127.147 0 63.701-10.965 111.829-38.272 168.107-30.080 62.037-75.477 113.792-134.528 153.259-33.664 22.528-87.509 45.056-128.811 53.973-24.244 5.414-52.089 8.515-80.658 8.515-91.486 0-175.543-31.805-241.717-84.962l0.754 0.586c-64.555-51.712-112.981-127.573-132.395-207.317-7.936-32.555-10.411-54.272-10.411-92.16 0-63.701 10.965-111.829 38.272-168.107 45.622-92.339 124.633-162.383 220.876-195.211l2.698-0.799c30.080-9.941 54.272-14.848 93.013-18.859 13.739-1.408 67.029 0.64 84.48 3.285zM482.133 257.792c-22.357 3.456-48.768 14.165-70.827 28.715-38.101 25.131-71.424 80-66.261 109.184 2.56 14.72 15.104 25.173 36.309 30.421 9.771 2.389 12.843 2.517 19.499 0.768 11.392-3.029 20.821-12.971 27.563-28.928 6.741-16.085 12.8-25.003 23.509-34.645 26.325-23.68 61.141-28.501 94.208-13.013 14.848 6.955 31.744 24.021 38.997 39.381 6.059 12.843 9.643 32.128 8.021 43.093-4.096 27.221-38.699 56.917-92.288 79.232-31.019 12.885-39.424 24.107-34.944 46.805 5.675 28.8 22.997 43.221 46.421 38.613 24.832-4.907 68.651-26.965 97.451-49.109 49.365-37.973 71.595-80.213 68.949-130.987-2.261-43.136-18.731-79.957-49.749-111.189-21.063-21.482-47.858-37.271-77.909-44.894l-1.152-0.248c-15.317-3.968-51.925-5.675-67.797-3.2zM495.531 685.013c-16.811 5.504-24.533 16.299-25.813 36.053-1.323 20.523 4.693 34.091 18.475 41.813 6.613 3.712 9.685 4.267 23.808 4.267 13.312 0 17.408-0.683 23.040-3.669 13.909-7.509 19.627-18.56 19.627-38.144 0-27.435-12.245-40.619-39.125-41.984-8.107-0.427-15.573 0.213-20.011 1.664z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["help-circle"],grid:0},attrs:[{}],properties:{order:12,id:17,name:"help-circle",prevSize:32,code:59657},setIdx:0,setId:3,iconIdx:20}],height:1024,metadata:{name:"icomoon"},preferences:{showGlyphs:!0,showQuickUse:!0,showQuickUse2:!0,showSVGs:!0,fontPref:{prefix:"icon-",metadata:{fontFamily:"icomoon"},metrics:{emSize:1024,baseline:6.25,whitespace:50},embed:!1},imagePref:{prefix:"icon-",png:!0,useClassSelector:!0,color:0,bgColor:16777215,classSelector:".icon",name:"icomoon"},historySize:50,showCodes:!0,gridSize:16,showGrid:!1}}).icons.map(e=>e.properties.name).reduce((e,t)=>(e[t]=t,e),{});const Uo={prefix:String(Math.round(Math.random()*1e10)),current:0},Hc=f.createContext(Uo),hm=f.createContext(!1);let mm=!!(typeof window<"u"&&window.document&&window.document.createElement),Ms=new WeakMap;function gm(e=!1){let t=f.useContext(Hc),r=f.useRef(null);if(r.current===null&&!e){var n,o;let a=(o=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(n=o.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let s=Ms.get(a);s==null?Ms.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==s.state&&(t.current=s.id,Ms.delete(a))}r.current=++t.current}return r.current}function vm(e){let t=f.useContext(Hc);t===Uo&&!mm&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=gm(!!e),n=t===Uo&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function bm(e){let t=f.useId(),[r]=f.useState(Yc()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Uo.prefix}`;return e||`${n}-${t}`}const ym=typeof f.useId=="function"?bm:vm;function xm(){return!1}function wm(){return!0}function Cm(e){return()=>{}}function Yc(){return typeof f.useSyncExternalStore=="function"?f.useSyncExternalStore(Cm,xm,wm):f.useContext(hm)}function Pm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Mm(e,t,r){Pm(e,t),t.set(e,r)}function Hr(e,t,r){let[n,o]=f.useState(e||t),a=f.useRef(e!==void 0),s=e!==void 0;f.useEffect(()=>{let c=a.current;c!==s&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s},[s]);let i=s?e:n,l=f.useCallback((c,...u)=>{let d=(p,...h)=>{r&&(Object.is(i,p)||r(p,...h)),s||(i=p)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((h,...g)=>{let v=c(s?i:h,...g);return d(v,...u),s?h:v})):(s||o(c),d(c,...u))},[s,i,r]);return[i,l]}const Ot=typeof document<"u"?f.useLayoutEffect:()=>{};function Be(e){const t=f.useRef(null);return Ot(()=>{t.current=e},[e]),f.useCallback((...r)=>{const n=t.current;return n(...r)},[])}function Sm(e){let[t,r]=f.useState(e),n=f.useRef(null),o=Be(()=>{let s=n.current.next();if(s.done){n.current=null;return}t===s.value?o():r(s.value)});Ot(()=>{n.current&&o()});let a=Be(s=>{n.current=s(t),o()});return[t,a]}let Tm=!!(typeof window<"u"&&window.document&&window.document.createElement),Go=new Map;function Yr(e){let[t,r]=f.useState(e),n=f.useRef(null),o=ym(t),a=f.useCallback(s=>{n.current=s},[]);return Tm&&Go.set(o,a),Ot(()=>{let s=o;return()=>{Go.delete(s)}},[o]),f.useEffect(()=>{let s=n.current;s&&(n.current=null,r(s))}),o}function Em(e,t){if(e===t)return e;let r=Go.get(e);if(r)return r(t),t;let n=Go.get(t);return n?(n(e),e):t}function qc(e=[]){let t=Yr(),[r,n]=Sm(t),o=f.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ot(o,[t,o,...e]),r}function gr(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const St=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},On=e=>e&&"window"in e&&e.window===e?e:St(e).defaultView||window;function de(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],s=n[o];typeof a=="function"&&typeof s=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=gr(a,s):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof s=="string"?t[o]=Uc(a,s):o==="id"&&a&&s?t.id=Em(a,s):t[o]=s!==void 0?s:a}}return t}const $m=new Set(["id"]),Dm=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),km=new Set(["href","target","rel","download","ping","referrerPolicy"]),Im=/^(data-.*)$/;function qr(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,a={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&($m.has(s)||r&&Dm.has(s)||n&&km.has(s)||o!=null&&o.has(s)||Im.test(s))&&(a[s]=e[s]);return a}function nt(e){if(Am())e.focus({preventScroll:!0});else{let t=Nm(e);e.focus(),Om(t)}}let Ho=null;function Am(){if(Ho==null){Ho=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Ho=!0,!0}})}catch{}}return Ho}function Nm(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function Om(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function Yo(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Ss(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Jt(){return Ss(/^Mac/i)}function jm(){return Ss(/^iPhone/i)}function Qc(){return Ss(/^iPad/i)||Jt()&&navigator.maxTouchPoints>1}function jn(){return jm()||Qc()}function Lm(){return Jt()||jn()}function _m(){return Yo(/AppleWebKit/i)&&!Fm()}function Fm(){return Yo(/Chrome/i)}function Xc(){return Yo(/Android/i)}function Vm(){return Yo(/Firefox/i)}const zm=f.createContext({isNative:!0,open:Bm});function Zc(){return f.useContext(zm)}function jt(e,t,r=!0){var n,o;let{metaKey:a,ctrlKey:s,altKey:i,shiftKey:l}=t;Vm()&&(!((o=window.event)===null||o===void 0||(n=o.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(Jt()?a=!0:s=!0);let c=_m()&&Jt()&&!Qc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:s,altKey:i,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:s,altKey:i,shiftKey:l,bubbles:!0,cancelable:!0});jt.isOpening=r,nt(e),e.dispatchEvent(c),jt.isOpening=!1}jt.isOpening=!1;function Wm(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Bm(e,t){Wm(e,r=>jt(r,t))}let Qr=new Map,Ts=new Set;function Jc(){if(typeof window>"u")return;let e=r=>{let n=Qr.get(r.target);n||(n=new Set,Qr.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Qr.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Qr.delete(r.target)),Qr.size===0)){for(let o of Ts)o();Ts.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Jc():document.addEventListener("DOMContentLoaded",Jc));function Es(e){requestAnimationFrame(()=>{Qr.size===0?e():Ts.add(e)})}function $s(){let e=f.useRef(new Map),t=f.useCallback((o,a,s,i)=>{let l=i!=null&&i.once?(...c)=>{e.current.delete(s),s(...c)}:s;e.current.set(s,{type:a,eventTarget:o,fn:l,options:i}),o.addEventListener(a,s,i)},[]),r=f.useCallback((o,a,s,i)=>{var l;let c=((l=e.current.get(s))===null||l===void 0?void 0:l.fn)||s;o.removeEventListener(a,c,i),e.current.delete(s)},[]),n=f.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return f.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Ds(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Yr(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function ks(e,t){Ot(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function eu(e,t){for(tu(e,t)&&(e=e.parentElement);e&&!tu(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function tu(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}let Km=0;const Is=new Map;function Rm(e){let[t,r]=f.useState(void 0);return Ot(()=>{if(!e)return;let n=Is.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Km++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Is.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Is.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Um(e,t,r,n){let o=Be(r),a=r==null;f.useEffect(()=>{if(a)return;let s=e.current;return s.addEventListener(t,o,n),()=>{s.removeEventListener(t,o,n)}},[e,t,n,a,o])}function ru(e,t){let r=nu(e,t,"left"),n=nu(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,s=e.scrollLeft,i=e.scrollTop,{borderTopWidth:l,borderLeftWidth:c}=getComputedStyle(e),u=e.scrollLeft+parseInt(c,10),d=e.scrollTop+parseInt(l,10),p=u+e.clientWidth,h=d+e.clientHeight;r<=s?s=r-parseInt(c,10):r+o>p&&(s+=r+o-p),n<=d?i=n-parseInt(l,10):n+a>h&&(i+=n+a-h),e.scrollLeft=s,e.scrollTop=i}function nu(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function ou(e,t){if(document.contains(e)){let s=document.scrollingElement||document.documentElement;if(window.getComputedStyle(s).overflow==="hidden"){let l=eu(e);for(;e&&l&&e!==s&&l!==s;)ru(l,e),e=l,l=eu(e)}else{var r;let{left:l,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:u,top:d}=e.getBoundingClientRect();if(Math.abs(l-u)>1||Math.abs(c-d)>1){var n,o,a;t==null||(o=t.containingElement)===null||o===void 0||(n=o.scrollIntoView)===null||n===void 0||n.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ln(e){return e.mozInputSource===0&&e.isTrusted?!0:Xc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function au(e){return!Xc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function As(e,t,r){let n=f.useRef(t),o=Be(()=>{r&&r(n.current)});f.useEffect(()=>{var a;let s=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return s==null||s.addEventListener("reset",o),()=>{s==null||s.removeEventListener("reset",o)}},[e,o])}const Gm=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Hm=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Ym(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Gm.has(r.script)}let t=e.split("-")[0];return Hm.has(t)}const qm=Symbol.for("react-aria.i18n.locale");function su(){let e=typeof window<"u"&&window[qm]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Ym(e)?"rtl":"ltr"}}let Ns=su(),_n=new Set;function iu(){Ns=su();for(let e of _n)e(Ns)}function Qm(){let e=Yc(),[t,r]=f.useState(Ns);return f.useEffect(()=>(_n.size===0&&window.addEventListener("languagechange",iu),_n.add(r),()=>{_n.delete(r),_n.size===0&&window.removeEventListener("languagechange",iu)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Xm=f.createContext(null);function Os(){let e=Qm();return f.useContext(Xm)||e}var Tt=function(){return Tt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Tt.apply(this,arguments)};function lu(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Zm(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Jm(e,t){return t.get?t.get.call(e):t.value}function cu(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eg(e,t){var r=cu(e,t,"get");return Jm(e,r)}function tg(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function uu(e,t,r){var n=cu(e,t,"set");return tg(e,n,r),r}let Xr="default",js="",qo=new WeakMap;function du(e){if(jn()){if(Xr==="default"){const t=St(e);js=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Xr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(qo.set(e,e.style.userSelect),e.style.userSelect="none")}function Qo(e){if(jn()){if(Xr!=="disabled")return;Xr="restoring",setTimeout(()=>{Es(()=>{if(Xr==="restoring"){const t=St(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=js||""),js="",Xr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&qo.has(e)){let t=qo.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),qo.delete(e)}}const fu=f.createContext({register:()=>{}});fu.displayName="PressResponderContext";function rg(e){let t=f.useContext(fu);if(t){let{register:r,...n}=t;e=de(n,e),r()}return ks(t,e.ref),e}var Xo=new WeakMap;class Zo{continuePropagation(){uu(this,Xo,!1)}get shouldStopPropagation(){return eg(this,Xo)}constructor(t,r,n){Mm(this,Xo,{writable:!0,value:void 0}),uu(this,Xo,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const pu=Symbol("linkClicked");function vr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:s,isPressed:i,preventFocusOnPress:l,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:u,ref:d,...p}=rg(e),[h,g]=f.useState(!1),v=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:P}=$s(),x=Be((m,k)=>{let I=v.current;if(s||I.didFirePressStart)return!1;let S=!0;if(I.isTriggeringEvent=!0,n){let N=new Zo("pressstart",k,m);n(N),S=N.shouldStopPropagation}return r&&r(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),S}),w=Be((m,k,I=!0)=>{let S=v.current;if(!S.didFirePressStart)return!1;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let N=!0;if(o){let C=new Zo("pressend",k,m);o(C),N=C.shouldStopPropagation}if(r&&r(!1),g(!1),t&&I&&!s){let C=new Zo("press",k,m);t(C),N&&(N=C.shouldStopPropagation)}return S.isTriggeringEvent=!1,N}),T=Be((m,k)=>{let I=v.current;if(s)return!1;if(a){I.isTriggeringEvent=!0;let S=new Zo("pressup",k,m);return a(S),I.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}),$=Be(m=>{let k=v.current;k.isPressed&&k.target&&(k.isOverTarget&&k.pointerType!=null&&w(Lt(k.target,m),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,P(),u||Qo(k.target))}),E=Be(m=>{c&&$(m)}),A=f.useMemo(()=>{let m=v.current,k={onKeyDown(S){if(_s(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){var N;mu(S.target,S.key)&&S.preventDefault();let C=!0;!m.isPressed&&!S.repeat&&(m.target=S.currentTarget,m.isPressed=!0,C=x(S,"keyboard"),b(St(S.currentTarget),"keyup",I,!1)),C&&S.stopPropagation(),S.metaKey&&Jt()&&((N=m.metaKeyEvents)===null||N===void 0||N.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(m.metaKeyEvents=new Map)},onKeyUp(S){_s(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&m.target&&T(Lt(m.target,S),"keyboard")},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!m.isTriggeringEvent&&!jt.isOpening){let N=!0;if(s&&S.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Ln(S.nativeEvent))){!s&&!l&&nt(S.currentTarget);let C=x(S,"virtual"),M=T(S,"virtual"),O=w(S,"virtual");N=C&&M&&O}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,N&&S.stopPropagation()}}},I=S=>{var N;if(m.isPressed&&m.target&&_s(S,m.target)){var C;mu(S.target,S.key)&&S.preventDefault();let O=S.target,_=w(Lt(m.target,S),"keyboard",m.target.contains(O));P(),_&&S.stopPropagation(),S.key!=="Enter"&&Ls(m.target)&&m.target.contains(O)&&!S[pu]&&(S[pu]=!0,jt(m.target,S,!1)),m.isPressed=!1,(C=m.metaKeyEvents)===null||C===void 0||C.delete(S.key)}else if(S.key==="Meta"&&(!((N=m.metaKeyEvents)===null||N===void 0)&&N.size)){var M;let O=m.metaKeyEvents;m.metaKeyEvents=void 0;for(let _ of O.values())(M=m.target)===null||M===void 0||M.dispatchEvent(new KeyboardEvent("keyup",_))}};if(typeof PointerEvent<"u"){k.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(au(M.nativeEvent)){m.pointerType="virtual";return}Fs(M.currentTarget)&&M.preventDefault(),m.pointerType=M.pointerType;let O=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=M.pointerId,m.target=M.currentTarget,!s&&!l&&nt(M.currentTarget),u||du(m.target),O=x(M,m.pointerType),b(St(M.currentTarget),"pointermove",S,!1),b(St(M.currentTarget),"pointerup",N,!1),b(St(M.currentTarget),"pointercancel",C,!1)),O&&M.stopPropagation()},k.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(Fs(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},k.onPointerUp=M=>{!M.currentTarget.contains(M.target)||m.pointerType==="virtual"||M.button===0&&Zr(M,M.currentTarget)&&T(M,m.pointerType||M.pointerType)};let S=M=>{M.pointerId===m.activePointerId&&(m.target&&Zr(M,m.target)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,x(Lt(m.target,M),m.pointerType)):m.target&&m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,w(Lt(m.target,M),m.pointerType,!1),E(M)))},N=M=>{M.pointerId===m.activePointerId&&m.isPressed&&M.button===0&&m.target&&(Zr(M,m.target)&&m.pointerType!=null?w(Lt(m.target,M),m.pointerType):m.isOverTarget&&m.pointerType!=null&&w(Lt(m.target,M),m.pointerType,!1),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,P(),u||Qo(m.target))},C=M=>{$(M)};k.onDragStart=M=>{M.currentTarget.contains(M.target)&&$(M)}}else{k.onMouseDown=C=>{if(C.button!==0||!C.currentTarget.contains(C.target))return;if(Fs(C.currentTarget)&&C.preventDefault(),m.ignoreEmulatedMouseEvents){C.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=C.currentTarget,m.pointerType=Ln(C.nativeEvent)?"virtual":"mouse",!s&&!l&&nt(C.currentTarget),x(C,m.pointerType)&&C.stopPropagation(),b(St(C.currentTarget),"mouseup",S,!1)},k.onMouseEnter=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!0,M=x(C,m.pointerType)),M&&C.stopPropagation()},k.onMouseLeave=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!1,M=w(C,m.pointerType,!1),E(C)),M&&C.stopPropagation()},k.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!m.ignoreEmulatedMouseEvents&&C.button===0&&T(C,m.pointerType||"mouse")};let S=C=>{if(C.button===0){if(m.isPressed=!1,P(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&Zr(C,m.target)&&m.pointerType!=null?w(Lt(m.target,C),m.pointerType):m.target&&m.isOverTarget&&m.pointerType!=null&&w(Lt(m.target,C),m.pointerType,!1),m.isOverTarget=!1}};k.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;let M=ng(C.nativeEvent);if(!M)return;m.activePointerId=M.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=C.currentTarget,m.pointerType="touch",!s&&!l&&nt(C.currentTarget),u||du(m.target),x(C,m.pointerType)&&C.stopPropagation(),b(On(C.currentTarget),"scroll",N,!0)},k.onTouchMove=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=hu(C.nativeEvent,m.activePointerId),O=!0;M&&Zr(M,C.currentTarget)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,O=x(C,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,O=w(C,m.pointerType,!1),E(C)),O&&C.stopPropagation()},k.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=hu(C.nativeEvent,m.activePointerId),O=!0;M&&Zr(M,C.currentTarget)&&m.pointerType!=null?(T(C,m.pointerType),O=w(C,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(O=w(C,m.pointerType,!1)),O&&C.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,m.target&&!u&&Qo(m.target),P()},k.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),m.isPressed&&$(C))};let N=C=>{m.isPressed&&C.target.contains(m.target)&&$({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};k.onDragStart=C=>{C.currentTarget.contains(C.target)&&$(C)}}return k},[b,s,l,P,u,$,E,w,x,T]);return f.useEffect(()=>()=>{var m;u||Qo((m=v.current.target)!==null&&m!==void 0?m:void 0)},[u]),{isPressed:i||h,pressProps:de(p,A)}}function Ls(e){return e.tagName==="A"&&e.hasAttribute("href")}function _s(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof On(o).HTMLInputElement&&!gu(o,r)||o instanceof On(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Ls(o))&&r!=="Enter")}function ng(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function hu(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function Lt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function og(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function ag(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Zr(e,t){let r=t.getBoundingClientRect(),n=og(e);return ag(r,n)}function Fs(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function mu(e,t){return e instanceof HTMLInputElement?!gu(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Ls(e)}const sg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function gu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":sg.has(e.type)}class ig{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function vu(e){let t=f.useRef({isFocused:!1,observer:null});Ot(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Be(n=>{e==null||e(n)});return f.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,a=s=>{t.current.isFocused=!1,o.disabled&&r(new ig("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let i=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function bu(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=f.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),s=vu(a),i=f.useCallback(l=>{l.target===l.currentTarget&&document.activeElement===l.target&&(r&&r(l),o&&o(!0),s(l))},[o,r,s]);return{focusProps:{onFocus:!t&&(r||o||n)?i:void 0,onBlur:!t&&(n||o)?a:void 0}}}let br=null,Vs=new Set,yu=!1,yr=!1,zs=!1;const lg={Tab:!0,Escape:!0};function Jo(e,t){for(let r of Vs)r(e,t)}function cg(e){return!(e.metaKey||!Jt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function xu(e){yr=!0,cg(e)&&(br="keyboard",Jo("keyboard",e))}function Jr(e){br="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(yr=!0,Jo("pointer",e))}function ug(e){Ln(e)&&(yr=!0,br="virtual")}function dg(e){e.target===window||e.target===document||(!yr&&!zs&&(br="virtual",Jo("virtual",e)),yr=!1,zs=!1)}function fg(){yr=!1,zs=!0}function Ws(){if(typeof window>"u"||yu)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){yr=!0,e.apply(this,arguments)},document.addEventListener("keydown",xu,!0),document.addEventListener("keyup",xu,!0),document.addEventListener("click",ug,!0),window.addEventListener("focus",dg,!0),window.addEventListener("blur",fg,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Jr,!0),document.addEventListener("pointermove",Jr,!0),document.addEventListener("pointerup",Jr,!0)):(document.addEventListener("mousedown",Jr,!0),document.addEventListener("mousemove",Jr,!0),document.addEventListener("mouseup",Jr,!0)),yu=!0}typeof document<"u"&&(document.readyState!=="loading"?Ws():document.addEventListener("DOMContentLoaded",Ws));function wu(){return br!=="pointer"}function Bs(){return br}function pg(e){br=e,Jo(e,null)}const hg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function mg(e,t,r){var n;return e=e||(r==null?void 0:r.target)instanceof HTMLInputElement&&!hg.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof HTMLTextAreaElement||(r==null?void 0:r.target)instanceof HTMLElement&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!lg[r.key])}function gg(e,t,r){Ws(),f.useEffect(()=>{let n=(o,a)=>{mg(!!(r!=null&&r.isTextInput),o,a)&&e(wu())};return Vs.add(n),()=>{Vs.delete(n)}},t)}function ea(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=f.useRef({isFocusWithin:!1}),s=f.useCallback(c=>{a.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(c),o&&o(!1))},[r,o,a]),i=vu(s),l=f.useCallback(c=>{!a.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),o&&o(!0),a.current.isFocusWithin=!0,i(c))},[n,o,i]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let ta=!1,Ks=0;function Rs(){ta=!0,setTimeout(()=>{ta=!1},50)}function Cu(e){e.pointerType==="touch"&&Rs()}function vg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Cu):document.addEventListener("touchend",Rs),Ks++,()=>{Ks--,!(Ks>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Cu):document.removeEventListener("touchend",Rs))}}function xr(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,s]=f.useState(!1),i=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(vg,[]);let{hoverProps:l,triggerHoverEnd:c}=f.useMemo(()=>{let u=(h,g)=>{if(i.pointerType=g,o||g==="touch"||i.isHovered||!h.currentTarget.contains(h.target))return;i.isHovered=!0;let v=h.currentTarget;i.target=v,t&&t({type:"hoverstart",target:v,pointerType:g}),r&&r(!0),s(!0)},d=(h,g)=>{if(i.pointerType="",i.target=null,g==="touch"||!i.isHovered)return;i.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:g}),r&&r(!1),s(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{ta&&h.pointerType==="mouse"||u(h,h.pointerType)},p.onPointerLeave=h=>{!o&&h.currentTarget.contains(h.target)&&d(h,h.pointerType)}):(p.onTouchStart=()=>{i.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!i.ignoreEmulatedMouseEvents&&!ta&&u(h,"mouse"),i.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!o&&h.currentTarget.contains(h.target)&&d(h,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,r,n,o,i]);return f.useEffect(()=>{o&&c({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:l,isHovered:a}}function Pu(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function bg(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Pu(e.onKeyDown),onKeyUp:Pu(e.onKeyUp)}}}const yg=500;function xg(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=yg,accessibilityDescription:s}=e;const i=f.useRef();let{addGlobalListener:l,removeGlobalListener:c}=$s(),{pressProps:u}=vr({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),i.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),i.current=void 0},a),p.pointerType==="touch")){let h=g=>{g.preventDefault()};l(p.target,"contextmenu",h,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){i.current&&clearTimeout(i.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),d=Rm(o&&!t?s:void 0);return{longPressProps:de(u,d)}}function ra(e){const t=St(e);if(Bs()==="virtual"){let r=t.activeElement;Es(()=>{t.activeElement===r&&e.isConnected&&nt(e)})}else nt(e)}function wg(e){const t=On(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:s,visibility:i}=a(e);o=s!=="none"&&i!=="hidden"&&i!=="collapse"}return o}function Cg(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Mu(e,t){return e.nodeName!=="#comment"&&wg(e)&&Cg(e,t)&&(!e.parentElement||Mu(e.parentElement,e))}const Us=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],Pg=Us.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Us.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Mg=Us.join(':not([hidden]):not([tabindex="-1"]),');function Su(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Gs(e,t,r){let n=t!=null&&t.tabbable?Mg:Pg,o=St(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Mu(a)&&(!r||Su(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Hs{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new Tu({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Su(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new Hs;var n;for(let o of this.traverse())r.addTreeNode(o.scopeRef,(n=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new Tu({scopeRef:null}),this.fastMap.set(null,this.root)}}class Tu{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new Hs;function Et(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||wu()}),[a,s]=f.useState(!1),[i,l]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=f.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=f.useCallback(h=>{o.current.isFocused=h,s(h),c()},[c]);gg(h=>{o.current.isFocusVisible=h,c()},[],{isTextInput:r});let{focusProps:d}=bu({isDisabled:n,onFocusChange:u}),{focusWithinProps:p}=ea({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:i,focusProps:n?p:d}}let Sg=f.createContext(null);function Tg(e){let t=f.useContext(Sg)||{};ks(t,e);let{ref:r,...n}=t;return n}function na(e,t){let{focusProps:r}=bu(e),{keyboardProps:n}=bg(e),o=de(r,n),a=Tg(t),s=e.isDisabled?{}:a,i=f.useRef(e.autoFocus);return f.useEffect(()=>{i.current&&t.current&&ra(t.current),i.current=!1},[t]),{focusableProps:de({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},s)}}function Eg(e,t){let r=t==null?void 0:t.isDisabled,[n,o]=f.useState(!1);return Ot(()=>{if(e!=null&&e.current&&!r){let a=()=>{if(e.current){let i=Gs(e.current,{tabbable:!0});o(!!i.nextNode())}};a();let s=new MutationObserver(a);return s.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{s.disconnect()}}}),r?!1:n}const Eu={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function $g(e={}){let{style:t,isFocusable:r}=e,[n,o]=f.useState(!1),{focusWithinProps:a}=ea({isDisabled:!r,onFocusWithinChange:i=>o(i)}),s=f.useMemo(()=>n?t:t?{...Eu,...t}:Eu,[n]);return{visuallyHiddenProps:{...a,style:s}}}function Ys(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:s}=$g(e);return f.createElement(r,de(a,s),t)}function yt(e){return f.forwardRef(e)}var Fn=(e,t,r=!0)=>{if(!t)return[e,{}];const n=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return r?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,s)=>({...a,[s]:e[s]}),{}),n]:[e,n]},Dg=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],qs=Dg.map(e=>`unit-${e}`),oa=["small","medium","large"],ot=(e,t)=>{var r,n,o;return ye(e,{...t,twMerge:(r=t==null?void 0:t.twMerge)!=null?r:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(n=t==null?void 0:t.twMergeConfig)==null?void 0:n.theme,opacity:["disabled"],spacing:["divider","unit",...qs],borderWidth:oa,borderRadius:oa},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:oa}],"font-size":[{text:["tiny",...oa]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...qs]}],"min-h":[{"min-h":["unit",...qs]}]}}})},Vn=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],aa=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],kg=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],Qs=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],en={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},Ig={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},Ag={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},Ng={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},Og={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},jg={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},Lg={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},_g={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},Y={solid:Ig,shadow:Ag,bordered:Ng,flat:Og,faded:jg,light:Lg,ghost:_g},$u=ot({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),Du=ot({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...Vn],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none",...Vn]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1,disableAnimation:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:Y.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:Y.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:Y.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:Y.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:Y.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),ku=ot({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...aa],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 text-current",endContent:"z-0 absolute right-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,disableAnimation:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),Fg=ot({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","border-solid","border-medium","box-border","border-default","rounded-full","group-data-[hover-unselected=true]:bg-default-100",...aa],labelWrapper:"flex flex-col ml-1",control:["z-10","w-2","h-2","opacity-0","scale-0","origin-center","rounded-full","group-data-[selected=true]:opacity-100","group-data-[selected=true]:scale-100"],label:"relative text-foreground select-none",description:"relative text-foreground-400"},variants:{color:{default:{control:"bg-default-500 text-default-foreground",wrapper:"group-data-[selected=true]:border-default-500"},primary:{control:"bg-primary text-primary-foreground",wrapper:"group-data-[selected=true]:border-primary"},secondary:{control:"bg-secondary text-secondary-foreground",wrapper:"group-data-[selected=true]:border-secondary"},success:{control:"bg-success text-success-foreground",wrapper:"group-data-[selected=true]:border-success"},warning:{control:"bg-warning text-warning-foreground",wrapper:"group-data-[selected=true]:border-warning"},danger:{control:"bg-danger text-danger-foreground",wrapper:"group-data-[selected=true]:border-danger"}},size:{sm:{wrapper:"w-4 h-4",control:"w-1.5 h-1.5",labelWrapper:"ml-1",label:"text-small",description:"text-tiny"},md:{wrapper:"w-5 h-5",control:"w-2 h-2",labelWrapper:"ml-2",label:"text-medium",description:"text-small"},lg:{wrapper:"w-6 h-6",control:"w-2.5 h-2.5",labelWrapper:"ml-2",label:"text-large",description:"text-medium"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{control:"bg-danger text-danger-foreground",wrapper:"border-danger group-data-[selected=true]:border-danger",label:"text-danger",description:"text-danger-300"}},disableAnimation:{true:{},false:{wrapper:["group-data-[pressed=true]:scale-95","transition-transform-colors","motion-reduce:transition-none"],control:"transition-transform-opacity motion-reduce:transition-none",label:"transition-colors motion-reduce:transition-none",description:"transition-colors motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,isInvalid:!1,disableAnimation:!1}}),Vg=ot({slots:{base:"relative flex flex-col gap-2",label:"relative text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}}),Iu=ot({slots:{base:"group flex flex-col",label:["absolute","z-10","pointer-events-none","origin-top-left","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...Vn],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-unit-8 min-h-unit-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-unit-10 min-h-unit-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-unit-12 min-h-unit-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1,disableAnimation:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...aa]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:["outside","outside-left"],class:{input:"h-full"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),zg=ot({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...aa],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1,disableAnimation:!1}});ot({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}});var Au=ot({slots:{base:["relative","max-w-fit","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...kg,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:Y.solid.default}},{variant:"solid",color:"primary",class:{base:Y.solid.primary}},{variant:"solid",color:"secondary",class:{base:Y.solid.secondary}},{variant:"solid",color:"success",class:{base:Y.solid.success}},{variant:"solid",color:"warning",class:{base:Y.solid.warning}},{variant:"solid",color:"danger",class:{base:Y.solid.danger}},{variant:"shadow",color:"default",class:{base:Y.shadow.default}},{variant:"shadow",color:"primary",class:{base:Y.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:Y.shadow.secondary}},{variant:"shadow",color:"success",class:{base:Y.shadow.success}},{variant:"shadow",color:"warning",class:{base:Y.shadow.warning}},{variant:"shadow",color:"danger",class:{base:Y.shadow.danger}},{variant:"bordered",color:"default",class:{base:Y.bordered.default}},{variant:"bordered",color:"primary",class:{base:Y.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:Y.bordered.secondary}},{variant:"bordered",color:"success",class:{base:Y.bordered.success}},{variant:"bordered",color:"warning",class:{base:Y.bordered.warning}},{variant:"bordered",color:"danger",class:{base:Y.bordered.danger}},{variant:"flat",color:"default",class:{base:Y.flat.default}},{variant:"flat",color:"primary",class:{base:Y.flat.primary}},{variant:"flat",color:"secondary",class:{base:Y.flat.secondary}},{variant:"flat",color:"success",class:{base:Y.flat.success}},{variant:"flat",color:"warning",class:{base:Y.flat.warning}},{variant:"flat",color:"danger",class:{base:Y.flat.danger}},{variant:"faded",color:"default",class:{base:Y.faded.default}},{variant:"faded",color:"primary",class:{base:Y.faded.primary}},{variant:"faded",color:"secondary",class:{base:Y.faded.secondary}},{variant:"faded",color:"success",class:{base:Y.faded.success}},{variant:"faded",color:"warning",class:{base:Y.faded.warning}},{variant:"faded",color:"danger",class:{base:Y.faded.danger}},{variant:"light",color:"default",class:{base:Y.light.default}},{variant:"light",color:"primary",class:{base:Y.light.primary}},{variant:"light",color:"secondary",class:{base:Y.light.secondary}},{variant:"light",color:"success",class:{base:Y.light.success}},{variant:"light",color:"warning",class:{base:Y.light.warning}},{variant:"light",color:"danger",class:{base:Y.light.danger}},{isOneChar:!0,size:"sm",class:{base:"w-5 h-5 min-w-unit-5 min-h-5"}},{isOneChar:!0,size:"md",class:{base:"w-6 h-6 min-w-unit-6 min-h-6"}},{isOneChar:!0,size:"lg",class:{base:"w-7 h-7 min-w-unit-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,class:{base:"w-auto"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),Wg=ot({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...Vn],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...Qs,"flex","items-center","justify-center"],name:[...Qs,"font-normal","text-center","text-inherit"],icon:[...Qs,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:Y.solid.default},primary:{base:Y.solid.primary},secondary:{base:Y.solid.secondary},success:{base:Y.solid.success},warning:{base:Y.solid.warning},danger:{base:Y.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});ot({base:"flex items-center justify-center h-auto w-max-content",variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var Bg=ot({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent",...Vn],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small",md:"px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium",lg:"px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-unit-0 !gap-unit-0",false:"[&>svg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:Y.solid.default},{variant:"solid",color:"primary",class:Y.solid.primary},{variant:"solid",color:"secondary",class:Y.solid.secondary},{variant:"solid",color:"success",class:Y.solid.success},{variant:"solid",color:"warning",class:Y.solid.warning},{variant:"solid",color:"danger",class:Y.solid.danger},{variant:"shadow",color:"default",class:Y.shadow.default},{variant:"shadow",color:"primary",class:Y.shadow.primary},{variant:"shadow",color:"secondary",class:Y.shadow.secondary},{variant:"shadow",color:"success",class:Y.shadow.success},{variant:"shadow",color:"warning",class:Y.shadow.warning},{variant:"shadow",color:"danger",class:Y.shadow.danger},{variant:"bordered",color:"default",class:Y.bordered.default},{variant:"bordered",color:"primary",class:Y.bordered.primary},{variant:"bordered",color:"secondary",class:Y.bordered.secondary},{variant:"bordered",color:"success",class:Y.bordered.success},{variant:"bordered",color:"warning",class:Y.bordered.warning},{variant:"bordered",color:"danger",class:Y.bordered.danger},{variant:"flat",color:"default",class:Y.flat.default},{variant:"flat",color:"primary",class:Y.flat.primary},{variant:"flat",color:"secondary",class:Y.flat.secondary},{variant:"flat",color:"success",class:Y.flat.success},{variant:"flat",color:"warning",class:Y.flat.warning},{variant:"flat",color:"danger",class:Y.flat.danger},{variant:"faded",color:"default",class:Y.faded.default},{variant:"faded",color:"primary",class:Y.faded.primary},{variant:"faded",color:"secondary",class:Y.faded.secondary},{variant:"faded",color:"success",class:Y.faded.success},{variant:"faded",color:"warning",class:Y.faded.warning},{variant:"faded",color:"danger",class:Y.faded.danger},{variant:"light",color:"default",class:[Y.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[Y.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[Y.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[Y.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[Y.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[Y.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:Y.ghost.default},{variant:"ghost",color:"primary",class:Y.ghost.primary},{variant:"ghost",color:"secondary",class:Y.ghost.secondary},{variant:"ghost",color:"success",class:Y.ghost.success},{variant:"ghost",color:"warning",class:Y.ghost.warning},{variant:"ghost",color:"danger",class:Y.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:en.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:en.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:en.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:en.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:en.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:en.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});ot({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var Kg=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3),Xs=(...e)=>{let t=" ";for(const r of e)if(typeof r=="string"&&r.length>0){t=r;break}return t};function Nu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Nu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ve(...e){for(var t=0,r,n,o="";t<e.length;)(r=e[t++])&&(n=Nu(r))&&(o&&(o+=" "),o+=n);return o}var Ou={};function sa(e,t,...r){var n;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!Ou[a]&&(Ou[a]=!0,((n=process==null?void 0:process.env)==null?void 0:n.NODE_ENV)!=="production"))return console.warn(a,r)}function Rg(e){return`${e}-${Math.floor(Math.random()*1e6)}`}var ju=process.env.NODE_ENV!=="production";process.env.NODE_ENV;var ee=e=>e?"true":void 0;function ia(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=W.createContext(void 0);o.displayName=n;function a(){var s;const i=W.useContext(o);if(!i&&t){const l=new Error(r);throw l.name="ContextError",(s=Error.captureStackTrace)==null||s.call(Error,l,a),l}return i}return[o.Provider,a,o]}function Ug(e){return{UNSAFE_getDOMNode(){return e.current}}}function Gg(e,t=e){return{...Ug(e),focus(){t.current&&t.current.focus()}}}function at(e){const t=f.useRef(null);return f.useImperativeHandle(e,()=>t.current),t}function Lu(e,t){const r=f.useRef(null);return f.useImperativeHandle(e,()=>Gg(r,t)),r}var Hg=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),Yg=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),qg=/^(data-.*)$/,Qg=/^(aria-.*)$/,Zs=/^(on[A-Z].*)$/;function zn(e,t={}){let{labelable:r=!0,enabled:n=!0,propNames:o,omitPropNames:a,omitEventNames:s}=t,i={};if(!n)return e;for(const l in e)a!=null&&a.has(l)||s!=null&&s.has(l)&&Zs.test(l)||Zs.test(l)&&!Yg.has(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(Hg.has(l)||r&&Qg.test(l)||o!=null&&o.has(l)||qg.test(l))||Zs.test(l))&&(i[l]=e[l]);return i}function Js(e){return Lm()?e.altKey:e.ctrlKey}function tn(e){return Jt()?e.metaKey:e.ctrlKey}const Xg=1e3;function Zg(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=f.useRef({search:"",timeout:null}).current,a=s=>{let i=Jg(s.key);if(!i||s.ctrlKey||s.metaKey||!s.currentTarget.contains(s.target))return;i===" "&&o.search.trim().length>0&&(s.preventDefault(),"continuePropagation"in s||s.stopPropagation()),o.search+=i;let l=t.getKeyForSearch(o.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(r.setFocusedKey(l),n&&n(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},Xg)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function Jg(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ev(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:s=!1,disallowSelectAll:i=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:u,allowsTabNavigation:d=!1,isVirtualized:p,scrollRef:h=n,linkBehavior:g="action"}=e,{direction:v}=Os(),b=Zc(),P=I=>{if(I.altKey&&I.key==="Tab"&&I.preventDefault(),!n.current.contains(I.target))return;const S=(G,U)=>{if(G!=null){if(t.isLink(G)&&g==="selection"&&l&&!Js(I)){$n.flushSync(()=>{t.setFocusedKey(G,U)});let F=h.current.querySelector(`[data-key="${CSS.escape(G.toString())}"]`);b.open(F,I);return}if(t.setFocusedKey(G,U),t.isLink(G)&&g==="override")return;I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(G):l&&!Js(I)&&t.replaceSelection(G)}};switch(I.key){case"ArrowDown":if(r.getKeyBelow){var N,C;I.preventDefault();let G=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(N=r.getFirstKey)===null||N===void 0?void 0:N.call(r);G==null&&a&&(G=(C=r.getFirstKey)===null||C===void 0?void 0:C.call(r,t.focusedKey)),S(G)}break;case"ArrowUp":if(r.getKeyAbove){var M,O;I.preventDefault();let G=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(M=r.getLastKey)===null||M===void 0?void 0:M.call(r);G==null&&a&&(G=(O=r.getLastKey)===null||O===void 0?void 0:O.call(r,t.focusedKey)),S(G)}break;case"ArrowLeft":if(r.getKeyLeftOf){var _,D;I.preventDefault();let G=r.getKeyLeftOf(t.focusedKey);G==null&&a&&(G=v==="rtl"?(_=r.getFirstKey)===null||_===void 0?void 0:_.call(r,t.focusedKey):(D=r.getLastKey)===null||D===void 0?void 0:D.call(r,t.focusedKey)),S(G,v==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var z,X;I.preventDefault();let G=r.getKeyRightOf(t.focusedKey);G==null&&a&&(G=v==="rtl"?(z=r.getLastKey)===null||z===void 0?void 0:z.call(r,t.focusedKey):(X=r.getFirstKey)===null||X===void 0?void 0:X.call(r,t.focusedKey)),S(G,v==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){I.preventDefault();let G=r.getFirstKey(t.focusedKey,tn(I));t.setFocusedKey(G),tn(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(G):l&&t.replaceSelection(G)}break;case"End":if(r.getLastKey){I.preventDefault();let G=r.getLastKey(t.focusedKey,tn(I));t.setFocusedKey(G),tn(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(G):l&&t.replaceSelection(G)}break;case"PageDown":if(r.getKeyPageBelow){I.preventDefault();let G=r.getKeyPageBelow(t.focusedKey);S(G)}break;case"PageUp":if(r.getKeyPageAbove){I.preventDefault();let G=r.getKeyPageAbove(t.focusedKey);S(G)}break;case"a":tn(I)&&t.selectionMode==="multiple"&&i!==!0&&(I.preventDefault(),t.selectAll());break;case"Escape":I.preventDefault(),s||t.clearSelection();break;case"Tab":if(!d){if(I.shiftKey)n.current.focus();else{let G=Gs(n.current,{tabbable:!0}),U,F;do F=G.lastChild(),F&&(U=F);while(F);U&&!U.contains(document.activeElement)&&nt(U)}break}}},x=f.useRef({top:0,left:0});Um(h,"scroll",p?null:()=>{x.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let w=I=>{if(t.isFocused){I.currentTarget.contains(I.target)||t.setFocused(!1);return}if(I.currentTarget.contains(I.target)){if(t.setFocused(!0),t.focusedKey==null){let C=O=>{O!=null&&(t.setFocusedKey(O),l&&t.replaceSelection(O))},M=I.relatedTarget;var S,N;M&&I.currentTarget.compareDocumentPosition(M)&Node.DOCUMENT_POSITION_FOLLOWING?C((S=t.lastSelectedKey)!==null&&S!==void 0?S:r.getLastKey()):C((N=t.firstSelectedKey)!==null&&N!==void 0?N:r.getFirstKey())}else p||(h.current.scrollTop=x.current.top,h.current.scrollLeft=x.current.left);if(!p&&t.focusedKey!=null){let C=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);C&&(C.contains(document.activeElement)||nt(C),Bs()==="keyboard"&&ou(C,{containingElement:n.current}))}}},T=I=>{I.currentTarget.contains(I.relatedTarget)||t.setFocused(!1)};const $=f.useRef(o);f.useEffect(()=>{if($.current){let I=null;o==="first"&&(I=r.getFirstKey()),o==="last"&&(I=r.getLastKey());let S=t.selectedKeys;if(S.size){for(let N of S)if(t.canSelectItem(N)){I=N;break}}t.setFocused(!0),t.setFocusedKey(I),I==null&&!u&&ra(n.current)}},[]);let E=f.useRef(t.focusedKey);f.useEffect(()=>{let I=Bs();if(t.isFocused&&t.focusedKey!=null&&(h!=null&&h.current)){let S=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);S&&(I==="keyboard"||$.current)&&(p||ru(h.current,S),ou(S,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&E.current!=null&&ra(n.current),E.current=t.focusedKey,$.current=!1},[p,h,t.focusedKey,t.isFocused,n]);let A={onKeyDown:P,onFocus:w,onBlur:T,onMouseDown(I){h.current===I.target&&I.preventDefault()}},{typeSelectProps:m}=Zg({keyboardDelegate:r,selectionManager:t});c||(A=de(m,A));let k;return u||(k=t.focusedKey==null?0:-1),{collectionProps:{...A,tabIndex:k}}}function tv(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:s,isDisabled:i,onAction:l,allowsDifferentPressOrigin:c,linkBehavior:u="action"}=e,d=Zc(),p=D=>{if(D.pointerType==="keyboard"&&Js(D))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(u==="selection"){d.open(n.current,D),t.setSelectedKeys(t.selectedKeys);return}else if(u==="override"||u==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):D&&D.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||D&&(tn(D)||D.pointerType==="touch"||D.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};f.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!a&&(s?s():document.activeElement!==n.current&&ra(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),i=i||t.isDisabled(r);let h={};!a&&!i?h={tabIndex:r===t.focusedKey?0:-1,onFocus(D){D.target===n.current&&t.setFocusedKey(r)}}:i&&(h.onMouseDown=D=>{D.preventDefault()});let g=t.isLink(r)&&u==="override",v=t.isLink(r)&&u!=="selection"&&u!=="none",b=!i&&t.canSelectItem(r)&&!g,P=(l||v)&&!i,x=P&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),w=P&&b&&t.selectionBehavior==="replace",T=x||w,$=f.useRef(null),E=T&&b,A=f.useRef(!1),m=f.useRef(!1),k=D=>{l&&l(),v&&d.open(n.current,D)},I={};o?(I.onPressStart=D=>{$.current=D.pointerType,A.current=E,D.pointerType==="keyboard"&&(!T||Fu())&&p(D)},c?(I.onPressUp=x?null:D=>{D.pointerType!=="keyboard"&&b&&p(D)},I.onPress=x?k:null):I.onPress=D=>{if(x||w&&D.pointerType!=="mouse"){if(D.pointerType==="keyboard"&&!_u())return;k(D)}else D.pointerType!=="keyboard"&&b&&p(D)}):(I.onPressStart=D=>{$.current=D.pointerType,A.current=E,m.current=x,b&&(D.pointerType==="mouse"&&!x||D.pointerType==="keyboard"&&(!P||Fu()))&&p(D)},I.onPress=D=>{(D.pointerType==="touch"||D.pointerType==="pen"||D.pointerType==="virtual"||D.pointerType==="keyboard"&&T&&_u()||D.pointerType==="mouse"&&m.current)&&(T?k(D):b&&p(D))}),h["data-key"]=r,I.preventFocusOnPress=a;let{pressProps:S,isPressed:N}=vr(I),C=w?D=>{$.current==="mouse"&&(D.stopPropagation(),D.preventDefault(),k(D))}:void 0,{longPressProps:M}=xg({isDisabled:!E,onLongPress(D){D.pointerType==="touch"&&(p(D),t.setSelectionBehavior("toggle"))}}),O=D=>{$.current==="touch"&&A.current&&D.preventDefault()},_=t.isLink(r)?D=>{jt.isOpening||D.preventDefault()}:void 0;return{itemProps:de(h,b||x?S:{},E?M:{},{onDoubleClick:C,onDragStartCapture:O,onClick:_}),isPressed:N,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:i,allowsSelection:b,hasAction:T}}function _u(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Fu(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}var Vu=f.createContext(null);Vu.displayName="PressResponderContext";var rv=Object.defineProperty,nv=(e,t,r)=>t in e?rv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wr=(e,t,r)=>(nv(e,typeof t!="symbol"?t+"":t,r),r),zu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},ov=(e,t,r)=>(zu(e,t,"read from private field"),r?r.call(e):t.get(e)),av=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},sv=(e,t,r,n)=>(zu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),la,ca=class{constructor(e,t,r){wr(this,"type"),wr(this,"pointerType"),wr(this,"target"),wr(this,"shiftKey"),wr(this,"ctrlKey"),wr(this,"metaKey"),wr(this,"altKey"),av(this,la,!0),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}continuePropagation(){sv(this,la,!1)}get shouldStopPropagation(){return ov(this,la)}};la=new WeakMap;var Cr=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document},ei=e=>{var t,r;return(r=(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)!=null?r:window},rn="default",ti="",ua=new WeakMap;function Wu(e){if(jn()){if(rn==="default"){const t=Cr(e);ti=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}rn="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(ua.set(e,e.style.userSelect),e.style.userSelect="none")}function da(e){if(jn()){if(rn!=="disabled")return;rn="restoring",setTimeout(()=>{Es(()=>{if(rn==="restoring"){const t=Cr(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ti||""),ti="",rn="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&ua.has(e)){let t=ua.get(e);e.style.userSelect==="none"&&t&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),ua.delete(e)}}function iv(e){let t=f.useContext(Vu);if(t){let{register:r,...n}=t;e=de(n,e),r()}return ks(t,e.ref),e}var Bu=Symbol("linkClicked");function Wn(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:s,isPressed:i,preventFocusOnPress:l,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:u,ref:d,...p}=iv(e),[h,g]=f.useState(!1),v=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:P}=$s(),x=Be((m,k)=>{let I=v.current;if(s||I.didFirePressStart)return;let S=!0;if(I.isTriggeringEvent=!0,n){let N=new ca("pressstart",k,m);n(N),S=N.shouldStopPropagation}return r&&r(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),S}),w=Be((m,k,I=!0)=>{let S=v.current;if(!S.didFirePressStart)return;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let N=!0;if(o){let C=new ca("pressend",k,m);o(C),N=C.shouldStopPropagation}if(r&&r(!1),g(!1),t&&I&&!s){let C=new ca("press",k,m);t(C),N&&(N=C.shouldStopPropagation)}return S.isTriggeringEvent=!1,N}),T=Be((m,k)=>{let I=v.current;if(!s){if(a){I.isTriggeringEvent=!0;let S=new ca("pressup",k,m);return a(S),I.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}}),$=Be(m=>{let k=v.current;k.isPressed&&(k.isOverTarget&&k.target&&w(_t(k.target,m),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,P(),!u&&k.target&&da(k.target))}),E=Be(m=>{c&&$(m)}),A=f.useMemo(()=>{let m=v.current,k={onKeyDown(S){var N;if(ni(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){Ru(S.target,S.key)&&S.preventDefault();let C=!0;!m.isPressed&&!S.repeat&&(m.target=S.currentTarget,m.isPressed=!0,C=x(S,"keyboard"),b(Cr(S.currentTarget),"keyup",I,!1)),C&&S.stopPropagation(),S.metaKey&&Jt()&&((N=m.metaKeyEvents)==null||N.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(m.metaKeyEvents=new Map)},onKeyUp(S){m.target&&ni(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&T(_t(m.target,S),"keyboard")},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!m.isTriggeringEvent&&!jt.isOpening){let N=!0;if(s&&S.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Ln(S.nativeEvent))){!s&&!l&&nt(S.currentTarget);let C=x(S,"virtual"),M=T(S,"virtual"),O=w(S,"virtual");N=C&&M&&O}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,N&&S.stopPropagation()}}},I=S=>{var N,C;if(m.isPressed&&m.target&&ni(S,m.target)){Ru(S.target,S.key)&&S.preventDefault();let M=S.target,O=w(_t(m.target,S),"keyboard",m.target.contains(M));P(),O&&S.stopPropagation(),S.key!=="Enter"&&ri(m.target)&&m.target.contains(M)&&!S[Bu]&&(S[Bu]=!0,jt(m.target,S,!1)),m.isPressed=!1,(N=m.metaKeyEvents)==null||N.delete(S.key)}else if(S.key==="Meta"&&((C=m.metaKeyEvents)!=null&&C.size)){let M=m.metaKeyEvents;m.metaKeyEvents=null;for(let O of M.values())m.target&&m.target.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){k.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(au(M.nativeEvent)){m.pointerType="virtual";return}oi(M.currentTarget)&&M.preventDefault(),m.pointerType=M.pointerType;let O=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=M.pointerId,m.target=M.currentTarget,!s&&!l&&nt(M.currentTarget),u||Wu(m.target),O=x(M,m.pointerType),b(Cr(M.currentTarget),"pointermove",S,!1),b(Cr(M.currentTarget),"pointerup",N,!1),b(Cr(M.currentTarget),"pointercancel",C,!1)),O&&M.stopPropagation()},k.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(oi(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},k.onPointerUp=M=>{!M.currentTarget.contains(M.target)||m.pointerType==="virtual"||M.button===0&&nn(M,M.currentTarget)&&T(M,m.pointerType||M.pointerType)};let S=M=>{M.pointerId!==m.activePointerId||!m.target||(nn(M,m.target)?m.isOverTarget||(m.isOverTarget=!0,x(_t(m.target,M),m.pointerType)):m.isOverTarget&&(m.isOverTarget=!1,w(_t(m.target,M),m.pointerType,!1),E(M)))},N=M=>{M.pointerId===m.activePointerId&&m.isPressed&&M.button===0&&m.target&&((nn(M,m.target)||m.isOverTarget)&&w(_t(m.target,M),m.pointerType),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,P(),u||da(m.target))},C=M=>{$(M)};k.onDragStart=M=>{M.currentTarget.contains(M.target)&&$(M)}}else{k.onMouseDown=C=>{if(C.button!==0||!C.currentTarget.contains(C.target))return;if(oi(C.currentTarget)&&C.preventDefault(),m.ignoreEmulatedMouseEvents){C.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=C.currentTarget,m.pointerType=Ln(C.nativeEvent)?"virtual":"mouse",!s&&!l&&nt(C.currentTarget),x(C,m.pointerType)&&C.stopPropagation(),b(Cr(C.currentTarget),"mouseup",S,!1)},k.onMouseEnter=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&(m.isOverTarget=!0,M=x(C,m.pointerType)),M&&C.stopPropagation()},k.onMouseLeave=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&(m.isOverTarget=!1,M=w(C,m.pointerType,!1),E(C)),M&&C.stopPropagation()},k.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!m.ignoreEmulatedMouseEvents&&C.button===0&&T(C,m.pointerType||"mouse")};let S=C=>{if(C.button===0){if(m.isPressed=!1,P(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&(nn(C,m.target)?w(_t(m.target,C),m.pointerType):m.isOverTarget&&w(_t(m.target,C),m.pointerType,!1),m.isOverTarget=!1)}};k.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;let M=lv(C.nativeEvent);if(!M)return;m.activePointerId=M.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=C.currentTarget,m.pointerType="touch",!s&&!l&&nt(C.currentTarget),u||Wu(m.target),x(C,m.pointerType)&&C.stopPropagation(),b(ei(C.currentTarget),"scroll",N,!0)},k.onTouchMove=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=Ku(C.nativeEvent,m.activePointerId),O=!0;M&&nn(M,C.currentTarget)?m.isOverTarget||(m.isOverTarget=!0,O=x(C,m.pointerType)):m.isOverTarget&&(m.isOverTarget=!1,O=w(C,m.pointerType,!1),E(C)),O&&C.stopPropagation()},k.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=Ku(C.nativeEvent,m.activePointerId),O=!0;M&&nn(M,C.currentTarget)?(T(C,m.pointerType),O=w(C,m.pointerType)):m.isOverTarget&&(O=w(C,m.pointerType,!1)),O&&C.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,!u&&m.target&&da(m.target),P()},k.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),m.isPressed&&$(C))};let N=C=>{m.isPressed&&C.target.contains(m.target)&&$({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};k.onDragStart=C=>{C.currentTarget.contains(C.target)&&$(C)}}return k},[b,s,l,P,u,$,E,w,x,T]);return f.useEffect(()=>()=>{!u&&v.current.target&&da(v.current.target)},[u]),{isPressed:i||h,pressProps:de(p,A)}}function ri(e){return e.tagName==="A"&&e.hasAttribute("href")}function ni(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof ei(o).HTMLInputElement&&!Uu(o,r)||o instanceof ei(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&ri(o))&&r!=="Enter")}function lv(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Ku(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function _t(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function cv(e){let t=e.width?e.width/2:e.radiusX||0,r=e.height?e.height/2:e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function uv(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function nn(e,t){let r=t.getBoundingClientRect(),n=cv(e);return uv(r,n)}function oi(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Ru(e,t){return e instanceof HTMLInputElement?!Uu(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!ri(e)}var dv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Uu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":dv.has(e.type)}var fv=e=>L.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:L.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const Gu=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),fa=f.createContext({}),pa=f.createContext(null),ha=typeof document<"u",ai=ha?f.useLayoutEffect:f.useEffect,Hu=f.createContext({strict:!1}),si=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Yu="data-"+si("framerAppearId");function pv(e,t,r,n){const{visualElement:o}=f.useContext(fa),a=f.useContext(Hu),s=f.useContext(pa),i=f.useContext(Gu).reducedMotion,l=f.useRef();n=n||a.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:i}));const c=l.current;f.useInsertionEffect(()=>{c&&c.update(r,s)});const u=f.useRef(!!(r[Yu]&&!window.HandoffComplete));return ai(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),f.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,window.HandoffComplete=!0))}),c}function on(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function hv(e,t,r){return f.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):on(r)&&(r.current=n))},[t])}function Bn(e){return typeof e=="string"||Array.isArray(e)}function ma(e){return typeof e=="object"&&typeof e.start=="function"}const ii=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],li=["initial",...ii];function ga(e){return ma(e.animate)||li.some(t=>Bn(e[t]))}function qu(e){return!!(ga(e)||e.variants)}function mv(e,t){if(ga(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Bn(r)?r:void 0,animate:Bn(n)?n:void 0}}return e.inherit!==!1?t:{}}function gv(e){const{initial:t,animate:r}=mv(e,f.useContext(fa));return f.useMemo(()=>({initial:t,animate:r}),[Qu(t),Qu(r)])}function Qu(e){return Array.isArray(e)?e.join(" "):e}const Xu={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Kn={};for(const e in Xu)Kn[e]={isEnabled:t=>Xu[e].some(r=>!!t[r])};function vv(e){for(const t in e)Kn[t]={...Kn[t],...e[t]}}const Rn=f.createContext({}),Zu=f.createContext({}),bv=Symbol.for("motionComponentSymbol");function yv({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&vv(e);function a(i,l){let c;const u={...f.useContext(Gu),...i,layoutId:xv(i)},{isStatic:d}=u,p=gv(i),h=n(i,d);if(!d&&ha){p.visualElement=pv(o,h,u,t);const g=f.useContext(Zu),v=f.useContext(Hu).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,v,e,g))}return W.createElement(fa.Provider,{value:p},c&&p.visualElement?W.createElement(c,{visualElement:p.visualElement,...u}):null,r(o,i,hv(h,p.visualElement,l),h,d,p.visualElement))}const s=f.forwardRef(a);return s[bv]=o,s}function xv({layoutId:e}){const t=f.useContext(Rn).id;return t&&e!==void 0?t+"-"+e:e}function wv(e){function t(n,o={}){return yv(e(n,o))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}const Cv=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ci(e){return typeof e!="string"||e.includes("-")?!1:!!(Cv.indexOf(e)>-1||/[A-Z]/.test(e))}const va={};function Pv(e){Object.assign(va,e)}const Un=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pr=new Set(Un);function Ju(e,{layout:t,layoutId:r}){return Pr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!va[e]||e==="opacity")}const Ze=e=>!!(e&&e.getVelocity),Mv={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Sv=Un.length;function Tv(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let a="";for(let s=0;s<Sv;s++){const i=Un[s];if(e[i]!==void 0){const l=Mv[i]||i;a+=`${l}(${e[i]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,n?"":a):r&&n&&(a="none"),a}const ed=e=>t=>typeof t=="string"&&t.startsWith(e),td=ed("--"),ui=ed("var(--"),Ev=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,$v=(e,t)=>t&&typeof e=="number"?t.transform(e):e,er=(e,t,r)=>Math.min(Math.max(r,e),t),Mr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Gn={...Mr,transform:e=>er(0,1,e)},ba={...Mr,default:1},Hn=e=>Math.round(e*1e5)/1e5,ya=/(-)?([\d]*\.?[\d])+/g,rd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Dv=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Yn(e){return typeof e=="string"}const qn=e=>({test:t=>Yn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),tr=qn("deg"),$t=qn("%"),ae=qn("px"),kv=qn("vh"),Iv=qn("vw"),nd={...$t,parse:e=>$t.parse(e)/100,transform:e=>$t.transform(e*100)},od={...Mr,transform:Math.round},ad={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scale:ba,scaleX:ba,scaleY:ba,scaleZ:ba,skew:tr,skewX:tr,skewY:tr,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:Gn,originX:nd,originY:nd,originZ:ae,zIndex:od,fillOpacity:Gn,strokeOpacity:Gn,numOctaves:od};function di(e,t,r,n){const{style:o,vars:a,transform:s,transformOrigin:i}=e;let l=!1,c=!1,u=!0;for(const d in t){const p=t[d];if(td(d)){a[d]=p;continue}const h=ad[d],g=$v(p,h);if(Pr.has(d)){if(l=!0,s[d]=g,!u)continue;p!==(h.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,i[d]=g):o[d]=g}if(t.transform||(l||n?o.transform=Tv(e.transform,r,u,n):o.transform&&(o.transform="none")),c){const{originX:d="50%",originY:p="50%",originZ:h=0}=i;o.transformOrigin=`${d} ${p} ${h}`}}const fi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function sd(e,t,r){for(const n in t)!Ze(t[n])&&!Ju(n,r)&&(e[n]=t[n])}function Av({transformTemplate:e},t,r){return f.useMemo(()=>{const n=fi();return di(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Nv(e,t,r){const n=e.style||{},o={};return sd(o,n,e),Object.assign(o,Av(e,t,r)),e.transformValues?e.transformValues(o):o}function Ov(e,t,r){const n={},o=Nv(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const jv=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function xa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||jv.has(e)}let id=e=>!xa(e);function Lv(e){e&&(id=t=>t.startsWith("on")?!xa(t):e(t))}try{Lv(require("@emotion/is-prop-valid").default)}catch{}function _v(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(id(o)||r===!0&&xa(o)||!t&&!xa(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function ld(e,t,r){return typeof e=="string"?e:ae.transform(t+r*e)}function Fv(e,t,r){const n=ld(t,e.x,e.width),o=ld(r,e.y,e.height);return`${n} ${o}`}const Vv={offset:"stroke-dashoffset",array:"stroke-dasharray"},zv={offset:"strokeDashoffset",array:"strokeDasharray"};function Wv(e,t,r=1,n=0,o=!0){e.pathLength=1;const a=o?Vv:zv;e[a.offset]=ae.transform(-n);const s=ae.transform(t),i=ae.transform(r);e[a.array]=`${s} ${i}`}function pi(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:a,pathLength:s,pathSpacing:i=1,pathOffset:l=0,...c},u,d,p){if(di(e,c,u,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g,dimensions:v}=e;h.transform&&(v&&(g.transform=h.transform),delete h.transform),v&&(o!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=Fv(v,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),s!==void 0&&Wv(h,s,i,l,!1)}const cd=()=>({...fi(),attrs:{}}),hi=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Bv(e,t,r,n){const o=f.useMemo(()=>{const a=cd();return pi(a,t,{enableHardwareAcceleration:!1},hi(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};sd(a,e.style,e),o.style={...a,...o.style}}return o}function Kv(e=!1){return(r,n,o,{latestValues:a},s)=>{const l=(ci(r)?Bv:Ov)(n,a,s,r),u={..._v(n,typeof r=="string",e),...l,ref:o},{children:d}=n,p=f.useMemo(()=>Ze(d)?d.get():d,[d]);return f.createElement(r,{...u,children:p})}}function ud(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const a in r)e.style.setProperty(a,r[a])}const dd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function fd(e,t,r,n){ud(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(dd.has(o)?o:si(o),t.attrs[o])}function mi(e,t){const{style:r}=e,n={};for(const o in r)(Ze(r[o])||t.style&&Ze(t.style[o])||Ju(o,e))&&(n[o]=r[o]);return n}function pd(e,t){const r=mi(e,t);for(const n in e)if(Ze(e[n])||Ze(t[n])){const o=Un.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function gi(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}function hd(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const wa=e=>Array.isArray(e),Rv=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Uv=e=>wa(e)?e[e.length-1]||0:e;function Ca(e){const t=Ze(e)?e.get():e;return Rv(t)?t.toValue():t}function Gv({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,a){const s={latestValues:Hv(n,o,a,e),renderState:t()};return r&&(s.mount=i=>r(n,i,s)),s}const md=e=>(t,r)=>{const n=f.useContext(fa),o=f.useContext(pa),a=()=>Gv(e,t,n,o);return r?a():hd(a)};function Hv(e,t,r,n){const o={},a=n(e,{});for(const p in a)o[p]=Ca(a[p]);let{initial:s,animate:i}=e;const l=ga(e),c=qu(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),i===void 0&&(i=t.animate));let u=r?r.initial===!1:!1;u=u||s===!1;const d=u?i:s;return d&&typeof d!="boolean"&&!ma(d)&&(Array.isArray(d)?d:[d]).forEach(h=>{const g=gi(e,h);if(!g)return;const{transitionEnd:v,transition:b,...P}=g;for(const x in P){let w=P[x];if(Array.isArray(w)){const T=u?w.length-1:0;w=w[T]}w!==null&&(o[x]=w)}for(const x in v)o[x]=v[x]}),o}const _e=e=>e;class gd{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Yv(e){let t=new gd,r=new gd,n=0,o=!1,a=!1;const s=new WeakSet,i={schedule:(l,c=!1,u=!1)=>{const d=u&&o,p=d?t:r;return c&&s.add(l),p.add(l)&&d&&o&&(n=t.order.length),l},cancel:l=>{r.remove(l),s.delete(l)},process:l=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let c=0;c<n;c++){const u=t.order[c];u(l),s.has(u)&&(i.schedule(u),e())}o=!1,a&&(a=!1,i.process(l))}};return i}const Pa=["prepare","read","update","preRender","render","postRender"],qv=40;function Qv(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=Pa.reduce((d,p)=>(d[p]=Yv(()=>r=!0),d),{}),s=d=>a[d].process(o),i=()=>{const d=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(d-o.timestamp,qv),1),o.timestamp=d,o.isProcessing=!0,Pa.forEach(s),o.isProcessing=!1,r&&t&&(n=!1,e(i))},l=()=>{r=!0,n=!0,o.isProcessing||e(i)};return{schedule:Pa.reduce((d,p)=>{const h=a[p];return d[p]=(g,v=!1,b=!1)=>(r||l(),h.schedule(g,v,b)),d},{}),cancel:d=>Pa.forEach(p=>a[p].cancel(d)),state:o,steps:a}}const{schedule:Ee,cancel:Ft,state:Ke,steps:vi}=Qv(typeof requestAnimationFrame<"u"?requestAnimationFrame:_e,!0),Xv={useVisualState:md({scrapeMotionValuesFromProps:pd,createRenderState:cd,onMount:(e,t,{renderState:r,latestValues:n})=>{Ee.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Ee.render(()=>{pi(r,n,{enableHardwareAcceleration:!1},hi(t.tagName),e.transformTemplate),fd(t,r)})}})},Zv={useVisualState:md({scrapeMotionValuesFromProps:mi,createRenderState:fi})};function Jv(e,{forwardMotionProps:t=!1},r,n){return{...ci(e)?Xv:Zv,preloadedFeatures:r,useRender:Kv(t),createVisualElement:n,Component:e}}function Vt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const vd=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ma(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const e2=e=>t=>vd(t)&&e(t,Ma(t));function zt(e,t,r,n){return Vt(e,t,e2(r),n)}const t2=(e,t)=>r=>t(e(r)),rr=(...e)=>e.reduce(t2);function bd(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const yd=bd("dragHorizontal"),xd=bd("dragVertical");function wd(e){let t=!1;if(e==="y")t=xd();else if(e==="x")t=yd();else{const r=yd(),n=xd();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Cd(){const e=wd(!0);return e?(e(),!1):!0}class nr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Pd(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(a,s)=>{if(a.type==="touch"||Cd())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&Ee.update(()=>i[n](a,s))};return zt(e.current,r,o,{passive:!e.getProps()[n]})}class r2 extends nr{mount(){this.unmount=rr(Pd(this.node,!0),Pd(this.node,!1))}unmount(){}}class n2 extends nr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rr(Vt(this.node.current,"focus",()=>this.onFocus()),Vt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Md=(e,t)=>t?e===t?!0:Md(e,t.parentElement):!1;function bi(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Ma(r))}class o2 extends nr{constructor(){super(...arguments),this.removeStartListeners=_e,this.removeEndListeners=_e,this.removeAccessibleListeners=_e,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),a=zt(window,"pointerup",(i,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u}=this.node.getProps();Ee.update(()=>{Md(this.node.current,i.target)?c&&c(i,l):u&&u(i,l)})},{passive:!(n.onTap||n.onPointerUp)}),s=zt(window,"pointercancel",(i,l)=>this.cancelPress(i,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=rr(a,s),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const s=i=>{i.key!=="Enter"||!this.checkPressEnd()||bi("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&Ee.update(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=Vt(this.node.current,"keyup",s),bi("down",(i,l)=>{this.startPress(i,l)})},r=Vt(this.node.current,"keydown",t),n=()=>{this.isPressing&&bi("cancel",(a,s)=>this.cancelPress(a,s))},o=Vt(this.node.current,"blur",n);this.removeAccessibleListeners=rr(r,o)}}startPress(t,r){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Ee.update(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Cd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ee.update(()=>n(t,r))}mount(){const t=this.node.getProps(),r=zt(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Vt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=rr(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const yi=new WeakMap,xi=new WeakMap,a2=e=>{const t=yi.get(e.target);t&&t(e)},s2=e=>{e.forEach(a2)};function i2({root:e,...t}){const r=e||document;xi.has(r)||xi.set(r,{});const n=xi.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(s2,{root:e,...t})),n[o]}function l2(e,t,r){const n=i2(t);return yi.set(e,r),n.observe(e),()=>{yi.delete(e),n.unobserve(e)}}const c2={some:0,all:1};class u2 extends nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:c2[o]},i=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),p=c?u:d;p&&p(l)};return l2(this.node.current,s,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(d2(t,r))&&this.startObserver()}unmount(){}}function d2({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const f2={inView:{Feature:u2},tap:{Feature:o2},focus:{Feature:n2},hover:{Feature:r2}};function Sd(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function p2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function h2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Sa(e,t,r){const n=e.getProps();return gi(n,t,r!==void 0?r:n.custom,p2(e),h2(e))}let Qn=_e,xt=_e;process.env.NODE_ENV!=="production"&&(Qn=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},xt=(e,t)=>{if(!e)throw new Error(t)});const or=e=>e*1e3,Wt=e=>e/1e3,m2={current:!1},Td=e=>Array.isArray(e)&&typeof e[0]=="number";function Ed(e){return!!(!e||typeof e=="string"&&$d[e]||Td(e)||Array.isArray(e)&&e.every(Ed))}const Xn=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,$d={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xn([0,.65,.55,1]),circOut:Xn([.55,0,1,.45]),backIn:Xn([.31,.01,.66,-.59]),backOut:Xn([.33,1.53,.69,.99])};function Dd(e){if(e)return Td(e)?Xn(e):Array.isArray(e)?e.map(Dd):$d[e]}function g2(e,t,r,{delay:n=0,duration:o,repeat:a=0,repeatType:s="loop",ease:i,times:l}={}){const c={[t]:r};l&&(c.offset=l);const u=Dd(i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}function v2(e,{repeat:t,repeatType:r="loop"}){const n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}const kd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,b2=1e-7,y2=12;function x2(e,t,r,n,o){let a,s,i=0;do s=t+(r-t)/2,a=kd(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>b2&&++i<y2);return s}function Zn(e,t,r,n){if(e===t&&r===n)return _e;const o=a=>x2(a,0,1,e,r);return a=>a===0||a===1?a:kd(o(a),t,n)}const w2=Zn(.42,0,1,1),C2=Zn(0,0,.58,1),Id=Zn(.42,0,.58,1),P2=e=>Array.isArray(e)&&typeof e[0]!="number",Ad=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nd=e=>t=>1-e(1-t),wi=e=>1-Math.sin(Math.acos(e)),Od=Nd(wi),M2=Ad(wi),jd=Zn(.33,1.53,.69,.99),Ci=Nd(jd),S2=Ad(Ci),Ld={linear:_e,easeIn:w2,easeInOut:Id,easeOut:C2,circIn:wi,circInOut:M2,circOut:Od,backIn:Ci,backInOut:S2,backOut:jd,anticipate:e=>(e*=2)<1?.5*Ci(e):.5*(2-Math.pow(2,-10*(e-1)))},_d=e=>{if(Array.isArray(e)){xt(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return Zn(t,r,n,o)}else if(typeof e=="string")return xt(Ld[e]!==void 0,`Invalid easing type '${e}'`),Ld[e];return e},Pi=(e,t)=>r=>!!(Yn(r)&&Dv.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Fd=(e,t,r)=>n=>{if(!Yn(n))return n;const[o,a,s,i]=n.match(ya);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:i!==void 0?parseFloat(i):1}},T2=e=>er(0,255,e),Mi={...Mr,transform:e=>Math.round(T2(e))},Sr={test:Pi("rgb","red"),parse:Fd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Mi.transform(e)+", "+Mi.transform(t)+", "+Mi.transform(r)+", "+Hn(Gn.transform(n))+")"};function E2(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Si={test:Pi("#"),parse:E2,transform:Sr.transform},an={test:Pi("hsl","hue"),parse:Fd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+$t.transform(Hn(t))+", "+$t.transform(Hn(r))+", "+Hn(Gn.transform(n))+")"},He={test:e=>Sr.test(e)||Si.test(e)||an.test(e),parse:e=>Sr.test(e)?Sr.parse(e):an.test(e)?an.parse(e):Si.parse(e),transform:e=>Yn(e)?e:e.hasOwnProperty("red")?Sr.transform(e):an.transform(e)},Le=(e,t,r)=>-r*e+r*t+e;function Ti(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function $2({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{const i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;o=Ti(l,i,e+1/3),a=Ti(l,i,e),s=Ti(l,i,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}const Ei=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},D2=[Si,Sr,an],k2=e=>D2.find(t=>t.test(e));function Vd(e){const t=k2(e);xt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===an&&(r=$2(r)),r}const zd=(e,t)=>{const r=Vd(e),n=Vd(t),o={...r};return a=>(o.red=Ei(r.red,n.red,a),o.green=Ei(r.green,n.green,a),o.blue=Ei(r.blue,n.blue,a),o.alpha=Le(r.alpha,n.alpha,a),Sr.transform(o))};function I2(e){var t,r;return isNaN(e)&&Yn(e)&&(((t=e.match(ya))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(rd))===null||r===void 0?void 0:r.length)||0)>0}const Wd={regex:Ev,countKey:"Vars",token:"${v}",parse:_e},Bd={regex:rd,countKey:"Colors",token:"${c}",parse:He.parse},Kd={regex:ya,countKey:"Numbers",token:"${n}",parse:Mr.parse};function $i(e,{regex:t,countKey:r,token:n,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+r]=a.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...a.map(o)))}function Ta(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&$i(r,Wd),$i(r,Bd),$i(r,Kd),r}function Rd(e){return Ta(e).values}function Ud(e){const{values:t,numColors:r,numVars:n,tokenised:o}=Ta(e),a=t.length;return s=>{let i=o;for(let l=0;l<a;l++)l<n?i=i.replace(Wd.token,s[l]):l<n+r?i=i.replace(Bd.token,He.transform(s[l])):i=i.replace(Kd.token,Hn(s[l]));return i}}const A2=e=>typeof e=="number"?0:e;function N2(e){const t=Rd(e);return Ud(e)(t.map(A2))}const ar={test:I2,parse:Rd,createTransformer:Ud,getAnimatableNone:N2},Gd=(e,t)=>r=>`${r>0?t:e}`;function Hd(e,t){return typeof e=="number"?r=>Le(e,t,r):He.test(e)?zd(e,t):e.startsWith("var(")?Gd(e,t):qd(e,t)}const Yd=(e,t)=>{const r=[...e],n=r.length,o=e.map((a,s)=>Hd(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}},O2=(e,t)=>{const r={...e,...t},n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=Hd(e[o],t[o]));return o=>{for(const a in n)r[a]=n[a](o);return r}},qd=(e,t)=>{const r=ar.createTransformer(t),n=Ta(e),o=Ta(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?rr(Yd(n.values,o.values),r):(Qn(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Gd(e,t))},Jn=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Qd=(e,t)=>r=>Le(e,t,r);function j2(e){return typeof e=="number"?Qd:typeof e=="string"?He.test(e)?zd:qd:Array.isArray(e)?Yd:typeof e=="object"?O2:Qd}function L2(e,t,r){const n=[],o=r||j2(e[0]),a=e.length-1;for(let s=0;s<a;s++){let i=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||_e:t;i=rr(l,i)}n.push(i)}return n}function Xd(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const a=e.length;if(xt(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=L2(t,n,o),i=s.length,l=c=>{let u=0;if(i>1)for(;u<e.length-2&&!(c<e[u+1]);u++);const d=Jn(e[u],e[u+1],c);return s[u](d)};return r?c=>l(er(e[0],e[a-1],c)):l}function _2(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=Jn(0,t,n);e.push(Le(r,1,o))}}function F2(e){const t=[0];return _2(t,e.length-1),t}function V2(e,t){return e.map(r=>r*t)}function z2(e,t){return e.map(()=>t||Id).splice(0,e.length-1)}function Ea({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=P2(n)?n.map(_d):_d(n),a={done:!1,value:t[0]},s=V2(r&&r.length===t.length?r:F2(t),e),i=Xd(s,t,{ease:Array.isArray(o)?o:z2(t,o)});return{calculatedDuration:e,next:l=>(a.value=i(l),a.done=l>=e,a)}}function Zd(e,t){return t?e*(1e3/t):0}const W2=5;function Jd(e,t,r){const n=Math.max(t-W2,0);return Zd(r-e(n),t-n)}const Di=.001,B2=.01,ef=10,K2=.05,R2=1;function U2({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;Qn(e<=or(ef),"Spring duration must be 10 seconds or less");let s=1-t;s=er(K2,R2,s),e=er(B2,ef,Wt(e)),s<1?(o=c=>{const u=c*s,d=u*e,p=u-r,h=ki(c,s),g=Math.exp(-d);return Di-p/h*g},a=c=>{const d=c*s*e,p=d*r+r,h=Math.pow(s,2)*Math.pow(c,2)*e,g=Math.exp(-d),v=ki(Math.pow(c,2),s);return(-o(c)+Di>0?-1:1)*((p-h)*g)/v}):(o=c=>{const u=Math.exp(-c*e),d=(c-r)*e+1;return-Di+u*d},a=c=>{const u=Math.exp(-c*e),d=(r-c)*(e*e);return u*d});const i=5/e,l=H2(o,a,i);if(e=or(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}const G2=12;function H2(e,t,r){let n=r;for(let o=1;o<G2;o++)n=n-e(n)/t(n);return n}function ki(e,t){return e*Math.sqrt(1-t*t)}const Y2=["duration","bounce"],q2=["stiffness","damping","mass"];function tf(e,t){return t.some(r=>e[r]!==void 0)}function Q2(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tf(e,q2)&&tf(e,Y2)){const r=U2(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function rf({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:i,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=Q2(n),h=u?-Wt(u):0,g=l/(2*Math.sqrt(i*c)),v=a-o,b=Wt(Math.sqrt(i/c)),P=Math.abs(v)<5;r||(r=P?.01:2),t||(t=P?.005:.5);let x;if(g<1){const w=ki(b,g);x=T=>{const $=Math.exp(-g*b*T);return a-$*((h+g*b*v)/w*Math.sin(w*T)+v*Math.cos(w*T))}}else if(g===1)x=w=>a-Math.exp(-b*w)*(v+(h+b*v)*w);else{const w=b*Math.sqrt(g*g-1);x=T=>{const $=Math.exp(-g*b*T),E=Math.min(w*T,300);return a-$*((h+g*b*v)*Math.sinh(E)+w*v*Math.cosh(E))/w}}return{calculatedDuration:p&&d||null,next:w=>{const T=x(w);if(p)s.done=w>=d;else{let $=h;w!==0&&(g<1?$=Jd(x,w,T):$=0);const E=Math.abs($)<=r,A=Math.abs(a-T)<=t;s.done=E&&A}return s.value=s.done?a:T,s}}}function nf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:i,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=m=>i!==void 0&&m<i||l!==void 0&&m>l,g=m=>i===void 0?l:l===void 0||Math.abs(i-m)<Math.abs(l-m)?i:l;let v=r*t;const b=d+v,P=s===void 0?b:s(b);P!==b&&(v=P-d);const x=m=>-v*Math.exp(-m/n),w=m=>P+x(m),T=m=>{const k=x(m),I=w(m);p.done=Math.abs(k)<=c,p.value=p.done?P:I};let $,E;const A=m=>{h(p.value)&&($=m,E=rf({keyframes:[p.value,g(p.value)],velocity:Jd(w,m,p.value),damping:o,stiffness:a,restDelta:c,restSpeed:u}))};return A(0),{calculatedDuration:null,next:m=>{let k=!1;return!E&&$===void 0&&(k=!0,T(m),A(m)),$!==void 0&&m>$?E.next(m-$):(!k&&T(m),p)}}}const X2=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Ee.update(t,!0),stop:()=>Ft(t),now:()=>Ke.isProcessing?Ke.timestamp:performance.now()}},of=2e4;function af(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<of;)t+=r,n=e.next(t);return t>=of?1/0:t}const Z2={decay:nf,inertia:nf,tween:Ea,keyframes:Ea,spring:rf};function $a({autoplay:e=!0,delay:t=0,driver:r=X2,keyframes:n,type:o="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:i="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h=1,g=!1,v,b;const P=()=>{b=new Promise(U=>{v=U})};P();let x;const w=Z2[o]||Ea;let T;w!==Ea&&typeof n[0]!="number"&&(T=Xd([0,100],n,{clamp:!1}),n=[0,100]);const $=w({...p,keyframes:n});let E;i==="mirror"&&(E=w({...p,keyframes:[...n].reverse(),velocity:-(p.velocity||0)}));let A="idle",m=null,k=null,I=null;$.calculatedDuration===null&&a&&($.calculatedDuration=af($));const{calculatedDuration:S}=$;let N=1/0,C=1/0;S!==null&&(N=S+s,C=N*(a+1)-s);let M=0;const O=U=>{if(k===null)return;h>0&&(k=Math.min(k,U)),h<0&&(k=Math.min(U-C/h,k)),m!==null?M=m:M=Math.round(U-k)*h;const F=M-t*(h>=0?1:-1),B=h>=0?F<0:F>C;M=Math.max(F,0),A==="finished"&&m===null&&(M=C);let q=M,K=$;if(a){const ce=M/N;let ue=Math.floor(ce),ge=ce%1;!ge&&ce>=1&&(ge=1),ge===1&&ue--,ue=Math.min(ue,a+1);const Se=!!(ue%2);Se&&(i==="reverse"?(ge=1-ge,s&&(ge-=s/N)):i==="mirror"&&(K=E));let Te=er(0,1,ge);M>C&&(Te=i==="reverse"&&Se?1:0),q=Te*N}const Q=B?{done:!1,value:n[0]}:K.next(q);T&&(Q.value=T(Q.value));let{done:ne}=Q;!B&&S!==null&&(ne=h>=0?M>=C:M<=0);const le=m===null&&(A==="finished"||A==="running"&&ne);return d&&d(Q.value),le&&z(),Q},_=()=>{x&&x.stop(),x=void 0},D=()=>{A="idle",_(),v(),P(),k=I=null},z=()=>{A="finished",u&&u(),_(),v()},X=()=>{if(g)return;x||(x=r(O));const U=x.now();l&&l(),m!==null?k=U-m:(!k||A==="finished")&&(k=U),A==="finished"&&P(),I=k,m=null,A="running",x.start()};e&&X();const G={then(U,F){return b.then(U,F)},get time(){return Wt(M)},set time(U){U=or(U),M=U,m!==null||!x||h===0?m=U:k=x.now()-U/h},get duration(){const U=$.calculatedDuration===null?af($):$.calculatedDuration;return Wt(U)},get speed(){return h},set speed(U){U===h||!x||(h=U,G.time=Wt(M))},get state(){return A},play:X,pause:()=>{A="paused",m=M},stop:()=>{g=!0,A!=="idle"&&(A="idle",c&&c(),D())},cancel:()=>{I!==null&&O(I),D()},complete:()=>{A="finished"},sample:U=>(k=0,O(U))};return G}function J2(e){let t;return()=>(t===void 0&&(t=e()),t)}const eb=J2(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tb=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Da=10,rb=2e4,nb=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Ed(t.ease);function ob(e,t,{onUpdate:r,onComplete:n,...o}){if(!(eb()&&tb.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let s=!1,i,l;const c=()=>{l=new Promise(x=>{i=x})};c();let{keyframes:u,duration:d=300,ease:p,times:h}=o;if(nb(t,o)){const x=$a({...o,repeat:0,delay:0});let w={done:!1,value:u[0]};const T=[];let $=0;for(;!w.done&&$<rb;)w=x.sample($),T.push(w.value),$+=Da;h=void 0,u=T,d=$-Da,p="linear"}const g=g2(e.owner.current,t,u,{...o,duration:d,ease:p,times:h}),v=()=>g.cancel(),b=()=>{Ee.update(v),i(),c()};return g.onfinish=()=>{e.set(v2(u,o)),n&&n(),b()},{then(x,w){return l.then(x,w)},attachTimeline(x){return g.timeline=x,g.onfinish=null,_e},get time(){return Wt(g.currentTime||0)},set time(x){g.currentTime=or(x)},get speed(){return g.playbackRate},set speed(x){g.playbackRate=x},get duration(){return Wt(d)},play:()=>{s||(g.play(),Ft(v))},pause:()=>g.pause(),stop:()=>{if(s=!0,g.playState==="idle")return;const{currentTime:x}=g;if(x){const w=$a({...o,autoplay:!1});e.setWithVelocity(w.sample(x-Da).value,w.sample(x).value,Da)}b()},complete:()=>g.finish(),cancel:b}}function ab({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:_e,pause:_e,stop:_e,then:a=>(a(),Promise.resolve()),cancel:_e,complete:_e});return t?$a({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const sb={type:"spring",stiffness:500,damping:25,restSpeed:10},ib=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lb={type:"keyframes",duration:.8},cb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ub=(e,{keyframes:t})=>t.length>2?lb:Pr.has(e)?e.startsWith("scale")?ib(t[1]):sb:cb,Ii=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ar.test(t)||t==="0")&&!t.startsWith("url(")),db=new Set(["brightness","contrast","saturate","opacity"]);function fb(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(ya)||[];if(!n)return e;const o=r.replace(n,"");let a=db.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}const pb=/([a-z-]*)\(.*?\)/g,Ai={...ar,getAnimatableNone:e=>{const t=e.match(pb);return t?t.map(fb).join(" "):e}},hb={...ad,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:Ai,WebkitFilter:Ai},Ni=e=>hb[e];function sf(e,t){let r=Ni(e);return r!==Ai&&(r=ar),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const lf=e=>/^0[^.\s]+$/.test(e);function mb(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||lf(e)}function gb(e,t,r,n){const o=Ii(t,r);let a;Array.isArray(r)?a=[...r]:a=[null,r];const s=n.from!==void 0?n.from:e.get();let i;const l=[];for(let c=0;c<a.length;c++)a[c]===null&&(a[c]=c===0?s:a[c-1]),mb(a[c])&&l.push(c),typeof a[c]=="string"&&a[c]!=="none"&&a[c]!=="0"&&(i=a[c]);if(o&&l.length&&i)for(let c=0;c<l.length;c++){const u=l[c];a[u]=sf(t,i)}return a}function vb({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:i,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function Oi(e,t){return e[t]||e.default||e}const ji=(e,t,r,n={})=>o=>{const a=Oi(n,e)||{},s=a.delay||n.delay||0;let{elapsed:i=0}=n;i=i-or(s);const l=gb(t,e,r,a),c=l[0],u=l[l.length-1],d=Ii(e,c),p=Ii(e,u);Qn(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-i,onUpdate:g=>{t.set(g),a.onUpdate&&a.onUpdate(g)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(vb(a)||(h={...h,...ub(e,h)}),h.duration&&(h.duration=or(h.duration)),h.repeatDelay&&(h.repeatDelay=or(h.repeatDelay)),!d||!p||m2.current||a.type===!1)return ab(h);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const g=ob(t,e,h);if(g)return g}return $a(h)};function ka(e){return!!(Ze(e)&&e.add)}const cf=e=>/^\-?\d*\.?\d+$/.test(e);function Li(e,t){e.indexOf(t)===-1&&e.push(t)}function _i(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Fi{constructor(){this.subscriptions=[]}add(t){return Li(this.subscriptions,t),()=>_i(this.subscriptions,t)}notify(t,r,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){const s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const uf=new Set;function Vi(e,t,r){e||uf.has(t)||(console.warn(t),r&&console.warn(r),uf.add(t))}const bb=e=>!isNaN(parseFloat(e));class yb{constructor(t,r={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{this.prev=this.current,this.current=n;const{delta:a,timestamp:s}=Ke;this.lastUpdated!==s&&(this.timeDelta=a,this.lastUpdated=s,Ee.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Ee.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=bb(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Vi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Fi);const n=this.events[t].add(r);return t==="change"?()=>{n(),Ee.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Zd(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sn(e,t){return new yb(e,t)}const df=e=>t=>t.test(e),ff=[Mr,ae,$t,tr,Iv,kv,{test:e=>e==="auto",parse:e=>e}],eo=e=>ff.find(df(e)),xb=[...ff,He,ar],wb=e=>xb.find(df(e));function Cb(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,sn(r))}function Pb(e,t){const r=Sa(e,t);let{transitionEnd:n={},transition:o={},...a}=r?e.makeTargetAnimatable(r,!1):{};a={...a,...n};for(const s in a){const i=Uv(a[s]);Cb(e,s,i)}}function Mb(e,t,r){var n,o;const a=Object.keys(t).filter(i=>!e.hasValue(i)),s=a.length;if(s)for(let i=0;i<s;i++){const l=a[i],c=t[l];let u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(o=(n=r[l])!==null&&n!==void 0?n:e.readValue(l))!==null&&o!==void 0?o:t[l]),u!=null&&(typeof u=="string"&&(cf(u)||lf(u))?u=parseFloat(u):!wb(u)&&ar.test(c)&&(u=sf(l,c)),e.addValue(l,sn(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u))}}function Sb(e,t){return t?(t[e]||t.default||t).from:void 0}function Tb(e,t,r){const n={};for(const o in e){const a=Sb(o,t);if(a!==void 0)n[o]=a;else{const s=r.getValue(o);s&&(n[o]=s.get())}}return n}function Eb({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function $b(e,t){const r=e.get();if(Array.isArray(t)){for(let n=0;n<t.length;n++)if(t[n]!==r)return!0}else return r!==t}function pf(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...i}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");n&&(a=n);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const d in i){const p=e.getValue(d),h=i[d];if(!p||h===void 0||u&&Eb(u,d))continue;const g={delay:r,elapsed:0,...Oi(a||{},d)};if(window.HandoffAppearAnimations){const P=e.getProps()[Yu];if(P){const x=window.HandoffAppearAnimations(P,d,p,Ee);x!==null&&(g.elapsed=x,g.isHandoff=!0)}}let v=!g.isHandoff&&!$b(p,h);if(g.type==="spring"&&(p.getVelocity()||g.velocity)&&(v=!1),p.animation&&(v=!1),v)continue;p.start(ji(d,p,h,e.shouldReduceMotion&&Pr.has(d)?{type:!1}:g));const b=p.animation;ka(l)&&(l.add(d),b.then(()=>l.remove(d))),c.push(b)}return s&&Promise.all(c).then(()=>{s&&Pb(e,s)}),c}function zi(e,t,r={}){const n=Sa(e,t,r.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);const a=n?()=>Promise.all(pf(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=o;return Db(e,t,c+l,u,d,r)}:()=>Promise.resolve(),{when:i}=o;if(i){const[l,c]=i==="beforeChildren"?[a,s]:[s,a];return l().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function Db(e,t,r=0,n=0,o=1,a){const s=[],i=(e.variantChildren.size-1)*n,l=o===1?(c=0)=>c*n:(c=0)=>i-c*n;return Array.from(e.variantChildren).sort(kb).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(zi(c,t,{...a,delay:r+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function kb(e,t){return e.sortNodePosition(t)}function Ib(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(a=>zi(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=zi(e,t,r);else{const o=typeof t=="function"?Sa(e,t,r.custom):t;n=Promise.all(pf(e,o,r))}return n.then(()=>e.notify("AnimationComplete",t))}const Ab=[...ii].reverse(),Nb=ii.length;function Ob(e){return t=>Promise.all(t.map(({animation:r,options:n})=>Ib(e,r,n)))}function jb(e){let t=Ob(e);const r=_b();let n=!0;const o=(l,c)=>{const u=Sa(e,c);if(u){const{transition:d,transitionEnd:p,...h}=u;l={...l,...h,...p}}return l};function a(l){t=l(e)}function s(l,c){const u=e.getProps(),d=e.getVariantContext(!0)||{},p=[],h=new Set;let g={},v=1/0;for(let P=0;P<Nb;P++){const x=Ab[P],w=r[x],T=u[x]!==void 0?u[x]:d[x],$=Bn(T),E=x===c?w.isActive:null;E===!1&&(v=P);let A=T===d[x]&&T!==u[x]&&$;if(A&&n&&e.manuallyAnimateOnMount&&(A=!1),w.protectedKeys={...g},!w.isActive&&E===null||!T&&!w.prevProp||ma(T)||typeof T=="boolean")continue;const m=Lb(w.prevProp,T);let k=m||x===c&&w.isActive&&!A&&$||P>v&&$;const I=Array.isArray(T)?T:[T];let S=I.reduce(o,{});E===!1&&(S={});const{prevResolvedValues:N={}}=w,C={...N,...S},M=O=>{k=!0,h.delete(O),w.needsAnimating[O]=!0};for(const O in C){const _=S[O],D=N[O];g.hasOwnProperty(O)||(_!==D?wa(_)&&wa(D)?!Sd(_,D)||m?M(O):w.protectedKeys[O]=!0:_!==void 0?M(O):h.add(O):_!==void 0&&h.has(O)?M(O):w.protectedKeys[O]=!0)}w.prevProp=T,w.prevResolvedValues=S,w.isActive&&(g={...g,...S}),n&&e.blockInitialAnimation&&(k=!1),k&&!A&&p.push(...I.map(O=>({animation:O,options:{type:x,...l}})))}if(h.size){const P={};h.forEach(x=>{const w=e.getBaseTarget(x);w!==void 0&&(P[x]=w)}),p.push({animation:P})}let b=!!p.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),n=!1,b?t(p):Promise.resolve()}function i(l,c,u){var d;if(r[l].isActive===c)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;const p=s(u,l);for(const h in r)r[h].protectedKeys={};return p}return{animateChanges:s,setActive:i,setAnimateFunction:a,getState:()=>r}}function Lb(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Sd(t,e):!1}function Tr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _b(){return{animate:Tr(!0),whileInView:Tr(),whileHover:Tr(),whileTap:Tr(),whileDrag:Tr(),whileFocus:Tr(),exit:Tr()}}class Fb extends nr{constructor(t){super(t),t.animationState||(t.animationState=jb(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),ma(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let Vb=0;class zb extends nr{constructor(){super(...arguments),this.id=Vb++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t,{custom:n??this.node.getProps().custom});r&&!t&&a.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Wb={animation:{Feature:Fb},exit:{Feature:zb}},hf=(e,t)=>Math.abs(e-t);function Bb(e,t){const r=hf(e.x,t.x),n=hf(e.y,t.y);return Math.sqrt(r**2+n**2)}class mf{constructor(t,r,{transformPagePoint:n,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Bi(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=Bb(u.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:h}=u,{timestamp:g}=Ke;this.history.push({...h,timestamp:g});const{onStart:v,onMove:b}=this.handlers;d||(v&&v(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Wi(d,this.transformPagePoint),Ee.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:h}=this.handlers,g=Bi(u.type==="pointercancel"?this.lastMoveEventInfo:Wi(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(u,g),h&&h(u,g)},!vd(t))return;this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;const a=Ma(t),s=Wi(a,this.transformPagePoint),{point:i}=s,{timestamp:l}=Ke;this.history=[{...i,timestamp:l}];const{onSessionStart:c}=r;c&&c(t,Bi(s,this.history)),this.removeListeners=rr(zt(this.contextWindow,"pointermove",this.handlePointerMove),zt(this.contextWindow,"pointerup",this.handlePointerUp),zt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ft(this.updatePoint)}}function Wi(e,t){return t?{point:t(e.point)}:e}function gf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bi({point:e},t){return{point:e,delta:gf(e,vf(t)),offset:gf(e,Kb(t)),velocity:Rb(t,.1)}}function Kb(e){return e[0]}function vf(e){return e[e.length-1]}function Rb(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=vf(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>or(t)));)r--;if(!n)return{x:0,y:0};const a=Wt(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};const s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function st(e){return e.max-e.min}function Ki(e,t=0,r=.01){return Math.abs(e-t)<=r}function bf(e,t,r,n=.5){e.origin=n,e.originPoint=Le(t.min,t.max,e.origin),e.scale=st(r)/st(t),(Ki(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Le(r.min,r.max,e.origin)-e.originPoint,(Ki(e.translate)||isNaN(e.translate))&&(e.translate=0)}function to(e,t,r,n){bf(e.x,t.x,r.x,n?n.originX:void 0),bf(e.y,t.y,r.y,n?n.originY:void 0)}function yf(e,t,r){e.min=r.min+t.min,e.max=e.min+st(t)}function Ub(e,t,r){yf(e.x,t.x,r.x),yf(e.y,t.y,r.y)}function xf(e,t,r){e.min=t.min-r.min,e.max=e.min+st(t)}function ro(e,t,r){xf(e.x,t.x,r.x),xf(e.y,t.y,r.y)}function Gb(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Le(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Le(r,e,n.max):Math.min(e,r)),e}function wf(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Hb(e,{top:t,left:r,bottom:n,right:o}){return{x:wf(e.x,r,o),y:wf(e.y,t,n)}}function Cf(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function Yb(e,t){return{x:Cf(e.x,t.x),y:Cf(e.y,t.y)}}function qb(e,t){let r=.5;const n=st(e),o=st(t);return o>n?r=Jn(t.min,t.max-n,e.min):n>o&&(r=Jn(e.min,e.max-o,t.min)),er(0,1,r)}function Qb(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Ri=.35;function Xb(e=Ri){return e===!1?e=0:e===!0&&(e=Ri),{x:Pf(e,"left","right"),y:Pf(e,"top","bottom")}}function Pf(e,t,r){return{min:Mf(e,t),max:Mf(e,r)}}function Mf(e,t){return typeof e=="number"?e:e[t]||0}const Sf=()=>({translate:0,scale:1,origin:0,originPoint:0}),ln=()=>({x:Sf(),y:Sf()}),Tf=()=>({min:0,max:0}),ze=()=>({x:Tf(),y:Tf()});function Dt(e){return[e("x"),e("y")]}function Ef({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Zb({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Jb(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ui(e){return e===void 0||e===1}function Gi({scale:e,scaleX:t,scaleY:r}){return!Ui(e)||!Ui(t)||!Ui(r)}function Er(e){return Gi(e)||$f(e)||e.z||e.rotate||e.rotateX||e.rotateY}function $f(e){return Df(e.x)||Df(e.y)}function Df(e){return e&&e!=="0%"}function Ia(e,t,r){const n=e-r,o=t*n;return r+o}function kf(e,t,r,n,o){return o!==void 0&&(e=Ia(e,o,n)),Ia(e,r,n)+t}function Hi(e,t=0,r=1,n,o){e.min=kf(e.min,t,r,n,o),e.max=kf(e.max,t,r,n,o)}function If(e,{x:t,y:r}){Hi(e.x,t.translate,t.scale,t.originPoint),Hi(e.y,r.translate,r.scale,r.originPoint)}function ey(e,t,r,n=!1){const o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let i=0;i<o;i++){a=r[i],s=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&cn(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,If(e,s)),n&&Er(a.latestValues)&&cn(e,a.latestValues))}t.x=Af(t.x),t.y=Af(t.y)}function Af(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function sr(e,t){e.min=e.min+t,e.max=e.max+t}function Nf(e,t,[r,n,o]){const a=t[o]!==void 0?t[o]:.5,s=Le(e.min,e.max,a);Hi(e,t[r],t[n],s,t.scale)}const ty=["x","scaleX","originX"],ry=["y","scaleY","originY"];function cn(e,t){Nf(e.x,t,ty),Nf(e.y,t,ry)}function Of(e,t){return Ef(Jb(e.getBoundingClientRect(),t))}function ny(e,t,r){const n=Of(e,r),{scroll:o}=t;return o&&(sr(n.x,o.offset.x),sr(n.y,o.offset.y)),n}const jf=({current:e})=>e?e.ownerDocument.defaultView:null,oy=new WeakMap;class ay{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ze(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=l=>{this.stopAnimation(),r&&this.snapToCursor(Ma(l,"page").point)},a=(l,c)=>{const{drag:u,dragPropagation:d,onDragStart:p}=this.getProps();if(u&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wd(u),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Dt(g=>{let v=this.getAxisMotionValue(g).get()||0;if($t.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const P=b.layout.layoutBox[g];P&&(v=st(P)*(parseFloat(v)/100))}}this.originPoint[g]=v}),p&&Ee.update(()=>p(l,c),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(l,c)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:p,onDrag:h}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:g}=c;if(d&&this.currentDirection===null){this.currentDirection=sy(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),h&&h(l,c)},i=(l,c)=>this.stop(l,c);this.panSession=new mf(t,{onSessionStart:o,onStart:a,onMove:s,onSessionEnd:i},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:jf(this.visualElement)})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Ee.update(()=>a(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:o}=this.getProps();if(!n||!Aa(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=Gb(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;r&&on(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=Hb(o.layoutBox,r):this.constraints=!1,this.elastic=Xb(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Dt(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=Qb(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!on(t))return!1;const n=t.current;xt(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const a=ny(n,o.root,this.visualElement.getTransformPagePoint());let s=Yb(o.layout.layoutBox,a);if(r){const i=r(Zb(s));this.hasMutatedConstraints=!!i,i&&(s=Ef(i))}return s}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},c=Dt(u=>{if(!Aa(u,r,this.currentDirection))return;let d=l&&l[u]||{};s&&(d={min:0,max:0});const p=o?200:1e6,h=o?40:1e7,g={type:"inertia",velocity:n?t[u]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(i)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(ji(t,n,0,r))}stopAnimation(){Dt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Dt(r=>{const{drag:n}=this.getProps();if(!Aa(r,n,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){const{min:s,max:i}=o.layout.layoutBox[r];a.set(t[r]-Le(s,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!on(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Dt(s=>{const i=this.getAxisMotionValue(s);if(i){const l=i.get();o[s]=qb({min:l,max:l},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Dt(s=>{if(!Aa(s,t,null))return;const i=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];i.set(Le(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;oy.set(this.visualElement,this);const t=this.visualElement.current,r=zt(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();on(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const s=Vt(window,"resize",()=>this.scalePositionWithinConstraints()),i=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Dt(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),i&&i()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=Ri,dragMomentum:i=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:i}}}function Aa(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function sy(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class iy extends nr{constructor(t){super(t),this.removeGroupControls=_e,this.removeListeners=_e,this.controls=new ay(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_e}unmount(){this.removeGroupControls(),this.removeListeners()}}const Lf=e=>(t,r)=>{e&&Ee.update(()=>e(t,r))};class ly extends nr{constructor(){super(...arguments),this.removePointerDownListener=_e}onPointerDown(t){this.session=new mf(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jf(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Lf(t),onStart:Lf(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&Ee.update(()=>o(a,s))}}}mount(){this.removePointerDownListener=zt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function cy(){const e=f.useContext(pa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=f.useId();return f.useEffect(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}const Na={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _f(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const no={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ae.test(e))e=parseFloat(e);else return e;const r=_f(e,t.target.x),n=_f(e,t.target.y);return`${r}% ${n}%`}},uy={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=ar.parse(e);if(o.length>5)return n;const a=ar.createTransformer(e),s=typeof o[0]!="number"?1:0,i=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=i,o[1+s]/=l;const c=Le(i,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};class dy extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;Pv(fy),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Na.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,s=n.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||Ee.postRender(()=>{const i=s.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Ff(e){const[t,r]=cy(),n=f.useContext(Rn);return f.createElement(dy,{...e,layoutGroup:n,switchLayoutGroup:f.useContext(Zu),isPresent:t,safeToRemove:r})}const fy={borderRadius:{...no,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:uy},Vf=["TopLeft","TopRight","BottomLeft","BottomRight"],py=Vf.length,zf=e=>typeof e=="string"?parseFloat(e):e,Wf=e=>typeof e=="number"||ae.test(e);function hy(e,t,r,n,o,a){o?(e.opacity=Le(0,r.opacity!==void 0?r.opacity:1,my(n)),e.opacityExit=Le(t.opacity!==void 0?t.opacity:1,0,gy(n))):a&&(e.opacity=Le(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<py;s++){const i=`border${Vf[s]}Radius`;let l=Bf(t,i),c=Bf(r,i);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Wf(l)===Wf(c)?(e[i]=Math.max(Le(zf(l),zf(c),n),0),($t.test(c)||$t.test(l))&&(e[i]+="%")):e[i]=c}(t.rotate||r.rotate)&&(e.rotate=Le(t.rotate||0,r.rotate||0,n))}function Bf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const my=Kf(0,.5,Od),gy=Kf(.5,.95,_e);function Kf(e,t,r){return n=>n<e?0:n>t?1:r(Jn(e,t,n))}function Rf(e,t){e.min=t.min,e.max=t.max}function ht(e,t){Rf(e.x,t.x),Rf(e.y,t.y)}function Uf(e,t,r,n,o){return e-=t,e=Ia(e,1/r,n),o!==void 0&&(e=Ia(e,1/o,n)),e}function vy(e,t=0,r=1,n=.5,o,a=e,s=e){if($t.test(t)&&(t=parseFloat(t),t=Le(s.min,s.max,t/100)-s.min),typeof t!="number")return;let i=Le(a.min,a.max,n);e===a&&(i-=t),e.min=Uf(e.min,t,r,i,o),e.max=Uf(e.max,t,r,i,o)}function Gf(e,t,[r,n,o],a,s){vy(e,t[r],t[n],t[o],t.scale,a,s)}const by=["x","scaleX","originX"],yy=["y","scaleY","originY"];function Hf(e,t,r,n){Gf(e.x,t,by,r?r.x:void 0,n?n.x:void 0),Gf(e.y,t,yy,r?r.y:void 0,n?n.y:void 0)}function Yf(e){return e.translate===0&&e.scale===1}function qf(e){return Yf(e.x)&&Yf(e.y)}function xy(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Qf(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Xf(e){return st(e.x)/st(e.y)}class wy{constructor(){this.members=[]}add(t){Li(this.members,t),t.scheduleRender()}remove(t){if(_i(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){const a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Zf(e,t,r){let n="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(n=`translate3d(${o}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:l,rotateX:c,rotateY:u}=r;l&&(n+=`rotate(${l}deg) `),c&&(n+=`rotateX(${c}deg) `),u&&(n+=`rotateY(${u}deg) `)}const s=e.x.scale*t.x,i=e.y.scale*t.y;return(s!==1||i!==1)&&(n+=`scale(${s}, ${i})`),n||"none"}const Cy=(e,t)=>e.depth-t.depth;class Py{constructor(){this.children=[],this.isDirty=!1}add(t){Li(this.children,t),this.isDirty=!0}remove(t){_i(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Cy),this.isDirty=!1,this.children.forEach(t)}}function My(e,t){const r=performance.now(),n=({timestamp:o})=>{const a=o-r;a>=t&&(Ft(n),e(a-t))};return Ee.read(n,!0),()=>Ft(n)}function Sy(e){window.MotionDebug&&window.MotionDebug.record(e)}function Ty(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Ey(e,t,r){const n=Ze(e)?e:sn(e);return n.start(ji("",n,t,r)),n.animation}const Jf=["","X","Y","Z"],$y={visibility:"hidden"},ep=1e3;let Dy=0;const $r={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function tp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},i=t==null?void 0:t()){this.id=Dy++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,$r.totalNodes=$r.resolvedTargetDeltas=$r.recalculatedProjection=0,this.nodes.forEach(Ay),this.nodes.forEach(_y),this.nodes.forEach(Fy),this.nodes.forEach(Ny),Sy($r)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Py)}addEventListener(s,i){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Fi),this.eventHandlers.get(s).add(i)}notifyListeners(s,...i){const l=this.eventHandlers.get(s);l&&l.notify(...i)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ty(s),this.instance=s;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(c||l)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=My(p,250),Na.hasAnimatedSinceResize&&(Na.hasAnimatedSinceResize=!1,this.nodes.forEach(np))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Ky,{onLayoutAnimationStart:b,onLayoutAnimationComplete:P}=u.getProps(),x=!this.targetLayout||!Qf(this.targetLayout,g)||h,w=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const T={...Oi(v,"layout"),onPlay:b,onComplete:P};(u.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else p||np(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ft(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Vy),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:i,layout:l}=this.options;if(i===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rp);return}this.isUpdating||this.nodes.forEach(jy),this.isUpdating=!1,this.nodes.forEach(Ly),this.nodes.forEach(ky),this.nodes.forEach(Iy),this.clearAllSnapshots();const i=performance.now();Ke.delta=er(0,1e3/60,i-Ke.timestamp),Ke.timestamp=i,Ke.isProcessing=!0,vi.update.process(Ke),vi.preRender.process(Ke),vi.render.process(Ke),Ke.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Oy),this.sharedNodes.forEach(zy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ze(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let i=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(i=!1),i&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform,i=this.projectionDelta&&!qf(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(i||Er(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const i=this.measurePageBox();let l=this.removeElementScroll(i);return s&&(l=this.removeTransform(l)),Ry(l),{animationId:this.root.animationId,measuredBox:i,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return ze();const i=s.measureViewportBox(),{scroll:l}=this.root;return l&&(sr(i.x,l.offset.x),sr(i.y,l.offset.y)),i}removeElementScroll(s){const i=ze();ht(i,s);for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;if(c!==this.root&&u&&d.layoutScroll){if(u.isRoot){ht(i,s);const{scroll:p}=this.root;p&&(sr(i.x,-p.offset.x),sr(i.y,-p.offset.y))}sr(i.x,u.offset.x),sr(i.y,u.offset.y)}}return i}applyTransform(s,i=!1){const l=ze();ht(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&cn(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Er(u.latestValues)&&cn(l,u.latestValues)}return Er(this.latestValues)&&cn(l,this.latestValues),l}removeTransform(s){const i=ze();ht(i,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Er(c.latestValues))continue;Gi(c.latestValues)&&c.updateSnapshot();const u=ze(),d=c.measurePageBox();ht(u,d),Hf(i,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Er(this.latestValues)&&Hf(i,this.latestValues),i}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ke.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var i;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||p))){if(this.resolvedRelativeTargetAt=Ke.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ze(),this.relativeTargetOrigin=ze(),ro(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ze(),this.targetWithTransforms=ze()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ub(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ht(this.target,this.layout.layoutBox),If(this.target,this.targetDelta)):ht(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ze(),this.relativeTargetOrigin=ze(),ro(this.relativeTargetOrigin,this.target,h.target),ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}$r.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Gi(this.parent.latestValues)||$f(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const i=this.getLead(),l=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ke.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;ht(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;ey(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox);const{target:g}=i;if(!g){this.projectionTransform&&(this.projectionDelta=ln(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ln(),this.projectionDeltaWithTransform=ln());const v=this.projectionTransform;to(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=Zf(this.projectionDelta,this.treeScale),(this.projectionTransform!==v||this.treeScale.x!==p||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),$r.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const i=this.getStack();i&&i.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,i=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=ln();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;const p=ze(),h=l?l.source:void 0,g=this.layout?this.layout.source:void 0,v=h!==g,b=this.getStack(),P=!b||b.members.length<=1,x=!!(v&&!P&&this.options.crossfade===!0&&!this.path.some(By));this.animationProgress=0;let w;this.mixTargetDelta=T=>{const $=T/1e3;op(d.x,s.x,$),op(d.y,s.y,$),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ro(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Wy(this.relativeTarget,this.relativeTargetOrigin,p,$),w&&xy(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=ze()),ht(w,this.relativeTarget)),v&&(this.animationValues=u,hy(u,c,this.latestValues,$,x,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=$},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ee.update(()=>{Na.hasAnimatedSinceResize=!0,this.currentAnimation=Ey(0,ep,{...s,onUpdate:i=>{this.mixTargetDelta(i),s.onUpdate&&s.onUpdate(i)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ep),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:i,target:l,layout:c,latestValues:u}=s;if(!(!i||!l||!c)){if(this!==s&&this.layout&&c&&cp(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||ze();const d=st(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const p=st(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+p}ht(i,l),cn(i,u),to(this.projectionDeltaWithTransform,this.layoutCorrected,i,u)}}registerSharedNode(s,i){this.sharedNodes.has(s)||this.sharedNodes.set(s,new wy),this.sharedNodes.get(s).add(i);const c=i.options.initialPromotionConfig;i.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(i):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:i}=this.options;return i?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:i}=this.options;return i?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:i,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let i=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(i=!0),!i)return;const c={};for(let u=0;u<Jf.length;u++){const d="rotate"+Jf[u];l[d]&&(c[d]=l[d],s.setStaticValue(d,0))}s.render();for(const u in c)s.setStaticValue(u,c[u]);s.scheduleRender()}getProjectionStyles(s){var i,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return $y;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Ca(s==null?void 0:s.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=Ca(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!Er(this.latestValues)&&(v.transform=u?u({},""):"none",this.hasProjected=!1),v}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=Zf(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:h,y:g}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(i=p.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const v in va){if(p[v]===void 0)continue;const{correct:b,applyTo:P}=va[v],x=c.transform==="none"?p[v]:b(p[v],d);if(P){const w=P.length;for(let T=0;T<w;T++)c[P[T]]=x}else c[v]=x}return this.options.layoutId&&(c.pointerEvents=d===this?Ca(s==null?void 0:s.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var i;return(i=s.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(rp),this.root.sharedNodes.clear()}}}function ky(e){e.updateLayout()}function Iy(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,s=r.source!==e.layout.source;a==="size"?Dt(d=>{const p=s?r.measuredBox[d]:r.layoutBox[d],h=st(p);p.min=n[d].min,p.max=p.min+h}):cp(a,r.layoutBox,n)&&Dt(d=>{const p=s?r.measuredBox[d]:r.layoutBox[d],h=st(n[d]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const i=ln();to(i,n,r.layoutBox);const l=ln();s?to(l,e.applyTransform(o,!0),r.measuredBox):to(l,n,r.layoutBox);const c=!qf(i);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:h}=d;if(p&&h){const g=ze();ro(g,r.layoutBox,p.layoutBox);const v=ze();ro(v,n,h.layoutBox),Qf(g,v)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Ay(e){$r.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ny(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Oy(e){e.clearSnapshot()}function rp(e){e.clearMeasurements()}function jy(e){e.isLayoutDirty=!1}function Ly(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function np(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function _y(e){e.resolveTargetDelta()}function Fy(e){e.calcProjection()}function Vy(e){e.resetRotation()}function zy(e){e.removeLeadSnapshot()}function op(e,t,r){e.translate=Le(t.translate,0,r),e.scale=Le(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ap(e,t,r,n){e.min=Le(t.min,r.min,n),e.max=Le(t.max,r.max,n)}function Wy(e,t,r,n){ap(e.x,t.x,r.x,n),ap(e.y,t.y,r.y,n)}function By(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ky={duration:.45,ease:[.4,0,.1,1]},sp=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),ip=sp("applewebkit/")&&!sp("chrome/")?Math.round:_e;function lp(e){e.min=ip(e.min),e.max=ip(e.max)}function Ry(e){lp(e.x),lp(e.y)}function cp(e,t,r){return e==="position"||e==="preserve-aspect"&&!Ki(Xf(t),Xf(r),.2)}const Uy=tp({attachResizeListener:(e,t)=>Vt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yi={current:void 0},up=tp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Yi.current){const e=new Uy({});e.mount(window),e.setOptions({layoutScroll:!0}),Yi.current=e}return Yi.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Gy={pan:{Feature:ly},drag:{Feature:iy,ProjectionNode:up,MeasureLayout:Ff}},Hy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Yy(e){const t=Hy.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}const qy=4;function qi(e,t,r=1){xt(r<=qy,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=Yy(e);if(!n)return;const a=window.getComputedStyle(t).getPropertyValue(n);if(a){const s=a.trim();return cf(s)?parseFloat(s):s}else return ui(o)?qi(o,t,r+1):o}function Qy(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(o=>{const a=o.get();if(!ui(a))return;const s=qi(a,n);s&&o.set(s)});for(const o in t){const a=t[o];if(!ui(a))continue;const s=qi(a,n);s&&(t[o]=s,r||(r={}),r[o]===void 0&&(r[o]=a))}return{target:t,transitionEnd:r}}const Xy=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),dp=e=>Xy.has(e),Zy=e=>Object.keys(e).some(dp),Oa=e=>e===Mr||e===ae,fp=(e,t)=>parseFloat(e.split(", ")[t]),pp=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return fp(o[1],t);{const a=n.match(/^matrix\((.+)\)$/);return a?fp(a[1],e):0}},Jy=new Set(["x","y","z"]),e5=Un.filter(e=>!Jy.has(e));function t5(e){const t=[];return e5.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const un={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:pp(4,13),y:pp(5,14)};un.translateX=un.x,un.translateY=un.y;const r5=(e,t,r)=>{const n=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:s}=a,i={};s==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{i[c]=un[c](n,a)}),t.render();const l=t.measureViewportBox();return r.forEach(c=>{const u=t.getValue(c);u&&u.jump(i[c]),e[c]=un[c](l,a)}),e},n5=(e,t,r={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(dp);let a=[],s=!1;const i=[];if(o.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],d=eo(u);const p=t[l];let h;if(wa(p)){const g=p.length,v=p[0]===null?1:0;u=p[v],d=eo(u);for(let b=v;b<g&&p[b]!==null;b++)h?xt(eo(p[b])===h,"All keyframes must be of the same type"):(h=eo(p[b]),xt(h===d||Oa(d)&&Oa(h),"Keyframes must be of the same dimension as the current value"))}else h=eo(p);if(d!==h)if(Oa(d)&&Oa(h)){const g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&h===ae&&(t[l]=p.map(parseFloat))}else d!=null&&d.transform&&(h!=null&&h.transform)&&(u===0||p===0)?u===0?c.set(h.transform(u)):t[l]=d.transform(p):(s||(a=t5(e),s=!0),i.push(l),n[l]=n[l]!==void 0?n[l]:t[l],c.jump(p))}),i.length){const l=i.indexOf("height")>=0?window.pageYOffset:null,c=r5(t,e,i);return a.length&&a.forEach(([u,d])=>{e.getValue(u).set(d)}),e.render(),ha&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:n}}else return{target:t,transitionEnd:n}};function o5(e,t,r,n){return Zy(t)?n5(e,t,r,n):{target:t,transitionEnd:n}}const a5=(e,t,r,n)=>{const o=Qy(e,t,n);return t=o.target,n=o.transitionEnd,o5(e,t,r,n)},Qi={current:null},hp={current:!1};function s5(){if(hp.current=!0,!!ha)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qi.current=e.matches;e.addListener(t),t()}else Qi.current=!1}function i5(e,t,r){const{willChange:n}=t;for(const o in t){const a=t[o],s=r[o];if(Ze(a))e.addValue(o,a),ka(n)&&n.add(o),process.env.NODE_ENV==="development"&&Vi(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(Ze(s))e.addValue(o,sn(a,{owner:e})),ka(n)&&n.remove(o);else if(s!==a)if(e.hasValue(o)){const i=e.getValue(o);!i.hasAnimated&&i.set(a)}else{const i=e.getStaticValue(o);e.addValue(o,sn(i!==void 0?i:a,{owner:e}))}}for(const o in r)t[o]===void 0&&e.removeValue(o);return t}const mp=new WeakMap,gp=Object.keys(Kn),l5=gp.length,vp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],c5=li.length;class u5{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ee.render(this.render,!1,!0);const{latestValues:i,renderState:l}=a;this.latestValues=i,this.baseTarget={...i},this.initialValues=r.initial?{...i}:{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.isControllingVariants=ga(r),this.isVariantNode=qu(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(r,{});for(const d in u){const p=u[d];i[d]!==void 0&&Ze(p)&&(p.set(i[d],!1),ka(c)&&c.add(d))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,mp.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),hp.current||s5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qi.current,process.env.NODE_ENV!=="production"&&Vi(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){mp.delete(this.current),this.projection&&this.projection.unmount(),Ft(this.notifyUpdate),Ft(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const n=Pr.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ee.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,a){let s,i;if(process.env.NODE_ENV!=="production"&&o&&n){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?Qn(!1,l):xt(!1,l)}for(let l=0;l<l5;l++){const c=gp[l],{isEnabled:u,Feature:d,ProjectionNode:p,MeasureLayout:h}=Kn[c];p&&(s=p),u(r)&&(!this.features[c]&&d&&(this.features[c]=new d(this)),h&&(i=h))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:c,drag:u,dragConstraints:d,layoutScroll:p,layoutRoot:h}=r;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||d&&on(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:a,layoutScroll:p,layoutRoot:h})}return i}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ze()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<vp.length;n++){const o=vp[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a=t["on"+o];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=i5(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const r={};for(let n=0;n<c5;n++){const o=li[n],a=this.props[o];(Bn(a)||a===!1)&&(r[o]=a)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=sn(r,{owner:this}),this.addValue(t,n)),n}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(r=gi(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Ze(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Fi),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class bp extends u5{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...n},{transformValues:o},a){let s=Tb(n,t||{},this);if(o&&(r&&(r=o(r)),n&&(n=o(n)),s&&(s=o(s))),a){Mb(this,n,s);const i=a5(this,n,s,r);r=i.transitionEnd,n=i.target}return{transition:t,transitionEnd:r,...n}}}function d5(e){return window.getComputedStyle(e)}class f5 extends bp{readValueFromInstance(t,r){if(Pr.has(r)){const n=Ni(r);return n&&n.default||0}else{const n=d5(t),o=(td(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Of(t,r)}build(t,r,n,o){di(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r){return mi(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ze(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,o){ud(t,r,n,o)}}class p5 extends bp{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Pr.has(r)){const n=Ni(r);return n&&n.default||0}return r=dd.has(r)?r:si(r),t.getAttribute(r)}measureInstanceViewportBox(){return ze()}scrapeMotionValuesFromProps(t,r){return pd(t,r)}build(t,r,n,o){pi(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){fd(t,r,n,o)}mount(t){this.isSVGTag=hi(t.tagName),super.mount(t)}}const h5=(e,t)=>ci(e)?new p5(t,{enableHardwareAcceleration:!1}):new f5(t,{enableHardwareAcceleration:!0}),m5={...Wb,...f2,...Gy,...{layout:{ProjectionNode:up,MeasureLayout:Ff}}},yp=wv((e,t)=>Jv(e,t,m5,h5));function xp(){const e=f.useRef(!1);return ai(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function wp(){const e=xp(),[t,r]=f.useState(0),n=f.useCallback(()=>{e.current&&r(t+1)},[t]);return[f.useCallback(()=>Ee.postRender(n),[n]),t]}class g5 extends W.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function v5({children:e,isPresent:t}){const r=f.useId(),n=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0});return f.useInsertionEffect(()=>{const{width:a,height:s,top:i,left:l}=o.current;if(t||!n.current||!a||!s)return;n.current.dataset.motionPopId=r;const c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
28
28
  [data-motion-pop-id="${r}"] {
29
29
  position: absolute !important;
30
30
  width: ${a}px !important;
@@ -32,8 +32,8 @@ Check the top-level render call using <`+_+">.")}return A}}function xo(v,A){{if(
32
32
  top: ${i}px !important;
33
33
  left: ${l}px !important;
34
34
  }
35
- `),()=>{document.head.removeChild(c)}},[t]),G.createElement(f5,{isPresent:t,childRef:n,sizeRef:o},G.cloneElement(e,{ref:n}))}const ki=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s})=>{const i=Lu(h5),l=f.useId(),c=f.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:u=>{i.set(u,!0);for(const d of i.values())if(!d)return;n&&n()},register:u=>(i.set(u,!1),()=>i.delete(u))}),a?void 0:[r]);return f.useMemo(()=>{i.forEach((u,d)=>i.set(d,!1))},[r]),G.useEffect(()=>{!r&&!i.size&&n&&n()},[r]),s==="popLayout"&&(e=G.createElement(p5,{isPresent:r},e)),G.createElement(qo.Provider,{value:c},e)};function h5(){return new Map}function m5(e){return f.useEffect(()=>()=>e(),[])}const Mr=e=>e.key||"";function g5(e,t){e.forEach(r=>{const n=Mr(r);t.set(n,r)})}function v5(e){const t=[];return f.Children.forEach(e,r=>{f.isValidElement(r)&&t.push(r)}),t}const b5=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{bt(!o,"Replace exitBeforeEnter with mode='wait'");const i=f.useContext(In).forceRender||Rf()[0],l=Bf(),c=v5(e);let u=c;const d=f.useRef(new Map).current,p=f.useRef(u),h=f.useRef(new Map).current,g=f.useRef(!0);if(Vs(()=>{g.current=!1,g5(c,h),p.current=u}),m5(()=>{g.current=!0,h.clear(),d.clear()}),g.current)return G.createElement(G.Fragment,null,u.map(x=>G.createElement(ki,{key:Mr(x),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:a,mode:s},x)));u=[...u];const b=p.current.map(Mr),y=c.map(Mr),P=b.length;for(let x=0;x<P;x++){const C=b[x];y.indexOf(C)===-1&&!d.has(C)&&d.set(C,void 0)}return s==="wait"&&d.size&&(u=[]),d.forEach((x,C)=>{if(y.indexOf(C)!==-1)return;const S=h.get(C);if(!S)return;const $=b.indexOf(C);let N=x;if(!N){const j=()=>{d.delete(C);const m=Array.from(h.keys()).filter(D=>!y.includes(D));if(m.forEach(D=>h.delete(D)),p.current=c.filter(D=>{const I=Mr(D);return I===C||m.includes(I)}),!d.size){if(l.current===!1)return;i(),n&&n()}};N=G.createElement(ki,{key:Mr(S),isPresent:!1,onExitComplete:j,custom:t,presenceAffectsLayout:a,mode:s},S),d.set(C,N)}u.splice($,0,N)}),u=u.map(x=>{const C=x.key;return d.has(C)?x:G.createElement(ki,{key:Mr(x),isPresent:!0,presenceAffectsLayout:a,mode:s},x)}),process.env.NODE_ENV!=="production"&&s==="wait"&&u.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),G.createElement(G.Fragment,null,d.size?u:u.map(x=>f.cloneElement(x)))},y5=f.createContext(null),x5=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Kf(){const e=new Set,t=new WeakMap,r=()=>e.forEach(x5);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);const o=t.get(n);o&&(o(),t.delete(n)),r()},dirty:r}}const Uf=e=>e===!0,w5=e=>Uf(e===!0)||e==="id",C5=({children:e,id:t,inherit:r=!0})=>{const n=f.useContext(In),o=f.useContext(y5),[a,s]=Rf(),i=f.useRef(null),l=n.id||o;i.current===null&&(w5(r)&&l&&(t=t?l+"-"+t:l),i.current={id:t,group:Uf(r)&&n.group||Kf()});const c=f.useMemo(()=>({...i.current,forceRender:a}),[s]);return G.createElement(In.Provider,{value:c},e)};function Hf(e){return null}Hf.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,s=t.title||t.children,i=t.textValue||(typeof s=="string"?s:"")||t["aria-label"]||"";!i&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:s,textValue:i,"aria-label":t["aria-label"],hasChildNodes:P5(t),*childNodes(){if(n)for(let l of n)yield{type:"item",value:l};else if(o){let l=[];f.Children.forEach(a,c=>{l.push({type:"item",element:c})}),yield*l}}}};function P5(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&f.Children.count(e.children)>0)}let M5=Hf;class T5{build(t,r){return this.context=r,Yf(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];f.Children.forEach(r,s=>{o.push(s)});let a=0;for(let s of o){let i=this.getFullNode({element:s,index:a},{});for(let l of i)a++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var s;let i=(s=a.key)!==null&&s!==void 0?s:a.id;if(i==null)throw new Error("No key found for item");return i}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=r.renderer(t.value)}if(f.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(a.props,this.context),u=t.index,d=c.next();for(;!d.done&&d.value;){let p=d.value;t.index=u;let h=p.key;h||(h=p.element?null:this.getKey(a,t,r,n));let b=[...this.getFullNode({...p,key:h,index:u,wrapper:S5(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let y of b){if(y.value=p.value||t.value,y.value&&this.cache.set(y.value,y),t.type&&y.type!==t.type)throw new Error(`Unsupported type <${Ai(y.type)}> in <${Ai(o.type)}>. Only <${Ai(t.type)}> is supported.`);u++,yield y}d=c.next(b)}return}if(t.key==null)return;let s=this,i={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:Yf(function*(){if(!t.hasChildNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${i.key}${c.key}`),c.index=l;let u=s.getFullNode(c,s.getChildState(r,c),i.key,i);for(let d of u)l++,yield d}})};yield i}constructor(){this.cache=new WeakMap}}function Yf(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function S5(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Ai(e){return e[0].toUpperCase()+e.slice(1)}function E5(e,t,r){let n=f.useMemo(()=>new T5,[]),{children:o,items:a,collection:s}=e;return f.useMemo(()=>{if(s)return s;let l=n.build({children:o,items:a},r);return t(l)},[n,o,a,s,r,t])}function $5(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function D5(e){return I5(e,0)}function I5(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Oi(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...Gf(e,t),t],o=[...Gf(e,r),r],a=n.slice(0,o.length).findIndex((s,i)=>s!==o[i]);return a!==-1?(t=n[a],r=o[a],t.index-r.index):n.findIndex(s=>s===r)>=0?1:(o.findIndex(s=>s===t)>=0,-1)}function Gf(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}class yt extends Set{constructor(t,r,n){super(t),t instanceof yt?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function k5(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function A5(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,s=f.useRef(!1),[,i]=f.useState(!1),l=f.useRef(null),c=f.useRef(null),[,u]=f.useState(null),d=f.useMemo(()=>qf(e.selectedKeys),[e.selectedKeys]),p=f.useMemo(()=>qf(e.defaultSelectedKeys,new yt),[e.defaultSelectedKeys]),[h,g]=Lr(d,p,e.onSelectionChange),b=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,P]=f.useState(o);o==="replace"&&y==="toggle"&&typeof h=="object"&&h.size===0&&P("replace");let x=f.useRef(o);return f.useEffect(()=>{o!==x.current&&(P(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:P,get isFocused(){return s.current},setFocused(C){s.current=C,i(C)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(C,S="first"){l.current=C,c.current=S,u(C)},selectedKeys:h,setSelectedKeys(C){(n||!k5(C,h))&&g(C)},disabledKeys:b,disabledBehavior:a}}function qf(e,t){return e?e==="all"?"all":new yt(e):t}class O5{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Oi(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Oi(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new yt([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new yt(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?Oi(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new yt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new yt([t],t,t):new yt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new yt;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r(D5($5(o,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new yt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}var N5=()=>L.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[L.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),L.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[Ux,j5]=Ro({name:"AvatarGroupContext",strict:!1}),L5=globalThis!=null&&globalThis.document?f.useLayoutEffect:f.useEffect;function _5(e={}){const{loading:t,src:r,srcSet:n,onLoad:o,onError:a,crossOrigin:s,sizes:i,ignoreFallback:l}=e,[c,u]=f.useState("pending");f.useEffect(()=>{u(r?"loading":"pending")},[r]);const d=f.useRef(),p=f.useCallback(()=>{if(!r)return;h();const g=new Image;g.src=r,s&&(g.crossOrigin=s),n&&(g.srcset=n),i&&(g.sizes=i),t&&(g.loading=t),g.onload=b=>{h(),u("loaded"),o==null||o(b)},g.onerror=b=>{h(),u("failed"),a==null||a(b)},d.current=g},[r,s,n,i,o,a,t]),h=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return L5(()=>{if(!l)return c==="loading"&&p(),()=>{h()}},[c,p,l]),l?"loaded":c}function F5(e={}){var t,r,n,o,a;const s=j5(),i=!!s,{as:l,ref:c,src:u,name:d,icon:p,classNames:h,fallback:g,alt:b=d||"avatar",imgRef:y,color:P=(t=s==null?void 0:s.color)!=null?t:"default",radius:x=(r=s==null?void 0:s.radius)!=null?r:"full",size:C=(n=s==null?void 0:s.size)!=null?n:"md",isBordered:S=(o=s==null?void 0:s.isBordered)!=null?o:!1,isDisabled:$=(a=s==null?void 0:s.isDisabled)!=null?a:!1,isFocusable:N=!1,getInitials:j=Vm,ignoreFallback:m=!1,showFallback:D=!1,ImgComponent:I="img",imgProps:T,className:k,onError:w,...M}=e,O=l||"span",F=nt(c),E=nt(y),{isFocusVisible:V,isFocused:H,focusProps:R}=Mt(),{isHovered:W,hoverProps:ee}=mr({isDisabled:$}),re=_5({src:u,onError:w,ignoreFallback:m})==="loaded",X=(!u||!re)&&D,te=f.useMemo(()=>{var he;return _m({color:P,radius:x,size:C,isBordered:S,isDisabled:$,isInGroup:i,isInGridGroup:(he=s==null?void 0:s.isGrid)!=null?he:!1})},[P,x,C,S,$,i,s==null?void 0:s.isGrid]),ce=me(h==null?void 0:h.base,k),be=f.useMemo(()=>N||l==="button",[N,l]),pe=f.useCallback((he={})=>({ref:F,tabIndex:be?0:-1,"data-hover":Q(W),"data-focus":Q(H),"data-focus-visible":Q(V),className:te.base({class:me(ce,he==null?void 0:he.className)}),...ie(M,ee,be?R:{})}),[be,te,ce,R,M]),fe=f.useCallback((he={})=>({ref:E,src:u,"data-loaded":Q(re),className:te.img({class:h==null?void 0:h.img}),...ie(T,he)}),[te,re,T,u,E]);return{Component:O,ImgComponent:I,src:u,alt:b,icon:p,name:d,imgRef:E,slots:te,classNames:h,fallback:g,isImgLoaded:re,showFallback:X,ignoreFallback:m,getInitials:j,getAvatarProps:pe,getImageProps:fe}}var Qf=vt((e,t)=>{const{Component:r,ImgComponent:n,src:o,icon:a=L.jsx(N5,{}),alt:s,classNames:i,slots:l,name:c,showFallback:u,fallback:d,getInitials:p,getAvatarProps:h,getImageProps:g}=F5({...e,ref:t}),b=f.useMemo(()=>!u&&o?null:d?L.jsx("div",{"aria-label":s,className:l.fallback({class:i==null?void 0:i.fallback}),role:"img",children:d}):c?L.jsx("span",{"aria-label":s,className:l.name({class:i==null?void 0:i.name}),role:"img",children:p(c)}):L.jsx("span",{"aria-label":s,className:l.icon({class:i==null?void 0:i.icon}),role:"img",children:a}),[u,o,d,c,i]);return L.jsxs(r,{...h(),children:[o&&L.jsx(n,{...g(),alt:s}),b]})});Qf.displayName="NextUI.Avatar";var V5=Qf,[Hx,z5]=Ro({name:"ButtonGroupContext",strict:!1});function W5(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:s,onPressChange:i,preventFocusOnPress:l,allowFocusWhenDisabled:c,onClick:u,href:d,target:p,rel:h,type:g="button",allowTextSelectionOnPress:b}=e,y;r==="button"?y={type:g,disabled:n}:y={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:d,target:r==="a"?p:void 0,type:r==="input"?g:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:P,isPressed:x}=En({onPressStart:a,onPressEnd:s,onPressChange:i,onPress:o,isDisabled:n,preventFocusOnPress:l,allowTextSelectionOnPress:b,ref:t}),{focusableProps:C}=Vo(e,t);c&&(C.tabIndex=n?-1:C.tabIndex);let S=ie(C,P,Fr(e,{labelable:!0}));return{isPressed:x,buttonProps:ie(y,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:$=>{u==null||u($)}})}}var B5=(e,t,r)=>Math.min(Math.max(e,t),r),Xf=e=>{const{ripples:t=[],motionProps:r,color:n="currentColor",style:o,onClear:a}=e;return L.jsx(L.Fragment,{children:t.map(s=>{const i=B5(.01*s.size,.2,s.size>100?.75:.5);return L.jsx(b5,{mode:"popLayout",children:L.jsx(Wf.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:n,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:s.y,left:s.x,width:`${s.size}px`,height:`${s.size}px`,...o},transition:{duration:i},onAnimationComplete:()=>{a(s.key)},...r})},s.key)})})};Xf.displayName="NextUI.Ripple";var R5=Xf;function K5(e={}){const[t,r]=f.useState([]),n=f.useCallback(a=>{const s=a.currentTarget,i=Math.max(s.clientWidth,s.clientHeight),l=s.getBoundingClientRect();r(c=>[...c,{key:zm(c.length.toString()),size:i,x:a.clientX-l.x-i/2,y:a.clientY-l.y-i/2}])},[]),o=f.useCallback(a=>{r(s=>s.filter(i=>i.key!==a))},[]);return{ripples:t,onClick:n,onClear:o,...e}}function U5(e){var t,r,n,o,a,s,i,l;const c=z5(),u=!!c,{ref:d,as:p,children:h,startContent:g,endContent:b,autoFocus:y,className:P,spinner:x,fullWidth:C=(t=c==null?void 0:c.fullWidth)!=null?t:!1,size:S=(r=c==null?void 0:c.size)!=null?r:"md",color:$=(n=c==null?void 0:c.color)!=null?n:"default",variant:N=(o=c==null?void 0:c.variant)!=null?o:"solid",disableAnimation:j=(a=c==null?void 0:c.disableAnimation)!=null?a:!1,radius:m=c==null?void 0:c.radius,disableRipple:D=(s=c==null?void 0:c.disableRipple)!=null?s:!1,isDisabled:I=(i=c==null?void 0:c.isDisabled)!=null?i:!1,isIconOnly:T=(l=c==null?void 0:c.isIconOnly)!=null?l:!1,isLoading:k=!1,spinnerPlacement:w="start",onPress:M,onClick:O,...F}=e,E=p||"button",V=typeof E=="string",H=nt(d),{isFocusVisible:R,isFocused:W,focusProps:ee}=Mt({autoFocus:y}),U=I||k,re=f.useMemo(()=>Fm({size:S,color:$,variant:N,radius:m,fullWidth:C,isDisabled:U,isInGroup:u,disableAnimation:j,isIconOnly:T,className:P}),[S,$,N,m,C,U,u,T,j,P]),{onClick:X,onClear:te,ripples:ce}=K5(),be=f.useCallback(Ie=>{D||U||j||H.current&&X(Ie)},[D,U,j,H,X]),{buttonProps:pe,isPressed:fe}=W5({elementType:p,isDisabled:U,onPress:M,onClick:dr(O,be),...F},H),{isHovered:he,hoverProps:Te}=mr({isDisabled:U}),Se=f.useCallback((Ie={})=>({"data-disabled":Q(U),"data-focus":Q(W),"data-pressed":Q(fe),"data-focus-visible":Q(R),"data-hover":Q(he),"data-loading":Q(k),...ie(pe,ee,Te,Sn(F,{enabled:V}),Sn(Ie))}),[k,U,W,fe,V,R,he,pe,ee,Te,F]),ae=Ie=>f.isValidElement(Ie)?f.cloneElement(Ie,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,Z=ae(g),Oe=ae(b),_e=f.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[S],[S]),Fe=f.useCallback(()=>({ripples:ce,onClear:te}),[ce,te]);return{Component:E,children:h,domRef:H,spinner:x,styles:re,startContent:Z,endContent:Oe,isLoading:k,spinnerPlacement:w,spinnerSize:_e,disableRipple:D,getButtonProps:Se,getRippleProps:Fe,isIconOnly:T}}function H5(e){const[t,r]=Mn(e,Qc.variantKeys),{children:n,className:o,classNames:a,label:s,...i}=t,l=f.useMemo(()=>Qc({...r}),[...Object.values(r)]),c=me(a==null?void 0:a.base,o),u=s||n,d=f.useMemo(()=>u&&typeof u=="string"?u:i["aria-label"]?"":"Loading",[n,u,i["aria-label"]]),p=f.useCallback(()=>({"aria-label":d,className:l.base({class:c}),...i}),[d,l,c,i]);return{label:u,slots:l,classNames:a,getSpinnerProps:p}}var Zf=vt((e,t)=>{const{slots:r,classNames:n,label:o,getSpinnerProps:a}=H5({...e});return L.jsxs("div",{ref:t,...a(),children:[L.jsxs("div",{className:r.wrapper({class:n==null?void 0:n.wrapper}),children:[L.jsx("i",{className:r.circle1({class:n==null?void 0:n.circle1})}),L.jsx("i",{className:r.circle2({class:n==null?void 0:n.circle2})})]}),o&&L.jsx("span",{className:r.label(),children:o})]})});Zf.displayName="NextUI.Spinner";var Y5=Zf,Jf=vt((e,t)=>{const{Component:r,domRef:n,children:o,styles:a,spinnerSize:s,spinner:i=L.jsx(Y5,{color:"current",size:s}),spinnerPlacement:l,startContent:c,endContent:u,isLoading:d,disableRipple:p,getButtonProps:h,getRippleProps:g,isIconOnly:b}=U5({...e,ref:t});return L.jsxs(r,{ref:n,className:a,...h(),children:[c,d&&l==="start"&&i,d&&b?null:o,d&&l==="end"&&i,u,!p&&L.jsx(R5,{...g()})]})});Jf.displayName="NextUI.Button";var G5=Jf;function q5(e){const[t,r]=Mn(e,eu.variantKeys),{ref:n,as:o,children:a,avatar:s,startContent:i,endContent:l,onClose:c,classNames:u,className:d,...p}=t,h=o||"div",g=nt(n),b=me(u==null?void 0:u.base,d),y=!!c,P=e.variant==="dot",{focusProps:x,isFocusVisible:C}=Mt(),S=f.useMemo(()=>typeof a=="string"&&(a==null?void 0:a.length)===1,[a]),$=f.useMemo(()=>!!s||!!i,[s,i]),N=f.useMemo(()=>!!l||y,[l,y]),j=f.useMemo(()=>eu({...r,hasStartContent:$,hasEndContent:N,isOneChar:S,isCloseable:y,isCloseButtonFocusVisible:C}),[...Object.values(r),C,$,N,S,y]),{pressProps:m}=En({isDisabled:!!(e!=null&&e.isDisabled),onPress:c}),D=()=>({ref:g,className:j.base({class:b}),...p}),I=()=>({role:"button",tabIndex:0,className:j.closeButton({class:u==null?void 0:u.closeButton}),...ie(m,x)}),T=w=>f.isValidElement(w)?f.cloneElement(w,{className:j.avatar({class:u==null?void 0:u.avatar})}):null,k=w=>f.isValidElement(w)?f.cloneElement(w,{className:me("max-h-[80%]",w.props.className)}):null;return{Component:h,children:a,slots:j,classNames:u,isDot:P,isCloseable:y,startContent:T(s)||k(i),endContent:k(l),getCloseButtonProps:I,getChipProps:D}}var e1=vt((e,t)=>{const{Component:r,children:n,slots:o,classNames:a,isDot:s,isCloseable:i,startContent:l,endContent:c,getCloseButtonProps:u,getChipProps:d}=q5({...e,ref:t}),p=f.useMemo(()=>s&&!l?L.jsx("span",{className:o.dot({class:a==null?void 0:a.dot})}):l,[o,l,s]),h=f.useMemo(()=>i?L.jsx("span",{...u(),children:c||L.jsx(lg,{})}):c,[c,i,u]);return L.jsxs(r,{...d(),children:[p,L.jsx("span",{className:o.content({class:a==null?void 0:a.content}),children:n}),h]})});e1.displayName="NextUI.Chip";var t1=e1;function Ni(e,t,r){let{validationBehavior:n,focus:o}=e;kt(()=>{if(n==="native"&&(r!=null&&r.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(l),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(X5(r.current))}});let a=We(()=>{t.resetValidation()}),s=We(l=>{var c;t.displayValidation.isInvalid||t.commitValidation();let u=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!l.defaultPrevented&&r&&u&&Z5(u)===r.current){var d;o?o():(d=r.current)===null||d===void 0||d.focus(),cm("keyboard")}l.preventDefault()}),i=We(()=>{t.commitValidation()});f.useEffect(()=>{let l=r==null?void 0:r.current;if(!l)return;let c=l.form;return l.addEventListener("invalid",s),l.addEventListener("change",i),c==null||c.addEventListener("reset",a),()=>{l.removeEventListener("invalid",s),l.removeEventListener("change",i),c==null||c.removeEventListener("reset",a)}},[r,s,i,a,n])}function Q5(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function X5(e){return{isInvalid:!e.validity.valid,validationDetails:Q5(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function Z5(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const r1={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},n1={...r1,customError:!0,valid:!1},Jr={isInvalid:!1,validationDetails:r1,validationErrors:[]},J5=f.createContext({}),ji="__formValidationState"+Date.now();function va(e){if(e[ji]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[ji];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return ey(e)}function ey(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:a,validate:s,validationBehavior:i="aria"}=e;r&&(t||(t=r==="invalid"));let l=t?{isInvalid:!0,validationErrors:[],validationDetails:n1}:null,c=f.useMemo(()=>o1(ty(s,o)),[s,o]);a!=null&&a.validationDetails.valid&&(a=null);let u=f.useContext(J5),d=f.useMemo(()=>n?Array.isArray(n)?n.flatMap(I=>Li(u[I])):Li(u[n]):[],[u,n]),[p,h]=f.useState(u),[g,b]=f.useState(!1);u!==p&&(h(u),b(!1));let y=f.useMemo(()=>o1(g?[]:d),[g,d]),P=f.useRef(Jr),[x,C]=f.useState(Jr),S=f.useRef(Jr),$=()=>{if(!N)return;j(!1);let I=c||a||P.current;_i(I,S.current)||(S.current=I,C(I))},[N,j]=f.useState(!1);return f.useEffect($),{realtimeValidation:l||y||c||a||Jr,displayValidation:i==="native"?l||y||x:l||y||c||a||x,updateValidation(I){i==="aria"&&!_i(x,I)?C(I):P.current=I},resetValidation(){let I=Jr;_i(I,S.current)||(S.current=I,C(I)),i==="native"&&j(!1),b(!0)},commitValidation(){i==="native"&&j(!0),b(!0)}}}function Li(e){return e?Array.isArray(e)?e:[e]:[]}function ty(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return Li(r)}return[]}function o1(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:n1}:null}function _i(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function a1(e,t,r){let{isDisabled:n=!1,isReadOnly:o=!1,value:a,name:s,children:i,"aria-label":l,"aria-labelledby":c,validationState:u="valid",isInvalid:d}=e,p=N=>{N.stopPropagation(),t.setSelected(N.target.checked)},h=i!=null,g=l!=null||c!=null;!h&&!g&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:b,isPressed:y}=fr({isDisabled:n}),{pressProps:P,isPressed:x}=fr({isDisabled:n||o,onPress(){t.toggle()}}),{focusableProps:C}=Vo(e,r),S=ie(b,C),$=Fr(e,{labelable:!0});return fs(r,t.isSelected,t.setSelected),{labelProps:ie(P,{onClick:N=>N.preventDefault()}),inputProps:ie($,{"aria-invalid":d||u==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:s,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:y||x,isDisabled:n,isReadOnly:o,isInvalid:d||u==="invalid"}}function ry(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=_r(t);let s=_r(),i={};r?(n=n?`${s} ${n}`:s,i={id:s,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=cs({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:i,fieldProps:l}}function s1(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:s}=ry(e),i=vc([!!t,!!r,n,o]),l=vc([!!t,!!r,n,o]);return s=ie(s,{"aria-describedby":[i,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:s,descriptionProps:{id:i},errorMessageProps:{id:l}}}function Fi(e={}){let{isReadOnly:t}=e,[r,n]=Lr(e.isSelected,e.defaultSelected||!1,e.onChange);function o(s){t||n(s)}function a(){t||n(!r)}return{isSelected:r,setSelected:o,toggle:a}}function i1(e,t,r){let n=va({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:s}=n.displayValidation,{labelProps:i,inputProps:l,isSelected:c,isPressed:u,isDisabled:d,isReadOnly:p}=a1({...e,isInvalid:o},t,r);Ni(e,n,r);let{isIndeterminate:h,isRequired:g,validationBehavior:b="aria"}=e;return f.useEffect(()=>{r.current&&(r.current.indeterminate=!!h)}),{labelProps:i,inputProps:{...l,checked:c,"aria-required":g&&b==="aria"||void 0,required:g&&b==="native"},isSelected:c,isPressed:u,isDisabled:d,isReadOnly:p,isInvalid:o,validationErrors:a,validationDetails:s}}const ny=new WeakMap;function oy(e,t,r){const n=Fi({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(y){y?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(y)}});let{name:o,descriptionId:a,errorMessageId:s,validationBehavior:i}=ny.get(t);var l;i=(l=e.validationBehavior)!==null&&l!==void 0?l:i;let{realtimeValidation:c}=va({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),u=f.useRef(Jr),d=()=>{t.setInvalid(e.value,c.isInvalid?c:u.current)};f.useEffect(d);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:c,h=i==="native"?t.displayValidation:p;var g;let b=i1({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(g=e.isRequired)!==null&&g!==void 0?g:t.isRequired,validationBehavior:i,[ji]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(y){u.current=y,d()}}},n,r);return{...b,inputProps:{...b.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?s:null,a].filter(Boolean).join(" ")||void 0}}}var[Yx,ay]=Ro({name:"CheckboxGroupContext",strict:!1});function sy(e){const{isSelected:t,disableAnimation:r,...n}=e;return L.jsx("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...n,children:L.jsx("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!r&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function iy(e){const{isSelected:t,disableAnimation:r,...n}=e;return L.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...n,children:L.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function ly(e){const{isIndeterminate:t,...r}=e,n=t?iy:sy;return L.jsx(n,{...r})}function cy(e={}){var t,r,n,o,a,s;const i=ay(),l=!!i,{as:c,ref:u,value:d="",children:p,icon:h,name:g,isRequired:b=!1,isReadOnly:y=!1,autoFocus:P=!1,isSelected:x,validationState:C,size:S=(t=i==null?void 0:i.size)!=null?t:"md",color:$=(r=i==null?void 0:i.color)!=null?r:"primary",radius:N=i==null?void 0:i.radius,lineThrough:j=(n=i==null?void 0:i.lineThrough)!=null?n:!1,isDisabled:m=(o=i==null?void 0:i.isDisabled)!=null?o:!1,disableAnimation:D=(a=i==null?void 0:i.disableAnimation)!=null?a:!1,isInvalid:I=C?C==="invalid":(s=i==null?void 0:i.isInvalid)!=null?s:!1,isIndeterminate:T=!1,defaultSelected:k,classNames:w,onChange:M,className:O,onValueChange:F,...E}=e;i&&nu&&(x&&Bo("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),k&&Bo("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));const V=c||"label",H=f.useRef(null),R=ou(u,H),W=f.useId(),ee=f.useMemo(()=>({name:g,value:d,children:p,autoFocus:P,defaultSelected:k,isIndeterminate:T,isRequired:b,isInvalid:I,isSelected:x,isDisabled:m,isReadOnly:y,"aria-label":ks(E["aria-label"],p),"aria-labelledby":E["aria-labelledby"]||W,onChange:F}),[d,g,W,p,P,I,T,m,y,x,k,E["aria-label"],E["aria-labelledby"],F]),{inputProps:U,isSelected:re,isDisabled:X,isReadOnly:te,isPressed:ce}=l?oy({...ee,isInvalid:I},i.groupState,H):i1(ee,Fi(ee),H),be=X||te,[pe,fe]=f.useState(!1),{pressProps:he}=En({isDisabled:be,onPressStart(Qe){Qe.pointerType!=="keyboard"&&fe(!0)},onPressEnd(Qe){Qe.pointerType!=="keyboard"&&fe(!1)}}),Te=be?!1:pe||ce;b&&(U.required=!0);const{hoverProps:Se,isHovered:ae}=mr({isDisabled:U.disabled}),{focusProps:Z,isFocused:Oe,isFocusVisible:_e}=Mt({autoFocus:U.autoFocus}),Fe=f.useMemo(()=>Lm({color:$,size:S,radius:N,isInvalid:I,lineThrough:j,isDisabled:X,disableAnimation:D}),[$,S,N,I,j,X,D]),Ie=me(w==null?void 0:w.base,O),It=f.useCallback(()=>({ref:R,className:Fe.base({class:Ie}),"data-disabled":Q(X),"data-selected":Q(re||T),"data-invalid":Q(I),"data-hover":Q(ae),"data-focus":Q(Oe),"data-pressed":Q(Te),"data-readonly":Q(U.readOnly),"data-focus-visible":Q(_e),"data-indeterminate":Q(T),...ie(Se,he,E)}),[Fe,Ie,X,re,T,I,ae,Oe,Te,U.readOnly,_e,Se,he,E]),mt=f.useCallback((Qe={})=>({...Qe,"aria-hidden":!0,className:me(Fe.wrapper({class:me(w==null?void 0:w.wrapper,Qe==null?void 0:Qe.className)}))}),[Fe,w==null?void 0:w.wrapper]),et=f.useCallback(()=>({ref:H,...ie(U,Z),onChange:dr(U.onChange,M)}),[U,Z,M]),Ir=f.useCallback(()=>({id:W,className:Fe.label({class:w==null?void 0:w.label})}),[Fe,w==null?void 0:w.label,X,re,I]),qe=f.useCallback(()=>({isSelected:re,isIndeterminate:!!T,disableAnimation:!!D,className:Fe.icon({class:w==null?void 0:w.icon})}),[Fe,w==null?void 0:w.icon,re,T,D]);return{Component:V,icon:h,children:p,isSelected:re,isDisabled:X,isInvalid:I,isFocused:Oe,isHovered:ae,isFocusVisible:_e,getBaseProps:It,getWrapperProps:mt,getInputProps:et,getLabelProps:Ir,getIconProps:qe}}var l1=vt((e,t)=>{const{Component:r,children:n,icon:o=L.jsx(ly,{}),getBaseProps:a,getWrapperProps:s,getInputProps:i,getIconProps:l,getLabelProps:c}=cy({...e,ref:t}),u=typeof o=="function"?o(l()):f.cloneElement(o,l());return L.jsxs(r,{...a(),children:[L.jsx($s,{children:L.jsx("input",{...i()})}),L.jsx("span",{...s(),children:u}),n&&L.jsx("span",{...c(),children:n})]})});l1.displayName="NextUI.Checkbox";var uy=l1;const c1=e=>typeof e=="object"&&e!=null&&e.nodeType===1,u1=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",Vi=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const r=getComputedStyle(e,null);return u1(r.overflowY,t)||u1(r.overflowX,t)||(n=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)})(e)}return!1},ba=(e,t,r,n,o,a,s,i)=>a<e&&s>t||a>e&&s<t?0:a<=e&&i<=r||s>=t&&i>=r?a-e-n:s>t&&i<r||a<e&&i>r?s-t+o:0,dy=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},d1=(e,t)=>{var r,n,o,a;if(typeof document>"u")return[];const{scrollMode:s,block:i,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d=typeof c=="function"?c:F=>F!==c;if(!c1(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let g=e;for(;c1(g)&&d(g);){if(g=dy(g),g===p){h.push(g);break}g!=null&&g===document.body&&Vi(g)&&!Vi(document.documentElement)||g!=null&&Vi(g,u)&&h.push(g)}const b=(n=(r=window.visualViewport)==null?void 0:r.width)!=null?n:innerWidth,y=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:P,scrollY:x}=window,{height:C,width:S,top:$,right:N,bottom:j,left:m}=e.getBoundingClientRect(),{top:D,right:I,bottom:T,left:k}=(F=>{const E=window.getComputedStyle(F);return{top:parseFloat(E.scrollMarginTop)||0,right:parseFloat(E.scrollMarginRight)||0,bottom:parseFloat(E.scrollMarginBottom)||0,left:parseFloat(E.scrollMarginLeft)||0}})(e);let w=i==="start"||i==="nearest"?$-D:i==="end"?j+T:$+C/2-D+T,M=l==="center"?m+S/2-k+I:l==="end"?N+I:m-k;const O=[];for(let F=0;F<h.length;F++){const E=h[F],{height:V,width:H,top:R,right:W,bottom:ee,left:U}=E.getBoundingClientRect();if(s==="if-needed"&&$>=0&&m>=0&&j<=y&&N<=b&&$>=R&&j<=ee&&m>=U&&N<=W)return O;const re=getComputedStyle(E),X=parseInt(re.borderLeftWidth,10),te=parseInt(re.borderTopWidth,10),ce=parseInt(re.borderRightWidth,10),be=parseInt(re.borderBottomWidth,10);let pe=0,fe=0;const he="offsetWidth"in E?E.offsetWidth-E.clientWidth-X-ce:0,Te="offsetHeight"in E?E.offsetHeight-E.clientHeight-te-be:0,Se="offsetWidth"in E?E.offsetWidth===0?0:H/E.offsetWidth:0,ae="offsetHeight"in E?E.offsetHeight===0?0:V/E.offsetHeight:0;if(p===E)pe=i==="start"?w:i==="end"?w-y:i==="nearest"?ba(x,x+y,y,te,be,x+w,x+w+C,C):w-y/2,fe=l==="start"?M:l==="center"?M-b/2:l==="end"?M-b:ba(P,P+b,b,X,ce,P+M,P+M+S,S),pe=Math.max(0,pe+x),fe=Math.max(0,fe+P);else{pe=i==="start"?w-R-te:i==="end"?w-ee+be+Te:i==="nearest"?ba(R,ee,V,te,be+Te,w,w+C,C):w-(R+V/2)+Te/2,fe=l==="start"?M-U-X:l==="center"?M-(U+H/2)+he/2:l==="end"?M-W+ce+he:ba(U,W,H,X,ce+he,M,M+S,S);const{scrollLeft:Z,scrollTop:Oe}=E;pe=ae===0?0:Math.max(0,Math.min(Oe+pe/ae,E.scrollHeight-V/ae+Te)),fe=Se===0?0:Math.max(0,Math.min(Z+fe/Se,E.scrollWidth-H/Se+he)),w+=Oe-pe,M+=Z-fe}O.push({el:E,top:pe,left:fe})}return O},fy=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function py(e,t){if(!e.isConnected||!(n=>{let o=n;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((n=>typeof n=="object"&&typeof n.behavior=="function")(t))return t.behavior(d1(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:n,top:o,left:a}of d1(e,fy(t)))n.scroll({top:o,left:a,behavior:r})}let hy=Math.round(Math.random()*1e10),my=0;function gy(e){let t=f.useMemo(()=>e.name||`radio-group-${hy}-${++my}`,[e.name]);var r;let[n,o]=Lr(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,s]=f.useState(null),i=va({...e,value:n}),l=u=>{!e.isReadOnly&&!e.isDisabled&&(o(u),i.commitValidation())},c=i.displayValidation.isInvalid;return{...i,name:t,selectedValue:n,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:s,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}const f1=new WeakMap;function vy(e,t,r){let{value:n,children:o,"aria-label":a,"aria-labelledby":s}=e;const i=e.isDisabled||t.isDisabled;let l=o!=null,c=a!=null||s!=null;!l&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let u=t.selectedValue===n,d=m=>{m.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:h}=fr({isDisabled:i}),{pressProps:g,isPressed:b}=fr({isDisabled:i,onPress(){t.setSelectedValue(n)}}),{focusableProps:y}=Vo(ie(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),P=ie(p,y),x=Fr(e,{labelable:!0}),C=-1;t.selectedValue!=null?t.selectedValue===n&&(C=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(C=0),i&&(C=void 0);let{name:S,descriptionId:$,errorMessageId:N,validationBehavior:j}=f1.get(t);return fs(r,t.selectedValue,t.setSelectedValue),Ni({validationBehavior:j},t,r),{labelProps:ie(g,{onClick:m=>m.preventDefault()}),inputProps:ie(x,{...P,type:"radio",name:S,tabIndex:C,disabled:i,required:t.isRequired&&j==="native",checked:u,value:n,onChange:d,"aria-describedby":[e["aria-describedby"],t.isInvalid?N:null,$].filter(Boolean).join(" ")||void 0}),isDisabled:i,isSelected:u,isPressed:h||b}}function by(e,t){let{name:r,isReadOnly:n,isRequired:o,isDisabled:a,orientation:s="vertical",validationBehavior:i="aria"}=e,{direction:l}=hs(),{isInvalid:c,validationErrors:u,validationDetails:d}=t.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:g,errorMessageProps:b}=s1({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),y=Fr(e,{labelable:!0}),{focusWithinProps:P}=Lo({onBlurWithin(S){var $;($=e.onBlur)===null||$===void 0||$.call(e,S),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=S=>{let $;switch(S.key){case"ArrowRight":l==="rtl"&&s!=="vertical"?$="prev":$="next";break;case"ArrowLeft":l==="rtl"&&s!=="vertical"?$="next":$="prev";break;case"ArrowDown":$="next";break;case"ArrowUp":$="prev";break;default:return}S.preventDefault();let N=Ss(S.currentTarget,{from:S.target}),j;$==="next"?(j=N.nextNode(),j||(N.currentNode=S.currentTarget,j=N.firstChild())):(j=N.previousNode(),j||(N.currentNode=S.currentTarget,j=N.lastChild())),j&&(j.focus(),t.setSelectedValue(j.value))},C=_r(r);return f1.set(t,{name:C,descriptionId:g.id,errorMessageId:b.id,validationBehavior:i}),{radioGroupProps:ie(y,{role:"radiogroup",onKeyDown:x,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":o||void 0,"aria-disabled":a||void 0,"aria-orientation":s,...h,...P}),labelProps:p,descriptionProps:g,errorMessageProps:b,isInvalid:c,validationErrors:u,validationDetails:d}}function yy(e){const{as:t,ref:r,classNames:n,children:o,label:a,value:s,name:i,size:l="md",color:c="primary",isDisabled:u=!1,disableAnimation:d=!1,orientation:p="vertical",isRequired:h=!1,validationState:g,isInvalid:b=g==="invalid",isReadOnly:y,errorMessage:P,description:x,className:C,onChange:S,onValueChange:$,...N}=e,j=t||"div",m=nt(r),D=f.useMemo(()=>({...N,value:s,name:i,"aria-label":ks(N["aria-label"],a),isRequired:h,isReadOnly:y,isInvalid:b,orientation:p,onChange:$}),[N,s,i,a,h,y,b,p,$]),I=gy(D),{labelProps:T,radioGroupProps:k,errorMessageProps:w,descriptionProps:M}=by(D,I),O=f.useMemo(()=>({size:l,color:c,groupState:I,isRequired:h,isInvalid:b,isDisabled:u,disableAnimation:d,onChange:S}),[l,c,h,u,b,S,d,I.name,I==null?void 0:I.isDisabled,I==null?void 0:I.isReadOnly,I==null?void 0:I.isRequired,I==null?void 0:I.selectedValue,I==null?void 0:I.lastFocusedValue]),F=f.useMemo(()=>jm({isRequired:h,isInvalid:b,disableAnimation:d}),[b,h,d]),E=me(n==null?void 0:n.base,C),V=f.useCallback(()=>({ref:m,className:F.base({class:E}),...ie(k,N)}),[m,F,E,k,N]),H=f.useCallback(()=>({className:F.label({class:n==null?void 0:n.label}),...T}),[F,n==null?void 0:n.label,T,n==null?void 0:n.label]),R=f.useCallback(()=>({className:F.wrapper({class:n==null?void 0:n.wrapper}),role:"presentation","data-orientation":p}),[F,n==null?void 0:n.wrapper,p,F.wrapper]),W=f.useCallback((U={})=>({...U,...M,className:F.description({class:me(n==null?void 0:n.description,U==null?void 0:U.className)})}),[F,n==null?void 0:n.description,M,F.description]),ee=f.useCallback((U={})=>({...U,...w,className:F.errorMessage({class:me(n==null?void 0:n.errorMessage,U==null?void 0:U.className)})}),[F,n==null?void 0:n.errorMessage,w]);return{Component:j,children:o,label:a,context:O,errorMessage:P,description:x,getGroupProps:V,getLabelProps:H,getWrapperProps:R,getDescriptionProps:W,getErrorMessageProps:ee}}var[xy,wy]=Ro({name:"RadioGroupContext",strict:!1}),p1=vt((e,t)=>{const{Component:r,children:n,label:o,context:a,description:s,errorMessage:i,getGroupProps:l,getLabelProps:c,getWrapperProps:u,getDescriptionProps:d,getErrorMessageProps:p}=yy({...e,ref:t});return L.jsxs(r,{...l(),children:[o&&L.jsx("span",{...c(),children:o}),L.jsx("div",{...u(),children:L.jsx(xy,{value:a,children:n})}),i?L.jsx("div",{...p(),children:i}):s?L.jsx("div",{...d(),children:s}):null]})});p1.displayName="NextUI.RadioGroup";var Cy=p1;function Py(e){var t,r,n,o;const a=wy(),{as:s,ref:i,classNames:l,id:c,value:u,children:d,description:p,size:h=(t=a==null?void 0:a.size)!=null?t:"md",color:g=(r=a==null?void 0:a.color)!=null?r:"primary",isDisabled:b=(n=a==null?void 0:a.isDisabled)!=null?n:!1,disableAnimation:y=(o=a==null?void 0:a.disableAnimation)!=null?o:!1,onChange:P=a==null?void 0:a.onChange,autoFocus:x=!1,className:C,...S}=e;a&&nu&&("checked"in S&&Bo('Remove props "checked" if in the Radio.Group.',"Radio"),u===void 0&&Bo('Props "value" must be defined if in the Radio.Group.',"Radio"));const $=s||"label",N=nt(i),j=f.useRef(null),m=f.useId(),D=f.useMemo(()=>{var ae;return(ae=a.isRequired)!=null?ae:!1},[a.isRequired]),I=a.isInvalid,T=f.useMemo(()=>{const ae=S["aria-label"]||typeof d=="string"?d:void 0,Z=S["aria-describedby"]||typeof p=="string"?p:void 0;return{id:c,isRequired:D,isDisabled:b,"aria-label":ae,"aria-labelledby":S["aria-labelledby"]||m,"aria-describedby":Z}},[m,c,b,D]),{inputProps:k,isDisabled:w,isSelected:M,isPressed:O}=vy({value:u,children:d,...a,...T},a.groupState,j),{focusProps:F,isFocused:E,isFocusVisible:V}=Mt({autoFocus:x}),H=w||k.readOnly,[R,W]=f.useState(!1),{pressProps:ee}=En({isDisabled:H,onPressStart(ae){ae.pointerType!=="keyboard"&&W(!0)},onPressEnd(ae){ae.pointerType!=="keyboard"&&W(!1)}}),{hoverProps:U,isHovered:re}=mr({isDisabled:H}),X=H?!1:R||O,te=f.useMemo(()=>Nm({color:g,size:h,isInvalid:I,isDisabled:w,disableAnimation:y}),[g,h,w,I,y]),ce=me(l==null?void 0:l.base,C),be=f.useCallback((ae={})=>({...ae,ref:N,className:te.base({class:ce}),"data-disabled":Q(w),"data-focus":Q(E),"data-focus-visible":Q(V),"data-selected":Q(M),"data-invalid":Q(I),"data-hover":Q(re),"data-pressed":Q(X),"data-hover-unselected":Q(re&&!M),"data-readonly":Q(k.readOnly),"aria-required":Q(D),...ie(U,ee,S)}),[te,ce,N,w,E,V,M,I,re,X,k.readOnly,D,S]),pe=f.useCallback((ae={})=>({...ae,"aria-hidden":!0,className:me(te.wrapper({class:me(l==null?void 0:l.wrapper,ae.className)}))}),[te,l==null?void 0:l.wrapper]),fe=f.useCallback((ae={})=>({...ae,ref:j,required:D,...ie(k,F),onChange:dr(k.onChange,P)}),[k,F,D,P]),he=f.useCallback((ae={})=>({...ae,id:m,className:te.label({class:l==null?void 0:l.label})}),[te,l==null?void 0:l.label,w,M,I]),Te=f.useCallback((ae={})=>({...ae,className:te.labelWrapper({class:l==null?void 0:l.labelWrapper})}),[te,l==null?void 0:l.labelWrapper]),Se=f.useCallback((ae={})=>({...ae,className:te.control({class:l==null?void 0:l.control})}),[te,l==null?void 0:l.control]);return{Component:$,children:d,slots:te,classNames:l,description:p,isSelected:M,isDisabled:w,isInvalid:I,isFocusVisible:V,getBaseProps:be,getWrapperProps:pe,getInputProps:fe,getLabelProps:he,getLabelWrapperProps:Te,getControlProps:Se}}var h1=vt((e,t)=>{const{Component:r,children:n,slots:o,classNames:a,description:s,getBaseProps:i,getWrapperProps:l,getInputProps:c,getLabelProps:u,getLabelWrapperProps:d,getControlProps:p}=Py({...e,ref:t});return L.jsxs(r,{...i(),children:[L.jsx($s,{children:L.jsx("input",{...c()})}),L.jsx("span",{...l(),children:L.jsx("span",{...p()})}),L.jsxs("div",{...d(),children:[n&&L.jsx("span",{...u(),children:n}),s&&L.jsx("span",{className:o.description({class:a==null?void 0:a.description}),children:s})]})]})});h1.displayName="NextUI.Radio";var My=h1;function Ty(e,t,r){let{labelProps:n,inputProps:o,isSelected:a,isPressed:s,isDisabled:i,isReadOnly:l}=a1(e,t,r);return{labelProps:n,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:s,isDisabled:i,isReadOnly:l}}function Sy(e={}){const[t,r]=Mn(e,Zc.variantKeys),{ref:n,as:o,name:a,value:s="",isReadOnly:i=!1,autoFocus:l=!1,startContent:c,endContent:u,defaultSelected:d,isSelected:p,children:h,thumbIcon:g,className:b,classNames:y,onChange:P,onValueChange:x,...C}=t,S=o||"label",$=f.useRef(null),N=ou(n,$),j=f.useId(),m=f.useMemo(()=>{const Z=C["aria-label"]||typeof h=="string"?h:void 0;return{name:a,value:s,children:h,autoFocus:l,defaultSelected:d,isSelected:p,isDisabled:!!e.isDisabled,isReadOnly:i,"aria-label":Z,"aria-labelledby":C["aria-labelledby"]||j,onChange:x}},[s,a,j,h,l,i,p,d,e.isDisabled,C["aria-label"],C["aria-labelledby"],x]),D=Fi(m),{inputProps:I,isPressed:T,isReadOnly:k}=Ty(m,D,$),{focusProps:w,isFocused:M,isFocusVisible:O}=Mt({autoFocus:I.autoFocus}),{hoverProps:F,isHovered:E}=mr({isDisabled:I.disabled}),V=m.isDisabled||k,[H,R]=f.useState(!1),{pressProps:W}=En({isDisabled:V,onPressStart(Z){Z.pointerType!=="keyboard"&&R(!0)},onPressEnd(Z){Z.pointerType!=="keyboard"&&R(!1)}}),ee=V?!1:H||T,U=I.checked,re=I.disabled,X=f.useMemo(()=>Zc({...r}),[...Object.values(r)]),te=me(y==null?void 0:y.base,b),ce=Z=>({...ie(F,W,C,Z),ref:N,className:X.base({class:me(te,Z==null?void 0:Z.className)}),"data-disabled":Q(re),"data-selected":Q(U),"data-readonly":Q(k),"data-focus":Q(M),"data-focus-visible":Q(O),"data-hover":Q(E),"data-pressed":Q(ee)}),be=f.useCallback((Z={})=>({...Z,"aria-hidden":!0,className:me(X.wrapper({class:me(y==null?void 0:y.wrapper,Z==null?void 0:Z.className)}))}),[X,y==null?void 0:y.wrapper]),pe=(Z={})=>({...ie(I,w,Z),ref:$,id:I.id,onChange:dr(P,I.onChange)}),fe=f.useCallback((Z={})=>({...Z,className:X.thumb({class:me(y==null?void 0:y.thumb,Z==null?void 0:Z.className)})}),[X,y==null?void 0:y.thumb]),he=f.useCallback((Z={})=>({...Z,id:j,className:X.label({class:me(y==null?void 0:y.label,Z==null?void 0:Z.className)})}),[X,y==null?void 0:y.label,re,U]),Te=f.useCallback((Z={includeStateProps:!1})=>ie({width:"1em",height:"1em",className:X.thumbIcon({class:me(y==null?void 0:y.thumbIcon)})},Z.includeStateProps?{isSelected:U}:{}),[X,y==null?void 0:y.thumbIcon,U]),Se=f.useCallback((Z={})=>({width:"1em",height:"1em",...Z,className:X.startContent({class:me(y==null?void 0:y.startContent,Z==null?void 0:Z.className)})}),[X,y==null?void 0:y.startContent,U]),ae=f.useCallback((Z={})=>({width:"1em",height:"1em",...Z,className:X.endContent({class:me(y==null?void 0:y.endContent,Z==null?void 0:Z.className)})}),[X,y==null?void 0:y.endContent,U]);return{Component:S,slots:X,classNames:y,domRef:N,children:h,thumbIcon:g,startContent:c,endContent:u,isHovered:E,isSelected:U,isPressed:ee,isFocused:M,isFocusVisible:O,isDisabled:re,getBaseProps:ce,getWrapperProps:be,getInputProps:pe,getLabelProps:he,getThumbProps:fe,getThumbIconProps:Te,getStartContentProps:Se,getEndContentProps:ae}}var m1=vt((e,t)=>{const{Component:r,children:n,startContent:o,endContent:a,thumbIcon:s,getBaseProps:i,getInputProps:l,getWrapperProps:c,getThumbProps:u,getThumbIconProps:d,getLabelProps:p,getStartContentProps:h,getEndContentProps:g}=Sy({...e,ref:t}),b=typeof s=="function"?s(d({includeStateProps:!0})):s&&f.cloneElement(s,d()),y=o&&f.cloneElement(o,h()),P=a&&f.cloneElement(a,g());return L.jsxs(r,{...i(),children:[L.jsx($s,{children:L.jsx("input",{...l()})}),L.jsxs("span",{...c(),children:[o&&y,L.jsx("span",{...u(),children:s&&b}),a&&P]}),n&&L.jsx("span",{...p(),children:n})]})});m1.displayName="NextUI.Switch";var Ey=m1;function $y(e={}){const{rerender:t=!1,delay:r=0}=e,n=f.useRef(!1),[o,a]=f.useState(!1);return f.useEffect(()=>{n.current=!0;let s=null;return t&&(r>0?s=setTimeout(()=>{a(!0)},r):a(!0)),()=>{n.current=!1,t&&a(!1),s&&clearTimeout(s)}},[t]),[f.useCallback(()=>n.current,[]),o]}function Dy(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,type:s="text",validationBehavior:i="aria"}=e,[l,c]=Lr(e.value,e.defaultValue||"",e.onChange),{focusableProps:u}=Vo(e,t),d=va({...e,value:l}),{isInvalid:p,validationErrors:h,validationDetails:g}=d.displayValidation,{labelProps:b,fieldProps:y,descriptionProps:P,errorMessageProps:x}=s1({...e,isInvalid:p,errorMessage:e.errorMessage||h}),C=Fr(e,{labelable:!0});const S={type:s,pattern:e.pattern};return fs(t,l,c),Ni(e,d,t),f.useEffect(()=>{if(t.current instanceof xn(t.current).HTMLTextAreaElement){let $=t.current;Object.defineProperty($,"defaultValue",{get:()=>$.value,set:()=>{},configurable:!0})}},[t]),{labelProps:b,inputProps:ie(C,r==="input"&&S,{disabled:n,readOnly:a,required:o&&i==="native","aria-required":o&&i==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:l,onChange:$=>c($.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...y}),descriptionProps:P,errorMessageProps:x,isInvalid:p,validationErrors:h,validationDetails:g}}function Iy(e){const[t,r]=Mn(e,Jc.variantKeys),{ref:n,as:o,label:a,baseRef:s,wrapperRef:i,description:l,errorMessage:c,className:u,classNames:d,autoFocus:p,startContent:h,endContent:g,onClear:b,onChange:y,validationState:P,innerWrapperRef:x,onValueChange:C=()=>{},...S}=t,$=f.useCallback(ue=>{C(ue??"")},[C]),[N,j]=Lr(t.value,t.defaultValue,$),[m,D]=f.useState(!1),I=o||"div",T=!!N,k=T||m,w=me(d==null?void 0:d.base,u,T?"is-filled":""),M=e.isMultiline,O=nt(n),F=nt(s),E=nt(i),V=nt(x),H=f.useCallback(()=>{j(""),O.current&&(O.current.value="",O.current.focus()),b==null||b()},[O,j,b]),{labelProps:R,inputProps:W,descriptionProps:ee,errorMessageProps:U}=Dy({...e,"aria-label":ks(e==null?void 0:e["aria-label"],e==null?void 0:e.label,e==null?void 0:e.placeholder),inputElementType:M?"textarea":"input",onChange:j},O),{isFocusVisible:re,isFocused:X,focusProps:te}=Mt({autoFocus:p,isTextInput:!0}),{isHovered:ce,hoverProps:be}=mr({isDisabled:!!(e!=null&&e.isDisabled)}),{focusProps:pe,isFocusVisible:fe}=Mt(),{focusWithinProps:he}=Lo({onFocusWithinChange:D}),{pressProps:Te}=fr({isDisabled:!!(e!=null&&e.isDisabled),onPress:H}),Se=P==="invalid"||e.isInvalid,ae=f.useMemo(()=>{var ue;return(!e.labelPlacement||e.labelPlacement==="inside")&&!a?"outside":(ue=e.labelPlacement)!=null?ue:"inside"},[e.labelPlacement,a]),Z=!!b||e.isClearable,Oe=!!a||!!l||!!c,_e=!!t.placeholder,Fe=!!a,Ie=!!l||!!c,It=ae==="outside"||ae==="outside-left",mt=ae==="inside",et=O.current?(!O.current.value||O.current.value===""||!N||N==="")&&_e:!1,Ir=ae==="outside-left",qe=!!h,Qe=It?ae==="outside-left"||_e||ae==="outside"&&qe:!1,kr=ae==="outside"&&!_e&&!qe,xe=f.useMemo(()=>Jc({...r,isInvalid:Se,isClearable:Z}),[...Object.values(r),Se,Z,qe]),co=f.useCallback((ue={})=>({ref:F,className:xe.base({class:w}),"data-slot":"base","data-filled":Q(T||_e||qe||et),"data-filled-within":Q(k||_e||qe||et),"data-focus-within":Q(m),"data-focus-visible":Q(re),"data-readonly":Q(e.isReadOnly),"data-focus":Q(X),"data-hover":Q(ce),"data-required":Q(e.isRequired),"data-invalid":Q(Se),"data-disabled":Q(e.isDisabled),"data-has-elements":Q(Oe),"data-has-helper":Q(Ie),"data-has-label":Q(Fe),"data-has-value":Q(!et),...he,...ue}),[xe,w,T,X,ce,Se,Ie,Fe,Oe,et,qe,m,re,k,_e,he,e.isReadOnly,e.isRequired,e.isDisabled]),Ar=f.useCallback((ue={})=>({"data-slot":"label",className:xe.label({class:d==null?void 0:d.label}),...R,...ue}),[xe,R,d==null?void 0:d.label]),Or=f.useCallback((ue={})=>({ref:O,"data-slot":"input","data-filled":Q(T),"data-filled-within":Q(k),"data-has-start-content":Q(qe),"data-has-end-content":Q(!!g),className:xe.input({class:me(d==null?void 0:d.input,N?"is-filled":"")}),...ie(te,W,Sn(S,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(W))}),ue),required:e.isRequired,"aria-readonly":Q(e.isReadOnly),"aria-required":Q(e.isRequired),onChange:dr(W.onChange,y)}),[xe,N,te,W,S,T,k,qe,g,d==null?void 0:d.input,e.isReadOnly,e.isRequired,y]),Ht=f.useCallback((ue={})=>({ref:E,"data-slot":"input-wrapper","data-hover":Q(ce),"data-focus-visible":Q(re),"data-focus":Q(X),className:xe.inputWrapper({class:me(d==null?void 0:d.inputWrapper,N?"is-filled":"")}),...ie(ue,be),onClick:ct=>{O.current&&ct.currentTarget===ct.target&&O.current.focus()},style:{cursor:"text",...ue.style}}),[xe,ce,re,X,N,d==null?void 0:d.inputWrapper]),uo=f.useCallback((ue={})=>({...ue,ref:V,"data-slot":"inner-wrapper",onClick:ct=>{O.current&&ct.currentTarget===ct.target&&O.current.focus()},className:xe.innerWrapper({class:me(d==null?void 0:d.innerWrapper,ue==null?void 0:ue.className)})}),[xe,d==null?void 0:d.innerWrapper]),fo=f.useCallback((ue={})=>({...ue,"data-slot":"main-wrapper",className:xe.mainWrapper({class:me(d==null?void 0:d.mainWrapper,ue==null?void 0:ue.className)})}),[xe,d==null?void 0:d.mainWrapper]),po=f.useCallback((ue={})=>({...ue,"data-slot":"helper-wrapper",className:xe.helperWrapper({class:me(d==null?void 0:d.helperWrapper,ue==null?void 0:ue.className)})}),[xe,d==null?void 0:d.helperWrapper]),ho=f.useCallback((ue={})=>({...ue,...ee,"data-slot":"description",className:xe.description({class:me(d==null?void 0:d.description,ue==null?void 0:ue.className)})}),[xe,d==null?void 0:d.description]),mo=f.useCallback((ue={})=>({...ue,...U,"data-slot":"error-message",className:xe.errorMessage({class:me(d==null?void 0:d.errorMessage,ue==null?void 0:ue.className)})}),[xe,U,d==null?void 0:d.errorMessage]),go=f.useCallback((ue={})=>({...ue,role:"button",tabIndex:0,"data-slot":"clear-button","data-focus-visible":Q(fe),className:xe.clearButton({class:me(d==null?void 0:d.clearButton,ue==null?void 0:ue.className)}),...ie(Te,pe)}),[xe,fe,Te,pe,d==null?void 0:d.clearButton]);return{Component:I,classNames:d,domRef:O,label:a,description:l,startContent:h,endContent:g,labelPlacement:ae,isClearable:Z,isInvalid:Se,hasHelper:Ie,hasStartContent:qe,isLabelOutside:Qe,isOutsideLeft:Ir,isLabelOutsideAsPlaceholder:kr,shouldLabelBeOutside:It,shouldLabelBeInside:mt,hasPlaceholder:_e,errorMessage:c,getBaseProps:co,getLabelProps:Ar,getInputProps:Or,getMainWrapperProps:fo,getInputWrapperProps:Ht,getInnerWrapperProps:uo,getHelperWrapperProps:po,getDescriptionProps:ho,getErrorMessageProps:mo,getClearButtonProps:go}}var ya="right-scroll-bar-position",xa="width-before-scroll-bar",ky="with-scroll-bars-hidden",Ay="--removed-body-scroll-bar-size";function Oy(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ny(e,t){var r=f.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function jy(e,t){return Ny(t||null,function(r){return e.forEach(function(n){return Oy(n,r)})})}function Ly(e){return e}function _y(e,t){t===void 0&&(t=Ly);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(i){return a(i)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var i=r;r=[],i.forEach(a),s=r}var l=function(){var u=s;s=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),r}}}};return o}function Fy(e){e===void 0&&(e={});var t=_y(null);return t.options=Pt({async:!0,ssr:!1},e),t}var g1=function(e){var t=e.sideCar,r=Ic(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return G.createElement(n,Pt({},r))};g1.isSideCarExport=!0;function Vy(e,t){return e.useMedium(t),g1}var v1,zy=function(){if(v1)return v1;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Wy(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=zy();return t&&e.setAttribute("nonce",t),e}function By(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ry(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ky=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Wy())&&(By(t,r),Ry(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Uy=function(){var e=Ky();return function(t,r){G.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},b1=function(){var e=Uy(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Hy={left:0,top:0,right:0,gap:0},zi=function(e){return parseInt(e||"",10)||0},Yy=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[zi(r),zi(n),zi(o)]},Gy=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Hy;var t=Yy(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},qy=b1(),Qy=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,i=e.gap;return r===void 0&&(r="margin"),`
36
- .`.concat(ky,` {
35
+ `),()=>{document.head.removeChild(c)}},[t]),W.createElement(g5,{isPresent:t,childRef:n,sizeRef:o},W.cloneElement(e,{ref:n}))}const Xi=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s})=>{const i=hd(b5),l=f.useId(),c=f.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:u=>{i.set(u,!0);for(const d of i.values())if(!d)return;n&&n()},register:u=>(i.set(u,!1),()=>i.delete(u))}),a?void 0:[r]);return f.useMemo(()=>{i.forEach((u,d)=>i.set(d,!1))},[r]),W.useEffect(()=>{!r&&!i.size&&n&&n()},[r]),s==="popLayout"&&(e=W.createElement(v5,{isPresent:r},e)),W.createElement(pa.Provider,{value:c},e)};function b5(){return new Map}function y5(e){return f.useEffect(()=>()=>e(),[])}const Dr=e=>e.key||"";function x5(e,t){e.forEach(r=>{const n=Dr(r);t.set(n,r)})}function w5(e){const t=[];return f.Children.forEach(e,r=>{f.isValidElement(r)&&t.push(r)}),t}const C5=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{xt(!o,"Replace exitBeforeEnter with mode='wait'");const i=f.useContext(Rn).forceRender||wp()[0],l=xp(),c=w5(e);let u=c;const d=f.useRef(new Map).current,p=f.useRef(u),h=f.useRef(new Map).current,g=f.useRef(!0);if(ai(()=>{g.current=!1,x5(c,h),p.current=u}),y5(()=>{g.current=!0,h.clear(),d.clear()}),g.current)return W.createElement(W.Fragment,null,u.map(x=>W.createElement(Xi,{key:Dr(x),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:a,mode:s},x)));u=[...u];const v=p.current.map(Dr),b=c.map(Dr),P=v.length;for(let x=0;x<P;x++){const w=v[x];b.indexOf(w)===-1&&!d.has(w)&&d.set(w,void 0)}return s==="wait"&&d.size&&(u=[]),d.forEach((x,w)=>{if(b.indexOf(w)!==-1)return;const T=h.get(w);if(!T)return;const $=v.indexOf(w);let E=x;if(!E){const A=()=>{d.delete(w);const m=Array.from(h.keys()).filter(k=>!b.includes(k));if(m.forEach(k=>h.delete(k)),p.current=c.filter(k=>{const I=Dr(k);return I===w||m.includes(I)}),!d.size){if(l.current===!1)return;i(),n&&n()}};E=W.createElement(Xi,{key:Dr(T),isPresent:!1,onExitComplete:A,custom:t,presenceAffectsLayout:a,mode:s},T),d.set(w,E)}u.splice($,0,E)}),u=u.map(x=>{const w=x.key;return d.has(w)?x:W.createElement(Xi,{key:Dr(x),isPresent:!0,presenceAffectsLayout:a,mode:s},x)}),process.env.NODE_ENV!=="production"&&s==="wait"&&u.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),W.createElement(W.Fragment,null,d.size?u:u.map(x=>f.cloneElement(x)))},P5=f.createContext(null),M5=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Cp(){const e=new Set,t=new WeakMap,r=()=>e.forEach(M5);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);const o=t.get(n);o&&(o(),t.delete(n)),r()},dirty:r}}const Pp=e=>e===!0,S5=e=>Pp(e===!0)||e==="id",T5=({children:e,id:t,inherit:r=!0})=>{const n=f.useContext(Rn),o=f.useContext(P5),[a,s]=wp(),i=f.useRef(null),l=n.id||o;i.current===null&&(S5(r)&&l&&(t=t?l+"-"+t:l),i.current={id:t,group:Pp(r)&&n.group||Cp()});const c=f.useMemo(()=>({...i.current,forceRender:a}),[s]);return W.createElement(Rn.Provider,{value:c},e)};function Mp(e){return null}Mp.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,s=t.title||t.children,i=t.textValue||(typeof s=="string"?s:"")||t["aria-label"]||"";!i&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:s,textValue:i,"aria-label":t["aria-label"],hasChildNodes:E5(t),*childNodes(){if(n)for(let l of n)yield{type:"item",value:l};else if(o){let l=[];f.Children.forEach(a,c=>{l.push({type:"item",element:c})}),yield*l}}}};function E5(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&f.Children.count(e.children)>0)}let $5=Mp;class D5{build(t,r){return this.context=r,Sp(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];f.Children.forEach(r,s=>{o.push(s)});let a=0;for(let s of o){let i=this.getFullNode({element:s,index:a},{});for(let l of i)a++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var s;let i=(s=a.key)!==null&&s!==void 0?s:a.id;if(i==null)throw new Error("No key found for item");return i}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=r.renderer(t.value)}if(f.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(a.props,this.context),u=t.index,d=c.next();for(;!d.done&&d.value;){let p=d.value;t.index=u;let h=p.key;h||(h=p.element?null:this.getKey(a,t,r,n));let v=[...this.getFullNode({...p,key:h,index:u,wrapper:k5(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let b of v){if(b.value=p.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${Zi(b.type)}> in <${Zi(o.type)}>. Only <${Zi(t.type)}> is supported.`);u++,yield b}d=c.next(v)}return}if(t.key==null)return;let s=this,i={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:Sp(function*(){if(!t.hasChildNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${i.key}${c.key}`),c.index=l;let u=s.getFullNode(c,s.getChildState(r,c),i.key,i);for(let d of u)l++,yield d}})};yield i}constructor(){this.cache=new WeakMap}}function Sp(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function k5(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Zi(e){return e[0].toUpperCase()+e.slice(1)}function I5(e,t,r){let n=f.useMemo(()=>new D5,[]),{children:o,items:a,collection:s}=e;return f.useMemo(()=>{if(s)return s;let l=n.build({children:o,items:a},r);return t(l)},[n,o,a,s,r,t])}function A5(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function N5(e){return O5(e,0)}function O5(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Ji(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...Tp(e,t),t],o=[...Tp(e,r),r],a=n.slice(0,o.length).findIndex((s,i)=>s!==o[i]);return a!==-1?(t=n[a],r=o[a],t.index-r.index):n.findIndex(s=>s===r)>=0?1:(o.findIndex(s=>s===t)>=0,-1)}function Tp(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}class wt extends Set{constructor(t,r,n){super(t),t instanceof wt?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function j5(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function L5(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,s=f.useRef(!1),[,i]=f.useState(!1),l=f.useRef(null),c=f.useRef(null),[,u]=f.useState(null),d=f.useMemo(()=>Ep(e.selectedKeys),[e.selectedKeys]),p=f.useMemo(()=>Ep(e.defaultSelectedKeys,new wt),[e.defaultSelectedKeys]),[h,g]=Hr(d,p,e.onSelectionChange),v=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,P]=f.useState(o);o==="replace"&&b==="toggle"&&typeof h=="object"&&h.size===0&&P("replace");let x=f.useRef(o);return f.useEffect(()=>{o!==x.current&&(P(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:b,setSelectionBehavior:P,get isFocused(){return s.current},setFocused(w){s.current=w,i(w)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(w,T="first"){l.current=w,c.current=T,u(w)},selectedKeys:h,setSelectedKeys(w){(n||!j5(w,h))&&g(w)},disabledKeys:v,disabledBehavior:a}}function Ep(e,t){return e?e==="all"?"all":new wt(e):t}class _5{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Ji(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Ji(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new wt([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new wt(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?Ji(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new wt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new wt([t],t,t):new wt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new wt;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r(N5(A5(o,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new wt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}var F5=()=>L.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[L.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),L.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[eP,V5]=ia({name:"AvatarGroupContext",strict:!1}),z5=globalThis!=null&&globalThis.document?f.useLayoutEffect:f.useEffect;function W5(e={}){const{loading:t,src:r,srcSet:n,onLoad:o,onError:a,crossOrigin:s,sizes:i,ignoreFallback:l}=e,[c,u]=f.useState("pending");f.useEffect(()=>{u(r?"loading":"pending")},[r]);const d=f.useRef(),p=f.useCallback(()=>{if(!r)return;h();const g=new Image;g.src=r,s&&(g.crossOrigin=s),n&&(g.srcset=n),i&&(g.sizes=i),t&&(g.loading=t),g.onload=v=>{h(),u("loaded"),o==null||o(v)},g.onerror=v=>{h(),u("failed"),a==null||a(v)},d.current=g},[r,s,n,i,o,a,t]),h=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return z5(()=>{if(!l)return c==="loading"&&p(),()=>{h()}},[c,p,l]),l?"loaded":c}function B5(e={}){var t,r,n,o,a;const s=V5(),i=!!s,{as:l,ref:c,src:u,name:d,icon:p,classNames:h,fallback:g,alt:v=d||"avatar",imgRef:b,color:P=(t=s==null?void 0:s.color)!=null?t:"default",radius:x=(r=s==null?void 0:s.radius)!=null?r:"full",size:w=(n=s==null?void 0:s.size)!=null?n:"md",isBordered:T=(o=s==null?void 0:s.isBordered)!=null?o:!1,isDisabled:$=(a=s==null?void 0:s.isDisabled)!=null?a:!1,isFocusable:E=!1,getInitials:A=Kg,ignoreFallback:m=!1,showFallback:k=!1,ImgComponent:I="img",imgProps:S,className:N,onError:C,...M}=e,O=l||"span",_=at(c),D=at(b),{isFocusVisible:z,isFocused:X,focusProps:G}=Et(),{isHovered:U,hoverProps:F}=xr({isDisabled:$}),q=W5({src:u,onError:C,ignoreFallback:m})==="loaded",K=(!u||!q)&&k,Q=f.useMemo(()=>{var ge;return Wg({color:P,radius:x,size:w,isBordered:T,isDisabled:$,isInGroup:i,isInGridGroup:(ge=s==null?void 0:s.isGrid)!=null?ge:!1})},[P,x,w,T,$,i,s==null?void 0:s.isGrid]),ne=ve(h==null?void 0:h.base,N),le=f.useMemo(()=>E||l==="button",[E,l]),ce=f.useCallback((ge={})=>({ref:_,tabIndex:le?0:-1,"data-hover":ee(U),"data-focus":ee(X),"data-focus-visible":ee(z),className:Q.base({class:ve(ne,ge==null?void 0:ge.className)}),...de(M,F,le?G:{})}),[le,Q,ne,G,M]),ue=f.useCallback((ge={})=>({ref:D,src:u,"data-loaded":ee(q),className:Q.img({class:h==null?void 0:h.img}),...de(S,ge)}),[Q,q,S,u,D]);return{Component:O,ImgComponent:I,src:u,alt:v,icon:p,name:d,imgRef:D,slots:Q,classNames:h,fallback:g,isImgLoaded:q,showFallback:K,ignoreFallback:m,getInitials:A,getAvatarProps:ce,getImageProps:ue}}var $p=yt((e,t)=>{const{Component:r,ImgComponent:n,src:o,icon:a=L.jsx(F5,{}),alt:s,classNames:i,slots:l,name:c,showFallback:u,fallback:d,getInitials:p,getAvatarProps:h,getImageProps:g}=B5({...e,ref:t}),v=f.useMemo(()=>!u&&o?null:d?L.jsx("div",{"aria-label":s,className:l.fallback({class:i==null?void 0:i.fallback}),role:"img",children:d}):c?L.jsx("span",{"aria-label":s,className:l.name({class:i==null?void 0:i.name}),role:"img",children:p(c)}):L.jsx("span",{"aria-label":s,className:l.icon({class:i==null?void 0:i.icon}),role:"img",children:a}),[u,o,d,c,i]);return L.jsxs(r,{...h(),children:[o&&L.jsx(n,{...g(),alt:s}),v]})});$p.displayName="NextUI.Avatar";var K5=$p,[tP,R5]=ia({name:"ButtonGroupContext",strict:!1});function U5(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:s,onPressChange:i,preventFocusOnPress:l,allowFocusWhenDisabled:c,onClick:u,href:d,target:p,rel:h,type:g="button",allowTextSelectionOnPress:v}=e,b;r==="button"?b={type:g,disabled:n}:b={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:d,target:r==="a"?p:void 0,type:r==="input"?g:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:P,isPressed:x}=Wn({onPressStart:a,onPressEnd:s,onPressChange:i,onPress:o,isDisabled:n,preventFocusOnPress:l,allowTextSelectionOnPress:v,ref:t}),{focusableProps:w}=na(e,t);c&&(w.tabIndex=n?-1:w.tabIndex);let T=de(w,P,qr(e,{labelable:!0}));return{isPressed:x,buttonProps:de(b,T,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:$=>{u==null||u($)}})}}var G5=(e,t,r)=>Math.min(Math.max(e,t),r),Dp=e=>{const{ripples:t=[],motionProps:r,color:n="currentColor",style:o,onClear:a}=e;return L.jsx(L.Fragment,{children:t.map(s=>{const i=G5(.01*s.size,.2,s.size>100?.75:.5);return L.jsx(C5,{mode:"popLayout",children:L.jsx(yp.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:n,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:s.y,left:s.x,width:`${s.size}px`,height:`${s.size}px`,...o},transition:{duration:i},onAnimationComplete:()=>{a(s.key)},...r})},s.key)})})};Dp.displayName="NextUI.Ripple";var H5=Dp;function Y5(e={}){const[t,r]=f.useState([]),n=f.useCallback(a=>{const s=a.currentTarget,i=Math.max(s.clientWidth,s.clientHeight),l=s.getBoundingClientRect();r(c=>[...c,{key:Rg(c.length.toString()),size:i,x:a.clientX-l.x-i/2,y:a.clientY-l.y-i/2}])},[]),o=f.useCallback(a=>{r(s=>s.filter(i=>i.key!==a))},[]);return{ripples:t,onClick:n,onClear:o,...e}}function q5(e){var t,r,n,o,a,s,i,l;const c=R5(),u=!!c,{ref:d,as:p,children:h,startContent:g,endContent:v,autoFocus:b,className:P,spinner:x,fullWidth:w=(t=c==null?void 0:c.fullWidth)!=null?t:!1,size:T=(r=c==null?void 0:c.size)!=null?r:"md",color:$=(n=c==null?void 0:c.color)!=null?n:"default",variant:E=(o=c==null?void 0:c.variant)!=null?o:"solid",disableAnimation:A=(a=c==null?void 0:c.disableAnimation)!=null?a:!1,radius:m=c==null?void 0:c.radius,disableRipple:k=(s=c==null?void 0:c.disableRipple)!=null?s:!1,isDisabled:I=(i=c==null?void 0:c.isDisabled)!=null?i:!1,isIconOnly:S=(l=c==null?void 0:c.isIconOnly)!=null?l:!1,isLoading:N=!1,spinnerPlacement:C="start",onPress:M,onClick:O,..._}=e,D=p||"button",z=typeof D=="string",X=at(d),{isFocusVisible:G,isFocused:U,focusProps:F}=Et({autoFocus:b}),B=I||N,q=f.useMemo(()=>Bg({size:T,color:$,variant:E,radius:m,fullWidth:w,isDisabled:B,isInGroup:u,disableAnimation:A,isIconOnly:S,className:P}),[T,$,E,m,w,B,u,S,A,P]),{onClick:K,onClear:Q,ripples:ne}=Y5(),le=f.useCallback(Ie=>{k||B||A||X.current&&K(Ie)},[k,B,A,X,K]),{buttonProps:ce,isPressed:ue}=U5({elementType:p,isDisabled:B,onPress:M,onClick:gr(O,le),..._},X),{isHovered:ge,hoverProps:Se}=xr({isDisabled:B}),Te=f.useCallback((Ie={})=>({"data-disabled":ee(B),"data-focus":ee(U),"data-pressed":ee(ue),"data-focus-visible":ee(G),"data-hover":ee(ge),"data-loading":ee(N),...de(ce,F,Se,zn(_,{enabled:z}),zn(Ie))}),[N,B,U,ue,z,G,ge,ce,F,Se,_]),se=Ie=>f.isValidElement(Ie)?f.cloneElement(Ie,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,te=se(g),je=se(v),Fe=f.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[T],[T]),Ve=f.useCallback(()=>({ripples:ne,onClear:Q}),[ne,Q]);return{Component:D,children:h,domRef:X,spinner:x,styles:q,startContent:te,endContent:je,isLoading:N,spinnerPlacement:C,spinnerSize:Fe,disableRipple:k,getButtonProps:Te,getRippleProps:Ve,isIconOnly:S}}function Q5(e){const[t,r]=Fn(e,$u.variantKeys),{children:n,className:o,classNames:a,label:s,...i}=t,l=f.useMemo(()=>$u({...r}),[...Object.values(r)]),c=ve(a==null?void 0:a.base,o),u=s||n,d=f.useMemo(()=>u&&typeof u=="string"?u:i["aria-label"]?"":"Loading",[n,u,i["aria-label"]]),p=f.useCallback(()=>({"aria-label":d,className:l.base({class:c}),...i}),[d,l,c,i]);return{label:u,slots:l,classNames:a,getSpinnerProps:p}}var kp=yt((e,t)=>{const{slots:r,classNames:n,label:o,getSpinnerProps:a}=Q5({...e});return L.jsxs("div",{ref:t,...a(),children:[L.jsxs("div",{className:r.wrapper({class:n==null?void 0:n.wrapper}),children:[L.jsx("i",{className:r.circle1({class:n==null?void 0:n.circle1})}),L.jsx("i",{className:r.circle2({class:n==null?void 0:n.circle2})})]}),o&&L.jsx("span",{className:r.label(),children:o})]})});kp.displayName="NextUI.Spinner";var X5=kp,Ip=yt((e,t)=>{const{Component:r,domRef:n,children:o,styles:a,spinnerSize:s,spinner:i=L.jsx(X5,{color:"current",size:s}),spinnerPlacement:l,startContent:c,endContent:u,isLoading:d,disableRipple:p,getButtonProps:h,getRippleProps:g,isIconOnly:v}=q5({...e,ref:t});return L.jsxs(r,{ref:n,className:a,...h(),children:[c,d&&l==="start"&&i,d&&v?null:o,d&&l==="end"&&i,u,!p&&L.jsx(H5,{...g()})]})});Ip.displayName="NextUI.Button";var Z5=Ip;function J5(e){const[t,r]=Fn(e,Au.variantKeys),{ref:n,as:o,children:a,avatar:s,startContent:i,endContent:l,onClose:c,classNames:u,className:d,...p}=t,h=o||"div",g=at(n),v=ve(u==null?void 0:u.base,d),b=!!c,P=e.variant==="dot",{focusProps:x,isFocusVisible:w}=Et(),T=f.useMemo(()=>typeof a=="string"&&(a==null?void 0:a.length)===1,[a]),$=f.useMemo(()=>!!s||!!i,[s,i]),E=f.useMemo(()=>!!l||b,[l,b]),A=f.useMemo(()=>Au({...r,hasStartContent:$,hasEndContent:E,isOneChar:T,isCloseable:b,isCloseButtonFocusVisible:w}),[...Object.values(r),w,$,E,T,b]),{pressProps:m}=Wn({isDisabled:!!(e!=null&&e.isDisabled),onPress:c}),k=()=>({ref:g,className:A.base({class:v}),...p}),I=()=>({role:"button",tabIndex:0,className:A.closeButton({class:u==null?void 0:u.closeButton}),...de(m,x)}),S=C=>f.isValidElement(C)?f.cloneElement(C,{className:A.avatar({class:u==null?void 0:u.avatar})}):null,N=C=>f.isValidElement(C)?f.cloneElement(C,{className:ve("max-h-[80%]",C.props.className)}):null;return{Component:h,children:a,slots:A,classNames:u,isDot:P,isCloseable:b,startContent:S(s)||N(i),endContent:N(l),getCloseButtonProps:I,getChipProps:k}}var Ap=yt((e,t)=>{const{Component:r,children:n,slots:o,classNames:a,isDot:s,isCloseable:i,startContent:l,endContent:c,getCloseButtonProps:u,getChipProps:d}=J5({...e,ref:t}),p=f.useMemo(()=>s&&!l?L.jsx("span",{className:o.dot({class:a==null?void 0:a.dot})}):l,[o,l,s]),h=f.useMemo(()=>i?L.jsx("span",{...u(),children:c||L.jsx(fv,{})}):c,[c,i,u]);return L.jsxs(r,{...d(),children:[p,L.jsx("span",{className:o.content({class:a==null?void 0:a.content}),children:n}),h]})});Ap.displayName="NextUI.Chip";var Np=Ap;function el(e,t,r){let{validationBehavior:n,focus:o}=e;Ot(()=>{if(n==="native"&&(r!=null&&r.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(l),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(t4(r.current))}});let a=Be(()=>{t.resetValidation()}),s=Be(l=>{var c;t.displayValidation.isInvalid||t.commitValidation();let u=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!l.defaultPrevented&&r&&u&&r4(u)===r.current){var d;o?o():(d=r.current)===null||d===void 0||d.focus(),pg("keyboard")}l.preventDefault()}),i=Be(()=>{t.commitValidation()});f.useEffect(()=>{let l=r==null?void 0:r.current;if(!l)return;let c=l.form;return l.addEventListener("invalid",s),l.addEventListener("change",i),c==null||c.addEventListener("reset",a),()=>{l.removeEventListener("invalid",s),l.removeEventListener("change",i),c==null||c.removeEventListener("reset",a)}},[r,s,i,a,n])}function e4(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function t4(e){return{isInvalid:!e.validity.valid,validationDetails:e4(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function r4(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const Op={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},jp={...Op,customError:!0,valid:!1},dn={isInvalid:!1,validationDetails:Op,validationErrors:[]},n4=f.createContext({}),tl="__formValidationState"+Date.now();function ja(e){if(e[tl]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[tl];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return o4(e)}function o4(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:a,validate:s,validationBehavior:i="aria"}=e;r&&(t||(t=r==="invalid"));let l=t?{isInvalid:!0,validationErrors:[],validationDetails:jp}:null,c=f.useMemo(()=>Lp(a4(s,o)),[s,o]);a!=null&&a.validationDetails.valid&&(a=null);let u=f.useContext(n4),d=f.useMemo(()=>n?Array.isArray(n)?n.flatMap(I=>rl(u[I])):rl(u[n]):[],[u,n]),[p,h]=f.useState(u),[g,v]=f.useState(!1);u!==p&&(h(u),v(!1));let b=f.useMemo(()=>Lp(g?[]:d),[g,d]),P=f.useRef(dn),[x,w]=f.useState(dn),T=f.useRef(dn),$=()=>{if(!E)return;A(!1);let I=c||a||P.current;nl(I,T.current)||(T.current=I,w(I))},[E,A]=f.useState(!1);return f.useEffect($),{realtimeValidation:l||b||c||a||dn,displayValidation:i==="native"?l||b||x:l||b||c||a||x,updateValidation(I){i==="aria"&&!nl(x,I)?w(I):P.current=I},resetValidation(){let I=dn;nl(I,T.current)||(T.current=I,w(I)),i==="native"&&A(!1),v(!0)},commitValidation(){i==="native"&&A(!0),v(!0)}}}function rl(e){return e?Array.isArray(e)?e:[e]:[]}function a4(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return rl(r)}return[]}function Lp(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:jp}:null}function nl(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function _p(e,t,r){let{isDisabled:n=!1,isReadOnly:o=!1,value:a,name:s,children:i,"aria-label":l,"aria-labelledby":c,validationState:u="valid",isInvalid:d}=e,p=E=>{E.stopPropagation(),t.setSelected(E.target.checked)},h=i!=null,g=l!=null||c!=null;!h&&!g&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:v,isPressed:b}=vr({isDisabled:n}),{pressProps:P,isPressed:x}=vr({isDisabled:n||o,onPress(){t.toggle()}}),{focusableProps:w}=na(e,r),T=de(v,w),$=qr(e,{labelable:!0});return As(r,t.isSelected,t.setSelected),{labelProps:de(P,{onClick:E=>E.preventDefault()}),inputProps:de($,{"aria-invalid":d||u==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:s,type:"checkbox",...T}),isSelected:t.isSelected,isPressed:b||x,isDisabled:n,isReadOnly:o,isInvalid:d||u==="invalid"}}function s4(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=Yr(t);let s=Yr(),i={};r?(n=n?`${s} ${n}`:s,i={id:s,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=Ds({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:i,fieldProps:l}}function Fp(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:s}=s4(e),i=qc([!!t,!!r,n,o]),l=qc([!!t,!!r,n,o]);return s=de(s,{"aria-describedby":[i,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:s,descriptionProps:{id:i},errorMessageProps:{id:l}}}function ol(e={}){let{isReadOnly:t}=e,[r,n]=Hr(e.isSelected,e.defaultSelected||!1,e.onChange);function o(s){t||n(s)}function a(){t||n(!r)}return{isSelected:r,setSelected:o,toggle:a}}function Vp(e,t,r){let n=ja({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:s}=n.displayValidation,{labelProps:i,inputProps:l,isSelected:c,isPressed:u,isDisabled:d,isReadOnly:p}=_p({...e,isInvalid:o},t,r);el(e,n,r);let{isIndeterminate:h,isRequired:g,validationBehavior:v="aria"}=e;return f.useEffect(()=>{r.current&&(r.current.indeterminate=!!h)}),{labelProps:i,inputProps:{...l,checked:c,"aria-required":g&&v==="aria"||void 0,required:g&&v==="native"},isSelected:c,isPressed:u,isDisabled:d,isReadOnly:p,isInvalid:o,validationErrors:a,validationDetails:s}}const i4=new WeakMap;function l4(e,t,r){const n=ol({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:o,descriptionId:a,errorMessageId:s,validationBehavior:i}=i4.get(t);var l;i=(l=e.validationBehavior)!==null&&l!==void 0?l:i;let{realtimeValidation:c}=ja({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),u=f.useRef(dn),d=()=>{t.setInvalid(e.value,c.isInvalid?c:u.current)};f.useEffect(d);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:c,h=i==="native"?t.displayValidation:p;var g;let v=Vp({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(g=e.isRequired)!==null&&g!==void 0?g:t.isRequired,validationBehavior:i,[tl]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){u.current=b,d()}}},n,r);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?s:null,a].filter(Boolean).join(" ")||void 0}}}var[rP,c4]=ia({name:"CheckboxGroupContext",strict:!1});function u4(e){const{isSelected:t,disableAnimation:r,...n}=e;return L.jsx("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...n,children:L.jsx("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!r&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function d4(e){const{isSelected:t,disableAnimation:r,...n}=e;return L.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...n,children:L.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function f4(e){const{isIndeterminate:t,...r}=e,n=t?d4:u4;return L.jsx(n,{...r})}function p4(e={}){var t,r,n,o,a,s;const i=c4(),l=!!i,{as:c,ref:u,value:d="",children:p,icon:h,name:g,isRequired:v=!1,isReadOnly:b=!1,autoFocus:P=!1,isSelected:x,validationState:w,size:T=(t=i==null?void 0:i.size)!=null?t:"md",color:$=(r=i==null?void 0:i.color)!=null?r:"primary",radius:E=i==null?void 0:i.radius,lineThrough:A=(n=i==null?void 0:i.lineThrough)!=null?n:!1,isDisabled:m=(o=i==null?void 0:i.isDisabled)!=null?o:!1,disableAnimation:k=(a=i==null?void 0:i.disableAnimation)!=null?a:!1,isInvalid:I=w?w==="invalid":(s=i==null?void 0:i.isInvalid)!=null?s:!1,isIndeterminate:S=!1,defaultSelected:N,classNames:C,onChange:M,className:O,onValueChange:_,...D}=e;i&&ju&&(x&&sa("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),N&&sa("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));const z=c||"label",X=f.useRef(null),G=Lu(u,X),U=f.useId(),F=f.useMemo(()=>({name:g,value:d,children:p,autoFocus:P,defaultSelected:N,isIndeterminate:S,isRequired:v,isInvalid:I,isSelected:x,isDisabled:m,isReadOnly:b,"aria-label":Xs(D["aria-label"],p),"aria-labelledby":D["aria-labelledby"]||U,onChange:_}),[d,g,U,p,P,I,S,m,b,x,N,D["aria-label"],D["aria-labelledby"],_]),{inputProps:B,isSelected:q,isDisabled:K,isReadOnly:Q,isPressed:ne}=l?l4({...F,isInvalid:I},i.groupState,X):Vp(F,ol(F),X),le=K||Q,[ce,ue]=f.useState(!1),{pressProps:ge}=Wn({isDisabled:le,onPressStart(Xe){Xe.pointerType!=="keyboard"&&ue(!0)},onPressEnd(Xe){Xe.pointerType!=="keyboard"&&ue(!1)}}),Se=le?!1:ce||ne;v&&(B.required=!0);const{hoverProps:Te,isHovered:se}=xr({isDisabled:B.disabled}),{focusProps:te,isFocused:je,isFocusVisible:Fe}=Et({autoFocus:B.autoFocus}),Ve=f.useMemo(()=>zg({color:$,size:T,radius:E,isInvalid:I,lineThrough:A,isDisabled:K,disableAnimation:k}),[$,T,E,I,A,K,k]),Ie=ve(C==null?void 0:C.base,O),Nt=f.useCallback(()=>({ref:G,className:Ve.base({class:Ie}),"data-disabled":ee(K),"data-selected":ee(q||S),"data-invalid":ee(I),"data-hover":ee(se),"data-focus":ee(je),"data-pressed":ee(Se),"data-readonly":ee(B.readOnly),"data-focus-visible":ee(Fe),"data-indeterminate":ee(S),...de(Te,ge,D)}),[Ve,Ie,K,q,S,I,se,je,Se,B.readOnly,Fe,Te,ge,D]),vt=f.useCallback((Xe={})=>({...Xe,"aria-hidden":!0,className:ve(Ve.wrapper({class:ve(C==null?void 0:C.wrapper,Xe==null?void 0:Xe.className)}))}),[Ve,C==null?void 0:C.wrapper]),rt=f.useCallback(()=>({ref:X,...de(B,te),onChange:gr(B.onChange,M)}),[B,te,M]),Wr=f.useCallback(()=>({id:U,className:Ve.label({class:C==null?void 0:C.label})}),[Ve,C==null?void 0:C.label,K,q,I]),Qe=f.useCallback(()=>({isSelected:q,isIndeterminate:!!S,disableAnimation:!!k,className:Ve.icon({class:C==null?void 0:C.icon})}),[Ve,C==null?void 0:C.icon,q,S,k]);return{Component:z,icon:h,children:p,isSelected:q,isDisabled:K,isInvalid:I,isFocused:je,isHovered:se,isFocusVisible:Fe,getBaseProps:Nt,getWrapperProps:vt,getInputProps:rt,getLabelProps:Wr,getIconProps:Qe}}var zp=yt((e,t)=>{const{Component:r,children:n,icon:o=L.jsx(f4,{}),getBaseProps:a,getWrapperProps:s,getInputProps:i,getIconProps:l,getLabelProps:c}=p4({...e,ref:t}),u=typeof o=="function"?o(l()):f.cloneElement(o,l());return L.jsxs(r,{...a(),children:[L.jsx(Ys,{children:L.jsx("input",{...i()})}),L.jsx("span",{...s(),children:u}),n&&L.jsx("span",{...c(),children:n})]})});zp.displayName="NextUI.Checkbox";var h4=zp;const Wp=e=>typeof e=="object"&&e!=null&&e.nodeType===1,Bp=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",al=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const r=getComputedStyle(e,null);return Bp(r.overflowY,t)||Bp(r.overflowX,t)||(n=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)})(e)}return!1},La=(e,t,r,n,o,a,s,i)=>a<e&&s>t||a>e&&s<t?0:a<=e&&i<=r||s>=t&&i>=r?a-e-n:s>t&&i<r||a<e&&i>r?s-t+o:0,m4=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},Kp=(e,t)=>{var r,n,o,a;if(typeof document>"u")return[];const{scrollMode:s,block:i,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d=typeof c=="function"?c:_=>_!==c;if(!Wp(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let g=e;for(;Wp(g)&&d(g);){if(g=m4(g),g===p){h.push(g);break}g!=null&&g===document.body&&al(g)&&!al(document.documentElement)||g!=null&&al(g,u)&&h.push(g)}const v=(n=(r=window.visualViewport)==null?void 0:r.width)!=null?n:innerWidth,b=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:P,scrollY:x}=window,{height:w,width:T,top:$,right:E,bottom:A,left:m}=e.getBoundingClientRect(),{top:k,right:I,bottom:S,left:N}=(_=>{const D=window.getComputedStyle(_);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let C=i==="start"||i==="nearest"?$-k:i==="end"?A+S:$+w/2-k+S,M=l==="center"?m+T/2-N+I:l==="end"?E+I:m-N;const O=[];for(let _=0;_<h.length;_++){const D=h[_],{height:z,width:X,top:G,right:U,bottom:F,left:B}=D.getBoundingClientRect();if(s==="if-needed"&&$>=0&&m>=0&&A<=b&&E<=v&&$>=G&&A<=F&&m>=B&&E<=U)return O;const q=getComputedStyle(D),K=parseInt(q.borderLeftWidth,10),Q=parseInt(q.borderTopWidth,10),ne=parseInt(q.borderRightWidth,10),le=parseInt(q.borderBottomWidth,10);let ce=0,ue=0;const ge="offsetWidth"in D?D.offsetWidth-D.clientWidth-K-ne:0,Se="offsetHeight"in D?D.offsetHeight-D.clientHeight-Q-le:0,Te="offsetWidth"in D?D.offsetWidth===0?0:X/D.offsetWidth:0,se="offsetHeight"in D?D.offsetHeight===0?0:z/D.offsetHeight:0;if(p===D)ce=i==="start"?C:i==="end"?C-b:i==="nearest"?La(x,x+b,b,Q,le,x+C,x+C+w,w):C-b/2,ue=l==="start"?M:l==="center"?M-v/2:l==="end"?M-v:La(P,P+v,v,K,ne,P+M,P+M+T,T),ce=Math.max(0,ce+x),ue=Math.max(0,ue+P);else{ce=i==="start"?C-G-Q:i==="end"?C-F+le+Se:i==="nearest"?La(G,F,z,Q,le+Se,C,C+w,w):C-(G+z/2)+Se/2,ue=l==="start"?M-B-K:l==="center"?M-(B+X/2)+ge/2:l==="end"?M-U+ne+ge:La(B,U,X,K,ne+ge,M,M+T,T);const{scrollLeft:te,scrollTop:je}=D;ce=se===0?0:Math.max(0,Math.min(je+ce/se,D.scrollHeight-z/se+Se)),ue=Te===0?0:Math.max(0,Math.min(te+ue/Te,D.scrollWidth-X/Te+ge)),C+=je-ce,M+=te-ue}O.push({el:D,top:ce,left:ue})}return O},g4=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function v4(e,t){if(!e.isConnected||!(n=>{let o=n;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((n=>typeof n=="object"&&typeof n.behavior=="function")(t))return t.behavior(Kp(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:n,top:o,left:a}of Kp(e,g4(t)))n.scroll({top:o,left:a,behavior:r})}let b4=Math.round(Math.random()*1e10),y4=0;function x4(e){let t=f.useMemo(()=>e.name||`radio-group-${b4}-${++y4}`,[e.name]);var r;let[n,o]=Hr(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,s]=f.useState(null),i=ja({...e,value:n}),l=u=>{!e.isReadOnly&&!e.isDisabled&&(o(u),i.commitValidation())},c=i.displayValidation.isInvalid;return{...i,name:t,selectedValue:n,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:s,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}const Rp=new WeakMap;function w4(e,t,r){let{value:n,children:o,"aria-label":a,"aria-labelledby":s}=e;const i=e.isDisabled||t.isDisabled;let l=o!=null,c=a!=null||s!=null;!l&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let u=t.selectedValue===n,d=m=>{m.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:h}=vr({isDisabled:i}),{pressProps:g,isPressed:v}=vr({isDisabled:i,onPress(){t.setSelectedValue(n)}}),{focusableProps:b}=na(de(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),P=de(p,b),x=qr(e,{labelable:!0}),w=-1;t.selectedValue!=null?t.selectedValue===n&&(w=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(w=0),i&&(w=void 0);let{name:T,descriptionId:$,errorMessageId:E,validationBehavior:A}=Rp.get(t);return As(r,t.selectedValue,t.setSelectedValue),el({validationBehavior:A},t,r),{labelProps:de(g,{onClick:m=>m.preventDefault()}),inputProps:de(x,{...P,type:"radio",name:T,tabIndex:w,disabled:i,required:t.isRequired&&A==="native",checked:u,value:n,onChange:d,"aria-describedby":[e["aria-describedby"],t.isInvalid?E:null,$].filter(Boolean).join(" ")||void 0}),isDisabled:i,isSelected:u,isPressed:h||v}}function C4(e,t){let{name:r,isReadOnly:n,isRequired:o,isDisabled:a,orientation:s="vertical",validationBehavior:i="aria"}=e,{direction:l}=Os(),{isInvalid:c,validationErrors:u,validationDetails:d}=t.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:g,errorMessageProps:v}=Fp({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),b=qr(e,{labelable:!0}),{focusWithinProps:P}=ea({onBlurWithin(T){var $;($=e.onBlur)===null||$===void 0||$.call(e,T),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=T=>{let $;switch(T.key){case"ArrowRight":l==="rtl"&&s!=="vertical"?$="prev":$="next";break;case"ArrowLeft":l==="rtl"&&s!=="vertical"?$="next":$="prev";break;case"ArrowDown":$="next";break;case"ArrowUp":$="prev";break;default:return}T.preventDefault();let E=Gs(T.currentTarget,{from:T.target}),A;$==="next"?(A=E.nextNode(),A||(E.currentNode=T.currentTarget,A=E.firstChild())):(A=E.previousNode(),A||(E.currentNode=T.currentTarget,A=E.lastChild())),A&&(A.focus(),t.setSelectedValue(A.value))},w=Yr(r);return Rp.set(t,{name:w,descriptionId:g.id,errorMessageId:v.id,validationBehavior:i}),{radioGroupProps:de(b,{role:"radiogroup",onKeyDown:x,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":o||void 0,"aria-disabled":a||void 0,"aria-orientation":s,...h,...P}),labelProps:p,descriptionProps:g,errorMessageProps:v,isInvalid:c,validationErrors:u,validationDetails:d}}function P4(e){const{as:t,ref:r,classNames:n,children:o,label:a,value:s,name:i,size:l="md",color:c="primary",isDisabled:u=!1,disableAnimation:d=!1,orientation:p="vertical",isRequired:h=!1,validationState:g,isInvalid:v=g==="invalid",isReadOnly:b,errorMessage:P,description:x,className:w,onChange:T,onValueChange:$,...E}=e,A=t||"div",m=at(r),k=f.useMemo(()=>({...E,value:s,name:i,"aria-label":Xs(E["aria-label"],a),isRequired:h,isReadOnly:b,isInvalid:v,orientation:p,onChange:$}),[E,s,i,a,h,b,v,p,$]),I=x4(k),{labelProps:S,radioGroupProps:N,errorMessageProps:C,descriptionProps:M}=C4(k,I),O=f.useMemo(()=>({size:l,color:c,groupState:I,isRequired:h,isInvalid:v,isDisabled:u,disableAnimation:d,onChange:T}),[l,c,h,u,v,T,d,I.name,I==null?void 0:I.isDisabled,I==null?void 0:I.isReadOnly,I==null?void 0:I.isRequired,I==null?void 0:I.selectedValue,I==null?void 0:I.lastFocusedValue]),_=f.useMemo(()=>Vg({isRequired:h,isInvalid:v,disableAnimation:d}),[v,h,d]),D=ve(n==null?void 0:n.base,w),z=f.useCallback(()=>({ref:m,className:_.base({class:D}),...de(N,E)}),[m,_,D,N,E]),X=f.useCallback(()=>({className:_.label({class:n==null?void 0:n.label}),...S}),[_,n==null?void 0:n.label,S,n==null?void 0:n.label]),G=f.useCallback(()=>({className:_.wrapper({class:n==null?void 0:n.wrapper}),role:"presentation","data-orientation":p}),[_,n==null?void 0:n.wrapper,p,_.wrapper]),U=f.useCallback((B={})=>({...B,...M,className:_.description({class:ve(n==null?void 0:n.description,B==null?void 0:B.className)})}),[_,n==null?void 0:n.description,M,_.description]),F=f.useCallback((B={})=>({...B,...C,className:_.errorMessage({class:ve(n==null?void 0:n.errorMessage,B==null?void 0:B.className)})}),[_,n==null?void 0:n.errorMessage,C]);return{Component:A,children:o,label:a,context:O,errorMessage:P,description:x,getGroupProps:z,getLabelProps:X,getWrapperProps:G,getDescriptionProps:U,getErrorMessageProps:F}}var[M4,S4]=ia({name:"RadioGroupContext",strict:!1}),Up=yt((e,t)=>{const{Component:r,children:n,label:o,context:a,description:s,errorMessage:i,getGroupProps:l,getLabelProps:c,getWrapperProps:u,getDescriptionProps:d,getErrorMessageProps:p}=P4({...e,ref:t});return L.jsxs(r,{...l(),children:[o&&L.jsx("span",{...c(),children:o}),L.jsx("div",{...u(),children:L.jsx(M4,{value:a,children:n})}),i?L.jsx("div",{...p(),children:i}):s?L.jsx("div",{...d(),children:s}):null]})});Up.displayName="NextUI.RadioGroup";var T4=Up;function E4(e){var t,r,n,o;const a=S4(),{as:s,ref:i,classNames:l,id:c,value:u,children:d,description:p,size:h=(t=a==null?void 0:a.size)!=null?t:"md",color:g=(r=a==null?void 0:a.color)!=null?r:"primary",isDisabled:v=(n=a==null?void 0:a.isDisabled)!=null?n:!1,disableAnimation:b=(o=a==null?void 0:a.disableAnimation)!=null?o:!1,onChange:P=a==null?void 0:a.onChange,autoFocus:x=!1,className:w,...T}=e;a&&ju&&("checked"in T&&sa('Remove props "checked" if in the Radio.Group.',"Radio"),u===void 0&&sa('Props "value" must be defined if in the Radio.Group.',"Radio"));const $=s||"label",E=at(i),A=f.useRef(null),m=f.useId(),k=f.useMemo(()=>{var se;return(se=a.isRequired)!=null?se:!1},[a.isRequired]),I=a.isInvalid,S=f.useMemo(()=>{const se=T["aria-label"]||typeof d=="string"?d:void 0,te=T["aria-describedby"]||typeof p=="string"?p:void 0;return{id:c,isRequired:k,isDisabled:v,"aria-label":se,"aria-labelledby":T["aria-labelledby"]||m,"aria-describedby":te}},[m,c,v,k]),{inputProps:N,isDisabled:C,isSelected:M,isPressed:O}=w4({value:u,children:d,...a,...S},a.groupState,A),{focusProps:_,isFocused:D,isFocusVisible:z}=Et({autoFocus:x}),X=C||N.readOnly,[G,U]=f.useState(!1),{pressProps:F}=Wn({isDisabled:X,onPressStart(se){se.pointerType!=="keyboard"&&U(!0)},onPressEnd(se){se.pointerType!=="keyboard"&&U(!1)}}),{hoverProps:B,isHovered:q}=xr({isDisabled:X}),K=X?!1:G||O,Q=f.useMemo(()=>Fg({color:g,size:h,isInvalid:I,isDisabled:C,disableAnimation:b}),[g,h,C,I,b]),ne=ve(l==null?void 0:l.base,w),le=f.useCallback((se={})=>({...se,ref:E,className:Q.base({class:ne}),"data-disabled":ee(C),"data-focus":ee(D),"data-focus-visible":ee(z),"data-selected":ee(M),"data-invalid":ee(I),"data-hover":ee(q),"data-pressed":ee(K),"data-hover-unselected":ee(q&&!M),"data-readonly":ee(N.readOnly),"aria-required":ee(k),...de(B,F,T)}),[Q,ne,E,C,D,z,M,I,q,K,N.readOnly,k,T]),ce=f.useCallback((se={})=>({...se,"aria-hidden":!0,className:ve(Q.wrapper({class:ve(l==null?void 0:l.wrapper,se.className)}))}),[Q,l==null?void 0:l.wrapper]),ue=f.useCallback((se={})=>({...se,ref:A,required:k,...de(N,_),onChange:gr(N.onChange,P)}),[N,_,k,P]),ge=f.useCallback((se={})=>({...se,id:m,className:Q.label({class:l==null?void 0:l.label})}),[Q,l==null?void 0:l.label,C,M,I]),Se=f.useCallback((se={})=>({...se,className:Q.labelWrapper({class:l==null?void 0:l.labelWrapper})}),[Q,l==null?void 0:l.labelWrapper]),Te=f.useCallback((se={})=>({...se,className:Q.control({class:l==null?void 0:l.control})}),[Q,l==null?void 0:l.control]);return{Component:$,children:d,slots:Q,classNames:l,description:p,isSelected:M,isDisabled:C,isInvalid:I,isFocusVisible:z,getBaseProps:le,getWrapperProps:ce,getInputProps:ue,getLabelProps:ge,getLabelWrapperProps:Se,getControlProps:Te}}var Gp=yt((e,t)=>{const{Component:r,children:n,slots:o,classNames:a,description:s,getBaseProps:i,getWrapperProps:l,getInputProps:c,getLabelProps:u,getLabelWrapperProps:d,getControlProps:p}=E4({...e,ref:t});return L.jsxs(r,{...i(),children:[L.jsx(Ys,{children:L.jsx("input",{...c()})}),L.jsx("span",{...l(),children:L.jsx("span",{...p()})}),L.jsxs("div",{...d(),children:[n&&L.jsx("span",{...u(),children:n}),s&&L.jsx("span",{className:o.description({class:a==null?void 0:a.description}),children:s})]})]})});Gp.displayName="NextUI.Radio";var $4=Gp;function D4(e,t,r){let{labelProps:n,inputProps:o,isSelected:a,isPressed:s,isDisabled:i,isReadOnly:l}=_p(e,t,r);return{labelProps:n,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:s,isDisabled:i,isReadOnly:l}}function k4(e={}){const[t,r]=Fn(e,ku.variantKeys),{ref:n,as:o,name:a,value:s="",isReadOnly:i=!1,autoFocus:l=!1,startContent:c,endContent:u,defaultSelected:d,isSelected:p,children:h,thumbIcon:g,className:v,classNames:b,onChange:P,onValueChange:x,...w}=t,T=o||"label",$=f.useRef(null),E=Lu(n,$),A=f.useId(),m=f.useMemo(()=>{const te=w["aria-label"]||typeof h=="string"?h:void 0;return{name:a,value:s,children:h,autoFocus:l,defaultSelected:d,isSelected:p,isDisabled:!!e.isDisabled,isReadOnly:i,"aria-label":te,"aria-labelledby":w["aria-labelledby"]||A,onChange:x}},[s,a,A,h,l,i,p,d,e.isDisabled,w["aria-label"],w["aria-labelledby"],x]),k=ol(m),{inputProps:I,isPressed:S,isReadOnly:N}=D4(m,k,$),{focusProps:C,isFocused:M,isFocusVisible:O}=Et({autoFocus:I.autoFocus}),{hoverProps:_,isHovered:D}=xr({isDisabled:I.disabled}),z=m.isDisabled||N,[X,G]=f.useState(!1),{pressProps:U}=Wn({isDisabled:z,onPressStart(te){te.pointerType!=="keyboard"&&G(!0)},onPressEnd(te){te.pointerType!=="keyboard"&&G(!1)}}),F=z?!1:X||S,B=I.checked,q=I.disabled,K=f.useMemo(()=>ku({...r}),[...Object.values(r)]),Q=ve(b==null?void 0:b.base,v),ne=te=>({...de(_,U,w,te),ref:E,className:K.base({class:ve(Q,te==null?void 0:te.className)}),"data-disabled":ee(q),"data-selected":ee(B),"data-readonly":ee(N),"data-focus":ee(M),"data-focus-visible":ee(O),"data-hover":ee(D),"data-pressed":ee(F)}),le=f.useCallback((te={})=>({...te,"aria-hidden":!0,className:ve(K.wrapper({class:ve(b==null?void 0:b.wrapper,te==null?void 0:te.className)}))}),[K,b==null?void 0:b.wrapper]),ce=(te={})=>({...de(I,C,te),ref:$,id:I.id,onChange:gr(P,I.onChange)}),ue=f.useCallback((te={})=>({...te,className:K.thumb({class:ve(b==null?void 0:b.thumb,te==null?void 0:te.className)})}),[K,b==null?void 0:b.thumb]),ge=f.useCallback((te={})=>({...te,id:A,className:K.label({class:ve(b==null?void 0:b.label,te==null?void 0:te.className)})}),[K,b==null?void 0:b.label,q,B]),Se=f.useCallback((te={includeStateProps:!1})=>de({width:"1em",height:"1em",className:K.thumbIcon({class:ve(b==null?void 0:b.thumbIcon)})},te.includeStateProps?{isSelected:B}:{}),[K,b==null?void 0:b.thumbIcon,B]),Te=f.useCallback((te={})=>({width:"1em",height:"1em",...te,className:K.startContent({class:ve(b==null?void 0:b.startContent,te==null?void 0:te.className)})}),[K,b==null?void 0:b.startContent,B]),se=f.useCallback((te={})=>({width:"1em",height:"1em",...te,className:K.endContent({class:ve(b==null?void 0:b.endContent,te==null?void 0:te.className)})}),[K,b==null?void 0:b.endContent,B]);return{Component:T,slots:K,classNames:b,domRef:E,children:h,thumbIcon:g,startContent:c,endContent:u,isHovered:D,isSelected:B,isPressed:F,isFocused:M,isFocusVisible:O,isDisabled:q,getBaseProps:ne,getWrapperProps:le,getInputProps:ce,getLabelProps:ge,getThumbProps:ue,getThumbIconProps:Se,getStartContentProps:Te,getEndContentProps:se}}var Hp=yt((e,t)=>{const{Component:r,children:n,startContent:o,endContent:a,thumbIcon:s,getBaseProps:i,getInputProps:l,getWrapperProps:c,getThumbProps:u,getThumbIconProps:d,getLabelProps:p,getStartContentProps:h,getEndContentProps:g}=k4({...e,ref:t}),v=typeof s=="function"?s(d({includeStateProps:!0})):s&&f.cloneElement(s,d()),b=o&&f.cloneElement(o,h()),P=a&&f.cloneElement(a,g());return L.jsxs(r,{...i(),children:[L.jsx(Ys,{children:L.jsx("input",{...l()})}),L.jsxs("span",{...c(),children:[o&&b,L.jsx("span",{...u(),children:s&&v}),a&&P]}),n&&L.jsx("span",{...p(),children:n})]})});Hp.displayName="NextUI.Switch";var I4=Hp;function A4(e={}){const{rerender:t=!1,delay:r=0}=e,n=f.useRef(!1),[o,a]=f.useState(!1);return f.useEffect(()=>{n.current=!0;let s=null;return t&&(r>0?s=setTimeout(()=>{a(!0)},r):a(!0)),()=>{n.current=!1,t&&a(!1),s&&clearTimeout(s)}},[t]),[f.useCallback(()=>n.current,[]),o]}function N4(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,type:s="text",validationBehavior:i="aria"}=e,[l,c]=Hr(e.value,e.defaultValue||"",e.onChange),{focusableProps:u}=na(e,t),d=ja({...e,value:l}),{isInvalid:p,validationErrors:h,validationDetails:g}=d.displayValidation,{labelProps:v,fieldProps:b,descriptionProps:P,errorMessageProps:x}=Fp({...e,isInvalid:p,errorMessage:e.errorMessage||h}),w=qr(e,{labelable:!0});const T={type:s,pattern:e.pattern};return As(t,l,c),el(e,d,t),f.useEffect(()=>{if(t.current instanceof On(t.current).HTMLTextAreaElement){let $=t.current;Object.defineProperty($,"defaultValue",{get:()=>$.value,set:()=>{},configurable:!0})}},[t]),{labelProps:v,inputProps:de(w,r==="input"&&T,{disabled:n,readOnly:a,required:o&&i==="native","aria-required":o&&i==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:l,onChange:$=>c($.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...b}),descriptionProps:P,errorMessageProps:x,isInvalid:p,validationErrors:h,validationDetails:g}}function O4(e){const[t,r]=Fn(e,Iu.variantKeys),{ref:n,as:o,label:a,baseRef:s,wrapperRef:i,description:l,errorMessage:c,className:u,classNames:d,autoFocus:p,startContent:h,endContent:g,onClear:v,onChange:b,validationState:P,innerWrapperRef:x,onValueChange:w=()=>{},...T}=t,$=f.useCallback(he=>{w(he??"")},[w]),[E,A]=Hr(t.value,t.defaultValue,$),[m,k]=f.useState(!1),I=o||"div",S=!!E,N=S||m,C=ve(d==null?void 0:d.base,u,S?"is-filled":""),M=e.isMultiline,O=at(n),_=at(s),D=at(i),z=at(x),X=f.useCallback(()=>{A(""),O.current&&(O.current.value="",O.current.focus()),v==null||v()},[O,A,v]),{labelProps:G,inputProps:U,descriptionProps:F,errorMessageProps:B}=N4({...e,"aria-label":Xs(e==null?void 0:e["aria-label"],e==null?void 0:e.label,e==null?void 0:e.placeholder),inputElementType:M?"textarea":"input",onChange:A},O),{isFocusVisible:q,isFocused:K,focusProps:Q}=Et({autoFocus:p,isTextInput:!0}),{isHovered:ne,hoverProps:le}=xr({isDisabled:!!(e!=null&&e.isDisabled)}),{focusProps:ce,isFocusVisible:ue}=Et(),{focusWithinProps:ge}=ea({onFocusWithinChange:k}),{pressProps:Se}=vr({isDisabled:!!(e!=null&&e.isDisabled),onPress:X}),Te=P==="invalid"||e.isInvalid,se=f.useMemo(()=>{var he;return(!e.labelPlacement||e.labelPlacement==="inside")&&!a?"outside":(he=e.labelPlacement)!=null?he:"inside"},[e.labelPlacement,a]),te=!!v||e.isClearable,je=!!a||!!l||!!c,Fe=!!t.placeholder,Ve=!!a,Ie=!!l||!!c,Nt=se==="outside"||se==="outside-left",vt=se==="inside",rt=O.current?(!O.current.value||O.current.value===""||!E||E==="")&&Fe:!1,Wr=se==="outside-left",Qe=!!h,Xe=Nt?se==="outside-left"||Fe||se==="outside"&&Qe:!1,Br=se==="outside"&&!Fe&&!Qe,Ce=f.useMemo(()=>Iu({...r,isInvalid:Te,isClearable:te}),[...Object.values(r),Te,te,Qe]),$o=f.useCallback((he={})=>({ref:_,className:Ce.base({class:C}),"data-slot":"base","data-filled":ee(S||Fe||Qe||rt),"data-filled-within":ee(N||Fe||Qe||rt),"data-focus-within":ee(m),"data-focus-visible":ee(q),"data-readonly":ee(e.isReadOnly),"data-focus":ee(K),"data-hover":ee(ne),"data-required":ee(e.isRequired),"data-invalid":ee(Te),"data-disabled":ee(e.isDisabled),"data-has-elements":ee(je),"data-has-helper":ee(Ie),"data-has-label":ee(Ve),"data-has-value":ee(!rt),...ge,...he}),[Ce,C,S,K,ne,Te,Ie,Ve,je,rt,Qe,m,q,N,Fe,ge,e.isReadOnly,e.isRequired,e.isDisabled]),Kr=f.useCallback((he={})=>({"data-slot":"label",className:Ce.label({class:d==null?void 0:d.label}),...G,...he}),[Ce,G,d==null?void 0:d.label]),Rr=f.useCallback((he={})=>({ref:O,"data-slot":"input","data-filled":ee(S),"data-filled-within":ee(N),"data-has-start-content":ee(Qe),"data-has-end-content":ee(!!g),className:Ce.input({class:ve(d==null?void 0:d.input,E?"is-filled":"")}),...de(Q,U,zn(T,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(U))}),he),required:e.isRequired,"aria-readonly":ee(e.isReadOnly),"aria-required":ee(e.isRequired),onChange:gr(U.onChange,b)}),[Ce,E,Q,U,T,S,N,Qe,g,d==null?void 0:d.input,e.isReadOnly,e.isRequired,b]),Qt=f.useCallback((he={})=>({ref:D,"data-slot":"input-wrapper","data-hover":ee(ne),"data-focus-visible":ee(q),"data-focus":ee(K),className:Ce.inputWrapper({class:ve(d==null?void 0:d.inputWrapper,E?"is-filled":"")}),...de(he,le),onClick:dt=>{O.current&&dt.currentTarget===dt.target&&O.current.focus()},style:{cursor:"text",...he.style}}),[Ce,ne,q,K,E,d==null?void 0:d.inputWrapper]),Do=f.useCallback((he={})=>({...he,ref:z,"data-slot":"inner-wrapper",onClick:dt=>{O.current&&dt.currentTarget===dt.target&&O.current.focus()},className:Ce.innerWrapper({class:ve(d==null?void 0:d.innerWrapper,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.innerWrapper]),ko=f.useCallback((he={})=>({...he,"data-slot":"main-wrapper",className:Ce.mainWrapper({class:ve(d==null?void 0:d.mainWrapper,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.mainWrapper]),Io=f.useCallback((he={})=>({...he,"data-slot":"helper-wrapper",className:Ce.helperWrapper({class:ve(d==null?void 0:d.helperWrapper,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.helperWrapper]),Ao=f.useCallback((he={})=>({...he,...F,"data-slot":"description",className:Ce.description({class:ve(d==null?void 0:d.description,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.description]),No=f.useCallback((he={})=>({...he,...B,"data-slot":"error-message",className:Ce.errorMessage({class:ve(d==null?void 0:d.errorMessage,he==null?void 0:he.className)})}),[Ce,B,d==null?void 0:d.errorMessage]),Oo=f.useCallback((he={})=>({...he,role:"button",tabIndex:0,"data-slot":"clear-button","data-focus-visible":ee(ue),className:Ce.clearButton({class:ve(d==null?void 0:d.clearButton,he==null?void 0:he.className)}),...de(Se,ce)}),[Ce,ue,Se,ce,d==null?void 0:d.clearButton]);return{Component:I,classNames:d,domRef:O,label:a,description:l,startContent:h,endContent:g,labelPlacement:se,isClearable:te,isInvalid:Te,hasHelper:Ie,hasStartContent:Qe,isLabelOutside:Xe,isOutsideLeft:Wr,isLabelOutsideAsPlaceholder:Br,shouldLabelBeOutside:Nt,shouldLabelBeInside:vt,hasPlaceholder:Fe,errorMessage:c,getBaseProps:$o,getLabelProps:Kr,getInputProps:Rr,getMainWrapperProps:ko,getInputWrapperProps:Qt,getInnerWrapperProps:Do,getHelperWrapperProps:Io,getDescriptionProps:Ao,getErrorMessageProps:No,getClearButtonProps:Oo}}var _a="right-scroll-bar-position",Fa="width-before-scroll-bar",j4="with-scroll-bars-hidden",L4="--removed-body-scroll-bar-size";function _4(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function F4(e,t){var r=f.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function V4(e,t){return F4(t||null,function(r){return e.forEach(function(n){return _4(n,r)})})}function z4(e){return e}function W4(e,t){t===void 0&&(t=z4);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(i){return a(i)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var i=r;r=[],i.forEach(a),s=r}var l=function(){var u=s;s=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),r}}}};return o}function B4(e){e===void 0&&(e={});var t=W4(null);return t.options=Tt({async:!0,ssr:!1},e),t}var Yp=function(e){var t=e.sideCar,r=lu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return W.createElement(n,Tt({},r))};Yp.isSideCarExport=!0;function K4(e,t){return e.useMedium(t),Yp}var qp,R4=function(){if(qp)return qp;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function U4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=R4();return t&&e.setAttribute("nonce",t),e}function G4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function H4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Y4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=U4())&&(G4(t,r),H4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},q4=function(){var e=Y4();return function(t,r){W.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Qp=function(){var e=q4(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Q4={left:0,top:0,right:0,gap:0},sl=function(e){return parseInt(e||"",10)||0},X4=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[sl(r),sl(n),sl(o)]},Z4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Q4;var t=X4(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},J4=Qp(),e3=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,i=e.gap;return r===void 0&&(r="margin"),`
36
+ .`.concat(j4,` {
37
37
  overflow: hidden `).concat(n,`;
38
38
  padding-right: `).concat(i,"px ").concat(n,`;
39
39
  }
@@ -50,29 +50,29 @@ Check the top-level render call using <`+_+">.")}return A}}function xo(v,A){{if(
50
50
  `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),`
51
51
  }
52
52
 
53
- .`).concat(ya,` {
53
+ .`).concat(_a,` {
54
54
  right: `).concat(i,"px ").concat(n,`;
55
55
  }
56
56
 
57
- .`).concat(xa,` {
57
+ .`).concat(Fa,` {
58
58
  margin-right: `).concat(i,"px ").concat(n,`;
59
59
  }
60
60
 
61
- .`).concat(ya," .").concat(ya,` {
61
+ .`).concat(_a," .").concat(_a,` {
62
62
  right: 0 `).concat(n,`;
63
63
  }
64
64
 
65
- .`).concat(xa," .").concat(xa,` {
65
+ .`).concat(Fa," .").concat(Fa,` {
66
66
  margin-right: 0 `).concat(n,`;
67
67
  }
68
68
 
69
69
  body {
70
- `).concat(Ay,": ").concat(i,`px;
70
+ `).concat(L4,": ").concat(i,`px;
71
71
  }
72
- `)},Xy=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=G.useMemo(function(){return Gy(o)},[o]);return G.createElement(qy,{styles:Qy(a,!t,o,r?"":"!important")})};const y1=new WeakMap;function wa(e,t,r){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${y1.get(e)}-${r}-${t}`}function Zy(e,t,r){var n;let{key:o,isDisabled:a,shouldSelectOnPressUp:s}=e,{selectionManager:i,selectedKey:l}=t,c=o===l,u=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:d,isPressed:p}=Xm({selectionManager:i,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:s,linkBehavior:"selection"}),h=wa(t,o,"tab"),g=wa(t,o,"tabpanel"),{tabIndex:b}=d,y=t.collection.getItem(o),P=Fr(y==null?void 0:y.props,{isLink:!!(!(y==null||(n=y.props)===null||n===void 0)&&n.href),labelable:!0});return delete P.id,{tabProps:ie(P,d,{id:h,"aria-selected":c,"aria-disabled":u||void 0,"aria-controls":c?g:void 0,tabIndex:u?void 0:b,role:"tab"}),isSelected:c,isDisabled:u,isPressed:p}}function Jy(e,t,r){let n=Pm(r)?void 0:0;var o;const a=wa(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),s=cs({...e,id:a,"aria-labelledby":wa(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:ie(s,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class e4{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,r,n,o=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=o}}function t4(e,t,r){let{orientation:n="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:s,disabledKeys:i}=t,{direction:l}=hs(),c=f.useMemo(()=>new e4(a,l,n,i),[a,i,n,l]),{collectionProps:u}=Qm({ref:r,selectionManager:s,keyboardDelegate:c,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),d=_r();y1.set(t,d);let p=cs({...e,id:d});return{tabListProps:{...ie(u,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}var x1=vt((e,t)=>{var r,n,o;const{as:a,state:s,className:i,slots:l,classNames:c,...u}=e,d=a||"div",p=nt(t),{tabPanelProps:h}=Jy(e,s,p),{focusProps:g,isFocused:b,isFocusVisible:y}=Mt(),P=s.selectedItem,x=(r=P==null?void 0:P.props)==null?void 0:r.children,C=me(c==null?void 0:c.panel,i,(n=P==null?void 0:P.props)==null?void 0:n.className);return x?L.jsx(d,{ref:p,"data-focus":b,"data-focus-visible":y,...ie(h,g,u),className:(o=l.panel)==null?void 0:o.call(l,{class:C}),"data-slot":"panel",children:x}):null});x1.displayName="NextUI.TabPanel";var r4=x1,w1=vt((e,t)=>{var r;const{className:n,as:o,item:a,state:s,classNames:i,isDisabled:l,listRef:c,slots:u,motionProps:d,disableAnimation:p,disableCursorAnimation:h,shouldSelectOnPressUp:g,onClick:b,...y}=e,{key:P}=a,x=nt(t),C=o||(e.href?"a":"button"),S=typeof C=="string",{tabProps:$,isSelected:N,isDisabled:j,isPressed:m}=Zy({key:P,isDisabled:l,shouldSelectOnPressUp:g},s,x),D=l||j,{focusProps:I,isFocused:T,isFocusVisible:k}=Mt(),{hoverProps:w,isHovered:M}=mr({isDisabled:D}),O=me(i==null?void 0:i.tab,n),[,F]=$y({rerender:!0}),E=()=>{dr(b,$.onClick),!(!(x!=null&&x.current)||!(c!=null&&c.current))&&py(x.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:c==null?void 0:c.current})};return L.jsxs(C,{ref:x,"data-disabled":Q(j),"data-focus":Q(T),"data-focus-visible":Q(k),"data-hover":Q(M),"data-hover-unselected":Q((M||m)&&!N),"data-pressed":Q(m),"data-selected":Q(N),"data-slot":"tab",...ie($,D?{}:{...I,...w},Sn(y,{enabled:S,omitPropNames:new Set(["title"])})),className:(r=u.tab)==null?void 0:r.call(u,{class:O}),title:y==null?void 0:y.titleValue,type:C==="button"?"button":void 0,onClick:E,children:[N&&!p&&!h&&F?L.jsx(Wf.span,{className:u.cursor({class:i==null?void 0:i.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...d}):null,L.jsx("div",{className:u.tabContent({class:i==null?void 0:i.tabContent}),"data-slot":"tabContent",children:a.rendered})]})});w1.displayName="NextUI.Tab";var n4=w1;class C1{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of t)r(a);let n,o=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),n=s,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function o4(e){let{filter:t}=e,r=A5(e),n=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=f.useCallback(c=>t?new C1(t(c)):new C1(c),[t]),a=f.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=E5(e,o,a),i=f.useMemo(()=>new O5(s,r),[s,r]);const l=f.useRef(null);return f.useEffect(()=>{if(r.focusedKey!=null&&!s.getItem(r.focusedKey)){const c=l.current.getItem(r.focusedKey),u=[...l.current.getKeys()].map(b=>{const y=l.current.getItem(b);return y.type==="item"?y:null}).filter(b=>b!==null),d=[...s.getKeys()].map(b=>{const y=s.getItem(b);return y.type==="item"?y:null}).filter(b=>b!==null),p=u.length-d.length;let h=Math.min(p>1?Math.max(c.index-p+1,0):c.index,d.length-1),g;for(;h>=0;){if(!i.isDisabled(d[h].key)){g=d[h];break}h<d.length-1?h++:(h>c.index&&(h=c.index),h--)}r.setFocusedKey(g?g.key:null)}l.current=s},[s,i,r,r.focusedKey]),{collection:s,disabledKeys:n,selectionManager:i}}function a4(e){var t;let[r,n]=Lr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=f.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:s,selectionManager:i}=o4({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:c=>{var u;let d=(u=c.values().next().value)!==null&&u!==void 0?u:null;d===r&&e.onSelectionChange&&e.onSelectionChange(d),n(d)}}),l=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:s,selectionManager:i,selectedKey:r,setSelectedKey:n,selectedItem:l}}function s4(e){var t;let r=a4({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:P1(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:n,collection:o,selectedKey:a}=r,s=f.useRef(a);return f.useEffect(()=>{let i=a;(n.isEmpty||!o.getItem(i))&&(i=P1(o,r.disabledKeys),i!=null&&n.setSelectedKeys([i])),(i!=null&&n.focusedKey==null||!n.isFocused&&i!==s.current)&&n.setFocusedKey(i),s.current=i}),{...r,isDisabled:e.isDisabled||!1}}function P1(e,t){let r=null;if(e){for(r=e.getFirstKey();t.has(r)&&r!==e.getLastKey();)r=e.getKeyAfter(r);t.has(r)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}function i4(e){const[t,r]=Mn(e,Xc.variantKeys),{ref:n,as:o,className:a,classNames:s,children:i,disableCursorAnimation:l,shouldSelectOnPressUp:c=!0,motionProps:u,...d}=t,p=o||"div",h=typeof p=="string",g=nt(n),b=s4({children:i,...d}),{tabListProps:y}=t4(d,b,g),P=f.useMemo(()=>Xc({...r,className:a}),[...Object.values(r),a]),x=me(s==null?void 0:s.base,a),C=f.useMemo(()=>({state:b,slots:P,classNames:s,motionProps:u,listRef:g,shouldSelectOnPressUp:c,disableCursorAnimation:l,isDisabled:e==null?void 0:e.isDisabled,disableAnimation:e==null?void 0:e.disableAnimation}),[b,P,g,u,l,c,e==null?void 0:e.disableAnimation,e==null?void 0:e.isDisabled,s]),S=f.useCallback(N=>({"data-slot":"base",className:P.base({class:me(x,N==null?void 0:N.className)}),...ie(Sn(d,{enabled:h}),N)}),[x,d,P]),$=f.useCallback(N=>({ref:g,"data-slot":"tabList",className:P.tabList({class:me(s==null?void 0:s.tabList,N==null?void 0:N.className)}),...ie(y,N)}),[g,y,s,P]);return{Component:p,domRef:g,state:b,values:C,getBaseProps:S,getTabListProps:$}}function M1(e,t){var r;const{Component:n,values:o,state:a,getBaseProps:s,getTabListProps:i}=i4({...e,ref:t}),l=f.useId(),c=!e.disableAnimation&&!e.disableCursorAnimation,u={state:a,listRef:o.listRef,slots:o.slots,classNames:o.classNames,isDisabled:o.isDisabled,motionProps:o.motionProps,disableAnimation:o.disableAnimation,shouldSelectOnPressUp:o.shouldSelectOnPressUp,disableCursorAnimation:o.disableCursorAnimation},d=[...a.collection].map(p=>L.jsx(n4,{item:p,...u,...p.props},p.key));return L.jsxs(L.Fragment,{children:[L.jsx("div",{...s(),children:L.jsx(n,{...i(),children:c?L.jsx(C5,{id:l,children:d}):d})}),L.jsx(r4,{classNames:o.classNames,slots:o.slots,state:o.state},(r=a.selectedItem)==null?void 0:r.key)]})}var l4=vt(M1);M1.displayName="NextUI.Tabs";var c4=M5,u4=c4;const d4=({icons:e,className:t})=>{const r=we({base:"bg-primary-grey-700",variants:{withIcon:{false:"h-6 w-11 px-[2px] group-data-[selected=true]:bg-secondary-green-500",true:"h-[52px] w-[88px] bg-secondary-green-500 group-data-[selected=true]:bg-primary-green-500"}}}),n=we({variants:{withIcon:{false:"h-5 w-5 group-data-[selected=true]:ml-5",true:"h-11 w-11 group-data-[selected=true]:ml-9"}}});return L.jsx(Ey,{classNames:{wrapper:r({withIcon:!!e,className:t}),thumb:n({withIcon:!!e})},thumbIcon:({isSelected:o,className:a})=>e&&(o?L.jsx(Ue,{name:e.selectedIcon,className:Gt(a,"text-lg")}):L.jsx(Ue,{name:e.unselectedIcon,className:Gt(a,"text-lg")}))})},f4=e=>L.jsx(uy,{classNames:{wrapper:"w-4 h-4 rounded-sm before:rounded-sm before:border before:border-primary-grey-700 after:rounded-sm after:bg-secondary-green-500",icon:"w-[11px] h-2.5 [&>*]:stroke-[4px]"},...e}),T1=({size:e="md",className:t,border:r=!1,image:n,label:o,...a})=>{const s=we({base:"bg-white font-satoshi font-bold capitalize text-white",variants:{size:{lg:"h-28 w-28 text-[48px]",md:"h-[72px] w-[72px] text-[32px]",sm:"h-12 w-12 text-[24px]",xs:"h-6 w-6 text-[12px]"},border:{true:"border-primary-grey-600"},isText:{true:"bg-complementary-violet-500 "}},compoundVariants:[{border:!0,size:"lg",class:"border-[4px]"},{border:!0,size:"md",class:"border-[3px]"},{border:!0,size:"sm",class:"border-2"},{border:!0,size:"xs",class:"border"}]}),i=we({base:"text-primary-grey-600",variants:{size:{xs:"text-[12px]",sm:"text-[24px]",md:"text-[32px]",lg:"text-[48px]"}}});return L.jsx(V5,{fallback:!o&&L.jsx(Ue,{name:"user",className:i({size:e})}),showFallback:!!o,src:n,name:o,className:s({size:e,border:r,isText:!!(o&&!n),className:t}),...a})},p4=({options:e,labelPosition:t="right",orientation:r="vertical"})=>L.jsx(Cy,{orientation:r,children:e.map(n=>L.jsxs("div",{className:"flex items-center gap-2",children:[t==="left"&&L.jsx("label",{"data-testid":"label-position-left",children:n.label}),L.jsx(My,{value:n.value,id:n.id,classNames:{wrapper:"border border-primary-grey-700 group-data-[selected=true]:border-secondary-green-500 group-data-[selected=true]:bg-secondary-green-500",control:"bg-white"}}),t==="right"&&n.label&&L.jsx("label",{"data-testid":"label-position-right",children:n.label})]},n.value))}),Wi=({children:e,size:t,variant:r="primary",disabled:n,full:o=!1,iconLeft:a,iconRight:s,className:i,isLoadingComplete:l,isLoading:c,...u})=>{const[d,p]=f.useState("w-0"),h=f.useRef(null);f.useEffect(()=>{if(c){let y=2;p("w-1/4"),h.current=setInterval(()=>{p(`w-${y}/4`),y<3?y++:h.current&&clearInterval(h.current)},1e3)}else h.current&&clearInterval(h.current),p("w-0")},[c]);const g=we({base:`absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in-out ${d}`,variants:{isLoadingComplete:{true:"w-full duration-500",false:""},loadingVariant:{primaryDark:"bg-white",primaryLight:"bg-primary-green-500 ",primary:"bg-primary-green-500 ",negative:"bg-complementary-red-700",secondaryNegative:"bg-complementary-red-50",secondary:"bg-secondary-green-50",tertiary:"",tertiaryDark:"",tertiaryLight:"",direction:"",directionCircle:"",icon:""}}}),b=we({base:"relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",variants:{size:{small:"h-9",medium:"h-12",large:"h-14"},variant:{primaryDark:"bg-white text-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:text-white focus:outline-primary-green-500",primaryLight:"bg-primary-green-500 hover:bg-white hover:text-secondary-green-500 focus:bg-white focus:text-secondary-green-500 focus:outline-secondary-green-500",primary:"bg-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:outline-white",negative:"bg-complementary-red-700 hover:border-transparent hover:bg-complementary-red-500 focus:bg-complementary-red-500 focus:outline-white",secondaryNegative:"border border-complementary-red-700 !bg-white font-medium text-complementary-red-700 hover:border-2 hover:border-complementary-red-500 hover:text-complementary-red-500 focus:border-[3px] focus:border-complementary-red-500 focus:text-complementary-red-500",secondary:"border border-primary-green-500 !bg-transparent font-medium text-primary-green-500 hover:border-2 hover:border-secondary-green-500 hover:text-secondary-green-500 focus:border-[3px] focus:border-secondary-green-500 focus:text-secondary-green-500",tertiary:"!bg-transparent px-4 font-medium text-primary-green-500 hover:text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryDark:"!bg-transparent px-4 font-medium text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryLight:"!bg-transparent px-4 font-medium text-primary-green-500 focus:font-bold focus:text-primary-green-500 focus:outline-none",direction:"h-10 bg-primary-green-500 p-2.5 font-medium hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",directionCircle:"font:medium !min-w-unit-10 bg-primary-green-500 !px-0 hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",icon:"!min-w-unit-10 bg-transparent !px-0 text-primary-green-500 hover:text-secondary-green-500"},full:{true:"w-full",false:""},disabled:{true:"",false:""},isLoading:{true:"",false:""},hasIcon:{true:"!px-6"}},compoundVariants:[{disabled:!0,isLoading:!1,class:"pointer-events-none border-transparent bg-primary-grey-500 font-medium text-primary-grey-700"},{variant:"primaryDark",isLoading:!0,class:"!bg-secondary-green-500 !text-primary-green-500 focus:bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"primaryLight",isLoading:!0,class:"!bg-white text-secondary-green-500 focus:outline-white"},{variant:"primary",isLoading:!0,class:"!bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"negative",isLoading:!0,class:"!bg-complementary-red-500 focus:outline-complementary-red-500"},{variant:"secondaryNegative",isLoading:!0,class:"!border !border-complementary-red-700 !bg-white text-complementary-red-700 focus:outline-none"},{variant:"secondary",isLoading:!0,class:"!border !border-secondary-green-500 !bg-white text-secondary-green-500 focus:outline-none"},{variant:"tertiary",isLoading:!0,class:"!font-medium"},{variant:"tertiaryDark",isLoading:!0,class:"!font-medium"},{variant:"tertiaryLight",isLoading:!0,class:"!font-medium"},{variant:"secondaryNegative",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"secondary",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"tertiary",disabled:!0,class:"bg-transparent underline"},{variant:"icon",disabled:!0,class:"bg-transparent"},{variant:"directionCircle",hasIcon:!0,class:"!min-w-unit-10 !px-0"}]});return f.useEffect(()=>()=>{h.current&&clearInterval(h.current)},[h]),L.jsx(G5,{disabled:c||n,className:Gt(i,b({size:t,variant:r,disabled:n,full:o,isLoading:c,hasIcon:!!(a||s)})),...u,children:L.jsxs("div",{children:[L.jsx("div",{className:Gt(g({isLoadingComplete:l,loadingVariant:r}))}),L.jsxs("div",{className:"relative flex items-center gap-3 text-center",children:[a&&(typeof a=="string"?L.jsx(Ue,{"data-testid":"button-component-icon-left",name:a}):a),e&&L.jsx("span",{className:r.includes("tertiary")?"underline":"",children:e}),s&&(typeof s=="string"?L.jsx(Ue,{"data-testid":"button-component-icon-right",name:s}):s)]})]})})},h4=({children:e,className:t,avatar:r,size:n="sm",disabled:o=!1,iconLeft:a,iconRight:s})=>{const i=we({base:"flex h-6 cursor-pointer items-center justify-center gap-2 border border-primary-green-500 bg-white px-2 pt-[1px] font-satoshi text-[10px] font-medium leading-[15px] text-primary-green-500 hover:border-secondary-green-500 hover:text-secondary-green-500 active:border-[2px] active:px-[7px]",variants:{size:{sm:"",lg:"h-[54px] gap-3 px-4 text-base active:px-[15px]"},hasAvatar:{true:"!border-0 bg-primary-grey-600 pl-6"},disabled:{true:"cursor-default !border-1 !border-primary-grey-500 bg-primary-grey-500 !text-primary-grey-800"}},compoundVariants:[{size:"sm",hasAvatar:!0,class:"pl-6 active:pl-[24px] active:pr-[8px]"},{size:"lg",hasAvatar:!0,class:"pl-14 active:pl-[56px] active:pr-[16px]"},{size:"sm",disabled:!0,class:"active:px-[8px]"},{size:"lg",disabled:!0,class:"active:px-[16px]"}]}),l=we({base:"absolute left-0 top-0",variants:{size:{sm:"",lg:"h-[54px] w-[54px]"}}}),c=we({base:"text-xs",variants:{size:{sm:"",lg:"text-lg"}}});return L.jsxs(t1,{size:n,className:Gt(i({hasAvatar:!!r,size:n,disabled:o,className:t})),startContent:a&&(typeof a=="string"?L.jsx(Ue,{className:c({size:n}),name:a}):a),endContent:s&&(typeof s=="string"?L.jsx(Ue,{className:c({size:n}),name:s}):s),children:[r&&L.jsx(T1,{className:l({size:n}),border:!1,size:"xs",image:r}),e]})},m4=({tabs:e,tabClass:t,size:r="md",onSelectionChange:n,...o})=>{const a=we({base:"bg-primary-grey-500 p-[1px]",variants:{size:{sm:"h-8",md:"h-9",lg:"h-12"}}}),s=we({base:"h-full font-medium text-primary-grey-800 data-[selected=true]:!font-bold data-[selected=true]:!text-primary-green-500 data-[hover='true']:opacity-100",variants:{size:{sm:"px-[40px]",md:"px-[80px]",lg:"px-[75px]"},tabClass:{}}}),i=we({base:"!text-white shadow-none"}),l=we({base:"!font-inherit flex items-center gap-2 font-satoshi !text-inherit",variants:{size:{sm:"text-[14px]",md:"text-[14px]",lg:"text-[20px]"}}});return L.jsx(l4,{onClick:c=>{const u=c.target,d=u.parentElement.getAttribute("data-selected");let p=u.getAttribute("data-key");p||(p=u.parentElement.getAttribute("data-key")),!d&&p&&n(p)},classNames:{tabList:a({size:r}),tab:s({size:r,className:t}),cursor:i(),tabContent:l({size:r})},radius:"full",size:r,...o,children:e.map(({key:c,title:u,component:d,icon:p})=>L.jsx(u4,{title:L.jsxs(L.Fragment,{children:[p&&(typeof p=="string"?L.jsx(Ue,{className:"text-[16px]",name:p}):p)," ",u]}),children:d},c))})},S1=({message:e,actions:t,inlineActions:r=!0})=>{const n=we({base:"flex gap-3 rounded-lg bg-primary-black-400 p-4",variants:{inlineActions:{true:"flex flex-row",false:"flex flex-col items-end justify-end"},toastType:{alert:"rounded-2xl bg-primary-grey-600",snackbar:"bg-primary-black-400",banner:"rounded-2xl bg-complementary-red-500"}}});return L.jsxs("div",{className:n({inlineActions:r}),children:[L.jsx("div",{className:"flex flex-1 items-center gap-4",children:L.jsx("p",{className:"font-satoshi text-sm",children:e})}),L.jsx("div",{children:t&&L.jsx("div",{className:"flex",children:t.map(({label:o,onClick:a})=>L.jsx(Wi,{onClick:a,variant:"tertiaryDark",children:o},o))})})]})};function E1(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=E1(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function nr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=E1(e))&&(n&&(n+=" "),n+=t);return n}const Kn=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",at=e=>typeof e=="function",Ca=e=>Tr(e)||at(e)?e:null,Bi=e=>f.isValidElement(e)||Tr(e)||at(e)||Kn(e);function g4(e,t,r){r===void 0&&(r=300);const{scrollHeight:n,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=n+"px",o.transition=`all ${r}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)})})}function Un(e){let{enter:t,exit:r,appendPosition:n=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(s){let{children:i,position:l,preventExitTransition:c,done:u,nodeRef:d,isIn:p,playToast:h}=s;const g=n?`${t}--${l}`:t,b=n?`${r}--${l}`:r,y=f.useRef(0);return f.useLayoutEffect(()=>{const P=d.current,x=g.split(" "),C=S=>{S.target===d.current&&(h(),P.removeEventListener("animationend",C),P.removeEventListener("animationcancel",C),y.current===0&&S.type!=="animationcancel"&&P.classList.remove(...x))};P.classList.add(...x),P.addEventListener("animationend",C),P.addEventListener("animationcancel",C)},[]),f.useEffect(()=>{const P=d.current,x=()=>{P.removeEventListener("animationend",x),o?g4(P,u,a):u()};p||(c?x():(y.current=1,P.className+=` ${b}`,P.addEventListener("animationend",x)))},[p]),f.createElement(f.Fragment,null,i)}}function $1(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const Ye=new Map;let Hn=[];const Ri=new Set,v4=e=>Ri.forEach(t=>t(e)),D1=()=>Ye.size>0;function I1(e,t){var r;if(t)return!((r=Ye.get(t))==null||!r.isToastActive(e));let n=!1;return Ye.forEach(o=>{o.isToastActive(e)&&(n=!0)}),n}function k1(e,t){Bi(e)&&(D1()||Hn.push({content:e,options:t}),Ye.forEach(r=>{r.buildToast(e,t)}))}function A1(e,t){Ye.forEach(r=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===r.id&&r.toggle(e,t==null?void 0:t.id):r.toggle(e,t==null?void 0:t.id)})}function b4(e){const{subscribe:t,getSnapshot:r,setProps:n}=f.useRef(function(a){const s=a.containerId||1;return{subscribe(i){const l=function(u,d,p){let h=1,g=0,b=[],y=[],P=[],x=d;const C=new Map,S=new Set,$=()=>{P=Array.from(C.values()),S.forEach(m=>m())},N=m=>{y=m==null?[]:y.filter(D=>D!==m),$()},j=m=>{const{toastId:D,onOpen:I,updateId:T,children:k}=m.props,w=T==null;m.staleId&&C.delete(m.staleId),C.set(D,m),y=[...y,m.props.toastId].filter(M=>M!==m.staleId),$(),p($1(m,w?"added":"updated")),w&&at(I)&&I(f.isValidElement(k)&&k.props)};return{id:u,props:x,observe:m=>(S.add(m),()=>S.delete(m)),toggle:(m,D)=>{C.forEach(I=>{D!=null&&D!==I.props.toastId||at(I.toggle)&&I.toggle(m)})},removeToast:N,toasts:C,clearQueue:()=>{g-=b.length,b=[]},buildToast:(m,D)=>{if((ee=>{let{containerId:U,toastId:re,updateId:X}=ee;const te=U?U!==u:u!==1,ce=C.has(re)&&X==null;return te||ce})(D))return;const{toastId:I,updateId:T,data:k,staleId:w,delay:M}=D,O=()=>{N(I)},F=T==null;F&&g++;const E={...x,style:x.toastStyle,key:h++,...Object.fromEntries(Object.entries(D).filter(ee=>{let[U,re]=ee;return re!=null})),toastId:I,updateId:T,data:k,closeToast:O,isIn:!1,className:Ca(D.className||x.toastClassName),bodyClassName:Ca(D.bodyClassName||x.bodyClassName),progressClassName:Ca(D.progressClassName||x.progressClassName),autoClose:!D.isLoading&&(V=D.autoClose,H=x.autoClose,V===!1||Kn(V)&&V>0?V:H),deleteToast(){const ee=C.get(I),{onClose:U,children:re}=ee.props;at(U)&&U(f.isValidElement(re)&&re.props),p($1(ee,"removed")),C.delete(I),g--,g<0&&(g=0),b.length>0?j(b.shift()):$()}};var V,H;E.closeButton=x.closeButton,D.closeButton===!1||Bi(D.closeButton)?E.closeButton=D.closeButton:D.closeButton===!0&&(E.closeButton=!Bi(x.closeButton)||x.closeButton);let R=m;f.isValidElement(m)&&!Tr(m.type)?R=f.cloneElement(m,{closeToast:O,toastProps:E,data:k}):at(m)&&(R=m({closeToast:O,toastProps:E,data:k}));const W={content:R,props:E,staleId:w};x.limit&&x.limit>0&&g>x.limit&&F?b.push(W):Kn(M)?setTimeout(()=>{j(W)},M):j(W)},setProps(m){x=m},setToggle:(m,D)=>{C.get(m).toggle=D},isToastActive:m=>y.some(D=>D===m),getSnapshot:()=>x.newestOnTop?P.reverse():P}}(s,a,v4);Ye.set(s,l);const c=l.observe(i);return Hn.forEach(u=>k1(u.content,u.options)),Hn=[],()=>{c(),Ye.delete(s)}},setProps(i){var l;(l=Ye.get(s))==null||l.setProps(i)},getSnapshot(){var i;return(i=Ye.get(s))==null?void 0:i.getSnapshot()}}}(e)).current;n(e);const o=f.useSyncExternalStore(t,r,r);return{getToastToRender:function(a){if(!o)return[];const s=new Map;return o.forEach(i=>{const{position:l}=i.props;s.has(l)||s.set(l,[]),s.get(l).push(i)}),Array.from(s,i=>a(i[0],i[1]))},isToastActive:I1,count:o==null?void 0:o.length}}function y4(e){const[t,r]=f.useState(!1),[n,o]=f.useState(!1),a=f.useRef(null),s=f.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:i,pauseOnHover:l,closeToast:c,onClick:u,closeOnClick:d}=e;var p,h;function g(){r(!0)}function b(){r(!1)}function y(C){const S=a.current;s.canDrag&&S&&(s.didMove=!0,t&&b(),s.delta=e.draggableDirection==="x"?C.clientX-s.start:C.clientY-s.start,s.start!==C.clientX&&(s.canCloseOnClick=!1),S.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,S.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function P(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",P);const C=a.current;if(s.canDrag&&s.didMove&&C){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();C.style.transition="transform 0.2s, opacity 0.2s",C.style.removeProperty("transform"),C.style.removeProperty("opacity")}}(h=Ye.get((p={id:e.toastId,containerId:e.containerId,fn:r}).containerId||1))==null||h.setToggle(p.id,p.fn),f.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||b(),window.addEventListener("focus",g),window.addEventListener("blur",b),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",b)}},[e.pauseOnFocusLoss]);const x={onPointerDown:function(C){if(e.draggable===!0||e.draggable===C.pointerType){s.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",P);const S=a.current;s.canCloseOnClick=!0,s.canDrag=!0,S.style.transition="none",e.draggableDirection==="x"?(s.start=C.clientX,s.removalDistance=S.offsetWidth*(e.draggablePercent/100)):(s.start=C.clientY,s.removalDistance=S.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(C){const{top:S,bottom:$,left:N,right:j}=a.current.getBoundingClientRect();C.nativeEvent.type!=="touchend"&&e.pauseOnHover&&C.clientX>=N&&C.clientX<=j&&C.clientY>=S&&C.clientY<=$?b():g()}};return i&&l&&(x.onMouseEnter=b,e.stacked||(x.onMouseLeave=g)),d&&(x.onClick=C=>{u&&u(C),s.canCloseOnClick&&c()}),{playToast:g,pauseToast:b,isRunning:t,preventExitTransition:n,toastRef:a,eventHandlers:x}}function x4(e){let{delay:t,isRunning:r,closeToast:n,type:o="default",hide:a,className:s,style:i,controlledProgress:l,progress:c,rtl:u,isIn:d,theme:p}=e;const h=a||l&&c===0,g={...i,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};l&&(g.transform=`scaleX(${c})`);const b=nr("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":u}),y=at(s)?s({rtl:u,type:o,defaultClassName:b}):nr(b,s),P={[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&n()}};return f.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":h},f.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${o}`}),f.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:y,style:g,...P}))}let w4=1;const O1=()=>""+w4++;function C4(e){return e&&(Tr(e.toastId)||Kn(e.toastId))?e.toastId:O1()}function Yn(e,t){return k1(e,t),t.toastId}function Pa(e,t){return{...t,type:t&&t.type||e,toastId:C4(t)}}function Ma(e){return(t,r)=>Yn(t,Pa(e,r))}function $e(e,t){return Yn(e,Pa("default",t))}$e.loading=(e,t)=>Yn(e,Pa("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),$e.promise=function(e,t,r){let n,{pending:o,error:a,success:s}=t;o&&(n=Tr(o)?$e.loading(o,r):$e.loading(o.render,{...r,...o}));const i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(u,d,p)=>{if(d==null)return void $e.dismiss(n);const h={type:u,...i,...r,data:p},g=Tr(d)?{render:d}:d;return n?$e.update(n,{...h,...g}):$e(g.render,{...h,...g}),p},c=at(e)?e():e;return c.then(u=>l("success",s,u)).catch(u=>l("error",a,u)),c},$e.success=Ma("success"),$e.info=Ma("info"),$e.error=Ma("error"),$e.warning=Ma("warning"),$e.warn=$e.warning,$e.dark=(e,t)=>Yn(e,Pa("default",{theme:"dark",...t})),$e.dismiss=function(e){(function(t){var r;if(D1()){if(t==null||Tr(r=t)||Kn(r))Ye.forEach(n=>{n.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const n=Ye.get(t.containerId);n?n.removeToast(t.id):Ye.forEach(o=>{o.removeToast(t.id)})}}else Hn=Hn.filter(n=>t!=null&&n.options.toastId!==t)})(e)},$e.clearWaitingQueue=function(e){e===void 0&&(e={}),Ye.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},$e.isActive=I1,$e.update=function(e,t){t===void 0&&(t={});const r=((n,o)=>{var a;let{containerId:s}=o;return(a=Ye.get(s||1))==null?void 0:a.toasts.get(n)})(e,t);if(r){const{props:n,content:o}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:O1()};a.toastId!==e&&(a.staleId=e);const s=a.render||o;delete a.render,Yn(s,a)}},$e.done=e=>{$e.update(e,{progress:1})},$e.onChange=function(e){return Ri.add(e),()=>{Ri.delete(e)}},$e.play=e=>A1(!0,e),$e.pause=e=>A1(!1,e);const P4=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ta=e=>{let{theme:t,type:r,isLoading:n,...o}=e;return f.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${r})`,...o})},Ki={info:function(e){return f.createElement(Ta,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return f.createElement(Ta,{...e},f.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return f.createElement(Ta,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return f.createElement(Ta,{...e},f.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return f.createElement("div",{className:"Toastify__spinner"})}},M4=e=>{const{isRunning:t,preventExitTransition:r,toastRef:n,eventHandlers:o,playToast:a}=y4(e),{closeButton:s,children:i,autoClose:l,onClick:c,type:u,hideProgressBar:d,closeToast:p,transition:h,position:g,className:b,style:y,bodyClassName:P,bodyStyle:x,progressClassName:C,progressStyle:S,updateId:$,role:N,progress:j,rtl:m,toastId:D,deleteToast:I,isIn:T,isLoading:k,closeOnClick:w,theme:M}=e,O=nr("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${u}`,{"Toastify__toast--rtl":m},{"Toastify__toast--close-on-click":w}),F=at(b)?b({rtl:m,position:g,type:u,defaultClassName:O}):nr(O,b),E=function(W){let{theme:ee,type:U,isLoading:re,icon:X}=W,te=null;const ce={theme:ee,type:U};return X===!1||(at(X)?te=X({...ce,isLoading:re}):f.isValidElement(X)?te=f.cloneElement(X,ce):re?te=Ki.spinner():(be=>be in Ki)(U)&&(te=Ki[U](ce))),te}(e),V=!!j||!l,H={closeToast:p,type:u,theme:M};let R=null;return s===!1||(R=at(s)?s(H):f.isValidElement(s)?f.cloneElement(s,H):function(W){let{closeToast:ee,theme:U,ariaLabel:re="close"}=W;return f.createElement("button",{className:`Toastify__close-button Toastify__close-button--${U}`,type:"button",onClick:X=>{X.stopPropagation(),ee(X)},"aria-label":re},f.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},f.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(H)),f.createElement(h,{isIn:T,done:I,position:g,preventExitTransition:r,nodeRef:n,playToast:a},f.createElement("div",{id:D,onClick:c,"data-in":T,className:F,...o,style:y,ref:n},f.createElement("div",{...T&&{role:N},className:at(P)?P({type:u}):nr("Toastify__toast-body",P),style:x},E!=null&&f.createElement("div",{className:nr("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!k})},E),f.createElement("div",null,i)),R,f.createElement(x4,{...$&&!V?{key:`pb-${$}`}:{},rtl:m,theme:M,delay:l,isRunning:t,isIn:T,closeToast:p,hide:d,type:u,style:S,className:C,controlledProgress:V,progress:j||0})))},Sa=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},T4=Un(Sa("bounce",!0));Un(Sa("slide",!0)),Un(Sa("zoom")),Un(Sa("flip"));const S4={position:"top-right",transition:T4,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function E4(e){let t={...S4,...e};const r=e.stacked,[n,o]=f.useState(!0),a=f.useRef(null),{getToastToRender:s,isToastActive:i,count:l}=b4(t),{className:c,style:u,rtl:d,containerId:p}=t;function h(b){const y=nr("Toastify__toast-container",`Toastify__toast-container--${b}`,{"Toastify__toast-container--rtl":d});return at(c)?c({position:b,rtl:d,defaultClassName:y}):nr(y,Ca(c))}function g(){r&&(o(!0),$e.play())}return P4(()=>{if(r){var b;const y=a.current.querySelectorAll('[data-in="true"]'),P=12,x=(b=t.position)==null?void 0:b.includes("top");let C=0,S=0;Array.from(y).reverse().forEach(($,N)=>{const j=$;j.classList.add("Toastify__toast--stacked"),N>0&&(j.dataset.collapsed=`${n}`),j.dataset.pos||(j.dataset.pos=x?"top":"bot");const m=C*(n?.2:1)+(n?0:P*N);j.style.setProperty("--y",`${x?m:-1*m}px`),j.style.setProperty("--g",`${P}`),j.style.setProperty("--s",""+(1-(n?S:0))),C+=j.offsetHeight,S+=.025})}},[n,l,r]),f.createElement("div",{ref:a,className:"Toastify",id:p,onMouseEnter:()=>{r&&(o(!1),$e.pause())},onMouseLeave:g},s((b,y)=>{const P=y.length?{...u}:{...u,pointerEvents:"none"};return f.createElement("div",{className:h(b),style:P,key:`container-${b}`},y.map(x=>{let{content:C,props:S}=x;return f.createElement(M4,{...S,stacked:r,collapseAll:g,isIn:i(S.toastId,S.containerId),style:S.style,key:`toast-${S.key}`},C)}))}))}const Gx="",$4=()=>({snackbar:(t,r)=>{$e(L.jsx(S1,{message:t,actions:r==null?void 0:r.actions,inlineActions:r==null?void 0:r.inlineActions}))}});function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ge.apply(this,arguments)}function je(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 D4(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function N1(...e){return t=>e.forEach(r=>D4(r,t))}function pt(...e){return f.useCallback(N1(...e),e)}function en(e,t=[]){let r=[];function n(a,s){const i=f.createContext(s),l=r.length;r=[...r,s];function c(d){const{scope:p,children:h,...g}=d,b=(p==null?void 0:p[e][l])||i,y=f.useMemo(()=>g,Object.values(g));return f.createElement(b.Provider,{value:y},h)}function u(d,p){const h=(p==null?void 0:p[e][l])||i,g=f.useContext(h);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,u]}const o=()=>{const a=r.map(s=>f.createContext(s));return function(i){const l=(i==null?void 0:i[e])||a;return f.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return o.scopeName=e,[n,I4(o,...t)]}function I4(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const s=n.reduce((i,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...i,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}const Gn=f.forwardRef((e,t)=>{const{children:r,...n}=e,o=f.Children.toArray(r),a=o.find(k4);if(a){const s=a.props.children,i=o.map(l=>l===a?f.Children.count(s)>1?f.Children.only(null):f.isValidElement(s)?s.props.children:null:l);return f.createElement(Ui,ge({},n,{ref:t}),f.isValidElement(s)?f.cloneElement(s,void 0,i):null)}return f.createElement(Ui,ge({},n,{ref:t}),r)});Gn.displayName="Slot";const Ui=f.forwardRef((e,t)=>{const{children:r,...n}=e;return f.isValidElement(r)?f.cloneElement(r,{...A4(n,r.props),ref:t?N1(t,r.ref):r.ref}):f.Children.count(r)>1?f.Children.only(null):null});Ui.displayName="SlotClone";const j1=({children:e})=>f.createElement(f.Fragment,null,e);function k4(e){return f.isValidElement(e)&&e.type===j1}function A4(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...i)=>{a(...i),o(...i)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const Re=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=f.forwardRef((n,o)=>{const{asChild:a,...s}=n,i=a?Gn:t;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(i,ge({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O4(e,t){e&&hn.flushSync(()=>e.dispatchEvent(t))}function Vt(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function N4(e,t=globalThis==null?void 0:globalThis.document){const r=Vt(e);f.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Hi="dismissableLayer.update",j4="dismissableLayer.pointerDownOutside",L4="dismissableLayer.focusOutside";let L1;const _4=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_1=f.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=f.useContext(_4),[d,p]=f.useState(null),h=(r=d==null?void 0:d.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=f.useState({}),b=pt(t,m=>p(m)),y=Array.from(u.layers),[P]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(P),C=d?y.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,$=C>=x,N=F4(m=>{const D=m.target,I=[...u.branches].some(T=>T.contains(D));!$||I||(a==null||a(m),i==null||i(m),m.defaultPrevented||l==null||l())},h),j=V4(m=>{const D=m.target;[...u.branches].some(T=>T.contains(D))||(s==null||s(m),i==null||i(m),m.defaultPrevented||l==null||l())},h);return N4(m=>{C===u.layers.size-1&&(o==null||o(m),!m.defaultPrevented&&l&&(m.preventDefault(),l()))},h),f.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(L1=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),F1(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=L1)}},[d,h,n,u]),f.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),F1())},[d,u]),f.useEffect(()=>{const m=()=>g({});return document.addEventListener(Hi,m),()=>document.removeEventListener(Hi,m)},[]),f.createElement(Re.div,ge({},c,{ref:b,style:{pointerEvents:S?$?"auto":"none":void 0,...e.style},onFocusCapture:je(e.onFocusCapture,j.onFocusCapture),onBlurCapture:je(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:je(e.onPointerDownCapture,N.onPointerDownCapture)}))});function F4(e,t=globalThis==null?void 0:globalThis.document){const r=Vt(e),n=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=i=>{if(i.target&&!n.current){let c=function(){V1(j4,r,l,{discrete:!0})};const l={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function V4(e,t=globalThis==null?void 0:globalThis.document){const r=Vt(e),n=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!n.current&&V1(L4,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function F1(){const e=new CustomEvent(Hi);document.dispatchEvent(e)}function V1(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?O4(o,a):o.dispatchEvent(a)}const tn=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},z4=G["useId".toString()]||(()=>{});let W4=0;function Ea(e){const[t,r]=G.useState(z4());return tn(()=>{e||r(n=>n??String(W4++))},[e]),e||(t?`radix-${t}`:"")}const B4=["top","right","bottom","left"],or=Math.min,st=Math.max,$a=Math.round,Da=Math.floor,ar=e=>({x:e,y:e}),R4={left:"right",right:"left",bottom:"top",top:"bottom"},K4={start:"end",end:"start"};function Yi(e,t,r){return st(e,or(t,r))}function zt(e,t){return typeof e=="function"?e(t):e}function Wt(e){return e.split("-")[0]}function rn(e){return e.split("-")[1]}function Gi(e){return e==="x"?"y":"x"}function qi(e){return e==="y"?"height":"width"}function nn(e){return["top","bottom"].includes(Wt(e))?"y":"x"}function Qi(e){return Gi(nn(e))}function U4(e,t,r){r===void 0&&(r=!1);const n=rn(e),o=Qi(e),a=qi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Ia(s)),[s,Ia(s)]}function H4(e){const t=Ia(e);return[Xi(e),t,Xi(t)]}function Xi(e){return e.replace(/start|end/g,t=>K4[t])}function Y4(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function G4(e,t,r,n){const o=rn(e);let a=Y4(Wt(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Xi)))),a}function Ia(e){return e.replace(/left|right|bottom|top/g,t=>R4[t])}function q4(e){return{top:0,right:0,bottom:0,left:0,...e}}function z1(e){return typeof e!="number"?q4(e):{top:e,right:e,bottom:e,left:e}}function ka(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function W1(e,t,r){let{reference:n,floating:o}=e;const a=nn(t),s=Qi(t),i=qi(s),l=Wt(t),c=a==="y",u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[i]/2-o[i]/2;let h;switch(l){case"top":h={x:u,y:n.y-o.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-o.width,y:d};break;default:h={x:n.x,y:n.y}}switch(rn(t)){case"start":h[s]-=p*(r&&c?-1:1);break;case"end":h[s]+=p*(r&&c?-1:1);break}return h}const Q4=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,i=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=W1(c,n,l),p=n,h={},g=0;for(let b=0;b<i.length;b++){const{name:y,fn:P}=i[b],{x,y:C,data:S,reset:$}=await P({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});if(u=x??u,d=C??d,h={...h,[y]:{...h[y],...S}},$&&g<=50){g++,typeof $=="object"&&($.placement&&(p=$.placement),$.rects&&(c=$.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):$.rects),{x:u,y:d}=W1(c,p,l)),b=-1;continue}}return{x:u,y:d,placement:p,strategy:o,middlewareData:h}};async function qn(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=zt(t,e),g=z1(h),y=i[p?d==="floating"?"reference":"floating":d],P=ka(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(y)))==null||r?y:y.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:l})),x=d==="floating"?{...s.floating,x:n,y:o}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),S=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},$=ka(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:C,strategy:l}):x);return{top:(P.top-$.top+g.top)/S.y,bottom:($.bottom-P.bottom+g.bottom)/S.y,left:(P.left-$.left+g.left)/S.x,right:($.right-P.right+g.right)/S.x}}const B1=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:c,padding:u=0}=zt(e,t)||{};if(c==null)return{};const d=z1(u),p={x:r,y:n},h=Qi(o),g=qi(h),b=await s.getDimensions(c),y=h==="y",P=y?"top":"left",x=y?"bottom":"right",C=y?"clientHeight":"clientWidth",S=a.reference[g]+a.reference[h]-p[h]-a.floating[g],$=p[h]-a.reference[h],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let j=N?N[C]:0;(!j||!await(s.isElement==null?void 0:s.isElement(N)))&&(j=i.floating[C]||a.floating[g]);const m=S/2-$/2,D=j/2-b[g]/2-1,I=or(d[P],D),T=or(d[x],D),k=I,w=j-b[g]-T,M=j/2-b[g]/2+m,O=Yi(k,M,w),F=!l.arrow&&rn(o)!=null&&M!=O&&a.reference[g]/2-(M<k?I:T)-b[g]/2<0,E=F?M<k?M-k:M-w:0;return{[h]:p[h]+E,data:{[h]:O,centerOffset:M-O-E,...F&&{alignmentOffset:E}},reset:F}}}),X4=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0,...y}=zt(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const P=Wt(o),x=Wt(i)===i,C=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=p||(x||!b?[Ia(i)]:H4(i));!p&&g!=="none"&&S.push(...G4(i,b,g,C));const $=[i,...S],N=await qn(t,y),j=[];let m=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&j.push(N[P]),d){const k=U4(o,s,C);j.push(N[k[0]],N[k[1]])}if(m=[...m,{placement:o,overflows:j}],!j.every(k=>k<=0)){var D,I;const k=(((D=a.flip)==null?void 0:D.index)||0)+1,w=$[k];if(w)return{data:{index:k,overflows:m},reset:{placement:w}};let M=(I=m.filter(O=>O.overflows[0]<=0).sort((O,F)=>O.overflows[1]-F.overflows[1])[0])==null?void 0:I.placement;if(!M)switch(h){case"bestFit":{var T;const O=(T=m.map(F=>[F.placement,F.overflows.filter(E=>E>0).reduce((E,V)=>E+V,0)]).sort((F,E)=>F[1]-E[1])[0])==null?void 0:T[0];O&&(M=O);break}case"initialPlacement":M=i;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function R1(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function K1(e){return B4.some(t=>e[t]>=0)}const Z4=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=zt(e,t);switch(n){case"referenceHidden":{const a=await qn(t,{...o,elementContext:"reference"}),s=R1(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:K1(s)}}}case"escaped":{const a=await qn(t,{...o,altBoundary:!0}),s=R1(a,r.floating);return{data:{escapedOffsets:s,escaped:K1(s)}}}default:return{}}}}};async function J4(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Wt(r),i=rn(r),l=nn(r)==="y",c=["left","top"].includes(s)?-1:1,u=a&&l?-1:1,d=zt(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return i&&typeof g=="number"&&(h=i==="end"?g*-1:g),l?{x:h*u,y:p*c}:{x:p*c,y:h*u}}const e3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await J4(t,e);return{x:r+o.x,y:n+o.y,data:o}}}},t3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:i={fn:y=>{let{x:P,y:x}=y;return{x:P,y:x}}},...l}=zt(e,t),c={x:r,y:n},u=await qn(t,l),d=nn(Wt(o)),p=Gi(d);let h=c[p],g=c[d];if(a){const y=p==="y"?"top":"left",P=p==="y"?"bottom":"right",x=h+u[y],C=h-u[P];h=Yi(x,h,C)}if(s){const y=d==="y"?"top":"left",P=d==="y"?"bottom":"right",x=g+u[y],C=g-u[P];g=Yi(x,g,C)}const b=i.fn({...t,[p]:h,[d]:g});return{...b,data:{x:b.x-r,y:b.y-n}}}}},r3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:c=!0}=zt(e,t),u={x:r,y:n},d=nn(o),p=Gi(d);let h=u[p],g=u[d];const b=zt(i,t),y=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){const C=p==="y"?"height":"width",S=a.reference[p]-a.floating[C]+y.mainAxis,$=a.reference[p]+a.reference[C]-y.mainAxis;h<S?h=S:h>$&&(h=$)}if(c){var P,x;const C=p==="y"?"width":"height",S=["top","left"].includes(Wt(o)),$=a.reference[d]-a.floating[C]+(S&&((P=s.offset)==null?void 0:P[d])||0)+(S?0:y.crossAxis),N=a.reference[d]+a.reference[C]+(S?0:((x=s.offset)==null?void 0:x[d])||0)-(S?y.crossAxis:0);g<$?g=$:g>N&&(g=N)}return{[p]:h,[d]:g}}}},n3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:s=()=>{},...i}=zt(e,t),l=await qn(t,i),c=Wt(r),u=rn(r),d=nn(r)==="y",{width:p,height:h}=n.floating;let g,b;c==="top"||c==="bottom"?(g=c,b=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g=u==="end"?"top":"bottom");const y=h-l[g],P=p-l[b],x=!t.middlewareData.shift;let C=y,S=P;if(d){const N=p-l.left-l.right;S=u||x?or(P,N):N}else{const N=h-l.top-l.bottom;C=u||x?or(y,N):N}if(x&&!u){const N=st(l.left,0),j=st(l.right,0),m=st(l.top,0),D=st(l.bottom,0);d?S=p-2*(N!==0||j!==0?N+j:st(l.left,l.right)):C=h-2*(m!==0||D!==0?m+D:st(l.top,l.bottom))}await s({...t,availableWidth:S,availableHeight:C});const $=await o.getDimensions(a.floating);return p!==$.width||h!==$.height?{reset:{rects:!0}}:{}}}};function sr(e){return U1(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Bt(e){var t;return(t=(U1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function U1(e){return e instanceof Node||e instanceof it(e).Node}function Rt(e){return e instanceof Element||e instanceof it(e).Element}function Et(e){return e instanceof HTMLElement||e instanceof it(e).HTMLElement}function H1(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}function Qn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function o3(e){return["table","td","th"].includes(sr(e))}function Zi(e){const t=Ji(),r=ht(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function a3(e){let t=on(e);for(;Et(t)&&!Aa(t);){if(Zi(t))return t;t=on(t)}return null}function Ji(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Aa(e){return["html","body","#document"].includes(sr(e))}function ht(e){return it(e).getComputedStyle(e)}function Oa(e){return Rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function on(e){if(sr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||H1(e)&&e.host||Bt(e);return H1(t)?t.host:t}function Y1(e){const t=on(e);return Aa(t)?e.ownerDocument?e.ownerDocument.body:e.body:Et(t)&&Qn(t)?t:Y1(t)}function Xn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Y1(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=it(o);return a?t.concat(s,s.visualViewport||[],Qn(o)?o:[],s.frameElement&&r?Xn(s.frameElement):[]):t.concat(o,Xn(o,[],r))}function G1(e){const t=ht(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Et(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,i=$a(r)!==a||$a(n)!==s;return i&&(r=a,n=s),{width:r,height:n,$:i}}function el(e){return Rt(e)?e:e.contextElement}function an(e){const t=el(e);if(!Et(t))return ar(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=G1(t);let s=(a?$a(r.width):r.width)/n,i=(a?$a(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const s3=ar(0);function q1(e){const t=it(e);return!Ji()||!t.visualViewport?s3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function i3(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==it(e)?!1:t}function Sr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=el(e);let s=ar(1);t&&(n?Rt(n)&&(s=an(n)):s=an(e));const i=i3(a,r,n)?q1(a):ar(0);let l=(o.left+i.x)/s.x,c=(o.top+i.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(a){const p=it(a),h=n&&Rt(n)?it(n):n;let g=p.frameElement;for(;g&&n&&h!==p;){const b=an(g),y=g.getBoundingClientRect(),P=ht(g),x=y.left+(g.clientLeft+parseFloat(P.paddingLeft))*b.x,C=y.top+(g.clientTop+parseFloat(P.paddingTop))*b.y;l*=b.x,c*=b.y,u*=b.x,d*=b.y,l+=x,c+=C,g=it(g).frameElement}}return ka({width:u,height:d,x:l,y:c})}function l3(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Et(r),a=Bt(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},i=ar(1);const l=ar(0);if((o||!o&&n!=="fixed")&&((sr(r)!=="body"||Qn(a))&&(s=Oa(r)),Et(r))){const c=Sr(r);i=an(r),l.x=c.x+r.clientLeft,l.y=c.y+r.clientTop}return{width:t.width*i.x,height:t.height*i.y,x:t.x*i.x-s.scrollLeft*i.x+l.x,y:t.y*i.y-s.scrollTop*i.y+l.y}}function c3(e){return Array.from(e.getClientRects())}function Q1(e){return Sr(Bt(e)).left+Oa(e).scrollLeft}function u3(e){const t=Bt(e),r=Oa(e),n=e.ownerDocument.body,o=st(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=st(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Q1(e);const i=-r.scrollTop;return ht(n).direction==="rtl"&&(s+=st(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:i}}function d3(e,t){const r=it(e),n=Bt(e),o=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const c=Ji();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i,y:l}}function f3(e,t){const r=Sr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=Et(e)?an(e):ar(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,c=n*a.y;return{width:s,height:i,x:l,y:c}}function X1(e,t,r){let n;if(t==="viewport")n=d3(e,r);else if(t==="document")n=u3(Bt(e));else if(Rt(t))n=f3(t,r);else{const o=q1(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return ka(n)}function Z1(e,t){const r=on(e);return r===t||!Rt(r)||Aa(r)?!1:ht(r).position==="fixed"||Z1(r,t)}function p3(e,t){const r=t.get(e);if(r)return r;let n=Xn(e,[],!1).filter(i=>Rt(i)&&sr(i)!=="body"),o=null;const a=ht(e).position==="fixed";let s=a?on(e):e;for(;Rt(s)&&!Aa(s);){const i=ht(s),l=Zi(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Qn(s)&&!l&&Z1(e,s))?n=n.filter(u=>u!==s):o=i,s=on(s)}return t.set(e,n),n}function h3(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?p3(t,this._c):[].concat(r),n],i=s[0],l=s.reduce((c,u)=>{const d=X1(t,u,o);return c.top=st(d.top,c.top),c.right=or(d.right,c.right),c.bottom=or(d.bottom,c.bottom),c.left=st(d.left,c.left),c},X1(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function m3(e){return G1(e)}function g3(e,t,r){const n=Et(t),o=Bt(t),a=r==="fixed",s=Sr(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=ar(0);if(n||!n&&!a)if((sr(t)!=="body"||Qn(o))&&(i=Oa(t)),n){const c=Sr(t,!0,a,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=Q1(o));return{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function J1(e,t){return!Et(e)||ht(e).position==="fixed"?null:t?t(e):e.offsetParent}function e0(e,t){const r=it(e);if(!Et(e))return r;let n=J1(e,t);for(;n&&o3(n)&&ht(n).position==="static";)n=J1(n,t);return n&&(sr(n)==="html"||sr(n)==="body"&&ht(n).position==="static"&&!Zi(n))?r:n||a3(e)||r}const v3=async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||e0,a=this.getDimensions;return{reference:g3(t,await o(r),n),floating:{x:0,y:0,...await a(r)}}};function b3(e){return ht(e).direction==="rtl"}const y3={convertOffsetParentRelativeRectToViewportRelativeRect:l3,getDocumentElement:Bt,getClippingRect:h3,getOffsetParent:e0,getElementRects:v3,getClientRects:c3,getDimensions:m3,getScale:an,isElement:Rt,isRTL:b3};function x3(e,t){let r=null,n;const o=Bt(e);function a(){clearTimeout(n),r&&r.disconnect(),r=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(i||t(),!d||!p)return;const h=Da(u),g=Da(o.clientWidth-(c+d)),b=Da(o.clientHeight-(u+p)),y=Da(c),x={rootMargin:-h+"px "+-g+"px "+-b+"px "+-y+"px",threshold:st(0,or(1,l))||1};let C=!0;function S($){const N=$[0].intersectionRatio;if(N!==l){if(!C)return s();N?s(!1,N):n=setTimeout(()=>{s(!1,1e-7)},100)}C=!1}try{r=new IntersectionObserver(S,{...x,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,x)}r.observe(e)}return s(!0),a}function w3(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=el(e),u=o||a?[...c?Xn(c):[],...Xn(t)]:[];u.forEach(P=>{o&&P.addEventListener("scroll",r,{passive:!0}),a&&P.addEventListener("resize",r)});const d=c&&i?x3(c,r):null;let p=-1,h=null;s&&(h=new ResizeObserver(P=>{let[x]=P;x&&x.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),c&&!l&&h.observe(c),h.observe(t));let g,b=l?Sr(e):null;l&&y();function y(){const P=Sr(e);b&&(P.x!==b.x||P.y!==b.y||P.width!==b.width||P.height!==b.height)&&r(),b=P,g=requestAnimationFrame(y)}return r(),()=>{u.forEach(P=>{o&&P.removeEventListener("scroll",r),a&&P.removeEventListener("resize",r)}),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const C3=(e,t,r)=>{const n=new Map,o={platform:y3,...r},a={...o.platform,_c:n};return Q4(e,t,{...o,platform:a})},P3=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?B1({element:n.current,padding:o}).fn(r):{}:n?B1({element:n,padding:o}).fn(r):{}}}};var Na=typeof document<"u"?f.useLayoutEffect:f.useEffect;function ja(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!ja(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!ja(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function t0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function r0(e,t){const r=t0(e);return Math.round(t*r)/r}function n0(e){const t=G.useRef(e);return Na(()=>{t.current=e}),t}function M3(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[u,d]=G.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=G.useState(n);ja(p,n)||h(n);const[g,b]=G.useState(null),[y,P]=G.useState(null),x=G.useCallback(F=>{F!=N.current&&(N.current=F,b(F))},[b]),C=G.useCallback(F=>{F!==j.current&&(j.current=F,P(F))},[P]),S=a||g,$=s||y,N=G.useRef(null),j=G.useRef(null),m=G.useRef(u),D=n0(l),I=n0(o),T=G.useCallback(()=>{if(!N.current||!j.current)return;const F={placement:t,strategy:r,middleware:p};I.current&&(F.platform=I.current),C3(N.current,j.current,F).then(E=>{const V={...E,isPositioned:!0};k.current&&!ja(m.current,V)&&(m.current=V,Cp.flushSync(()=>{d(V)}))})},[p,t,r,I]);Na(()=>{c===!1&&m.current.isPositioned&&(m.current.isPositioned=!1,d(F=>({...F,isPositioned:!1})))},[c]);const k=G.useRef(!1);Na(()=>(k.current=!0,()=>{k.current=!1}),[]),Na(()=>{if(S&&(N.current=S),$&&(j.current=$),S&&$){if(D.current)return D.current(S,$,T);T()}},[S,$,T,D]);const w=G.useMemo(()=>({reference:N,floating:j,setReference:x,setFloating:C}),[x,C]),M=G.useMemo(()=>({reference:S,floating:$}),[S,$]),O=G.useMemo(()=>{const F={position:r,left:0,top:0};if(!M.floating)return F;const E=r0(M.floating,u.x),V=r0(M.floating,u.y);return i?{...F,transform:"translate("+E+"px, "+V+"px)",...t0(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:E,top:V}},[r,i,M.floating,u.x,u.y]);return G.useMemo(()=>({...u,update:T,refs:w,elements:M,floatingStyles:O}),[u,T,w,M,O])}const T3=f.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return f.createElement(Re.svg,ge({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:f.createElement("polygon",{points:"0,0 30,0 15,10"}))});function S3(e){const[t,r]=f.useState(void 0);return tn(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,i=c.blockSize}else s=e.offsetWidth,i=e.offsetHeight;r({width:s,height:i})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const o0="Popper",[a0,La]=en(o0),[E3,s0]=a0(o0),$3=e=>{const{__scopePopper:t,children:r}=e,[n,o]=f.useState(null);return f.createElement(E3,{scope:t,anchor:n,onAnchorChange:o},r)},D3="PopperAnchor",I3=f.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=s0(D3,r),s=f.useRef(null),i=pt(t,s);return f.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||s.current)}),n?null:f.createElement(Re.div,ge({},o,{ref:i}))}),i0="PopperContent",[k3,A3]=a0(i0),O3=f.forwardRef((e,t)=>{var r,n,o,a,s,i,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:g=0,arrowPadding:b=0,avoidCollisions:y=!0,collisionBoundary:P=[],collisionPadding:x=0,sticky:C="partial",hideWhenDetached:S=!1,updatePositionStrategy:$="optimized",onPlaced:N,...j}=e,m=s0(i0,u),[D,I]=f.useState(null),T=pt(t,Z=>I(Z)),[k,w]=f.useState(null),M=S3(k),O=(r=M==null?void 0:M.width)!==null&&r!==void 0?r:0,F=(n=M==null?void 0:M.height)!==null&&n!==void 0?n:0,E=d+(h!=="center"?"-"+h:""),V=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},H=Array.isArray(P)?P:[P],R=H.length>0,W={padding:V,boundary:H.filter(_3),altBoundary:R},{refs:ee,floatingStyles:U,placement:re,isPositioned:X,middlewareData:te}=M3({strategy:"fixed",placement:E,whileElementsMounted:(...Z)=>w3(...Z,{animationFrame:$==="always"}),elements:{reference:m.anchor},middleware:[e3({mainAxis:p+F,alignmentAxis:g}),y&&t3({mainAxis:!0,crossAxis:!1,limiter:C==="partial"?r3():void 0,...W}),y&&X4({...W}),n3({...W,apply:({elements:Z,rects:Oe,availableWidth:_e,availableHeight:Fe})=>{const{width:Ie,height:It}=Oe.reference,mt=Z.floating.style;mt.setProperty("--radix-popper-available-width",`${_e}px`),mt.setProperty("--radix-popper-available-height",`${Fe}px`),mt.setProperty("--radix-popper-anchor-width",`${Ie}px`),mt.setProperty("--radix-popper-anchor-height",`${It}px`)}}),k&&P3({element:k,padding:b}),F3({arrowWidth:O,arrowHeight:F}),S&&Z4({strategy:"referenceHidden",...W})]}),[ce,be]=l0(re),pe=Vt(N);tn(()=>{X&&(pe==null||pe())},[X,pe]);const fe=(o=te.arrow)===null||o===void 0?void 0:o.x,he=(a=te.arrow)===null||a===void 0?void 0:a.y,Te=((s=te.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Se,ae]=f.useState();return tn(()=>{D&&ae(window.getComputedStyle(D).zIndex)},[D]),f.createElement("div",{ref:ee.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:X?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Se,"--radix-popper-transform-origin":[(i=te.transformOrigin)===null||i===void 0?void 0:i.x,(l=te.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},f.createElement(k3,{scope:u,placedSide:ce,onArrowChange:w,arrowX:fe,arrowY:he,shouldHideArrow:Te},f.createElement(Re.div,ge({"data-side":ce,"data-align":be},j,{ref:T,style:{...j.style,animation:X?void 0:"none",opacity:(c=te.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))}),N3="PopperArrow",j3={top:"bottom",right:"left",bottom:"top",left:"right"},L3=f.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=A3(N3,n),s=j3[a.placedSide];return f.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},f.createElement(T3,ge({},o,{ref:r,style:{...o.style,display:"block"}})))});function _3(e){return e!==null}const F3=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,s;const{placement:i,rects:l,middlewareData:c}=t,d=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=d?0:e.arrowWidth,h=d?0:e.arrowHeight,[g,b]=l0(i),y={start:"0%",center:"50%",end:"100%"}[b],P=((n=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(s=c.arrow)===null||s===void 0?void 0:s.y)!==null&&a!==void 0?a:0)+h/2;let C="",S="";return g==="bottom"?(C=d?y:`${P}px`,S=`${-h}px`):g==="top"?(C=d?y:`${P}px`,S=`${l.floating.height+h}px`):g==="right"?(C=`${-h}px`,S=d?y:`${x}px`):g==="left"&&(C=`${l.floating.width+h}px`,S=d?y:`${x}px`),{data:{x:C,y:S}}}});function l0(e){const[t,r="center"]=e.split("-");return[t,r]}const c0=$3,u0=I3,d0=O3,V3=L3,f0=f.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?hn.createPortal(f.createElement(Re.div,ge({},o,{ref:t})),n):null});function z3(e,t){return f.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const sn=e=>{const{present:t,children:r}=e,n=W3(t),o=typeof r=="function"?r({present:n.isPresent}):f.Children.only(r),a=pt(n.ref,o.ref);return typeof r=="function"||n.isPresent?f.cloneElement(o,{ref:a}):null};sn.displayName="Presence";function W3(e){const[t,r]=f.useState(),n=f.useRef({}),o=f.useRef(e),a=f.useRef("none"),s=e?"mounted":"unmounted",[i,l]=z3(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const c=_a(n.current);a.current=i==="mounted"?c:"none"},[i]),tn(()=>{const c=n.current,u=o.current;if(u!==e){const p=a.current,h=_a(c);e?l("MOUNT"):h==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),tn(()=>{if(t){const c=d=>{const h=_a(n.current).includes(d.animationName);d.target===t&&h&&hn.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(a.current=_a(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:f.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function _a(e){return(e==null?void 0:e.animationName)||"none"}function Fa({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=B3({defaultProp:t,onChange:r}),a=e!==void 0,s=a?e:n,i=Vt(r),l=f.useCallback(c=>{if(a){const d=typeof c=="function"?c(e):c;d!==e&&i(d)}else o(c)},[a,e,o,i]);return[s,l]}function B3({defaultProp:e,onChange:t}){const r=f.useState(e),[n]=r,o=f.useRef(n),a=Vt(t);return f.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const R3=f.forwardRef((e,t)=>f.createElement(Re.span,ge({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Va,Zx]=en("Tooltip",[La]),za=La(),K3="TooltipProvider",U3=700,tl="tooltip.open",[H3,rl]=Va(K3),Y3=e=>{const{__scopeTooltip:t,delayDuration:r=U3,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[s,i]=f.useState(!0),l=f.useRef(!1),c=f.useRef(0);return f.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),f.createElement(H3,{scope:t,isOpenDelayed:s,delayDuration:r,onOpen:f.useCallback(()=>{window.clearTimeout(c.current),i(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(u=>{l.current=u},[]),disableHoverableContent:o},a)},nl="Tooltip",[G3,Zn]=Va(nl),q3=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:i}=e,l=rl(nl,e.__scopeTooltip),c=za(t),[u,d]=f.useState(null),p=Ea(),h=f.useRef(0),g=s??l.disableHoverableContent,b=i??l.delayDuration,y=f.useRef(!1),[P=!1,x]=Fa({prop:n,defaultProp:o,onChange:j=>{j?(l.onOpen(),document.dispatchEvent(new CustomEvent(tl))):l.onClose(),a==null||a(j)}}),C=f.useMemo(()=>P?y.current?"delayed-open":"instant-open":"closed",[P]),S=f.useCallback(()=>{window.clearTimeout(h.current),y.current=!1,x(!0)},[x]),$=f.useCallback(()=>{window.clearTimeout(h.current),x(!1)},[x]),N=f.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{y.current=!0,x(!0)},b)},[b,x]);return f.useEffect(()=>()=>window.clearTimeout(h.current),[]),f.createElement(c0,c,f.createElement(G3,{scope:t,contentId:p,open:P,stateAttribute:C,trigger:u,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayed?N():S()},[l.isOpenDelayed,N,S]),onTriggerLeave:f.useCallback(()=>{g?$():window.clearTimeout(h.current)},[$,g]),onOpen:S,onClose:$,disableHoverableContent:g},r))},p0="TooltipTrigger",Q3=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Zn(p0,r),a=rl(p0,r),s=za(r),i=f.useRef(null),l=pt(t,i,o.onTriggerChange),c=f.useRef(!1),u=f.useRef(!1),d=f.useCallback(()=>c.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.createElement(u0,ge({asChild:!0},s),f.createElement(Re.button,ge({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:l,onPointerMove:je(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:je(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:je(e.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:je(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:je(e.onBlur,o.onClose),onClick:je(e.onClick,o.onClose)})))}),h0="TooltipPortal",[X3,Z3]=Va(h0,{forceMount:void 0}),J3=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=Zn(h0,t);return f.createElement(X3,{scope:t,forceMount:r},f.createElement(sn,{present:r||a.open},f.createElement(f0,{asChild:!0,container:o},n)))},Jn="TooltipContent",e6=f.forwardRef((e,t)=>{const r=Z3(Jn,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,s=Zn(Jn,e.__scopeTooltip);return f.createElement(sn,{present:n||s.open},s.disableHoverableContent?f.createElement(m0,ge({side:o},a,{ref:t})):f.createElement(t6,ge({side:o},a,{ref:t})))}),t6=f.forwardRef((e,t)=>{const r=Zn(Jn,e.__scopeTooltip),n=rl(Jn,e.__scopeTooltip),o=f.useRef(null),a=pt(t,o),[s,i]=f.useState(null),{trigger:l,onClose:c}=r,u=o.current,{onPointerInTransitChange:d}=n,p=f.useCallback(()=>{i(null),d(!1)},[d]),h=f.useCallback((g,b)=>{const y=g.currentTarget,P={x:g.clientX,y:g.clientY},x=s6(P,y.getBoundingClientRect()),C=i6(P,x),S=l6(b.getBoundingClientRect()),$=u6([...C,...S]);i($),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(l&&u){const g=y=>h(y,u),b=y=>h(y,l);return l.addEventListener("pointerleave",g),u.addEventListener("pointerleave",b),()=>{l.removeEventListener("pointerleave",g),u.removeEventListener("pointerleave",b)}}},[l,u,h,p]),f.useEffect(()=>{if(s){const g=b=>{const y=b.target,P={x:b.clientX,y:b.clientY},x=(l==null?void 0:l.contains(y))||(u==null?void 0:u.contains(y)),C=!c6(P,s);x?p():C&&(p(),c())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,u,s,c,p]),f.createElement(m0,ge({},e,{ref:a}))}),[r6,n6]=Va(nl,{isInside:!1}),m0=f.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...i}=e,l=Zn(Jn,r),c=za(r),{onClose:u}=l;return f.useEffect(()=>(document.addEventListener(tl,u),()=>document.removeEventListener(tl,u)),[u]),f.useEffect(()=>{if(l.trigger){const d=p=>{const h=p.target;h!=null&&h.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),f.createElement(_1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u},f.createElement(d0,ge({"data-state":l.stateAttribute},c,i,{ref:t,style:{...i.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)"}}),f.createElement(j1,null,n),f.createElement(r6,{scope:r,isInside:!0},f.createElement(R3,{id:l.contentId,role:"tooltip"},o||n))))}),o6="TooltipArrow",a6=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=za(r);return n6(o6,r).isInside?null:f.createElement(V3,ge({},o,n,{ref:t}))});function s6(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function i6(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function l6(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function c6(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const i=t[a].x,l=t[a].y,c=t[s].x,u=t[s].y;l>n!=u>n&&r<(c-i)*(n-l)/(u-l)+i&&(o=!o)}return o}function u6(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),d6(t)}function d6(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],s=r[r.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const f6=Y3,p6=q3,h6=Q3,m6=J3,g6=e6,v6=a6,b6=({children:e,showArrow:t=!1,startOpen:r=!1,content:n,hasCloseButton:o=!1,action:a,size:s="sm"})=>{const[i,l]=f.useState(r),c=we({base:"rounded-lg bg-primary-black-400 px-4 pb-[13px] pt-[12px] font-satoshi text-sm font-medium text-white",variants:{size:{sm:"max-w-[215px]",lg:"max-w-[342px]"}}}),u=()=>{l(!1)},d=()=>{a&&a.onClick(),u()};return L.jsx(f6,{children:L.jsxs(p6,{delayDuration:0,defaultOpen:i,open:i,onOpenChange:p=>l(p),children:[L.jsx(h6,{asChild:!0,children:e}),L.jsx(m6,{children:L.jsxs(g6,{className:c({size:s}),sideOffset:5,children:[L.jsxs("div",{children:[L.jsxs("div",{className:"flex gap-4",children:[n,o&&L.jsx(Ue,{onClick:u,name:"close",className:"mt-1 cursor-pointer text-xs text-white"})]}),a&&L.jsx(Wi,{className:"-mb-1 mt-1 !h-6 !px-0",variant:"tertiaryDark",onClick:d,children:a.label})]}),t&&L.jsx(v6,{className:"TooltipArrow"})]})})]})})};function y6(e){const t=e+"CollectionProvider",[r,n]=en(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=h=>{const{scope:g,children:b}=h,y=f.useRef(null),P=f.useRef(new Map).current;return f.createElement(o,{scope:g,itemMap:P,collectionRef:y},b)},i=e+"CollectionSlot",l=f.forwardRef((h,g)=>{const{scope:b,children:y}=h,P=a(i,b),x=pt(g,P.collectionRef);return f.createElement(Gn,{ref:x},y)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=f.forwardRef((h,g)=>{const{scope:b,children:y,...P}=h,x=f.useRef(null),C=pt(g,x),S=a(c,b);return f.useEffect(()=>(S.itemMap.set(x,{ref:x,...P}),()=>void S.itemMap.delete(x))),f.createElement(Gn,{[u]:"",ref:C},y)});function p(h){const g=a(e+"CollectionConsumer",h);return f.useCallback(()=>{const y=g.collectionRef.current;if(!y)return[];const P=Array.from(y.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((S,$)=>P.indexOf(S.ref.current)-P.indexOf($.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},p,n]}const x6=f.createContext(void 0);function g0(e){const t=f.useContext(x6);return e||t||"ltr"}const ol="rovingFocusGroup.onEntryFocus",w6={bubbles:!1,cancelable:!0},al="RovingFocusGroup",[sl,v0,C6]=y6(al),[P6,b0]=en(al,[C6]),[M6,T6]=P6(al),S6=f.forwardRef((e,t)=>f.createElement(sl.Provider,{scope:e.__scopeRovingFocusGroup},f.createElement(sl.Slot,{scope:e.__scopeRovingFocusGroup},f.createElement(E6,ge({},e,{ref:t}))))),E6=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=f.useRef(null),p=pt(t,d),h=g0(a),[g=null,b]=Fa({prop:s,defaultProp:i,onChange:l}),[y,P]=f.useState(!1),x=Vt(c),C=v0(r),S=f.useRef(!1),[$,N]=f.useState(0);return f.useEffect(()=>{const j=d.current;if(j)return j.addEventListener(ol,x),()=>j.removeEventListener(ol,x)},[x]),f.createElement(M6,{scope:r,orientation:n,dir:h,loop:o,currentTabStopId:g,onItemFocus:f.useCallback(j=>b(j),[b]),onItemShiftTab:f.useCallback(()=>P(!0),[]),onFocusableItemAdd:f.useCallback(()=>N(j=>j+1),[]),onFocusableItemRemove:f.useCallback(()=>N(j=>j-1),[])},f.createElement(Re.div,ge({tabIndex:y||$===0?-1:0,"data-orientation":n},u,{ref:p,style:{outline:"none",...e.style},onMouseDown:je(e.onMouseDown,()=>{S.current=!0}),onFocus:je(e.onFocus,j=>{const m=!S.current;if(j.target===j.currentTarget&&m&&!y){const D=new CustomEvent(ol,w6);if(j.currentTarget.dispatchEvent(D),!D.defaultPrevented){const I=C().filter(O=>O.focusable),T=I.find(O=>O.active),k=I.find(O=>O.id===g),M=[T,k,...I].filter(Boolean).map(O=>O.ref.current);y0(M)}}S.current=!1}),onBlur:je(e.onBlur,()=>P(!1))})))}),$6="RovingFocusGroupItem",D6=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...s}=e,i=Ea(),l=a||i,c=T6($6,r),u=c.currentTabStopId===l,d=v0(r),{onFocusableItemAdd:p,onFocusableItemRemove:h}=c;return f.useEffect(()=>{if(n)return p(),()=>h()},[n,p,h]),f.createElement(sl.ItemSlot,{scope:r,id:l,focusable:n,active:o},f.createElement(Re.span,ge({tabIndex:u?0:-1,"data-orientation":c.orientation},s,{ref:t,onMouseDown:je(e.onMouseDown,g=>{n?c.onItemFocus(l):g.preventDefault()}),onFocus:je(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:je(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){c.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const b=A6(g,c.orientation,c.dir);if(b!==void 0){g.preventDefault();let P=d().filter(x=>x.focusable).map(x=>x.ref.current);if(b==="last")P.reverse();else if(b==="prev"||b==="next"){b==="prev"&&P.reverse();const x=P.indexOf(g.currentTarget);P=c.loop?O6(P,x+1):P.slice(x+1)}setTimeout(()=>y0(P))}})})))}),I6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k6(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function A6(e,t,r){const n=k6(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return I6[n]}function y0(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function O6(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const N6=S6,j6=D6,x0="Tabs",[L6,Jx]=en(x0,[b0]),w0=b0(),[_6,il]=L6(x0),F6=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:s="horizontal",dir:i,activationMode:l="automatic",...c}=e,u=g0(i),[d,p]=Fa({prop:n,onChange:o,defaultProp:a});return f.createElement(_6,{scope:r,baseId:Ea(),value:d,onValueChange:p,orientation:s,dir:u,activationMode:l},f.createElement(Re.div,ge({dir:u,"data-orientation":s},c,{ref:t})))}),V6="TabsList",z6=f.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=il(V6,r),s=w0(r);return f.createElement(N6,ge({asChild:!0},s,{orientation:a.orientation,dir:a.dir,loop:n}),f.createElement(Re.div,ge({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),W6="TabsTrigger",B6=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,s=il(W6,r),i=w0(r),l=C0(s.baseId,n),c=P0(s.baseId,n),u=n===s.value;return f.createElement(j6,ge({asChild:!0},i,{focusable:!o,active:u}),f.createElement(Re.button,ge({type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:je(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?s.onValueChange(n):d.preventDefault()}),onKeyDown:je(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&s.onValueChange(n)}),onFocus:je(e.onFocus,()=>{const d=s.activationMode!=="manual";!u&&!o&&d&&s.onValueChange(n)})})))}),R6="TabsContent",K6=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...s}=e,i=il(R6,r),l=C0(i.baseId,n),c=P0(i.baseId,n),u=n===i.value,d=f.useRef(u);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.createElement(sn,{present:o||u},({present:p})=>f.createElement(Re.div,ge({"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:c,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&a))});function C0(e,t){return`${e}-trigger-${t}`}function P0(e,t){return`${e}-content-${t}`}const U6=F6,H6=z6,Y6=B6,G6=K6,q6=({tabs:e,defaultValue:t,variant:r="button",className:n,...o})=>{const a=we({base:"",variants:{variant:{underline:"",button:""}}}),s=we({base:"flex flex-row",variants:{variant:{underline:"",button:""}}}),i=we({base:"flex h-[82px] w-[197px] items-center justify-center gap-2 text-lg font-medium text-primary-grey-700 hover:text-primary-grey-800 data-[state=active]:font-bold data-[state=active]:text-secondary-green-500",variants:{variant:{underline:"border-b border-primary-grey-600 border-t-transparent hover:border-b-4 hover:border-t-3 hover:border-b-primary-grey-700 hover:font-bold data-[state=active]:border-b-4 data-[state=active]:border-t-3 data-[state=active]:border-b-secondary-green-500 data-[state=active]:text-secondary-green-500",button:"relative z-0 -mr-[1px] rounded-none border border-primary-grey-600 first:rounded-l-xl last:rounded-r-xl hover:z-10 hover:border-2 hover:border-primary-grey-800 data-[state=active]:z-20 data-[state=active]:border-2 data-[state=active]:border-secondary-green-500"}}});return L.jsxs(U6,{defaultValue:t??e[0].key,className:a({variant:r,className:n}),...o,children:[L.jsx(H6,{className:s({variant:r}),children:e.map(({icon:l,key:c,title:u})=>L.jsxs(Y6,{value:c,className:i({variant:r}),children:[l&&(typeof l=="string"?L.jsx(Ue,{className:"-mt-[1px]",name:l}):l),u]},c))}),e.map(({content:l,key:c})=>L.jsx(G6,{value:c,children:l},c))]})},ll=f.forwardRef(({disabled:e,isDatePicker:t,isInvalid:r,isValid:n,className:o,icon:a,message:s,iconAction:i,...l},c)=>{const u=we({base:"[&_input]:data-[filled-within=true]:!bg-transparent [&_label]:data-[filled-within=true]:!left-[15px] [&_label]:data-[filled-within=true]:!top-[20px] [&_label]:data-[filled-within=true]:!ml-[1px] [&_label]:data-[filled-within=true]:!text-xs [&_label]:data-[filled-within=true]:!text-primary-grey-800",variants:{isInvalid:{true:"[&_label]:data-[filled-within=true]:!text-complementary-red-500"},isValid:{true:"[&_label]:data-[filled-within=true]:!text-secondary-green-500"},disabled:{true:"[&_label]:data-[filled-within=true]:!text-primary-grey-700"}}}),d=we({base:"left-[15px] top-6 font-satoshi font-satoshi text-base text-sm text-primary-grey-800",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"},disabled:{true:"text-primary-grey-700"}}}),p=we({base:"text-left font-satoshi text-base",variants:{disabled:{true:"!text-primary-grey-700"},isDatePicker:{true:"!cursor-pointer"}}}),h=we({base:"h-12 rounded-lg border border-primary-grey-700 !bg-white px-[15px] text-black !ring-0 !ring-offset-0",variants:{isInvalid:{true:"border-complementary-red-500"},isValid:{true:"border-secondary-green-500"},disabled:{true:"!border-primary-grey-500 !bg-primary-grey-500"},isDatePicker:{true:"!cursor-pointer"}}}),g=we({base:"mt-[5px] pl-3 font-satoshi",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"}}}),b=we({base:"text-primary-grey-800",variants:{iconAction:{true:"cursor-pointer"}}}),{Component:y,label:P,domRef:x,startContent:C,shouldLabelBeOutside:S,shouldLabelBeInside:$,getBaseProps:N,getLabelProps:j,getInputProps:m,getInnerWrapperProps:D,getInputWrapperProps:I,getDescriptionProps:T}=Iy({...l,disabled:e,labelPlacement:"outside",ref:c,classNames:{input:p({disabled:e,isDatePicker:t}),inputWrapper:h({isInvalid:r,isValid:n,disabled:e,isDatePicker:t}),base:u({isInvalid:r,isValid:n,disabled:e,className:o}),label:d({isInvalid:r,isValid:n,disabled:e}),description:g({isInvalid:r,isValid:n})}}),k=L.jsx("label",{...j(),children:P}),w=f.useMemo(()=>C||a?L.jsxs("div",{...D(),children:[C,L.jsx("input",{...m()}),a&&(typeof a=="string"?L.jsx(Ue,{onClick:i,name:a,className:b({iconAction:!!i})}):a)]}):L.jsx("input",{...m()}),[C,i,b,a,m,D]);return L.jsxs(y,{...N(),children:[S?k:null,L.jsxs("div",{...I(),role:"button",onClick:()=>{var M;(M=x.current)==null||M.focus()},children:[$?k:null,w]}),s&&L.jsx("div",{...T(),children:s})]})}),Q6=f.forwardRef((e,t)=>{const[r,n]=f.useState(!1),o=()=>{n(a=>!a)};return L.jsx(ll,{ref:t,icon:r?"eye":"eye-off",type:r?"text":"password",iconAction:o,...e})});let cl=0;function X6(){f.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:M0()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:M0()),cl++,()=>{cl===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),cl--}},[])}function M0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const ul="focusScope.autoFocusOnMount",dl="focusScope.autoFocusOnUnmount",T0={bubbles:!1,cancelable:!0},Z6=f.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[i,l]=f.useState(null),c=Vt(o),u=Vt(a),d=f.useRef(null),p=pt(t,b=>l(b)),h=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(n){let b=function(C){if(h.paused||!i)return;const S=C.target;i.contains(S)?d.current=S:ir(d.current,{select:!0})},y=function(C){if(h.paused||!i)return;const S=C.relatedTarget;S!==null&&(i.contains(S)||ir(d.current,{select:!0}))},P=function(C){if(document.activeElement===document.body)for(const $ of C)$.removedNodes.length>0&&ir(i)};document.addEventListener("focusin",b),document.addEventListener("focusout",y);const x=new MutationObserver(P);return i&&x.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",y),x.disconnect()}}},[n,i,h.paused]),f.useEffect(()=>{if(i){$0.add(h);const b=document.activeElement;if(!i.contains(b)){const P=new CustomEvent(ul,T0);i.addEventListener(ul,c),i.dispatchEvent(P),P.defaultPrevented||(J6(o7(S0(i)),{select:!0}),document.activeElement===b&&ir(i))}return()=>{i.removeEventListener(ul,c),setTimeout(()=>{const P=new CustomEvent(dl,T0);i.addEventListener(dl,u),i.dispatchEvent(P),P.defaultPrevented||ir(b??document.body,{select:!0}),i.removeEventListener(dl,u),$0.remove(h)},0)}}},[i,c,u,h]);const g=f.useCallback(b=>{if(!r&&!n||h.paused)return;const y=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,P=document.activeElement;if(y&&P){const x=b.currentTarget,[C,S]=e7(x);C&&S?!b.shiftKey&&P===S?(b.preventDefault(),r&&ir(C,{select:!0})):b.shiftKey&&P===C&&(b.preventDefault(),r&&ir(S,{select:!0})):P===x&&b.preventDefault()}},[r,n,h.paused]);return f.createElement(Re.div,ge({tabIndex:-1},s,{ref:p,onKeyDown:g}))});function J6(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ir(n,{select:t}),document.activeElement!==r)return}function e7(e){const t=S0(e),r=E0(t,e),n=E0(t.reverse(),e);return[r,n]}function S0(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function E0(e,t){for(const r of e)if(!t7(r,{upTo:t}))return r}function t7(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function r7(e){return e instanceof HTMLInputElement&&"select"in e}function ir(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&r7(e)&&t&&e.select()}}const $0=n7();function n7(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=D0(e,t),e.unshift(t)},remove(t){var r;e=D0(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function D0(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function o7(e){return e.filter(t=>t.tagName!=="A")}var a7=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ln=new WeakMap,Wa=new WeakMap,Ba={},fl=0,I0=function(e){return e&&(e.host||I0(e.parentNode))},s7=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=I0(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},i7=function(e,t,r,n){var o=s7(t,Array.isArray(e)?e:[e]);Ba[r]||(Ba[r]=new WeakMap);var a=Ba[r],s=[],i=new Set,l=new Set(o),c=function(d){!d||i.has(d)||(i.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(i.has(p))u(p);else{var h=p.getAttribute(n),g=h!==null&&h!=="false",b=(ln.get(p)||0)+1,y=(a.get(p)||0)+1;ln.set(p,b),a.set(p,y),s.push(p),b===1&&g&&Wa.set(p,!0),y===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})};return u(t),i.clear(),fl++,function(){s.forEach(function(d){var p=ln.get(d)-1,h=a.get(d)-1;ln.set(d,p),a.set(d,h),p||(Wa.has(d)||d.removeAttribute(n),Wa.delete(d)),h||d.removeAttribute(r)}),fl--,fl||(ln=new WeakMap,ln=new WeakMap,Wa=new WeakMap,Ba={})}},l7=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||a7(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),i7(n,o,r,"aria-hidden")):function(){return null}},k0=Fy(),pl=function(){},Ra=G.forwardRef(function(e,t){var r=G.useRef(null),n=G.useState({onScrollCapture:pl,onWheelCapture:pl,onTouchMoveCapture:pl}),o=n[0],a=n[1],s=e.forwardProps,i=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,b=e.allowPinchZoom,y=e.as,P=y===void 0?"div":y,x=Ic(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=p,S=jy([r,t]),$=Pt(Pt({},x),o);return G.createElement(G.Fragment,null,u&&G.createElement(C,{sideCar:k0,removeScrollBar:c,shards:d,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!b,lockRef:r}),s?G.cloneElement(G.Children.only(i),Pt(Pt({},$),{ref:S})):G.createElement(P,Pt({},$,{className:l,ref:S}),i))});Ra.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ra.classNames={fullWidth:xa,zeroRight:ya};var hl=!1;if(typeof window<"u")try{var Ka=Object.defineProperty({},"passive",{get:function(){return hl=!0,!0}});window.addEventListener("test",Ka,Ka),window.removeEventListener("test",Ka,Ka)}catch{hl=!1}var cn=hl?{passive:!1}:!1,c7=function(e){return e.tagName==="TEXTAREA"},A0=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!c7(e)&&r[t]==="visible")},u7=function(e){return A0(e,"overflowY")},d7=function(e){return A0(e,"overflowX")},O0=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=N0(e,r);if(n){var o=j0(e,r),a=o[1],s=o[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},f7=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},p7=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},N0=function(e,t){return e==="v"?u7(t):d7(t)},j0=function(e,t){return e==="v"?f7(t):p7(t)},h7=function(e,t){return e==="h"&&t==="rtl"?-1:1},m7=function(e,t,r,n,o){var a=h7(e,window.getComputedStyle(t).direction),s=a*n,i=r.target,l=t.contains(i),c=!1,u=s>0,d=0,p=0;do{var h=j0(e,i),g=h[0],b=h[1],y=h[2],P=b-y-a*g;(g||P)&&N0(e,i)&&(d+=P,p+=g),i=i.parentNode}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(u&&(o&&d===0||!o&&s>d)||!u&&(o&&p===0||!o&&-s>p))&&(c=!0),c},Ua=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},L0=function(e){return[e.deltaX,e.deltaY]},_0=function(e){return e&&"current"in e?e.current:e},g7=function(e,t){return e[0]===t[0]&&e[1]===t[1]},v7=function(e){return`
72
+ `)},t3=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=W.useMemo(function(){return Z4(o)},[o]);return W.createElement(J4,{styles:e3(a,!t,o,r?"":"!important")})};const Xp=new WeakMap;function Va(e,t,r){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Xp.get(e)}-${r}-${t}`}function r3(e,t,r){var n;let{key:o,isDisabled:a,shouldSelectOnPressUp:s}=e,{selectionManager:i,selectedKey:l}=t,c=o===l,u=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:d,isPressed:p}=tv({selectionManager:i,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:s,linkBehavior:"selection"}),h=Va(t,o,"tab"),g=Va(t,o,"tabpanel"),{tabIndex:v}=d,b=t.collection.getItem(o),P=qr(b==null?void 0:b.props,{isLink:!!(!(b==null||(n=b.props)===null||n===void 0)&&n.href),labelable:!0});return delete P.id,{tabProps:de(P,d,{id:h,"aria-selected":c,"aria-disabled":u||void 0,"aria-controls":c?g:void 0,tabIndex:u?void 0:v,role:"tab"}),isSelected:c,isDisabled:u,isPressed:p}}function n3(e,t,r){let n=Eg(r)?void 0:0;var o;const a=Va(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),s=Ds({...e,id:a,"aria-labelledby":Va(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:de(s,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class o3{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,r,n,o=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=o}}function a3(e,t,r){let{orientation:n="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:s,disabledKeys:i}=t,{direction:l}=Os(),c=f.useMemo(()=>new o3(a,l,n,i),[a,i,n,l]),{collectionProps:u}=ev({ref:r,selectionManager:s,keyboardDelegate:c,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),d=Yr();Xp.set(t,d);let p=Ds({...e,id:d});return{tabListProps:{...de(u,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}var Zp=yt((e,t)=>{var r,n,o;const{as:a,state:s,className:i,slots:l,classNames:c,...u}=e,d=a||"div",p=at(t),{tabPanelProps:h}=n3(e,s,p),{focusProps:g,isFocused:v,isFocusVisible:b}=Et(),P=s.selectedItem,x=(r=P==null?void 0:P.props)==null?void 0:r.children,w=ve(c==null?void 0:c.panel,i,(n=P==null?void 0:P.props)==null?void 0:n.className);return x?L.jsx(d,{ref:p,"data-focus":v,"data-focus-visible":b,...de(h,g,u),className:(o=l.panel)==null?void 0:o.call(l,{class:w}),"data-slot":"panel",children:x}):null});Zp.displayName="NextUI.TabPanel";var s3=Zp,Jp=yt((e,t)=>{var r;const{className:n,as:o,item:a,state:s,classNames:i,isDisabled:l,listRef:c,slots:u,motionProps:d,disableAnimation:p,disableCursorAnimation:h,shouldSelectOnPressUp:g,onClick:v,...b}=e,{key:P}=a,x=at(t),w=o||(e.href?"a":"button"),T=typeof w=="string",{tabProps:$,isSelected:E,isDisabled:A,isPressed:m}=r3({key:P,isDisabled:l,shouldSelectOnPressUp:g},s,x),k=l||A,{focusProps:I,isFocused:S,isFocusVisible:N}=Et(),{hoverProps:C,isHovered:M}=xr({isDisabled:k}),O=ve(i==null?void 0:i.tab,n),[,_]=A4({rerender:!0}),D=()=>{gr(v,$.onClick),!(!(x!=null&&x.current)||!(c!=null&&c.current))&&v4(x.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:c==null?void 0:c.current})};return L.jsxs(w,{ref:x,"data-disabled":ee(A),"data-focus":ee(S),"data-focus-visible":ee(N),"data-hover":ee(M),"data-hover-unselected":ee((M||m)&&!E),"data-pressed":ee(m),"data-selected":ee(E),"data-slot":"tab",...de($,k?{}:{...I,...C},zn(b,{enabled:T,omitPropNames:new Set(["title"])})),className:(r=u.tab)==null?void 0:r.call(u,{class:O}),title:b==null?void 0:b.titleValue,type:w==="button"?"button":void 0,onClick:D,children:[E&&!p&&!h&&_?L.jsx(yp.span,{className:u.cursor({class:i==null?void 0:i.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...d}):null,L.jsx("div",{className:u.tabContent({class:i==null?void 0:i.tabContent}),"data-slot":"tabContent",children:a.rendered})]})});Jp.displayName="NextUI.Tab";var i3=Jp;class e0{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of t)r(a);let n,o=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),n=s,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function l3(e){let{filter:t}=e,r=L5(e),n=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=f.useCallback(c=>t?new e0(t(c)):new e0(c),[t]),a=f.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=I5(e,o,a),i=f.useMemo(()=>new _5(s,r),[s,r]);const l=f.useRef(null);return f.useEffect(()=>{if(r.focusedKey!=null&&!s.getItem(r.focusedKey)){const c=l.current.getItem(r.focusedKey),u=[...l.current.getKeys()].map(v=>{const b=l.current.getItem(v);return b.type==="item"?b:null}).filter(v=>v!==null),d=[...s.getKeys()].map(v=>{const b=s.getItem(v);return b.type==="item"?b:null}).filter(v=>v!==null),p=u.length-d.length;let h=Math.min(p>1?Math.max(c.index-p+1,0):c.index,d.length-1),g;for(;h>=0;){if(!i.isDisabled(d[h].key)){g=d[h];break}h<d.length-1?h++:(h>c.index&&(h=c.index),h--)}r.setFocusedKey(g?g.key:null)}l.current=s},[s,i,r,r.focusedKey]),{collection:s,disabledKeys:n,selectionManager:i}}function c3(e){var t;let[r,n]=Hr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=f.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:s,selectionManager:i}=l3({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:c=>{var u;let d=(u=c.values().next().value)!==null&&u!==void 0?u:null;d===r&&e.onSelectionChange&&e.onSelectionChange(d),n(d)}}),l=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:s,selectionManager:i,selectedKey:r,setSelectedKey:n,selectedItem:l}}function u3(e){var t;let r=c3({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:t0(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:n,collection:o,selectedKey:a}=r,s=f.useRef(a);return f.useEffect(()=>{let i=a;(n.isEmpty||!o.getItem(i))&&(i=t0(o,r.disabledKeys),i!=null&&n.setSelectedKeys([i])),(i!=null&&n.focusedKey==null||!n.isFocused&&i!==s.current)&&n.setFocusedKey(i),s.current=i}),{...r,isDisabled:e.isDisabled||!1}}function t0(e,t){let r=null;if(e){for(r=e.getFirstKey();t.has(r)&&r!==e.getLastKey();)r=e.getKeyAfter(r);t.has(r)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}function d3(e){const[t,r]=Fn(e,Du.variantKeys),{ref:n,as:o,className:a,classNames:s,children:i,disableCursorAnimation:l,shouldSelectOnPressUp:c=!0,motionProps:u,...d}=t,p=o||"div",h=typeof p=="string",g=at(n),v=u3({children:i,...d}),{tabListProps:b}=a3(d,v,g),P=f.useMemo(()=>Du({...r,className:a}),[...Object.values(r),a]),x=ve(s==null?void 0:s.base,a),w=f.useMemo(()=>({state:v,slots:P,classNames:s,motionProps:u,listRef:g,shouldSelectOnPressUp:c,disableCursorAnimation:l,isDisabled:e==null?void 0:e.isDisabled,disableAnimation:e==null?void 0:e.disableAnimation}),[v,P,g,u,l,c,e==null?void 0:e.disableAnimation,e==null?void 0:e.isDisabled,s]),T=f.useCallback(E=>({"data-slot":"base",className:P.base({class:ve(x,E==null?void 0:E.className)}),...de(zn(d,{enabled:h}),E)}),[x,d,P]),$=f.useCallback(E=>({ref:g,"data-slot":"tabList",className:P.tabList({class:ve(s==null?void 0:s.tabList,E==null?void 0:E.className)}),...de(b,E)}),[g,b,s,P]);return{Component:p,domRef:g,state:v,values:w,getBaseProps:T,getTabListProps:$}}function r0(e,t){var r;const{Component:n,values:o,state:a,getBaseProps:s,getTabListProps:i}=d3({...e,ref:t}),l=f.useId(),c=!e.disableAnimation&&!e.disableCursorAnimation,u={state:a,listRef:o.listRef,slots:o.slots,classNames:o.classNames,isDisabled:o.isDisabled,motionProps:o.motionProps,disableAnimation:o.disableAnimation,shouldSelectOnPressUp:o.shouldSelectOnPressUp,disableCursorAnimation:o.disableCursorAnimation},d=[...a.collection].map(p=>L.jsx(i3,{item:p,...u,...p.props},p.key));return L.jsxs(L.Fragment,{children:[L.jsx("div",{...s(),children:L.jsx(n,{...i(),children:c?L.jsx(T5,{id:l,children:d}):d})}),L.jsx(s3,{classNames:o.classNames,slots:o.slots,state:o.state},(r=a.selectedItem)==null?void 0:r.key)]})}var f3=yt(r0);r0.displayName="NextUI.Tabs";var p3=$5,h3=p3;const m3=({icons:e,className:t})=>{const r=ye({base:"bg-primary-grey-700",variants:{withIcon:{false:"h-6 w-11 px-[2px] group-data-[selected=true]:bg-secondary-green-500",true:"h-[52px] w-[88px] bg-secondary-green-500 group-data-[selected=true]:bg-primary-green-500"}}}),n=ye({variants:{withIcon:{false:"h-5 w-5 group-data-[selected=true]:ml-5",true:"h-11 w-11 group-data-[selected=true]:ml-9"}}});return L.jsx(I4,{classNames:{wrapper:r({withIcon:!!e,className:t}),thumb:n({withIcon:!!e})},thumbIcon:({isSelected:o,className:a})=>e&&(o?L.jsx(Ge,{name:e.selectedIcon,className:Zt(a,"text-lg")}):L.jsx(Ge,{name:e.unselectedIcon,className:Zt(a,"text-lg")}))})},g3=e=>L.jsx(h4,{classNames:{wrapper:"w-4 h-4 rounded-sm before:rounded-sm before:border before:border-primary-grey-700 after:rounded-sm after:bg-secondary-green-500",icon:"w-[11px] h-2.5 [&>*]:stroke-[4px]"},...e}),n0=({size:e="md",className:t,border:r=!1,image:n,label:o,...a})=>{const s=ye({base:"bg-white font-satoshi font-bold capitalize text-white",variants:{size:{lg:"h-28 w-28 text-[48px]",md:"h-[72px] w-[72px] text-[32px]",sm:"h-12 w-12 text-[24px]",xs:"h-6 w-6 text-[12px]"},border:{true:"border-primary-grey-600"},isText:{true:"bg-complementary-violet-500 "}},compoundVariants:[{border:!0,size:"lg",class:"border-[4px]"},{border:!0,size:"md",class:"border-[3px]"},{border:!0,size:"sm",class:"border-2"},{border:!0,size:"xs",class:"border"}]}),i=ye({base:"text-primary-grey-600",variants:{size:{xs:"text-[12px]",sm:"text-[24px]",md:"text-[32px]",lg:"text-[48px]"}}});return L.jsx(K5,{fallback:!o&&L.jsx(Ge,{name:"user",className:i({size:e})}),showFallback:!!o,src:n,name:o,className:s({size:e,border:r,isText:!!(o&&!n),className:t}),...a})},v3=({options:e,labelPosition:t="right",orientation:r="vertical"})=>L.jsx(T4,{orientation:r,children:e.map(n=>L.jsxs("div",{className:"flex items-center gap-2",children:[t==="left"&&L.jsx("label",{"data-testid":"label-position-left",children:n.label}),L.jsx($4,{value:n.value,id:n.id,classNames:{wrapper:"border border-primary-grey-700 group-data-[selected=true]:border-secondary-green-500 group-data-[selected=true]:bg-secondary-green-500",control:"bg-white"}}),t==="right"&&n.label&&L.jsx("label",{"data-testid":"label-position-right",children:n.label})]},n.value))}),il=({children:e,size:t,variant:r="primary",disabled:n,full:o=!1,iconLeft:a,iconRight:s,className:i,isLoadingComplete:l,isLoading:c,...u})=>{const[d,p]=f.useState("w-0"),h=f.useRef(null);f.useEffect(()=>{if(c){let b=2;p("w-1/4"),h.current=setInterval(()=>{p(`w-${b}/4`),b<3?b++:h.current&&clearInterval(h.current)},1e3)}else h.current&&clearInterval(h.current),p("w-0")},[c]);const g=ye({base:`absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in-out ${d}`,variants:{isLoadingComplete:{true:"w-full duration-500",false:""},loadingVariant:{primaryDark:"bg-white",primaryLight:"bg-primary-green-500 ",primary:"bg-primary-green-500 ",negative:"bg-complementary-red-700",secondaryNegative:"bg-complementary-red-50",secondary:"bg-secondary-green-50",tertiary:"",tertiaryDark:"",tertiaryLight:"",direction:"",directionCircle:"",icon:""}}}),v=ye({base:"relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",variants:{size:{small:"h-9",medium:"h-12",large:"h-14"},variant:{primaryDark:"bg-white text-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:text-white focus:outline-primary-green-500",primaryLight:"bg-primary-green-500 hover:bg-white hover:text-secondary-green-500 focus:bg-white focus:text-secondary-green-500 focus:outline-secondary-green-500",primary:"bg-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:outline-white",negative:"bg-complementary-red-700 hover:border-transparent hover:bg-complementary-red-500 focus:bg-complementary-red-500 focus:outline-white",secondaryNegative:"border border-complementary-red-700 !bg-white font-medium text-complementary-red-700 hover:border-2 hover:border-complementary-red-500 hover:text-complementary-red-500 focus:border-[3px] focus:border-complementary-red-500 focus:text-complementary-red-500",secondary:"border border-primary-green-500 !bg-transparent font-medium text-primary-green-500 hover:border-2 hover:border-secondary-green-500 hover:text-secondary-green-500 focus:border-[3px] focus:border-secondary-green-500 focus:text-secondary-green-500",tertiary:"!bg-transparent px-4 font-medium text-primary-green-500 hover:text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryDark:"!bg-transparent px-4 font-medium text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryLight:"!bg-transparent px-4 font-medium text-primary-green-500 focus:font-bold focus:text-primary-green-500 focus:outline-none",direction:"h-10 bg-primary-green-500 p-2.5 font-medium hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",directionCircle:"font:medium !min-w-unit-10 bg-primary-green-500 !px-0 hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",icon:"!min-w-unit-10 bg-transparent !px-0 text-primary-green-500 hover:text-secondary-green-500"},full:{true:"w-full",false:""},disabled:{true:"",false:""},isLoading:{true:"",false:""},hasIcon:{true:"!px-6"}},compoundVariants:[{disabled:!0,isLoading:!1,class:"pointer-events-none border-transparent bg-primary-grey-500 font-medium text-primary-grey-700"},{variant:"primaryDark",isLoading:!0,class:"!bg-secondary-green-500 !text-primary-green-500 focus:bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"primaryLight",isLoading:!0,class:"!bg-white text-secondary-green-500 focus:outline-white"},{variant:"primary",isLoading:!0,class:"!bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"negative",isLoading:!0,class:"!bg-complementary-red-500 focus:outline-complementary-red-500"},{variant:"secondaryNegative",isLoading:!0,class:"!border !border-complementary-red-700 !bg-white text-complementary-red-700 focus:outline-none"},{variant:"secondary",isLoading:!0,class:"!border !border-secondary-green-500 !bg-white text-secondary-green-500 focus:outline-none"},{variant:"tertiary",isLoading:!0,class:"!font-medium"},{variant:"tertiaryDark",isLoading:!0,class:"!font-medium"},{variant:"tertiaryLight",isLoading:!0,class:"!font-medium"},{variant:"secondaryNegative",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"secondary",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"tertiary",disabled:!0,class:"bg-transparent underline"},{variant:"icon",disabled:!0,class:"bg-transparent"},{variant:"directionCircle",hasIcon:!0,class:"!min-w-unit-10 !px-0"}]});return f.useEffect(()=>()=>{h.current&&clearInterval(h.current)},[h]),L.jsx(Z5,{disabled:c||n,className:Zt(i,v({size:t,variant:r,disabled:n,full:o,isLoading:c,hasIcon:!!(a||s)})),...u,children:L.jsxs("div",{children:[L.jsx("div",{className:Zt(g({isLoadingComplete:l,loadingVariant:r}))}),L.jsxs("div",{className:"relative flex items-center gap-3 text-center",children:[a&&(typeof a=="string"?L.jsx(Ge,{"data-testid":"button-component-icon-left",name:a}):a),e&&L.jsx("span",{className:r.includes("tertiary")?"underline":"",children:e}),s&&(typeof s=="string"?L.jsx(Ge,{"data-testid":"button-component-icon-right",name:s}):s)]})]})})},b3=({children:e,className:t,avatar:r,size:n="sm",disabled:o=!1,iconLeft:a,iconRight:s})=>{const i=ye({base:"flex h-6 cursor-pointer items-center justify-center gap-2 border border-primary-green-500 bg-white px-2 pt-[1px] font-satoshi text-[10px] font-medium leading-[15px] text-primary-green-500 hover:border-secondary-green-500 hover:text-secondary-green-500 active:border-[2px] active:px-[7px]",variants:{size:{sm:"",lg:"h-[54px] gap-3 px-4 text-base active:px-[15px]"},hasAvatar:{true:"!border-0 bg-primary-grey-600 pl-6"},disabled:{true:"cursor-default !border-1 !border-primary-grey-500 bg-primary-grey-500 !text-primary-grey-800"}},compoundVariants:[{size:"sm",hasAvatar:!0,class:"pl-6 active:pl-[24px] active:pr-[8px]"},{size:"lg",hasAvatar:!0,class:"pl-14 active:pl-[56px] active:pr-[16px]"},{size:"sm",disabled:!0,class:"active:px-[8px]"},{size:"lg",disabled:!0,class:"active:px-[16px]"}]}),l=ye({base:"absolute left-0 top-0",variants:{size:{sm:"",lg:"h-[54px] w-[54px]"}}}),c=ye({base:"text-xs",variants:{size:{sm:"",lg:"text-lg"}}});return L.jsxs(Np,{size:n,className:Zt(i({hasAvatar:!!r,size:n,disabled:o,className:t})),startContent:a&&(typeof a=="string"?L.jsx(Ge,{className:c({size:n}),name:a}):a),endContent:s&&(typeof s=="string"?L.jsx(Ge,{className:c({size:n}),name:s}):s),children:[r&&L.jsx(n0,{className:l({size:n}),border:!1,size:"xs",image:r}),e]})},y3=({tabs:e,tabClass:t,size:r="md",onSelectionChange:n,...o})=>{const a=ye({base:"bg-primary-grey-500 p-[1px]",variants:{size:{sm:"h-8",md:"h-9",lg:"h-12"}}}),s=ye({base:"h-full font-medium text-primary-grey-800 data-[selected=true]:!font-bold data-[selected=true]:!text-primary-green-500 data-[hover='true']:opacity-100",variants:{size:{sm:"px-[40px]",md:"px-[80px]",lg:"px-[75px]"},tabClass:{}}}),i=ye({base:"!text-white shadow-none"}),l=ye({base:"!font-inherit flex items-center gap-2 font-satoshi !text-inherit",variants:{size:{sm:"text-[14px]",md:"text-[14px]",lg:"text-[20px]"}}});return L.jsx(f3,{onClick:c=>{const u=c.target,d=u.parentElement.getAttribute("data-selected");let p=u.getAttribute("data-key");p||(p=u.parentElement.getAttribute("data-key")),!d&&p&&n(p)},classNames:{tabList:a({size:r}),tab:s({size:r,className:t}),cursor:i(),tabContent:l({size:r})},radius:"full",size:r,...o,children:e.map(({key:c,title:u,component:d,icon:p})=>L.jsx(h3,{title:L.jsxs(L.Fragment,{children:[p&&(typeof p=="string"?L.jsx(Ge,{className:"text-[16px]",name:p}):p)," ",u]}),children:d},c))})},o0=({message:e,actions:t,inlineActions:r=!0})=>{const n=ye({base:"flex gap-3 rounded-lg bg-primary-black-400 p-4",variants:{inlineActions:{true:"flex flex-row",false:"flex flex-col items-end justify-end"},toastType:{alert:"rounded-2xl bg-primary-grey-600",snackbar:"bg-primary-black-400",banner:"rounded-2xl bg-complementary-red-500"}}});return L.jsxs("div",{className:n({inlineActions:r}),children:[L.jsx("div",{className:"flex flex-1 items-center gap-4",children:L.jsx("p",{className:"font-satoshi text-sm",children:e})}),L.jsx("div",{children:t&&L.jsx("div",{className:"flex",children:t.map(({label:o,onClick:a})=>L.jsx(il,{onClick:a,variant:"tertiaryDark",children:o},o))})})]})};function a0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=a0(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ir(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=a0(e))&&(n&&(n+=" "),n+=t);return n}const oo=e=>typeof e=="number"&&!isNaN(e),kr=e=>typeof e=="string",it=e=>typeof e=="function",za=e=>kr(e)||it(e)?e:null,ll=e=>f.isValidElement(e)||kr(e)||it(e)||oo(e);function x3(e,t,r){r===void 0&&(r=300);const{scrollHeight:n,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=n+"px",o.transition=`all ${r}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)})})}function ao(e){let{enter:t,exit:r,appendPosition:n=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(s){let{children:i,position:l,preventExitTransition:c,done:u,nodeRef:d,isIn:p,playToast:h}=s;const g=n?`${t}--${l}`:t,v=n?`${r}--${l}`:r,b=f.useRef(0);return f.useLayoutEffect(()=>{const P=d.current,x=g.split(" "),w=T=>{T.target===d.current&&(h(),P.removeEventListener("animationend",w),P.removeEventListener("animationcancel",w),b.current===0&&T.type!=="animationcancel"&&P.classList.remove(...x))};P.classList.add(...x),P.addEventListener("animationend",w),P.addEventListener("animationcancel",w)},[]),f.useEffect(()=>{const P=d.current,x=()=>{P.removeEventListener("animationend",x),o?x3(P,u,a):u()};p||(c?x():(b.current=1,P.className+=` ${v}`,P.addEventListener("animationend",x)))},[p]),f.createElement(f.Fragment,null,i)}}function s0(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const Ye=new Map;let so=[];const cl=new Set,w3=e=>cl.forEach(t=>t(e)),i0=()=>Ye.size>0;function l0(e,t){var r;if(t)return!((r=Ye.get(t))==null||!r.isToastActive(e));let n=!1;return Ye.forEach(o=>{o.isToastActive(e)&&(n=!0)}),n}function c0(e,t){ll(e)&&(i0()||so.push({content:e,options:t}),Ye.forEach(r=>{r.buildToast(e,t)}))}function u0(e,t){Ye.forEach(r=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===r.id&&r.toggle(e,t==null?void 0:t.id):r.toggle(e,t==null?void 0:t.id)})}function C3(e){const{subscribe:t,getSnapshot:r,setProps:n}=f.useRef(function(a){const s=a.containerId||1;return{subscribe(i){const l=function(u,d,p){let h=1,g=0,v=[],b=[],P=[],x=d;const w=new Map,T=new Set,$=()=>{P=Array.from(w.values()),T.forEach(m=>m())},E=m=>{b=m==null?[]:b.filter(k=>k!==m),$()},A=m=>{const{toastId:k,onOpen:I,updateId:S,children:N}=m.props,C=S==null;m.staleId&&w.delete(m.staleId),w.set(k,m),b=[...b,m.props.toastId].filter(M=>M!==m.staleId),$(),p(s0(m,C?"added":"updated")),C&&it(I)&&I(f.isValidElement(N)&&N.props)};return{id:u,props:x,observe:m=>(T.add(m),()=>T.delete(m)),toggle:(m,k)=>{w.forEach(I=>{k!=null&&k!==I.props.toastId||it(I.toggle)&&I.toggle(m)})},removeToast:E,toasts:w,clearQueue:()=>{g-=v.length,v=[]},buildToast:(m,k)=>{if((F=>{let{containerId:B,toastId:q,updateId:K}=F;const Q=B?B!==u:u!==1,ne=w.has(q)&&K==null;return Q||ne})(k))return;const{toastId:I,updateId:S,data:N,staleId:C,delay:M}=k,O=()=>{E(I)},_=S==null;_&&g++;const D={...x,style:x.toastStyle,key:h++,...Object.fromEntries(Object.entries(k).filter(F=>{let[B,q]=F;return q!=null})),toastId:I,updateId:S,data:N,closeToast:O,isIn:!1,className:za(k.className||x.toastClassName),bodyClassName:za(k.bodyClassName||x.bodyClassName),progressClassName:za(k.progressClassName||x.progressClassName),autoClose:!k.isLoading&&(z=k.autoClose,X=x.autoClose,z===!1||oo(z)&&z>0?z:X),deleteToast(){const F=w.get(I),{onClose:B,children:q}=F.props;it(B)&&B(f.isValidElement(q)&&q.props),p(s0(F,"removed")),w.delete(I),g--,g<0&&(g=0),v.length>0?A(v.shift()):$()}};var z,X;D.closeButton=x.closeButton,k.closeButton===!1||ll(k.closeButton)?D.closeButton=k.closeButton:k.closeButton===!0&&(D.closeButton=!ll(x.closeButton)||x.closeButton);let G=m;f.isValidElement(m)&&!kr(m.type)?G=f.cloneElement(m,{closeToast:O,toastProps:D,data:N}):it(m)&&(G=m({closeToast:O,toastProps:D,data:N}));const U={content:G,props:D,staleId:C};x.limit&&x.limit>0&&g>x.limit&&_?v.push(U):oo(M)?setTimeout(()=>{A(U)},M):A(U)},setProps(m){x=m},setToggle:(m,k)=>{w.get(m).toggle=k},isToastActive:m=>b.some(k=>k===m),getSnapshot:()=>x.newestOnTop?P.reverse():P}}(s,a,w3);Ye.set(s,l);const c=l.observe(i);return so.forEach(u=>c0(u.content,u.options)),so=[],()=>{c(),Ye.delete(s)}},setProps(i){var l;(l=Ye.get(s))==null||l.setProps(i)},getSnapshot(){var i;return(i=Ye.get(s))==null?void 0:i.getSnapshot()}}}(e)).current;n(e);const o=f.useSyncExternalStore(t,r,r);return{getToastToRender:function(a){if(!o)return[];const s=new Map;return o.forEach(i=>{const{position:l}=i.props;s.has(l)||s.set(l,[]),s.get(l).push(i)}),Array.from(s,i=>a(i[0],i[1]))},isToastActive:l0,count:o==null?void 0:o.length}}function P3(e){const[t,r]=f.useState(!1),[n,o]=f.useState(!1),a=f.useRef(null),s=f.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:i,pauseOnHover:l,closeToast:c,onClick:u,closeOnClick:d}=e;var p,h;function g(){r(!0)}function v(){r(!1)}function b(w){const T=a.current;s.canDrag&&T&&(s.didMove=!0,t&&v(),s.delta=e.draggableDirection==="x"?w.clientX-s.start:w.clientY-s.start,s.start!==w.clientX&&(s.canCloseOnClick=!1),T.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,T.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function P(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",P);const w=a.current;if(s.canDrag&&s.didMove&&w){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();w.style.transition="transform 0.2s, opacity 0.2s",w.style.removeProperty("transform"),w.style.removeProperty("opacity")}}(h=Ye.get((p={id:e.toastId,containerId:e.containerId,fn:r}).containerId||1))==null||h.setToggle(p.id,p.fn),f.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||v(),window.addEventListener("focus",g),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",v)}},[e.pauseOnFocusLoss]);const x={onPointerDown:function(w){if(e.draggable===!0||e.draggable===w.pointerType){s.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",P);const T=a.current;s.canCloseOnClick=!0,s.canDrag=!0,T.style.transition="none",e.draggableDirection==="x"?(s.start=w.clientX,s.removalDistance=T.offsetWidth*(e.draggablePercent/100)):(s.start=w.clientY,s.removalDistance=T.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(w){const{top:T,bottom:$,left:E,right:A}=a.current.getBoundingClientRect();w.nativeEvent.type!=="touchend"&&e.pauseOnHover&&w.clientX>=E&&w.clientX<=A&&w.clientY>=T&&w.clientY<=$?v():g()}};return i&&l&&(x.onMouseEnter=v,e.stacked||(x.onMouseLeave=g)),d&&(x.onClick=w=>{u&&u(w),s.canCloseOnClick&&c()}),{playToast:g,pauseToast:v,isRunning:t,preventExitTransition:n,toastRef:a,eventHandlers:x}}function M3(e){let{delay:t,isRunning:r,closeToast:n,type:o="default",hide:a,className:s,style:i,controlledProgress:l,progress:c,rtl:u,isIn:d,theme:p}=e;const h=a||l&&c===0,g={...i,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};l&&(g.transform=`scaleX(${c})`);const v=ir("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":u}),b=it(s)?s({rtl:u,type:o,defaultClassName:v}):ir(v,s),P={[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&n()}};return f.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":h},f.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${o}`}),f.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:b,style:g,...P}))}let S3=1;const d0=()=>""+S3++;function T3(e){return e&&(kr(e.toastId)||oo(e.toastId))?e.toastId:d0()}function io(e,t){return c0(e,t),t.toastId}function Wa(e,t){return{...t,type:t&&t.type||e,toastId:T3(t)}}function Ba(e){return(t,r)=>io(t,Wa(e,r))}function $e(e,t){return io(e,Wa("default",t))}$e.loading=(e,t)=>io(e,Wa("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),$e.promise=function(e,t,r){let n,{pending:o,error:a,success:s}=t;o&&(n=kr(o)?$e.loading(o,r):$e.loading(o.render,{...r,...o}));const i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(u,d,p)=>{if(d==null)return void $e.dismiss(n);const h={type:u,...i,...r,data:p},g=kr(d)?{render:d}:d;return n?$e.update(n,{...h,...g}):$e(g.render,{...h,...g}),p},c=it(e)?e():e;return c.then(u=>l("success",s,u)).catch(u=>l("error",a,u)),c},$e.success=Ba("success"),$e.info=Ba("info"),$e.error=Ba("error"),$e.warning=Ba("warning"),$e.warn=$e.warning,$e.dark=(e,t)=>io(e,Wa("default",{theme:"dark",...t})),$e.dismiss=function(e){(function(t){var r;if(i0()){if(t==null||kr(r=t)||oo(r))Ye.forEach(n=>{n.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const n=Ye.get(t.containerId);n?n.removeToast(t.id):Ye.forEach(o=>{o.removeToast(t.id)})}}else so=so.filter(n=>t!=null&&n.options.toastId!==t)})(e)},$e.clearWaitingQueue=function(e){e===void 0&&(e={}),Ye.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},$e.isActive=l0,$e.update=function(e,t){t===void 0&&(t={});const r=((n,o)=>{var a;let{containerId:s}=o;return(a=Ye.get(s||1))==null?void 0:a.toasts.get(n)})(e,t);if(r){const{props:n,content:o}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:d0()};a.toastId!==e&&(a.staleId=e);const s=a.render||o;delete a.render,io(s,a)}},$e.done=e=>{$e.update(e,{progress:1})},$e.onChange=function(e){return cl.add(e),()=>{cl.delete(e)}},$e.play=e=>u0(!0,e),$e.pause=e=>u0(!1,e);const E3=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ka=e=>{let{theme:t,type:r,isLoading:n,...o}=e;return f.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${r})`,...o})},ul={info:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return f.createElement("div",{className:"Toastify__spinner"})}},$3=e=>{const{isRunning:t,preventExitTransition:r,toastRef:n,eventHandlers:o,playToast:a}=P3(e),{closeButton:s,children:i,autoClose:l,onClick:c,type:u,hideProgressBar:d,closeToast:p,transition:h,position:g,className:v,style:b,bodyClassName:P,bodyStyle:x,progressClassName:w,progressStyle:T,updateId:$,role:E,progress:A,rtl:m,toastId:k,deleteToast:I,isIn:S,isLoading:N,closeOnClick:C,theme:M}=e,O=ir("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${u}`,{"Toastify__toast--rtl":m},{"Toastify__toast--close-on-click":C}),_=it(v)?v({rtl:m,position:g,type:u,defaultClassName:O}):ir(O,v),D=function(U){let{theme:F,type:B,isLoading:q,icon:K}=U,Q=null;const ne={theme:F,type:B};return K===!1||(it(K)?Q=K({...ne,isLoading:q}):f.isValidElement(K)?Q=f.cloneElement(K,ne):q?Q=ul.spinner():(le=>le in ul)(B)&&(Q=ul[B](ne))),Q}(e),z=!!A||!l,X={closeToast:p,type:u,theme:M};let G=null;return s===!1||(G=it(s)?s(X):f.isValidElement(s)?f.cloneElement(s,X):function(U){let{closeToast:F,theme:B,ariaLabel:q="close"}=U;return f.createElement("button",{className:`Toastify__close-button Toastify__close-button--${B}`,type:"button",onClick:K=>{K.stopPropagation(),F(K)},"aria-label":q},f.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},f.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(X)),f.createElement(h,{isIn:S,done:I,position:g,preventExitTransition:r,nodeRef:n,playToast:a},f.createElement("div",{id:k,onClick:c,"data-in":S,className:_,...o,style:b,ref:n},f.createElement("div",{...S&&{role:E},className:it(P)?P({type:u}):ir("Toastify__toast-body",P),style:x},D!=null&&f.createElement("div",{className:ir("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!N})},D),f.createElement("div",null,i)),G,f.createElement(M3,{...$&&!z?{key:`pb-${$}`}:{},rtl:m,theme:M,delay:l,isRunning:t,isIn:S,closeToast:p,hide:d,type:u,style:T,className:w,controlledProgress:z,progress:A||0})))},Ra=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},D3=ao(Ra("bounce",!0));ao(Ra("slide",!0)),ao(Ra("zoom")),ao(Ra("flip"));const k3={position:"top-right",transition:D3,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function I3(e){let t={...k3,...e};const r=e.stacked,[n,o]=f.useState(!0),a=f.useRef(null),{getToastToRender:s,isToastActive:i,count:l}=C3(t),{className:c,style:u,rtl:d,containerId:p}=t;function h(v){const b=ir("Toastify__toast-container",`Toastify__toast-container--${v}`,{"Toastify__toast-container--rtl":d});return it(c)?c({position:v,rtl:d,defaultClassName:b}):ir(b,za(c))}function g(){r&&(o(!0),$e.play())}return E3(()=>{if(r){var v;const b=a.current.querySelectorAll('[data-in="true"]'),P=12,x=(v=t.position)==null?void 0:v.includes("top");let w=0,T=0;Array.from(b).reverse().forEach(($,E)=>{const A=$;A.classList.add("Toastify__toast--stacked"),E>0&&(A.dataset.collapsed=`${n}`),A.dataset.pos||(A.dataset.pos=x?"top":"bot");const m=w*(n?.2:1)+(n?0:P*E);A.style.setProperty("--y",`${x?m:-1*m}px`),A.style.setProperty("--g",`${P}`),A.style.setProperty("--s",""+(1-(n?T:0))),w+=A.offsetHeight,T+=.025})}},[n,l,r]),f.createElement("div",{ref:a,className:"Toastify",id:p,onMouseEnter:()=>{r&&(o(!1),$e.pause())},onMouseLeave:g},s((v,b)=>{const P=b.length?{...u}:{...u,pointerEvents:"none"};return f.createElement("div",{className:h(v),style:P,key:`container-${v}`},b.map(x=>{let{content:w,props:T}=x;return f.createElement($3,{...T,stacked:r,collapseAll:g,isIn:i(T.toastId,T.containerId),style:T.style,key:`toast-${T.key}`},w)}))}))}const nP="",A3=()=>({snackbar:(t,r)=>{$e(L.jsx(o0,{message:t,actions:r==null?void 0:r.actions,inlineActions:r==null?void 0:r.inlineActions}))}});function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fe.apply(this,arguments)}function De(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 N3(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function f0(...e){return t=>e.forEach(r=>N3(r,t))}function Je(...e){return f.useCallback(f0(...e),e)}function Ir(e,t=[]){let r=[];function n(a,s){const i=f.createContext(s),l=r.length;r=[...r,s];function c(d){const{scope:p,children:h,...g}=d,v=(p==null?void 0:p[e][l])||i,b=f.useMemo(()=>g,Object.values(g));return f.createElement(v.Provider,{value:b},h)}function u(d,p){const h=(p==null?void 0:p[e][l])||i,g=f.useContext(h);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,u]}const o=()=>{const a=r.map(s=>f.createContext(s));return function(i){const l=(i==null?void 0:i[e])||a;return f.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return o.scopeName=e,[n,O3(o,...t)]}function O3(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const s=n.reduce((i,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...i,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}const fn=f.forwardRef((e,t)=>{const{children:r,...n}=e,o=f.Children.toArray(r),a=o.find(j3);if(a){const s=a.props.children,i=o.map(l=>l===a?f.Children.count(s)>1?f.Children.only(null):f.isValidElement(s)?s.props.children:null:l);return f.createElement(dl,fe({},n,{ref:t}),f.isValidElement(s)?f.cloneElement(s,void 0,i):null)}return f.createElement(dl,fe({},n,{ref:t}),r)});fn.displayName="Slot";const dl=f.forwardRef((e,t)=>{const{children:r,...n}=e;return f.isValidElement(r)?f.cloneElement(r,{...L3(n,r.props),ref:t?f0(t,r.ref):r.ref}):f.Children.count(r)>1?f.Children.only(null):null});dl.displayName="SlotClone";const p0=({children:e})=>f.createElement(f.Fragment,null,e);function j3(e){return f.isValidElement(e)&&e.type===p0}function L3(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...i)=>{a(...i),o(...i)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const Ne=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=f.forwardRef((n,o)=>{const{asChild:a,...s}=n,i=a?fn:t;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(i,fe({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function _3(e,t){e&&$n.flushSync(()=>e.dispatchEvent(t))}function Bt(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function F3(e,t=globalThis==null?void 0:globalThis.document){const r=Bt(e);f.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const fl="dismissableLayer.update",V3="dismissableLayer.pointerDownOutside",z3="dismissableLayer.focusOutside";let h0;const W3=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),pl=f.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=f.useContext(W3),[d,p]=f.useState(null),h=(r=d==null?void 0:d.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=f.useState({}),v=Je(t,m=>p(m)),b=Array.from(u.layers),[P]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(P),w=d?b.indexOf(d):-1,T=u.layersWithOutsidePointerEventsDisabled.size>0,$=w>=x,E=B3(m=>{const k=m.target,I=[...u.branches].some(S=>S.contains(k));!$||I||(a==null||a(m),i==null||i(m),m.defaultPrevented||l==null||l())},h),A=K3(m=>{const k=m.target;[...u.branches].some(S=>S.contains(k))||(s==null||s(m),i==null||i(m),m.defaultPrevented||l==null||l())},h);return F3(m=>{w===u.layers.size-1&&(o==null||o(m),!m.defaultPrevented&&l&&(m.preventDefault(),l()))},h),f.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(h0=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),m0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=h0)}},[d,h,n,u]),f.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),m0())},[d,u]),f.useEffect(()=>{const m=()=>g({});return document.addEventListener(fl,m),()=>document.removeEventListener(fl,m)},[]),f.createElement(Ne.div,fe({},c,{ref:v,style:{pointerEvents:T?$?"auto":"none":void 0,...e.style},onFocusCapture:De(e.onFocusCapture,A.onFocusCapture),onBlurCapture:De(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:De(e.onPointerDownCapture,E.onPointerDownCapture)}))});function B3(e,t=globalThis==null?void 0:globalThis.document){const r=Bt(e),n=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=i=>{if(i.target&&!n.current){let c=function(){g0(V3,r,l,{discrete:!0})};const l={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function K3(e,t=globalThis==null?void 0:globalThis.document){const r=Bt(e),n=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!n.current&&g0(z3,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function m0(){const e=new CustomEvent(fl);document.dispatchEvent(e)}function g0(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?_3(o,a):o.dispatchEvent(a)}const pn=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},R3=W["useId".toString()]||(()=>{});let U3=0;function Ar(e){const[t,r]=W.useState(R3());return pn(()=>{e||r(n=>n??String(U3++))},[e]),e||(t?`radix-${t}`:"")}const G3=["top","right","bottom","left"],lr=Math.min,lt=Math.max,Ua=Math.round,Ga=Math.floor,cr=e=>({x:e,y:e}),H3={left:"right",right:"left",bottom:"top",top:"bottom"},Y3={start:"end",end:"start"};function hl(e,t,r){return lt(e,lr(t,r))}function Kt(e,t){return typeof e=="function"?e(t):e}function Rt(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function ml(e){return e==="x"?"y":"x"}function gl(e){return e==="y"?"height":"width"}function mn(e){return["top","bottom"].includes(Rt(e))?"y":"x"}function vl(e){return ml(mn(e))}function q3(e,t,r){r===void 0&&(r=!1);const n=hn(e),o=vl(e),a=gl(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Ha(s)),[s,Ha(s)]}function Q3(e){const t=Ha(e);return[bl(e),t,bl(t)]}function bl(e){return e.replace(/start|end/g,t=>Y3[t])}function X3(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function Z3(e,t,r,n){const o=hn(e);let a=X3(Rt(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(bl)))),a}function Ha(e){return e.replace(/left|right|bottom|top/g,t=>H3[t])}function J3(e){return{top:0,right:0,bottom:0,left:0,...e}}function v0(e){return typeof e!="number"?J3(e):{top:e,right:e,bottom:e,left:e}}function Ya(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function b0(e,t,r){let{reference:n,floating:o}=e;const a=mn(t),s=vl(t),i=gl(s),l=Rt(t),c=a==="y",u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[i]/2-o[i]/2;let h;switch(l){case"top":h={x:u,y:n.y-o.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-o.width,y:d};break;default:h={x:n.x,y:n.y}}switch(hn(t)){case"start":h[s]-=p*(r&&c?-1:1);break;case"end":h[s]+=p*(r&&c?-1:1);break}return h}const e6=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,i=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=b0(c,n,l),p=n,h={},g=0;for(let v=0;v<i.length;v++){const{name:b,fn:P}=i[v],{x,y:w,data:T,reset:$}=await P({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});if(u=x??u,d=w??d,h={...h,[b]:{...h[b],...T}},$&&g<=50){g++,typeof $=="object"&&($.placement&&(p=$.placement),$.rects&&(c=$.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):$.rects),{x:u,y:d}=b0(c,p,l)),v=-1;continue}}return{x:u,y:d,placement:p,strategy:o,middlewareData:h}};async function lo(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=Kt(t,e),g=v0(h),b=i[p?d==="floating"?"reference":"floating":d],P=Ya(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:l})),x=d==="floating"?{...s.floating,x:n,y:o}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),T=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},$=Ya(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:l}):x);return{top:(P.top-$.top+g.top)/T.y,bottom:($.bottom-P.bottom+g.bottom)/T.y,left:(P.left-$.left+g.left)/T.x,right:($.right-P.right+g.right)/T.x}}const y0=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:c,padding:u=0}=Kt(e,t)||{};if(c==null)return{};const d=v0(u),p={x:r,y:n},h=vl(o),g=gl(h),v=await s.getDimensions(c),b=h==="y",P=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",T=a.reference[g]+a.reference[h]-p[h]-a.floating[g],$=p[h]-a.reference[h],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let A=E?E[w]:0;(!A||!await(s.isElement==null?void 0:s.isElement(E)))&&(A=i.floating[w]||a.floating[g]);const m=T/2-$/2,k=A/2-v[g]/2-1,I=lr(d[P],k),S=lr(d[x],k),N=I,C=A-v[g]-S,M=A/2-v[g]/2+m,O=hl(N,M,C),_=!l.arrow&&hn(o)!=null&&M!=O&&a.reference[g]/2-(M<N?I:S)-v[g]/2<0,D=_?M<N?M-N:M-C:0;return{[h]:p[h]+D,data:{[h]:O,centerOffset:M-O-D,..._&&{alignmentOffset:D}},reset:_}}}),t6=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...b}=Kt(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const P=Rt(o),x=Rt(i)===i,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=p||(x||!v?[Ha(i)]:Q3(i));!p&&g!=="none"&&T.push(...Z3(i,v,g,w));const $=[i,...T],E=await lo(t,b),A=[];let m=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&A.push(E[P]),d){const N=q3(o,s,w);A.push(E[N[0]],E[N[1]])}if(m=[...m,{placement:o,overflows:A}],!A.every(N=>N<=0)){var k,I;const N=(((k=a.flip)==null?void 0:k.index)||0)+1,C=$[N];if(C)return{data:{index:N,overflows:m},reset:{placement:C}};let M=(I=m.filter(O=>O.overflows[0]<=0).sort((O,_)=>O.overflows[1]-_.overflows[1])[0])==null?void 0:I.placement;if(!M)switch(h){case"bestFit":{var S;const O=(S=m.map(_=>[_.placement,_.overflows.filter(D=>D>0).reduce((D,z)=>D+z,0)]).sort((_,D)=>_[1]-D[1])[0])==null?void 0:S[0];O&&(M=O);break}case"initialPlacement":M=i;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function x0(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function w0(e){return G3.some(t=>e[t]>=0)}const r6=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Kt(e,t);switch(n){case"referenceHidden":{const a=await lo(t,{...o,elementContext:"reference"}),s=x0(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:w0(s)}}}case"escaped":{const a=await lo(t,{...o,altBoundary:!0}),s=x0(a,r.floating);return{data:{escapedOffsets:s,escaped:w0(s)}}}default:return{}}}}};async function n6(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Rt(r),i=hn(r),l=mn(r)==="y",c=["left","top"].includes(s)?-1:1,u=a&&l?-1:1,d=Kt(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return i&&typeof g=="number"&&(h=i==="end"?g*-1:g),l?{x:h*u,y:p*c}:{x:p*c,y:h*u}}const o6=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await n6(t,e);return{x:r+o.x,y:n+o.y,data:o}}}},a6=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:i={fn:b=>{let{x:P,y:x}=b;return{x:P,y:x}}},...l}=Kt(e,t),c={x:r,y:n},u=await lo(t,l),d=mn(Rt(o)),p=ml(d);let h=c[p],g=c[d];if(a){const b=p==="y"?"top":"left",P=p==="y"?"bottom":"right",x=h+u[b],w=h-u[P];h=hl(x,h,w)}if(s){const b=d==="y"?"top":"left",P=d==="y"?"bottom":"right",x=g+u[b],w=g-u[P];g=hl(x,g,w)}const v=i.fn({...t,[p]:h,[d]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}},s6=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:c=!0}=Kt(e,t),u={x:r,y:n},d=mn(o),p=ml(d);let h=u[p],g=u[d];const v=Kt(i,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",T=a.reference[p]-a.floating[w]+b.mainAxis,$=a.reference[p]+a.reference[w]-b.mainAxis;h<T?h=T:h>$&&(h=$)}if(c){var P,x;const w=p==="y"?"width":"height",T=["top","left"].includes(Rt(o)),$=a.reference[d]-a.floating[w]+(T&&((P=s.offset)==null?void 0:P[d])||0)+(T?0:b.crossAxis),E=a.reference[d]+a.reference[w]+(T?0:((x=s.offset)==null?void 0:x[d])||0)-(T?b.crossAxis:0);g<$?g=$:g>E&&(g=E)}return{[p]:h,[d]:g}}}},i6=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:s=()=>{},...i}=Kt(e,t),l=await lo(t,i),c=Rt(r),u=hn(r),d=mn(r)==="y",{width:p,height:h}=n.floating;let g,v;c==="top"||c==="bottom"?(g=c,v=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=c,g=u==="end"?"top":"bottom");const b=h-l[g],P=p-l[v],x=!t.middlewareData.shift;let w=b,T=P;if(d){const E=p-l.left-l.right;T=u||x?lr(P,E):E}else{const E=h-l.top-l.bottom;w=u||x?lr(b,E):E}if(x&&!u){const E=lt(l.left,0),A=lt(l.right,0),m=lt(l.top,0),k=lt(l.bottom,0);d?T=p-2*(E!==0||A!==0?E+A:lt(l.left,l.right)):w=h-2*(m!==0||k!==0?m+k:lt(l.top,l.bottom))}await s({...t,availableWidth:T,availableHeight:w});const $=await o.getDimensions(a.floating);return p!==$.width||h!==$.height?{reset:{rects:!0}}:{}}}};function ur(e){return C0(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ut(e){var t;return(t=(C0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function C0(e){return e instanceof Node||e instanceof ct(e).Node}function Gt(e){return e instanceof Element||e instanceof ct(e).Element}function kt(e){return e instanceof HTMLElement||e instanceof ct(e).HTMLElement}function P0(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function co(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function l6(e){return["table","td","th"].includes(ur(e))}function yl(e){const t=xl(),r=mt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function c6(e){let t=gn(e);for(;kt(t)&&!qa(t);){if(yl(t))return t;t=gn(t)}return null}function xl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qa(e){return["html","body","#document"].includes(ur(e))}function mt(e){return ct(e).getComputedStyle(e)}function Qa(e){return Gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function gn(e){if(ur(e)==="html")return e;const t=e.assignedSlot||e.parentNode||P0(e)&&e.host||Ut(e);return P0(t)?t.host:t}function M0(e){const t=gn(e);return qa(t)?e.ownerDocument?e.ownerDocument.body:e.body:kt(t)&&co(t)?t:M0(t)}function uo(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=M0(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=ct(o);return a?t.concat(s,s.visualViewport||[],co(o)?o:[],s.frameElement&&r?uo(s.frameElement):[]):t.concat(o,uo(o,[],r))}function S0(e){const t=mt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=kt(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,i=Ua(r)!==a||Ua(n)!==s;return i&&(r=a,n=s),{width:r,height:n,$:i}}function wl(e){return Gt(e)?e:e.contextElement}function vn(e){const t=wl(e);if(!kt(t))return cr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=S0(t);let s=(a?Ua(r.width):r.width)/n,i=(a?Ua(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const u6=cr(0);function T0(e){const t=ct(e);return!xl()||!t.visualViewport?u6:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function d6(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ct(e)?!1:t}function Nr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=wl(e);let s=cr(1);t&&(n?Gt(n)&&(s=vn(n)):s=vn(e));const i=d6(a,r,n)?T0(a):cr(0);let l=(o.left+i.x)/s.x,c=(o.top+i.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(a){const p=ct(a),h=n&&Gt(n)?ct(n):n;let g=p.frameElement;for(;g&&n&&h!==p;){const v=vn(g),b=g.getBoundingClientRect(),P=mt(g),x=b.left+(g.clientLeft+parseFloat(P.paddingLeft))*v.x,w=b.top+(g.clientTop+parseFloat(P.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,d*=v.y,l+=x,c+=w,g=ct(g).frameElement}}return Ya({width:u,height:d,x:l,y:c})}function f6(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=kt(r),a=Ut(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},i=cr(1);const l=cr(0);if((o||!o&&n!=="fixed")&&((ur(r)!=="body"||co(a))&&(s=Qa(r)),kt(r))){const c=Nr(r);i=vn(r),l.x=c.x+r.clientLeft,l.y=c.y+r.clientTop}return{width:t.width*i.x,height:t.height*i.y,x:t.x*i.x-s.scrollLeft*i.x+l.x,y:t.y*i.y-s.scrollTop*i.y+l.y}}function p6(e){return Array.from(e.getClientRects())}function E0(e){return Nr(Ut(e)).left+Qa(e).scrollLeft}function h6(e){const t=Ut(e),r=Qa(e),n=e.ownerDocument.body,o=lt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=lt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+E0(e);const i=-r.scrollTop;return mt(n).direction==="rtl"&&(s+=lt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:i}}function m6(e,t){const r=ct(e),n=Ut(e),o=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const c=xl();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i,y:l}}function g6(e,t){const r=Nr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=kt(e)?vn(e):cr(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,c=n*a.y;return{width:s,height:i,x:l,y:c}}function $0(e,t,r){let n;if(t==="viewport")n=m6(e,r);else if(t==="document")n=h6(Ut(e));else if(Gt(t))n=g6(t,r);else{const o=T0(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Ya(n)}function D0(e,t){const r=gn(e);return r===t||!Gt(r)||qa(r)?!1:mt(r).position==="fixed"||D0(r,t)}function v6(e,t){const r=t.get(e);if(r)return r;let n=uo(e,[],!1).filter(i=>Gt(i)&&ur(i)!=="body"),o=null;const a=mt(e).position==="fixed";let s=a?gn(e):e;for(;Gt(s)&&!qa(s);){const i=mt(s),l=yl(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||co(s)&&!l&&D0(e,s))?n=n.filter(u=>u!==s):o=i,s=gn(s)}return t.set(e,n),n}function b6(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?v6(t,this._c):[].concat(r),n],i=s[0],l=s.reduce((c,u)=>{const d=$0(t,u,o);return c.top=lt(d.top,c.top),c.right=lr(d.right,c.right),c.bottom=lr(d.bottom,c.bottom),c.left=lt(d.left,c.left),c},$0(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function y6(e){return S0(e)}function x6(e,t,r){const n=kt(t),o=Ut(t),a=r==="fixed",s=Nr(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=cr(0);if(n||!n&&!a)if((ur(t)!=="body"||co(o))&&(i=Qa(t)),n){const c=Nr(t,!0,a,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=E0(o));return{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function k0(e,t){return!kt(e)||mt(e).position==="fixed"?null:t?t(e):e.offsetParent}function I0(e,t){const r=ct(e);if(!kt(e))return r;let n=k0(e,t);for(;n&&l6(n)&&mt(n).position==="static";)n=k0(n,t);return n&&(ur(n)==="html"||ur(n)==="body"&&mt(n).position==="static"&&!yl(n))?r:n||c6(e)||r}const w6=async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||I0,a=this.getDimensions;return{reference:x6(t,await o(r),n),floating:{x:0,y:0,...await a(r)}}};function C6(e){return mt(e).direction==="rtl"}const P6={convertOffsetParentRelativeRectToViewportRelativeRect:f6,getDocumentElement:Ut,getClippingRect:b6,getOffsetParent:I0,getElementRects:w6,getClientRects:p6,getDimensions:y6,getScale:vn,isElement:Gt,isRTL:C6};function M6(e,t){let r=null,n;const o=Ut(e);function a(){clearTimeout(n),r&&r.disconnect(),r=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(i||t(),!d||!p)return;const h=Ga(u),g=Ga(o.clientWidth-(c+d)),v=Ga(o.clientHeight-(u+p)),b=Ga(c),x={rootMargin:-h+"px "+-g+"px "+-v+"px "+-b+"px",threshold:lt(0,lr(1,l))||1};let w=!0;function T($){const E=$[0].intersectionRatio;if(E!==l){if(!w)return s();E?s(!1,E):n=setTimeout(()=>{s(!1,1e-7)},100)}w=!1}try{r=new IntersectionObserver(T,{...x,root:o.ownerDocument})}catch{r=new IntersectionObserver(T,x)}r.observe(e)}return s(!0),a}function S6(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=wl(e),u=o||a?[...c?uo(c):[],...uo(t)]:[];u.forEach(P=>{o&&P.addEventListener("scroll",r,{passive:!0}),a&&P.addEventListener("resize",r)});const d=c&&i?M6(c,r):null;let p=-1,h=null;s&&(h=new ResizeObserver(P=>{let[x]=P;x&&x.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),c&&!l&&h.observe(c),h.observe(t));let g,v=l?Nr(e):null;l&&b();function b(){const P=Nr(e);v&&(P.x!==v.x||P.y!==v.y||P.width!==v.width||P.height!==v.height)&&r(),v=P,g=requestAnimationFrame(b)}return r(),()=>{u.forEach(P=>{o&&P.removeEventListener("scroll",r),a&&P.removeEventListener("resize",r)}),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const T6=(e,t,r)=>{const n=new Map,o={platform:P6,...r},a={...o.platform,_c:n};return e6(e,t,{...o,platform:a})},E6=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?y0({element:n.current,padding:o}).fn(r):{}:n?y0({element:n,padding:o}).fn(r):{}}}};var Xa=typeof document<"u"?f.useLayoutEffect:f.useEffect;function Za(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Za(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Za(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function A0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function N0(e,t){const r=A0(e);return Math.round(t*r)/r}function O0(e){const t=W.useRef(e);return Xa(()=>{t.current=e}),t}function $6(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[u,d]=W.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=W.useState(n);Za(p,n)||h(n);const[g,v]=W.useState(null),[b,P]=W.useState(null),x=W.useCallback(_=>{_!=E.current&&(E.current=_,v(_))},[v]),w=W.useCallback(_=>{_!==A.current&&(A.current=_,P(_))},[P]),T=a||g,$=s||b,E=W.useRef(null),A=W.useRef(null),m=W.useRef(u),k=O0(l),I=O0(o),S=W.useCallback(()=>{if(!E.current||!A.current)return;const _={placement:t,strategy:r,middleware:p};I.current&&(_.platform=I.current),T6(E.current,A.current,_).then(D=>{const z={...D,isPositioned:!0};N.current&&!Za(m.current,z)&&(m.current=z,Th.flushSync(()=>{d(z)}))})},[p,t,r,I]);Xa(()=>{c===!1&&m.current.isPositioned&&(m.current.isPositioned=!1,d(_=>({..._,isPositioned:!1})))},[c]);const N=W.useRef(!1);Xa(()=>(N.current=!0,()=>{N.current=!1}),[]),Xa(()=>{if(T&&(E.current=T),$&&(A.current=$),T&&$){if(k.current)return k.current(T,$,S);S()}},[T,$,S,k]);const C=W.useMemo(()=>({reference:E,floating:A,setReference:x,setFloating:w}),[x,w]),M=W.useMemo(()=>({reference:T,floating:$}),[T,$]),O=W.useMemo(()=>{const _={position:r,left:0,top:0};if(!M.floating)return _;const D=N0(M.floating,u.x),z=N0(M.floating,u.y);return i?{..._,transform:"translate("+D+"px, "+z+"px)",...A0(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:D,top:z}},[r,i,M.floating,u.x,u.y]);return W.useMemo(()=>({...u,update:S,refs:C,elements:M,floatingStyles:O}),[u,S,C,M,O])}const D6=f.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return f.createElement(Ne.svg,fe({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:f.createElement("polygon",{points:"0,0 30,0 15,10"}))});function k6(e){const[t,r]=f.useState(void 0);return pn(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,i=c.blockSize}else s=e.offsetWidth,i=e.offsetHeight;r({width:s,height:i})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const j0="Popper",[L0,Ja]=Ir(j0),[I6,_0]=L0(j0),A6=e=>{const{__scopePopper:t,children:r}=e,[n,o]=f.useState(null);return f.createElement(I6,{scope:t,anchor:n,onAnchorChange:o},r)},N6="PopperAnchor",O6=f.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=_0(N6,r),s=f.useRef(null),i=Je(t,s);return f.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||s.current)}),n?null:f.createElement(Ne.div,fe({},o,{ref:i}))}),F0="PopperContent",[j6,L6]=L0(F0),_6=f.forwardRef((e,t)=>{var r,n,o,a,s,i,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:g=0,arrowPadding:v=0,avoidCollisions:b=!0,collisionBoundary:P=[],collisionPadding:x=0,sticky:w="partial",hideWhenDetached:T=!1,updatePositionStrategy:$="optimized",onPlaced:E,...A}=e,m=_0(F0,u),[k,I]=f.useState(null),S=Je(t,te=>I(te)),[N,C]=f.useState(null),M=k6(N),O=(r=M==null?void 0:M.width)!==null&&r!==void 0?r:0,_=(n=M==null?void 0:M.height)!==null&&n!==void 0?n:0,D=d+(h!=="center"?"-"+h:""),z=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},X=Array.isArray(P)?P:[P],G=X.length>0,U={padding:z,boundary:X.filter(W6),altBoundary:G},{refs:F,floatingStyles:B,placement:q,isPositioned:K,middlewareData:Q}=$6({strategy:"fixed",placement:D,whileElementsMounted:(...te)=>S6(...te,{animationFrame:$==="always"}),elements:{reference:m.anchor},middleware:[o6({mainAxis:p+_,alignmentAxis:g}),b&&a6({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?s6():void 0,...U}),b&&t6({...U}),i6({...U,apply:({elements:te,rects:je,availableWidth:Fe,availableHeight:Ve})=>{const{width:Ie,height:Nt}=je.reference,vt=te.floating.style;vt.setProperty("--radix-popper-available-width",`${Fe}px`),vt.setProperty("--radix-popper-available-height",`${Ve}px`),vt.setProperty("--radix-popper-anchor-width",`${Ie}px`),vt.setProperty("--radix-popper-anchor-height",`${Nt}px`)}}),N&&E6({element:N,padding:v}),B6({arrowWidth:O,arrowHeight:_}),T&&r6({strategy:"referenceHidden",...U})]}),[ne,le]=V0(q),ce=Bt(E);pn(()=>{K&&(ce==null||ce())},[K,ce]);const ue=(o=Q.arrow)===null||o===void 0?void 0:o.x,ge=(a=Q.arrow)===null||a===void 0?void 0:a.y,Se=((s=Q.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Te,se]=f.useState();return pn(()=>{k&&se(window.getComputedStyle(k).zIndex)},[k]),f.createElement("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:K?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Te,"--radix-popper-transform-origin":[(i=Q.transformOrigin)===null||i===void 0?void 0:i.x,(l=Q.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},f.createElement(j6,{scope:u,placedSide:ne,onArrowChange:C,arrowX:ue,arrowY:ge,shouldHideArrow:Se},f.createElement(Ne.div,fe({"data-side":ne,"data-align":le},A,{ref:S,style:{...A.style,animation:K?void 0:"none",opacity:(c=Q.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))}),F6="PopperArrow",V6={top:"bottom",right:"left",bottom:"top",left:"right"},z6=f.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=L6(F6,n),s=V6[a.placedSide];return f.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},f.createElement(D6,fe({},o,{ref:r,style:{...o.style,display:"block"}})))});function W6(e){return e!==null}const B6=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,s;const{placement:i,rects:l,middlewareData:c}=t,d=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=d?0:e.arrowWidth,h=d?0:e.arrowHeight,[g,v]=V0(i),b={start:"0%",center:"50%",end:"100%"}[v],P=((n=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(s=c.arrow)===null||s===void 0?void 0:s.y)!==null&&a!==void 0?a:0)+h/2;let w="",T="";return g==="bottom"?(w=d?b:`${P}px`,T=`${-h}px`):g==="top"?(w=d?b:`${P}px`,T=`${l.floating.height+h}px`):g==="right"?(w=`${-h}px`,T=d?b:`${x}px`):g==="left"&&(w=`${l.floating.width+h}px`,T=d?b:`${x}px`),{data:{x:w,y:T}}}});function V0(e){const[t,r="center"]=e.split("-");return[t,r]}const z0=A6,W0=O6,B0=_6,K6=z6,Cl=f.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?$n.createPortal(f.createElement(Ne.div,fe({},o,{ref:t})),n):null});function R6(e,t){return f.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ht=e=>{const{present:t,children:r}=e,n=U6(t),o=typeof r=="function"?r({present:n.isPresent}):f.Children.only(r),a=Je(n.ref,o.ref);return typeof r=="function"||n.isPresent?f.cloneElement(o,{ref:a}):null};Ht.displayName="Presence";function U6(e){const[t,r]=f.useState(),n=f.useRef({}),o=f.useRef(e),a=f.useRef("none"),s=e?"mounted":"unmounted",[i,l]=R6(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const c=es(n.current);a.current=i==="mounted"?c:"none"},[i]),pn(()=>{const c=n.current,u=o.current;if(u!==e){const p=a.current,h=es(c);e?l("MOUNT"):h==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),pn(()=>{if(t){const c=d=>{const h=es(n.current).includes(d.animationName);d.target===t&&h&&$n.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(a.current=es(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:f.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function es(e){return(e==null?void 0:e.animationName)||"none"}function fo({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=G6({defaultProp:t,onChange:r}),a=e!==void 0,s=a?e:n,i=Bt(r),l=f.useCallback(c=>{if(a){const d=typeof c=="function"?c(e):c;d!==e&&i(d)}else o(c)},[a,e,o,i]);return[s,l]}function G6({defaultProp:e,onChange:t}){const r=f.useState(e),[n]=r,o=f.useRef(n),a=Bt(t);return f.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const H6=f.forwardRef((e,t)=>f.createElement(Ne.span,fe({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[ts,iP]=Ir("Tooltip",[Ja]),rs=Ja(),Y6="TooltipProvider",q6=700,Pl="tooltip.open",[Q6,Ml]=ts(Y6),X6=e=>{const{__scopeTooltip:t,delayDuration:r=q6,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[s,i]=f.useState(!0),l=f.useRef(!1),c=f.useRef(0);return f.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),f.createElement(Q6,{scope:t,isOpenDelayed:s,delayDuration:r,onOpen:f.useCallback(()=>{window.clearTimeout(c.current),i(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(u=>{l.current=u},[]),disableHoverableContent:o},a)},Sl="Tooltip",[Z6,po]=ts(Sl),J6=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:i}=e,l=Ml(Sl,e.__scopeTooltip),c=rs(t),[u,d]=f.useState(null),p=Ar(),h=f.useRef(0),g=s??l.disableHoverableContent,v=i??l.delayDuration,b=f.useRef(!1),[P=!1,x]=fo({prop:n,defaultProp:o,onChange:A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(Pl))):l.onClose(),a==null||a(A)}}),w=f.useMemo(()=>P?b.current?"delayed-open":"instant-open":"closed",[P]),T=f.useCallback(()=>{window.clearTimeout(h.current),b.current=!1,x(!0)},[x]),$=f.useCallback(()=>{window.clearTimeout(h.current),x(!1)},[x]),E=f.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,x(!0)},v)},[v,x]);return f.useEffect(()=>()=>window.clearTimeout(h.current),[]),f.createElement(z0,c,f.createElement(Z6,{scope:t,contentId:p,open:P,stateAttribute:w,trigger:u,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayed?E():T()},[l.isOpenDelayed,E,T]),onTriggerLeave:f.useCallback(()=>{g?$():window.clearTimeout(h.current)},[$,g]),onOpen:T,onClose:$,disableHoverableContent:g},r))},K0="TooltipTrigger",e7=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=po(K0,r),a=Ml(K0,r),s=rs(r),i=f.useRef(null),l=Je(t,i,o.onTriggerChange),c=f.useRef(!1),u=f.useRef(!1),d=f.useCallback(()=>c.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.createElement(W0,fe({asChild:!0},s),f.createElement(Ne.button,fe({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:l,onPointerMove:De(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:De(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:De(e.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:De(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:De(e.onBlur,o.onClose),onClick:De(e.onClick,o.onClose)})))}),R0="TooltipPortal",[t7,r7]=ts(R0,{forceMount:void 0}),n7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=po(R0,t);return f.createElement(t7,{scope:t,forceMount:r},f.createElement(Ht,{present:r||a.open},f.createElement(Cl,{asChild:!0,container:o},n)))},ho="TooltipContent",o7=f.forwardRef((e,t)=>{const r=r7(ho,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,s=po(ho,e.__scopeTooltip);return f.createElement(Ht,{present:n||s.open},s.disableHoverableContent?f.createElement(U0,fe({side:o},a,{ref:t})):f.createElement(a7,fe({side:o},a,{ref:t})))}),a7=f.forwardRef((e,t)=>{const r=po(ho,e.__scopeTooltip),n=Ml(ho,e.__scopeTooltip),o=f.useRef(null),a=Je(t,o),[s,i]=f.useState(null),{trigger:l,onClose:c}=r,u=o.current,{onPointerInTransitChange:d}=n,p=f.useCallback(()=>{i(null),d(!1)},[d]),h=f.useCallback((g,v)=>{const b=g.currentTarget,P={x:g.clientX,y:g.clientY},x=u7(P,b.getBoundingClientRect()),w=d7(P,x),T=f7(v.getBoundingClientRect()),$=h7([...w,...T]);i($),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(l&&u){const g=b=>h(b,u),v=b=>h(b,l);return l.addEventListener("pointerleave",g),u.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",g),u.removeEventListener("pointerleave",v)}}},[l,u,h,p]),f.useEffect(()=>{if(s){const g=v=>{const b=v.target,P={x:v.clientX,y:v.clientY},x=(l==null?void 0:l.contains(b))||(u==null?void 0:u.contains(b)),w=!p7(P,s);x?p():w&&(p(),c())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,u,s,c,p]),f.createElement(U0,fe({},e,{ref:a}))}),[s7,i7]=ts(Sl,{isInside:!1}),U0=f.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...i}=e,l=po(ho,r),c=rs(r),{onClose:u}=l;return f.useEffect(()=>(document.addEventListener(Pl,u),()=>document.removeEventListener(Pl,u)),[u]),f.useEffect(()=>{if(l.trigger){const d=p=>{const h=p.target;h!=null&&h.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),f.createElement(pl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u},f.createElement(B0,fe({"data-state":l.stateAttribute},c,i,{ref:t,style:{...i.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)"}}),f.createElement(p0,null,n),f.createElement(s7,{scope:r,isInside:!0},f.createElement(H6,{id:l.contentId,role:"tooltip"},o||n))))}),l7="TooltipArrow",c7=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rs(r);return i7(l7,r).isInside?null:f.createElement(K6,fe({},o,n,{ref:t}))});function u7(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function d7(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function f7(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function p7(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const i=t[a].x,l=t[a].y,c=t[s].x,u=t[s].y;l>n!=u>n&&r<(c-i)*(n-l)/(u-l)+i&&(o=!o)}return o}function h7(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),m7(t)}function m7(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],s=r[r.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const g7=X6,v7=J6,b7=e7,y7=n7,x7=o7,w7=c7,C7=({children:e,showArrow:t=!1,startOpen:r=!1,content:n,hasCloseButton:o=!1,action:a,size:s="sm"})=>{const[i,l]=f.useState(r),c=ye({base:"rounded-lg bg-primary-black-400 px-4 pb-[13px] pt-[12px] font-satoshi text-sm font-medium text-white",variants:{size:{sm:"max-w-[215px]",lg:"max-w-[342px]"}}}),u=()=>{l(!1)},d=()=>{a&&a.onClick(),u()};return L.jsx(g7,{children:L.jsxs(v7,{delayDuration:0,defaultOpen:i,open:i,onOpenChange:p=>l(p),children:[L.jsx(b7,{asChild:!0,children:e}),L.jsx(y7,{children:L.jsxs(x7,{className:c({size:s}),sideOffset:5,children:[L.jsxs("div",{children:[L.jsxs("div",{className:"flex gap-4",children:[n,o&&L.jsx(Ge,{onClick:u,name:"close",className:"mt-1 cursor-pointer text-xs text-white"})]}),a&&L.jsx(il,{className:"-mb-1 mt-1 !h-6 !px-0",variant:"tertiaryDark",onClick:d,children:a.label})]}),t&&L.jsx(w7,{className:"TooltipArrow"})]})})]})})};function P7(e){const t=e+"CollectionProvider",[r,n]=Ir(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=h=>{const{scope:g,children:v}=h,b=f.useRef(null),P=f.useRef(new Map).current;return f.createElement(o,{scope:g,itemMap:P,collectionRef:b},v)},i=e+"CollectionSlot",l=f.forwardRef((h,g)=>{const{scope:v,children:b}=h,P=a(i,v),x=Je(g,P.collectionRef);return f.createElement(fn,{ref:x},b)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=f.forwardRef((h,g)=>{const{scope:v,children:b,...P}=h,x=f.useRef(null),w=Je(g,x),T=a(c,v);return f.useEffect(()=>(T.itemMap.set(x,{ref:x,...P}),()=>void T.itemMap.delete(x))),f.createElement(fn,{[u]:"",ref:w},b)});function p(h){const g=a(e+"CollectionConsumer",h);return f.useCallback(()=>{const b=g.collectionRef.current;if(!b)return[];const P=Array.from(b.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((T,$)=>P.indexOf(T.ref.current)-P.indexOf($.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},p,n]}const M7=f.createContext(void 0);function G0(e){const t=f.useContext(M7);return e||t||"ltr"}const Tl="rovingFocusGroup.onEntryFocus",S7={bubbles:!1,cancelable:!0},El="RovingFocusGroup",[$l,H0,T7]=P7(El),[E7,Y0]=Ir(El,[T7]),[$7,D7]=E7(El),k7=f.forwardRef((e,t)=>f.createElement($l.Provider,{scope:e.__scopeRovingFocusGroup},f.createElement($l.Slot,{scope:e.__scopeRovingFocusGroup},f.createElement(I7,fe({},e,{ref:t}))))),I7=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=f.useRef(null),p=Je(t,d),h=G0(a),[g=null,v]=fo({prop:s,defaultProp:i,onChange:l}),[b,P]=f.useState(!1),x=Bt(c),w=H0(r),T=f.useRef(!1),[$,E]=f.useState(0);return f.useEffect(()=>{const A=d.current;if(A)return A.addEventListener(Tl,x),()=>A.removeEventListener(Tl,x)},[x]),f.createElement($7,{scope:r,orientation:n,dir:h,loop:o,currentTabStopId:g,onItemFocus:f.useCallback(A=>v(A),[v]),onItemShiftTab:f.useCallback(()=>P(!0),[]),onFocusableItemAdd:f.useCallback(()=>E(A=>A+1),[]),onFocusableItemRemove:f.useCallback(()=>E(A=>A-1),[])},f.createElement(Ne.div,fe({tabIndex:b||$===0?-1:0,"data-orientation":n},u,{ref:p,style:{outline:"none",...e.style},onMouseDown:De(e.onMouseDown,()=>{T.current=!0}),onFocus:De(e.onFocus,A=>{const m=!T.current;if(A.target===A.currentTarget&&m&&!b){const k=new CustomEvent(Tl,S7);if(A.currentTarget.dispatchEvent(k),!k.defaultPrevented){const I=w().filter(O=>O.focusable),S=I.find(O=>O.active),N=I.find(O=>O.id===g),M=[S,N,...I].filter(Boolean).map(O=>O.ref.current);q0(M)}}T.current=!1}),onBlur:De(e.onBlur,()=>P(!1))})))}),A7="RovingFocusGroupItem",N7=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...s}=e,i=Ar(),l=a||i,c=D7(A7,r),u=c.currentTabStopId===l,d=H0(r),{onFocusableItemAdd:p,onFocusableItemRemove:h}=c;return f.useEffect(()=>{if(n)return p(),()=>h()},[n,p,h]),f.createElement($l.ItemSlot,{scope:r,id:l,focusable:n,active:o},f.createElement(Ne.span,fe({tabIndex:u?0:-1,"data-orientation":c.orientation},s,{ref:t,onMouseDown:De(e.onMouseDown,g=>{n?c.onItemFocus(l):g.preventDefault()}),onFocus:De(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:De(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){c.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const v=L7(g,c.orientation,c.dir);if(v!==void 0){g.preventDefault();let P=d().filter(x=>x.focusable).map(x=>x.ref.current);if(v==="last")P.reverse();else if(v==="prev"||v==="next"){v==="prev"&&P.reverse();const x=P.indexOf(g.currentTarget);P=c.loop?_7(P,x+1):P.slice(x+1)}setTimeout(()=>q0(P))}})})))}),O7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function j7(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function L7(e,t,r){const n=j7(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return O7[n]}function q0(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function _7(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const F7=k7,V7=N7,Q0="Tabs",[z7,lP]=Ir(Q0,[Y0]),X0=Y0(),[W7,Dl]=z7(Q0),B7=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:s="horizontal",dir:i,activationMode:l="automatic",...c}=e,u=G0(i),[d,p]=fo({prop:n,onChange:o,defaultProp:a});return f.createElement(W7,{scope:r,baseId:Ar(),value:d,onValueChange:p,orientation:s,dir:u,activationMode:l},f.createElement(Ne.div,fe({dir:u,"data-orientation":s},c,{ref:t})))}),K7="TabsList",R7=f.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=Dl(K7,r),s=X0(r);return f.createElement(F7,fe({asChild:!0},s,{orientation:a.orientation,dir:a.dir,loop:n}),f.createElement(Ne.div,fe({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),U7="TabsTrigger",G7=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,s=Dl(U7,r),i=X0(r),l=Z0(s.baseId,n),c=J0(s.baseId,n),u=n===s.value;return f.createElement(V7,fe({asChild:!0},i,{focusable:!o,active:u}),f.createElement(Ne.button,fe({type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:De(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?s.onValueChange(n):d.preventDefault()}),onKeyDown:De(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&s.onValueChange(n)}),onFocus:De(e.onFocus,()=>{const d=s.activationMode!=="manual";!u&&!o&&d&&s.onValueChange(n)})})))}),H7="TabsContent",Y7=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...s}=e,i=Dl(H7,r),l=Z0(i.baseId,n),c=J0(i.baseId,n),u=n===i.value,d=f.useRef(u);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.createElement(Ht,{present:o||u},({present:p})=>f.createElement(Ne.div,fe({"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:c,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&a))});function Z0(e,t){return`${e}-trigger-${t}`}function J0(e,t){return`${e}-content-${t}`}const q7=B7,Q7=R7,X7=G7,Z7=Y7,J7=({tabs:e,defaultValue:t,variant:r="button",className:n,...o})=>{const a=ye({base:"",variants:{variant:{underline:"",button:""}}}),s=ye({base:"flex flex-row",variants:{variant:{underline:"",button:""}}}),i=ye({base:"flex h-[82px] w-[197px] items-center justify-center gap-2 text-lg font-medium text-primary-grey-700 hover:text-primary-grey-800 data-[state=active]:font-bold data-[state=active]:text-secondary-green-500",variants:{variant:{underline:"border-b border-primary-grey-600 border-t-transparent hover:border-b-4 hover:border-t-3 hover:border-b-primary-grey-700 hover:font-bold data-[state=active]:border-b-4 data-[state=active]:border-t-3 data-[state=active]:border-b-secondary-green-500 data-[state=active]:text-secondary-green-500",button:"relative z-0 -mr-[1px] rounded-none border border-primary-grey-600 first:rounded-l-xl last:rounded-r-xl hover:z-10 hover:border-2 hover:border-primary-grey-800 data-[state=active]:z-20 data-[state=active]:border-2 data-[state=active]:border-secondary-green-500"}}});return L.jsxs(q7,{defaultValue:t??e[0].key,className:a({variant:r,className:n}),...o,children:[L.jsx(Q7,{className:s({variant:r}),children:e.map(({icon:l,key:c,title:u})=>L.jsxs(X7,{value:c,className:i({variant:r}),children:[l&&(typeof l=="string"?L.jsx(Ge,{className:"-mt-[1px]",name:l}):l),u]},c))}),e.map(({content:l,key:c})=>L.jsx(Z7,{value:c,children:l},c))]})},kl=f.forwardRef(({disabled:e,isDatePicker:t,isInvalid:r,isValid:n,className:o,icon:a,message:s,iconAction:i,...l},c)=>{const u=ye({base:"[&_input]:data-[filled-within=true]:!bg-transparent [&_label]:data-[filled-within=true]:!left-[15px] [&_label]:data-[filled-within=true]:!top-[20px] [&_label]:data-[filled-within=true]:!ml-[1px] [&_label]:data-[filled-within=true]:!text-xs [&_label]:data-[filled-within=true]:!text-primary-grey-800",variants:{isInvalid:{true:"[&_label]:data-[filled-within=true]:!text-complementary-red-500"},isValid:{true:"[&_label]:data-[filled-within=true]:!text-secondary-green-500"},disabled:{true:"[&_label]:data-[filled-within=true]:!text-primary-grey-700"}}}),d=ye({base:"left-[15px] top-6 font-satoshi font-satoshi text-base text-sm text-primary-grey-800",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"},disabled:{true:"text-primary-grey-700"}}}),p=ye({base:"text-left font-satoshi text-base",variants:{disabled:{true:"!text-primary-grey-700"},isDatePicker:{true:"!cursor-pointer"}}}),h=ye({base:"h-12 rounded-lg border border-primary-grey-700 !bg-white px-[15px] text-black !ring-0 !ring-offset-0",variants:{isInvalid:{true:"border-complementary-red-500"},isValid:{true:"border-secondary-green-500"},disabled:{true:"!border-primary-grey-500 !bg-primary-grey-500"},isDatePicker:{true:"!cursor-pointer"}}}),g=ye({base:"mt-[5px] pl-3 font-satoshi",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"}}}),v=ye({base:"text-primary-grey-800",variants:{iconAction:{true:"cursor-pointer"}}}),{Component:b,label:P,domRef:x,startContent:w,shouldLabelBeOutside:T,shouldLabelBeInside:$,getBaseProps:E,getLabelProps:A,getInputProps:m,getInnerWrapperProps:k,getInputWrapperProps:I,getDescriptionProps:S}=O4({...l,disabled:e,labelPlacement:"outside",ref:c,classNames:{input:p({disabled:e,isDatePicker:t}),inputWrapper:h({isInvalid:r,isValid:n,disabled:e,isDatePicker:t}),base:u({isInvalid:r,isValid:n,disabled:e,className:o}),label:d({isInvalid:r,isValid:n,disabled:e}),description:g({isInvalid:r,isValid:n})}}),N=L.jsx("label",{...A(),children:P}),C=f.useMemo(()=>w||a?L.jsxs("div",{...k(),children:[w,L.jsx("input",{...m()}),a&&(typeof a=="string"?L.jsx(Ge,{onClick:i,name:a,className:v({iconAction:!!i})}):a)]}):L.jsx("input",{...m()}),[w,i,v,a,m,k]);return L.jsxs(b,{...E(),children:[T?N:null,L.jsxs("div",{...I(),role:"button",onClick:()=>{var M;(M=x.current)==null||M.focus()},children:[$?N:null,C]}),s&&L.jsx("div",{...S(),children:s})]})}),e8=f.forwardRef((e,t)=>{const[r,n]=f.useState(!1),o=()=>{n(a=>!a)};return L.jsx(kl,{ref:t,icon:r?"eye":"eye-off",type:r?"text":"password",iconAction:o,...e})});let Il=0;function e1(){f.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:t1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:t1()),Il++,()=>{Il===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Il--}},[])}function t1(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Al="focusScope.autoFocusOnMount",Nl="focusScope.autoFocusOnUnmount",r1={bubbles:!1,cancelable:!0},n1=f.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[i,l]=f.useState(null),c=Bt(o),u=Bt(a),d=f.useRef(null),p=Je(t,v=>l(v)),h=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(n){let v=function(w){if(h.paused||!i)return;const T=w.target;i.contains(T)?d.current=T:dr(d.current,{select:!0})},b=function(w){if(h.paused||!i)return;const T=w.relatedTarget;T!==null&&(i.contains(T)||dr(d.current,{select:!0}))},P=function(w){if(document.activeElement===document.body)for(const $ of w)$.removedNodes.length>0&&dr(i)};document.addEventListener("focusin",v),document.addEventListener("focusout",b);const x=new MutationObserver(P);return i&&x.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),x.disconnect()}}},[n,i,h.paused]),f.useEffect(()=>{if(i){s1.add(h);const v=document.activeElement;if(!i.contains(v)){const P=new CustomEvent(Al,r1);i.addEventListener(Al,c),i.dispatchEvent(P),P.defaultPrevented||(t8(s8(o1(i)),{select:!0}),document.activeElement===v&&dr(i))}return()=>{i.removeEventListener(Al,c),setTimeout(()=>{const P=new CustomEvent(Nl,r1);i.addEventListener(Nl,u),i.dispatchEvent(P),P.defaultPrevented||dr(v??document.body,{select:!0}),i.removeEventListener(Nl,u),s1.remove(h)},0)}}},[i,c,u,h]);const g=f.useCallback(v=>{if(!r&&!n||h.paused)return;const b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,P=document.activeElement;if(b&&P){const x=v.currentTarget,[w,T]=r8(x);w&&T?!v.shiftKey&&P===T?(v.preventDefault(),r&&dr(w,{select:!0})):v.shiftKey&&P===w&&(v.preventDefault(),r&&dr(T,{select:!0})):P===x&&v.preventDefault()}},[r,n,h.paused]);return f.createElement(Ne.div,fe({tabIndex:-1},s,{ref:p,onKeyDown:g}))});function t8(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(dr(n,{select:t}),document.activeElement!==r)return}function r8(e){const t=o1(e),r=a1(t,e),n=a1(t.reverse(),e);return[r,n]}function o1(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function a1(e,t){for(const r of e)if(!n8(r,{upTo:t}))return r}function n8(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function o8(e){return e instanceof HTMLInputElement&&"select"in e}function dr(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&o8(e)&&t&&e.select()}}const s1=a8();function a8(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=i1(e,t),e.unshift(t)},remove(t){var r;e=i1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function i1(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function s8(e){return e.filter(t=>t.tagName!=="A")}var i8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},bn=new WeakMap,ns=new WeakMap,os={},Ol=0,l1=function(e){return e&&(e.host||l1(e.parentNode))},l8=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=l1(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},c8=function(e,t,r,n){var o=l8(t,Array.isArray(e)?e:[e]);os[r]||(os[r]=new WeakMap);var a=os[r],s=[],i=new Set,l=new Set(o),c=function(d){!d||i.has(d)||(i.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(i.has(p))u(p);else{var h=p.getAttribute(n),g=h!==null&&h!=="false",v=(bn.get(p)||0)+1,b=(a.get(p)||0)+1;bn.set(p,v),a.set(p,b),s.push(p),v===1&&g&&ns.set(p,!0),b===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})};return u(t),i.clear(),Ol++,function(){s.forEach(function(d){var p=bn.get(d)-1,h=a.get(d)-1;bn.set(d,p),a.set(d,h),p||(ns.has(d)||d.removeAttribute(n),ns.delete(d)),h||d.removeAttribute(r)}),Ol--,Ol||(bn=new WeakMap,bn=new WeakMap,ns=new WeakMap,os={})}},c1=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||i8(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),c8(n,o,r,"aria-hidden")):function(){return null}},u1=B4(),jl=function(){},as=W.forwardRef(function(e,t){var r=W.useRef(null),n=W.useState({onScrollCapture:jl,onWheelCapture:jl,onTouchMoveCapture:jl}),o=n[0],a=n[1],s=e.forwardProps,i=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,v=e.allowPinchZoom,b=e.as,P=b===void 0?"div":b,x=lu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,T=V4([r,t]),$=Tt(Tt({},x),o);return W.createElement(W.Fragment,null,u&&W.createElement(w,{sideCar:u1,removeScrollBar:c,shards:d,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!v,lockRef:r}),s?W.cloneElement(W.Children.only(i),Tt(Tt({},$),{ref:T})):W.createElement(P,Tt({},$,{className:l,ref:T}),i))});as.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},as.classNames={fullWidth:Fa,zeroRight:_a};var Ll=!1;if(typeof window<"u")try{var ss=Object.defineProperty({},"passive",{get:function(){return Ll=!0,!0}});window.addEventListener("test",ss,ss),window.removeEventListener("test",ss,ss)}catch{Ll=!1}var yn=Ll?{passive:!1}:!1,u8=function(e){return e.tagName==="TEXTAREA"},d1=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!u8(e)&&r[t]==="visible")},d8=function(e){return d1(e,"overflowY")},f8=function(e){return d1(e,"overflowX")},f1=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=p1(e,r);if(n){var o=h1(e,r),a=o[1],s=o[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},p8=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},h8=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},p1=function(e,t){return e==="v"?d8(t):f8(t)},h1=function(e,t){return e==="v"?p8(t):h8(t)},m8=function(e,t){return e==="h"&&t==="rtl"?-1:1},g8=function(e,t,r,n,o){var a=m8(e,window.getComputedStyle(t).direction),s=a*n,i=r.target,l=t.contains(i),c=!1,u=s>0,d=0,p=0;do{var h=h1(e,i),g=h[0],v=h[1],b=h[2],P=v-b-a*g;(g||P)&&p1(e,i)&&(d+=P,p+=g),i=i.parentNode}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(u&&(o&&d===0||!o&&s>d)||!u&&(o&&p===0||!o&&-s>p))&&(c=!0),c},is=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},m1=function(e){return[e.deltaX,e.deltaY]},g1=function(e){return e&&"current"in e?e.current:e},v8=function(e,t){return e[0]===t[0]&&e[1]===t[1]},b8=function(e){return`
73
73
  .block-interactivity-`.concat(e,` {pointer-events: none;}
74
74
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
75
- `)},b7=0,un=[];function y7(e){var t=G.useRef([]),r=G.useRef([0,0]),n=G.useRef(),o=G.useState(b7++)[0],a=G.useState(function(){return b1()})[0],s=G.useRef(e);G.useEffect(function(){s.current=e},[e]),G.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var b=Gh([e.lockRef.current],(e.shards||[]).map(_0),!0).filter(Boolean);return b.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),b.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=G.useCallback(function(b,y){if("touches"in b&&b.touches.length===2)return!s.current.allowPinchZoom;var P=Ua(b),x=r.current,C="deltaX"in b?b.deltaX:x[0]-P[0],S="deltaY"in b?b.deltaY:x[1]-P[1],$,N=b.target,j=Math.abs(C)>Math.abs(S)?"h":"v";if("touches"in b&&j==="h"&&N.type==="range")return!1;var m=O0(j,N);if(!m)return!0;if(m?$=j:($=j==="v"?"h":"v",m=O0(j,N)),!m)return!1;if(!n.current&&"changedTouches"in b&&(C||S)&&(n.current=$),!$)return!0;var D=n.current||$;return m7(D,y,b,D==="h"?C:S,!0)},[]),l=G.useCallback(function(b){var y=b;if(!(!un.length||un[un.length-1]!==a)){var P="deltaY"in y?L0(y):Ua(y),x=t.current.filter(function($){return $.name===y.type&&$.target===y.target&&g7($.delta,P)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var C=(s.current.shards||[]).map(_0).filter(Boolean).filter(function($){return $.contains(y.target)}),S=C.length>0?i(y,C[0]):!s.current.noIsolation;S&&y.cancelable&&y.preventDefault()}}},[]),c=G.useCallback(function(b,y,P,x){var C={name:b,delta:y,target:P,should:x};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(S){return S!==C})},1)},[]),u=G.useCallback(function(b){r.current=Ua(b),n.current=void 0},[]),d=G.useCallback(function(b){c(b.type,L0(b),b.target,i(b,e.lockRef.current))},[]),p=G.useCallback(function(b){c(b.type,Ua(b),b.target,i(b,e.lockRef.current))},[]);G.useEffect(function(){return un.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,cn),document.addEventListener("touchmove",l,cn),document.addEventListener("touchstart",u,cn),function(){un=un.filter(function(b){return b!==a}),document.removeEventListener("wheel",l,cn),document.removeEventListener("touchmove",l,cn),document.removeEventListener("touchstart",u,cn)}},[]);var h=e.removeScrollBar,g=e.inert;return G.createElement(G.Fragment,null,g?G.createElement(a,{styles:v7(o)}):null,h?G.createElement(Xy,{gapMode:"margin"}):null)}const x7=Vy(k0,y7);var F0=G.forwardRef(function(e,t){return G.createElement(Ra,Pt({},e,{ref:t,sideCar:x7}))});F0.classNames=Ra.classNames;const w7=F0,V0="Popover",[z0,ew]=en(V0,[La]),ml=La(),[C7,Er]=z0(V0),P7=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,i=ml(t),l=f.useRef(null),[c,u]=f.useState(!1),[d=!1,p]=Fa({prop:n,defaultProp:o,onChange:a});return f.createElement(c0,i,f.createElement(C7,{scope:t,contentId:Ea(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:c,onCustomAnchorAdd:f.useCallback(()=>u(!0),[]),onCustomAnchorRemove:f.useCallback(()=>u(!1),[]),modal:s},r))},M7="PopoverTrigger",T7=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Er(M7,r),a=ml(r),s=pt(t,o.triggerRef),i=f.createElement(Re.button,ge({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":R0(o.open)},n,{ref:s,onClick:je(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?i:f.createElement(u0,ge({asChild:!0},a),i)}),W0="PopoverPortal",[S7,E7]=z0(W0,{forceMount:void 0}),$7=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Er(W0,t);return f.createElement(S7,{scope:t,forceMount:r},f.createElement(sn,{present:r||a.open},f.createElement(f0,{asChild:!0,container:o},n)))},eo="PopoverContent",D7=f.forwardRef((e,t)=>{const r=E7(eo,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Er(eo,e.__scopePopover);return f.createElement(sn,{present:n||a.open},a.modal?f.createElement(I7,ge({},o,{ref:t})):f.createElement(k7,ge({},o,{ref:t})))}),I7=f.forwardRef((e,t)=>{const r=Er(eo,e.__scopePopover),n=f.useRef(null),o=pt(t,n),a=f.useRef(!1);return f.useEffect(()=>{const s=n.current;if(s)return l7(s)},[]),f.createElement(w7,{as:Gn,allowPinchZoom:!0},f.createElement(B0,ge({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:je(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),a.current||(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:je(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0,c=i.button===2||l;a.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:je(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),k7=f.forwardRef((e,t)=>{const r=Er(eo,e.__scopePopover),n=f.useRef(!1),o=f.useRef(!1);return f.createElement(B0,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),B0=f.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,p=Er(eo,r),h=ml(r);return X6(),f.createElement(Z6,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(_1,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:u,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1)},f.createElement(d0,ge({"data-state":R0(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),A7="PopoverClose",O7=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Er(A7,r);return f.createElement(Re.button,ge({type:"button"},n,{ref:t,onClick:je(e.onClick,()=>o.onOpenChange(!1))}))});function R0(e){return e?"open":"closed"}const N7=P7,j7=T7,L7=$7,_7=D7,F7=O7,K0=({children:e,content:t,className:r,isOpen:n,side:o="bottom",align:a="center",hasCloseButton:s=!1,hasShadow:i=!1,sideOffset:l=5,onInteractOutside:c,...u})=>{const d=we({base:"flex flex-row justify-end rounded-2xl bg-white ",variants:{hasShadow:{true:"shadow-[0px_4px_30px_0px_rgba(0,0,0,0.15)]"}}});return L.jsxs(N7,{open:n,...u,children:[L.jsx(j7,{asChild:!0,children:e}),L.jsx(L7,{children:L.jsx(_7,{className:Gt(r,d({hasShadow:i})),onInteractOutside:c,side:o,align:a,sideOffset:l,children:L.jsxs("div",{className:"relative flex w-full",children:[t,s&&L.jsx("div",{className:"absolute right-0 top-0 p-6",children:L.jsx(F7,{children:L.jsx(Ue,{name:"close",className:"cursor-pointer text-xs text-black"})})})]})})})]})};function ye(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function lt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Ge(e,t){const r=ye(e);return isNaN(t)?lt(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function xt(e,t){const r=ye(e);if(isNaN(t))return lt(e,NaN);if(!t)return r;const n=r.getDate(),o=lt(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const a=o.getDate();return n>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}const gl=6048e5,V7=864e5;let z7={};function to(){return z7}function $t(e,t){var i,l,c,u;const r=to(),n=(t==null?void 0:t.weekStartsOn)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=ye(e),a=o.getDay(),s=(a<n?7:0)+a-n;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function $r(e){return $t(e,{weekStartsOn:1})}function U0(e){const t=ye(e),r=t.getFullYear(),n=lt(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);const o=$r(n),a=lt(e,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=$r(a);return t.getTime()>=o.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function dn(e){const t=ye(e);return t.setHours(0,0,0,0),t}function Ha(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Dt(e,t){const r=dn(e),n=dn(t),o=+r-Ha(r),a=+n-Ha(n);return Math.trunc((o-a)/V7)}function W7(e){const t=U0(e),r=lt(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),$r(r)}function vl(e,t){const r=t*7;return Ge(e,r)}function B7(e,t){return xt(e,t*12)}function R7(e){let t;return e.forEach(function(r){const n=ye(r);(t===void 0||t<n||isNaN(Number(n)))&&(t=n)}),t||new Date(NaN)}function K7(e){let t;return e.forEach(r=>{const n=ye(r);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)}function Ze(e,t){const r=dn(e),n=dn(t);return+r==+n}function bl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function U7(e){if(!bl(e)&&typeof e!="number")return!1;const t=ye(e);return!isNaN(Number(t))}function ro(e,t){const r=ye(e),n=ye(t),o=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return o*12+a}function H7(e,t,r){const n=$t(e,r),o=$t(t,r),a=+n-Ha(n),s=+o-Ha(o);return Math.trunc((a-s)/gl)}function yl(e){const t=ye(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function Je(e){const t=ye(e);return t.setDate(1),t.setHours(0,0,0,0),t}function H0(e){const t=ye(e),r=lt(e,0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function xl(e,t){var i,l,c,u;const r=to(),n=(t==null?void 0:t.weekStartsOn)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=ye(e),a=o.getDay(),s=(a<n?-7:0)+6-(a-n);return o.setDate(o.getDate()+s),o.setHours(23,59,59,999),o}function Y0(e){return xl(e,{weekStartsOn:1})}const Y7={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},G7=(e,t,r)=>{let n;const o=Y7[e];return typeof o=="string"?n=o:t===1?n=o.one:n=o.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function wl(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const q7={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Q7={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},X7={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Z7={date:wl({formats:q7,defaultWidth:"full"}),time:wl({formats:Q7,defaultWidth:"full"}),dateTime:wl({formats:X7,defaultWidth:"full"})},J7={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},e8=(e,t,r,n)=>J7[e];function no(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,i=r!=null&&r.width?String(r.width):s;o=e.formattingValues[i]||e.formattingValues[s]}else{const s=e.defaultWidth,i=r!=null&&r.width?String(r.width):e.defaultWidth;o=e.values[i]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}const t8={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},r8={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},n8={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},o8={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},a8={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},s8={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},i8={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:no({values:t8,defaultWidth:"wide"}),quarter:no({values:r8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:no({values:n8,defaultWidth:"wide"}),day:no({values:o8,defaultWidth:"wide"}),dayPeriod:no({values:a8,defaultWidth:"wide",formattingValues:s8,defaultFormattingWidth:"wide"})};function oo(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const s=a[0],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(i)?c8(i,d=>d.test(s)):l8(i,d=>d.test(s));let c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;const u=t.slice(s.length);return{value:c,rest:u}}}function l8(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function c8(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function u8(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const o=n[0],a=t.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=r.valueCallback?r.valueCallback(s):s;const i=t.slice(o.length);return{value:s,rest:i}}}const d8=/^(\d+)(th|st|nd|rd)?/i,f8=/\d+/i,p8={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},h8={any:[/^b/i,/^(a|c)/i]},m8={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},g8={any:[/1/i,/2/i,/3/i,/4/i]},v8={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},b8={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},y8={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},x8={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},w8={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},C8={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},P8={ordinalNumber:u8({matchPattern:d8,parsePattern:f8,valueCallback:e=>parseInt(e,10)}),era:oo({matchPatterns:p8,defaultMatchWidth:"wide",parsePatterns:h8,defaultParseWidth:"any"}),quarter:oo({matchPatterns:m8,defaultMatchWidth:"wide",parsePatterns:g8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:oo({matchPatterns:v8,defaultMatchWidth:"wide",parsePatterns:b8,defaultParseWidth:"any"}),day:oo({matchPatterns:y8,defaultMatchWidth:"wide",parsePatterns:x8,defaultParseWidth:"any"}),dayPeriod:oo({matchPatterns:w8,defaultMatchWidth:"any",parsePatterns:C8,defaultParseWidth:"any"})},G0={code:"en-US",formatDistance:G7,formatLong:Z7,formatRelative:e8,localize:i8,match:P8,options:{weekStartsOn:0,firstWeekContainsDate:1}};function M8(e){const t=ye(e);return Dt(t,H0(t))+1}function q0(e){const t=ye(e),r=+$r(t)-+W7(t);return Math.trunc(r/gl)+1}function Q0(e,t){var u,d,p,h;const r=ye(e),n=r.getFullYear(),o=to(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(p=o.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,s=lt(e,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);const i=$t(s,t),l=lt(e,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);const c=$t(l,t);return r.getTime()>=i.getTime()?n+1:r.getTime()>=c.getTime()?n:n-1}function T8(e,t){var i,l,c,u;const r=to(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,o=Q0(e,t),a=lt(e,0);return a.setFullYear(o,0,n),a.setHours(0,0,0,0),$t(a,t)}function X0(e,t){const r=ye(e),n=+$t(r,t)-+T8(r,t);return Math.trunc(n/gl)+1}function Me(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const lr={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return Me(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):Me(r+1,2)},d(e,t){return Me(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Me(e.getHours()%12||12,t.length)},H(e,t){return Me(e.getHours(),t.length)},m(e,t){return Me(e.getMinutes(),t.length)},s(e,t){return Me(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,r-3));return Me(o,t.length)}},fn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Z0={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return r.ordinalNumber(o,{unit:"year"})}return lr.y(e,t)},Y:function(e,t,r,n){const o=Q0(e,n),a=o>0?o:1-o;if(t==="YY"){const s=a%100;return Me(s,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):Me(a,t.length)},R:function(e,t){const r=U0(e);return Me(r,t.length)},u:function(e,t){const r=e.getFullYear();return Me(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Me(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Me(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return lr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Me(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=X0(e,n);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):Me(o,t.length)},I:function(e,t,r){const n=q0(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Me(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):lr.d(e,t)},D:function(e,t,r){const n=M8(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Me(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Me(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Me(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=n===0?7:n;switch(t){case"i":return String(o);case"ii":return Me(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(n===12?o=fn.noon:n===0?o=fn.midnight:o=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(n>=17?o=fn.evening:n>=12?o=fn.afternoon:n>=4?o=fn.morning:o=fn.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return lr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):lr.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Me(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Me(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):lr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):lr.s(e,t)},S:function(e,t){return lr.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return ep(n);case"XXXX":case"XX":return Dr(n);case"XXXXX":case"XXX":default:return Dr(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return ep(n);case"xxxx":case"xx":return Dr(n);case"xxxxx":case"xxx":default:return Dr(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+J0(n,":");case"OOOO":default:return"GMT"+Dr(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+J0(n,":");case"zzzz":default:return"GMT"+Dr(n,":")}},t:function(e,t,r){const n=Math.trunc(e.getTime()/1e3);return Me(n,t.length)},T:function(e,t,r){const n=e.getTime();return Me(n,t.length)}};function J0(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),a=n%60;return a===0?r+String(o):r+String(o)+t+Me(a,2)}function ep(e,t){return e%60===0?(e>0?"-":"+")+Me(Math.abs(e)/60,2):Dr(e,t)}function Dr(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Me(Math.trunc(n/60),2),a=Me(n%60,2);return r+o+t+a}const tp=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},rp=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},S8={p:rp,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return tp(e,t);let a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",tp(n,t)).replace("{{time}}",rp(o,t))}},E8=/^D+$/,$8=/^Y+$/,D8=["D","DD","YY","YYYY"];function I8(e){return E8.test(e)}function k8(e){return $8.test(e)}function A8(e,t,r){const n=O8(e,t,r);if(console.warn(n),D8.includes(e))throw new RangeError(n)}function O8(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const N8=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,j8=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,L8=/^'([^]*?)'?$/,_8=/''/g,F8=/[a-zA-Z]/;function Kt(e,t,r){var u,d,p,h,g,b,y,P;const n=to(),o=(r==null?void 0:r.locale)??n.locale??G0,a=(r==null?void 0:r.firstWeekContainsDate)??((d=(u=r==null?void 0:r.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((h=(p=n.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((b=(g=r==null?void 0:r.locale)==null?void 0:g.options)==null?void 0:b.weekStartsOn)??n.weekStartsOn??((P=(y=n.locale)==null?void 0:y.options)==null?void 0:P.weekStartsOn)??0,i=ye(e);if(!U7(i))throw new RangeError("Invalid time value");let l=t.match(j8).map(x=>{const C=x[0];if(C==="p"||C==="P"){const S=S8[C];return S(x,o.formatLong)}return x}).join("").match(N8).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const C=x[0];if(C==="'")return{isToken:!1,value:V8(x)};if(Z0[C])return{isToken:!0,value:x};if(C.match(F8))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:x}});o.localize.preprocessor&&(l=o.localize.preprocessor(i,l));const c={firstWeekContainsDate:a,weekStartsOn:s,locale:o};return l.map(x=>{if(!x.isToken)return x.value;const C=x.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&k8(C)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&I8(C))&&A8(C,t,String(e));const S=Z0[C[0]];return S(i,C,o.localize,c)}).join("")}function V8(e){const t=e.match(L8);return t?t[1].replace(_8,"'"):e}function z8(e){const t=ye(e),r=t.getFullYear(),n=t.getMonth(),o=lt(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}function W8(e){return Math.trunc(+ye(e)/1e3)}function B8(e){const t=ye(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function R8(e,t){return H7(B8(e),Je(e),t)+1}function Cl(e,t){const r=ye(e),n=ye(t);return r.getTime()>n.getTime()}function np(e,t){const r=ye(e),n=ye(t);return+r<+n}function Pl(e,t){const r=ye(e),n=ye(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function K8(e,t){const r=ye(e),n=ye(t);return r.getFullYear()===n.getFullYear()}function Ml(e,t){return Ge(e,-t)}function Tl(e,t){const r=ye(e),n=r.getFullYear(),o=r.getDate(),a=lt(e,0);a.setFullYear(n,t,15),a.setHours(0,0,0,0);const s=z8(a);return r.setMonth(t,Math.min(o,s)),r}function op(e,t){const r=ye(e);return isNaN(+r)?lt(e,NaN):(r.setFullYear(t),r)}var se=function(){return se=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},se.apply(this,arguments)};function U8(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function ap(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Sl={exports:{}},ao={};/**
75
+ `)},y8=0,xn=[];function x8(e){var t=W.useRef([]),r=W.useRef([0,0]),n=W.useRef(),o=W.useState(y8++)[0],a=W.useState(function(){return Qp()})[0],s=W.useRef(e);W.useEffect(function(){s.current=e},[e]),W.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Zm([e.lockRef.current],(e.shards||[]).map(g1),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=W.useCallback(function(v,b){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var P=is(v),x=r.current,w="deltaX"in v?v.deltaX:x[0]-P[0],T="deltaY"in v?v.deltaY:x[1]-P[1],$,E=v.target,A=Math.abs(w)>Math.abs(T)?"h":"v";if("touches"in v&&A==="h"&&E.type==="range")return!1;var m=f1(A,E);if(!m)return!0;if(m?$=A:($=A==="v"?"h":"v",m=f1(A,E)),!m)return!1;if(!n.current&&"changedTouches"in v&&(w||T)&&(n.current=$),!$)return!0;var k=n.current||$;return g8(k,b,v,k==="h"?w:T,!0)},[]),l=W.useCallback(function(v){var b=v;if(!(!xn.length||xn[xn.length-1]!==a)){var P="deltaY"in b?m1(b):is(b),x=t.current.filter(function($){return $.name===b.type&&$.target===b.target&&v8($.delta,P)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(g1).filter(Boolean).filter(function($){return $.contains(b.target)}),T=w.length>0?i(b,w[0]):!s.current.noIsolation;T&&b.cancelable&&b.preventDefault()}}},[]),c=W.useCallback(function(v,b,P,x){var w={name:v,delta:b,target:P,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(T){return T!==w})},1)},[]),u=W.useCallback(function(v){r.current=is(v),n.current=void 0},[]),d=W.useCallback(function(v){c(v.type,m1(v),v.target,i(v,e.lockRef.current))},[]),p=W.useCallback(function(v){c(v.type,is(v),v.target,i(v,e.lockRef.current))},[]);W.useEffect(function(){return xn.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,yn),document.addEventListener("touchmove",l,yn),document.addEventListener("touchstart",u,yn),function(){xn=xn.filter(function(v){return v!==a}),document.removeEventListener("wheel",l,yn),document.removeEventListener("touchmove",l,yn),document.removeEventListener("touchstart",u,yn)}},[]);var h=e.removeScrollBar,g=e.inert;return W.createElement(W.Fragment,null,g?W.createElement(a,{styles:b8(o)}):null,h?W.createElement(t3,{gapMode:"margin"}):null)}const w8=K4(u1,x8);var v1=W.forwardRef(function(e,t){return W.createElement(as,Tt({},e,{ref:t,sideCar:w8}))});v1.classNames=as.classNames;const b1=v1,y1="Popover",[x1,cP]=Ir(y1,[Ja]),_l=Ja(),[C8,Or]=x1(y1),P8=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,i=_l(t),l=f.useRef(null),[c,u]=f.useState(!1),[d=!1,p]=fo({prop:n,defaultProp:o,onChange:a});return f.createElement(z0,i,f.createElement(C8,{scope:t,contentId:Ar(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:c,onCustomAnchorAdd:f.useCallback(()=>u(!0),[]),onCustomAnchorRemove:f.useCallback(()=>u(!1),[]),modal:s},r))},M8="PopoverTrigger",S8=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Or(M8,r),a=_l(r),s=Je(t,o.triggerRef),i=f.createElement(Ne.button,fe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":P1(o.open)},n,{ref:s,onClick:De(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?i:f.createElement(W0,fe({asChild:!0},a),i)}),w1="PopoverPortal",[T8,E8]=x1(w1,{forceMount:void 0}),$8=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Or(w1,t);return f.createElement(T8,{scope:t,forceMount:r},f.createElement(Ht,{present:r||a.open},f.createElement(Cl,{asChild:!0,container:o},n)))},mo="PopoverContent",D8=f.forwardRef((e,t)=>{const r=E8(mo,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Or(mo,e.__scopePopover);return f.createElement(Ht,{present:n||a.open},a.modal?f.createElement(k8,fe({},o,{ref:t})):f.createElement(I8,fe({},o,{ref:t})))}),k8=f.forwardRef((e,t)=>{const r=Or(mo,e.__scopePopover),n=f.useRef(null),o=Je(t,n),a=f.useRef(!1);return f.useEffect(()=>{const s=n.current;if(s)return c1(s)},[]),f.createElement(b1,{as:fn,allowPinchZoom:!0},f.createElement(C1,fe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),a.current||(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0,c=i.button===2||l;a.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:De(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),I8=f.forwardRef((e,t)=>{const r=Or(mo,e.__scopePopover),n=f.useRef(!1),o=f.useRef(!1);return f.createElement(C1,fe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),C1=f.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,p=Or(mo,r),h=_l(r);return e1(),f.createElement(n1,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(pl,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:u,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1)},f.createElement(B0,fe({"data-state":P1(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),A8="PopoverClose",N8=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Or(A8,r);return f.createElement(Ne.button,fe({type:"button"},n,{ref:t,onClick:De(e.onClick,()=>o.onOpenChange(!1))}))});function P1(e){return e?"open":"closed"}const M1=P8,S1=S8,T1=$8,E1=D8,O8=N8,$1=({children:e,content:t,className:r,isOpen:n,side:o="bottom",align:a="center",hasCloseButton:s=!1,hasShadow:i=!1,sideOffset:l=5,onInteractOutside:c,...u})=>{const d=ye({base:"flex flex-row justify-end rounded-2xl bg-white ",variants:{hasShadow:{true:"shadow-[0px_4px_30px_0px_rgba(0,0,0,0.15)]"}}});return L.jsxs(M1,{open:n,...u,children:[L.jsx(S1,{asChild:!0,children:e}),L.jsx(T1,{children:L.jsx(E1,{className:Zt(r,d({hasShadow:i})),onInteractOutside:c,side:o,align:a,sideOffset:l,children:L.jsxs("div",{className:"relative flex w-full",children:[t,s&&L.jsx("div",{className:"absolute right-0 top-0 p-6",children:L.jsx(O8,{children:L.jsx(Ge,{name:"close",className:"cursor-pointer text-xs text-black"})})})]})})})]})};function we(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function ut(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function qe(e,t){const r=we(e);return isNaN(t)?ut(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Ct(e,t){const r=we(e);if(isNaN(t))return ut(e,NaN);if(!t)return r;const n=r.getDate(),o=ut(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const a=o.getDate();return n>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}const Fl=6048e5,j8=864e5;let L8={};function go(){return L8}function It(e,t){var i,l,c,u;const r=go(),n=(t==null?void 0:t.weekStartsOn)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=we(e),a=o.getDay(),s=(a<n?7:0)+a-n;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function jr(e){return It(e,{weekStartsOn:1})}function D1(e){const t=we(e),r=t.getFullYear(),n=ut(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);const o=jr(n),a=ut(e,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=jr(a);return t.getTime()>=o.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function wn(e){const t=we(e);return t.setHours(0,0,0,0),t}function ls(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function At(e,t){const r=wn(e),n=wn(t),o=+r-ls(r),a=+n-ls(n);return Math.trunc((o-a)/j8)}function _8(e){const t=D1(e),r=ut(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),jr(r)}function Vl(e,t){const r=t*7;return qe(e,r)}function F8(e,t){return Ct(e,t*12)}function V8(e){let t;return e.forEach(function(r){const n=we(r);(t===void 0||t<n||isNaN(Number(n)))&&(t=n)}),t||new Date(NaN)}function z8(e){let t;return e.forEach(r=>{const n=we(r);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)}function et(e,t){const r=wn(e),n=wn(t);return+r==+n}function zl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function W8(e){if(!zl(e)&&typeof e!="number")return!1;const t=we(e);return!isNaN(Number(t))}function vo(e,t){const r=we(e),n=we(t),o=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return o*12+a}function B8(e,t,r){const n=It(e,r),o=It(t,r),a=+n-ls(n),s=+o-ls(o);return Math.trunc((a-s)/Fl)}function Wl(e){const t=we(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function tt(e){const t=we(e);return t.setDate(1),t.setHours(0,0,0,0),t}function k1(e){const t=we(e),r=ut(e,0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Bl(e,t){var i,l,c,u;const r=go(),n=(t==null?void 0:t.weekStartsOn)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=we(e),a=o.getDay(),s=(a<n?-7:0)+6-(a-n);return o.setDate(o.getDate()+s),o.setHours(23,59,59,999),o}function I1(e){return Bl(e,{weekStartsOn:1})}const K8={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},R8=(e,t,r)=>{let n;const o=K8[e];return typeof o=="string"?n=o:t===1?n=o.one:n=o.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Kl(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const U8={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G8={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},H8={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Y8={date:Kl({formats:U8,defaultWidth:"full"}),time:Kl({formats:G8,defaultWidth:"full"}),dateTime:Kl({formats:H8,defaultWidth:"full"})},q8={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Q8=(e,t,r,n)=>q8[e];function bo(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,i=r!=null&&r.width?String(r.width):s;o=e.formattingValues[i]||e.formattingValues[s]}else{const s=e.defaultWidth,i=r!=null&&r.width?String(r.width):e.defaultWidth;o=e.values[i]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}const X8={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Z8={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},J8={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},e9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},r9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},n9={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:bo({values:X8,defaultWidth:"wide"}),quarter:bo({values:Z8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:bo({values:J8,defaultWidth:"wide"}),day:bo({values:e9,defaultWidth:"wide"}),dayPeriod:bo({values:t9,defaultWidth:"wide",formattingValues:r9,defaultFormattingWidth:"wide"})};function yo(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const s=a[0],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(i)?a9(i,d=>d.test(s)):o9(i,d=>d.test(s));let c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;const u=t.slice(s.length);return{value:c,rest:u}}}function o9(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function a9(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function s9(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const o=n[0],a=t.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=r.valueCallback?r.valueCallback(s):s;const i=t.slice(o.length);return{value:s,rest:i}}}const i9=/^(\d+)(th|st|nd|rd)?/i,l9=/\d+/i,c9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},u9={any:[/^b/i,/^(a|c)/i]},d9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},f9={any:[/1/i,/2/i,/3/i,/4/i]},p9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},h9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},m9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},g9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},v9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},b9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},y9={ordinalNumber:s9({matchPattern:i9,parsePattern:l9,valueCallback:e=>parseInt(e,10)}),era:yo({matchPatterns:c9,defaultMatchWidth:"wide",parsePatterns:u9,defaultParseWidth:"any"}),quarter:yo({matchPatterns:d9,defaultMatchWidth:"wide",parsePatterns:f9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:yo({matchPatterns:p9,defaultMatchWidth:"wide",parsePatterns:h9,defaultParseWidth:"any"}),day:yo({matchPatterns:m9,defaultMatchWidth:"wide",parsePatterns:g9,defaultParseWidth:"any"}),dayPeriod:yo({matchPatterns:v9,defaultMatchWidth:"any",parsePatterns:b9,defaultParseWidth:"any"})},A1={code:"en-US",formatDistance:R8,formatLong:Y8,formatRelative:Q8,localize:n9,match:y9,options:{weekStartsOn:0,firstWeekContainsDate:1}};function x9(e){const t=we(e);return At(t,k1(t))+1}function N1(e){const t=we(e),r=+jr(t)-+_8(t);return Math.trunc(r/Fl)+1}function O1(e,t){var u,d,p,h;const r=we(e),n=r.getFullYear(),o=go(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(p=o.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,s=ut(e,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);const i=It(s,t),l=ut(e,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);const c=It(l,t);return r.getTime()>=i.getTime()?n+1:r.getTime()>=c.getTime()?n:n-1}function w9(e,t){var i,l,c,u;const r=go(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,o=O1(e,t),a=ut(e,0);return a.setFullYear(o,0,n),a.setHours(0,0,0,0),It(a,t)}function j1(e,t){const r=we(e),n=+It(r,t)-+w9(r,t);return Math.trunc(n/Fl)+1}function Me(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const fr={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return Me(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):Me(r+1,2)},d(e,t){return Me(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Me(e.getHours()%12||12,t.length)},H(e,t){return Me(e.getHours(),t.length)},m(e,t){return Me(e.getMinutes(),t.length)},s(e,t){return Me(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,r-3));return Me(o,t.length)}},Cn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},L1={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return r.ordinalNumber(o,{unit:"year"})}return fr.y(e,t)},Y:function(e,t,r,n){const o=O1(e,n),a=o>0?o:1-o;if(t==="YY"){const s=a%100;return Me(s,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):Me(a,t.length)},R:function(e,t){const r=D1(e);return Me(r,t.length)},u:function(e,t){const r=e.getFullYear();return Me(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Me(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Me(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return fr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Me(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=j1(e,n);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):Me(o,t.length)},I:function(e,t,r){const n=N1(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Me(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):fr.d(e,t)},D:function(e,t,r){const n=x9(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Me(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Me(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Me(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=n===0?7:n;switch(t){case"i":return String(o);case"ii":return Me(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(n===12?o=Cn.noon:n===0?o=Cn.midnight:o=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(n>=17?o=Cn.evening:n>=12?o=Cn.afternoon:n>=4?o=Cn.morning:o=Cn.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return fr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):fr.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Me(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Me(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):fr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):fr.s(e,t)},S:function(e,t){return fr.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return F1(n);case"XXXX":case"XX":return Lr(n);case"XXXXX":case"XXX":default:return Lr(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return F1(n);case"xxxx":case"xx":return Lr(n);case"xxxxx":case"xxx":default:return Lr(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_1(n,":");case"OOOO":default:return"GMT"+Lr(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_1(n,":");case"zzzz":default:return"GMT"+Lr(n,":")}},t:function(e,t,r){const n=Math.trunc(e.getTime()/1e3);return Me(n,t.length)},T:function(e,t,r){const n=e.getTime();return Me(n,t.length)}};function _1(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),a=n%60;return a===0?r+String(o):r+String(o)+t+Me(a,2)}function F1(e,t){return e%60===0?(e>0?"-":"+")+Me(Math.abs(e)/60,2):Lr(e,t)}function Lr(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Me(Math.trunc(n/60),2),a=Me(n%60,2);return r+o+t+a}const V1=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},z1=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},C9={p:z1,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return V1(e,t);let a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",V1(n,t)).replace("{{time}}",z1(o,t))}},P9=/^D+$/,M9=/^Y+$/,S9=["D","DD","YY","YYYY"];function T9(e){return P9.test(e)}function E9(e){return M9.test(e)}function $9(e,t,r){const n=D9(e,t,r);if(console.warn(n),S9.includes(e))throw new RangeError(n)}function D9(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const k9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,I9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A9=/^'([^]*?)'?$/,N9=/''/g,O9=/[a-zA-Z]/;function Yt(e,t,r){var u,d,p,h,g,v,b,P;const n=go(),o=(r==null?void 0:r.locale)??n.locale??A1,a=(r==null?void 0:r.firstWeekContainsDate)??((d=(u=r==null?void 0:r.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((h=(p=n.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((v=(g=r==null?void 0:r.locale)==null?void 0:g.options)==null?void 0:v.weekStartsOn)??n.weekStartsOn??((P=(b=n.locale)==null?void 0:b.options)==null?void 0:P.weekStartsOn)??0,i=we(e);if(!W8(i))throw new RangeError("Invalid time value");let l=t.match(I9).map(x=>{const w=x[0];if(w==="p"||w==="P"){const T=C9[w];return T(x,o.formatLong)}return x}).join("").match(k9).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const w=x[0];if(w==="'")return{isToken:!1,value:j9(x)};if(L1[w])return{isToken:!0,value:x};if(w.match(O9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:x}});o.localize.preprocessor&&(l=o.localize.preprocessor(i,l));const c={firstWeekContainsDate:a,weekStartsOn:s,locale:o};return l.map(x=>{if(!x.isToken)return x.value;const w=x.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&E9(w)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&T9(w))&&$9(w,t,String(e));const T=L1[w[0]];return T(i,w,o.localize,c)}).join("")}function j9(e){const t=e.match(A9);return t?t[1].replace(N9,"'"):e}function L9(e){const t=we(e),r=t.getFullYear(),n=t.getMonth(),o=ut(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}function _9(e){return Math.trunc(+we(e)/1e3)}function F9(e){const t=we(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function V9(e,t){return B8(F9(e),tt(e),t)+1}function Rl(e,t){const r=we(e),n=we(t);return r.getTime()>n.getTime()}function W1(e,t){const r=we(e),n=we(t);return+r<+n}function Ul(e,t){const r=we(e),n=we(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function z9(e,t){const r=we(e),n=we(t);return r.getFullYear()===n.getFullYear()}function Gl(e,t){return qe(e,-t)}function Hl(e,t){const r=we(e),n=r.getFullYear(),o=r.getDate(),a=ut(e,0);a.setFullYear(n,t,15),a.setHours(0,0,0,0);const s=L9(a);return r.setMonth(t,Math.min(o,s)),r}function B1(e,t){const r=we(e);return isNaN(+r)?ut(e,NaN):(r.setFullYear(t),r)}var ie=function(){return ie=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ie.apply(this,arguments)};function W9(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function K1(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Yl={exports:{}},xo={};/**
76
76
  * @license React
77
77
  * react-jsx-runtime.development.js
78
78
  *
@@ -80,17 +80,17 @@ Check the top-level render call using <`+_+">.")}return A}}function xo(v,A){{if(
80
80
  *
81
81
  * This source code is licensed under the MIT license found in the
82
82
  * LICENSE file in the root directory of this source tree.
83
- */var sp;function H8(){return sp||(sp=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,b="@@iterator";function y(v){if(v===null||typeof v!="object")return null;var A=g&&v[g]||v[b];return typeof A=="function"?A:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(v){{for(var A=arguments.length,_=new Array(A>1?A-1:0),B=1;B<A;B++)_[B-1]=arguments[B];C("error",v,_)}}function C(v,A,_){{var B=P.ReactDebugCurrentFrame,J=B.getStackAddendum();J!==""&&(A+="%s",_=_.concat([J]));var ne=_.map(function(q){return String(q)});ne.unshift("Warning: "+A),Function.prototype.apply.call(console[v],console,ne)}}var S=!1,$=!1,N=!1,j=!1,m=!1,D;D=Symbol.for("react.module.reference");function I(v){return!!(typeof v=="string"||typeof v=="function"||v===n||v===a||m||v===o||v===c||v===u||j||v===h||S||$||N||typeof v=="object"&&v!==null&&(v.$$typeof===p||v.$$typeof===d||v.$$typeof===s||v.$$typeof===i||v.$$typeof===l||v.$$typeof===D||v.getModuleId!==void 0))}function T(v,A,_){var B=v.displayName;if(B)return B;var J=A.displayName||A.name||"";return J!==""?_+"("+J+")":_}function k(v){return v.displayName||"Context"}function w(v){if(v==null)return null;if(typeof v.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case i:var A=v;return k(A)+".Consumer";case s:var _=v;return k(_._context)+".Provider";case l:return T(v,v.render,"ForwardRef");case d:var B=v.displayName||null;return B!==null?B:w(v.type)||"Memo";case p:{var J=v,ne=J._payload,q=J._init;try{return w(q(ne))}catch{return null}}}return null}var M=Object.assign,O=0,F,E,V,H,R,W,ee;function U(){}U.__reactDisabledLog=!0;function re(){{if(O===0){F=console.log,E=console.info,V=console.warn,H=console.error,R=console.group,W=console.groupCollapsed,ee=console.groupEnd;var v={configurable:!0,enumerable:!0,value:U,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}O++}}function X(){{if(O--,O===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},v,{value:F}),info:M({},v,{value:E}),warn:M({},v,{value:V}),error:M({},v,{value:H}),group:M({},v,{value:R}),groupCollapsed:M({},v,{value:W}),groupEnd:M({},v,{value:ee})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=P.ReactCurrentDispatcher,ce;function be(v,A,_){{if(ce===void 0)try{throw Error()}catch(J){var B=J.stack.trim().match(/\n( *(at )?)/);ce=B&&B[1]||""}return`
84
- `+ce+v}}var pe=!1,fe;{var he=typeof WeakMap=="function"?WeakMap:Map;fe=new he}function Te(v,A){if(!v||pe)return"";{var _=fe.get(v);if(_!==void 0)return _}var B;pe=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=te.current,te.current=null,re();try{if(A){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(ze){B=ze}Reflect.construct(v,[],q)}else{try{q.call()}catch(ze){B=ze}v.call(q.prototype)}}else{try{throw Error()}catch(ze){B=ze}v()}}catch(ze){if(ze&&B&&typeof ze.stack=="string"){for(var Y=ze.stack.split(`
85
- `),Ce=B.stack.split(`
86
- `),le=Y.length-1,de=Ce.length-1;le>=1&&de>=0&&Y[le]!==Ce[de];)de--;for(;le>=1&&de>=0;le--,de--)if(Y[le]!==Ce[de]){if(le!==1||de!==1)do if(le--,de--,de<0||Y[le]!==Ce[de]){var Ae=`
87
- `+Y[le].replace(" at new "," at ");return v.displayName&&Ae.includes("<anonymous>")&&(Ae=Ae.replace("<anonymous>",v.displayName)),typeof v=="function"&&fe.set(v,Ae),Ae}while(le>=1&&de>=0);break}}}finally{pe=!1,te.current=ne,X(),Error.prepareStackTrace=J}var dt=v?v.displayName||v.name:"",Po=dt?be(dt):"";return typeof v=="function"&&fe.set(v,Po),Po}function Se(v,A,_){return Te(v,!1)}function ae(v){var A=v.prototype;return!!(A&&A.isReactComponent)}function Z(v,A,_){if(v==null)return"";if(typeof v=="function")return Te(v,ae(v));if(typeof v=="string")return be(v);switch(v){case c:return be("Suspense");case u:return be("SuspenseList")}if(typeof v=="object")switch(v.$$typeof){case l:return Se(v.render);case d:return Z(v.type,A,_);case p:{var B=v,J=B._payload,ne=B._init;try{return Z(ne(J),A,_)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,_e={},Fe=P.ReactDebugCurrentFrame;function Ie(v){if(v){var A=v._owner,_=Z(v.type,v._source,A?A.type:null);Fe.setExtraStackFrame(_)}else Fe.setExtraStackFrame(null)}function It(v,A,_,B,J){{var ne=Function.call.bind(Oe);for(var q in v)if(ne(v,q)){var Y=void 0;try{if(typeof v[q]!="function"){var Ce=Error((B||"React class")+": "+_+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ce.name="Invariant Violation",Ce}Y=v[q](A,q,B,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(le){Y=le}Y&&!(Y instanceof Error)&&(Ie(J),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).",B||"React class",_,q,typeof Y),Ie(null)),Y instanceof Error&&!(Y.message in _e)&&(_e[Y.message]=!0,Ie(J),x("Failed %s type: %s",_,Y.message),Ie(null))}}}var mt=Array.isArray;function et(v){return mt(v)}function Ir(v){{var A=typeof Symbol=="function"&&Symbol.toStringTag,_=A&&v[Symbol.toStringTag]||v.constructor.name||"Object";return _}}function qe(v){try{return Qe(v),!1}catch{return!0}}function Qe(v){return""+v}function kr(v){if(qe(v))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ir(v)),Qe(v)}var xe=P.ReactCurrentOwner,co={key:!0,ref:!0,__self:!0,__source:!0},Ar,Or,Ht;Ht={};function uo(v){if(Oe.call(v,"ref")){var A=Object.getOwnPropertyDescriptor(v,"ref").get;if(A&&A.isReactWarning)return!1}return v.ref!==void 0}function fo(v){if(Oe.call(v,"key")){var A=Object.getOwnPropertyDescriptor(v,"key").get;if(A&&A.isReactWarning)return!1}return v.key!==void 0}function po(v,A){if(typeof v.ref=="string"&&xe.current&&A&&xe.current.stateNode!==A){var _=w(xe.current.type);Ht[_]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(xe.current.type),v.ref),Ht[_]=!0)}}function ho(v,A){{var _=function(){Ar||(Ar=!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)",A))};_.isReactWarning=!0,Object.defineProperty(v,"key",{get:_,configurable:!0})}}function mo(v,A){{var _=function(){Or||(Or=!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)",A))};_.isReactWarning=!0,Object.defineProperty(v,"ref",{get:_,configurable:!0})}}var go=function(v,A,_,B,J,ne,q){var Y={$$typeof:t,type:v,key:A,ref:_,props:q,_owner:ne};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:J}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function ue(v,A,_,B,J){{var ne,q={},Y=null,Ce=null;_!==void 0&&(kr(_),Y=""+_),fo(A)&&(kr(A.key),Y=""+A.key),uo(A)&&(Ce=A.ref,po(A,J));for(ne in A)Oe.call(A,ne)&&!co.hasOwnProperty(ne)&&(q[ne]=A[ne]);if(v&&v.defaultProps){var le=v.defaultProps;for(ne in le)q[ne]===void 0&&(q[ne]=le[ne])}if(Y||Ce){var de=typeof v=="function"?v.displayName||v.name||"Unknown":v;Y&&ho(q,de),Ce&&mo(q,de)}return go(v,Y,Ce,J,B,xe.current,q)}}var ct=P.ReactCurrentOwner,vo=P.ReactDebugCurrentFrame;function ut(v){if(v){var A=v._owner,_=Z(v.type,v._source,A?A.type:null);vo.setExtraStackFrame(_)}else vo.setExtraStackFrame(null)}var Nr;Nr=!1;function jr(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function bo(){{if(ct.current){var v=w(ct.current.type);if(v)return`
83
+ */var R1;function B9(){return R1||(R1=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,v="@@iterator";function b(y){if(y===null||typeof y!="object")return null;var j=g&&y[g]||y[v];return typeof j=="function"?j:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(y){{for(var j=arguments.length,V=new Array(j>1?j-1:0),H=1;H<j;H++)V[H-1]=arguments[H];w("error",y,V)}}function w(y,j,V){{var H=P.ReactDebugCurrentFrame,re=H.getStackAddendum();re!==""&&(j+="%s",V=V.concat([re]));var oe=V.map(function(J){return String(J)});oe.unshift("Warning: "+j),Function.prototype.apply.call(console[y],console,oe)}}var T=!1,$=!1,E=!1,A=!1,m=!1,k;k=Symbol.for("react.module.reference");function I(y){return!!(typeof y=="string"||typeof y=="function"||y===n||y===a||m||y===o||y===c||y===u||A||y===h||T||$||E||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===l||y.$$typeof===k||y.getModuleId!==void 0))}function S(y,j,V){var H=y.displayName;if(H)return H;var re=j.displayName||j.name||"";return re!==""?V+"("+re+")":V}function N(y){return y.displayName||"Context"}function C(y){if(y==null)return null;if(typeof y.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case i:var j=y;return N(j)+".Consumer";case s:var V=y;return N(V._context)+".Provider";case l:return S(y,y.render,"ForwardRef");case d:var H=y.displayName||null;return H!==null?H:C(y.type)||"Memo";case p:{var re=y,oe=re._payload,J=re._init;try{return C(J(oe))}catch{return null}}}return null}var M=Object.assign,O=0,_,D,z,X,G,U,F;function B(){}B.__reactDisabledLog=!0;function q(){{if(O===0){_=console.log,D=console.info,z=console.warn,X=console.error,G=console.group,U=console.groupCollapsed,F=console.groupEnd;var y={configurable:!0,enumerable:!0,value:B,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}O++}}function K(){{if(O--,O===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},y,{value:_}),info:M({},y,{value:D}),warn:M({},y,{value:z}),error:M({},y,{value:X}),group:M({},y,{value:G}),groupCollapsed:M({},y,{value:U}),groupEnd:M({},y,{value:F})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=P.ReactCurrentDispatcher,ne;function le(y,j,V){{if(ne===void 0)try{throw Error()}catch(re){var H=re.stack.trim().match(/\n( *(at )?)/);ne=H&&H[1]||""}return`
84
+ `+ne+y}}var ce=!1,ue;{var ge=typeof WeakMap=="function"?WeakMap:Map;ue=new ge}function Se(y,j){if(!y||ce)return"";{var V=ue.get(y);if(V!==void 0)return V}var H;ce=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var oe;oe=Q.current,Q.current=null,q();try{if(j){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(We){H=We}Reflect.construct(y,[],J)}else{try{J.call()}catch(We){H=We}y.call(J.prototype)}}else{try{throw Error()}catch(We){H=We}y()}}catch(We){if(We&&H&&typeof We.stack=="string"){for(var Z=We.stack.split(`
85
+ `),Pe=H.stack.split(`
86
+ `),pe=Z.length-1,me=Pe.length-1;pe>=1&&me>=0&&Z[pe]!==Pe[me];)me--;for(;pe>=1&&me>=0;pe--,me--)if(Z[pe]!==Pe[me]){if(pe!==1||me!==1)do if(pe--,me--,me<0||Z[pe]!==Pe[me]){var Oe=`
87
+ `+Z[pe].replace(" at new "," at ");return y.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",y.displayName)),typeof y=="function"&&ue.set(y,Oe),Oe}while(pe>=1&&me>=0);break}}}finally{ce=!1,Q.current=oe,K(),Error.prepareStackTrace=re}var pt=y?y.displayName||y.name:"",Wo=pt?le(pt):"";return typeof y=="function"&&ue.set(y,Wo),Wo}function Te(y,j,V){return Se(y,!1)}function se(y){var j=y.prototype;return!!(j&&j.isReactComponent)}function te(y,j,V){if(y==null)return"";if(typeof y=="function")return Se(y,se(y));if(typeof y=="string")return le(y);switch(y){case c:return le("Suspense");case u:return le("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case l:return Te(y.render);case d:return te(y.type,j,V);case p:{var H=y,re=H._payload,oe=H._init;try{return te(oe(re),j,V)}catch{}}}return""}var je=Object.prototype.hasOwnProperty,Fe={},Ve=P.ReactDebugCurrentFrame;function Ie(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);Ve.setExtraStackFrame(V)}else Ve.setExtraStackFrame(null)}function Nt(y,j,V,H,re){{var oe=Function.call.bind(je);for(var J in y)if(oe(y,J)){var Z=void 0;try{if(typeof y[J]!="function"){var Pe=Error((H||"React class")+": "+V+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}Z=y[J](j,J,H,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){Z=pe}Z&&!(Z instanceof Error)&&(Ie(re),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).",H||"React class",V,J,typeof Z),Ie(null)),Z instanceof Error&&!(Z.message in Fe)&&(Fe[Z.message]=!0,Ie(re),x("Failed %s type: %s",V,Z.message),Ie(null))}}}var vt=Array.isArray;function rt(y){return vt(y)}function Wr(y){{var j=typeof Symbol=="function"&&Symbol.toStringTag,V=j&&y[Symbol.toStringTag]||y.constructor.name||"Object";return V}}function Qe(y){try{return Xe(y),!1}catch{return!0}}function Xe(y){return""+y}function Br(y){if(Qe(y))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Wr(y)),Xe(y)}var Ce=P.ReactCurrentOwner,$o={key:!0,ref:!0,__self:!0,__source:!0},Kr,Rr,Qt;Qt={};function Do(y){if(je.call(y,"ref")){var j=Object.getOwnPropertyDescriptor(y,"ref").get;if(j&&j.isReactWarning)return!1}return y.ref!==void 0}function ko(y){if(je.call(y,"key")){var j=Object.getOwnPropertyDescriptor(y,"key").get;if(j&&j.isReactWarning)return!1}return y.key!==void 0}function Io(y,j){if(typeof y.ref=="string"&&Ce.current&&j&&Ce.current.stateNode!==j){var V=C(Ce.current.type);Qt[V]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(Ce.current.type),y.ref),Qt[V]=!0)}}function Ao(y,j){{var V=function(){Kr||(Kr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"key",{get:V,configurable:!0})}}function No(y,j){{var V=function(){Rr||(Rr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"ref",{get:V,configurable:!0})}}var Oo=function(y,j,V,H,re,oe,J){var Z={$$typeof:t,type:y,key:j,ref:V,props:J,_owner:oe};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function he(y,j,V,H,re){{var oe,J={},Z=null,Pe=null;V!==void 0&&(Br(V),Z=""+V),ko(j)&&(Br(j.key),Z=""+j.key),Do(j)&&(Pe=j.ref,Io(j,re));for(oe in j)je.call(j,oe)&&!$o.hasOwnProperty(oe)&&(J[oe]=j[oe]);if(y&&y.defaultProps){var pe=y.defaultProps;for(oe in pe)J[oe]===void 0&&(J[oe]=pe[oe])}if(Z||Pe){var me=typeof y=="function"?y.displayName||y.name||"Unknown":y;Z&&Ao(J,me),Pe&&No(J,me)}return Oo(y,Z,Pe,re,H,Ce.current,J)}}var dt=P.ReactCurrentOwner,jo=P.ReactDebugCurrentFrame;function ft(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);jo.setExtraStackFrame(V)}else jo.setExtraStackFrame(null)}var Ur;Ur=!1;function Gr(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function Lo(){{if(dt.current){var y=C(dt.current.type);if(y)return`
88
88
 
89
- Check the render method of \``+v+"`."}return""}}function Fl(v){{if(v!==void 0){var A=v.fileName.replace(/^.*[\\\/]/,""),_=v.lineNumber;return`
89
+ Check the render method of \``+y+"`."}return""}}function gc(y){{if(y!==void 0){var j=y.fileName.replace(/^.*[\\\/]/,""),V=y.lineNumber;return`
90
90
 
91
- Check your code at `+A+":"+_+"."}return""}}var yo={};function Vl(v){{var A=bo();if(!A){var _=typeof v=="string"?v:v.displayName||v.name;_&&(A=`
91
+ Check your code at `+j+":"+V+"."}return""}}var _o={};function vc(y){{var j=Lo();if(!j){var V=typeof y=="string"?y:y.displayName||y.name;V&&(j=`
92
92
 
93
- Check the top-level render call using <`+_+">.")}return A}}function xo(v,A){{if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var _=Vl(A);if(yo[_])return;yo[_]=!0;var B="";v&&v._owner&&v._owner!==ct.current&&(B=" It was passed a child from "+w(v._owner.type)+"."),ut(v),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,B),ut(null)}}function wo(v,A){{if(typeof v!="object")return;if(et(v))for(var _=0;_<v.length;_++){var B=v[_];jr(B)&&xo(B,A)}else if(jr(v))v._store&&(v._store.validated=!0);else if(v){var J=y(v);if(typeof J=="function"&&J!==v.entries)for(var ne=J.call(v),q;!(q=ne.next()).done;)jr(q.value)&&xo(q.value,A)}}}function zl(v){{var A=v.type;if(A==null||typeof A=="string")return;var _;if(typeof A=="function")_=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===l||A.$$typeof===d))_=A.propTypes;else return;if(_){var B=w(A);It(_,v.props,"prop",B,v)}else if(A.PropTypes!==void 0&&!Nr){Nr=!0;var J=w(A);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wl(v){{for(var A=Object.keys(v.props),_=0;_<A.length;_++){var B=A[_];if(B!=="children"&&B!=="key"){ut(v),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),ut(null);break}}v.ref!==null&&(ut(v),x("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}function Co(v,A,_,B,J,ne){{var q=I(v);if(!q){var Y="";(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(Y+=" 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 Ce=Fl(J);Ce?Y+=Ce:Y+=bo();var le;v===null?le="null":et(v)?le="array":v!==void 0&&v.$$typeof===t?(le="<"+(w(v.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):le=typeof v,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",le,Y)}var de=ue(v,A,_,J,ne);if(de==null)return de;if(q){var Ae=A.children;if(Ae!==void 0)if(B)if(et(Ae)){for(var dt=0;dt<Ae.length;dt++)wo(Ae[dt],v);Object.freeze&&Object.freeze(Ae)}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 wo(Ae,v)}return v===n?Wl(de):zl(de),de}}function Bl(v,A,_){return Co(v,A,_,!0)}function Rl(v,A,_){return Co(v,A,_,!1)}var Kl=Rl,Ul=Bl;ao.Fragment=n,ao.jsx=Kl,ao.jsxs=Ul}()),ao}var so={};/**
93
+ Check the top-level render call using <`+V+">.")}return j}}function Fo(y,j){{if(!y._store||y._store.validated||y.key!=null)return;y._store.validated=!0;var V=vc(j);if(_o[V])return;_o[V]=!0;var H="";y&&y._owner&&y._owner!==dt.current&&(H=" It was passed a child from "+C(y._owner.type)+"."),ft(y),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,H),ft(null)}}function Vo(y,j){{if(typeof y!="object")return;if(rt(y))for(var V=0;V<y.length;V++){var H=y[V];Gr(H)&&Fo(H,j)}else if(Gr(y))y._store&&(y._store.validated=!0);else if(y){var re=b(y);if(typeof re=="function"&&re!==y.entries)for(var oe=re.call(y),J;!(J=oe.next()).done;)Gr(J.value)&&Fo(J.value,j)}}}function bc(y){{var j=y.type;if(j==null||typeof j=="string")return;var V;if(typeof j=="function")V=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===l||j.$$typeof===d))V=j.propTypes;else return;if(V){var H=C(j);Nt(V,y.props,"prop",H,y)}else if(j.PropTypes!==void 0&&!Ur){Ur=!0;var re=C(j);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yc(y){{for(var j=Object.keys(y.props),V=0;V<j.length;V++){var H=j[V];if(H!=="children"&&H!=="key"){ft(y),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H),ft(null);break}}y.ref!==null&&(ft(y),x("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}function zo(y,j,V,H,re,oe){{var J=I(y);if(!J){var Z="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(Z+=" 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 Pe=gc(re);Pe?Z+=Pe:Z+=Lo();var pe;y===null?pe="null":rt(y)?pe="array":y!==void 0&&y.$$typeof===t?(pe="<"+(C(y.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof y,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,Z)}var me=he(y,j,V,re,oe);if(me==null)return me;if(J){var Oe=j.children;if(Oe!==void 0)if(H)if(rt(Oe)){for(var pt=0;pt<Oe.length;pt++)Vo(Oe[pt],y);Object.freeze&&Object.freeze(Oe)}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 Vo(Oe,y)}return y===n?yc(me):bc(me),me}}function xc(y,j,V){return zo(y,j,V,!0)}function wc(y,j,V){return zo(y,j,V,!1)}var Cc=wc,Pc=xc;xo.Fragment=n,xo.jsx=Cc,xo.jsxs=Pc}()),xo}var wo={};/**
94
94
  * @license React
95
95
  * react-jsx-runtime.production.min.js
96
96
  *
@@ -98,4 +98,4 @@ Check the top-level render call using <`+_+">.")}return A}}function xo(v,A){{if(
98
98
  *
99
99
  * This source code is licensed under the MIT license found in the
100
100
  * LICENSE file in the root directory of this source tree.
101
- */var ip;function Y8(){if(ip)return so;ip=1;var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(i,l,c){var u,d={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(i&&i.defaultProps)for(u in l=i.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:i,key:p,ref:h,props:d,_owner:o.current}}return so.Fragment=r,so.jsx=s,so.jsxs=s,so}process.env.NODE_ENV==="production"?Sl.exports=Y8():Sl.exports=H8();var z=Sl.exports;function io(e){return e.mode==="multiple"}function lo(e){return e.mode==="range"}function Ya(e){return e.mode==="single"}var G8={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function q8(e,t){return Kt(e,"LLLL y",t)}function Q8(e,t){return Kt(e,"d",t)}function X8(e,t){return Kt(e,"LLLL",t)}function Z8(e){return"".concat(e)}function J8(e,t){return Kt(e,"cccccc",t)}function e9(e,t){return Kt(e,"yyyy",t)}var t9=Object.freeze({__proto__:null,formatCaption:q8,formatDay:Q8,formatMonthCaption:X8,formatWeekNumber:Z8,formatWeekdayName:J8,formatYearCaption:e9}),r9=function(e,t,r){return Kt(e,"do MMMM (EEEE)",r)},n9=function(){return"Month: "},o9=function(){return"Go to next month"},a9=function(){return"Go to previous month"},s9=function(e,t){return Kt(e,"cccc",t)},i9=function(e){return"Week n. ".concat(e)},l9=function(){return"Year: "},c9=Object.freeze({__proto__:null,labelDay:r9,labelMonthDropdown:n9,labelNext:o9,labelPrevious:a9,labelWeekNumber:i9,labelWeekday:s9,labelYearDropdown:l9});function u9(){var e="buttons",t=G8,r=G0,n={},o={},a=1,s={},i=new Date;return{captionLayout:e,classNames:t,formatters:t9,labels:c9,locale:r,modifiersClassNames:n,modifiers:o,numberOfMonths:a,styles:s,today:i,mode:"default"}}function d9(e){var t=e.fromYear,r=e.toYear,n=e.fromMonth,o=e.toMonth,a=e.fromDate,s=e.toDate;return n?a=Je(n):t&&(a=new Date(t,0,1)),o?s=yl(o):r&&(s=new Date(r,11,31)),{fromDate:a?dn(a):void 0,toDate:s?dn(s):void 0}}var lp=f.createContext(void 0);function f9(e){var t,r=e.initialProps,n=u9(),o=d9(r),a=o.fromDate,s=o.toDate,i=(t=r.captionLayout)!==null&&t!==void 0?t:n.captionLayout;i!=="buttons"&&(!a||!s)&&(i="buttons");var l;(Ya(r)||io(r)||lo(r))&&(l=r.onSelect);var c=se(se(se({},n),r),{captionLayout:i,classNames:se(se({},n.classNames),r.classNames),components:se({},r.components),formatters:se(se({},n.formatters),r.formatters),fromDate:a,labels:se(se({},n.labels),r.labels),mode:r.mode||n.mode,modifiers:se(se({},n.modifiers),r.modifiers),modifiersClassNames:se(se({},n.modifiersClassNames),r.modifiersClassNames),onSelect:l,styles:se(se({},n.styles),r.styles),toDate:s});return z.jsx(lp.Provider,{value:c,children:e.children})}function De(){var e=f.useContext(lp);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function cp(e){var t=De(),r=t.locale,n=t.classNames,o=t.styles,a=t.formatters.formatCaption;return z.jsx("div",{className:n.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:r})})}function p9(e){return z.jsx("svg",se({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:z.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function up(e){var t,r,n=e.onChange,o=e.value,a=e.children,s=e.caption,i=e.className,l=e.style,c=De(),u=(r=(t=c.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&r!==void 0?r:p9;return z.jsxs("div",{className:i,style:l,children:[z.jsx("span",{className:c.classNames.vhidden,children:e["aria-label"]}),z.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:c.classNames.dropdown,style:c.styles.dropdown,value:o,onChange:n,children:a}),z.jsxs("div",{className:c.classNames.caption_label,style:c.styles.caption_label,"aria-hidden":"true",children:[s,z.jsx(u,{className:c.classNames.dropdown_icon,style:c.styles.dropdown_icon})]})]})}function h9(e){var t,r=De(),n=r.fromDate,o=r.toDate,a=r.styles,s=r.locale,i=r.formatters.formatMonthCaption,l=r.classNames,c=r.components,u=r.labels.labelMonthDropdown;if(!n)return z.jsx(z.Fragment,{});if(!o)return z.jsx(z.Fragment,{});var d=[];if(K8(n,o))for(var p=Je(n),h=n.getMonth();h<=o.getMonth();h++)d.push(Tl(p,h));else for(var p=Je(new Date),h=0;h<=11;h++)d.push(Tl(p,h));var g=function(y){var P=Number(y.target.value),x=Tl(Je(e.displayMonth),P);e.onChange(x)},b=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:up;return z.jsx(b,{name:"months","aria-label":u(),className:l.dropdown_month,style:a.dropdown_month,onChange:g,value:e.displayMonth.getMonth(),caption:i(e.displayMonth,{locale:s}),children:d.map(function(y){return z.jsx("option",{value:y.getMonth(),children:i(y,{locale:s})},y.getMonth())})})}function m9(e){var t,r=e.displayMonth,n=De(),o=n.fromDate,a=n.toDate,s=n.locale,i=n.styles,l=n.classNames,c=n.components,u=n.formatters.formatYearCaption,d=n.labels.labelYearDropdown,p=[];if(!o)return z.jsx(z.Fragment,{});if(!a)return z.jsx(z.Fragment,{});for(var h=o.getFullYear(),g=a.getFullYear(),b=h;b<=g;b++)p.push(op(H0(new Date),b));var y=function(x){var C=op(Je(r),Number(x.target.value));e.onChange(C)},P=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:up;return z.jsx(P,{name:"years","aria-label":d(),className:l.dropdown_year,style:i.dropdown_year,onChange:y,value:r.getFullYear(),caption:u(r,{locale:s}),children:p.map(function(x){return z.jsx("option",{value:x.getFullYear(),children:u(x,{locale:s})},x.getFullYear())})})}function g9(e,t){var r=f.useState(e),n=r[0],o=r[1],a=t===void 0?n:t;return[a,o]}function v9(e){var t=e.month,r=e.defaultMonth,n=e.today,o=t||r||n||new Date,a=e.toDate,s=e.fromDate,i=e.numberOfMonths,l=i===void 0?1:i;if(a&&ro(a,o)<0){var c=-1*(l-1);o=xt(a,c)}return s&&ro(o,s)<0&&(o=s),Je(o)}function b9(){var e=De(),t=v9(e),r=g9(t,e.month),n=r[0],o=r[1],a=function(s){var i;if(!e.disableNavigation){var l=Je(s);o(l),(i=e.onMonthChange)===null||i===void 0||i.call(e,l)}};return[n,a]}function y9(e,t){for(var r=t.reverseMonths,n=t.numberOfMonths,o=Je(e),a=Je(xt(o,n)),s=ro(a,o),i=[],l=0;l<s;l++){var c=xt(o,l);i.push(c)}return r&&(i=i.reverse()),i}function x9(e,t){if(!t.disableNavigation){var r=t.toDate,n=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,s=n?a:1,i=Je(e);if(!r)return xt(i,s);var l=ro(r,e);if(!(l<a))return xt(i,s)}}function w9(e,t){if(!t.disableNavigation){var r=t.fromDate,n=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,s=n?a:1,i=Je(e);if(!r)return xt(i,-s);var l=ro(i,r);if(!(l<=0))return xt(i,-s)}}var dp=f.createContext(void 0);function C9(e){var t=De(),r=b9(),n=r[0],o=r[1],a=y9(n,t),s=x9(n,t),i=w9(n,t),l=function(d){return a.some(function(p){return Pl(d,p)})},c=function(d,p){l(d)||(p&&np(d,p)?o(xt(d,1+t.numberOfMonths*-1)):o(d))},u={currentMonth:n,displayMonths:a,goToMonth:o,goToDate:c,previousMonth:i,nextMonth:s,isDateDisplayed:l};return z.jsx(dp.Provider,{value:u,children:e.children})}function pn(){var e=f.useContext(dp);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function fp(e){var t,r=De(),n=r.classNames,o=r.styles,a=r.components,s=pn().goToMonth,i=function(u){s(xt(u,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:cp,c=z.jsx(l,{id:e.id,displayMonth:e.displayMonth});return z.jsxs("div",{className:n.caption_dropdowns,style:o.caption_dropdowns,children:[z.jsx("div",{className:n.vhidden,children:c}),z.jsx(h9,{onChange:i,displayMonth:e.displayMonth}),z.jsx(m9,{onChange:i,displayMonth:e.displayMonth})]})}function P9(e){return z.jsx("svg",se({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function M9(e){return z.jsx("svg",se({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Ga=f.forwardRef(function(e,t){var r=De(),n=r.classNames,o=r.styles,a=[n.button_reset,n.button];e.className&&a.push(e.className);var s=a.join(" "),i=se(se({},o.button_reset),o.button);return e.style&&Object.assign(i,e.style),z.jsx("button",se({},e,{ref:t,type:"button",className:s,style:i}))});function T9(e){var t,r,n=De(),o=n.dir,a=n.locale,s=n.classNames,i=n.styles,l=n.labels,c=l.labelPrevious,u=l.labelNext,d=n.components;if(!e.nextMonth&&!e.previousMonth)return z.jsx(z.Fragment,{});var p=c(e.previousMonth,{locale:a}),h=[s.nav_button,s.nav_button_previous].join(" "),g=u(e.nextMonth,{locale:a}),b=[s.nav_button,s.nav_button_next].join(" "),y=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:M9,P=(r=d==null?void 0:d.IconLeft)!==null&&r!==void 0?r:P9;return z.jsxs("div",{className:s.nav,style:i.nav,children:[!e.hidePrevious&&z.jsx(Ga,{name:"previous-month","aria-label":p,className:h,style:i.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?z.jsx(y,{className:s.nav_icon,style:i.nav_icon}):z.jsx(P,{className:s.nav_icon,style:i.nav_icon})}),!e.hideNext&&z.jsx(Ga,{name:"next-month","aria-label":g,className:b,style:i.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?z.jsx(P,{className:s.nav_icon,style:i.nav_icon}):z.jsx(y,{className:s.nav_icon,style:i.nav_icon})})]})}function pp(e){var t=De().numberOfMonths,r=pn(),n=r.previousMonth,o=r.nextMonth,a=r.goToMonth,s=r.displayMonths,i=s.findIndex(function(g){return Pl(e.displayMonth,g)}),l=i===0,c=i===s.length-1,u=t>1&&(l||!c),d=t>1&&(c||!l),p=function(){n&&a(n)},h=function(){o&&a(o)};return z.jsx(T9,{displayMonth:e.displayMonth,hideNext:u,hidePrevious:d,nextMonth:o,previousMonth:n,onPreviousClick:p,onNextClick:h})}function S9(e){var t,r=De(),n=r.classNames,o=r.disableNavigation,a=r.styles,s=r.captionLayout,i=r.components,l=(t=i==null?void 0:i.CaptionLabel)!==null&&t!==void 0?t:cp,c;return o?c=z.jsx(l,{id:e.id,displayMonth:e.displayMonth}):s==="dropdown"?c=z.jsx(fp,{displayMonth:e.displayMonth,id:e.id}):s==="dropdown-buttons"?c=z.jsxs(z.Fragment,{children:[z.jsx(fp,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),z.jsx(pp,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):c=z.jsxs(z.Fragment,{children:[z.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(pp,{displayMonth:e.displayMonth,id:e.id})]}),z.jsx("div",{className:n.caption,style:a.caption,children:c})}function E9(e){var t=De(),r=t.footer,n=t.styles,o=t.classNames.tfoot;return r?z.jsx("tfoot",{className:o,style:n.tfoot,children:z.jsx("tr",{children:z.jsx("td",{colSpan:8,children:r})})}):z.jsx(z.Fragment,{})}function $9(e,t,r){for(var n=r?$r(new Date):$t(new Date,{locale:e,weekStartsOn:t}),o=[],a=0;a<7;a++){var s=Ge(n,a);o.push(s)}return o}function D9(){var e=De(),t=e.classNames,r=e.styles,n=e.showWeekNumber,o=e.locale,a=e.weekStartsOn,s=e.ISOWeek,i=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,c=$9(o,a,s);return z.jsxs("tr",{style:r.head_row,className:t.head_row,children:[n&&z.jsx("td",{style:r.head_cell,className:t.head_cell}),c.map(function(u,d){return z.jsx("th",{scope:"col",className:t.head_cell,style:r.head_cell,"aria-label":l(u,{locale:o}),children:i(u,{locale:o})},d)})]})}function I9(){var e,t=De(),r=t.classNames,n=t.styles,o=t.components,a=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:D9;return z.jsx("thead",{style:n.head,className:r.head,children:z.jsx(a,{})})}function k9(e){var t=De(),r=t.locale,n=t.formatters.formatDay;return z.jsx(z.Fragment,{children:n(e.date,{locale:r})})}var El=f.createContext(void 0);function A9(e){if(!io(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return z.jsx(El.Provider,{value:t,children:e.children})}return z.jsx(O9,{initialProps:e.initialProps,children:e.children})}function O9(e){var t=e.initialProps,r=e.children,n=t.selected,o=t.min,a=t.max,s=function(c,u,d){var p,h;(p=t.onDayClick)===null||p===void 0||p.call(t,c,u,d);var g=!!(u.selected&&o&&(n==null?void 0:n.length)===o);if(!g){var b=!!(!u.selected&&a&&(n==null?void 0:n.length)===a);if(!b){var y=n?ap([],n,!0):[];if(u.selected){var P=y.findIndex(function(x){return Ze(c,x)});y.splice(P,1)}else y.push(c);(h=t.onSelect)===null||h===void 0||h.call(t,y,c,u,d)}}},i={disabled:[]};n&&i.disabled.push(function(c){var u=a&&n.length>a-1,d=n.some(function(p){return Ze(p,c)});return!!(u&&!d)});var l={selected:n,onDayClick:s,modifiers:i};return z.jsx(El.Provider,{value:l,children:r})}function $l(){var e=f.useContext(El);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function N9(e,t){var r=t||{},n=r.from,o=r.to;return n&&o?Ze(o,e)&&Ze(n,e)?void 0:Ze(o,e)?{from:o,to:void 0}:Ze(n,e)?void 0:Cl(n,e)?{from:e,to:o}:{from:n,to:e}:o?Cl(e,o)?{from:o,to:e}:{from:e,to:o}:n?np(e,n)?{from:e,to:n}:{from:n,to:e}:{from:e,to:void 0}}var Dl=f.createContext(void 0);function j9(e){if(!lo(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return z.jsx(Dl.Provider,{value:t,children:e.children})}return z.jsx(L9,{initialProps:e.initialProps,children:e.children})}function L9(e){var t=e.initialProps,r=e.children,n=t.selected,o=n||{},a=o.from,s=o.to,i=t.min,l=t.max,c=function(h,g,b){var y,P;(y=t.onDayClick)===null||y===void 0||y.call(t,h,g,b);var x=N9(h,n);(P=t.onSelect)===null||P===void 0||P.call(t,x,h,g,b)},u={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(u.range_start=[a],s?(u.range_end=[s],Ze(a,s)||(u.range_middle=[{after:a,before:s}])):u.range_end=[a]):s&&(u.range_start=[s],u.range_end=[s]),i&&(a&&!s&&u.disabled.push({after:Ml(a,i-1),before:Ge(a,i-1)}),a&&s&&u.disabled.push({after:a,before:Ge(a,i-1)}),!a&&s&&u.disabled.push({after:Ml(s,i-1),before:Ge(s,i-1)})),l){if(a&&!s&&(u.disabled.push({before:Ge(a,-l+1)}),u.disabled.push({after:Ge(a,l-1)})),a&&s){var d=Dt(s,a)+1,p=l-d;u.disabled.push({before:Ml(a,p)}),u.disabled.push({after:Ge(s,p)})}!a&&s&&(u.disabled.push({before:Ge(s,-l+1)}),u.disabled.push({after:Ge(s,l-1)}))}return z.jsx(Dl.Provider,{value:{selected:n,onDayClick:c,modifiers:u},children:r})}function Il(){var e=f.useContext(Dl);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function qa(e){return Array.isArray(e)?ap([],e,!0):e!==void 0?[e]:[]}function _9(e){var t={};return Object.entries(e).forEach(function(r){var n=r[0],o=r[1];t[n]=qa(o)}),t}var wt;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(wt||(wt={}));var F9=wt.Selected,Ut=wt.Disabled,V9=wt.Hidden,z9=wt.Today,kl=wt.RangeEnd,Al=wt.RangeMiddle,Ol=wt.RangeStart,W9=wt.Outside;function B9(e,t,r){var n,o=(n={},n[F9]=qa(e.selected),n[Ut]=qa(e.disabled),n[V9]=qa(e.hidden),n[z9]=[e.today],n[kl]=[],n[Al]=[],n[Ol]=[],n[W9]=[],n);return e.fromDate&&o[Ut].push({before:e.fromDate}),e.toDate&&o[Ut].push({after:e.toDate}),io(e)?o[Ut]=o[Ut].concat(t.modifiers[Ut]):lo(e)&&(o[Ut]=o[Ut].concat(r.modifiers[Ut]),o[Ol]=r.modifiers[Ol],o[Al]=r.modifiers[Al],o[kl]=r.modifiers[kl]),o}var hp=f.createContext(void 0);function R9(e){var t=De(),r=$l(),n=Il(),o=B9(t,r,n),a=_9(t.modifiers),s=se(se({},o),a);return z.jsx(hp.Provider,{value:s,children:e.children})}function mp(){var e=f.useContext(hp);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function K9(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function U9(e){return!!(e&&typeof e=="object"&&"from"in e)}function H9(e){return!!(e&&typeof e=="object"&&"after"in e)}function Y9(e){return!!(e&&typeof e=="object"&&"before"in e)}function G9(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function q9(e,t){var r,n=t.from,o=t.to;if(n&&o){var a=Dt(o,n)<0;a&&(r=[o,n],n=r[0],o=r[1]);var s=Dt(e,n)>=0&&Dt(o,e)>=0;return s}return o?Ze(o,e):n?Ze(n,e):!1}function Q9(e){return bl(e)}function X9(e){return Array.isArray(e)&&e.every(bl)}function Z9(e,t){return t.some(function(r){if(typeof r=="boolean")return r;if(Q9(r))return Ze(e,r);if(X9(r))return r.includes(e);if(U9(r))return q9(e,r);if(G9(r))return r.dayOfWeek.includes(e.getDay());if(K9(r)){var n=Dt(r.before,e),o=Dt(r.after,e),a=n>0,s=o<0,i=Cl(r.before,r.after);return i?s&&a:a||s}return H9(r)?Dt(e,r.after)>0:Y9(r)?Dt(r.before,e)>0:typeof r=="function"?r(e):!1})}function Nl(e,t,r){var n=Object.keys(t).reduce(function(a,s){var i=t[s];return Z9(e,i)&&a.push(s),a},[]),o={};return n.forEach(function(a){return o[a]=!0}),r&&!Pl(e,r)&&(o.outside=!0),o}function J9(e,t){for(var r=Je(e[0]),n=yl(e[e.length-1]),o,a,s=r;s<=n;){var i=Nl(s,t),l=!i.disabled&&!i.hidden;if(!l){s=Ge(s,1);continue}if(i.selected)return s;i.today&&!a&&(a=s),o||(o=s),s=Ge(s,1)}return a||o}var ex=365;function gp(e,t){var r=t.moveBy,n=t.direction,o=t.context,a=t.modifiers,s=t.retry,i=s===void 0?{count:0,lastFocused:e}:s,l=o.weekStartsOn,c=o.fromDate,u=o.toDate,d=o.locale,p={day:Ge,week:vl,month:xt,year:B7,startOfWeek:function(y){return o.ISOWeek?$r(y):$t(y,{locale:d,weekStartsOn:l})},endOfWeek:function(y){return o.ISOWeek?Y0(y):xl(y,{locale:d,weekStartsOn:l})}},h=p[r](e,n==="after"?1:-1);n==="before"&&c?h=R7([c,h]):n==="after"&&u&&(h=K7([u,h]));var g=!0;if(a){var b=Nl(h,a);g=!b.disabled&&!b.hidden}return g?h:i.count>ex?i.lastFocused:gp(h,{moveBy:r,direction:n,context:o,modifiers:a,retry:se(se({},i),{count:i.count+1})})}var vp=f.createContext(void 0);function tx(e){var t=pn(),r=mp(),n=f.useState(),o=n[0],a=n[1],s=f.useState(),i=s[0],l=s[1],c=J9(t.displayMonths,r),u=o??(i&&t.isDateDisplayed(i))?i:c,d=function(){l(o),a(void 0)},p=function(y){a(y)},h=De(),g=function(y,P){if(o){var x=gp(o,{moveBy:y,direction:P,context:h,modifiers:r});Ze(o,x)||(t.goToDate(x,o),p(x))}},b={focusedDay:o,focusTarget:u,blur:d,focus:p,focusDayAfter:function(){return g("day","after")},focusDayBefore:function(){return g("day","before")},focusWeekAfter:function(){return g("week","after")},focusWeekBefore:function(){return g("week","before")},focusMonthBefore:function(){return g("month","before")},focusMonthAfter:function(){return g("month","after")},focusYearBefore:function(){return g("year","before")},focusYearAfter:function(){return g("year","after")},focusStartOfWeek:function(){return g("startOfWeek","before")},focusEndOfWeek:function(){return g("endOfWeek","after")}};return z.jsx(vp.Provider,{value:b,children:e.children})}function jl(){var e=f.useContext(vp);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function rx(e,t){var r=mp(),n=Nl(e,r,t);return n}var Ll=f.createContext(void 0);function nx(e){if(!Ya(e.initialProps)){var t={selected:void 0};return z.jsx(Ll.Provider,{value:t,children:e.children})}return z.jsx(ox,{initialProps:e.initialProps,children:e.children})}function ox(e){var t=e.initialProps,r=e.children,n=function(a,s,i){var l,c,u;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,s,i),s.selected&&!t.required){(c=t.onSelect)===null||c===void 0||c.call(t,void 0,a,s,i);return}(u=t.onSelect)===null||u===void 0||u.call(t,a,a,s,i)},o={selected:t.selected,onDayClick:n};return z.jsx(Ll.Provider,{value:o,children:r})}function bp(){var e=f.useContext(Ll);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function ax(e,t){var r=De(),n=bp(),o=$l(),a=Il(),s=jl(),i=s.focusDayAfter,l=s.focusDayBefore,c=s.focusWeekAfter,u=s.focusWeekBefore,d=s.blur,p=s.focus,h=s.focusMonthBefore,g=s.focusMonthAfter,b=s.focusYearBefore,y=s.focusYearAfter,P=s.focusStartOfWeek,x=s.focusEndOfWeek,C=function(E){var V,H,R,W;Ya(r)?(V=n.onDayClick)===null||V===void 0||V.call(n,e,t,E):io(r)?(H=o.onDayClick)===null||H===void 0||H.call(o,e,t,E):lo(r)?(R=a.onDayClick)===null||R===void 0||R.call(a,e,t,E):(W=r.onDayClick)===null||W===void 0||W.call(r,e,t,E)},S=function(E){var V;p(e),(V=r.onDayFocus)===null||V===void 0||V.call(r,e,t,E)},$=function(E){var V;d(),(V=r.onDayBlur)===null||V===void 0||V.call(r,e,t,E)},N=function(E){var V;(V=r.onDayMouseEnter)===null||V===void 0||V.call(r,e,t,E)},j=function(E){var V;(V=r.onDayMouseLeave)===null||V===void 0||V.call(r,e,t,E)},m=function(E){var V;(V=r.onDayPointerEnter)===null||V===void 0||V.call(r,e,t,E)},D=function(E){var V;(V=r.onDayPointerLeave)===null||V===void 0||V.call(r,e,t,E)},I=function(E){var V;(V=r.onDayTouchCancel)===null||V===void 0||V.call(r,e,t,E)},T=function(E){var V;(V=r.onDayTouchEnd)===null||V===void 0||V.call(r,e,t,E)},k=function(E){var V;(V=r.onDayTouchMove)===null||V===void 0||V.call(r,e,t,E)},w=function(E){var V;(V=r.onDayTouchStart)===null||V===void 0||V.call(r,e,t,E)},M=function(E){var V;(V=r.onDayKeyUp)===null||V===void 0||V.call(r,e,t,E)},O=function(E){var V;switch(E.key){case"ArrowLeft":E.preventDefault(),E.stopPropagation(),r.dir==="rtl"?i():l();break;case"ArrowRight":E.preventDefault(),E.stopPropagation(),r.dir==="rtl"?l():i();break;case"ArrowDown":E.preventDefault(),E.stopPropagation(),c();break;case"ArrowUp":E.preventDefault(),E.stopPropagation(),u();break;case"PageUp":E.preventDefault(),E.stopPropagation(),E.shiftKey?b():h();break;case"PageDown":E.preventDefault(),E.stopPropagation(),E.shiftKey?y():g();break;case"Home":E.preventDefault(),E.stopPropagation(),P();break;case"End":E.preventDefault(),E.stopPropagation(),x();break}(V=r.onDayKeyDown)===null||V===void 0||V.call(r,e,t,E)},F={onClick:C,onFocus:S,onBlur:$,onKeyDown:O,onKeyUp:M,onMouseEnter:N,onMouseLeave:j,onPointerEnter:m,onPointerLeave:D,onTouchCancel:I,onTouchEnd:T,onTouchMove:k,onTouchStart:w};return F}function sx(){var e=De(),t=bp(),r=$l(),n=Il(),o=Ya(e)?t.selected:io(e)?r.selected:lo(e)?n.selected:void 0;return o}function ix(e){return Object.values(wt).includes(e)}function lx(e,t){var r=[e.classNames.day];return Object.keys(t).forEach(function(n){var o=e.modifiersClassNames[n];if(o)r.push(o);else if(ix(n)){var a=e.classNames["day_".concat(n)];a&&r.push(a)}}),r}function cx(e,t){var r=se({},e.styles.day);return Object.keys(t).forEach(function(n){var o;r=se(se({},r),(o=e.modifiersStyles)===null||o===void 0?void 0:o[n])}),r}function ux(e,t,r){var n,o,a,s=De(),i=jl(),l=rx(e,t),c=ax(e,l),u=sx(),d=!!(s.onDayClick||s.mode!=="default");f.useEffect(function(){var N;l.outside||i.focusedDay&&d&&Ze(i.focusedDay,e)&&((N=r.current)===null||N===void 0||N.focus())},[i.focusedDay,e,r,d,l.outside]);var p=lx(s,l).join(" "),h=cx(s,l),g=!!(l.outside&&!s.showOutsideDays||l.hidden),b=(a=(o=s.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:k9,y=z.jsx(b,{date:e,displayMonth:t,activeModifiers:l}),P={style:h,className:p,children:y,role:"gridcell"},x=i.focusTarget&&Ze(i.focusTarget,e)&&!l.outside,C=i.focusedDay&&Ze(i.focusedDay,e),S=se(se(se({},P),(n={disabled:l.disabled,role:"gridcell"},n["aria-selected"]=l.selected,n.tabIndex=C||x?0:-1,n)),c),$={isButton:d,isHidden:g,activeModifiers:l,selectedDays:u,buttonProps:S,divProps:P};return $}function dx(e){var t=f.useRef(null),r=ux(e.date,e.displayMonth,t);return r.isHidden?z.jsx("div",{role:"gridcell"}):r.isButton?z.jsx(Ga,se({name:"day",ref:t},r.buttonProps)):z.jsx("div",se({},r.divProps))}function fx(e){var t=e.number,r=e.dates,n=De(),o=n.onWeekNumberClick,a=n.styles,s=n.classNames,i=n.locale,l=n.labels.labelWeekNumber,c=n.formatters.formatWeekNumber,u=c(Number(t),{locale:i});if(!o)return z.jsx("span",{className:s.weeknumber,style:a.weeknumber,children:u});var d=l(Number(t),{locale:i}),p=function(h){o(t,r,h)};return z.jsx(Ga,{name:"week-number","aria-label":d,className:s.weeknumber,style:a.weeknumber,onClick:p,children:u})}function px(e){var t,r,n=De(),o=n.styles,a=n.classNames,s=n.showWeekNumber,i=n.components,l=(t=i==null?void 0:i.Day)!==null&&t!==void 0?t:dx,c=(r=i==null?void 0:i.WeekNumber)!==null&&r!==void 0?r:fx,u;return s&&(u=z.jsx("td",{className:a.cell,style:o.cell,children:z.jsx(c,{number:e.weekNumber,dates:e.dates})})),z.jsxs("tr",{className:a.row,style:o.row,children:[u,e.dates.map(function(d){return z.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:z.jsx(l,{displayMonth:e.displayMonth,date:d})},W8(d))})]})}function yp(e,t,r){for(var n=r!=null&&r.ISOWeek?Y0(t):xl(t,r),o=r!=null&&r.ISOWeek?$r(e):$t(e,r),a=Dt(n,o),s=[],i=0;i<=a;i++)s.push(Ge(o,i));var l=s.reduce(function(c,u){var d=r!=null&&r.ISOWeek?q0(u):X0(u,r),p=c.find(function(h){return h.weekNumber===d});return p?(p.dates.push(u),c):(c.push({weekNumber:d,dates:[u]}),c)},[]);return l}function hx(e,t){var r=yp(Je(e),yl(e),t);if(t!=null&&t.useFixedWeeks){var n=R8(e,t);if(n<6){var o=r[r.length-1],a=o.dates[o.dates.length-1],s=vl(a,6-n),i=yp(vl(a,1),s,t);r.push.apply(r,i)}}return r}function mx(e){var t,r,n,o=De(),a=o.locale,s=o.classNames,i=o.styles,l=o.hideHead,c=o.fixedWeeks,u=o.components,d=o.weekStartsOn,p=o.firstWeekContainsDate,h=o.ISOWeek,g=hx(e.displayMonth,{useFixedWeeks:!!c,ISOWeek:h,locale:a,weekStartsOn:d,firstWeekContainsDate:p}),b=(t=u==null?void 0:u.Head)!==null&&t!==void 0?t:I9,y=(r=u==null?void 0:u.Row)!==null&&r!==void 0?r:px,P=(n=u==null?void 0:u.Footer)!==null&&n!==void 0?n:E9;return z.jsxs("table",{id:e.id,className:s.table,style:i.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&z.jsx(b,{}),z.jsx("tbody",{className:s.tbody,style:i.tbody,children:g.map(function(x){return z.jsx(y,{displayMonth:e.displayMonth,dates:x.dates,weekNumber:x.weekNumber},x.weekNumber)})}),z.jsx(P,{displayMonth:e.displayMonth})]})}function gx(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var vx=gx()?f.useLayoutEffect:f.useEffect,_l=!1,bx=0;function xp(){return"react-day-picker-".concat(++bx)}function yx(e){var t,r=e??(_l?xp():null),n=f.useState(r),o=n[0],a=n[1];return vx(function(){o===null&&a(xp())},[]),f.useEffect(function(){_l===!1&&(_l=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function xx(e){var t,r,n=De(),o=n.dir,a=n.classNames,s=n.styles,i=n.components,l=pn().displayMonths,c=yx(n.id?"".concat(n.id,"-").concat(e.displayIndex):void 0),u=n.id?"".concat(n.id,"-grid-").concat(e.displayIndex):void 0,d=[a.month],p=s.month,h=e.displayIndex===0,g=e.displayIndex===l.length-1,b=!h&&!g;o==="rtl"&&(t=[h,g],g=t[0],h=t[1]),h&&(d.push(a.caption_start),p=se(se({},p),s.caption_start)),g&&(d.push(a.caption_end),p=se(se({},p),s.caption_end)),b&&(d.push(a.caption_between),p=se(se({},p),s.caption_between));var y=(r=i==null?void 0:i.Caption)!==null&&r!==void 0?r:S9;return z.jsxs("div",{className:d.join(" "),style:p,children:[z.jsx(y,{id:c,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(mx,{id:u,"aria-labelledby":c,displayMonth:e.displayMonth})]},e.displayIndex)}function wx(e){var t=De(),r=t.classNames,n=t.styles;return z.jsx("div",{className:r.months,style:n.months,children:e.children})}function Cx(e){var t,r,n=e.initialProps,o=De(),a=jl(),s=pn(),i=f.useState(!1),l=i[0],c=i[1];f.useEffect(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),c(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var u=[o.classNames.root,o.className];o.numberOfMonths>1&&u.push(o.classNames.multiple_months),o.showWeekNumber&&u.push(o.classNames.with_weeknumber);var d=se(se({},o.styles.root),o.style),p=Object.keys(n).filter(function(g){return g.startsWith("data-")}).reduce(function(g,b){var y;return se(se({},g),(y={},y[b]=n[b],y))},{}),h=(r=(t=n.components)===null||t===void 0?void 0:t.Months)!==null&&r!==void 0?r:wx;return z.jsx("div",se({className:u.join(" "),style:d,dir:o.dir,id:o.id,nonce:n.nonce,title:n.title,lang:n.lang},p,{children:z.jsx(h,{children:s.displayMonths.map(function(g,b){return z.jsx(xx,{displayIndex:b,displayMonth:g},b)})})}))}function Px(e){var t=e.children,r=U8(e,["children"]);return z.jsx(f9,{initialProps:r,children:z.jsx(C9,{children:z.jsx(nx,{initialProps:r,children:z.jsx(A9,{initialProps:r,children:z.jsx(j9,{initialProps:r,children:z.jsx(R9,{children:z.jsx(tx,{children:t})})})})})})})}function Mx(e){return z.jsx(Px,se({},e,{children:z.jsx(Cx,{initialProps:e})}))}const nw="",ow="",Tx=e=>{const{goToMonth:t,nextMonth:r,previousMonth:n}=pn();return L.jsxs("div",{className:"flex px-[10px] py-2",children:[L.jsx("button",{disabled:!n,onClick:()=>n&&t(n),children:L.jsx(Ue,{name:"chevron-left",className:"text-xs text-primary-grey-800"})}),L.jsx(hc,{className:"flex flex-1 justify-center font-satoshi text-2xl font-medium text-primary-black-500",children:Kt(e.displayMonth,"MMM yyy")}),L.jsx("button",{disabled:!r,onClick:()=>r&&t(r),children:L.jsx(Ue,{name:"chevron-right",className:"text-xs text-primary-grey-800"})})]})},wp=({...e})=>L.jsx(Mx,{disabled:t=>t>new Date||t<new Date("1900-01-01"),components:{Caption:Tx},showOutsideDays:!0,...e}),Sx=({children:e,className:t,variant:r="light",color:n="red"})=>{const o=we({base:"flex h-4 items-center justify-center gap-2.5 rounded bg-transparent p-0",variants:{variant:{light:"",dark:"",ghost:""},color:{red:"text-complementary-red-500",orange:"text-complementary-orange-500",lightGreen:"text-secondary-green-500",violet:"text-complementary-violet-500",blue:"text-complementary-blue-500",darkGreen:"text-primary-green-500",yellow:"text-complementary-yellow-500",gray:"text-primary-grey-800"}},compoundVariants:[{variant:"dark",color:"red",class:"bg-complementary-red-500 text-complementary-red-50"},{variant:"dark",color:"orange",class:"bg-complementary-orange-500 text-complementary-orange-50"},{variant:"dark",color:"lightGreen",class:"bg-secondary-green-500 text-white"},{variant:"dark",color:"violet",class:"bg-complementary-violet-500 text-complementary-violet-50"},{variant:"dark",color:"blue",class:"bg-complementary-blue-500 text-complementary-blue-50"},{variant:"dark",color:"darkGreen",class:"bg-primary-green-500 text-primary-green-50"},{variant:"dark",color:"yellow",class:"bg-complementary-yellow-500 text-complementary-yellow-50"},{variant:"light",color:"red",class:"bg-complementary-red-50 text-complementary-red-500"},{variant:"light",color:"orange",class:"bg-complementary-orange-50 text-complementary-orange-500"},{variant:"light",color:"lightGreen",class:"bg-secondary-green-50 text-secondary-green-500"},{variant:"light",color:"violet",class:"bg-complementary-violet-50 text-complementary-violet-500"},{variant:"light",color:"blue",class:"bg-complementary-blue-50 text-complementary-blue-500"},{variant:"light",color:"darkGreen",class:"bg-primary-green-50 text-primary-green-500"},{variant:"light",color:"yellow",class:"bg-complementary-yellow-50 text-complementary-yellow-500"},{variant:"light",color:"gray",class:"bg-primary-grey-500 text-primary-grey-800"}]}),a=we({base:"p-1 font-satoshi text-[10px] font-bold"});return L.jsx(t1,{classNames:{base:o({className:t,variant:r,color:n}),content:a({})},children:e})},aw="",sw="",Ex=()=>{const e=Un({enter:"animate__animated animate__fadeInUp animate__faster",exit:"animate__animated animate__fadeOutDown animate__faster",collapse:!1});return L.jsx(E4,{limit:1,closeOnClick:!0,draggable:!1,autoClose:5e3,closeButton:!1,hideProgressBar:!0,className:"!m-0 !w-full !max-w-[840px] !p-0",toastClassName:()=>"",bodyClassName:()=>"w-full [&>div]:w-full !p-0",transition:e,newestOnTop:!0,position:"bottom-center"})},$x=({label:e,initialDate:t,onSelect:r,dateFormat:n})=>{const[o,a]=f.useState(!1),[s,i]=f.useState(t),l=()=>{a(!0)},c=d=>{r&&r(d),i(d),u()},u=()=>{a(!1)};return L.jsx(K0,{isOpen:o,align:"end",onInteractOutside:u,content:L.jsx(wp,{selected:s,onSelect:c,mode:"single"}),children:L.jsx("div",{children:L.jsx(ll,{value:s?Kt(s,n??"dd/MM/yyyy"):"",onClick:l,isDatePicker:!0,label:e,icon:"calendar"})})})},Dx={white:"#ffffff",black:"#000000",primary:{green:{50:"#e9eceb",100:"#bac3c2",200:"#99a7a4",300:"#6b7e7b",400:"#4e6561",500:"#223f3a",600:"#1f3935",700:"#182d29",800:"#132320",900:"#0e1a18"},black:{50:"#e6e6e6",100:"#b0b0b0",200:"#8a8a8a",300:"#545454",400:"#333333",500:"#000000",600:"#000000",700:"#000000",800:"#000000",900:"#000000"},grey:{50:"##fefefe",100:"#fcfdfd",200:"#fafbfc",300:"#f8fafb",400:"#f7f9fa",500:"#f5f7f9",600:"#dfe1e3",700:"#aeafb1",800:"#878889",900:"#676869"}},secondary:{green:{50:"#e6f7ee",100:"#b2e7c9",200:"#8cdbaf",300:"#58ca8a",400:"#38c074",500:"#06b051",600:"#05a04a",700:"#047d3a",800:"#03612d",900:"#034a22"}},tertiary:{green:{50:"#ebfaf2",100:"#c2f0d8",200:"#a4e8c5",300:"#7adeaa",400:"#61d799",500:"#39cd80",600:"#34bb74",700:"#28925b",800:"#1f7146",900:"#185636"}},complementary:{violet:{50:"#f0ecf5",100:"#d1c3df",200:"#bba7d0",300:"#9d7ebb",400:"#8965ad",500:"#6c3f99",600:"#62398b",700:"#4d2d6d",800:"#3b2354",900:"#2d1a40"},blue:{50:"#e6f7f7",100:"#b1e6e6",200:"#8cdada",300:"#57c9c9",400:"#36bfbe",500:"#04afae",600:"#049f9e",700:"#037c7c",800:"#026060",900:"#024a49"},red:{50:"#faebea",100:"#f0c1be",200:"#e9a39f",300:"#df7973",400:"#d95f58",500:"#cf372e",600:"#bc322a",700:"#932721",800:"#721e19",900:"#571713"},orange:{50:"#fef3e9",100:"#fbdabb",200:"#f9c99a",300:"#f6b06c",400:"#f5a150",500:"#f28924",600:"#dc7d21",700:"#ac611a",800:"#854b14",900:"#663a0f"},yellow:{50:"#fdfaec",100:"#f9f0c4",200:"#f7e9a8",300:"#f3e080",400:"#f1d968",500:"#edd042",600:"#d8bd3c",700:"#a8942f",800:"#827224",900:"#64571c"}}};Pe.Avatar=T1,Pe.Button=Wi,Pe.Checkbox=f4,Pe.Chip=h4,Pe.DatePicker=wp,Pe.DatePickerInput=$x,Pe.Flag=ch,Pe.Icon=Ue,Pe.Input=ll,Pe.InputPassword=Q6,Pe.Logo=ih,Pe.Popover=K0,Pe.RadioGroup=p4,Pe.SegmentedControl=m4,Pe.Snackbar=S1,Pe.Switch=d4,Pe.Tabs=q6,Pe.Tag=Sx,Pe.ToastContainer=Ex,Pe.Tooltip=b6,Pe.Typography=hc,Pe.colors=Dx,Pe.useSnackbar=$4,Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"})});
101
+ */var U1;function K9(){if(U1)return wo;U1=1;var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(i,l,c){var u,d={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(i&&i.defaultProps)for(u in l=i.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:i,key:p,ref:h,props:d,_owner:o.current}}return wo.Fragment=r,wo.jsx=s,wo.jsxs=s,wo}process.env.NODE_ENV==="production"?Yl.exports=K9():Yl.exports=B9();var R=Yl.exports;function Co(e){return e.mode==="multiple"}function Po(e){return e.mode==="range"}function cs(e){return e.mode==="single"}var R9={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function U9(e,t){return Yt(e,"LLLL y",t)}function G9(e,t){return Yt(e,"d",t)}function H9(e,t){return Yt(e,"LLLL",t)}function Y9(e){return"".concat(e)}function q9(e,t){return Yt(e,"cccccc",t)}function Q9(e,t){return Yt(e,"yyyy",t)}var X9=Object.freeze({__proto__:null,formatCaption:U9,formatDay:G9,formatMonthCaption:H9,formatWeekNumber:Y9,formatWeekdayName:q9,formatYearCaption:Q9}),Z9=function(e,t,r){return Yt(e,"do MMMM (EEEE)",r)},J9=function(){return"Month: "},ex=function(){return"Go to next month"},tx=function(){return"Go to previous month"},rx=function(e,t){return Yt(e,"cccc",t)},nx=function(e){return"Week n. ".concat(e)},ox=function(){return"Year: "},ax=Object.freeze({__proto__:null,labelDay:Z9,labelMonthDropdown:J9,labelNext:ex,labelPrevious:tx,labelWeekNumber:nx,labelWeekday:rx,labelYearDropdown:ox});function sx(){var e="buttons",t=R9,r=A1,n={},o={},a=1,s={},i=new Date;return{captionLayout:e,classNames:t,formatters:X9,labels:ax,locale:r,modifiersClassNames:n,modifiers:o,numberOfMonths:a,styles:s,today:i,mode:"default"}}function ix(e){var t=e.fromYear,r=e.toYear,n=e.fromMonth,o=e.toMonth,a=e.fromDate,s=e.toDate;return n?a=tt(n):t&&(a=new Date(t,0,1)),o?s=Wl(o):r&&(s=new Date(r,11,31)),{fromDate:a?wn(a):void 0,toDate:s?wn(s):void 0}}var G1=f.createContext(void 0);function lx(e){var t,r=e.initialProps,n=sx(),o=ix(r),a=o.fromDate,s=o.toDate,i=(t=r.captionLayout)!==null&&t!==void 0?t:n.captionLayout;i!=="buttons"&&(!a||!s)&&(i="buttons");var l;(cs(r)||Co(r)||Po(r))&&(l=r.onSelect);var c=ie(ie(ie({},n),r),{captionLayout:i,classNames:ie(ie({},n.classNames),r.classNames),components:ie({},r.components),formatters:ie(ie({},n.formatters),r.formatters),fromDate:a,labels:ie(ie({},n.labels),r.labels),mode:r.mode||n.mode,modifiers:ie(ie({},n.modifiers),r.modifiers),modifiersClassNames:ie(ie({},n.modifiersClassNames),r.modifiersClassNames),onSelect:l,styles:ie(ie({},n.styles),r.styles),toDate:s});return R.jsx(G1.Provider,{value:c,children:e.children})}function ke(){var e=f.useContext(G1);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function H1(e){var t=ke(),r=t.locale,n=t.classNames,o=t.styles,a=t.formatters.formatCaption;return R.jsx("div",{className:n.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:r})})}function cx(e){return R.jsx("svg",ie({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:R.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Y1(e){var t,r,n=e.onChange,o=e.value,a=e.children,s=e.caption,i=e.className,l=e.style,c=ke(),u=(r=(t=c.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&r!==void 0?r:cx;return R.jsxs("div",{className:i,style:l,children:[R.jsx("span",{className:c.classNames.vhidden,children:e["aria-label"]}),R.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:c.classNames.dropdown,style:c.styles.dropdown,value:o,onChange:n,children:a}),R.jsxs("div",{className:c.classNames.caption_label,style:c.styles.caption_label,"aria-hidden":"true",children:[s,R.jsx(u,{className:c.classNames.dropdown_icon,style:c.styles.dropdown_icon})]})]})}function ux(e){var t,r=ke(),n=r.fromDate,o=r.toDate,a=r.styles,s=r.locale,i=r.formatters.formatMonthCaption,l=r.classNames,c=r.components,u=r.labels.labelMonthDropdown;if(!n)return R.jsx(R.Fragment,{});if(!o)return R.jsx(R.Fragment,{});var d=[];if(z9(n,o))for(var p=tt(n),h=n.getMonth();h<=o.getMonth();h++)d.push(Hl(p,h));else for(var p=tt(new Date),h=0;h<=11;h++)d.push(Hl(p,h));var g=function(b){var P=Number(b.target.value),x=Hl(tt(e.displayMonth),P);e.onChange(x)},v=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:Y1;return R.jsx(v,{name:"months","aria-label":u(),className:l.dropdown_month,style:a.dropdown_month,onChange:g,value:e.displayMonth.getMonth(),caption:i(e.displayMonth,{locale:s}),children:d.map(function(b){return R.jsx("option",{value:b.getMonth(),children:i(b,{locale:s})},b.getMonth())})})}function dx(e){var t,r=e.displayMonth,n=ke(),o=n.fromDate,a=n.toDate,s=n.locale,i=n.styles,l=n.classNames,c=n.components,u=n.formatters.formatYearCaption,d=n.labels.labelYearDropdown,p=[];if(!o)return R.jsx(R.Fragment,{});if(!a)return R.jsx(R.Fragment,{});for(var h=o.getFullYear(),g=a.getFullYear(),v=h;v<=g;v++)p.push(B1(k1(new Date),v));var b=function(x){var w=B1(tt(r),Number(x.target.value));e.onChange(w)},P=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:Y1;return R.jsx(P,{name:"years","aria-label":d(),className:l.dropdown_year,style:i.dropdown_year,onChange:b,value:r.getFullYear(),caption:u(r,{locale:s}),children:p.map(function(x){return R.jsx("option",{value:x.getFullYear(),children:u(x,{locale:s})},x.getFullYear())})})}function fx(e,t){var r=f.useState(e),n=r[0],o=r[1],a=t===void 0?n:t;return[a,o]}function px(e){var t=e.month,r=e.defaultMonth,n=e.today,o=t||r||n||new Date,a=e.toDate,s=e.fromDate,i=e.numberOfMonths,l=i===void 0?1:i;if(a&&vo(a,o)<0){var c=-1*(l-1);o=Ct(a,c)}return s&&vo(o,s)<0&&(o=s),tt(o)}function hx(){var e=ke(),t=px(e),r=fx(t,e.month),n=r[0],o=r[1],a=function(s){var i;if(!e.disableNavigation){var l=tt(s);o(l),(i=e.onMonthChange)===null||i===void 0||i.call(e,l)}};return[n,a]}function mx(e,t){for(var r=t.reverseMonths,n=t.numberOfMonths,o=tt(e),a=tt(Ct(o,n)),s=vo(a,o),i=[],l=0;l<s;l++){var c=Ct(o,l);i.push(c)}return r&&(i=i.reverse()),i}function gx(e,t){if(!t.disableNavigation){var r=t.toDate,n=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,s=n?a:1,i=tt(e);if(!r)return Ct(i,s);var l=vo(r,e);if(!(l<a))return Ct(i,s)}}function vx(e,t){if(!t.disableNavigation){var r=t.fromDate,n=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,s=n?a:1,i=tt(e);if(!r)return Ct(i,-s);var l=vo(i,r);if(!(l<=0))return Ct(i,-s)}}var q1=f.createContext(void 0);function bx(e){var t=ke(),r=hx(),n=r[0],o=r[1],a=mx(n,t),s=gx(n,t),i=vx(n,t),l=function(d){return a.some(function(p){return Ul(d,p)})},c=function(d,p){l(d)||(p&&W1(d,p)?o(Ct(d,1+t.numberOfMonths*-1)):o(d))},u={currentMonth:n,displayMonths:a,goToMonth:o,goToDate:c,previousMonth:i,nextMonth:s,isDateDisplayed:l};return R.jsx(q1.Provider,{value:u,children:e.children})}function Pn(){var e=f.useContext(q1);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Q1(e){var t,r=ke(),n=r.classNames,o=r.styles,a=r.components,s=Pn().goToMonth,i=function(u){s(Ct(u,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:H1,c=R.jsx(l,{id:e.id,displayMonth:e.displayMonth});return R.jsxs("div",{className:n.caption_dropdowns,style:o.caption_dropdowns,children:[R.jsx("div",{className:n.vhidden,children:c}),R.jsx(ux,{onChange:i,displayMonth:e.displayMonth}),R.jsx(dx,{onChange:i,displayMonth:e.displayMonth})]})}function yx(e){return R.jsx("svg",ie({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:R.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function xx(e){return R.jsx("svg",ie({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:R.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var us=f.forwardRef(function(e,t){var r=ke(),n=r.classNames,o=r.styles,a=[n.button_reset,n.button];e.className&&a.push(e.className);var s=a.join(" "),i=ie(ie({},o.button_reset),o.button);return e.style&&Object.assign(i,e.style),R.jsx("button",ie({},e,{ref:t,type:"button",className:s,style:i}))});function wx(e){var t,r,n=ke(),o=n.dir,a=n.locale,s=n.classNames,i=n.styles,l=n.labels,c=l.labelPrevious,u=l.labelNext,d=n.components;if(!e.nextMonth&&!e.previousMonth)return R.jsx(R.Fragment,{});var p=c(e.previousMonth,{locale:a}),h=[s.nav_button,s.nav_button_previous].join(" "),g=u(e.nextMonth,{locale:a}),v=[s.nav_button,s.nav_button_next].join(" "),b=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:xx,P=(r=d==null?void 0:d.IconLeft)!==null&&r!==void 0?r:yx;return R.jsxs("div",{className:s.nav,style:i.nav,children:[!e.hidePrevious&&R.jsx(us,{name:"previous-month","aria-label":p,className:h,style:i.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?R.jsx(b,{className:s.nav_icon,style:i.nav_icon}):R.jsx(P,{className:s.nav_icon,style:i.nav_icon})}),!e.hideNext&&R.jsx(us,{name:"next-month","aria-label":g,className:v,style:i.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?R.jsx(P,{className:s.nav_icon,style:i.nav_icon}):R.jsx(b,{className:s.nav_icon,style:i.nav_icon})})]})}function X1(e){var t=ke().numberOfMonths,r=Pn(),n=r.previousMonth,o=r.nextMonth,a=r.goToMonth,s=r.displayMonths,i=s.findIndex(function(g){return Ul(e.displayMonth,g)}),l=i===0,c=i===s.length-1,u=t>1&&(l||!c),d=t>1&&(c||!l),p=function(){n&&a(n)},h=function(){o&&a(o)};return R.jsx(wx,{displayMonth:e.displayMonth,hideNext:u,hidePrevious:d,nextMonth:o,previousMonth:n,onPreviousClick:p,onNextClick:h})}function Cx(e){var t,r=ke(),n=r.classNames,o=r.disableNavigation,a=r.styles,s=r.captionLayout,i=r.components,l=(t=i==null?void 0:i.CaptionLabel)!==null&&t!==void 0?t:H1,c;return o?c=R.jsx(l,{id:e.id,displayMonth:e.displayMonth}):s==="dropdown"?c=R.jsx(Q1,{displayMonth:e.displayMonth,id:e.id}):s==="dropdown-buttons"?c=R.jsxs(R.Fragment,{children:[R.jsx(Q1,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),R.jsx(X1,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):c=R.jsxs(R.Fragment,{children:[R.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),R.jsx(X1,{displayMonth:e.displayMonth,id:e.id})]}),R.jsx("div",{className:n.caption,style:a.caption,children:c})}function Px(e){var t=ke(),r=t.footer,n=t.styles,o=t.classNames.tfoot;return r?R.jsx("tfoot",{className:o,style:n.tfoot,children:R.jsx("tr",{children:R.jsx("td",{colSpan:8,children:r})})}):R.jsx(R.Fragment,{})}function Mx(e,t,r){for(var n=r?jr(new Date):It(new Date,{locale:e,weekStartsOn:t}),o=[],a=0;a<7;a++){var s=qe(n,a);o.push(s)}return o}function Sx(){var e=ke(),t=e.classNames,r=e.styles,n=e.showWeekNumber,o=e.locale,a=e.weekStartsOn,s=e.ISOWeek,i=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,c=Mx(o,a,s);return R.jsxs("tr",{style:r.head_row,className:t.head_row,children:[n&&R.jsx("td",{style:r.head_cell,className:t.head_cell}),c.map(function(u,d){return R.jsx("th",{scope:"col",className:t.head_cell,style:r.head_cell,"aria-label":l(u,{locale:o}),children:i(u,{locale:o})},d)})]})}function Tx(){var e,t=ke(),r=t.classNames,n=t.styles,o=t.components,a=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:Sx;return R.jsx("thead",{style:n.head,className:r.head,children:R.jsx(a,{})})}function Ex(e){var t=ke(),r=t.locale,n=t.formatters.formatDay;return R.jsx(R.Fragment,{children:n(e.date,{locale:r})})}var ql=f.createContext(void 0);function $x(e){if(!Co(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return R.jsx(ql.Provider,{value:t,children:e.children})}return R.jsx(Dx,{initialProps:e.initialProps,children:e.children})}function Dx(e){var t=e.initialProps,r=e.children,n=t.selected,o=t.min,a=t.max,s=function(c,u,d){var p,h;(p=t.onDayClick)===null||p===void 0||p.call(t,c,u,d);var g=!!(u.selected&&o&&(n==null?void 0:n.length)===o);if(!g){var v=!!(!u.selected&&a&&(n==null?void 0:n.length)===a);if(!v){var b=n?K1([],n,!0):[];if(u.selected){var P=b.findIndex(function(x){return et(c,x)});b.splice(P,1)}else b.push(c);(h=t.onSelect)===null||h===void 0||h.call(t,b,c,u,d)}}},i={disabled:[]};n&&i.disabled.push(function(c){var u=a&&n.length>a-1,d=n.some(function(p){return et(p,c)});return!!(u&&!d)});var l={selected:n,onDayClick:s,modifiers:i};return R.jsx(ql.Provider,{value:l,children:r})}function Ql(){var e=f.useContext(ql);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function kx(e,t){var r=t||{},n=r.from,o=r.to;return n&&o?et(o,e)&&et(n,e)?void 0:et(o,e)?{from:o,to:void 0}:et(n,e)?void 0:Rl(n,e)?{from:e,to:o}:{from:n,to:e}:o?Rl(e,o)?{from:o,to:e}:{from:e,to:o}:n?W1(e,n)?{from:e,to:n}:{from:n,to:e}:{from:e,to:void 0}}var Xl=f.createContext(void 0);function Ix(e){if(!Po(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return R.jsx(Xl.Provider,{value:t,children:e.children})}return R.jsx(Ax,{initialProps:e.initialProps,children:e.children})}function Ax(e){var t=e.initialProps,r=e.children,n=t.selected,o=n||{},a=o.from,s=o.to,i=t.min,l=t.max,c=function(h,g,v){var b,P;(b=t.onDayClick)===null||b===void 0||b.call(t,h,g,v);var x=kx(h,n);(P=t.onSelect)===null||P===void 0||P.call(t,x,h,g,v)},u={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(u.range_start=[a],s?(u.range_end=[s],et(a,s)||(u.range_middle=[{after:a,before:s}])):u.range_end=[a]):s&&(u.range_start=[s],u.range_end=[s]),i&&(a&&!s&&u.disabled.push({after:Gl(a,i-1),before:qe(a,i-1)}),a&&s&&u.disabled.push({after:a,before:qe(a,i-1)}),!a&&s&&u.disabled.push({after:Gl(s,i-1),before:qe(s,i-1)})),l){if(a&&!s&&(u.disabled.push({before:qe(a,-l+1)}),u.disabled.push({after:qe(a,l-1)})),a&&s){var d=At(s,a)+1,p=l-d;u.disabled.push({before:Gl(a,p)}),u.disabled.push({after:qe(s,p)})}!a&&s&&(u.disabled.push({before:qe(s,-l+1)}),u.disabled.push({after:qe(s,l-1)}))}return R.jsx(Xl.Provider,{value:{selected:n,onDayClick:c,modifiers:u},children:r})}function Zl(){var e=f.useContext(Xl);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function ds(e){return Array.isArray(e)?K1([],e,!0):e!==void 0?[e]:[]}function Nx(e){var t={};return Object.entries(e).forEach(function(r){var n=r[0],o=r[1];t[n]=ds(o)}),t}var Pt;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(Pt||(Pt={}));var Ox=Pt.Selected,qt=Pt.Disabled,jx=Pt.Hidden,Lx=Pt.Today,Jl=Pt.RangeEnd,ec=Pt.RangeMiddle,tc=Pt.RangeStart,_x=Pt.Outside;function Fx(e,t,r){var n,o=(n={},n[Ox]=ds(e.selected),n[qt]=ds(e.disabled),n[jx]=ds(e.hidden),n[Lx]=[e.today],n[Jl]=[],n[ec]=[],n[tc]=[],n[_x]=[],n);return e.fromDate&&o[qt].push({before:e.fromDate}),e.toDate&&o[qt].push({after:e.toDate}),Co(e)?o[qt]=o[qt].concat(t.modifiers[qt]):Po(e)&&(o[qt]=o[qt].concat(r.modifiers[qt]),o[tc]=r.modifiers[tc],o[ec]=r.modifiers[ec],o[Jl]=r.modifiers[Jl]),o}var Z1=f.createContext(void 0);function Vx(e){var t=ke(),r=Ql(),n=Zl(),o=Fx(t,r,n),a=Nx(t.modifiers),s=ie(ie({},o),a);return R.jsx(Z1.Provider,{value:s,children:e.children})}function J1(){var e=f.useContext(Z1);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function zx(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Wx(e){return!!(e&&typeof e=="object"&&"from"in e)}function Bx(e){return!!(e&&typeof e=="object"&&"after"in e)}function Kx(e){return!!(e&&typeof e=="object"&&"before"in e)}function Rx(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Ux(e,t){var r,n=t.from,o=t.to;if(n&&o){var a=At(o,n)<0;a&&(r=[o,n],n=r[0],o=r[1]);var s=At(e,n)>=0&&At(o,e)>=0;return s}return o?et(o,e):n?et(n,e):!1}function Gx(e){return zl(e)}function Hx(e){return Array.isArray(e)&&e.every(zl)}function Yx(e,t){return t.some(function(r){if(typeof r=="boolean")return r;if(Gx(r))return et(e,r);if(Hx(r))return r.includes(e);if(Wx(r))return Ux(e,r);if(Rx(r))return r.dayOfWeek.includes(e.getDay());if(zx(r)){var n=At(r.before,e),o=At(r.after,e),a=n>0,s=o<0,i=Rl(r.before,r.after);return i?s&&a:a||s}return Bx(r)?At(e,r.after)>0:Kx(r)?At(r.before,e)>0:typeof r=="function"?r(e):!1})}function rc(e,t,r){var n=Object.keys(t).reduce(function(a,s){var i=t[s];return Yx(e,i)&&a.push(s),a},[]),o={};return n.forEach(function(a){return o[a]=!0}),r&&!Ul(e,r)&&(o.outside=!0),o}function qx(e,t){for(var r=tt(e[0]),n=Wl(e[e.length-1]),o,a,s=r;s<=n;){var i=rc(s,t),l=!i.disabled&&!i.hidden;if(!l){s=qe(s,1);continue}if(i.selected)return s;i.today&&!a&&(a=s),o||(o=s),s=qe(s,1)}return a||o}var Qx=365;function eh(e,t){var r=t.moveBy,n=t.direction,o=t.context,a=t.modifiers,s=t.retry,i=s===void 0?{count:0,lastFocused:e}:s,l=o.weekStartsOn,c=o.fromDate,u=o.toDate,d=o.locale,p={day:qe,week:Vl,month:Ct,year:F8,startOfWeek:function(b){return o.ISOWeek?jr(b):It(b,{locale:d,weekStartsOn:l})},endOfWeek:function(b){return o.ISOWeek?I1(b):Bl(b,{locale:d,weekStartsOn:l})}},h=p[r](e,n==="after"?1:-1);n==="before"&&c?h=V8([c,h]):n==="after"&&u&&(h=z8([u,h]));var g=!0;if(a){var v=rc(h,a);g=!v.disabled&&!v.hidden}return g?h:i.count>Qx?i.lastFocused:eh(h,{moveBy:r,direction:n,context:o,modifiers:a,retry:ie(ie({},i),{count:i.count+1})})}var th=f.createContext(void 0);function Xx(e){var t=Pn(),r=J1(),n=f.useState(),o=n[0],a=n[1],s=f.useState(),i=s[0],l=s[1],c=qx(t.displayMonths,r),u=o??(i&&t.isDateDisplayed(i))?i:c,d=function(){l(o),a(void 0)},p=function(b){a(b)},h=ke(),g=function(b,P){if(o){var x=eh(o,{moveBy:b,direction:P,context:h,modifiers:r});et(o,x)||(t.goToDate(x,o),p(x))}},v={focusedDay:o,focusTarget:u,blur:d,focus:p,focusDayAfter:function(){return g("day","after")},focusDayBefore:function(){return g("day","before")},focusWeekAfter:function(){return g("week","after")},focusWeekBefore:function(){return g("week","before")},focusMonthBefore:function(){return g("month","before")},focusMonthAfter:function(){return g("month","after")},focusYearBefore:function(){return g("year","before")},focusYearAfter:function(){return g("year","after")},focusStartOfWeek:function(){return g("startOfWeek","before")},focusEndOfWeek:function(){return g("endOfWeek","after")}};return R.jsx(th.Provider,{value:v,children:e.children})}function nc(){var e=f.useContext(th);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Zx(e,t){var r=J1(),n=rc(e,r,t);return n}var oc=f.createContext(void 0);function Jx(e){if(!cs(e.initialProps)){var t={selected:void 0};return R.jsx(oc.Provider,{value:t,children:e.children})}return R.jsx(ew,{initialProps:e.initialProps,children:e.children})}function ew(e){var t=e.initialProps,r=e.children,n=function(a,s,i){var l,c,u;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,s,i),s.selected&&!t.required){(c=t.onSelect)===null||c===void 0||c.call(t,void 0,a,s,i);return}(u=t.onSelect)===null||u===void 0||u.call(t,a,a,s,i)},o={selected:t.selected,onDayClick:n};return R.jsx(oc.Provider,{value:o,children:r})}function rh(){var e=f.useContext(oc);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function tw(e,t){var r=ke(),n=rh(),o=Ql(),a=Zl(),s=nc(),i=s.focusDayAfter,l=s.focusDayBefore,c=s.focusWeekAfter,u=s.focusWeekBefore,d=s.blur,p=s.focus,h=s.focusMonthBefore,g=s.focusMonthAfter,v=s.focusYearBefore,b=s.focusYearAfter,P=s.focusStartOfWeek,x=s.focusEndOfWeek,w=function(D){var z,X,G,U;cs(r)?(z=n.onDayClick)===null||z===void 0||z.call(n,e,t,D):Co(r)?(X=o.onDayClick)===null||X===void 0||X.call(o,e,t,D):Po(r)?(G=a.onDayClick)===null||G===void 0||G.call(a,e,t,D):(U=r.onDayClick)===null||U===void 0||U.call(r,e,t,D)},T=function(D){var z;p(e),(z=r.onDayFocus)===null||z===void 0||z.call(r,e,t,D)},$=function(D){var z;d(),(z=r.onDayBlur)===null||z===void 0||z.call(r,e,t,D)},E=function(D){var z;(z=r.onDayMouseEnter)===null||z===void 0||z.call(r,e,t,D)},A=function(D){var z;(z=r.onDayMouseLeave)===null||z===void 0||z.call(r,e,t,D)},m=function(D){var z;(z=r.onDayPointerEnter)===null||z===void 0||z.call(r,e,t,D)},k=function(D){var z;(z=r.onDayPointerLeave)===null||z===void 0||z.call(r,e,t,D)},I=function(D){var z;(z=r.onDayTouchCancel)===null||z===void 0||z.call(r,e,t,D)},S=function(D){var z;(z=r.onDayTouchEnd)===null||z===void 0||z.call(r,e,t,D)},N=function(D){var z;(z=r.onDayTouchMove)===null||z===void 0||z.call(r,e,t,D)},C=function(D){var z;(z=r.onDayTouchStart)===null||z===void 0||z.call(r,e,t,D)},M=function(D){var z;(z=r.onDayKeyUp)===null||z===void 0||z.call(r,e,t,D)},O=function(D){var z;switch(D.key){case"ArrowLeft":D.preventDefault(),D.stopPropagation(),r.dir==="rtl"?i():l();break;case"ArrowRight":D.preventDefault(),D.stopPropagation(),r.dir==="rtl"?l():i();break;case"ArrowDown":D.preventDefault(),D.stopPropagation(),c();break;case"ArrowUp":D.preventDefault(),D.stopPropagation(),u();break;case"PageUp":D.preventDefault(),D.stopPropagation(),D.shiftKey?v():h();break;case"PageDown":D.preventDefault(),D.stopPropagation(),D.shiftKey?b():g();break;case"Home":D.preventDefault(),D.stopPropagation(),P();break;case"End":D.preventDefault(),D.stopPropagation(),x();break}(z=r.onDayKeyDown)===null||z===void 0||z.call(r,e,t,D)},_={onClick:w,onFocus:T,onBlur:$,onKeyDown:O,onKeyUp:M,onMouseEnter:E,onMouseLeave:A,onPointerEnter:m,onPointerLeave:k,onTouchCancel:I,onTouchEnd:S,onTouchMove:N,onTouchStart:C};return _}function rw(){var e=ke(),t=rh(),r=Ql(),n=Zl(),o=cs(e)?t.selected:Co(e)?r.selected:Po(e)?n.selected:void 0;return o}function nw(e){return Object.values(Pt).includes(e)}function ow(e,t){var r=[e.classNames.day];return Object.keys(t).forEach(function(n){var o=e.modifiersClassNames[n];if(o)r.push(o);else if(nw(n)){var a=e.classNames["day_".concat(n)];a&&r.push(a)}}),r}function aw(e,t){var r=ie({},e.styles.day);return Object.keys(t).forEach(function(n){var o;r=ie(ie({},r),(o=e.modifiersStyles)===null||o===void 0?void 0:o[n])}),r}function sw(e,t,r){var n,o,a,s=ke(),i=nc(),l=Zx(e,t),c=tw(e,l),u=rw(),d=!!(s.onDayClick||s.mode!=="default");f.useEffect(function(){var E;l.outside||i.focusedDay&&d&&et(i.focusedDay,e)&&((E=r.current)===null||E===void 0||E.focus())},[i.focusedDay,e,r,d,l.outside]);var p=ow(s,l).join(" "),h=aw(s,l),g=!!(l.outside&&!s.showOutsideDays||l.hidden),v=(a=(o=s.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:Ex,b=R.jsx(v,{date:e,displayMonth:t,activeModifiers:l}),P={style:h,className:p,children:b,role:"gridcell"},x=i.focusTarget&&et(i.focusTarget,e)&&!l.outside,w=i.focusedDay&&et(i.focusedDay,e),T=ie(ie(ie({},P),(n={disabled:l.disabled,role:"gridcell"},n["aria-selected"]=l.selected,n.tabIndex=w||x?0:-1,n)),c),$={isButton:d,isHidden:g,activeModifiers:l,selectedDays:u,buttonProps:T,divProps:P};return $}function iw(e){var t=f.useRef(null),r=sw(e.date,e.displayMonth,t);return r.isHidden?R.jsx("div",{role:"gridcell"}):r.isButton?R.jsx(us,ie({name:"day",ref:t},r.buttonProps)):R.jsx("div",ie({},r.divProps))}function lw(e){var t=e.number,r=e.dates,n=ke(),o=n.onWeekNumberClick,a=n.styles,s=n.classNames,i=n.locale,l=n.labels.labelWeekNumber,c=n.formatters.formatWeekNumber,u=c(Number(t),{locale:i});if(!o)return R.jsx("span",{className:s.weeknumber,style:a.weeknumber,children:u});var d=l(Number(t),{locale:i}),p=function(h){o(t,r,h)};return R.jsx(us,{name:"week-number","aria-label":d,className:s.weeknumber,style:a.weeknumber,onClick:p,children:u})}function cw(e){var t,r,n=ke(),o=n.styles,a=n.classNames,s=n.showWeekNumber,i=n.components,l=(t=i==null?void 0:i.Day)!==null&&t!==void 0?t:iw,c=(r=i==null?void 0:i.WeekNumber)!==null&&r!==void 0?r:lw,u;return s&&(u=R.jsx("td",{className:a.cell,style:o.cell,children:R.jsx(c,{number:e.weekNumber,dates:e.dates})})),R.jsxs("tr",{className:a.row,style:o.row,children:[u,e.dates.map(function(d){return R.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:R.jsx(l,{displayMonth:e.displayMonth,date:d})},_9(d))})]})}function nh(e,t,r){for(var n=r!=null&&r.ISOWeek?I1(t):Bl(t,r),o=r!=null&&r.ISOWeek?jr(e):It(e,r),a=At(n,o),s=[],i=0;i<=a;i++)s.push(qe(o,i));var l=s.reduce(function(c,u){var d=r!=null&&r.ISOWeek?N1(u):j1(u,r),p=c.find(function(h){return h.weekNumber===d});return p?(p.dates.push(u),c):(c.push({weekNumber:d,dates:[u]}),c)},[]);return l}function uw(e,t){var r=nh(tt(e),Wl(e),t);if(t!=null&&t.useFixedWeeks){var n=V9(e,t);if(n<6){var o=r[r.length-1],a=o.dates[o.dates.length-1],s=Vl(a,6-n),i=nh(Vl(a,1),s,t);r.push.apply(r,i)}}return r}function dw(e){var t,r,n,o=ke(),a=o.locale,s=o.classNames,i=o.styles,l=o.hideHead,c=o.fixedWeeks,u=o.components,d=o.weekStartsOn,p=o.firstWeekContainsDate,h=o.ISOWeek,g=uw(e.displayMonth,{useFixedWeeks:!!c,ISOWeek:h,locale:a,weekStartsOn:d,firstWeekContainsDate:p}),v=(t=u==null?void 0:u.Head)!==null&&t!==void 0?t:Tx,b=(r=u==null?void 0:u.Row)!==null&&r!==void 0?r:cw,P=(n=u==null?void 0:u.Footer)!==null&&n!==void 0?n:Px;return R.jsxs("table",{id:e.id,className:s.table,style:i.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&R.jsx(v,{}),R.jsx("tbody",{className:s.tbody,style:i.tbody,children:g.map(function(x){return R.jsx(b,{displayMonth:e.displayMonth,dates:x.dates,weekNumber:x.weekNumber},x.weekNumber)})}),R.jsx(P,{displayMonth:e.displayMonth})]})}function fw(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var pw=fw()?f.useLayoutEffect:f.useEffect,ac=!1,hw=0;function oh(){return"react-day-picker-".concat(++hw)}function mw(e){var t,r=e??(ac?oh():null),n=f.useState(r),o=n[0],a=n[1];return pw(function(){o===null&&a(oh())},[]),f.useEffect(function(){ac===!1&&(ac=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function gw(e){var t,r,n=ke(),o=n.dir,a=n.classNames,s=n.styles,i=n.components,l=Pn().displayMonths,c=mw(n.id?"".concat(n.id,"-").concat(e.displayIndex):void 0),u=n.id?"".concat(n.id,"-grid-").concat(e.displayIndex):void 0,d=[a.month],p=s.month,h=e.displayIndex===0,g=e.displayIndex===l.length-1,v=!h&&!g;o==="rtl"&&(t=[h,g],g=t[0],h=t[1]),h&&(d.push(a.caption_start),p=ie(ie({},p),s.caption_start)),g&&(d.push(a.caption_end),p=ie(ie({},p),s.caption_end)),v&&(d.push(a.caption_between),p=ie(ie({},p),s.caption_between));var b=(r=i==null?void 0:i.Caption)!==null&&r!==void 0?r:Cx;return R.jsxs("div",{className:d.join(" "),style:p,children:[R.jsx(b,{id:c,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),R.jsx(dw,{id:u,"aria-labelledby":c,displayMonth:e.displayMonth})]},e.displayIndex)}function vw(e){var t=ke(),r=t.classNames,n=t.styles;return R.jsx("div",{className:r.months,style:n.months,children:e.children})}function bw(e){var t,r,n=e.initialProps,o=ke(),a=nc(),s=Pn(),i=f.useState(!1),l=i[0],c=i[1];f.useEffect(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),c(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var u=[o.classNames.root,o.className];o.numberOfMonths>1&&u.push(o.classNames.multiple_months),o.showWeekNumber&&u.push(o.classNames.with_weeknumber);var d=ie(ie({},o.styles.root),o.style),p=Object.keys(n).filter(function(g){return g.startsWith("data-")}).reduce(function(g,v){var b;return ie(ie({},g),(b={},b[v]=n[v],b))},{}),h=(r=(t=n.components)===null||t===void 0?void 0:t.Months)!==null&&r!==void 0?r:vw;return R.jsx("div",ie({className:u.join(" "),style:d,dir:o.dir,id:o.id,nonce:n.nonce,title:n.title,lang:n.lang},p,{children:R.jsx(h,{children:s.displayMonths.map(function(g,v){return R.jsx(gw,{displayIndex:v,displayMonth:g},v)})})}))}function yw(e){var t=e.children,r=W9(e,["children"]);return R.jsx(lx,{initialProps:r,children:R.jsx(bx,{children:R.jsx(Jx,{initialProps:r,children:R.jsx($x,{initialProps:r,children:R.jsx(Ix,{initialProps:r,children:R.jsx(Vx,{children:R.jsx(Xx,{children:t})})})})})})})}function xw(e){return R.jsx(yw,ie({},e,{children:R.jsx(bw,{initialProps:e})}))}const fP="",pP="",ww=e=>{const{goToMonth:t,nextMonth:r,previousMonth:n}=Pn();return L.jsxs("div",{className:"flex px-[10px] py-2",children:[L.jsx("button",{disabled:!n,onClick:()=>n&&t(n),children:L.jsx(Ge,{name:"chevron-left",className:"text-xs text-primary-grey-800"})}),L.jsx(Gc,{className:"flex flex-1 justify-center font-satoshi text-2xl font-medium text-primary-black-500",children:Yt(e.displayMonth,"MMM yyy")}),L.jsx("button",{disabled:!r,onClick:()=>r&&t(r),children:L.jsx(Ge,{name:"chevron-right",className:"text-xs text-primary-grey-800"})})]})},ah=({...e})=>L.jsx(xw,{disabled:t=>t>new Date||t<new Date("1900-01-01"),components:{Caption:ww},showOutsideDays:!0,...e}),Cw=({children:e,className:t,variant:r="light",color:n="red"})=>{const o=ye({base:"flex h-4 items-center justify-center gap-2.5 rounded bg-transparent p-0",variants:{variant:{light:"",dark:"",ghost:""},color:{red:"text-complementary-red-500",orange:"text-complementary-orange-500",lightGreen:"text-secondary-green-500",violet:"text-complementary-violet-500",blue:"text-complementary-blue-500",darkGreen:"text-primary-green-500",yellow:"text-complementary-yellow-500",gray:"text-primary-grey-800"}},compoundVariants:[{variant:"dark",color:"red",class:"bg-complementary-red-500 text-complementary-red-50"},{variant:"dark",color:"orange",class:"bg-complementary-orange-500 text-complementary-orange-50"},{variant:"dark",color:"lightGreen",class:"bg-secondary-green-500 text-white"},{variant:"dark",color:"violet",class:"bg-complementary-violet-500 text-complementary-violet-50"},{variant:"dark",color:"blue",class:"bg-complementary-blue-500 text-complementary-blue-50"},{variant:"dark",color:"darkGreen",class:"bg-primary-green-500 text-primary-green-50"},{variant:"dark",color:"yellow",class:"bg-complementary-yellow-500 text-complementary-yellow-50"},{variant:"light",color:"red",class:"bg-complementary-red-50 text-complementary-red-500"},{variant:"light",color:"orange",class:"bg-complementary-orange-50 text-complementary-orange-500"},{variant:"light",color:"lightGreen",class:"bg-secondary-green-50 text-secondary-green-500"},{variant:"light",color:"violet",class:"bg-complementary-violet-50 text-complementary-violet-500"},{variant:"light",color:"blue",class:"bg-complementary-blue-50 text-complementary-blue-500"},{variant:"light",color:"darkGreen",class:"bg-primary-green-50 text-primary-green-500"},{variant:"light",color:"yellow",class:"bg-complementary-yellow-50 text-complementary-yellow-500"},{variant:"light",color:"gray",class:"bg-primary-grey-500 text-primary-grey-800"}]}),a=ye({base:"p-1 font-satoshi text-[10px] font-bold"});return L.jsx(Np,{classNames:{base:o({className:t,variant:r,color:n}),content:a({})},children:e})},hP="",mP="",Pw=()=>{const e=ao({enter:"animate__animated animate__fadeInUp animate__faster",exit:"animate__animated animate__fadeOutDown animate__faster",collapse:!1});return L.jsx(I3,{limit:1,closeOnClick:!0,draggable:!1,autoClose:5e3,closeButton:!1,hideProgressBar:!0,className:"!m-0 !w-full !max-w-[840px] !p-0",toastClassName:()=>"",bodyClassName:()=>"w-full [&>div]:w-full !p-0",transition:e,newestOnTop:!0,position:"bottom-center"})};var sh=1,Mw=.9,Sw=.8,Tw=.17,sc=.1,ic=.999,Ew=.9999,$w=.99,Dw=/[\\\/_+.#"@\[\(\{&]/,kw=/[\\\/_+.#"@\[\(\{&]/g,Iw=/[\s-]/,ih=/[\s-]/g;function lc(e,t,r,n,o,a,s){if(a===t.length)return o===e.length?sh:$w;var i=`${o},${a}`;if(s[i]!==void 0)return s[i];for(var l=n.charAt(a),c=r.indexOf(l,o),u=0,d,p,h,g;c>=0;)d=lc(e,t,r,n,c+1,a+1,s),d>u&&(c===o?d*=sh:Dw.test(e.charAt(c-1))?(d*=Sw,h=e.slice(o,c-1).match(kw),h&&o>0&&(d*=Math.pow(ic,h.length))):Iw.test(e.charAt(c-1))?(d*=Mw,g=e.slice(o,c-1).match(ih),g&&o>0&&(d*=Math.pow(ic,g.length))):(d*=Tw,o>0&&(d*=Math.pow(ic,c-o))),e.charAt(c)!==t.charAt(a)&&(d*=Ew)),(d<sc&&r.charAt(c-1)===n.charAt(a+1)||n.charAt(a+1)===n.charAt(a)&&r.charAt(c-1)!==n.charAt(a))&&(p=lc(e,t,r,n,c+1,a+2,s),p*sc>d&&(d=p*sc)),d>u&&(u=d),c=r.indexOf(l,c+1);return s[i]=u,u}function lh(e){return e.toLowerCase().replace(ih," ")}function Aw(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,lc(e,t,lh(e),lh(t),0,0,{})}const ch="Dialog",[uh,gP]=Ir(ch),[Nw,_r]=uh(ch),Ow=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,i=f.useRef(null),l=f.useRef(null),[c=!1,u]=fo({prop:n,defaultProp:o,onChange:a});return f.createElement(Nw,{scope:t,triggerRef:i,contentRef:l,contentId:Ar(),titleId:Ar(),descriptionId:Ar(),open:c,onOpenChange:u,onOpenToggle:f.useCallback(()=>u(d=>!d),[u]),modal:s},r)},dh="DialogPortal",[jw,fh]=uh(dh,{forceMount:void 0}),Lw=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=_r(dh,t);return f.createElement(jw,{scope:t,forceMount:r},f.Children.map(n,s=>f.createElement(Ht,{present:r||a.open},f.createElement(Cl,{asChild:!0,container:o},s))))},cc="DialogOverlay",_w=f.forwardRef((e,t)=>{const r=fh(cc,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=_r(cc,e.__scopeDialog);return a.modal?f.createElement(Ht,{present:n||a.open},f.createElement(Fw,fe({},o,{ref:t}))):null}),Fw=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=_r(cc,r);return f.createElement(b1,{as:fn,allowPinchZoom:!0,shards:[o.contentRef]},f.createElement(Ne.div,fe({"data-state":hh(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Mo="DialogContent",Vw=f.forwardRef((e,t)=>{const r=fh(Mo,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=_r(Mo,e.__scopeDialog);return f.createElement(Ht,{present:n||a.open},a.modal?f.createElement(zw,fe({},o,{ref:t})):f.createElement(Ww,fe({},o,{ref:t})))}),zw=f.forwardRef((e,t)=>{const r=_r(Mo,e.__scopeDialog),n=f.useRef(null),o=Je(t,r.contentRef,n);return f.useEffect(()=>{const a=n.current;if(a)return c1(a)},[]),f.createElement(ph,fe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,i=s.button===0&&s.ctrlKey===!0;(s.button===2||i)&&a.preventDefault()}),onFocusOutside:De(e.onFocusOutside,a=>a.preventDefault())}))}),Ww=f.forwardRef((e,t)=>{const r=_r(Mo,e.__scopeDialog),n=f.useRef(!1),o=f.useRef(!1);return f.createElement(ph,fe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),ph=f.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...s}=e,i=_r(Mo,r),l=f.useRef(null),c=Je(t,l);return e1(),f.createElement(f.Fragment,null,f.createElement(n1,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(pl,fe({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":hh(i.open)},s,{ref:c,onDismiss:()=>i.onOpenChange(!1)}))),!1)});function hh(e){return e?"open":"closed"}const Bw=Ow,Kw=Lw,Rw=_w,Uw=Vw;var So='[cmdk-group=""]',uc='[cmdk-group-items=""]',Gw='[cmdk-group-heading=""]',dc='[cmdk-item=""]',mh=`${dc}:not([aria-disabled="true"])`,fc="cmdk-item-select",Fr="data-value",Hw=(e,t,r)=>Aw(e,t,r),gh=W.createContext(void 0),To=()=>W.useContext(gh),vh=W.createContext(void 0),pc=()=>W.useContext(vh),bh=W.createContext(void 0),yh=W.forwardRef((e,t)=>{let r=Sn(()=>{var F,B;return{search:"",value:(B=(F=e.value)!=null?F:e.defaultValue)!=null?B:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=Sn(()=>new Set),o=Sn(()=>new Map),a=Sn(()=>new Map),s=Sn(()=>new Set),i=xh(e),{label:l,children:c,value:u,onValueChange:d,filter:p,shouldFilter:h,loop:g,disablePointerSelection:v=!1,vimBindings:b=!0,...P}=e,x=W.useId(),w=W.useId(),T=W.useId(),$=W.useRef(null),E=oC();Vr(()=>{if(u!==void 0){let F=u.trim();r.current.value=F,A.emit()}},[u]),Vr(()=>{E(6,C)},[]);let A=W.useMemo(()=>({subscribe:F=>(s.current.add(F),()=>s.current.delete(F)),snapshot:()=>r.current,setState:(F,B,q)=>{var K,Q,ne;if(!Object.is(r.current[F],B)){if(r.current[F]=B,F==="search")N(),I(),E(1,S);else if(F==="value"&&(q||E(5,C),((K=i.current)==null?void 0:K.value)!==void 0)){let le=B??"";(ne=(Q=i.current).onValueChange)==null||ne.call(Q,le);return}A.emit()}},emit:()=>{s.current.forEach(F=>F())}}),[]),m=W.useMemo(()=>({value:(F,B,q)=>{var K;B!==((K=a.current.get(F))==null?void 0:K.value)&&(a.current.set(F,{value:B,keywords:q}),r.current.filtered.items.set(F,k(B,q)),E(2,()=>{I(),A.emit()}))},item:(F,B)=>(n.current.add(F),B&&(o.current.has(B)?o.current.get(B).add(F):o.current.set(B,new Set([F]))),E(3,()=>{N(),I(),r.current.value||S(),A.emit()}),()=>{a.current.delete(F),n.current.delete(F),r.current.filtered.items.delete(F);let q=M();E(4,()=>{N(),(q==null?void 0:q.getAttribute("id"))===F&&S(),A.emit()})}),group:F=>(o.current.has(F)||o.current.set(F,new Set),()=>{a.current.delete(F),o.current.delete(F)}),filter:()=>i.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:v,listId:x,inputId:T,labelId:w,listInnerRef:$}),[]);function k(F,B){var q,K;let Q=(K=(q=i.current)==null?void 0:q.filter)!=null?K:Hw;return F?Q(F,r.current.search,B):0}function I(){if(!r.current.search||i.current.shouldFilter===!1)return;let F=r.current.filtered.items,B=[];r.current.filtered.groups.forEach(K=>{let Q=o.current.get(K),ne=0;Q.forEach(le=>{let ce=F.get(le);ne=Math.max(ce,ne)}),B.push([K,ne])});let q=$.current;O().sort((K,Q)=>{var ne,le;let ce=K.getAttribute("id"),ue=Q.getAttribute("id");return((ne=F.get(ue))!=null?ne:0)-((le=F.get(ce))!=null?le:0)}).forEach(K=>{let Q=K.closest(uc);Q?Q.appendChild(K.parentElement===Q?K:K.closest(`${uc} > *`)):q.appendChild(K.parentElement===q?K:K.closest(`${uc} > *`))}),B.sort((K,Q)=>Q[1]-K[1]).forEach(K=>{let Q=$.current.querySelector(`${So}[${Fr}="${encodeURIComponent(K[0])}"]`);Q==null||Q.parentElement.appendChild(Q)})}function S(){let F=O().find(q=>q.getAttribute("aria-disabled")!=="true"),B=F==null?void 0:F.getAttribute(Fr);A.setState("value",B||void 0)}function N(){var F,B,q,K;if(!r.current.search||i.current.shouldFilter===!1){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let Q=0;for(let ne of n.current){let le=(B=(F=a.current.get(ne))==null?void 0:F.value)!=null?B:"",ce=(K=(q=a.current.get(ne))==null?void 0:q.keywords)!=null?K:[],ue=k(le,ce);r.current.filtered.items.set(ne,ue),ue>0&&Q++}for(let[ne,le]of o.current)for(let ce of le)if(r.current.filtered.items.get(ce)>0){r.current.filtered.groups.add(ne);break}r.current.filtered.count=Q}function C(){var F,B,q;let K=M();K&&(((F=K.parentElement)==null?void 0:F.firstChild)===K&&((q=(B=K.closest(So))==null?void 0:B.querySelector(Gw))==null||q.scrollIntoView({block:"nearest"})),K.scrollIntoView({block:"nearest"}))}function M(){var F;return(F=$.current)==null?void 0:F.querySelector(`${dc}[aria-selected="true"]`)}function O(){var F;return Array.from((F=$.current)==null?void 0:F.querySelectorAll(mh))}function _(F){let B=O()[F];B&&A.setState("value",B.getAttribute(Fr))}function D(F){var B;let q=M(),K=O(),Q=K.findIndex(le=>le===q),ne=K[Q+F];(B=i.current)!=null&&B.loop&&(ne=Q+F<0?K[K.length-1]:Q+F===K.length?K[0]:K[Q+F]),ne&&A.setState("value",ne.getAttribute(Fr))}function z(F){let B=M(),q=B==null?void 0:B.closest(So),K;for(;q&&!K;)q=F>0?rC(q,So):nC(q,So),K=q==null?void 0:q.querySelector(mh);K?A.setState("value",K.getAttribute(Fr)):D(F)}let X=()=>_(O().length-1),G=F=>{F.preventDefault(),F.metaKey?X():F.altKey?z(1):D(1)},U=F=>{F.preventDefault(),F.metaKey?_(0):F.altKey?z(-1):D(-1)};return W.createElement(Ne.div,{ref:t,tabIndex:-1,...P,"cmdk-root":"",onKeyDown:F=>{var B;if((B=P.onKeyDown)==null||B.call(P,F),!F.defaultPrevented)switch(F.key){case"n":case"j":{b&&F.ctrlKey&&G(F);break}case"ArrowDown":{G(F);break}case"p":case"k":{b&&F.ctrlKey&&U(F);break}case"ArrowUp":{U(F);break}case"Home":{F.preventDefault(),_(0);break}case"End":{F.preventDefault(),X();break}case"Enter":if(!F.nativeEvent.isComposing&&F.keyCode!==229){F.preventDefault();let q=M();if(q){let K=new Event(fc);q.dispatchEvent(K)}}}}},W.createElement("label",{"cmdk-label":"",htmlFor:m.inputId,id:m.labelId,style:sC},l),fs(e,F=>W.createElement(vh.Provider,{value:A},W.createElement(gh.Provider,{value:m},F))))}),Yw=W.forwardRef((e,t)=>{var r,n;let o=W.useId(),a=W.useRef(null),s=W.useContext(bh),i=To(),l=xh(e),c=(n=(r=l.current)==null?void 0:r.forceMount)!=null?n:s==null?void 0:s.forceMount;Vr(()=>{if(!c)return i.item(o,s==null?void 0:s.id)},[c]);let u=wh(o,a,[e.value,e.children,a],e.keywords),d=pc(),p=zr(E=>E.value&&E.value===u.current),h=zr(E=>c||i.filter()===!1?!0:E.search?E.filtered.items.get(o)>0:!0);W.useEffect(()=>{let E=a.current;if(!(!E||e.disabled))return E.addEventListener(fc,g),()=>E.removeEventListener(fc,g)},[h,e.onSelect,e.disabled]);function g(){var E,A;v(),(A=(E=l.current).onSelect)==null||A.call(E,u.current)}function v(){d.setState("value",u.current,!0)}if(!h)return null;let{disabled:b,value:P,onSelect:x,forceMount:w,keywords:T,...$}=e;return W.createElement(Ne.div,{ref:Eo([a,t]),...$,id:o,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!p,"data-disabled":!!b,"data-selected":!!p,onPointerMove:b||i.disablePointerSelection?void 0:v,onClick:b?void 0:g},e.children)}),qw=W.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:o,...a}=e,s=W.useId(),i=W.useRef(null),l=W.useRef(null),c=W.useId(),u=To(),d=zr(h=>o||u.filter()===!1?!0:h.search?h.filtered.groups.has(s):!0);Vr(()=>u.group(s),[]),wh(s,i,[e.value,e.heading,l]);let p=W.useMemo(()=>({id:s,forceMount:o}),[o]);return W.createElement(Ne.div,{ref:Eo([i,t]),...a,"cmdk-group":"",role:"presentation",hidden:d?void 0:!0},r&&W.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},r),fs(e,h=>W.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?c:void 0},W.createElement(bh.Provider,{value:p},h))))}),Qw=W.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,o=W.useRef(null),a=zr(s=>!s.search);return!r&&!a?null:W.createElement(Ne.div,{ref:Eo([o,t]),...n,"cmdk-separator":"",role:"separator"})}),Xw=W.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,o=e.value!=null,a=pc(),s=zr(u=>u.search),i=zr(u=>u.value),l=To(),c=W.useMemo(()=>{var u;let d=(u=l.listInnerRef.current)==null?void 0:u.querySelector(`${dc}[${Fr}="${encodeURIComponent(i)}"]`);return d==null?void 0:d.getAttribute("id")},[]);return W.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),W.createElement(Ne.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":c,id:l.inputId,type:"text",value:o?e.value:s,onChange:u=>{o||a.setState("search",u.target.value),r==null||r(u.target.value)}})}),Zw=W.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...o}=e,a=W.useRef(null),s=W.useRef(null),i=To();return W.useEffect(()=>{if(s.current&&a.current){let l=s.current,c=a.current,u,d=new ResizeObserver(()=>{u=requestAnimationFrame(()=>{let p=l.offsetHeight;c.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return d.observe(l),()=>{cancelAnimationFrame(u),d.unobserve(l)}}},[]),W.createElement(Ne.div,{ref:Eo([a,t]),...o,"cmdk-list":"",role:"listbox","aria-label":n,id:i.listId},fs(e,l=>W.createElement("div",{ref:Eo([s,i.listInnerRef]),"cmdk-list-sizer":""},l)))}),Jw=W.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:o,contentClassName:a,container:s,...i}=e;return W.createElement(Bw,{open:r,onOpenChange:n},W.createElement(Kw,{container:s},W.createElement(Rw,{"cmdk-overlay":"",className:o}),W.createElement(Uw,{"aria-label":e.label,"cmdk-dialog":"",className:a},W.createElement(yh,{ref:t,...i}))))}),eC=W.forwardRef((e,t)=>zr(r=>r.filtered.count===0)?W.createElement(Ne.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),tC=W.forwardRef((e,t)=>{let{progress:r,children:n,label:o="Loading...",...a}=e;return W.createElement(Ne.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},fs(e,s=>W.createElement("div",{"aria-hidden":!0},s)))}),Mn=Object.assign(yh,{List:Zw,Item:Yw,Input:Xw,Group:qw,Separator:Qw,Dialog:Jw,Empty:eC,Loading:tC});function rC(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function nC(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function xh(e){let t=W.useRef(e);return Vr(()=>{t.current=e}),t}var Vr=typeof window>"u"?W.useEffect:W.useLayoutEffect;function Sn(e){let t=W.useRef();return t.current===void 0&&(t.current=e()),t}function Eo(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function zr(e){let t=pc(),r=()=>e(t.snapshot());return W.useSyncExternalStore(t.subscribe,r,r)}function wh(e,t,r,n=[]){let o=W.useRef(),a=To();return Vr(()=>{var s;let i=(()=>{var c;for(let u of r){if(typeof u=="string")return u.trim();if(typeof u=="object"&&"current"in u)return u.current?(c=u.current.textContent)==null?void 0:c.trim():o.current}})(),l=n.map(c=>c.trim());a.value(e,i,l),(s=t.current)==null||s.setAttribute(Fr,i),o.current=i}),o}var oC=()=>{let[e,t]=W.useState(),r=Sn(()=>new Map);return Vr(()=>{r.current.forEach(n=>n()),r.current=new Map},[e]),(n,o)=>{r.current.set(n,o),t({})}};function aC(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function fs({asChild:e,children:t},r){return e&&W.isValidElement(t)?W.cloneElement(aC(t),{ref:t.ref},r(t.props.children)):r(t)}var sC={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},iC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const lC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hc=(e,t)=>{const r=f.forwardRef(({color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,children:i,...l},c)=>f.createElement("svg",{ref:c,...iC,width:o,height:o,stroke:n,strokeWidth:s?Number(a)*24/Number(o):a,className:`lucide lucide-${lC(e)}`,...l},[...t.map(([u,d])=>f.createElement(u,d)),...(Array.isArray(i)?i:[i])||[]]));return r.displayName=`${e}`,r},cC=hc("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),uC=hc("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),dC=hc("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var pr=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","",2],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49",".... ........"],["Ghana","gh","233"],["Greece","gr","30"],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],fC="react-international-phone-",Ch=(...e)=>e.filter(t=>!!t).join(" ").trim(),pC=(...e)=>Ch(...e).split(" ").map(t=>`${fC}${t}`).join(" "),Re=({addPrefix:e,rawClassNames:t})=>Ch(pC(...e),...t),hC=({value:e,mask:t,maskSymbol:r,offset:n=0,trimNonMaskCharsLeftover:o=!1})=>{if(e.length<n)return e;let a=e.slice(0,n),s=e.slice(n),i=a,l=0;for(let c of t.split("")){if(l>=s.length){if(!o&&c!==r){i+=c;continue}break}c===r?(i+=s[l],l+=1):i+=c}return i},Tn=e=>e?/^\d+$/.test(e):!1,ps=e=>e.replace(/\D/g,""),mC=(e,t)=>{let r=e.style.display;r!=="block"&&(e.style.display="block");let n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=o.top-n.top,s=n.bottom-o.bottom;a>=0&&s>=0||(Math.abs(a)<Math.abs(s)?e.scrollTop+=a:e.scrollTop-=s),e.style.display=r},gC=(e,t)=>{let r=t.disableDialCodeAndPrefix?!1:t.forceDialCode,n=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,o=e,a=c=>t.trimNonDigitsEnd?c.trim():c;if(!o)return n&&!o.length||r?a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):a(o);if(o=ps(o),o===t.dialCode&&!t.disableDialCodeAndPrefix)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(o)&&!t.disableDialCodeAndPrefix)return a(r?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${o}`);if(!o.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(r)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(o.length<t.dialCode.length)return a(`${t.prefix}${o}`)}let s=()=>{let c=t.dialCode.length,u=o.slice(0,c),d=o.slice(c);return{phoneLeftSide:u,phoneRightSide:d}},{phoneLeftSide:i,phoneRightSide:l}=s();return i=`${t.prefix}${i}${t.charAfterDialCode}`,l=hC({value:l,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&l.length===0}),t.disableDialCodeAndPrefix&&(i=""),a(`${i}${l}`)},vC=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:r,cursorPositionAfterInput:n,leftOffset:o=0,deletion:a})=>{if(n<o)return o;if(!e)return r.length;let s=null;for(let u=n-1;u>=0;u-=1)if(Tn(t[u])){s=u;break}if(s===null){for(let u=0;u<t.length;u+=1)if(Tn(r[u]))return u;return t.length}let i=0;for(let u=0;u<s;u+=1)Tn(t[u])&&(i+=1);let l=0,c=0;for(let u=0;u<r.length&&(l+=1,Tn(r[u])&&(c+=1),!(c>=i+1));u+=1);if(a!=="backward")for(;!Tn(r[l])&&l<r.length;)l+=1;return l},hs=({phone:e,prefix:t})=>e?`${t}${ps(e)}`:"";function mc({value:e,country:t,insertDialCodeOnEmpty:r,trimNonDigitsEnd:n,countries:o,prefix:a,charAfterDialCode:s,forceDialCode:i,disableDialCodeAndPrefix:l,defaultMask:c,countryGuessingEnabled:u,disableFormatting:d}){let p=e;l&&(p=p.startsWith(`${a}`)?p:`${a}${t.dialCode}${p}`);let h=u?TC({phone:p,countries:o,currentCountryIso2:t==null?void 0:t.iso2}):void 0,g=(h==null?void 0:h.country)??t,v=gC(p,{prefix:a,mask:MC({phone:p,country:g,defaultMask:c,disableFormatting:d}),maskChar:Ph,dialCode:g.dialCode,trimNonDigitsEnd:n,charAfterDialCode:s,forceDialCode:i,insertDialCodeOnEmpty:r,disableDialCodeAndPrefix:l}),b=u&&!(h!=null&&h.fullDialCodeMatch)?t:g;return{phone:hs({phone:l?`${b.dialCode}${v}`:v,prefix:a}),inputValue:v,country:b}}var bC=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},yC=(e,{country:t,insertDialCodeOnEmpty:r,phoneBeforeInput:n,prefix:o,charAfterDialCode:a,forceDialCode:s,disableDialCodeAndPrefix:i,countryGuessingEnabled:l,defaultMask:c,disableFormatting:u,countries:d})=>{let p=e.nativeEvent,h=p.inputType,g=bC(h),v=!!(h!=null&&h.startsWith("insertFrom")),b=h==="insertText",P=(p==null?void 0:p.data)||void 0,x=e.target.value,w=e.target.selectionStart??0;if(h!=null&&h.includes("history"))return{inputValue:n,phone:hs({phone:n,prefix:o}),cursorPosition:n.length,country:t};if(b&&!Tn(P)&&x!==o)return{inputValue:n,phone:hs({phone:i?`${t.dialCode}${n}`:n,prefix:o}),cursorPosition:w-((P==null?void 0:P.length)??0),country:t};if(s&&!x.startsWith(`${o}${t.dialCode}`)&&!v){let m=x?n:`${o}${t.dialCode}${a}`;return{inputValue:m,phone:hs({phone:m,prefix:o}),cursorPosition:o.length+t.dialCode.length+a.length,country:t}}let{phone:T,inputValue:$,country:E}=mc({value:x,country:t,trimNonDigitsEnd:g==="backward",insertDialCodeOnEmpty:r,countryGuessingEnabled:l,countries:d,prefix:o,charAfterDialCode:a,forceDialCode:s,disableDialCodeAndPrefix:i,disableFormatting:u,defaultMask:c}),A=vC({cursorPositionAfterInput:w,phoneBeforeInput:n,phoneAfterInput:x,phoneAfterFormatted:$,leftOffset:s?o.length+t.dialCode.length+a.length:0,deletion:g});return{phone:T,inputValue:$,cursorPosition:A,country:E}},xC=(e,t)=>{let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(e[o]!==t[o])return!1;return!0},wC=()=>{let e=f.useRef(),t=f.useRef(Date.now());return{check:()=>{let r=Date.now(),n=e.current?r-t.current:void 0;return e.current=t.current,t.current=r,n}}},CC={size:20,overrideLastItemDebounceMS:-1};function PC(e,t){let{size:r,overrideLastItemDebounceMS:n,onChange:o}={...CC,...t},[a,s]=f.useState(e),[i,l]=f.useState([a]),[c,u]=f.useState(0),d=wC();return[a,(p,h)=>{if(typeof p=="object"&&typeof a=="object"&&xC(p,a)||p===a)return;let g=n>0,v=d.check(),b=g&&v!==void 0?v>n:!0;if((h==null?void 0:h.overrideLastItem)!==void 0?h.overrideLastItem:!b)l(P=>[...P.slice(0,c),p]);else{let P=i.length>=r;l(x=>[...x.slice(P?1:0,c+1),p]),P||u(x=>x+1)}s(p),o==null||o(p)},()=>{if(c<=0)return{success:!1};let p=i[c-1];return s(p),u(h=>h-1),o==null||o(p),{success:!0,value:p}},()=>{if(c+1>=i.length)return{success:!1};let p=i[c+1];return s(p),u(h=>h+1),o==null||o(p),{success:!0,value:p}}]}var Ph=".",gt={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:pr,preferredCountries:[]},Mh=({defaultCountry:e=gt.defaultCountry,value:t=gt.value,countries:r=gt.countries,prefix:n=gt.prefix,defaultMask:o=gt.defaultMask,charAfterDialCode:a=gt.charAfterDialCode,historySaveDebounceMS:s=gt.historySaveDebounceMS,disableCountryGuess:i=gt.disableCountryGuess,disableDialCodePrefill:l=gt.disableDialCodePrefill,forceDialCode:c=gt.forceDialCode,disableDialCodeAndPrefix:u=gt.disableDialCodeAndPrefix,disableFormatting:d=gt.disableFormatting,onChange:p,inputRef:h})=>{let g={countries:r,prefix:n,charAfterDialCode:a,forceDialCode:u?!1:c,disableDialCodeAndPrefix:u,defaultMask:o,countryGuessingEnabled:!i,disableFormatting:d},v=f.useRef(null),b=h||v,P=M=>{Promise.resolve().then(()=>{var O;typeof window>"u"||b.current!==(document==null?void 0:document.activeElement)||((O=b.current)==null||O.setSelectionRange(M,M))})},[{phone:x,inputValue:w,country:T},$,E,A]=PC(()=>{let M=En({value:e,field:"iso2",countries:r});M||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let O=M||En({value:"us",field:"iso2",countries:r}),{phone:_,inputValue:D,country:z}=mc({value:t,country:O,insertDialCodeOnEmpty:!l,...g});return P(D.length),{phone:_,inputValue:D,country:z.iso2}},{overrideLastItemDebounceMS:s,onChange:({inputValue:M,phone:O,country:_})=>{if(!p)return;let D=m(_);p({phone:O,inputValue:M,country:D})}}),m=f.useCallback(M=>En({value:M,field:"iso2",countries:r}),[r]),k=f.useMemo(()=>m(T),[T,m]);f.useEffect(()=>{let M=b.current;if(!M)return;let O=_=>{if(!_.key)return;let D=_.ctrlKey,z=_.shiftKey,X=_.key.toLowerCase()==="z";!D||!X||(z?A():E())};return M.addEventListener("keydown",O),()=>{M.removeEventListener("keydown",O)}},[b,E,A]);let I=M=>{M.preventDefault();let{phone:O,inputValue:_,country:D,cursorPosition:z}=yC(M,{country:k,phoneBeforeInput:w,insertDialCodeOnEmpty:!1,...g});return $({inputValue:_,phone:O,country:D.iso2}),P(z),t},S=(M,O={focusOnInput:!1})=>{let _=En({value:M,field:"iso2",countries:r});if(!_){console.error(`[react-international-phone]: can not find a country with "${M}" iso2 code`);return}let D=u?"":`${n}${_.dialCode}${a}`;$({inputValue:D,phone:`${n}${_.dialCode}`,country:_.iso2}),O.focusOnInput&&Promise.resolve().then(()=>{var z;(z=b.current)==null||z.focus()})},[N,C]=f.useState(!1);return f.useEffect(()=>{if(!N){C(!0),t!==x&&(p==null||p({inputValue:w,phone:x,country:k}));return}if(t===x)return;let{phone:M,inputValue:O,country:_}=mc({value:t,country:k,insertDialCodeOnEmpty:!l,...g});$({phone:M,inputValue:O,country:_.iso2})},[t]),{phone:x,inputValue:w,country:k,setCountry:S,handlePhoneValueChange:I,inputRef:b}},MC=({phone:e,country:t,defaultMask:r="............",disableFormatting:n=!1})=>{let o=t.format,a=i=>n?i.replace(new RegExp(`[^${Ph}]`,"g"),""):i;if(!o)return a(r);if(typeof o=="string")return a(o);if(!o.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),a(r);let s=Object.keys(o).find(i=>{if(i==="default")return!1;if(!(i.charAt(0)==="/"&&i.charAt(i.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${i}" for ${t.iso2} is not valid`),!1;let l=new RegExp(i.substring(1,i.length-1)),c=e.replace(t.dialCode,"");return l.test(ps(c))});return a(s?o[s]:o.default)},Mt=e=>{let[t,r,n,o,a,s]=e;return{name:t,iso2:r,dialCode:n,format:o,priority:a,areaCodes:s}},SC=e=>`Field "${e}" is not supported`,En=({field:e,value:t,countries:r=pr})=>{if(["priority"].includes(e))throw new Error(SC(e));let n=r.find(o=>{let a=Mt(o);return t===a[e]});if(n)return Mt(n)},TC=({phone:e,countries:t=pr,currentCountryIso2:r})=>{var i;let n={country:void 0,fullDialCodeMatch:!1};if(!e)return n;let o=ps(e);if(!o)return n;let a=n,s=({country:l,fullDialCodeMatch:c})=>{var p,h;let u=l.dialCode===((p=a.country)==null?void 0:p.dialCode),d=(l.priority??0)<(((h=a.country)==null?void 0:h.priority)??0);(!u||d)&&(a={country:l,fullDialCodeMatch:c})};for(let l of t){let c=Mt(l),{dialCode:u,areaCodes:d}=c;if(o.startsWith(u)){let p=a.country?Number(u)>=Number(a.country.dialCode):!0;if(d){let h=o.substring(u.length);for(let g of d)if(h.startsWith(g))return{country:c,fullDialCodeMatch:!0}}(p||u===o||!a.fullDialCodeMatch)&&s({country:c,fullDialCodeMatch:!0})}a.fullDialCodeMatch||o.length<u.length&&u.startsWith(o)&&(!a.country||Number(u)<=Number(a.country.dialCode))&&s({country:c,fullDialCodeMatch:!1})}if(r){let l=En({value:r,field:"iso2",countries:t});if(!l)return a;let c=l?(u=>{if(!(u!=null&&u.areaCodes))return!1;let d=o.substring(u.dialCode.length);return u.areaCodes.some(p=>p.startsWith(d))})(l):!1;a&&((i=a.country)==null?void 0:i.dialCode)===l.dialCode&&a.country!==l&&a.fullDialCodeMatch&&(!l.areaCodes||c)&&(a={country:l,fullDialCodeMatch:!0})}return a},EC=(e,t)=>{let r=parseInt(e,16);return Number(r+t).toString(16)},$C="abcdefghijklmnopqrstuvwxyz",DC="1f1e6",Sh=$C.split("").reduce((e,t,r)=>({...e,[t]:EC(DC,r)}),{}),kC=e=>[Sh[e[0]],Sh[e[1]]].join("-"),ms=({iso2:e,size:t,src:r,protocol:n="https",disableLazyLoading:o,className:a,style:s,...i})=>{if(!e)return f.createElement("img",{className:Re({addPrefix:["flag-emoji"],rawClassNames:[a]}),width:t,height:t,...i});let l=()=>{if(r)return r;let c=kC(e);return`${n}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${c}.svg`};return f.createElement("img",{className:Re({addPrefix:["flag-emoji"],rawClassNames:[a]}),src:l(),width:t,height:t,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:t,height:t,...s},alt:"",...i})},IC=1e3,AC=({show:e,dialCodePrefix:t="+",selectedCountry:r,countries:n=pr,preferredCountries:o=[],flags:a,onSelect:s,onClose:i,...l})=>{let c=f.useRef(null),u=f.useRef(),d=f.useMemo(()=>{if(!o||!o.length)return n;let E=[],A=[...n];for(let m of o){let k=A.findIndex(I=>Mt(I).iso2===m);if(k!==-1){let I=A.splice(k,1)[0];E.push(I)}}return E.concat(A)},[n,o]),p=f.useRef({updatedAt:void 0,value:""}),h=E=>{let A=p.current.updatedAt&&new Date().getTime()-p.current.updatedAt.getTime()>IC;p.current={value:A?E:`${p.current.value}${E}`,updatedAt:new Date};let m=d.findIndex(k=>Mt(k).name.toLowerCase().startsWith(p.current.value));m!==-1&&b(m)},g=f.useCallback(E=>d.findIndex(A=>Mt(A).iso2===E),[d]),[v,b]=f.useState(g(r)),P=()=>{u.current!==r&&b(g(r))},x=f.useCallback(E=>{b(g(E.iso2)),s==null||s(E)},[s,g]),w=E=>{let A=d.length-1,m=k=>E==="prev"?k-1:E==="next"?k+1:E==="last"?A:0;b(k=>{let I=m(k);return I<0?0:I>A?A:I})},T=E=>{if(E.stopPropagation(),E.key==="Enter"){E.preventDefault();let A=Mt(d[v]);x(A);return}if(E.key==="Escape"){i==null||i();return}if(E.key==="ArrowUp"){E.preventDefault(),w("prev");return}if(E.key==="ArrowDown"){E.preventDefault(),w("next");return}if(E.key==="PageUp"){E.preventDefault(),w("first");return}if(E.key==="PageDown"){E.preventDefault(),w("last");return}E.key===" "&&E.preventDefault(),E.key.length===1&&!E.altKey&&!E.ctrlKey&&!E.metaKey&&h(E.key.toLocaleLowerCase())},$=f.useCallback(()=>{if(!c.current||v===void 0)return;let E=Mt(d[v]).iso2;if(E===u.current)return;let A=c.current.querySelector(`[data-country="${E}"]`);A&&(mC(c.current,A),u.current=E)},[v,d]);return f.useEffect(()=>{$()},[v,$]),f.useEffect(()=>{c.current&&(e?c.current.focus():P())},[e]),f.useEffect(()=>{P()},[r]),f.createElement("ul",{ref:c,role:"listbox",className:Re({addPrefix:["country-selector-dropdown"],rawClassNames:[l.className]}),style:{display:e?"block":"none",...l.style},onKeyDown:T,onBlur:i,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Mt(d[v]).iso2}-option`},d.map((E,A)=>{let m=Mt(E),k=m.iso2===r,I=A===v,S=o.includes(m.iso2),N=A===o.length-1,C=a==null?void 0:a.find(M=>M.iso2===m.iso2);return f.createElement(f.Fragment,{key:m.iso2},f.createElement("li",{"data-country":m.iso2,role:"option","aria-selected":k,"aria-label":`${m.name} ${t}${m.dialCode}`,id:`react-international-phone__${m.iso2}-option`,className:Re({addPrefix:["country-selector-dropdown__list-item",S&&"country-selector-dropdown__list-item--preferred",k&&"country-selector-dropdown__list-item--selected",I&&"country-selector-dropdown__list-item--focused"],rawClassNames:[l.listItemClassName]}),onClick:()=>x(m),style:l.listItemStyle,title:m.name},f.createElement(ms,{iso2:m.iso2,src:C==null?void 0:C.src,className:Re({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[l.listItemFlagClassName]}),style:l.listItemFlagStyle}),f.createElement("span",{className:Re({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[l.listItemCountryNameClassName]}),style:l.listItemCountryNameStyle},m.name),f.createElement("span",{className:Re({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[l.listItemDialCodeClassName]}),style:l.listItemDialCodeStyle},t,m.dialCode)),N?f.createElement("hr",{className:Re({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[l.preferredListDividerClassName]}),style:l.preferredListDividerStyle}):null)}))},NC=({selectedCountry:e,onSelect:t,disabled:r,hideDropdown:n,countries:o=pr,preferredCountries:a=[],flags:s,renderButtonWrapper:i,...l})=>{let[c,u]=f.useState(!1),d=f.useMemo(()=>{if(e)return En({value:e,field:"iso2",countries:o})},[o,e]),p=f.useRef(null),h=v=>{v.key&&["ArrowUp","ArrowDown"].includes(v.key)&&(v.preventDefault(),u(!0))},g=()=>{var P;let v={title:d==null?void 0:d.name,onClick:()=>u(x=>!x),onMouseDown:x=>x.preventDefault(),onKeyDown:h,disabled:n||r,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":c},b=f.createElement("div",{className:Re({addPrefix:["country-selector-button__button-content"],rawClassNames:[l.buttonContentWrapperClassName]}),style:l.buttonContentWrapperStyle},f.createElement(ms,{iso2:e,src:(P=s==null?void 0:s.find(x=>x.iso2===e))==null?void 0:P.src,className:Re({addPrefix:["country-selector-button__flag-emoji",r&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[l.flagClassName]}),style:{visibility:e?"visible":"hidden",...l.flagStyle}}),!n&&f.createElement("div",{className:Re({addPrefix:["country-selector-button__dropdown-arrow",r&&"country-selector-button__dropdown-arrow--disabled",c&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[l.dropdownArrowClassName]}),style:l.dropdownArrowStyle}));return i?i({children:b,rootProps:v}):f.createElement("button",{...v,type:"button",className:Re({addPrefix:["country-selector-button",c&&"country-selector-button--active",r&&"country-selector-button--disabled",n&&"country-selector-button--hide-dropdown"],rawClassNames:[l.buttonClassName]}),"data-country":e,style:l.buttonStyle},b)};return f.createElement("div",{className:Re({addPrefix:["country-selector"],rawClassNames:[l.className]}),style:l.style,ref:p},g(),f.createElement(AC,{show:c,countries:o,preferredCountries:a,flags:s,onSelect:v=>{u(!1),t==null||t(v)},selectedCountry:e,onClose:()=>{u(!1)},...l.dropdownStyleProps}))},OC=({dialCode:e,prefix:t,disabled:r,style:n,className:o})=>f.createElement("div",{className:Re({addPrefix:["dial-code-preview",r&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:n},`${t}${e}`);f.forwardRef(({value:e,onChange:t,countries:r=pr,preferredCountries:n=[],hideDropdown:o,showDisabledDialCodeAndPrefix:a,disableFocusAfterCountrySelect:s,flags:i,style:l,className:c,inputStyle:u,inputClassName:d,countrySelectorStyleProps:p,dialCodePreviewStyleProps:h,inputProps:g,placeholder:v,disabled:b,name:P,onFocus:x,onBlur:w,required:T,autoFocus:$,...E},A)=>{let{phone:m,inputValue:k,inputRef:I,country:S,setCountry:N,handlePhoneValueChange:C}=Mh({value:e,countries:r,...E,onChange:O=>{t==null||t(O.phone,{country:O.country,inputValue:O.inputValue})}}),M=E.disableDialCodeAndPrefix&&a&&(S==null?void 0:S.dialCode);return f.useImperativeHandle(A,()=>I.current?Object.assign(I.current,{setCountry:N,state:{phone:m,inputValue:k,country:S}}):null,[I,N,m,k,S]),f.createElement("div",{ref:A,className:Re({addPrefix:["input-container"],rawClassNames:[c]}),style:l},f.createElement(NC,{onSelect:O=>N(O.iso2,{focusOnInput:!s}),flags:i,selectedCountry:S.iso2,countries:r,preferredCountries:n,disabled:b,hideDropdown:o,...p}),M&&f.createElement(OC,{dialCode:S.dialCode,prefix:E.prefix??"+",disabled:b,...h}),f.createElement("input",{onChange:C,value:k,type:"tel",ref:I,className:Re({addPrefix:["input",b&&"input--disabled"],rawClassNames:[d]}),placeholder:v,disabled:b,style:u,name:P,onFocus:x,onBlur:w,autoFocus:$,required:T,...g}))});const jC=({value:e,onChange:t,disabled:r,placeholder:n,error:o,erroMessage:a,isValid:s,searchMessage:i,noResultsFoundMessage:l,...c})=>{const[u,d]=f.useState(!1),p=ye({base:"group flex h-12 w-full items-center rounded-lg border bg-white px-4 py-3",variants:{disabled:{true:"border-none bg-primary-grey-500"},isError:{true:"border-complementary-red-500"},completed:{true:"border-secondary-green-500"}}}),h=ye({base:"ml-4 bg-transparent font-satoshi text-sm font-normal leading-normal focus-within:outline-none group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),g=ye({base:"flex items-center gap-[6px] border-r border-primary-grey-800 pr-4",variants:{disabled:{true:"border-primary-grey-700"}}}),v=ye({base:"h-6 w-6 stroke-1 text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),b=ye({base:"font-satoshi text-sm font-normal leading-normal text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),{inputValue:P,handlePhoneValueChange:x,inputRef:w,country:T,setCountry:$}=Mh({defaultCountry:"us",value:e,charAfterDialCode:"+",disableDialCodePrefill:!1,disableDialCodeAndPrefix:!0,countries:pr,onChange:A=>{t==null||t(A.phone)}}),E=A=>{d(!u),$(A)};return L.jsxs("div",{className:"h-[74px]",children:[L.jsxs("div",{className:p({disabled:r,isError:o,completed:s}),children:[L.jsxs(M1,{open:u,onOpenChange:d,children:[L.jsx(S1,{asChild:!0,children:L.jsxs("button",{disabled:r,className:g({disabled:r}),children:[L.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:L.jsx(ms,{className:"scale-[1.4]",iso2:T.iso2})}),L.jsxs("span",{className:b({disabled:r}),children:["+ ",T.dialCode]}),u?L.jsx(uC,{className:v({disabled:r})}):L.jsx(cC,{className:v({disabled:r})})]})}),L.jsx(T1,{children:L.jsx(E1,{className:"max-h-96 overflow-y-auto rounded-lg border border-primary-grey-600 bg-white",side:"bottom",sideOffset:5,children:L.jsxs(Mn,{children:[L.jsxs("div",{className:"flex items-center justify-center gap-2 border-b-1 px-2 py-2",children:[L.jsx(dC,{className:"h-4 w-4 shrink-0 text-primary-grey-800"}),L.jsx(Mn.Input,{className:"w-full font-satoshi text-sm focus-visible:outline-none",placeholder:i})]}),L.jsxs(Mn.List,{className:"mt-2",children:[L.jsx(Mn.Empty,{className:"font-satoshi text-sm",children:l}),L.jsx(Mn.Group,{children:pr.map(A=>{const m=Mt(A);return L.jsxs(Mn.Item,{onSelect:()=>E(m.iso2),className:"flex cursor-pointer items-center justify-between px-2 py-2 font-satoshi text-sm text-primary-grey-800 hover:bg-primary-grey-500",children:[L.jsxs("div",{className:"flex gap-1",children:[L.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:L.jsx(ms,{className:"scale-[1.4]",iso2:m.iso2})}),L.jsx("span",{children:m.name})]}),L.jsxs("span",{children:["+ ",m.dialCode]})]},m.iso2)})})]})]})})})]}),L.jsx("input",{disabled:r,className:h({disabled:r}),placeholder:n,type:"tel",value:P,onChange:x,ref:w,...c})]}),o&&a&&L.jsx("span",{className:"mt-2 pl-6 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:a})]})},LC={args:{disabled:!1,placeholder:"Phone Number",error:!1,isValid:!1,erroMessage:"Phone Number is required",noResultsFoundMessage:"no results found",searchMessage:"Search your country code"}},_C=({label:e,initialDate:t,onSelect:r,dateFormat:n})=>{const[o,a]=f.useState(!1),[s,i]=f.useState(t),l=()=>{a(!0)},c=d=>{r&&r(d),i(d),u()},u=()=>{a(!1)};return L.jsx($1,{isOpen:o,align:"end",onInteractOutside:u,content:L.jsx(ah,{selected:s,onSelect:c,mode:"single"}),children:L.jsx("div",{children:L.jsx(kl,{value:s?Yt(s,n??"dd/MM/yyyy"):"",onClick:l,isDatePicker:!0,label:e,icon:"calendar"})})})},FC={white:"#ffffff",black:"#000000",primary:{green:{50:"#e9eceb",100:"#bac3c2",200:"#99a7a4",300:"#6b7e7b",400:"#4e6561",500:"#223f3a",600:"#1f3935",700:"#182d29",800:"#132320",900:"#0e1a18"},black:{50:"#e6e6e6",100:"#b0b0b0",200:"#8a8a8a",300:"#545454",400:"#333333",500:"#000000",600:"#000000",700:"#000000",800:"#000000",900:"#000000"},grey:{50:"##fefefe",100:"#fcfdfd",200:"#fafbfc",300:"#f8fafb",400:"#f7f9fa",500:"#f5f7f9",600:"#dfe1e3",700:"#aeafb1",800:"#878889",900:"#676869"}},secondary:{green:{50:"#e6f7ee",100:"#b2e7c9",200:"#8cdbaf",300:"#58ca8a",400:"#38c074",500:"#06b051",600:"#05a04a",700:"#047d3a",800:"#03612d",900:"#034a22"}},tertiary:{green:{50:"#ebfaf2",100:"#c2f0d8",200:"#a4e8c5",300:"#7adeaa",400:"#61d799",500:"#39cd80",600:"#34bb74",700:"#28925b",800:"#1f7146",900:"#185636"}},complementary:{violet:{50:"#f0ecf5",100:"#d1c3df",200:"#bba7d0",300:"#9d7ebb",400:"#8965ad",500:"#6c3f99",600:"#62398b",700:"#4d2d6d",800:"#3b2354",900:"#2d1a40"},blue:{50:"#e6f7f7",100:"#b1e6e6",200:"#8cdada",300:"#57c9c9",400:"#36bfbe",500:"#04afae",600:"#049f9e",700:"#037c7c",800:"#026060",900:"#024a49"},red:{50:"#faebea",100:"#f0c1be",200:"#e9a39f",300:"#df7973",400:"#d95f58",500:"#cf372e",600:"#bc322a",700:"#932721",800:"#721e19",900:"#571713"},orange:{50:"#fef3e9",100:"#fbdabb",200:"#f9c99a",300:"#f6b06c",400:"#f5a150",500:"#f28924",600:"#dc7d21",700:"#ac611a",800:"#854b14",900:"#663a0f"},yellow:{50:"#fdfaec",100:"#f9f0c4",200:"#f7e9a8",300:"#f3e080",400:"#f1d968",500:"#edd042",600:"#d8bd3c",700:"#a8942f",800:"#827224",900:"#64571c"}}};xe.Avatar=n0,xe.Button=il,xe.Checkbox=g3,xe.Chip=b3,xe.DatePicker=ah,xe.DatePickerInput=_C,xe.Flag=pm,xe.Icon=Ge,xe.Input=kl,xe.InputPassword=e8,xe.Logo=dm,xe.PhoneNumberInput=jC,xe.Playground=LC,xe.Popover=$1,xe.RadioGroup=v3,xe.SegmentedControl=y3,xe.Snackbar=o0,xe.Switch=m3,xe.Tabs=J7,xe.Tag=Cw,xe.ToastContainer=Pw,xe.Tooltip=C7,xe.Typography=Gc,xe.colors=FC,xe.useSnackbar=A3,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})});