@aveonline/ui-react 0.0.1-alpha.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -2
- package/dist/assets/index.91a8dfaf.css +1 -0
- package/dist/components/atoms/Avatar/IAvatar.d.ts +3 -0
- package/dist/components/atoms/Avatar/index.d.ts +1 -0
- package/dist/components/atoms/Badge/IBadge.d.ts +5 -0
- package/dist/components/atoms/Badge/index.d.ts +1 -0
- package/dist/components/atoms/Button/IButton.d.ts +20 -0
- package/dist/components/atoms/Button/index.d.ts +2 -0
- package/dist/components/atoms/Button/useCSS.d.ts +4 -0
- package/dist/components/atoms/Heading/IHeading.d.ts +5 -0
- package/dist/components/atoms/Heading/index.d.ts +2 -0
- package/dist/components/atoms/Heading/useCSS.d.ts +4 -0
- package/dist/components/atoms/Icon/IIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/index.d.ts +2 -0
- package/dist/components/atoms/RadioButton/IRadioButton.d.ts +16 -0
- package/dist/components/atoms/RadioButton/index.d.ts +1 -0
- package/dist/components/atoms/Switch/ISwitch.d.ts +7 -0
- package/dist/components/atoms/Switch/index.d.ts +1 -0
- package/dist/components/atoms/Text/IText.d.ts +6 -0
- package/dist/components/atoms/Text/index.d.ts +2 -0
- package/dist/components/atoms/Text/useCSS.d.ts +4 -0
- package/dist/components/atoms/Tooltip/ITooltip.d.ts +10 -0
- package/dist/components/atoms/Tooltip/index.d.ts +2 -0
- package/dist/components/atoms/Tracker/ITracker.d.ts +8 -0
- package/dist/components/atoms/Tracker/index.d.ts +1 -0
- package/dist/components/index.d.ts +26 -2
- package/dist/components/molecules/Card/Select/ISelect.d.ts +17 -0
- package/dist/components/molecules/Card/Select/index.d.ts +1 -0
- package/dist/components/molecules/Dropdown/IDropdown.d.ts +14 -0
- package/dist/components/molecules/Dropdown/index.d.ts +1 -0
- package/dist/components/molecules/EmptyState/IEmptyState.d.ts +7 -0
- package/dist/components/molecules/EmptyState/index.d.ts +1 -0
- package/dist/components/molecules/Header/IHeader.d.ts +6 -0
- package/dist/components/molecules/Header/index.d.ts +1 -0
- package/dist/components/molecules/InlineError/IInlineError.d.ts +7 -0
- package/dist/components/molecules/InlineError/index.d.ts +1 -0
- package/dist/components/molecules/Modal/IModal.d.ts +12 -0
- package/dist/components/molecules/Modal/index.d.ts +1 -0
- package/dist/components/molecules/Selectable/AsyncSelect/IAsyncSelect.d.ts +4 -0
- package/dist/components/molecules/Selectable/AsyncSelect/index.d.ts +1 -0
- package/dist/components/molecules/Selectable/Select/ISelect.d.ts +18 -0
- package/dist/components/molecules/Selectable/Select/index.d.ts +2 -0
- package/dist/components/molecules/Selectable/SelectButton/ISelectButton.d.ts +16 -0
- package/dist/components/molecules/Selectable/SelectButton/index.d.ts +1 -0
- package/dist/components/molecules/Selectable/SelectCountry/index.d.ts +1 -0
- package/dist/components/molecules/Selectable/atoms/index.d.ts +6 -0
- package/dist/components/molecules/Selectable/hooks/index.d.ts +1 -0
- package/dist/components/molecules/Selectable/hooks/useCSS.d.ts +5 -0
- package/dist/components/molecules/Summary/index.d.ts +1 -0
- package/dist/components/molecules/Tab/ITab.d.ts +13 -0
- package/dist/components/molecules/Tab/index.d.ts +2 -0
- package/dist/components/molecules/TabNav/ITabNav.d.ts +10 -0
- package/dist/components/molecules/TabNav/index.d.ts +1 -0
- package/dist/components/organisms/Navigation/INavigation.d.ts +8 -0
- package/dist/components/organisms/Navigation/index.d.ts +1 -0
- package/dist/components/templates/Main/index.d.ts +1 -0
- package/dist/components/templates/Shipment/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useTokens.d.ts +10 -0
- package/dist/index.d.ts +2 -3
- package/dist/postcss.config.js +4 -5
- package/dist/tailwind.config.js +206 -192
- package/dist/tailwind.css +1 -1
- package/dist/tokens.css +76 -67
- package/dist/types/Template.d.ts +5 -0
- package/dist/types/Tokens.d.ts +26 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/ui-react.mjs +9861 -407
- package/dist/ui-react.umd.js +48 -11
- package/package.json +34 -10
- package/dist/assets/index.53932362.css +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
package/dist/ui-react.umd.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`,document.head.appendChild(
|
|
1
|
+
(function(ne,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):(ne=typeof globalThis<"u"?globalThis:ne||self,p(ne["@aveonline/ui-react"]={},ne.React,ne.ReactDOM))})(this,function(ne,p,Dt){"use strict";var ni=document.createElement("style");ni.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(ni);const $a=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function ri(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=$a(p),O=ri(p),Ka=ri(Dt);var ii={exports:{}};/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
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})()})(ii);const R=ii.exports;function qa({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=R("p-sm",{"h-[56px] w-[56px]":n==="md","h-[36px] w-[36px]":n==="sm"}),s=R("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:()=>R("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 _t={exports:{}},Ot={};/**
|
|
3
7
|
* @license React
|
|
4
8
|
* react-jsx-runtime.production.min.js
|
|
5
9
|
*
|
|
@@ -7,7 +11,7 @@
|
|
|
7
11
|
*
|
|
8
12
|
* This source code is licensed under the MIT license found in the
|
|
9
13
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
14
|
+
*/var oi;function eu(){if(oi)return Ot;oi=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 jt={};/**
|
|
11
15
|
* @license React
|
|
12
16
|
* react-jsx-runtime.development.js
|
|
13
17
|
*
|
|
@@ -15,14 +19,47 @@
|
|
|
15
19
|
*
|
|
16
20
|
* This source code is licensed under the MIT license found in the
|
|
17
21
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var
|
|
19
|
-
`+
|
|
20
|
-
`),
|
|
21
|
-
`),
|
|
22
|
-
`+
|
|
22
|
+
*/var ai;function tu(){return ai||(ai=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"),b=Symbol.iterator,h="@@iterator";function I(m){if(m===null||typeof m!="object")return null;var T=b&&m[b]||m[h];return typeof T=="function"?T:null}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(m){{for(var T=arguments.length,D=new Array(T>1?T-1:0),X=1;X<T;X++)D[X-1]=arguments[X];A("error",m,D)}}function A(m,T,D){{var X=C.ReactDebugCurrentFrame,$=X.getStackAddendum();$!==""&&(T+="%s",D=D.concat([$]));var ae=D.map(function(Q){return String(Q)});ae.unshift("Warning: "+T),Function.prototype.apply.call(console[m],console,ae)}}var y=!1,x=!1,E=!1,N=!1,j=!1,G;G=Symbol.for("react.module.reference");function S(m){return!!(typeof m=="string"||typeof m=="function"||m===i||m===o||j||m===r||m===l||m===c||N||m===v||y||x||E||typeof m=="object"&&m!==null&&(m.$$typeof===g||m.$$typeof===d||m.$$typeof===u||m.$$typeof===a||m.$$typeof===s||m.$$typeof===G||m.getModuleId!==void 0))}function B(m,T,D){var X=m.displayName;if(X)return X;var $=T.displayName||T.name||"";return $!==""?D+"("+$+")":D}function W(m){return m.displayName||"Context"}function P(m){if(m==null)return null;if(typeof m.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){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 m=="object")switch(m.$$typeof){case a:var T=m;return W(T)+".Consumer";case u:var D=m;return W(D._context)+".Provider";case s:return B(m,m.render,"ForwardRef");case d:var X=m.displayName||null;return X!==null?X:P(m.type)||"Memo";case g:{var $=m,ae=$._payload,Q=$._init;try{return P(Q(ae))}catch{return null}}}return null}var w=Object.assign,F=0,z,Z,V,U,de,Pe,ue;function pe(){}pe.__reactDisabledLog=!0;function Ne(){{if(F===0){z=console.log,Z=console.info,V=console.warn,U=console.error,de=console.group,Pe=console.groupCollapsed,ue=console.groupEnd;var m={configurable:!0,enumerable:!0,value:pe,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}F++}}function Ce(){{if(F--,F===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:w({},m,{value:z}),info:w({},m,{value:Z}),warn:w({},m,{value:V}),error:w({},m,{value:U}),group:w({},m,{value:de}),groupCollapsed:w({},m,{value:Pe}),groupEnd:w({},m,{value:ue})})}F<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=C.ReactCurrentDispatcher,xe;function we(m,T,D){{if(xe===void 0)try{throw Error()}catch($){var X=$.stack.trim().match(/\n( *(at )?)/);xe=X&&X[1]||""}return`
|
|
23
|
+
`+xe+m}}var Le=!1,Ue;{var st=typeof WeakMap=="function"?WeakMap:Map;Ue=new st}function L(m,T){if(!m||Le)return"";{var D=Ue.get(m);if(D!==void 0)return D}var X;Le=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=he.current,he.current=null,Ne();try{if(T){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(tt){X=tt}Reflect.construct(m,[],Q)}else{try{Q.call()}catch(tt){X=tt}m.call(Q.prototype)}}else{try{throw Error()}catch(tt){X=tt}m()}}catch(tt){if(tt&&X&&typeof tt.stack=="string"){for(var H=tt.stack.split(`
|
|
24
|
+
`),Se=X.stack.split(`
|
|
25
|
+
`),me=H.length-1,ve=Se.length-1;me>=1&&ve>=0&&H[me]!==Se[ve];)ve--;for(;me>=1&&ve>=0;me--,ve--)if(H[me]!==Se[ve]){if(me!==1||ve!==1)do if(me--,ve--,ve<0||H[me]!==Se[ve]){var ze=`
|
|
26
|
+
`+H[me].replace(" at new "," at ");return m.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",m.displayName)),typeof m=="function"&&Ue.set(m,ze),ze}while(me>=1&&ve>=0);break}}}finally{Le=!1,he.current=ae,Ce(),Error.prepareStackTrace=$}var St=m?m.displayName||m.name:"",_a=St?we(St):"";return typeof m=="function"&&Ue.set(m,_a),_a}function et(m,T,D){return L(m,!1)}function ke(m){var T=m.prototype;return!!(T&&T.isReactComponent)}function Fe(m,T,D){if(m==null)return"";if(typeof m=="function")return L(m,ke(m));if(typeof m=="string")return we(m);switch(m){case l:return we("Suspense");case c:return we("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case s:return et(m.render);case d:return Fe(m.type,T,D);case g:{var X=m,$=X._payload,ae=X._init;try{return Fe(ae($),T,D)}catch{}}}return""}var wt=Object.prototype.hasOwnProperty,Vn={},lt=C.ReactDebugCurrentFrame;function We(m){if(m){var T=m._owner,D=Fe(m.type,m._source,T?T.type:null);lt.setExtraStackFrame(D)}else lt.setExtraStackFrame(null)}function Te(m,T,D,X,$){{var ae=Function.call.bind(wt);for(var Q in m)if(ae(m,Q)){var H=void 0;try{if(typeof m[Q]!="function"){var Se=Error((X||"React class")+": "+D+" type `"+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[Q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Se.name="Invariant Violation",Se}H=m[Q](T,Q,X,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(me){H=me}H&&!(H instanceof Error)&&(We($),M("%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,Q,typeof H),We(null)),H instanceof Error&&!(H.message in Vn)&&(Vn[H.message]=!0,We($),M("Failed %s type: %s",D,H.message),We(null))}}}var $r=Array.isArray;function ht(m){return $r(m)}function B0(m){{var T=typeof Symbol=="function"&&Symbol.toStringTag,D=T&&m[Symbol.toStringTag]||m.constructor.name||"Object";return D}}function R0(m){try{return Ra(m),!1}catch{return!0}}function Ra(m){return""+m}function ka(m){if(R0(m))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",B0(m)),Ra(m)}var Jt=C.ReactCurrentOwner,k0={key:!0,ref:!0,__self:!0,__source:!0},Wa,Ya,Kr;Kr={};function W0(m){if(wt.call(m,"ref")){var T=Object.getOwnPropertyDescriptor(m,"ref").get;if(T&&T.isReactWarning)return!1}return m.ref!==void 0}function Y0(m){if(wt.call(m,"key")){var T=Object.getOwnPropertyDescriptor(m,"key").get;if(T&&T.isReactWarning)return!1}return m.key!==void 0}function X0(m,T){if(typeof m.ref=="string"&&Jt.current&&T&&Jt.current.stateNode!==T){var D=P(Jt.current.type);Kr[D]||(M('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',P(Jt.current.type),m.ref),Kr[D]=!0)}}function Z0(m,T){{var D=function(){Wa||(Wa=!0,M("%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)",T))};D.isReactWarning=!0,Object.defineProperty(m,"key",{get:D,configurable:!0})}}function H0(m,T){{var D=function(){Ya||(Ya=!0,M("%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)",T))};D.isReactWarning=!0,Object.defineProperty(m,"ref",{get:D,configurable:!0})}}var U0=function(m,T,D,X,$,ae,Q){var H={$$typeof:t,type:m,key:T,ref:D,props:Q,_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:$}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function Q0(m,T,D,X,$){{var ae,Q={},H=null,Se=null;D!==void 0&&(ka(D),H=""+D),Y0(T)&&(ka(T.key),H=""+T.key),W0(T)&&(Se=T.ref,X0(T,$));for(ae in T)wt.call(T,ae)&&!k0.hasOwnProperty(ae)&&(Q[ae]=T[ae]);if(m&&m.defaultProps){var me=m.defaultProps;for(ae in me)Q[ae]===void 0&&(Q[ae]=me[ae])}if(H||Se){var ve=typeof m=="function"?m.displayName||m.name||"Unknown":m;H&&Z0(Q,ve),Se&&H0(Q,ve)}return U0(m,H,Se,$,X,Jt.current,Q)}}var qr=C.ReactCurrentOwner,Xa=C.ReactDebugCurrentFrame;function Tt(m){if(m){var T=m._owner,D=Fe(m.type,m._source,T?T.type:null);Xa.setExtraStackFrame(D)}else Xa.setExtraStackFrame(null)}var ei;ei=!1;function ti(m){return typeof m=="object"&&m!==null&&m.$$typeof===t}function Za(){{if(qr.current){var m=P(qr.current.type);if(m)return`
|
|
23
27
|
|
|
24
|
-
Check the render method of \``+
|
|
28
|
+
Check the render method of \``+m+"`."}return""}}function J0(m){{if(m!==void 0){var T=m.fileName.replace(/^.*[\\\/]/,""),D=m.lineNumber;return`
|
|
25
29
|
|
|
26
|
-
Check your code at `+
|
|
30
|
+
Check your code at `+T+":"+D+"."}return""}}var Ha={};function _0(m){{var T=Za();if(!T){var D=typeof m=="string"?m:m.displayName||m.name;D&&(T=`
|
|
27
31
|
|
|
28
|
-
Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=sr(r);if(xe[t])return;xe[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+g(e._owner.type)+"."),P(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),P(null)}}function Se(e,r){{if(typeof e!="object")return;if(G(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&Oe(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var i=Ie(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)Z(o.value)&&Oe(o.value,r)}}}function lr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=g(r);He(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var i=g(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){P(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),P(null);break}}e.ref!==null&&(P(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),P(null))}}function Ce(e,r,t,n,i,u){{var o=Ve(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 d=ur(i);d?a+=d:a+=Te();var s;e===null?s="null":G(e)?s="array":e!==void 0&&e.$$typeof===E?(s="<"+(g(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=ir(e,r,t,i,u);if(l==null)return l;if(o){var b=r.children;if(b!==void 0)if(n)if(G(b)){for(var j=0;j<b.length;j++)Se(b[j],e);Object.freeze&&Object.freeze(b)}else c("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 Se(b,e)}return e===h?fr(l):lr(l),l}}function cr(e,r,t){return Ce(e,r,t,!0)}function dr(e,r,t){return Ce(e,r,t,!1)}var vr=dr,pr=cr;F.Fragment=h,F.jsx=vr,F.jsxs=pr}()),F}(function(v){process.env.NODE_ENV==="production"?v.exports=Pe():v.exports=je()})(Y);const ke=Y.exports.Fragment,ne=Y.exports.jsx,De=Y.exports.jsxs,Fe=({primary:v=!1,size:E="medium",backgroundColor:A,label:h,...O})=>{const S=v?"storybook-button--primary":"storybook-button--secondary";return De(ke,{children:[ne("button",{type:"button",className:["storybook-button",`storybook-button--${E}`,S].join(" "),style:{backgroundColor:A},...O,children:h}),ne("p",{className:"text-letter-disabled",children:"test"})]})};_.Button=Fe,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
32
|
+
Check the top-level render call using <`+D+">.")}return T}}function Ua(m,T){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var D=_0(T);if(Ha[D])return;Ha[D]=!0;var X="";m&&m._owner&&m._owner!==qr.current&&(X=" It was passed a child from "+P(m._owner.type)+"."),Tt(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),Tt(null)}}function Qa(m,T){{if(typeof m!="object")return;if(ht(m))for(var D=0;D<m.length;D++){var X=m[D];ti(X)&&Ua(X,T)}else if(ti(m))m._store&&(m._store.validated=!0);else if(m){var $=I(m);if(typeof $=="function"&&$!==m.entries)for(var ae=$.call(m),Q;!(Q=ae.next()).done;)ti(Q.value)&&Ua(Q.value,T)}}}function $0(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&&!ei){ei=!0;var $=P(T);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"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 K0(m){{for(var T=Object.keys(m.props),D=0;D<T.length;D++){var X=T[D];if(X!=="children"&&X!=="key"){Tt(m),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),Tt(null);break}}m.ref!==null&&(Tt(m),M("Invalid attribute `ref` supplied to `React.Fragment`."),Tt(null))}}function Ja(m,T,D,X,$,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=J0($);Se?H+=Se:H+=Za();var me;m===null?me="null":ht(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=Q0(m,T,D,$,ae);if(ve==null)return ve;if(Q){var ze=T.children;if(ze!==void 0)if(X)if(ht(ze)){for(var St=0;St<ze.length;St++)Qa(ze[St],m);Object.freeze&&Object.freeze(ze)}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(ze,m)}return m===i?K0(ve):$0(ve),ve}}function q0(m,T,D){return Ja(m,T,D,!0)}function eg(m,T,D){return Ja(m,T,D,!1)}var tg=eg,ng=q0;jt.Fragment=i,jt.jsx=tg,jt.jsxs=ng}()),jt}(function(e){process.env.NODE_ENV==="production"?e.exports=eu():e.exports=tu()})(_t);const Ye=_t.exports.Fragment,f=_t.exports.jsx,k=_t.exports.jsxs;function nu({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:k("svg",{className:(()=>R("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 ui({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}=qa({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 k("button",{type:"button",className:l(),...s,disabled:r||i,children:[i&&f(nu,{variant:e,size:t}),c()]})}function ru({size:e="sm"}){return e==="xs"?k("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"?k("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"?k("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"?k("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(Ye,{})}function si(e){const{size:t,weight:n,lineHeight:i,className:r,color:o}=e;return{getWeight:()=>R({"font-bold":n==="bold","font-book":n==="book","font-medium":n==="medium"}),getFontSize:()=>R({"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:()=>R({"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:()=>R({"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:()=>R(r)}}function iu({variant:e,...t}){const n="font-sans",i=si({...t}),{getColorText:r,getFontSize:o,getLineHeight:u,getWeight:a,getClassName:s}=i;return{getClass:R(n,(()=>e==="xl"?R(a()||"font-bold",u()||"leading-xl",o()||"text-xl"):e==="lg"?R(a()||"font-bold",u()||"leading-lg",o()||"text-lg"):e==="md"?R(a()||"font-bold",u()||"leading-md",o()||"text-md"):e==="sm"?R("font-book","leading-sm","text-sm"):e==="heading"?R(a()||"font-bold",u()||"leading-sm",o()||"text-sm"):e==="subheading"?R(a()||"font-bold",u()||"leading-xxs",o()||"text-xs"):"")(),r(),s())}}function $t({variant:e="heading",children:t,lineHeight:n,weight:i,color:r="default",size:o,className:u,as:a="h2"}){const{getClass:s}=iu({size:o,weight:i,variant:e,color:r,lineHeight:n,className:u});return f(a,{className:s,children:t})}function ou({variant:e,...t}){const n="font-sans",i=si({...t}),{getColorText:r,getFontSize:o,getLineHeight:u,getWeight:a,getClassName:s}=i;return{getClass:R(n,(()=>e==="button"?R(a()||"font-medium",u()||"leading-xs",o()||"text-xs"):e==="body"?R(a()||"font-book",u()||"leading-xs",o()||"text-xs"):e==="highlight"?R(a()||"font-bold",u()||"leading-xs",o()||"text-xs"):e==="caption"?R(a()||"font-book",u()||"leading-xxs",o()||"text-xxs"):"")(),r(),s())}}function K({variant:e="body",children:t,lineHeight:n,weight:i,color:r="default",size:o,className:u,as:a="p",...s}){const{getClass:l}=ou({size:o,weight:i,variant:e,color:r,lineHeight:n,className:u});return f(a,{className:l,...s,children:t})}function au({variant:e,children:t}){return f("span",{className:R("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(K,{variant:"caption",children:t})})}const Kt=typeof window>"u"||typeof document>"u";let Me=Kt?p.useEffect:p.useLayoutEffect;function ct(e){let t=p.useRef(e);return Me(()=>{t.current=e},[e]),t}function Pt(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function uu(){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 Pt(()=>{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 J=function(e){let t=ct(e);return re.default.useCallback((...n)=>t.current(...n),[t])},Bn={serverHandoffComplete:!1};function qt(){let[e,t]=p.useState(Bn.serverHandoffComplete);return p.useEffect(()=>{e!==!0&&t(!0)},[e]),p.useEffect(()=>{Bn.serverHandoffComplete===!1&&(Bn.serverHandoffComplete=!0)},[]),e}var li;let su=0;function ci(){return++su}let De=(li=re.default.useId)!=null?li:function(){let e=qt(),[t,n]=re.default.useState(e?ci:null);return Me(()=>{t===null&&n(ci())},[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 dt(e){return Kt?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Rn=["[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||{}),nt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(nt||{}),lu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(lu||{});function cu(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Rn))}var di=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(di||{});function du(e,t=0){var n;return e===((n=dt(e))==null?void 0:n.body)?!1:Oe(t,{[0](){return e.matches(Rn)},[1](){let i=e;for(;i!==null;){if(i.matches(Rn))return!0;i=i.parentElement}return!1}})}function It(e){e==null||e.focus({preventScroll:!0})}let fu=["textarea","input"].join(",");function gu(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,fu))!=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 Ve(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:cu(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&&gu(d)&&d.select(),d.hasAttribute("tabindex")||d.setAttribute("tabindex","0"),2}function kn(e,t,n){let i=ct(t);p.useEffect(()=>{function r(o){i.current(o)}return document.addEventListener(e,r,n),()=>document.removeEventListener(e,r,n)},[e,n])}function pu(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!du(l,di.Loose)&&l.tabIndex!==-1&&u.preventDefault(),t(u,l)}}let o=p.useRef(null);kn("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),kn("click",u=>{!o.current||(r(u,()=>o.current),o.current=null)},!0),kn("blur",u=>r(u,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function fi(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 Wn(e,t){let[n,i]=p.useState(()=>fi(e));return Me(()=>{i(fi(e))},[e.type,e.as]),Me(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&i("button")},[n,t]),n}let gi=Symbol();function pi(e,t=!0){return Object.assign(e,{[gi]:t})}function ge(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=J(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[gi]))?void 0:n}function mu({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=dt(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 ft=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(ft||{}),bu=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(bu||{});function ce({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:r,visible:o=!0,name:u}){let a=mi(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}=Yn(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(`
|
|
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
|
+
`)].join(`
|
|
35
|
+
`));return p.cloneElement(l,Object.assign({},mi(l.props,nn(Yn(a,["ref"]))),c,s,vu(l.ref,s.ref)))}return p.createElement(r,Object.assign({},Yn(a,["ref"]),r!==p.Fragment&&s,r!==p.Fragment&&c),l)}function vu(...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 mi(...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 Yn(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function Gt(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&&hu(n)?!1:i}function hu(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function bi(e={},t=null,n=[]){for(let[i,r]of Object.entries(e))Ii(n,hi(t,i),r);return n}function hi(e,t){return e?e+"["+t+"]":t}function Ii(e,t,n){if(Array.isArray(n))for(let[i,r]of n.entries())Ii(e,hi(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,""]):bi(n,t,e)}function yi(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 Iu="div";var gt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(gt||{});let pt=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:Iu,name:"Hidden"})}),Xn=p.createContext(null);Xn.displayName="OpenClosedContext";var yt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yt||{});function Ci(){return p.useContext(Xn)}function yu({value:e,children:t}){return re.default.createElement(Xn.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 xi(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,J(l=>(o||r(l),t==null?void 0:t(l)))]}function Mi(e,t){let n=p.useRef([]),i=J(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 Cu(e,t,n){let i=ct(t);p.useEffect(()=>{function r(o){i.current(o)}return window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)},[e,n])}var Zn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Zn||{});function xu(){let e=p.useRef(0);return Cu("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Ai(){let e=p.useRef(!1);return Me(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function rn(...e){return p.useMemo(()=>dt(...e),[...e])}function Hn(e,t,n,i){let r=ct(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 Mu="div";var Ei=(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))(Ei||{});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;qt()||(u=1);let s=rn(n);Au({ownerDocument:s},Boolean(u&16));let l=Eu({ownerDocument:s,container:n,initialFocus:r},Boolean(u&2));Nu({ownerDocument:s,container:n,containers:o,previousActiveElement:l},Boolean(u&8));let c=xu(),d=J(()=>{let v=n.current;!v||Oe(c.current,{[Zn.Forwards]:()=>Ve(v,Ie.First),[Zn.Backwards]:()=>Ve(v,Ie.Last)})}),g={ref:i};return re.default.createElement(re.default.Fragment,null,Boolean(u&4)&&f(pt,{as:"button",type:"button",onFocus:d,features:gt.Focusable}),ce({ourProps:g,theirProps:a,defaultTag:Mu,name:"FocusTrap"}),Boolean(u&4)&&f(pt,{as:"button",type:"button",onFocus:d,features:gt.Focusable}))}),{features:Ei});function Au({ownerDocument:e},t){let n=p.useRef(null);Hn(e==null?void 0:e.defaultView,"focusout",r=>{!t||n.current||(n.current=r.target)},!0),Mi(()=>{t||((e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&It(n.current),n.current=null)},[t]);let i=p.useRef(!1);p.useEffect(()=>(i.current=!1,()=>{i.current=!0,Pt(()=>{!i.current||(It(n.current),n.current=null)})}),[])}function Eu({ownerDocument:e,container:t,initialFocus:n},i){let r=p.useRef(null),o=Ai();return Mi(()=>{if(!i)return;let u=t.current;!u||Pt(()=>{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?It(n.current):Ve(u,Ie.First)===nt.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),r.current=e==null?void 0:e.activeElement})},[i]),r}function Nu({ownerDocument:e,container:t,containers:n,previousActiveElement:i},r){let o=Ai();Hn(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?wu(a,l)?(i.current=l,It(l)):(u.preventDefault(),u.stopPropagation(),It(s)):It(i.current)},!0)}function wu(e,t){var n;for(let i of e)if((n=i.current)!=null&&n.contains(t))return!0;return!1}let Ct=new Set,rt=new Map;function Ni(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function wi(e){let t=rt.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function Tu(e,t=!0){Me(()=>{if(!t||!e.current)return;let n=e.current,i=dt(n);if(i){Ct.add(n);for(let r of rt.keys())r.contains(n)&&(wi(r),rt.delete(r));return i.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement){for(let o of Ct)if(r.contains(o))return;Ct.size===1&&(rt.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Ni(r))}}),()=>{if(Ct.delete(n),Ct.size>0)i.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement&&!rt.has(r)){for(let o of Ct)if(r.contains(o))return;rt.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Ni(r)}});else for(let r of rt.keys())wi(r),rt.delete(r)}}},[t])}let Ti=p.createContext(!1);function Su(){return p.useContext(Ti)}function Un(e){return re.default.createElement(Ti.Provider,{value:e.force},e.children)}function Du(e){let t=Su(),n=p.useContext(Si),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 Ou=p.Fragment,ju=fe(function(e,t){let n=e,i=p.useRef(null),r=ge(pi(c=>{i.current=c}),t),o=rn(i),u=Du(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,Pt(()=>{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:Dt.createPortal(ce({ourProps:{ref:r},theirProps:n,defaultTag:Ou,name:"Portal"}),a):null}),Pu=p.Fragment,Si=p.createContext(null),Gu=fe(function(e,t){let{target:n,...i}=e,r={ref:ge(t)};return f(Si.Provider,{value:n,children:ce({ourProps:r,theirProps:i,defaultTag:Pu,name:"Popover.Group"})})}),Qn=Object.assign(ju,{Group:Gu}),Di=p.createContext(null);function Oi(){let e=p.useContext(Di);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,Oi),t}return e}function on(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(n){let i=J(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(Di.Provider,{value:r},n.children)},[t])]}let Fu="p",Jn=fe(function(e,t){let n=Oi(),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:Fu,name:n.name||"Description"})}),_n=p.createContext(()=>{});_n.displayName="StackContext";var $n=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))($n||{});function Lu(){return p.useContext(_n)}function zu({children:e,onUpdate:t,type:n,element:i,enabled:r}){let o=Lu(),u=J((...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(_n.Provider,{value:u},e)}function Vu(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var Bu=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Bu||{}),Ru=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Ru||{});let ku={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},an=p.createContext(null);an.displayName="DialogContext";function Lt(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,Lt),n}return t}function Wu(e,t){p.useEffect(()=>{var n;if(!t||!e)return;let i=uu();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(Vu()){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 Yu(e,t){return Oe(t.type,ku,e,t)}let Xu="div",Zu=ft.RenderStrategy|ft.Static,Hu=fe(function(e,t){let{open:n,onClose:i,initialFocus:r,__demoMode:o=!1,...u}=e,[a,s]=p.useState(0),l=Ci();n===void 0&&l!==null&&(n=Oe(l,{[yt.Open]:!0,[yt.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(Yu,{titleId:null,descriptionId:null,panelRef:p.createRef()}),y=J(()=>i(!1)),x=J(z=>A({type:0,id:z})),E=qt()?o?!1:C===0:!1,N=a>1,j=p.useContext(an)!==null,G=N?"parent":"leaf";Tu(d,N?E:!1),pu(()=>{var z,Z;return[...Array.from((z=b==null?void 0:b.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?z:[]).filter(V=>!(!(V instanceof HTMLElement)||V.contains(v.current)||M.panelRef.current&&V.contains(M.panelRef.current))),(Z=M.panelRef.current)!=null?Z:d.current]},y,E&&!N),Hn(b==null?void 0:b.defaultView,"keydown",z=>{z.defaultPrevented||z.key===se.Escape&&C===0&&(N||(z.preventDefault(),z.stopPropagation(),y()))}),Wu(b,C===0&&!j),p.useEffect(()=>{if(C!==0||!d.current)return;let z=new IntersectionObserver(Z=>{for(let V of Z)V.boundingClientRect.x===0&&V.boundingClientRect.y===0&&V.boundingClientRect.width===0&&V.boundingClientRect.height===0&&y()});return z.observe(d.current),()=>z.disconnect()},[C,d,y]);let[S,B]=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]),F={ref:g,id:W,role:"dialog","aria-modal":C===0?!0:void 0,"aria-labelledby":M.titleId,"aria-describedby":S};return re.default.createElement(zu,{type:"Dialog",enabled:C===0,element:d,onUpdate:J((z,Z,V)=>{Z==="Dialog"&&Oe(z,{[$n.Add](){c.current.add(V),s(U=>U+1)},[$n.Remove](){c.current.add(V),s(U=>U-1)}})})},f(Un,{force:!0,children:f(Qn,{children:f(an.Provider,{value:P,children:f(Qn.Group,{target:d,children:f(Un,{force:!1,children:f(B,{slot:w,name:"Dialog.Description",children:f(Ft,{initialFocus:r,containers:c,features:E?Oe(G,{parent:Ft.features.RestoreFocus,leaf:Ft.features.All&~Ft.features.FocusLock}):Ft.features.None,children:ce({ourProps:F,theirProps:u,slot:w,defaultTag:Xu,features:Zu,visible:C===0,name:"Dialog"})})})})})})})}),f(pt,{features:gt.Hidden,ref:v}))}),Uu="div",Qu=fe(function(e,t){let[{dialogState:n,close:i}]=Lt("Dialog.Overlay"),r=ge(t),o=`headlessui-dialog-overlay-${De()}`,u=J(s=>{if(s.target===s.currentTarget){if(Gt(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:Uu,name:"Dialog.Overlay"})}),Ju="div",_u=fe(function(e,t){let[{dialogState:n},i]=Lt("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(Un,{force:!0,children:f(Qn,{children:ce({ourProps:{ref:r,id:o,"aria-hidden":!0},theirProps:e,slot:u,defaultTag:Ju,name:"Dialog.Backdrop"})})})}),$u="div",Ku=fe(function(e,t){let[{dialogState:n},i]=Lt("Dialog.Panel"),r=ge(t,i.panelRef),o=`headlessui-dialog-panel-${De()}`,u=p.useMemo(()=>({open:n===0}),[n]),a=J(s=>{s.stopPropagation()});return ce({ourProps:{ref:r,id:o,onClick:a},theirProps:e,slot:u,defaultTag:$u,name:"Dialog.Panel"})}),qu="h2",es=fe(function(e,t){let[{dialogState:n,setTitleId:i}]=Lt("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:qu,name:"Dialog.Title"})}),ji=Object.assign(Hu,{Backdrop:_u,Panel:Ku,Overlay:Qu,Title:es,Description:Jn});var ts=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ts||{}),ns=(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))(ns||{});let rs={[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}}},Kn=p.createContext(null);Kn.displayName="DisclosureContext";function qn(e){let t=p.useContext(Kn);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,qn),n}return t}let er=p.createContext(null);er.displayName="DisclosureAPIContext";function Pi(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,Pi),n}return t}let tr=p.createContext(null);tr.displayName="DisclosurePanelContext";function is(){return p.useContext(tr)}function os(e,t){return Oe(t.type,rs,e,t)}let as=p.Fragment,us=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,pi(C=>{u.current=C},e.as===void 0||e.as===p.Fragment)),s=p.useRef(null),l=p.useRef(null),c=p.useReducer(os,{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=J(C=>{g({type:1});let M=dt(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(Kn.Provider,{value:c},re.default.createElement(er.Provider,{value:b},re.default.createElement(yu,{value:Oe(d,{[0]:yt.Open,[1]:yt.Closed})},ce({ourProps:I,theirProps:i,slot:h,defaultTag:as,name:"Disclosure"}))))}),ss="button",ls=fe(function(e,t){let[n,i]=qn("Disclosure.Button"),r=is(),o=r===null?!1:r===n.panelId,u=p.useRef(null),a=ge(u,t,o?null:n.buttonRef),s=J(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=J(h=>{switch(h.key){case se.Space:h.preventDefault();break}}),c=J(h=>{var I;Gt(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=Wn(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:ss,name:"Disclosure.Button"})}),cs="div",ds=ft.RenderStrategy|ft.Static,fs=fe(function(e,t){let[n,i]=qn("Disclosure.Panel"),{close:r}=Pi("Disclosure.Panel"),o=ge(t,n.panelRef,d=>{i({type:d?4:5})}),u=Ci(),a=(()=>u!==null?u===yt.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(tr.Provider,{value:n.panelId,children:ce({ourProps:c,theirProps:l,slot:s,defaultTag:cs,features:ds,visible:a,name:"Disclosure.Panel"})})}),nr=Object.assign(us,{Button:ls,Panel:fs});function gs(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 Gi=p.createContext(null);function Fi(){let e=p.useContext(Gi);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,Fi),t}return e}function rr(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(n){let i=J(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 ps="label",Li=fe(function(e,t){let{passive:n=!1,...i}=e,r=Fi(),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:ps,name:r.name||"Label"})});var ms=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(ms||{});let bs={[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})}},ir=p.createContext(null);ir.displayName="RadioGroupContext";function zi(e){let t=p.useContext(ir);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,zi),n}return t}function vs(e,t){return Oe(t.type,bs,e,t)}let hs="div",Is=fe(function(e,t){let{value:n,defaultValue:i,name:r,onChange:o,by:u=(w,F)=>w===F,disabled:a=!1,...s}=e,l=J(typeof u=="string"?(w,F)=>{let z=u;return(w==null?void 0:w[z])===(F==null?void 0:F[z])}:u),[c,d]=p.useReducer(vs,{options:[]}),g=c.options,[v,b]=rr(),[h,I]=on(),C=`headlessui-radiogroup-${De()}`,M=p.useRef(null),A=ge(M,t),[y,x]=xi(n,o,i),E=p.useMemo(()=>g.find(w=>!w.propsRef.current.disabled),[g]),N=p.useMemo(()=>g.some(w=>l(w.propsRef.current.value,y)),[g,y]),j=J(w=>{var F;if(a||l(w,y))return!1;let z=(F=g.find(Z=>l(Z.propsRef.current.value,w)))==null?void 0:F.propsRef.current;return z!=null&&z.disabled?!1:(x==null||x(w),!0)});mu({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 G=J(w=>{let F=M.current;if(!F)return;let z=dt(F),Z=g.filter(V=>V.propsRef.current.disabled===!1).map(V=>V.element.current);switch(w.key){case se.Enter:yi(w.currentTarget);break;case se.ArrowLeft:case se.ArrowUp:if(w.preventDefault(),w.stopPropagation(),Ve(Z,Ie.Previous|Ie.WrapAround)===nt.Success){let V=g.find(U=>U.element.current===(z==null?void 0:z.activeElement));V&&j(V.propsRef.current.value)}break;case se.ArrowRight:case se.ArrowDown:if(w.preventDefault(),w.stopPropagation(),Ve(Z,Ie.Next|Ie.WrapAround)===nt.Success){let V=g.find(U=>U.element.current===(z==null?void 0:z.activeElement));V&&j(V.propsRef.current.value)}break;case se.Space:{w.preventDefault(),w.stopPropagation();let V=g.find(U=>U.element.current===(z==null?void 0:z.activeElement));V&&j(V.propsRef.current.value)}break}}),S=J(w=>(d({type:0,...w}),()=>d({type:1,id:w.id}))),B=p.useMemo(()=>({registerOption:S,firstOption:E,containsCheckedOption:N,change:j,disabled:a,value:y,compare:l}),[S,E,N,j,a,y,l]),W={ref:A,id:C,role:"radiogroup","aria-labelledby":v,"aria-describedby":h,onKeyDown:G},P=p.useMemo(()=>({value:y}),[y]);return f(I,{name:"RadioGroup.Description",children:f(b,{name:"RadioGroup.Label",children:k(ir.Provider,{value:B,children:[r!=null&&y!=null&&bi({[r]:y}).map(([w,F])=>re.default.createElement(pt,{features:gt.Hidden,...nn({key:w,as:"input",type:"radio",checked:F!=null,hidden:!0,readOnly:!0,name:w,value:F})})),ce({ourProps:W,theirProps:s,slot:P,defaultTag:hs,name:"RadioGroup"})]})})})});var ys=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(ys||{});let Cs="div",xs=fe(function(e,t){let n=p.useRef(null),i=ge(n,t),r=`headlessui-radiogroup-option-${De()}`,[o,u]=rr(),[a,s]=on(),{addFlag:l,removeFlag:c,hasFlag:d}=gs(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:E}=zi("RadioGroup.Option");Me(()=>I({id:r,element:n,propsRef:h}),[r,I,n,e]);let N=J(F=>{var z;if(Gt(F.currentTarget))return F.preventDefault();!M(g)||(l(2),(z=n.current)==null||z.focus())}),j=J(F=>{if(Gt(F.currentTarget))return F.preventDefault();l(2)}),G=J(()=>c(2)),S=(A==null?void 0:A.id)===r,B=C||v,W=E(x,g),P={ref:i,id:r,role:"radio","aria-checked":W?"true":"false","aria-labelledby":o,"aria-describedby":a,"aria-disabled":B?!0:void 0,tabIndex:(()=>B?-1:W||!y&&S?0:-1)(),onClick:B?void 0:N,onFocus:B?void 0:j,onBlur:B?void 0:G},w=p.useMemo(()=>({checked:W,disabled:B,active:d(2)}),[W,B,d]);return f(s,{name:"RadioGroup.Description",children:f(u,{name:"RadioGroup.Label",children:ce({ourProps:P,theirProps:b,slot:w,defaultTag:Cs,name:"RadioGroup.Option"})})})}),Vi=Object.assign(Is,{Option:xs,Label:Li,Description:Jn}),or=p.createContext(null);or.displayName="GroupContext";let Ms=p.Fragment;function As(e){let[t,n]=p.useState(null),[i,r]=rr(),[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(or.Provider,{value:a},ce({ourProps:s,theirProps:l,defaultTag:Ms,name:"Switch.Group"}))))}let Es="button",Ns=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(or),c=p.useRef(null),d=ge(c,t,l===null?null:l.setSwitch),[g,v]=xi(n,r,i),b=J(()=>v==null?void 0:v(!g)),h=J(y=>{if(Gt(y.currentTarget))return y.preventDefault();y.preventDefault(),b()}),I=J(y=>{y.key===se.Space?(y.preventDefault(),b()):y.key===se.Enter&&yi(y.currentTarget)}),C=J(y=>y.preventDefault()),M=p.useMemo(()=>({checked:g}),[g]),A={id:s,ref:d,role:"switch",type:Wn(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(pt,{features:gt.Hidden,...nn({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:g,name:o,value:u})}),ce({ourProps:A,theirProps:a,slot:M,defaultTag:Es,name:"Switch"}))}),ws=Object.assign(Ns,{Group:As,Label:Li,Description:Jn});function Ts({onFocus:e}){let[t,n]=p.useState(!0);return t?re.default.createElement(pt,{as:"button",type:"button",features:gt.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 Ss=(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))(Ss||{});let Ds={[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)}}},ar=p.createContext(null);ar.displayName="TabsSSRContext";function ur(e){let t=p.useContext(ar);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ur),n}return t}let sr=p.createContext(null);sr.displayName="TabsDataContext";function xt(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,xt),n}return t}let lr=p.createContext(null);lr.displayName="TabsActionsContext";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}function Os(e,t){return Oe(t.type,Ds,e,t)}let js=p.Fragment,Ps=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(Os,{selectedIndex:u!=null?u:n,tabs:[],panels:[]}),b=p.useMemo(()=>({selectedIndex:g.selectedIndex}),[g.selectedIndex]),h=ct(o||(()=>{})),I=ct(g.tabs),C=p.useMemo(()=>({orientation:s,activation:l,...g}),[s,l,g]),M=ct(c?e.selectedIndex:g.selectedIndex),A=p.useMemo(()=>({registerTab(E){return v({type:1,tab:E}),()=>v({type:2,tab:E})},registerPanel(E){return v({type:3,panel:E}),()=>v({type:4,panel:E})},change(E){M.current!==E&&h.current(E),c||v({type:0,index:E})}}),[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(ar.Provider,{value:y},re.default.createElement(lr.Provider,{value:A},re.default.createElement(sr.Provider,{value:C},C.tabs.length<=0&&re.default.createElement(Ts,{onFocus:()=>{var E,N;for(let j of I.current)if(((E=j.current)==null?void 0:E.tabIndex)===0)return(N=j.current)==null||N.focus(),!0;return!1}}),ce({ourProps:x,theirProps:a,slot:b,defaultTag:js,name:"Tabs"}))))}),Gs="div",Fs=fe(function(e,t){let{orientation:n,selectedIndex:i}=xt("Tab.List"),r=ge(t);return ce({ourProps:{ref:r,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:i},defaultTag:Gs,name:"Tabs.List"})}),Ls="button",zs=fe(function(e,t){var n,i;let r=`headlessui-tabs-tab-${De()}`,{orientation:o,activation:u,selectedIndex:a,tabs:s,panels:l}=xt("Tab"),c=cr("Tab"),d=xt("Tab"),g=ur("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=J(S=>{var B;let W=S();if(W===nt.Success&&u==="auto"){let P=(B=dt(v))==null?void 0:B.activeElement,w=d.tabs.findIndex(F=>F.current===P);w!==-1&&c.change(w)}return W}),A=J(S=>{let B=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(()=>Ve(B,Ie.First));case se.End:case se.PageDown:return S.preventDefault(),S.stopPropagation(),M(()=>Ve(B,Ie.Last))}if(M(()=>Oe(o,{vertical(){return S.key===se.ArrowUp?Ve(B,Ie.Previous|Ie.WrapAround):S.key===se.ArrowDown?Ve(B,Ie.Next|Ie.WrapAround):nt.Error},horizontal(){return S.key===se.ArrowLeft?Ve(B,Ie.Previous|Ie.WrapAround):S.key===se.ArrowRight?Ve(B,Ie.Next|Ie.WrapAround):nt.Error}}))===nt.Success)return S.preventDefault()}),y=p.useRef(!1),x=J(()=>{var S;y.current||(y.current=!0,(S=v.current)==null||S.focus(),c.change(I),Pt(()=>{y.current=!1}))}),E=J(S=>{S.preventDefault()}),N=p.useMemo(()=>({selected:C}),[C]),j=e,G={ref:b,onKeyDown:A,onMouseDown:E,onClick:x,id:r,role:"tab",type:Wn(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:G,theirProps:j,slot:N,defaultTag:Ls,name:"Tabs.Tab"})}),Vs="div",Bs=fe(function(e,t){let{selectedIndex:n}=xt("Tab.Panels"),i=ge(t),r=p.useMemo(()=>({selectedIndex:n}),[n]);return ce({ourProps:{ref:i},theirProps:e,slot:r,defaultTag:Vs,name:"Tabs.Panels"})}),Rs="div",ks=ft.RenderStrategy|ft.Static,Ws=fe(function(e,t){var n,i,r,o;let{selectedIndex:u,tabs:a,panels:s}=xt("Tab.Panel"),l=cr("Tab.Panel"),c=ur("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(pt,{as:"span",...A}):ce({ourProps:A,theirProps:M,slot:C,defaultTag:Rs,features:ks,visible:I,name:"Tabs.Panel"})}),zt=Object.assign(zs,{Group:Ps,List:Fs,Panels:Bs,Panel:Ws});function Ys({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(ws,{name:i,checked:o,onChange:a,as:p.Fragment,...r,children:({checked:l})=>k("button",{disabled:n,className:R("relative inline-flex h-6 w-12 items-center rounded-full",s({checked:l})),children:[f("span",{className:"sr-only"}),f("span",{className:R("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=R({"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:R(o,n,i==="pointer"?"cursor-pointer":"","inline"),...r,children:e})}function Xe({kind:e,color:t,...n}){const i=R({"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=R(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 k(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(Ye,{})}}function Bi(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function Vt(e){return e.split("-")[0]}function un(e){return e.split("-")[1]}function Bt(e){return["top","bottom"].includes(Vt(e))?"x":"y"}function dr(e){return e==="y"?"height":"width"}function Ri(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=Bt(t),s=dr(a),l=i[s]/2-r[s]/2,c=Vt(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 Xs=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}=Ri(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}=Ri(l,g,s)),h=-1;continue}}return{x:c,y:d,placement:g,strategy:r,middlewareData:v}};function Zs(e){return{top:0,right:0,bottom:0,left:0,...e}}function ki(e){return typeof e!="number"?Zs(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 Wi(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=ki(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 Hs=Math.min,Us=Math.max;function fr(e,t,n){return Us(e,Hs(t,n))}const Yi=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=ki(i),c={x:r,y:o},d=Bt(u),g=un(u),v=dr(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,E=l[h],N=y-b[v]-l[I],j=y/2-b[v]/2+x,G=fr(E,j,N),W=(g==="start"?l[h]:l[I])>0&&j!==G&&a.reference[v]<=a.floating[v]?j<E?E-j:N-j:0;return{[d]:c[d]-W,data:{[d]:G,centerOffset:j-G}}}}),Qs={left:"right",right:"left",bottom:"top",top:"bottom"};function ln(e){return e.replace(/left|right|bottom|top/g,t=>Qs[t])}function Js(e,t,n){n===void 0&&(n=!1);const i=un(e),r=Bt(e),o=dr(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 _s={start:"end",end:"start"};function Xi(e){return e.replace(/start|end/g,t=>_s[t])}function $s(e){const t=ln(e);return[Xi(e),t,Xi(t)]}const Ks=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=Vt(i),C=d||(h===u||!v?[ln(u)]:$s(u)),M=[u,...C],A=await Wi(t,b),y=[];let x=((n=r.flip)==null?void 0:n.overflows)||[];if(l&&y.push(A[h]),c){const{main:G,cross:S}=Js(i,o,await(a.isRTL==null?void 0:a.isRTL(s.floating)));y.push(A[G],A[S])}if(x=[...x,{placement:i,overflows:y}],!y.every(G=>G<=0)){var E,N;const G=((E=(N=r.flip)==null?void 0:N.index)!=null?E:0)+1,S=M[G];if(S)return{data:{index:G,overflows:x},reset:{placement:S}};let B="bottom";switch(g){case"bestFit":{var j;const W=(j=x.map(P=>[P,P.overflows.filter(w=>w>0).reduce((w,F)=>w+F,0)]).sort((P,w)=>P[1]-w[1])[0])==null?void 0:j[0].placement;W&&(B=W);break}case"initialPlacement":B=u;break}if(i!==B)return{reset:{placement:B}}}return{}}}};async function qs(e,t){const{placement:n,platform:i,elements:r}=e,o=await(i.isRTL==null?void 0:i.isRTL(r.floating)),u=Vt(n),a=un(n),s=Bt(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 el=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,r=await qs(t,e);return{x:n+r.x,y:i+r.y,data:r}}}};function tl(e){return e==="x"?"y":"x"}const nl=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 Wi(t,s),d=Bt(Vt(r)),g=tl(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=fr(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=fr(M,b,A)}const h=a.fn({...t,[d]:v,[g]:b});return{...h,data:{x:h.x-n,y:h.y-i}}}}};function Zi(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Qe(e){if(e==null)return window;if(!Zi(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Je(e){return Qe(e).getComputedStyle(e)}function it(e){return Zi(e)?"":e?(e.nodeName||"").toLowerCase():""}function Hi(){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 rl(e){return e instanceof Qe(e).Node}function Ui(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 il(e){return["table","td","th"].includes(it(e))}function gr(e){const t=/firefox/i.test(Hi()),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 Qi(){return!/^((?!chrome|android).)*safari/i.test(Hi())}function pr(e){return["html","body","#document"].includes(it(e))}const Ji=Math.min,Rt=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=!Qi()&&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 ot(e){return((rl(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 _i(e){return Ke(ot(e)).left+fn(e).scrollLeft}function ol(e){const t=Ke(e);return dn(t.width)!==e.offsetWidth||dn(t.height)!==e.offsetHeight}function al(e,t,n){const i=_e(t),r=ot(t),o=Ke(e,i&&ol(t),n==="fixed");let u={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&n!=="fixed")if((it(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=_i(r));return{x:o.left+u.scrollLeft-a.x,y:o.top+u.scrollTop-a.y,width:o.width,height:o.height}}function kt(e){if(it(e)==="html")return e;const t=e.assignedSlot||e.parentNode||(Ui(e)?e.host:null)||ot(e);return Ui(t)?t.host:t}function $i(e){return!_e(e)||Je(e).position==="fixed"?null:e.offsetParent}function ul(e){let t=kt(e);for(;_e(t)&&!pr(t);){if(gr(t))return t;t=kt(t)}return null}function Ki(e){const t=Qe(e);let n=$i(e);for(;n&&il(n)&&Je(n).position==="static";)n=$i(n);return n&&(it(n)==="html"||it(n)==="body"&&Je(n).position==="static"&&!gr(n))?t:n||ul(e)||t}function sl(e){if(_e(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ke(e);return{width:t.width,height:t.height}}function ll(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=_e(n),o=ot(n);if(n===o)return t;let u={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&i!=="fixed")&&((it(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 cl(e,t){const n=Qe(e),i=ot(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=Qi();(l||!l&&t==="fixed")&&(a=r.offsetLeft,s=r.offsetTop)}return{width:o,height:u,x:a,y:s}}function dl(e){var t;const n=ot(e),i=fn(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Rt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=Rt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-i.scrollLeft+_i(e);const s=-i.scrollTop;return Je(r||n).direction==="rtl"&&(a+=Rt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:u,x:a,y:s}}function qi(e){const t=kt(e);return pr(t)?e.ownerDocument.body:_e(t)&&cn(t)?t:qi(t)}function at(e,t){var n;t===void 0&&(t=[]);const i=qi(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(at(u))}function fl(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 eo(e,t,n){return t==="viewport"?sn(cl(e,n)):$e(t)?fl(t,n):sn(dl(ot(e)))}function gl(e){let t=at(e).filter(o=>$e(o)&&it(o)!=="body"),n=null;const i=Je(e).position==="fixed";let r=i?kt(e):e;for(;$e(r)&&!pr(r);){const o=Je(r),u=gr(r);(i?!u&&!n:!u&&o.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?t=t.filter(s=>s!==r):n=o,r=kt(r)}return t}function pl(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const u=[...n==="clippingAncestors"?gl(t):[].concat(n),i],a=u[0],s=u.reduce((l,c)=>{const d=eo(t,c,r);return l.top=Rt(d.top,l.top),l.right=Ji(d.right,l.right),l.bottom=Ji(d.bottom,l.bottom),l.left=Rt(d.left,l.left),l},eo(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const ml={getClippingRect:pl,convertOffsetParentRelativeRectToViewportRelativeRect:ll,isElement:$e,getDimensions:sl,getOffsetParent:Ki,getDocumentElement:ot,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||Ki,o=this.getDimensions;return{reference:al(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 to(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)?at(e):e.contextElement?at(e.contextElement):[],...at(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 bl=(e,t,n)=>Xs(e,t,{platform:ml,...n});var mr=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 vl(e){const t=O.useRef(e);return mr(()=>{t.current=e}),t}function hl(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=vl(r),b=O.useCallback(()=>{!l.current||!c.current||bl(l.current,c.current,{middleware:a,placement:n,strategy:i}).then(y=>{h.current&&!gn(g.current,y)&&(g.current=y,Ka.flushSync(()=>{u(y)}))})},[a,n,i]);mr(()=>{h.current&&b()},[b]);const h=O.useRef(!1);mr(()=>(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 Il=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?Yi({element:t.current,padding:n}).fn(r):{}:t?Yi({element:t,padding:n}).fn(r):{}}}};var mt=typeof document<"u"?p.useLayoutEffect:p.useEffect;function yl(){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 br=!1,Cl=0;const no=()=>"floating-ui-"+Cl++;function xl(){const[e,t]=O.useState(()=>br?no():void 0);return mt(()=>{e==null&&t(no())},[]),O.useEffect(()=>{br||(br=!0)},[]),e}const ro=O["useId".toString()],io=ro!=null?ro:xl,Ml=O.createContext(null),Al=O.createContext(null),oo=()=>{var e,t;return(e=(t=O.useContext(Ml))==null?void 0:t.id)!=null?e:null},vr=()=>O.useContext(Al);function ut(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function ao(e){var t;return(t=ut(e).defaultView)!=null?t:window}function bt(e){return e?e instanceof ao(e).Element:!1}function El(e){return e?e instanceof ao(e).HTMLElement:!1}const uo=O["useInsertionEffect".toString()];function Nl(e){const t=O.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return uo?uo(()=>{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 wl(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=vr(),d=O.useRef(null),g=O.useRef({}),v=O.useState(()=>yl())[0],b=hl({placement:r,middleware:o,strategy:u,whileElementsMounted:i}),h=Nl(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]);mt(()=>{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=>{(bt(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 hr(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 Tl=function(e){e===void 0&&(e=[]);const t=e,n=O.useCallback(o=>hr(o,e,"reference"),t),i=O.useCallback(o=>hr(o,e,"floating"),t),r=O.useCallback(o=>hr(o,e,"item"),t);return O.useMemo(()=>({getReferenceProps:n,getFloatingProps:i,getItemProps:r}),[n,i,r])};function Ir(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 so="floating-ui-root",Sl=function(e){let{id:t=so,enabled:n=!0}=e===void 0?{}:e;const[i,r]=O.useState(null);return mt(()=>{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},Dl=e=>{let{children:t,id:n=so,root:i=null}=e;const r=Sl({id:n,enabled:!i});return i?Dt.createPortal(t,i):r?Dt.createPortal(t,r):null};function Ol(e){return"composedPath"in e?e.composedPath()[0]:e.target}function lo(e){const t=p.useRef(e);return mt(()=>{t.current=e}),t}function jl(e){const t=p.useRef();return mt(()=>{t.current=e},[e]),t.current}function yr(e,t,n){return n&&n!=="mouse"?0:typeof e=="number"?e:e==null?void 0:e[t]}const Pl=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=vr(),h=oo(),I=lo(r),C=lo(i),M=jl(s),A=O.useRef(),y=O.useRef(),x=O.useRef(),E=O.useRef(),N=O.useRef(!0),j=O.useRef(!1),G=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(E.current),N.current=!0}return d.on("dismiss",P),()=>{d.off("dismiss",P)}},[n,d,g]),O.useEffect(()=>{if(!n||!I.current)return;function P(){G()&&l(!1)}const w=ut(g.floating.current).documentElement;return w.addEventListener("mouseleave",P),()=>{w.removeEventListener("mouseleave",P)}},[g,l,n,I,c,G]);const S=O.useCallback(function(P){P===void 0&&(P=!0);const w=yr(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]),B=O.useCallback(()=>{x.current&&(ut(g.floating.current).removeEventListener("pointermove",x.current),x.current=void 0)},[g]),W=O.useCallback(()=>{ut(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),N.current=!1,o&&A.current!=="mouse"||u>0&&yr(C.current,"open")===0)return;c.current.openEvent=U;const de=yr(C.current,"open",A.current);de?y.current=setTimeout(()=>{l(!0)},de):l(!0)}function F(U){if(P())return;const de=ut(g.floating.current);if(clearTimeout(E.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(),B(),S()}}),de.addEventListener("pointermove",x.current);return}S()}function z(U){P()||I.current==null||I.current({...e,tree:b,x:U.clientX,y:U.clientY,leave:!0,onClose(){W(),B(),S()}})(U)}const Z=g.floating.current,V=g.domReference.current;if(bt(V))return s&&V.addEventListener("mouseleave",z),Z==null||Z.addEventListener("mouseleave",z),a&&V.addEventListener("mousemove",w,{once:!0}),V.addEventListener("mouseenter",w),V.addEventListener("mouseleave",F),()=>{s&&V.removeEventListener("mouseleave",z),Z==null||Z.removeEventListener("mouseleave",z),a&&V.removeEventListener("mousemove",w),V.removeEventListener("mouseenter",w),V.removeEventListener("mouseleave",F)}},[v.domReference,n,e,o,u,a,S,B,W,l,s,b,g,C,I,c]),mt(()=>{if(!!n&&s&&I.current&&I.current.__options.blockPointerEvents&&G()){ut(g.floating.current).body.style.pointerEvents="none",j.current=!0;const F=g.domReference.current,z=g.floating.current;if(bt(F)&&z){var P,w;const Z=b==null||(P=b.nodesRef.current.find(V=>V.id===h))==null||(w=P.context)==null?void 0:w.refs.floating.current;return Z&&(Z.style.pointerEvents=""),F.style.pointerEvents="auto",z.style.pointerEvents="auto",()=>{F.style.pointerEvents="",z.style.pointerEvents=""}}}},[n,s,h,g,b,I,c,G]),mt(()=>{M&&!s&&(A.current=void 0,B(),W())}),O.useEffect(()=>()=>{B(),clearTimeout(y.current),clearTimeout(E.current),j.current&&W()},[n,B,W]),O.useMemo(()=>{if(!n)return{};function P(w){A.current=w.pointerType}return{reference:{onPointerDown:P,onPointerEnter:P,onMouseMove(){s||u===0||(clearTimeout(E.current),E.current=setTimeout(()=>{N.current||l(!0)},u))}},floating:{onMouseEnter(){clearTimeout(y.current)},onMouseLeave(){S(!1)}}}},[n,u,s,l,S])},Gl=function(e,t){let{open:n}=e,{enabled:i=!0,role:r="dialog"}=t===void 0?{}:t;const o=io(),u=io();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 Cr(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 Fl={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Ll={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},zl=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=vr(),I=oo()!=null,C=O.useRef(!1);return O.useEffect(()=>{if(!n||!a)return;function M(N){if(N.key==="Escape"){if(!b&&h&&Ir(h.nodesRef.current,u).length>0)return;o.emit("dismiss",{preventScroll:!1}),i(!1)}}function A(N){const j=C.current;if(C.current=!1,j)return;const G=Ol(N);if(bt(G)&&r.floating.current){var S;const W=(S=r.floating.current.ownerDocument.defaultView)!=null?S:window,P=G.scrollWidth>G.clientWidth,w=G.scrollHeight>G.clientHeight;let F=w&&N.offsetX>G.clientWidth;if(w&&W.getComputedStyle(G).direction==="rtl"&&(F=N.offsetX<=G.offsetWidth-G.clientWidth),F||P&&N.offsetY>G.clientHeight)return}const B=h&&Ir(h.nodesRef.current,u).some(W=>{var P;return Cr(N,(P=W.context)==null?void 0:P.refs.floating.current)});Cr(N,r.floating.current)||Cr(N,r.domReference.current)||B||!b&&h&&Ir(h.nodesRef.current,u).length>0||(o.emit("dismiss",I?{preventScroll:!0}:!1),i(!1))}function y(){i(!1)}const x=ut(r.floating.current);s&&x.addEventListener("keydown",M),l&&x.addEventListener(c,A);let E=[];return v&&(bt(r.domReference.current)&&(E=at(r.domReference.current)),bt(r.floating.current)&&(E=E.concat(at(r.floating.current))),!bt(r.reference.current)&&r.reference.current&&r.reference.current.contextElement&&(E=E.concat(at(r.reference.current.contextElement)))),E=E.filter(N=>{var j;return N!==((j=x.defaultView)==null?void 0:j.visualViewport)}),E.forEach(N=>{N.addEventListener("scroll",y,{passive:!0})}),()=>{s&&x.removeEventListener("keydown",M),l&&x.removeEventListener(c,A),E.forEach(N=>{N.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:{[Fl[g]]:()=>{d&&(o.emit("dismiss"),i(!1))}},floating:{[Ll[c]]:()=>{C.current=!0}}}:{},[a,o,d,c,g,i])},Vl=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=ut(o.floating.current).defaultView)!=null?g:window;function h(){!n&&El(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])},Bl=O.forwardRef((e,t)=>{var a,s;const{state:n,children:i,...r}=e,o=O.useMemo(()=>Bi([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(Dl,{children:n.open&&k("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()]})})}),Rl=O.forwardRef((e,t)=>{const{children:n,state:i,asChild:r=!1,...o}=e,u=n.ref,a=O.useMemo(()=>Bi([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 kl(e){const{initialOpen:t=!1,placement:n}=e,i=p.useRef(null),[r,o]=p.useState(t),u=[el(8),Ks({padding:5}),nl({padding:5}),Il({element:i,padding:5})],s=wl({placement:n,open:r,onOpenChange:o,whileElementsMounted:to,middleware:u}),l=s.context,c=Pl(l,{move:!1}),d=Vl(l),g=zl(l),v=Gl(l,{role:"tooltip"}),b=Tl([c,d,g,v]);return p.useMemo(()=>({open:r,setOpen:o,arrowRef:i,...b,...s}),[r,o,b,s,i])}function Wl({placement:e="bottom",title:t,description:n,initialOpen:i=!1,children:r}){const o=kl({initialOpen:i,placement:e});return k(Ye,{children:[f(Rl,{state:o,children:r}),k(Bl,{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(K,{variant:"highlight",color:"default",className:"mb-1",children:t}),f(K,{variant:"body",color:"subdued",children:n})]})]})}const rg="";function co({id:e,name:t,isDisabled:n,value:i,label:r,helpText:o,onChange:u,...a}){return f(Ye,{children:k("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:R("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&&k("div",{className:"flex flex-col items-start justify-center",children:[f(K,{as:"label",variant:"body",className:"break-words",htmlFor:e,color:n?"disabled":"default",children:r}),o&&f(K,{variant:"body",className:"mt-1",htmlFor:e,color:n?"disabled":"subdued",children:o})]})]})})}function Yl({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 k("div",{className:R("flex min-w-[54px] flex-col items-center justify-center gap-x-1",!t&&"cursor-pointer"),...r,children:[f("span",{className:R("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(K,{variant:"highlight",color:"on",className:"select-none",children:e})})}),f(K,{variant:"button",color:u(),className:R("select-none",!t&&"hover:text-letter-default active:text-letter-default"),children:i})]})}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fo(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?fo(Object(n),!0).forEach(function(i){Be(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Xl(e){if(Array.isArray(e))return e}function Zl(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 xr(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 go(e,t){if(!!e){if(typeof e=="string")return xr(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 xr(e,t)}}function Hl(){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 Xl(e)||Zl(e,t)||go(e,t)||Hl()}function Ul(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 vt(e,t){if(e==null)return{};var n=Ul(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 po(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,b=vt(e,Ql),h=p.useState(a!==void 0?a:n),I=ye(h,2),C=I[0],M=I[1],A=p.useState(s!==void 0?s:r),y=ye(A,2),x=y[0],E=y[1],N=p.useState(v!==void 0?v:u),j=ye(N,2),G=j[0],S=j[1],B=p.useCallback(function(V,U){typeof l=="function"&&l(V,U),S(V)},[l]),W=p.useCallback(function(V,U){var de;typeof c=="function"&&(de=c(V,U)),M(de!==void 0?de:V)},[c]),P=p.useCallback(function(){typeof g=="function"&&g(),E(!0)},[g]),w=p.useCallback(function(){typeof d=="function"&&d(),E(!1)},[d]),F=a!==void 0?a:C,z=s!==void 0?s:x,Z=v!==void 0?v:G;return ie(ie({},b),{},{inputValue:F,menuIsOpen:z,onChange:B,onInputChange:W,onMenuClose:w,onMenuOpen:P,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 Jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(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 _l(e,t,n){return t&&mo(e.prototype,t),n&&mo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Mr(e,t){return Mr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i},Mr(e,t)}function $l(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&&Mr(e,t)}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function Kl(){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 mn(e){return mn=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},mn(e)}function ql(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ec(e,t){if(t&&(mn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ql(e)}function tc(e){var t=Kl();return function(){var i=pn(e),r;if(t){var o=pn(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return ec(this,r)}}function nc(e){if(Array.isArray(e))return xr(e)}function rc(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ic(){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 bo(e){return nc(e)||rc(e)||go(e)||ic()}function oc(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 ac(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 uc=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(ac(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=oc(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-",bn="-moz-",_="-webkit-",Ar="comm",Er="rule",Nr="decl",sc="@import",vo="@keyframes",lc=Math.abs,vn=String.fromCharCode,cc=Object.assign;function dc(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 ho(e){return e.trim()}function fc(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,n){return e.replace(t,n)}function wr(e,t){return e.indexOf(t)}function Ae(e,t){return e.charCodeAt(t)|0}function Wt(e,t,n){return e.slice(t,n)}function Ze(e){return e.length}function Tr(e){return e.length}function hn(e,t){return t.push(e),e}function gc(e,t){return e.map(t).join("")}var In=1,Mt=1,Io=0,je=0,be=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:Mt,length:u,return:""}}function Yt(e,t){return cc(yn("",null,null,"",null,null,0),e,{length:-e.length},t)}function pc(){return be}function mc(){return be=je>0?Ae(At,--je):0,Mt--,be===10&&(Mt=1,In--),be}function Ge(){return be=je<Io?Ae(At,je++):0,Mt++,be===10&&(Mt=1,In++),be}function He(){return Ae(At,je)}function Cn(){return je}function Xt(e,t){return Wt(At,e,t)}function Zt(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 yo(e){return In=Mt=1,Io=Ze(At=e),je=0,[]}function Co(e){return At="",e}function xn(e){return ho(Xt(je-1,Sr(e===91?e+2:e===40?e+1:e)))}function bc(e){for(;(be=He())&&be<33;)Ge();return Zt(e)>2||Zt(be)>3?"":" "}function vc(e,t){for(;--t&&Ge()&&!(be<48||be>102||be>57&&be<65||be>70&&be<97););return Xt(e,Cn()+(t<6&&He()==32&&Ge()==32))}function Sr(e){for(;Ge();)switch(be){case e:return je;case 34:case 39:e!==34&&e!==39&&Sr(be);break;case 40:e===41&&Sr(e);break;case 92:Ge();break}return je}function hc(e,t){for(;Ge()&&e+be!==47+10;)if(e+be===42+42&&He()===47)break;return"/*"+Xt(t,je-1)+"*"+vn(e===47?e:Ge())}function Ic(e){for(;!Zt(He());)Ge();return Xt(e,je)}function yc(e){return Co(Mn("",null,null,null,[""],e=yo(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,E=i,N=A;I;)switch(b=M,M=Ge()){case 40:if(b!=108&&Ae(N,d-1)==58){wr(N+=q(xn(M),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:N+=xn(M);break;case 9:case 10:case 13:case 32:N+=bc(b);break;case 92:N+=vc(Cn()-1,7);continue;case 47:switch(He()){case 42:case 47:hn(Cc(hc(Ge(),Cn()),t,n),s);break;default:N+="/"}break;case 123*h:a[l++]=Ze(N)*C;case 125*h:case 59:case 0:switch(M){case 0:case 125:I=0;case 59+c:v>0&&Ze(N)-d&&hn(v>32?Mo(N+";",i,n,d-1):Mo(q(N," ","")+";",i,n,d-2),s);break;case 59:N+=";";default:if(hn(E=xo(N,t,n,l,c,r,a,A,y=[],x=[],d),o),M===123)if(c===0)Mn(N,t,E,E,y,o,d,a,x);else switch(g===99&&Ae(N,3)===110?100:g){case 100:case 109:case 115:Mn(e,E,E,i&&hn(xo(e,E,E,0,0,r,a,A,r,y=[],d),x),r,x,d,a,i?y:x);break;default:Mn(N,E,E,E,[""],x,0,a,x)}}l=c=v=0,h=C=1,A=N="",d=u;break;case 58:d=1+Ze(N),v=b;default:if(h<1){if(M==123)--h;else if(M==125&&h++==0&&mc()==125)continue}switch(N+=vn(M),M*h){case 38:C=c>0?1:(N+="\f",-1);break;case 44:a[l++]=(Ze(N)-1)*C,C=1;break;case 64:He()===45&&(N+=xn(Ge())),g=He(),c=d=Ze(A=N+=Ic(Cn())),M++;break;case 45:b===45&&Ze(N)==2&&(h=0)}}return o}function xo(e,t,n,i,r,o,u,a,s,l,c){for(var d=r-1,g=r===0?o:[""],v=Tr(g),b=0,h=0,I=0;b<i;++b)for(var C=0,M=Wt(e,d+1,d=lc(h=u[b])),A=e;C<v;++C)(A=ho(h>0?g[C]+" "+M:q(M,/&\f/g,g[C])))&&(s[I++]=A);return yn(e,t,n,r===0?Er:a,s,l,c)}function Cc(e,t,n){return yn(e,t,n,Ar,vn(pc()),Wt(e,2,-2),0)}function Mo(e,t,n,i){return yn(e,t,n,Nr,Wt(e,0,i),Wt(e,i+1,-1),i)}function Et(e,t){for(var n="",i=Tr(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function xc(e,t,n,i){switch(e.type){case sc:case Nr:return e.return=e.return||e.value;case Ar:return"";case vo:return e.return=e.value+"{"+Et(e.children,i)+"}";case Er:e.value=e.props.join(",")}return Ze(n=Et(e.children,i))?e.return=e.value+"{"+n+"}":""}function Mc(e){var t=Tr(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 Ac(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ec(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Nc=function(t,n,i){for(var r=0,o=0;r=o,o=He(),r===38&&o===12&&(n[i]=1),!Zt(o);)Ge();return Xt(t,je)},wc=function(t,n){var i=-1,r=44;do switch(Zt(r)){case 0:r===38&&He()===12&&(n[i]=1),t[i]+=Nc(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=Ge());return t},Tc=function(t,n){return Co(wc(yo(t),n))},Ao=new WeakMap,Sc=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&&!Ao.get(i))&&!r){Ao.set(t,!0);for(var o=[],u=Tc(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]}}},Dc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Oc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",jc=function(t){return t.type==="comm"&&t.children.indexOf(Oc)>-1},Pc=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(jc(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".')})}}}},Eo=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Gc=function(t,n){for(var i=t-1;i>=0;i--)if(!Eo(n[i]))return!0;return!1},No=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Fc=function(t,n,i){!Eo(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."),No(t)):Gc(n,i)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),No(t)))};function wo(e,t){switch(dc(e,t)){case 5103:return _+"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 _+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _+e+bn+e+Ee+e+e;case 6828:case 4268:return _+e+Ee+e+e;case 6165:return _+e+Ee+"flex-"+e+e;case 5187:return _+e+q(e,/(\w+).+(:[^]+)/,_+"box-$1$2"+Ee+"flex-$1$2")+e;case 5443:return _+e+Ee+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return _+e+Ee+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return _+e+Ee+q(e,"shrink","negative")+e;case 5292:return _+e+Ee+q(e,"basis","preferred-size")+e;case 6060:return _+"box-"+q(e,"-grow","")+_+e+Ee+q(e,"grow","positive")+e;case 4554:return _+q(e,/([^-])(transform)/g,"$1"+_+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,_+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,_+"box-pack:$3"+Ee+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,_+"$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 q(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+bn+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~wr(e,"stretch")?wo(q(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-(~wr(e,"!important")&&10))){case 107:return q(e,":",":"+_)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_+(Ae(e,14)===45?"inline-":"")+"box$3$1"+_+"$2$3$1"+Ee+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return _+e+Ee+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _+e+Ee+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _+e+Ee+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _+e+Ee+e+e}return e}var Lc=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case Nr:t.return=wo(t.value,t.length);break;case vo:return Et([Yt(t,{value:q(t.value,"@","@"+_)})],r);case Er:if(t.length)return gc(t.props,function(o){switch(fc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([Yt(t,{props:[q(o,/:(read-\w+)/,":"+bn+"$1")]})],r);case"::placeholder":return Et([Yt(t,{props:[q(o,/:(plac\w+)/,":"+_+"input-$1")]}),Yt(t,{props:[q(o,/:(plac\w+)/,":"+bn+"$1")]}),Yt(t,{props:[q(o,/:(plac\w+)/,Ee+"input-$1")]})],r)}return""})}},zc=[Lc],Vc=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 I=h.getAttribute("data-emotion");I.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var r=t.stylisPlugins||zc;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 I=h.getAttribute("data-emotion").split(" "),C=1;C<I.length;C++)o[I[C]]=!0;a.push(h)});var s,l=[Sc,Dc];process.env.NODE_ENV!=="production"&&l.push(Pc({get compat(){return b.compat}}),Fc);{var c,d=[xc,process.env.NODE_ENV!=="production"?function(h){h.root||(h.return?c.insert(h.return):h.value&&h.type!==Ar&&c.insert(h.value+"{}"))}:Ac(function(h){c.insert(h)})],g=Mc(l.concat(r,d)),v=function(I){return Et(yc(I),g)};s=function(I,C,M,A){c=M,process.env.NODE_ENV!=="production"&&C.map!==void 0&&(c={insert:function(x){M.insert(x+C.map)}}),v(I?I+"{"+C.styles+"}":C.styles),A&&(b.inserted[C.name]=!0)}}var b={key:n,sheet:new uc({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 b.sheet.hydrate(a),b},To={exports:{}},ee={};/** @license React v16.13.1
|
|
40
|
+
* react-is.production.min.js
|
|
41
|
+
*
|
|
42
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/var So;function Bc(){if(So)return ee;So=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,b=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,I=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function A(x){if(typeof x=="object"&&x!==null){var E=x.$$typeof;switch(E){case t:switch(x=x.type,x){case s:case l:case i:case o:case r:case d:return x;default:switch(x=x&&x.$$typeof,x){case a:case c:case b:case v:case u:return x;default:return E}}case n:return E}}}function y(x){return A(x)===l}return ee.AsyncMode=s,ee.ConcurrentMode=l,ee.ContextConsumer=a,ee.ContextProvider=u,ee.Element=t,ee.ForwardRef=c,ee.Fragment=i,ee.Lazy=b,ee.Memo=v,ee.Portal=n,ee.Profiler=o,ee.StrictMode=r,ee.Suspense=d,ee.isAsyncMode=function(x){return y(x)||A(x)===s},ee.isConcurrentMode=y,ee.isContextConsumer=function(x){return A(x)===a},ee.isContextProvider=function(x){return A(x)===u},ee.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},ee.isForwardRef=function(x){return A(x)===c},ee.isFragment=function(x){return A(x)===i},ee.isLazy=function(x){return A(x)===b},ee.isMemo=function(x){return A(x)===v},ee.isPortal=function(x){return A(x)===n},ee.isProfiler=function(x){return A(x)===o},ee.isStrictMode=function(x){return A(x)===r},ee.isSuspense=function(x){return A(x)===d},ee.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===i||x===l||x===o||x===r||x===d||x===g||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===v||x.$$typeof===u||x.$$typeof===a||x.$$typeof===c||x.$$typeof===I||x.$$typeof===C||x.$$typeof===M||x.$$typeof===h)},ee.typeOf=A,ee}var te={};/** @license React v16.13.1
|
|
47
|
+
* react-is.development.js
|
|
48
|
+
*
|
|
49
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the MIT license found in the
|
|
52
|
+
* LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/var Do;function Rc(){return Do||(Do=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,b=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,I=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function A(L){return typeof L=="string"||typeof L=="function"||L===i||L===l||L===o||L===r||L===d||L===g||typeof L=="object"&&L!==null&&(L.$$typeof===b||L.$$typeof===v||L.$$typeof===u||L.$$typeof===a||L.$$typeof===c||L.$$typeof===I||L.$$typeof===C||L.$$typeof===M||L.$$typeof===h)}function y(L){if(typeof L=="object"&&L!==null){var et=L.$$typeof;switch(et){case t:var ke=L.type;switch(ke){case s:case l:case i:case o:case r:case d:return ke;default:var Fe=ke&&ke.$$typeof;switch(Fe){case a:case c:case b:case v:case u:return Fe;default:return et}}case n:return et}}}var x=s,E=l,N=a,j=u,G=t,S=c,B=i,W=b,P=v,w=n,F=o,z=r,Z=d,V=!1;function U(L){return V||(V=!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(L)||y(L)===s}function de(L){return y(L)===l}function Pe(L){return y(L)===a}function ue(L){return y(L)===u}function pe(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function Ne(L){return y(L)===c}function Ce(L){return y(L)===i}function he(L){return y(L)===b}function xe(L){return y(L)===v}function we(L){return y(L)===n}function Le(L){return y(L)===o}function Ue(L){return y(L)===r}function st(L){return y(L)===d}te.AsyncMode=x,te.ConcurrentMode=E,te.ContextConsumer=N,te.ContextProvider=j,te.Element=G,te.ForwardRef=S,te.Fragment=B,te.Lazy=W,te.Memo=P,te.Portal=w,te.Profiler=F,te.StrictMode=z,te.Suspense=Z,te.isAsyncMode=U,te.isConcurrentMode=de,te.isContextConsumer=Pe,te.isContextProvider=ue,te.isElement=pe,te.isForwardRef=Ne,te.isFragment=Ce,te.isLazy=he,te.isMemo=xe,te.isPortal=we,te.isProfiler=Le,te.isStrictMode=Ue,te.isSuspense=st,te.isValidElementType=A,te.typeOf=y}()),te}(function(e){process.env.NODE_ENV==="production"?e.exports=Bc():e.exports=Rc()})(To);var Oo=To.exports,kc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Wc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jo={};jo[Oo.ForwardRef]=kc,jo[Oo.Memo]=Wc;var Yc=!0;function Po(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):i+=r+" "}),i}var Dr=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||Yc===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Or=function(t,n,i){Dr(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 Xc(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 Zc={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},Go=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
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
|
+
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`,Hc="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Uc=/[A-Z]|^ms/g,Fo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jr=function(t){return t.charCodeAt(1)===45},Lo=function(t){return t!=null&&typeof t!="boolean"},Pr=Ec(function(e){return jr(e)?e:e.replace(Uc,"-$&").toLowerCase()}),An=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Fo,function(i,r,o){return Re={name:r,styles:o,next:Re},r})}return Zc[t]!==1&&!jr(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/,Jc=["normal","none","initial","inherit","unset"],_c=An,$c=/^-ms-/,Kc=/-(.)/g,zo={};An=function(t,n){if(t==="content"&&(typeof n!="string"||Jc.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=_c(t,n);return i!==""&&!jr(t)&&t.indexOf("-")!==-1&&zo[t]===void 0&&(zo[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace($c,"ms-").replace(Kc,function(r,o){return o.toUpperCase()})+"?")),i}}var Vo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ht(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(Vo);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Re={name:n.name,styles:n.styles,next:Re},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Re={name:i.name,styles:i.styles,next:Re},i=i.next;var r=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(r+=n.map),r}return qc(e,t,n)}case"function":{if(e!==void 0){var o=Re,u=n(e);return Re=o,Ht(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(Fo,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
|
+
`)+`
|
|
58
|
+
|
|
59
|
+
You should wrap it with \`css\` like this:
|
|
60
|
+
|
|
61
|
+
`+("css`"+s+"`"))}break}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function qc(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Ht(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]+"}":Lo(u)&&(i+=Pr(o)+":"+An(o,u)+";");else{if(o==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Vo);if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var a=0;a<u.length;a++)Lo(u[a])&&(i+=Pr(o)+":"+An(o,u[a])+";");else{var s=Ht(e,t,u);switch(o){case"animation":case"animationName":{i+=Pr(o)+":"+s+";";break}default:process.env.NODE_ENV!=="production"&&o==="undefined"&&console.error(Hc),i+=o+"{"+s+"}"}}}}return i}var Bo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ro;process.env.NODE_ENV!=="production"&&(Ro=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Re,Ut=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="";Re=void 0;var u=t[0];u==null||u.raw===void 0?(r=!1,o+=Ht(i,n,u)):(process.env.NODE_ENV!=="production"&&u[0]===void 0&&console.error(Go),o+=u[0]);for(var a=1;a<t.length;a++)o+=Ht(i,n,t[a]),r&&(process.env.NODE_ENV!=="production"&&u[a]===void 0&&console.error(Go),o+=u[a]);var s;process.env.NODE_ENV!=="production"&&(o=o.replace(Ro,function(g){return s=g,""})),Bo.lastIndex=0;for(var l="",c;(c=Bo.exec(o))!==null;)l+="-"+c[1];var d=Xc(o)+l;return process.env.NODE_ENV!=="production"?{name:d,styles:o,map:s,next:Re,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:Re}},ed=function(t){return t()},ko=O["useInsertionEffect"]?O["useInsertionEffect"]:!1,Wo=ko||ed,Yo=ko||p.useLayoutEffect,Gr={}.hasOwnProperty,Fr=p.createContext(typeof HTMLElement<"u"?Vc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Fr.displayName="EmotionCacheContext"),Fr.Provider;var Lr=function(t){return p.forwardRef(function(n,i){var r=p.useContext(Fr);return t(n,r,i)})},En=p.createContext({});process.env.NODE_ENV!=="production"&&(En.displayName="EmotionThemeContext");var Xo=function(t){var n=t.split(".");return n[n.length-1]},td=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 Xo(n[1])},nd=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),rd=function(t){return t.replace(/\$/g,"-")},id=function(t){if(!!t)for(var n=t.split(`
|
|
62
|
+
`),i=0;i<n.length;i++){var r=td(n[i]);if(!!r){if(nd.has(r))break;if(/^[A-Z]/.test(r))return rd(r)}}},zr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Vr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",od=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)Gr.call(n,r)&&(i[r]=n[r]);if(i[zr]=t,process.env.NODE_ENV!=="production"&&!!n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var o=id(new Error().stack);o&&(i[Vr]=o)}return i},ad=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Dr(n,i,r),Wo(function(){return Or(n,i,r)}),null},Zo=Lr(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[zr],o=[i],u="";typeof e.className=="string"?u=Po(t.registered,o,e.className):e.className!=null&&(u=e.className+" ");var a=Ut(o,void 0,p.useContext(En));if(process.env.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var s=e[Vr];s&&(a=Ut([a,"label:"+s+";"]))}u+=t.key+"-"+a.name;var l={};for(var c in e)Gr.call(e,c)&&c!=="css"&&c!==zr&&(process.env.NODE_ENV==="production"||c!==Vr)&&(l[c]=e[c]);return l.ref=n,l.className=u,p.createElement(p.Fragment,null,p.createElement(ad,{cache:t,serialized:a,isStringTag:typeof r=="string"}),p.createElement(r,l))});process.env.NODE_ENV!=="production"&&(Zo.displayName="EmotionCssPropInternal");var ud={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||!Gr.call(n,"css"))return p.createElement.apply(void 0,i);var r=i.length,o=new Array(r);o[0]=Zo,o[1]=od(t,n);for(var u=2;u<r;u++)o[u]=i[u];return p.createElement.apply(null,o)},Ho=!1,sd=Lr(function(e,t){process.env.NODE_ENV!=="production"&&!Ho&&(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?"),Ho=!0);var n=e.styles,i=Ut([n],void 0,p.useContext(En)),r=p.useRef();return Yo(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]),Yo(function(){var o=r.current,u=o[0],a=o[1];if(a){o[1]=!1;return}if(i.next!==void 0&&Or(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"&&(sd.displayName="EmotionGlobal");function Br(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ut(t)}var ld=function(){var t=Br.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_"}}},cd=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 dd(e,t,n){var i=[],r=Po(e,i,n);return i.length<2?n:r+t(i)}var fd=function(t){var n=t.cache,i=t.serializedArr;return Wo(function(){for(var r=0;r<i.length;r++)Or(n,i[r],!1)}),null},Uo=Lr(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=Ut(c,t.registered);return i.push(g),Dr(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 dd(t.registered,r,cd(c))},u={css:r,cx:o,theme:p.useContext(En)},a=e.children(u);return n=!0,p.createElement(p.Fragment,null,p.createElement(fd,{cache:t,serializedArr:i}),a)});if(process.env.NODE_ENV!=="production"&&(Uo.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Qo=!0,gd=typeof jest<"u"||typeof vi<"u";if(Qo&&!gd){var Jo=typeof globalThis<"u"?globalThis:Qo?window:global,_o="__EMOTION_REACT_"+ud.version.split(".")[0]+"__";Jo[_o]&&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."),Jo[_o]=!0}}function pd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Rr=p.useLayoutEffect,md=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Nn=function(){};function bd(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function vd(e,t,n){var i=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&i.push("".concat(bd(e,r)));return i.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var $o=function(t){return wd(t)?t.filter(Boolean):mn(t)==="object"&&t!==null?[t]:[]},Ko=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=vt(t,md);return ie({},n)};function hd(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 Id(e){return wn(e)?window.innerHeight:e.clientHeight}function qo(e){return wn(e)?window.pageYOffset:e.scrollTop}function Tn(e,t){if(wn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function yd(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 Cd(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]:Nn,r=qo(e),o=t-r,u=10,a=0;function s(){a+=u;var l=Cd(a,r,o,n);Tn(e,l),a<n?window.requestAnimationFrame(s):i(e)}s()}function ea(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 xd(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 ta(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Md(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var na=!1,Ad={get passive(){return na=!0}},Dn=typeof window<"u"?window:{};Dn.addEventListener&&Dn.removeEventListener&&(Dn.addEventListener("p",Nn,Ad),Dn.removeEventListener("p",Nn,!1));var Ed=na;function Nd(e){return e!=null}function wd(e){return Array.isArray(e)}function On(e,t,n){return e?t:n}function ig(e){return e}function og(e){return e}var Td=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 Sd(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=yd(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:Id(l),y=qo(l),x=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),N=M-E,j=A-I,G=N+y,S=g-y-I,B=b-A+y+x,W=y+I-E,P=160;switch(r){case"auto":case"bottom":if(j>=h)return{placement:"bottom",maxHeight:t};if(S>=h&&!u)return o&&Sn(l,B,P),{placement:"bottom",maxHeight:t};if(!u&&S>=i||u&&j>=i){o&&Sn(l,B,P);var w=u?j-x:S-x;return{placement:"bottom",maxHeight:w}}if(r==="auto"||u){var F=t,z=u?N:G;return z>=i&&(F=Math.min(z-x-s.controlHeight,t)),{placement:"top",maxHeight:F}}if(r==="bottom")return o&&Tn(l,B),{placement:"bottom",maxHeight:t};break;case"top":if(N>=h)return{placement:"top",maxHeight:t};if(G>=h&&!u)return o&&Sn(l,W,P),{placement:"top",maxHeight:t};if(!u&&G>=i||u&&N>=i){var Z=t;return(!u&&G>=i||u&&N>=i)&&(Z=u?N-E:G-E),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 Dd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var ra=function(t){return t==="auto"?"bottom":t},Od=function(t){var n,i=t.placement,r=t.theme,o=r.borderRadius,u=r.spacing,a=r.colors;return n={label:"menu"},Be(n,Dd(i),"100%"),Be(n,"backgroundColor",a.neutral0),Be(n,"borderRadius",o),Be(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Be(n,"marginBottom",u.menuGutter),Be(n,"marginTop",u.menuGutter),Be(n,"position","absolute"),Be(n,"width","100%"),Be(n,"zIndex",1),n},ia=p.createContext(null),jd=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(ia)||{},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 Rr(function(){var y=d.current;if(!!y){var x=u==="fixed",E=a&&!x,N=Sd({maxHeight:r,menuEl:y,minHeight:i,placement:o,shouldScroll:E,isFixedPosition:x,theme:s});h(N.maxHeight),A(N.placement),c==null||c(N.placement)}},[r,o,u,a,i,c,s]),n({ref:d,placerProps:ie(ie({},t),{},{placement:M||ra(o),maxHeight:b})})},Pd=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)},Gd=function(t){var n=t.maxHeight,i=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:i,paddingTop:i,position:"relative",WebkitOverflowScrolling:"touch"}},Fd=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)},oa=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"}},Ld=oa,zd=oa,aa=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)};aa.defaultProps={children:"No options"};var ua=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)};ua.defaultProps={children:"Loading..."};var Vd=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}},Bd=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(ra(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],E=p.useCallback(function(){if(!!o){var S=xd(o),B=l==="fixed"?0:window.pageYOffset,W=S[h]+B;(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]);Rr(function(){E()},[E]);var N=p.useCallback(function(){typeof g.current=="function"&&(g.current(),g.current=null),o&&d.current&&(g.current=to(o,d.current,E,{elementResize:"ResizeObserver"in window}))},[o,E]);Rr(function(){N()},[N]);var j=p.useCallback(function(S){d.current=S,N()},[N]);if(!n&&l!=="fixed"||!y)return null;var G=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(ia.Provider,{value:C},n?Dt.createPortal(G,n):G)},Rd=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},kd=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)},Wd=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"}},Yd=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)},Xd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Zd=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)},sa,Hd=["size"];function Ud(){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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAg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XtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:Ud},la=function(t){var n=t.size,i=vt(t,Hd);return Y("svg",oe({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Qd},i))},kr=function(t){return Y(la,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"}))},ca=function(t){return Y(la,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"}))},da=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}}},Jd=da,_d=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(ca,null))},$d=da,Kd=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(kr,null))},qd=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}},ef=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)}))},tf=ld(sa||(sa=pd([`
|
|
63
|
+
0%, 80%, 100% { opacity: 0; }
|
|
64
|
+
40% { opacity: 1; }
|
|
65
|
+
`]))),nf=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"}},Wr=function(t){var n=t.delay,i=t.offset;return Y("span",{css:Br({animation:"".concat(tf," 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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbi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AgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},fa=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(Wr,{delay:0,offset:u}),Y(Wr,{delay:160,offset:!0}),Y(Wr,{delay:320,offset:!u}))};fa.defaultProps={size:4};var rf=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}}},of=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)},af=["data"],uf=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},sf=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))},lf=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"}},cf=function(t){var n=t.getStyles,i=t.cx,r=t.className,o=Ko(t);o.data;var u=vt(o,af);return Y("div",oe({css:n("groupHeading",t),className:i({"group-heading":!0},r)},u))},df=["innerRef","isDisabled","isHidden","inputClassName"],ff=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)":""},gf)},ga={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},gf={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"},ga)},pf=function(t){return ie({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ga)},mf=function(t){var n=t.className,i=t.cx,r=t.getStyles,o=t.value,u=Ko(t),a=u.innerRef,s=u.isDisabled,l=u.isHidden,c=u.inputClassName,d=vt(u,df);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:pf(l),disabled:s},d)))},bf=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}},vf=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"}},hf=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}}},pa=function(t){var n=t.children,i=t.innerProps;return Y("div",i,n)},If=pa,yf=pa;function Cf(e){var t=e.children,n=e.innerProps;return Y("div",oe({role:"button"},n),t||Y(kr,{size:14}))}var xf=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(Uo,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}))})},Mf=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}}},Af=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)},Ef=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}},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("placeholder",t),className:r({placeholder:!0},i)},u),n)},wf=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"}},Tf=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:Kd,Control:of,DropdownIndicator:_d,DownChevron:ca,CrossIcon:kr,Group:sf,GroupHeading:cf,IndicatorsContainer:Zd,IndicatorSeparator:ef,Input:mf,LoadingIndicator:fa,Menu:Pd,MenuList:Fd,MenuPortal:Bd,LoadingMessage:ua,NoOptionsMessage:aa,MultiValue:xf,MultiValueContainer:If,MultiValueLabel:yf,MultiValueRemove:Cf,Option:Af,Placeholder:Nf,SelectContainer:kd,SingleValue:Tf,ValueContainer:Yd},Sf=function(t){return ie(ie({},qe),t.components)},ma=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Df(e,t){return!!(e===t||ma(e)&&ma(t))}function Of(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Df(e[n],t[n]))return!1;return!0}function jf(e,t){t===void 0&&(t=Of);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 Pf(){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 Gf=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:Pf},ba=function(t){return Y("span",oe({css:Gf},t))},Ff={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:"",".")}},Lf=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"],E=p.useMemo(function(){return ie(ie({},Ff),c||{})},[c]),N=p.useMemo(function(){var w="";if(n&&E.onChange){var F=n.option,z=n.options,Z=n.removedValue,V=n.removedValues,U=n.value,de=function(xe){return Array.isArray(xe)?null:xe},Pe=Z||F||de(U),ue=Pe?d(Pe):"",pe=z||V||void 0,Ne=pe?pe.map(d):[],Ce=ie({isDisabled:Pe&&b(Pe,a),label:ue,labels:Ne},n);w=E.onChange(Ce)}return w},[n,E,b,a,d]),j=p.useMemo(function(){var w="",F=i||r,z=!!(i&&a&&a.includes(i));if(F&&E.onFocus){var Z={focused:F,label:d(F),isDisabled:b(F,a),isSelected:z,options:o,context:F===i?"menu":"value",selectValue:a};w=E.onFocus(Z)}return w},[i,r,d,b,E,o,a]),G=p.useMemo(function(){var w="";if(I&&C.length&&E.onFilter){var F=M({count:o.length});w=E.onFilter({inputValue:g,resultsMessage:F})}return w},[o,g,I,E,C,M]),S=p.useMemo(function(){var w="";if(E.guidance){var F=r?"value":I?"menu":"input";w=E.guidance({"aria-label":y,context:F,isDisabled:i&&b(i,a),isMulti:v,isSearchable:h,tabSelectsValue:A})}return w},[y,i,r,v,b,h,I,E,a,A]),B="".concat(j," ").concat(G," ").concat(S),W=Y(p.Fragment,null,Y("span",{id:"aria-selection"},N),Y("span",{id:"aria-context"},B)),P=(n==null?void 0:n.action)==="initial-input-focus";return Y(p.Fragment,null,Y(ba,{id:l},P&&W),Y(ba,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},u&&!P&&W))},Yr=[{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"}],zf=new RegExp("["+Yr.map(function(e){return e.letters}).join("")+"]","g"),va={},Xr=0;Xr<Yr.length;Xr++)for(var Zr=Yr[Xr],Hr=0;Hr<Zr.letters.length;Hr++)va[Zr.letters[Hr]]=Zr.base;var ha=function(t){return t.replace(zf,function(n){return va[n]})},Vf=jf(ha),Ia=function(t){return t.replace(/^\s+|\s+$/g,"")},Bf=function(t){return"".concat(t.label," ").concat(t.value)},Rf=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=ie({ignoreCase:!0,ignoreAccents:!0,stringify:Bf,trim:!0,matchFrom:"any"},t),o=r.ignoreCase,u=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Ia(i):i,d=s?Ia(a(n)):a(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),u&&(c=Vf(c),d=ha(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},kf=["innerRef"];function Wf(e){var t=e.innerRef,n=vt(e,kf),i=Td(n,"onExited","in","enter","exit","appear");return Y("input",oe({ref:t},i,{css:Br({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG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aW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Yf=function(t){t.preventDefault(),t.stopPropagation()};function Xf(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,E=l.current,N=C>0,j=y-x-A,G=!1;j>C&&u.current&&(i&&i(I),u.current=!1),N&&a.current&&(o&&o(I),a.current=!1),N&&C>j?(n&&!u.current&&n(I),E.scrollTop=y,G=!0,u.current=!0):!N&&-C>A&&(r&&!a.current&&r(I),E.scrollTop=0,G=!0,a.current=!0),G&&Yf(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=Ed?{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 ya=["boxSizing","height","overflow","paddingRight","position"],Ca={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function xa(e){e.preventDefault()}function Ma(e){e.stopPropagation()}function Aa(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ea(){return"ontouchstart"in window||navigator.maxTouchPoints}var Na=!!(typeof window<"u"&&window.document&&window.document.createElement),Qt=0,Nt={capture:!1,passive:!1};function Zf(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(!!Na){var l=document.body,c=l&&l.style;if(i&&ya.forEach(function(b){var h=c&&c[b];r.current[b]=h}),i&&Qt<1){var d=parseInt(r.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,v=window.innerWidth-g+d||0;Object.keys(Ca).forEach(function(b){var h=Ca[b];c&&(c[b]=h)}),c&&(c.paddingRight="".concat(v,"px"))}l&&Ea()&&(l.addEventListener("touchmove",xa,Nt),s&&(s.addEventListener("touchstart",Aa,Nt),s.addEventListener("touchmove",Ma,Nt))),Qt+=1}},[i]),a=p.useCallback(function(s){if(!!Na){var l=document.body,c=l&&l.style;Qt=Math.max(Qt-1,0),i&&Qt<1&&ya.forEach(function(d){var g=r.current[d];c&&(c[d]=g)}),l&&Ea()&&(l.removeEventListener("touchmove",xa,Nt),s&&(s.removeEventListener("touchstart",Aa,Nt),s.removeEventListener("touchmove",Ma,Nt)))}},[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 Hf(){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 Uf=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,ey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0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:Hf};function Jf(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=Xf({isEnabled:r,onBottomArrive:o,onBottomLeave:u,onTopArrive:a,onTopLeave:s}),c=Zf({isEnabled:n}),d=function(v){l(v),c(v)};return Y(p.Fragment,null,n&&Y("div",{onClick:Uf,css:Qf}),t(d))}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=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:_f},Kf=function(t){var n=t.name,i=t.onFocus;return Y("input",{required:!0,name:n,tabIndex:-1,onFocus:i,css:$f,value:"",onChange:function(){}})},qf=function(t){return t.label},e0=function(t){return t.label},t0=function(t){return t.value},n0=function(t){return!!t.isDisabled},r0={clearIndicator:$d,container:Rd,control:rf,dropdownIndicator:Jd,group:uf,groupHeading:lf,indicatorsContainer:Xd,indicatorSeparator:qd,input:ff,loadingIndicator:nf,loadingMessage:zd,menu:Od,menuList:Gd,menuPortal:Vd,multiValue:bf,multiValueLabel:vf,multiValueRemove:hf,noOptionsMessage:Ld,option:Mf,placeholder:Ef,singleValue:wf,valueContainer:Wd},i0={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%)"},o0=4,wa=4,a0=38,u0=wa*2,s0={baseUnit:wa,controlHeight:a0,menuGutter:u0},Ur={borderRadius:o0,colors:i0,spacing:s0},l0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ta(),captureMenuScroll:!ta(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Rf(),formatGroupLabel:qf,getOptionLabel:e0,getOptionValue:t0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:n0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Md(),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 Ta(e,t,n,i){var r=Pa(e,t,n),o=Ga(e,t,n),u=ja(e,t),a=jn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:o,label:u,value:a,index:i}}function Sa(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(u,a){return Ta(e,u,t,a)}).filter(function(u){return Oa(e,u)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=Ta(e,n,t,i);return Oa(e,o)?o:void 0}).filter(Nd)}function Da(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,bo(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function c0(e,t){return Da(Sa(e,t))}function Oa(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,o=t.isSelected,u=t.label,a=t.value;return(!La(e)||!o)&&Fa(e,{label:u,value:a,data:r},i)}function d0(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 f0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ja=function(t,n){return t.getOptionLabel(n)},jn=function(t,n){return t.getOptionValue(n)};function Pa(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Ga(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 Fa(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var La=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},g0=1,Qr=function(e){$l(n,e);var t=tc(n);function n(i){var r;if(Jl(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(bo(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 vd.apply(void 0,[r.props.classNamePrefix].concat(s))},r.getOptionLabel=function(a){return ja(r.props,a)},r.getOptionValue=function(a){return jn(r.props,a)},r.getStyles=function(a,s){var l=r0[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 Sf(r.props)},r.buildCategorizedOptions=function(){return Sa(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Da(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 La(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,E=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,E))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||++g0),r.state.selectValue=$o(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 _l(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&&ea(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&&(ea(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(Ur):ie(ie({},Ur),this.props.theme):Ur}},{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 Pa(this.props,r,o)}},{key:"isOptionSelected",value:function(r,o){return Ga(this.props,r,o)}},{key:"filterOption",value:function(r,o){return Fa(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(Wf,{id:A,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Nn,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,E=A.isFocused;if(!this.hasValue()||!b)return C?null:p.createElement(d,{...g,key:"placeholder",isDisabled:h,isFocused:E,innerProps:{id:this.getElementId("placeholder")}},M);if(I)return y.map(function(j,G){var S=j===x,B="".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:B,index:G,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 N=y[0];return f(c,{...g,data:N,isDisabled:h,children:this.formatOptionLabel(N,"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,E=I.maxMenuHeight,N=I.menuIsOpen,j=I.menuPlacement,G=I.menuPosition,S=I.menuPortalTarget,B=I.menuShouldBlockScroll,W=I.menuShouldScrollIntoView,P=I.noOptionsMessage,w=I.onMenuScrollToTop,F=I.onMenuScrollToBottom;if(!N)return null;var z=function(pe,Ne){var Ce=pe.type,he=pe.data,xe=pe.isDisabled,we=pe.isSelected,Le=pe.label,Ue=pe.value,st=h===he,L=xe?void 0:function(){return r.onOptionHover(he)},et=xe?void 0:function(){return r.selectOption(he)},ke="".concat(r.getElementId("option"),"-").concat(Ne),Fe={id:ke,onClick:et,onMouseMove:L,onMouseOver:L,tabIndex:-1};return p.createElement(v,{...b,innerProps:Fe,data:he,isDisabled:xe,isSelected:we,key:ke,label:Le,type:Ce,value:Ue,isFocused:st,innerRef:st?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,Ne=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:Ne,Heading:a,headingProps:{id:xe,data:ue.data},label:r.formatGroupLabel(ue.data)},ue.options.map(function(we){return z(we,"".concat(Ce,"-").concat(we.index))}))}else if(ue.type==="option")return z(ue,"".concat(ue.index))});else if(A){var V=y({inputValue:M});if(V===null)return null;Z=f(d,{...b,children:V})}else{var U=P({inputValue:M});if(U===null)return null;Z=f(g,{...b,children:U})}var de={minMenuHeight:x,maxMenuHeight:E,menuPlacement:j,menuPosition:G,menuShouldScrollIntoView:W},Pe=f(jd,{...b,...de,children:function(ue){var pe=ue.ref,Ne=ue.placerProps,Ce=Ne.placement,he=Ne.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(Jf,{captureEnabled:C,onTopArrive:w,onBottomArrive:F,lockEnabled:B,children:function(xe){return f(l,{...b,innerRef:function(Le){r.getMenuListRef(Le),xe(Le)},isLoading:A,maxHeight:he,focusedOption:h,children:Z})}})})}});return S||G==="fixed"?f(c,{...b,appendTo:S,controlElement:this.controlRef,menuPlacement:j,menuPosition:G,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(Kf,{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(Lf,{...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 k(a,{...h,className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:b,children:[this.renderLiveRegion(),k(o,{...h,innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:b,menuIsOpen:v,children:[k(s,{...h,isDisabled:g,children:[this.renderPlaceholderOrValue(),this.renderInput()]}),k(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=$o(v),M={};if(u&&(v!==u.value||g!==u.options||b!==u.menuIsOpen||h!==u.inputValue)){var A=b?c0(r,C):[],y=a?d0(o,C):null,x=f0(o,A);M={selectValue:C,focusedOption:x,focusedValue:y,clearFocusValueOnUpdate:!1}}var E=s!=null&&r!==u?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},N=l,j=c&&d;return c&&!j&&(N={value:On(I,C,C[0]||null),options:C,action:"initial-input-focus"},j=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(N=null),ie(ie(ie({},M),E),{},{prevProps:r,ariaSelection:N,prevWasFocused:j})}}]),n}(p.Component);Qr.defaultProps=l0;var p0=p.forwardRef(function(e,t){var n=po(e);return f(Qr,{ref:t,...n})});const Jr=p0;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(Xe,{size:"sm",kind:"delete",color:"default"})});function Fn({helpText:e,error:t,children:n}){return k(Ye,{children:[n,e&&!t&&f(()=>f("div",{className:"my-1",children:f(K,{as:"span",variant:"body",color:"subdued",children:e})}),{}),t&&!e&&f(()=>f("div",{className:"mt-1",children:f(Ba,{icon:"alert",children:t})}),{})]})}const Ln=e=>f(qe.DropdownIndicator,{...e,children:f(Xe,{size:"sm",kind:e.isFocused?"up":"down",color:e.isDisabled?"disabled":"subdued"})}),za=e=>f(qe.Option,{...e,children:f(K,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})}),zn=e=>f(qe.Placeholder,{...e,children:f(K,{as:"span",variant:"body",color:e.isDisabled?"disabled":"subdued",children:e.children})}),_r=({hasLabelPlaceholder:e,...t})=>{const n=t;return f(qe.SingleValue,{...n,children:k("div",{className:"flex items-center space-x-[4px]",children:[e&&f(K,{as:"span",variant:"body",color:"subdued",children:n.selectProps.placeholder}),f(K,{as:"span",variant:"body",color:"default",children:n.children})]})})};function m0({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(Jr,{...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:za,Placeholder:zn,SingleValue:I=>f(_r,{...I,hasLabelPlaceholder:s})},onChange:I=>l&&l(I)})})}var b0=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function v0(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=vt(e,b0),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],E=y[1],N=p.useState(n===!0),j=ye(N,2),G=j[0],S=j[1],B=p.useState(void 0),W=ye(B,2),P=W[0],w=W[1],F=p.useState([]),z=ye(F,2),Z=z[0],V=z[1],U=p.useState(!1),de=ye(U,2),Pe=de[0],ue=de[1],pe=p.useState({}),Ne=ye(pe,2),Ce=Ne[0],he=Ne[1],xe=p.useState(void 0),we=ye(xe,2),Le=we[0],Ue=we[1],st=p.useState(void 0),L=ye(st,2),et=L[0],ke=L[1];r!==et&&(he({}),ke(r)),n!==Le&&(M(Array.isArray(n)?n:void 0),Ue(n)),p.useEffect(function(){return b.current=!0,function(){b.current=!1}},[]);var Fe=p.useCallback(function(lt,We){if(!o)return We();var Te=o(lt,We);Te&&typeof Te.then=="function"&&Te.then(We,function(){return We()})},[o]);p.useEffect(function(){n===!0&&Fe(x,function(lt){!b.current||(M(lt||[]),S(!!v.current))})},[]);var wt=p.useCallback(function(lt,We){var Te=hd(lt,We,s);if(!Te){v.current=void 0,E(""),w(""),V([]),S(!1),ue(!1);return}if(r&&Ce[Te])E(Te),w(Te),V(Ce[Te]),S(!1),ue(!1);else{var $r=v.current={};E(Te),S(!0),ue(!P),Fe(Te,function(ht){!b||$r===v.current&&(v.current=void 0,S(!1),w(Te),V(ht||[]),ue(!1),he(ht?ie(ie({},Ce),{},Be({},Te,ht)):Ce))})}},[r,Fe,P,Ce,s]),Vn=Pe?[]:x&&P?Z:C||[];return ie(ie({},d),{},{options:Vn,isLoading:G||a,onInputChange:wt,filterOption:c})}var h0=p.forwardRef(function(e,t){var n=v0(e),i=po(n);return f(Qr,{ref:t,...i})});function I0({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(h0,{...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:za,Placeholder:zn,SingleValue:h=>f(_r,{...h,hasLabelPlaceholder:o})},onChange:h=>l&&l(h),loadOptions:h=>c&&c(h)})})}const y0=({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 k(ui,{variant:"plain",fullWidth:!0,align:e,...n.innerProps,onClick:s.addButton,children:[f(Xe,{kind:o.icon}),n.children]})}return f(qe.Option,{...n,children:r})},{children:f(K,{as:"span",variant:"body",color:n.isSelected?"on":"default",children:n.children})})};function C0({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(Jr,{...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(y0,{...M,alignButton:g}),Placeholder:zn,SingleValue:M=>f(_r,{...M,hasLabelPlaceholder:s})},onChange:M=>l&&l(M)})})}var x0=["title"];function M0(e,t){if(e==null)return{};var n=A0(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 A0(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 E0=function(t){var n=t.title,i=M0(t,x0);return k("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 Va=({isDisabled:e})=>f(E0,{className:R("w-[16px]",{"opacity-[0.4]":e})}),N0=({isDisabled:e,...t})=>{const n=t;return f(qe.SingleValue,{...n,children:k("div",{className:"flex items-center space-x-[4px]",children:[f(Va,{isDisabled:e}),f(K,{as:"span",variant:"body",color:e?"disabled":"default",children:n.children})]})})},w0=e=>f(qe.Option,{...e,children:k("div",{className:"flex gap-x-1",children:[f(Va,{}),f(K,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})]})});function T0({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(Jr,{...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:w0,Placeholder:zn,SingleValue:h=>f(N0,{...h,isDisabled:o})},onChange:h=>l&&l(h)})})}function S0({tabs:e,variant:t="default"}){const n=({selected:u,isDisabled:a})=>R("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"?k(K,{variant:"button",color:i({selected:u,isDisabled:a}),className:R("flex w-full items-center justify-center gap-x-1 p-sm ",r({selected:u,isDisabled:a})),children:[s,l&&f("span",{className:R("flex h-5 items-center rounded-sm bg-surface-neutral-default py-[2px] px-2",r({selected:u,isDisabled:a})),children:l})]}):f(K,{variant:"button",color:i({selected:u,isDisabled:a}),className:R("p-sm",r({selected:u,isDisabled:a})),children:s});return f("div",{className:"w-full",children:k(zt.Group,{children:[f(zt.List,{className:R("flex border-b",{"justify-center":t==="fitted"}),children:Object.entries(e).map(([u,{isDisabled:a,total:s}],l)=>f(zt,{className:({selected:c})=>n({selected:c,isDisabled:a}),disabled:a,children:({selected:c})=>o({selected:c,isDisabled:a,nameTab:u,total:s})},l))}),f(zt.Panels,{className:"mt-3",children:Object.values(e).map((u,a)=>!u.isDisabled&&f(zt.Panel,{children:u.children},a))})]})})}function Ba({children:e,size:t="sm",icon:n="error",colorIcon:i="critical",className:r,...o}){return k("div",{className:R("inline-flex items-center gap-x-xs",r),children:[n&&f(Xe,{kind:n,color:i,size:"sm"}),f(K,{as:"span",variant:t==="lg"?"body":"caption",color:"critical",...o,children:e})]})}function D0({title:e,iconTitle:t,subtitle:n,footer:i,isOpen:r=!1,hasBorder:o=[],showClose:u=!0,onClose:a,children:s}){const l=()=>k("header",{className:"mb-lg flex items-center justify-between",children:[k("div",{className:"flex items-center gap-x-2",children:[t&&t,f($t,{variant:"heading",color:"default",children:e})]}),u&&f(Xe,{kind:"delete",cursor:"pointer",onClick:()=>a==null?void 0:a(!r)})]}),c=()=>k(Ye,{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 k(ji,{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:k(ji.Panel,{className:"mx-auto max-w-sm rounded-sm bg-surface-default p-lg shadow-popup",children:[l(),n&&f(K,{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 O0({title:e,subtitle:t,defaultOpen:n=!1,isDisabled:i,content:r=[],className:o,children:u}){const a=()=>f(Ye,{children:typeof e=="string"?f(K,{variant:"highlight",color:i?"disabled":"default",children:e}):e}),s=(c,d)=>f(p.Fragment,{children:typeof c=="string"?f(K,{variant:"body",color:i?"disabled":"subdued",children:c}):c},d),l=({label:c,value:d},g)=>k("div",{className:"flex items-center justify-between",children:[typeof c=="string"?f(K,{variant:"body",color:i?"disabled":"default",children:c}):c,typeof d=="string"?f(K,{variant:"body",color:i?"disabled":"subdued",children:d}):d]},g);return i?k("div",{className:R("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:[k("div",{className:"flex items-center gap-x-sm",children:[f(Xe,{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(nr,{defaultOpen:n,children:({open:c})=>k("div",{className:R("mb-sm",o),children:[k(nr.Button,{className:R("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:[k("div",{className:"flex gap-x-sm",children:[f(Xe,{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(nr.Panel,{className:R("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 j0(){return k("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"})}),k("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:k("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 P0(){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 G0({title:e,description:t,img:n,className:i,children:r}){const o=()=>n==="box"?f(j0,{}):n==="padlock"?f(P0,{}):f(Ye,{});return k("div",{className:R(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(),k("div",{className:"mb-sm w-full md:w-[300px]",children:[f($t,{variant:"heading",color:"default",className:R("mb-sm text-center",n&&"mt-[42px]"),children:e}),f(K,{variant:"body",color:"subdued",className:"text-center",children:t})]}),r]})}function F0({icon:e,isSelected:t=!1,title:n,total:i,isSmall:r=!1,...o}){const u=()=>i&&!r?f("span",{className:R("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(K,{variant:"caption",color:"default",className:"select-none",children:i})})}):f(Ye,{});return k("div",{className:R("flex select-none items-center gap-x-[13px]",!t&&"cursor-pointer"),...o,children:[f("div",{className:R("h-[32px] w-[3px] rounded-sm",t&&"bg-action-primary-default")}),k("div",{className:R("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:[k("div",{className:"flex items-center gap-x-[10px]",children:[f(Xe,{kind:e,size:"sm",color:t?"primary":"subdued"}),!r&&f(K,{variant:"body",color:t?"primary":"subdued",children:n})]}),u()]})]})}const L0="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjQyIiB2aWV3Qm94PSIwIDAgMjAwIDQyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNDQuNDgyNiAwLjAyMzA3MTNMMzIuNDc5NyAyNC44NjcyVjkuNjA4NjFMMjQuODQ2MiAxOC4yOTA4VjQwLjY2MDlIMzIuOTEyN0w1My4xMjQ0IDAuMDIzMDcxM0g0NC40ODI2WiIgZmlsbD0iI0M4MDkzNSIvPgo8cGF0aCBkPSJNMjEuNjUwNCAxOS4wNjE3TDMyLjQ3OTcgOS42MTQyNkgyNC40NzAyTDIxLjY1MDQgMTk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XNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0M0MDkzNSIvPgo8c3RvcCBvZmZzZXQ9IjAuMDQiIHN0b3AtY29sb3I9IiNCRjA5MzMiLz4KPHN0b3Agb2Zmc2V0PSIwLjI3IiBzdG9wLWNvbG9yPSIjQTQwQjJCIi8+CjxzdG9wIG9mZnNldD0iMC41MSIgc3RvcC1jb2xvcj0iIzkwMEMyNSIvPgo8c3RvcCBvZmZzZXQ9IjAuNzUiIHN0b3AtY29sb3I9IiM4NTBEMjEiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjODEwRDIwIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==";function z0({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(Vi,{value:t,by:r,onChange:n,className:"space-y-sm",children:e.map(o=>f(Vi.Option,{value:o,disabled:(o==null?void 0:o.isDisabled)||Boolean(o==null?void 0:o.error),className:({active:u})=>R("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 k("div",{className:"flex w-full justify-between",children:[k("div",{className:R("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(co,{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),k("header",{children:[f($t,{variant:"heading",color:o!=null&&o.isDisabled?"disabled":"default",children:o==null?void 0:o.title}),k("div",{className:"flex gap-x-[2px]",children:[f(K,{variant:"body",color:o!=null&&o.isDisabled?"disabled":"subdued",children:(a=o==null?void 0:o.subtitle)!=null?a:""}),f(K,{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(K,{variant:"caption",color:o!=null&&o.isDisabled?"disabled":"subdued",children:o==null?void 0:o.state})]})}},o==null?void 0:o.id))}):f(Ye,{})}function V0({children:e,isSmall:t=!1,onClick:n,className:i,...r}){return k("nav",{className:R("h-full bg-background-default py-sm shadow-[inset_-1px_0px_0px_#C2C2C2]",i,t?"w-[67px]":"w-[240px] pr-xs"),...r,children:[k("div",{className:R("mb-xl flex items-center",t?"justify-center":"justify-between px-sm"),children:[f("img",{src:L0,alt:"logo-company",className:R("w-[115px]",t&&"hidden")}),f(Xe,{kind:"menu",color:"subdued",cursor:"pointer",size:"sm",onClick:n})]}),f("div",{className:"flex flex-col space-y-sm",children:e})]})}ne.AsyncSelect=I0,ne.Avatar=ru,ne.Badge=au,ne.Button=ui,ne.CardSelect=z0,ne.Dropdown=O0,ne.EmptyState=G0,ne.Heading=$t,ne.Icon=Xe,ne.InlineError=Ba,ne.Modal=D0,ne.Navigation=V0,ne.RadioButton=co,ne.Select=m0,ne.SelectButton=C0,ne.SelectCountry=T0,ne.Switch=Ys,ne.Tab=S0,ne.TabNav=F0,ne.Text=K,ne.Tooltip=Wl,ne.Tracker=Yl,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|