@aveonline/ui-react 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +1 -0
- package/dist/components/molecules/Field/Container.d.ts +15 -0
- package/dist/components/molecules/Field/Field.d.ts +7 -0
- package/dist/components/molecules/Field/Footer.d.ts +2 -0
- package/dist/components/molecules/Field/IField.d.ts +66 -0
- package/dist/components/molecules/Field/index.d.ts +1 -0
- package/dist/components/molecules/Field/useField.d.ts +16 -0
- package/dist/components/templates/Main/index.d.ts +1 -1
- package/dist/components/templates/Shipment/index.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/tailwind.css +1 -1
- package/dist/ui-react.mjs +2906 -2689
- package/dist/ui-react.umd.js +23 -23
- package/package.json +8 -4
package/dist/ui-react.umd.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`,document.head.appendChild(
|
|
1
|
+
(function(U,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],p):(U=typeof globalThis<"u"?globalThis:U||self,p(U["@aveonline/ui-react"]={},U.React,U.ReactDOM))})(this,function(U,p,Tt){"use strict";var ui=document.createElement("style");ui.innerHTML=`[type=radio]:checked{background-image:url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%2016%2016'%20fill%3D'%232C6ECB'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Ccircle%20cx%3D'8'%20cy%3D'8'%20r%3D'4'%2F%3E%3C%2Fsvg%3E")}[type=radio]:checked:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}
|
|
2
|
+
`,document.head.appendChild(ui);const iu=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function si(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const re=iu(p),j=si(p),ou=si(Tt);var li={exports:{}};/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i=[],r=0;r<arguments.length;r++){var o=arguments[r];if(!!o){var u=typeof o;if(u==="string"||u==="number")i.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&i.push(a)}}else if(u==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){i.push(o.toString());continue}for(var s in o)t.call(o,s)&&o[s]&&i.push(s)}}}return i.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(
|
|
6
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i=[],r=0;r<arguments.length;r++){var o=arguments[r];if(!!o){var u=typeof o;if(u==="string"||u==="number")i.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&i.push(a)}}else if(u==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){i.push(o.toString());continue}for(var s in o)t.call(o,s)&&o[s]&&i.push(s)}}}return i.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(li);const z=li.exports;function au({variant:e,isLoading:t,size:n,fullWidth:i,align:r,onlyOneIcon:o}){const u=()=>{if(e==="primary")return t?"bg-action-primary-disabled":"bg-action-primary-default hover:bg-action-primary-hovered active:bg-action-primary-active text-letter-on disabled:bg-action-primary-disabled";if(e==="basic")return t?"bg-action-secondary-disabled":"bg-action-secondary-default text-letter-default hover:bg-action-secondary-hovered active:bg-action-secondary-active disabled:bg-action-secondary-disabled";if(e==="destructive")return t?"bg-action-critical-disabled":"bg-action-critical-default text-letter-on hover:bg-action-critical-hovered active:bg-action-critical-active disabled:bg-action-critical-disabled";if(e==="plain")return"text-action-primary-default hover:bg-surface-action-hovered active:bg-surface-action-active active:text-action-primary-pressed";if(e==="plain-monochrome")return"text-letter-default hover:bg-action-secondary-hovered active:bg-action-secondary-active active:text-letter-default";if(e==="plain-destructive")return"text-letter-critical hover:bg-surface-critical-hovered active:bg-surface-critical-active active:text-letter-critical"},a=z("p-sm",{"h-[56px] w-[56px]":n==="md","h-[36px] w-[36px]":n==="sm"}),s=z("leading-xs px-sm",{"h-[36px] py-xs":n==="sm","h-[56px] py-md":n==="md"}),l=()=>o?"":i?"w-full":"w-auto";return{getClass:()=>z("rounded-sm text-xs font-sans font-medium disabled:text-letter-disabled flex items-center gap-x-1 focus:outline-none",t?"relative":"",o?a:s,l(),u(),{"justify-center":r==="center","justify-start":r==="start","justify-end":r==="end"})}}var Kt={exports:{}},Ot={};/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
9
9
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/var
|
|
14
|
+
*/var ci;function uu(){if(ci)return Ot;ci=1;var e=re.default,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function u(a,s,l){var c,d={},g=null,v=null;l!==void 0&&(g=""+l),s.key!==void 0&&(g=""+s.key),s.ref!==void 0&&(v=s.ref);for(c in s)i.call(s,c)&&!o.hasOwnProperty(c)&&(d[c]=s[c]);if(a&&a.defaultProps)for(c in s=a.defaultProps,s)d[c]===void 0&&(d[c]=s[c]);return{$$typeof:t,type:a,key:g,ref:v,props:d,_owner:r.current}}return Ot.Fragment=n,Ot.jsx=u,Ot.jsxs=u,Ot}var zt={};/**
|
|
15
15
|
* @license React
|
|
16
16
|
* react-jsx-runtime.development.js
|
|
17
17
|
*
|
|
@@ -19,47 +19,47 @@
|
|
|
19
19
|
*
|
|
20
20
|
* This source code is licensed under the MIT license found in the
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/var
|
|
23
|
-
`+xe+
|
|
24
|
-
`),
|
|
25
|
-
`),me=H.length-1,
|
|
26
|
-
`+H[me].replace(" at new "," at ");return
|
|
22
|
+
*/var di;function su(){return di||(di=1,process.env.NODE_ENV!=="production"&&function(){var e=re.default,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function M(b){if(b===null||typeof b!="object")return null;var L=m&&b[m]||b[h];return typeof L=="function"?L:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(b){{for(var L=arguments.length,D=new Array(L>1?L-1:0),X=1;X<L;X++)D[X-1]=arguments[X];w("error",b,D)}}function w(b,L,D){{var X=y.ReactDebugCurrentFrame,q=X.getStackAddendum();q!==""&&(L+="%s",D=D.concat([q]));var ae=D.map(function(J){return String(J)});ae.unshift("Warning: "+L),Function.prototype.apply.call(console[b],console,ae)}}var I=!1,C=!1,N=!1,A=!1,T=!1,P;P=Symbol.for("react.module.reference");function S(b){return!!(typeof b=="string"||typeof b=="function"||b===i||b===o||T||b===r||b===l||b===c||A||b===v||I||C||N||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===d||b.$$typeof===u||b.$$typeof===a||b.$$typeof===s||b.$$typeof===P||b.getModuleId!==void 0))}function k(b,L,D){var X=b.displayName;if(X)return X;var q=L.displayName||L.name||"";return q!==""?D+"("+q+")":D}function Y(b){return b.displayName||"Context"}function O(b){if(b==null)return null;if(typeof b.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case i:return"Fragment";case n:return"Portal";case o:return"Profiler";case r:return"StrictMode";case l:return"Suspense";case c:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case a:var L=b;return Y(L)+".Consumer";case u:var D=b;return Y(D._context)+".Provider";case s:return k(b,b.render,"ForwardRef");case d:var X=b.displayName||null;return X!==null?X:O(b.type)||"Memo";case g:{var q=b,ae=q._payload,J=q._init;try{return O(J(ae))}catch{return null}}}return null}var E=Object.assign,F=0,B,Z,R,Q,de,Ge,ue;function pe(){}pe.__reactDisabledLog=!0;function Le(){{if(F===0){B=console.log,Z=console.info,R=console.warn,Q=console.error,de=console.group,Ge=console.groupCollapsed,ue=console.groupEnd;var b={configurable:!0,enumerable:!0,value:pe,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}F++}}function Ce(){{if(F--,F===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},b,{value:B}),info:E({},b,{value:Z}),warn:E({},b,{value:R}),error:E({},b,{value:Q}),group:E({},b,{value:de}),groupCollapsed:E({},b,{value:Ge}),groupEnd:E({},b,{value:ue})})}F<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Me=y.ReactCurrentDispatcher,xe;function Se(b,L,D){{if(xe===void 0)try{throw Error()}catch(q){var X=q.stack.trim().match(/\n( *(at )?)/);xe=X&&X[1]||""}return`
|
|
23
|
+
`+xe+b}}var Ve=!1,Ue;{var ct=typeof WeakMap=="function"?WeakMap:Map;Ue=new ct}function V(b,L){if(!b||Ve)return"";{var D=Ue.get(b);if(D!==void 0)return D}var X;Ve=!0;var q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=Me.current,Me.current=null,Le();try{if(L){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(nt){X=nt}Reflect.construct(b,[],J)}else{try{J.call()}catch(nt){X=nt}b.call(J.prototype)}}else{try{throw Error()}catch(nt){X=nt}b()}}catch(nt){if(nt&&X&&typeof nt.stack=="string"){for(var H=nt.stack.split(`
|
|
24
|
+
`),je=X.stack.split(`
|
|
25
|
+
`),me=H.length-1,he=je.length-1;me>=1&&he>=0&&H[me]!==je[he];)he--;for(;me>=1&&he>=0;me--,he--)if(H[me]!==je[he]){if(me!==1||he!==1)do if(me--,he--,he<0||H[me]!==je[he]){var Be=`
|
|
26
|
+
`+H[me].replace(" at new "," at ");return b.displayName&&Be.includes("<anonymous>")&&(Be=Be.replace("<anonymous>",b.displayName)),typeof b=="function"&&Ue.set(b,Be),Be}while(me>=1&&he>=0);break}}}finally{Ve=!1,Me.current=ae,Ce(),Error.prepareStackTrace=q}var jt=b?b.displayName||b.name:"",ru=jt?Se(jt):"";return typeof b=="function"&&Ue.set(b,ru),ru}function tt(b,L,D){return V(b,!1)}function We(b){var L=b.prototype;return!!(L&&L.isReactComponent)}function Fe(b,L,D){if(b==null)return"";if(typeof b=="function")return V(b,We(b));if(typeof b=="string")return Se(b);switch(b){case l:return Se("Suspense");case c:return Se("SuspenseList")}if(typeof b=="object")switch(b.$$typeof){case s:return tt(b.render);case d:return Fe(b.type,L,D);case g:{var X=b,q=X._payload,ae=X._init;try{return Fe(ae(q),L,D)}catch{}}}return""}var St=Object.prototype.hasOwnProperty,Rn={},dt=y.ReactDebugCurrentFrame;function Xe(b){if(b){var L=b._owner,D=Fe(b.type,b._source,L?L.type:null);dt.setExtraStackFrame(D)}else dt.setExtraStackFrame(null)}function De(b,L,D,X,q){{var ae=Function.call.bind(St);for(var J in b)if(ae(b,J)){var H=void 0;try{if(typeof b[J]!="function"){var je=Error((X||"React class")+": "+D+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof b[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw je.name="Invariant Violation",je}H=b[J](L,J,X,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(me){H=me}H&&!(H instanceof Error)&&(Xe(q),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).",X||"React class",D,J,typeof H),Xe(null)),H instanceof Error&&!(H.message in Rn)&&(Rn[H.message]=!0,Xe(q),x("Failed %s type: %s",D,H.message),Xe(null))}}}var ni=Array.isArray;function It(b){return ni(b)}function Q0(b){{var L=typeof Symbol=="function"&&Symbol.toStringTag,D=L&&b[Symbol.toStringTag]||b.constructor.name||"Object";return D}}function J0(b){try{return Ua(b),!1}catch{return!0}}function Ua(b){return""+b}function Qa(b){if(J0(b))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Q0(b)),Ua(b)}var $t=y.ReactCurrentOwner,_0={key:!0,ref:!0,__self:!0,__source:!0},Ja,_a,ri;ri={};function $0(b){if(St.call(b,"ref")){var L=Object.getOwnPropertyDescriptor(b,"ref").get;if(L&&L.isReactWarning)return!1}return b.ref!==void 0}function K0(b){if(St.call(b,"key")){var L=Object.getOwnPropertyDescriptor(b,"key").get;if(L&&L.isReactWarning)return!1}return b.key!==void 0}function q0(b,L){if(typeof b.ref=="string"&&$t.current&&L&&$t.current.stateNode!==L){var D=O($t.current.type);ri[D]||(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',O($t.current.type),b.ref),ri[D]=!0)}}function eg(b,L){{var D=function(){Ja||(Ja=!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)",L))};D.isReactWarning=!0,Object.defineProperty(b,"key",{get:D,configurable:!0})}}function tg(b,L){{var D=function(){_a||(_a=!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)",L))};D.isReactWarning=!0,Object.defineProperty(b,"ref",{get:D,configurable:!0})}}var ng=function(b,L,D,X,q,ae,J){var H={$$typeof:t,type:b,key:L,ref:D,props:J,_owner:ae};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function rg(b,L,D,X,q){{var ae,J={},H=null,je=null;D!==void 0&&(Qa(D),H=""+D),K0(L)&&(Qa(L.key),H=""+L.key),$0(L)&&(je=L.ref,q0(L,q));for(ae in L)St.call(L,ae)&&!_0.hasOwnProperty(ae)&&(J[ae]=L[ae]);if(b&&b.defaultProps){var me=b.defaultProps;for(ae in me)J[ae]===void 0&&(J[ae]=me[ae])}if(H||je){var he=typeof b=="function"?b.displayName||b.name||"Unknown":b;H&&eg(J,he),je&&tg(J,he)}return ng(b,H,je,q,X,$t.current,J)}}var ii=y.ReactCurrentOwner,$a=y.ReactDebugCurrentFrame;function Dt(b){if(b){var L=b._owner,D=Fe(b.type,b._source,L?L.type:null);$a.setExtraStackFrame(D)}else $a.setExtraStackFrame(null)}var oi;oi=!1;function ai(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function Ka(){{if(ii.current){var b=O(ii.current.type);if(b)return`
|
|
27
27
|
|
|
28
|
-
Check the render method of \``+
|
|
28
|
+
Check the render method of \``+b+"`."}return""}}function ig(b){{if(b!==void 0){var L=b.fileName.replace(/^.*[\\\/]/,""),D=b.lineNumber;return`
|
|
29
29
|
|
|
30
|
-
Check your code at `+
|
|
30
|
+
Check your code at `+L+":"+D+"."}return""}}var qa={};function og(b){{var L=Ka();if(!L){var D=typeof b=="string"?b:b.displayName||b.name;D&&(L=`
|
|
31
31
|
|
|
32
|
-
Check the top-level render call using <`+D+">.")}return T}}function Ka(m,T){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var D=eg(T);if($a[D])return;$a[D]=!0;var X="";m&&m._owner&&m._owner!==ni.current&&(X=" It was passed a child from "+P(m._owner.type)+"."),St(m),M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,X),St(null)}}function qa(m,T){{if(typeof m!="object")return;if(It(m))for(var D=0;D<m.length;D++){var X=m[D];ii(X)&&Ka(X,T)}else if(ii(m))m._store&&(m._store.validated=!0);else if(m){var q=I(m);if(typeof q=="function"&&q!==m.entries)for(var ae=q.call(m),Q;!(Q=ae.next()).done;)ii(Q.value)&&Ka(Q.value,T)}}}function tg(m){{var T=m.type;if(T==null||typeof T=="string")return;var D;if(typeof T=="function")D=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===s||T.$$typeof===d))D=T.propTypes;else return;if(D){var X=P(T);Te(D,m.props,"prop",X,m)}else if(T.PropTypes!==void 0&&!ri){ri=!0;var q=P(T);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",q||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ng(m){{for(var T=Object.keys(m.props),D=0;D<T.length;D++){var X=T[D];if(X!=="children"&&X!=="key"){St(m),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),St(null);break}}m.ref!==null&&(St(m),M("Invalid attribute `ref` supplied to `React.Fragment`."),St(null))}}function eu(m,T,D,X,q,ae){{var Q=S(m);if(!Q){var H="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(H+=" 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 Se=q0(q);Se?H+=Se:H+=_a();var me;m===null?me="null":It(m)?me="array":m!==void 0&&m.$$typeof===t?(me="<"+(P(m.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):me=typeof m,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",me,H)}var ve=K0(m,T,D,q,ae);if(ve==null)return ve;if(Q){var Be=T.children;if(Be!==void 0)if(X)if(It(Be)){for(var Dt=0;Dt<Be.length;Dt++)qa(Be[Dt],m);Object.freeze&&Object.freeze(Be)}else M("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 qa(Be,m)}return m===i?ng(ve):tg(ve),ve}}function rg(m,T,D){return eu(m,T,D,!0)}function ig(m,T,D){return eu(m,T,D,!1)}var og=ig,ag=rg;Pt.Fragment=i,Pt.jsx=og,Pt.jsxs=ag}()),Pt}(function(e){process.env.NODE_ENV==="production"?e.exports=ou():e.exports=au()})($t);const Ge=$t.exports.Fragment,f=$t.exports.jsx,z=$t.exports.jsxs;function uu({variant:e,size:t}){return f("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform",children:z("svg",{className:(()=>G("animate-spin",{"text-surface-neutral-default":e==="primary","text-icon-subdued":e==="basic","h-[20px] w-[20px]":t==="sm","h-lg w-lg":t==="md"}))(),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[f("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),f("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}function ci({variant:e="primary",size:t="md",fullWidth:n=!1,isLoading:i=!1,isDisabled:r=!1,align:o="center",onlyOneIcon:u,children:a,...s}){const{getClass:l}=iu({variant:e,isLoading:i,size:t,fullWidth:n,align:o,onlyOneIcon:u}),c=()=>typeof a=="string"?f("span",{className:i?"invisible":"",children:a}):a;return z("button",{type:"button",className:l(),...s,disabled:r||i,children:[i&&f(uu,{variant:e,size:t}),c()]})}function di({size:e="sm"}){return e==="xs"?z("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"24",height:"24",rx:"12",fill:"#E8E8E8"}),f("circle",{cx:"12",cy:"12",r:"12",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 11.8571C13.8585 11.8571 15.3651 10.3221 15.3651 8.42857C15.3651 6.53502 13.8585 5 12.0001 5C10.1416 5 8.63503 6.53502 8.63503 8.42857C8.63503 10.3221 10.1416 11.8571 12.0001 11.8571ZM12.0001 21C14.8276 21 17.354 19.6604 19 17.5715C17.354 15.4825 14.8275 14.1429 11.9999 14.1429C9.17242 14.1429 6.64602 15.4824 5 17.5713C6.64601 19.6604 9.17247 21 12.0001 21Z",fill:"#61666B"})]}):e==="sm"?z("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"32",height:"32",rx:"16",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 16.1238C18.651 16.1238 20.8 13.9747 20.8 11.3238C20.8 8.67279 18.651 6.52376 16 6.52376C13.349 6.52376 11.2 8.67279 11.2 11.3238C11.2 13.9747 13.349 16.1238 16 16.1238ZM16 28.9238C20.0332 28.9238 23.637 27.0484 25.9849 24.1239C23.637 21.1992 20.0332 19.3238 15.9998 19.3238C11.9665 19.3238 8.36282 21.1991 6.01489 24.1236C8.36282 27.0483 11.9666 28.9238 16 28.9238Z",fill:"#61666B"})]}):e==="md"?z("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"40",height:"40",rx:"20",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 20.1547C23.3137 20.1547 26 17.4684 26 14.1547C26 10.841 23.3137 8.15469 20 8.15469C16.6863 8.15469 14 10.841 14 14.1547C14 17.4684 16.6863 20.1547 20 20.1547ZM20 36.1547C25.0416 36.1547 29.5462 33.8105 32.4811 30.1548C29.5462 26.4991 25.0415 24.1547 19.9998 24.1547C14.9582 24.1547 10.4535 26.4989 7.51862 30.1545C10.4535 33.8103 14.9583 36.1547 20 36.1547Z",fill:"#61666B"})]}):e==="lg"?z("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"60",height:"60",rx:"30",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 30.232C34.9706 30.232 39 26.2026 39 21.232C39 16.2615 34.9706 12.232 30 12.232C25.0294 12.232 21 16.2615 21 21.232C21 26.2026 25.0294 30.232 30 30.232ZM30 54.232C37.5623 54.232 44.3193 50.7157 48.7217 45.2323C44.3193 39.7486 37.5622 36.232 29.9996 36.232C22.4373 36.232 15.6803 39.7484 11.2779 45.2318C15.6803 50.7155 22.4374 54.232 30 54.232Z",fill:"#61666B"})]}):f(Ge,{})}function fi(e){const{size:t,weight:n,lineHeight:i,className:r,color:o}=e;return{getWeight:()=>G({"font-bold":n==="bold","font-book":n==="book","font-medium":n==="medium"}),getFontSize:()=>G({"text-xxs":t==="xxs","text-xs":t==="xs","text-sm":t==="sm","text-md":t==="md","text-lg":t==="lg","text-xl":t==="xl"}),getLineHeight:()=>G({"leading-xxs":i==="xxs","leading-xs":i==="xs","leading-sm":i==="sm","leading-md":i==="md","leading-lg":i==="lg","leading-xl":i==="xl"}),getColorText:()=>G({"text-letter-on":o==="on","text-letter-critical":o==="critical","text-letter-default":o==="default","text-letter-disabled":o==="disabled","text-letter-subdued":o==="subdued","text-letter-success":o==="success","text-letter-warning":o==="warning","text-action-primary-default":o==="primary"}),getClassName:()=>G(r)}}function su({variant:e,...t}){const n="font-sans",i=fi({...t}),{getColorText:r,getFontSize:o,getLineHeight:u,getWeight:a,getClassName:s}=i;return{getClass:G(n,(()=>e==="xl"?G(a()||"font-bold",u()||"leading-xl",o()||"text-xl"):e==="lg"?G(a()||"font-bold",u()||"leading-lg",o()||"text-lg"):e==="md"?G(a()||"font-bold",u()||"leading-md",o()||"text-md"):e==="sm"?G("font-book","leading-sm","text-sm"):e==="heading"?G(a()||"font-bold",u()||"leading-sm",o()||"text-sm"):e==="subheading"?G(a()||"font-bold",u()||"leading-xxs",o()||"text-xs"):"")(),r(),s())}}function nt({variant:e="heading",children:t,lineHeight:n,weight:i,color:r="default",size:o,className:u,as:a="h2"}){const{getClass:s}=su({size:o,weight:i,variant:e,color:r,lineHeight:n,className:u});return f(a,{className:s,children:t})}function lu({variant:e,...t}){const n="font-sans",i=fi({...t}),{getColorText:r,getFontSize:o,getLineHeight:u,getWeight:a,getClassName:s}=i;return{getClass:G(n,(()=>e==="button"?G(a()||"font-medium",u()||"leading-xs",o()||"text-xs"):e==="body"?G(a()||"font-book",u()||"leading-xs",o()||"text-xs"):e==="highlight"?G(a()||"font-bold",u()||"leading-xs",o()||"text-xs"):e==="caption"?G(a()||"font-book",u()||"leading-xxs",o()||"text-xxs"):"")(),r(),s())}}function _({variant:e="body",children:t,lineHeight:n,weight:i,color:r="default",size:o,className:u,as:a="p",...s}){const{getClass:l}=lu({size:o,weight:i,variant:e,color:r,lineHeight:n,className:u});return f(a,{className:l,...s,children:t})}function cu({variant:e,children:t}){return f("span",{className:G("inline-flex rounded-md py-[2px] px-2",{"bg-surface-neutral-default":e==="neutral","bg-surface-action-default":e==="info","bg-surface-success-default":e==="success","bg-surface-warning-default":e==="warning","bg-surface-critical-default":e==="critical"}),children:f(_,{variant:"caption",children:t})})}const Kt=typeof window>"u"||typeof document>"u";let Me=Kt?p.useEffect:p.useLayoutEffect;function dt(e){let t=p.useRef(e);return Me(()=>{t.current=e},[e]),t}function Gt(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function du(){let e=[],t=[],n={enqueue(i){t.push(i)},addEventListener(i,r,o,u){return i.addEventListener(r,o,u),n.add(()=>i.removeEventListener(r,o,u))},requestAnimationFrame(...i){let r=requestAnimationFrame(...i);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...i){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...i))},setTimeout(...i){let r=setTimeout(...i);return n.add(()=>clearTimeout(r))},microTask(...i){let r={current:!0};return Gt(()=>{r.current&&i[0]()}),n.add(()=>{r.current=!1})},add(i){return e.push(i),()=>{let r=e.indexOf(i);if(r>=0){let[o]=e.splice(r,1);o()}}},dispose(){for(let i of e.splice(0))i()},async workQueue(){for(let i of t.splice(0))await i()}};return n}let $=function(e){let t=dt(e);return re.default.useCallback((...n)=>t.current(...n),[t])},kn={serverHandoffComplete:!1};function qt(){let[e,t]=p.useState(kn.serverHandoffComplete);return p.useEffect(()=>{e!==!0&&t(!0)},[e]),p.useEffect(()=>{kn.serverHandoffComplete===!1&&(kn.serverHandoffComplete=!0)},[]),e}var gi;let fu=0;function pi(){return++fu}let De=(gi=re.default.useId)!=null?gi:function(){let e=qt(),[t,n]=re.default.useState(e?pi:null);return Me(()=>{t===null&&n(pi())},[t]),t!=null?""+t:void 0};function Oe(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Oe),i}function ft(e){return Kt?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Wn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ie=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ie||{}),rt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(rt||{}),gu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(gu||{});function pu(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Wn))}var mi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(mi||{});function mu(e,t=0){var n;return e===((n=ft(e))==null?void 0:n.body)?!1:Oe(t,{[0](){return e.matches(Wn)},[1](){let i=e;for(;i!==null;){if(i.matches(Wn))return!0;i=i.parentElement}return!1}})}function yt(e){e==null||e.focus({preventScroll:!0})}let bu=["textarea","input"].join(",");function vu(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,bu))!=null?n:!1}function en(e,t=n=>n){return e.slice().sort((n,i)=>{let r=t(n),o=t(i);if(r===null||o===null)return 0;let u=r.compareDocumentPosition(o);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Re(e,t,n=!0,i=null){let r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?en(e):e:pu(e);i=i!=null?i:r.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(i))-1;if(t&4)return Math.max(0,o.indexOf(i))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=t&32?{preventScroll:!0}:{},l=0,c=o.length,d;do{if(l>=c||l+c<=0)return 0;let g=a+l;if(t&16)g=(g+c)%c;else{if(g<0)return 3;if(g>=c)return 1}d=o[g],d==null||d.focus(s),l+=u}while(d!==r.activeElement);return t&6&&vu(d)&&d.select(),d.hasAttribute("tabindex")||d.setAttribute("tabindex","0"),2}function Yn(e,t,n){let i=dt(t);p.useEffect(()=>{function r(o){i.current(o)}return document.addEventListener(e,r,n),()=>document.removeEventListener(e,r,n)},[e,n])}function hu(e,t,n=!0){let i=p.useRef(!1);p.useEffect(()=>{requestAnimationFrame(()=>{i.current=n})},[n]);function r(u,a){if(!i.current||u.defaultPrevented)return;let s=function c(d){return typeof d=="function"?c(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e),l=a(u);if(l!==null&&!!l.getRootNode().contains(l)){for(let c of s){if(c===null)continue;let d=c instanceof HTMLElement?c:c.current;if(d!=null&&d.contains(l))return}return!mu(l,mi.Loose)&&l.tabIndex!==-1&&u.preventDefault(),t(u,l)}}let o=p.useRef(null);Yn("mousedown",u=>{var a,s;i.current&&(o.current=((s=(a=u.composedPath)==null?void 0:a.call(u))==null?void 0:s[0])||u.target)},!0),Yn("click",u=>{!o.current||(r(u,()=>o.current),o.current=null)},!0),Yn("blur",u=>r(u,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function bi(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Xn(e,t){let[n,i]=p.useState(()=>bi(e));return Me(()=>{i(bi(e))},[e.type,e.as]),Me(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&i("button")},[n,t]),n}let hi=Symbol();function Ii(e,t=!0){return Object.assign(e,{[hi]:t})}function ge(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=$(i=>{for(let r of t.current)r!=null&&(typeof r=="function"?r(i):r.current=i)});return e.every(i=>i==null||(i==null?void 0:i[hi]))?void 0:n}function Iu({container:e,accept:t,walk:n,enabled:i=!0}){let r=p.useRef(t),o=p.useRef(n);p.useEffect(()=>{r.current=t,o.current=n},[t,n]),Me(()=>{if(!e||!i)return;let u=ft(e);if(!u)return;let a=r.current,s=o.current,l=Object.assign(d=>a(d),{acceptNode:a}),c=u.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,l,!1);for(;c.nextNode();)s(c.currentNode)},[e,i,r,o])}var gt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(gt||{}),yu=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(yu||{});function ce({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:r,visible:o=!0,name:u}){let a=yi(t,e);if(o)return tn(a,n,i,u);let s=r!=null?r:0;if(s&2){let{static:l=!1,...c}=a;if(l)return tn(c,n,i,u)}if(s&1){let{unmount:l=!0,...c}=a;return Oe(l?0:1,{[0](){return null},[1](){return tn({...c,hidden:!0,style:{display:"none"}},n,i,u)}})}return tn(a,n,i,u)}function tn(e,t={},n,i){let{as:r=n,children:o,refName:u="ref",...a}=Zn(e,["unmount","static"]),s=e.ref!==void 0?{[u]:e.ref}:{},l=typeof o=="function"?o(t):o;a.className&&typeof a.className=="function"&&(a.className=a.className(t));let c={};if(t){let d=!1,g=[];for(let[v,b]of Object.entries(t))typeof b=="boolean"&&(d=!0),b===!0&&g.push(v);d&&(c["data-headlessui-state"]=g.join(" "))}if(r===p.Fragment&&Object.keys(nn(a)).length>0){if(!p.isValidElement(l)||Array.isArray(l)&&l.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map(d=>` - ${d}`).join(`
|
|
32
|
+
Check the top-level render call using <`+D+">.")}return L}}function eu(b,L){{if(!b._store||b._store.validated||b.key!=null)return;b._store.validated=!0;var D=og(L);if(qa[D])return;qa[D]=!0;var X="";b&&b._owner&&b._owner!==ii.current&&(X=" It was passed a child from "+O(b._owner.type)+"."),Dt(b),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,X),Dt(null)}}function tu(b,L){{if(typeof b!="object")return;if(It(b))for(var D=0;D<b.length;D++){var X=b[D];ai(X)&&eu(X,L)}else if(ai(b))b._store&&(b._store.validated=!0);else if(b){var q=M(b);if(typeof q=="function"&&q!==b.entries)for(var ae=q.call(b),J;!(J=ae.next()).done;)ai(J.value)&&eu(J.value,L)}}}function ag(b){{var L=b.type;if(L==null||typeof L=="string")return;var D;if(typeof L=="function")D=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===s||L.$$typeof===d))D=L.propTypes;else return;if(D){var X=O(L);De(D,b.props,"prop",X,b)}else if(L.PropTypes!==void 0&&!oi){oi=!0;var q=O(L);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",q||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ug(b){{for(var L=Object.keys(b.props),D=0;D<L.length;D++){var X=L[D];if(X!=="children"&&X!=="key"){Dt(b),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),Dt(null);break}}b.ref!==null&&(Dt(b),x("Invalid attribute `ref` supplied to `React.Fragment`."),Dt(null))}}function nu(b,L,D,X,q,ae){{var J=S(b);if(!J){var H="";(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(H+=" 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 je=ig(q);je?H+=je:H+=Ka();var me;b===null?me="null":It(b)?me="array":b!==void 0&&b.$$typeof===t?(me="<"+(O(b.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):me=typeof b,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",me,H)}var he=rg(b,L,D,q,ae);if(he==null)return he;if(J){var Be=L.children;if(Be!==void 0)if(X)if(It(Be)){for(var jt=0;jt<Be.length;jt++)tu(Be[jt],b);Object.freeze&&Object.freeze(Be)}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 tu(Be,b)}return b===i?ug(he):ag(he),he}}function sg(b,L,D){return nu(b,L,D,!0)}function lg(b,L,D){return nu(b,L,D,!1)}var cg=lg,dg=sg;zt.Fragment=i,zt.jsx=cg,zt.jsxs=dg}()),zt}(function(e){process.env.NODE_ENV==="production"?e.exports=uu():e.exports=su()})(Kt);const we=Kt.exports.Fragment,f=Kt.exports.jsx,G=Kt.exports.jsxs;function lu({variant:e,size:t}){return f("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform",children:G("svg",{className:(()=>z("animate-spin",{"text-surface-neutral-default":e==="primary","text-icon-subdued":e==="basic","h-[20px] w-[20px]":t==="sm","h-lg w-lg":t==="md"}))(),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[f("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),f("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}function fi({variant:e="primary",size:t="md",fullWidth:n=!1,isLoading:i=!1,isDisabled:r=!1,align:o="center",onlyOneIcon:u,children:a,...s}){const{getClass:l}=au({variant:e,isLoading:i,size:t,fullWidth:n,align:o,onlyOneIcon:u}),c=()=>typeof a=="string"?f("span",{className:i?"invisible":"",children:a}):a;return G("button",{type:"button",className:l(),...s,disabled:r||i,children:[i&&f(lu,{variant:e,size:t}),c()]})}function gi({size:e="sm"}){return e==="xs"?G("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"24",height:"24",rx:"12",fill:"#E8E8E8"}),f("circle",{cx:"12",cy:"12",r:"12",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 11.8571C13.8585 11.8571 15.3651 10.3221 15.3651 8.42857C15.3651 6.53502 13.8585 5 12.0001 5C10.1416 5 8.63503 6.53502 8.63503 8.42857C8.63503 10.3221 10.1416 11.8571 12.0001 11.8571ZM12.0001 21C14.8276 21 17.354 19.6604 19 17.5715C17.354 15.4825 14.8275 14.1429 11.9999 14.1429C9.17242 14.1429 6.64602 15.4824 5 17.5713C6.64601 19.6604 9.17247 21 12.0001 21Z",fill:"#61666B"})]}):e==="sm"?G("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"32",height:"32",rx:"16",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 16.1238C18.651 16.1238 20.8 13.9747 20.8 11.3238C20.8 8.67279 18.651 6.52376 16 6.52376C13.349 6.52376 11.2 8.67279 11.2 11.3238C11.2 13.9747 13.349 16.1238 16 16.1238ZM16 28.9238C20.0332 28.9238 23.637 27.0484 25.9849 24.1239C23.637 21.1992 20.0332 19.3238 15.9998 19.3238C11.9665 19.3238 8.36282 21.1991 6.01489 24.1236C8.36282 27.0483 11.9666 28.9238 16 28.9238Z",fill:"#61666B"})]}):e==="md"?G("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"40",height:"40",rx:"20",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 20.1547C23.3137 20.1547 26 17.4684 26 14.1547C26 10.841 23.3137 8.15469 20 8.15469C16.6863 8.15469 14 10.841 14 14.1547C14 17.4684 16.6863 20.1547 20 20.1547ZM20 36.1547C25.0416 36.1547 29.5462 33.8105 32.4811 30.1548C29.5462 26.4991 25.0415 24.1547 19.9998 24.1547C14.9582 24.1547 10.4535 26.4989 7.51862 30.1545C10.4535 33.8103 14.9583 36.1547 20 36.1547Z",fill:"#61666B"})]}):e==="lg"?G("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("rect",{width:"60",height:"60",rx:"30",fill:"#E8E8E8"}),f("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 30.232C34.9706 30.232 39 26.2026 39 21.232C39 16.2615 34.9706 12.232 30 12.232C25.0294 12.232 21 16.2615 21 21.232C21 26.2026 25.0294 30.232 30 30.232ZM30 54.232C37.5623 54.232 44.3193 50.7157 48.7217 45.2323C44.3193 39.7486 37.5622 36.232 29.9996 36.232C22.4373 36.232 15.6803 39.7484 11.2779 45.2318C15.6803 50.7155 22.4374 54.232 30 54.232Z",fill:"#61666B"})]}):f(we,{})}function pi(e){const{size:t,weight:n,lineHeight:i,className:r,color:o}=e;return{getWeight:()=>z({"font-bold":n==="bold","font-book":n==="book","font-medium":n==="medium"}),getFontSize:()=>z({"text-xxs":t==="xxs","text-xs":t==="xs","text-sm":t==="sm","text-md":t==="md","text-lg":t==="lg","text-xl":t==="xl"}),getLineHeight:()=>z({"leading-xxs":i==="xxs","leading-xs":i==="xs","leading-sm":i==="sm","leading-md":i==="md","leading-lg":i==="lg","leading-xl":i==="xl"}),getColorText:()=>z({"text-letter-on":o==="on","text-letter-critical":o==="critical","text-letter-default":o==="default","text-letter-disabled":o==="disabled","text-letter-subdued":o==="subdued","text-letter-success":o==="success","text-letter-warning":o==="warning","text-action-primary-default":o==="primary"}),getClassName:()=>z(r)}}function cu({variant:e,...t}){const n="font-sans",i=pi({...t}),{getColorText:r,getFontSize:o,getLineHeight:u,getWeight:a,getClassName:s}=i;return{getClass:z(n,(()=>e==="xl"?z(a()||"font-bold",u()||"leading-xl",o()||"text-xl"):e==="lg"?z(a()||"font-bold",u()||"leading-lg",o()||"text-lg"):e==="md"?z(a()||"font-bold",u()||"leading-md",o()||"text-md"):e==="sm"?z("font-book","leading-sm","text-sm"):e==="heading"?z(a()||"font-bold",u()||"leading-sm",o()||"text-sm"):e==="subheading"?z(a()||"font-bold",u()||"leading-xxs",o()||"text-xs"):"")(),r(),s())}}function rt({variant:e="heading",children:t,lineHeight:n,weight:i,color:r="default",size:o,className:u,as:a="h2"}){const{getClass:s}=cu({size:o,weight:i,variant:e,color:r,lineHeight:n,className:u});return f(a,{className:s,children:t})}function du({variant:e,...t}){const n="font-sans",i=pi({...t}),{getColorText:r,getFontSize:o,getLineHeight:u,getWeight:a,getClassName:s}=i;return{getClass:z(n,(()=>e==="button"?z(a()||"font-medium",u()||"leading-xs",o()||"text-xs"):e==="body"?z(a()||"font-book",u()||"leading-xs",o()||"text-xs"):e==="highlight"?z(a()||"font-bold",u()||"leading-xs",o()||"text-xs"):e==="caption"?z(a()||"font-book",u()||"leading-xxs",o()||"text-xxs"):"")(),r(),s())}}function _({variant:e="body",children:t,lineHeight:n,weight:i,color:r="default",size:o,className:u,as:a="p",...s}){const{getClass:l}=du({size:o,weight:i,variant:e,color:r,lineHeight:n,className:u});return f(a,{className:l,...s,children:t})}function fu({variant:e,children:t}){return f("span",{className:z("inline-flex rounded-md py-[2px] px-2",{"bg-surface-neutral-default":e==="neutral","bg-surface-action-default":e==="info","bg-surface-success-default":e==="success","bg-surface-warning-default":e==="warning","bg-surface-critical-default":e==="critical"}),children:f(_,{variant:"caption",children:t})})}const qt=typeof window>"u"||typeof document>"u";let Ne=qt?p.useEffect:p.useLayoutEffect;function ft(e){let t=p.useRef(e);return Ne(()=>{t.current=e},[e]),t}function Gt(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function gu(){let e=[],t=[],n={enqueue(i){t.push(i)},addEventListener(i,r,o,u){return i.addEventListener(r,o,u),n.add(()=>i.removeEventListener(r,o,u))},requestAnimationFrame(...i){let r=requestAnimationFrame(...i);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...i){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...i))},setTimeout(...i){let r=setTimeout(...i);return n.add(()=>clearTimeout(r))},microTask(...i){let r={current:!0};return Gt(()=>{r.current&&i[0]()}),n.add(()=>{r.current=!1})},add(i){return e.push(i),()=>{let r=e.indexOf(i);if(r>=0){let[o]=e.splice(r,1);o()}}},dispose(){for(let i of e.splice(0))i()},async workQueue(){for(let i of t.splice(0))await i()}};return n}let $=function(e){let t=ft(e);return re.default.useCallback((...n)=>t.current(...n),[t])},Yn={serverHandoffComplete:!1};function en(){let[e,t]=p.useState(Yn.serverHandoffComplete);return p.useEffect(()=>{e!==!0&&t(!0)},[e]),p.useEffect(()=>{Yn.serverHandoffComplete===!1&&(Yn.serverHandoffComplete=!0)},[]),e}var mi;let pu=0;function bi(){return++pu}let Te=(mi=re.default.useId)!=null?mi:function(){let e=en(),[t,n]=re.default.useState(e?bi:null);return Ne(()=>{t===null&&n(bi())},[t]),t!=null?""+t:void 0};function Oe(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Oe),i}function gt(e){return qt?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Wn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ie=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ie||{}),it=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(it||{}),mu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(mu||{});function bu(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Wn))}var hi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(hi||{});function vu(e,t=0){var n;return e===((n=gt(e))==null?void 0:n.body)?!1:Oe(t,{[0](){return e.matches(Wn)},[1](){let i=e;for(;i!==null;){if(i.matches(Wn))return!0;i=i.parentElement}return!1}})}function yt(e){e==null||e.focus({preventScroll:!0})}let hu=["textarea","input"].join(",");function Mu(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,hu))!=null?n:!1}function tn(e,t=n=>n){return e.slice().sort((n,i)=>{let r=t(n),o=t(i);if(r===null||o===null)return 0;let u=r.compareDocumentPosition(o);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ke(e,t,n=!0,i=null){let r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?tn(e):e:bu(e);i=i!=null?i:r.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(i))-1;if(t&4)return Math.max(0,o.indexOf(i))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=t&32?{preventScroll:!0}:{},l=0,c=o.length,d;do{if(l>=c||l+c<=0)return 0;let g=a+l;if(t&16)g=(g+c)%c;else{if(g<0)return 3;if(g>=c)return 1}d=o[g],d==null||d.focus(s),l+=u}while(d!==r.activeElement);return t&6&&Mu(d)&&d.select(),d.hasAttribute("tabindex")||d.setAttribute("tabindex","0"),2}function Xn(e,t,n){let i=ft(t);p.useEffect(()=>{function r(o){i.current(o)}return document.addEventListener(e,r,n),()=>document.removeEventListener(e,r,n)},[e,n])}function Iu(e,t,n=!0){let i=p.useRef(!1);p.useEffect(()=>{requestAnimationFrame(()=>{i.current=n})},[n]);function r(u,a){if(!i.current||u.defaultPrevented)return;let s=function c(d){return typeof d=="function"?c(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e),l=a(u);if(l!==null&&!!l.getRootNode().contains(l)){for(let c of s){if(c===null)continue;let d=c instanceof HTMLElement?c:c.current;if(d!=null&&d.contains(l))return}return!vu(l,hi.Loose)&&l.tabIndex!==-1&&u.preventDefault(),t(u,l)}}let o=p.useRef(null);Xn("mousedown",u=>{var a,s;i.current&&(o.current=((s=(a=u.composedPath)==null?void 0:a.call(u))==null?void 0:s[0])||u.target)},!0),Xn("click",u=>{!o.current||(r(u,()=>o.current),o.current=null)},!0),Xn("blur",u=>r(u,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Mi(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Zn(e,t){let[n,i]=p.useState(()=>Mi(e));return Ne(()=>{i(Mi(e))},[e.type,e.as]),Ne(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&i("button")},[n,t]),n}let Ii=Symbol();function yi(e,t=!0){return Object.assign(e,{[Ii]:t})}function ge(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=$(i=>{for(let r of t.current)r!=null&&(typeof r=="function"?r(i):r.current=i)});return e.every(i=>i==null||(i==null?void 0:i[Ii]))?void 0:n}function yu({container:e,accept:t,walk:n,enabled:i=!0}){let r=p.useRef(t),o=p.useRef(n);p.useEffect(()=>{r.current=t,o.current=n},[t,n]),Ne(()=>{if(!e||!i)return;let u=gt(e);if(!u)return;let a=r.current,s=o.current,l=Object.assign(d=>a(d),{acceptNode:a}),c=u.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,l,!1);for(;c.nextNode();)s(c.currentNode)},[e,i,r,o])}var pt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(pt||{}),Cu=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Cu||{});function ce({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:r,visible:o=!0,name:u}){let a=Ci(t,e);if(o)return nn(a,n,i,u);let s=r!=null?r:0;if(s&2){let{static:l=!1,...c}=a;if(l)return nn(c,n,i,u)}if(s&1){let{unmount:l=!0,...c}=a;return Oe(l?0:1,{[0](){return null},[1](){return nn({...c,hidden:!0,style:{display:"none"}},n,i,u)}})}return nn(a,n,i,u)}function nn(e,t={},n,i){let{as:r=n,children:o,refName:u="ref",...a}=Hn(e,["unmount","static"]),s=e.ref!==void 0?{[u]:e.ref}:{},l=typeof o=="function"?o(t):o;a.className&&typeof a.className=="function"&&(a.className=a.className(t));let c={};if(t){let d=!1,g=[];for(let[v,m]of Object.entries(t))typeof m=="boolean"&&(d=!0),m===!0&&g.push(v);d&&(c["data-headlessui-state"]=g.join(" "))}if(r===p.Fragment&&Object.keys(rn(a)).length>0){if(!p.isValidElement(l)||Array.isArray(l)&&l.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map(d=>` - ${d}`).join(`
|
|
33
33
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(`
|
|
34
34
|
`)].join(`
|
|
35
|
-
`));return p.cloneElement(l,Object.assign({},yi(l.props,nn(Zn(a,["ref"]))),c,s,Cu(l.ref,s.ref)))}return p.createElement(r,Object.assign({},Zn(a,["ref"]),r!==p.Fragment&&s,r!==p.Fragment&&c),l)}function Cu(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function yi(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let r in i)r.startsWith("on")&&typeof i[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(i[r])):t[r]=i[r];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(i=>[i,void 0])));for(let i in n)Object.assign(t,{[i](r,...o){let u=n[i];for(let a of u){if((r instanceof Event||(r==null?void 0:r.nativeEvent)instanceof Event)&&r.defaultPrevented)return;a(r,...o)}}});return t}function fe(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function nn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Zn(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function Ft(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let i=(t==null?void 0:t.getAttribute("disabled"))==="";return i&&xu(n)?!1:i}function xu(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function Ci(e={},t=null,n=[]){for(let[i,r]of Object.entries(e))Mi(n,xi(t,i),r);return n}function xi(e,t){return e?e+"["+t+"]":t}function Mi(e,t,n){if(Array.isArray(n))for(let[i,r]of n.entries())Mi(e,xi(t,i.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Ci(n,t,e)}function Ai(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let i of n.elements)if(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image"){i.click();return}}}let Mu="div";var pt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(pt||{});let mt=fe(function(e,t){let{features:n=1,...i}=e,r={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return ce({ourProps:r,theirProps:i,slot:{},defaultTag:Mu,name:"Hidden"})}),Hn=p.createContext(null);Hn.displayName="OpenClosedContext";var Ct=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ct||{});function Ni(){return p.useContext(Hn)}function Au({value:e,children:t}){return re.default.createElement(Hn.Provider,{value:e},t)}var se=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(se||{});function Ei(e,t,n){let[i,r]=p.useState(n),o=e!==void 0,u=p.useRef(o),a=p.useRef(!1),s=p.useRef(!1);return o&&!u.current&&!a.current?(a.current=!0,u.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&u.current&&!s.current&&(s.current=!0,u.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:i,$(l=>(o||r(l),t==null?void 0:t(l)))]}function wi(e,t){let n=p.useRef([]),i=$(e);p.useEffect(()=>{let r=[...n.current];for(let[o,u]of t.entries())if(n.current[o]!==u){let a=i(t,r);return n.current=t,a}},[i,...t])}function Nu(e,t,n){let i=dt(t);p.useEffect(()=>{function r(o){i.current(o)}return window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)},[e,n])}var Un=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Un||{});function Eu(){let e=p.useRef(0);return Nu("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Ti(){let e=p.useRef(!1);return Me(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function rn(...e){return p.useMemo(()=>ft(...e),[...e])}function Qn(e,t,n,i){let r=dt(n);p.useEffect(()=>{e=e!=null?e:window;function o(u){r.current(u)}return e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)},[e,t,i])}let wu="div";var Si=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Si||{});let Lt=Object.assign(fe(function(e,t){let n=p.useRef(null),i=ge(n,t),{initialFocus:r,containers:o,features:u=30,...a}=e;qt()||(u=1);let s=rn(n);Tu({ownerDocument:s},Boolean(u&16));let l=Su({ownerDocument:s,container:n,initialFocus:r},Boolean(u&2));Du({ownerDocument:s,container:n,containers:o,previousActiveElement:l},Boolean(u&8));let c=Eu(),d=$(()=>{let v=n.current;!v||Oe(c.current,{[Un.Forwards]:()=>Re(v,Ie.First),[Un.Backwards]:()=>Re(v,Ie.Last)})}),g={ref:i};return re.default.createElement(re.default.Fragment,null,Boolean(u&4)&&f(mt,{as:"button",type:"button",onFocus:d,features:pt.Focusable}),ce({ourProps:g,theirProps:a,defaultTag:wu,name:"FocusTrap"}),Boolean(u&4)&&f(mt,{as:"button",type:"button",onFocus:d,features:pt.Focusable}))}),{features:Si});function Tu({ownerDocument:e},t){let n=p.useRef(null);Qn(e==null?void 0:e.defaultView,"focusout",r=>{!t||n.current||(n.current=r.target)},!0),wi(()=>{t||((e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&yt(n.current),n.current=null)},[t]);let i=p.useRef(!1);p.useEffect(()=>(i.current=!1,()=>{i.current=!0,Gt(()=>{!i.current||(yt(n.current),n.current=null)})}),[])}function Su({ownerDocument:e,container:t,initialFocus:n},i){let r=p.useRef(null),o=Ti();return wi(()=>{if(!i)return;let u=t.current;!u||Gt(()=>{if(!o.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){r.current=a;return}}else if(u.contains(a)){r.current=a;return}n!=null&&n.current?yt(n.current):Re(u,Ie.First)===rt.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),r.current=e==null?void 0:e.activeElement})},[i]),r}function Du({ownerDocument:e,container:t,containers:n,previousActiveElement:i},r){let o=Ti();Qn(e==null?void 0:e.defaultView,"focus",u=>{if(!r||!o.current)return;let a=new Set(n==null?void 0:n.current);a.add(t);let s=i.current;if(!s)return;let l=u.target;l&&l instanceof HTMLElement?Ou(a,l)?(i.current=l,yt(l)):(u.preventDefault(),u.stopPropagation(),yt(s)):yt(i.current)},!0)}function Ou(e,t){var n;for(let i of e)if((n=i.current)!=null&&n.contains(t))return!0;return!1}let xt=new Set,it=new Map;function Di(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Oi(e){let t=it.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function ju(e,t=!0){Me(()=>{if(!t||!e.current)return;let n=e.current,i=ft(n);if(i){xt.add(n);for(let r of it.keys())r.contains(n)&&(Oi(r),it.delete(r));return i.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement){for(let o of xt)if(r.contains(o))return;xt.size===1&&(it.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Di(r))}}),()=>{if(xt.delete(n),xt.size>0)i.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement&&!it.has(r)){for(let o of xt)if(r.contains(o))return;it.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Di(r)}});else for(let r of it.keys())Oi(r),it.delete(r)}}},[t])}let ji=p.createContext(!1);function Pu(){return p.useContext(ji)}function Jn(e){return re.default.createElement(ji.Provider,{value:e.force},e.children)}function Gu(e){let t=Pu(),n=p.useContext(Pi),i=rn(e),[r,o]=p.useState(()=>{if(!t&&n!==null||Kt)return null;let u=i==null?void 0:i.getElementById("headlessui-portal-root");if(u)return u;if(i===null)return null;let a=i.createElement("div");return a.setAttribute("id","headlessui-portal-root"),i.body.appendChild(a)});return p.useEffect(()=>{r!==null&&(i!=null&&i.body.contains(r)||i==null||i.body.appendChild(r))},[r,i]),p.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),r}let Fu=p.Fragment,Lu=fe(function(e,t){let n=e,i=p.useRef(null),r=ge(Ii(c=>{i.current=c}),t),o=rn(i),u=Gu(i),[a]=p.useState(()=>{var c;return Kt?null:(c=o==null?void 0:o.createElement("div"))!=null?c:null}),s=qt(),l=p.useRef(!1);return Me(()=>{if(l.current=!1,!(!u||!a))return u.contains(a)||(a.setAttribute("data-headlessui-portal",""),u.appendChild(a)),()=>{l.current=!0,Gt(()=>{var c;!l.current||!u||!a||(u.removeChild(a),u.childNodes.length<=0&&((c=u.parentElement)==null||c.removeChild(u)))})}},[u,a]),s?!u||!a?null:Ot.createPortal(ce({ourProps:{ref:r},theirProps:n,defaultTag:Fu,name:"Portal"}),a):null}),zu=p.Fragment,Pi=p.createContext(null),Vu=fe(function(e,t){let{target:n,...i}=e,r={ref:ge(t)};return f(Pi.Provider,{value:n,children:ce({ourProps:r,theirProps:i,defaultTag:zu,name:"Popover.Group"})})}),_n=Object.assign(Lu,{Group:Vu}),Gi=p.createContext(null);function Fi(){let e=p.useContext(Gi);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Fi),t}return e}function on(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(n){let i=$(o=>(t(u=>[...u,o]),()=>t(u=>{let a=u.slice(),s=a.indexOf(o);return s!==-1&&a.splice(s,1),a}))),r=p.useMemo(()=>({register:i,slot:n.slot,name:n.name,props:n.props}),[i,n.slot,n.name,n.props]);return re.default.createElement(Gi.Provider,{value:r},n.children)},[t])]}let Bu="p",$n=fe(function(e,t){let n=Fi(),i=`headlessui-description-${De()}`,r=ge(t);Me(()=>n.register(i),[i,n.register]);let o=e,u={ref:r,...n.props,id:i};return ce({ourProps:u,theirProps:o,slot:n.slot||{},defaultTag:Bu,name:n.name||"Description"})}),Kn=p.createContext(()=>{});Kn.displayName="StackContext";var qn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(qn||{});function Ru(){return p.useContext(Kn)}function ku({children:e,onUpdate:t,type:n,element:i,enabled:r}){let o=Ru(),u=$((...a)=>{t==null||t(...a),o(...a)});return Me(()=>{let a=r===void 0||r===!0;return a&&u(0,n,i),()=>{a&&u(1,n,i)}},[u,n,i,r]),re.default.createElement(Kn.Provider,{value:u},e)}function Wu(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var Yu=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Yu||{}),Xu=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Xu||{});let Zu={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},an=p.createContext(null);an.displayName="DialogContext";function zt(e){let t=p.useContext(an);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,zt),n}return t}function Hu(e,t){p.useEffect(()=>{var n;if(!t||!e)return;let i=du();function r(a,s,l){let c=a.style.getPropertyValue(s);return Object.assign(a.style,{[s]:l}),i.add(()=>{Object.assign(a.style,{[s]:c})})}let o=e.documentElement,u=((n=e.defaultView)!=null?n:window).innerWidth-o.clientWidth;if(r(o,"overflow","hidden"),u>0){let a=o.clientWidth-o.offsetWidth,s=u-a;r(o,"paddingRight",`${s}px`)}if(Wu()){let a=window.pageYOffset;r(o,"position","fixed"),r(o,"marginTop",`-${a}px`),r(o,"width","100%"),i.add(()=>window.scrollTo(0,a))}return i.dispose},[e,t])}function Uu(e,t){return Oe(t.type,Zu,e,t)}let Qu="div",Ju=gt.RenderStrategy|gt.Static,_u=fe(function(e,t){let{open:n,onClose:i,initialFocus:r,__demoMode:o=!1,...u}=e,[a,s]=p.useState(0),l=Ni();n===void 0&&l!==null&&(n=Oe(l,{[Ct.Open]:!0,[Ct.Closed]:!1}));let c=p.useRef(new Set),d=p.useRef(null),g=ge(d,t),v=p.useRef(null),b=rn(d),h=e.hasOwnProperty("open")||l!==null,I=e.hasOwnProperty("onClose");if(!h&&!I)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!h)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!I)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof n!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if(typeof i!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);let C=n?0:1,[M,A]=p.useReducer(Uu,{titleId:null,descriptionId:null,panelRef:p.createRef()}),y=$(()=>i(!1)),x=$(B=>A({type:0,id:B})),N=qt()?o?!1:C===0:!1,E=a>1,j=p.useContext(an)!==null,F=E?"parent":"leaf";ju(d,E?N:!1),hu(()=>{var B,Z;return[...Array.from((B=b==null?void 0:b.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?B:[]).filter(R=>!(!(R instanceof HTMLElement)||R.contains(v.current)||M.panelRef.current&&R.contains(M.panelRef.current))),(Z=M.panelRef.current)!=null?Z:d.current]},y,N&&!E),Qn(b==null?void 0:b.defaultView,"keydown",B=>{B.defaultPrevented||B.key===se.Escape&&C===0&&(E||(B.preventDefault(),B.stopPropagation(),y()))}),Hu(b,C===0&&!j),p.useEffect(()=>{if(C!==0||!d.current)return;let B=new IntersectionObserver(Z=>{for(let R of Z)R.boundingClientRect.x===0&&R.boundingClientRect.y===0&&R.boundingClientRect.width===0&&R.boundingClientRect.height===0&&y()});return B.observe(d.current),()=>B.disconnect()},[C,d,y]);let[S,k]=on(),W=`headlessui-dialog-${De()}`,P=p.useMemo(()=>[{dialogState:C,close:y,setTitleId:x},M],[C,M,y,x]),w=p.useMemo(()=>({open:C===0}),[C]),L={ref:g,id:W,role:"dialog","aria-modal":C===0?!0:void 0,"aria-labelledby":M.titleId,"aria-describedby":S};return re.default.createElement(ku,{type:"Dialog",enabled:C===0,element:d,onUpdate:$((B,Z,R)=>{Z==="Dialog"&&Oe(B,{[qn.Add](){c.current.add(R),s(U=>U+1)},[qn.Remove](){c.current.add(R),s(U=>U-1)}})})},f(Jn,{force:!0,children:f(_n,{children:f(an.Provider,{value:P,children:f(_n.Group,{target:d,children:f(Jn,{force:!1,children:f(k,{slot:w,name:"Dialog.Description",children:f(Lt,{initialFocus:r,containers:c,features:N?Oe(F,{parent:Lt.features.RestoreFocus,leaf:Lt.features.All&~Lt.features.FocusLock}):Lt.features.None,children:ce({ourProps:L,theirProps:u,slot:w,defaultTag:Qu,features:Ju,visible:C===0,name:"Dialog"})})})})})})})}),f(mt,{features:pt.Hidden,ref:v}))}),$u="div",Ku=fe(function(e,t){let[{dialogState:n,close:i}]=zt("Dialog.Overlay"),r=ge(t),o=`headlessui-dialog-overlay-${De()}`,u=$(s=>{if(s.target===s.currentTarget){if(Ft(s.currentTarget))return s.preventDefault();s.preventDefault(),s.stopPropagation(),i()}}),a=p.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:r,id:o,"aria-hidden":!0,onClick:u},theirProps:e,slot:a,defaultTag:$u,name:"Dialog.Overlay"})}),qu="div",es=fe(function(e,t){let[{dialogState:n},i]=zt("Dialog.Backdrop"),r=ge(t),o=`headlessui-dialog-backdrop-${De()}`;p.useEffect(()=>{if(i.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[i.panelRef]);let u=p.useMemo(()=>({open:n===0}),[n]);return f(Jn,{force:!0,children:f(_n,{children:ce({ourProps:{ref:r,id:o,"aria-hidden":!0},theirProps:e,slot:u,defaultTag:qu,name:"Dialog.Backdrop"})})})}),ts="div",ns=fe(function(e,t){let[{dialogState:n},i]=zt("Dialog.Panel"),r=ge(t,i.panelRef),o=`headlessui-dialog-panel-${De()}`,u=p.useMemo(()=>({open:n===0}),[n]),a=$(s=>{s.stopPropagation()});return ce({ourProps:{ref:r,id:o,onClick:a},theirProps:e,slot:u,defaultTag:ts,name:"Dialog.Panel"})}),rs="h2",is=fe(function(e,t){let[{dialogState:n,setTitleId:i}]=zt("Dialog.Title"),r=`headlessui-dialog-title-${De()}`,o=ge(t);p.useEffect(()=>(i(r),()=>i(null)),[r,i]);let u=p.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:o,id:r},theirProps:e,slot:u,defaultTag:rs,name:"Dialog.Title"})}),Li=Object.assign(_u,{Backdrop:es,Panel:ns,Overlay:Ku,Title:is,Description:$n});var os=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(os||{}),as=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(as||{});let us={[0]:e=>({...e,disclosureState:Oe(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},[3](e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},er=p.createContext(null);er.displayName="DisclosureContext";function tr(e){let t=p.useContext(er);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,tr),n}return t}let nr=p.createContext(null);nr.displayName="DisclosureAPIContext";function zi(e){let t=p.useContext(nr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,zi),n}return t}let rr=p.createContext(null);rr.displayName="DisclosurePanelContext";function ss(){return p.useContext(rr)}function ls(e,t){return Oe(t.type,us,e,t)}let cs=p.Fragment,ds=fe(function(e,t){let{defaultOpen:n=!1,...i}=e,r=`headlessui-disclosure-button-${De()}`,o=`headlessui-disclosure-panel-${De()}`,u=p.useRef(null),a=ge(t,Ii(C=>{u.current=C},e.as===void 0||e.as===p.Fragment)),s=p.useRef(null),l=p.useRef(null),c=p.useReducer(ls,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:l,panelRef:s,buttonId:r,panelId:o}),[{disclosureState:d},g]=c;p.useEffect(()=>g({type:2,buttonId:r}),[r,g]),p.useEffect(()=>g({type:3,panelId:o}),[o,g]);let v=$(C=>{g({type:1});let M=ft(u);if(!M)return;let A=(()=>C?C instanceof HTMLElement?C:C.current instanceof HTMLElement?C.current:M.getElementById(r):M.getElementById(r))();A==null||A.focus()}),b=p.useMemo(()=>({close:v}),[v]),h=p.useMemo(()=>({open:d===0,close:v}),[d,v]),I={ref:a};return re.default.createElement(er.Provider,{value:c},re.default.createElement(nr.Provider,{value:b},re.default.createElement(Au,{value:Oe(d,{[0]:Ct.Open,[1]:Ct.Closed})},ce({ourProps:I,theirProps:i,slot:h,defaultTag:cs,name:"Disclosure"}))))}),fs="button",gs=fe(function(e,t){let[n,i]=tr("Disclosure.Button"),r=ss(),o=r===null?!1:r===n.panelId,u=p.useRef(null),a=ge(u,t,o?null:n.buttonRef),s=$(h=>{var I;if(o){if(n.disclosureState===1)return;switch(h.key){case se.Space:case se.Enter:h.preventDefault(),h.stopPropagation(),i({type:0}),(I=n.buttonRef.current)==null||I.focus();break}}else switch(h.key){case se.Space:case se.Enter:h.preventDefault(),h.stopPropagation(),i({type:0});break}}),l=$(h=>{switch(h.key){case se.Space:h.preventDefault();break}}),c=$(h=>{var I;Ft(h.currentTarget)||e.disabled||(o?(i({type:0}),(I=n.buttonRef.current)==null||I.focus()):i({type:0}))}),d=p.useMemo(()=>({open:n.disclosureState===0}),[n]),g=Xn(e,u),v=e,b=o?{ref:a,type:g,onKeyDown:s,onClick:c}:{ref:a,id:n.buttonId,type:g,"aria-expanded":e.disabled?void 0:n.disclosureState===0,"aria-controls":n.linkedPanel?n.panelId:void 0,onKeyDown:s,onKeyUp:l,onClick:c};return ce({ourProps:b,theirProps:v,slot:d,defaultTag:fs,name:"Disclosure.Button"})}),ps="div",ms=gt.RenderStrategy|gt.Static,bs=fe(function(e,t){let[n,i]=tr("Disclosure.Panel"),{close:r}=zi("Disclosure.Panel"),o=ge(t,n.panelRef,d=>{i({type:d?4:5})}),u=Ni(),a=(()=>u!==null?u===Ct.Open:n.disclosureState===0)(),s=p.useMemo(()=>({open:n.disclosureState===0,close:r}),[n,r]),l=e,c={ref:o,id:n.panelId};return f(rr.Provider,{value:n.panelId,children:ce({ourProps:c,theirProps:l,slot:s,defaultTag:ps,features:ms,visible:a,name:"Disclosure.Panel"})})}),ir=Object.assign(ds,{Button:gs,Panel:bs});function vs(e=0){let[t,n]=p.useState(e),i=p.useCallback(a=>n(s=>s|a),[t]),r=p.useCallback(a=>Boolean(t&a),[t]),o=p.useCallback(a=>n(s=>s&~a),[n]),u=p.useCallback(a=>n(s=>s^a),[n]);return{addFlag:i,hasFlag:r,removeFlag:o,toggleFlag:u}}let Vi=p.createContext(null);function Bi(){let e=p.useContext(Vi);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Bi),t}return e}function or(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(n){let i=$(o=>(t(u=>[...u,o]),()=>t(u=>{let a=u.slice(),s=a.indexOf(o);return s!==-1&&a.splice(s,1),a}))),r=p.useMemo(()=>({register:i,slot:n.slot,name:n.name,props:n.props}),[i,n.slot,n.name,n.props]);return re.default.createElement(Vi.Provider,{value:r},n.children)},[t])]}let hs="label",Ri=fe(function(e,t){let{passive:n=!1,...i}=e,r=Bi(),o=`headlessui-label-${De()}`,u=ge(t);Me(()=>r.register(o),[o,r.register]);let a={ref:u,...r.props,id:o};return n&&("onClick"in a&&delete a.onClick,"onClick"in i&&delete i.onClick),ce({ourProps:a,theirProps:i,slot:r.slot||{},defaultTag:hs,name:r.name||"Label"})});var Is=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Is||{});let ys={[0](e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:en(n,i=>i.element.current)}},[1](e,t){let n=e.options.slice(),i=e.options.findIndex(r=>r.id===t.id);return i===-1?e:(n.splice(i,1),{...e,options:n})}},ar=p.createContext(null);ar.displayName="RadioGroupContext";function ki(e){let t=p.useContext(ar);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ki),n}return t}function Cs(e,t){return Oe(t.type,ys,e,t)}let xs="div",Ms=fe(function(e,t){let{value:n,defaultValue:i,name:r,onChange:o,by:u=(w,L)=>w===L,disabled:a=!1,...s}=e,l=$(typeof u=="string"?(w,L)=>{let B=u;return(w==null?void 0:w[B])===(L==null?void 0:L[B])}:u),[c,d]=p.useReducer(Cs,{options:[]}),g=c.options,[v,b]=or(),[h,I]=on(),C=`headlessui-radiogroup-${De()}`,M=p.useRef(null),A=ge(M,t),[y,x]=Ei(n,o,i),N=p.useMemo(()=>g.find(w=>!w.propsRef.current.disabled),[g]),E=p.useMemo(()=>g.some(w=>l(w.propsRef.current.value,y)),[g,y]),j=$(w=>{var L;if(a||l(w,y))return!1;let B=(L=g.find(Z=>l(Z.propsRef.current.value,w)))==null?void 0:L.propsRef.current;return B!=null&&B.disabled?!1:(x==null||x(w),!0)});Iu({container:M.current,accept(w){return w.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:w.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(w){w.setAttribute("role","none")}});let F=$(w=>{let L=M.current;if(!L)return;let B=ft(L),Z=g.filter(R=>R.propsRef.current.disabled===!1).map(R=>R.element.current);switch(w.key){case se.Enter:Ai(w.currentTarget);break;case se.ArrowLeft:case se.ArrowUp:if(w.preventDefault(),w.stopPropagation(),Re(Z,Ie.Previous|Ie.WrapAround)===rt.Success){let R=g.find(U=>U.element.current===(B==null?void 0:B.activeElement));R&&j(R.propsRef.current.value)}break;case se.ArrowRight:case se.ArrowDown:if(w.preventDefault(),w.stopPropagation(),Re(Z,Ie.Next|Ie.WrapAround)===rt.Success){let R=g.find(U=>U.element.current===(B==null?void 0:B.activeElement));R&&j(R.propsRef.current.value)}break;case se.Space:{w.preventDefault(),w.stopPropagation();let R=g.find(U=>U.element.current===(B==null?void 0:B.activeElement));R&&j(R.propsRef.current.value)}break}}),S=$(w=>(d({type:0,...w}),()=>d({type:1,id:w.id}))),k=p.useMemo(()=>({registerOption:S,firstOption:N,containsCheckedOption:E,change:j,disabled:a,value:y,compare:l}),[S,N,E,j,a,y,l]),W={ref:A,id:C,role:"radiogroup","aria-labelledby":v,"aria-describedby":h,onKeyDown:F},P=p.useMemo(()=>({value:y}),[y]);return f(I,{name:"RadioGroup.Description",children:f(b,{name:"RadioGroup.Label",children:z(ar.Provider,{value:k,children:[r!=null&&y!=null&&Ci({[r]:y}).map(([w,L])=>re.default.createElement(mt,{features:pt.Hidden,...nn({key:w,as:"input",type:"radio",checked:L!=null,hidden:!0,readOnly:!0,name:w,value:L})})),ce({ourProps:W,theirProps:s,slot:P,defaultTag:xs,name:"RadioGroup"})]})})})});var As=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(As||{});let Ns="div",Es=fe(function(e,t){let n=p.useRef(null),i=ge(n,t),r=`headlessui-radiogroup-option-${De()}`,[o,u]=or(),[a,s]=on(),{addFlag:l,removeFlag:c,hasFlag:d}=vs(1),{value:g,disabled:v=!1,...b}=e,h=p.useRef({value:g,disabled:v});Me(()=>{h.current.value=g},[g,h]),Me(()=>{h.current.disabled=v},[v,h]);let{registerOption:I,disabled:C,change:M,firstOption:A,containsCheckedOption:y,value:x,compare:N}=ki("RadioGroup.Option");Me(()=>I({id:r,element:n,propsRef:h}),[r,I,n,e]);let E=$(L=>{var B;if(Ft(L.currentTarget))return L.preventDefault();!M(g)||(l(2),(B=n.current)==null||B.focus())}),j=$(L=>{if(Ft(L.currentTarget))return L.preventDefault();l(2)}),F=$(()=>c(2)),S=(A==null?void 0:A.id)===r,k=C||v,W=N(x,g),P={ref:i,id:r,role:"radio","aria-checked":W?"true":"false","aria-labelledby":o,"aria-describedby":a,"aria-disabled":k?!0:void 0,tabIndex:(()=>k?-1:W||!y&&S?0:-1)(),onClick:k?void 0:E,onFocus:k?void 0:j,onBlur:k?void 0:F},w=p.useMemo(()=>({checked:W,disabled:k,active:d(2)}),[W,k,d]);return f(s,{name:"RadioGroup.Description",children:f(u,{name:"RadioGroup.Label",children:ce({ourProps:P,theirProps:b,slot:w,defaultTag:Ns,name:"RadioGroup.Option"})})})}),Wi=Object.assign(Ms,{Option:Es,Label:Ri,Description:$n}),ur=p.createContext(null);ur.displayName="GroupContext";let ws=p.Fragment;function Ts(e){let[t,n]=p.useState(null),[i,r]=or(),[o,u]=on(),a=p.useMemo(()=>({switch:t,setSwitch:n,labelledby:i,describedby:o}),[t,n,i,o]),s={},l=e;return re.default.createElement(u,{name:"Switch.Description"},re.default.createElement(r,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},re.default.createElement(ur.Provider,{value:a},ce({ourProps:s,theirProps:l,defaultTag:ws,name:"Switch.Group"}))))}let Ss="button",Ds=fe(function(e,t){let{checked:n,defaultChecked:i=!1,onChange:r,name:o,value:u,...a}=e,s=`headlessui-switch-${De()}`,l=p.useContext(ur),c=p.useRef(null),d=ge(c,t,l===null?null:l.setSwitch),[g,v]=Ei(n,r,i),b=$(()=>v==null?void 0:v(!g)),h=$(y=>{if(Ft(y.currentTarget))return y.preventDefault();y.preventDefault(),b()}),I=$(y=>{y.key===se.Space?(y.preventDefault(),b()):y.key===se.Enter&&Ai(y.currentTarget)}),C=$(y=>y.preventDefault()),M=p.useMemo(()=>({checked:g}),[g]),A={id:s,ref:d,role:"switch",type:Xn(e,c),tabIndex:0,"aria-checked":g,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:h,onKeyUp:I,onKeyPress:C};return re.default.createElement(re.default.Fragment,null,o!=null&&g&&re.default.createElement(mt,{features:pt.Hidden,...nn({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:g,name:o,value:u})}),ce({ourProps:A,theirProps:a,slot:M,defaultTag:Ss,name:"Switch"}))}),Os=Object.assign(Ds,{Group:Ts,Label:Ri,Description:$n});function js({onFocus:e}){let[t,n]=p.useState(!0);return t?re.default.createElement(mt,{as:"button",type:"button",features:pt.Focusable,onFocus:i=>{i.preventDefault();let r,o=50;function u(){if(o--<=0){r&&cancelAnimationFrame(r);return}if(e()){n(!1),cancelAnimationFrame(r);return}r=requestAnimationFrame(u)}r=requestAnimationFrame(u)}}):null}var Ps=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Ps||{});let Gs={[0](e,t){let n=e.tabs.filter(o=>{var u;return!((u=o.current)!=null&&u.hasAttribute("disabled"))});if(t.index<0)return{...e,selectedIndex:e.tabs.indexOf(n[0])};if(t.index>e.tabs.length)return{...e,selectedIndex:e.tabs.indexOf(n[n.length-1])};let i=e.tabs.slice(0,t.index),r=[...e.tabs.slice(t.index),...i].find(o=>n.includes(o));return r?{...e,selectedIndex:e.tabs.indexOf(r)}:e},[1](e,t){var n;if(e.tabs.includes(t.tab))return e;let i=e.tabs[e.selectedIndex],r=en([...e.tabs,t.tab],u=>u.current),o=(n=r.indexOf(i))!=null?n:e.selectedIndex;return o===-1&&(o=e.selectedIndex),{...e,tabs:r,selectedIndex:o}},[2](e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},[3](e,t){return e.panels.includes(t.panel)?e:{...e,panels:en([...e.panels,t.panel],n=>n.current)}},[4](e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},sr=p.createContext(null);sr.displayName="TabsSSRContext";function lr(e){let t=p.useContext(sr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,lr),n}return t}let cr=p.createContext(null);cr.displayName="TabsDataContext";function Mt(e){let t=p.useContext(cr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Mt),n}return t}let dr=p.createContext(null);dr.displayName="TabsActionsContext";function fr(e){let t=p.useContext(dr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,fr),n}return t}function Fs(e,t){return Oe(t.type,Gs,e,t)}let Ls=p.Fragment,zs=fe(function(e,t){let{defaultIndex:n=0,vertical:i=!1,manual:r=!1,onChange:o,selectedIndex:u=null,...a}=e;const s=i?"vertical":"horizontal",l=r?"manual":"auto";let c=u!==null,d=ge(t),[g,v]=p.useReducer(Fs,{selectedIndex:u!=null?u:n,tabs:[],panels:[]}),b=p.useMemo(()=>({selectedIndex:g.selectedIndex}),[g.selectedIndex]),h=dt(o||(()=>{})),I=dt(g.tabs),C=p.useMemo(()=>({orientation:s,activation:l,...g}),[s,l,g]),M=dt(c?e.selectedIndex:g.selectedIndex),A=p.useMemo(()=>({registerTab(N){return v({type:1,tab:N}),()=>v({type:2,tab:N})},registerPanel(N){return v({type:3,panel:N}),()=>v({type:4,panel:N})},change(N){M.current!==N&&h.current(N),c||v({type:0,index:N})}}),[v,c]);Me(()=>{v({type:0,index:u!=null?u:n})},[u]);let y=p.useRef({tabs:[],panels:[]}),x={ref:d};return re.default.createElement(sr.Provider,{value:y},re.default.createElement(dr.Provider,{value:A},re.default.createElement(cr.Provider,{value:C},C.tabs.length<=0&&re.default.createElement(js,{onFocus:()=>{var N,E;for(let j of I.current)if(((N=j.current)==null?void 0:N.tabIndex)===0)return(E=j.current)==null||E.focus(),!0;return!1}}),ce({ourProps:x,theirProps:a,slot:b,defaultTag:Ls,name:"Tabs"}))))}),Vs="div",Bs=fe(function(e,t){let{orientation:n,selectedIndex:i}=Mt("Tab.List"),r=ge(t);return ce({ourProps:{ref:r,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:i},defaultTag:Vs,name:"Tabs.List"})}),Rs="button",ks=fe(function(e,t){var n,i;let r=`headlessui-tabs-tab-${De()}`,{orientation:o,activation:u,selectedIndex:a,tabs:s,panels:l}=Mt("Tab"),c=fr("Tab"),d=Mt("Tab"),g=lr("Tab"),v=p.useRef(null),b=ge(v,t);Me(()=>c.registerTab(v),[c,v]);let h=g.current.tabs.indexOf(r);h===-1&&(h=g.current.tabs.push(r)-1);let I=s.indexOf(v);I===-1&&(I=h);let C=I===a,M=$(S=>{var k;let W=S();if(W===rt.Success&&u==="auto"){let P=(k=ft(v))==null?void 0:k.activeElement,w=d.tabs.findIndex(L=>L.current===P);w!==-1&&c.change(w)}return W}),A=$(S=>{let k=s.map(W=>W.current).filter(Boolean);if(S.key===se.Space||S.key===se.Enter){S.preventDefault(),S.stopPropagation(),c.change(I);return}switch(S.key){case se.Home:case se.PageUp:return S.preventDefault(),S.stopPropagation(),M(()=>Re(k,Ie.First));case se.End:case se.PageDown:return S.preventDefault(),S.stopPropagation(),M(()=>Re(k,Ie.Last))}if(M(()=>Oe(o,{vertical(){return S.key===se.ArrowUp?Re(k,Ie.Previous|Ie.WrapAround):S.key===se.ArrowDown?Re(k,Ie.Next|Ie.WrapAround):rt.Error},horizontal(){return S.key===se.ArrowLeft?Re(k,Ie.Previous|Ie.WrapAround):S.key===se.ArrowRight?Re(k,Ie.Next|Ie.WrapAround):rt.Error}}))===rt.Success)return S.preventDefault()}),y=p.useRef(!1),x=$(()=>{var S;y.current||(y.current=!0,(S=v.current)==null||S.focus(),c.change(I),Gt(()=>{y.current=!1}))}),N=$(S=>{S.preventDefault()}),E=p.useMemo(()=>({selected:C}),[C]),j=e,F={ref:b,onKeyDown:A,onMouseDown:N,onClick:x,id:r,role:"tab",type:Xn(e,v),"aria-controls":(i=(n=l[I])==null?void 0:n.current)==null?void 0:i.id,"aria-selected":C,tabIndex:C?0:-1};return ce({ourProps:F,theirProps:j,slot:E,defaultTag:Rs,name:"Tabs.Tab"})}),Ws="div",Ys=fe(function(e,t){let{selectedIndex:n}=Mt("Tab.Panels"),i=ge(t),r=p.useMemo(()=>({selectedIndex:n}),[n]);return ce({ourProps:{ref:i},theirProps:e,slot:r,defaultTag:Ws,name:"Tabs.Panels"})}),Xs="div",Zs=gt.RenderStrategy|gt.Static,Hs=fe(function(e,t){var n,i,r,o;let{selectedIndex:u,tabs:a,panels:s}=Mt("Tab.Panel"),l=fr("Tab.Panel"),c=lr("Tab.Panel"),d=`headlessui-tabs-panel-${De()}`,g=p.useRef(null),v=ge(g,t);Me(()=>l.registerPanel(g),[l,g]);let b=c.current.panels.indexOf(d);b===-1&&(b=c.current.panels.push(d)-1);let h=s.indexOf(g);h===-1&&(h=b);let I=h===u,C=p.useMemo(()=>({selected:I}),[I]),M=e,A={ref:v,id:d,role:"tabpanel","aria-labelledby":(i=(n=a[h])==null?void 0:n.current)==null?void 0:i.id,tabIndex:I?0:-1};return!I&&((r=e.unmount)!=null?r:!0)&&!((o=e.static)!=null&&o)?re.default.createElement(mt,{as:"span",...A}):ce({ourProps:A,theirProps:M,slot:C,defaultTag:Xs,features:Zs,visible:I,name:"Tabs.Panel"})}),Vt=Object.assign(ks,{Group:zs,List:Bs,Panels:Ys,Panel:Hs});function Us({onChange:e,isSelected:t=!1,isDisabled:n,name:i="",...r}){const[o,u]=p.useState(t),a=l=>{u(l),e(l)},s=({checked:l})=>n?"bg-surface-disabled":l?"bg-action-primary-default":"bg-action-primary-disabled";return f(Os,{name:i,checked:o,onChange:a,as:p.Fragment,...r,children:({checked:l})=>z("button",{disabled:n,className:G("relative inline-flex h-6 w-12 items-center rounded-full",s({checked:l})),children:[f("span",{className:"sr-only"}),f("span",{className:G("inline-block h-4 w-4 transform rounded-full transition",l?"translate-x-7":"translate-x-1",n?"bg-icon-disabled":"bg-icon-on")})]})})}function le({children:e,size:t="sm",className:n,cursor:i,...r}){const o=G({"w-sm w-sm":t==="sm","w-xl h-xl":t==="md","h-[60px] h-[60px]":t==="lg"});return f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",className:G(o,n,i==="pointer"?"cursor-pointer":"","inline"),...r,children:e})}function Fe({kind:e,color:t,...n}){const i=G({"fill-icon-default":t==="default","fill-icon-success":t==="success","fill-icon-warning":t==="warning","fill-icon-disabled":t==="disabled","fill-icon-active":t==="active","fill-icon-subdued":t==="subdued","fill-icon-critical":t==="critical","fill-action-primary-default":t==="primary"}),r=G(i,!t&&"fill-current");switch(e){case"shipping":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.6 10.8h-.4V8.1c0-.3-.15-.625-.375-.85L12.35 4.775c-.225-.225-.55-.375-.85-.375h-1.1V3.2c0-.65-.55-1.2-1.2-1.2h-8A1.2 1.2 0 000 3.2v8c0 .675.525 1.2 1.2 1.2h.4a2.4 2.4 0 004.8 0h3.2a2.4 2.4 0 004.8 0h1.2c.2 0 .4-.175.4-.4v-.8c0-.2-.2-.4-.4-.4zM4 13.6c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2A1.2 1.2 0 014 13.6zm8 0c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2a1.2 1.2 0 01-1.2 1.2zm2-5.2h-3.6V5.6h1.1L14 8.1v.3z"})});case"home":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M7.792 5.217L2.69 9.432v4.52c0 .249.194.443.443.443H6.24c.222 0 .416-.194.416-.444V11.29c0-.221.222-.443.444-.443h1.774c.25 0 .444.222.444.443v2.662c0 .25.222.444.444.444h3.133a.456.456 0 00.444-.444V9.404l-5.13-4.187a.3.3 0 00-.194-.084.315.315 0 00-.222.084zm8.07 2.856L13.56 6.159V2.333A.337.337 0 0013.227 2h-1.553a.32.32 0 00-.333.333v1.996L8.846 2.277a1.426 1.426 0 00-1.692 0L.14 8.073a.33.33 0 00-.139.25c0 .083.055.166.083.221l.721.86c.056.083.139.11.25.11a.315.315 0 00.222-.082L7.792 4.08a.315.315 0 01.222-.083.3.3 0 01.194.083l6.516 5.352a.315.315 0 00.222.083c.111 0 .194-.028.25-.111l.72-.86A.315.315 0 0016 8.322a.331.331 0 00-.139-.25z"})});case"menu":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M0 2.123C0 1.502.51 1 1.143 1h13.714C15.49 1 16 1.502 16 2.123c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 2.123zm0 5.614c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123 0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 7.737zm16 5.614c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 13.35c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123z"})});case"notifications":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8.006 16c1.094 0 1.969-.875 1.969-2h-3.97c0 1.125.876 2 2 2zm6.719-4.656c-.594-.656-1.75-1.625-1.75-4.844 0-2.406-1.688-4.344-4-4.844V1c0-.531-.438-1-.97-1-.562 0-1 .469-1 1v.656c-2.312.5-4 2.438-4 4.844 0 3.219-1.155 4.188-1.75 4.844-.187.187-.28.437-.25.656 0 .531.376 1 1 1h11.97c.625 0 1-.469 1.03-1a.952.952 0 00-.28-.656z"})});case"novelty":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.826 13.25L9.154 1.657c-.5-.862-1.807-.89-2.308 0L.174 13.25c-.5.862.139 1.974 1.167 1.974H14.66a1.323 1.323 0 001.167-1.974zm-7.812-2.418c.695 0 1.279.583 1.279 1.278 0 .723-.584 1.28-1.28 1.28a1.258 1.258 0 01-1.278-1.28c0-.695.556-1.278 1.279-1.278zM6.79 6.244c-.028-.194.139-.361.333-.361h1.752c.194 0 .361.167.333.361l-.194 3.781c-.028.195-.167.306-.334.306H7.32c-.167 0-.306-.111-.334-.306l-.194-3.78z"})});case"help":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8.194 2.645c1.838 0 3.774 1.42 3.774 3.29 0 2.517-2.678 2.549-2.678 3.452v.032a.392.392 0 01-.387.387H7.097a.373.373 0 01-.387-.387V9.29c0-1.322 1-1.838 1.742-2.258.645-.355 1.064-.613 1.064-1.097 0-.645-.839-1.064-1.484-1.064-.87 0-1.258.42-1.838 1.161a.403.403 0 01-.549.065l-1.129-.839c-.161-.129-.193-.355-.064-.548.87-1.323 2-2.065 3.742-2.065zm-.194 8a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 13.613a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 10.645z"})});case"see-more":return f(le,{...n,children:f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M4 8a2 2 0 11-4.001-.001A2 2 0 014 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0110 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0116 8z",clipRule:"evenodd"})});case"info":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8 0C3.58 0 0 3.613 0 8c0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8 0-4.387-3.613-8-8-8zm0 3.548c.742 0 1.355.613 1.355 1.355 0 .774-.613 1.355-1.355 1.355-.774 0-1.355-.58-1.355-1.355 0-.742.58-1.355 1.355-1.355zm1.806 8.194a.392.392 0 01-.387.387H6.581a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h.387V8.516H6.58a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h2.064c.194 0 .387.193.387.387v3.226h.387c.194 0 .387.193.387.387v.774z"})});case"alert":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8 9.613a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 12.58a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 9.613zM6.58 4.29c-.032-.225.162-.419.388-.419H9c.226 0 .42.194.387.42l-.226 4.386c-.032.226-.193.355-.387.355h-1.58c-.194 0-.355-.129-.388-.355L6.581 4.29z"})});case"eye":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.916 7.969c-1.502-2.76-4.507-4.636-7.902-4.636-3.423 0-6.428 1.875-7.93 4.636A.787.787 0 000 8.333c0 .156.028.287.083.39 1.503 2.761 4.508 4.61 7.93 4.61 3.396 0 6.4-1.849 7.903-4.61A.787.787 0 0016 8.36a.822.822 0 00-.084-.39zm-7.902 4.114c-2.226 0-4.007-1.666-4.007-3.75 0-2.057 1.78-3.75 4.007-3.75 2.198 0 4.007 1.693 4.007 3.75v.026c0 2.058-1.809 3.75-4.007 3.75v-.026zm0-6.25c-.25.026-.501.052-.724.104.167.209.25.47.25.756 0 .677-.583 1.224-1.307 1.224-.306 0-.584-.079-.807-.235a2.612 2.612 0 00-.083.651c0 1.38 1.196 2.5 2.67 2.5 1.476 0 2.672-1.12 2.672-2.5S9.49 5.86 8.014 5.86v-.026z"})});case"date":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M1.848 6c-.203 0-.348.188-.348.375V14.5c0 .844.61 1.5 1.393 1.5h10.214c.755 0 1.393-.656 1.393-1.5V6.375c0-.188-.174-.375-.348-.375H1.848zM14.5 4.625V3.5c0-.813-.638-1.5-1.393-1.5h-1.393V.375c0-.188-.174-.375-.348-.375h-1.16c-.204 0-.349.188-.349.375V2H6.143V.375C6.143.187 5.969 0 5.795 0H4.634c-.203 0-.348.188-.348.375V2H2.893C2.109 2 1.5 2.688 1.5 3.5v1.125c0 .219.145.375.348.375h12.304c.174 0 .348-.156.348-.375z"})});case"search":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.883 14.635L12.1 10.859c-.094-.062-.188-.125-.282-.125h-.406a6.527 6.527 0 001.594-4.244c0-3.557-2.939-6.49-6.503-6.49C2.908 0 0 2.933 0 6.49a6.492 6.492 0 006.503 6.491 6.592 6.592 0 004.252-1.56v.405c0 .094.031.188.094.281l3.783 3.776c.157.156.407.156.532 0l.719-.718c.156-.124.156-.374 0-.53zm-9.38-3.152A4.972 4.972 0 011.501 6.49a4.992 4.992 0 015.002-4.992c2.752 0 5.003 2.247 5.003 4.992a4.992 4.992 0 01-5.003 4.993z"})});case"delete":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M10.264 7.983l3.404-3.404a1.011 1.011 0 000-1.498l-.749-.75a1.01 1.01 0 00-1.498 0L8.017 5.737 4.579 2.332a1.01 1.01 0 00-1.498 0l-.75.749a1.01 1.01 0 000 1.498l3.405 3.404-3.404 3.438a1.01 1.01 0 000 1.498l.749.75c.408.442 1.09.442 1.498 0l3.438-3.405 3.404 3.404a1.01 1.01 0 001.498 0l.75-.749a1.01 1.01 0 000-1.498l-3.405-3.438z"})});case"more-less":return z(le,{...n,children:[f("path",{className:r,fill:"none",d:"M12.286 3.929H9.07V.714A.734.734 0 008.357 0h-.714a.72.72 0 00-.714.714V3.93H3.714A.72.72 0 003 4.643v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V6.07h3.215A.72.72 0 0013 5.357v-.714a.734.734 0 00-.714-.714z"}),f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 15.214c0-.394.373-.714.833-.714h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})]});case"down":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M7.47 12.267a.755.755 0 001.06 0l6.254-6.222c.288-.321.288-.802 0-1.09l-.738-.739c-.289-.288-.77-.288-1.09 0l-4.94 4.94-4.971-4.94c-.321-.288-.802-.288-1.09 0l-.739.738c-.288.289-.288.77 0 1.09l6.255 6.223z"})});case"up":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8.53 3.733a.755.755 0 00-1.06 0L1.217 9.955c-.288.321-.288.802 0 1.09l.738.739c.289.288.77.288 1.09 0l4.94-4.94 4.971 4.94c.321.288.802.288 1.09 0l.739-.738c.288-.289.288-.77 0-1.09L8.529 3.732z"})});case"back":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M3.733 7.47a.755.755 0 000 1.06l6.222 6.254c.321.288.802.288 1.09 0l.739-.738c.288-.289.288-.77 0-1.09l-4.94-4.94 4.94-4.971c.288-.321.288-.802 0-1.09l-.738-.739c-.289-.288-.77-.288-1.09 0L3.732 7.471z"})});case"front":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M12.267 8.53a.755.755 0 000-1.06L6.045 1.217c-.321-.288-.802-.288-1.09 0l-.739.738c-.288.289-.288.77 0 1.09l4.94 4.94-4.94 4.971c-.288.321-.288.802 0 1.09l.738.739c.289.288.77.288 1.09 0l6.223-6.255z"})});case"major-minor":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M13.429 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.862 1.048V.75c0-.414-.306-.75-.685-.75-.38 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.068.367.177.5l-.001.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zM7.309 2.748L5.254.248 5.25.25A.658.658 0 004.743 0a.658.658 0 00-.508.25L4.233.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.001.002.862-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"minor-major":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M7.486 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.861 1.048V.75c0-.414-.307-.75-.686-.75-.379 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.069.367.178.5l-.002.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zm5.88-10.002L11.31.248l-.002.002A.658.658 0 0010.8 0a.658.658 0 00-.508.25L10.29.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.002.002.861-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"create":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M13.143 6.714H9.286V2.857A.881.881 0 008.429 2H7.57a.863.863 0 00-.857.857v3.857H2.857A.863.863 0 002 7.571v.858c0 .482.375.857.857.857h3.857v3.857c0 .482.375.857.857.857h.858a.863.863 0 00.857-.857V9.286h3.857A.863.863 0 0014 8.429V7.57a.881.881 0 00-.857-.857z"})});case"success":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8 16a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm3.531-9.469l-4 4a.747.747 0 01-1.06 0l-2-2a.75.75 0 011.06-1.06L7 8.942l3.469-3.472a.75.75 0 011.06 1.06l.002.002z"})});case"error":return f(le,{...n,children:f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M7.18.373L.314 7.336A1.091 1.091 0 00.32 8.874l6.758 6.758c.42.42 1.098.427 1.527.016l7.059-6.77a1.091 1.091 0 00.016-1.558L8.73.368A1.091 1.091 0 007.18.373zM9.39 10.585c0-.716-.601-1.317-1.316-1.317-.745 0-1.317.601-1.317 1.317 0 .744.572 1.316 1.317 1.316.715 0 1.316-.572 1.316-1.316zm-2.232-6.41c-.2 0-.372.171-.344.371l.2 3.893c.03.2.172.314.344.314H8.76c.172 0 .315-.114.344-.314l.2-3.893c.029-.2-.143-.372-.343-.372H7.157z",clipRule:"evenodd"})});case"more":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M12.286 6.929H9.07V3.714A.734.734 0 008.357 3h-.714a.72.72 0 00-.714.714V6.93H3.714A.72.72 0 003 7.643v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V9.07h3.215A.72.72 0 0013 8.357v-.714a.734.734 0 00-.714-.714z"})});case"less":return f(le,{...n,children:f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 7.714C3 7.32 3.373 7 3.833 7h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})});default:return f(Ge,{})}}function Yi(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function Bt(e){return e.split("-")[0]}function un(e){return e.split("-")[1]}function Rt(e){return["top","bottom"].includes(Bt(e))?"x":"y"}function gr(e){return e==="y"?"height":"width"}function Xi(e,t,n){let{reference:i,floating:r}=e;const o=i.x+i.width/2-r.width/2,u=i.y+i.height/2-r.height/2,a=Rt(t),s=gr(a),l=i[s]/2-r[s]/2,c=Bt(t),d=a==="x";let g;switch(c){case"top":g={x:o,y:i.y-r.height};break;case"bottom":g={x:o,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:u};break;case"left":g={x:i.x-r.width,y:u};break;default:g={x:i.x,y:i.y}}switch(un(t)){case"start":g[a]-=l*(n&&d?-1:1);break;case"end":g[a]+=l*(n&&d?-1:1);break}return g}const Qs=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:u}=n,a=o.filter(Boolean),s=await(u.isRTL==null?void 0:u.isRTL(t));if(process.env.NODE_ENV!=="production"){if(u==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),a.filter(h=>{let{name:I}=h;return I==="autoPlacement"||I==="flip"}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));(!e||!t)&&console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let l=await u.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=Xi(l,i,s),g=i,v={},b=0;for(let h=0;h<a.length;h++){const{name:I,fn:C}=a[h],{x:M,y:A,data:y,reset:x}=await C({x:c,y:d,initialPlacement:i,placement:g,strategy:r,middlewareData:v,rects:l,platform:u,elements:{reference:e,floating:t}});if(c=M!=null?M:c,d=A!=null?A:d,v={...v,[I]:{...v[I],...y}},process.env.NODE_ENV!=="production"&&b>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),x&&b<=50){b++,typeof x=="object"&&(x.placement&&(g=x.placement),x.rects&&(l=x.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:c,y:d}=Xi(l,g,s)),h=-1;continue}}return{x:c,y:d,placement:g,strategy:r,middlewareData:v}};function Js(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zi(e){return typeof e!="number"?Js(e):{top:e,right:e,bottom:e,left:e}}function sn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Hi(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:o,rects:u,elements:a,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:g=!1,padding:v=0}=t,b=Zi(v),I=a[g?d==="floating"?"reference":"floating":d],C=sn(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(I)))==null||n?I:I.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:s})),M=sn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...u.floating,x:i,y:r}:u.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:s}):u[d]);return{top:C.top-M.top+b.top,bottom:M.bottom-C.bottom+b.bottom,left:C.left-M.left+b.left,right:M.right-C.right+b.right}}const _s=Math.min,$s=Math.max;function pr(e,t,n){return $s(e,_s(t,n))}const Ui=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:i=0}=e!=null?e:{},{x:r,y:o,placement:u,rects:a,platform:s}=t;if(n==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const l=Zi(i),c={x:r,y:o},d=Rt(u),g=un(u),v=gr(d),b=await s.getDimensions(n),h=d==="y"?"top":"left",I=d==="y"?"bottom":"right",C=a.reference[v]+a.reference[d]-c[d]-a.floating[v],M=c[d]-a.reference[d],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(n));let y=A?d==="y"?A.clientHeight||0:A.clientWidth||0:0;y===0&&(y=a.floating[v]);const x=C/2-M/2,N=l[h],E=y-b[v]-l[I],j=y/2-b[v]/2+x,F=pr(N,j,E),W=(g==="start"?l[h]:l[I])>0&&j!==F&&a.reference[v]<=a.floating[v]?j<N?N-j:E-j:0;return{[d]:c[d]-W,data:{[d]:F,centerOffset:j-F}}}}),Ks={left:"right",right:"left",bottom:"top",top:"bottom"};function ln(e){return e.replace(/left|right|bottom|top/g,t=>Ks[t])}function qs(e,t,n){n===void 0&&(n=!1);const i=un(e),r=Rt(e),o=gr(r);let u=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(u=ln(u)),{main:u,cross:ln(u)}}const el={start:"end",end:"start"};function Qi(e){return e.replace(/start|end/g,t=>el[t])}function tl(e){const t=ln(e);return[Qi(e),t,Qi(t)]}const nl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:i,middlewareData:r,rects:o,initialPlacement:u,platform:a,elements:s}=t,{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",flipAlignment:v=!0,...b}=e,h=Bt(i),C=d||(h===u||!v?[ln(u)]:tl(u)),M=[u,...C],A=await Hi(t,b),y=[];let x=((n=r.flip)==null?void 0:n.overflows)||[];if(l&&y.push(A[h]),c){const{main:F,cross:S}=qs(i,o,await(a.isRTL==null?void 0:a.isRTL(s.floating)));y.push(A[F],A[S])}if(x=[...x,{placement:i,overflows:y}],!y.every(F=>F<=0)){var N,E;const F=((N=(E=r.flip)==null?void 0:E.index)!=null?N:0)+1,S=M[F];if(S)return{data:{index:F,overflows:x},reset:{placement:S}};let k="bottom";switch(g){case"bestFit":{var j;const W=(j=x.map(P=>[P,P.overflows.filter(w=>w>0).reduce((w,L)=>w+L,0)]).sort((P,w)=>P[1]-w[1])[0])==null?void 0:j[0].placement;W&&(k=W);break}case"initialPlacement":k=u;break}if(i!==k)return{reset:{placement:k}}}return{}}}};async function rl(e,t){const{placement:n,platform:i,elements:r}=e,o=await(i.isRTL==null?void 0:i.isRTL(r.floating)),u=Bt(n),a=un(n),s=Rt(n)==="x",l=["left","top"].includes(u)?-1:1,c=o&&s?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:g,crossAxis:v,alignmentAxis:b}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof b=="number"&&(v=a==="end"?b*-1:b),s?{x:v*c,y:g*l}:{x:g*l,y:v*c}}const il=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,r=await rl(t,e);return{x:n+r.x,y:i+r.y,data:r}}}};function ol(e){return e==="x"?"y":"x"}const al=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:o=!0,crossAxis:u=!1,limiter:a={fn:I=>{let{x:C,y:M}=I;return{x:C,y:M}}},...s}=e,l={x:n,y:i},c=await Hi(t,s),d=Rt(Bt(r)),g=ol(d);let v=l[d],b=l[g];if(o){const I=d==="y"?"top":"left",C=d==="y"?"bottom":"right",M=v+c[I],A=v-c[C];v=pr(M,v,A)}if(u){const I=g==="y"?"top":"left",C=g==="y"?"bottom":"right",M=b+c[I],A=b-c[C];b=pr(M,b,A)}const h=a.fn({...t,[d]:v,[g]:b});return{...h,data:{x:h.x-n,y:h.y-i}}}}};function Ji(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Qe(e){if(e==null)return window;if(!Ji(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Je(e){return Qe(e).getComputedStyle(e)}function ot(e){return Ji(e)?"":e?(e.nodeName||"").toLowerCase():""}function _i(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function _e(e){return e instanceof Qe(e).HTMLElement}function $e(e){return e instanceof Qe(e).Element}function ul(e){return e instanceof Qe(e).Node}function $i(e){if(typeof ShadowRoot>"u")return!1;const t=Qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cn(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Je(e);return/auto|scroll|overlay|hidden/.test(t+i+n)&&!["inline","contents"].includes(r)}function sl(e){return["table","td","th"].includes(ot(e))}function mr(e){const t=/firefox/i.test(_i()),n=Je(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||(i?i!=="none":!1)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const o=n.contain;return o!=null?o.includes(r):!1})}function Ki(){return!/^((?!chrome|android).)*safari/i.test(_i())}function br(e){return["html","body","#document"].includes(ot(e))}const qi=Math.min,kt=Math.max,dn=Math.round;function Ke(e,t,n){var i,r,o,u;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let s=1,l=1;t&&_e(e)&&(s=e.offsetWidth>0&&dn(a.width)/e.offsetWidth||1,l=e.offsetHeight>0&&dn(a.height)/e.offsetHeight||1);const c=$e(e)?Qe(e):window,d=!Ki()&&n,g=(a.left+(d&&(i=(r=c.visualViewport)==null?void 0:r.offsetLeft)!=null?i:0))/s,v=(a.top+(d&&(o=(u=c.visualViewport)==null?void 0:u.offsetTop)!=null?o:0))/l,b=a.width/s,h=a.height/l;return{width:b,height:h,top:v,right:g+b,bottom:v+h,left:g,x:g,y:v}}function at(e){return((ul(e)?e.ownerDocument:e.document)||window.document).documentElement}function fn(e){return $e(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function eo(e){return Ke(at(e)).left+fn(e).scrollLeft}function ll(e){const t=Ke(e);return dn(t.width)!==e.offsetWidth||dn(t.height)!==e.offsetHeight}function cl(e,t,n){const i=_e(t),r=at(t),o=Ke(e,i&&ll(t),n==="fixed");let u={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&n!=="fixed")if((ot(t)!=="body"||cn(r))&&(u=fn(t)),_e(t)){const s=Ke(t,!0);a.x=s.x+t.clientLeft,a.y=s.y+t.clientTop}else r&&(a.x=eo(r));return{x:o.left+u.scrollLeft-a.x,y:o.top+u.scrollTop-a.y,width:o.width,height:o.height}}function Wt(e){if(ot(e)==="html")return e;const t=e.assignedSlot||e.parentNode||($i(e)?e.host:null)||at(e);return $i(t)?t.host:t}function to(e){return!_e(e)||Je(e).position==="fixed"?null:e.offsetParent}function dl(e){let t=Wt(e);for(;_e(t)&&!br(t);){if(mr(t))return t;t=Wt(t)}return null}function no(e){const t=Qe(e);let n=to(e);for(;n&&sl(n)&&Je(n).position==="static";)n=to(n);return n&&(ot(n)==="html"||ot(n)==="body"&&Je(n).position==="static"&&!mr(n))?t:n||dl(e)||t}function fl(e){if(_e(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ke(e);return{width:t.width,height:t.height}}function gl(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=_e(n),o=at(n);if(n===o)return t;let u={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&i!=="fixed")&&((ot(n)!=="body"||cn(o))&&(u=fn(n)),_e(n))){const s=Ke(n,!0);a.x=s.x+n.clientLeft,a.y=s.y+n.clientTop}return{...t,x:t.x-u.scrollLeft+a.x,y:t.y-u.scrollTop+a.y}}function pl(e,t){const n=Qe(e),i=at(e),r=n.visualViewport;let o=i.clientWidth,u=i.clientHeight,a=0,s=0;if(r){o=r.width,u=r.height;const l=Ki();(l||!l&&t==="fixed")&&(a=r.offsetLeft,s=r.offsetTop)}return{width:o,height:u,x:a,y:s}}function ml(e){var t;const n=at(e),i=fn(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=kt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=kt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-i.scrollLeft+eo(e);const s=-i.scrollTop;return Je(r||n).direction==="rtl"&&(a+=kt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:u,x:a,y:s}}function ro(e){const t=Wt(e);return br(t)?e.ownerDocument.body:_e(t)&&cn(t)?t:ro(t)}function ut(e,t){var n;t===void 0&&(t=[]);const i=ro(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),o=Qe(i),u=r?[o].concat(o.visualViewport||[],cn(i)?i:[]):i,a=t.concat(u);return r?a:a.concat(ut(u))}function bl(e,t){const n=Ke(e,!1,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:i,left:r,x:r,y:i,right:r+e.clientWidth,bottom:i+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function io(e,t,n){return t==="viewport"?sn(pl(e,n)):$e(t)?bl(t,n):sn(ml(at(e)))}function vl(e){let t=ut(e).filter(o=>$e(o)&&ot(o)!=="body"),n=null;const i=Je(e).position==="fixed";let r=i?Wt(e):e;for(;$e(r)&&!br(r);){const o=Je(r),u=mr(r);(i?!u&&!n:!u&&o.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?t=t.filter(s=>s!==r):n=o,r=Wt(r)}return t}function hl(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const u=[...n==="clippingAncestors"?vl(t):[].concat(n),i],a=u[0],s=u.reduce((l,c)=>{const d=io(t,c,r);return l.top=kt(d.top,l.top),l.right=qi(d.right,l.right),l.bottom=qi(d.bottom,l.bottom),l.left=kt(d.left,l.left),l},io(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const Il={getClippingRect:hl,convertOffsetParentRelativeRectToViewportRelativeRect:gl,isElement:$e,getDimensions:fl,getOffsetParent:no,getDocumentElement:at,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||no,o=this.getDimensions;return{reference:cl(t,await r(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Je(e).direction==="rtl"};function oo(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:u=!0,animationFrame:a=!1}=i,s=r&&!a,l=s||o?[...$e(e)?ut(e):e.contextElement?ut(e.contextElement):[],...ut(t)]:[];l.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});let c=null;if(u){let b=!0;c=new ResizeObserver(()=>{b||n(),b=!1}),$e(e)&&!a&&c.observe(e),!$e(e)&&e.contextElement&&!a&&c.observe(e.contextElement),c.observe(t)}let d,g=a?Ke(e):null;a&&v();function v(){const b=Ke(e);g&&(b.x!==g.x||b.y!==g.y||b.width!==g.width||b.height!==g.height)&&n(),g=b,d=requestAnimationFrame(v)}return n(),()=>{var b;l.forEach(h=>{s&&h.removeEventListener("scroll",n),o&&h.removeEventListener("resize",n)}),(b=c)==null||b.disconnect(),c=null,a&&cancelAnimationFrame(d)}}const yl=(e,t,n)=>Qs(e,t,{platform:Il,...n});var vr=typeof document<"u"?p.useLayoutEffect:p.useEffect;function gn(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 n,i,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(!gn(e[i],t[i]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[i]))return!1;for(i=n;i--!==0;){const o=r[i];if(!(o==="_owner"&&e.$$typeof)&&!gn(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Cl(e){const t=O.useRef(e);return vr(()=>{t.current=e}),t}function xl(e){let{middleware:t=[],placement:n="bottom",strategy:i="absolute",whileElementsMounted:r}=e===void 0?{}:e;const[o,u]=O.useState({x:null,y:null,strategy:i,placement:n,middlewareData:{}}),[a,s]=O.useState(t);gn(a,t)||s(t);const l=O.useRef(null),c=O.useRef(null),d=O.useRef(null),g=O.useRef(o),v=Cl(r),b=O.useCallback(()=>{!l.current||!c.current||yl(l.current,c.current,{middleware:a,placement:n,strategy:i}).then(y=>{h.current&&!gn(g.current,y)&&(g.current=y,ru.flushSync(()=>{u(y)}))})},[a,n,i]);vr(()=>{h.current&&b()},[b]);const h=O.useRef(!1);vr(()=>(h.current=!0,()=>{h.current=!1}),[]);const I=O.useCallback(()=>{if(typeof d.current=="function"&&(d.current(),d.current=null),l.current&&c.current)if(v.current){const y=v.current(l.current,c.current,b);d.current=y}else b()},[b,v]),C=O.useCallback(y=>{l.current=y,I()},[I]),M=O.useCallback(y=>{c.current=y,I()},[I]),A=O.useMemo(()=>({reference:l,floating:c}),[]);return O.useMemo(()=>({...o,update:b,refs:A,reference:C,floating:M}),[o,b,A,C,M])}const Ml=e=>{const{element:t,padding:n}=e;function i(r){return Object.prototype.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){return i(t)?t.current!=null?Ui({element:t.current,padding:n}).fn(r):{}:t?Ui({element:t,padding:n}).fn(r):{}}}};var bt=typeof document<"u"?p.useLayoutEffect:p.useEffect;function Al(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(r=>r(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(i=>i!==n))}}}let hr=!1,Nl=0;const ao=()=>"floating-ui-"+Nl++;function El(){const[e,t]=O.useState(()=>hr?ao():void 0);return bt(()=>{e==null&&t(ao())},[]),O.useEffect(()=>{hr||(hr=!0)},[]),e}const uo=O["useId".toString()],so=uo!=null?uo:El,wl=O.createContext(null),Tl=O.createContext(null),lo=()=>{var e,t;return(e=(t=O.useContext(wl))==null?void 0:t.id)!=null?e:null},Ir=()=>O.useContext(Tl);function st(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function co(e){var t;return(t=st(e).defaultView)!=null?t:window}function vt(e){return e?e instanceof co(e).Element:!1}function Sl(e){return e?e instanceof co(e).HTMLElement:!1}const fo=O["useInsertionEffect".toString()];function Dl(e){const t=O.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return fo?fo(()=>{t.current=e}):t.current=e,O.useCallback(function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.current==null?void 0:t.current(...i)},[])}function Ol(e){let{open:t=!1,onOpenChange:n,whileElementsMounted:i,placement:r,middleware:o,strategy:u,nodeId:a}=e===void 0?{}:e;const[s,l]=O.useState(null),c=Ir(),d=O.useRef(null),g=O.useRef({}),v=O.useState(()=>Al())[0],b=xl({placement:r,middleware:o,strategy:u,whileElementsMounted:i}),h=Dl(n),I=O.useMemo(()=>({...b.refs,domReference:d}),[b.refs]),C=O.useMemo(()=>({...b,refs:I,dataRef:g,nodeId:a,events:v,open:t,onOpenChange:h,_:{domReference:s}}),[b,a,v,t,h,I,s]);bt(()=>{const y=c==null?void 0:c.nodesRef.current.find(x=>x.id===a);y&&(y.context=C)});const{reference:M}=b,A=O.useCallback(y=>{(vt(y)||y===null)&&(C.refs.domReference.current=y,l(y)),M(y)},[M,C.refs]);return O.useMemo(()=>({...b,context:C,refs:I,reference:A}),[b,I,C,A])}function yr(e,t,n){const i=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(r=>r?r[n]:null).concat(e).reduce((r,o)=>(o&&Object.entries(o).forEach(u=>{let[a,s]=u;if(a.indexOf("on")===0){if(i.has(a)||i.set(a,[]),typeof s=="function"){var l;(l=i.get(a))==null||l.push(s),r[a]=function(){for(var c,d=arguments.length,g=new Array(d),v=0;v<d;v++)g[v]=arguments[v];(c=i.get(a))==null||c.forEach(b=>b(...g))}}}else r[a]=s}),r),{})}}const jl=function(e){e===void 0&&(e=[]);const t=e,n=O.useCallback(o=>yr(o,e,"reference"),t),i=O.useCallback(o=>yr(o,e,"floating"),t),r=O.useCallback(o=>yr(o,e,"item"),t);return O.useMemo(()=>({getReferenceProps:n,getFloatingProps:i,getItemProps:r}),[n,i,r])};function Cr(e,t){var n;let i=(n=e.filter(u=>{var a;return u.parentId===t&&((a=u.context)==null?void 0:a.open)}))!=null?n:[],r=i;for(;r.length;){var o;r=(o=e.filter(u=>{var a;return(a=r)==null?void 0:a.some(s=>{var l;return u.parentId===s.id&&((l=u.context)==null?void 0:l.open)})}))!=null?o:[],i=i.concat(r)}return i}const go="floating-ui-root",Pl=function(e){let{id:t=go,enabled:n=!0}=e===void 0?{}:e;const[i,r]=O.useState(null);return bt(()=>{if(!n)return;const o=document.getElementById(t);if(o)r(o);else{const u=document.createElement("div");u.id=t,r(u),document.body.contains(u)||document.body.appendChild(u)}},[t,n]),i},Gl=e=>{let{children:t,id:n=go,root:i=null}=e;const r=Pl({id:n,enabled:!i});return i?Ot.createPortal(t,i):r?Ot.createPortal(t,r):null};function Fl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function po(e){const t=p.useRef(e);return bt(()=>{t.current=e}),t}function Ll(e){const t=p.useRef();return bt(()=>{t.current=e},[e]),t.current}function xr(e,t,n){return n&&n!=="mouse"?0:typeof e=="number"?e:e==null?void 0:e[t]}const zl=function(e,t){let{enabled:n=!0,delay:i=0,handleClose:r=null,mouseOnly:o=!1,restMs:u=0,move:a=!0}=t===void 0?{}:t;const{open:s,onOpenChange:l,dataRef:c,events:d,refs:g,_:v}=e,b=Ir(),h=lo(),I=po(r),C=po(i),M=Ll(s),A=O.useRef(),y=O.useRef(),x=O.useRef(),N=O.useRef(),E=O.useRef(!0),j=O.useRef(!1),F=O.useCallback(()=>{var P;const w=(P=c.current.openEvent)==null?void 0:P.type;return(w==null?void 0:w.includes("mouse"))&&w!=="mousedown"},[c]);O.useEffect(()=>{if(!n)return;function P(){clearTimeout(y.current),clearTimeout(N.current),E.current=!0}return d.on("dismiss",P),()=>{d.off("dismiss",P)}},[n,d,g]),O.useEffect(()=>{if(!n||!I.current)return;function P(){F()&&l(!1)}const w=st(g.floating.current).documentElement;return w.addEventListener("mouseleave",P),()=>{w.removeEventListener("mouseleave",P)}},[g,l,n,I,c,F]);const S=O.useCallback(function(P){P===void 0&&(P=!0);const w=xr(C.current,"close",A.current);w&&!x.current?(clearTimeout(y.current),y.current=setTimeout(()=>l(!1),w)):P&&(clearTimeout(y.current),l(!1))},[C,l]),k=O.useCallback(()=>{x.current&&(st(g.floating.current).removeEventListener("pointermove",x.current),x.current=void 0)},[g]),W=O.useCallback(()=>{st(g.floating.current).body.style.pointerEvents="",j.current=!1},[g]);return O.useEffect(()=>{if(!n)return;function P(){return c.current.openEvent?["click","mousedown"].includes(c.current.openEvent.type):!1}function w(U){if(clearTimeout(y.current),E.current=!1,o&&A.current!=="mouse"||u>0&&xr(C.current,"open")===0)return;c.current.openEvent=U;const de=xr(C.current,"open",A.current);de?y.current=setTimeout(()=>{l(!0)},de):l(!0)}function L(U){if(P())return;const de=st(g.floating.current);if(clearTimeout(N.current),I.current){clearTimeout(y.current),x.current&&de.removeEventListener("pointermove",x.current),x.current=I.current({...e,tree:b,x:U.clientX,y:U.clientY,onClose(){W(),k(),S()}}),de.addEventListener("pointermove",x.current);return}S()}function B(U){P()||I.current==null||I.current({...e,tree:b,x:U.clientX,y:U.clientY,leave:!0,onClose(){W(),k(),S()}})(U)}const Z=g.floating.current,R=g.domReference.current;if(vt(R))return s&&R.addEventListener("mouseleave",B),Z==null||Z.addEventListener("mouseleave",B),a&&R.addEventListener("mousemove",w,{once:!0}),R.addEventListener("mouseenter",w),R.addEventListener("mouseleave",L),()=>{s&&R.removeEventListener("mouseleave",B),Z==null||Z.removeEventListener("mouseleave",B),a&&R.removeEventListener("mousemove",w),R.removeEventListener("mouseenter",w),R.removeEventListener("mouseleave",L)}},[v.domReference,n,e,o,u,a,S,k,W,l,s,b,g,C,I,c]),bt(()=>{if(!!n&&s&&I.current&&I.current.__options.blockPointerEvents&&F()){st(g.floating.current).body.style.pointerEvents="none",j.current=!0;const L=g.domReference.current,B=g.floating.current;if(vt(L)&&B){var P,w;const Z=b==null||(P=b.nodesRef.current.find(R=>R.id===h))==null||(w=P.context)==null?void 0:w.refs.floating.current;return Z&&(Z.style.pointerEvents=""),L.style.pointerEvents="auto",B.style.pointerEvents="auto",()=>{L.style.pointerEvents="",B.style.pointerEvents=""}}}},[n,s,h,g,b,I,c,F]),bt(()=>{M&&!s&&(A.current=void 0,k(),W())}),O.useEffect(()=>()=>{k(),clearTimeout(y.current),clearTimeout(N.current),j.current&&W()},[n,k,W]),O.useMemo(()=>{if(!n)return{};function P(w){A.current=w.pointerType}return{reference:{onPointerDown:P,onPointerEnter:P,onMouseMove(){s||u===0||(clearTimeout(N.current),N.current=setTimeout(()=>{E.current||l(!0)},u))}},floating:{onMouseEnter(){clearTimeout(y.current)},onMouseLeave(){S(!1)}}}},[n,u,s,l,S])},Vl=function(e,t){let{open:n}=e,{enabled:i=!0,role:r="dialog"}=t===void 0?{}:t;const o=so(),u=so();return O.useMemo(()=>{const a={id:o,role:r};return i?r==="tooltip"?{reference:{"aria-describedby":n?o:void 0},floating:a}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":r==="alertdialog"?"dialog":r,"aria-controls":n?o:void 0,...r==="listbox"&&{role:"combobox"},...r==="menu"&&{id:u}},floating:{...a,...r==="menu"&&{"aria-labelledby":u}}}:{}},[i,r,n,o,u])};function Mr(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}const Bl={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Rl={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},kl=function(e,t){let{open:n,onOpenChange:i,refs:r,events:o,nodeId:u}=e,{enabled:a=!0,escapeKey:s=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:d=!1,referencePressEvent:g="pointerdown",ancestorScroll:v=!1,bubbles:b=!0}=t===void 0?{}:t;const h=Ir(),I=lo()!=null,C=O.useRef(!1);return O.useEffect(()=>{if(!n||!a)return;function M(E){if(E.key==="Escape"){if(!b&&h&&Cr(h.nodesRef.current,u).length>0)return;o.emit("dismiss",{preventScroll:!1}),i(!1)}}function A(E){const j=C.current;if(C.current=!1,j)return;const F=Fl(E);if(vt(F)&&r.floating.current){var S;const W=(S=r.floating.current.ownerDocument.defaultView)!=null?S:window,P=F.scrollWidth>F.clientWidth,w=F.scrollHeight>F.clientHeight;let L=w&&E.offsetX>F.clientWidth;if(w&&W.getComputedStyle(F).direction==="rtl"&&(L=E.offsetX<=F.offsetWidth-F.clientWidth),L||P&&E.offsetY>F.clientHeight)return}const k=h&&Cr(h.nodesRef.current,u).some(W=>{var P;return Mr(E,(P=W.context)==null?void 0:P.refs.floating.current)});Mr(E,r.floating.current)||Mr(E,r.domReference.current)||k||!b&&h&&Cr(h.nodesRef.current,u).length>0||(o.emit("dismiss",I?{preventScroll:!0}:!1),i(!1))}function y(){i(!1)}const x=st(r.floating.current);s&&x.addEventListener("keydown",M),l&&x.addEventListener(c,A);let N=[];return v&&(vt(r.domReference.current)&&(N=ut(r.domReference.current)),vt(r.floating.current)&&(N=N.concat(ut(r.floating.current))),!vt(r.reference.current)&&r.reference.current&&r.reference.current.contextElement&&(N=N.concat(ut(r.reference.current.contextElement)))),N=N.filter(E=>{var j;return E!==((j=x.defaultView)==null?void 0:j.visualViewport)}),N.forEach(E=>{E.addEventListener("scroll",y,{passive:!0})}),()=>{s&&x.removeEventListener("keydown",M),l&&x.removeEventListener(c,A),N.forEach(E=>{E.removeEventListener("scroll",y)})}},[s,l,c,o,h,u,n,i,v,a,b,r,I]),O.useEffect(()=>{C.current=!1},[l,c]),O.useMemo(()=>a?{reference:{[Bl[g]]:()=>{d&&(o.emit("dismiss"),i(!1))}},floating:{[Rl[c]]:()=>{C.current=!0}}}:{},[a,o,d,c,g,i])},Wl=function(e,t){let{open:n,onOpenChange:i,dataRef:r,refs:o,events:u}=e,{enabled:a=!0,keyboardOnly:s=!0}=t===void 0?{}:t;const l=O.useRef(""),c=O.useRef(!1),d=O.useRef();return O.useEffect(()=>{var g;if(!a)return;const b=(g=st(o.floating.current).defaultView)!=null?g:window;function h(){!n&&Sl(o.domReference.current)&&o.domReference.current.blur()}return b.addEventListener("blur",h),()=>{b.removeEventListener("blur",h)}},[o,n,a]),O.useEffect(()=>{if(!a)return;function g(){c.current=!0}return u.on("dismiss",g),()=>{u.off("dismiss",g)}},[u,a]),O.useEffect(()=>()=>{clearTimeout(d.current)},[]),O.useMemo(()=>a?{reference:{onPointerDown(g){let{pointerType:v}=g;l.current=v,c.current=!!(v&&s)},onPointerLeave(){c.current=!1},onFocus(g){var v,b,h;c.current||g.type==="focus"&&((v=r.current.openEvent)==null?void 0:v.type)==="mousedown"&&(b=o.domReference.current)!=null&&b.contains((h=r.current.openEvent)==null?void 0:h.target)||(r.current.openEvent=g.nativeEvent,i(!0))},onBlur(g){const v=g.relatedTarget;d.current=setTimeout(()=>{var b,h;(b=o.floating.current)!=null&&b.contains(v)||(h=o.domReference.current)!=null&&h.contains(v)||(c.current=!1,i(!1))})}}}:{},[a,s,o,r,i])},Yl=O.forwardRef((e,t)=>{var a,s;const{state:n,children:i,...r}=e,o=O.useMemo(()=>Yi([n.floating,t]),[n.floating,t]),u=()=>{const l={top:"bottom",right:"left",bottom:"top",left:"right"}[n.placement.split("-")[0]],{arrow:c}=n.middlewareData;return f("div",{ref:n.arrowRef,style:{position:"absolute",width:"10px",height:"10px",background:"white",left:(c==null?void 0:c.x)!=null?`${c==null?void 0:c.x}px`:"",top:(c==null?void 0:c.y)!=null?`${c==null?void 0:c.y}px`:"",[l]:"-2px",transform:"rotate(45deg)"}})};return f(Gl,{children:n.open&&z("div",{ref:o,style:{position:n.strategy,top:(a=n.y)!=null?a:0,left:(s=n.x)!=null?s:0,visibility:n.x==null?"hidden":"visible",...r.style},...n.getFloatingProps(r),children:[i,u()]})})}),Xl=O.forwardRef((e,t)=>{const{children:n,state:i,asChild:r=!1,...o}=e,u=n.ref,a=O.useMemo(()=>Yi([i.reference,t,u]),[i.reference,t,u]);return r&&O.isValidElement(n)?O.cloneElement(n,i.getReferenceProps({ref:a,...o,...n.props})):f("button",{ref:a,...i.getReferenceProps(o),children:n})});function Zl(e){const{initialOpen:t=!1,placement:n}=e,i=p.useRef(null),[r,o]=p.useState(t),u=[il(8),nl({padding:5}),al({padding:5}),Ml({element:i,padding:5})],s=Ol({placement:n,open:r,onOpenChange:o,whileElementsMounted:oo,middleware:u}),l=s.context,c=zl(l,{move:!1}),d=Wl(l),g=kl(l),v=Vl(l,{role:"tooltip"}),b=jl([c,d,g,v]);return p.useMemo(()=>({open:r,setOpen:o,arrowRef:i,...b,...s}),[r,o,b,s,i])}function Hl({placement:e="bottom",title:t,description:n,initialOpen:i=!1,children:r}){const o=Zl({initialOpen:i,placement:e});return z(Ge,{children:[f(Xl,{state:o,children:r}),z(Yl,{state:o,className:"w-max max-w-[368px] rounded-[5px] bg-surface-default py-[12px] px-[16px] drop-shadow-[0px_2px_10px_rgba(0,0,0,0.1)]",children:[f(_,{variant:"highlight",color:"default",className:"mb-1",children:t}),f(_,{variant:"body",color:"subdued",children:n})]})]})}const ug="";function mo({id:e,name:t,isDisabled:n,value:i,label:r,helpText:o,onChange:u,...a}){return f(Ge,{children:z("div",{className:"flex gap-x-2",children:[f("input",{type:"radio",id:e,name:t,disabled:n,onChange:({target:{value:c,checked:d}})=>{u==null||u({checked:d,value:c})},value:i,className:G("border-2",(()=>n?"border-border-disabled checked:text-action-primary-disabled":"border-border-default checked:border-action-primary-default checked:bg-white hover:border-border-hovered checked:hover:border-action-primary-default checked:hover:bg-white checked:focus:border-action-primary-default checked:focus:bg-white checked:focus:ring-focused-default")()),...a}),r&&z("div",{className:"flex flex-col items-start justify-center",children:[f(_,{as:"label",variant:"body",className:"break-words",htmlFor:e,color:n?"disabled":"default",children:r}),o&&f(_,{variant:"body",className:"mt-1",htmlFor:e,color:n?"disabled":"subdued",children:o})]})]})})}function Ul({track:e,isDisabled:t=!1,isSelected:n=!1,title:i,...r}){const o=()=>n?"bg-interactive-default":t?"bg-icon-disabled":"bg-icon-subdued",u=()=>n?"default":t?"disabled":"subdued";return z("div",{className:G("flex min-w-[54px] flex-col items-center justify-center gap-x-1",!t&&"cursor-pointer"),...r,children:[f("span",{className:G("relative inline-block h-6 w-6 rounded-md",o()),children:f("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:f(_,{variant:"highlight",color:"on",className:"select-none",children:e})})}),f(_,{variant:"button",color:u(),className:G("select-none",!t&&"hover:text-letter-default active:text-letter-default"),children:i})]})}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bo(Object(n),!0).forEach(function(i){ke(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bo(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Ql(e){if(Array.isArray(e))return e}function Jl(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],r=!0,o=!1,u,a;try{for(n=n.call(e);!(r=(u=n.next()).done)&&(i.push(u.value),!(t&&i.length===t));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&n.return!=null&&n.return()}finally{if(o)throw a}}return i}}function Ar(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function vo(e,t){if(!!e){if(typeof e=="string")return Ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ar(e,t)}}function _l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
36
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(e,t){return
|
|
37
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
38
|
-
`+i+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var u=lc(r);try{u.insertRule(i,u.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(i)&&console.error('There was a problem inserting the following rule: "'+i+'"',a)}}else r.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ne="-ms-",bn="-moz-",K="-webkit-",Er="comm",wr="rule",Tr="decl",fc="@import",Co="@keyframes",gc=Math.abs,vn=String.fromCharCode,pc=Object.assign;function mc(e,t){return Ae(e,0)^45?(((t<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}function xo(e){return e.trim()}function bc(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,n){return e.replace(t,n)}function Sr(e,t){return e.indexOf(t)}function Ae(e,t){return e.charCodeAt(t)|0}function Yt(e,t,n){return e.slice(t,n)}function Ze(e){return e.length}function Dr(e){return e.length}function hn(e,t){return t.push(e),e}function vc(e,t){return e.map(t).join("")}var In=1,At=1,Mo=0,je=0,be=0,Nt="";function yn(e,t,n,i,r,o,u){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:In,column:At,length:u,return:""}}function Xt(e,t){return pc(yn("",null,null,"",null,null,0),e,{length:-e.length},t)}function hc(){return be}function Ic(){return be=je>0?Ae(Nt,--je):0,At--,be===10&&(At=1,In--),be}function Le(){return be=je<Mo?Ae(Nt,je++):0,At++,be===10&&(At=1,In++),be}function He(){return Ae(Nt,je)}function Cn(){return je}function Zt(e,t){return Yt(Nt,e,t)}function Ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ao(e){return In=At=1,Mo=Ze(Nt=e),je=0,[]}function No(e){return Nt="",e}function xn(e){return xo(Zt(je-1,Or(e===91?e+2:e===40?e+1:e)))}function yc(e){for(;(be=He())&&be<33;)Le();return Ht(e)>2||Ht(be)>3?"":" "}function Cc(e,t){for(;--t&&Le()&&!(be<48||be>102||be>57&&be<65||be>70&&be<97););return Zt(e,Cn()+(t<6&&He()==32&&Le()==32))}function Or(e){for(;Le();)switch(be){case e:return je;case 34:case 39:e!==34&&e!==39&&Or(be);break;case 40:e===41&&Or(e);break;case 92:Le();break}return je}function xc(e,t){for(;Le()&&e+be!==47+10;)if(e+be===42+42&&He()===47)break;return"/*"+Zt(t,je-1)+"*"+vn(e===47?e:Le())}function Mc(e){for(;!Ht(He());)Le();return Zt(e,je)}function Ac(e){return No(Mn("",null,null,null,[""],e=Ao(e),0,[0],e))}function Mn(e,t,n,i,r,o,u,a,s){for(var l=0,c=0,d=u,g=0,v=0,b=0,h=1,I=1,C=1,M=0,A="",y=r,x=o,N=i,E=A;I;)switch(b=M,M=Le()){case 40:if(b!=108&&Ae(E,d-1)==58){Sr(E+=ee(xn(M),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=xn(M);break;case 9:case 10:case 13:case 32:E+=yc(b);break;case 92:E+=Cc(Cn()-1,7);continue;case 47:switch(He()){case 42:case 47:hn(Nc(xc(Le(),Cn()),t,n),s);break;default:E+="/"}break;case 123*h:a[l++]=Ze(E)*C;case 125*h:case 59:case 0:switch(M){case 0:case 125:I=0;case 59+c:v>0&&Ze(E)-d&&hn(v>32?wo(E+";",i,n,d-1):wo(ee(E," ","")+";",i,n,d-2),s);break;case 59:E+=";";default:if(hn(N=Eo(E,t,n,l,c,r,a,A,y=[],x=[],d),o),M===123)if(c===0)Mn(E,t,N,N,y,o,d,a,x);else switch(g===99&&Ae(E,3)===110?100:g){case 100:case 109:case 115:Mn(e,N,N,i&&hn(Eo(e,N,N,0,0,r,a,A,r,y=[],d),x),r,x,d,a,i?y:x);break;default:Mn(E,N,N,N,[""],x,0,a,x)}}l=c=v=0,h=C=1,A=E="",d=u;break;case 58:d=1+Ze(E),v=b;default:if(h<1){if(M==123)--h;else if(M==125&&h++==0&&Ic()==125)continue}switch(E+=vn(M),M*h){case 38:C=c>0?1:(E+="\f",-1);break;case 44:a[l++]=(Ze(E)-1)*C,C=1;break;case 64:He()===45&&(E+=xn(Le())),g=He(),c=d=Ze(A=E+=Mc(Cn())),M++;break;case 45:b===45&&Ze(E)==2&&(h=0)}}return o}function Eo(e,t,n,i,r,o,u,a,s,l,c){for(var d=r-1,g=r===0?o:[""],v=Dr(g),b=0,h=0,I=0;b<i;++b)for(var C=0,M=Yt(e,d+1,d=gc(h=u[b])),A=e;C<v;++C)(A=xo(h>0?g[C]+" "+M:ee(M,/&\f/g,g[C])))&&(s[I++]=A);return yn(e,t,n,r===0?wr:a,s,l,c)}function Nc(e,t,n){return yn(e,t,n,Er,vn(hc()),Yt(e,2,-2),0)}function wo(e,t,n,i){return yn(e,t,n,Tr,Yt(e,0,i),Yt(e,i+1,-1),i)}function Et(e,t){for(var n="",i=Dr(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function Ec(e,t,n,i){switch(e.type){case fc:case Tr:return e.return=e.return||e.value;case Er:return"";case Co:return e.return=e.value+"{"+Et(e.children,i)+"}";case wr:e.value=e.props.join(",")}return Ze(n=Et(e.children,i))?e.return=e.value+"{"+n+"}":""}function wc(e){var t=Dr(e);return function(n,i,r,o){for(var u="",a=0;a<t;a++)u+=e[a](n,i,r,o)||"";return u}}function Tc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Sc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Dc=function(t,n,i){for(var r=0,o=0;r=o,o=He(),r===38&&o===12&&(n[i]=1),!Ht(o);)Le();return Zt(t,je)},Oc=function(t,n){var i=-1,r=44;do switch(Ht(r)){case 0:r===38&&He()===12&&(n[i]=1),t[i]+=Dc(je-1,n,i);break;case 2:t[i]+=xn(r);break;case 4:if(r===44){t[++i]=He()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=vn(r)}while(r=Le());return t},jc=function(t,n){return No(Oc(Ao(t),n))},To=new WeakMap,Pc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,r=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!To.get(i))&&!r){To.set(t,!0);for(var o=[],u=jc(n,o),a=i.props,s=0,l=0;s<u.length;s++)for(var c=0;c<a.length;c++,l++)t.props[l]=o[s]?u[s].replace(/&\f/g,a[c]):a[c]+" "+u[s]}}},Gc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Fc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Lc=function(t){return t.type==="comm"&&t.children.indexOf(Fc)>-1},zc=function(t){return function(n,i,r){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var u=n.parent===r[0],a=u?r[0].children:r,s=a.length-1;s>=0;s--){var l=a[s];if(l.line<n.line)break;if(l.column<n.column){if(Lc(l))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},So=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Vc=function(t,n){for(var i=t-1;i>=0;i--)if(!So(n[i]))return!0;return!1},Do=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Bc=function(t,n,i){!So(t)||(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Do(t)):Vc(n,i)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Do(t)))};function Oo(e,t){switch(mc(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+bn+e+Ne+e+e;case 6828:case 4268:return K+e+Ne+e+e;case 6165:return K+e+Ne+"flex-"+e+e;case 5187:return K+e+ee(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+Ne+"flex-$1$2")+e;case 5443:return K+e+Ne+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return K+e+Ne+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+Ne+ee(e,"shrink","negative")+e;case 5292:return K+e+Ne+ee(e,"basis","preferred-size")+e;case 6060:return K+"box-"+ee(e,"-grow","")+K+e+Ne+ee(e,"grow","positive")+e;case 4554:return K+ee(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+Ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ze(e)-1-t>6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+bn+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Sr(e,"stretch")?Oo(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ae(e,t+1)!==115)break;case 6444:switch(Ae(e,Ze(e)-3-(~Sr(e,"!important")&&10))){case 107:return ee(e,":",":"+K)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(Ae(e,14)===45?"inline-":"")+"box$3$1"+K+"$2$3$1"+Ne+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return K+e+Ne+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+Ne+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+Ne+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+Ne+e+e}return e}var Rc=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case Tr:t.return=Oo(t.value,t.length);break;case Co:return Et([Xt(t,{value:ee(t.value,"@","@"+K)})],r);case wr:if(t.length)return vc(t.props,function(o){switch(bc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([Xt(t,{props:[ee(o,/:(read-\w+)/,":"+bn+"$1")]})],r);case"::placeholder":return Et([Xt(t,{props:[ee(o,/:(plac\w+)/,":"+K+"input-$1")]}),Xt(t,{props:[ee(o,/:(plac\w+)/,":"+bn+"$1")]}),Xt(t,{props:[ee(o,/:(plac\w+)/,Ne+"input-$1")]})],r)}return""})}},kc=[Rc],Wc=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
39
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(h){var
|
|
35
|
+
`));return p.cloneElement(l,Object.assign({},Ci(l.props,rn(Hn(a,["ref"]))),c,s,xu(l.ref,s.ref)))}return p.createElement(r,Object.assign({},Hn(a,["ref"]),r!==p.Fragment&&s,r!==p.Fragment&&c),l)}function xu(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Ci(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let r in i)r.startsWith("on")&&typeof i[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(i[r])):t[r]=i[r];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(i=>[i,void 0])));for(let i in n)Object.assign(t,{[i](r,...o){let u=n[i];for(let a of u){if((r instanceof Event||(r==null?void 0:r.nativeEvent)instanceof Event)&&r.defaultPrevented)return;a(r,...o)}}});return t}function fe(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function rn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Hn(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function Pt(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let i=(t==null?void 0:t.getAttribute("disabled"))==="";return i&&wu(n)?!1:i}function wu(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function xi(e={},t=null,n=[]){for(let[i,r]of Object.entries(e))Ni(n,wi(t,i),r);return n}function wi(e,t){return e?e+"["+t+"]":t}function Ni(e,t,n){if(Array.isArray(n))for(let[i,r]of n.entries())Ni(e,wi(t,i.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):xi(n,t,e)}function Ai(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let i of n.elements)if(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image"){i.click();return}}}let Nu="div";var mt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mt||{});let bt=fe(function(e,t){let{features:n=1,...i}=e,r={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return ce({ourProps:r,theirProps:i,slot:{},defaultTag:Nu,name:"Hidden"})}),Un=p.createContext(null);Un.displayName="OpenClosedContext";var Ct=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ct||{});function Ei(){return p.useContext(Un)}function Au({value:e,children:t}){return re.default.createElement(Un.Provider,{value:e},t)}var se=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(se||{});function Li(e,t,n){let[i,r]=p.useState(n),o=e!==void 0,u=p.useRef(o),a=p.useRef(!1),s=p.useRef(!1);return o&&!u.current&&!a.current?(a.current=!0,u.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&u.current&&!s.current&&(s.current=!0,u.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:i,$(l=>(o||r(l),t==null?void 0:t(l)))]}function Si(e,t){let n=p.useRef([]),i=$(e);p.useEffect(()=>{let r=[...n.current];for(let[o,u]of t.entries())if(n.current[o]!==u){let a=i(t,r);return n.current=t,a}},[i,...t])}function Eu(e,t,n){let i=ft(t);p.useEffect(()=>{function r(o){i.current(o)}return window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)},[e,n])}var Qn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Qn||{});function Lu(){let e=p.useRef(0);return Eu("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Di(){let e=p.useRef(!1);return Ne(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function on(...e){return p.useMemo(()=>gt(...e),[...e])}function Jn(e,t,n,i){let r=ft(n);p.useEffect(()=>{e=e!=null?e:window;function o(u){r.current(u)}return e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)},[e,t,i])}let Su="div";var ji=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(ji||{});let Ft=Object.assign(fe(function(e,t){let n=p.useRef(null),i=ge(n,t),{initialFocus:r,containers:o,features:u=30,...a}=e;en()||(u=1);let s=on(n);Du({ownerDocument:s},Boolean(u&16));let l=ju({ownerDocument:s,container:n,initialFocus:r},Boolean(u&2));Tu({ownerDocument:s,container:n,containers:o,previousActiveElement:l},Boolean(u&8));let c=Lu(),d=$(()=>{let v=n.current;!v||Oe(c.current,{[Qn.Forwards]:()=>ke(v,Ie.First),[Qn.Backwards]:()=>ke(v,Ie.Last)})}),g={ref:i};return re.default.createElement(re.default.Fragment,null,Boolean(u&4)&&f(bt,{as:"button",type:"button",onFocus:d,features:mt.Focusable}),ce({ourProps:g,theirProps:a,defaultTag:Su,name:"FocusTrap"}),Boolean(u&4)&&f(bt,{as:"button",type:"button",onFocus:d,features:mt.Focusable}))}),{features:ji});function Du({ownerDocument:e},t){let n=p.useRef(null);Jn(e==null?void 0:e.defaultView,"focusout",r=>{!t||n.current||(n.current=r.target)},!0),Si(()=>{t||((e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&yt(n.current),n.current=null)},[t]);let i=p.useRef(!1);p.useEffect(()=>(i.current=!1,()=>{i.current=!0,Gt(()=>{!i.current||(yt(n.current),n.current=null)})}),[])}function ju({ownerDocument:e,container:t,initialFocus:n},i){let r=p.useRef(null),o=Di();return Si(()=>{if(!i)return;let u=t.current;!u||Gt(()=>{if(!o.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){r.current=a;return}}else if(u.contains(a)){r.current=a;return}n!=null&&n.current?yt(n.current):ke(u,Ie.First)===it.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),r.current=e==null?void 0:e.activeElement})},[i]),r}function Tu({ownerDocument:e,container:t,containers:n,previousActiveElement:i},r){let o=Di();Jn(e==null?void 0:e.defaultView,"focus",u=>{if(!r||!o.current)return;let a=new Set(n==null?void 0:n.current);a.add(t);let s=i.current;if(!s)return;let l=u.target;l&&l instanceof HTMLElement?Ou(a,l)?(i.current=l,yt(l)):(u.preventDefault(),u.stopPropagation(),yt(s)):yt(i.current)},!0)}function Ou(e,t){var n;for(let i of e)if((n=i.current)!=null&&n.contains(t))return!0;return!1}let xt=new Set,ot=new Map;function Ti(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Oi(e){let t=ot.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function zu(e,t=!0){Ne(()=>{if(!t||!e.current)return;let n=e.current,i=gt(n);if(i){xt.add(n);for(let r of ot.keys())r.contains(n)&&(Oi(r),ot.delete(r));return i.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement){for(let o of xt)if(r.contains(o))return;xt.size===1&&(ot.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Ti(r))}}),()=>{if(xt.delete(n),xt.size>0)i.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement&&!ot.has(r)){for(let o of xt)if(r.contains(o))return;ot.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Ti(r)}});else for(let r of ot.keys())Oi(r),ot.delete(r)}}},[t])}let zi=p.createContext(!1);function Gu(){return p.useContext(zi)}function _n(e){return re.default.createElement(zi.Provider,{value:e.force},e.children)}function Pu(e){let t=Gu(),n=p.useContext(Gi),i=on(e),[r,o]=p.useState(()=>{if(!t&&n!==null||qt)return null;let u=i==null?void 0:i.getElementById("headlessui-portal-root");if(u)return u;if(i===null)return null;let a=i.createElement("div");return a.setAttribute("id","headlessui-portal-root"),i.body.appendChild(a)});return p.useEffect(()=>{r!==null&&(i!=null&&i.body.contains(r)||i==null||i.body.appendChild(r))},[r,i]),p.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),r}let Fu=p.Fragment,Vu=fe(function(e,t){let n=e,i=p.useRef(null),r=ge(yi(c=>{i.current=c}),t),o=on(i),u=Pu(i),[a]=p.useState(()=>{var c;return qt?null:(c=o==null?void 0:o.createElement("div"))!=null?c:null}),s=en(),l=p.useRef(!1);return Ne(()=>{if(l.current=!1,!(!u||!a))return u.contains(a)||(a.setAttribute("data-headlessui-portal",""),u.appendChild(a)),()=>{l.current=!0,Gt(()=>{var c;!l.current||!u||!a||(u.removeChild(a),u.childNodes.length<=0&&((c=u.parentElement)==null||c.removeChild(u)))})}},[u,a]),s?!u||!a?null:Tt.createPortal(ce({ourProps:{ref:r},theirProps:n,defaultTag:Fu,name:"Portal"}),a):null}),Bu=p.Fragment,Gi=p.createContext(null),ku=fe(function(e,t){let{target:n,...i}=e,r={ref:ge(t)};return f(Gi.Provider,{value:n,children:ce({ourProps:r,theirProps:i,defaultTag:Bu,name:"Popover.Group"})})}),$n=Object.assign(Vu,{Group:ku}),Pi=p.createContext(null);function Fi(){let e=p.useContext(Pi);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Fi),t}return e}function an(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(n){let i=$(o=>(t(u=>[...u,o]),()=>t(u=>{let a=u.slice(),s=a.indexOf(o);return s!==-1&&a.splice(s,1),a}))),r=p.useMemo(()=>({register:i,slot:n.slot,name:n.name,props:n.props}),[i,n.slot,n.name,n.props]);return re.default.createElement(Pi.Provider,{value:r},n.children)},[t])]}let Ru="p",Kn=fe(function(e,t){let n=Fi(),i=`headlessui-description-${Te()}`,r=ge(t);Ne(()=>n.register(i),[i,n.register]);let o=e,u={ref:r,...n.props,id:i};return ce({ourProps:u,theirProps:o,slot:n.slot||{},defaultTag:Ru,name:n.name||"Description"})}),qn=p.createContext(()=>{});qn.displayName="StackContext";var er=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(er||{});function Yu(){return p.useContext(qn)}function Wu({children:e,onUpdate:t,type:n,element:i,enabled:r}){let o=Yu(),u=$((...a)=>{t==null||t(...a),o(...a)});return Ne(()=>{let a=r===void 0||r===!0;return a&&u(0,n,i),()=>{a&&u(1,n,i)}},[u,n,i,r]),re.default.createElement(qn.Provider,{value:u},e)}function Xu(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var Zu=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Zu||{}),Hu=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Hu||{});let Uu={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},un=p.createContext(null);un.displayName="DialogContext";function Vt(e){let t=p.useContext(un);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Vt),n}return t}function Qu(e,t){p.useEffect(()=>{var n;if(!t||!e)return;let i=gu();function r(a,s,l){let c=a.style.getPropertyValue(s);return Object.assign(a.style,{[s]:l}),i.add(()=>{Object.assign(a.style,{[s]:c})})}let o=e.documentElement,u=((n=e.defaultView)!=null?n:window).innerWidth-o.clientWidth;if(r(o,"overflow","hidden"),u>0){let a=o.clientWidth-o.offsetWidth,s=u-a;r(o,"paddingRight",`${s}px`)}if(Xu()){let a=window.pageYOffset;r(o,"position","fixed"),r(o,"marginTop",`-${a}px`),r(o,"width","100%"),i.add(()=>window.scrollTo(0,a))}return i.dispose},[e,t])}function Ju(e,t){return Oe(t.type,Uu,e,t)}let _u="div",$u=pt.RenderStrategy|pt.Static,Ku=fe(function(e,t){let{open:n,onClose:i,initialFocus:r,__demoMode:o=!1,...u}=e,[a,s]=p.useState(0),l=Ei();n===void 0&&l!==null&&(n=Oe(l,{[Ct.Open]:!0,[Ct.Closed]:!1}));let c=p.useRef(new Set),d=p.useRef(null),g=ge(d,t),v=p.useRef(null),m=on(d),h=e.hasOwnProperty("open")||l!==null,M=e.hasOwnProperty("onClose");if(!h&&!M)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!h)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!M)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof n!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if(typeof i!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);let y=n?0:1,[x,w]=p.useReducer(Ju,{titleId:null,descriptionId:null,panelRef:p.createRef()}),I=$(()=>i(!1)),C=$(B=>w({type:0,id:B})),N=en()?o?!1:y===0:!1,A=a>1,T=p.useContext(un)!==null,P=A?"parent":"leaf";zu(d,A?N:!1),Iu(()=>{var B,Z;return[...Array.from((B=m==null?void 0:m.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?B:[]).filter(R=>!(!(R instanceof HTMLElement)||R.contains(v.current)||x.panelRef.current&&R.contains(x.panelRef.current))),(Z=x.panelRef.current)!=null?Z:d.current]},I,N&&!A),Jn(m==null?void 0:m.defaultView,"keydown",B=>{B.defaultPrevented||B.key===se.Escape&&y===0&&(A||(B.preventDefault(),B.stopPropagation(),I()))}),Qu(m,y===0&&!T),p.useEffect(()=>{if(y!==0||!d.current)return;let B=new IntersectionObserver(Z=>{for(let R of Z)R.boundingClientRect.x===0&&R.boundingClientRect.y===0&&R.boundingClientRect.width===0&&R.boundingClientRect.height===0&&I()});return B.observe(d.current),()=>B.disconnect()},[y,d,I]);let[S,k]=an(),Y=`headlessui-dialog-${Te()}`,O=p.useMemo(()=>[{dialogState:y,close:I,setTitleId:C},x],[y,x,I,C]),E=p.useMemo(()=>({open:y===0}),[y]),F={ref:g,id:Y,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":x.titleId,"aria-describedby":S};return re.default.createElement(Wu,{type:"Dialog",enabled:y===0,element:d,onUpdate:$((B,Z,R)=>{Z==="Dialog"&&Oe(B,{[er.Add](){c.current.add(R),s(Q=>Q+1)},[er.Remove](){c.current.add(R),s(Q=>Q-1)}})})},f(_n,{force:!0,children:f($n,{children:f(un.Provider,{value:O,children:f($n.Group,{target:d,children:f(_n,{force:!1,children:f(k,{slot:E,name:"Dialog.Description",children:f(Ft,{initialFocus:r,containers:c,features:N?Oe(P,{parent:Ft.features.RestoreFocus,leaf:Ft.features.All&~Ft.features.FocusLock}):Ft.features.None,children:ce({ourProps:F,theirProps:u,slot:E,defaultTag:_u,features:$u,visible:y===0,name:"Dialog"})})})})})})})}),f(bt,{features:mt.Hidden,ref:v}))}),qu="div",es=fe(function(e,t){let[{dialogState:n,close:i}]=Vt("Dialog.Overlay"),r=ge(t),o=`headlessui-dialog-overlay-${Te()}`,u=$(s=>{if(s.target===s.currentTarget){if(Pt(s.currentTarget))return s.preventDefault();s.preventDefault(),s.stopPropagation(),i()}}),a=p.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:r,id:o,"aria-hidden":!0,onClick:u},theirProps:e,slot:a,defaultTag:qu,name:"Dialog.Overlay"})}),ts="div",ns=fe(function(e,t){let[{dialogState:n},i]=Vt("Dialog.Backdrop"),r=ge(t),o=`headlessui-dialog-backdrop-${Te()}`;p.useEffect(()=>{if(i.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[i.panelRef]);let u=p.useMemo(()=>({open:n===0}),[n]);return f(_n,{force:!0,children:f($n,{children:ce({ourProps:{ref:r,id:o,"aria-hidden":!0},theirProps:e,slot:u,defaultTag:ts,name:"Dialog.Backdrop"})})})}),rs="div",is=fe(function(e,t){let[{dialogState:n},i]=Vt("Dialog.Panel"),r=ge(t,i.panelRef),o=`headlessui-dialog-panel-${Te()}`,u=p.useMemo(()=>({open:n===0}),[n]),a=$(s=>{s.stopPropagation()});return ce({ourProps:{ref:r,id:o,onClick:a},theirProps:e,slot:u,defaultTag:rs,name:"Dialog.Panel"})}),os="h2",as=fe(function(e,t){let[{dialogState:n,setTitleId:i}]=Vt("Dialog.Title"),r=`headlessui-dialog-title-${Te()}`,o=ge(t);p.useEffect(()=>(i(r),()=>i(null)),[r,i]);let u=p.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:o,id:r},theirProps:e,slot:u,defaultTag:os,name:"Dialog.Title"})}),Vi=Object.assign(Ku,{Backdrop:ns,Panel:is,Overlay:es,Title:as,Description:Kn});var us=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(us||{}),ss=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(ss||{});let ls={[0]:e=>({...e,disclosureState:Oe(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},[3](e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},tr=p.createContext(null);tr.displayName="DisclosureContext";function nr(e){let t=p.useContext(tr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,nr),n}return t}let rr=p.createContext(null);rr.displayName="DisclosureAPIContext";function Bi(e){let t=p.useContext(rr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Bi),n}return t}let ir=p.createContext(null);ir.displayName="DisclosurePanelContext";function cs(){return p.useContext(ir)}function ds(e,t){return Oe(t.type,ls,e,t)}let fs=p.Fragment,gs=fe(function(e,t){let{defaultOpen:n=!1,...i}=e,r=`headlessui-disclosure-button-${Te()}`,o=`headlessui-disclosure-panel-${Te()}`,u=p.useRef(null),a=ge(t,yi(y=>{u.current=y},e.as===void 0||e.as===p.Fragment)),s=p.useRef(null),l=p.useRef(null),c=p.useReducer(ds,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:l,panelRef:s,buttonId:r,panelId:o}),[{disclosureState:d},g]=c;p.useEffect(()=>g({type:2,buttonId:r}),[r,g]),p.useEffect(()=>g({type:3,panelId:o}),[o,g]);let v=$(y=>{g({type:1});let x=gt(u);if(!x)return;let w=(()=>y?y instanceof HTMLElement?y:y.current instanceof HTMLElement?y.current:x.getElementById(r):x.getElementById(r))();w==null||w.focus()}),m=p.useMemo(()=>({close:v}),[v]),h=p.useMemo(()=>({open:d===0,close:v}),[d,v]),M={ref:a};return re.default.createElement(tr.Provider,{value:c},re.default.createElement(rr.Provider,{value:m},re.default.createElement(Au,{value:Oe(d,{[0]:Ct.Open,[1]:Ct.Closed})},ce({ourProps:M,theirProps:i,slot:h,defaultTag:fs,name:"Disclosure"}))))}),ps="button",ms=fe(function(e,t){let[n,i]=nr("Disclosure.Button"),r=cs(),o=r===null?!1:r===n.panelId,u=p.useRef(null),a=ge(u,t,o?null:n.buttonRef),s=$(h=>{var M;if(o){if(n.disclosureState===1)return;switch(h.key){case se.Space:case se.Enter:h.preventDefault(),h.stopPropagation(),i({type:0}),(M=n.buttonRef.current)==null||M.focus();break}}else switch(h.key){case se.Space:case se.Enter:h.preventDefault(),h.stopPropagation(),i({type:0});break}}),l=$(h=>{switch(h.key){case se.Space:h.preventDefault();break}}),c=$(h=>{var M;Pt(h.currentTarget)||e.disabled||(o?(i({type:0}),(M=n.buttonRef.current)==null||M.focus()):i({type:0}))}),d=p.useMemo(()=>({open:n.disclosureState===0}),[n]),g=Zn(e,u),v=e,m=o?{ref:a,type:g,onKeyDown:s,onClick:c}:{ref:a,id:n.buttonId,type:g,"aria-expanded":e.disabled?void 0:n.disclosureState===0,"aria-controls":n.linkedPanel?n.panelId:void 0,onKeyDown:s,onKeyUp:l,onClick:c};return ce({ourProps:m,theirProps:v,slot:d,defaultTag:ps,name:"Disclosure.Button"})}),bs="div",vs=pt.RenderStrategy|pt.Static,hs=fe(function(e,t){let[n,i]=nr("Disclosure.Panel"),{close:r}=Bi("Disclosure.Panel"),o=ge(t,n.panelRef,d=>{i({type:d?4:5})}),u=Ei(),a=(()=>u!==null?u===Ct.Open:n.disclosureState===0)(),s=p.useMemo(()=>({open:n.disclosureState===0,close:r}),[n,r]),l=e,c={ref:o,id:n.panelId};return f(ir.Provider,{value:n.panelId,children:ce({ourProps:c,theirProps:l,slot:s,defaultTag:bs,features:vs,visible:a,name:"Disclosure.Panel"})})}),or=Object.assign(gs,{Button:ms,Panel:hs});function Ms(e=0){let[t,n]=p.useState(e),i=p.useCallback(a=>n(s=>s|a),[t]),r=p.useCallback(a=>Boolean(t&a),[t]),o=p.useCallback(a=>n(s=>s&~a),[n]),u=p.useCallback(a=>n(s=>s^a),[n]);return{addFlag:i,hasFlag:r,removeFlag:o,toggleFlag:u}}let ki=p.createContext(null);function Ri(){let e=p.useContext(ki);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Ri),t}return e}function ar(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(n){let i=$(o=>(t(u=>[...u,o]),()=>t(u=>{let a=u.slice(),s=a.indexOf(o);return s!==-1&&a.splice(s,1),a}))),r=p.useMemo(()=>({register:i,slot:n.slot,name:n.name,props:n.props}),[i,n.slot,n.name,n.props]);return re.default.createElement(ki.Provider,{value:r},n.children)},[t])]}let Is="label",Yi=fe(function(e,t){let{passive:n=!1,...i}=e,r=Ri(),o=`headlessui-label-${Te()}`,u=ge(t);Ne(()=>r.register(o),[o,r.register]);let a={ref:u,...r.props,id:o};return n&&("onClick"in a&&delete a.onClick,"onClick"in i&&delete i.onClick),ce({ourProps:a,theirProps:i,slot:r.slot||{},defaultTag:Is,name:r.name||"Label"})});var ys=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(ys||{});let Cs={[0](e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:tn(n,i=>i.element.current)}},[1](e,t){let n=e.options.slice(),i=e.options.findIndex(r=>r.id===t.id);return i===-1?e:(n.splice(i,1),{...e,options:n})}},ur=p.createContext(null);ur.displayName="RadioGroupContext";function Wi(e){let t=p.useContext(ur);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Wi),n}return t}function xs(e,t){return Oe(t.type,Cs,e,t)}let ws="div",Ns=fe(function(e,t){let{value:n,defaultValue:i,name:r,onChange:o,by:u=(E,F)=>E===F,disabled:a=!1,...s}=e,l=$(typeof u=="string"?(E,F)=>{let B=u;return(E==null?void 0:E[B])===(F==null?void 0:F[B])}:u),[c,d]=p.useReducer(xs,{options:[]}),g=c.options,[v,m]=ar(),[h,M]=an(),y=`headlessui-radiogroup-${Te()}`,x=p.useRef(null),w=ge(x,t),[I,C]=Li(n,o,i),N=p.useMemo(()=>g.find(E=>!E.propsRef.current.disabled),[g]),A=p.useMemo(()=>g.some(E=>l(E.propsRef.current.value,I)),[g,I]),T=$(E=>{var F;if(a||l(E,I))return!1;let B=(F=g.find(Z=>l(Z.propsRef.current.value,E)))==null?void 0:F.propsRef.current;return B!=null&&B.disabled?!1:(C==null||C(E),!0)});yu({container:x.current,accept(E){return E.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:E.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(E){E.setAttribute("role","none")}});let P=$(E=>{let F=x.current;if(!F)return;let B=gt(F),Z=g.filter(R=>R.propsRef.current.disabled===!1).map(R=>R.element.current);switch(E.key){case se.Enter:Ai(E.currentTarget);break;case se.ArrowLeft:case se.ArrowUp:if(E.preventDefault(),E.stopPropagation(),ke(Z,Ie.Previous|Ie.WrapAround)===it.Success){let R=g.find(Q=>Q.element.current===(B==null?void 0:B.activeElement));R&&T(R.propsRef.current.value)}break;case se.ArrowRight:case se.ArrowDown:if(E.preventDefault(),E.stopPropagation(),ke(Z,Ie.Next|Ie.WrapAround)===it.Success){let R=g.find(Q=>Q.element.current===(B==null?void 0:B.activeElement));R&&T(R.propsRef.current.value)}break;case se.Space:{E.preventDefault(),E.stopPropagation();let R=g.find(Q=>Q.element.current===(B==null?void 0:B.activeElement));R&&T(R.propsRef.current.value)}break}}),S=$(E=>(d({type:0,...E}),()=>d({type:1,id:E.id}))),k=p.useMemo(()=>({registerOption:S,firstOption:N,containsCheckedOption:A,change:T,disabled:a,value:I,compare:l}),[S,N,A,T,a,I,l]),Y={ref:w,id:y,role:"radiogroup","aria-labelledby":v,"aria-describedby":h,onKeyDown:P},O=p.useMemo(()=>({value:I}),[I]);return f(M,{name:"RadioGroup.Description",children:f(m,{name:"RadioGroup.Label",children:G(ur.Provider,{value:k,children:[r!=null&&I!=null&&xi({[r]:I}).map(([E,F])=>re.default.createElement(bt,{features:mt.Hidden,...rn({key:E,as:"input",type:"radio",checked:F!=null,hidden:!0,readOnly:!0,name:E,value:F})})),ce({ourProps:Y,theirProps:s,slot:O,defaultTag:ws,name:"RadioGroup"})]})})})});var As=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(As||{});let Es="div",Ls=fe(function(e,t){let n=p.useRef(null),i=ge(n,t),r=`headlessui-radiogroup-option-${Te()}`,[o,u]=ar(),[a,s]=an(),{addFlag:l,removeFlag:c,hasFlag:d}=Ms(1),{value:g,disabled:v=!1,...m}=e,h=p.useRef({value:g,disabled:v});Ne(()=>{h.current.value=g},[g,h]),Ne(()=>{h.current.disabled=v},[v,h]);let{registerOption:M,disabled:y,change:x,firstOption:w,containsCheckedOption:I,value:C,compare:N}=Wi("RadioGroup.Option");Ne(()=>M({id:r,element:n,propsRef:h}),[r,M,n,e]);let A=$(F=>{var B;if(Pt(F.currentTarget))return F.preventDefault();!x(g)||(l(2),(B=n.current)==null||B.focus())}),T=$(F=>{if(Pt(F.currentTarget))return F.preventDefault();l(2)}),P=$(()=>c(2)),S=(w==null?void 0:w.id)===r,k=y||v,Y=N(C,g),O={ref:i,id:r,role:"radio","aria-checked":Y?"true":"false","aria-labelledby":o,"aria-describedby":a,"aria-disabled":k?!0:void 0,tabIndex:(()=>k?-1:Y||!I&&S?0:-1)(),onClick:k?void 0:A,onFocus:k?void 0:T,onBlur:k?void 0:P},E=p.useMemo(()=>({checked:Y,disabled:k,active:d(2)}),[Y,k,d]);return f(s,{name:"RadioGroup.Description",children:f(u,{name:"RadioGroup.Label",children:ce({ourProps:O,theirProps:m,slot:E,defaultTag:Es,name:"RadioGroup.Option"})})})}),Xi=Object.assign(Ns,{Option:Ls,Label:Yi,Description:Kn}),sr=p.createContext(null);sr.displayName="GroupContext";let Ss=p.Fragment;function Ds(e){let[t,n]=p.useState(null),[i,r]=ar(),[o,u]=an(),a=p.useMemo(()=>({switch:t,setSwitch:n,labelledby:i,describedby:o}),[t,n,i,o]),s={},l=e;return re.default.createElement(u,{name:"Switch.Description"},re.default.createElement(r,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},re.default.createElement(sr.Provider,{value:a},ce({ourProps:s,theirProps:l,defaultTag:Ss,name:"Switch.Group"}))))}let js="button",Ts=fe(function(e,t){let{checked:n,defaultChecked:i=!1,onChange:r,name:o,value:u,...a}=e,s=`headlessui-switch-${Te()}`,l=p.useContext(sr),c=p.useRef(null),d=ge(c,t,l===null?null:l.setSwitch),[g,v]=Li(n,r,i),m=$(()=>v==null?void 0:v(!g)),h=$(I=>{if(Pt(I.currentTarget))return I.preventDefault();I.preventDefault(),m()}),M=$(I=>{I.key===se.Space?(I.preventDefault(),m()):I.key===se.Enter&&Ai(I.currentTarget)}),y=$(I=>I.preventDefault()),x=p.useMemo(()=>({checked:g}),[g]),w={id:s,ref:d,role:"switch",type:Zn(e,c),tabIndex:0,"aria-checked":g,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:h,onKeyUp:M,onKeyPress:y};return re.default.createElement(re.default.Fragment,null,o!=null&&g&&re.default.createElement(bt,{features:mt.Hidden,...rn({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:g,name:o,value:u})}),ce({ourProps:w,theirProps:a,slot:x,defaultTag:js,name:"Switch"}))}),Os=Object.assign(Ts,{Group:Ds,Label:Yi,Description:Kn});function zs({onFocus:e}){let[t,n]=p.useState(!0);return t?re.default.createElement(bt,{as:"button",type:"button",features:mt.Focusable,onFocus:i=>{i.preventDefault();let r,o=50;function u(){if(o--<=0){r&&cancelAnimationFrame(r);return}if(e()){n(!1),cancelAnimationFrame(r);return}r=requestAnimationFrame(u)}r=requestAnimationFrame(u)}}):null}var Gs=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Gs||{});let Ps={[0](e,t){let n=e.tabs.filter(o=>{var u;return!((u=o.current)!=null&&u.hasAttribute("disabled"))});if(t.index<0)return{...e,selectedIndex:e.tabs.indexOf(n[0])};if(t.index>e.tabs.length)return{...e,selectedIndex:e.tabs.indexOf(n[n.length-1])};let i=e.tabs.slice(0,t.index),r=[...e.tabs.slice(t.index),...i].find(o=>n.includes(o));return r?{...e,selectedIndex:e.tabs.indexOf(r)}:e},[1](e,t){var n;if(e.tabs.includes(t.tab))return e;let i=e.tabs[e.selectedIndex],r=tn([...e.tabs,t.tab],u=>u.current),o=(n=r.indexOf(i))!=null?n:e.selectedIndex;return o===-1&&(o=e.selectedIndex),{...e,tabs:r,selectedIndex:o}},[2](e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},[3](e,t){return e.panels.includes(t.panel)?e:{...e,panels:tn([...e.panels,t.panel],n=>n.current)}},[4](e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},lr=p.createContext(null);lr.displayName="TabsSSRContext";function cr(e){let t=p.useContext(lr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,cr),n}return t}let dr=p.createContext(null);dr.displayName="TabsDataContext";function wt(e){let t=p.useContext(dr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,wt),n}return t}let fr=p.createContext(null);fr.displayName="TabsActionsContext";function gr(e){let t=p.useContext(fr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,gr),n}return t}function Fs(e,t){return Oe(t.type,Ps,e,t)}let Vs=p.Fragment,Bs=fe(function(e,t){let{defaultIndex:n=0,vertical:i=!1,manual:r=!1,onChange:o,selectedIndex:u=null,...a}=e;const s=i?"vertical":"horizontal",l=r?"manual":"auto";let c=u!==null,d=ge(t),[g,v]=p.useReducer(Fs,{selectedIndex:u!=null?u:n,tabs:[],panels:[]}),m=p.useMemo(()=>({selectedIndex:g.selectedIndex}),[g.selectedIndex]),h=ft(o||(()=>{})),M=ft(g.tabs),y=p.useMemo(()=>({orientation:s,activation:l,...g}),[s,l,g]),x=ft(c?e.selectedIndex:g.selectedIndex),w=p.useMemo(()=>({registerTab(N){return v({type:1,tab:N}),()=>v({type:2,tab:N})},registerPanel(N){return v({type:3,panel:N}),()=>v({type:4,panel:N})},change(N){x.current!==N&&h.current(N),c||v({type:0,index:N})}}),[v,c]);Ne(()=>{v({type:0,index:u!=null?u:n})},[u]);let I=p.useRef({tabs:[],panels:[]}),C={ref:d};return re.default.createElement(lr.Provider,{value:I},re.default.createElement(fr.Provider,{value:w},re.default.createElement(dr.Provider,{value:y},y.tabs.length<=0&&re.default.createElement(zs,{onFocus:()=>{var N,A;for(let T of M.current)if(((N=T.current)==null?void 0:N.tabIndex)===0)return(A=T.current)==null||A.focus(),!0;return!1}}),ce({ourProps:C,theirProps:a,slot:m,defaultTag:Vs,name:"Tabs"}))))}),ks="div",Rs=fe(function(e,t){let{orientation:n,selectedIndex:i}=wt("Tab.List"),r=ge(t);return ce({ourProps:{ref:r,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:i},defaultTag:ks,name:"Tabs.List"})}),Ys="button",Ws=fe(function(e,t){var n,i;let r=`headlessui-tabs-tab-${Te()}`,{orientation:o,activation:u,selectedIndex:a,tabs:s,panels:l}=wt("Tab"),c=gr("Tab"),d=wt("Tab"),g=cr("Tab"),v=p.useRef(null),m=ge(v,t);Ne(()=>c.registerTab(v),[c,v]);let h=g.current.tabs.indexOf(r);h===-1&&(h=g.current.tabs.push(r)-1);let M=s.indexOf(v);M===-1&&(M=h);let y=M===a,x=$(S=>{var k;let Y=S();if(Y===it.Success&&u==="auto"){let O=(k=gt(v))==null?void 0:k.activeElement,E=d.tabs.findIndex(F=>F.current===O);E!==-1&&c.change(E)}return Y}),w=$(S=>{let k=s.map(Y=>Y.current).filter(Boolean);if(S.key===se.Space||S.key===se.Enter){S.preventDefault(),S.stopPropagation(),c.change(M);return}switch(S.key){case se.Home:case se.PageUp:return S.preventDefault(),S.stopPropagation(),x(()=>ke(k,Ie.First));case se.End:case se.PageDown:return S.preventDefault(),S.stopPropagation(),x(()=>ke(k,Ie.Last))}if(x(()=>Oe(o,{vertical(){return S.key===se.ArrowUp?ke(k,Ie.Previous|Ie.WrapAround):S.key===se.ArrowDown?ke(k,Ie.Next|Ie.WrapAround):it.Error},horizontal(){return S.key===se.ArrowLeft?ke(k,Ie.Previous|Ie.WrapAround):S.key===se.ArrowRight?ke(k,Ie.Next|Ie.WrapAround):it.Error}}))===it.Success)return S.preventDefault()}),I=p.useRef(!1),C=$(()=>{var S;I.current||(I.current=!0,(S=v.current)==null||S.focus(),c.change(M),Gt(()=>{I.current=!1}))}),N=$(S=>{S.preventDefault()}),A=p.useMemo(()=>({selected:y}),[y]),T=e,P={ref:m,onKeyDown:w,onMouseDown:N,onClick:C,id:r,role:"tab",type:Zn(e,v),"aria-controls":(i=(n=l[M])==null?void 0:n.current)==null?void 0:i.id,"aria-selected":y,tabIndex:y?0:-1};return ce({ourProps:P,theirProps:T,slot:A,defaultTag:Ys,name:"Tabs.Tab"})}),Xs="div",Zs=fe(function(e,t){let{selectedIndex:n}=wt("Tab.Panels"),i=ge(t),r=p.useMemo(()=>({selectedIndex:n}),[n]);return ce({ourProps:{ref:i},theirProps:e,slot:r,defaultTag:Xs,name:"Tabs.Panels"})}),Hs="div",Us=pt.RenderStrategy|pt.Static,Qs=fe(function(e,t){var n,i,r,o;let{selectedIndex:u,tabs:a,panels:s}=wt("Tab.Panel"),l=gr("Tab.Panel"),c=cr("Tab.Panel"),d=`headlessui-tabs-panel-${Te()}`,g=p.useRef(null),v=ge(g,t);Ne(()=>l.registerPanel(g),[l,g]);let m=c.current.panels.indexOf(d);m===-1&&(m=c.current.panels.push(d)-1);let h=s.indexOf(g);h===-1&&(h=m);let M=h===u,y=p.useMemo(()=>({selected:M}),[M]),x=e,w={ref:v,id:d,role:"tabpanel","aria-labelledby":(i=(n=a[h])==null?void 0:n.current)==null?void 0:i.id,tabIndex:M?0:-1};return!M&&((r=e.unmount)!=null?r:!0)&&!((o=e.static)!=null&&o)?re.default.createElement(bt,{as:"span",...w}):ce({ourProps:w,theirProps:x,slot:y,defaultTag:Hs,features:Us,visible:M,name:"Tabs.Panel"})}),Bt=Object.assign(Ws,{Group:Bs,List:Rs,Panels:Zs,Panel:Qs});function Js({onChange:e,isSelected:t=!1,isDisabled:n,name:i="",...r}){const[o,u]=p.useState(t),a=l=>{u(l),e(l)},s=({checked:l})=>n?"bg-surface-disabled":l?"bg-action-primary-default":"bg-action-primary-disabled";return f(Os,{name:i,checked:o,onChange:a,as:p.Fragment,...r,children:({checked:l})=>G("button",{disabled:n,className:z("relative inline-flex h-6 w-12 items-center rounded-full",s({checked:l})),children:[f("span",{className:"sr-only"}),f("span",{className:z("inline-block h-4 w-4 transform rounded-full transition",l?"translate-x-7":"translate-x-1",n?"bg-icon-disabled":"bg-icon-on")})]})})}function le({children:e,size:t="sm",className:n,cursor:i,...r}){const o=z({"w-sm w-sm":t==="sm","w-xl h-xl":t==="md","h-[60px] h-[60px]":t==="lg"});return f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",className:z(o,n,i==="pointer"?"cursor-pointer":"","inline"),...r,children:e})}function be({kind:e,color:t,...n}){const i=z({"fill-icon-default":t==="default","fill-icon-success":t==="success","fill-icon-warning":t==="warning","fill-icon-disabled":t==="disabled","fill-icon-active":t==="active","fill-icon-subdued":t==="subdued","fill-icon-critical":t==="critical","fill-action-primary-default":t==="primary"}),r=z(i,!t&&"fill-current");switch(e){case"shipping":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.6 10.8h-.4V8.1c0-.3-.15-.625-.375-.85L12.35 4.775c-.225-.225-.55-.375-.85-.375h-1.1V3.2c0-.65-.55-1.2-1.2-1.2h-8A1.2 1.2 0 000 3.2v8c0 .675.525 1.2 1.2 1.2h.4a2.4 2.4 0 004.8 0h3.2a2.4 2.4 0 004.8 0h1.2c.2 0 .4-.175.4-.4v-.8c0-.2-.2-.4-.4-.4zM4 13.6c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2A1.2 1.2 0 014 13.6zm8 0c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2a1.2 1.2 0 01-1.2 1.2zm2-5.2h-3.6V5.6h1.1L14 8.1v.3z"})});case"home":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M7.792 5.217L2.69 9.432v4.52c0 .249.194.443.443.443H6.24c.222 0 .416-.194.416-.444V11.29c0-.221.222-.443.444-.443h1.774c.25 0 .444.222.444.443v2.662c0 .25.222.444.444.444h3.133a.456.456 0 00.444-.444V9.404l-5.13-4.187a.3.3 0 00-.194-.084.315.315 0 00-.222.084zm8.07 2.856L13.56 6.159V2.333A.337.337 0 0013.227 2h-1.553a.32.32 0 00-.333.333v1.996L8.846 2.277a1.426 1.426 0 00-1.692 0L.14 8.073a.33.33 0 00-.139.25c0 .083.055.166.083.221l.721.86c.056.083.139.11.25.11a.315.315 0 00.222-.082L7.792 4.08a.315.315 0 01.222-.083.3.3 0 01.194.083l6.516 5.352a.315.315 0 00.222.083c.111 0 .194-.028.25-.111l.72-.86A.315.315 0 0016 8.322a.331.331 0 00-.139-.25z"})});case"menu":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M0 2.123C0 1.502.51 1 1.143 1h13.714C15.49 1 16 1.502 16 2.123c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 2.123zm0 5.614c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123 0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 7.737zm16 5.614c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 13.35c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123z"})});case"notifications":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8.006 16c1.094 0 1.969-.875 1.969-2h-3.97c0 1.125.876 2 2 2zm6.719-4.656c-.594-.656-1.75-1.625-1.75-4.844 0-2.406-1.688-4.344-4-4.844V1c0-.531-.438-1-.97-1-.562 0-1 .469-1 1v.656c-2.312.5-4 2.438-4 4.844 0 3.219-1.155 4.188-1.75 4.844-.187.187-.28.437-.25.656 0 .531.376 1 1 1h11.97c.625 0 1-.469 1.03-1a.952.952 0 00-.28-.656z"})});case"novelty":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.826 13.25L9.154 1.657c-.5-.862-1.807-.89-2.308 0L.174 13.25c-.5.862.139 1.974 1.167 1.974H14.66a1.323 1.323 0 001.167-1.974zm-7.812-2.418c.695 0 1.279.583 1.279 1.278 0 .723-.584 1.28-1.28 1.28a1.258 1.258 0 01-1.278-1.28c0-.695.556-1.278 1.279-1.278zM6.79 6.244c-.028-.194.139-.361.333-.361h1.752c.194 0 .361.167.333.361l-.194 3.781c-.028.195-.167.306-.334.306H7.32c-.167 0-.306-.111-.334-.306l-.194-3.78z"})});case"help":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8.194 2.645c1.838 0 3.774 1.42 3.774 3.29 0 2.517-2.678 2.549-2.678 3.452v.032a.392.392 0 01-.387.387H7.097a.373.373 0 01-.387-.387V9.29c0-1.322 1-1.838 1.742-2.258.645-.355 1.064-.613 1.064-1.097 0-.645-.839-1.064-1.484-1.064-.87 0-1.258.42-1.838 1.161a.403.403 0 01-.549.065l-1.129-.839c-.161-.129-.193-.355-.064-.548.87-1.323 2-2.065 3.742-2.065zm-.194 8a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 13.613a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 10.645z"})});case"see-more":return f(le,{...n,children:f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M4 8a2 2 0 11-4.001-.001A2 2 0 014 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0110 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0116 8z",clipRule:"evenodd"})});case"info":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8 0C3.58 0 0 3.613 0 8c0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8 0-4.387-3.613-8-8-8zm0 3.548c.742 0 1.355.613 1.355 1.355 0 .774-.613 1.355-1.355 1.355-.774 0-1.355-.58-1.355-1.355 0-.742.58-1.355 1.355-1.355zm1.806 8.194a.392.392 0 01-.387.387H6.581a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h.387V8.516H6.58a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h2.064c.194 0 .387.193.387.387v3.226h.387c.194 0 .387.193.387.387v.774z"})});case"alert":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8 9.613a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 12.58a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 9.613zM6.58 4.29c-.032-.225.162-.419.388-.419H9c.226 0 .42.194.387.42l-.226 4.386c-.032.226-.193.355-.387.355h-1.58c-.194 0-.355-.129-.388-.355L6.581 4.29z"})});case"eye":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.916 7.969c-1.502-2.76-4.507-4.636-7.902-4.636-3.423 0-6.428 1.875-7.93 4.636A.787.787 0 000 8.333c0 .156.028.287.083.39 1.503 2.761 4.508 4.61 7.93 4.61 3.396 0 6.4-1.849 7.903-4.61A.787.787 0 0016 8.36a.822.822 0 00-.084-.39zm-7.902 4.114c-2.226 0-4.007-1.666-4.007-3.75 0-2.057 1.78-3.75 4.007-3.75 2.198 0 4.007 1.693 4.007 3.75v.026c0 2.058-1.809 3.75-4.007 3.75v-.026zm0-6.25c-.25.026-.501.052-.724.104.167.209.25.47.25.756 0 .677-.583 1.224-1.307 1.224-.306 0-.584-.079-.807-.235a2.612 2.612 0 00-.083.651c0 1.38 1.196 2.5 2.67 2.5 1.476 0 2.672-1.12 2.672-2.5S9.49 5.86 8.014 5.86v-.026z"})});case"date":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M1.848 6c-.203 0-.348.188-.348.375V14.5c0 .844.61 1.5 1.393 1.5h10.214c.755 0 1.393-.656 1.393-1.5V6.375c0-.188-.174-.375-.348-.375H1.848zM14.5 4.625V3.5c0-.813-.638-1.5-1.393-1.5h-1.393V.375c0-.188-.174-.375-.348-.375h-1.16c-.204 0-.349.188-.349.375V2H6.143V.375C6.143.187 5.969 0 5.795 0H4.634c-.203 0-.348.188-.348.375V2H2.893C2.109 2 1.5 2.688 1.5 3.5v1.125c0 .219.145.375.348.375h12.304c.174 0 .348-.156.348-.375z"})});case"search":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M15.883 14.635L12.1 10.859c-.094-.062-.188-.125-.282-.125h-.406a6.527 6.527 0 001.594-4.244c0-3.557-2.939-6.49-6.503-6.49C2.908 0 0 2.933 0 6.49a6.492 6.492 0 006.503 6.491 6.592 6.592 0 004.252-1.56v.405c0 .094.031.188.094.281l3.783 3.776c.157.156.407.156.532 0l.719-.718c.156-.124.156-.374 0-.53zm-9.38-3.152A4.972 4.972 0 011.501 6.49a4.992 4.992 0 015.002-4.992c2.752 0 5.003 2.247 5.003 4.992a4.992 4.992 0 01-5.003 4.993z"})});case"delete":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M10.264 7.983l3.404-3.404a1.011 1.011 0 000-1.498l-.749-.75a1.01 1.01 0 00-1.498 0L8.017 5.737 4.579 2.332a1.01 1.01 0 00-1.498 0l-.75.749a1.01 1.01 0 000 1.498l3.405 3.404-3.404 3.438a1.01 1.01 0 000 1.498l.749.75c.408.442 1.09.442 1.498 0l3.438-3.405 3.404 3.404a1.01 1.01 0 001.498 0l.75-.749a1.01 1.01 0 000-1.498l-3.405-3.438z"})});case"more-less":return G(le,{...n,children:[f("path",{className:r,fill:"none",d:"M12.286 3.929H9.07V.714A.734.734 0 008.357 0h-.714a.72.72 0 00-.714.714V3.93H3.714A.72.72 0 003 4.643v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V6.07h3.215A.72.72 0 0013 5.357v-.714a.734.734 0 00-.714-.714z"}),f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 15.214c0-.394.373-.714.833-.714h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})]});case"down":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M7.47 12.267a.755.755 0 001.06 0l6.254-6.222c.288-.321.288-.802 0-1.09l-.738-.739c-.289-.288-.77-.288-1.09 0l-4.94 4.94-4.971-4.94c-.321-.288-.802-.288-1.09 0l-.739.738c-.288.289-.288.77 0 1.09l6.255 6.223z"})});case"up":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8.53 3.733a.755.755 0 00-1.06 0L1.217 9.955c-.288.321-.288.802 0 1.09l.738.739c.289.288.77.288 1.09 0l4.94-4.94 4.971 4.94c.321.288.802.288 1.09 0l.739-.738c.288-.289.288-.77 0-1.09L8.529 3.732z"})});case"back":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M3.733 7.47a.755.755 0 000 1.06l6.222 6.254c.321.288.802.288 1.09 0l.739-.738c.288-.289.288-.77 0-1.09l-4.94-4.94 4.94-4.971c.288-.321.288-.802 0-1.09l-.738-.739c-.289-.288-.77-.288-1.09 0L3.732 7.471z"})});case"front":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M12.267 8.53a.755.755 0 000-1.06L6.045 1.217c-.321-.288-.802-.288-1.09 0l-.739.738c-.288.289-.288.77 0 1.09l4.94 4.94-4.94 4.971c-.288.321-.288.802 0 1.09l.738.739c.289.288.77.288 1.09 0l6.223-6.255z"})});case"major-minor":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M13.429 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.862 1.048V.75c0-.414-.306-.75-.685-.75-.38 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.068.367.177.5l-.001.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zM7.309 2.748L5.254.248 5.25.25A.658.658 0 004.743 0a.658.658 0 00-.508.25L4.233.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.001.002.862-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"minor-major":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M7.486 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.861 1.048V.75c0-.414-.307-.75-.686-.75-.379 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.069.367.178.5l-.002.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zm5.88-10.002L11.31.248l-.002.002A.658.658 0 0010.8 0a.658.658 0 00-.508.25L10.29.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.002.002.861-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"create":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M13.143 6.714H9.286V2.857A.881.881 0 008.429 2H7.57a.863.863 0 00-.857.857v3.857H2.857A.863.863 0 002 7.571v.858c0 .482.375.857.857.857h3.857v3.857c0 .482.375.857.857.857h.858a.863.863 0 00.857-.857V9.286h3.857A.863.863 0 0014 8.429V7.57a.881.881 0 00-.857-.857z"})});case"success":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M8 16a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm3.531-9.469l-4 4a.747.747 0 01-1.06 0l-2-2a.75.75 0 011.06-1.06L7 8.942l3.469-3.472a.75.75 0 011.06 1.06l.002.002z"})});case"error":return f(le,{...n,children:f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M7.18.373L.314 7.336A1.091 1.091 0 00.32 8.874l6.758 6.758c.42.42 1.098.427 1.527.016l7.059-6.77a1.091 1.091 0 00.016-1.558L8.73.368A1.091 1.091 0 007.18.373zM9.39 10.585c0-.716-.601-1.317-1.316-1.317-.745 0-1.317.601-1.317 1.317 0 .744.572 1.316 1.317 1.316.715 0 1.316-.572 1.316-1.316zm-2.232-6.41c-.2 0-.372.171-.344.371l.2 3.893c.03.2.172.314.344.314H8.76c.172 0 .315-.114.344-.314l.2-3.893c.029-.2-.143-.372-.343-.372H7.157z",clipRule:"evenodd"})});case"more":return f(le,{...n,children:f("path",{className:r,fill:"none",d:"M12.286 6.929H9.07V3.714A.734.734 0 008.357 3h-.714a.72.72 0 00-.714.714V6.93H3.714A.72.72 0 003 7.643v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V9.07h3.215A.72.72 0 0013 8.357v-.714a.734.734 0 00-.714-.714z"})});case"less":return f(le,{...n,children:f("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 7.714C3 7.32 3.373 7 3.833 7h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})});default:return f(we,{})}}function Zi(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function kt(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function Rt(e){return["top","bottom"].includes(kt(e))?"x":"y"}function pr(e){return e==="y"?"height":"width"}function Hi(e,t,n){let{reference:i,floating:r}=e;const o=i.x+i.width/2-r.width/2,u=i.y+i.height/2-r.height/2,a=Rt(t),s=pr(a),l=i[s]/2-r[s]/2,c=kt(t),d=a==="x";let g;switch(c){case"top":g={x:o,y:i.y-r.height};break;case"bottom":g={x:o,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:u};break;case"left":g={x:i.x-r.width,y:u};break;default:g={x:i.x,y:i.y}}switch(sn(t)){case"start":g[a]-=l*(n&&d?-1:1);break;case"end":g[a]+=l*(n&&d?-1:1);break}return g}const _s=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:u}=n,a=o.filter(Boolean),s=await(u.isRTL==null?void 0:u.isRTL(t));if(process.env.NODE_ENV!=="production"){if(u==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),a.filter(h=>{let{name:M}=h;return M==="autoPlacement"||M==="flip"}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));(!e||!t)&&console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let l=await u.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=Hi(l,i,s),g=i,v={},m=0;for(let h=0;h<a.length;h++){const{name:M,fn:y}=a[h],{x,y:w,data:I,reset:C}=await y({x:c,y:d,initialPlacement:i,placement:g,strategy:r,middlewareData:v,rects:l,platform:u,elements:{reference:e,floating:t}});if(c=x!=null?x:c,d=w!=null?w:d,v={...v,[M]:{...v[M],...I}},process.env.NODE_ENV!=="production"&&m>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),C&&m<=50){m++,typeof C=="object"&&(C.placement&&(g=C.placement),C.rects&&(l=C.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:r}):C.rects),{x:c,y:d}=Hi(l,g,s)),h=-1;continue}}return{x:c,y:d,placement:g,strategy:r,middlewareData:v}};function $s(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ui(e){return typeof e!="number"?$s(e):{top:e,right:e,bottom:e,left:e}}function ln(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Qi(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:o,rects:u,elements:a,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:g=!1,padding:v=0}=t,m=Ui(v),M=a[g?d==="floating"?"reference":"floating":d],y=ln(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(M)))==null||n?M:M.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:s})),x=ln(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...u.floating,x:i,y:r}:u.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:s}):u[d]);return{top:y.top-x.top+m.top,bottom:x.bottom-y.bottom+m.bottom,left:y.left-x.left+m.left,right:x.right-y.right+m.right}}const Ks=Math.min,qs=Math.max;function mr(e,t,n){return qs(e,Ks(t,n))}const Ji=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:i=0}=e!=null?e:{},{x:r,y:o,placement:u,rects:a,platform:s}=t;if(n==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const l=Ui(i),c={x:r,y:o},d=Rt(u),g=sn(u),v=pr(d),m=await s.getDimensions(n),h=d==="y"?"top":"left",M=d==="y"?"bottom":"right",y=a.reference[v]+a.reference[d]-c[d]-a.floating[v],x=c[d]-a.reference[d],w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(n));let I=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0;I===0&&(I=a.floating[v]);const C=y/2-x/2,N=l[h],A=I-m[v]-l[M],T=I/2-m[v]/2+C,P=mr(N,T,A),Y=(g==="start"?l[h]:l[M])>0&&T!==P&&a.reference[v]<=a.floating[v]?T<N?N-T:A-T:0;return{[d]:c[d]-Y,data:{[d]:P,centerOffset:T-P}}}}),el={left:"right",right:"left",bottom:"top",top:"bottom"};function cn(e){return e.replace(/left|right|bottom|top/g,t=>el[t])}function tl(e,t,n){n===void 0&&(n=!1);const i=sn(e),r=Rt(e),o=pr(r);let u=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(u=cn(u)),{main:u,cross:cn(u)}}const nl={start:"end",end:"start"};function _i(e){return e.replace(/start|end/g,t=>nl[t])}function rl(e){const t=cn(e);return[_i(e),t,_i(t)]}const il=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:i,middlewareData:r,rects:o,initialPlacement:u,platform:a,elements:s}=t,{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",flipAlignment:v=!0,...m}=e,h=kt(i),y=d||(h===u||!v?[cn(u)]:rl(u)),x=[u,...y],w=await Qi(t,m),I=[];let C=((n=r.flip)==null?void 0:n.overflows)||[];if(l&&I.push(w[h]),c){const{main:P,cross:S}=tl(i,o,await(a.isRTL==null?void 0:a.isRTL(s.floating)));I.push(w[P],w[S])}if(C=[...C,{placement:i,overflows:I}],!I.every(P=>P<=0)){var N,A;const P=((N=(A=r.flip)==null?void 0:A.index)!=null?N:0)+1,S=x[P];if(S)return{data:{index:P,overflows:C},reset:{placement:S}};let k="bottom";switch(g){case"bestFit":{var T;const Y=(T=C.map(O=>[O,O.overflows.filter(E=>E>0).reduce((E,F)=>E+F,0)]).sort((O,E)=>O[1]-E[1])[0])==null?void 0:T[0].placement;Y&&(k=Y);break}case"initialPlacement":k=u;break}if(i!==k)return{reset:{placement:k}}}return{}}}};async function ol(e,t){const{placement:n,platform:i,elements:r}=e,o=await(i.isRTL==null?void 0:i.isRTL(r.floating)),u=kt(n),a=sn(n),s=Rt(n)==="x",l=["left","top"].includes(u)?-1:1,c=o&&s?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:g,crossAxis:v,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof m=="number"&&(v=a==="end"?m*-1:m),s?{x:v*c,y:g*l}:{x:g*l,y:v*c}}const al=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,r=await ol(t,e);return{x:n+r.x,y:i+r.y,data:r}}}};function ul(e){return e==="x"?"y":"x"}const sl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:o=!0,crossAxis:u=!1,limiter:a={fn:M=>{let{x:y,y:x}=M;return{x:y,y:x}}},...s}=e,l={x:n,y:i},c=await Qi(t,s),d=Rt(kt(r)),g=ul(d);let v=l[d],m=l[g];if(o){const M=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=v+c[M],w=v-c[y];v=mr(x,v,w)}if(u){const M=g==="y"?"top":"left",y=g==="y"?"bottom":"right",x=m+c[M],w=m-c[y];m=mr(x,m,w)}const h=a.fn({...t,[d]:v,[g]:m});return{...h,data:{x:h.x-n,y:h.y-i}}}}};function $i(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Qe(e){if(e==null)return window;if(!$i(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Je(e){return Qe(e).getComputedStyle(e)}function at(e){return $i(e)?"":e?(e.nodeName||"").toLowerCase():""}function Ki(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function _e(e){return e instanceof Qe(e).HTMLElement}function $e(e){return e instanceof Qe(e).Element}function ll(e){return e instanceof Qe(e).Node}function qi(e){if(typeof ShadowRoot>"u")return!1;const t=Qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function dn(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Je(e);return/auto|scroll|overlay|hidden/.test(t+i+n)&&!["inline","contents"].includes(r)}function cl(e){return["table","td","th"].includes(at(e))}function br(e){const t=/firefox/i.test(Ki()),n=Je(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||(i?i!=="none":!1)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const o=n.contain;return o!=null?o.includes(r):!1})}function eo(){return!/^((?!chrome|android).)*safari/i.test(Ki())}function vr(e){return["html","body","#document"].includes(at(e))}const to=Math.min,Yt=Math.max,fn=Math.round;function Ke(e,t,n){var i,r,o,u;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let s=1,l=1;t&&_e(e)&&(s=e.offsetWidth>0&&fn(a.width)/e.offsetWidth||1,l=e.offsetHeight>0&&fn(a.height)/e.offsetHeight||1);const c=$e(e)?Qe(e):window,d=!eo()&&n,g=(a.left+(d&&(i=(r=c.visualViewport)==null?void 0:r.offsetLeft)!=null?i:0))/s,v=(a.top+(d&&(o=(u=c.visualViewport)==null?void 0:u.offsetTop)!=null?o:0))/l,m=a.width/s,h=a.height/l;return{width:m,height:h,top:v,right:g+m,bottom:v+h,left:g,x:g,y:v}}function ut(e){return((ll(e)?e.ownerDocument:e.document)||window.document).documentElement}function gn(e){return $e(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function no(e){return Ke(ut(e)).left+gn(e).scrollLeft}function dl(e){const t=Ke(e);return fn(t.width)!==e.offsetWidth||fn(t.height)!==e.offsetHeight}function fl(e,t,n){const i=_e(t),r=ut(t),o=Ke(e,i&&dl(t),n==="fixed");let u={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&n!=="fixed")if((at(t)!=="body"||dn(r))&&(u=gn(t)),_e(t)){const s=Ke(t,!0);a.x=s.x+t.clientLeft,a.y=s.y+t.clientTop}else r&&(a.x=no(r));return{x:o.left+u.scrollLeft-a.x,y:o.top+u.scrollTop-a.y,width:o.width,height:o.height}}function Wt(e){if(at(e)==="html")return e;const t=e.assignedSlot||e.parentNode||(qi(e)?e.host:null)||ut(e);return qi(t)?t.host:t}function ro(e){return!_e(e)||Je(e).position==="fixed"?null:e.offsetParent}function gl(e){let t=Wt(e);for(;_e(t)&&!vr(t);){if(br(t))return t;t=Wt(t)}return null}function io(e){const t=Qe(e);let n=ro(e);for(;n&&cl(n)&&Je(n).position==="static";)n=ro(n);return n&&(at(n)==="html"||at(n)==="body"&&Je(n).position==="static"&&!br(n))?t:n||gl(e)||t}function pl(e){if(_e(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ke(e);return{width:t.width,height:t.height}}function ml(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=_e(n),o=ut(n);if(n===o)return t;let u={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&i!=="fixed")&&((at(n)!=="body"||dn(o))&&(u=gn(n)),_e(n))){const s=Ke(n,!0);a.x=s.x+n.clientLeft,a.y=s.y+n.clientTop}return{...t,x:t.x-u.scrollLeft+a.x,y:t.y-u.scrollTop+a.y}}function bl(e,t){const n=Qe(e),i=ut(e),r=n.visualViewport;let o=i.clientWidth,u=i.clientHeight,a=0,s=0;if(r){o=r.width,u=r.height;const l=eo();(l||!l&&t==="fixed")&&(a=r.offsetLeft,s=r.offsetTop)}return{width:o,height:u,x:a,y:s}}function vl(e){var t;const n=ut(e),i=gn(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Yt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=Yt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-i.scrollLeft+no(e);const s=-i.scrollTop;return Je(r||n).direction==="rtl"&&(a+=Yt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:u,x:a,y:s}}function oo(e){const t=Wt(e);return vr(t)?e.ownerDocument.body:_e(t)&&dn(t)?t:oo(t)}function st(e,t){var n;t===void 0&&(t=[]);const i=oo(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),o=Qe(i),u=r?[o].concat(o.visualViewport||[],dn(i)?i:[]):i,a=t.concat(u);return r?a:a.concat(st(u))}function hl(e,t){const n=Ke(e,!1,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:i,left:r,x:r,y:i,right:r+e.clientWidth,bottom:i+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function ao(e,t,n){return t==="viewport"?ln(bl(e,n)):$e(t)?hl(t,n):ln(vl(ut(e)))}function Ml(e){let t=st(e).filter(o=>$e(o)&&at(o)!=="body"),n=null;const i=Je(e).position==="fixed";let r=i?Wt(e):e;for(;$e(r)&&!vr(r);){const o=Je(r),u=br(r);(i?!u&&!n:!u&&o.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?t=t.filter(s=>s!==r):n=o,r=Wt(r)}return t}function Il(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const u=[...n==="clippingAncestors"?Ml(t):[].concat(n),i],a=u[0],s=u.reduce((l,c)=>{const d=ao(t,c,r);return l.top=Yt(d.top,l.top),l.right=to(d.right,l.right),l.bottom=to(d.bottom,l.bottom),l.left=Yt(d.left,l.left),l},ao(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const yl={getClippingRect:Il,convertOffsetParentRelativeRectToViewportRelativeRect:ml,isElement:$e,getDimensions:pl,getOffsetParent:io,getDocumentElement:ut,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||io,o=this.getDimensions;return{reference:fl(t,await r(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Je(e).direction==="rtl"};function uo(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:u=!0,animationFrame:a=!1}=i,s=r&&!a,l=s||o?[...$e(e)?st(e):e.contextElement?st(e.contextElement):[],...st(t)]:[];l.forEach(m=>{s&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});let c=null;if(u){let m=!0;c=new ResizeObserver(()=>{m||n(),m=!1}),$e(e)&&!a&&c.observe(e),!$e(e)&&e.contextElement&&!a&&c.observe(e.contextElement),c.observe(t)}let d,g=a?Ke(e):null;a&&v();function v(){const m=Ke(e);g&&(m.x!==g.x||m.y!==g.y||m.width!==g.width||m.height!==g.height)&&n(),g=m,d=requestAnimationFrame(v)}return n(),()=>{var m;l.forEach(h=>{s&&h.removeEventListener("scroll",n),o&&h.removeEventListener("resize",n)}),(m=c)==null||m.disconnect(),c=null,a&&cancelAnimationFrame(d)}}const Cl=(e,t,n)=>_s(e,t,{platform:yl,...n});var hr=typeof document<"u"?p.useLayoutEffect:p.useEffect;function pn(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 n,i,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(!pn(e[i],t[i]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[i]))return!1;for(i=n;i--!==0;){const o=r[i];if(!(o==="_owner"&&e.$$typeof)&&!pn(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function xl(e){const t=j.useRef(e);return hr(()=>{t.current=e}),t}function wl(e){let{middleware:t=[],placement:n="bottom",strategy:i="absolute",whileElementsMounted:r}=e===void 0?{}:e;const[o,u]=j.useState({x:null,y:null,strategy:i,placement:n,middlewareData:{}}),[a,s]=j.useState(t);pn(a,t)||s(t);const l=j.useRef(null),c=j.useRef(null),d=j.useRef(null),g=j.useRef(o),v=xl(r),m=j.useCallback(()=>{!l.current||!c.current||Cl(l.current,c.current,{middleware:a,placement:n,strategy:i}).then(I=>{h.current&&!pn(g.current,I)&&(g.current=I,ou.flushSync(()=>{u(I)}))})},[a,n,i]);hr(()=>{h.current&&m()},[m]);const h=j.useRef(!1);hr(()=>(h.current=!0,()=>{h.current=!1}),[]);const M=j.useCallback(()=>{if(typeof d.current=="function"&&(d.current(),d.current=null),l.current&&c.current)if(v.current){const I=v.current(l.current,c.current,m);d.current=I}else m()},[m,v]),y=j.useCallback(I=>{l.current=I,M()},[M]),x=j.useCallback(I=>{c.current=I,M()},[M]),w=j.useMemo(()=>({reference:l,floating:c}),[]);return j.useMemo(()=>({...o,update:m,refs:w,reference:y,floating:x}),[o,m,w,y,x])}const Nl=e=>{const{element:t,padding:n}=e;function i(r){return Object.prototype.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){return i(t)?t.current!=null?Ji({element:t.current,padding:n}).fn(r):{}:t?Ji({element:t,padding:n}).fn(r):{}}}};var vt=typeof document<"u"?p.useLayoutEffect:p.useEffect;function Al(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(r=>r(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(i=>i!==n))}}}let Mr=!1,El=0;const so=()=>"floating-ui-"+El++;function Ll(){const[e,t]=j.useState(()=>Mr?so():void 0);return vt(()=>{e==null&&t(so())},[]),j.useEffect(()=>{Mr||(Mr=!0)},[]),e}const lo=j["useId".toString()],co=lo!=null?lo:Ll,Sl=j.createContext(null),Dl=j.createContext(null),fo=()=>{var e,t;return(e=(t=j.useContext(Sl))==null?void 0:t.id)!=null?e:null},Ir=()=>j.useContext(Dl);function lt(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function go(e){var t;return(t=lt(e).defaultView)!=null?t:window}function ht(e){return e?e instanceof go(e).Element:!1}function jl(e){return e?e instanceof go(e).HTMLElement:!1}const po=j["useInsertionEffect".toString()];function Tl(e){const t=j.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return po?po(()=>{t.current=e}):t.current=e,j.useCallback(function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.current==null?void 0:t.current(...i)},[])}function Ol(e){let{open:t=!1,onOpenChange:n,whileElementsMounted:i,placement:r,middleware:o,strategy:u,nodeId:a}=e===void 0?{}:e;const[s,l]=j.useState(null),c=Ir(),d=j.useRef(null),g=j.useRef({}),v=j.useState(()=>Al())[0],m=wl({placement:r,middleware:o,strategy:u,whileElementsMounted:i}),h=Tl(n),M=j.useMemo(()=>({...m.refs,domReference:d}),[m.refs]),y=j.useMemo(()=>({...m,refs:M,dataRef:g,nodeId:a,events:v,open:t,onOpenChange:h,_:{domReference:s}}),[m,a,v,t,h,M,s]);vt(()=>{const I=c==null?void 0:c.nodesRef.current.find(C=>C.id===a);I&&(I.context=y)});const{reference:x}=m,w=j.useCallback(I=>{(ht(I)||I===null)&&(y.refs.domReference.current=I,l(I)),x(I)},[x,y.refs]);return j.useMemo(()=>({...m,context:y,refs:M,reference:w}),[m,M,y,w])}function yr(e,t,n){const i=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(r=>r?r[n]:null).concat(e).reduce((r,o)=>(o&&Object.entries(o).forEach(u=>{let[a,s]=u;if(a.indexOf("on")===0){if(i.has(a)||i.set(a,[]),typeof s=="function"){var l;(l=i.get(a))==null||l.push(s),r[a]=function(){for(var c,d=arguments.length,g=new Array(d),v=0;v<d;v++)g[v]=arguments[v];(c=i.get(a))==null||c.forEach(m=>m(...g))}}}else r[a]=s}),r),{})}}const zl=function(e){e===void 0&&(e=[]);const t=e,n=j.useCallback(o=>yr(o,e,"reference"),t),i=j.useCallback(o=>yr(o,e,"floating"),t),r=j.useCallback(o=>yr(o,e,"item"),t);return j.useMemo(()=>({getReferenceProps:n,getFloatingProps:i,getItemProps:r}),[n,i,r])};function Cr(e,t){var n;let i=(n=e.filter(u=>{var a;return u.parentId===t&&((a=u.context)==null?void 0:a.open)}))!=null?n:[],r=i;for(;r.length;){var o;r=(o=e.filter(u=>{var a;return(a=r)==null?void 0:a.some(s=>{var l;return u.parentId===s.id&&((l=u.context)==null?void 0:l.open)})}))!=null?o:[],i=i.concat(r)}return i}const mo="floating-ui-root",Gl=function(e){let{id:t=mo,enabled:n=!0}=e===void 0?{}:e;const[i,r]=j.useState(null);return vt(()=>{if(!n)return;const o=document.getElementById(t);if(o)r(o);else{const u=document.createElement("div");u.id=t,r(u),document.body.contains(u)||document.body.appendChild(u)}},[t,n]),i},Pl=e=>{let{children:t,id:n=mo,root:i=null}=e;const r=Gl({id:n,enabled:!i});return i?Tt.createPortal(t,i):r?Tt.createPortal(t,r):null};function Fl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function bo(e){const t=p.useRef(e);return vt(()=>{t.current=e}),t}function Vl(e){const t=p.useRef();return vt(()=>{t.current=e},[e]),t.current}function xr(e,t,n){return n&&n!=="mouse"?0:typeof e=="number"?e:e==null?void 0:e[t]}const Bl=function(e,t){let{enabled:n=!0,delay:i=0,handleClose:r=null,mouseOnly:o=!1,restMs:u=0,move:a=!0}=t===void 0?{}:t;const{open:s,onOpenChange:l,dataRef:c,events:d,refs:g,_:v}=e,m=Ir(),h=fo(),M=bo(r),y=bo(i),x=Vl(s),w=j.useRef(),I=j.useRef(),C=j.useRef(),N=j.useRef(),A=j.useRef(!0),T=j.useRef(!1),P=j.useCallback(()=>{var O;const E=(O=c.current.openEvent)==null?void 0:O.type;return(E==null?void 0:E.includes("mouse"))&&E!=="mousedown"},[c]);j.useEffect(()=>{if(!n)return;function O(){clearTimeout(I.current),clearTimeout(N.current),A.current=!0}return d.on("dismiss",O),()=>{d.off("dismiss",O)}},[n,d,g]),j.useEffect(()=>{if(!n||!M.current)return;function O(){P()&&l(!1)}const E=lt(g.floating.current).documentElement;return E.addEventListener("mouseleave",O),()=>{E.removeEventListener("mouseleave",O)}},[g,l,n,M,c,P]);const S=j.useCallback(function(O){O===void 0&&(O=!0);const E=xr(y.current,"close",w.current);E&&!C.current?(clearTimeout(I.current),I.current=setTimeout(()=>l(!1),E)):O&&(clearTimeout(I.current),l(!1))},[y,l]),k=j.useCallback(()=>{C.current&&(lt(g.floating.current).removeEventListener("pointermove",C.current),C.current=void 0)},[g]),Y=j.useCallback(()=>{lt(g.floating.current).body.style.pointerEvents="",T.current=!1},[g]);return j.useEffect(()=>{if(!n)return;function O(){return c.current.openEvent?["click","mousedown"].includes(c.current.openEvent.type):!1}function E(Q){if(clearTimeout(I.current),A.current=!1,o&&w.current!=="mouse"||u>0&&xr(y.current,"open")===0)return;c.current.openEvent=Q;const de=xr(y.current,"open",w.current);de?I.current=setTimeout(()=>{l(!0)},de):l(!0)}function F(Q){if(O())return;const de=lt(g.floating.current);if(clearTimeout(N.current),M.current){clearTimeout(I.current),C.current&&de.removeEventListener("pointermove",C.current),C.current=M.current({...e,tree:m,x:Q.clientX,y:Q.clientY,onClose(){Y(),k(),S()}}),de.addEventListener("pointermove",C.current);return}S()}function B(Q){O()||M.current==null||M.current({...e,tree:m,x:Q.clientX,y:Q.clientY,leave:!0,onClose(){Y(),k(),S()}})(Q)}const Z=g.floating.current,R=g.domReference.current;if(ht(R))return s&&R.addEventListener("mouseleave",B),Z==null||Z.addEventListener("mouseleave",B),a&&R.addEventListener("mousemove",E,{once:!0}),R.addEventListener("mouseenter",E),R.addEventListener("mouseleave",F),()=>{s&&R.removeEventListener("mouseleave",B),Z==null||Z.removeEventListener("mouseleave",B),a&&R.removeEventListener("mousemove",E),R.removeEventListener("mouseenter",E),R.removeEventListener("mouseleave",F)}},[v.domReference,n,e,o,u,a,S,k,Y,l,s,m,g,y,M,c]),vt(()=>{if(!!n&&s&&M.current&&M.current.__options.blockPointerEvents&&P()){lt(g.floating.current).body.style.pointerEvents="none",T.current=!0;const F=g.domReference.current,B=g.floating.current;if(ht(F)&&B){var O,E;const Z=m==null||(O=m.nodesRef.current.find(R=>R.id===h))==null||(E=O.context)==null?void 0:E.refs.floating.current;return Z&&(Z.style.pointerEvents=""),F.style.pointerEvents="auto",B.style.pointerEvents="auto",()=>{F.style.pointerEvents="",B.style.pointerEvents=""}}}},[n,s,h,g,m,M,c,P]),vt(()=>{x&&!s&&(w.current=void 0,k(),Y())}),j.useEffect(()=>()=>{k(),clearTimeout(I.current),clearTimeout(N.current),T.current&&Y()},[n,k,Y]),j.useMemo(()=>{if(!n)return{};function O(E){w.current=E.pointerType}return{reference:{onPointerDown:O,onPointerEnter:O,onMouseMove(){s||u===0||(clearTimeout(N.current),N.current=setTimeout(()=>{A.current||l(!0)},u))}},floating:{onMouseEnter(){clearTimeout(I.current)},onMouseLeave(){S(!1)}}}},[n,u,s,l,S])},kl=function(e,t){let{open:n}=e,{enabled:i=!0,role:r="dialog"}=t===void 0?{}:t;const o=co(),u=co();return j.useMemo(()=>{const a={id:o,role:r};return i?r==="tooltip"?{reference:{"aria-describedby":n?o:void 0},floating:a}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":r==="alertdialog"?"dialog":r,"aria-controls":n?o:void 0,...r==="listbox"&&{role:"combobox"},...r==="menu"&&{id:u}},floating:{...a,...r==="menu"&&{"aria-labelledby":u}}}:{}},[i,r,n,o,u])};function wr(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}const Rl={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Yl={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Wl=function(e,t){let{open:n,onOpenChange:i,refs:r,events:o,nodeId:u}=e,{enabled:a=!0,escapeKey:s=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:d=!1,referencePressEvent:g="pointerdown",ancestorScroll:v=!1,bubbles:m=!0}=t===void 0?{}:t;const h=Ir(),M=fo()!=null,y=j.useRef(!1);return j.useEffect(()=>{if(!n||!a)return;function x(A){if(A.key==="Escape"){if(!m&&h&&Cr(h.nodesRef.current,u).length>0)return;o.emit("dismiss",{preventScroll:!1}),i(!1)}}function w(A){const T=y.current;if(y.current=!1,T)return;const P=Fl(A);if(ht(P)&&r.floating.current){var S;const Y=(S=r.floating.current.ownerDocument.defaultView)!=null?S:window,O=P.scrollWidth>P.clientWidth,E=P.scrollHeight>P.clientHeight;let F=E&&A.offsetX>P.clientWidth;if(E&&Y.getComputedStyle(P).direction==="rtl"&&(F=A.offsetX<=P.offsetWidth-P.clientWidth),F||O&&A.offsetY>P.clientHeight)return}const k=h&&Cr(h.nodesRef.current,u).some(Y=>{var O;return wr(A,(O=Y.context)==null?void 0:O.refs.floating.current)});wr(A,r.floating.current)||wr(A,r.domReference.current)||k||!m&&h&&Cr(h.nodesRef.current,u).length>0||(o.emit("dismiss",M?{preventScroll:!0}:!1),i(!1))}function I(){i(!1)}const C=lt(r.floating.current);s&&C.addEventListener("keydown",x),l&&C.addEventListener(c,w);let N=[];return v&&(ht(r.domReference.current)&&(N=st(r.domReference.current)),ht(r.floating.current)&&(N=N.concat(st(r.floating.current))),!ht(r.reference.current)&&r.reference.current&&r.reference.current.contextElement&&(N=N.concat(st(r.reference.current.contextElement)))),N=N.filter(A=>{var T;return A!==((T=C.defaultView)==null?void 0:T.visualViewport)}),N.forEach(A=>{A.addEventListener("scroll",I,{passive:!0})}),()=>{s&&C.removeEventListener("keydown",x),l&&C.removeEventListener(c,w),N.forEach(A=>{A.removeEventListener("scroll",I)})}},[s,l,c,o,h,u,n,i,v,a,m,r,M]),j.useEffect(()=>{y.current=!1},[l,c]),j.useMemo(()=>a?{reference:{[Rl[g]]:()=>{d&&(o.emit("dismiss"),i(!1))}},floating:{[Yl[c]]:()=>{y.current=!0}}}:{},[a,o,d,c,g,i])},Xl=function(e,t){let{open:n,onOpenChange:i,dataRef:r,refs:o,events:u}=e,{enabled:a=!0,keyboardOnly:s=!0}=t===void 0?{}:t;const l=j.useRef(""),c=j.useRef(!1),d=j.useRef();return j.useEffect(()=>{var g;if(!a)return;const m=(g=lt(o.floating.current).defaultView)!=null?g:window;function h(){!n&&jl(o.domReference.current)&&o.domReference.current.blur()}return m.addEventListener("blur",h),()=>{m.removeEventListener("blur",h)}},[o,n,a]),j.useEffect(()=>{if(!a)return;function g(){c.current=!0}return u.on("dismiss",g),()=>{u.off("dismiss",g)}},[u,a]),j.useEffect(()=>()=>{clearTimeout(d.current)},[]),j.useMemo(()=>a?{reference:{onPointerDown(g){let{pointerType:v}=g;l.current=v,c.current=!!(v&&s)},onPointerLeave(){c.current=!1},onFocus(g){var v,m,h;c.current||g.type==="focus"&&((v=r.current.openEvent)==null?void 0:v.type)==="mousedown"&&(m=o.domReference.current)!=null&&m.contains((h=r.current.openEvent)==null?void 0:h.target)||(r.current.openEvent=g.nativeEvent,i(!0))},onBlur(g){const v=g.relatedTarget;d.current=setTimeout(()=>{var m,h;(m=o.floating.current)!=null&&m.contains(v)||(h=o.domReference.current)!=null&&h.contains(v)||(c.current=!1,i(!1))})}}}:{},[a,s,o,r,i])},Zl=j.forwardRef((e,t)=>{var a,s;const{state:n,children:i,...r}=e,o=j.useMemo(()=>Zi([n.floating,t]),[n.floating,t]),u=()=>{const l={top:"bottom",right:"left",bottom:"top",left:"right"}[n.placement.split("-")[0]],{arrow:c}=n.middlewareData;return f("div",{ref:n.arrowRef,style:{position:"absolute",width:"10px",height:"10px",background:"white",left:(c==null?void 0:c.x)!=null?`${c==null?void 0:c.x}px`:"",top:(c==null?void 0:c.y)!=null?`${c==null?void 0:c.y}px`:"",[l]:"-2px",transform:"rotate(45deg)"}})};return f(Pl,{children:n.open&&G("div",{ref:o,style:{position:n.strategy,top:(a=n.y)!=null?a:0,left:(s=n.x)!=null?s:0,visibility:n.x==null?"hidden":"visible",...r.style},...n.getFloatingProps(r),children:[i,u()]})})}),Hl=j.forwardRef((e,t)=>{const{children:n,state:i,asChild:r=!1,...o}=e,u=n.ref,a=j.useMemo(()=>Zi([i.reference,t,u]),[i.reference,t,u]);return r&&j.isValidElement(n)?j.cloneElement(n,i.getReferenceProps({ref:a,...o,...n.props})):f("button",{ref:a,...i.getReferenceProps(o),children:n})});function Ul(e){const{initialOpen:t=!1,placement:n}=e,i=p.useRef(null),[r,o]=p.useState(t),u=[al(8),il({padding:5}),sl({padding:5}),Nl({element:i,padding:5})],s=Ol({placement:n,open:r,onOpenChange:o,whileElementsMounted:uo,middleware:u}),l=s.context,c=Bl(l,{move:!1}),d=Xl(l),g=Wl(l),v=kl(l,{role:"tooltip"}),m=zl([c,d,g,v]);return p.useMemo(()=>({open:r,setOpen:o,arrowRef:i,...m,...s}),[r,o,m,s,i])}function vo({placement:e="bottom",title:t,description:n,initialOpen:i=!1,children:r}){const o=Ul({initialOpen:i,placement:e});return G(we,{children:[f(Hl,{state:o,children:r}),G(Zl,{state:o,className:"w-max max-w-[368px] rounded-[5px] bg-surface-default py-[12px] px-[16px] drop-shadow-[0px_2px_10px_rgba(0,0,0,0.1)]",children:[f(_,{variant:"highlight",color:"default",className:"mb-1",children:t}),f(_,{variant:"body",color:"subdued",children:n})]})]})}const fg="";function ho({id:e,name:t,isDisabled:n,value:i,label:r,helpText:o,onChange:u,...a}){return f(we,{children:G("div",{className:"flex gap-x-2",children:[f("input",{type:"radio",id:e,name:t,disabled:n,onChange:({target:{value:c,checked:d}})=>{u==null||u({checked:d,value:c})},value:i,className:z("border-2",(()=>n?"border-border-disabled checked:text-action-primary-disabled":"border-border-default checked:border-action-primary-default checked:bg-white hover:border-border-hovered checked:hover:border-action-primary-default checked:hover:bg-white checked:focus:border-action-primary-default checked:focus:bg-white checked:focus:ring-focused-default")()),...a}),r&&G("div",{className:"flex flex-col items-start justify-center",children:[f(_,{as:"label",variant:"body",className:"break-words",htmlFor:e,color:n?"disabled":"default",children:r}),o&&f(_,{variant:"body",className:"mt-1",htmlFor:e,color:n?"disabled":"subdued",children:o})]})]})})}function Ql({track:e,isDisabled:t=!1,isSelected:n=!1,title:i,...r}){const o=()=>n?"bg-interactive-default":t?"bg-icon-disabled":"bg-icon-subdued",u=()=>n?"default":t?"disabled":"subdued";return G("div",{className:z("flex min-w-[54px] flex-col items-center justify-center gap-x-1",!t&&"cursor-pointer"),...r,children:[f("span",{className:z("relative inline-block h-6 w-6 rounded-md",o()),children:f("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:f(_,{variant:"highlight",color:"on",className:"select-none",children:e})})}),f(_,{variant:"button",color:u(),className:z("select-none",!t&&"hover:text-letter-default active:text-letter-default"),children:i})]})}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mo(Object(n),!0).forEach(function(i){Re(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mo(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Jl(e){if(Array.isArray(e))return e}function _l(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],r=!0,o=!1,u,a;try{for(n=n.call(e);!(r=(u=n.next()).done)&&(i.push(u.value),!(t&&i.length===t));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&n.return!=null&&n.return()}finally{if(o)throw a}}return i}}function Nr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Io(e,t){if(!!e){if(typeof e=="string")return Nr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nr(e,t)}}function $l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
36
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(e,t){return Jl(e)||_l(e,t)||Io(e,t)||$l()}function Kl(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function Mt(e,t){if(e==null)return{};var n=Kl(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(n[i]=e[i]))}return n}var ql=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function yo(e){var t=e.defaultInputValue,n=t===void 0?"":t,i=e.defaultMenuIsOpen,r=i===void 0?!1:i,o=e.defaultValue,u=o===void 0?null:o,a=e.inputValue,s=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,g=e.onMenuOpen,v=e.value,m=Mt(e,ql),h=p.useState(a!==void 0?a:n),M=ye(h,2),y=M[0],x=M[1],w=p.useState(s!==void 0?s:r),I=ye(w,2),C=I[0],N=I[1],A=p.useState(v!==void 0?v:u),T=ye(A,2),P=T[0],S=T[1],k=p.useCallback(function(R,Q){typeof l=="function"&&l(R,Q),S(R)},[l]),Y=p.useCallback(function(R,Q){var de;typeof c=="function"&&(de=c(R,Q)),x(de!==void 0?de:R)},[c]),O=p.useCallback(function(){typeof g=="function"&&g(),N(!0)},[g]),E=p.useCallback(function(){typeof d=="function"&&d(),N(!1)},[d]),F=a!==void 0?a:y,B=s!==void 0?s:C,Z=v!==void 0?v:P;return ie(ie({},m),{},{inputValue:F,menuIsOpen:B,onChange:k,onInputChange:Y,onMenuClose:E,onMenuOpen:O,value:Z})}function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},oe.apply(this,arguments)}function ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Co(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function tc(e,t,n){return t&&Co(e.prototype,t),n&&Co(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ar(e,t){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i},Ar(e,t)}function nc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ar(e,t)}function mn(e){return mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(e)}function rc(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bn(e){return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bn(e)}function ic(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oc(e,t){if(t&&(bn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ic(e)}function ac(e){var t=rc();return function(){var i=mn(e),r;if(t){var o=mn(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return oc(this,r)}}function uc(e){if(Array.isArray(e))return Nr(e)}function sc(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
37
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xo(e){return uc(e)||sc(e)||Io(e)||lc()}function cc(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function dc(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var fc=function(){function e(n){var i=this;this._insertTag=function(r){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,o),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(dc(this));var r=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=i.charCodeAt(0)===64&&i.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
38
|
+
`+i+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var u=cc(r);try{u.insertRule(i,u.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(i)&&console.error('There was a problem inserting the following rule: "'+i+'"',a)}}else r.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ee="-ms-",vn="-moz-",K="-webkit-",Er="comm",Lr="rule",Sr="decl",gc="@import",wo="@keyframes",pc=Math.abs,hn=String.fromCharCode,mc=Object.assign;function bc(e,t){return Ae(e,0)^45?(((t<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}function No(e){return e.trim()}function vc(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,n){return e.replace(t,n)}function Dr(e,t){return e.indexOf(t)}function Ae(e,t){return e.charCodeAt(t)|0}function Xt(e,t,n){return e.slice(t,n)}function Ze(e){return e.length}function jr(e){return e.length}function Mn(e,t){return t.push(e),e}function hc(e,t){return e.map(t).join("")}var In=1,Nt=1,Ao=0,ze=0,ve=0,At="";function yn(e,t,n,i,r,o,u){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:In,column:Nt,length:u,return:""}}function Zt(e,t){return mc(yn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Mc(){return ve}function Ic(){return ve=ze>0?Ae(At,--ze):0,Nt--,ve===10&&(Nt=1,In--),ve}function Pe(){return ve=ze<Ao?Ae(At,ze++):0,Nt++,ve===10&&(Nt=1,In++),ve}function He(){return Ae(At,ze)}function Cn(){return ze}function Ht(e,t){return Xt(At,e,t)}function Ut(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Eo(e){return In=Nt=1,Ao=Ze(At=e),ze=0,[]}function Lo(e){return At="",e}function xn(e){return No(Ht(ze-1,Tr(e===91?e+2:e===40?e+1:e)))}function yc(e){for(;(ve=He())&&ve<33;)Pe();return Ut(e)>2||Ut(ve)>3?"":" "}function Cc(e,t){for(;--t&&Pe()&&!(ve<48||ve>102||ve>57&&ve<65||ve>70&&ve<97););return Ht(e,Cn()+(t<6&&He()==32&&Pe()==32))}function Tr(e){for(;Pe();)switch(ve){case e:return ze;case 34:case 39:e!==34&&e!==39&&Tr(ve);break;case 40:e===41&&Tr(e);break;case 92:Pe();break}return ze}function xc(e,t){for(;Pe()&&e+ve!==47+10;)if(e+ve===42+42&&He()===47)break;return"/*"+Ht(t,ze-1)+"*"+hn(e===47?e:Pe())}function wc(e){for(;!Ut(He());)Pe();return Ht(e,ze)}function Nc(e){return Lo(wn("",null,null,null,[""],e=Eo(e),0,[0],e))}function wn(e,t,n,i,r,o,u,a,s){for(var l=0,c=0,d=u,g=0,v=0,m=0,h=1,M=1,y=1,x=0,w="",I=r,C=o,N=i,A=w;M;)switch(m=x,x=Pe()){case 40:if(m!=108&&Ae(A,d-1)==58){Dr(A+=ee(xn(x),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:A+=xn(x);break;case 9:case 10:case 13:case 32:A+=yc(m);break;case 92:A+=Cc(Cn()-1,7);continue;case 47:switch(He()){case 42:case 47:Mn(Ac(xc(Pe(),Cn()),t,n),s);break;default:A+="/"}break;case 123*h:a[l++]=Ze(A)*y;case 125*h:case 59:case 0:switch(x){case 0:case 125:M=0;case 59+c:v>0&&Ze(A)-d&&Mn(v>32?Do(A+";",i,n,d-1):Do(ee(A," ","")+";",i,n,d-2),s);break;case 59:A+=";";default:if(Mn(N=So(A,t,n,l,c,r,a,w,I=[],C=[],d),o),x===123)if(c===0)wn(A,t,N,N,I,o,d,a,C);else switch(g===99&&Ae(A,3)===110?100:g){case 100:case 109:case 115:wn(e,N,N,i&&Mn(So(e,N,N,0,0,r,a,w,r,I=[],d),C),r,C,d,a,i?I:C);break;default:wn(A,N,N,N,[""],C,0,a,C)}}l=c=v=0,h=y=1,w=A="",d=u;break;case 58:d=1+Ze(A),v=m;default:if(h<1){if(x==123)--h;else if(x==125&&h++==0&&Ic()==125)continue}switch(A+=hn(x),x*h){case 38:y=c>0?1:(A+="\f",-1);break;case 44:a[l++]=(Ze(A)-1)*y,y=1;break;case 64:He()===45&&(A+=xn(Pe())),g=He(),c=d=Ze(w=A+=wc(Cn())),x++;break;case 45:m===45&&Ze(A)==2&&(h=0)}}return o}function So(e,t,n,i,r,o,u,a,s,l,c){for(var d=r-1,g=r===0?o:[""],v=jr(g),m=0,h=0,M=0;m<i;++m)for(var y=0,x=Xt(e,d+1,d=pc(h=u[m])),w=e;y<v;++y)(w=No(h>0?g[y]+" "+x:ee(x,/&\f/g,g[y])))&&(s[M++]=w);return yn(e,t,n,r===0?Lr:a,s,l,c)}function Ac(e,t,n){return yn(e,t,n,Er,hn(Mc()),Xt(e,2,-2),0)}function Do(e,t,n,i){return yn(e,t,n,Sr,Xt(e,0,i),Xt(e,i+1,-1),i)}function Et(e,t){for(var n="",i=jr(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function Ec(e,t,n,i){switch(e.type){case gc:case Sr:return e.return=e.return||e.value;case Er:return"";case wo:return e.return=e.value+"{"+Et(e.children,i)+"}";case Lr:e.value=e.props.join(",")}return Ze(n=Et(e.children,i))?e.return=e.value+"{"+n+"}":""}function Lc(e){var t=jr(e);return function(n,i,r,o){for(var u="",a=0;a<t;a++)u+=e[a](n,i,r,o)||"";return u}}function Sc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Dc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var jc=function(t,n,i){for(var r=0,o=0;r=o,o=He(),r===38&&o===12&&(n[i]=1),!Ut(o);)Pe();return Ht(t,ze)},Tc=function(t,n){var i=-1,r=44;do switch(Ut(r)){case 0:r===38&&He()===12&&(n[i]=1),t[i]+=jc(ze-1,n,i);break;case 2:t[i]+=xn(r);break;case 4:if(r===44){t[++i]=He()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=hn(r)}while(r=Pe());return t},Oc=function(t,n){return Lo(Tc(Eo(t),n))},jo=new WeakMap,zc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,r=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!jo.get(i))&&!r){jo.set(t,!0);for(var o=[],u=Oc(n,o),a=i.props,s=0,l=0;s<u.length;s++)for(var c=0;c<a.length;c++,l++)t.props[l]=o[s]?u[s].replace(/&\f/g,a[c]):a[c]+" "+u[s]}}},Gc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Pc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Fc=function(t){return t.type==="comm"&&t.children.indexOf(Pc)>-1},Vc=function(t){return function(n,i,r){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var u=n.parent===r[0],a=u?r[0].children:r,s=a.length-1;s>=0;s--){var l=a[s];if(l.line<n.line)break;if(l.column<n.column){if(Fc(l))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},To=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Bc=function(t,n){for(var i=t-1;i>=0;i--)if(!To(n[i]))return!0;return!1},Oo=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},kc=function(t,n,i){!To(t)||(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Oo(t)):Bc(n,i)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Oo(t)))};function zo(e,t){switch(bc(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+vn+e+Ee+e+e;case 6828:case 4268:return K+e+Ee+e+e;case 6165:return K+e+Ee+"flex-"+e+e;case 5187:return K+e+ee(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+Ee+"flex-$1$2")+e;case 5443:return K+e+Ee+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return K+e+Ee+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+Ee+ee(e,"shrink","negative")+e;case 5292:return K+e+Ee+ee(e,"basis","preferred-size")+e;case 6060:return K+"box-"+ee(e,"-grow","")+K+e+Ee+ee(e,"grow","positive")+e;case 4554:return K+ee(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+Ee+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ze(e)-1-t>6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+vn+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dr(e,"stretch")?zo(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ae(e,t+1)!==115)break;case 6444:switch(Ae(e,Ze(e)-3-(~Dr(e,"!important")&&10))){case 107:return ee(e,":",":"+K)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(Ae(e,14)===45?"inline-":"")+"box$3$1"+K+"$2$3$1"+Ee+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return K+e+Ee+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+Ee+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+Ee+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+Ee+e+e}return e}var Rc=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case Sr:t.return=zo(t.value,t.length);break;case wo:return Et([Zt(t,{value:ee(t.value,"@","@"+K)})],r);case Lr:if(t.length)return hc(t.props,function(o){switch(vc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([Zt(t,{props:[ee(o,/:(read-\w+)/,":"+vn+"$1")]})],r);case"::placeholder":return Et([Zt(t,{props:[ee(o,/:(plac\w+)/,":"+K+"input-$1")]}),Zt(t,{props:[ee(o,/:(plac\w+)/,":"+vn+"$1")]}),Zt(t,{props:[ee(o,/:(plac\w+)/,Ee+"input-$1")]})],r)}return""})}},Yc=[Rc],Wc=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
39
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(h){var M=h.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var r=t.stylisPlugins||Yc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var o={},u,a=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var M=h.getAttribute("data-emotion").split(" "),y=1;y<M.length;y++)o[M[y]]=!0;a.push(h)});var s,l=[zc,Gc];process.env.NODE_ENV!=="production"&&l.push(Vc({get compat(){return m.compat}}),kc);{var c,d=[Ec,process.env.NODE_ENV!=="production"?function(h){h.root||(h.return?c.insert(h.return):h.value&&h.type!==Er&&c.insert(h.value+"{}"))}:Sc(function(h){c.insert(h)})],g=Lc(l.concat(r,d)),v=function(M){return Et(Nc(M),g)};s=function(M,y,x,w){c=x,process.env.NODE_ENV!=="production"&&y.map!==void 0&&(c={insert:function(C){x.insert(C+y.map)}}),v(M?M+"{"+y.styles+"}":y.styles),w&&(m.inserted[y.name]=!0)}}var m={key:n,sheet:new fc({key:n,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(a),m},Go={exports:{}},te={};/** @license React v16.13.1
|
|
40
40
|
* react-is.production.min.js
|
|
41
41
|
*
|
|
42
42
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/var Po;function
|
|
46
|
+
*/var Po;function Xc(){if(Po)return te;Po=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function w(C){if(typeof C=="object"&&C!==null){var N=C.$$typeof;switch(N){case t:switch(C=C.type,C){case s:case l:case i:case o:case r:case d:return C;default:switch(C=C&&C.$$typeof,C){case a:case c:case m:case v:case u:return C;default:return N}}case n:return N}}}function I(C){return w(C)===l}return te.AsyncMode=s,te.ConcurrentMode=l,te.ContextConsumer=a,te.ContextProvider=u,te.Element=t,te.ForwardRef=c,te.Fragment=i,te.Lazy=m,te.Memo=v,te.Portal=n,te.Profiler=o,te.StrictMode=r,te.Suspense=d,te.isAsyncMode=function(C){return I(C)||w(C)===s},te.isConcurrentMode=I,te.isContextConsumer=function(C){return w(C)===a},te.isContextProvider=function(C){return w(C)===u},te.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},te.isForwardRef=function(C){return w(C)===c},te.isFragment=function(C){return w(C)===i},te.isLazy=function(C){return w(C)===m},te.isMemo=function(C){return w(C)===v},te.isPortal=function(C){return w(C)===n},te.isProfiler=function(C){return w(C)===o},te.isStrictMode=function(C){return w(C)===r},te.isSuspense=function(C){return w(C)===d},te.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===i||C===l||C===o||C===r||C===d||C===g||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===v||C.$$typeof===u||C.$$typeof===a||C.$$typeof===c||C.$$typeof===M||C.$$typeof===y||C.$$typeof===x||C.$$typeof===h)},te.typeOf=w,te}var ne={};/** @license React v16.13.1
|
|
47
47
|
* react-is.development.js
|
|
48
48
|
*
|
|
49
49
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
50
50
|
*
|
|
51
51
|
* This source code is licensed under the MIT license found in the
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/var
|
|
53
|
+
*/var Fo;function Zc(){return Fo||(Fo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function w(V){return typeof V=="string"||typeof V=="function"||V===i||V===l||V===o||V===r||V===d||V===g||typeof V=="object"&&V!==null&&(V.$$typeof===m||V.$$typeof===v||V.$$typeof===u||V.$$typeof===a||V.$$typeof===c||V.$$typeof===M||V.$$typeof===y||V.$$typeof===x||V.$$typeof===h)}function I(V){if(typeof V=="object"&&V!==null){var tt=V.$$typeof;switch(tt){case t:var We=V.type;switch(We){case s:case l:case i:case o:case r:case d:return We;default:var Fe=We&&We.$$typeof;switch(Fe){case a:case c:case m:case v:case u:return Fe;default:return tt}}case n:return tt}}}var C=s,N=l,A=a,T=u,P=t,S=c,k=i,Y=m,O=v,E=n,F=o,B=r,Z=d,R=!1;function Q(V){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),de(V)||I(V)===s}function de(V){return I(V)===l}function Ge(V){return I(V)===a}function ue(V){return I(V)===u}function pe(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function Le(V){return I(V)===c}function Ce(V){return I(V)===i}function Me(V){return I(V)===m}function xe(V){return I(V)===v}function Se(V){return I(V)===n}function Ve(V){return I(V)===o}function Ue(V){return I(V)===r}function ct(V){return I(V)===d}ne.AsyncMode=C,ne.ConcurrentMode=N,ne.ContextConsumer=A,ne.ContextProvider=T,ne.Element=P,ne.ForwardRef=S,ne.Fragment=k,ne.Lazy=Y,ne.Memo=O,ne.Portal=E,ne.Profiler=F,ne.StrictMode=B,ne.Suspense=Z,ne.isAsyncMode=Q,ne.isConcurrentMode=de,ne.isContextConsumer=Ge,ne.isContextProvider=ue,ne.isElement=pe,ne.isForwardRef=Le,ne.isFragment=Ce,ne.isLazy=Me,ne.isMemo=xe,ne.isPortal=Se,ne.isProfiler=Ve,ne.isStrictMode=Ue,ne.isSuspense=ct,ne.isValidElementType=w,ne.typeOf=I}()),ne}(function(e){process.env.NODE_ENV==="production"?e.exports=Xc():e.exports=Zc()})(Go);var Vo=Go.exports,Hc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Uc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Bo={};Bo[Vo.ForwardRef]=Hc,Bo[Vo.Memo]=Uc;var Qc=!0;function ko(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):i+=r+" "}),i}var Or=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||Qc===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},zr=function(t,n,i){Or(t,n,i);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+r:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Jc(e){for(var t=0,n,i=0,r=e.length;r>=4;++i,r-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _c={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ro=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
54
54
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
55
55
|
You can read more about this here:
|
|
56
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences
|
|
56
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,$c="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Kc=/[A-Z]|^ms/g,Yo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gr=function(t){return t.charCodeAt(1)===45},Wo=function(t){return t!=null&&typeof t!="boolean"},Pr=Dc(function(e){return Gr(e)?e:e.replace(Kc,"-$&").toLowerCase()}),Nn=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Yo,function(i,r,o){return Ye={name:r,styles:o,next:Ye},r})}return _c[t]!==1&&!Gr(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var qc=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ed=["normal","none","initial","inherit","unset"],td=Nn,nd=/^-ms-/,rd=/-(.)/g,Xo={};Nn=function(t,n){if(t==="content"&&(typeof n!="string"||ed.indexOf(n)===-1&&!qc.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var i=td(t,n);return i!==""&&!Gr(t)&&t.indexOf("-")!==-1&&Xo[t]===void 0&&(Xo[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(nd,"ms-").replace(rd,function(r,o){return o.toUpperCase()})+"?")),i}}var Zo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Qt(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Zo);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Ye={name:n.name,styles:n.styles,next:Ye},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Ye={name:i.name,styles:i.styles,next:Ye},i=i.next;var r=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(r+=n.map),r}return id(e,t,n)}case"function":{if(e!==void 0){var o=Ye,u=n(e);return Ye=o,Qt(e,t,u)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var a=[],s=n.replace(Yo,function(c,d,g){var v="animation"+a.length;return a.push("const "+v+" = keyframes`"+g.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+v+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+s+"`"]).join(`
|
|
57
57
|
`)+`
|
|
58
58
|
|
|
59
59
|
You should wrap it with \`css\` like this:
|
|
60
60
|
|
|
61
|
-
`+("css`"+s+"`"))}break}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function
|
|
62
|
-
`),i=0;i<n.length;i++){var r=od(n[i]);if(!!r){if(ad.has(r))break;if(/^[A-Z]/.test(r))return ud(r)}}},Br="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ld=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var i={};for(var r in n)Lr.call(n,r)&&(i[r]=n[r]);if(i[Br]=t,process.env.NODE_ENV!=="production"&&!!n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var o=sd(new Error().stack);o&&(i[Rr]=o)}return i},cd=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return jr(n,i,r),Ho(function(){return Pr(n,i,r)}),null},Jo=Vr(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[Br],o=[i],u="";typeof e.className=="string"?u=zo(t.registered,o,e.className):e.className!=null&&(u=e.className+" ");var a=Qt(o,void 0,p.useContext(Nn));if(process.env.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var s=e[Rr];s&&(a=Qt([a,"label:"+s+";"]))}u+=t.key+"-"+a.name;var l={};for(var c in e)Lr.call(e,c)&&c!=="css"&&c!==Br&&(process.env.NODE_ENV==="production"||c!==Rr)&&(l[c]=e[c]);return l.ref=n,l.className=u,p.createElement(p.Fragment,null,p.createElement(cd,{cache:t,serialized:a,isStringTag:typeof r=="string"}),p.createElement(r,l))});process.env.NODE_ENV!=="production"&&(Jo.displayName="EmotionCssPropInternal");var dd={name:"@emotion/react",version:"11.10.5",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.5","@emotion/cache":"^11.10.5","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{"@babel/core":"^7.0.0",react:">=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.18.5","@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.5","@emotion/css-prettifier":"1.1.1","@emotion/server":"11.10.0","@emotion/styled":"11.10.5","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},Y=function(t,n){var i=arguments;if(n==null||!Lr.call(n,"css"))return p.createElement.apply(void 0,i);var r=i.length,o=new Array(r);o[0]=Jo,o[1]=ld(t,n);for(var u=2;u<r;u++)o[u]=i[u];return p.createElement.apply(null,o)},_o=!1,fd=Vr(function(e,t){process.env.NODE_ENV!=="production"&&!_o&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),_o=!0);var n=e.styles,i=Qt([n],void 0,p.useContext(Nn)),r=p.useRef();return Uo(function(){var o=t.key+"-global",u=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,s=document.querySelector('style[data-emotion="'+o+" "+i.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),s!==null&&(a=!0,s.setAttribute("data-emotion",o),u.hydrate([s])),r.current=[u,a],function(){u.flush()}},[t]),Uo(function(){var o=r.current,u=o[0],a=o[1];if(a){o[1]=!1;return}if(i.next!==void 0&&Pr(t,i.next,!0),u.tags.length){var s=u.tags[u.tags.length-1].nextElementSibling;u.before=s,u.flush()}t.insert("",i,u,!1)},[t,i.name]),null});process.env.NODE_ENV!=="production"&&(fd.displayName="EmotionGlobal");function kr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qt(t)}var gd=function(){var t=kr.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},pd=function e(t){for(var n=t.length,i=0,r="";i<n;i++){var o=t[i];if(o!=null){var u=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))u=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),u="";for(var a in o)o[a]&&a&&(u&&(u+=" "),u+=a)}break}default:u=o}u&&(r&&(r+=" "),r+=u)}}return r};function md(e,t,n){var i=[],r=zo(e,i,n);return i.length<2?n:r+t(i)}var bd=function(t){var n=t.cache,i=t.serializedArr;return Ho(function(){for(var r=0;r<i.length;r++)Pr(n,i[r],!1)}),null},$o=Vr(function(e,t){var n=!1,i=[],r=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var g=Qt(c,t.registered);return i.push(g),jr(t,g,!1),t.key+"-"+g.name},o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return md(t.registered,r,pd(c))},u={css:r,cx:o,theme:p.useContext(Nn)},a=e.children(u);return n=!0,p.createElement(p.Fragment,null,p.createElement(bd,{cache:t,serializedArr:i}),a)});if(process.env.NODE_ENV!=="production"&&($o.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Ko=!0,vd=typeof jest<"u"||typeof vi<"u";if(Ko&&!vd){var qo=typeof globalThis<"u"?globalThis:Ko?window:global,ea="__EMOTION_REACT_"+dd.version.split(".")[0]+"__";qo[ea]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),qo[ea]=!0}}function hd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Wr=p.useLayoutEffect,Id=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],En=function(){};function yd(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Cd(e,t,n){var i=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&i.push("".concat(yd(e,r)));return i.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var ta=function(t){return Od(t)?t.filter(Boolean):mn(t)==="object"&&t!==null?[t]:[]},na=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=ht(t,Id);return ie({},n)};function xd(e,t,n){if(n){var i=n(e,t);if(typeof i=="string")return i}return e}function wn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Md(e){return wn(e)?window.innerHeight:e.clientHeight}function ra(e){return wn(e)?window.pageYOffset:e.scrollTop}function Tn(e,t){if(wn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Ad(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Nd(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function Sn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:En,r=ra(e),o=t-r,u=10,a=0;function s(){a+=u;var l=Nd(a,r,o,n);Tn(e,l),a<n?window.requestAnimationFrame(s):i(e)}s()}function ia(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Tn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Tn(e,Math.max(t.offsetTop-r,0))}function Ed(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function oa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function wd(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var aa=!1,Td={get passive(){return aa=!0}},Dn=typeof window<"u"?window:{};Dn.addEventListener&&Dn.removeEventListener&&(Dn.addEventListener("p",En,Td),Dn.removeEventListener("p",En,!1));var Sd=aa;function Dd(e){return e!=null}function Od(e){return Array.isArray(e)}function On(e,t,n){return e?t:n}function sg(e){return e}function lg(e){return e}var jd=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=Object.entries(t).filter(function(u){var a=ye(u,1),s=a[0];return!i.includes(s)});return o.reduce(function(u,a){var s=ye(a,2),l=s[0],c=s[1];return u[l]=c,u},{})};function Pd(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,o=e.shouldScroll,u=e.isFixedPosition,a=e.theme,s=a.spacing,l=Ad(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect(),g=d.height,v=n.getBoundingClientRect(),b=v.bottom,h=v.height,I=v.top,C=n.offsetParent.getBoundingClientRect(),M=C.top,A=u?window.innerHeight:Md(l),y=ra(l),x=parseInt(getComputedStyle(n).marginBottom,10),N=parseInt(getComputedStyle(n).marginTop,10),E=M-N,j=A-I,F=E+y,S=g-y-I,k=b-A+y+x,W=y+I-N,P=160;switch(r){case"auto":case"bottom":if(j>=h)return{placement:"bottom",maxHeight:t};if(S>=h&&!u)return o&&Sn(l,k,P),{placement:"bottom",maxHeight:t};if(!u&&S>=i||u&&j>=i){o&&Sn(l,k,P);var w=u?j-x:S-x;return{placement:"bottom",maxHeight:w}}if(r==="auto"||u){var L=t,B=u?E:F;return B>=i&&(L=Math.min(B-x-s.controlHeight,t)),{placement:"top",maxHeight:L}}if(r==="bottom")return o&&Tn(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(E>=h)return{placement:"top",maxHeight:t};if(F>=h&&!u)return o&&Sn(l,W,P),{placement:"top",maxHeight:t};if(!u&&F>=i||u&&E>=i){var Z=t;return(!u&&F>=i||u&&E>=i)&&(Z=u?E-N:F-N),o&&Sn(l,W,P),{placement:"top",maxHeight:Z}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}function Gd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var ua=function(t){return t==="auto"?"bottom":t},Fd=function(t){var n,i=t.placement,r=t.theme,o=r.borderRadius,u=r.spacing,a=r.colors;return n={label:"menu"},ke(n,Gd(i),"100%"),ke(n,"backgroundColor",a.neutral0),ke(n,"borderRadius",o),ke(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),ke(n,"marginBottom",u.menuGutter),ke(n,"marginTop",u.menuGutter),ke(n,"position","absolute"),ke(n,"width","100%"),ke(n,"zIndex",1),n},sa=p.createContext(null),Ld=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,o=t.menuPlacement,u=t.menuPosition,a=t.menuShouldScrollIntoView,s=t.theme,l=p.useContext(sa)||{},c=l.setPortalPlacement,d=p.useRef(null),g=p.useState(r),v=ye(g,2),b=v[0],h=v[1],I=p.useState(null),C=ye(I,2),M=C[0],A=C[1];return Wr(function(){var y=d.current;if(!!y){var x=u==="fixed",N=a&&!x,E=Pd({maxHeight:r,menuEl:y,minHeight:i,placement:o,shouldScroll:N,isFixedPosition:x,theme:s});h(E.maxHeight),A(E.placement),c==null||c(E.placement)}},[r,o,u,a,i,c,s]),n({ref:d,placerProps:ie(ie({},t),{},{placement:M||ua(o),maxHeight:b})})},zd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerRef,a=t.innerProps;return Y("div",oe({css:o("menu",t),className:r({menu:!0},i),ref:u},a),n)},Vd=function(t){var n=t.maxHeight,i=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:i,paddingTop:i,position:"relative",WebkitOverflowScrolling:"touch"}},Bd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps,a=t.innerRef,s=t.isMulti;return Y("div",oe({css:o("menuList",t),className:r({"menu-list":!0,"menu-list--is-multi":s},i),ref:a},u),n)},la=function(t){var n=t.theme,i=n.spacing.baseUnit,r=n.colors;return{color:r.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px"),textAlign:"center"}},Rd=la,kd=la,ca=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return Y("div",oe({css:o("noOptionsMessage",t),className:r({"menu-notice":!0,"menu-notice--no-options":!0},i)},u),n)};ca.defaultProps={children:"No options"};var da=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return Y("div",oe({css:o("loadingMessage",t),className:r({"menu-notice":!0,"menu-notice--loading":!0},i)},u),n)};da.defaultProps={children:"Loading..."};var Wd=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Yd=function(t){var n=t.appendTo,i=t.children,r=t.className,o=t.controlElement,u=t.cx,a=t.innerProps,s=t.menuPlacement,l=t.menuPosition,c=t.getStyles,d=p.useRef(null),g=p.useRef(null),v=p.useState(ua(s)),b=ye(v,2),h=b[0],I=b[1],C=p.useMemo(function(){return{setPortalPlacement:I}},[]),M=p.useState(null),A=ye(M,2),y=A[0],x=A[1],N=p.useCallback(function(){if(!!o){var S=Ed(o),k=l==="fixed"?0:window.pageYOffset,W=S[h]+k;(W!==(y==null?void 0:y.offset)||S.left!==(y==null?void 0:y.rect.left)||S.width!==(y==null?void 0:y.rect.width))&&x({offset:W,rect:S})}},[o,l,h,y==null?void 0:y.offset,y==null?void 0:y.rect.left,y==null?void 0:y.rect.width]);Wr(function(){N()},[N]);var E=p.useCallback(function(){typeof g.current=="function"&&(g.current(),g.current=null),o&&d.current&&(g.current=oo(o,d.current,N,{elementResize:"ResizeObserver"in window}))},[o,N]);Wr(function(){E()},[E]);var j=p.useCallback(function(S){d.current=S,E()},[E]);if(!n&&l!=="fixed"||!y)return null;var F=Y("div",oe({ref:j,css:c("menuPortal",{offset:y.offset,position:l,rect:y.rect}),className:u({"menu-portal":!0},r)},a),i);return Y(sa.Provider,{value:C},n?Ot.createPortal(F,n):F)},Xd=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Zd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps,a=t.isDisabled,s=t.isRtl;return Y("div",oe({css:o("container",t),className:r({"--is-disabled":a,"--is-rtl":s},i)},u),n)},Hd=function(t){var n=t.theme.spacing,i=t.isMulti,r=t.hasValue,o=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:i&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Ud=function(t){var n=t.children,i=t.className,r=t.cx,o=t.innerProps,u=t.isMulti,a=t.getStyles,s=t.hasValue;return Y("div",oe({css:a("valueContainer",t),className:r({"value-container":!0,"value-container--is-multi":u,"value-container--has-value":s},i)},o),n)},Qd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Jd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.innerProps,u=t.getStyles;return Y("div",oe({css:u("indicatorsContainer",t),className:r({indicators:!0},i)},o),n)},fa,_d=["size"];function $d(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Kd=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydW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pbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:$d},ga=function(t){var n=t.size,i=ht(t,_d);return Y("svg",oe({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Kd},i))},Yr=function(t){return Y(ga,oe({size:20},t),Y("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},pa=function(t){return Y(ga,oe({size:20},t),Y("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ma=function(t){var n=t.isFocused,i=t.theme,r=i.spacing.baseUnit,o=i.colors;return{label:"indicatorContainer",color:n?o.neutral60:o.neutral20,display:"flex",padding:r*2,transition:"color 150ms",":hover":{color:n?o.neutral80:o.neutral40}}},qd=ma,ef=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return Y("div",oe({css:o("dropdownIndicator",t),className:r({indicator:!0,"dropdown-indicator":!0},i)},u),n||Y(pa,null))},tf=ma,nf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return Y("div",oe({css:o("clearIndicator",t),className:r({indicator:!0,"clear-indicator":!0},i)},u),n||Y(Yr,null))},rf=function(t){var n=t.isDisabled,i=t.theme,r=i.spacing.baseUnit,o=i.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?o.neutral10:o.neutral20,marginBottom:r*2,marginTop:r*2,width:1}},of=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.innerProps;return Y("span",oe({},o,{css:r("indicatorSeparator",t),className:i({"indicator-separator":!0},n)}))},af=gd(fa||(fa=hd([`
|
|
61
|
+
`+("css`"+s+"`"))}break}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function id(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Qt(e,t,n[r])+";";else for(var o in n){var u=n[o];if(typeof u!="object")t!=null&&t[u]!==void 0?i+=o+"{"+t[u]+"}":Wo(u)&&(i+=Pr(o)+":"+Nn(o,u)+";");else{if(o==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Zo);if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var a=0;a<u.length;a++)Wo(u[a])&&(i+=Pr(o)+":"+Nn(o,u[a])+";");else{var s=Qt(e,t,u);switch(o){case"animation":case"animationName":{i+=Pr(o)+":"+s+";";break}default:process.env.NODE_ENV!=="production"&&o==="undefined"&&console.error($c),i+=o+"{"+s+"}"}}}}return i}var Ho=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Uo;process.env.NODE_ENV!=="production"&&(Uo=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ye,Jt=function(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,o="";Ye=void 0;var u=t[0];u==null||u.raw===void 0?(r=!1,o+=Qt(i,n,u)):(process.env.NODE_ENV!=="production"&&u[0]===void 0&&console.error(Ro),o+=u[0]);for(var a=1;a<t.length;a++)o+=Qt(i,n,t[a]),r&&(process.env.NODE_ENV!=="production"&&u[a]===void 0&&console.error(Ro),o+=u[a]);var s;process.env.NODE_ENV!=="production"&&(o=o.replace(Uo,function(g){return s=g,""})),Ho.lastIndex=0;for(var l="",c;(c=Ho.exec(o))!==null;)l+="-"+c[1];var d=Jc(o)+l;return process.env.NODE_ENV!=="production"?{name:d,styles:o,map:s,next:Ye,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:d,styles:o,next:Ye}},od=function(t){return t()},Qo=j["useInsertionEffect"]?j["useInsertionEffect"]:!1,Jo=Qo||od,_o=Qo||p.useLayoutEffect,Fr={}.hasOwnProperty,Vr=p.createContext(typeof HTMLElement<"u"?Wc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Vr.displayName="EmotionCacheContext"),Vr.Provider;var Br=function(t){return p.forwardRef(function(n,i){var r=p.useContext(Vr);return t(n,r,i)})},An=p.createContext({});process.env.NODE_ENV!=="production"&&(An.displayName="EmotionThemeContext");var $o=function(t){var n=t.split(".");return n[n.length-1]},ad=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return $o(n[1])},ud=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),sd=function(t){return t.replace(/\$/g,"-")},ld=function(t){if(!!t)for(var n=t.split(`
|
|
62
|
+
`),i=0;i<n.length;i++){var r=ad(n[i]);if(!!r){if(ud.has(r))break;if(/^[A-Z]/.test(r))return sd(r)}}},kr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",cd=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var i={};for(var r in n)Fr.call(n,r)&&(i[r]=n[r]);if(i[kr]=t,process.env.NODE_ENV!=="production"&&!!n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var o=ld(new Error().stack);o&&(i[Rr]=o)}return i},dd=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Or(n,i,r),Jo(function(){return zr(n,i,r)}),null},Ko=Br(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[kr],o=[i],u="";typeof e.className=="string"?u=ko(t.registered,o,e.className):e.className!=null&&(u=e.className+" ");var a=Jt(o,void 0,p.useContext(An));if(process.env.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var s=e[Rr];s&&(a=Jt([a,"label:"+s+";"]))}u+=t.key+"-"+a.name;var l={};for(var c in e)Fr.call(e,c)&&c!=="css"&&c!==kr&&(process.env.NODE_ENV==="production"||c!==Rr)&&(l[c]=e[c]);return l.ref=n,l.className=u,p.createElement(p.Fragment,null,p.createElement(dd,{cache:t,serialized:a,isStringTag:typeof r=="string"}),p.createElement(r,l))});process.env.NODE_ENV!=="production"&&(Ko.displayName="EmotionCssPropInternal");var fd={name:"@emotion/react",version:"11.10.5",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.5","@emotion/cache":"^11.10.5","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{"@babel/core":"^7.0.0",react:">=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.18.5","@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.5","@emotion/css-prettifier":"1.1.1","@emotion/server":"11.10.0","@emotion/styled":"11.10.5","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},W=function(t,n){var i=arguments;if(n==null||!Fr.call(n,"css"))return p.createElement.apply(void 0,i);var r=i.length,o=new Array(r);o[0]=Ko,o[1]=cd(t,n);for(var u=2;u<r;u++)o[u]=i[u];return p.createElement.apply(null,o)},qo=!1,gd=Br(function(e,t){process.env.NODE_ENV!=="production"&&!qo&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),qo=!0);var n=e.styles,i=Jt([n],void 0,p.useContext(An)),r=p.useRef();return _o(function(){var o=t.key+"-global",u=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,s=document.querySelector('style[data-emotion="'+o+" "+i.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),s!==null&&(a=!0,s.setAttribute("data-emotion",o),u.hydrate([s])),r.current=[u,a],function(){u.flush()}},[t]),_o(function(){var o=r.current,u=o[0],a=o[1];if(a){o[1]=!1;return}if(i.next!==void 0&&zr(t,i.next,!0),u.tags.length){var s=u.tags[u.tags.length-1].nextElementSibling;u.before=s,u.flush()}t.insert("",i,u,!1)},[t,i.name]),null});process.env.NODE_ENV!=="production"&&(gd.displayName="EmotionGlobal");function Yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jt(t)}var pd=function(){var t=Yr.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},md=function e(t){for(var n=t.length,i=0,r="";i<n;i++){var o=t[i];if(o!=null){var u=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))u=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),u="";for(var a in o)o[a]&&a&&(u&&(u+=" "),u+=a)}break}default:u=o}u&&(r&&(r+=" "),r+=u)}}return r};function bd(e,t,n){var i=[],r=ko(e,i,n);return i.length<2?n:r+t(i)}var vd=function(t){var n=t.cache,i=t.serializedArr;return Jo(function(){for(var r=0;r<i.length;r++)zr(n,i[r],!1)}),null},ea=Br(function(e,t){var n=!1,i=[],r=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var g=Jt(c,t.registered);return i.push(g),Or(t,g,!1),t.key+"-"+g.name},o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return bd(t.registered,r,md(c))},u={css:r,cx:o,theme:p.useContext(An)},a=e.children(u);return n=!0,p.createElement(p.Fragment,null,p.createElement(vd,{cache:t,serializedArr:i}),a)});if(process.env.NODE_ENV!=="production"&&(ea.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var ta=!0,hd=typeof jest<"u"||typeof vi<"u";if(ta&&!hd){var na=typeof globalThis<"u"?globalThis:ta?window:global,ra="__EMOTION_REACT_"+fd.version.split(".")[0]+"__";na[ra]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),na[ra]=!0}}function Md(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Wr=p.useLayoutEffect,Id=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],En=function(){};function yd(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Cd(e,t,n){var i=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&i.push("".concat(yd(e,r)));return i.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var ia=function(t){return Td(t)?t.filter(Boolean):bn(t)==="object"&&t!==null?[t]:[]},oa=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=Mt(t,Id);return ie({},n)};function xd(e,t,n){if(n){var i=n(e,t);if(typeof i=="string")return i}return e}function Ln(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function wd(e){return Ln(e)?window.innerHeight:e.clientHeight}function aa(e){return Ln(e)?window.pageYOffset:e.scrollTop}function Sn(e,t){if(Ln(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Nd(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Ad(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function Dn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:En,r=aa(e),o=t-r,u=10,a=0;function s(){a+=u;var l=Ad(a,r,o,n);Sn(e,l),a<n?window.requestAnimationFrame(s):i(e)}s()}function ua(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Sn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Sn(e,Math.max(t.offsetTop-r,0))}function Ed(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function sa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Ld(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var la=!1,Sd={get passive(){return la=!0}},jn=typeof window<"u"?window:{};jn.addEventListener&&jn.removeEventListener&&(jn.addEventListener("p",En,Sd),jn.removeEventListener("p",En,!1));var Dd=la;function jd(e){return e!=null}function Td(e){return Array.isArray(e)}function Tn(e,t,n){return e?t:n}function gg(e){return e}function pg(e){return e}var Od=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=Object.entries(t).filter(function(u){var a=ye(u,1),s=a[0];return!i.includes(s)});return o.reduce(function(u,a){var s=ye(a,2),l=s[0],c=s[1];return u[l]=c,u},{})};function zd(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,o=e.shouldScroll,u=e.isFixedPosition,a=e.theme,s=a.spacing,l=Nd(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect(),g=d.height,v=n.getBoundingClientRect(),m=v.bottom,h=v.height,M=v.top,y=n.offsetParent.getBoundingClientRect(),x=y.top,w=u?window.innerHeight:wd(l),I=aa(l),C=parseInt(getComputedStyle(n).marginBottom,10),N=parseInt(getComputedStyle(n).marginTop,10),A=x-N,T=w-M,P=A+I,S=g-I-M,k=m-w+I+C,Y=I+M-N,O=160;switch(r){case"auto":case"bottom":if(T>=h)return{placement:"bottom",maxHeight:t};if(S>=h&&!u)return o&&Dn(l,k,O),{placement:"bottom",maxHeight:t};if(!u&&S>=i||u&&T>=i){o&&Dn(l,k,O);var E=u?T-C:S-C;return{placement:"bottom",maxHeight:E}}if(r==="auto"||u){var F=t,B=u?A:P;return B>=i&&(F=Math.min(B-C-s.controlHeight,t)),{placement:"top",maxHeight:F}}if(r==="bottom")return o&&Sn(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(A>=h)return{placement:"top",maxHeight:t};if(P>=h&&!u)return o&&Dn(l,Y,O),{placement:"top",maxHeight:t};if(!u&&P>=i||u&&A>=i){var Z=t;return(!u&&P>=i||u&&A>=i)&&(Z=u?A-N:P-N),o&&Dn(l,Y,O),{placement:"top",maxHeight:Z}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}function Gd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var ca=function(t){return t==="auto"?"bottom":t},Pd=function(t){var n,i=t.placement,r=t.theme,o=r.borderRadius,u=r.spacing,a=r.colors;return n={label:"menu"},Re(n,Gd(i),"100%"),Re(n,"backgroundColor",a.neutral0),Re(n,"borderRadius",o),Re(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Re(n,"marginBottom",u.menuGutter),Re(n,"marginTop",u.menuGutter),Re(n,"position","absolute"),Re(n,"width","100%"),Re(n,"zIndex",1),n},da=p.createContext(null),Fd=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,o=t.menuPlacement,u=t.menuPosition,a=t.menuShouldScrollIntoView,s=t.theme,l=p.useContext(da)||{},c=l.setPortalPlacement,d=p.useRef(null),g=p.useState(r),v=ye(g,2),m=v[0],h=v[1],M=p.useState(null),y=ye(M,2),x=y[0],w=y[1];return Wr(function(){var I=d.current;if(!!I){var C=u==="fixed",N=a&&!C,A=zd({maxHeight:r,menuEl:I,minHeight:i,placement:o,shouldScroll:N,isFixedPosition:C,theme:s});h(A.maxHeight),w(A.placement),c==null||c(A.placement)}},[r,o,u,a,i,c,s]),n({ref:d,placerProps:ie(ie({},t),{},{placement:x||ca(o),maxHeight:m})})},Vd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerRef,a=t.innerProps;return W("div",oe({css:o("menu",t),className:r({menu:!0},i),ref:u},a),n)},Bd=function(t){var n=t.maxHeight,i=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:i,paddingTop:i,position:"relative",WebkitOverflowScrolling:"touch"}},kd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps,a=t.innerRef,s=t.isMulti;return W("div",oe({css:o("menuList",t),className:r({"menu-list":!0,"menu-list--is-multi":s},i),ref:a},u),n)},fa=function(t){var n=t.theme,i=n.spacing.baseUnit,r=n.colors;return{color:r.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px"),textAlign:"center"}},Rd=fa,Yd=fa,ga=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return W("div",oe({css:o("noOptionsMessage",t),className:r({"menu-notice":!0,"menu-notice--no-options":!0},i)},u),n)};ga.defaultProps={children:"No options"};var pa=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return W("div",oe({css:o("loadingMessage",t),className:r({"menu-notice":!0,"menu-notice--loading":!0},i)},u),n)};pa.defaultProps={children:"Loading..."};var Wd=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Xd=function(t){var n=t.appendTo,i=t.children,r=t.className,o=t.controlElement,u=t.cx,a=t.innerProps,s=t.menuPlacement,l=t.menuPosition,c=t.getStyles,d=p.useRef(null),g=p.useRef(null),v=p.useState(ca(s)),m=ye(v,2),h=m[0],M=m[1],y=p.useMemo(function(){return{setPortalPlacement:M}},[]),x=p.useState(null),w=ye(x,2),I=w[0],C=w[1],N=p.useCallback(function(){if(!!o){var S=Ed(o),k=l==="fixed"?0:window.pageYOffset,Y=S[h]+k;(Y!==(I==null?void 0:I.offset)||S.left!==(I==null?void 0:I.rect.left)||S.width!==(I==null?void 0:I.rect.width))&&C({offset:Y,rect:S})}},[o,l,h,I==null?void 0:I.offset,I==null?void 0:I.rect.left,I==null?void 0:I.rect.width]);Wr(function(){N()},[N]);var A=p.useCallback(function(){typeof g.current=="function"&&(g.current(),g.current=null),o&&d.current&&(g.current=uo(o,d.current,N,{elementResize:"ResizeObserver"in window}))},[o,N]);Wr(function(){A()},[A]);var T=p.useCallback(function(S){d.current=S,A()},[A]);if(!n&&l!=="fixed"||!I)return null;var P=W("div",oe({ref:T,css:c("menuPortal",{offset:I.offset,position:l,rect:I.rect}),className:u({"menu-portal":!0},r)},a),i);return W(da.Provider,{value:y},n?Tt.createPortal(P,n):P)},Zd=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Hd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps,a=t.isDisabled,s=t.isRtl;return W("div",oe({css:o("container",t),className:r({"--is-disabled":a,"--is-rtl":s},i)},u),n)},Ud=function(t){var n=t.theme.spacing,i=t.isMulti,r=t.hasValue,o=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:i&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Qd=function(t){var n=t.children,i=t.className,r=t.cx,o=t.innerProps,u=t.isMulti,a=t.getStyles,s=t.hasValue;return W("div",oe({css:a("valueContainer",t),className:r({"value-container":!0,"value-container--is-multi":u,"value-container--has-value":s},i)},o),n)},Jd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},_d=function(t){var n=t.children,i=t.className,r=t.cx,o=t.innerProps,u=t.getStyles;return W("div",oe({css:u("indicatorsContainer",t),className:r({indicators:!0},i)},o),n)},ma,$d=["size"];function Kd(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var qd=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVc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mdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:Kd},ba=function(t){var n=t.size,i=Mt(t,$d);return W("svg",oe({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:qd},i))},Xr=function(t){return W(ba,oe({size:20},t),W("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},va=function(t){return W(ba,oe({size:20},t),W("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ha=function(t){var n=t.isFocused,i=t.theme,r=i.spacing.baseUnit,o=i.colors;return{label:"indicatorContainer",color:n?o.neutral60:o.neutral20,display:"flex",padding:r*2,transition:"color 150ms",":hover":{color:n?o.neutral80:o.neutral40}}},ef=ha,tf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return W("div",oe({css:o("dropdownIndicator",t),className:r({indicator:!0,"dropdown-indicator":!0},i)},u),n||W(va,null))},nf=ha,rf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return W("div",oe({css:o("clearIndicator",t),className:r({indicator:!0,"clear-indicator":!0},i)},u),n||W(Xr,null))},of=function(t){var n=t.isDisabled,i=t.theme,r=i.spacing.baseUnit,o=i.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?o.neutral10:o.neutral20,marginBottom:r*2,marginTop:r*2,width:1}},af=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.innerProps;return W("span",oe({},o,{css:r("indicatorSeparator",t),className:i({"indicator-separator":!0},n)}))},uf=pd(ma||(ma=Md([`
|
|
63
63
|
0%, 80%, 100% { opacity: 0; }
|
|
64
64
|
40% { opacity: 1; }
|
|
65
|
-
`]))),uf=function(t){var n=t.isFocused,i=t.size,r=t.theme,o=r.colors,u=r.spacing.baseUnit;return{label:"loadingIndicator",color:n?o.neutral60:o.neutral20,display:"flex",padding:u*2,transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"}},Xr=function(t){var n=t.delay,i=t.offset;return Y("span",{css:kr({animation:"".concat(af," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19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AgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},ba=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.innerProps,u=t.isRtl;return Y("div",oe({css:r("loadingIndicator",t),className:i({indicator:!0,"loading-indicator":!0},n)},o),Y(Xr,{delay:0,offset:u}),Y(Xr,{delay:160,offset:!0}),Y(Xr,{delay:320,offset:!u}))};ba.defaultProps={size:4};var sf=function(t){var n=t.isDisabled,i=t.isFocused,r=t.theme,o=r.colors,u=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:i?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:i?o.primary:o.neutral30}}},lf=function(t){var n=t.children,i=t.cx,r=t.getStyles,o=t.className,u=t.isDisabled,a=t.isFocused,s=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return Y("div",oe({ref:s,css:r("control",t),className:i({control:!0,"control--is-disabled":u,"control--is-focused":a,"control--menu-is-open":c},o)},l),n)},cf=["data"],df=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},ff=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.Heading,a=t.headingProps,s=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return Y("div",oe({css:o("group",t),className:r({group:!0},i)},s),Y(u,oe({},a,{selectProps:d,theme:c,getStyles:o,cx:r}),l),Y("div",null,n))},gf=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},pf=function(t){var n=t.getStyles,i=t.cx,r=t.className,o=na(t);o.data;var u=ht(o,cf);return Y("div",oe({css:n("groupHeading",t),className:i({"group-heading":!0},r)},u))},mf=["innerRef","isDisabled","isHidden","inputClassName"],bf=function(t){var n=t.isDisabled,i=t.value,r=t.theme,o=r.spacing,u=r.colors;return ie({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:n?"hidden":"visible",color:u.neutral80,transform:i?"translateZ(0)":""},vf)},va={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},vf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ie({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},va)},hf=function(t){return ie({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},va)},If=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.value,u=na(t),a=u.innerRef,s=u.isDisabled,l=u.isHidden,c=u.inputClassName,d=ht(u,mf);return Y("div",{className:i({"input-container":!0},n),css:r("input",t),"data-value":o||""},Y("input",oe({className:i({input:!0},c),ref:a,style:hf(l),disabled:s},d)))},yf=function(t){var n=t.theme,i=n.spacing,r=n.borderRadius,o=n.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:r/2,display:"flex",margin:i.baseUnit/2,minWidth:0}},Cf=function(t){var n=t.theme,i=n.borderRadius,r=n.colors,o=t.cropWithEllipsis;return{borderRadius:i/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},xf=function(t){var n=t.theme,i=n.spacing,r=n.borderRadius,o=n.colors,u=t.isFocused;return{alignItems:"center",borderRadius:r/2,backgroundColor:u?o.dangerLight:void 0,display:"flex",paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},ha=function(t){var n=t.children,i=t.innerProps;return Y("div",i,n)},Mf=ha,Af=ha;function Nf(e){var t=e.children,n=e.innerProps;return Y("div",oe({role:"button"},n),t||Y(Yr,{size:14}))}var Ef=function(t){var n=t.children,i=t.className,r=t.components,o=t.cx,u=t.data,a=t.getStyles,s=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,g=r.Container,v=r.Label,b=r.Remove;return Y($o,null,function(h){var I=h.css,C=h.cx;return Y(g,{data:u,innerProps:ie({className:C(I(a("multiValue",t)),o({"multi-value":!0,"multi-value--is-disabled":l},i))},s),selectProps:d},Y(v,{data:u,innerProps:{className:C(I(a("multiValueLabel",t)),o({"multi-value__label":!0},i))},selectProps:d},n),Y(b,{data:u,innerProps:ie({className:C(I(a("multiValueRemove",t)),o({"multi-value__remove":!0},i)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))})},wf=function(t){var n=t.isDisabled,i=t.isFocused,r=t.isSelected,o=t.theme,u=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:i?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}}},Tf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.isDisabled,a=t.isFocused,s=t.isSelected,l=t.innerRef,c=t.innerProps;return Y("div",oe({css:o("option",t),className:r({option:!0,"option--is-disabled":u,"option--is-focused":a,"option--is-selected":s},i),ref:l,"aria-disabled":u},c),n)},Sf=function(t){var n=t.theme,i=n.spacing,r=n.colors;return{label:"placeholder",color:r.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2}},Df=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return Y("div",oe({css:o("placeholder",t),className:r({placeholder:!0},i)},u),n)},Of=function(t){var n=t.isDisabled,i=t.theme,r=i.spacing,o=i.colors;return{label:"singleValue",color:n?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},jf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.isDisabled,a=t.innerProps;return Y("div",oe({css:o("singleValue",t),className:r({"single-value":!0,"single-value--is-disabled":u},i)},a),n)},qe={ClearIndicator:nf,Control:lf,DropdownIndicator:ef,DownChevron:pa,CrossIcon:Yr,Group:ff,GroupHeading:pf,IndicatorsContainer:Jd,IndicatorSeparator:of,Input:If,LoadingIndicator:ba,Menu:zd,MenuList:Bd,MenuPortal:Yd,LoadingMessage:da,NoOptionsMessage:ca,MultiValue:Ef,MultiValueContainer:Mf,MultiValueLabel:Af,MultiValueRemove:Nf,Option:Tf,Placeholder:Df,SelectContainer:Zd,SingleValue:jf,ValueContainer:Ud},Pf=function(t){return ie(ie({},qe),t.components)},Ia=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Gf(e,t){return!!(e===t||Ia(e)&&Ia(t))}function Ff(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Gf(e[n],t[n]))return!1;return!0}function Lf(e,t){t===void 0&&(t=Ff);var n=null;function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var u=e.apply(this,r);return n={lastResult:u,lastArgs:r,lastThis:this},u}return i.clear=function(){n=null},i}function zf(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Vf=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:zf},ya=function(t){return Y("span",oe({css:Vf},t))},Bf={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.isDisabled,o=t.tabSelectsValue,u=t.context;switch(u){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,o=t.labels,u=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return u?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,o=t.label,u=o===void 0?"":o,a=t.selectValue,s=t.isDisabled,l=t.isSelected,c=function(b,h){return b&&b.length?"".concat(b.indexOf(h)+1," of ").concat(b.length):""};if(n==="value"&&a)return"value ".concat(u," focused, ").concat(c(a,i),".");if(n==="menu"){var d=s?" disabled":"",g="".concat(l?"selected":"focused").concat(d);return"option ".concat(u," ").concat(g,", ").concat(c(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Rf=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,o=t.focusableOptions,u=t.isFocused,a=t.selectValue,s=t.selectProps,l=t.id,c=s.ariaLiveMessages,d=s.getOptionLabel,g=s.inputValue,v=s.isMulti,b=s.isOptionDisabled,h=s.isSearchable,I=s.menuIsOpen,C=s.options,M=s.screenReaderStatus,A=s.tabSelectsValue,y=s["aria-label"],x=s["aria-live"],N=p.useMemo(function(){return ie(ie({},Bf),c||{})},[c]),E=p.useMemo(function(){var w="";if(n&&N.onChange){var L=n.option,B=n.options,Z=n.removedValue,R=n.removedValues,U=n.value,de=function(xe){return Array.isArray(xe)?null:xe},Pe=Z||L||de(U),ue=Pe?d(Pe):"",pe=B||R||void 0,Ee=pe?pe.map(d):[],Ce=ie({isDisabled:Pe&&b(Pe,a),label:ue,labels:Ee},n);w=N.onChange(Ce)}return w},[n,N,b,a,d]),j=p.useMemo(function(){var w="",L=i||r,B=!!(i&&a&&a.includes(i));if(L&&N.onFocus){var Z={focused:L,label:d(L),isDisabled:b(L,a),isSelected:B,options:o,context:L===i?"menu":"value",selectValue:a};w=N.onFocus(Z)}return w},[i,r,d,b,N,o,a]),F=p.useMemo(function(){var w="";if(I&&C.length&&N.onFilter){var L=M({count:o.length});w=N.onFilter({inputValue:g,resultsMessage:L})}return w},[o,g,I,N,C,M]),S=p.useMemo(function(){var w="";if(N.guidance){var L=r?"value":I?"menu":"input";w=N.guidance({"aria-label":y,context:L,isDisabled:i&&b(i,a),isMulti:v,isSearchable:h,tabSelectsValue:A})}return w},[y,i,r,v,b,h,I,N,a,A]),k="".concat(j," ").concat(F," ").concat(S),W=Y(p.Fragment,null,Y("span",{id:"aria-selection"},E),Y("span",{id:"aria-context"},k)),P=(n==null?void 0:n.action)==="initial-input-focus";return Y(p.Fragment,null,Y(ya,{id:l},P&&W),Y(ya,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},u&&!P&&W))},Zr=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],kf=new RegExp("["+Zr.map(function(e){return e.letters}).join("")+"]","g"),Ca={},Hr=0;Hr<Zr.length;Hr++)for(var Ur=Zr[Hr],Qr=0;Qr<Ur.letters.length;Qr++)Ca[Ur.letters[Qr]]=Ur.base;var xa=function(t){return t.replace(kf,function(n){return Ca[n]})},Wf=Lf(xa),Ma=function(t){return t.replace(/^\s+|\s+$/g,"")},Yf=function(t){return"".concat(t.label," ").concat(t.value)},Xf=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=ie({ignoreCase:!0,ignoreAccents:!0,stringify:Yf,trim:!0,matchFrom:"any"},t),o=r.ignoreCase,u=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Ma(i):i,d=s?Ma(a(n)):a(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),u&&(c=Wf(c),d=xa(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Zf=["innerRef"];function Hf(e){var t=e.innerRef,n=ht(e,Zf),i=jd(n,"onExited","in","enter","exit","appear");return Y("input",oe({ref:t},i,{css:kr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZ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mlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Uf=function(t){t.preventDefault(),t.stopPropagation()};function Qf(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,u=p.useRef(!1),a=p.useRef(!1),s=p.useRef(0),l=p.useRef(null),c=p.useCallback(function(I,C){if(l.current!==null){var M=l.current,A=M.scrollTop,y=M.scrollHeight,x=M.clientHeight,N=l.current,E=C>0,j=y-x-A,F=!1;j>C&&u.current&&(i&&i(I),u.current=!1),E&&a.current&&(o&&o(I),a.current=!1),E&&C>j?(n&&!u.current&&n(I),N.scrollTop=y,F=!0,u.current=!0):!E&&-C>A&&(r&&!a.current&&r(I),N.scrollTop=0,F=!0,a.current=!0),F&&Uf(I)}},[n,i,r,o]),d=p.useCallback(function(I){c(I,I.deltaY)},[c]),g=p.useCallback(function(I){s.current=I.changedTouches[0].clientY},[]),v=p.useCallback(function(I){var C=s.current-I.changedTouches[0].clientY;c(I,C)},[c]),b=p.useCallback(function(I){if(!!I){var C=Sd?{passive:!1}:!1;I.addEventListener("wheel",d,C),I.addEventListener("touchstart",g,C),I.addEventListener("touchmove",v,C)}},[v,g,d]),h=p.useCallback(function(I){!I||(I.removeEventListener("wheel",d,!1),I.removeEventListener("touchstart",g,!1),I.removeEventListener("touchmove",v,!1))},[v,g,d]);return p.useEffect(function(){if(!!t){var I=l.current;return b(I),function(){h(I)}}},[t,b,h]),function(I){l.current=I}}var Aa=["boxSizing","height","overflow","paddingRight","position"],Na={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ea(e){e.preventDefault()}function wa(e){e.stopPropagation()}function Ta(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Sa(){return"ontouchstart"in window||navigator.maxTouchPoints}var Da=!!(typeof window<"u"&&window.document&&window.document.createElement),Jt=0,wt={capture:!1,passive:!1};function Jf(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=p.useRef({}),o=p.useRef(null),u=p.useCallback(function(s){if(!!Da){var l=document.body,c=l&&l.style;if(i&&Aa.forEach(function(b){var h=c&&c[b];r.current[b]=h}),i&&Jt<1){var d=parseInt(r.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,v=window.innerWidth-g+d||0;Object.keys(Na).forEach(function(b){var h=Na[b];c&&(c[b]=h)}),c&&(c.paddingRight="".concat(v,"px"))}l&&Sa()&&(l.addEventListener("touchmove",Ea,wt),s&&(s.addEventListener("touchstart",Ta,wt),s.addEventListener("touchmove",wa,wt))),Jt+=1}},[i]),a=p.useCallback(function(s){if(!!Da){var l=document.body,c=l&&l.style;Jt=Math.max(Jt-1,0),i&&Jt<1&&Aa.forEach(function(d){var g=r.current[d];c&&(c[d]=g)}),l&&Sa()&&(l.removeEventListener("touchmove",Ea,wt),s&&(s.removeEventListener("touchstart",Ta,wt),s.removeEventListener("touchmove",wa,wt)))}},[i]);return p.useEffect(function(){if(!!t){var s=o.current;return u(s),function(){a(s)}}},[t,u,a]),function(s){o.current=s}}function _f(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var $f=function(){return document.activeElement&&document.activeElement.blur()},Kf=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbI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CB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:_f};function qf(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,o=e.onBottomArrive,u=e.onBottomLeave,a=e.onTopArrive,s=e.onTopLeave,l=Qf({isEnabled:r,onBottomArrive:o,onBottomLeave:u,onTopArrive:a,onTopLeave:s}),c=Jf({isEnabled:n}),d=function(v){l(v),c(v)};return Y(p.Fragment,null,n&&Y("div",{onClick:$f,css:Kf}),t(d))}function e0(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var t0=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZTogc3RyaW5nO1xuICByZWFkb25seSBvbkZvY3VzOiBGb2N1c0V2ZW50SGFuZGxlcjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0+ID0gKHsgbmFtZSwgb25Gb2N1cyB9KSA9PiAoXG4gIDxpbnB1dFxuICAgIHJlcXVpcmVkXG4gICAgbmFtZT17bmFtZX1cbiAgICB0YWJJbmRleD17LTF9XG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:e0},n0=function(t){var n=t.name,i=t.onFocus;return Y("input",{required:!0,name:n,tabIndex:-1,onFocus:i,css:t0,value:"",onChange:function(){}})},r0=function(t){return t.label},i0=function(t){return t.label},o0=function(t){return t.value},a0=function(t){return!!t.isDisabled},u0={clearIndicator:tf,container:Xd,control:sf,dropdownIndicator:qd,group:df,groupHeading:gf,indicatorsContainer:Qd,indicatorSeparator:rf,input:bf,loadingIndicator:uf,loadingMessage:kd,menu:Fd,menuList:Vd,menuPortal:Wd,multiValue:yf,multiValueLabel:Cf,multiValueRemove:xf,noOptionsMessage:Rd,option:wf,placeholder:Sf,singleValue:Of,valueContainer:Hd},s0={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},l0=4,Oa=4,c0=38,d0=Oa*2,f0={baseUnit:Oa,controlHeight:c0,menuGutter:d0},Jr={borderRadius:l0,colors:s0,spacing:f0},g0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:oa(),captureMenuScroll:!oa(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xf(),formatGroupLabel:r0,getOptionLabel:i0,getOptionValue:o0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:a0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!wd(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function ja(e,t,n,i){var r=za(e,t,n),o=Va(e,t,n),u=La(e,t),a=jn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:o,label:u,value:a,index:i}}function Pa(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(u,a){return ja(e,u,t,a)}).filter(function(u){return Fa(e,u)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=ja(e,n,t,i);return Fa(e,o)?o:void 0}).filter(Dd)}function Ga(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,yo(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function p0(e,t){return Ga(Pa(e,t))}function Fa(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,o=t.isSelected,u=t.label,a=t.value;return(!Ra(e)||!o)&&Ba(e,{label:u,value:a,data:r},i)}function m0(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var o=t.indexOf(n);if(o>-1)return n;if(r<t.length)return t[r]}return null}function b0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var La=function(t,n){return t.getOptionLabel(n)},jn=function(t,n){return t.getOptionValue(n)};function za(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Va(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=jn(e,t);return n.some(function(r){return jn(e,r)===i})}function Ba(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Ra=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},v0=1,_r=function(e){tc(n,e);var t=oc(n);function n(i){var r;if(ql(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,s){var l=r.props,c=l.onChange,d=l.name;s.name=d,r.ariaOnChange(a,s),c(a,s)},r.setValue=function(a,s,l){var c=r.props,d=c.closeMenuOnSelect,g=c.isMulti,v=c.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:v}),d&&(r.setState({inputIsHiddenAfterUpdate:!g}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:s,option:l})},r.selectOption=function(a){var s=r.props,l=s.blurInputOnSelect,c=s.isMulti,d=s.name,g=r.state.selectValue,v=c&&r.isOptionSelected(a,g),b=r.isOptionDisabled(a,g);if(v){var h=r.getOptionValue(a);r.setValue(g.filter(function(I){return r.getOptionValue(I)!==h}),"deselect-option",a)}else if(!b)c?r.setValue([].concat(yo(g),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:d});return}l&&r.blurInput()},r.removeValue=function(a){var s=r.props.isMulti,l=r.state.selectValue,c=r.getOptionValue(a),d=l.filter(function(v){return r.getOptionValue(v)!==c}),g=On(s,d,d[0]||null);r.onChange(g,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(On(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,s=r.state.selectValue,l=s[s.length-1],c=s.slice(0,s.length-1),d=On(a,c,c[0]||null);r.onChange(d,{action:"pop-value",removedValue:l})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return Cd.apply(void 0,[r.props.classNamePrefix].concat(s))},r.getOptionLabel=function(a){return La(r.props,a)},r.getOptionValue=function(a){return jn(r.props,a)},r.getStyles=function(a,s){var l=u0[a](s);l.boxSizing="border-box";var c=r.props.styles[a];return c?c(l,s):l},r.getElementId=function(a){return"".concat(r.instancePrefix,"-").concat(a)},r.getComponents=function(){return Pf(r.props)},r.buildCategorizedOptions=function(){return Pa(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Ga(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,s){r.setState({ariaSelection:ie({value:a},s)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var s=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():s&&r.openMenu("first"):(s&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var s=r.props,l=s.isMulti,c=s.menuIsOpen;r.focusInput(),c?(r.setState({inputIsHiddenAfterUpdate:!l}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&wn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var s=a.touches,l=s&&s.item(0);!l||(r.initialTouchX=l.clientX,r.initialTouchY=l.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var s=a.touches,l=s&&s.item(0);if(!!l){var c=Math.abs(l.clientX-r.initialTouchX),d=Math.abs(l.clientY-r.initialTouchY),g=5;r.userIsDragging=c>g||d>g}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var s=r.props.inputValue,l=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(l,{action:"input-change",prevInputValue:s}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var s=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:s}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){r.blockOptionHover||r.state.focusedOption===a||r.setState({focusedOption:a})},r.shouldHideSelectedOptions=function(){return Ra(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var s=r.props,l=s.isMulti,c=s.backspaceRemovesValue,d=s.escapeClearsValue,g=s.inputValue,v=s.isClearable,b=s.isDisabled,h=s.menuIsOpen,I=s.onKeyDown,C=s.tabSelectsValue,M=s.openMenuOnFocus,A=r.state,y=A.focusedOption,x=A.focusedValue,N=A.selectValue;if(!b&&!(typeof I=="function"&&(I(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!l||g)return;r.focusValue("previous");break;case"ArrowRight":if(!l||g)return;r.focusValue("next");break;case"Delete":case"Backspace":if(g)return;if(x)r.removeValue(x);else{if(!c)return;l?r.popValue():v&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!h||!C||!y||M&&r.isOptionSelected(y,N))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(h){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":h?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:g}),r.onMenuClose()):v&&d&&r.clearValue();break;case" ":if(g)return;if(!h){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":h?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":h?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!h)return;r.focusOption("pageup");break;case"PageDown":if(!h)return;r.focusOption("pagedown");break;case"Home":if(!h)return;r.focusOption("first");break;case"End":if(!h)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++v0),r.state.selectValue=ta(i.value),i.menuIsOpen&&r.state.selectValue.length){var o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusedOption=o[u]}return r}return ec(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ia(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var o=this.props,u=o.isDisabled,a=o.menuIsOpen,s=this.state.isFocused;(s&&!u&&r.isDisabled||s&&a&&!r.menuIsOpen)&&this.focusInput(),s&&u&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!u&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ia(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,o){this.props.onInputChange(r,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(r){var o=this,u=this.state,a=u.selectValue,s=u.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(a[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(r){var o=this.state,u=o.selectValue,a=o.focusedValue;if(!!this.props.isMulti){this.setState({focusedOption:null});var s=u.indexOf(a);a||(s=-1);var l=u.length-1,c=-1;if(!!u.length){switch(r){case"previous":s===0?c=0:s===-1?c=l:c=s-1;break;case"next":s>-1&&s<l&&(c=s+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:u[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,u=this.state.focusedOption,a=this.getFocusableOptions();if(!!a.length){var s=0,l=a.indexOf(u);u||(l=-1),r==="up"?s=l>0?l-1:a.length-1:r==="down"?s=(l+1)%a.length:r==="pageup"?(s=l-o,s<0&&(s=0)):r==="pagedown"?(s=l+o,s>a.length-1&&(s=a.length-1)):r==="last"&&(s=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[s],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Jr):ie(ie({},Jr),this.props.theme):Jr}},{key:"getCommonProps",value:function(){var r=this.clearValue,o=this.cx,u=this.getStyles,a=this.getValue,s=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,g=c.isRtl,v=c.options,b=this.hasValue();return{clearValue:r,cx:o,getStyles:u,getValue:a,hasValue:b,isMulti:d,isRtl:g,options:v,selectOption:s,selectProps:c,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,o=r.isClearable,u=r.isMulti;return o===void 0?u:o}},{key:"isOptionDisabled",value:function(r,o){return za(this.props,r,o)}},{key:"isOptionSelected",value:function(r,o){return Va(this.props,r,o)}},{key:"filterOption",value:function(r,o){return Ba(this.props,r,o)}},{key:"formatOptionLabel",value:function(r,o){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(r,{context:o,inputValue:u,selectValue:a})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,u=r.isSearchable,a=r.inputId,s=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,g=r.required,v=this.getComponents(),b=v.Input,h=this.state,I=h.inputIsHidden,C=h.ariaSelection,M=this.commonProps,A=a||this.getElementId("input"),y=ie(ie(ie({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox"},d&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?(C==null?void 0:C.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?f(b,{...M,autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:A,innerRef:this.getInputRef,isDisabled:o,isHidden:I,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:s,...y}):f(Hf,{id:A,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:En,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:"",...y})}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.getComponents(),u=o.MultiValue,a=o.MultiValueContainer,s=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,g=this.commonProps,v=this.props,b=v.controlShouldRenderValue,h=v.isDisabled,I=v.isMulti,C=v.inputValue,M=v.placeholder,A=this.state,y=A.selectValue,x=A.focusedValue,N=A.isFocused;if(!this.hasValue()||!b)return C?null:p.createElement(d,{...g,key:"placeholder",isDisabled:h,isFocused:N,innerProps:{id:this.getElementId("placeholder")}},M);if(I)return y.map(function(j,F){var S=j===x,k="".concat(r.getOptionLabel(j),"-").concat(r.getOptionValue(j));return p.createElement(u,{...g,components:{Container:a,Label:s,Remove:l},isFocused:S,isDisabled:h,key:k,index:F,removeProps:{onClick:function(){return r.removeValue(j)},onTouchEnd:function(){return r.removeValue(j)},onMouseDown:function(P){P.preventDefault()}},data:j},r.formatOptionLabel(j,"value"))});if(C)return null;var E=y[0];return f(c,{...g,data:E,isDisabled:h,children:this.formatOptionLabel(E,"value")})}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),o=r.ClearIndicator,u=this.commonProps,a=this.props,s=a.isDisabled,l=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||s||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return f(o,{...u,innerProps:d,isFocused:c})}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),o=r.LoadingIndicator,u=this.commonProps,a=this.props,s=a.isDisabled,l=a.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return f(o,{...u,innerProps:d,isDisabled:s,isFocused:c})}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator,u=r.IndicatorSeparator;if(!o||!u)return null;var a=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused;return f(u,{...a,isDisabled:s,isFocused:l})}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator;if(!o)return null;var u=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return f(o,{...u,innerProps:l,isDisabled:a,isFocused:s})}},{key:"renderMenu",value:function(){var r=this,o=this.getComponents(),u=o.Group,a=o.GroupHeading,s=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,g=o.NoOptionsMessage,v=o.Option,b=this.commonProps,h=this.state.focusedOption,I=this.props,C=I.captureMenuScroll,M=I.inputValue,A=I.isLoading,y=I.loadingMessage,x=I.minMenuHeight,N=I.maxMenuHeight,E=I.menuIsOpen,j=I.menuPlacement,F=I.menuPosition,S=I.menuPortalTarget,k=I.menuShouldBlockScroll,W=I.menuShouldScrollIntoView,P=I.noOptionsMessage,w=I.onMenuScrollToTop,L=I.onMenuScrollToBottom;if(!E)return null;var B=function(pe,Ee){var Ce=pe.type,he=pe.data,xe=pe.isDisabled,we=pe.isSelected,Ve=pe.label,Ue=pe.value,lt=h===he,V=xe?void 0:function(){return r.onOptionHover(he)},et=xe?void 0:function(){return r.selectOption(he)},Ye="".concat(r.getElementId("option"),"-").concat(Ee),ze={id:Ye,onClick:et,onMouseMove:V,onMouseOver:V,tabIndex:-1};return p.createElement(v,{...b,innerProps:ze,data:he,isDisabled:xe,isSelected:we,key:Ye,label:Ve,type:Ce,value:Ue,isFocused:lt,innerRef:lt?r.getFocusedOptionRef:void 0},r.formatOptionLabel(pe.data,"menu"))},Z;if(this.hasOptions())Z=this.getCategorizedOptions().map(function(ue){if(ue.type==="group"){var pe=ue.data,Ee=ue.options,Ce=ue.index,he="".concat(r.getElementId("group"),"-").concat(Ce),xe="".concat(he,"-heading");return p.createElement(u,{...b,key:he,data:pe,options:Ee,Heading:a,headingProps:{id:xe,data:ue.data},label:r.formatGroupLabel(ue.data)},ue.options.map(function(we){return B(we,"".concat(Ce,"-").concat(we.index))}))}else if(ue.type==="option")return B(ue,"".concat(ue.index))});else if(A){var R=y({inputValue:M});if(R===null)return null;Z=f(d,{...b,children:R})}else{var U=P({inputValue:M});if(U===null)return null;Z=f(g,{...b,children:U})}var de={minMenuHeight:x,maxMenuHeight:N,menuPlacement:j,menuPosition:F,menuShouldScrollIntoView:W},Pe=f(Ld,{...b,...de,children:function(ue){var pe=ue.ref,Ee=ue.placerProps,Ce=Ee.placement,he=Ee.maxHeight;return f(s,{...b,...de,innerRef:pe,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove,id:r.getElementId("listbox")},isLoading:A,placement:Ce,children:f(qf,{captureEnabled:C,onTopArrive:w,onBottomArrive:L,lockEnabled:k,children:function(xe){return f(l,{...b,innerRef:function(Ve){r.getMenuListRef(Ve),xe(Ve)},isLoading:A,maxHeight:he,focusedOption:h,children:Z})}})})}});return S||F==="fixed"?f(c,{...b,appendTo:S,controlElement:this.controlRef,menuPlacement:j,menuPosition:F,children:Pe}):Pe}},{key:"renderFormField",value:function(){var r=this,o=this.props,u=o.delimiter,a=o.isDisabled,s=o.isMulti,l=o.name,c=o.required,d=this.state.selectValue;if(!(!l||a)){if(c&&!this.hasValue())return f(n0,{name:l,onFocus:this.onValueInputFocus});if(s)if(u){var g=d.map(function(h){return r.getOptionValue(h)}).join(u);return f("input",{name:l,type:"hidden",value:g})}else{var v=d.length>0?d.map(function(h,I){return f("input",{name:l,type:"hidden",value:r.getOptionValue(h)},"i-".concat(I))}):f("input",{name:l,type:"hidden",value:""});return f("div",{children:v})}else{var b=d[0]?this.getOptionValue(d[0]):"";return f("input",{name:l,type:"hidden",value:b})}}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,o=this.state,u=o.ariaSelection,a=o.focusedOption,s=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return f(Rf,{...r,id:this.getElementId("live-region"),ariaSelection:u,focusedOption:a,focusedValue:s,isFocused:l,selectValue:c,focusableOptions:d})}},{key:"render",value:function(){var r=this.getComponents(),o=r.Control,u=r.IndicatorsContainer,a=r.SelectContainer,s=r.ValueContainer,l=this.props,c=l.className,d=l.id,g=l.isDisabled,v=l.menuIsOpen,b=this.state.isFocused,h=this.commonProps=this.getCommonProps();return z(a,{...h,className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:b,children:[this.renderLiveRegion(),z(o,{...h,innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:b,menuIsOpen:v,children:[z(s,{...h,isDisabled:g,children:[this.renderPlaceholderOrValue(),this.renderInput()]}),z(u,{...h,isDisabled:g,children:[this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator()]})]}),this.renderMenu(),this.renderFormField()]})}}],[{key:"getDerivedStateFromProps",value:function(r,o){var u=o.prevProps,a=o.clearFocusValueOnUpdate,s=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,g=r.options,v=r.value,b=r.menuIsOpen,h=r.inputValue,I=r.isMulti,C=ta(v),M={};if(u&&(v!==u.value||g!==u.options||b!==u.menuIsOpen||h!==u.inputValue)){var A=b?p0(r,C):[],y=a?m0(o,C):null,x=b0(o,A);M={selectValue:C,focusedOption:x,focusedValue:y,clearFocusValueOnUpdate:!1}}var N=s!=null&&r!==u?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},E=l,j=c&&d;return c&&!j&&(E={value:On(I,C,C[0]||null),options:C,action:"initial-input-focus"},j=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(E=null),ie(ie(ie({},M),N),{},{prevProps:r,ariaSelection:E,prevWasFocused:j})}}]),n}(p.Component);_r.defaultProps=g0;var h0=p.forwardRef(function(e,t){var n=ho(e);return f(_r,{ref:t,...n})});const $r=h0;function Pn({error:e,helpText:t}){return{styles:{control:(i,r)=>{const o=()=>e?"":r.isFocused?"0px 0px 0px 1px #3EADFE":"0px 1px 0px rgba(0, 0, 0, 0.05)";return{...i,backgroundColor:r.isDisabled?"var(--colors-action-secondary-disabled)":"var(--colors-action-secondary-default)",boxShadow:o(),height:"56px",border:e?"1px solid var(--colors-action-critical-default)":"0px",padding:"18px 16px",borderRadius:"var(--border-radius-sm)"}},clearIndicator:i=>({...i,padding:"0px",marginRight:"4px"}),singleValue:i=>({...i,margin:"0px"}),placeholder:i=>({...i,margin:"0px"}),indicatorSeparator:i=>({...i,display:"none"}),valueContainer:i=>({...i,padding:"0px"}),indicatorsContainer:i=>({...i,padding:"0px"}),dropdownIndicator:i=>({...i,padding:"0px"}),menuPortal:i=>({...i,padding:"0px"}),menu:i=>({...i,filter:"drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.1))",borderRadius:"var(--border-radius-sm)",background:"var(--colors-action-secondary-default)",padding:0,marginTop:t?"28px":"8px"}),menuList:i=>({...i,padding:"0px",borderRadius:"var(--border-radius-sm)"}),input:i=>({...i,margin:0,padding:0,">:focus":{boxShadow:"none"}}),option:(i,r)=>{const o=()=>r.isFocused&&!r.isSelected?"var(--colors-action-secondary-hovered)":r.isSelected?"var(--colors-action-secondary-pressed)":"var(--colors-action-secondary-default)";return{...i,padding:"8px 16px",border:"0px",height:"40px",color:r.isFocused?"var(--colors-letter-on)":"",backgroundColor:o(),":hover":{backgroundColor:!r.isSelected&&"var(--colors-action-secondary-hovered)"},":active":{backgroundColor:"var(--colors-action-secondary-active)"}}},group:i=>({...i,padding:"0px"}),groupHeading:i=>({...i,padding:"8px 16px",border:"0px",height:"36px",fontFamily:"Circular Std Book",color:"var(--colors-letter-default)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--font-size-xs)",textTransform:"none"})}}}const Gn=e=>f(qe.ClearIndicator,{...e,children:f(Fe,{size:"sm",kind:"delete",color:"default"})});function Fn({helpText:e,error:t,children:n}){return z(Ge,{children:[n,e&&!t&&f(()=>f("div",{className:"my-1",children:f(_,{as:"span",variant:"body",color:"subdued",children:e})}),{}),t&&!e&&f(()=>f("div",{className:"mt-1",children:f(Ya,{icon:"alert",children:t})}),{})]})}const Ln=e=>f(qe.DropdownIndicator,{...e,children:f(Fe,{size:"sm",kind:e.isFocused?"up":"down",color:e.isDisabled?"disabled":"subdued"})}),ka=e=>f(qe.Option,{...e,children:f(_,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})}),zn=e=>f(qe.Placeholder,{...e,children:f(_,{as:"span",variant:"body",color:e.isDisabled?"disabled":"subdued",children:e.children})}),Kr=({hasLabelPlaceholder:e,...t})=>{const n=t;return f(qe.SingleValue,{...n,children:z("div",{className:"flex items-center space-x-[4px]",children:[e&&f(_,{as:"span",variant:"body",color:"subdued",children:n.selectProps.placeholder}),f(_,{as:"span",variant:"body",color:"default",children:n.children})]})})};function I0({options:e,placeholder:t="",defaultValue:n,isDisabled:i=!1,id:r="default",error:o="",name:u="default",helpText:a="",hasLabelPlaceholder:s=!1,onChange:l,isSearchable:c=!1,isClearable:d=!0,...g}){const{styles:v}=Pn({error:o,helpText:a});return f(Fn,{error:o,helpText:a,children:f($r,{...g,...{id:r,name:u,placeholder:t,isDisabled:i,isClearable:d,styles:v,defaultValue:n,noOptionsMessage:()=>"No encontrado"},options:e,isSearchable:c,components:{DropdownIndicator:Ln,ClearIndicator:Gn,Option:ka,Placeholder:zn,SingleValue:I=>f(Kr,{...I,hasLabelPlaceholder:s})},onChange:I=>l&&l(I)})})}var y0=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function C0(e){var t=e.defaultOptions,n=t===void 0?!1:t,i=e.cacheOptions,r=i===void 0?!1:i,o=e.loadOptions;e.options;var u=e.isLoading,a=u===void 0?!1:u,s=e.onInputChange,l=e.filterOption,c=l===void 0?null:l,d=ht(e,y0),g=d.inputValue,v=p.useRef(void 0),b=p.useRef(!1),h=p.useState(Array.isArray(n)?n:void 0),I=ye(h,2),C=I[0],M=I[1],A=p.useState(typeof g<"u"?g:""),y=ye(A,2),x=y[0],N=y[1],E=p.useState(n===!0),j=ye(E,2),F=j[0],S=j[1],k=p.useState(void 0),W=ye(k,2),P=W[0],w=W[1],L=p.useState([]),B=ye(L,2),Z=B[0],R=B[1],U=p.useState(!1),de=ye(U,2),Pe=de[0],ue=de[1],pe=p.useState({}),Ee=ye(pe,2),Ce=Ee[0],he=Ee[1],xe=p.useState(void 0),we=ye(xe,2),Ve=we[0],Ue=we[1],lt=p.useState(void 0),V=ye(lt,2),et=V[0],Ye=V[1];r!==et&&(he({}),Ye(r)),n!==Ve&&(M(Array.isArray(n)?n:void 0),Ue(n)),p.useEffect(function(){return b.current=!0,function(){b.current=!1}},[]);var ze=p.useCallback(function(ct,Xe){if(!o)return Xe();var Te=o(ct,Xe);Te&&typeof Te.then=="function"&&Te.then(Xe,function(){return Xe()})},[o]);p.useEffect(function(){n===!0&&ze(x,function(ct){!b.current||(M(ct||[]),S(!!v.current))})},[]);var Tt=p.useCallback(function(ct,Xe){var Te=xd(ct,Xe,s);if(!Te){v.current=void 0,N(""),w(""),R([]),S(!1),ue(!1);return}if(r&&Ce[Te])N(Te),w(Te),R(Ce[Te]),S(!1),ue(!1);else{var ei=v.current={};N(Te),S(!0),ue(!P),ze(Te,function(It){!b||ei===v.current&&(v.current=void 0,S(!1),w(Te),R(It||[]),ue(!1),he(It?ie(ie({},Ce),{},ke({},Te,It)):Ce))})}},[r,ze,P,Ce,s]),Rn=Pe?[]:x&&P?Z:C||[];return ie(ie({},d),{},{options:Rn,isLoading:F||a,onInputChange:Tt,filterOption:c})}var x0=p.forwardRef(function(e,t){var n=C0(e),i=ho(n);return f(_r,{ref:t,...i})});function M0({placeholder:e="",id:t="default",name:n="default",error:i="",helpText:r="",hasLabelPlaceholder:o=!1,isDisabled:u=!1,isClearable:a=!0,defaultValue:s,onChange:l,loadOptions:c,...d}){const{styles:g}=Pn({error:i,helpText:r});return f(Fn,{error:i,helpText:r,children:f(x0,{...d,...{id:t,name:n,placeholder:e,isDisabled:u,isClearable:a,styles:g,defaultValue:s,noOptionsMessage:()=>"No encontrado"},cacheOptions:!0,defaultOptions:!0,components:{DropdownIndicator:Ln,ClearIndicator:Gn,Option:ka,Placeholder:zn,SingleValue:h=>f(Kr,{...h,hasLabelPlaceholder:o})},onChange:h=>l&&l(h),loadOptions:h=>c&&c(h)})})}const A0=({alignButton:e,...t})=>{const n=t;return f(({children:r})=>{const o=n.data;if(o.notSelect){const u=n.selectProps,a=l=>{var c;if(o.notSelect)return l(o),(c=u.onClickFirstItem)==null?void 0:c.call(u,o)},s={addButton:()=>a(u.addButton)};return z(ci,{variant:"plain",fullWidth:!0,align:e,...n.innerProps,onClick:s.addButton,children:[f(Fe,{kind:o.icon}),n.children]})}return f(qe.Option,{...n,children:r})},{children:f(_,{as:"span",variant:"body",color:n.isSelected?"on":"default",children:n.children})})};function N0({options:e,placeholder:t="",defaultValue:n,isDisabled:i=!1,id:r="default",error:o="",name:u="default",helpText:a="",hasLabelPlaceholder:s=!1,onChange:l,isSearchable:c=!0,isClearable:d=!0,alignButton:g="start",onClickFirstItem:v,...b}){const{styles:h}=Pn({error:o,helpText:a});return f(Fn,{error:o,helpText:a,children:f($r,{...b,...{id:r,name:u,placeholder:t,isDisabled:i,isClearable:d,styles:h,defaultValue:n,noOptionsMessage:()=>"No encontrado"},isSearchable:c,options:e,addButton:v,components:{DropdownIndicator:Ln,ClearIndicator:Gn,Option:M=>f(A0,{...M,alignButton:g}),Placeholder:zn,SingleValue:M=>f(Kr,{...M,hasLabelPlaceholder:s})},onChange:M=>l&&l(M)})})}var E0=["title"];function w0(e,t){if(e==null)return{};var n=T0(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(n[i]=e[i]))}return n}function T0(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var S0=function(t){var n=t.title,i=w0(t,E0);return z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",...i,children:[n&&f("title",{children:n}),f("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),f("path",{fill:"#D80027",d:"M0 343.096h512v83.567H0z"}),f("path",{fill:"#0052B4",d:"M0 256h512v87.096H0z"})]})};const Wa=({isDisabled:e})=>f(S0,{className:G("w-[16px]",{"opacity-[0.4]":e})}),D0=({isDisabled:e,...t})=>{const n=t;return f(qe.SingleValue,{...n,children:z("div",{className:"flex items-center space-x-[4px]",children:[f(Wa,{isDisabled:e}),f(_,{as:"span",variant:"body",color:e?"disabled":"default",children:n.children})]})})},O0=e=>f(qe.Option,{...e,children:z("div",{className:"flex gap-x-1",children:[f(Wa,{}),f(_,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})]})});function j0({id:e="default-country",name:t="default-country",placeholder:n="",options:i,defaultValue:r,isDisabled:o=!1,error:u="",isSearchable:a=!1,helpText:s="",onChange:l,isClearable:c=!0,...d}){const{styles:g}=Pn({error:u,helpText:s});return f(Fn,{error:u,helpText:s,children:f($r,{...d,...{id:e,name:t,placeholder:n,isDisabled:o,isClearable:c,styles:g,defaultValue:r,noOptionsMessage:()=>"No encontrado"},options:i,isSearchable:a,components:{DropdownIndicator:Ln,ClearIndicator:Gn,Option:O0,Placeholder:zn,SingleValue:h=>f(D0,{...h,isDisabled:o})},onChange:h=>l&&l(h)})})}function P0({tabs:e,variant:t="default"}){const n=({selected:u,isDisabled:a})=>G("cursor-pointer focus:outline-none focus-visible:ring-0 after:absolute after:-bottom-[1px] after:h-[3px] after:rounded-t-[4px] after:rounded-r-[4px] after:rounded-b-none after:content-[''] relative",!u&&!a?"after:hover:absolute after:hover:bg-action-secondary-hovered after:hover:transition after:hover:duration-400 after:active:bg-action-secondary-active":"",{"after:left-1 after:w-[88%]":t==="default","after:w-full w-full after:left-0 text-center":t==="fitted","after:bg-action-secondary-pressed":u,"after:bg-action-secondary-disabled":a}),i=({selected:u,isDisabled:a})=>a?"disabled":u?"default":"subdued",r=({selected:u,isDisabled:a})=>!u&&!a?"hover:text-letter-default":"",o=({selected:u,isDisabled:a,nameTab:s,total:l})=>t==="fitted"?z(_,{variant:"button",color:i({selected:u,isDisabled:a}),className:G("flex w-full items-center justify-center gap-x-1 p-sm ",r({selected:u,isDisabled:a})),children:[s,l&&f("span",{className:G("flex h-5 items-center rounded-sm bg-surface-neutral-default py-[2px] px-2",r({selected:u,isDisabled:a})),children:l})]}):f(_,{variant:"button",color:i({selected:u,isDisabled:a}),className:G("p-sm",r({selected:u,isDisabled:a})),children:s});return f("div",{className:"w-full",children:z(Vt.Group,{children:[f(Vt.List,{className:G("flex border-b",{"justify-center":t==="fitted"}),children:Object.entries(e).map(([u,{isDisabled:a,total:s}],l)=>f(Vt,{className:({selected:c})=>n({selected:c,isDisabled:a}),disabled:a,children:({selected:c})=>o({selected:c,isDisabled:a,nameTab:u,total:s})},l))}),f(Vt.Panels,{className:"mt-3",children:Object.values(e).map((u,a)=>!u.isDisabled&&f(Vt.Panel,{children:u.children},a))})]})})}function Ya({children:e,size:t="sm",icon:n="error",colorIcon:i="critical",className:r,...o}){return z("div",{className:G("inline-flex items-center gap-x-xs",r),children:[n&&f(Fe,{kind:n,color:i,size:"sm"}),f(_,{as:"span",variant:t==="lg"?"body":"caption",color:"critical",...o,children:e})]})}function G0({title:e,iconTitle:t,subtitle:n,footer:i,isOpen:r=!1,hasBorder:o=[],showClose:u=!0,onClose:a,children:s}){const l=()=>z("header",{className:"mb-lg flex items-center justify-between",children:[z("div",{className:"flex items-center gap-x-2",children:[t&&t,f(nt,{variant:"heading",color:"default",children:e})]}),u&&f(Fe,{kind:"delete",cursor:"pointer",onClick:()=>a==null?void 0:a(!r)})]}),c=()=>z(Ge,{children:[o.includes("top")&&f("div",{className:"mb-xs border-b border-border-disabled"}),s,o.includes("bottom")&&f("div",{className:"mt-xs border-t border-border-disabled"})]});return z(Li,{open:r,onClose:d=>a==null?void 0:a(d),className:"relative z-50",children:[f("div",{className:"fixed inset-0 bg-background-modal","aria-hidden":"true"}),f("div",{className:"fixed inset-0 overflow-y-auto",children:f("div",{className:"flex min-h-full items-center justify-center",children:z(Li.Panel,{className:"mx-auto max-w-sm rounded-sm bg-surface-default p-lg shadow-popup",children:[l(),n&&f(_,{variant:"caption",color:"subdued",className:"mb-sm",children:n}),f("main",{className:"mb-lg",children:c()}),f("footer",{className:"flex w-full justify-end gap-x-2",children:i&&i})]})})})]})}function F0({title:e,subtitle:t,defaultOpen:n=!1,isDisabled:i,content:r=[],className:o,children:u}){const a=()=>f(Ge,{children:typeof e=="string"?f(_,{variant:"highlight",color:i?"disabled":"default",children:e}):e}),s=(c,d)=>f(p.Fragment,{children:typeof c=="string"?f(_,{variant:"body",color:i?"disabled":"subdued",children:c}):c},d),l=({label:c,value:d},g)=>z("div",{className:"flex items-center justify-between",children:[typeof c=="string"?f(_,{variant:"body",color:i?"disabled":"default",children:c}):c,typeof d=="string"?f(_,{variant:"body",color:i?"disabled":"subdued",children:d}):d]},g);return i?z("div",{className:G("flex min-h-[56px] w-full flex-wrap items-center justify-between rounded-sm bg-action-secondary-disabled py-xs px-sm focus:outline-none focus-visible:outline-none"),children:[z("div",{className:"flex items-center gap-x-sm",children:[f(Fe,{kind:"down",color:i?"disabled":"default"}),a()]}),f("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(s)})]}):f(ir,{defaultOpen:n,children:({open:c})=>z("div",{className:G("mb-sm",o),children:[z(ir.Button,{className:G("flex min-h-[56px] w-full flex-wrap items-center justify-between bg-action-secondary-default py-xs px-sm hover:bg-action-secondary-hovered focus:outline-none focus-visible:outline-none active:bg-action-secondary-active",c?"rounded-tl-sm rounded-tr-sm border-t border-l border-r border-border-shadow-subdued":"rounded-sm"),children:[z("div",{className:"flex gap-x-sm",children:[f(Fe,{kind:c?"up":"down",color:i?"disabled":"default"}),a()]}),f("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(s)})]}),f(ir.Panel,{className:G("space-y-sm rounded-br-sm rounded-bl-sm border border-t-border-subdued bg-action-secondary-default py-sm pr-sm pl-[48px]",c?"border-b border-r border-l border-border-shadow-subdued":""),children:r.length>0?r.map(l):u})]})})}function L0(){return z("svg",{xmlns:"http://www.w3.org/2000/svg",width:"183",height:"136",fill:"none",viewBox:"0 0 183 136",children:[f("path",{fill:"#F0F1F2",d:"M152.637 71.913c0 9.518-2.063 18.56-5.766 26.683C136.836 120.67 114.72 136 89.056 136c-25.664 0-47.78-15.329-57.814-37.404-3.704-8.124-5.766-17.165-5.766-26.683 0-35.395 28.465-64.086 63.58-64.086 35.116 0 63.581 28.691 63.581 64.086z"}),f("mask",{id:"mask0_829_5665",style:{maskType:"alpha"},width:"183",height:"136",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:f("path",{fill:"#F0F1F2",d:"M178.521 33.801c3.673 11.655 17.075 59.762-31.65 64.793C136.836 120.67 114.721 136 89.057 136c-25.665 0-47.78-15.329-57.815-37.405C-18.35 64.953 4.492 33.801 10.386 22.11 31.242 0 53.941 0 89.056 0c35.116 0 47.676 7.794 89.465 33.801z"})}),z("g",{filter:"url(#filter0_d_829_5665)",mask:"url(#mask0_829_5665)",children:[f("path",{fill:"#FFDDA8",d:"M145.907 67.692l-24.135-14.178-10.075-5.911L89.879 34.79l-.88-.518-.302-.165-.023.023-.903.518-55.148 32.384-.255.164-.255.142-.208.118 23.023 13.518 10.052 5.912 21.54 12.647h.023l3.15 1.86.047.024.209.117.023-.023 1.343-.777 38.124-22.397 17.279-10.151v-.024l-.811-.47v-.001z"}),f("path",{fill:"#E8D4BC",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996-55.264 32.453 56.515 32.925.046-.024 5.536-3.226 49.543-28.874.139-.07-14.152-8.314z"}),f("path",{fill:"#CCAF8B",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996v58.525l6.833 3.603.046.023 49.497-28.897.139-.07-14.152-8.314zM89.948 101.535v36.74h-.092c-23.58 0-44.355-12.129-56.631-30.593l-1.32-2.051V67.456l23.022 13.519 10.099 5.91L86.52 99.534h.023l3.197 1.884.208.118z"}),f("path",{fill:"#E8D4BC",d:"M129.439 78.337l-38.124 22.397-1.344.777-.023.024v36.74c1.645 0 3.266-.071 4.864-.212.162.023.302 0 .44-.024 1.807-.117 3.59-.33 5.351-.636.139 0 .278-.023.417-.071.046 0 .092 0 .139-.023.139 0 .278-.023.394-.071.139 0 .278-.023.416-.07.278-.024.556-.071.811-.142.417-.07.811-.165 1.228-.259.139 0 .254-.047.393-.094a12.973 12.973 0 001.598-.377c.139 0 .279-.047.417-.094a50.433 50.433 0 003.243-.895c.185.071.417.024.672-.141l.278-.165h.023c.069 0 .139-.047.231-.071.14-.047.255-.094.394-.141a36.744 36.744 0 002.687-.966 28.905 28.905 0 001.807-.706c.115-.048.254-.094.37-.165 12.508-5.299 23.162-14.249 30.597-25.577V68.186l-17.279 10.15v.001z"}),f("path",{fill:"#B6956D",d:"M87.775 34.505L66.285 8.697 10.407 40.67v1.3l21.489 25.48 1.171.118 54.725-32.095-.016-.969z"}),f("path",{fill:"#DAC2A5",d:"M88.674 34.132v-.118L67.087 7.825l-31.06 18.016L14.811 38.16l-1.297.753-3.104 1.79 12.322 14.625 9.89 11.705.232.306.209.236.208-.117 55.426-32.478v-.424l-.023-.423z"}),f("path",{fill:"#D3B998",d:"M117.214 9.459l-27.602 25.6 55.604 33.297 1.586-.197 27.237-25.616-.416-.93-55.581-32.662-.828.508z"}),f("path",{fill:"#DAC2A5",d:"M140.858 22.332L117.14 8.39l-.811.518-27.33 25.364-.302.283-.255.236.255.141L104.03 44l39.63 23.434 1.413.824.139.094.185-.165.51-.494L157.303 57l16.329-15.379-32.774-19.289z"}),f("path",{fill:"#C9AA8C",d:"M95.53 97.131l-6.833-4.004-5.536 3.25 6.833 3.981.023.023 1.737-1.013 3.822-2.213-.046-.024z"}),f("path",{fill:"#C1A787",d:"M3.148 58.709l30.007 8.947 56.796 32.731-.014 1.078-30.284-7.607L3.148 59.736v-1.027z"}),f("path",{fill:"#DAC2A5",d:"M33.271 67.456l-.417-.118-.486-.141-.903-.259-9.844-2.85L3.137 58.72l18.345 11.069 10.422 6.288L59.652 92.82l26.868 6.712h.023l3.405.848L33.27 67.456z"}),f("path",{fill:"#C7AE90",d:"M158.206 71.554l-11.489-2.308-.741-.141-16.537 9.232-37.684 21.031-1.76.989-.047.024.023 1.13v.071l28.466 7.065 28.281-16.392 9.149-5.298 19.108-11.07v-.965l-16.769-3.368z"}),f("path",{fill:"#DAC2A5",d:"M158.229 70.918l-11.489-2.732h-1.528l-.139.071L95.53 97.131l-5.536 3.227-.046.023 1.367.353 27.122 6.925 28.281-16.369 9.473-5.487 18.784-10.88-16.746-4.005z"})]}),f("defs",{children:z("filter",{id:"filter0_d_829_5665",width:"183.838",height:"142.45",x:"-2.863",y:"5.825",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[f("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),f("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),f("feOffset",{dy:"4"}),f("feGaussianBlur",{stdDeviation:"3"}),f("feComposite",{in2:"hardAlpha",operator:"out"}),f("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),f("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_829_5665"}),f("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_829_5665",result:"shape"})]})})]})}function z0(){return f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60",children:f("path",{fill:"#A2A2A2",d:"M50.625 26.25h-2.813v-8.438C47.813 8.086 39.727 0 30 0c-9.844 0-17.813 8.086-17.813 17.813v8.437H9.376c-3.164 0-5.625 2.578-5.625 5.625v22.5C3.75 57.539 6.21 60 9.375 60h41.25c3.047 0 5.625-2.46 5.625-5.625v-22.5c0-3.047-2.578-5.625-5.625-5.625zm-12.188 0H21.564v-8.438c0-4.57 3.75-8.437 8.437-8.437 4.57 0 8.438 3.867 8.438 8.438v8.437z"})})}function V0({title:e,description:t,img:n,className:i,children:r}){const o=()=>n==="box"?f(L0,{}):n==="padlock"?f(z0,{}):f(Ge,{});return z("div",{className:G(i,"flex w-full flex-col items-center justify-center rounded-xs border border-border-disabled bg-surface-default py-xl px-[40px]"),children:[o(),z("div",{className:"mb-sm w-full md:w-[300px]",children:[f(nt,{variant:"heading",color:"default",className:G("mb-sm text-center",n&&"mt-[42px]"),children:e}),f(_,{variant:"body",color:"subdued",className:"text-center",children:t})]}),r]})}function B0({icon:e,isSelected:t=!1,title:n,total:i,isSmall:r=!1,...o}){const u=()=>i&&!r?f("span",{className:G("relative inline-block h-[20px] w-[30px] rounded-md bg-surface-neutral-default py-[2px] px-2"),children:f("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:f(_,{variant:"caption",color:"default",className:"select-none",children:i})})}):f(Ge,{});return z("div",{className:G("flex select-none items-center gap-x-[13px]",!t&&"cursor-pointer"),...o,children:[f("div",{className:G("h-[32px] w-[3px] rounded-sm",t&&"bg-action-primary-default")}),z("div",{className:G("flex items-center justify-between rounded-[5px] px-[8px]",t&&"bg-action-secondary-default",r?"min-w-[32px] py-[10px]":"min-w-[200px] py-[12px]"),children:[z("div",{className:"flex items-center gap-x-[10px]",children:[f(Fe,{kind:e,size:"sm",color:t?"primary":"subdued"}),!r&&f(_,{variant:"body",color:t?"primary":"subdued",children:n})]}),u()]})]})}const Xa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjQyIiB2aWV3Qm94PSIwIDAgMjAwIDQyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNDQuNDgyNiAwLjAyMzA3MTNMMzIuNDc5NyAyNC44NjcyVjkuNjA4NjFMMjQuODQ2MiAxOC4yOTA4VjQwLjY2MDlIMzIuOTEyN0w1My4xMjQ0IDAuMDIzMDcxM0g0NC40ODI2WiIgZmlsbD0iI0M4MDkzNSIvPgo8cGF0aCBkPSJNMjEuNjUwNCAxOS4wNjE3TDMyLjQ3OTcgOS42MTQyNkgyNC40NzAyTDIxLjY1MDQgMTkuMDYxN1oiIG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b3Agc3RvcC1jb2xvcj0iI0M0MDkzNSIvPgo8c3RvcCBvZmZzZXQ9IjAuMDQiIHN0b3AtY29sb3I9IiNCRjA5MzMiLz4KPHN0b3Agb2Zmc2V0PSIwLjI3IiBzdG9wLWNvbG9yPSIjQTQwQjJCIi8+CjxzdG9wIG9mZnNldD0iMC41MSIgc3RvcC1jb2xvcj0iIzkwMEMyNSIvPgo8c3RvcCBvZmZzZXQ9IjAuNzUiIHN0b3AtY29sb3I9IiM4NTBEMjEiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjODEwRDIwIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==";function R0({hasLogo:e=!1,className:t="",...n}){return z("header",{className:G("flex h-[64px] w-full min-w-[320px] items-center justify-between bg-surface-default py-sm px-[24px] shadow-[4px_2px_10px_rgba(0,0,0,0.1),inset_0px_-1px_0px_rgba(194,194,194,0.35)]",t),...n,children:[z("div",{className:"flex items-center gap-x-sm",children:[f(Fe,{kind:"menu",color:"default",cursor:"pointer",size:"sm",className:"sm:hidden"}),e&&f("img",{src:Xa,alt:"logo-company",className:"hidden w-[115px] md:block"})]}),z("div",{className:"flex items-center gap-x-sm",children:[f(Fe,{kind:"notifications",color:"default",cursor:"pointer",size:"sm"}),f(di,{size:"sm"})]})]})}function Vn({children:e,title:t="",className:n,footer:i,...r}){return z("div",{className:G(n,"m-0 p-0"),...r,children:[f(nt,{variant:"heading",color:"default",className:"mb-lg",children:t}),e]})}Vn.Container=function({children:t,className:n,...i}){return f("div",{className:G(n,"rounded-sm border border-border-disabled p-lg shadow-[0px_0px_3px_0px_#34343426]"),...i,children:t})},Vn.Header=function({children:t,className:n,...i}){return z("div",{className:G(n,"mb-lg space-y-sm"),...i,children:[t,f("div",{className:"mb-lg mt-sm border-t border-border-shadow-subdued"})]})},Vn.Footer=function({children:t,className:n,total:i="$-",isDisabled:r,...o}){return z("footer",{className:G(n),...o,children:[f("div",{className:"mb-xs mt-lg border-t border-border-shadow-subdued"}),z("div",{className:"flex justify-between",children:[f(nt,{variant:"heading",color:r?"disabled":"default",children:"Total (COP)"}),f(nt,{variant:"heading",color:r?"disabled":"default",children:i})]})]})};function k0({items:e=[],checkedItem:t,onChange:n}){const i=(o,u)=>u!=null&&u.error?"border-action-critical-default":u!=null&&u.isDisabled?"border-border-disabled":o?"shadow-[0px_0px_0px_1px_#3EADFE]":"border-border-default hover:border-border-hovered",r=(o,u)=>{var a,s;return((a=o==null?void 0:o.id)==null?void 0:a.toLowerCase())===((s=u==null?void 0:u.id)==null?void 0:s.toLowerCase())};return e.length>0?f(Wi,{value:t,by:r,onChange:n,className:"space-y-sm",children:e.map(o=>f(Wi.Option,{value:o,disabled:(o==null?void 0:o.isDisabled)||Boolean(o==null?void 0:o.error),className:({active:u})=>G("flex min-h-[78px] items-center rounded-sm border bg-white p-sm",!(o!=null&&o.isDisabled)&&"cursor-pointer",i(u,o)),children:({checked:u})=>{var a,s;return z("div",{className:"flex w-full justify-between",children:[z("div",{className:G("flex items-center",(o==null?void 0:o.img)||(o==null?void 0:o.hasRadio)?"gap-x-sm":""),children:[(o==null?void 0:o.hasRadio)&&f(mo,{id:o==null?void 0:o.title,name:o==null?void 0:o.title,value:o==null?void 0:o.id,checked:u,isDisabled:o==null?void 0:o.isDisabled}),(o==null?void 0:o.img)&&(o==null?void 0:o.img),z("header",{children:[f(nt,{variant:"heading",color:o!=null&&o.isDisabled?"disabled":"default",children:o==null?void 0:o.title}),z("div",{className:"flex gap-x-[2px]",children:[f(_,{variant:"body",color:o!=null&&o.isDisabled?"disabled":"subdued",children:(a=o==null?void 0:o.subtitle)!=null?a:""}),f(_,{variant:"highlight",color:o!=null&&o.isDisabled?"disabled":"subdued",children:(s=o==null?void 0:o.description)!=null?s:""})]})]})]}),(o==null?void 0:o.state)&&f(_,{variant:"caption",color:o!=null&&o.isDisabled?"disabled":"subdued",children:o==null?void 0:o.state})]})}},o==null?void 0:o.id))}):f(Ge,{})}function W0({children:e,isSmall:t=!1,onClick:n,className:i,...r}){return z("nav",{className:G("h-full bg-background-default py-sm shadow-[inset_-1px_0px_0px_#C2C2C2]",i,t?"w-[67px]":"w-[240px] pr-xs"),...r,children:[z("div",{className:G("mb-xl flex items-center",t?"justify-center":"justify-between px-sm"),children:[f("img",{src:Xa,alt:"logo-company",className:G("w-[115px]",t&&"hidden")}),f(Fe,{kind:"menu",color:"subdued",cursor:"pointer",size:"sm",onClick:n})]}),f("div",{className:"flex flex-col space-y-sm",children:e})]})}function Bn({children:e,className:t,...n}){return f("div",{className:G(t,"relative flex h-screen p-0"),...n,children:e})}Bn.Header=function({children:t}){return f(Ge,{children:t})},Bn.Menu=function({children:t}){return f(Ge,{children:t})},Bn.Main=function({children:t,className:n,...i}){return f("main",{className:G(n,"relative top-[64px] h-[calc(100%-64px)] w-full py-xl px-[34px]"),...i,children:t})};function qr({children:e,className:t,...n}){return f("div",{className:G(t,"m-0 p-0"),...n,children:e})}qr.Header=function({children:t,className:n,title:i="",onBack:r,...o}){return z(Ge,{children:[z("div",{role:"heading",className:G(n,"m-0 flex w-full flex-col space-y-3 p-0 sm:flex-row sm:items-center sm:justify-between",r?"mb-lg":"mb-[96px]"),...o,children:[f(nt,{variant:"lg",color:"default",className:"leading-none",children:i}),f("div",{className:"flex space-x-sm",children:t})]}),r&&z("div",{onClick:r,className:"mb-lg flex cursor-pointer items-center gap-x-2 p-4",children:[f(Fe,{kind:"back",color:"default"}),f(_,{variant:"button",color:"default",children:"Atr\xE1s"})]})]})},qr.Main=function({children:t,className:n,...i}){return f("div",{className:G(n,"block sm:flex sm:justify-between sm:gap-x-[117px]"),...i,children:t})},J.AsyncSelect=M0,J.Avatar=di,J.Badge=cu,J.Button=ci,J.CardSelect=k0,J.Dropdown=F0,J.EmptyState=V0,J.Header=R0,J.Heading=nt,J.Icon=Fe,J.InlineError=Ya,J.Main=Bn,J.Modal=G0,J.Navigation=W0,J.RadioButton=mo,J.Select=I0,J.SelectButton=N0,J.SelectCountry=j0,J.Shipment=qr,J.Summary=Vn,J.Switch=Us,J.Tab=P0,J.TabNav=B0,J.Text=_,J.Tooltip=Hl,J.Tracker=Ul,Object.defineProperties(J,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
65
|
+
`]))),sf=function(t){var n=t.isFocused,i=t.size,r=t.theme,o=r.colors,u=r.spacing.baseUnit;return{label:"loadingIndicator",color:n?o.neutral60:o.neutral20,display:"flex",padding:u*2,transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"}},Zr=function(t){var n=t.delay,i=t.offset;return W("span",{css:Yr({animation:"".concat(uf," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09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HMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},Ma=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.innerProps,u=t.isRtl;return W("div",oe({css:r("loadingIndicator",t),className:i({indicator:!0,"loading-indicator":!0},n)},o),W(Zr,{delay:0,offset:u}),W(Zr,{delay:160,offset:!0}),W(Zr,{delay:320,offset:!u}))};Ma.defaultProps={size:4};var lf=function(t){var n=t.isDisabled,i=t.isFocused,r=t.theme,o=r.colors,u=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:i?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:i?o.primary:o.neutral30}}},cf=function(t){var n=t.children,i=t.cx,r=t.getStyles,o=t.className,u=t.isDisabled,a=t.isFocused,s=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return W("div",oe({ref:s,css:r("control",t),className:i({control:!0,"control--is-disabled":u,"control--is-focused":a,"control--menu-is-open":c},o)},l),n)},df=["data"],ff=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},gf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.Heading,a=t.headingProps,s=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return W("div",oe({css:o("group",t),className:r({group:!0},i)},s),W(u,oe({},a,{selectProps:d,theme:c,getStyles:o,cx:r}),l),W("div",null,n))},pf=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},mf=function(t){var n=t.getStyles,i=t.cx,r=t.className,o=oa(t);o.data;var u=Mt(o,df);return W("div",oe({css:n("groupHeading",t),className:i({"group-heading":!0},r)},u))},bf=["innerRef","isDisabled","isHidden","inputClassName"],vf=function(t){var n=t.isDisabled,i=t.value,r=t.theme,o=r.spacing,u=r.colors;return ie({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:n?"hidden":"visible",color:u.neutral80,transform:i?"translateZ(0)":""},hf)},Ia={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ie({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ia)},Mf=function(t){return ie({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ia)},If=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.value,u=oa(t),a=u.innerRef,s=u.isDisabled,l=u.isHidden,c=u.inputClassName,d=Mt(u,bf);return W("div",{className:i({"input-container":!0},n),css:r("input",t),"data-value":o||""},W("input",oe({className:i({input:!0},c),ref:a,style:Mf(l),disabled:s},d)))},yf=function(t){var n=t.theme,i=n.spacing,r=n.borderRadius,o=n.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:r/2,display:"flex",margin:i.baseUnit/2,minWidth:0}},Cf=function(t){var n=t.theme,i=n.borderRadius,r=n.colors,o=t.cropWithEllipsis;return{borderRadius:i/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},xf=function(t){var n=t.theme,i=n.spacing,r=n.borderRadius,o=n.colors,u=t.isFocused;return{alignItems:"center",borderRadius:r/2,backgroundColor:u?o.dangerLight:void 0,display:"flex",paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},ya=function(t){var n=t.children,i=t.innerProps;return W("div",i,n)},wf=ya,Nf=ya;function Af(e){var t=e.children,n=e.innerProps;return W("div",oe({role:"button"},n),t||W(Xr,{size:14}))}var Ef=function(t){var n=t.children,i=t.className,r=t.components,o=t.cx,u=t.data,a=t.getStyles,s=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,g=r.Container,v=r.Label,m=r.Remove;return W(ea,null,function(h){var M=h.css,y=h.cx;return W(g,{data:u,innerProps:ie({className:y(M(a("multiValue",t)),o({"multi-value":!0,"multi-value--is-disabled":l},i))},s),selectProps:d},W(v,{data:u,innerProps:{className:y(M(a("multiValueLabel",t)),o({"multi-value__label":!0},i))},selectProps:d},n),W(m,{data:u,innerProps:ie({className:y(M(a("multiValueRemove",t)),o({"multi-value__remove":!0},i)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))})},Lf=function(t){var n=t.isDisabled,i=t.isFocused,r=t.isSelected,o=t.theme,u=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:i?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}}},Sf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.isDisabled,a=t.isFocused,s=t.isSelected,l=t.innerRef,c=t.innerProps;return W("div",oe({css:o("option",t),className:r({option:!0,"option--is-disabled":u,"option--is-focused":a,"option--is-selected":s},i),ref:l,"aria-disabled":u},c),n)},Df=function(t){var n=t.theme,i=n.spacing,r=n.colors;return{label:"placeholder",color:r.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2}},jf=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return W("div",oe({css:o("placeholder",t),className:r({placeholder:!0},i)},u),n)},Tf=function(t){var n=t.isDisabled,i=t.theme,r=i.spacing,o=i.colors;return{label:"singleValue",color:n?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Of=function(t){var n=t.children,i=t.className,r=t.cx,o=t.getStyles,u=t.isDisabled,a=t.innerProps;return W("div",oe({css:o("singleValue",t),className:r({"single-value":!0,"single-value--is-disabled":u},i)},a),n)},qe={ClearIndicator:rf,Control:cf,DropdownIndicator:tf,DownChevron:va,CrossIcon:Xr,Group:gf,GroupHeading:mf,IndicatorsContainer:_d,IndicatorSeparator:af,Input:If,LoadingIndicator:Ma,Menu:Vd,MenuList:kd,MenuPortal:Xd,LoadingMessage:pa,NoOptionsMessage:ga,MultiValue:Ef,MultiValueContainer:wf,MultiValueLabel:Nf,MultiValueRemove:Af,Option:Sf,Placeholder:jf,SelectContainer:Hd,SingleValue:Of,ValueContainer:Qd},zf=function(t){return ie(ie({},qe),t.components)},Ca=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Gf(e,t){return!!(e===t||Ca(e)&&Ca(t))}function Pf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Gf(e[n],t[n]))return!1;return!0}function Ff(e,t){t===void 0&&(t=Pf);var n=null;function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var u=e.apply(this,r);return n={lastResult:u,lastArgs:r,lastThis:this},u}return i.clear=function(){n=null},i}function Vf(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Bf=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Vf},xa=function(t){return W("span",oe({css:Bf},t))},kf={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.isDisabled,o=t.tabSelectsValue,u=t.context;switch(u){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,o=t.labels,u=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return u?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,o=t.label,u=o===void 0?"":o,a=t.selectValue,s=t.isDisabled,l=t.isSelected,c=function(m,h){return m&&m.length?"".concat(m.indexOf(h)+1," of ").concat(m.length):""};if(n==="value"&&a)return"value ".concat(u," focused, ").concat(c(a,i),".");if(n==="menu"){var d=s?" disabled":"",g="".concat(l?"selected":"focused").concat(d);return"option ".concat(u," ").concat(g,", ").concat(c(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Rf=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,o=t.focusableOptions,u=t.isFocused,a=t.selectValue,s=t.selectProps,l=t.id,c=s.ariaLiveMessages,d=s.getOptionLabel,g=s.inputValue,v=s.isMulti,m=s.isOptionDisabled,h=s.isSearchable,M=s.menuIsOpen,y=s.options,x=s.screenReaderStatus,w=s.tabSelectsValue,I=s["aria-label"],C=s["aria-live"],N=p.useMemo(function(){return ie(ie({},kf),c||{})},[c]),A=p.useMemo(function(){var E="";if(n&&N.onChange){var F=n.option,B=n.options,Z=n.removedValue,R=n.removedValues,Q=n.value,de=function(xe){return Array.isArray(xe)?null:xe},Ge=Z||F||de(Q),ue=Ge?d(Ge):"",pe=B||R||void 0,Le=pe?pe.map(d):[],Ce=ie({isDisabled:Ge&&m(Ge,a),label:ue,labels:Le},n);E=N.onChange(Ce)}return E},[n,N,m,a,d]),T=p.useMemo(function(){var E="",F=i||r,B=!!(i&&a&&a.includes(i));if(F&&N.onFocus){var Z={focused:F,label:d(F),isDisabled:m(F,a),isSelected:B,options:o,context:F===i?"menu":"value",selectValue:a};E=N.onFocus(Z)}return E},[i,r,d,m,N,o,a]),P=p.useMemo(function(){var E="";if(M&&y.length&&N.onFilter){var F=x({count:o.length});E=N.onFilter({inputValue:g,resultsMessage:F})}return E},[o,g,M,N,y,x]),S=p.useMemo(function(){var E="";if(N.guidance){var F=r?"value":M?"menu":"input";E=N.guidance({"aria-label":I,context:F,isDisabled:i&&m(i,a),isMulti:v,isSearchable:h,tabSelectsValue:w})}return E},[I,i,r,v,m,h,M,N,a,w]),k="".concat(T," ").concat(P," ").concat(S),Y=W(p.Fragment,null,W("span",{id:"aria-selection"},A),W("span",{id:"aria-context"},k)),O=(n==null?void 0:n.action)==="initial-input-focus";return W(p.Fragment,null,W(xa,{id:l},O&&Y),W(xa,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text"},u&&!O&&Y))},Hr=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],Yf=new RegExp("["+Hr.map(function(e){return e.letters}).join("")+"]","g"),wa={},Ur=0;Ur<Hr.length;Ur++)for(var Qr=Hr[Ur],Jr=0;Jr<Qr.letters.length;Jr++)wa[Qr.letters[Jr]]=Qr.base;var Na=function(t){return t.replace(Yf,function(n){return wa[n]})},Wf=Ff(Na),Aa=function(t){return t.replace(/^\s+|\s+$/g,"")},Xf=function(t){return"".concat(t.label," ").concat(t.value)},Zf=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=ie({ignoreCase:!0,ignoreAccents:!0,stringify:Xf,trim:!0,matchFrom:"any"},t),o=r.ignoreCase,u=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Aa(i):i,d=s?Aa(a(n)):a(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),u&&(c=Wf(c),d=Na(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Hf=["innerRef"];function Uf(e){var t=e.innerRef,n=Mt(e,Hf),i=Od(n,"onExited","in","enter","exit","appear");return W("input",oe({ref:t},i,{css:Yr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8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kZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Qf=function(t){t.preventDefault(),t.stopPropagation()};function Jf(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,u=p.useRef(!1),a=p.useRef(!1),s=p.useRef(0),l=p.useRef(null),c=p.useCallback(function(M,y){if(l.current!==null){var x=l.current,w=x.scrollTop,I=x.scrollHeight,C=x.clientHeight,N=l.current,A=y>0,T=I-C-w,P=!1;T>y&&u.current&&(i&&i(M),u.current=!1),A&&a.current&&(o&&o(M),a.current=!1),A&&y>T?(n&&!u.current&&n(M),N.scrollTop=I,P=!0,u.current=!0):!A&&-y>w&&(r&&!a.current&&r(M),N.scrollTop=0,P=!0,a.current=!0),P&&Qf(M)}},[n,i,r,o]),d=p.useCallback(function(M){c(M,M.deltaY)},[c]),g=p.useCallback(function(M){s.current=M.changedTouches[0].clientY},[]),v=p.useCallback(function(M){var y=s.current-M.changedTouches[0].clientY;c(M,y)},[c]),m=p.useCallback(function(M){if(!!M){var y=Dd?{passive:!1}:!1;M.addEventListener("wheel",d,y),M.addEventListener("touchstart",g,y),M.addEventListener("touchmove",v,y)}},[v,g,d]),h=p.useCallback(function(M){!M||(M.removeEventListener("wheel",d,!1),M.removeEventListener("touchstart",g,!1),M.removeEventListener("touchmove",v,!1))},[v,g,d]);return p.useEffect(function(){if(!!t){var M=l.current;return m(M),function(){h(M)}}},[t,m,h]),function(M){l.current=M}}var Ea=["boxSizing","height","overflow","paddingRight","position"],La={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Sa(e){e.preventDefault()}function Da(e){e.stopPropagation()}function ja(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ta(){return"ontouchstart"in window||navigator.maxTouchPoints}var Oa=!!(typeof window<"u"&&window.document&&window.document.createElement),_t=0,Lt={capture:!1,passive:!1};function _f(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=p.useRef({}),o=p.useRef(null),u=p.useCallback(function(s){if(!!Oa){var l=document.body,c=l&&l.style;if(i&&Ea.forEach(function(m){var h=c&&c[m];r.current[m]=h}),i&&_t<1){var d=parseInt(r.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,v=window.innerWidth-g+d||0;Object.keys(La).forEach(function(m){var h=La[m];c&&(c[m]=h)}),c&&(c.paddingRight="".concat(v,"px"))}l&&Ta()&&(l.addEventListener("touchmove",Sa,Lt),s&&(s.addEventListener("touchstart",ja,Lt),s.addEventListener("touchmove",Da,Lt))),_t+=1}},[i]),a=p.useCallback(function(s){if(!!Oa){var l=document.body,c=l&&l.style;_t=Math.max(_t-1,0),i&&_t<1&&Ea.forEach(function(d){var g=r.current[d];c&&(c[d]=g)}),l&&Ta()&&(l.removeEventListener("touchmove",Sa,Lt),s&&(s.removeEventListener("touchstart",ja,Lt),s.removeEventListener("touchmove",Da,Lt)))}},[i]);return p.useEffect(function(){if(!!t){var s=o.current;return u(s),function(){a(s)}}},[t,u,a]),function(s){o.current=s}}function $f(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Kf=function(){return document.activeElement&&document.activeElement.blur()},qf=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vb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JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:$f};function e0(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,o=e.onBottomArrive,u=e.onBottomLeave,a=e.onTopArrive,s=e.onTopLeave,l=Jf({isEnabled:r,onBottomArrive:o,onBottomLeave:u,onTopArrive:a,onTopLeave:s}),c=_f({isEnabled:n}),d=function(v){l(v),c(v)};return W(p.Fragment,null,n&&W("div",{onClick:Kf,css:qf}),t(d))}function t0(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var n0=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZTogc3RyaW5nO1xuICByZWFkb25seSBvbkZvY3VzOiBGb2N1c0V2ZW50SGFuZGxlcjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0+ID0gKHsgbmFtZSwgb25Gb2N1cyB9KSA9PiAoXG4gIDxpbnB1dFxuICAgIHJlcXVpcmVkXG4gICAgbmFtZT17bmFtZX1cbiAgICB0YWJJbmRleD17LTF9XG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:t0},r0=function(t){var n=t.name,i=t.onFocus;return W("input",{required:!0,name:n,tabIndex:-1,onFocus:i,css:n0,value:"",onChange:function(){}})},i0=function(t){return t.label},o0=function(t){return t.label},a0=function(t){return t.value},u0=function(t){return!!t.isDisabled},s0={clearIndicator:nf,container:Zd,control:lf,dropdownIndicator:ef,group:ff,groupHeading:pf,indicatorsContainer:Jd,indicatorSeparator:of,input:vf,loadingIndicator:sf,loadingMessage:Yd,menu:Pd,menuList:Bd,menuPortal:Wd,multiValue:yf,multiValueLabel:Cf,multiValueRemove:xf,noOptionsMessage:Rd,option:Lf,placeholder:Df,singleValue:Tf,valueContainer:Ud},l0={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},c0=4,za=4,d0=38,f0=za*2,g0={baseUnit:za,controlHeight:d0,menuGutter:f0},_r={borderRadius:c0,colors:l0,spacing:g0},p0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:sa(),captureMenuScroll:!sa(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Zf(),formatGroupLabel:i0,getOptionLabel:o0,getOptionValue:a0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:u0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Ld(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Ga(e,t,n,i){var r=ka(e,t,n),o=Ra(e,t,n),u=Ba(e,t),a=On(e,t);return{type:"option",data:t,isDisabled:r,isSelected:o,label:u,value:a,index:i}}function Pa(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(u,a){return Ga(e,u,t,a)}).filter(function(u){return Va(e,u)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=Ga(e,n,t,i);return Va(e,o)?o:void 0}).filter(jd)}function Fa(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,xo(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function m0(e,t){return Fa(Pa(e,t))}function Va(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,o=t.isSelected,u=t.label,a=t.value;return(!Wa(e)||!o)&&Ya(e,{label:u,value:a,data:r},i)}function b0(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var o=t.indexOf(n);if(o>-1)return n;if(r<t.length)return t[r]}return null}function v0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Ba=function(t,n){return t.getOptionLabel(n)},On=function(t,n){return t.getOptionValue(n)};function ka(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Ra(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=On(e,t);return n.some(function(r){return On(e,r)===i})}function Ya(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Wa=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},h0=1,$r=function(e){nc(n,e);var t=ac(n);function n(i){var r;if(ec(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,s){var l=r.props,c=l.onChange,d=l.name;s.name=d,r.ariaOnChange(a,s),c(a,s)},r.setValue=function(a,s,l){var c=r.props,d=c.closeMenuOnSelect,g=c.isMulti,v=c.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:v}),d&&(r.setState({inputIsHiddenAfterUpdate:!g}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:s,option:l})},r.selectOption=function(a){var s=r.props,l=s.blurInputOnSelect,c=s.isMulti,d=s.name,g=r.state.selectValue,v=c&&r.isOptionSelected(a,g),m=r.isOptionDisabled(a,g);if(v){var h=r.getOptionValue(a);r.setValue(g.filter(function(M){return r.getOptionValue(M)!==h}),"deselect-option",a)}else if(!m)c?r.setValue([].concat(xo(g),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:d});return}l&&r.blurInput()},r.removeValue=function(a){var s=r.props.isMulti,l=r.state.selectValue,c=r.getOptionValue(a),d=l.filter(function(v){return r.getOptionValue(v)!==c}),g=Tn(s,d,d[0]||null);r.onChange(g,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Tn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,s=r.state.selectValue,l=s[s.length-1],c=s.slice(0,s.length-1),d=Tn(a,c,c[0]||null);r.onChange(d,{action:"pop-value",removedValue:l})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return Cd.apply(void 0,[r.props.classNamePrefix].concat(s))},r.getOptionLabel=function(a){return Ba(r.props,a)},r.getOptionValue=function(a){return On(r.props,a)},r.getStyles=function(a,s){var l=s0[a](s);l.boxSizing="border-box";var c=r.props.styles[a];return c?c(l,s):l},r.getElementId=function(a){return"".concat(r.instancePrefix,"-").concat(a)},r.getComponents=function(){return zf(r.props)},r.buildCategorizedOptions=function(){return Pa(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Fa(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,s){r.setState({ariaSelection:ie({value:a},s)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var s=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():s&&r.openMenu("first"):(s&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var s=r.props,l=s.isMulti,c=s.menuIsOpen;r.focusInput(),c?(r.setState({inputIsHiddenAfterUpdate:!l}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Ln(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var s=a.touches,l=s&&s.item(0);!l||(r.initialTouchX=l.clientX,r.initialTouchY=l.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var s=a.touches,l=s&&s.item(0);if(!!l){var c=Math.abs(l.clientX-r.initialTouchX),d=Math.abs(l.clientY-r.initialTouchY),g=5;r.userIsDragging=c>g||d>g}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var s=r.props.inputValue,l=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(l,{action:"input-change",prevInputValue:s}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var s=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:s}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){r.blockOptionHover||r.state.focusedOption===a||r.setState({focusedOption:a})},r.shouldHideSelectedOptions=function(){return Wa(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var s=r.props,l=s.isMulti,c=s.backspaceRemovesValue,d=s.escapeClearsValue,g=s.inputValue,v=s.isClearable,m=s.isDisabled,h=s.menuIsOpen,M=s.onKeyDown,y=s.tabSelectsValue,x=s.openMenuOnFocus,w=r.state,I=w.focusedOption,C=w.focusedValue,N=w.selectValue;if(!m&&!(typeof M=="function"&&(M(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!l||g)return;r.focusValue("previous");break;case"ArrowRight":if(!l||g)return;r.focusValue("next");break;case"Delete":case"Backspace":if(g)return;if(C)r.removeValue(C);else{if(!c)return;l?r.popValue():v&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!h||!y||!I||x&&r.isOptionSelected(I,N))return;r.selectOption(I);break;case"Enter":if(a.keyCode===229)break;if(h){if(!I||r.isComposing)return;r.selectOption(I);break}return;case"Escape":h?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:g}),r.onMenuClose()):v&&d&&r.clearValue();break;case" ":if(g)return;if(!h){r.openMenu("first");break}if(!I)return;r.selectOption(I);break;case"ArrowUp":h?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":h?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!h)return;r.focusOption("pageup");break;case"PageDown":if(!h)return;r.focusOption("pagedown");break;case"Home":if(!h)return;r.focusOption("first");break;case"End":if(!h)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++h0),r.state.selectValue=ia(i.value),i.menuIsOpen&&r.state.selectValue.length){var o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusedOption=o[u]}return r}return tc(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ua(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var o=this.props,u=o.isDisabled,a=o.menuIsOpen,s=this.state.isFocused;(s&&!u&&r.isDisabled||s&&a&&!r.menuIsOpen)&&this.focusInput(),s&&u&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!u&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ua(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,o){this.props.onInputChange(r,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(r){var o=this,u=this.state,a=u.selectValue,s=u.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(a[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(r){var o=this.state,u=o.selectValue,a=o.focusedValue;if(!!this.props.isMulti){this.setState({focusedOption:null});var s=u.indexOf(a);a||(s=-1);var l=u.length-1,c=-1;if(!!u.length){switch(r){case"previous":s===0?c=0:s===-1?c=l:c=s-1;break;case"next":s>-1&&s<l&&(c=s+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:u[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,u=this.state.focusedOption,a=this.getFocusableOptions();if(!!a.length){var s=0,l=a.indexOf(u);u||(l=-1),r==="up"?s=l>0?l-1:a.length-1:r==="down"?s=(l+1)%a.length:r==="pageup"?(s=l-o,s<0&&(s=0)):r==="pagedown"?(s=l+o,s>a.length-1&&(s=a.length-1)):r==="last"&&(s=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[s],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(_r):ie(ie({},_r),this.props.theme):_r}},{key:"getCommonProps",value:function(){var r=this.clearValue,o=this.cx,u=this.getStyles,a=this.getValue,s=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,g=c.isRtl,v=c.options,m=this.hasValue();return{clearValue:r,cx:o,getStyles:u,getValue:a,hasValue:m,isMulti:d,isRtl:g,options:v,selectOption:s,selectProps:c,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,o=r.isClearable,u=r.isMulti;return o===void 0?u:o}},{key:"isOptionDisabled",value:function(r,o){return ka(this.props,r,o)}},{key:"isOptionSelected",value:function(r,o){return Ra(this.props,r,o)}},{key:"filterOption",value:function(r,o){return Ya(this.props,r,o)}},{key:"formatOptionLabel",value:function(r,o){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(r,{context:o,inputValue:u,selectValue:a})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,u=r.isSearchable,a=r.inputId,s=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,g=r.required,v=this.getComponents(),m=v.Input,h=this.state,M=h.inputIsHidden,y=h.ariaSelection,x=this.commonProps,w=a||this.getElementId("input"),I=ie(ie(ie({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox"},d&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?(y==null?void 0:y.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?f(m,{...x,autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:o,isHidden:M,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:s,...I}):f(Uf,{id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:En,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:"",...I})}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.getComponents(),u=o.MultiValue,a=o.MultiValueContainer,s=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,g=this.commonProps,v=this.props,m=v.controlShouldRenderValue,h=v.isDisabled,M=v.isMulti,y=v.inputValue,x=v.placeholder,w=this.state,I=w.selectValue,C=w.focusedValue,N=w.isFocused;if(!this.hasValue()||!m)return y?null:p.createElement(d,{...g,key:"placeholder",isDisabled:h,isFocused:N,innerProps:{id:this.getElementId("placeholder")}},x);if(M)return I.map(function(T,P){var S=T===C,k="".concat(r.getOptionLabel(T),"-").concat(r.getOptionValue(T));return p.createElement(u,{...g,components:{Container:a,Label:s,Remove:l},isFocused:S,isDisabled:h,key:k,index:P,removeProps:{onClick:function(){return r.removeValue(T)},onTouchEnd:function(){return r.removeValue(T)},onMouseDown:function(O){O.preventDefault()}},data:T},r.formatOptionLabel(T,"value"))});if(y)return null;var A=I[0];return f(c,{...g,data:A,isDisabled:h,children:this.formatOptionLabel(A,"value")})}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),o=r.ClearIndicator,u=this.commonProps,a=this.props,s=a.isDisabled,l=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||s||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return f(o,{...u,innerProps:d,isFocused:c})}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),o=r.LoadingIndicator,u=this.commonProps,a=this.props,s=a.isDisabled,l=a.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return f(o,{...u,innerProps:d,isDisabled:s,isFocused:c})}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator,u=r.IndicatorSeparator;if(!o||!u)return null;var a=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused;return f(u,{...a,isDisabled:s,isFocused:l})}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator;if(!o)return null;var u=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return f(o,{...u,innerProps:l,isDisabled:a,isFocused:s})}},{key:"renderMenu",value:function(){var r=this,o=this.getComponents(),u=o.Group,a=o.GroupHeading,s=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,g=o.NoOptionsMessage,v=o.Option,m=this.commonProps,h=this.state.focusedOption,M=this.props,y=M.captureMenuScroll,x=M.inputValue,w=M.isLoading,I=M.loadingMessage,C=M.minMenuHeight,N=M.maxMenuHeight,A=M.menuIsOpen,T=M.menuPlacement,P=M.menuPosition,S=M.menuPortalTarget,k=M.menuShouldBlockScroll,Y=M.menuShouldScrollIntoView,O=M.noOptionsMessage,E=M.onMenuScrollToTop,F=M.onMenuScrollToBottom;if(!A)return null;var B=function(pe,Le){var Ce=pe.type,Me=pe.data,xe=pe.isDisabled,Se=pe.isSelected,Ve=pe.label,Ue=pe.value,ct=h===Me,V=xe?void 0:function(){return r.onOptionHover(Me)},tt=xe?void 0:function(){return r.selectOption(Me)},We="".concat(r.getElementId("option"),"-").concat(Le),Fe={id:We,onClick:tt,onMouseMove:V,onMouseOver:V,tabIndex:-1};return p.createElement(v,{...m,innerProps:Fe,data:Me,isDisabled:xe,isSelected:Se,key:We,label:Ve,type:Ce,value:Ue,isFocused:ct,innerRef:ct?r.getFocusedOptionRef:void 0},r.formatOptionLabel(pe.data,"menu"))},Z;if(this.hasOptions())Z=this.getCategorizedOptions().map(function(ue){if(ue.type==="group"){var pe=ue.data,Le=ue.options,Ce=ue.index,Me="".concat(r.getElementId("group"),"-").concat(Ce),xe="".concat(Me,"-heading");return p.createElement(u,{...m,key:Me,data:pe,options:Le,Heading:a,headingProps:{id:xe,data:ue.data},label:r.formatGroupLabel(ue.data)},ue.options.map(function(Se){return B(Se,"".concat(Ce,"-").concat(Se.index))}))}else if(ue.type==="option")return B(ue,"".concat(ue.index))});else if(w){var R=I({inputValue:x});if(R===null)return null;Z=f(d,{...m,children:R})}else{var Q=O({inputValue:x});if(Q===null)return null;Z=f(g,{...m,children:Q})}var de={minMenuHeight:C,maxMenuHeight:N,menuPlacement:T,menuPosition:P,menuShouldScrollIntoView:Y},Ge=f(Fd,{...m,...de,children:function(ue){var pe=ue.ref,Le=ue.placerProps,Ce=Le.placement,Me=Le.maxHeight;return f(s,{...m,...de,innerRef:pe,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove,id:r.getElementId("listbox")},isLoading:w,placement:Ce,children:f(e0,{captureEnabled:y,onTopArrive:E,onBottomArrive:F,lockEnabled:k,children:function(xe){return f(l,{...m,innerRef:function(Ve){r.getMenuListRef(Ve),xe(Ve)},isLoading:w,maxHeight:Me,focusedOption:h,children:Z})}})})}});return S||P==="fixed"?f(c,{...m,appendTo:S,controlElement:this.controlRef,menuPlacement:T,menuPosition:P,children:Ge}):Ge}},{key:"renderFormField",value:function(){var r=this,o=this.props,u=o.delimiter,a=o.isDisabled,s=o.isMulti,l=o.name,c=o.required,d=this.state.selectValue;if(!(!l||a)){if(c&&!this.hasValue())return f(r0,{name:l,onFocus:this.onValueInputFocus});if(s)if(u){var g=d.map(function(h){return r.getOptionValue(h)}).join(u);return f("input",{name:l,type:"hidden",value:g})}else{var v=d.length>0?d.map(function(h,M){return f("input",{name:l,type:"hidden",value:r.getOptionValue(h)},"i-".concat(M))}):f("input",{name:l,type:"hidden",value:""});return f("div",{children:v})}else{var m=d[0]?this.getOptionValue(d[0]):"";return f("input",{name:l,type:"hidden",value:m})}}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,o=this.state,u=o.ariaSelection,a=o.focusedOption,s=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return f(Rf,{...r,id:this.getElementId("live-region"),ariaSelection:u,focusedOption:a,focusedValue:s,isFocused:l,selectValue:c,focusableOptions:d})}},{key:"render",value:function(){var r=this.getComponents(),o=r.Control,u=r.IndicatorsContainer,a=r.SelectContainer,s=r.ValueContainer,l=this.props,c=l.className,d=l.id,g=l.isDisabled,v=l.menuIsOpen,m=this.state.isFocused,h=this.commonProps=this.getCommonProps();return G(a,{...h,className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:m,children:[this.renderLiveRegion(),G(o,{...h,innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:m,menuIsOpen:v,children:[G(s,{...h,isDisabled:g,children:[this.renderPlaceholderOrValue(),this.renderInput()]}),G(u,{...h,isDisabled:g,children:[this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator()]})]}),this.renderMenu(),this.renderFormField()]})}}],[{key:"getDerivedStateFromProps",value:function(r,o){var u=o.prevProps,a=o.clearFocusValueOnUpdate,s=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,g=r.options,v=r.value,m=r.menuIsOpen,h=r.inputValue,M=r.isMulti,y=ia(v),x={};if(u&&(v!==u.value||g!==u.options||m!==u.menuIsOpen||h!==u.inputValue)){var w=m?m0(r,y):[],I=a?b0(o,y):null,C=v0(o,w);x={selectValue:y,focusedOption:C,focusedValue:I,clearFocusValueOnUpdate:!1}}var N=s!=null&&r!==u?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},A=l,T=c&&d;return c&&!T&&(A={value:Tn(M,y,y[0]||null),options:y,action:"initial-input-focus"},T=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(A=null),ie(ie(ie({},x),N),{},{prevProps:r,ariaSelection:A,prevWasFocused:T})}}]),n}(p.Component);$r.defaultProps=p0;var M0=p.forwardRef(function(e,t){var n=yo(e);return f($r,{ref:t,...n})});const Kr=M0;function zn({error:e,helpText:t}){return{styles:{control:(i,r)=>{const o=()=>e?"":r.isFocused?"0px 0px 0px 1px #3EADFE":"0px 1px 0px rgba(0, 0, 0, 0.05)";return{...i,backgroundColor:r.isDisabled?"var(--colors-action-secondary-disabled)":"var(--colors-action-secondary-default)",boxShadow:o(),height:"56px",border:e?"1px solid var(--colors-action-critical-default)":"0px",padding:"18px 16px",borderRadius:"var(--border-radius-sm)"}},clearIndicator:i=>({...i,padding:"0px",marginRight:"4px"}),singleValue:i=>({...i,margin:"0px"}),placeholder:i=>({...i,margin:"0px"}),indicatorSeparator:i=>({...i,display:"none"}),valueContainer:i=>({...i,padding:"0px"}),indicatorsContainer:i=>({...i,padding:"0px"}),dropdownIndicator:i=>({...i,padding:"0px"}),menuPortal:i=>({...i,padding:"0px"}),menu:i=>({...i,filter:"drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.1))",borderRadius:"var(--border-radius-sm)",background:"var(--colors-action-secondary-default)",padding:0,marginTop:t?"28px":"8px"}),menuList:i=>({...i,padding:"0px",borderRadius:"var(--border-radius-sm)"}),input:i=>({...i,margin:0,padding:0,">:focus":{boxShadow:"none"}}),option:(i,r)=>{const o=()=>r.isFocused&&!r.isSelected?"var(--colors-action-secondary-hovered)":r.isSelected?"var(--colors-action-secondary-pressed)":"var(--colors-action-secondary-default)";return{...i,padding:"8px 16px",border:"0px",height:"40px",color:r.isFocused?"var(--colors-letter-on)":"",backgroundColor:o(),":hover":{backgroundColor:!r.isSelected&&"var(--colors-action-secondary-hovered)"},":active":{backgroundColor:"var(--colors-action-secondary-active)"}}},group:i=>({...i,padding:"0px"}),groupHeading:i=>({...i,padding:"8px 16px",border:"0px",height:"36px",fontFamily:"Circular Std Book",color:"var(--colors-letter-default)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--font-size-xs)",textTransform:"none"})}}}const Gn=e=>f(qe.ClearIndicator,{...e,children:f(be,{size:"sm",kind:"delete",color:"default"})});function Pn({helpText:e,error:t,children:n}){return G(we,{children:[n,e&&!t&&f(()=>f("div",{className:"my-1",children:f(_,{as:"span",variant:"body",color:"subdued",children:e})}),{}),t&&!e&&f(()=>f("div",{className:"mt-1",children:f(ei,{icon:"alert",children:t})}),{})]})}const Fn=e=>f(qe.DropdownIndicator,{...e,children:f(be,{size:"sm",kind:e.isFocused?"up":"down",color:e.isDisabled?"disabled":"subdued"})}),Xa=e=>f(qe.Option,{...e,children:f(_,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})}),Vn=e=>f(qe.Placeholder,{...e,children:f(_,{as:"span",variant:"body",color:e.isDisabled?"disabled":"subdued",children:e.children})}),qr=({hasLabelPlaceholder:e,...t})=>{const n=t;return f(qe.SingleValue,{...n,children:G("div",{className:"flex items-center space-x-[4px]",children:[e&&f(_,{as:"span",variant:"body",color:"subdued",children:n.selectProps.placeholder}),f(_,{as:"span",variant:"body",color:"default",children:n.children})]})})};function I0({options:e,placeholder:t="",defaultValue:n,isDisabled:i=!1,id:r="default",error:o="",name:u="default",helpText:a="",hasLabelPlaceholder:s=!1,onChange:l,isSearchable:c=!1,isClearable:d=!0,...g}){const{styles:v}=zn({error:o,helpText:a});return f(Pn,{error:o,helpText:a,children:f(Kr,{...g,...{id:r,name:u,placeholder:t,isDisabled:i,isClearable:d,styles:v,defaultValue:n,noOptionsMessage:()=>"No encontrado"},options:e,isSearchable:c,components:{DropdownIndicator:Fn,ClearIndicator:Gn,Option:Xa,Placeholder:Vn,SingleValue:M=>f(qr,{...M,hasLabelPlaceholder:s})},onChange:M=>l&&l(M)})})}var y0=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function C0(e){var t=e.defaultOptions,n=t===void 0?!1:t,i=e.cacheOptions,r=i===void 0?!1:i,o=e.loadOptions;e.options;var u=e.isLoading,a=u===void 0?!1:u,s=e.onInputChange,l=e.filterOption,c=l===void 0?null:l,d=Mt(e,y0),g=d.inputValue,v=p.useRef(void 0),m=p.useRef(!1),h=p.useState(Array.isArray(n)?n:void 0),M=ye(h,2),y=M[0],x=M[1],w=p.useState(typeof g<"u"?g:""),I=ye(w,2),C=I[0],N=I[1],A=p.useState(n===!0),T=ye(A,2),P=T[0],S=T[1],k=p.useState(void 0),Y=ye(k,2),O=Y[0],E=Y[1],F=p.useState([]),B=ye(F,2),Z=B[0],R=B[1],Q=p.useState(!1),de=ye(Q,2),Ge=de[0],ue=de[1],pe=p.useState({}),Le=ye(pe,2),Ce=Le[0],Me=Le[1],xe=p.useState(void 0),Se=ye(xe,2),Ve=Se[0],Ue=Se[1],ct=p.useState(void 0),V=ye(ct,2),tt=V[0],We=V[1];r!==tt&&(Me({}),We(r)),n!==Ve&&(x(Array.isArray(n)?n:void 0),Ue(n)),p.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var Fe=p.useCallback(function(dt,Xe){if(!o)return Xe();var De=o(dt,Xe);De&&typeof De.then=="function"&&De.then(Xe,function(){return Xe()})},[o]);p.useEffect(function(){n===!0&&Fe(C,function(dt){!m.current||(x(dt||[]),S(!!v.current))})},[]);var St=p.useCallback(function(dt,Xe){var De=xd(dt,Xe,s);if(!De){v.current=void 0,N(""),E(""),R([]),S(!1),ue(!1);return}if(r&&Ce[De])N(De),E(De),R(Ce[De]),S(!1),ue(!1);else{var ni=v.current={};N(De),S(!0),ue(!O),Fe(De,function(It){!m||ni===v.current&&(v.current=void 0,S(!1),E(De),R(It||[]),ue(!1),Me(It?ie(ie({},Ce),{},Re({},De,It)):Ce))})}},[r,Fe,O,Ce,s]),Rn=Ge?[]:C&&O?Z:y||[];return ie(ie({},d),{},{options:Rn,isLoading:P||a,onInputChange:St,filterOption:c})}var x0=p.forwardRef(function(e,t){var n=C0(e),i=yo(n);return f($r,{ref:t,...i})});function w0({placeholder:e="",id:t="default",name:n="default",error:i="",helpText:r="",hasLabelPlaceholder:o=!1,isDisabled:u=!1,isClearable:a=!0,defaultValue:s,onChange:l,loadOptions:c,...d}){const{styles:g}=zn({error:i,helpText:r});return f(Pn,{error:i,helpText:r,children:f(x0,{...d,...{id:t,name:n,placeholder:e,isDisabled:u,isClearable:a,styles:g,defaultValue:s,noOptionsMessage:()=>"No encontrado"},cacheOptions:!0,defaultOptions:!0,components:{DropdownIndicator:Fn,ClearIndicator:Gn,Option:Xa,Placeholder:Vn,SingleValue:h=>f(qr,{...h,hasLabelPlaceholder:o})},onChange:h=>l&&l(h),loadOptions:h=>c&&c(h)})})}const N0=({alignButton:e,...t})=>{const n=t;return f(({children:r})=>{const o=n.data;if(o.notSelect){const u=n.selectProps,a=l=>{var c;if(o.notSelect)return l(o),(c=u.onClickFirstItem)==null?void 0:c.call(u,o)},s={addButton:()=>a(u.addButton)};return G(fi,{variant:"plain",fullWidth:!0,align:e,...n.innerProps,onClick:s.addButton,children:[f(be,{kind:o.icon}),n.children]})}return f(qe.Option,{...n,children:r})},{children:f(_,{as:"span",variant:"body",color:n.isSelected?"on":"default",children:n.children})})};function A0({options:e,placeholder:t="",defaultValue:n,isDisabled:i=!1,id:r="default",error:o="",name:u="default",helpText:a="",hasLabelPlaceholder:s=!1,onChange:l,isSearchable:c=!0,isClearable:d=!0,alignButton:g="start",onClickFirstItem:v,...m}){const{styles:h}=zn({error:o,helpText:a});return f(Pn,{error:o,helpText:a,children:f(Kr,{...m,...{id:r,name:u,placeholder:t,isDisabled:i,isClearable:d,styles:h,defaultValue:n,noOptionsMessage:()=>"No encontrado"},isSearchable:c,options:e,addButton:v,components:{DropdownIndicator:Fn,ClearIndicator:Gn,Option:x=>f(N0,{...x,alignButton:g}),Placeholder:Vn,SingleValue:x=>f(qr,{...x,hasLabelPlaceholder:s})},onChange:x=>l&&l(x)})})}var E0=["title"];function L0(e,t){if(e==null)return{};var n=S0(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(n[i]=e[i]))}return n}function S0(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var D0=function(t){var n=t.title,i=L0(t,E0);return G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",...i,children:[n&&f("title",{children:n}),f("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),f("path",{fill:"#D80027",d:"M0 343.096h512v83.567H0z"}),f("path",{fill:"#0052B4",d:"M0 256h512v87.096H0z"})]})};const Za=({isDisabled:e})=>f(D0,{className:z("w-[16px]",{"opacity-[0.4]":e})}),j0=({isDisabled:e,...t})=>{const n=t;return f(qe.SingleValue,{...n,children:G("div",{className:"flex items-center space-x-[4px]",children:[f(Za,{isDisabled:e}),f(_,{as:"span",variant:"body",color:e?"disabled":"default",children:n.children})]})})},T0=e=>f(qe.Option,{...e,children:G("div",{className:"flex gap-x-1",children:[f(Za,{}),f(_,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})]})});function O0({id:e="default-country",name:t="default-country",placeholder:n="",options:i,defaultValue:r,isDisabled:o=!1,error:u="",isSearchable:a=!1,helpText:s="",onChange:l,isClearable:c=!0,...d}){const{styles:g}=zn({error:u,helpText:s});return f(Pn,{error:u,helpText:s,children:f(Kr,{...d,...{id:e,name:t,placeholder:n,isDisabled:o,isClearable:c,styles:g,defaultValue:r,noOptionsMessage:()=>"No encontrado"},options:i,isSearchable:a,components:{DropdownIndicator:Fn,ClearIndicator:Gn,Option:T0,Placeholder:Vn,SingleValue:h=>f(j0,{...h,isDisabled:o})},onChange:h=>l&&l(h)})})}function z0({tabs:e,variant:t="default"}){const n=({selected:u,isDisabled:a})=>z("cursor-pointer focus:outline-none focus-visible:ring-0 after:absolute after:-bottom-[1px] after:h-[3px] after:rounded-t-[4px] after:rounded-r-[4px] after:rounded-b-none after:content-[''] relative",!u&&!a?"after:hover:absolute after:hover:bg-action-secondary-hovered after:hover:transition after:hover:duration-400 after:active:bg-action-secondary-active":"",{"after:left-1 after:w-[88%]":t==="default","after:w-full w-full after:left-0 text-center":t==="fitted","after:bg-action-secondary-pressed":u,"after:bg-action-secondary-disabled":a}),i=({selected:u,isDisabled:a})=>a?"disabled":u?"default":"subdued",r=({selected:u,isDisabled:a})=>!u&&!a?"hover:text-letter-default":"",o=({selected:u,isDisabled:a,nameTab:s,total:l})=>t==="fitted"?G(_,{variant:"button",color:i({selected:u,isDisabled:a}),className:z("flex w-full items-center justify-center gap-x-1 p-sm ",r({selected:u,isDisabled:a})),children:[s,l&&f("span",{className:z("flex h-5 items-center rounded-sm bg-surface-neutral-default py-[2px] px-2",r({selected:u,isDisabled:a})),children:l})]}):f(_,{variant:"button",color:i({selected:u,isDisabled:a}),className:z("p-sm",r({selected:u,isDisabled:a})),children:s});return f("div",{className:"w-full",children:G(Bt.Group,{children:[f(Bt.List,{className:z("flex border-b",{"justify-center":t==="fitted"}),children:Object.entries(e).map(([u,{isDisabled:a,total:s}],l)=>f(Bt,{className:({selected:c})=>n({selected:c,isDisabled:a}),disabled:a,children:({selected:c})=>o({selected:c,isDisabled:a,nameTab:u,total:s})},l))}),f(Bt.Panels,{className:"mt-3",children:Object.values(e).map((u,a)=>!u.isDisabled&&f(Bt.Panel,{children:u.children},a))})]})})}function ei({children:e,size:t="sm",icon:n="error",colorIcon:i="critical",className:r,...o}){return G("div",{className:z("inline-flex items-center gap-x-xs",r),children:[n&&f(be,{kind:n,color:i,size:"sm"}),f(_,{as:"span",variant:t==="lg"?"body":"caption",color:"critical",...o,children:e})]})}function G0({title:e,iconTitle:t,subtitle:n,footer:i,isOpen:r=!1,hasBorder:o=[],showClose:u=!0,onClose:a,children:s}){const l=()=>G("header",{className:"mb-lg flex items-center justify-between",children:[G("div",{className:"flex items-center gap-x-2",children:[t&&t,f(rt,{variant:"heading",color:"default",children:e})]}),u&&f(be,{kind:"delete",cursor:"pointer",onClick:()=>a==null?void 0:a(!r)})]}),c=()=>G(we,{children:[o.includes("top")&&f("div",{className:"mb-xs border-b border-border-disabled"}),s,o.includes("bottom")&&f("div",{className:"mt-xs border-t border-border-disabled"})]});return G(Vi,{open:r,onClose:d=>a==null?void 0:a(d),className:"relative z-50",children:[f("div",{className:"fixed inset-0 bg-background-modal","aria-hidden":"true"}),f("div",{className:"fixed inset-0 overflow-y-auto",children:f("div",{className:"flex min-h-full items-center justify-center",children:G(Vi.Panel,{className:"mx-auto max-w-sm rounded-sm bg-surface-default p-lg shadow-popup",children:[l(),n&&f(_,{variant:"caption",color:"subdued",className:"mb-sm",children:n}),f("main",{className:"mb-lg",children:c()}),f("footer",{className:"flex w-full justify-end gap-x-2",children:i&&i})]})})})]})}function P0({title:e,subtitle:t,defaultOpen:n=!1,isDisabled:i,content:r=[],className:o,children:u}){const a=()=>f(we,{children:typeof e=="string"?f(_,{variant:"highlight",color:i?"disabled":"default",children:e}):e}),s=(c,d)=>f(p.Fragment,{children:typeof c=="string"?f(_,{variant:"body",color:i?"disabled":"subdued",children:c}):c},d),l=({label:c,value:d},g)=>G("div",{className:"flex items-center justify-between",children:[typeof c=="string"?f(_,{variant:"body",color:i?"disabled":"default",children:c}):c,typeof d=="string"?f(_,{variant:"body",color:i?"disabled":"subdued",children:d}):d]},g);return i?G("div",{className:z("flex min-h-[56px] w-full flex-wrap items-center justify-between rounded-sm bg-action-secondary-disabled py-xs px-sm focus:outline-none focus-visible:outline-none"),children:[G("div",{className:"flex items-center gap-x-sm",children:[f(be,{kind:"down",color:i?"disabled":"default"}),a()]}),f("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(s)})]}):f(or,{defaultOpen:n,children:({open:c})=>G("div",{className:z("mb-sm",o),children:[G(or.Button,{className:z("flex min-h-[56px] w-full flex-wrap items-center justify-between bg-action-secondary-default py-xs px-sm hover:bg-action-secondary-hovered focus:outline-none focus-visible:outline-none active:bg-action-secondary-active",c?"rounded-tl-sm rounded-tr-sm border-t border-l border-r border-border-shadow-subdued":"rounded-sm"),children:[G("div",{className:"flex gap-x-sm",children:[f(be,{kind:c?"up":"down",color:i?"disabled":"default"}),a()]}),f("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(s)})]}),f(or.Panel,{className:z("space-y-sm rounded-br-sm rounded-bl-sm border border-t-border-subdued bg-action-secondary-default py-sm pr-sm pl-[48px]",c?"border-b border-r border-l border-border-shadow-subdued":""),children:r.length>0?r.map(l):u})]})})}function F0(){return G("svg",{xmlns:"http://www.w3.org/2000/svg",width:"183",height:"136",fill:"none",viewBox:"0 0 183 136",children:[f("path",{fill:"#F0F1F2",d:"M152.637 71.913c0 9.518-2.063 18.56-5.766 26.683C136.836 120.67 114.72 136 89.056 136c-25.664 0-47.78-15.329-57.814-37.404-3.704-8.124-5.766-17.165-5.766-26.683 0-35.395 28.465-64.086 63.58-64.086 35.116 0 63.581 28.691 63.581 64.086z"}),f("mask",{id:"mask0_829_5665",style:{maskType:"alpha"},width:"183",height:"136",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:f("path",{fill:"#F0F1F2",d:"M178.521 33.801c3.673 11.655 17.075 59.762-31.65 64.793C136.836 120.67 114.721 136 89.057 136c-25.665 0-47.78-15.329-57.815-37.405C-18.35 64.953 4.492 33.801 10.386 22.11 31.242 0 53.941 0 89.056 0c35.116 0 47.676 7.794 89.465 33.801z"})}),G("g",{filter:"url(#filter0_d_829_5665)",mask:"url(#mask0_829_5665)",children:[f("path",{fill:"#FFDDA8",d:"M145.907 67.692l-24.135-14.178-10.075-5.911L89.879 34.79l-.88-.518-.302-.165-.023.023-.903.518-55.148 32.384-.255.164-.255.142-.208.118 23.023 13.518 10.052 5.912 21.54 12.647h.023l3.15 1.86.047.024.209.117.023-.023 1.343-.777 38.124-22.397 17.279-10.151v-.024l-.811-.47v-.001z"}),f("path",{fill:"#E8D4BC",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996-55.264 32.453 56.515 32.925.046-.024 5.536-3.226 49.543-28.874.139-.07-14.152-8.314z"}),f("path",{fill:"#CCAF8B",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996v58.525l6.833 3.603.046.023 49.497-28.897.139-.07-14.152-8.314zM89.948 101.535v36.74h-.092c-23.58 0-44.355-12.129-56.631-30.593l-1.32-2.051V67.456l23.022 13.519 10.099 5.91L86.52 99.534h.023l3.197 1.884.208.118z"}),f("path",{fill:"#E8D4BC",d:"M129.439 78.337l-38.124 22.397-1.344.777-.023.024v36.74c1.645 0 3.266-.071 4.864-.212.162.023.302 0 .44-.024 1.807-.117 3.59-.33 5.351-.636.139 0 .278-.023.417-.071.046 0 .092 0 .139-.023.139 0 .278-.023.394-.071.139 0 .278-.023.416-.07.278-.024.556-.071.811-.142.417-.07.811-.165 1.228-.259.139 0 .254-.047.393-.094a12.973 12.973 0 001.598-.377c.139 0 .279-.047.417-.094a50.433 50.433 0 003.243-.895c.185.071.417.024.672-.141l.278-.165h.023c.069 0 .139-.047.231-.071.14-.047.255-.094.394-.141a36.744 36.744 0 002.687-.966 28.905 28.905 0 001.807-.706c.115-.048.254-.094.37-.165 12.508-5.299 23.162-14.249 30.597-25.577V68.186l-17.279 10.15v.001z"}),f("path",{fill:"#B6956D",d:"M87.775 34.505L66.285 8.697 10.407 40.67v1.3l21.489 25.48 1.171.118 54.725-32.095-.016-.969z"}),f("path",{fill:"#DAC2A5",d:"M88.674 34.132v-.118L67.087 7.825l-31.06 18.016L14.811 38.16l-1.297.753-3.104 1.79 12.322 14.625 9.89 11.705.232.306.209.236.208-.117 55.426-32.478v-.424l-.023-.423z"}),f("path",{fill:"#D3B998",d:"M117.214 9.459l-27.602 25.6 55.604 33.297 1.586-.197 27.237-25.616-.416-.93-55.581-32.662-.828.508z"}),f("path",{fill:"#DAC2A5",d:"M140.858 22.332L117.14 8.39l-.811.518-27.33 25.364-.302.283-.255.236.255.141L104.03 44l39.63 23.434 1.413.824.139.094.185-.165.51-.494L157.303 57l16.329-15.379-32.774-19.289z"}),f("path",{fill:"#C9AA8C",d:"M95.53 97.131l-6.833-4.004-5.536 3.25 6.833 3.981.023.023 1.737-1.013 3.822-2.213-.046-.024z"}),f("path",{fill:"#C1A787",d:"M3.148 58.709l30.007 8.947 56.796 32.731-.014 1.078-30.284-7.607L3.148 59.736v-1.027z"}),f("path",{fill:"#DAC2A5",d:"M33.271 67.456l-.417-.118-.486-.141-.903-.259-9.844-2.85L3.137 58.72l18.345 11.069 10.422 6.288L59.652 92.82l26.868 6.712h.023l3.405.848L33.27 67.456z"}),f("path",{fill:"#C7AE90",d:"M158.206 71.554l-11.489-2.308-.741-.141-16.537 9.232-37.684 21.031-1.76.989-.047.024.023 1.13v.071l28.466 7.065 28.281-16.392 9.149-5.298 19.108-11.07v-.965l-16.769-3.368z"}),f("path",{fill:"#DAC2A5",d:"M158.229 70.918l-11.489-2.732h-1.528l-.139.071L95.53 97.131l-5.536 3.227-.046.023 1.367.353 27.122 6.925 28.281-16.369 9.473-5.487 18.784-10.88-16.746-4.005z"})]}),f("defs",{children:G("filter",{id:"filter0_d_829_5665",width:"183.838",height:"142.45",x:"-2.863",y:"5.825",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[f("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),f("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),f("feOffset",{dy:"4"}),f("feGaussianBlur",{stdDeviation:"3"}),f("feComposite",{in2:"hardAlpha",operator:"out"}),f("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),f("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_829_5665"}),f("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_829_5665",result:"shape"})]})})]})}function V0(){return f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60",children:f("path",{fill:"#A2A2A2",d:"M50.625 26.25h-2.813v-8.438C47.813 8.086 39.727 0 30 0c-9.844 0-17.813 8.086-17.813 17.813v8.437H9.376c-3.164 0-5.625 2.578-5.625 5.625v22.5C3.75 57.539 6.21 60 9.375 60h41.25c3.047 0 5.625-2.46 5.625-5.625v-22.5c0-3.047-2.578-5.625-5.625-5.625zm-12.188 0H21.564v-8.438c0-4.57 3.75-8.437 8.437-8.437 4.57 0 8.438 3.867 8.438 8.438v8.437z"})})}function B0({title:e,description:t,img:n,className:i,children:r}){const o=()=>n==="box"?f(F0,{}):n==="padlock"?f(V0,{}):f(we,{});return G("div",{className:z(i,"flex w-full flex-col items-center justify-center rounded-xs border border-border-disabled bg-surface-default py-xl px-[40px]"),children:[o(),G("div",{className:"mb-sm w-full md:w-[300px]",children:[f(rt,{variant:"heading",color:"default",className:z("mb-sm text-center",n&&"mt-[42px]"),children:e}),f(_,{variant:"body",color:"subdued",className:"text-center",children:t})]}),r]})}function k0({icon:e,isSelected:t=!1,title:n,total:i,isSmall:r=!1,...o}){const u=()=>i&&!r?f("span",{className:z("relative inline-block h-[20px] w-[30px] rounded-md bg-surface-neutral-default py-[2px] px-2"),children:f("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:f(_,{variant:"caption",color:"default",className:"select-none",children:i})})}):f(we,{});return G("div",{className:z("flex select-none items-center gap-x-[13px]",!t&&"cursor-pointer"),...o,children:[f("div",{className:z("h-[32px] w-[3px] rounded-sm",t&&"bg-action-primary-default")}),G("div",{className:z("flex items-center justify-between rounded-[5px] px-[8px]",t&&"bg-action-secondary-default",r?"min-w-[32px] py-[10px]":"min-w-[200px] py-[12px]"),children:[G("div",{className:"flex items-center gap-x-[10px]",children:[f(be,{kind:e,size:"sm",color:t?"primary":"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gMTIwLjcwNCAzNy4zNTI1IDEyMi4wODMgMzguOTAwM0MxMjIuNzQyIDM5LjYyNjQgMTIzLjU0NCA0MC4yMDYgMTI0LjQzOCA0MC42MDIyQzEyNS4zMzEgNDAuOTk4NCAxMjYuMjk3IDQxLjIwMjYgMTI3LjI3MiA0MS4yMDE3QzEyOC40MzIgNDEuMTYyMyAxMjkuNTgxIDQwLjk2ODggMTMwLjY5IDQwLjYyNjRMMTMyLjQ5NiAzMy45OTgyWiIgZmlsbD0iI0M4MDkzNSIvPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzQ0XzE5NCIgeDE9IjI2Ljg4MDEiIHkxPSIyNS4xODM3IiB4Mj0iMzIuNTk5MyIgeTI9IjM1LjE2OTIiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0M0MDkzNSIvPgo8c3RvcCBvZmZzZXQ9IjAuMDQiIHN0b3AtY29sb3I9IiNCRjA5MzMiLz4KPHN0b3Agb2Zmc2V0PSIwLjI3IiBzdG9wLWNvbG9yPSIjQTQwQjJCIi8+CjxzdG9wIG9mZnNldD0iMC41MSIgc3RvcC1jb2xvcj0iIzkwMEMyNSIvPgo8c3RvcCBvZmZzZXQ9IjAuNzUiIHN0b3AtY29sb3I9IiM4NTBEMjEiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjODEwRDIwIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==";function R0({hasLogo:e=!1,className:t="",...n}){return G("header",{className:z("flex h-[64px] w-full min-w-[320px] items-center justify-between bg-surface-default py-sm px-[24px] shadow-[4px_2px_10px_rgba(0,0,0,0.1),inset_0px_-1px_0px_rgba(194,194,194,0.35)]",t),...n,children:[G("div",{className:"flex items-center gap-x-sm",children:[f(be,{kind:"menu",color:"default",cursor:"pointer",size:"sm",className:"sm:hidden"}),e&&f("img",{src:Ha,alt:"logo-company",className:"hidden w-[115px] md:block"})]}),G("div",{className:"flex items-center gap-x-sm",children:[f(be,{kind:"notifications",color:"default",cursor:"pointer",size:"sm"}),f(gi,{size:"sm"})]})]})}function Bn({children:e,title:t="",className:n,footer:i,...r}){return G("div",{className:z(n,"m-0 p-0"),...r,children:[f(rt,{variant:"heading",color:"default",className:"mb-lg",children:t}),e]})}Bn.Container=function({children:t,className:n,...i}){return f("div",{className:z(n,"rounded-sm border border-border-disabled p-lg shadow-[0px_0px_3px_0px_#34343426]"),...i,children:t})},Bn.Header=function({children:t,className:n,...i}){return G("div",{className:z(n,"mb-lg space-y-sm"),...i,children:[t,f("div",{className:"mb-lg mt-sm border-t border-border-shadow-subdued"})]})},Bn.Footer=function({children:t,className:n,total:i="$-",isDisabled:r,...o}){return G("footer",{className:z(n),...o,children:[f("div",{className:"mb-xs mt-lg border-t border-border-shadow-subdued"}),G("div",{className:"flex justify-between",children:[f(rt,{variant:"heading",color:r?"disabled":"default",children:"Total (COP)"}),f(rt,{variant:"heading",color:r?"disabled":"default",children:i})]})]})};function Y0({isDisabled:e,type:t,iconRight:n,error:i,iconLeft:r,onChange:o,value:u}){const a=p.useRef(null),[s,l]=p.useState(u!=null?u:""),[c,d]=p.useState(!1),g=({target:{value:I}})=>(l(I),o==null?void 0:o(I)),v=()=>(l(I=>I?I=Number(I)+1:I=1),o==null?void 0:o(String(s))),m=()=>(l(I=>I?I=Number(I)-1:I=0),o==null?void 0:o(String(s))),h=()=>{var I;return l(""),o==null||o(""),a&&((I=a.current)==null?void 0:I.focus())},M=()=>e?"disabled":"subdued",y=()=>e?"disabled":c&&t==="password"?"default":"subdued",x=!!n||t==="number"||t==="password",w=z("w-full rounded-sm bg-action-secondary-default py-md px-sm font-sans text-xs font-book leading-xs text-letter-default caret-icon-default placeholder:font-sans placeholder:text-xs placeholder:font-book placeholder:leading-xs placeholder:text-letter-subdued focus:ring-0 disabled:bg-action-secondary-disabled disabled:text-letter-disabled disabled:placeholder:text-letter-disabled",i?"border border-action-critical-default focus:border-action-critical-default":"border-none focus:rounded-[5px] focus:shadow-[0px_0px_0px_1px_#3EADFE]",{"pr-9":n,"pl-10":r});return{inputValue:s,inputRef:a,handleChange:g,subtractValue:m,addMoreValue:v,getColorIcon:M,getColorIconPassword:y,showPassword:c,setShowPassword:d,clearInput:h,hasIconRight:x,getClassInput:w}}const W0="data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4MCAxNiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMzYTZjYjM7fS5jbHMtMntmaWxsOiNlODQ2Mzc7fS5jbHMtM3tmaWxsOiMzNGE4NTQ7fS5jbHMtNHtmaWxsOiM3ODc4Nzg7fS5jbHMtNXtmaWxsOiM3OTc5Nzk7fS5jbHMtNntmaWxsOiM3OTc4Nzk7fS5jbHMtN3tmaWxsOiNmYmJjMTA7fS5jbHMtOHtmaWxsOiM1MjdjYmU7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEyLjE0LDEuNzFjLjE1LjA5LjMzLjA2LjQ5LjEybC4yMi4wN2MwLC4yLS4yMy4zMi0uMzUuNDctLjU1LjY3LTEuMTIsMS4zMi0xLjY3LDItLjA5LjExLS4yNC4xOC0uMjMuMzVsLS4zNC4zTDguMiwzLjI4YTQuMjksNC4yOSwwLDAsMSwyLjM1LTEuNDZjLjE0LDAsLjMsMCwuNDItLjExWiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTguMiwzLjI4LDEwLjI2LDVsLS4xNS4yMiwwLDBoMGwtLjA3LDBMOC43OCw2Ljc4Yy0uMzkuNDctLjc5LjkzLTEuMTksMS4zOWE0LjY5LDQuNjksMCwwLDEtLjM4LTEuMzRzMC0uMSwwLS4xM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0My41LDEwLjY1LDQzLjUsOS41Miw0My41LDguMzlaIi8+PHBhdGggY2xhc3M9ImNscy03IiBkPSJNMTAuMTEsNS4yM3MwLDAsMCwwWiIvPjxwYXRoIGNsYXNzPSJjbHMtNyIgZD0iTTEyLjU1LDcuNDlzMCwwLDAtLjA2UzEyLjU4LDcuNDgsMTIuNTUsNy40OVoiLz48L3N2Zz4=";function X0({logo:e,helpText:t,error:n}){const i=()=>e?e&&(t||n)?"justify-between":"justify-end":"justify-start";return e||t||n?G("div",{className:z("mt-xs flex",i()),children:[t&&!n&&f(_,{variant:"caption",color:"subdued",children:t}),n&&!t&&f(ei,{icon:"error",children:n}),e&&f("img",{src:W0,className:"w-[80px]"})]}):f(we,{})}function et({children:e}){return f("div",{className:"relative w-full",children:e})}et.Icon=function({children:t,position:n}){return f("span",{className:z("absolute inset-y-0 flex items-center ",{"left-0 pl-4":n==="left","right-0 pr-4":n==="right"}),children:t})},et.Special=function({children:t,isNumber:n,isPassword:i}){return n?f("span",{className:"absolute inset-y-0 right-0 z-[1] flex items-center space-x-xs pr-4",children:f("span",{className:"flex flex-col items-center justify-center",children:t})}):i?f("span",{className:"absolute inset-y-0 right-0 z-[1] flex items-center pr-4",children:t}):f(we,{})},et.Delete=function({children:t,inputValue:n,hasIconRight:i}){return(typeof n=="number"?n>0:n)?f("span",{className:z("absolute inset-y-0 right-0 flex items-center justify-center",i?"pr-9":"pr-4"),children:t}):f(we,{})};function Z0({id:e,name:t,isDisabled:n,isReadOnly:i,placeholder:r,autoComplete:o="nope",type:u="text",iconLeft:a,iconRight:s,helpText:l,logo:c,error:d,onChange:g,value:v,tooltip:m}){const h=Y0({isDisabled:n,type:u,iconRight:s,error:d,iconLeft:a,onChange:g,value:v}),{inputValue:M,inputRef:y,handleChange:x,subtractValue:w,addMoreValue:I,getColorIcon:C,getColorIconPassword:N,showPassword:A,setShowPassword:T,clearInput:P,hasIconRight:S,getClassInput:k}=h,Y=()=>m!=null&&m.isActive?f(vo,{placement:m==null?void 0:m.placement,title:m==null?void 0:m.title,description:m==null?void 0:m.description,children:f(be,{kind:s,color:C()})}):f(be,{kind:s,color:C()});return G(we,{children:[G(et,{children:[f("input",{id:e,name:t,ref:y,value:M,placeholder:r,onChange:x,readOnly:i,disabled:n,autoComplete:o,type:A?"text":u,className:k}),f(et.Icon,{position:"left",children:f(be,{kind:a,color:C()})}),G(et.Special,{isNumber:u==="number",children:[f(be,{kind:"more",cursor:"pointer",size:"sm",color:C(),onClick:I}),f(be,{kind:"less",cursor:"pointer",size:"sm",color:C(),onClick:w})]}),f(et.Special,{isPassword:u==="password",children:f(be,{kind:"eye",color:N(),onClick:()=>T(!A)})}),f(et.Icon,{position:"right",children:Y()}),f(et.Delete,{inputValue:M,hasIconRight:S,children:f(be,{kind:"delete",color:"default",onClick:P})})]}),f(X0,{helpText:l,error:d,logo:c})]})}function H0({items:e=[],checkedItem:t,onChange:n}){const i=(o,u)=>u!=null&&u.error?"border-action-critical-default":u!=null&&u.isDisabled?"border-border-disabled":o?"shadow-[0px_0px_0px_1px_#3EADFE]":"border-border-default hover:border-border-hovered",r=(o,u)=>{var a,s;return((a=o==null?void 0:o.id)==null?void 0:a.toLowerCase())===((s=u==null?void 0:u.id)==null?void 0:s.toLowerCase())};return e.length>0?f(Xi,{value:t,by:r,onChange:n,className:"space-y-sm",children:e.map(o=>f(Xi.Option,{value:o,disabled:(o==null?void 0:o.isDisabled)||Boolean(o==null?void 0:o.error),className:({active:u})=>z("flex min-h-[78px] items-center rounded-sm border bg-white p-sm",!(o!=null&&o.isDisabled)&&"cursor-pointer",i(u,o)),children:({checked:u})=>{var a,s;return G("div",{className:"flex w-full justify-between",children:[G("div",{className:z("flex items-center",(o==null?void 0:o.img)||(o==null?void 0:o.hasRadio)?"gap-x-sm":""),children:[(o==null?void 0:o.hasRadio)&&f(ho,{id:o==null?void 0:o.title,name:o==null?void 0:o.title,value:o==null?void 0:o.id,checked:u,isDisabled:o==null?void 0:o.isDisabled}),(o==null?void 0:o.img)&&(o==null?void 0:o.img),G("header",{children:[f(rt,{variant:"heading",color:o!=null&&o.isDisabled?"disabled":"default",children:o==null?void 0:o.title}),G("div",{className:"flex gap-x-[2px]",children:[f(_,{variant:"body",color:o!=null&&o.isDisabled?"disabled":"subdued",children:(a=o==null?void 0:o.subtitle)!=null?a:""}),f(_,{variant:"highlight",color:o!=null&&o.isDisabled?"disabled":"subdued",children:(s=o==null?void 0:o.description)!=null?s:""})]})]})]}),(o==null?void 0:o.state)&&f(_,{variant:"caption",color:o!=null&&o.isDisabled?"disabled":"subdued",children:o==null?void 0:o.state})]})}},o==null?void 0:o.id))}):f(we,{})}function U0({children:e,isSmall:t=!1,onClick:n,className:i,...r}){return G("nav",{className:z("h-full bg-background-default py-sm shadow-[inset_-1px_0px_0px_#C2C2C2]",i,t?"w-[67px]":"w-[240px] pr-xs"),...r,children:[G("div",{className:z("mb-xl flex items-center",t?"justify-center":"justify-between px-sm"),children:[f("img",{src:Ha,alt:"logo-company",className:z("w-[115px]",t&&"hidden")}),f(be,{kind:"menu",color:"subdued",cursor:"pointer",size:"sm",onClick:n})]}),f("div",{className:"flex flex-col space-y-sm",children:e})]})}function kn({children:e,className:t,...n}){return f("div",{className:z(t,"relative flex h-screen p-0"),...n,children:e})}kn.Header=function({children:t}){return f(we,{children:t})},kn.Menu=function({children:t}){return f(we,{children:t})},kn.Main=function({children:t,className:n,...i}){return f("main",{className:z(n,"relative top-[64px] h-[calc(100%-64px)] w-full py-xl px-[34px]"),...i,children:t})};function ti({children:e,className:t,...n}){return f("div",{className:z(t,"m-0 p-0"),...n,children:e})}ti.Header=function({children:t,className:n,title:i="",onBack:r,...o}){return G(we,{children:[G("div",{role:"heading",className:z(n,"m-0 flex w-full flex-col space-y-3 p-0 sm:flex-row sm:items-center sm:justify-between",r?"mb-lg":"mb-[96px]"),...o,children:[f(rt,{variant:"lg",color:"default",className:"leading-none",children:i}),f("div",{className:"flex space-x-sm",children:t})]}),r&&G("div",{onClick:r,className:"mb-lg flex cursor-pointer items-center gap-x-2 p-4",children:[f(be,{kind:"back",color:"default"}),f(_,{variant:"button",color:"default",children:"Atr\xE1s"})]})]})},ti.Main=function({children:t,className:n,...i}){return f("div",{className:z(n,"block sm:flex sm:justify-between sm:gap-x-[117px]"),...i,children:t})},U.AsyncSelect=w0,U.Avatar=gi,U.Badge=fu,U.Button=fi,U.CardSelect=H0,U.Dropdown=P0,U.EmptyState=B0,U.Field=Z0,U.Header=R0,U.Heading=rt,U.Icon=be,U.InlineError=ei,U.LayoutMain=kn,U.LayoutShipment=ti,U.Modal=G0,U.Navigation=U0,U.RadioButton=ho,U.Select=I0,U.SelectButton=A0,U.SelectCountry=O0,U.Summary=Bn,U.Switch=Js,U.Tab=z0,U.TabNav=k0,U.Text=_,U.Tooltip=vo,U.Tracker=Ql,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|