@choc-ui/chakra-autocomplete 5.2.7 → 5.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react"),Jn=require("@chakra-ui/react-utils"),$=require("@chakra-ui/react"),T=require("@chakra-ui/utils"),Pt=require("@emotion/styled"),Zn=require("@emotion/react");function Qn(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const qt=Qn(P);var Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lt={exports:{}},kr={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("react"),Jn=require("@chakra-ui/react-utils"),W=require("@chakra-ui/react"),T=require("@chakra-ui/utils"),Pt=require("@emotion/styled"),Qn=require("@emotion/react");function Zn(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const qt=Zn(A);var Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lt={exports:{}},kr={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Bt;function eo(){if(Bt)return kr;Bt=1;var e=P,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(p,h,g){var v,x={},y=null,C=null;g!==void 0&&(y=""+g),h.key!==void 0&&(y=""+h.key),h.ref!==void 0&&(C=h.ref);for(v in h)a.call(h,v)&&!u.hasOwnProperty(v)&&(x[v]=h[v]);if(p&&p.defaultProps)for(v in h=p.defaultProps,h)x[v]===void 0&&(x[v]=h[v]);return{$$typeof:r,type:p,key:y,ref:C,props:x,_owner:l.current}}return kr.Fragment=o,kr.jsx=d,kr.jsxs=d,kr}var Tr={};/**
9
+ */var Bt;function eo(){if(Bt)return kr;Bt=1;var e=A,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(p,h,g){var v,_={},y=null,C=null;g!==void 0&&(y=""+g),h.key!==void 0&&(y=""+h.key),h.ref!==void 0&&(C=h.ref);for(v in h)a.call(h,v)&&!u.hasOwnProperty(v)&&(_[v]=h[v]);if(p&&p.defaultProps)for(v in h=p.defaultProps,h)_[v]===void 0&&(_[v]=h[v]);return{$$typeof:r,type:p,key:y,ref:C,props:_,_owner:l.current}}return kr.Fragment=o,kr.jsx=d,kr.jsxs=d,kr}var Tr={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,14 +14,14 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ft;function ro(){return Ft||(Ft=1,process.env.NODE_ENV!=="production"&&function(){var e=P,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),W=Symbol.iterator,M="@@iterator";function D(n){if(n===null||typeof n!="object")return null;var f=W&&n[W]||n[M];return typeof f=="function"?f:null}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(n){{for(var f=arguments.length,m=new Array(f>1?f-1:0),k=1;k<f;k++)m[k-1]=arguments[k];pe("error",n,m)}}function pe(n,f,m){{var k=z.ReactDebugCurrentFrame,B=k.getStackAddendum();B!==""&&(f+="%s",m=m.concat([B]));var j=m.map(function(I){return String(I)});j.unshift("Warning: "+f),Function.prototype.apply.call(console[n],console,j)}}var yr=!1,Sr=!1,Ze=!1,ar=!1,$e=!1,_e;_e=Symbol.for("react.module.reference");function We(n){return!!(typeof n=="string"||typeof n=="function"||n===a||n===u||$e||n===l||n===g||n===v||ar||n===C||yr||Sr||Ze||typeof n=="object"&&n!==null&&(n.$$typeof===y||n.$$typeof===x||n.$$typeof===d||n.$$typeof===p||n.$$typeof===h||n.$$typeof===_e||n.getModuleId!==void 0))}function hr(n,f,m){var k=n.displayName;if(k)return k;var B=f.displayName||f.name||"";return B!==""?m+"("+B+")":m}function le(n){return n.displayName||"Context"}function J(n){if(n==null)return null;if(typeof n.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case a:return"Fragment";case o:return"Portal";case u:return"Profiler";case l:return"StrictMode";case g:return"Suspense";case v:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case p:var f=n;return le(f)+".Consumer";case d:var m=n;return le(m._context)+".Provider";case h:return hr(n,n.render,"ForwardRef");case x:var k=n.displayName||null;return k!==null?k:J(n.type)||"Memo";case y:{var B=n,j=B._payload,I=B._init;try{return J(I(j))}catch{return null}}}return null}var xe=Object.assign,ge=0,Oe,mr,ir,Ye,he,Le,sr;function N(){}N.__reactDisabledLog=!0;function re(){{if(ge===0){Oe=console.log,mr=console.info,ir=console.warn,Ye=console.error,he=console.group,Le=console.groupCollapsed,sr=console.groupEnd;var n={configurable:!0,enumerable:!0,value:N,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}ge++}}function me(){{if(ge--,ge===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},n,{value:Oe}),info:xe({},n,{value:mr}),warn:xe({},n,{value:ir}),error:xe({},n,{value:Ye}),group:xe({},n,{value:he}),groupCollapsed:xe({},n,{value:Le}),groupEnd:xe({},n,{value:sr})})}ge<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=z.ReactCurrentDispatcher,ke;function te(n,f,m){{if(ke===void 0)try{throw Error()}catch(B){var k=B.stack.trim().match(/\n( *(at )?)/);ke=k&&k[1]||""}return`
18
- `+ke+n}}var Qe=!1,Te;{var er=typeof WeakMap=="function"?WeakMap:Map;Te=new er}function Ue(n,f){if(!n||Qe)return"";{var m=Te.get(n);if(m!==void 0)return m}var k;Qe=!0;var B=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var j;j=be.current,be.current=null,re();try{if(f){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(fe){k=fe}Reflect.construct(n,[],I)}else{try{I.call()}catch(fe){k=fe}n.call(I.prototype)}}else{try{throw Error()}catch(fe){k=fe}n()}}catch(fe){if(fe&&k&&typeof fe.stack=="string"){for(var E=fe.stack.split(`
17
+ */var Ft;function ro(){return Ft||(Ft=1,process.env.NODE_ENV!=="production"&&function(){var e=A,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),O=Symbol.iterator,N="@@iterator";function G(n){if(n===null||typeof n!="object")return null;var f=O&&n[O]||n[N];return typeof f=="function"?f:null}var L=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(n){{for(var f=arguments.length,m=new Array(f>1?f-1:0),k=1;k<f;k++)m[k-1]=arguments[k];le("error",n,m)}}function le(n,f,m){{var k=L.ReactDebugCurrentFrame,F=k.getStackAddendum();F!==""&&(f+="%s",m=m.concat([F]));var P=m.map(function(I){return String(I)});P.unshift("Warning: "+f),Function.prototype.apply.call(console[n],console,P)}}var ar=!1,Sr=!1,Qe=!1,ir=!1,$e=!1,_e;_e=Symbol.for("react.module.reference");function We(n){return!!(typeof n=="string"||typeof n=="function"||n===a||n===u||$e||n===l||n===g||n===v||ir||n===C||ar||Sr||Qe||typeof n=="object"&&n!==null&&(n.$$typeof===y||n.$$typeof===_||n.$$typeof===d||n.$$typeof===p||n.$$typeof===h||n.$$typeof===_e||n.getModuleId!==void 0))}function mr(n,f,m){var k=n.displayName;if(k)return k;var F=f.displayName||f.name||"";return F!==""?m+"("+F+")":m}function ce(n){return n.displayName||"Context"}function J(n){if(n==null)return null;if(typeof n.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case a:return"Fragment";case o:return"Portal";case u:return"Profiler";case l:return"StrictMode";case g:return"Suspense";case v:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case p:var f=n;return ce(f)+".Consumer";case d:var m=n;return ce(m._context)+".Provider";case h:return mr(n,n.render,"ForwardRef");case _:var k=n.displayName||null;return k!==null?k:J(n.type)||"Memo";case y:{var F=n,P=F._payload,I=F._init;try{return J(I(P))}catch{return null}}}return null}var xe=Object.assign,ge=0,Oe,br,sr,Ye,he,Le,lr;function D(){}D.__reactDisabledLog=!0;function re(){{if(ge===0){Oe=console.log,br=console.info,sr=console.warn,Ye=console.error,he=console.group,Le=console.groupCollapsed,lr=console.groupEnd;var n={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}ge++}}function me(){{if(ge--,ge===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},n,{value:Oe}),info:xe({},n,{value:br}),warn:xe({},n,{value:sr}),error:xe({},n,{value:Ye}),group:xe({},n,{value:he}),groupCollapsed:xe({},n,{value:Le}),groupEnd:xe({},n,{value:lr})})}ge<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=L.ReactCurrentDispatcher,ke;function te(n,f,m){{if(ke===void 0)try{throw Error()}catch(F){var k=F.stack.trim().match(/\n( *(at )?)/);ke=k&&k[1]||""}return`
18
+ `+ke+n}}var Ze=!1,Te;{var er=typeof WeakMap=="function"?WeakMap:Map;Te=new er}function Ue(n,f){if(!n||Ze)return"";{var m=Te.get(n);if(m!==void 0)return m}var k;Ze=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var P;P=be.current,be.current=null,re();try{if(f){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(pe){k=pe}Reflect.construct(n,[],I)}else{try{I.call()}catch(pe){k=pe}n.call(I.prototype)}}else{try{throw Error()}catch(pe){k=pe}n()}}catch(pe){if(pe&&k&&typeof pe.stack=="string"){for(var E=pe.stack.split(`
19
19
  `),ie=k.stack.split(`
20
- `),K=E.length-1,Z=ie.length-1;K>=1&&Z>=0&&E[K]!==ie[Z];)Z--;for(;K>=1&&Z>=0;K--,Z--)if(E[K]!==ie[Z]){if(K!==1||Z!==1)do if(K--,Z--,Z<0||E[K]!==ie[Z]){var de=`
21
- `+E[K].replace(" at new "," at ");return n.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",n.displayName)),typeof n=="function"&&Te.set(n,de),de}while(K>=1&&Z>=0);break}}}finally{Qe=!1,be.current=j,me(),Error.prepareStackTrace=B}var Ne=n?n.displayName||n.name:"",jr=Ne?te(Ne):"";return typeof n=="function"&&Te.set(n,jr),jr}function je(n,f,m){return Ue(n,!1)}function lr(n){var f=n.prototype;return!!(f&&f.isReactComponent)}function Me(n,f,m){if(n==null)return"";if(typeof n=="function")return Ue(n,lr(n));if(typeof n=="string")return te(n);switch(n){case g:return te("Suspense");case v:return te("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case h:return je(n.render);case x:return Me(n.type,f,m);case y:{var k=n,B=k._payload,j=k._init;try{return Me(j(B),f,m)}catch{}}}return""}var He=Object.prototype.hasOwnProperty,br={},cr=z.ReactDebugCurrentFrame;function ur(n){if(n){var f=n._owner,m=Me(n.type,n._source,f?f.type:null);cr.setExtraStackFrame(m)}else cr.setExtraStackFrame(null)}function dr(n,f,m,k,B){{var j=Function.call.bind(He);for(var I in n)if(j(n,I)){var E=void 0;try{if(typeof n[I]!="function"){var ie=Error((k||"React class")+": "+m+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ie.name="Invariant Violation",ie}E=n[I](f,I,k,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){E=K}E&&!(E instanceof Error)&&(ur(B),w("%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).",k||"React class",m,I,typeof E),ur(null)),E instanceof Error&&!(E.message in br)&&(br[E.message]=!0,ur(B),w("Failed %s type: %s",m,E.message),ur(null))}}}var vr=Array.isArray;function qe(n){return vr(n)}function ce(n){{var f=typeof Symbol=="function"&&Symbol.toStringTag,m=f&&n[Symbol.toStringTag]||n.constructor.name||"Object";return m}}function S(n){try{return R(n),!1}catch{return!0}}function R(n){return""+n}function X(n){if(S(n))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ce(n)),R(n)}var Q=z.ReactCurrentOwner,ae={key:!0,ref:!0,__self:!0,__source:!0},ne,Xe,Ce;Ce={};function G(n){if(He.call(n,"ref")){var f=Object.getOwnPropertyDescriptor(n,"ref").get;if(f&&f.isReactWarning)return!1}return n.ref!==void 0}function ee(n){if(He.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function U(n,f){if(typeof n.ref=="string"&&Q.current&&f&&Q.current.stateNode!==f){var m=J(Q.current.type);Ce[m]||(w('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',J(Q.current.type),n.ref),Ce[m]=!0)}}function Ae(n,f){{var m=function(){ne||(ne=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};m.isReactWarning=!0,Object.defineProperty(n,"key",{get:m,configurable:!0})}}function ue(n,f){{var m=function(){Xe||(Xe=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};m.isReactWarning=!0,Object.defineProperty(n,"ref",{get:m,configurable:!0})}}var De=function(n,f,m,k,B,j,I){var E={$$typeof:r,type:n,key:f,ref:m,props:I,_owner:j};return E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(E,"_self",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.defineProperty(E,"_source",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E};function oe(n,f,m,k,B){{var j,I={},E=null,ie=null;m!==void 0&&(X(m),E=""+m),ee(f)&&(X(f.key),E=""+f.key),G(f)&&(ie=f.ref,U(f,B));for(j in f)He.call(f,j)&&!ae.hasOwnProperty(j)&&(I[j]=f[j]);if(n&&n.defaultProps){var K=n.defaultProps;for(j in K)I[j]===void 0&&(I[j]=K[j])}if(E||ie){var Z=typeof n=="function"?n.displayName||n.name||"Unknown":n;E&&Ae(I,Z),ie&&ue(I,Z)}return De(n,E,ie,B,k,Q.current,I)}}var ze=z.ReactCurrentOwner,rr=z.ReactDebugCurrentFrame;function ve(n){if(n){var f=n._owner,m=Me(n.type,n._source,f?f.type:null);rr.setExtraStackFrame(m)}else rr.setExtraStackFrame(null)}var Re;Re=!1;function Pe(n){return typeof n=="object"&&n!==null&&n.$$typeof===r}function ye(){{if(ze.current){var n=J(ze.current.type);if(n)return`
20
+ `),K=E.length-1,Q=ie.length-1;K>=1&&Q>=0&&E[K]!==ie[Q];)Q--;for(;K>=1&&Q>=0;K--,Q--)if(E[K]!==ie[Q]){if(K!==1||Q!==1)do if(K--,Q--,Q<0||E[K]!==ie[Q]){var fe=`
21
+ `+E[K].replace(" at new "," at ");return n.displayName&&fe.includes("<anonymous>")&&(fe=fe.replace("<anonymous>",n.displayName)),typeof n=="function"&&Te.set(n,fe),fe}while(K>=1&&Q>=0);break}}}finally{Ze=!1,be.current=P,me(),Error.prepareStackTrace=F}var Ne=n?n.displayName||n.name:"",jr=Ne?te(Ne):"";return typeof n=="function"&&Te.set(n,jr),jr}function je(n,f,m){return Ue(n,!1)}function cr(n){var f=n.prototype;return!!(f&&f.isReactComponent)}function Me(n,f,m){if(n==null)return"";if(typeof n=="function")return Ue(n,cr(n));if(typeof n=="string")return te(n);switch(n){case g:return te("Suspense");case v:return te("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case h:return je(n.render);case _:return Me(n.type,f,m);case y:{var k=n,F=k._payload,P=k._init;try{return Me(P(F),f,m)}catch{}}}return""}var He=Object.prototype.hasOwnProperty,vr={},ur=L.ReactDebugCurrentFrame;function dr(n){if(n){var f=n._owner,m=Me(n.type,n._source,f?f.type:null);ur.setExtraStackFrame(m)}else ur.setExtraStackFrame(null)}function fr(n,f,m,k,F){{var P=Function.call.bind(He);for(var I in n)if(P(n,I)){var E=void 0;try{if(typeof n[I]!="function"){var ie=Error((k||"React class")+": "+m+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ie.name="Invariant Violation",ie}E=n[I](f,I,k,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){E=K}E&&!(E instanceof Error)&&(dr(F),R("%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).",k||"React class",m,I,typeof E),dr(null)),E instanceof Error&&!(E.message in vr)&&(vr[E.message]=!0,dr(F),R("Failed %s type: %s",m,E.message),dr(null))}}}var yr=Array.isArray;function qe(n){return yr(n)}function ue(n){{var f=typeof Symbol=="function"&&Symbol.toStringTag,m=f&&n[Symbol.toStringTag]||n.constructor.name||"Object";return m}}function S(n){try{return w(n),!1}catch{return!0}}function w(n){return""+n}function X(n){if(S(n))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ue(n)),w(n)}var Z=L.ReactCurrentOwner,ae={key:!0,ref:!0,__self:!0,__source:!0},ne,Xe,Ce;Ce={};function z(n){if(He.call(n,"ref")){var f=Object.getOwnPropertyDescriptor(n,"ref").get;if(f&&f.isReactWarning)return!1}return n.ref!==void 0}function ee(n){if(He.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function U(n,f){if(typeof n.ref=="string"&&Z.current&&f&&Z.current.stateNode!==f){var m=J(Z.current.type);Ce[m]||(R('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',J(Z.current.type),n.ref),Ce[m]=!0)}}function Ae(n,f){{var m=function(){ne||(ne=!0,R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};m.isReactWarning=!0,Object.defineProperty(n,"key",{get:m,configurable:!0})}}function de(n,f){{var m=function(){Xe||(Xe=!0,R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};m.isReactWarning=!0,Object.defineProperty(n,"ref",{get:m,configurable:!0})}}var De=function(n,f,m,k,F,P,I){var E={$$typeof:r,type:n,key:f,ref:m,props:I,_owner:P};return E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(E,"_self",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.defineProperty(E,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E};function oe(n,f,m,k,F){{var P,I={},E=null,ie=null;m!==void 0&&(X(m),E=""+m),ee(f)&&(X(f.key),E=""+f.key),z(f)&&(ie=f.ref,U(f,F));for(P in f)He.call(f,P)&&!ae.hasOwnProperty(P)&&(I[P]=f[P]);if(n&&n.defaultProps){var K=n.defaultProps;for(P in K)I[P]===void 0&&(I[P]=K[P])}if(E||ie){var Q=typeof n=="function"?n.displayName||n.name||"Unknown":n;E&&Ae(I,Q),ie&&de(I,Q)}return De(n,E,ie,F,k,Z.current,I)}}var ze=L.ReactCurrentOwner,rr=L.ReactDebugCurrentFrame;function ve(n){if(n){var f=n._owner,m=Me(n.type,n._source,f?f.type:null);rr.setExtraStackFrame(m)}else rr.setExtraStackFrame(null)}var Re;Re=!1;function Pe(n){return typeof n=="object"&&n!==null&&n.$$typeof===r}function ye(){{if(ze.current){var n=J(ze.current.type);if(n)return`
22
22
 
23
23
  Check the render method of \``+n+"`."}return""}}function Yr(n){{if(n!==void 0){var f=n.fileName.replace(/^.*[\\\/]/,""),m=n.lineNumber;return`
24
24
 
25
25
  Check your code at `+f+":"+m+"."}return""}}var wr={};function Ur(n){{var f=ye();if(!f){var m=typeof n=="string"?n:n.displayName||n.name;m&&(f=`
26
26
 
27
- Check the top-level render call using <`+m+">.")}return f}}function Er(n,f){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var m=Ur(f);if(wr[m])return;wr[m]=!0;var k="";n&&n._owner&&n._owner!==ze.current&&(k=" It was passed a child from "+J(n._owner.type)+"."),ve(n),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,k),ve(null)}}function Ir(n,f){{if(typeof n!="object")return;if(qe(n))for(var m=0;m<n.length;m++){var k=n[m];Pe(k)&&Er(k,f)}else if(Pe(n))n._store&&(n._store.validated=!0);else if(n){var B=D(n);if(typeof B=="function"&&B!==n.entries)for(var j=B.call(n),I;!(I=j.next()).done;)Pe(I.value)&&Er(I.value,f)}}}function Be(n){{var f=n.type;if(f==null||typeof f=="string")return;var m;if(typeof f=="function")m=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===h||f.$$typeof===x))m=f.propTypes;else return;if(m){var k=J(f);dr(m,n.props,"prop",k,n)}else if(f.PropTypes!==void 0&&!Re){Re=!0;var B=J(f);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hr(n){{for(var f=Object.keys(n.props),m=0;m<f.length;m++){var k=f[m];if(k!=="children"&&k!=="key"){ve(n),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k),ve(null);break}}n.ref!==null&&(ve(n),w("Invalid attribute `ref` supplied to `React.Fragment`."),ve(null))}}function Or(n,f,m,k,B,j){{var I=We(n);if(!I){var E="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(E+=" 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 ie=Yr(B);ie?E+=ie:E+=ye();var K;n===null?K="null":qe(n)?K="array":n!==void 0&&n.$$typeof===r?(K="<"+(J(n.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):K=typeof n,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",K,E)}var Z=oe(n,f,m,B,j);if(Z==null)return Z;if(I){var de=f.children;if(de!==void 0)if(k)if(qe(de)){for(var Ne=0;Ne<de.length;Ne++)Ir(de[Ne],n);Object.freeze&&Object.freeze(de)}else w("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 Ir(de,n)}return n===a?Hr(Z):Be(Z),Z}}function qr(n,f,m){return Or(n,f,m,!0)}function Xr(n,f,m){return Or(n,f,m,!1)}var Kr=Xr,tr=qr;Tr.Fragment=a,Tr.jsx=Kr,Tr.jsxs=tr}()),Tr}process.env.NODE_ENV==="production"?lt.exports=eo():lt.exports=ro();var _=lt.exports;const[Kt,Je]=Jn.createContext({name:"AutoCompleteContext",errorMessage:"useAutoCompleteContext: `context` is undefined. Seems you forgot to wrap all autoomplete components within `<AutoComplete />`"});var Nr=function(e,r){for(var o,a=qt.Children.toArray(e),l=0,u=a;l<u.length;l++){var d=u[l];if(r(d))return d;if(!((o=d.props)===null||o===void 0)&&o.children){var p=Nr(d.props.children,r);if(p)return p}}},$r=globalThis&&globalThis.__spreadArray||function(e,r){for(var o=0,a=r.length,l=e.length;o<a;o++,l++)e[l]=r[o];return e},Jt=function(e,r){for(var o,a=qt.Children.toArray(e),l=[],u=0,d=a;u<d.length;u++){var p=d[u];r(p)&&(l=$r($r([],l),[p])),!((o=p.props)===null||o===void 0)&&o.children&&(l=$r($r([],l),Jt(p.props.children,r)))}return l};function $t(e,r,o=2){function a(x,y){x=" ".repeat(y-1)+x.toLowerCase()+" ".repeat(y-1);let C=new Array(x.length-y+1);for(let W=0;W<C.length;W++)C[W]=x.slice(W,W+y);return C}if(!(e!=null&&e.length)||!(r!=null&&r.length))return 0;let l=e.length<r.length?e:r,u=e.length<r.length?r:e,d=a(l,o),p=a(u,o),h=new Set(d),g=p.length,v=0;for(let x of p)h.delete(x)&&v++;return v/g}const gt=e=>{var r;return(r=typeof e=="string"||typeof e=="number"?e:e[Object.keys(e)[0]])==null?void 0:r.toString()},to=(e,r)=>typeof e!="string"||T.isEmpty(r)?e:e.toString().replace(new RegExp(io(r),"gi"),a=>`<mark>${a}</mark>`),no=e=>Jt(e,o=>{var a;return((a=o==null?void 0:o.type)==null?void 0:a.displayName)==="AutoCompleteItem"}).map(o=>{const a=T.pick(o.props,["value","label","fixed","disabled"]),{getValue:l=gt}=o.props,u=l(a.value);return{...T.isDefined(a.label)?a:{...a,label:u},value:u,originalValue:a.value}}),oo=()=>({bg:"whiteAlpha.100",_light:{bg:"gray.200"}}),ao=(e,r,o)=>(r==null?void 0:r.toLowerCase().indexOf(e==null?void 0:e.toLowerCase()))>=0||(o==null?void 0:o.toLowerCase().indexOf(e==null?void 0:e.toLowerCase()))>=0||$t(e,r)>=.5||$t(e,o)>=.5;function io(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const so=(e,r)=>{const o={},a={},{field:l}=e;return l&&Object.keys(l).forEach(u=>{if(u.startsWith("--input")===!1)o[u]=l[u];else{let d=l[u];const h=u.replace("--input-","").replace(/-([a-z])/g,function(g){return g[1].toUpperCase()});d.indexOf(".")!==-1&&(d=d.substring(d.indexOf(".")+1)),a[h]=d}}),{...r&&{...o,...a,_focusWithin:e.field._focus,pos:"relative",minH:9,py:1.5,spacing:3},cursor:"text",h:"fit-content"}},lo=(e,r)=>Nr(e,a=>{var l;return((l=a==null?void 0:a.type)==null?void 0:l.displayName)==="AutoCompleteItem"&&a.props.value===(r==null?void 0:r.value)}),co=(e,r)=>Nr(e,a=>{var l;return((l=a==null?void 0:a.type)==null?void 0:l.displayName)==="AutoCompleteItem"&&a.props.value===(r==null?void 0:r.value)}),uo=(e,r)=>T.isDefined(Nr(e,o=>{var l,u;const a=T.runIfFn(((l=o.props)==null?void 0:l.getValue)||gt,((u=o.props)==null?void 0:u.value)||{});return r.some(d=>d.value===a)}));function Zt(e){var ce;let{closeOnBlur:r=!0,creatable:o,emphasize:a,emptyState:l=!0,freeSolo:u,isReadOnly:d,listAllValuesOnFocus:p,maxSuggestions:h,multiple:g,closeOnSelect:v=!g,defaultValue:x,defaultValues:y=x?[x]:[],onReady:C,defaultIsOpen:W,disableFilter:M,isLoading:D=!1,placement:z="bottom",restoreOnBlurIfEmpty:w=!u,shouldRenderSuggestions:pe=()=>!0,submitKeys:yr=[],suggestWhenEmpty:Sr,value:Ze,values:ar=Ze?typeof Ze=="string"?[Ze]:[...Ze]:void 0}=e;u=u||(g?!0:e.freeSolo);const{isOpen:$e,onClose:_e,onOpen:We}=$.useDisclosure({defaultIsOpen:W}),hr=T.runIfFn(e.children,{isOpen:$e,onClose:_e,onOpen:We}),le=no(hr),J=P.useRef(null),xe=P.useRef(null),ge=P.useRef(null),Oe=P.useRef(null),[mr,ir]=P.useState(!1);let Ye="";g?Ye="":T.isUndefined(y)?T.isUndefined(ar)||(Ye=ar[0]):Ye=y[0];const[he,Le]=P.useState(Ye??""),sr=M?le:le.filter(S=>S.fixed||T.runIfFn(e.filter||ao,he,S.value,S.label)||mr).filter((S,R)=>h?S.fixed||R<h:!0),N=o?[{value:he,noFilter:!0,creatable:!0}]:[],re=[...sr,...N],[me,be]=$.useControllableState({defaultValue:y.map(S=>S==null?void 0:S.toString()),value:ar,onChange:S=>{const R=re.find(Q=>Q.value===S[0]),X=S.map(Q=>re.find(ae=>ae.value===Q));T.runIfFn(e.onChange,g?S:S[0],g?X:R)}}),[ke,te]=P.useState((ce=le[0])==null?void 0:ce.value),Qe=e.maxSelections||me.length+1,Te=re.findIndex(S=>S.value===ke),er=T.getNextItem(Te,re,!!e.rollNavigation),Ue=T.getPrevItem(Te,re,!!e.rollNavigation),je=T.getFirstItem(re),lr=T.getLastItem(re);$.useUpdateEffect(()=>{te(je==null?void 0:je.value)},[he]),P.useEffect(()=>{var S;$e||te((S=le[0])==null?void 0:S.value)},[$e]),P.useEffect(()=>{const S=le.find(R=>R.value===ke);T.runIfFn(e.onOptionFocus,{item:S,focusMethod:Oe.current,isNewInput:S==null?void 0:S.creatable})},[ke,e.onOptionFocus]);const Me=S=>{var Q,ae;!me.includes(S)&&me.length<Qe&&be(ne=>g?[...ne,S]:[S]);const R=re.find(ne=>ne.value===S);g&&((Q=J.current)==null||Q.focus()),e.focusInputOnSelect&&((ae=J.current)==null||ae.focus()),T.runIfFn(e.onSelectOption,{item:R,selectMethod:Oe.current,isNewInput:R==null?void 0:R.creatable}),R!=null&&R.creatable&&T.runIfFn(e.onCreateOption,{item:T.omit(R,["noFilter"]),selectMethod:Oe.current});const X=(R==null?void 0:R.label)||(R==null?void 0:R.value);Le(()=>g?"":X??""),v&&_e()},He=(S,R)=>{var X;be(Q=>{const ae=le.find(ne=>ne.value===S);return T.runIfFn(e.onTagRemoved,S,ae,Q),Q.filter(ne=>ne!==S)}),he===S&&Le(""),R&&((X=J.current)==null||X.focus())},br=S=>{var R;be([]),S&&((R=J.current)==null||R.focus())},cr=g?me.map(S=>{var R;return{label:((R=le.find(X=>X.value===(S==null?void 0:S.toString())))==null?void 0:R.label)||S,onRemove:()=>He(S)}}):[];return P.useEffect(()=>{T.runIfFn(C,{tags:cr})},[me]),{autoCompleteProps:e,children:hr,filteredList:re,filteredResults:sr,focusedValue:ke,getEmptyStateProps:S=>{if(re.every(X=>X.noFilter)&&l&&!o)return typeof l=="boolean"?S:T.runIfFn(l,{query:he})},getGroupProps:S=>{const R=uo(S.children,re);return{divider:{hasFirstChild:lo(S.children,je),hasLastChild:co(S.children,T.getLastItem(re.filter(X=>T.isUndefined(X==null?void 0:X.noFilter))))},group:{display:R?"initial":"none"}}},getInputProps:(S,R)=>{const{onBlur:X,onChange:Q,onFocus:ae,onKeyDown:ne,variant:Xe,...Ce}=S;return{wrapper:{ref:xe,onClick:()=>{var G;(G=J==null?void 0:J.current)==null||G.focus()},...so(R,g),...Ce},input:{isReadOnly:d,onFocus:G=>{T.runIfFn(ae,G),e.openOnFocus&&!d&&We(),e.selectOnFocus&&G.target.select(),p&&ir(!0)},onBlur:G=>{var Ae,ue;T.runIfFn(X,G);const ee=G.relatedTarget===(ge==null?void 0:ge.current)||((Ae=ge.current)==null?void 0:Ae.contains(G.relatedTarget)),U=(ue=xe.current)==null?void 0:ue.contains(G.relatedTarget);if(!ee&&!U&&(r&&_e(),!me.includes(G.target.value)&&w)){const De=T.getLastItem(me),oe=le.find(rr=>rr.value===De),ze=(oe==null?void 0:oe.label)||(oe==null?void 0:oe.value)||"";Le(ze)}},onChange:G=>{const ee=G.target.value;T.runIfFn(Q,G),Le(ee);const U=T.isEmpty(ee);T.runIfFn(pe,ee)&&(!U||Sr)?We():_e(),ir(!1)},onKeyDown:G=>{var Ae;T.runIfFn(ne,G),Oe.current="keyboard";const{key:ee}=G,U=re[Te];if(["Enter",...yr].includes(ee)){U&&!(U!=null&&U.disabled)?Me(U==null?void 0:U.value):(Ae=J.current)==null||Ae.focus(),G.preventDefault();return}if(ee==="ArrowDown"){$e?te(er==null?void 0:er.value):We(),G.preventDefault();return}if(ee==="ArrowUp"){$e?te(Ue==null?void 0:Ue.value):We(),G.preventDefault();return}if(ee==="Tab"){U&&!(U!=null&&U.disabled)?Me(U==null?void 0:U.value):_e();return}if(ee==="Home"){te(je==null?void 0:je.value),G.preventDefault();return}if(ee==="End"){te(lr==null?void 0:lr.value),G.preventDefault();return}ee==="Escape"&&(_e(),G.preventDefault())},value:he,variant:g?"unstyled":Xe,...Ce}}},getItemProps:(S,R)=>{var Re;const{_fixed:X,_focus:Q,children:ae,disabled:ne,label:Xe,value:Ce,fixed:G,getValue:ee=gt,onClick:U,onMouseOver:Ae,sx:ue,...De}=S,oe=R?Ce:(Re=ee(Ce))==null?void 0:Re.toString(),ze=oe===ke,rr=re.findIndex(Pe=>Pe.value===oe)>=0,ve=ae||Xe||oe;return{item:{...typeof ve!="string"||!a?{children:ve}:{dangerouslySetInnerHTML:{__html:to(ve,he)}},"aria-selected":me.includes(oe),"aria-disabled":ne,_disabled:{opacity:.4,cursor:"not-allowed",userSelect:"none"},onClick:Pe=>{var ye;T.runIfFn(U,Pe),ne?(ye=J.current)==null||ye.focus():Me(oe)},onMouseOver:Pe=>{T.runIfFn(Ae,Pe),te(oe),Oe.current="mouse"},sx:{...ue,mark:{color:"inherit",bg:"transparent",...T.isObject(a)?a:{fontWeight:a?"extrabold":"inherit"}}},...ze&&(Q||oo()),...G&&X,...De},root:{isValidSuggestion:rr,value:oe}}},inputRef:J,interactionRef:Oe,isLoading:D,isOpen:$e,itemList:le,listRef:ge,onClose:_e,onOpen:We,placement:z,query:he,removeItem:He,resetItems:br,setQuery:Le,tags:cr,values:me}}const Qt=$.forwardRef((e,r)=>{const o=Zt(e),{children:a,isOpen:l,onClose:u,onOpen:d,placement:p,resetItems:h,removeItem:g}=o;return P.useImperativeHandle(r,()=>({resetItems:h,removeItem:g})),_.jsx(Kt,{value:o,children:_.jsx($.Popover,{isLazy:!0,isOpen:l,onClose:u,onOpen:d,autoFocus:!1,placement:p,closeOnBlur:!0,matchWidth:!0,children:_.jsx($.chakra.div,{w:"full",ref:r,children:a})})})});Qt.displayName="AutoComplete";const en=$.forwardRef((e,r)=>{const{focusedValue:o,getItemProps:a,interactionRef:l}=Je(),u=P.useRef(),d=$.useMergeRefs(r,u),p=a(e),{isValidSuggestion:h,value:g}=p.root,v=o===g;P.useEffect(()=>{var M;v&&l.current==="keyboard"&&((M=u==null?void 0:u.current)==null||M.scrollIntoView({behavior:"smooth",block:"center"}))},[v,l]),P.useEffect(()=>{typeof g!="string"&&console.warn("wow"),typeof g!="string"&&T.isUndefined(e.getValue)&&console.error("You must define the `getValue` prop, when an Item's value is not a string")},[]);const{children:x,dangerouslySetInnerHTML:y,...C}=p.item,W=T.omit(C,["groupId"]);return h?_.jsx($.Flex,{ref:d,...ht,...W,children:x||_.jsx("span",{dangerouslySetInnerHTML:y})}):null});en.displayName="AutoCompleteItem";const ht={mx:"2",px:"2",py:"2",rounded:"md",cursor:"pointer"};function rn(e){const{alwaysDisplay:r,children:o,...a}=e,{autoCompleteProps:l,getItemProps:u,query:d,filteredResults:p}=Je(),{children:h,...g}=u({...e,value:d,children:T.runIfFn(o,{value:d})},!0).item,v=p.some(C=>C.value===d),x=T.isEmpty(d)?r:!0;return l.creatable&&x&&!v?_.jsx($.Flex,{...ht,...g,...a,children:h||`Add ${d}`}):null}rn.displayName="AutoCompleteCreatable";const tn=$.forwardRef((e,r)=>{const{children:o,showDivider:a,...l}=e,u=T.omit(l,["groupSibling"]),{getGroupProps:d}=Je(),{group:p}=d(e),h=po(e);return _.jsxs($.Box,{ref:r,...p,...u,children:[_.jsx($.Divider,{...h.top}),o,_.jsx($.Divider,{...h.bottom})]})}),nn=$.forwardRef((e,r)=>_.jsx($.Flex,{...fo,...e,ref:r}));tn.displayName="AutoCompleteGroup";nn.displayName="AutoCompleteGroupTitle";const fo={ml:5,my:1,fontSize:"xs",letterSpacing:"wider",fontWeight:"extrabold",textTransform:"uppercase"},po=e=>{const{getGroupProps:r}=Je(),o=e.groupSibling,{divider:{hasFirstChild:a,hasLastChild:l}}=r(e),u={my:2,borderColor:e.dividerColor},d={...u,mb:4,display:!e.showDivider||a?"none":""},p={...u,display:!e.showDivider||l||o?"none":""};return{top:d,bottom:p}},Wt=$.forwardRef((e,r)=>{const{isLoading:o}=Je(),{loadingIcon:a,...l}=e;return _.jsxs($.InputGroup,{children:[_.jsx($.Input,{...l,ref:r}),o&&_.jsx($.InputRightElement,{children:a||_.jsx($.Spinner,{})})]})}),mt=$.forwardRef((e,r)=>{const{autoCompleteProps:o,inputRef:a,getInputProps:l,tags:u}=Je(),{children:d,isInvalid:p,hidePlaceholder:h,...g}=e,v=$.useMultiStyleConfig("Input",e);let{wrapper:x,input:y}=l(g,v);const{ref:C,...W}=x,M=$.useMergeRefs(r,a),D=T.runIfFn(d,{tags:u});h&&(y={...y,placeholder:Array.isArray(D)&&D.length?void 0:y.placeholder});const z=_.jsx(Wt,{isInvalid:p,...y,ref:M}),w=_.jsxs($.Wrap,{...W,ref:C,children:[D,_.jsx($.WrapItem,{as:Wt,...y,ref:M})]});return _.jsx($.PopoverAnchor,{children:o.multiple?w:z})});mt.displayName="Input";mt.id="Input";function go(){const e=P.useContext(Zn.ThemeContext);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var on=P.createContext({});on.displayName="ColorModeContext";function an(){const e=P.useContext(on);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function ho(){const e=an(),r=go();return{...e,theme:r}}var bt=(...e)=>e.filter(Boolean).join(" ");function gr(e){const r=typeof e;return e!=null&&(r==="object"||r==="function")&&!Array.isArray(e)}function pr(e,...r){return mo(e)?e(...r):e}var mo=e=>typeof e=="function",Dr={exports:{}};Dr.exports;(function(e,r){var o=200,a="__lodash_hash_undefined__",l=800,u=16,d=9007199254740991,p="[object Arguments]",h="[object Array]",g="[object AsyncFunction]",v="[object Boolean]",x="[object Date]",y="[object Error]",C="[object Function]",W="[object GeneratorFunction]",M="[object Map]",D="[object Number]",z="[object Null]",w="[object Object]",pe="[object Proxy]",yr="[object RegExp]",Sr="[object Set]",Ze="[object String]",ar="[object Undefined]",$e="[object WeakMap]",_e="[object ArrayBuffer]",We="[object DataView]",hr="[object Float32Array]",le="[object Float64Array]",J="[object Int8Array]",xe="[object Int16Array]",ge="[object Int32Array]",Oe="[object Uint8Array]",mr="[object Uint8ClampedArray]",ir="[object Uint16Array]",Ye="[object Uint32Array]",he=/[\\^$.*+?()[\]{}|]/g,Le=/^\[object .+?Constructor\]$/,sr=/^(?:0|[1-9]\d*)$/,N={};N[hr]=N[le]=N[J]=N[xe]=N[ge]=N[Oe]=N[mr]=N[ir]=N[Ye]=!0,N[p]=N[h]=N[_e]=N[v]=N[We]=N[x]=N[y]=N[C]=N[M]=N[D]=N[w]=N[yr]=N[Sr]=N[Ze]=N[$e]=!1;var re=typeof Fr=="object"&&Fr&&Fr.Object===Object&&Fr,me=typeof self=="object"&&self&&self.Object===Object&&self,be=re||me||Function("return this")(),ke=r&&!r.nodeType&&r,te=ke&&!0&&e&&!e.nodeType&&e,Qe=te&&te.exports===ke,Te=Qe&&re.process,er=function(){try{var t=te&&te.require&&te.require("util").types;return t||Te&&Te.binding&&Te.binding("util")}catch{}}(),Ue=er&&er.isTypedArray;function je(t,i,c){switch(c.length){case 0:return t.call(i);case 1:return t.call(i,c[0]);case 2:return t.call(i,c[0],c[1]);case 3:return t.call(i,c[0],c[1],c[2])}return t.apply(i,c)}function lr(t,i){for(var c=-1,b=Array(t);++c<t;)b[c]=i(c);return b}function Me(t){return function(i){return t(i)}}function He(t,i){return t==null?void 0:t[i]}function br(t,i){return function(c){return t(i(c))}}var cr=Array.prototype,ur=Function.prototype,dr=Object.prototype,vr=be["__core-js_shared__"],qe=ur.toString,ce=dr.hasOwnProperty,S=function(){var t=/[^.]+$/.exec(vr&&vr.keys&&vr.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),R=dr.toString,X=qe.call(Object),Q=RegExp("^"+qe.call(ce).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ae=Qe?be.Buffer:void 0,ne=be.Symbol,Xe=be.Uint8Array,Ce=ae?ae.allocUnsafe:void 0,G=br(Object.getPrototypeOf,Object),ee=Object.create,U=dr.propertyIsEnumerable,Ae=cr.splice,ue=ne?ne.toStringTag:void 0,De=function(){try{var t=Zr(Object,"defineProperty");return t({},"",{}),t}catch{}}(),oe=ae?ae.isBuffer:void 0,ze=Math.max,rr=Date.now,ve=Zr(be,"Map"),Re=Zr(Object,"create"),Pe=function(){function t(){}return function(i){if(!fr(i))return{};if(ee)return ee(i);t.prototype=i;var c=new t;return t.prototype=void 0,c}}();function ye(t){var i=-1,c=t==null?0:t.length;for(this.clear();++i<c;){var b=t[i];this.set(b[0],b[1])}}function Yr(){this.__data__=Re?Re(null):{},this.size=0}function wr(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function Ur(t){var i=this.__data__;if(Re){var c=i[t];return c===a?void 0:c}return ce.call(i,t)?i[t]:void 0}function Er(t){var i=this.__data__;return Re?i[t]!==void 0:ce.call(i,t)}function Ir(t,i){var c=this.__data__;return this.size+=this.has(t)?0:1,c[t]=Re&&i===void 0?a:i,this}ye.prototype.clear=Yr,ye.prototype.delete=wr,ye.prototype.get=Ur,ye.prototype.has=Er,ye.prototype.set=Ir;function Be(t){var i=-1,c=t==null?0:t.length;for(this.clear();++i<c;){var b=t[i];this.set(b[0],b[1])}}function Hr(){this.__data__=[],this.size=0}function Or(t){var i=this.__data__,c=fe(i,t);if(c<0)return!1;var b=i.length-1;return c==b?i.pop():Ae.call(i,c,1),--this.size,!0}function qr(t){var i=this.__data__,c=fe(i,t);return c<0?void 0:i[c][1]}function Xr(t){return fe(this.__data__,t)>-1}function Kr(t,i){var c=this.__data__,b=fe(c,t);return b<0?(++this.size,c.push([t,i])):c[b][1]=i,this}Be.prototype.clear=Hr,Be.prototype.delete=Or,Be.prototype.get=qr,Be.prototype.has=Xr,Be.prototype.set=Kr;function tr(t){var i=-1,c=t==null?0:t.length;for(this.clear();++i<c;){var b=t[i];this.set(b[0],b[1])}}function n(){this.size=0,this.__data__={hash:new ye,map:new(ve||Be),string:new ye}}function f(t){var i=Pr(this,t).delete(t);return this.size-=i?1:0,i}function m(t){return Pr(this,t).get(t)}function k(t){return Pr(this,t).has(t)}function B(t,i){var c=Pr(this,t),b=c.size;return c.set(t,i),this.size+=c.size==b?0:1,this}tr.prototype.clear=n,tr.prototype.delete=f,tr.prototype.get=m,tr.prototype.has=k,tr.prototype.set=B;function j(t){var i=this.__data__=new Be(t);this.size=i.size}function I(){this.__data__=new Be,this.size=0}function E(t){var i=this.__data__,c=i.delete(t);return this.size=i.size,c}function ie(t){return this.__data__.get(t)}function K(t){return this.__data__.has(t)}function Z(t,i){var c=this.__data__;if(c instanceof Be){var b=c.__data__;if(!ve||b.length<o-1)return b.push([t,i]),this.size=++c.size,this;c=this.__data__=new tr(b)}return c.set(t,i),this.size=c.size,this}j.prototype.clear=I,j.prototype.delete=E,j.prototype.get=ie,j.prototype.has=K,j.prototype.set=Z;function de(t,i){var c=rt(t),b=!c&&et(t),A=!c&&!b&&wt(t),V=!c&&!b&&!A&&It(t),H=c||b||A||V,O=H?lr(t.length,String):[],q=O.length;for(var we in t)(i||ce.call(t,we))&&!(H&&(we=="length"||A&&(we=="offset"||we=="parent")||V&&(we=="buffer"||we=="byteLength"||we=="byteOffset")||Ct(we,q)))&&O.push(we);return O}function Ne(t,i,c){(c!==void 0&&!Br(t[i],c)||c===void 0&&!(i in t))&&Jr(t,i,c)}function jr(t,i,c){var b=t[i];(!(ce.call(t,i)&&Br(b,c))||c===void 0&&!(i in t))&&Jr(t,i,c)}function fe(t,i){for(var c=t.length;c--;)if(Br(t[c][0],i))return c;return-1}function Jr(t,i,c){i=="__proto__"&&De?De(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}):t[i]=c}var Sn=Pn();function Ar(t){return t==null?t===void 0?ar:z:ue&&ue in Object(t)?Bn(t):Dn(t)}function kt(t){return _r(t)&&Ar(t)==p}function _n(t){if(!fr(t)||Ln(t))return!1;var i=nt(t)?Q:Le;return i.test(Vn(t))}function xn(t){return _r(t)&&Et(t.length)&&!!N[Ar(t)]}function kn(t){if(!fr(t))return Mn(t);var i=Rt(t),c=[];for(var b in t)b=="constructor"&&(i||!ce.call(t,b))||c.push(b);return c}function Tt(t,i,c,b,A){t!==i&&Sn(i,function(V,H){if(A||(A=new j),fr(V))Tn(t,i,H,c,Tt,b,A);else{var O=b?b(Qr(t,H),V,H+"",t,i,A):void 0;O===void 0&&(O=V),Ne(t,H,O)}},Ot)}function Tn(t,i,c,b,A,V,H){var O=Qr(t,c),q=Qr(i,c),we=H.get(q);if(we){Ne(t,c,we);return}var Se=V?V(O,q,c+"",t,i,H):void 0,xr=Se===void 0;if(xr){var ot=rt(q),at=!ot&&wt(q),At=!ot&&!at&&It(q);Se=q,ot||at||At?rt(O)?Se=O:Yn(O)?Se=On(O):at?(xr=!1,Se=wn(q,!0)):At?(xr=!1,Se=In(q,!0)):Se=[]:Un(q)||et(q)?(Se=O,et(O)?Se=Hn(O):(!fr(O)||nt(O))&&(Se=Fn(q))):xr=!1}xr&&(H.set(q,Se),A(Se,q,b,V,H),H.delete(q)),Ne(t,c,Se)}function Cn(t,i){return Nn(zn(t,i,jt),t+"")}var Rn=De?function(t,i){return De(t,"toString",{configurable:!0,enumerable:!1,value:Xn(i),writable:!0})}:jt;function wn(t,i){if(i)return t.slice();var c=t.length,b=Ce?Ce(c):new t.constructor(c);return t.copy(b),b}function En(t){var i=new t.constructor(t.byteLength);return new Xe(i).set(new Xe(t)),i}function In(t,i){var c=i?En(t.buffer):t.buffer;return new t.constructor(c,t.byteOffset,t.length)}function On(t,i){var c=-1,b=t.length;for(i||(i=Array(b));++c<b;)i[c]=t[c];return i}function jn(t,i,c,b){var A=!c;c||(c={});for(var V=-1,H=i.length;++V<H;){var O=i[V],q=b?b(c[O],t[O],O,c,t):void 0;q===void 0&&(q=t[O]),A?Jr(c,O,q):jr(c,O,q)}return c}function An(t){return Cn(function(i,c){var b=-1,A=c.length,V=A>1?c[A-1]:void 0,H=A>2?c[2]:void 0;for(V=t.length>3&&typeof V=="function"?(A--,V):void 0,H&&$n(c[0],c[1],H)&&(V=A<3?void 0:V,A=1),i=Object(i);++b<A;){var O=c[b];O&&t(i,O,b,V)}return i})}function Pn(t){return function(i,c,b){for(var A=-1,V=Object(i),H=b(i),O=H.length;O--;){var q=H[t?O:++A];if(c(V[q],q,V)===!1)break}return i}}function Pr(t,i){var c=t.__data__;return Wn(i)?c[typeof i=="string"?"string":"hash"]:c.map}function Zr(t,i){var c=He(t,i);return _n(c)?c:void 0}function Bn(t){var i=ce.call(t,ue),c=t[ue];try{t[ue]=void 0;var b=!0}catch{}var A=R.call(t);return b&&(i?t[ue]=c:delete t[ue]),A}function Fn(t){return typeof t.constructor=="function"&&!Rt(t)?Pe(G(t)):{}}function Ct(t,i){var c=typeof t;return i=i??d,!!i&&(c=="number"||c!="symbol"&&sr.test(t))&&t>-1&&t%1==0&&t<i}function $n(t,i,c){if(!fr(c))return!1;var b=typeof i;return(b=="number"?tt(c)&&Ct(i,c.length):b=="string"&&i in c)?Br(c[i],t):!1}function Wn(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Ln(t){return!!S&&S in t}function Rt(t){var i=t&&t.constructor,c=typeof i=="function"&&i.prototype||dr;return t===c}function Mn(t){var i=[];if(t!=null)for(var c in Object(t))i.push(c);return i}function Dn(t){return R.call(t)}function zn(t,i,c){return i=ze(i===void 0?t.length-1:i,0),function(){for(var b=arguments,A=-1,V=ze(b.length-i,0),H=Array(V);++A<V;)H[A]=b[i+A];A=-1;for(var O=Array(i+1);++A<i;)O[A]=b[A];return O[i]=c(H),je(t,this,O)}}function Qr(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var Nn=Gn(Rn);function Gn(t){var i=0,c=0;return function(){var b=rr(),A=u-(b-c);if(c=b,A>0){if(++i>=l)return arguments[0]}else i=0;return t.apply(void 0,arguments)}}function Vn(t){if(t!=null){try{return qe.call(t)}catch{}try{return t+""}catch{}}return""}function Br(t,i){return t===i||t!==t&&i!==i}var et=kt(function(){return arguments}())?kt:function(t){return _r(t)&&ce.call(t,"callee")&&!U.call(t,"callee")},rt=Array.isArray;function tt(t){return t!=null&&Et(t.length)&&!nt(t)}function Yn(t){return _r(t)&&tt(t)}var wt=oe||Kn;function nt(t){if(!fr(t))return!1;var i=Ar(t);return i==C||i==W||i==g||i==pe}function Et(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=d}function fr(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function _r(t){return t!=null&&typeof t=="object"}function Un(t){if(!_r(t)||Ar(t)!=w)return!1;var i=G(t);if(i===null)return!0;var c=ce.call(i,"constructor")&&i.constructor;return typeof c=="function"&&c instanceof c&&qe.call(c)==X}var It=Ue?Me(Ue):xn;function Hn(t){return jn(t,Ot(t))}function Ot(t){return tt(t)?de(t,!0):kn(t)}var qn=An(function(t,i,c,b){Tt(t,i,c,b)});function Xn(t){return function(){return t}}function jt(t){return t}function Kn(){return!1}e.exports=qn})(Dr,Dr.exports);var bo=Dr.exports;const or=Xt(bo);var vo=e=>/!(important)?$/.test(e),Lt=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,yo=(e,r)=>o=>{const a=String(r),l=vo(a),u=Lt(a),d=e?`${e}.${u}`:u;let p=gr(o.__cssMap)&&d in o.__cssMap?o.__cssMap[d].varRef:r;return p=Lt(p),l?`${p} !important`:p};function vt(e){const{scale:r,transform:o,compose:a}=e;return(u,d)=>{var p;const h=yo(r,u)(d);let g=(p=o==null?void 0:o(h,d))!=null?p:h;return a&&(g=a(g,d)),g}}var Wr=(...e)=>r=>e.reduce((o,a)=>a(o),r);function Ee(e,r){return o=>{const a={property:o,scale:e};return a.transform=vt({scale:e,transform:r}),a}}var So=({rtl:e,ltr:r})=>o=>o.direction==="rtl"?e:r;function _o(e){const{property:r,scale:o,transform:a}=e;return{scale:o,property:So(r),transform:o?vt({scale:o,compose:a}):a}}var sn=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function xo(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...sn].join(" ")}function ko(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...sn].join(" ")}var To={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Co={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Ro(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var wo={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},ct={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Eo=new Set(Object.values(ct)),ut=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Io=e=>e.trim();function Oo(e,r){if(e==null||ut.has(e))return e;if(!(dt(e)||ut.has(e)))return`url('${e}')`;const l=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),u=l==null?void 0:l[1],d=l==null?void 0:l[2];if(!u||!d)return e;const p=u.includes("-gradient")?u:`${u}-gradient`,[h,...g]=d.split(",").map(Io).filter(Boolean);if((g==null?void 0:g.length)===0)return e;const v=h in ct?ct[h]:h;g.unshift(v);const x=g.map(y=>{if(Eo.has(y))return y;const C=y.indexOf(" "),[W,M]=C!==-1?[y.substr(0,C),y.substr(C+1)]:[y],D=dt(M)?M:M&&M.split(" "),z=`colors.${W}`,w=z in r.__cssMap?r.__cssMap[z].varRef:W;return D?[w,...Array.isArray(D)?D:[D]].join(" "):w});return`${p}(${x.join(", ")})`}var dt=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),jo=(e,r)=>Oo(e,r??{});function Ao(e){return/^var\(--.+\)$/.test(e)}var Po=e=>{const r=parseFloat(e.toString()),o=e.toString().replace(String(r),"");return{unitless:!o,value:r,unit:o}},Ge=e=>r=>`${e}(${r})`,F={filter(e){return e!=="auto"?e:To},backdropFilter(e){return e!=="auto"?e:Co},ring(e){return Ro(F.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?xo():e==="auto-gpu"?ko():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:r}=Po(e);return r||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,r){const o={left:"right",right:"left"};return r.direction==="rtl"?o[e]:e},degree(e){if(Ao(e)||e==null)return e;const r=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||r?`${e}deg`:e},gradient:jo,blur:Ge("blur"),opacity:Ge("opacity"),brightness:Ge("brightness"),contrast:Ge("contrast"),dropShadow:Ge("drop-shadow"),grayscale:Ge("grayscale"),hueRotate:Ge("hue-rotate"),invert:Ge("invert"),saturate:Ge("saturate"),sepia:Ge("sepia"),bgImage(e){return e==null||dt(e)||ut.has(e)?e:`url(${e})`},outline(e){const r=String(e)==="0"||String(e)==="none";return e!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var r;const{space:o,divide:a}=(r=wo[e])!=null?r:{},l={flexDirection:e};return o&&(l[o]=1),a&&(l[a]=1),l}},s={borderWidths:Ee("borderWidths"),borderStyles:Ee("borderStyles"),colors:Ee("colors"),borders:Ee("borders"),gradients:Ee("gradients",F.gradient),radii:Ee("radii",F.px),space:Ee("space",Wr(F.vh,F.px)),spaceT:Ee("space",Wr(F.vh,F.px)),degreeT(e){return{property:e,transform:F.degree}},prop(e,r,o){return{property:e,scale:r,...r&&{transform:vt({scale:r,transform:o})}}},propT(e,r){return{property:e,transform:r}},sizes:Ee("sizes",Wr(F.vh,F.px)),sizesT:Ee("sizes",Wr(F.vh,F.fraction)),shadows:Ee("shadows"),logical:_o,blur:Ee("blur",F.blur)},Lr={background:s.colors("background"),backgroundColor:s.colors("backgroundColor"),backgroundImage:s.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:F.bgClip},bgSize:s.prop("backgroundSize"),bgPosition:s.prop("backgroundPosition"),bg:s.colors("background"),bgColor:s.colors("backgroundColor"),bgPos:s.prop("backgroundPosition"),bgRepeat:s.prop("backgroundRepeat"),bgAttachment:s.prop("backgroundAttachment"),bgGradient:s.gradients("backgroundImage"),bgClip:{transform:F.bgClip}};Object.assign(Lr,{bgImage:Lr.backgroundImage,bgImg:Lr.backgroundImage});var L={border:s.borders("border"),borderWidth:s.borderWidths("borderWidth"),borderStyle:s.borderStyles("borderStyle"),borderColor:s.colors("borderColor"),borderRadius:s.radii("borderRadius"),borderTop:s.borders("borderTop"),borderBlockStart:s.borders("borderBlockStart"),borderTopLeftRadius:s.radii("borderTopLeftRadius"),borderStartStartRadius:s.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:s.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:s.radii("borderTopRightRadius"),borderStartEndRadius:s.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:s.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:s.borders("borderRight"),borderInlineEnd:s.borders("borderInlineEnd"),borderBottom:s.borders("borderBottom"),borderBlockEnd:s.borders("borderBlockEnd"),borderBottomLeftRadius:s.radii("borderBottomLeftRadius"),borderBottomRightRadius:s.radii("borderBottomRightRadius"),borderLeft:s.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:s.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:s.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:s.borders(["borderLeft","borderRight"]),borderInline:s.borders("borderInline"),borderY:s.borders(["borderTop","borderBottom"]),borderBlock:s.borders("borderBlock"),borderTopWidth:s.borderWidths("borderTopWidth"),borderBlockStartWidth:s.borderWidths("borderBlockStartWidth"),borderTopColor:s.colors("borderTopColor"),borderBlockStartColor:s.colors("borderBlockStartColor"),borderTopStyle:s.borderStyles("borderTopStyle"),borderBlockStartStyle:s.borderStyles("borderBlockStartStyle"),borderBottomWidth:s.borderWidths("borderBottomWidth"),borderBlockEndWidth:s.borderWidths("borderBlockEndWidth"),borderBottomColor:s.colors("borderBottomColor"),borderBlockEndColor:s.colors("borderBlockEndColor"),borderBottomStyle:s.borderStyles("borderBottomStyle"),borderBlockEndStyle:s.borderStyles("borderBlockEndStyle"),borderLeftWidth:s.borderWidths("borderLeftWidth"),borderInlineStartWidth:s.borderWidths("borderInlineStartWidth"),borderLeftColor:s.colors("borderLeftColor"),borderInlineStartColor:s.colors("borderInlineStartColor"),borderLeftStyle:s.borderStyles("borderLeftStyle"),borderInlineStartStyle:s.borderStyles("borderInlineStartStyle"),borderRightWidth:s.borderWidths("borderRightWidth"),borderInlineEndWidth:s.borderWidths("borderInlineEndWidth"),borderRightColor:s.colors("borderRightColor"),borderInlineEndColor:s.colors("borderInlineEndColor"),borderRightStyle:s.borderStyles("borderRightStyle"),borderInlineEndStyle:s.borderStyles("borderInlineEndStyle"),borderTopRadius:s.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:s.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:s.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:s.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(L,{rounded:L.borderRadius,roundedTop:L.borderTopRadius,roundedTopLeft:L.borderTopLeftRadius,roundedTopRight:L.borderTopRightRadius,roundedTopStart:L.borderStartStartRadius,roundedTopEnd:L.borderStartEndRadius,roundedBottom:L.borderBottomRadius,roundedBottomLeft:L.borderBottomLeftRadius,roundedBottomRight:L.borderBottomRightRadius,roundedBottomStart:L.borderEndStartRadius,roundedBottomEnd:L.borderEndEndRadius,roundedLeft:L.borderLeftRadius,roundedRight:L.borderRightRadius,roundedStart:L.borderInlineStartRadius,roundedEnd:L.borderInlineEndRadius,borderStart:L.borderInlineStart,borderEnd:L.borderInlineEnd,borderTopStartRadius:L.borderStartStartRadius,borderTopEndRadius:L.borderStartEndRadius,borderBottomStartRadius:L.borderEndStartRadius,borderBottomEndRadius:L.borderEndEndRadius,borderStartRadius:L.borderInlineStartRadius,borderEndRadius:L.borderInlineEndRadius,borderStartWidth:L.borderInlineStartWidth,borderEndWidth:L.borderInlineEndWidth,borderStartColor:L.borderInlineStartColor,borderEndColor:L.borderInlineEndColor,borderStartStyle:L.borderInlineStartStyle,borderEndStyle:L.borderInlineEndStyle});var Bo={color:s.colors("color"),textColor:s.colors("color"),fill:s.colors("fill"),stroke:s.colors("stroke")},ft={boxShadow:s.shadows("boxShadow"),mixBlendMode:!0,blendMode:s.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:s.prop("backgroundBlendMode"),opacity:!0};Object.assign(ft,{shadow:ft.boxShadow});var Fo={filter:{transform:F.filter},blur:s.blur("--chakra-blur"),brightness:s.propT("--chakra-brightness",F.brightness),contrast:s.propT("--chakra-contrast",F.contrast),hueRotate:s.degreeT("--chakra-hue-rotate"),invert:s.propT("--chakra-invert",F.invert),saturate:s.propT("--chakra-saturate",F.saturate),dropShadow:s.propT("--chakra-drop-shadow",F.dropShadow),backdropFilter:{transform:F.backdropFilter},backdropBlur:s.blur("--chakra-backdrop-blur"),backdropBrightness:s.propT("--chakra-backdrop-brightness",F.brightness),backdropContrast:s.propT("--chakra-backdrop-contrast",F.contrast),backdropHueRotate:s.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:s.propT("--chakra-backdrop-invert",F.invert),backdropSaturate:s.propT("--chakra-backdrop-saturate",F.saturate)},zr={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:F.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:s.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:s.space("gap"),rowGap:s.space("rowGap"),columnGap:s.space("columnGap")};Object.assign(zr,{flexDir:zr.flexDirection});var ln={gridGap:s.space("gridGap"),gridColumnGap:s.space("gridColumnGap"),gridRowGap:s.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},$o={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:F.outline},outlineOffset:!0,outlineColor:s.colors("outlineColor")},Ie={width:s.sizesT("width"),inlineSize:s.sizesT("inlineSize"),height:s.sizes("height"),blockSize:s.sizes("blockSize"),boxSize:s.sizes(["width","height"]),minWidth:s.sizes("minWidth"),minInlineSize:s.sizes("minInlineSize"),minHeight:s.sizes("minHeight"),minBlockSize:s.sizes("minBlockSize"),maxWidth:s.sizes("maxWidth"),maxInlineSize:s.sizes("maxInlineSize"),maxHeight:s.sizes("maxHeight"),maxBlockSize:s.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,r)=>{var o,a,l;return{[`@media screen and (min-width: ${(l=(a=(o=r.__breakpoints)==null?void 0:o.get(e))==null?void 0:a.minW)!=null?l:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,r)=>{var o,a,l;return{[`@media screen and (max-width: ${(l=(a=(o=r.__breakpoints)==null?void 0:o.get(e))==null?void 0:a._minW)!=null?l:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:s.propT("float",F.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ie,{w:Ie.width,h:Ie.height,minW:Ie.minWidth,maxW:Ie.maxWidth,minH:Ie.minHeight,maxH:Ie.maxHeight,overscroll:Ie.overscrollBehavior,overscrollX:Ie.overscrollBehaviorX,overscrollY:Ie.overscrollBehaviorY});var Wo={listStyleType:!0,listStylePosition:!0,listStylePos:s.prop("listStylePosition"),listStyleImage:!0,listStyleImg:s.prop("listStyleImage")};function Lo(e,r,o,a){const l=typeof r=="string"?r.split("."):[r];for(a=0;a<l.length&&e;a+=1)e=e[l[a]];return e===void 0?o:e}var Mo=e=>{const r=new WeakMap;return(a,l,u,d)=>{if(typeof a>"u")return e(a,l,u);r.has(a)||r.set(a,new Map);const p=r.get(a);if(p.has(l))return p.get(l);const h=e(a,l,u,d);return p.set(l,h),h}},Do=Mo(Lo),zo={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},No={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},it=(e,r,o)=>{const a={},l=Do(e,r,{});for(const u in l)u in o&&o[u]!=null||(a[u]=l[u]);return a},Go={srOnly:{transform(e){return e===!0?zo:e==="focusable"?No:{}}},layerStyle:{processResult:!0,transform:(e,r,o)=>it(r,`layerStyles.${e}`,o)},textStyle:{processResult:!0,transform:(e,r,o)=>it(r,`textStyles.${e}`,o)},apply:{processResult:!0,transform:(e,r,o)=>it(r,e,o)}},Rr={position:!0,pos:s.prop("position"),zIndex:s.prop("zIndex","zIndices"),inset:s.spaceT("inset"),insetX:s.spaceT(["left","right"]),insetInline:s.spaceT("insetInline"),insetY:s.spaceT(["top","bottom"]),insetBlock:s.spaceT("insetBlock"),top:s.spaceT("top"),insetBlockStart:s.spaceT("insetBlockStart"),bottom:s.spaceT("bottom"),insetBlockEnd:s.spaceT("insetBlockEnd"),left:s.spaceT("left"),insetInlineStart:s.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:s.spaceT("right"),insetInlineEnd:s.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rr,{insetStart:Rr.insetInlineStart,insetEnd:Rr.insetInlineEnd});var Vo={ring:{transform:F.ring},ringColor:s.colors("--chakra-ring-color"),ringOffset:s.prop("--chakra-ring-offset-width"),ringOffsetColor:s.colors("--chakra-ring-offset-color"),ringInset:s.prop("--chakra-ring-inset")},Y={margin:s.spaceT("margin"),marginTop:s.spaceT("marginTop"),marginBlockStart:s.spaceT("marginBlockStart"),marginRight:s.spaceT("marginRight"),marginInlineEnd:s.spaceT("marginInlineEnd"),marginBottom:s.spaceT("marginBottom"),marginBlockEnd:s.spaceT("marginBlockEnd"),marginLeft:s.spaceT("marginLeft"),marginInlineStart:s.spaceT("marginInlineStart"),marginX:s.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:s.spaceT("marginInline"),marginY:s.spaceT(["marginTop","marginBottom"]),marginBlock:s.spaceT("marginBlock"),padding:s.space("padding"),paddingTop:s.space("paddingTop"),paddingBlockStart:s.space("paddingBlockStart"),paddingRight:s.space("paddingRight"),paddingBottom:s.space("paddingBottom"),paddingBlockEnd:s.space("paddingBlockEnd"),paddingLeft:s.space("paddingLeft"),paddingInlineStart:s.space("paddingInlineStart"),paddingInlineEnd:s.space("paddingInlineEnd"),paddingX:s.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:s.space("paddingInline"),paddingY:s.space(["paddingTop","paddingBottom"]),paddingBlock:s.space("paddingBlock")};Object.assign(Y,{m:Y.margin,mt:Y.marginTop,mr:Y.marginRight,me:Y.marginInlineEnd,marginEnd:Y.marginInlineEnd,mb:Y.marginBottom,ml:Y.marginLeft,ms:Y.marginInlineStart,marginStart:Y.marginInlineStart,mx:Y.marginX,my:Y.marginY,p:Y.padding,pt:Y.paddingTop,py:Y.paddingY,px:Y.paddingX,pb:Y.paddingBottom,pl:Y.paddingLeft,ps:Y.paddingInlineStart,paddingStart:Y.paddingInlineStart,pr:Y.paddingRight,pe:Y.paddingInlineEnd,paddingEnd:Y.paddingInlineEnd});var Yo={textDecorationColor:s.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:s.shadows("textShadow")},Uo={clipPath:!0,transform:s.propT("transform",F.transform),transformOrigin:!0,translateX:s.spaceT("--chakra-translate-x"),translateY:s.spaceT("--chakra-translate-y"),skewX:s.degreeT("--chakra-skew-x"),skewY:s.degreeT("--chakra-skew-y"),scaleX:s.prop("--chakra-scale-x"),scaleY:s.prop("--chakra-scale-y"),scale:s.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:s.degreeT("--chakra-rotate")},Ho={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:s.prop("transitionDuration","transition.duration"),transitionProperty:s.prop("transitionProperty","transition.property"),transitionTimingFunction:s.prop("transitionTimingFunction","transition.easing")},qo={fontFamily:s.prop("fontFamily","fonts"),fontSize:s.prop("fontSize","fontSizes",F.px),fontWeight:s.prop("fontWeight","fontWeights"),lineHeight:s.prop("lineHeight","lineHeights"),letterSpacing:s.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},Xo={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:s.spaceT("scrollMargin"),scrollMarginTop:s.spaceT("scrollMarginTop"),scrollMarginBottom:s.spaceT("scrollMarginBottom"),scrollMarginLeft:s.spaceT("scrollMarginLeft"),scrollMarginRight:s.spaceT("scrollMarginRight"),scrollMarginX:s.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:s.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:s.spaceT("scrollPadding"),scrollPaddingTop:s.spaceT("scrollPaddingTop"),scrollPaddingBottom:s.spaceT("scrollPaddingBottom"),scrollPaddingLeft:s.spaceT("scrollPaddingLeft"),scrollPaddingRight:s.spaceT("scrollPaddingRight"),scrollPaddingX:s.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:s.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function cn(e){return gr(e)&&e.reference?e.reference:String(e)}var Gr=(e,...r)=>r.map(cn).join(` ${e} `).replace(/calc/g,""),Mt=(...e)=>`calc(${Gr("+",...e)})`,Dt=(...e)=>`calc(${Gr("-",...e)})`,pt=(...e)=>`calc(${Gr("*",...e)})`,zt=(...e)=>`calc(${Gr("/",...e)})`,Nt=e=>{const r=cn(e);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):`-${r}`:pt(r,-1)},Cr=Object.assign(e=>({add:(...r)=>Cr(Mt(e,...r)),subtract:(...r)=>Cr(Dt(e,...r)),multiply:(...r)=>Cr(pt(e,...r)),divide:(...r)=>Cr(zt(e,...r)),negate:()=>Cr(Nt(e)),toString:()=>e.toString()}),{add:Mt,subtract:Dt,multiply:pt,divide:zt,negate:Nt});function Ko(e){const r=parseFloat(e.toString()),o=e.toString().replace(String(r),"");return{unitless:!o,value:r,unit:o}}function Gt(e){if(e==null)return e;const{unitless:r}=Ko(e);return r||typeof e=="number"?`${e}px`:e}function Jo(e,r){const o=["@media screen"];return e&&o.push("and",`(min-width: ${Gt(e)})`),r&&o.push("and",`(max-width: ${Gt(r)})`),o.join(" ")}var se={hover:(e,r)=>`${e}:hover ${r}, ${e}[data-hover] ${r}`,focus:(e,r)=>`${e}:focus ${r}, ${e}[data-focus] ${r}`,focusVisible:(e,r)=>`${e}:focus-visible ${r}`,focusWithin:(e,r)=>`${e}:focus-within ${r}`,active:(e,r)=>`${e}:active ${r}, ${e}[data-active] ${r}`,disabled:(e,r)=>`${e}:disabled ${r}, ${e}[data-disabled] ${r}`,invalid:(e,r)=>`${e}:invalid ${r}, ${e}[data-invalid] ${r}`,checked:(e,r)=>`${e}:checked ${r}, ${e}[data-checked] ${r}`,indeterminate:(e,r)=>`${e}:indeterminate ${r}, ${e}[aria-checked=mixed] ${r}, ${e}[data-indeterminate] ${r}`,readOnly:(e,r)=>`${e}:read-only ${r}, ${e}[readonly] ${r}, ${e}[data-read-only] ${r}`,expanded:(e,r)=>`${e}:read-only ${r}, ${e}[aria-expanded=true] ${r}, ${e}[data-expanded] ${r}`,placeholderShown:(e,r)=>`${e}:placeholder-shown ${r}`},nr=e=>un(r=>e(r,"&"),"[role=group]","[data-group]",".group"),Ke=e=>un(r=>e(r,"~ &"),"[data-peer]",".peer"),un=(e,...r)=>r.map(e).join(", "),yt={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:nr(se.hover),_peerHover:Ke(se.hover),_groupFocus:nr(se.focus),_peerFocus:Ke(se.focus),_groupFocusVisible:nr(se.focusVisible),_peerFocusVisible:Ke(se.focusVisible),_groupActive:nr(se.active),_peerActive:Ke(se.active),_groupDisabled:nr(se.disabled),_peerDisabled:Ke(se.disabled),_groupInvalid:nr(se.invalid),_peerInvalid:Ke(se.invalid),_groupChecked:nr(se.checked),_peerChecked:Ke(se.checked),_groupFocusWithin:nr(se.focusWithin),_peerFocusWithin:Ke(se.focusWithin),_peerPlaceholderShown:Ke(se.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Zo=Object.keys(yt);function Qo(e,r=[]){const o=Object.assign({},e);for(const a of r)a in o&&delete o[a];return o}var St=or({},Lr,L,Bo,zr,Ie,Fo,Vo,$o,ln,Go,Rr,ft,Y,Xo,qo,Yo,Uo,Wo,Ho);Object.assign({},Y,Ie,zr,ln,Rr);var ea=[...Object.keys(St),...Zo],ra={...St,...yt},ta=e=>e in ra,na=e=>r=>{if(!r.__breakpoints)return e;const{isResponsive:o,toArrayValue:a,media:l}=r.__breakpoints,u={};for(const d in e){let p=pr(e[d],r);if(p==null)continue;if(p=gr(p)&&o(p)?a(p):p,!Array.isArray(p)){u[d]=p;continue}const h=p.slice(0,l.length).length;for(let g=0;g<h;g+=1){const v=l==null?void 0:l[g];if(!v){u[d]=p[g];continue}u[v]=u[v]||{},p[g]!=null&&(u[v][d]=p[g])}}return u};function oa(e){const r=[];let o="",a=!1;for(let l=0;l<e.length;l++){const u=e[l];u==="("?(a=!0,o+=u):u===")"?(a=!1,o+=u):u===","&&!a?(r.push(o),o=""):o+=u}return o=o.trim(),o&&r.push(o),r}function aa(e){return/^var\(--.+\)$/.test(e)}var ia=(e,r)=>e.startsWith("--")&&typeof r=="string"&&!aa(r),sa=(e,r)=>{var o,a;if(r==null)return r;const l=h=>{var g,v;return(v=(g=e.__cssMap)==null?void 0:g[h])==null?void 0:v.varRef},u=h=>{var g;return(g=l(h))!=null?g:h},[d,p]=oa(r);return r=(a=(o=l(d))!=null?o:u(p))!=null?a:u(r),r};function la(e){const{configs:r={},pseudos:o={},theme:a}=e,l=(u,d=!1)=>{var p,h,g;const v=pr(u,a),x=na(v)(a);let y={};for(let C in x){const W=x[C];let M=pr(W,a);C in o&&(C=o[C]),ia(C,M)&&(M=sa(a,M));let D=r[C];if(D===!0&&(D={property:C}),gr(M)){y[C]=(p=y[C])!=null?p:{},y[C]=or({},y[C],l(M,!0));continue}let z=(g=(h=D==null?void 0:D.transform)==null?void 0:h.call(D,M,a,v))!=null?g:M;z=D!=null&&D.processResult?l(z,!0):z;const w=pr(D==null?void 0:D.property,a);if(!d&&(D!=null&&D.static)){const pe=pr(D.static,a);y=or({},y,pe)}if(w&&Array.isArray(w)){for(const pe of w)y[pe]=z;continue}if(w){w==="&"&&gr(z)?y=or({},y,z):y[w]=z;continue}if(gr(z)){y=or({},y,z);continue}y[C]=z}return y};return l}var ca=e=>r=>la({theme:r,pseudos:yt,configs:St})(e);function ua(e,r){if(Array.isArray(e))return e;if(gr(e))return r(e);if(e!=null)return[e]}function da(e,r){for(let o=r+1;o<e.length;o++)if(e[o]!=null)return o;return-1}function fa(e){const r=e.__breakpoints;return function(a,l,u,d){var p,h;if(!r)return;const g={},v=ua(u,r.toArrayValue);if(!v)return g;const x=v.length,y=x===1,C=!!a.parts;for(let W=0;W<x;W++){const M=r.details[W],D=r.details[da(v,W)],z=Jo(M.minW,D==null?void 0:D._minW),w=pr((p=a[l])==null?void 0:p[v[W]],d);if(w){if(C){(h=a.parts)==null||h.forEach(pe=>{or(g,{[pe]:y?w[pe]:{[z]:w[pe]}})});continue}if(!C){y?or(g,w):g[z]=w;continue}g[z]=w}}return g}}function pa(e){return r=>{var o;const{variant:a,size:l,theme:u}=r,d=fa(u);return or({},pr((o=e.baseStyle)!=null?o:{},r),d(e,"sizes",l,r),d(e,"variants",a,r))}}function ga(e){return Qo(e,["styleConfig","size","variant","colorScheme"])}var ha=typeof Element<"u",ma=typeof Map=="function",ba=typeof Set=="function",va=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Mr(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,a,l;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(a=o;a--!==0;)if(!Mr(e[a],r[a]))return!1;return!0}var u;if(ma&&e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(u=e.entries();!(a=u.next()).done;)if(!r.has(a.value[0]))return!1;for(u=e.entries();!(a=u.next()).done;)if(!Mr(a.value[1],r.get(a.value[0])))return!1;return!0}if(ba&&e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(u=e.entries();!(a=u.next()).done;)if(!r.has(a.value[0]))return!1;return!0}if(va&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if(o=e.length,o!=r.length)return!1;for(a=o;a--!==0;)if(e[a]!==r[a])return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof r.valueOf=="function")return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof r.toString=="function")return e.toString()===r.toString();if(l=Object.keys(e),o=l.length,o!==Object.keys(r).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[a]))return!1;if(ha&&e instanceof Element)return!1;for(a=o;a--!==0;)if(!((l[a]==="_owner"||l[a]==="__v"||l[a]==="__o")&&e.$$typeof)&&!Mr(e[l[a]],r[l[a]]))return!1;return!0}return e!==e&&r!==r}var ya=function(r,o){try{return Mr(r,o)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}};const Sa=Xt(ya);function dn(e,r={}){var o;const{styleConfig:a,...l}=r,{theme:u,colorMode:d}=ho(),p=e?T.memoizedGet(u,`components.${e}`):void 0,h=a||p,g=T.mergeWith({theme:u,colorMode:d},(o=h==null?void 0:h.defaultProps)!=null?o:{},T.filterUndefined(T.omit(l,["children"]))),v=P.useRef({});if(h){const y=pa(h)(g);Sa(v.current,y)||(v.current=y)}return v.current}function _a(e,r={}){return dn(e,r)}function xa(e,r={}){return dn(e,r)}var ka=new Set([...ea,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Ta=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Ca(e){return Ta.has(e)||!ka.has(e)}function Ra(e,...r){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const o={...e};for(const a of r)if(a!=null)for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&(l in o&&delete o[l],o[l]=a[l]);return o}var Vt,wa=(Vt=Pt.default)!=null?Vt:Pt,Ea=({baseStyle:e})=>r=>{const{theme:o,css:a,__css:l,sx:u,...d}=r,p=T.objectFilter(d,(x,y)=>ta(y)),h=T.runIfFn(e,r),g=Ra({},l,h,T.filterUndefined(p),u),v=ca(g)(r.theme);return a?[v,a]:v};function st(e,r){const{baseStyle:o,...a}=r??{};a.shouldForwardProp||(a.shouldForwardProp=Ca);const l=Ea({baseStyle:o}),u=wa(e,a)(l);return P.forwardRef(function(h,g){const{colorMode:v,forced:x}=an();return P.createElement(u,{ref:g,"data-theme":x?v:void 0,...h})})}function Ia(){const e=new Map;return new Proxy(st,{apply(r,o,a){return st(...a)},get(r,o){return e.has(o)||e.set(o,st(o)),e.get(o)}})}var Ve=Ia();function Fe(e){return P.forwardRef(e)}var Yt={path:_.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[_.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),_.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),_.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Vr=Fe((e,r)=>{const{as:o,viewBox:a,color:l="currentColor",focusable:u=!1,children:d,className:p,__css:h,...g}=e,v=bt("chakra-icon",p),x=_a("Icon",e),y={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...h,...x},C={ref:r,focusable:u,className:v,__css:y},W=a??Yt.viewBox;if(o&&typeof o!="string")return _.jsx(Ve.svg,{as:o,...C,...g});const M=d??Yt.path;return _.jsx(Ve.svg,{verticalAlign:"middle",viewBox:W,...C,...g,children:M})});Vr.displayName="Icon";function Oa(e,r){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${r}`}function ja(e={}){const{name:r,strict:o=!0,hookName:a="useContext",providerName:l="Provider",errorMessage:u,defaultValue:d}=e,p=P.createContext(d);p.displayName=r;function h(){var g;const v=P.useContext(p);if(!v&&o){const x=new Error(u??Oa(a,l));throw x.name="ContextError",(g=Error.captureStackTrace)==null||g.call(Error,x,h),x}return v}return[p.Provider,h,p]}var Aa=Fe(function(r,o){const{spacing:a="0.5rem",spacingX:l,spacingY:u,children:d,justify:p,direction:h,align:g,className:v,shouldWrapChildren:x,...y}=r,C=P.useMemo(()=>x?P.Children.map(d,(W,M)=>_.jsx(_t,{children:W},M)):d,[d,x]);return _.jsx(Ve.div,{ref:o,className:bt("chakra-wrap",v),...y,children:_.jsx(Ve.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:p,alignItems:g,flexDirection:h,listStyleType:"none",gap:a,columnGap:l,rowGap:u,padding:"0"},children:C})})});Aa.displayName="Wrap";var _t=Fe(function(r,o){const{className:a,...l}=r;return _.jsx(Ve.li,{ref:o,__css:{display:"flex",alignItems:"flex-start"},className:bt("chakra-wrap__listitem",a),...l})});_t.displayName="WrapItem";var xt=Ve("div");xt.displayName="Box";var fn=Fe(function(r,o){const{size:a,centerContent:l=!0,...u}=r,d=l?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return _.jsx(xt,{ref:o,boxSize:a,__css:{...d,flexShrink:0,flexGrow:0},...u})});fn.displayName="Square";var Pa=Fe(function(r,o){const{size:a,...l}=r;return _.jsx(fn,{size:a,ref:o,borderRadius:"9999px",...l})});Pa.displayName="Circle";var pn=Fe(function(r,o){const{direction:a,align:l,justify:u,wrap:d,basis:p,grow:h,shrink:g,...v}=r,x={display:"flex",flexDirection:a,alignItems:l,justifyContent:u,flexWrap:d,flexBasis:p,flexGrow:h,flexShrink:g};return _.jsx(Ve.div,{ref:o,__css:x,...v})});pn.displayName="Flex";const Ba=e=>{const{getEmptyStateProps:r}=Je(),o=r(_.jsx(pn,{...Fa,children:"No options found!"}));return _.jsx(xt,{...e,children:o})},Fa={fontSize:"sm",align:"center",justify:"center",fontWeight:"bold",fontStyle:"italic"},Ut=["AutoCompleteGroup","AutoCompleteItem","AutoCompleteCreatable"],$a=e=>{const r=P.Children.map(e,(l,u)=>{var d;if(((d=l==null?void 0:l.type)==null?void 0:d.displayName)==="AutoCompleteGroup"){const p=P.Children.toArray(e)[u+1];return P.cloneElement(l,{groupSibling:p?p.type.displayName==="AutoCompleteGroup":!1})}return l}),o=P.Children.toArray(r).filter(l=>{var u;return!Ut.includes((u=l==null?void 0:l.type)==null?void 0:u.displayName)});return[P.Children.toArray(r).filter(l=>{var u;return Ut.includes((u=l==null?void 0:l.type)==null?void 0:u.displayName)}),o]},gn=$.forwardRef((e,r)=>{const{children:o,loadingState:a,...l}=e,{listRef:u,isLoading:d}=Je(),p=$.useMergeRefs(r,u),[h,g]=$a(o);return _.jsxs($.PopoverContent,{ref:p,w:"inherit",...Wa,...l,children:[d&&_.jsx($.Center,{children:a||_.jsx($.Spinner,{size:"md"})}),!d&&_.jsxs(_.Fragment,{children:[h,_.jsx(Ba,{}),g]})]})});gn.displayName="AutoCompleteList";const Wa={py:"4",opacity:"0",bg:"#232934",rounded:"md",maxH:"350px",border:"none",shadow:"base",zIndex:"popover",overflowY:"auto",_light:{bg:"#ffffff"},_focus:{boxShadow:"none"}};var[La,hn]=ja({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),mn=Fe((e,r)=>{const o=xa("Tag",e),a=ga(e),l={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...o.container};return _.jsx(La,{value:o,children:_.jsx(Ve.span,{ref:r,...a,__css:l})})});mn.displayName="Tag";var bn=Fe((e,r)=>{const o=hn();return _.jsx(Ve.span,{ref:r,noOfLines:1,...e,__css:o.label})});bn.displayName="TagLabel";var Ma=Fe((e,r)=>_.jsx(Vr,{ref:r,verticalAlign:"top",marginEnd:"0.5rem",...e}));Ma.displayName="TagLeftIcon";var Da=Fe((e,r)=>_.jsx(Vr,{ref:r,verticalAlign:"top",marginStart:"0.5rem",...e}));Da.displayName="TagRightIcon";var vn=e=>_.jsx(Vr,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:_.jsx("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});vn.displayName="TagCloseIcon";var yn=Fe((e,r)=>{const{isDisabled:o,children:a,...l}=e,d={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...hn().closeButton};return _.jsx(Ve.button,{ref:r,"aria-label":"close",...l,type:"button",disabled:o,__css:d,children:a||_.jsx(vn,{})})});yn.displayName="TagCloseButton";const za=P.memo(e=>{const{label:r,onRemove:o,disabled:a,...l}=e;return _.jsx(_t,{children:_.jsxs(mn,{borderRadius:"md",fontWeight:"normal",...a&&Ht,...l,children:[_.jsx(bn,{children:r}),_.jsx(yn,{onClick:()=>!a&&T.runIfFn(o),cursor:"pointer",...a&&Ht})]})})}),Ht={cursor:"text",userSelect:"none",opacity:.4,_focus:{boxShadow:"none"}};exports.AutoComplete=Qt;exports.AutoCompleteCreatable=rn;exports.AutoCompleteGroup=tn;exports.AutoCompleteGroupTitle=nn;exports.AutoCompleteInput=mt;exports.AutoCompleteItem=en;exports.AutoCompleteList=gn;exports.AutoCompleteProvider=Kt;exports.AutoCompleteTag=za;exports.baseItemStyles=ht;exports.useAutoComplete=Zt;exports.useAutoCompleteContext=Je;
27
+ Check the top-level render call using <`+m+">.")}return f}}function Er(n,f){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var m=Ur(f);if(wr[m])return;wr[m]=!0;var k="";n&&n._owner&&n._owner!==ze.current&&(k=" It was passed a child from "+J(n._owner.type)+"."),ve(n),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,k),ve(null)}}function Ir(n,f){{if(typeof n!="object")return;if(qe(n))for(var m=0;m<n.length;m++){var k=n[m];Pe(k)&&Er(k,f)}else if(Pe(n))n._store&&(n._store.validated=!0);else if(n){var F=G(n);if(typeof F=="function"&&F!==n.entries)for(var P=F.call(n),I;!(I=P.next()).done;)Pe(I.value)&&Er(I.value,f)}}}function Be(n){{var f=n.type;if(f==null||typeof f=="string")return;var m;if(typeof f=="function")m=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===h||f.$$typeof===_))m=f.propTypes;else return;if(m){var k=J(f);fr(m,n.props,"prop",k,n)}else if(f.PropTypes!==void 0&&!Re){Re=!0;var F=J(f);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hr(n){{for(var f=Object.keys(n.props),m=0;m<f.length;m++){var k=f[m];if(k!=="children"&&k!=="key"){ve(n),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k),ve(null);break}}n.ref!==null&&(ve(n),R("Invalid attribute `ref` supplied to `React.Fragment`."),ve(null))}}function Or(n,f,m,k,F,P){{var I=We(n);if(!I){var E="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(E+=" 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 ie=Yr(F);ie?E+=ie:E+=ye();var K;n===null?K="null":qe(n)?K="array":n!==void 0&&n.$$typeof===r?(K="<"+(J(n.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):K=typeof n,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",K,E)}var Q=oe(n,f,m,F,P);if(Q==null)return Q;if(I){var fe=f.children;if(fe!==void 0)if(k)if(qe(fe)){for(var Ne=0;Ne<fe.length;Ne++)Ir(fe[Ne],n);Object.freeze&&Object.freeze(fe)}else R("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 Ir(fe,n)}return n===a?Hr(Q):Be(Q),Q}}function qr(n,f,m){return Or(n,f,m,!0)}function Xr(n,f,m){return Or(n,f,m,!1)}var Kr=Xr,tr=qr;Tr.Fragment=a,Tr.jsx=Kr,Tr.jsxs=tr}()),Tr}process.env.NODE_ENV==="production"?lt.exports=eo():lt.exports=ro();var x=lt.exports;const[Kt,Je]=Jn.createContext({name:"AutoCompleteContext",errorMessage:"useAutoCompleteContext: `context` is undefined. Seems you forgot to wrap all autoomplete components within `<AutoComplete />`"});var Nr=function(e,r){for(var o,a=qt.Children.toArray(e),l=0,u=a;l<u.length;l++){var d=u[l];if(r(d))return d;if(!((o=d.props)===null||o===void 0)&&o.children){var p=Nr(d.props.children,r);if(p)return p}}},$r=globalThis&&globalThis.__spreadArray||function(e,r){for(var o=0,a=r.length,l=e.length;o<a;o++,l++)e[l]=r[o];return e},Jt=function(e,r){for(var o,a=qt.Children.toArray(e),l=[],u=0,d=a;u<d.length;u++){var p=d[u];r(p)&&(l=$r($r([],l),[p])),!((o=p.props)===null||o===void 0)&&o.children&&(l=$r($r([],l),Jt(p.props.children,r)))}return l};function $t(e,r,o=2){function a(_,y){_=" ".repeat(y-1)+_.toLowerCase()+" ".repeat(y-1);let C=new Array(_.length-y+1);for(let O=0;O<C.length;O++)C[O]=_.slice(O,O+y);return C}if(!(e!=null&&e.length)||!(r!=null&&r.length))return 0;let l=e.length<r.length?e:r,u=e.length<r.length?r:e,d=a(l,o),p=a(u,o),h=new Set(d),g=p.length,v=0;for(let _ of p)h.delete(_)&&v++;return v/g}const gt=e=>{var r;return(r=typeof e=="string"||typeof e=="number"?e:e[Object.keys(e)[0]])==null?void 0:r.toString()},to=(e,r)=>typeof e!="string"||T.isEmpty(r)?e:e.toString().replace(new RegExp(io(r),"gi"),a=>`<mark>${a}</mark>`),no=e=>Jt(e,o=>{var a;return((a=o==null?void 0:o.type)==null?void 0:a.displayName)==="AutoCompleteItem"}).map(o=>{const a=T.pick(o.props,["value","label","fixed","disabled"]),{getValue:l=gt}=o.props,u=l(a.value);return{...T.isDefined(a.label)?a:{...a,label:u},value:u,originalValue:a.value}}),oo=()=>({bg:"whiteAlpha.100",_light:{bg:"gray.200"}}),ao=(e,r,o)=>(r==null?void 0:r.toLowerCase().indexOf(e==null?void 0:e.toLowerCase()))>=0||(o==null?void 0:o.toLowerCase().indexOf(e==null?void 0:e.toLowerCase()))>=0||$t(e,r)>=.5||$t(e,o)>=.5;function io(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const so=(e,r)=>{const o={},a={},{field:l}=e;return l&&Object.keys(l).forEach(u=>{if(u.startsWith("--input")===!1)o[u]=l[u];else{let d=l[u];const h=u.replace("--input-","").replace(/-([a-z])/g,function(g){return g[1].toUpperCase()});d.indexOf(".")!==-1&&(d=d.substring(d.indexOf(".")+1)),a[h]=d}}),{...r&&{...o,...a,_focusWithin:e.field._focus,pos:"relative",minH:9,py:1.5,spacing:3},cursor:"text",h:"fit-content"}},lo=(e,r)=>Nr(e,a=>{var l;return((l=a==null?void 0:a.type)==null?void 0:l.displayName)==="AutoCompleteItem"&&a.props.value===(r==null?void 0:r.value)}),co=(e,r)=>Nr(e,a=>{var l;return((l=a==null?void 0:a.type)==null?void 0:l.displayName)==="AutoCompleteItem"&&a.props.value===(r==null?void 0:r.value)}),uo=(e,r)=>T.isDefined(Nr(e,o=>{var l,u;const a=T.runIfFn(((l=o.props)==null?void 0:l.getValue)||gt,((u=o.props)==null?void 0:u.value)||{});return r.some(d=>d.value===a)}));function Qt(e){var ue;let{closeOnBlur:r=!0,creatable:o,emphasize:a,emptyState:l=!0,freeSolo:u,isReadOnly:d,listAllValuesOnFocus:p,maxSuggestions:h,multiple:g,closeOnSelect:v=!g,defaultValue:_,defaultValues:y=_?[_]:[],onReady:C,defaultIsOpen:O,disableFilter:N,isLoading:G=!1,placement:L="bottom",restoreOnBlurIfEmpty:R=!u,shouldRenderSuggestions:le=()=>!0,submitKeys:ar=[],suggestWhenEmpty:Sr,value:Qe,values:ir=Qe?typeof Qe=="string"?[Qe]:[...Qe]:void 0}=e;u=u||(g?!0:e.freeSolo);const{isOpen:$e,onClose:_e,onOpen:We}=W.useDisclosure({defaultIsOpen:O}),mr=T.runIfFn(e.children,{isOpen:$e,onClose:_e,onOpen:We}),ce=no(mr),J=A.useRef(null),xe=A.useRef(null),ge=A.useRef(null),Oe=A.useRef(null),[br,sr]=A.useState(!1);let Ye="";g?Ye="":T.isUndefined(y)?T.isUndefined(ir)||(Ye=ir[0]):Ye=y[0];const[he,Le]=A.useState(Ye??""),lr=N?ce:ce.filter(S=>S.fixed||T.runIfFn(e.filter||ao,he,S.value,S.label)||br).filter((S,w)=>h?S.fixed||w<h:!0),D=o?[{value:he,noFilter:!0,creatable:!0}]:[],re=[...lr,...D],[me,be]=W.useControllableState({defaultValue:y.map(S=>S==null?void 0:S.toString()),value:ir,onChange:S=>{const w=re.find(Z=>Z.value===S[0]),X=S.map(Z=>re.find(ae=>ae.value===Z));T.runIfFn(e.onChange,g?S:S[0],g?X:w)}}),[ke,te]=A.useState((ue=ce[0])==null?void 0:ue.value),Ze=e.maxSelections||me.length+1,Te=re.findIndex(S=>S.value===ke),er=T.getNextItem(Te,re,!!e.rollNavigation),Ue=T.getPrevItem(Te,re,!!e.rollNavigation),je=T.getFirstItem(re),cr=T.getLastItem(re);W.useUpdateEffect(()=>{te(je==null?void 0:je.value)},[he]),A.useEffect(()=>{var S;$e||te((S=ce[0])==null?void 0:S.value)},[$e]),A.useEffect(()=>{const S=ce.find(w=>w.value===ke);T.runIfFn(e.onOptionFocus,{item:S,focusMethod:Oe.current,isNewInput:S==null?void 0:S.creatable})},[ke,e.onOptionFocus]);const Me=S=>{var Z,ae;!me.includes(S)&&me.length<Ze&&be(ne=>g?[...ne,S]:[S]);const w=re.find(ne=>ne.value===S);g&&((Z=J.current)==null||Z.focus()),e.focusInputOnSelect&&((ae=J.current)==null||ae.focus()),T.runIfFn(e.onSelectOption,{item:w,selectMethod:Oe.current,isNewInput:w==null?void 0:w.creatable}),w!=null&&w.creatable&&T.runIfFn(e.onCreateOption,{item:T.omit(w,["noFilter"]),selectMethod:Oe.current});const X=(w==null?void 0:w.label)||(w==null?void 0:w.value);Le(()=>g?"":X??""),v&&_e()},He=(S,w)=>{var X;be(Z=>{const ae=ce.find(ne=>ne.value===S);return T.runIfFn(e.onTagRemoved,S,ae,Z),Z.filter(ne=>ne!==S)}),he===S&&Le(""),w&&((X=J.current)==null||X.focus())},vr=S=>{var w;be([]),S&&((w=J.current)==null||w.focus())},ur=g?me.map(S=>{var w;return{label:((w=ce.find(X=>X.value===(S==null?void 0:S.toString())))==null?void 0:w.label)||S,onRemove:()=>He(S)}}):[];return A.useEffect(()=>{T.runIfFn(C,{tags:ur})},[me]),{autoCompleteProps:e,children:mr,filteredList:re,filteredResults:lr,focusedValue:ke,getEmptyStateProps:S=>{if(re.every(X=>X.noFilter)&&l&&!o)return typeof l=="boolean"?S:T.runIfFn(l,{query:he})},getGroupProps:S=>{const w=uo(S.children,re);return{divider:{hasFirstChild:lo(S.children,je),hasLastChild:co(S.children,T.getLastItem(re.filter(X=>T.isUndefined(X==null?void 0:X.noFilter))))},group:{display:w?"initial":"none"}}},getInputProps:(S,w)=>{const{onBlur:X,onChange:Z,onFocus:ae,onKeyDown:ne,variant:Xe,...Ce}=S;return{wrapper:{ref:xe,onClick:()=>{var z;(z=J==null?void 0:J.current)==null||z.focus()},...so(w,g),...Ce},input:{isReadOnly:d,onFocus:z=>{T.runIfFn(ae,z),e.openOnFocus&&!d&&We(),e.selectOnFocus&&z.target.select(),p&&sr(!0)},onBlur:z=>{var Ae,de;T.runIfFn(X,z);const ee=z.relatedTarget===(ge==null?void 0:ge.current)||((Ae=ge.current)==null?void 0:Ae.contains(z.relatedTarget)),U=(de=xe.current)==null?void 0:de.contains(z.relatedTarget);if(!ee&&!U&&(r&&_e(),!me.includes(z.target.value)&&R)){const De=T.getLastItem(me),oe=ce.find(rr=>rr.value===De),ze=(oe==null?void 0:oe.label)||(oe==null?void 0:oe.value)||"";Le(ze)}},onChange:z=>{const ee=z.target.value;T.runIfFn(Z,z),Le(ee);const U=T.isEmpty(ee);T.runIfFn(le,ee)&&(!U||Sr)?We():_e(),sr(!1)},onKeyDown:z=>{var Ae;T.runIfFn(ne,z),Oe.current="keyboard";const{key:ee}=z,U=re[Te];if(["Enter",...ar].includes(ee)){U&&!(U!=null&&U.disabled)?Me(U==null?void 0:U.value):(Ae=J.current)==null||Ae.focus(),z.preventDefault();return}if(ee==="ArrowDown"){$e?te(er==null?void 0:er.value):We(),z.preventDefault();return}if(ee==="ArrowUp"){$e?te(Ue==null?void 0:Ue.value):We(),z.preventDefault();return}if(ee==="Tab"){U&&!(U!=null&&U.disabled)?Me(U==null?void 0:U.value):_e();return}if(ee==="Home"){te(je==null?void 0:je.value),z.preventDefault();return}if(ee==="End"){te(cr==null?void 0:cr.value),z.preventDefault();return}ee==="Escape"&&(_e(),z.preventDefault())},value:he,variant:g?"unstyled":Xe,...Ce}}},getItemProps:(S,w)=>{var Re;const{_fixed:X,_focus:Z,children:ae,disabled:ne,label:Xe,value:Ce,fixed:z,getValue:ee=gt,onClick:U,onMouseOver:Ae,sx:de,...De}=S,oe=w?Ce:(Re=ee(Ce))==null?void 0:Re.toString(),ze=oe===ke,rr=re.findIndex(Pe=>Pe.value===oe)>=0,ve=ae||Xe||oe;return{item:{...typeof ve!="string"||!a?{children:ve}:{dangerouslySetInnerHTML:{__html:to(ve,he)}},"aria-selected":me.includes(oe),"aria-disabled":ne,_disabled:{opacity:.4,cursor:"not-allowed",userSelect:"none"},onClick:Pe=>{var ye;T.runIfFn(U,Pe),ne?(ye=J.current)==null||ye.focus():Me(oe)},onMouseOver:Pe=>{T.runIfFn(Ae,Pe),te(oe),Oe.current="mouse"},sx:{...de,mark:{color:"inherit",bg:"transparent",...T.isObject(a)?a:{fontWeight:a?"extrabold":"inherit"}}},...ze&&(Z||oo()),...z&&X,...De},root:{isValidSuggestion:rr,value:oe}}},inputRef:J,interactionRef:Oe,isLoading:G,isOpen:$e,itemList:ce,listRef:ge,onClose:_e,onOpen:We,placement:L,query:he,removeItem:He,resetItems:vr,setQuery:Le,tags:ur,values:me}}const Zt=W.forwardRef((e,r)=>{const o=Qt(e),{children:a,isOpen:l,onClose:u,onOpen:d,placement:p,resetItems:h,removeItem:g}=o;return A.useImperativeHandle(r,()=>({resetItems:h,removeItem:g})),x.jsx(Kt,{value:o,children:x.jsx(W.Popover,{isLazy:!0,isOpen:l,onClose:u,onOpen:d,autoFocus:!1,placement:p,closeOnBlur:!0,matchWidth:!0,children:x.jsx(W.chakra.div,{w:"full",ref:r,children:a})})})});Zt.displayName="AutoComplete";const en=W.forwardRef((e,r)=>{const{focusedValue:o,getItemProps:a,interactionRef:l}=Je(),u=A.useRef(),d=W.useMergeRefs(r,u),p=a(e),{isValidSuggestion:h,value:g}=p.root,v=o===g;A.useEffect(()=>{var N;v&&l.current==="keyboard"&&((N=u==null?void 0:u.current)==null||N.scrollIntoView({behavior:"smooth",block:"center"}))},[v,l]),A.useEffect(()=>{typeof g!="string"&&console.warn("wow"),typeof g!="string"&&T.isUndefined(e.getValue)&&console.error("You must define the `getValue` prop, when an Item's value is not a string")},[]);const{children:_,dangerouslySetInnerHTML:y,...C}=p.item,O=T.omit(C,["groupId"]);return h?x.jsx(W.Flex,{ref:d,...ht,...O,children:_||x.jsx("span",{dangerouslySetInnerHTML:y})}):null});en.displayName="AutoCompleteItem";const ht={mx:"2",px:"2",py:"2",rounded:"md",cursor:"pointer"};function rn(e){const{alwaysDisplay:r,children:o,...a}=e,{autoCompleteProps:l,getItemProps:u,query:d,filteredResults:p}=Je(),{children:h,...g}=u({...e,value:d,children:T.runIfFn(o,{value:d})},!0).item,v=p.some(C=>C.value===d),_=T.isEmpty(d)?r:!0;return l.creatable&&_&&!v?x.jsx(W.Flex,{...ht,...g,...a,children:h||`Add ${d}`}):null}rn.displayName="AutoCompleteCreatable";const tn=W.forwardRef((e,r)=>{const{children:o,showDivider:a,...l}=e,u=T.omit(l,["groupSibling"]),{getGroupProps:d}=Je(),{group:p}=d(e),h=po(e);return x.jsxs(W.Box,{ref:r,...p,...u,children:[x.jsx(W.Divider,{...h.top}),o,x.jsx(W.Divider,{...h.bottom})]})}),nn=W.forwardRef((e,r)=>x.jsx(W.Flex,{...fo,...e,ref:r}));tn.displayName="AutoCompleteGroup";nn.displayName="AutoCompleteGroupTitle";const fo={ml:5,my:1,fontSize:"xs",letterSpacing:"wider",fontWeight:"extrabold",textTransform:"uppercase"},po=e=>{const{getGroupProps:r}=Je(),o=e.groupSibling,{divider:{hasFirstChild:a,hasLastChild:l}}=r(e),u={my:2,borderColor:e.dividerColor},d={...u,mb:4,display:!e.showDivider||a?"none":""},p={...u,display:!e.showDivider||l||o?"none":""};return{top:d,bottom:p}},Wt=W.forwardRef((e,r)=>{const{isLoading:o}=Je(),{loadingIcon:a,...l}=e;return x.jsxs(W.InputGroup,{children:[x.jsx(W.Input,{...l,ref:r}),o&&x.jsx(W.InputRightElement,{children:a||x.jsx(W.Spinner,{})})]})}),mt=W.forwardRef((e,r)=>{const{autoCompleteProps:o,inputRef:a,getInputProps:l,tags:u,setQuery:d}=Je(),{children:p,isInvalid:h,hidePlaceholder:g,...v}=e,{value:_}=v;A.useEffect(()=>{_!==void 0&&(typeof _=="string"||_ instanceof String)&&d(_)},[_]);const y=W.useMultiStyleConfig("Input",e);let{wrapper:C,input:O}=l(v,y);const{ref:N,...G}=C,L=W.useMergeRefs(r,a),R=T.runIfFn(p,{tags:u});g&&(O={...O,placeholder:Array.isArray(R)&&R.length?void 0:O.placeholder});const le=x.jsx(Wt,{isInvalid:h,...O,ref:L}),ar=x.jsxs(W.Wrap,{...G,ref:N,children:[R,x.jsx(W.WrapItem,{as:Wt,...O,ref:L})]});return x.jsx(W.PopoverAnchor,{children:o.multiple?ar:le})});mt.displayName="Input";mt.id="Input";function go(){const e=A.useContext(Qn.ThemeContext);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var on=A.createContext({});on.displayName="ColorModeContext";function an(){const e=A.useContext(on);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function ho(){const e=an(),r=go();return{...e,theme:r}}var bt=(...e)=>e.filter(Boolean).join(" ");function hr(e){const r=typeof e;return e!=null&&(r==="object"||r==="function")&&!Array.isArray(e)}function gr(e,...r){return mo(e)?e(...r):e}var mo=e=>typeof e=="function",Dr={exports:{}};Dr.exports;(function(e,r){var o=200,a="__lodash_hash_undefined__",l=800,u=16,d=9007199254740991,p="[object Arguments]",h="[object Array]",g="[object AsyncFunction]",v="[object Boolean]",_="[object Date]",y="[object Error]",C="[object Function]",O="[object GeneratorFunction]",N="[object Map]",G="[object Number]",L="[object Null]",R="[object Object]",le="[object Proxy]",ar="[object RegExp]",Sr="[object Set]",Qe="[object String]",ir="[object Undefined]",$e="[object WeakMap]",_e="[object ArrayBuffer]",We="[object DataView]",mr="[object Float32Array]",ce="[object Float64Array]",J="[object Int8Array]",xe="[object Int16Array]",ge="[object Int32Array]",Oe="[object Uint8Array]",br="[object Uint8ClampedArray]",sr="[object Uint16Array]",Ye="[object Uint32Array]",he=/[\\^$.*+?()[\]{}|]/g,Le=/^\[object .+?Constructor\]$/,lr=/^(?:0|[1-9]\d*)$/,D={};D[mr]=D[ce]=D[J]=D[xe]=D[ge]=D[Oe]=D[br]=D[sr]=D[Ye]=!0,D[p]=D[h]=D[_e]=D[v]=D[We]=D[_]=D[y]=D[C]=D[N]=D[G]=D[R]=D[ar]=D[Sr]=D[Qe]=D[$e]=!1;var re=typeof Fr=="object"&&Fr&&Fr.Object===Object&&Fr,me=typeof self=="object"&&self&&self.Object===Object&&self,be=re||me||Function("return this")(),ke=r&&!r.nodeType&&r,te=ke&&!0&&e&&!e.nodeType&&e,Ze=te&&te.exports===ke,Te=Ze&&re.process,er=function(){try{var t=te&&te.require&&te.require("util").types;return t||Te&&Te.binding&&Te.binding("util")}catch{}}(),Ue=er&&er.isTypedArray;function je(t,i,c){switch(c.length){case 0:return t.call(i);case 1:return t.call(i,c[0]);case 2:return t.call(i,c[0],c[1]);case 3:return t.call(i,c[0],c[1],c[2])}return t.apply(i,c)}function cr(t,i){for(var c=-1,b=Array(t);++c<t;)b[c]=i(c);return b}function Me(t){return function(i){return t(i)}}function He(t,i){return t==null?void 0:t[i]}function vr(t,i){return function(c){return t(i(c))}}var ur=Array.prototype,dr=Function.prototype,fr=Object.prototype,yr=be["__core-js_shared__"],qe=dr.toString,ue=fr.hasOwnProperty,S=function(){var t=/[^.]+$/.exec(yr&&yr.keys&&yr.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),w=fr.toString,X=qe.call(Object),Z=RegExp("^"+qe.call(ue).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ae=Ze?be.Buffer:void 0,ne=be.Symbol,Xe=be.Uint8Array,Ce=ae?ae.allocUnsafe:void 0,z=vr(Object.getPrototypeOf,Object),ee=Object.create,U=fr.propertyIsEnumerable,Ae=ur.splice,de=ne?ne.toStringTag:void 0,De=function(){try{var t=Qr(Object,"defineProperty");return t({},"",{}),t}catch{}}(),oe=ae?ae.isBuffer:void 0,ze=Math.max,rr=Date.now,ve=Qr(be,"Map"),Re=Qr(Object,"create"),Pe=function(){function t(){}return function(i){if(!pr(i))return{};if(ee)return ee(i);t.prototype=i;var c=new t;return t.prototype=void 0,c}}();function ye(t){var i=-1,c=t==null?0:t.length;for(this.clear();++i<c;){var b=t[i];this.set(b[0],b[1])}}function Yr(){this.__data__=Re?Re(null):{},this.size=0}function wr(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function Ur(t){var i=this.__data__;if(Re){var c=i[t];return c===a?void 0:c}return ue.call(i,t)?i[t]:void 0}function Er(t){var i=this.__data__;return Re?i[t]!==void 0:ue.call(i,t)}function Ir(t,i){var c=this.__data__;return this.size+=this.has(t)?0:1,c[t]=Re&&i===void 0?a:i,this}ye.prototype.clear=Yr,ye.prototype.delete=wr,ye.prototype.get=Ur,ye.prototype.has=Er,ye.prototype.set=Ir;function Be(t){var i=-1,c=t==null?0:t.length;for(this.clear();++i<c;){var b=t[i];this.set(b[0],b[1])}}function Hr(){this.__data__=[],this.size=0}function Or(t){var i=this.__data__,c=pe(i,t);if(c<0)return!1;var b=i.length-1;return c==b?i.pop():Ae.call(i,c,1),--this.size,!0}function qr(t){var i=this.__data__,c=pe(i,t);return c<0?void 0:i[c][1]}function Xr(t){return pe(this.__data__,t)>-1}function Kr(t,i){var c=this.__data__,b=pe(c,t);return b<0?(++this.size,c.push([t,i])):c[b][1]=i,this}Be.prototype.clear=Hr,Be.prototype.delete=Or,Be.prototype.get=qr,Be.prototype.has=Xr,Be.prototype.set=Kr;function tr(t){var i=-1,c=t==null?0:t.length;for(this.clear();++i<c;){var b=t[i];this.set(b[0],b[1])}}function n(){this.size=0,this.__data__={hash:new ye,map:new(ve||Be),string:new ye}}function f(t){var i=Pr(this,t).delete(t);return this.size-=i?1:0,i}function m(t){return Pr(this,t).get(t)}function k(t){return Pr(this,t).has(t)}function F(t,i){var c=Pr(this,t),b=c.size;return c.set(t,i),this.size+=c.size==b?0:1,this}tr.prototype.clear=n,tr.prototype.delete=f,tr.prototype.get=m,tr.prototype.has=k,tr.prototype.set=F;function P(t){var i=this.__data__=new Be(t);this.size=i.size}function I(){this.__data__=new Be,this.size=0}function E(t){var i=this.__data__,c=i.delete(t);return this.size=i.size,c}function ie(t){return this.__data__.get(t)}function K(t){return this.__data__.has(t)}function Q(t,i){var c=this.__data__;if(c instanceof Be){var b=c.__data__;if(!ve||b.length<o-1)return b.push([t,i]),this.size=++c.size,this;c=this.__data__=new tr(b)}return c.set(t,i),this.size=c.size,this}P.prototype.clear=I,P.prototype.delete=E,P.prototype.get=ie,P.prototype.has=K,P.prototype.set=Q;function fe(t,i){var c=rt(t),b=!c&&et(t),B=!c&&!b&&wt(t),V=!c&&!b&&!B&&It(t),H=c||b||B||V,j=H?cr(t.length,String):[],q=j.length;for(var we in t)(i||ue.call(t,we))&&!(H&&(we=="length"||B&&(we=="offset"||we=="parent")||V&&(we=="buffer"||we=="byteLength"||we=="byteOffset")||Ct(we,q)))&&j.push(we);return j}function Ne(t,i,c){(c!==void 0&&!Br(t[i],c)||c===void 0&&!(i in t))&&Jr(t,i,c)}function jr(t,i,c){var b=t[i];(!(ue.call(t,i)&&Br(b,c))||c===void 0&&!(i in t))&&Jr(t,i,c)}function pe(t,i){for(var c=t.length;c--;)if(Br(t[c][0],i))return c;return-1}function Jr(t,i,c){i=="__proto__"&&De?De(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}):t[i]=c}var Sn=Pn();function Ar(t){return t==null?t===void 0?ir:L:de&&de in Object(t)?Bn(t):Dn(t)}function kt(t){return _r(t)&&Ar(t)==p}function _n(t){if(!pr(t)||Ln(t))return!1;var i=nt(t)?Z:Le;return i.test(Vn(t))}function xn(t){return _r(t)&&Et(t.length)&&!!D[Ar(t)]}function kn(t){if(!pr(t))return Mn(t);var i=Rt(t),c=[];for(var b in t)b=="constructor"&&(i||!ue.call(t,b))||c.push(b);return c}function Tt(t,i,c,b,B){t!==i&&Sn(i,function(V,H){if(B||(B=new P),pr(V))Tn(t,i,H,c,Tt,b,B);else{var j=b?b(Zr(t,H),V,H+"",t,i,B):void 0;j===void 0&&(j=V),Ne(t,H,j)}},Ot)}function Tn(t,i,c,b,B,V,H){var j=Zr(t,c),q=Zr(i,c),we=H.get(q);if(we){Ne(t,c,we);return}var Se=V?V(j,q,c+"",t,i,H):void 0,xr=Se===void 0;if(xr){var ot=rt(q),at=!ot&&wt(q),At=!ot&&!at&&It(q);Se=q,ot||at||At?rt(j)?Se=j:Yn(j)?Se=On(j):at?(xr=!1,Se=wn(q,!0)):At?(xr=!1,Se=In(q,!0)):Se=[]:Un(q)||et(q)?(Se=j,et(j)?Se=Hn(j):(!pr(j)||nt(j))&&(Se=Fn(q))):xr=!1}xr&&(H.set(q,Se),B(Se,q,b,V,H),H.delete(q)),Ne(t,c,Se)}function Cn(t,i){return Nn(zn(t,i,jt),t+"")}var Rn=De?function(t,i){return De(t,"toString",{configurable:!0,enumerable:!1,value:Xn(i),writable:!0})}:jt;function wn(t,i){if(i)return t.slice();var c=t.length,b=Ce?Ce(c):new t.constructor(c);return t.copy(b),b}function En(t){var i=new t.constructor(t.byteLength);return new Xe(i).set(new Xe(t)),i}function In(t,i){var c=i?En(t.buffer):t.buffer;return new t.constructor(c,t.byteOffset,t.length)}function On(t,i){var c=-1,b=t.length;for(i||(i=Array(b));++c<b;)i[c]=t[c];return i}function jn(t,i,c,b){var B=!c;c||(c={});for(var V=-1,H=i.length;++V<H;){var j=i[V],q=b?b(c[j],t[j],j,c,t):void 0;q===void 0&&(q=t[j]),B?Jr(c,j,q):jr(c,j,q)}return c}function An(t){return Cn(function(i,c){var b=-1,B=c.length,V=B>1?c[B-1]:void 0,H=B>2?c[2]:void 0;for(V=t.length>3&&typeof V=="function"?(B--,V):void 0,H&&$n(c[0],c[1],H)&&(V=B<3?void 0:V,B=1),i=Object(i);++b<B;){var j=c[b];j&&t(i,j,b,V)}return i})}function Pn(t){return function(i,c,b){for(var B=-1,V=Object(i),H=b(i),j=H.length;j--;){var q=H[t?j:++B];if(c(V[q],q,V)===!1)break}return i}}function Pr(t,i){var c=t.__data__;return Wn(i)?c[typeof i=="string"?"string":"hash"]:c.map}function Qr(t,i){var c=He(t,i);return _n(c)?c:void 0}function Bn(t){var i=ue.call(t,de),c=t[de];try{t[de]=void 0;var b=!0}catch{}var B=w.call(t);return b&&(i?t[de]=c:delete t[de]),B}function Fn(t){return typeof t.constructor=="function"&&!Rt(t)?Pe(z(t)):{}}function Ct(t,i){var c=typeof t;return i=i??d,!!i&&(c=="number"||c!="symbol"&&lr.test(t))&&t>-1&&t%1==0&&t<i}function $n(t,i,c){if(!pr(c))return!1;var b=typeof i;return(b=="number"?tt(c)&&Ct(i,c.length):b=="string"&&i in c)?Br(c[i],t):!1}function Wn(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Ln(t){return!!S&&S in t}function Rt(t){var i=t&&t.constructor,c=typeof i=="function"&&i.prototype||fr;return t===c}function Mn(t){var i=[];if(t!=null)for(var c in Object(t))i.push(c);return i}function Dn(t){return w.call(t)}function zn(t,i,c){return i=ze(i===void 0?t.length-1:i,0),function(){for(var b=arguments,B=-1,V=ze(b.length-i,0),H=Array(V);++B<V;)H[B]=b[i+B];B=-1;for(var j=Array(i+1);++B<i;)j[B]=b[B];return j[i]=c(H),je(t,this,j)}}function Zr(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var Nn=Gn(Rn);function Gn(t){var i=0,c=0;return function(){var b=rr(),B=u-(b-c);if(c=b,B>0){if(++i>=l)return arguments[0]}else i=0;return t.apply(void 0,arguments)}}function Vn(t){if(t!=null){try{return qe.call(t)}catch{}try{return t+""}catch{}}return""}function Br(t,i){return t===i||t!==t&&i!==i}var et=kt(function(){return arguments}())?kt:function(t){return _r(t)&&ue.call(t,"callee")&&!U.call(t,"callee")},rt=Array.isArray;function tt(t){return t!=null&&Et(t.length)&&!nt(t)}function Yn(t){return _r(t)&&tt(t)}var wt=oe||Kn;function nt(t){if(!pr(t))return!1;var i=Ar(t);return i==C||i==O||i==g||i==le}function Et(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=d}function pr(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function _r(t){return t!=null&&typeof t=="object"}function Un(t){if(!_r(t)||Ar(t)!=R)return!1;var i=z(t);if(i===null)return!0;var c=ue.call(i,"constructor")&&i.constructor;return typeof c=="function"&&c instanceof c&&qe.call(c)==X}var It=Ue?Me(Ue):xn;function Hn(t){return jn(t,Ot(t))}function Ot(t){return tt(t)?fe(t,!0):kn(t)}var qn=An(function(t,i,c,b){Tt(t,i,c,b)});function Xn(t){return function(){return t}}function jt(t){return t}function Kn(){return!1}e.exports=qn})(Dr,Dr.exports);var bo=Dr.exports;const or=Xt(bo);var vo=e=>/!(important)?$/.test(e),Lt=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,yo=(e,r)=>o=>{const a=String(r),l=vo(a),u=Lt(a),d=e?`${e}.${u}`:u;let p=hr(o.__cssMap)&&d in o.__cssMap?o.__cssMap[d].varRef:r;return p=Lt(p),l?`${p} !important`:p};function vt(e){const{scale:r,transform:o,compose:a}=e;return(u,d)=>{var p;const h=yo(r,u)(d);let g=(p=o==null?void 0:o(h,d))!=null?p:h;return a&&(g=a(g,d)),g}}var Wr=(...e)=>r=>e.reduce((o,a)=>a(o),r);function Ee(e,r){return o=>{const a={property:o,scale:e};return a.transform=vt({scale:e,transform:r}),a}}var So=({rtl:e,ltr:r})=>o=>o.direction==="rtl"?e:r;function _o(e){const{property:r,scale:o,transform:a}=e;return{scale:o,property:So(r),transform:o?vt({scale:o,compose:a}):a}}var sn=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function xo(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...sn].join(" ")}function ko(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...sn].join(" ")}var To={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Co={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Ro(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var wo={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},ct={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Eo=new Set(Object.values(ct)),ut=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Io=e=>e.trim();function Oo(e,r){if(e==null||ut.has(e))return e;if(!(dt(e)||ut.has(e)))return`url('${e}')`;const l=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),u=l==null?void 0:l[1],d=l==null?void 0:l[2];if(!u||!d)return e;const p=u.includes("-gradient")?u:`${u}-gradient`,[h,...g]=d.split(",").map(Io).filter(Boolean);if((g==null?void 0:g.length)===0)return e;const v=h in ct?ct[h]:h;g.unshift(v);const _=g.map(y=>{if(Eo.has(y))return y;const C=y.indexOf(" "),[O,N]=C!==-1?[y.substr(0,C),y.substr(C+1)]:[y],G=dt(N)?N:N&&N.split(" "),L=`colors.${O}`,R=L in r.__cssMap?r.__cssMap[L].varRef:O;return G?[R,...Array.isArray(G)?G:[G]].join(" "):R});return`${p}(${_.join(", ")})`}var dt=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),jo=(e,r)=>Oo(e,r??{});function Ao(e){return/^var\(--.+\)$/.test(e)}var Po=e=>{const r=parseFloat(e.toString()),o=e.toString().replace(String(r),"");return{unitless:!o,value:r,unit:o}},Ge=e=>r=>`${e}(${r})`,$={filter(e){return e!=="auto"?e:To},backdropFilter(e){return e!=="auto"?e:Co},ring(e){return Ro($.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?xo():e==="auto-gpu"?ko():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:r}=Po(e);return r||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,r){const o={left:"right",right:"left"};return r.direction==="rtl"?o[e]:e},degree(e){if(Ao(e)||e==null)return e;const r=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||r?`${e}deg`:e},gradient:jo,blur:Ge("blur"),opacity:Ge("opacity"),brightness:Ge("brightness"),contrast:Ge("contrast"),dropShadow:Ge("drop-shadow"),grayscale:Ge("grayscale"),hueRotate:Ge("hue-rotate"),invert:Ge("invert"),saturate:Ge("saturate"),sepia:Ge("sepia"),bgImage(e){return e==null||dt(e)||ut.has(e)?e:`url(${e})`},outline(e){const r=String(e)==="0"||String(e)==="none";return e!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var r;const{space:o,divide:a}=(r=wo[e])!=null?r:{},l={flexDirection:e};return o&&(l[o]=1),a&&(l[a]=1),l}},s={borderWidths:Ee("borderWidths"),borderStyles:Ee("borderStyles"),colors:Ee("colors"),borders:Ee("borders"),gradients:Ee("gradients",$.gradient),radii:Ee("radii",$.px),space:Ee("space",Wr($.vh,$.px)),spaceT:Ee("space",Wr($.vh,$.px)),degreeT(e){return{property:e,transform:$.degree}},prop(e,r,o){return{property:e,scale:r,...r&&{transform:vt({scale:r,transform:o})}}},propT(e,r){return{property:e,transform:r}},sizes:Ee("sizes",Wr($.vh,$.px)),sizesT:Ee("sizes",Wr($.vh,$.fraction)),shadows:Ee("shadows"),logical:_o,blur:Ee("blur",$.blur)},Lr={background:s.colors("background"),backgroundColor:s.colors("backgroundColor"),backgroundImage:s.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:$.bgClip},bgSize:s.prop("backgroundSize"),bgPosition:s.prop("backgroundPosition"),bg:s.colors("background"),bgColor:s.colors("backgroundColor"),bgPos:s.prop("backgroundPosition"),bgRepeat:s.prop("backgroundRepeat"),bgAttachment:s.prop("backgroundAttachment"),bgGradient:s.gradients("backgroundImage"),bgClip:{transform:$.bgClip}};Object.assign(Lr,{bgImage:Lr.backgroundImage,bgImg:Lr.backgroundImage});var M={border:s.borders("border"),borderWidth:s.borderWidths("borderWidth"),borderStyle:s.borderStyles("borderStyle"),borderColor:s.colors("borderColor"),borderRadius:s.radii("borderRadius"),borderTop:s.borders("borderTop"),borderBlockStart:s.borders("borderBlockStart"),borderTopLeftRadius:s.radii("borderTopLeftRadius"),borderStartStartRadius:s.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:s.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:s.radii("borderTopRightRadius"),borderStartEndRadius:s.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:s.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:s.borders("borderRight"),borderInlineEnd:s.borders("borderInlineEnd"),borderBottom:s.borders("borderBottom"),borderBlockEnd:s.borders("borderBlockEnd"),borderBottomLeftRadius:s.radii("borderBottomLeftRadius"),borderBottomRightRadius:s.radii("borderBottomRightRadius"),borderLeft:s.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:s.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:s.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:s.borders(["borderLeft","borderRight"]),borderInline:s.borders("borderInline"),borderY:s.borders(["borderTop","borderBottom"]),borderBlock:s.borders("borderBlock"),borderTopWidth:s.borderWidths("borderTopWidth"),borderBlockStartWidth:s.borderWidths("borderBlockStartWidth"),borderTopColor:s.colors("borderTopColor"),borderBlockStartColor:s.colors("borderBlockStartColor"),borderTopStyle:s.borderStyles("borderTopStyle"),borderBlockStartStyle:s.borderStyles("borderBlockStartStyle"),borderBottomWidth:s.borderWidths("borderBottomWidth"),borderBlockEndWidth:s.borderWidths("borderBlockEndWidth"),borderBottomColor:s.colors("borderBottomColor"),borderBlockEndColor:s.colors("borderBlockEndColor"),borderBottomStyle:s.borderStyles("borderBottomStyle"),borderBlockEndStyle:s.borderStyles("borderBlockEndStyle"),borderLeftWidth:s.borderWidths("borderLeftWidth"),borderInlineStartWidth:s.borderWidths("borderInlineStartWidth"),borderLeftColor:s.colors("borderLeftColor"),borderInlineStartColor:s.colors("borderInlineStartColor"),borderLeftStyle:s.borderStyles("borderLeftStyle"),borderInlineStartStyle:s.borderStyles("borderInlineStartStyle"),borderRightWidth:s.borderWidths("borderRightWidth"),borderInlineEndWidth:s.borderWidths("borderInlineEndWidth"),borderRightColor:s.colors("borderRightColor"),borderInlineEndColor:s.colors("borderInlineEndColor"),borderRightStyle:s.borderStyles("borderRightStyle"),borderInlineEndStyle:s.borderStyles("borderInlineEndStyle"),borderTopRadius:s.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:s.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:s.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:s.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(M,{rounded:M.borderRadius,roundedTop:M.borderTopRadius,roundedTopLeft:M.borderTopLeftRadius,roundedTopRight:M.borderTopRightRadius,roundedTopStart:M.borderStartStartRadius,roundedTopEnd:M.borderStartEndRadius,roundedBottom:M.borderBottomRadius,roundedBottomLeft:M.borderBottomLeftRadius,roundedBottomRight:M.borderBottomRightRadius,roundedBottomStart:M.borderEndStartRadius,roundedBottomEnd:M.borderEndEndRadius,roundedLeft:M.borderLeftRadius,roundedRight:M.borderRightRadius,roundedStart:M.borderInlineStartRadius,roundedEnd:M.borderInlineEndRadius,borderStart:M.borderInlineStart,borderEnd:M.borderInlineEnd,borderTopStartRadius:M.borderStartStartRadius,borderTopEndRadius:M.borderStartEndRadius,borderBottomStartRadius:M.borderEndStartRadius,borderBottomEndRadius:M.borderEndEndRadius,borderStartRadius:M.borderInlineStartRadius,borderEndRadius:M.borderInlineEndRadius,borderStartWidth:M.borderInlineStartWidth,borderEndWidth:M.borderInlineEndWidth,borderStartColor:M.borderInlineStartColor,borderEndColor:M.borderInlineEndColor,borderStartStyle:M.borderInlineStartStyle,borderEndStyle:M.borderInlineEndStyle});var Bo={color:s.colors("color"),textColor:s.colors("color"),fill:s.colors("fill"),stroke:s.colors("stroke")},ft={boxShadow:s.shadows("boxShadow"),mixBlendMode:!0,blendMode:s.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:s.prop("backgroundBlendMode"),opacity:!0};Object.assign(ft,{shadow:ft.boxShadow});var Fo={filter:{transform:$.filter},blur:s.blur("--chakra-blur"),brightness:s.propT("--chakra-brightness",$.brightness),contrast:s.propT("--chakra-contrast",$.contrast),hueRotate:s.degreeT("--chakra-hue-rotate"),invert:s.propT("--chakra-invert",$.invert),saturate:s.propT("--chakra-saturate",$.saturate),dropShadow:s.propT("--chakra-drop-shadow",$.dropShadow),backdropFilter:{transform:$.backdropFilter},backdropBlur:s.blur("--chakra-backdrop-blur"),backdropBrightness:s.propT("--chakra-backdrop-brightness",$.brightness),backdropContrast:s.propT("--chakra-backdrop-contrast",$.contrast),backdropHueRotate:s.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:s.propT("--chakra-backdrop-invert",$.invert),backdropSaturate:s.propT("--chakra-backdrop-saturate",$.saturate)},zr={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:$.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:s.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:s.space("gap"),rowGap:s.space("rowGap"),columnGap:s.space("columnGap")};Object.assign(zr,{flexDir:zr.flexDirection});var ln={gridGap:s.space("gridGap"),gridColumnGap:s.space("gridColumnGap"),gridRowGap:s.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},$o={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:$.outline},outlineOffset:!0,outlineColor:s.colors("outlineColor")},Ie={width:s.sizesT("width"),inlineSize:s.sizesT("inlineSize"),height:s.sizes("height"),blockSize:s.sizes("blockSize"),boxSize:s.sizes(["width","height"]),minWidth:s.sizes("minWidth"),minInlineSize:s.sizes("minInlineSize"),minHeight:s.sizes("minHeight"),minBlockSize:s.sizes("minBlockSize"),maxWidth:s.sizes("maxWidth"),maxInlineSize:s.sizes("maxInlineSize"),maxHeight:s.sizes("maxHeight"),maxBlockSize:s.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,r)=>{var o,a,l;return{[`@media screen and (min-width: ${(l=(a=(o=r.__breakpoints)==null?void 0:o.get(e))==null?void 0:a.minW)!=null?l:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,r)=>{var o,a,l;return{[`@media screen and (max-width: ${(l=(a=(o=r.__breakpoints)==null?void 0:o.get(e))==null?void 0:a._minW)!=null?l:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:s.propT("float",$.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ie,{w:Ie.width,h:Ie.height,minW:Ie.minWidth,maxW:Ie.maxWidth,minH:Ie.minHeight,maxH:Ie.maxHeight,overscroll:Ie.overscrollBehavior,overscrollX:Ie.overscrollBehaviorX,overscrollY:Ie.overscrollBehaviorY});var Wo={listStyleType:!0,listStylePosition:!0,listStylePos:s.prop("listStylePosition"),listStyleImage:!0,listStyleImg:s.prop("listStyleImage")};function Lo(e,r,o,a){const l=typeof r=="string"?r.split("."):[r];for(a=0;a<l.length&&e;a+=1)e=e[l[a]];return e===void 0?o:e}var Mo=e=>{const r=new WeakMap;return(a,l,u,d)=>{if(typeof a>"u")return e(a,l,u);r.has(a)||r.set(a,new Map);const p=r.get(a);if(p.has(l))return p.get(l);const h=e(a,l,u,d);return p.set(l,h),h}},Do=Mo(Lo),zo={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},No={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},it=(e,r,o)=>{const a={},l=Do(e,r,{});for(const u in l)u in o&&o[u]!=null||(a[u]=l[u]);return a},Go={srOnly:{transform(e){return e===!0?zo:e==="focusable"?No:{}}},layerStyle:{processResult:!0,transform:(e,r,o)=>it(r,`layerStyles.${e}`,o)},textStyle:{processResult:!0,transform:(e,r,o)=>it(r,`textStyles.${e}`,o)},apply:{processResult:!0,transform:(e,r,o)=>it(r,e,o)}},Rr={position:!0,pos:s.prop("position"),zIndex:s.prop("zIndex","zIndices"),inset:s.spaceT("inset"),insetX:s.spaceT(["left","right"]),insetInline:s.spaceT("insetInline"),insetY:s.spaceT(["top","bottom"]),insetBlock:s.spaceT("insetBlock"),top:s.spaceT("top"),insetBlockStart:s.spaceT("insetBlockStart"),bottom:s.spaceT("bottom"),insetBlockEnd:s.spaceT("insetBlockEnd"),left:s.spaceT("left"),insetInlineStart:s.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:s.spaceT("right"),insetInlineEnd:s.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rr,{insetStart:Rr.insetInlineStart,insetEnd:Rr.insetInlineEnd});var Vo={ring:{transform:$.ring},ringColor:s.colors("--chakra-ring-color"),ringOffset:s.prop("--chakra-ring-offset-width"),ringOffsetColor:s.colors("--chakra-ring-offset-color"),ringInset:s.prop("--chakra-ring-inset")},Y={margin:s.spaceT("margin"),marginTop:s.spaceT("marginTop"),marginBlockStart:s.spaceT("marginBlockStart"),marginRight:s.spaceT("marginRight"),marginInlineEnd:s.spaceT("marginInlineEnd"),marginBottom:s.spaceT("marginBottom"),marginBlockEnd:s.spaceT("marginBlockEnd"),marginLeft:s.spaceT("marginLeft"),marginInlineStart:s.spaceT("marginInlineStart"),marginX:s.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:s.spaceT("marginInline"),marginY:s.spaceT(["marginTop","marginBottom"]),marginBlock:s.spaceT("marginBlock"),padding:s.space("padding"),paddingTop:s.space("paddingTop"),paddingBlockStart:s.space("paddingBlockStart"),paddingRight:s.space("paddingRight"),paddingBottom:s.space("paddingBottom"),paddingBlockEnd:s.space("paddingBlockEnd"),paddingLeft:s.space("paddingLeft"),paddingInlineStart:s.space("paddingInlineStart"),paddingInlineEnd:s.space("paddingInlineEnd"),paddingX:s.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:s.space("paddingInline"),paddingY:s.space(["paddingTop","paddingBottom"]),paddingBlock:s.space("paddingBlock")};Object.assign(Y,{m:Y.margin,mt:Y.marginTop,mr:Y.marginRight,me:Y.marginInlineEnd,marginEnd:Y.marginInlineEnd,mb:Y.marginBottom,ml:Y.marginLeft,ms:Y.marginInlineStart,marginStart:Y.marginInlineStart,mx:Y.marginX,my:Y.marginY,p:Y.padding,pt:Y.paddingTop,py:Y.paddingY,px:Y.paddingX,pb:Y.paddingBottom,pl:Y.paddingLeft,ps:Y.paddingInlineStart,paddingStart:Y.paddingInlineStart,pr:Y.paddingRight,pe:Y.paddingInlineEnd,paddingEnd:Y.paddingInlineEnd});var Yo={textDecorationColor:s.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:s.shadows("textShadow")},Uo={clipPath:!0,transform:s.propT("transform",$.transform),transformOrigin:!0,translateX:s.spaceT("--chakra-translate-x"),translateY:s.spaceT("--chakra-translate-y"),skewX:s.degreeT("--chakra-skew-x"),skewY:s.degreeT("--chakra-skew-y"),scaleX:s.prop("--chakra-scale-x"),scaleY:s.prop("--chakra-scale-y"),scale:s.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:s.degreeT("--chakra-rotate")},Ho={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:s.prop("transitionDuration","transition.duration"),transitionProperty:s.prop("transitionProperty","transition.property"),transitionTimingFunction:s.prop("transitionTimingFunction","transition.easing")},qo={fontFamily:s.prop("fontFamily","fonts"),fontSize:s.prop("fontSize","fontSizes",$.px),fontWeight:s.prop("fontWeight","fontWeights"),lineHeight:s.prop("lineHeight","lineHeights"),letterSpacing:s.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},Xo={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:s.spaceT("scrollMargin"),scrollMarginTop:s.spaceT("scrollMarginTop"),scrollMarginBottom:s.spaceT("scrollMarginBottom"),scrollMarginLeft:s.spaceT("scrollMarginLeft"),scrollMarginRight:s.spaceT("scrollMarginRight"),scrollMarginX:s.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:s.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:s.spaceT("scrollPadding"),scrollPaddingTop:s.spaceT("scrollPaddingTop"),scrollPaddingBottom:s.spaceT("scrollPaddingBottom"),scrollPaddingLeft:s.spaceT("scrollPaddingLeft"),scrollPaddingRight:s.spaceT("scrollPaddingRight"),scrollPaddingX:s.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:s.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function cn(e){return hr(e)&&e.reference?e.reference:String(e)}var Gr=(e,...r)=>r.map(cn).join(` ${e} `).replace(/calc/g,""),Mt=(...e)=>`calc(${Gr("+",...e)})`,Dt=(...e)=>`calc(${Gr("-",...e)})`,pt=(...e)=>`calc(${Gr("*",...e)})`,zt=(...e)=>`calc(${Gr("/",...e)})`,Nt=e=>{const r=cn(e);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):`-${r}`:pt(r,-1)},Cr=Object.assign(e=>({add:(...r)=>Cr(Mt(e,...r)),subtract:(...r)=>Cr(Dt(e,...r)),multiply:(...r)=>Cr(pt(e,...r)),divide:(...r)=>Cr(zt(e,...r)),negate:()=>Cr(Nt(e)),toString:()=>e.toString()}),{add:Mt,subtract:Dt,multiply:pt,divide:zt,negate:Nt});function Ko(e){const r=parseFloat(e.toString()),o=e.toString().replace(String(r),"");return{unitless:!o,value:r,unit:o}}function Gt(e){if(e==null)return e;const{unitless:r}=Ko(e);return r||typeof e=="number"?`${e}px`:e}function Jo(e,r){const o=["@media screen"];return e&&o.push("and",`(min-width: ${Gt(e)})`),r&&o.push("and",`(max-width: ${Gt(r)})`),o.join(" ")}var se={hover:(e,r)=>`${e}:hover ${r}, ${e}[data-hover] ${r}`,focus:(e,r)=>`${e}:focus ${r}, ${e}[data-focus] ${r}`,focusVisible:(e,r)=>`${e}:focus-visible ${r}`,focusWithin:(e,r)=>`${e}:focus-within ${r}`,active:(e,r)=>`${e}:active ${r}, ${e}[data-active] ${r}`,disabled:(e,r)=>`${e}:disabled ${r}, ${e}[data-disabled] ${r}`,invalid:(e,r)=>`${e}:invalid ${r}, ${e}[data-invalid] ${r}`,checked:(e,r)=>`${e}:checked ${r}, ${e}[data-checked] ${r}`,indeterminate:(e,r)=>`${e}:indeterminate ${r}, ${e}[aria-checked=mixed] ${r}, ${e}[data-indeterminate] ${r}`,readOnly:(e,r)=>`${e}:read-only ${r}, ${e}[readonly] ${r}, ${e}[data-read-only] ${r}`,expanded:(e,r)=>`${e}:read-only ${r}, ${e}[aria-expanded=true] ${r}, ${e}[data-expanded] ${r}`,placeholderShown:(e,r)=>`${e}:placeholder-shown ${r}`},nr=e=>un(r=>e(r,"&"),"[role=group]","[data-group]",".group"),Ke=e=>un(r=>e(r,"~ &"),"[data-peer]",".peer"),un=(e,...r)=>r.map(e).join(", "),yt={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:nr(se.hover),_peerHover:Ke(se.hover),_groupFocus:nr(se.focus),_peerFocus:Ke(se.focus),_groupFocusVisible:nr(se.focusVisible),_peerFocusVisible:Ke(se.focusVisible),_groupActive:nr(se.active),_peerActive:Ke(se.active),_groupDisabled:nr(se.disabled),_peerDisabled:Ke(se.disabled),_groupInvalid:nr(se.invalid),_peerInvalid:Ke(se.invalid),_groupChecked:nr(se.checked),_peerChecked:Ke(se.checked),_groupFocusWithin:nr(se.focusWithin),_peerFocusWithin:Ke(se.focusWithin),_peerPlaceholderShown:Ke(se.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Qo=Object.keys(yt);function Zo(e,r=[]){const o=Object.assign({},e);for(const a of r)a in o&&delete o[a];return o}var St=or({},Lr,M,Bo,zr,Ie,Fo,Vo,$o,ln,Go,Rr,ft,Y,Xo,qo,Yo,Uo,Wo,Ho);Object.assign({},Y,Ie,zr,ln,Rr);var ea=[...Object.keys(St),...Qo],ra={...St,...yt},ta=e=>e in ra,na=e=>r=>{if(!r.__breakpoints)return e;const{isResponsive:o,toArrayValue:a,media:l}=r.__breakpoints,u={};for(const d in e){let p=gr(e[d],r);if(p==null)continue;if(p=hr(p)&&o(p)?a(p):p,!Array.isArray(p)){u[d]=p;continue}const h=p.slice(0,l.length).length;for(let g=0;g<h;g+=1){const v=l==null?void 0:l[g];if(!v){u[d]=p[g];continue}u[v]=u[v]||{},p[g]!=null&&(u[v][d]=p[g])}}return u};function oa(e){const r=[];let o="",a=!1;for(let l=0;l<e.length;l++){const u=e[l];u==="("?(a=!0,o+=u):u===")"?(a=!1,o+=u):u===","&&!a?(r.push(o),o=""):o+=u}return o=o.trim(),o&&r.push(o),r}function aa(e){return/^var\(--.+\)$/.test(e)}var ia=(e,r)=>e.startsWith("--")&&typeof r=="string"&&!aa(r),sa=(e,r)=>{var o,a;if(r==null)return r;const l=h=>{var g,v;return(v=(g=e.__cssMap)==null?void 0:g[h])==null?void 0:v.varRef},u=h=>{var g;return(g=l(h))!=null?g:h},[d,p]=oa(r);return r=(a=(o=l(d))!=null?o:u(p))!=null?a:u(r),r};function la(e){const{configs:r={},pseudos:o={},theme:a}=e,l=(u,d=!1)=>{var p,h,g;const v=gr(u,a),_=na(v)(a);let y={};for(let C in _){const O=_[C];let N=gr(O,a);C in o&&(C=o[C]),ia(C,N)&&(N=sa(a,N));let G=r[C];if(G===!0&&(G={property:C}),hr(N)){y[C]=(p=y[C])!=null?p:{},y[C]=or({},y[C],l(N,!0));continue}let L=(g=(h=G==null?void 0:G.transform)==null?void 0:h.call(G,N,a,v))!=null?g:N;L=G!=null&&G.processResult?l(L,!0):L;const R=gr(G==null?void 0:G.property,a);if(!d&&(G!=null&&G.static)){const le=gr(G.static,a);y=or({},y,le)}if(R&&Array.isArray(R)){for(const le of R)y[le]=L;continue}if(R){R==="&"&&hr(L)?y=or({},y,L):y[R]=L;continue}if(hr(L)){y=or({},y,L);continue}y[C]=L}return y};return l}var ca=e=>r=>la({theme:r,pseudos:yt,configs:St})(e);function ua(e,r){if(Array.isArray(e))return e;if(hr(e))return r(e);if(e!=null)return[e]}function da(e,r){for(let o=r+1;o<e.length;o++)if(e[o]!=null)return o;return-1}function fa(e){const r=e.__breakpoints;return function(a,l,u,d){var p,h;if(!r)return;const g={},v=ua(u,r.toArrayValue);if(!v)return g;const _=v.length,y=_===1,C=!!a.parts;for(let O=0;O<_;O++){const N=r.details[O],G=r.details[da(v,O)],L=Jo(N.minW,G==null?void 0:G._minW),R=gr((p=a[l])==null?void 0:p[v[O]],d);if(R){if(C){(h=a.parts)==null||h.forEach(le=>{or(g,{[le]:y?R[le]:{[L]:R[le]}})});continue}if(!C){y?or(g,R):g[L]=R;continue}g[L]=R}}return g}}function pa(e){return r=>{var o;const{variant:a,size:l,theme:u}=r,d=fa(u);return or({},gr((o=e.baseStyle)!=null?o:{},r),d(e,"sizes",l,r),d(e,"variants",a,r))}}function ga(e){return Zo(e,["styleConfig","size","variant","colorScheme"])}var ha=typeof Element<"u",ma=typeof Map=="function",ba=typeof Set=="function",va=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Mr(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,a,l;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(a=o;a--!==0;)if(!Mr(e[a],r[a]))return!1;return!0}var u;if(ma&&e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(u=e.entries();!(a=u.next()).done;)if(!r.has(a.value[0]))return!1;for(u=e.entries();!(a=u.next()).done;)if(!Mr(a.value[1],r.get(a.value[0])))return!1;return!0}if(ba&&e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(u=e.entries();!(a=u.next()).done;)if(!r.has(a.value[0]))return!1;return!0}if(va&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if(o=e.length,o!=r.length)return!1;for(a=o;a--!==0;)if(e[a]!==r[a])return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof r.valueOf=="function")return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof r.toString=="function")return e.toString()===r.toString();if(l=Object.keys(e),o=l.length,o!==Object.keys(r).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[a]))return!1;if(ha&&e instanceof Element)return!1;for(a=o;a--!==0;)if(!((l[a]==="_owner"||l[a]==="__v"||l[a]==="__o")&&e.$$typeof)&&!Mr(e[l[a]],r[l[a]]))return!1;return!0}return e!==e&&r!==r}var ya=function(r,o){try{return Mr(r,o)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}};const Sa=Xt(ya);function dn(e,r={}){var o;const{styleConfig:a,...l}=r,{theme:u,colorMode:d}=ho(),p=e?T.memoizedGet(u,`components.${e}`):void 0,h=a||p,g=T.mergeWith({theme:u,colorMode:d},(o=h==null?void 0:h.defaultProps)!=null?o:{},T.filterUndefined(T.omit(l,["children"]))),v=A.useRef({});if(h){const y=pa(h)(g);Sa(v.current,y)||(v.current=y)}return v.current}function _a(e,r={}){return dn(e,r)}function xa(e,r={}){return dn(e,r)}var ka=new Set([...ea,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Ta=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Ca(e){return Ta.has(e)||!ka.has(e)}function Ra(e,...r){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const o={...e};for(const a of r)if(a!=null)for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&(l in o&&delete o[l],o[l]=a[l]);return o}var Vt,wa=(Vt=Pt.default)!=null?Vt:Pt,Ea=({baseStyle:e})=>r=>{const{theme:o,css:a,__css:l,sx:u,...d}=r,p=T.objectFilter(d,(_,y)=>ta(y)),h=T.runIfFn(e,r),g=Ra({},l,h,T.filterUndefined(p),u),v=ca(g)(r.theme);return a?[v,a]:v};function st(e,r){const{baseStyle:o,...a}=r??{};a.shouldForwardProp||(a.shouldForwardProp=Ca);const l=Ea({baseStyle:o}),u=wa(e,a)(l);return A.forwardRef(function(h,g){const{colorMode:v,forced:_}=an();return A.createElement(u,{ref:g,"data-theme":_?v:void 0,...h})})}function Ia(){const e=new Map;return new Proxy(st,{apply(r,o,a){return st(...a)},get(r,o){return e.has(o)||e.set(o,st(o)),e.get(o)}})}var Ve=Ia();function Fe(e){return A.forwardRef(e)}var Yt={path:x.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[x.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),x.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),x.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Vr=Fe((e,r)=>{const{as:o,viewBox:a,color:l="currentColor",focusable:u=!1,children:d,className:p,__css:h,...g}=e,v=bt("chakra-icon",p),_=_a("Icon",e),y={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...h,..._},C={ref:r,focusable:u,className:v,__css:y},O=a??Yt.viewBox;if(o&&typeof o!="string")return x.jsx(Ve.svg,{as:o,...C,...g});const N=d??Yt.path;return x.jsx(Ve.svg,{verticalAlign:"middle",viewBox:O,...C,...g,children:N})});Vr.displayName="Icon";function Oa(e,r){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${r}`}function ja(e={}){const{name:r,strict:o=!0,hookName:a="useContext",providerName:l="Provider",errorMessage:u,defaultValue:d}=e,p=A.createContext(d);p.displayName=r;function h(){var g;const v=A.useContext(p);if(!v&&o){const _=new Error(u??Oa(a,l));throw _.name="ContextError",(g=Error.captureStackTrace)==null||g.call(Error,_,h),_}return v}return[p.Provider,h,p]}var Aa=Fe(function(r,o){const{spacing:a="0.5rem",spacingX:l,spacingY:u,children:d,justify:p,direction:h,align:g,className:v,shouldWrapChildren:_,...y}=r,C=A.useMemo(()=>_?A.Children.map(d,(O,N)=>x.jsx(_t,{children:O},N)):d,[d,_]);return x.jsx(Ve.div,{ref:o,className:bt("chakra-wrap",v),...y,children:x.jsx(Ve.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:p,alignItems:g,flexDirection:h,listStyleType:"none",gap:a,columnGap:l,rowGap:u,padding:"0"},children:C})})});Aa.displayName="Wrap";var _t=Fe(function(r,o){const{className:a,...l}=r;return x.jsx(Ve.li,{ref:o,__css:{display:"flex",alignItems:"flex-start"},className:bt("chakra-wrap__listitem",a),...l})});_t.displayName="WrapItem";var xt=Ve("div");xt.displayName="Box";var fn=Fe(function(r,o){const{size:a,centerContent:l=!0,...u}=r,d=l?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return x.jsx(xt,{ref:o,boxSize:a,__css:{...d,flexShrink:0,flexGrow:0},...u})});fn.displayName="Square";var Pa=Fe(function(r,o){const{size:a,...l}=r;return x.jsx(fn,{size:a,ref:o,borderRadius:"9999px",...l})});Pa.displayName="Circle";var pn=Fe(function(r,o){const{direction:a,align:l,justify:u,wrap:d,basis:p,grow:h,shrink:g,...v}=r,_={display:"flex",flexDirection:a,alignItems:l,justifyContent:u,flexWrap:d,flexBasis:p,flexGrow:h,flexShrink:g};return x.jsx(Ve.div,{ref:o,__css:_,...v})});pn.displayName="Flex";const Ba=e=>{const{getEmptyStateProps:r}=Je(),o=r(x.jsx(pn,{...Fa,children:"No options found!"}));return x.jsx(xt,{...e,children:o})},Fa={fontSize:"sm",align:"center",justify:"center",fontWeight:"bold",fontStyle:"italic"},Ut=["AutoCompleteGroup","AutoCompleteItem","AutoCompleteCreatable"],$a=e=>{const r=A.Children.map(e,(l,u)=>{var d;if(((d=l==null?void 0:l.type)==null?void 0:d.displayName)==="AutoCompleteGroup"){const p=A.Children.toArray(e)[u+1];return A.cloneElement(l,{groupSibling:p?p.type.displayName==="AutoCompleteGroup":!1})}return l}),o=A.Children.toArray(r).filter(l=>{var u;return!Ut.includes((u=l==null?void 0:l.type)==null?void 0:u.displayName)});return[A.Children.toArray(r).filter(l=>{var u;return Ut.includes((u=l==null?void 0:l.type)==null?void 0:u.displayName)}),o]},gn=W.forwardRef((e,r)=>{const{children:o,loadingState:a,...l}=e,{listRef:u,isLoading:d}=Je(),p=W.useMergeRefs(r,u),[h,g]=$a(o);return x.jsxs(W.PopoverContent,{ref:p,w:"inherit",...Wa,...l,children:[d&&x.jsx(W.Center,{children:a||x.jsx(W.Spinner,{size:"md"})}),!d&&x.jsxs(x.Fragment,{children:[h,x.jsx(Ba,{}),g]})]})});gn.displayName="AutoCompleteList";const Wa={py:"4",opacity:"0",bg:"#232934",rounded:"md",maxH:"350px",border:"none",shadow:"base",zIndex:"popover",overflowY:"auto",_light:{bg:"#ffffff"},_focus:{boxShadow:"none"}};var[La,hn]=ja({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),mn=Fe((e,r)=>{const o=xa("Tag",e),a=ga(e),l={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...o.container};return x.jsx(La,{value:o,children:x.jsx(Ve.span,{ref:r,...a,__css:l})})});mn.displayName="Tag";var bn=Fe((e,r)=>{const o=hn();return x.jsx(Ve.span,{ref:r,noOfLines:1,...e,__css:o.label})});bn.displayName="TagLabel";var Ma=Fe((e,r)=>x.jsx(Vr,{ref:r,verticalAlign:"top",marginEnd:"0.5rem",...e}));Ma.displayName="TagLeftIcon";var Da=Fe((e,r)=>x.jsx(Vr,{ref:r,verticalAlign:"top",marginStart:"0.5rem",...e}));Da.displayName="TagRightIcon";var vn=e=>x.jsx(Vr,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:x.jsx("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});vn.displayName="TagCloseIcon";var yn=Fe((e,r)=>{const{isDisabled:o,children:a,...l}=e,d={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...hn().closeButton};return x.jsx(Ve.button,{ref:r,"aria-label":"close",...l,type:"button",disabled:o,__css:d,children:a||x.jsx(vn,{})})});yn.displayName="TagCloseButton";const za=A.memo(e=>{const{label:r,onRemove:o,disabled:a,...l}=e;return x.jsx(_t,{children:x.jsxs(mn,{borderRadius:"md",fontWeight:"normal",...a&&Ht,...l,children:[x.jsx(bn,{children:r}),x.jsx(yn,{onClick:()=>!a&&T.runIfFn(o),cursor:"pointer",...a&&Ht})]})})}),Ht={cursor:"text",userSelect:"none",opacity:.4,_focus:{boxShadow:"none"}};exports.AutoComplete=Zt;exports.AutoCompleteCreatable=rn;exports.AutoCompleteGroup=tn;exports.AutoCompleteGroupTitle=nn;exports.AutoCompleteInput=mt;exports.AutoCompleteItem=en;exports.AutoCompleteList=gn;exports.AutoCompleteProvider=Kt;exports.AutoCompleteTag=za;exports.baseItemStyles=ht;exports.useAutoComplete=Qt;exports.useAutoCompleteContext=Je;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.7",
2
+ "version": "5.2.8",
3
3
  "license": "MIT",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",