@hxtos/hx-components 0.23.1 → 0.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -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 Y1;function Qy(){return Y1||(Y1=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x=Symbol.iterator,S="@@iterator";function E(C){if(C===null||typeof C!="object")return null;var B=x&&C[x]||C[S];return typeof B=="function"?B:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(C){{for(var B=arguments.length,H=new Array(B>1?B-1:0),ue=1;ue<B;ue++)H[ue-1]=arguments[ue];L("error",C,H)}}function L(C,B,H){{var ue=P.ReactDebugCurrentFrame,we=ue.getStackAddendum();we!==""&&(B+="%s",H=H.concat([we]));var _e=H.map(function(ve){return String(ve)});_e.unshift("Warning: "+B),Function.prototype.apply.call(console[C],console,_e)}}var D=!1,N=!1,z=!1,X=!1,Y=!1,fe;fe=Symbol.for("react.module.reference");function Te(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||Y||C===i||C===f||C===h||X||C===v||D||N||z||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===p||C.$$typeof===l||C.$$typeof===u||C.$$typeof===c||C.$$typeof===fe||C.getModuleId!==void 0))}function Ge(C,B,H){var ue=C.displayName;if(ue)return ue;var we=B.displayName||B.name||"";return we!==""?H+"("+we+")":H}function Xe(C){return C.displayName||"Context"}function pe(C){if(C==null)return null;if(typeof C.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case u:var B=C;return Xe(B)+".Consumer";case l:var H=C;return Xe(H._context)+".Provider";case c:return Ge(C,C.render,"ForwardRef");case p:var ue=C.displayName||null;return ue!==null?ue:pe(C.type)||"Memo";case m:{var we=C,_e=we._payload,ve=we._init;try{return pe(ve(_e))}catch{return null}}}return null}var xe=Object.assign,be=0,Ae,$e,Je,O,T,R,F;function y(){}y.__reactDisabledLog=!0;function j(){{if(be===0){Ae=console.log,$e=console.info,Je=console.warn,O=console.error,T=console.group,R=console.groupCollapsed,F=console.groupEnd;var C={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}be++}}function ee(){{if(be--,be===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},C,{value:Ae}),info:xe({},C,{value:$e}),warn:xe({},C,{value:Je}),error:xe({},C,{value:O}),group:xe({},C,{value:T}),groupCollapsed:xe({},C,{value:R}),groupEnd:xe({},C,{value:F})})}be<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,U;function K(C,B,H){{if(U===void 0)try{throw Error()}catch(we){var ue=we.stack.trim().match(/\n( *(at )?)/);U=ue&&ue[1]||""}return`
9
+ */var Y1;function Qy(){return Y1||(Y1=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x=Symbol.iterator,S="@@iterator";function E(C){if(C===null||typeof C!="object")return null;var B=x&&C[x]||C[S];return typeof B=="function"?B:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(C){{for(var B=arguments.length,H=new Array(B>1?B-1:0),ue=1;ue<B;ue++)H[ue-1]=arguments[ue];L("error",C,H)}}function L(C,B,H){{var ue=P.ReactDebugCurrentFrame,we=ue.getStackAddendum();we!==""&&(B+="%s",H=H.concat([we]));var _e=H.map(function(ve){return String(ve)});_e.unshift("Warning: "+B),Function.prototype.apply.call(console[C],console,_e)}}var D=!1,N=!1,z=!1,X=!1,Y=!1,fe;fe=Symbol.for("react.module.reference");function Te(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||Y||C===i||C===f||C===h||X||C===v||D||N||z||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===p||C.$$typeof===l||C.$$typeof===u||C.$$typeof===c||C.$$typeof===fe||C.getModuleId!==void 0))}function Ge(C,B,H){var ue=C.displayName;if(ue)return ue;var we=B.displayName||B.name||"";return we!==""?H+"("+we+")":H}function Xe(C){return C.displayName||"Context"}function pe(C){if(C==null)return null;if(typeof C.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case u:var B=C;return Xe(B)+".Consumer";case l:var H=C;return Xe(H._context)+".Provider";case c:return Ge(C,C.render,"ForwardRef");case p:var ue=C.displayName||null;return ue!==null?ue:pe(C.type)||"Memo";case m:{var we=C,_e=we._payload,ve=we._init;try{return pe(ve(_e))}catch{return null}}}return null}var xe=Object.assign,be=0,Ee,$e,Je,O,T,R,F;function y(){}y.__reactDisabledLog=!0;function j(){{if(be===0){Ee=console.log,$e=console.info,Je=console.warn,O=console.error,T=console.group,R=console.groupCollapsed,F=console.groupEnd;var C={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}be++}}function ee(){{if(be--,be===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},C,{value:Ee}),info:xe({},C,{value:$e}),warn:xe({},C,{value:Je}),error:xe({},C,{value:O}),group:xe({},C,{value:T}),groupCollapsed:xe({},C,{value:R}),groupEnd:xe({},C,{value:F})})}be<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,U;function K(C,B,H){{if(U===void 0)try{throw Error()}catch(we){var ue=we.stack.trim().match(/\n( *(at )?)/);U=ue&&ue[1]||""}return`
10
10
  `+U+C}}var ie=!1,oe;{var le=typeof WeakMap=="function"?WeakMap:Map;oe=new le}function q(C,B){if(!C||ie)return"";{var H=oe.get(C);if(H!==void 0)return H}var ue;ie=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _e;_e=ae.current,ae.current=null,j();try{if(B){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(Et){ue=Et}Reflect.construct(C,[],ve)}else{try{ve.call()}catch(Et){ue=Et}C.call(ve.prototype)}}else{try{throw Error()}catch(Et){ue=Et}C()}}catch(Et){if(Et&&ue&&typeof Et.stack=="string"){for(var me=Et.stack.split(`
11
11
  `),at=ue.stack.split(`
12
12
  `),We=me.length-1,ze=at.length-1;We>=1&&ze>=0&&me[We]!==at[ze];)ze--;for(;We>=1&&ze>=0;We--,ze--)if(me[We]!==at[ze]){if(We!==1||ze!==1)do if(We--,ze--,ze<0||me[We]!==at[ze]){var gt=`
@@ -40,7 +40,7 @@ Check the top-level render call using <`+H+">.")}return B}}function Ti(C,B){{if(
40
40
  *
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
- */var q1;function n4(){return q1||(q1=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x=Symbol.iterator,S="@@iterator";function E(C){if(C===null||typeof C!="object")return null;var B=x&&C[x]||C[S];return typeof B=="function"?B:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(C){{for(var B=arguments.length,H=new Array(B>1?B-1:0),ue=1;ue<B;ue++)H[ue-1]=arguments[ue];L("error",C,H)}}function L(C,B,H){{var ue=P.ReactDebugCurrentFrame,we=ue.getStackAddendum();we!==""&&(B+="%s",H=H.concat([we]));var _e=H.map(function(ve){return String(ve)});_e.unshift("Warning: "+B),Function.prototype.apply.call(console[C],console,_e)}}var D=!1,N=!1,z=!1,X=!1,Y=!1,fe;fe=Symbol.for("react.module.reference");function Te(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||Y||C===i||C===f||C===h||X||C===v||D||N||z||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===p||C.$$typeof===l||C.$$typeof===u||C.$$typeof===c||C.$$typeof===fe||C.getModuleId!==void 0))}function Ge(C,B,H){var ue=C.displayName;if(ue)return ue;var we=B.displayName||B.name||"";return we!==""?H+"("+we+")":H}function Xe(C){return C.displayName||"Context"}function pe(C){if(C==null)return null;if(typeof C.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case u:var B=C;return Xe(B)+".Consumer";case l:var H=C;return Xe(H._context)+".Provider";case c:return Ge(C,C.render,"ForwardRef");case p:var ue=C.displayName||null;return ue!==null?ue:pe(C.type)||"Memo";case m:{var we=C,_e=we._payload,ve=we._init;try{return pe(ve(_e))}catch{return null}}}return null}var xe=Object.assign,be=0,Ae,$e,Je,O,T,R,F;function y(){}y.__reactDisabledLog=!0;function j(){{if(be===0){Ae=console.log,$e=console.info,Je=console.warn,O=console.error,T=console.group,R=console.groupCollapsed,F=console.groupEnd;var C={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}be++}}function ee(){{if(be--,be===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},C,{value:Ae}),info:xe({},C,{value:$e}),warn:xe({},C,{value:Je}),error:xe({},C,{value:O}),group:xe({},C,{value:T}),groupCollapsed:xe({},C,{value:R}),groupEnd:xe({},C,{value:F})})}be<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,U;function K(C,B,H){{if(U===void 0)try{throw Error()}catch(we){var ue=we.stack.trim().match(/\n( *(at )?)/);U=ue&&ue[1]||""}return`
43
+ */var q1;function n4(){return q1||(q1=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x=Symbol.iterator,S="@@iterator";function E(C){if(C===null||typeof C!="object")return null;var B=x&&C[x]||C[S];return typeof B=="function"?B:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(C){{for(var B=arguments.length,H=new Array(B>1?B-1:0),ue=1;ue<B;ue++)H[ue-1]=arguments[ue];L("error",C,H)}}function L(C,B,H){{var ue=P.ReactDebugCurrentFrame,we=ue.getStackAddendum();we!==""&&(B+="%s",H=H.concat([we]));var _e=H.map(function(ve){return String(ve)});_e.unshift("Warning: "+B),Function.prototype.apply.call(console[C],console,_e)}}var D=!1,N=!1,z=!1,X=!1,Y=!1,fe;fe=Symbol.for("react.module.reference");function Te(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||Y||C===i||C===f||C===h||X||C===v||D||N||z||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===p||C.$$typeof===l||C.$$typeof===u||C.$$typeof===c||C.$$typeof===fe||C.getModuleId!==void 0))}function Ge(C,B,H){var ue=C.displayName;if(ue)return ue;var we=B.displayName||B.name||"";return we!==""?H+"("+we+")":H}function Xe(C){return C.displayName||"Context"}function pe(C){if(C==null)return null;if(typeof C.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case u:var B=C;return Xe(B)+".Consumer";case l:var H=C;return Xe(H._context)+".Provider";case c:return Ge(C,C.render,"ForwardRef");case p:var ue=C.displayName||null;return ue!==null?ue:pe(C.type)||"Memo";case m:{var we=C,_e=we._payload,ve=we._init;try{return pe(ve(_e))}catch{return null}}}return null}var xe=Object.assign,be=0,Ee,$e,Je,O,T,R,F;function y(){}y.__reactDisabledLog=!0;function j(){{if(be===0){Ee=console.log,$e=console.info,Je=console.warn,O=console.error,T=console.group,R=console.groupCollapsed,F=console.groupEnd;var C={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}be++}}function ee(){{if(be--,be===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},C,{value:Ee}),info:xe({},C,{value:$e}),warn:xe({},C,{value:Je}),error:xe({},C,{value:O}),group:xe({},C,{value:T}),groupCollapsed:xe({},C,{value:R}),groupEnd:xe({},C,{value:F})})}be<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,U;function K(C,B,H){{if(U===void 0)try{throw Error()}catch(we){var ue=we.stack.trim().match(/\n( *(at )?)/);U=ue&&ue[1]||""}return`
44
44
  `+U+C}}var ie=!1,oe;{var le=typeof WeakMap=="function"?WeakMap:Map;oe=new le}function q(C,B){if(!C||ie)return"";{var H=oe.get(C);if(H!==void 0)return H}var ue;ie=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _e;_e=ae.current,ae.current=null,j();try{if(B){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(Et){ue=Et}Reflect.construct(C,[],ve)}else{try{ve.call()}catch(Et){ue=Et}C.call(ve.prototype)}}else{try{throw Error()}catch(Et){ue=Et}C()}}catch(Et){if(Et&&ue&&typeof Et.stack=="string"){for(var me=Et.stack.split(`
45
45
  `),at=ue.stack.split(`
46
46
  `),We=me.length-1,ze=at.length-1;We>=1&&ze>=0&&me[We]!==at[ze];)ze--;for(;We>=1&&ze>=0;We--,ze--)if(me[We]!==at[ze]){if(We!==1||ze!==1)do if(We--,ze--,ze<0||me[We]!==at[ze]){var gt=`
@@ -54,7 +54,7 @@ Check the top-level render call using <`+H+">.")}return B}}function Ti(C,B){{if(
54
54
  Copyright (c) 2018 Jed Watson.
55
55
  Licensed under the MIT License (MIT), see
56
56
  http://jedwatson.github.io/classnames
57
- */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",l=0;l<arguments.length;l++){var u=arguments[l];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var u in a)t.call(a,u)&&a[u]&&(l=i(l,u));return l}function i(a,l){return l?a?a+" "+l:a+l:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(np);var k4=np.exports;const et=Hu(k4);function rp({size:e="md",...t}){return A.jsx("div",{className:`${et("bg-brand-primary rounded-full flex items-center justify-center",{"h-8 w-8":e==="sm","h-12 w-12":e==="md","h-16 w-16":e==="lg"})}`,...t,children:A.jsx(s4,{className:et("text-brand-background",{"h-4 w-4":e==="sm","h-6 w-6":e==="md","h-8 w-8":e==="lg"})})})}const ip=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ms=b.createContext({}),vs=b.createContext(null),bs=typeof document<"u",Uu=bs?b.useLayoutEffect:b.useEffect,op=b.createContext({strict:!1}),Yu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ap="data-"+Yu("framerAppearId");function j4(e,t,n,r){const{visualElement:i}=b.useContext(ms),a=b.useContext(op),l=b.useContext(vs),u=b.useContext(ip).reducedMotion,c=b.useRef();r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=c.current;b.useInsertionEffect(()=>{f&&f.update(n,l)});const h=b.useRef(!!(n[ap]&&!window.HandoffComplete));return Uu(()=>{f&&(f.render(),h.current&&f.animationState&&f.animationState.animateChanges())}),b.useEffect(()=>{f&&(f.updateFeatures(),!h.current&&f.animationState&&f.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),f}function Wi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function G4(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Wi(n)&&(n.current=r))},[t])}function ta(e){return typeof e=="string"||Array.isArray(e)}function ys(e){return typeof e=="object"&&typeof e.start=="function"}const Ju=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ku=["initial",...Ju];function Cs(e){return ys(e.animate)||Ku.some(t=>ta(e[t]))}function sp(e){return!!(Cs(e)||e.variants)}function H4(e,t){if(Cs(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ta(n)?n:void 0,animate:ta(r)?r:void 0}}return e.inherit!==!1?t:{}}function W4(e){const{initial:t,animate:n}=H4(e,b.useContext(ms));return b.useMemo(()=>({initial:t,animate:n}),[lp(t),lp(n)])}function lp(e){return Array.isArray(e)?e.join(" "):e}const up={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},na={};for(const e in up)na[e]={isEnabled:t=>up[e].some(n=>!!t[n])};function Z4(e){for(const t in e)na[t]={...na[t],...e[t]}}const qu=b.createContext({}),cp=b.createContext({}),X4=Symbol.for("motionComponentSymbol");function z4({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Z4(e);function a(u,c){let f;const h={...b.useContext(ip),...u,layoutId:U4(u)},{isStatic:p}=h,m=W4(u),v=r(u,p);if(!p&&bs){m.visualElement=j4(i,v,h,t);const x=b.useContext(cp),S=b.useContext(op).strict;m.visualElement&&(f=m.visualElement.loadFeatures(h,S,e,x))}return ne.createElement(ms.Provider,{value:m},f&&m.visualElement?ne.createElement(f,{visualElement:m.visualElement,...h}):null,n(i,u,G4(v,m.visualElement,c),v,p,m.visualElement))}const l=b.forwardRef(a);return l[X4]=i,l}function U4({layoutId:e}){const t=b.useContext(qu).id;return t&&e!==void 0?t+"-"+e:e}function Y4(e){function t(r,i={}){return z4(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const J4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Qu(e){return typeof e!="string"||e.includes("-")?!1:!!(J4.indexOf(e)>-1||/[A-Z]/.test(e))}const xs={};function K4(e){Object.assign(xs,e)}const ra=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ti=new Set(ra);function fp(e,{layout:t,layoutId:n}){return ti.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!xs[e]||e==="opacity")}const rn=e=>!!(e&&e.getVelocity),q4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Q4=ra.length;function eC(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let l=0;l<Q4;l++){const u=ra[l];if(e[u]!==void 0){const c=q4[u]||u;a+=`${c}(${e[u]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const dp=e=>t=>typeof t=="string"&&t.startsWith(e),hp=dp("--"),ec=dp("var(--"),tC=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,nC=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Mr=(e,t,n)=>Math.min(Math.max(n,e),t),ni={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...ni,transform:e=>Mr(0,1,e)},ws={...ni,default:1},oa=e=>Math.round(e*1e5)/1e5,Ss=/(-)?([\d]*\.?[\d])+/g,pp=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,rC=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function aa(e){return typeof e=="string"}const sa=e=>({test:t=>aa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rr=sa("deg"),Un=sa("%"),Ne=sa("px"),iC=sa("vh"),oC=sa("vw"),gp={...Un,parse:e=>Un.parse(e)/100,transform:e=>Un.transform(e*100)},mp={...ni,transform:Math.round},vp={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,radius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,size:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,rotate:Rr,rotateX:Rr,rotateY:Rr,rotateZ:Rr,scale:ws,scaleX:ws,scaleY:ws,scaleZ:ws,skew:Rr,skewX:Rr,skewY:Rr,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:ia,originX:gp,originY:gp,originZ:Ne,zIndex:mp,fillOpacity:ia,strokeOpacity:ia,numOctaves:mp};function tc(e,t,n,r){const{style:i,vars:a,transform:l,transformOrigin:u}=e;let c=!1,f=!1,h=!0;for(const p in t){const m=t[p];if(hp(p)){a[p]=m;continue}const v=vp[p],x=nC(m,v);if(ti.has(p)){if(c=!0,l[p]=x,!h)continue;m!==(v.default||0)&&(h=!1)}else p.startsWith("origin")?(f=!0,u[p]=x):i[p]=x}if(t.transform||(c||r?i.transform=eC(e.transform,n,h,r):i.transform&&(i.transform="none")),f){const{originX:p="50%",originY:m="50%",originZ:v=0}=u;i.transformOrigin=`${p} ${m} ${v}`}}const nc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bp(e,t,n){for(const r in t)!rn(t[r])&&!fp(r,n)&&(e[r]=t[r])}function aC({transformTemplate:e},t,n){return b.useMemo(()=>{const r=nc();return tc(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function sC(e,t,n){const r=e.style||{},i={};return bp(i,r,e),Object.assign(i,aC(e,t,n)),e.transformValues?e.transformValues(i):i}function lC(e,t,n){const r={},i=sC(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const uC=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Is(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||uC.has(e)}let yp=e=>!Is(e);function cC(e){e&&(yp=t=>t.startsWith("on")?!Is(t):e(t))}try{cC(require("@emotion/is-prop-valid").default)}catch{}function fC(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(yp(i)||n===!0&&Is(i)||!t&&!Is(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Cp(e,t,n){return typeof e=="string"?e:Ne.transform(t+n*e)}function dC(e,t,n){const r=Cp(t,e.x,e.width),i=Cp(n,e.y,e.height);return`${r} ${i}`}const hC={offset:"stroke-dashoffset",array:"stroke-dasharray"},pC={offset:"strokeDashoffset",array:"strokeDasharray"};function gC(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?hC:pC;e[a.offset]=Ne.transform(-r);const l=Ne.transform(t),u=Ne.transform(n);e[a.array]=`${l} ${u}`}function rc(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...f},h,p,m){if(tc(e,f,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:x,dimensions:S}=e;v.transform&&(S&&(x.transform=v.transform),delete v.transform),S&&(i!==void 0||a!==void 0||x.transform)&&(x.transformOrigin=dC(S,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),l!==void 0&&gC(v,l,u,c,!1)}const xp=()=>({...nc(),attrs:{}}),ic=e=>typeof e=="string"&&e.toLowerCase()==="svg";function mC(e,t,n,r){const i=b.useMemo(()=>{const a=xp();return rc(a,t,{enableHardwareAcceleration:!1},ic(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};bp(a,e.style,e),i.style={...a,...i.style}}return i}function vC(e=!1){return(n,r,i,{latestValues:a},l)=>{const c=(Qu(n)?mC:lC)(r,a,l,n),h={...fC(r,typeof n=="string",e),...c,ref:i},{children:p}=r,m=b.useMemo(()=>rn(p)?p.get():p,[p]);return b.createElement(n,{...h,children:m})}}function wp(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const Sp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ip(e,t,n,r){wp(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Sp.has(i)?i:Yu(i),t.attrs[i])}function oc(e,t){const{style:n}=e,r={};for(const i in n)(rn(n[i])||t.style&&rn(t.style[i])||fp(i,e))&&(r[i]=n[i]);return r}function Ep(e,t){const n=oc(e,t);for(const r in e)if(rn(e[r])||rn(t[r])){const i=ra.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function ac(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function Ap(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Es=e=>Array.isArray(e),bC=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),yC=e=>Es(e)?e[e.length-1]||0:e;function As(e){const t=rn(e)?e.get():e;return bC(t)?t.toValue():t}function CC({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:xC(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const _p=e=>(t,n)=>{const r=b.useContext(ms),i=b.useContext(vs),a=()=>CC(e,t,r,i);return n?a():Ap(a)};function xC(e,t,n,r){const i={},a=r(e,{});for(const m in a)i[m]=As(a[m]);let{initial:l,animate:u}=e;const c=Cs(e),f=sp(e);t&&f&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let h=n?n.initial===!1:!1;h=h||l===!1;const p=h?u:l;return p&&typeof p!="boolean"&&!ys(p)&&(Array.isArray(p)?p:[p]).forEach(v=>{const x=ac(e,v);if(!x)return;const{transitionEnd:S,transition:E,...P}=x;for(const M in P){let L=P[M];if(Array.isArray(L)){const D=h?L.length-1:0;L=L[D]}L!==null&&(i[M]=L)}for(const M in S)i[M]=S[M]}),i}const Tt=e=>e;class Pp{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function wC(e){let t=new Pp,n=new Pp,r=0,i=!1,a=!1;const l=new WeakSet,u={schedule:(c,f=!1,h=!1)=>{const p=h&&i,m=p?t:n;return f&&l.add(c),m.add(c)&&p&&i&&(r=t.order.length),c},cancel:c=>{n.remove(c),l.delete(c)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let f=0;f<r;f++){const h=t.order[f];h(c),l.has(h)&&(u.schedule(h),e())}i=!1,a&&(a=!1,u.process(c))}};return u}const _s=["prepare","read","update","preRender","render","postRender"],SC=40;function IC(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=_s.reduce((p,m)=>(p[m]=wC(()=>n=!0),p),{}),l=p=>a[p].process(i),u=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,SC),1),i.timestamp=p,i.isProcessing=!0,_s.forEach(l),i.isProcessing=!1,n&&t&&(r=!1,e(u))},c=()=>{n=!0,r=!0,i.isProcessing||e(u)};return{schedule:_s.reduce((p,m)=>{const v=a[m];return p[m]=(x,S=!1,E=!1)=>(n||c(),v.schedule(x,S,E)),p},{}),cancel:p=>_s.forEach(m=>a[m].cancel(p)),state:i,steps:a}}const{schedule:vt,cancel:ar,state:Xt,steps:sc}=IC(typeof requestAnimationFrame<"u"?requestAnimationFrame:Tt,!0),EC={useVisualState:_p({scrapeMotionValuesFromProps:Ep,createRenderState:xp,onMount:(e,t,{renderState:n,latestValues:r})=>{vt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),vt.render(()=>{rc(n,r,{enableHardwareAcceleration:!1},ic(t.tagName),e.transformTemplate),Ip(t,n)})}})},AC={useVisualState:_p({scrapeMotionValuesFromProps:oc,createRenderState:nc})};function _C(e,{forwardMotionProps:t=!1},n,r){return{...Qu(e)?EC:AC,preloadedFeatures:n,useRender:vC(t),createVisualElement:r,Component:e}}function sr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Tp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ps(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const PC=e=>t=>Tp(t)&&e(t,Ps(t));function lr(e,t,n,r){return sr(e,t,PC(n),r)}const TC=(e,t)=>n=>t(e(n)),Lr=(...e)=>e.reduce(TC);function Op(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Fp=Op("dragHorizontal"),Mp=Op("dragVertical");function Rp(e){let t=!1;if(e==="y")t=Mp();else if(e==="x")t=Fp();else{const n=Fp(),r=Mp();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Lp(){const e=Rp(!0);return e?(e(),!1):!0}class Vr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Vp(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,l)=>{if(a.type==="touch"||Lp())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t),u[r]&&vt.update(()=>u[r](a,l))};return lr(e.current,n,i,{passive:!e.getProps()[r]})}class OC extends Vr{mount(){this.unmount=Lr(Vp(this.node,!0),Vp(this.node,!1))}unmount(){}}class FC extends Vr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Lr(sr(this.node.current,"focus",()=>this.onFocus()),sr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Dp=(e,t)=>t?e===t?!0:Dp(e,t.parentElement):!1;function lc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ps(n))}class MC extends Vr{constructor(){super(...arguments),this.removeStartListeners=Tt,this.removeEndListeners=Tt,this.removeAccessibleListeners=Tt,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=lr(window,"pointerup",(u,c)=>{if(!this.checkPressEnd())return;const{onTap:f,onTapCancel:h}=this.node.getProps();vt.update(()=>{Dp(this.node.current,u.target)?f&&f(u,c):h&&h(u,c)})},{passive:!(r.onTap||r.onPointerUp)}),l=lr(window,"pointercancel",(u,c)=>this.cancelPress(u,c),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Lr(a,l),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const l=u=>{u.key!=="Enter"||!this.checkPressEnd()||lc("up",(c,f)=>{const{onTap:h}=this.node.getProps();h&&vt.update(()=>h(c,f))})};this.removeEndListeners(),this.removeEndListeners=sr(this.node.current,"keyup",l),lc("down",(u,c)=>{this.startPress(u,c)})},n=sr(this.node.current,"keydown",t),r=()=>{this.isPressing&&lc("cancel",(a,l)=>this.cancelPress(a,l))},i=sr(this.node.current,"blur",r);this.removeAccessibleListeners=Lr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&vt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Lp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&vt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=lr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=sr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Lr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const uc=new WeakMap,cc=new WeakMap,RC=e=>{const t=uc.get(e.target);t&&t(e)},LC=e=>{e.forEach(RC)};function VC({root:e,...t}){const n=e||document;cc.has(n)||cc.set(n,{});const r=cc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(LC,{root:e,...t})),r[i]}function DC(e,t,n){const r=VC(t);return uc.set(e,n),r.observe(e),()=>{uc.delete(e),r.unobserve(e)}}const NC={some:0,all:1};class $C extends Vr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:NC[i]},u=c=>{const{isIntersecting:f}=c;if(this.isInView===f||(this.isInView=f,a&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:h,onViewportLeave:p}=this.node.getProps(),m=f?h:p;m&&m(c)};return DC(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(BC(t,n))&&this.startObserver()}unmount(){}}function BC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const kC={inView:{Feature:$C},tap:{Feature:MC},focus:{Feature:FC},hover:{Feature:OC}};function Np(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function jC(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function GC(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Ts(e,t,n){const r=e.getProps();return ac(r,t,n!==void 0?n:r.custom,jC(e),GC(e))}let la=Tt,Ln=Tt;process.env.NODE_ENV!=="production"&&(la=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ln=(e,t)=>{if(!e)throw new Error(t)});const Dr=e=>e*1e3,ur=e=>e/1e3,HC={current:!1},$p=e=>Array.isArray(e)&&typeof e[0]=="number";function Bp(e){return!!(!e||typeof e=="string"&&kp[e]||$p(e)||Array.isArray(e)&&e.every(Bp))}const ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,kp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ua([0,.65,.55,1]),circOut:ua([.55,0,1,.45]),backIn:ua([.31,.01,.66,-.59]),backOut:ua([.33,1.53,.69,.99])};function jp(e){if(e)return $p(e)?ua(e):Array.isArray(e)?e.map(jp):kp[e]}function WC(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:l="loop",ease:u,times:c}={}){const f={[t]:n};c&&(f.offset=c);const h=jp(u);return Array.isArray(h)&&(f.easing=h),e.animate(f,{delay:r,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}function ZC(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,XC=1e-7,zC=12;function UC(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=Gp(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>XC&&++u<zC);return l}function ca(e,t,n,r){if(e===t&&n===r)return Tt;const i=a=>UC(a,0,1,e,n);return a=>a===0||a===1?a:Gp(i(a),t,r)}const YC=ca(.42,0,1,1),JC=ca(0,0,.58,1),Hp=ca(.42,0,.58,1),KC=e=>Array.isArray(e)&&typeof e[0]!="number",Wp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Zp=e=>t=>1-e(1-t),fc=e=>1-Math.sin(Math.acos(e)),Xp=Zp(fc),qC=Wp(fc),zp=ca(.33,1.53,.69,.99),dc=Zp(zp),QC=Wp(dc),Up={linear:Tt,easeIn:YC,easeInOut:Hp,easeOut:JC,circIn:fc,circInOut:qC,circOut:Xp,backIn:dc,backInOut:QC,backOut:zp,anticipate:e=>(e*=2)<1?.5*dc(e):.5*(2-Math.pow(2,-10*(e-1)))},Yp=e=>{if(Array.isArray(e)){Ln(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return ca(t,n,r,i)}else if(typeof e=="string")return Ln(Up[e]!==void 0,`Invalid easing type '${e}'`),Up[e];return e},hc=(e,t)=>n=>!!(aa(n)&&rC.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Jp=(e,t,n)=>r=>{if(!aa(r))return r;const[i,a,l,u]=r.match(Ss);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},ex=e=>Mr(0,255,e),pc={...ni,transform:e=>Math.round(ex(e))},ri={test:hc("rgb","red"),parse:Jp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pc.transform(e)+", "+pc.transform(t)+", "+pc.transform(n)+", "+oa(ia.transform(r))+")"};function tx(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const gc={test:hc("#"),parse:tx,transform:ri.transform},Zi={test:hc("hsl","hue"),parse:Jp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Un.transform(oa(t))+", "+Un.transform(oa(n))+", "+oa(ia.transform(r))+")"},Qt={test:e=>ri.test(e)||gc.test(e)||Zi.test(e),parse:e=>ri.test(e)?ri.parse(e):Zi.test(e)?Zi.parse(e):gc.parse(e),transform:e=>aa(e)?e:e.hasOwnProperty("red")?ri.transform(e):Zi.transform(e)},_t=(e,t,n)=>-n*e+n*t+e;function mc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function nx({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;i=mc(c,u,e+1/3),a=mc(c,u,e),l=mc(c,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}const vc=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},rx=[gc,ri,Zi],ix=e=>rx.find(t=>t.test(e));function Kp(e){const t=ix(e);Ln(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Zi&&(n=nx(n)),n}const qp=(e,t)=>{const n=Kp(e),r=Kp(t),i={...n};return a=>(i.red=vc(n.red,r.red,a),i.green=vc(n.green,r.green,a),i.blue=vc(n.blue,r.blue,a),i.alpha=_t(n.alpha,r.alpha,a),ri.transform(i))};function ox(e){var t,n;return isNaN(e)&&aa(e)&&(((t=e.match(Ss))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(pp))===null||n===void 0?void 0:n.length)||0)>0}const Qp={regex:tC,countKey:"Vars",token:"${v}",parse:Tt},e0={regex:pp,countKey:"Colors",token:"${c}",parse:Qt.parse},t0={regex:Ss,countKey:"Numbers",token:"${n}",parse:ni.parse};function bc(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function Os(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&bc(n,Qp),bc(n,e0),bc(n,t0),n}function n0(e){return Os(e).values}function r0(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Os(e),a=t.length;return l=>{let u=i;for(let c=0;c<a;c++)c<r?u=u.replace(Qp.token,l[c]):c<r+n?u=u.replace(e0.token,Qt.transform(l[c])):u=u.replace(t0.token,oa(l[c]));return u}}const ax=e=>typeof e=="number"?0:e;function sx(e){const t=n0(e);return r0(e)(t.map(ax))}const Nr={test:ox,parse:n0,createTransformer:r0,getAnimatableNone:sx},i0=(e,t)=>n=>`${n>0?t:e}`;function o0(e,t){return typeof e=="number"?n=>_t(e,t,n):Qt.test(e)?qp(e,t):e.startsWith("var(")?i0(e,t):s0(e,t)}const a0=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,l)=>o0(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}},lx=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=o0(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},s0=(e,t)=>{const n=Nr.createTransformer(t),r=Os(e),i=Os(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Lr(a0(r.values,i.values),n):(la(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i0(e,t))},fa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},l0=(e,t)=>n=>_t(e,t,n);function ux(e){return typeof e=="number"?l0:typeof e=="string"?Qt.test(e)?qp:s0:Array.isArray(e)?a0:typeof e=="object"?lx:l0}function cx(e,t,n){const r=[],i=n||ux(e[0]),a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const c=Array.isArray(t)?t[l]||Tt:t;u=Lr(c,u)}r.push(u)}return r}function u0(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(Ln(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=cx(t,r,i),u=l.length,c=f=>{let h=0;if(u>1)for(;h<e.length-2&&!(f<e[h+1]);h++);const p=fa(e[h],e[h+1],f);return l[h](p)};return n?f=>c(Mr(e[0],e[a-1],f)):c}function fx(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=fa(0,t,r);e.push(_t(n,1,i))}}function dx(e){const t=[0];return fx(t,e.length-1),t}function hx(e,t){return e.map(n=>n*t)}function px(e,t){return e.map(()=>t||Hp).splice(0,e.length-1)}function Fs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=KC(r)?r.map(Yp):Yp(r),a={done:!1,value:t[0]},l=hx(n&&n.length===t.length?n:dx(t),e),u=u0(l,t,{ease:Array.isArray(i)?i:px(t,i)});return{calculatedDuration:e,next:c=>(a.value=u(c),a.done=c>=e,a)}}function c0(e,t){return t?e*(1e3/t):0}const gx=5;function f0(e,t,n){const r=Math.max(t-gx,0);return c0(n-e(r),t-r)}const yc=.001,mx=.01,d0=10,vx=.05,bx=1;function yx({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;la(e<=Dr(d0),"Spring duration must be 10 seconds or less");let l=1-t;l=Mr(vx,bx,l),e=Mr(mx,d0,ur(e)),l<1?(i=f=>{const h=f*l,p=h*e,m=h-n,v=Cc(f,l),x=Math.exp(-p);return yc-m/v*x},a=f=>{const p=f*l*e,m=p*n+n,v=Math.pow(l,2)*Math.pow(f,2)*e,x=Math.exp(-p),S=Cc(Math.pow(f,2),l);return(-i(f)+yc>0?-1:1)*((m-v)*x)/S}):(i=f=>{const h=Math.exp(-f*e),p=(f-n)*e+1;return-yc+h*p},a=f=>{const h=Math.exp(-f*e),p=(n-f)*(e*e);return h*p});const u=5/e,c=xx(i,a,u);if(e=Dr(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const f=Math.pow(c,2)*r;return{stiffness:f,damping:l*2*Math.sqrt(r*f),duration:e}}}const Cx=12;function xx(e,t,n){let r=n;for(let i=1;i<Cx;i++)r=r-e(r)/t(r);return r}function Cc(e,t){return e*Math.sqrt(1-t*t)}const wx=["duration","bounce"],Sx=["stiffness","damping","mass"];function h0(e,t){return t.some(n=>e[n]!==void 0)}function Ix(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!h0(e,Sx)&&h0(e,wx)){const n=yx(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function p0({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],l={done:!1,value:i},{stiffness:u,damping:c,mass:f,velocity:h,duration:p,isResolvedFromDuration:m}=Ix(r),v=h?-ur(h):0,x=c/(2*Math.sqrt(u*f)),S=a-i,E=ur(Math.sqrt(u/f)),P=Math.abs(S)<5;n||(n=P?.01:2),t||(t=P?.005:.5);let M;if(x<1){const L=Cc(E,x);M=D=>{const N=Math.exp(-x*E*D);return a-N*((v+x*E*S)/L*Math.sin(L*D)+S*Math.cos(L*D))}}else if(x===1)M=L=>a-Math.exp(-E*L)*(S+(v+E*S)*L);else{const L=E*Math.sqrt(x*x-1);M=D=>{const N=Math.exp(-x*E*D),z=Math.min(L*D,300);return a-N*((v+x*E*S)*Math.sinh(z)+L*S*Math.cosh(z))/L}}return{calculatedDuration:m&&p||null,next:L=>{const D=M(L);if(m)l.done=L>=p;else{let N=v;L!==0&&(x<1?N=f0(M,L,D):N=0);const z=Math.abs(N)<=n,X=Math.abs(a-D)<=t;l.done=z&&X}return l.value=l.done?a:D,l}}}function g0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:c,restDelta:f=.5,restSpeed:h}){const p=e[0],m={done:!1,value:p},v=Y=>u!==void 0&&Y<u||c!==void 0&&Y>c,x=Y=>u===void 0?c:c===void 0||Math.abs(u-Y)<Math.abs(c-Y)?u:c;let S=n*t;const E=p+S,P=l===void 0?E:l(E);P!==E&&(S=P-p);const M=Y=>-S*Math.exp(-Y/r),L=Y=>P+M(Y),D=Y=>{const fe=M(Y),Te=L(Y);m.done=Math.abs(fe)<=f,m.value=m.done?P:Te};let N,z;const X=Y=>{v(m.value)&&(N=Y,z=p0({keyframes:[m.value,x(m.value)],velocity:f0(L,Y,m.value),damping:i,stiffness:a,restDelta:f,restSpeed:h}))};return X(0),{calculatedDuration:null,next:Y=>{let fe=!1;return!z&&N===void 0&&(fe=!0,D(Y),X(Y)),N!==void 0&&Y>N?z.next(Y-N):(!fe&&D(Y),m)}}}const Ex=e=>{const t=({timestamp:n})=>e(n);return{start:()=>vt.update(t,!0),stop:()=>ar(t),now:()=>Xt.isProcessing?Xt.timestamp:performance.now()}},m0=2e4;function v0(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<m0;)t+=n,r=e.next(t);return t>=m0?1/0:t}const Ax={decay:g0,inertia:g0,tween:Fs,keyframes:Fs,spring:p0};function Ms({autoplay:e=!0,delay:t=0,driver:n=Ex,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",onPlay:c,onStop:f,onComplete:h,onUpdate:p,...m}){let v=1,x=!1,S,E;const P=()=>{E=new Promise(R=>{S=R})};P();let M;const L=Ax[i]||Fs;let D;L!==Fs&&typeof r[0]!="number"&&(D=u0([0,100],r,{clamp:!1}),r=[0,100]);const N=L({...m,keyframes:r});let z;u==="mirror"&&(z=L({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let X="idle",Y=null,fe=null,Te=null;N.calculatedDuration===null&&a&&(N.calculatedDuration=v0(N));const{calculatedDuration:Ge}=N;let Xe=1/0,pe=1/0;Ge!==null&&(Xe=Ge+l,pe=Xe*(a+1)-l);let xe=0;const be=R=>{if(fe===null)return;v>0&&(fe=Math.min(fe,R)),v<0&&(fe=Math.min(R-pe/v,fe)),Y!==null?xe=Y:xe=Math.round(R-fe)*v;const F=xe-t*(v>=0?1:-1),y=v>=0?F<0:F>pe;xe=Math.max(F,0),X==="finished"&&Y===null&&(xe=pe);let j=xe,ee=N;if(a){const ie=xe/Xe;let oe=Math.floor(ie),le=ie%1;!le&&ie>=1&&(le=1),le===1&&oe--,oe=Math.min(oe,a+1);const q=!!(oe%2);q&&(u==="reverse"?(le=1-le,l&&(le-=l/Xe)):u==="mirror"&&(ee=z));let ce=Mr(0,1,le);xe>pe&&(ce=u==="reverse"&&q?1:0),j=ce*Xe}const ae=y?{done:!1,value:r[0]}:ee.next(j);D&&(ae.value=D(ae.value));let{done:U}=ae;!y&&Ge!==null&&(U=v>=0?xe>=pe:xe<=0);const K=Y===null&&(X==="finished"||X==="running"&&U);return p&&p(ae.value),K&&Je(),ae},Ae=()=>{M&&M.stop(),M=void 0},$e=()=>{X="idle",Ae(),S(),P(),fe=Te=null},Je=()=>{X="finished",h&&h(),Ae(),S()},O=()=>{if(x)return;M||(M=n(be));const R=M.now();c&&c(),Y!==null?fe=R-Y:(!fe||X==="finished")&&(fe=R),X==="finished"&&P(),Te=fe,Y=null,X="running",M.start()};e&&O();const T={then(R,F){return E.then(R,F)},get time(){return ur(xe)},set time(R){R=Dr(R),xe=R,Y!==null||!M||v===0?Y=R:fe=M.now()-R/v},get duration(){const R=N.calculatedDuration===null?v0(N):N.calculatedDuration;return ur(R)},get speed(){return v},set speed(R){R===v||!M||(v=R,T.time=ur(xe))},get state(){return X},play:O,pause:()=>{X="paused",Y=xe},stop:()=>{x=!0,X!=="idle"&&(X="idle",f&&f(),$e())},cancel:()=>{Te!==null&&be(Te),$e()},complete:()=>{X="finished"},sample:R=>(fe=0,be(R))};return T}function _x(e){let t;return()=>(t===void 0&&(t=e()),t)}const Px=_x(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Tx=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Rs=10,Ox=2e4,Fx=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Bp(t.ease);function Mx(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Px()&&Tx.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let l=!1,u,c;const f=()=>{c=new Promise(M=>{u=M})};f();let{keyframes:h,duration:p=300,ease:m,times:v}=i;if(Fx(t,i)){const M=Ms({...i,repeat:0,delay:0});let L={done:!1,value:h[0]};const D=[];let N=0;for(;!L.done&&N<Ox;)L=M.sample(N),D.push(L.value),N+=Rs;v=void 0,h=D,p=N-Rs,m="linear"}const x=WC(e.owner.current,t,h,{...i,duration:p,ease:m,times:v}),S=()=>x.cancel(),E=()=>{vt.update(S),u(),f()};return x.onfinish=()=>{e.set(ZC(h,i)),r&&r(),E()},{then(M,L){return c.then(M,L)},attachTimeline(M){return x.timeline=M,x.onfinish=null,Tt},get time(){return ur(x.currentTime||0)},set time(M){x.currentTime=Dr(M)},get speed(){return x.playbackRate},set speed(M){x.playbackRate=M},get duration(){return ur(p)},play:()=>{l||(x.play(),ar(S))},pause:()=>x.pause(),stop:()=>{if(l=!0,x.playState==="idle")return;const{currentTime:M}=x;if(M){const L=Ms({...i,autoplay:!1});e.setWithVelocity(L.sample(M-Rs).value,L.sample(M).value,Rs)}E()},complete:()=>x.finish(),cancel:E}}function Rx({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Tt,pause:Tt,stop:Tt,then:a=>(a(),Promise.resolve()),cancel:Tt,complete:Tt});return t?Ms({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const Lx={type:"spring",stiffness:500,damping:25,restSpeed:10},Vx=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Dx={type:"keyframes",duration:.8},Nx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$x=(e,{keyframes:t})=>t.length>2?Dx:ti.has(e)?e.startsWith("scale")?Vx(t[1]):Lx:Nx,xc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Nr.test(t)||t==="0")&&!t.startsWith("url(")),Bx=new Set(["brightness","contrast","saturate","opacity"]);function kx(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ss)||[];if(!r)return e;const i=n.replace(r,"");let a=Bx.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const jx=/([a-z-]*)\(.*?\)/g,wc={...Nr,getAnimatableNone:e=>{const t=e.match(jx);return t?t.map(kx).join(" "):e}},Gx={...vp,color:Qt,backgroundColor:Qt,outlineColor:Qt,fill:Qt,stroke:Qt,borderColor:Qt,borderTopColor:Qt,borderRightColor:Qt,borderBottomColor:Qt,borderLeftColor:Qt,filter:wc,WebkitFilter:wc},Sc=e=>Gx[e];function b0(e,t){let n=Sc(e);return n!==wc&&(n=Nr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const y0=e=>/^0[^.\s]+$/.test(e);function Hx(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||y0(e)}function Wx(e,t,n,r){const i=xc(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const l=r.from!==void 0?r.from:e.get();let u;const c=[];for(let f=0;f<a.length;f++)a[f]===null&&(a[f]=f===0?l:a[f-1]),Hx(a[f])&&c.push(f),typeof a[f]=="string"&&a[f]!=="none"&&a[f]!=="0"&&(u=a[f]);if(i&&c.length&&u)for(let f=0;f<c.length;f++){const h=c[f];a[h]=b0(t,u)}return a}function Zx({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:c,elapsed:f,...h}){return!!Object.keys(h).length}function Ic(e,t){return e[t]||e.default||e}const Ec=(e,t,n,r={})=>i=>{const a=Ic(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Dr(l);const c=Wx(t,e,n,a),f=c[0],h=c[c.length-1],p=xc(e,f),m=xc(e,h);la(p===m,`You are trying to animate ${e} from "${f}" to "${h}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-u,onUpdate:x=>{t.set(x),a.onUpdate&&a.onUpdate(x)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if(Zx(a)||(v={...v,...$x(e,v)}),v.duration&&(v.duration=Dr(v.duration)),v.repeatDelay&&(v.repeatDelay=Dr(v.repeatDelay)),!p||!m||HC.current||a.type===!1)return Rx(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=Mx(t,e,v);if(x)return x}return Ms(v)};function Ls(e){return!!(rn(e)&&e.add)}const C0=e=>/^\-?\d*\.?\d+$/.test(e);function Ac(e,t){e.indexOf(t)===-1&&e.push(t)}function _c(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Pc{constructor(){this.subscriptions=[]}add(t){return Ac(this.subscriptions,t),()=>_c(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const x0=new Set;function Tc(e,t,n){e||x0.has(t)||(console.warn(t),n&&console.warn(n),x0.add(t))}const Xx=e=>!isNaN(parseFloat(e));class zx{constructor(t,n={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:l}=Xt;this.lastUpdated!==l&&(this.timeDelta=a,this.lastUpdated=l,vt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>vt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=Xx(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Tc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Pc);const r=this.events[t].add(n);return t==="change"?()=>{r(),vt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?c0(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Xi(e,t){return new zx(e,t)}const w0=e=>t=>t.test(e),S0=[ni,Ne,Un,Rr,oC,iC,{test:e=>e==="auto",parse:e=>e}],da=e=>S0.find(w0(e)),Ux=[...S0,Qt,Nr],Yx=e=>Ux.find(w0(e));function Jx(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xi(n))}function Kx(e,t){const n=Ts(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const l in a){const u=yC(a[l]);Jx(e,l,u)}}function qx(e,t,n){var r,i;const a=Object.keys(t).filter(u=>!e.hasValue(u)),l=a.length;if(l)for(let u=0;u<l;u++){const c=a[u],f=t[c];let h=null;Array.isArray(f)&&(h=f[0]),h===null&&(h=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),h!=null&&(typeof h=="string"&&(C0(h)||y0(h))?h=parseFloat(h):!Yx(h)&&Nr.test(f)&&(h=b0(c,f)),e.addValue(c,Xi(h,{owner:e})),n[c]===void 0&&(n[c]=h),h!==null&&e.setBaseTarget(c,h))}}function Qx(e,t){return t?(t[e]||t.default||t).from:void 0}function e6(e,t,n){const r={};for(const i in e){const a=Qx(i,t);if(a!==void 0)r[i]=a;else{const l=n.getValue(i);l&&(r[i]=l.get())}}return r}function t6({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function n6(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function I0(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");r&&(a=r);const f=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const p in u){const m=e.getValue(p),v=u[p];if(!m||v===void 0||h&&t6(h,p))continue;const x={delay:n,elapsed:0,...Ic(a||{},p)};if(window.HandoffAppearAnimations){const P=e.getProps()[ap];if(P){const M=window.HandoffAppearAnimations(P,p,m,vt);M!==null&&(x.elapsed=M,x.isHandoff=!0)}}let S=!x.isHandoff&&!n6(m,v);if(x.type==="spring"&&(m.getVelocity()||x.velocity)&&(S=!1),m.animation&&(S=!1),S)continue;m.start(Ec(p,m,v,e.shouldReduceMotion&&ti.has(p)?{type:!1}:x));const E=m.animation;Ls(c)&&(c.add(p),E.then(()=>c.remove(p))),f.push(E)}return l&&Promise.all(f).then(()=>{l&&Kx(e,l)}),f}function Oc(e,t,n={}){const r=Ts(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(I0(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:f=0,staggerChildren:h,staggerDirection:p}=i;return r6(e,t,f+c,h,p,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[c,f]=u==="beforeChildren"?[a,l]:[l,a];return c().then(()=>f())}else return Promise.all([a(),l(n.delay)])}function r6(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,c=i===1?(f=0)=>f*r:(f=0)=>u-f*r;return Array.from(e.variantChildren).sort(i6).forEach((f,h)=>{f.notify("AnimationStart",t),l.push(Oc(f,t,{...a,delay:n+c(h)}).then(()=>f.notify("AnimationComplete",t)))}),Promise.all(l)}function i6(e,t){return e.sortNodePosition(t)}function o6(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Oc(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Oc(e,t,n);else{const i=typeof t=="function"?Ts(e,t,n.custom):t;r=Promise.all(I0(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const a6=[...Ju].reverse(),s6=Ju.length;function l6(e){return t=>Promise.all(t.map(({animation:n,options:r})=>o6(e,n,r)))}function u6(e){let t=l6(e);const n=f6();let r=!0;const i=(c,f)=>{const h=Ts(e,f);if(h){const{transition:p,transitionEnd:m,...v}=h;c={...c,...v,...m}}return c};function a(c){t=c(e)}function l(c,f){const h=e.getProps(),p=e.getVariantContext(!0)||{},m=[],v=new Set;let x={},S=1/0;for(let P=0;P<s6;P++){const M=a6[P],L=n[M],D=h[M]!==void 0?h[M]:p[M],N=ta(D),z=M===f?L.isActive:null;z===!1&&(S=P);let X=D===p[M]&&D!==h[M]&&N;if(X&&r&&e.manuallyAnimateOnMount&&(X=!1),L.protectedKeys={...x},!L.isActive&&z===null||!D&&!L.prevProp||ys(D)||typeof D=="boolean")continue;const Y=c6(L.prevProp,D);let fe=Y||M===f&&L.isActive&&!X&&N||P>S&&N;const Te=Array.isArray(D)?D:[D];let Ge=Te.reduce(i,{});z===!1&&(Ge={});const{prevResolvedValues:Xe={}}=L,pe={...Xe,...Ge},xe=be=>{fe=!0,v.delete(be),L.needsAnimating[be]=!0};for(const be in pe){const Ae=Ge[be],$e=Xe[be];x.hasOwnProperty(be)||(Ae!==$e?Es(Ae)&&Es($e)?!Np(Ae,$e)||Y?xe(be):L.protectedKeys[be]=!0:Ae!==void 0?xe(be):v.add(be):Ae!==void 0&&v.has(be)?xe(be):L.protectedKeys[be]=!0)}L.prevProp=D,L.prevResolvedValues=Ge,L.isActive&&(x={...x,...Ge}),r&&e.blockInitialAnimation&&(fe=!1),fe&&!X&&m.push(...Te.map(be=>({animation:be,options:{type:M,...c}})))}if(v.size){const P={};v.forEach(M=>{const L=e.getBaseTarget(M);L!==void 0&&(P[M]=L)}),m.push({animation:P})}let E=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(m):Promise.resolve()}function u(c,f,h){var p;if(n[c].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var x;return(x=v.animationState)===null||x===void 0?void 0:x.setActive(c,f)}),n[c].isActive=f;const m=l(h,c);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n}}function c6(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Np(t,e):!1}function ii(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f6(){return{animate:ii(!0),whileInView:ii(),whileHover:ii(),whileTap:ii(),whileDrag:ii(),whileFocus:ii(),exit:ii()}}class d6 extends Vr{constructor(t){super(t),t.animationState||(t.animationState=u6(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),ys(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let h6=0;class p6 extends Vr{constructor(){super(...arguments),this.id=h6++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const g6={animation:{Feature:d6},exit:{Feature:p6}},E0=(e,t)=>Math.abs(e-t);function m6(e,t){const n=E0(e.x,t.x),r=E0(e.y,t.y);return Math.sqrt(n**2+r**2)}class A0{constructor(t,n,{transformPagePoint:r,contextWindow:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Mc(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,m=m6(h.offset,{x:0,y:0})>=3;if(!p&&!m)return;const{point:v}=h,{timestamp:x}=Xt;this.history.push({...v,timestamp:x});const{onStart:S,onMove:E}=this.handlers;p||(S&&S(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,h)},this.handlePointerMove=(h,p)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Fc(p,this.transformPagePoint),vt.update(this.updatePoint,!0)},this.handlePointerUp=(h,p)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:m,onSessionEnd:v}=this.handlers,x=Mc(h.type==="pointercancel"?this.lastMoveEventInfo:Fc(p,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,x),v&&v(h,x)},!Tp(t))return;this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=Ps(t),l=Fc(a,this.transformPagePoint),{point:u}=l,{timestamp:c}=Xt;this.history=[{...u,timestamp:c}];const{onSessionStart:f}=n;f&&f(t,Mc(l,this.history)),this.removeListeners=Lr(lr(this.contextWindow,"pointermove",this.handlePointerMove),lr(this.contextWindow,"pointerup",this.handlePointerUp),lr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ar(this.updatePoint)}}function Fc(e,t){return t?{point:t(e.point)}:e}function _0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Mc({point:e},t){return{point:e,delta:_0(e,P0(t)),offset:_0(e,v6(t)),velocity:b6(t,.1)}}function v6(e){return e[0]}function P0(e){return e[e.length-1]}function b6(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=P0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Dr(t)));)n--;if(!r)return{x:0,y:0};const a=ur(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function dn(e){return e.max-e.min}function Rc(e,t=0,n=.01){return Math.abs(e-t)<=n}function T0(e,t,n,r=.5){e.origin=r,e.originPoint=_t(t.min,t.max,e.origin),e.scale=dn(n)/dn(t),(Rc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=_t(n.min,n.max,e.origin)-e.originPoint,(Rc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ha(e,t,n,r){T0(e.x,t.x,n.x,r?r.originX:void 0),T0(e.y,t.y,n.y,r?r.originY:void 0)}function O0(e,t,n){e.min=n.min+t.min,e.max=e.min+dn(t)}function y6(e,t,n){O0(e.x,t.x,n.x),O0(e.y,t.y,n.y)}function F0(e,t,n){e.min=t.min-n.min,e.max=e.min+dn(t)}function pa(e,t,n){F0(e.x,t.x,n.x),F0(e.y,t.y,n.y)}function C6(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?_t(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?_t(n,e,r.max):Math.min(e,n)),e}function M0(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function x6(e,{top:t,left:n,bottom:r,right:i}){return{x:M0(e.x,n,i),y:M0(e.y,t,r)}}function R0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function w6(e,t){return{x:R0(e.x,t.x),y:R0(e.y,t.y)}}function S6(e,t){let n=.5;const r=dn(e),i=dn(t);return i>r?n=fa(t.min,t.max-r,e.min):r>i&&(n=fa(e.min,e.max-i,t.min)),Mr(0,1,n)}function I6(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Lc=.35;function E6(e=Lc){return e===!1?e=0:e===!0&&(e=Lc),{x:L0(e,"left","right"),y:L0(e,"top","bottom")}}function L0(e,t,n){return{min:V0(e,t),max:V0(e,n)}}function V0(e,t){return typeof e=="number"?e:e[t]||0}const D0=()=>({translate:0,scale:1,origin:0,originPoint:0}),zi=()=>({x:D0(),y:D0()}),N0=()=>({min:0,max:0}),Dt=()=>({x:N0(),y:N0()});function Yn(e){return[e("x"),e("y")]}function $0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function A6({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _6(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Vc(e){return e===void 0||e===1}function Dc({scale:e,scaleX:t,scaleY:n}){return!Vc(e)||!Vc(t)||!Vc(n)}function oi(e){return Dc(e)||B0(e)||e.z||e.rotate||e.rotateX||e.rotateY}function B0(e){return k0(e.x)||k0(e.y)}function k0(e){return e&&e!=="0%"}function Vs(e,t,n){const r=e-n,i=t*r;return n+i}function j0(e,t,n,r,i){return i!==void 0&&(e=Vs(e,i,r)),Vs(e,n,r)+t}function Nc(e,t=0,n=1,r,i){e.min=j0(e.min,t,n,r,i),e.max=j0(e.max,t,n,r,i)}function G0(e,{x:t,y:n}){Nc(e.x,t.translate,t.scale,t.originPoint),Nc(e.y,n.translate,n.scale,n.originPoint)}function P6(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const c=a.instance;c&&c.style&&c.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ui(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,G0(e,l)),r&&oi(a.latestValues)&&Ui(e,a.latestValues))}t.x=H0(t.x),t.y=H0(t.y)}function H0(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function $r(e,t){e.min=e.min+t,e.max=e.max+t}function W0(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,l=_t(e.min,e.max,a);Nc(e,t[n],t[r],l,t.scale)}const T6=["x","scaleX","originX"],O6=["y","scaleY","originY"];function Ui(e,t){W0(e.x,t,T6),W0(e.y,t,O6)}function Z0(e,t){return $0(_6(e.getBoundingClientRect(),t))}function F6(e,t,n){const r=Z0(e,n),{scroll:i}=t;return i&&($r(r.x,i.offset.x),$r(r.y,i.offset.y)),r}const X0=({current:e})=>e?e.ownerDocument.defaultView:null,M6=new WeakMap;class R6{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{this.stopAnimation(),n&&this.snapToCursor(Ps(c,"page").point)},a=(c,f)=>{const{drag:h,dragPropagation:p,onDragStart:m}=this.getProps();if(h&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Rp(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Yn(x=>{let S=this.getAxisMotionValue(x).get()||0;if(Un.test(S)){const{projection:E}=this.visualElement;if(E&&E.layout){const P=E.layout.layoutBox[x];P&&(S=dn(P)*(parseFloat(S)/100))}}this.originPoint[x]=S}),m&&vt.update(()=>m(c,f),!1,!0);const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},l=(c,f)=>{const{dragPropagation:h,dragDirectionLock:p,onDirectionLock:m,onDrag:v}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:x}=f;if(p&&this.currentDirection===null){this.currentDirection=L6(x),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,x),this.updateAxis("y",f.point,x),this.visualElement.render(),v&&v(c,f)},u=(c,f)=>this.stop(c,f);this.panSession=new A0(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:X0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&vt.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ds(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=C6(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Wi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=x6(i.layoutBox,n):this.constraints=!1,this.elastic=E6(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Yn(l=>{this.getAxisMotionValue(l)&&(this.constraints[l]=I6(i.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Wi(t))return!1;const r=t.current;Ln(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=F6(r,i.root,this.visualElement.getTransformPagePoint());let l=w6(i.layout.layoutBox,a);if(n){const u=n(A6(l));this.hasMutatedConstraints=!!u,u&&(l=$0(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),c=this.constraints||{},f=Yn(h=>{if(!Ds(h,n,this.currentDirection))return;let p=c&&c[h]||{};l&&(p={min:0,max:0});const m=i?200:1e6,v=i?40:1e7,x={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...a,...p};return this.startAxisValueAnimation(h,x)});return Promise.all(f).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Ec(t,r,0,n))}stopAnimation(){Yn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Yn(n=>{const{drag:r}=this.getProps();if(!Ds(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-_t(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Wi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Yn(l=>{const u=this.getAxisMotionValue(l);if(u){const c=u.get();i[l]=S6({min:c,max:c},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Yn(l=>{if(!Ds(l,t,null))return;const u=this.getAxisMotionValue(l),{min:c,max:f}=this.constraints[l];u.set(_t(c,f,i[l]))})}addListeners(){if(!this.visualElement.current)return;M6.set(this.visualElement,this);const t=this.visualElement.current,n=lr(t,"pointerdown",c=>{const{drag:f,dragListener:h=!0}=this.getProps();f&&h&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Wi(c)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const l=sr(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f})=>{this.isDragging&&f&&(Yn(h=>{const p=this.getAxisMotionValue(h);p&&(this.originPoint[h]+=c[h].translate,p.set(p.get()+c[h].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=Lc,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function Ds(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function L6(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class V6 extends Vr{constructor(t){super(t),this.removeGroupControls=Tt,this.removeListeners=Tt,this.controls=new R6(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tt}unmount(){this.removeGroupControls(),this.removeListeners()}}const z0=e=>(t,n)=>{e&&vt.update(()=>e(t,n))};class D6 extends Vr{constructor(){super(...arguments),this.removePointerDownListener=Tt}onPointerDown(t){this.session=new A0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:X0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:z0(t),onStart:z0(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&vt.update(()=>i(a,l))}}}mount(){this.removePointerDownListener=lr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function N6(){const e=b.useContext(vs);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Ns={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function U0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ga={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Ne.test(e))e=parseFloat(e);else return e;const n=U0(e,t.target.x),r=U0(e,t.target.y);return`${n}% ${r}%`}},$6={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Nr.parse(e);if(i.length>5)return r;const a=Nr.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=c;const f=_t(u,c,.5);return typeof i[2+l]=="number"&&(i[2+l]/=f),typeof i[3+l]=="number"&&(i[3+l]/=f),a(i)}};class B6 extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;K4(k6),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Ns.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||vt.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Y0(e){const[t,n]=N6(),r=b.useContext(qu);return b.createElement(B6,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(cp),isPresent:t,safeToRemove:n})}const k6={borderRadius:{...ga,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ga,borderTopRightRadius:ga,borderBottomLeftRadius:ga,borderBottomRightRadius:ga,boxShadow:$6},J0=["TopLeft","TopRight","BottomLeft","BottomRight"],j6=J0.length,K0=e=>typeof e=="string"?parseFloat(e):e,q0=e=>typeof e=="number"||Ne.test(e);function G6(e,t,n,r,i,a){i?(e.opacity=_t(0,n.opacity!==void 0?n.opacity:1,H6(r)),e.opacityExit=_t(t.opacity!==void 0?t.opacity:1,0,W6(r))):a&&(e.opacity=_t(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<j6;l++){const u=`border${J0[l]}Radius`;let c=Q0(t,u),f=Q0(n,u);if(c===void 0&&f===void 0)continue;c||(c=0),f||(f=0),c===0||f===0||q0(c)===q0(f)?(e[u]=Math.max(_t(K0(c),K0(f),r),0),(Un.test(f)||Un.test(c))&&(e[u]+="%")):e[u]=f}(t.rotate||n.rotate)&&(e.rotate=_t(t.rotate||0,n.rotate||0,r))}function Q0(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const H6=eg(0,.5,Xp),W6=eg(.5,.95,Tt);function eg(e,t,n){return r=>r<e?0:r>t?1:n(fa(e,t,r))}function tg(e,t){e.min=t.min,e.max=t.max}function Sn(e,t){tg(e.x,t.x),tg(e.y,t.y)}function ng(e,t,n,r,i){return e-=t,e=Vs(e,1/n,r),i!==void 0&&(e=Vs(e,1/i,r)),e}function Z6(e,t=0,n=1,r=.5,i,a=e,l=e){if(Un.test(t)&&(t=parseFloat(t),t=_t(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=_t(a.min,a.max,r);e===a&&(u-=t),e.min=ng(e.min,t,n,u,i),e.max=ng(e.max,t,n,u,i)}function rg(e,t,[n,r,i],a,l){Z6(e,t[n],t[r],t[i],t.scale,a,l)}const X6=["x","scaleX","originX"],z6=["y","scaleY","originY"];function ig(e,t,n,r){rg(e.x,t,X6,n?n.x:void 0,r?r.x:void 0),rg(e.y,t,z6,n?n.y:void 0,r?r.y:void 0)}function og(e){return e.translate===0&&e.scale===1}function ag(e){return og(e.x)&&og(e.y)}function U6(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function sg(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function lg(e){return dn(e.x)/dn(e.y)}class Y6{constructor(){this.members=[]}add(t){Ac(this.members,t),t.scheduleRender()}remove(t){if(_c(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ug(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:c,rotateX:f,rotateY:h}=n;c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const J6=(e,t)=>e.depth-t.depth;class K6{constructor(){this.children=[],this.isDirty=!1}add(t){Ac(this.children,t),this.isDirty=!0}remove(t){_c(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(J6),this.isDirty=!1,this.children.forEach(t)}}function q6(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(ar(r),e(a-t))};return vt.read(r,!0),()=>ar(r)}function Q6(e){window.MotionDebug&&window.MotionDebug.record(e)}function e7(e){return e instanceof SVGElement&&e.tagName!=="svg"}function t7(e,t,n){const r=rn(e)?e:Xi(e);return r.start(Ec("",r,t,n)),r.animation}const cg=["","X","Y","Z"],n7={visibility:"hidden"},fg=1e3;let r7=0;const ai={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function dg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=r7++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ai.totalNodes=ai.resolvedTargetDeltas=ai.recalculatedProjection=0,this.nodes.forEach(a7),this.nodes.forEach(f7),this.nodes.forEach(d7),this.nodes.forEach(s7),Q6(ai)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new K6)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new Pc),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const c=this.eventHandlers.get(l);c&&c.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e7(l),this.instance=l;const{layoutId:c,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(f||c)&&(this.isLayoutDirty=!0),e){let p;const m=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=q6(m,250),Ns.hasAnimatedSinceResize&&(Ns.hasAnimatedSinceResize=!1,this.nodes.forEach(pg))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||h.getDefaultTransition()||v7,{onLayoutAnimationStart:E,onLayoutAnimationComplete:P}=h.getProps(),M=!this.targetLayout||!sg(this.targetLayout,x)||v,L=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||L||m&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,L);const D={...Ic(S,"layout"),onPlay:E,onComplete:P};(h.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D)}else m||pg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ar(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(h7),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const p=this.path[h];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:u,layout:c}=this.options;if(u===void 0&&!c)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(hg);return}this.isUpdating||this.nodes.forEach(u7),this.isUpdating=!1,this.nodes.forEach(c7),this.nodes.forEach(i7),this.nodes.forEach(o7),this.clearAllSnapshots();const u=performance.now();Xt.delta=Mr(0,1e3/60,u-Xt.timestamp),Xt.timestamp=u,Xt.isProcessing=!0,sc.update.process(Xt),sc.preRender.process(Xt),sc.render.process(Xt),Xt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(l7),this.sharedNodes.forEach(p7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!ag(this.projectionDelta),c=this.getTransformTemplate(),f=c?c(this.latestValues,""):void 0,h=f!==this.prevTransformTemplateValue;l&&(u||oi(this.latestValues)||h)&&(i(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let c=this.removeElementScroll(u);return l&&(c=this.removeTransform(c)),b7(c),{animationId:this.root.animationId,measuredBox:u,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Dt();const u=l.measureViewportBox(),{scroll:c}=this.root;return c&&($r(u.x,c.offset.x),$r(u.y,c.offset.y)),u}removeElementScroll(l){const u=Dt();Sn(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c],{scroll:h,options:p}=f;if(f!==this.root&&h&&p.layoutScroll){if(h.isRoot){Sn(u,l);const{scroll:m}=this.root;m&&($r(u.x,-m.offset.x),$r(u.y,-m.offset.y))}$r(u.x,h.offset.x),$r(u.y,h.offset.y)}}return u}applyTransform(l,u=!1){const c=Dt();Sn(c,l);for(let f=0;f<this.path.length;f++){const h=this.path[f];!u&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Ui(c,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),oi(h.latestValues)&&Ui(c,h.latestValues)}return oi(this.latestValues)&&Ui(c,this.latestValues),c}removeTransform(l){const u=Dt();Sn(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c];if(!f.instance||!oi(f.latestValues))continue;Dc(f.latestValues)&&f.updateSnapshot();const h=Dt(),p=f.measurePageBox();Sn(h,p),ig(u,f.latestValues,f.snapshot?f.snapshot.layoutBox:void 0,h)}return oi(this.latestValues)&&ig(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Xt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:p,layoutId:m}=this.options;if(!(!this.layout||!(p||m))){if(this.resolvedRelativeTargetAt=Xt.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),pa(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),Sn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),y6(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Sn(this.target,this.layout.layoutBox),G0(this.target,this.targetDelta)):Sn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),pa(this.relativeTargetOrigin,this.target,v.target),Sn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ai.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Dc(this.parent.latestValues)||B0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const u=this.getLead(),c=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Xt.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;Sn(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;P6(this.layoutCorrected,this.treeScale,this.path,c),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox);const{target:x}=u;if(!x){this.projectionTransform&&(this.projectionDelta=zi(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=zi(),this.projectionDeltaWithTransform=zi());const S=this.projectionTransform;ha(this.projectionDelta,this.layoutCorrected,x,this.latestValues),this.projectionTransform=ug(this.projectionDelta,this.treeScale),(this.projectionTransform!==S||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),ai.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,u=!1){const c=this.snapshot,f=c?c.latestValues:{},h={...this.latestValues},p=zi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const m=Dt(),v=c?c.source:void 0,x=this.layout?this.layout.source:void 0,S=v!==x,E=this.getStack(),P=!E||E.members.length<=1,M=!!(S&&!P&&this.options.crossfade===!0&&!this.path.some(m7));this.animationProgress=0;let L;this.mixTargetDelta=D=>{const N=D/1e3;gg(p.x,l.x,N),gg(p.y,l.y,N),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pa(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),g7(this.relativeTarget,this.relativeTargetOrigin,m,N),L&&U6(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=Dt()),Sn(L,this.relativeTarget)),S&&(this.animationValues=h,G6(h,f,this.latestValues,N,M,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=N},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ar(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vt.update(()=>{Ns.hasAnimatedSinceResize=!0,this.currentAnimation=t7(0,fg,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:c,layout:f,latestValues:h}=l;if(!(!u||!c||!f)){if(this!==l&&this.layout&&f&&Cg(this.options.animationType,this.layout.layoutBox,f.layoutBox)){c=this.target||Dt();const p=dn(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+p;const m=dn(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+m}Sn(u,c),Ui(u,h),ha(this.projectionDeltaWithTransform,this.layoutCorrected,u,h)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new Y6),this.sharedNodes.get(l).add(u);const f=u.options.initialPromotionConfig;u.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:c}={}){const f=this.getStack();f&&f.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:c}=l;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(u=!0),!u)return;const f={};for(let h=0;h<cg.length;h++){const p="rotate"+cg[h];c[p]&&(f[p]=c[p],l.setStaticValue(p,0))}l.render();for(const h in f)l.setStaticValue(h,f[h]);l.scheduleRender()}getProjectionStyles(l){var u,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return n7;const f={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=As(l==null?void 0:l.pointerEvents)||"",f.transform=h?h(this.latestValues,""):"none",f;const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){const S={};return this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=As(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!oi(this.latestValues)&&(S.transform=h?h({},""):"none",this.hasProjected=!1),S}const m=p.animationValues||p.latestValues;this.applyTransformsToTarget(),f.transform=ug(this.projectionDeltaWithTransform,this.treeScale,m),h&&(f.transform=h(m,f.transform));const{x:v,y:x}=this.projectionDelta;f.transformOrigin=`${v.origin*100}% ${x.origin*100}% 0`,p.animationValues?f.opacity=p===this?(c=(u=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:f.opacity=p===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const S in xs){if(m[S]===void 0)continue;const{correct:E,applyTo:P}=xs[S],M=f.transform==="none"?m[S]:E(m[S],p);if(P){const L=P.length;for(let D=0;D<L;D++)f[P[D]]=M}else f[S]=M}return this.options.layoutId&&(f.pointerEvents=p===this?As(l==null?void 0:l.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(hg),this.root.sharedNodes.clear()}}}function i7(e){e.updateLayout()}function o7(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?Yn(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=dn(m);m.min=r[p].min,m.max=m.min+v}):Cg(a,n.layoutBox,r)&&Yn(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=dn(r[p]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+v)});const u=zi();ha(u,r,n.layoutBox);const c=zi();l?ha(c,e.applyTransform(i,!0),n.measuredBox):ha(c,r,n.layoutBox);const f=!ag(u);let h=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:m,layout:v}=p;if(m&&v){const x=Dt();pa(x,n.layoutBox,m.layoutBox);const S=Dt();pa(S,r,v.layoutBox),sg(x,S)||(h=!0),p.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=x,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function a7(e){ai.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function s7(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function l7(e){e.clearSnapshot()}function hg(e){e.clearMeasurements()}function u7(e){e.isLayoutDirty=!1}function c7(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function f7(e){e.resolveTargetDelta()}function d7(e){e.calcProjection()}function h7(e){e.resetRotation()}function p7(e){e.removeLeadSnapshot()}function gg(e,t,n){e.translate=_t(t.translate,0,n),e.scale=_t(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mg(e,t,n,r){e.min=_t(t.min,n.min,r),e.max=_t(t.max,n.max,r)}function g7(e,t,n,r){mg(e.x,t.x,n.x,r),mg(e.y,t.y,n.y,r)}function m7(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const v7={duration:.45,ease:[.4,0,.1,1]},vg=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),bg=vg("applewebkit/")&&!vg("chrome/")?Math.round:Tt;function yg(e){e.min=bg(e.min),e.max=bg(e.max)}function b7(e){yg(e.x),yg(e.y)}function Cg(e,t,n){return e==="position"||e==="preserve-aspect"&&!Rc(lg(t),lg(n),.2)}const y7=dg({attachResizeListener:(e,t)=>sr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),$c={current:void 0},xg=dg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$c.current){const e=new y7({});e.mount(window),e.setOptions({layoutScroll:!0}),$c.current=e}return $c.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),C7={pan:{Feature:D6},drag:{Feature:V6,ProjectionNode:xg,MeasureLayout:Y0}},x7=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function w7(e){const t=x7.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const S7=4;function Bc(e,t,n=1){Ln(n<=S7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=w7(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return C0(l)?parseFloat(l):l}else return ec(i)?Bc(i,t,n+1):i}function I7(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!ec(a))return;const l=Bc(a,r);l&&i.set(l)});for(const i in t){const a=t[i];if(!ec(a))continue;const l=Bc(a,r);l&&(t[i]=l,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const E7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),wg=e=>E7.has(e),A7=e=>Object.keys(e).some(wg),$s=e=>e===ni||e===Ne,Sg=(e,t)=>parseFloat(e.split(", ")[t]),Ig=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Sg(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?Sg(a[1],e):0}},_7=new Set(["x","y","z"]),P7=ra.filter(e=>!_7.has(e));function T7(e){const t=[];return P7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Yi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ig(4,13),y:Ig(5,14)};Yi.translateX=Yi.x,Yi.translateY=Yi.y;const O7=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:l}=a,u={};l==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(f=>{u[f]=Yi[f](r,a)}),t.render();const c=t.measureViewportBox();return n.forEach(f=>{const h=t.getValue(f);h&&h.jump(u[f]),e[f]=Yi[f](c,a)}),e},F7=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(wg);let a=[],l=!1;const u=[];if(i.forEach(c=>{const f=e.getValue(c);if(!e.hasValue(c))return;let h=n[c],p=da(h);const m=t[c];let v;if(Es(m)){const x=m.length,S=m[0]===null?1:0;h=m[S],p=da(h);for(let E=S;E<x&&m[E]!==null;E++)v?Ln(da(m[E])===v,"All keyframes must be of the same type"):(v=da(m[E]),Ln(v===p||$s(p)&&$s(v),"Keyframes must be of the same dimension as the current value"))}else v=da(m);if(p!==v)if($s(p)&&$s(v)){const x=f.get();typeof x=="string"&&f.set(parseFloat(x)),typeof m=="string"?t[c]=parseFloat(m):Array.isArray(m)&&v===Ne&&(t[c]=m.map(parseFloat))}else p!=null&&p.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?f.set(v.transform(h)):t[c]=p.transform(m):(l||(a=T7(e),l=!0),u.push(c),r[c]=r[c]!==void 0?r[c]:t[c],f.jump(m))}),u.length){const c=u.indexOf("height")>=0?window.pageYOffset:null,f=O7(t,e,u);return a.length&&a.forEach(([h,p])=>{e.getValue(h).set(p)}),e.render(),bs&&c!==null&&window.scrollTo({top:c}),{target:f,transitionEnd:r}}else return{target:t,transitionEnd:r}};function M7(e,t,n,r){return A7(t)?F7(e,t,n,r):{target:t,transitionEnd:r}}const R7=(e,t,n,r)=>{const i=I7(e,t,r);return t=i.target,r=i.transitionEnd,M7(e,t,n,r)},kc={current:null},Eg={current:!1};function L7(){if(Eg.current=!0,!!bs)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>kc.current=e.matches;e.addListener(t),t()}else kc.current=!1}function V7(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],l=n[i];if(rn(a))e.addValue(i,a),Ls(r)&&r.add(i),process.env.NODE_ENV==="development"&&Tc(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(rn(l))e.addValue(i,Xi(a,{owner:e})),Ls(r)&&r.remove(i);else if(l!==a)if(e.hasValue(i)){const u=e.getValue(i);!u.hasAnimated&&u.set(a)}else{const u=e.getStaticValue(i);e.addValue(i,Xi(u!==void 0?u:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Ag=new WeakMap,_g=Object.keys(na),D7=_g.length,Pg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],N7=Ku.length;class $7{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>vt.render(this.render,!1,!0);const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.isControllingVariants=Cs(n),this.isVariantNode=sp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{});for(const p in h){const m=h[p];u[p]!==void 0&&rn(m)&&(m.set(u[p],!1),Ls(f)&&f.add(p))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Ag.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Eg.current||L7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:kc.current,process.env.NODE_ENV!=="production"&&Tc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ag.delete(this.current),this.projection&&this.projection.unmount(),ar(this.notifyUpdate),ar(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=ti.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&vt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let l,u;if(process.env.NODE_ENV!=="production"&&i&&r){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?la(!1,c):Ln(!1,c)}for(let c=0;c<D7;c++){const f=_g[c],{isEnabled:h,Feature:p,ProjectionNode:m,MeasureLayout:v}=na[f];m&&(l=m),h(n)&&(!this.features[f]&&p&&(this.features[f]=new p(this)),v&&(u=v))}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:f,drag:h,dragConstraints:p,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!h||p&&Wi(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof f=="string"?f:"both",initialPromotionConfig:a,layoutScroll:m,layoutRoot:v})}return u}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Pg.length;r++){const i=Pg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=V7(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<N7;r++){const i=Ku[r],a=this.props[i];(ta(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Xi(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=ac(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!rn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Pc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Tg extends $7{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let l=e6(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),l&&(l=i(l))),a){qx(this,r,l);const u=R7(this,r,l,n);n=u.transitionEnd,r=u.target}return{transition:t,transitionEnd:n,...r}}}function B7(e){return window.getComputedStyle(e)}class k7 extends Tg{readValueFromInstance(t,n){if(ti.has(n)){const r=Sc(n);return r&&r.default||0}else{const r=B7(t),i=(hp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Z0(t,n)}build(t,n,r,i){tc(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return oc(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;rn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){wp(t,n,r,i)}}class j7 extends Tg{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ti.has(n)){const r=Sc(n);return r&&r.default||0}return n=Sp.has(n)?n:Yu(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return Ep(t,n)}build(t,n,r,i){rc(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Ip(t,n,r,i)}mount(t){this.isSVGTag=ic(t.tagName),super.mount(t)}}const G7=(e,t)=>Qu(e)?new j7(t,{enableHardwareAcceleration:!1}):new k7(t,{enableHardwareAcceleration:!0}),H7={...g6,...kC,...C7,...{layout:{ProjectionNode:xg,MeasureLayout:Y0}}},Ji=Y4((e,t)=>_C(e,t,H7,G7));function Og(){const e=b.useRef(!1);return Uu(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function W7(){const e=Og(),[t,n]=b.useState(0),r=b.useCallback(()=>{e.current&&n(t+1)},[t]);return[b.useCallback(()=>vt.postRender(r),[r]),t]}class Z7 extends ne.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function X7({children:e,isPresent:t}){const n=b.useId(),r=b.useRef(null),i=b.useRef({width:0,height:0,top:0,left:0});return b.useInsertionEffect(()=>{const{width:a,height:l,top:u,left:c}=i.current;if(t||!r.current||!a||!l)return;r.current.dataset.motionPopId=n;const f=document.createElement("style");return document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
57
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",l=0;l<arguments.length;l++){var u=arguments[l];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var u in a)t.call(a,u)&&a[u]&&(l=i(l,u));return l}function i(a,l){return l?a?a+" "+l:a+l:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(np);var k4=np.exports;const et=Hu(k4);function rp({size:e="md",...t}){return A.jsx("div",{className:`${et("bg-brand-primary rounded-full flex items-center justify-center",{"h-8 w-8":e==="sm","h-12 w-12":e==="md","h-16 w-16":e==="lg"})}`,...t,children:A.jsx(s4,{className:et("text-brand-background",{"h-4 w-4":e==="sm","h-6 w-6":e==="md","h-8 w-8":e==="lg"})})})}const ip=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ms=b.createContext({}),vs=b.createContext(null),bs=typeof document<"u",Uu=bs?b.useLayoutEffect:b.useEffect,op=b.createContext({strict:!1}),Yu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ap="data-"+Yu("framerAppearId");function j4(e,t,n,r){const{visualElement:i}=b.useContext(ms),a=b.useContext(op),l=b.useContext(vs),u=b.useContext(ip).reducedMotion,c=b.useRef();r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=c.current;b.useInsertionEffect(()=>{f&&f.update(n,l)});const h=b.useRef(!!(n[ap]&&!window.HandoffComplete));return Uu(()=>{f&&(f.render(),h.current&&f.animationState&&f.animationState.animateChanges())}),b.useEffect(()=>{f&&(f.updateFeatures(),!h.current&&f.animationState&&f.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),f}function Wi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function G4(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Wi(n)&&(n.current=r))},[t])}function ta(e){return typeof e=="string"||Array.isArray(e)}function ys(e){return typeof e=="object"&&typeof e.start=="function"}const Ju=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ku=["initial",...Ju];function Cs(e){return ys(e.animate)||Ku.some(t=>ta(e[t]))}function sp(e){return!!(Cs(e)||e.variants)}function H4(e,t){if(Cs(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ta(n)?n:void 0,animate:ta(r)?r:void 0}}return e.inherit!==!1?t:{}}function W4(e){const{initial:t,animate:n}=H4(e,b.useContext(ms));return b.useMemo(()=>({initial:t,animate:n}),[lp(t),lp(n)])}function lp(e){return Array.isArray(e)?e.join(" "):e}const up={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},na={};for(const e in up)na[e]={isEnabled:t=>up[e].some(n=>!!t[n])};function Z4(e){for(const t in e)na[t]={...na[t],...e[t]}}const qu=b.createContext({}),cp=b.createContext({}),X4=Symbol.for("motionComponentSymbol");function z4({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Z4(e);function a(u,c){let f;const h={...b.useContext(ip),...u,layoutId:U4(u)},{isStatic:p}=h,m=W4(u),v=r(u,p);if(!p&&bs){m.visualElement=j4(i,v,h,t);const x=b.useContext(cp),S=b.useContext(op).strict;m.visualElement&&(f=m.visualElement.loadFeatures(h,S,e,x))}return ne.createElement(ms.Provider,{value:m},f&&m.visualElement?ne.createElement(f,{visualElement:m.visualElement,...h}):null,n(i,u,G4(v,m.visualElement,c),v,p,m.visualElement))}const l=b.forwardRef(a);return l[X4]=i,l}function U4({layoutId:e}){const t=b.useContext(qu).id;return t&&e!==void 0?t+"-"+e:e}function Y4(e){function t(r,i={}){return z4(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const J4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Qu(e){return typeof e!="string"||e.includes("-")?!1:!!(J4.indexOf(e)>-1||/[A-Z]/.test(e))}const xs={};function K4(e){Object.assign(xs,e)}const ra=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ti=new Set(ra);function fp(e,{layout:t,layoutId:n}){return ti.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!xs[e]||e==="opacity")}const rn=e=>!!(e&&e.getVelocity),q4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Q4=ra.length;function eC(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let l=0;l<Q4;l++){const u=ra[l];if(e[u]!==void 0){const c=q4[u]||u;a+=`${c}(${e[u]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const dp=e=>t=>typeof t=="string"&&t.startsWith(e),hp=dp("--"),ec=dp("var(--"),tC=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,nC=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Mr=(e,t,n)=>Math.min(Math.max(n,e),t),ni={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...ni,transform:e=>Mr(0,1,e)},ws={...ni,default:1},oa=e=>Math.round(e*1e5)/1e5,Ss=/(-)?([\d]*\.?[\d])+/g,pp=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,rC=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function aa(e){return typeof e=="string"}const sa=e=>({test:t=>aa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rr=sa("deg"),Un=sa("%"),Ne=sa("px"),iC=sa("vh"),oC=sa("vw"),gp={...Un,parse:e=>Un.parse(e)/100,transform:e=>Un.transform(e*100)},mp={...ni,transform:Math.round},vp={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,radius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,size:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,rotate:Rr,rotateX:Rr,rotateY:Rr,rotateZ:Rr,scale:ws,scaleX:ws,scaleY:ws,scaleZ:ws,skew:Rr,skewX:Rr,skewY:Rr,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:ia,originX:gp,originY:gp,originZ:Ne,zIndex:mp,fillOpacity:ia,strokeOpacity:ia,numOctaves:mp};function tc(e,t,n,r){const{style:i,vars:a,transform:l,transformOrigin:u}=e;let c=!1,f=!1,h=!0;for(const p in t){const m=t[p];if(hp(p)){a[p]=m;continue}const v=vp[p],x=nC(m,v);if(ti.has(p)){if(c=!0,l[p]=x,!h)continue;m!==(v.default||0)&&(h=!1)}else p.startsWith("origin")?(f=!0,u[p]=x):i[p]=x}if(t.transform||(c||r?i.transform=eC(e.transform,n,h,r):i.transform&&(i.transform="none")),f){const{originX:p="50%",originY:m="50%",originZ:v=0}=u;i.transformOrigin=`${p} ${m} ${v}`}}const nc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bp(e,t,n){for(const r in t)!rn(t[r])&&!fp(r,n)&&(e[r]=t[r])}function aC({transformTemplate:e},t,n){return b.useMemo(()=>{const r=nc();return tc(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function sC(e,t,n){const r=e.style||{},i={};return bp(i,r,e),Object.assign(i,aC(e,t,n)),e.transformValues?e.transformValues(i):i}function lC(e,t,n){const r={},i=sC(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const uC=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Is(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||uC.has(e)}let yp=e=>!Is(e);function cC(e){e&&(yp=t=>t.startsWith("on")?!Is(t):e(t))}try{cC(require("@emotion/is-prop-valid").default)}catch{}function fC(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(yp(i)||n===!0&&Is(i)||!t&&!Is(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Cp(e,t,n){return typeof e=="string"?e:Ne.transform(t+n*e)}function dC(e,t,n){const r=Cp(t,e.x,e.width),i=Cp(n,e.y,e.height);return`${r} ${i}`}const hC={offset:"stroke-dashoffset",array:"stroke-dasharray"},pC={offset:"strokeDashoffset",array:"strokeDasharray"};function gC(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?hC:pC;e[a.offset]=Ne.transform(-r);const l=Ne.transform(t),u=Ne.transform(n);e[a.array]=`${l} ${u}`}function rc(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...f},h,p,m){if(tc(e,f,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:x,dimensions:S}=e;v.transform&&(S&&(x.transform=v.transform),delete v.transform),S&&(i!==void 0||a!==void 0||x.transform)&&(x.transformOrigin=dC(S,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),l!==void 0&&gC(v,l,u,c,!1)}const xp=()=>({...nc(),attrs:{}}),ic=e=>typeof e=="string"&&e.toLowerCase()==="svg";function mC(e,t,n,r){const i=b.useMemo(()=>{const a=xp();return rc(a,t,{enableHardwareAcceleration:!1},ic(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};bp(a,e.style,e),i.style={...a,...i.style}}return i}function vC(e=!1){return(n,r,i,{latestValues:a},l)=>{const c=(Qu(n)?mC:lC)(r,a,l,n),h={...fC(r,typeof n=="string",e),...c,ref:i},{children:p}=r,m=b.useMemo(()=>rn(p)?p.get():p,[p]);return b.createElement(n,{...h,children:m})}}function wp(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const Sp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ip(e,t,n,r){wp(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Sp.has(i)?i:Yu(i),t.attrs[i])}function oc(e,t){const{style:n}=e,r={};for(const i in n)(rn(n[i])||t.style&&rn(t.style[i])||fp(i,e))&&(r[i]=n[i]);return r}function Ep(e,t){const n=oc(e,t);for(const r in e)if(rn(e[r])||rn(t[r])){const i=ra.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function ac(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function Ap(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Es=e=>Array.isArray(e),bC=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),yC=e=>Es(e)?e[e.length-1]||0:e;function As(e){const t=rn(e)?e.get():e;return bC(t)?t.toValue():t}function CC({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:xC(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const _p=e=>(t,n)=>{const r=b.useContext(ms),i=b.useContext(vs),a=()=>CC(e,t,r,i);return n?a():Ap(a)};function xC(e,t,n,r){const i={},a=r(e,{});for(const m in a)i[m]=As(a[m]);let{initial:l,animate:u}=e;const c=Cs(e),f=sp(e);t&&f&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let h=n?n.initial===!1:!1;h=h||l===!1;const p=h?u:l;return p&&typeof p!="boolean"&&!ys(p)&&(Array.isArray(p)?p:[p]).forEach(v=>{const x=ac(e,v);if(!x)return;const{transitionEnd:S,transition:E,...P}=x;for(const M in P){let L=P[M];if(Array.isArray(L)){const D=h?L.length-1:0;L=L[D]}L!==null&&(i[M]=L)}for(const M in S)i[M]=S[M]}),i}const Tt=e=>e;class Pp{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function wC(e){let t=new Pp,n=new Pp,r=0,i=!1,a=!1;const l=new WeakSet,u={schedule:(c,f=!1,h=!1)=>{const p=h&&i,m=p?t:n;return f&&l.add(c),m.add(c)&&p&&i&&(r=t.order.length),c},cancel:c=>{n.remove(c),l.delete(c)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let f=0;f<r;f++){const h=t.order[f];h(c),l.has(h)&&(u.schedule(h),e())}i=!1,a&&(a=!1,u.process(c))}};return u}const _s=["prepare","read","update","preRender","render","postRender"],SC=40;function IC(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=_s.reduce((p,m)=>(p[m]=wC(()=>n=!0),p),{}),l=p=>a[p].process(i),u=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,SC),1),i.timestamp=p,i.isProcessing=!0,_s.forEach(l),i.isProcessing=!1,n&&t&&(r=!1,e(u))},c=()=>{n=!0,r=!0,i.isProcessing||e(u)};return{schedule:_s.reduce((p,m)=>{const v=a[m];return p[m]=(x,S=!1,E=!1)=>(n||c(),v.schedule(x,S,E)),p},{}),cancel:p=>_s.forEach(m=>a[m].cancel(p)),state:i,steps:a}}const{schedule:vt,cancel:ar,state:Xt,steps:sc}=IC(typeof requestAnimationFrame<"u"?requestAnimationFrame:Tt,!0),EC={useVisualState:_p({scrapeMotionValuesFromProps:Ep,createRenderState:xp,onMount:(e,t,{renderState:n,latestValues:r})=>{vt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),vt.render(()=>{rc(n,r,{enableHardwareAcceleration:!1},ic(t.tagName),e.transformTemplate),Ip(t,n)})}})},AC={useVisualState:_p({scrapeMotionValuesFromProps:oc,createRenderState:nc})};function _C(e,{forwardMotionProps:t=!1},n,r){return{...Qu(e)?EC:AC,preloadedFeatures:n,useRender:vC(t),createVisualElement:r,Component:e}}function sr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Tp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ps(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const PC=e=>t=>Tp(t)&&e(t,Ps(t));function lr(e,t,n,r){return sr(e,t,PC(n),r)}const TC=(e,t)=>n=>t(e(n)),Lr=(...e)=>e.reduce(TC);function Op(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Fp=Op("dragHorizontal"),Mp=Op("dragVertical");function Rp(e){let t=!1;if(e==="y")t=Mp();else if(e==="x")t=Fp();else{const n=Fp(),r=Mp();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Lp(){const e=Rp(!0);return e?(e(),!1):!0}class Vr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Vp(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,l)=>{if(a.type==="touch"||Lp())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t),u[r]&&vt.update(()=>u[r](a,l))};return lr(e.current,n,i,{passive:!e.getProps()[r]})}class OC extends Vr{mount(){this.unmount=Lr(Vp(this.node,!0),Vp(this.node,!1))}unmount(){}}class FC extends Vr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Lr(sr(this.node.current,"focus",()=>this.onFocus()),sr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Dp=(e,t)=>t?e===t?!0:Dp(e,t.parentElement):!1;function lc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ps(n))}class MC extends Vr{constructor(){super(...arguments),this.removeStartListeners=Tt,this.removeEndListeners=Tt,this.removeAccessibleListeners=Tt,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=lr(window,"pointerup",(u,c)=>{if(!this.checkPressEnd())return;const{onTap:f,onTapCancel:h}=this.node.getProps();vt.update(()=>{Dp(this.node.current,u.target)?f&&f(u,c):h&&h(u,c)})},{passive:!(r.onTap||r.onPointerUp)}),l=lr(window,"pointercancel",(u,c)=>this.cancelPress(u,c),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Lr(a,l),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const l=u=>{u.key!=="Enter"||!this.checkPressEnd()||lc("up",(c,f)=>{const{onTap:h}=this.node.getProps();h&&vt.update(()=>h(c,f))})};this.removeEndListeners(),this.removeEndListeners=sr(this.node.current,"keyup",l),lc("down",(u,c)=>{this.startPress(u,c)})},n=sr(this.node.current,"keydown",t),r=()=>{this.isPressing&&lc("cancel",(a,l)=>this.cancelPress(a,l))},i=sr(this.node.current,"blur",r);this.removeAccessibleListeners=Lr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&vt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Lp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&vt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=lr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=sr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Lr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const uc=new WeakMap,cc=new WeakMap,RC=e=>{const t=uc.get(e.target);t&&t(e)},LC=e=>{e.forEach(RC)};function VC({root:e,...t}){const n=e||document;cc.has(n)||cc.set(n,{});const r=cc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(LC,{root:e,...t})),r[i]}function DC(e,t,n){const r=VC(t);return uc.set(e,n),r.observe(e),()=>{uc.delete(e),r.unobserve(e)}}const NC={some:0,all:1};class $C extends Vr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:NC[i]},u=c=>{const{isIntersecting:f}=c;if(this.isInView===f||(this.isInView=f,a&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:h,onViewportLeave:p}=this.node.getProps(),m=f?h:p;m&&m(c)};return DC(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(BC(t,n))&&this.startObserver()}unmount(){}}function BC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const kC={inView:{Feature:$C},tap:{Feature:MC},focus:{Feature:FC},hover:{Feature:OC}};function Np(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function jC(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function GC(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Ts(e,t,n){const r=e.getProps();return ac(r,t,n!==void 0?n:r.custom,jC(e),GC(e))}let la=Tt,Ln=Tt;process.env.NODE_ENV!=="production"&&(la=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ln=(e,t)=>{if(!e)throw new Error(t)});const Dr=e=>e*1e3,ur=e=>e/1e3,HC={current:!1},$p=e=>Array.isArray(e)&&typeof e[0]=="number";function Bp(e){return!!(!e||typeof e=="string"&&kp[e]||$p(e)||Array.isArray(e)&&e.every(Bp))}const ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,kp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ua([0,.65,.55,1]),circOut:ua([.55,0,1,.45]),backIn:ua([.31,.01,.66,-.59]),backOut:ua([.33,1.53,.69,.99])};function jp(e){if(e)return $p(e)?ua(e):Array.isArray(e)?e.map(jp):kp[e]}function WC(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:l="loop",ease:u,times:c}={}){const f={[t]:n};c&&(f.offset=c);const h=jp(u);return Array.isArray(h)&&(f.easing=h),e.animate(f,{delay:r,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}function ZC(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,XC=1e-7,zC=12;function UC(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=Gp(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>XC&&++u<zC);return l}function ca(e,t,n,r){if(e===t&&n===r)return Tt;const i=a=>UC(a,0,1,e,n);return a=>a===0||a===1?a:Gp(i(a),t,r)}const YC=ca(.42,0,1,1),JC=ca(0,0,.58,1),Hp=ca(.42,0,.58,1),KC=e=>Array.isArray(e)&&typeof e[0]!="number",Wp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Zp=e=>t=>1-e(1-t),fc=e=>1-Math.sin(Math.acos(e)),Xp=Zp(fc),qC=Wp(fc),zp=ca(.33,1.53,.69,.99),dc=Zp(zp),QC=Wp(dc),Up={linear:Tt,easeIn:YC,easeInOut:Hp,easeOut:JC,circIn:fc,circInOut:qC,circOut:Xp,backIn:dc,backInOut:QC,backOut:zp,anticipate:e=>(e*=2)<1?.5*dc(e):.5*(2-Math.pow(2,-10*(e-1)))},Yp=e=>{if(Array.isArray(e)){Ln(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return ca(t,n,r,i)}else if(typeof e=="string")return Ln(Up[e]!==void 0,`Invalid easing type '${e}'`),Up[e];return e},hc=(e,t)=>n=>!!(aa(n)&&rC.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Jp=(e,t,n)=>r=>{if(!aa(r))return r;const[i,a,l,u]=r.match(Ss);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},ex=e=>Mr(0,255,e),pc={...ni,transform:e=>Math.round(ex(e))},ri={test:hc("rgb","red"),parse:Jp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pc.transform(e)+", "+pc.transform(t)+", "+pc.transform(n)+", "+oa(ia.transform(r))+")"};function tx(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const gc={test:hc("#"),parse:tx,transform:ri.transform},Zi={test:hc("hsl","hue"),parse:Jp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Un.transform(oa(t))+", "+Un.transform(oa(n))+", "+oa(ia.transform(r))+")"},Qt={test:e=>ri.test(e)||gc.test(e)||Zi.test(e),parse:e=>ri.test(e)?ri.parse(e):Zi.test(e)?Zi.parse(e):gc.parse(e),transform:e=>aa(e)?e:e.hasOwnProperty("red")?ri.transform(e):Zi.transform(e)},_t=(e,t,n)=>-n*e+n*t+e;function mc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function nx({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;i=mc(c,u,e+1/3),a=mc(c,u,e),l=mc(c,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}const vc=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},rx=[gc,ri,Zi],ix=e=>rx.find(t=>t.test(e));function Kp(e){const t=ix(e);Ln(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Zi&&(n=nx(n)),n}const qp=(e,t)=>{const n=Kp(e),r=Kp(t),i={...n};return a=>(i.red=vc(n.red,r.red,a),i.green=vc(n.green,r.green,a),i.blue=vc(n.blue,r.blue,a),i.alpha=_t(n.alpha,r.alpha,a),ri.transform(i))};function ox(e){var t,n;return isNaN(e)&&aa(e)&&(((t=e.match(Ss))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(pp))===null||n===void 0?void 0:n.length)||0)>0}const Qp={regex:tC,countKey:"Vars",token:"${v}",parse:Tt},e0={regex:pp,countKey:"Colors",token:"${c}",parse:Qt.parse},t0={regex:Ss,countKey:"Numbers",token:"${n}",parse:ni.parse};function bc(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function Os(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&bc(n,Qp),bc(n,e0),bc(n,t0),n}function n0(e){return Os(e).values}function r0(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Os(e),a=t.length;return l=>{let u=i;for(let c=0;c<a;c++)c<r?u=u.replace(Qp.token,l[c]):c<r+n?u=u.replace(e0.token,Qt.transform(l[c])):u=u.replace(t0.token,oa(l[c]));return u}}const ax=e=>typeof e=="number"?0:e;function sx(e){const t=n0(e);return r0(e)(t.map(ax))}const Nr={test:ox,parse:n0,createTransformer:r0,getAnimatableNone:sx},i0=(e,t)=>n=>`${n>0?t:e}`;function o0(e,t){return typeof e=="number"?n=>_t(e,t,n):Qt.test(e)?qp(e,t):e.startsWith("var(")?i0(e,t):s0(e,t)}const a0=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,l)=>o0(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}},lx=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=o0(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},s0=(e,t)=>{const n=Nr.createTransformer(t),r=Os(e),i=Os(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Lr(a0(r.values,i.values),n):(la(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i0(e,t))},fa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},l0=(e,t)=>n=>_t(e,t,n);function ux(e){return typeof e=="number"?l0:typeof e=="string"?Qt.test(e)?qp:s0:Array.isArray(e)?a0:typeof e=="object"?lx:l0}function cx(e,t,n){const r=[],i=n||ux(e[0]),a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const c=Array.isArray(t)?t[l]||Tt:t;u=Lr(c,u)}r.push(u)}return r}function u0(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(Ln(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=cx(t,r,i),u=l.length,c=f=>{let h=0;if(u>1)for(;h<e.length-2&&!(f<e[h+1]);h++);const p=fa(e[h],e[h+1],f);return l[h](p)};return n?f=>c(Mr(e[0],e[a-1],f)):c}function fx(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=fa(0,t,r);e.push(_t(n,1,i))}}function dx(e){const t=[0];return fx(t,e.length-1),t}function hx(e,t){return e.map(n=>n*t)}function px(e,t){return e.map(()=>t||Hp).splice(0,e.length-1)}function Fs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=KC(r)?r.map(Yp):Yp(r),a={done:!1,value:t[0]},l=hx(n&&n.length===t.length?n:dx(t),e),u=u0(l,t,{ease:Array.isArray(i)?i:px(t,i)});return{calculatedDuration:e,next:c=>(a.value=u(c),a.done=c>=e,a)}}function c0(e,t){return t?e*(1e3/t):0}const gx=5;function f0(e,t,n){const r=Math.max(t-gx,0);return c0(n-e(r),t-r)}const yc=.001,mx=.01,d0=10,vx=.05,bx=1;function yx({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;la(e<=Dr(d0),"Spring duration must be 10 seconds or less");let l=1-t;l=Mr(vx,bx,l),e=Mr(mx,d0,ur(e)),l<1?(i=f=>{const h=f*l,p=h*e,m=h-n,v=Cc(f,l),x=Math.exp(-p);return yc-m/v*x},a=f=>{const p=f*l*e,m=p*n+n,v=Math.pow(l,2)*Math.pow(f,2)*e,x=Math.exp(-p),S=Cc(Math.pow(f,2),l);return(-i(f)+yc>0?-1:1)*((m-v)*x)/S}):(i=f=>{const h=Math.exp(-f*e),p=(f-n)*e+1;return-yc+h*p},a=f=>{const h=Math.exp(-f*e),p=(n-f)*(e*e);return h*p});const u=5/e,c=xx(i,a,u);if(e=Dr(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const f=Math.pow(c,2)*r;return{stiffness:f,damping:l*2*Math.sqrt(r*f),duration:e}}}const Cx=12;function xx(e,t,n){let r=n;for(let i=1;i<Cx;i++)r=r-e(r)/t(r);return r}function Cc(e,t){return e*Math.sqrt(1-t*t)}const wx=["duration","bounce"],Sx=["stiffness","damping","mass"];function h0(e,t){return t.some(n=>e[n]!==void 0)}function Ix(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!h0(e,Sx)&&h0(e,wx)){const n=yx(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function p0({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],l={done:!1,value:i},{stiffness:u,damping:c,mass:f,velocity:h,duration:p,isResolvedFromDuration:m}=Ix(r),v=h?-ur(h):0,x=c/(2*Math.sqrt(u*f)),S=a-i,E=ur(Math.sqrt(u/f)),P=Math.abs(S)<5;n||(n=P?.01:2),t||(t=P?.005:.5);let M;if(x<1){const L=Cc(E,x);M=D=>{const N=Math.exp(-x*E*D);return a-N*((v+x*E*S)/L*Math.sin(L*D)+S*Math.cos(L*D))}}else if(x===1)M=L=>a-Math.exp(-E*L)*(S+(v+E*S)*L);else{const L=E*Math.sqrt(x*x-1);M=D=>{const N=Math.exp(-x*E*D),z=Math.min(L*D,300);return a-N*((v+x*E*S)*Math.sinh(z)+L*S*Math.cosh(z))/L}}return{calculatedDuration:m&&p||null,next:L=>{const D=M(L);if(m)l.done=L>=p;else{let N=v;L!==0&&(x<1?N=f0(M,L,D):N=0);const z=Math.abs(N)<=n,X=Math.abs(a-D)<=t;l.done=z&&X}return l.value=l.done?a:D,l}}}function g0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:c,restDelta:f=.5,restSpeed:h}){const p=e[0],m={done:!1,value:p},v=Y=>u!==void 0&&Y<u||c!==void 0&&Y>c,x=Y=>u===void 0?c:c===void 0||Math.abs(u-Y)<Math.abs(c-Y)?u:c;let S=n*t;const E=p+S,P=l===void 0?E:l(E);P!==E&&(S=P-p);const M=Y=>-S*Math.exp(-Y/r),L=Y=>P+M(Y),D=Y=>{const fe=M(Y),Te=L(Y);m.done=Math.abs(fe)<=f,m.value=m.done?P:Te};let N,z;const X=Y=>{v(m.value)&&(N=Y,z=p0({keyframes:[m.value,x(m.value)],velocity:f0(L,Y,m.value),damping:i,stiffness:a,restDelta:f,restSpeed:h}))};return X(0),{calculatedDuration:null,next:Y=>{let fe=!1;return!z&&N===void 0&&(fe=!0,D(Y),X(Y)),N!==void 0&&Y>N?z.next(Y-N):(!fe&&D(Y),m)}}}const Ex=e=>{const t=({timestamp:n})=>e(n);return{start:()=>vt.update(t,!0),stop:()=>ar(t),now:()=>Xt.isProcessing?Xt.timestamp:performance.now()}},m0=2e4;function v0(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<m0;)t+=n,r=e.next(t);return t>=m0?1/0:t}const Ax={decay:g0,inertia:g0,tween:Fs,keyframes:Fs,spring:p0};function Ms({autoplay:e=!0,delay:t=0,driver:n=Ex,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",onPlay:c,onStop:f,onComplete:h,onUpdate:p,...m}){let v=1,x=!1,S,E;const P=()=>{E=new Promise(R=>{S=R})};P();let M;const L=Ax[i]||Fs;let D;L!==Fs&&typeof r[0]!="number"&&(D=u0([0,100],r,{clamp:!1}),r=[0,100]);const N=L({...m,keyframes:r});let z;u==="mirror"&&(z=L({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let X="idle",Y=null,fe=null,Te=null;N.calculatedDuration===null&&a&&(N.calculatedDuration=v0(N));const{calculatedDuration:Ge}=N;let Xe=1/0,pe=1/0;Ge!==null&&(Xe=Ge+l,pe=Xe*(a+1)-l);let xe=0;const be=R=>{if(fe===null)return;v>0&&(fe=Math.min(fe,R)),v<0&&(fe=Math.min(R-pe/v,fe)),Y!==null?xe=Y:xe=Math.round(R-fe)*v;const F=xe-t*(v>=0?1:-1),y=v>=0?F<0:F>pe;xe=Math.max(F,0),X==="finished"&&Y===null&&(xe=pe);let j=xe,ee=N;if(a){const ie=xe/Xe;let oe=Math.floor(ie),le=ie%1;!le&&ie>=1&&(le=1),le===1&&oe--,oe=Math.min(oe,a+1);const q=!!(oe%2);q&&(u==="reverse"?(le=1-le,l&&(le-=l/Xe)):u==="mirror"&&(ee=z));let ce=Mr(0,1,le);xe>pe&&(ce=u==="reverse"&&q?1:0),j=ce*Xe}const ae=y?{done:!1,value:r[0]}:ee.next(j);D&&(ae.value=D(ae.value));let{done:U}=ae;!y&&Ge!==null&&(U=v>=0?xe>=pe:xe<=0);const K=Y===null&&(X==="finished"||X==="running"&&U);return p&&p(ae.value),K&&Je(),ae},Ee=()=>{M&&M.stop(),M=void 0},$e=()=>{X="idle",Ee(),S(),P(),fe=Te=null},Je=()=>{X="finished",h&&h(),Ee(),S()},O=()=>{if(x)return;M||(M=n(be));const R=M.now();c&&c(),Y!==null?fe=R-Y:(!fe||X==="finished")&&(fe=R),X==="finished"&&P(),Te=fe,Y=null,X="running",M.start()};e&&O();const T={then(R,F){return E.then(R,F)},get time(){return ur(xe)},set time(R){R=Dr(R),xe=R,Y!==null||!M||v===0?Y=R:fe=M.now()-R/v},get duration(){const R=N.calculatedDuration===null?v0(N):N.calculatedDuration;return ur(R)},get speed(){return v},set speed(R){R===v||!M||(v=R,T.time=ur(xe))},get state(){return X},play:O,pause:()=>{X="paused",Y=xe},stop:()=>{x=!0,X!=="idle"&&(X="idle",f&&f(),$e())},cancel:()=>{Te!==null&&be(Te),$e()},complete:()=>{X="finished"},sample:R=>(fe=0,be(R))};return T}function _x(e){let t;return()=>(t===void 0&&(t=e()),t)}const Px=_x(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Tx=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Rs=10,Ox=2e4,Fx=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Bp(t.ease);function Mx(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Px()&&Tx.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let l=!1,u,c;const f=()=>{c=new Promise(M=>{u=M})};f();let{keyframes:h,duration:p=300,ease:m,times:v}=i;if(Fx(t,i)){const M=Ms({...i,repeat:0,delay:0});let L={done:!1,value:h[0]};const D=[];let N=0;for(;!L.done&&N<Ox;)L=M.sample(N),D.push(L.value),N+=Rs;v=void 0,h=D,p=N-Rs,m="linear"}const x=WC(e.owner.current,t,h,{...i,duration:p,ease:m,times:v}),S=()=>x.cancel(),E=()=>{vt.update(S),u(),f()};return x.onfinish=()=>{e.set(ZC(h,i)),r&&r(),E()},{then(M,L){return c.then(M,L)},attachTimeline(M){return x.timeline=M,x.onfinish=null,Tt},get time(){return ur(x.currentTime||0)},set time(M){x.currentTime=Dr(M)},get speed(){return x.playbackRate},set speed(M){x.playbackRate=M},get duration(){return ur(p)},play:()=>{l||(x.play(),ar(S))},pause:()=>x.pause(),stop:()=>{if(l=!0,x.playState==="idle")return;const{currentTime:M}=x;if(M){const L=Ms({...i,autoplay:!1});e.setWithVelocity(L.sample(M-Rs).value,L.sample(M).value,Rs)}E()},complete:()=>x.finish(),cancel:E}}function Rx({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Tt,pause:Tt,stop:Tt,then:a=>(a(),Promise.resolve()),cancel:Tt,complete:Tt});return t?Ms({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const Lx={type:"spring",stiffness:500,damping:25,restSpeed:10},Vx=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Dx={type:"keyframes",duration:.8},Nx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$x=(e,{keyframes:t})=>t.length>2?Dx:ti.has(e)?e.startsWith("scale")?Vx(t[1]):Lx:Nx,xc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Nr.test(t)||t==="0")&&!t.startsWith("url(")),Bx=new Set(["brightness","contrast","saturate","opacity"]);function kx(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ss)||[];if(!r)return e;const i=n.replace(r,"");let a=Bx.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const jx=/([a-z-]*)\(.*?\)/g,wc={...Nr,getAnimatableNone:e=>{const t=e.match(jx);return t?t.map(kx).join(" "):e}},Gx={...vp,color:Qt,backgroundColor:Qt,outlineColor:Qt,fill:Qt,stroke:Qt,borderColor:Qt,borderTopColor:Qt,borderRightColor:Qt,borderBottomColor:Qt,borderLeftColor:Qt,filter:wc,WebkitFilter:wc},Sc=e=>Gx[e];function b0(e,t){let n=Sc(e);return n!==wc&&(n=Nr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const y0=e=>/^0[^.\s]+$/.test(e);function Hx(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||y0(e)}function Wx(e,t,n,r){const i=xc(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const l=r.from!==void 0?r.from:e.get();let u;const c=[];for(let f=0;f<a.length;f++)a[f]===null&&(a[f]=f===0?l:a[f-1]),Hx(a[f])&&c.push(f),typeof a[f]=="string"&&a[f]!=="none"&&a[f]!=="0"&&(u=a[f]);if(i&&c.length&&u)for(let f=0;f<c.length;f++){const h=c[f];a[h]=b0(t,u)}return a}function Zx({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:c,elapsed:f,...h}){return!!Object.keys(h).length}function Ic(e,t){return e[t]||e.default||e}const Ec=(e,t,n,r={})=>i=>{const a=Ic(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Dr(l);const c=Wx(t,e,n,a),f=c[0],h=c[c.length-1],p=xc(e,f),m=xc(e,h);la(p===m,`You are trying to animate ${e} from "${f}" to "${h}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-u,onUpdate:x=>{t.set(x),a.onUpdate&&a.onUpdate(x)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if(Zx(a)||(v={...v,...$x(e,v)}),v.duration&&(v.duration=Dr(v.duration)),v.repeatDelay&&(v.repeatDelay=Dr(v.repeatDelay)),!p||!m||HC.current||a.type===!1)return Rx(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=Mx(t,e,v);if(x)return x}return Ms(v)};function Ls(e){return!!(rn(e)&&e.add)}const C0=e=>/^\-?\d*\.?\d+$/.test(e);function Ac(e,t){e.indexOf(t)===-1&&e.push(t)}function _c(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Pc{constructor(){this.subscriptions=[]}add(t){return Ac(this.subscriptions,t),()=>_c(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const x0=new Set;function Tc(e,t,n){e||x0.has(t)||(console.warn(t),n&&console.warn(n),x0.add(t))}const Xx=e=>!isNaN(parseFloat(e));class zx{constructor(t,n={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:l}=Xt;this.lastUpdated!==l&&(this.timeDelta=a,this.lastUpdated=l,vt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>vt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=Xx(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Tc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Pc);const r=this.events[t].add(n);return t==="change"?()=>{r(),vt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?c0(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Xi(e,t){return new zx(e,t)}const w0=e=>t=>t.test(e),S0=[ni,Ne,Un,Rr,oC,iC,{test:e=>e==="auto",parse:e=>e}],da=e=>S0.find(w0(e)),Ux=[...S0,Qt,Nr],Yx=e=>Ux.find(w0(e));function Jx(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xi(n))}function Kx(e,t){const n=Ts(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const l in a){const u=yC(a[l]);Jx(e,l,u)}}function qx(e,t,n){var r,i;const a=Object.keys(t).filter(u=>!e.hasValue(u)),l=a.length;if(l)for(let u=0;u<l;u++){const c=a[u],f=t[c];let h=null;Array.isArray(f)&&(h=f[0]),h===null&&(h=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),h!=null&&(typeof h=="string"&&(C0(h)||y0(h))?h=parseFloat(h):!Yx(h)&&Nr.test(f)&&(h=b0(c,f)),e.addValue(c,Xi(h,{owner:e})),n[c]===void 0&&(n[c]=h),h!==null&&e.setBaseTarget(c,h))}}function Qx(e,t){return t?(t[e]||t.default||t).from:void 0}function e6(e,t,n){const r={};for(const i in e){const a=Qx(i,t);if(a!==void 0)r[i]=a;else{const l=n.getValue(i);l&&(r[i]=l.get())}}return r}function t6({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function n6(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function I0(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");r&&(a=r);const f=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const p in u){const m=e.getValue(p),v=u[p];if(!m||v===void 0||h&&t6(h,p))continue;const x={delay:n,elapsed:0,...Ic(a||{},p)};if(window.HandoffAppearAnimations){const P=e.getProps()[ap];if(P){const M=window.HandoffAppearAnimations(P,p,m,vt);M!==null&&(x.elapsed=M,x.isHandoff=!0)}}let S=!x.isHandoff&&!n6(m,v);if(x.type==="spring"&&(m.getVelocity()||x.velocity)&&(S=!1),m.animation&&(S=!1),S)continue;m.start(Ec(p,m,v,e.shouldReduceMotion&&ti.has(p)?{type:!1}:x));const E=m.animation;Ls(c)&&(c.add(p),E.then(()=>c.remove(p))),f.push(E)}return l&&Promise.all(f).then(()=>{l&&Kx(e,l)}),f}function Oc(e,t,n={}){const r=Ts(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(I0(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:f=0,staggerChildren:h,staggerDirection:p}=i;return r6(e,t,f+c,h,p,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[c,f]=u==="beforeChildren"?[a,l]:[l,a];return c().then(()=>f())}else return Promise.all([a(),l(n.delay)])}function r6(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,c=i===1?(f=0)=>f*r:(f=0)=>u-f*r;return Array.from(e.variantChildren).sort(i6).forEach((f,h)=>{f.notify("AnimationStart",t),l.push(Oc(f,t,{...a,delay:n+c(h)}).then(()=>f.notify("AnimationComplete",t)))}),Promise.all(l)}function i6(e,t){return e.sortNodePosition(t)}function o6(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Oc(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Oc(e,t,n);else{const i=typeof t=="function"?Ts(e,t,n.custom):t;r=Promise.all(I0(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const a6=[...Ju].reverse(),s6=Ju.length;function l6(e){return t=>Promise.all(t.map(({animation:n,options:r})=>o6(e,n,r)))}function u6(e){let t=l6(e);const n=f6();let r=!0;const i=(c,f)=>{const h=Ts(e,f);if(h){const{transition:p,transitionEnd:m,...v}=h;c={...c,...v,...m}}return c};function a(c){t=c(e)}function l(c,f){const h=e.getProps(),p=e.getVariantContext(!0)||{},m=[],v=new Set;let x={},S=1/0;for(let P=0;P<s6;P++){const M=a6[P],L=n[M],D=h[M]!==void 0?h[M]:p[M],N=ta(D),z=M===f?L.isActive:null;z===!1&&(S=P);let X=D===p[M]&&D!==h[M]&&N;if(X&&r&&e.manuallyAnimateOnMount&&(X=!1),L.protectedKeys={...x},!L.isActive&&z===null||!D&&!L.prevProp||ys(D)||typeof D=="boolean")continue;const Y=c6(L.prevProp,D);let fe=Y||M===f&&L.isActive&&!X&&N||P>S&&N;const Te=Array.isArray(D)?D:[D];let Ge=Te.reduce(i,{});z===!1&&(Ge={});const{prevResolvedValues:Xe={}}=L,pe={...Xe,...Ge},xe=be=>{fe=!0,v.delete(be),L.needsAnimating[be]=!0};for(const be in pe){const Ee=Ge[be],$e=Xe[be];x.hasOwnProperty(be)||(Ee!==$e?Es(Ee)&&Es($e)?!Np(Ee,$e)||Y?xe(be):L.protectedKeys[be]=!0:Ee!==void 0?xe(be):v.add(be):Ee!==void 0&&v.has(be)?xe(be):L.protectedKeys[be]=!0)}L.prevProp=D,L.prevResolvedValues=Ge,L.isActive&&(x={...x,...Ge}),r&&e.blockInitialAnimation&&(fe=!1),fe&&!X&&m.push(...Te.map(be=>({animation:be,options:{type:M,...c}})))}if(v.size){const P={};v.forEach(M=>{const L=e.getBaseTarget(M);L!==void 0&&(P[M]=L)}),m.push({animation:P})}let E=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(m):Promise.resolve()}function u(c,f,h){var p;if(n[c].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var x;return(x=v.animationState)===null||x===void 0?void 0:x.setActive(c,f)}),n[c].isActive=f;const m=l(h,c);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n}}function c6(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Np(t,e):!1}function ii(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f6(){return{animate:ii(!0),whileInView:ii(),whileHover:ii(),whileTap:ii(),whileDrag:ii(),whileFocus:ii(),exit:ii()}}class d6 extends Vr{constructor(t){super(t),t.animationState||(t.animationState=u6(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),ys(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let h6=0;class p6 extends Vr{constructor(){super(...arguments),this.id=h6++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const g6={animation:{Feature:d6},exit:{Feature:p6}},E0=(e,t)=>Math.abs(e-t);function m6(e,t){const n=E0(e.x,t.x),r=E0(e.y,t.y);return Math.sqrt(n**2+r**2)}class A0{constructor(t,n,{transformPagePoint:r,contextWindow:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Mc(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,m=m6(h.offset,{x:0,y:0})>=3;if(!p&&!m)return;const{point:v}=h,{timestamp:x}=Xt;this.history.push({...v,timestamp:x});const{onStart:S,onMove:E}=this.handlers;p||(S&&S(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,h)},this.handlePointerMove=(h,p)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Fc(p,this.transformPagePoint),vt.update(this.updatePoint,!0)},this.handlePointerUp=(h,p)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:m,onSessionEnd:v}=this.handlers,x=Mc(h.type==="pointercancel"?this.lastMoveEventInfo:Fc(p,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,x),v&&v(h,x)},!Tp(t))return;this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=Ps(t),l=Fc(a,this.transformPagePoint),{point:u}=l,{timestamp:c}=Xt;this.history=[{...u,timestamp:c}];const{onSessionStart:f}=n;f&&f(t,Mc(l,this.history)),this.removeListeners=Lr(lr(this.contextWindow,"pointermove",this.handlePointerMove),lr(this.contextWindow,"pointerup",this.handlePointerUp),lr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ar(this.updatePoint)}}function Fc(e,t){return t?{point:t(e.point)}:e}function _0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Mc({point:e},t){return{point:e,delta:_0(e,P0(t)),offset:_0(e,v6(t)),velocity:b6(t,.1)}}function v6(e){return e[0]}function P0(e){return e[e.length-1]}function b6(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=P0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Dr(t)));)n--;if(!r)return{x:0,y:0};const a=ur(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function dn(e){return e.max-e.min}function Rc(e,t=0,n=.01){return Math.abs(e-t)<=n}function T0(e,t,n,r=.5){e.origin=r,e.originPoint=_t(t.min,t.max,e.origin),e.scale=dn(n)/dn(t),(Rc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=_t(n.min,n.max,e.origin)-e.originPoint,(Rc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ha(e,t,n,r){T0(e.x,t.x,n.x,r?r.originX:void 0),T0(e.y,t.y,n.y,r?r.originY:void 0)}function O0(e,t,n){e.min=n.min+t.min,e.max=e.min+dn(t)}function y6(e,t,n){O0(e.x,t.x,n.x),O0(e.y,t.y,n.y)}function F0(e,t,n){e.min=t.min-n.min,e.max=e.min+dn(t)}function pa(e,t,n){F0(e.x,t.x,n.x),F0(e.y,t.y,n.y)}function C6(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?_t(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?_t(n,e,r.max):Math.min(e,n)),e}function M0(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function x6(e,{top:t,left:n,bottom:r,right:i}){return{x:M0(e.x,n,i),y:M0(e.y,t,r)}}function R0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function w6(e,t){return{x:R0(e.x,t.x),y:R0(e.y,t.y)}}function S6(e,t){let n=.5;const r=dn(e),i=dn(t);return i>r?n=fa(t.min,t.max-r,e.min):r>i&&(n=fa(e.min,e.max-i,t.min)),Mr(0,1,n)}function I6(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Lc=.35;function E6(e=Lc){return e===!1?e=0:e===!0&&(e=Lc),{x:L0(e,"left","right"),y:L0(e,"top","bottom")}}function L0(e,t,n){return{min:V0(e,t),max:V0(e,n)}}function V0(e,t){return typeof e=="number"?e:e[t]||0}const D0=()=>({translate:0,scale:1,origin:0,originPoint:0}),zi=()=>({x:D0(),y:D0()}),N0=()=>({min:0,max:0}),Dt=()=>({x:N0(),y:N0()});function Yn(e){return[e("x"),e("y")]}function $0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function A6({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _6(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Vc(e){return e===void 0||e===1}function Dc({scale:e,scaleX:t,scaleY:n}){return!Vc(e)||!Vc(t)||!Vc(n)}function oi(e){return Dc(e)||B0(e)||e.z||e.rotate||e.rotateX||e.rotateY}function B0(e){return k0(e.x)||k0(e.y)}function k0(e){return e&&e!=="0%"}function Vs(e,t,n){const r=e-n,i=t*r;return n+i}function j0(e,t,n,r,i){return i!==void 0&&(e=Vs(e,i,r)),Vs(e,n,r)+t}function Nc(e,t=0,n=1,r,i){e.min=j0(e.min,t,n,r,i),e.max=j0(e.max,t,n,r,i)}function G0(e,{x:t,y:n}){Nc(e.x,t.translate,t.scale,t.originPoint),Nc(e.y,n.translate,n.scale,n.originPoint)}function P6(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const c=a.instance;c&&c.style&&c.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ui(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,G0(e,l)),r&&oi(a.latestValues)&&Ui(e,a.latestValues))}t.x=H0(t.x),t.y=H0(t.y)}function H0(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function $r(e,t){e.min=e.min+t,e.max=e.max+t}function W0(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,l=_t(e.min,e.max,a);Nc(e,t[n],t[r],l,t.scale)}const T6=["x","scaleX","originX"],O6=["y","scaleY","originY"];function Ui(e,t){W0(e.x,t,T6),W0(e.y,t,O6)}function Z0(e,t){return $0(_6(e.getBoundingClientRect(),t))}function F6(e,t,n){const r=Z0(e,n),{scroll:i}=t;return i&&($r(r.x,i.offset.x),$r(r.y,i.offset.y)),r}const X0=({current:e})=>e?e.ownerDocument.defaultView:null,M6=new WeakMap;class R6{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{this.stopAnimation(),n&&this.snapToCursor(Ps(c,"page").point)},a=(c,f)=>{const{drag:h,dragPropagation:p,onDragStart:m}=this.getProps();if(h&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Rp(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Yn(x=>{let S=this.getAxisMotionValue(x).get()||0;if(Un.test(S)){const{projection:E}=this.visualElement;if(E&&E.layout){const P=E.layout.layoutBox[x];P&&(S=dn(P)*(parseFloat(S)/100))}}this.originPoint[x]=S}),m&&vt.update(()=>m(c,f),!1,!0);const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},l=(c,f)=>{const{dragPropagation:h,dragDirectionLock:p,onDirectionLock:m,onDrag:v}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:x}=f;if(p&&this.currentDirection===null){this.currentDirection=L6(x),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,x),this.updateAxis("y",f.point,x),this.visualElement.render(),v&&v(c,f)},u=(c,f)=>this.stop(c,f);this.panSession=new A0(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:X0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&vt.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ds(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=C6(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Wi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=x6(i.layoutBox,n):this.constraints=!1,this.elastic=E6(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Yn(l=>{this.getAxisMotionValue(l)&&(this.constraints[l]=I6(i.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Wi(t))return!1;const r=t.current;Ln(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=F6(r,i.root,this.visualElement.getTransformPagePoint());let l=w6(i.layout.layoutBox,a);if(n){const u=n(A6(l));this.hasMutatedConstraints=!!u,u&&(l=$0(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),c=this.constraints||{},f=Yn(h=>{if(!Ds(h,n,this.currentDirection))return;let p=c&&c[h]||{};l&&(p={min:0,max:0});const m=i?200:1e6,v=i?40:1e7,x={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...a,...p};return this.startAxisValueAnimation(h,x)});return Promise.all(f).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Ec(t,r,0,n))}stopAnimation(){Yn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Yn(n=>{const{drag:r}=this.getProps();if(!Ds(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-_t(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Wi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Yn(l=>{const u=this.getAxisMotionValue(l);if(u){const c=u.get();i[l]=S6({min:c,max:c},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Yn(l=>{if(!Ds(l,t,null))return;const u=this.getAxisMotionValue(l),{min:c,max:f}=this.constraints[l];u.set(_t(c,f,i[l]))})}addListeners(){if(!this.visualElement.current)return;M6.set(this.visualElement,this);const t=this.visualElement.current,n=lr(t,"pointerdown",c=>{const{drag:f,dragListener:h=!0}=this.getProps();f&&h&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Wi(c)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const l=sr(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f})=>{this.isDragging&&f&&(Yn(h=>{const p=this.getAxisMotionValue(h);p&&(this.originPoint[h]+=c[h].translate,p.set(p.get()+c[h].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=Lc,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function Ds(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function L6(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class V6 extends Vr{constructor(t){super(t),this.removeGroupControls=Tt,this.removeListeners=Tt,this.controls=new R6(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tt}unmount(){this.removeGroupControls(),this.removeListeners()}}const z0=e=>(t,n)=>{e&&vt.update(()=>e(t,n))};class D6 extends Vr{constructor(){super(...arguments),this.removePointerDownListener=Tt}onPointerDown(t){this.session=new A0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:X0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:z0(t),onStart:z0(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&vt.update(()=>i(a,l))}}}mount(){this.removePointerDownListener=lr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function N6(){const e=b.useContext(vs);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Ns={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function U0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ga={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Ne.test(e))e=parseFloat(e);else return e;const n=U0(e,t.target.x),r=U0(e,t.target.y);return`${n}% ${r}%`}},$6={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Nr.parse(e);if(i.length>5)return r;const a=Nr.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=c;const f=_t(u,c,.5);return typeof i[2+l]=="number"&&(i[2+l]/=f),typeof i[3+l]=="number"&&(i[3+l]/=f),a(i)}};class B6 extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;K4(k6),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Ns.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||vt.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Y0(e){const[t,n]=N6(),r=b.useContext(qu);return b.createElement(B6,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(cp),isPresent:t,safeToRemove:n})}const k6={borderRadius:{...ga,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ga,borderTopRightRadius:ga,borderBottomLeftRadius:ga,borderBottomRightRadius:ga,boxShadow:$6},J0=["TopLeft","TopRight","BottomLeft","BottomRight"],j6=J0.length,K0=e=>typeof e=="string"?parseFloat(e):e,q0=e=>typeof e=="number"||Ne.test(e);function G6(e,t,n,r,i,a){i?(e.opacity=_t(0,n.opacity!==void 0?n.opacity:1,H6(r)),e.opacityExit=_t(t.opacity!==void 0?t.opacity:1,0,W6(r))):a&&(e.opacity=_t(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<j6;l++){const u=`border${J0[l]}Radius`;let c=Q0(t,u),f=Q0(n,u);if(c===void 0&&f===void 0)continue;c||(c=0),f||(f=0),c===0||f===0||q0(c)===q0(f)?(e[u]=Math.max(_t(K0(c),K0(f),r),0),(Un.test(f)||Un.test(c))&&(e[u]+="%")):e[u]=f}(t.rotate||n.rotate)&&(e.rotate=_t(t.rotate||0,n.rotate||0,r))}function Q0(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const H6=eg(0,.5,Xp),W6=eg(.5,.95,Tt);function eg(e,t,n){return r=>r<e?0:r>t?1:n(fa(e,t,r))}function tg(e,t){e.min=t.min,e.max=t.max}function Sn(e,t){tg(e.x,t.x),tg(e.y,t.y)}function ng(e,t,n,r,i){return e-=t,e=Vs(e,1/n,r),i!==void 0&&(e=Vs(e,1/i,r)),e}function Z6(e,t=0,n=1,r=.5,i,a=e,l=e){if(Un.test(t)&&(t=parseFloat(t),t=_t(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=_t(a.min,a.max,r);e===a&&(u-=t),e.min=ng(e.min,t,n,u,i),e.max=ng(e.max,t,n,u,i)}function rg(e,t,[n,r,i],a,l){Z6(e,t[n],t[r],t[i],t.scale,a,l)}const X6=["x","scaleX","originX"],z6=["y","scaleY","originY"];function ig(e,t,n,r){rg(e.x,t,X6,n?n.x:void 0,r?r.x:void 0),rg(e.y,t,z6,n?n.y:void 0,r?r.y:void 0)}function og(e){return e.translate===0&&e.scale===1}function ag(e){return og(e.x)&&og(e.y)}function U6(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function sg(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function lg(e){return dn(e.x)/dn(e.y)}class Y6{constructor(){this.members=[]}add(t){Ac(this.members,t),t.scheduleRender()}remove(t){if(_c(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ug(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:c,rotateX:f,rotateY:h}=n;c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const J6=(e,t)=>e.depth-t.depth;class K6{constructor(){this.children=[],this.isDirty=!1}add(t){Ac(this.children,t),this.isDirty=!0}remove(t){_c(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(J6),this.isDirty=!1,this.children.forEach(t)}}function q6(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(ar(r),e(a-t))};return vt.read(r,!0),()=>ar(r)}function Q6(e){window.MotionDebug&&window.MotionDebug.record(e)}function e7(e){return e instanceof SVGElement&&e.tagName!=="svg"}function t7(e,t,n){const r=rn(e)?e:Xi(e);return r.start(Ec("",r,t,n)),r.animation}const cg=["","X","Y","Z"],n7={visibility:"hidden"},fg=1e3;let r7=0;const ai={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function dg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=r7++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ai.totalNodes=ai.resolvedTargetDeltas=ai.recalculatedProjection=0,this.nodes.forEach(a7),this.nodes.forEach(f7),this.nodes.forEach(d7),this.nodes.forEach(s7),Q6(ai)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new K6)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new Pc),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const c=this.eventHandlers.get(l);c&&c.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e7(l),this.instance=l;const{layoutId:c,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(f||c)&&(this.isLayoutDirty=!0),e){let p;const m=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=q6(m,250),Ns.hasAnimatedSinceResize&&(Ns.hasAnimatedSinceResize=!1,this.nodes.forEach(pg))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||h.getDefaultTransition()||v7,{onLayoutAnimationStart:E,onLayoutAnimationComplete:P}=h.getProps(),M=!this.targetLayout||!sg(this.targetLayout,x)||v,L=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||L||m&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,L);const D={...Ic(S,"layout"),onPlay:E,onComplete:P};(h.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D)}else m||pg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ar(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(h7),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const p=this.path[h];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:u,layout:c}=this.options;if(u===void 0&&!c)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(hg);return}this.isUpdating||this.nodes.forEach(u7),this.isUpdating=!1,this.nodes.forEach(c7),this.nodes.forEach(i7),this.nodes.forEach(o7),this.clearAllSnapshots();const u=performance.now();Xt.delta=Mr(0,1e3/60,u-Xt.timestamp),Xt.timestamp=u,Xt.isProcessing=!0,sc.update.process(Xt),sc.preRender.process(Xt),sc.render.process(Xt),Xt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(l7),this.sharedNodes.forEach(p7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!ag(this.projectionDelta),c=this.getTransformTemplate(),f=c?c(this.latestValues,""):void 0,h=f!==this.prevTransformTemplateValue;l&&(u||oi(this.latestValues)||h)&&(i(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let c=this.removeElementScroll(u);return l&&(c=this.removeTransform(c)),b7(c),{animationId:this.root.animationId,measuredBox:u,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Dt();const u=l.measureViewportBox(),{scroll:c}=this.root;return c&&($r(u.x,c.offset.x),$r(u.y,c.offset.y)),u}removeElementScroll(l){const u=Dt();Sn(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c],{scroll:h,options:p}=f;if(f!==this.root&&h&&p.layoutScroll){if(h.isRoot){Sn(u,l);const{scroll:m}=this.root;m&&($r(u.x,-m.offset.x),$r(u.y,-m.offset.y))}$r(u.x,h.offset.x),$r(u.y,h.offset.y)}}return u}applyTransform(l,u=!1){const c=Dt();Sn(c,l);for(let f=0;f<this.path.length;f++){const h=this.path[f];!u&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Ui(c,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),oi(h.latestValues)&&Ui(c,h.latestValues)}return oi(this.latestValues)&&Ui(c,this.latestValues),c}removeTransform(l){const u=Dt();Sn(u,l);for(let c=0;c<this.path.length;c++){const f=this.path[c];if(!f.instance||!oi(f.latestValues))continue;Dc(f.latestValues)&&f.updateSnapshot();const h=Dt(),p=f.measurePageBox();Sn(h,p),ig(u,f.latestValues,f.snapshot?f.snapshot.layoutBox:void 0,h)}return oi(this.latestValues)&&ig(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Xt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:p,layoutId:m}=this.options;if(!(!this.layout||!(p||m))){if(this.resolvedRelativeTargetAt=Xt.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),pa(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),Sn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),y6(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Sn(this.target,this.layout.layoutBox),G0(this.target,this.targetDelta)):Sn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),pa(this.relativeTargetOrigin,this.target,v.target),Sn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ai.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Dc(this.parent.latestValues)||B0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const u=this.getLead(),c=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Xt.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;Sn(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;P6(this.layoutCorrected,this.treeScale,this.path,c),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox);const{target:x}=u;if(!x){this.projectionTransform&&(this.projectionDelta=zi(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=zi(),this.projectionDeltaWithTransform=zi());const S=this.projectionTransform;ha(this.projectionDelta,this.layoutCorrected,x,this.latestValues),this.projectionTransform=ug(this.projectionDelta,this.treeScale),(this.projectionTransform!==S||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),ai.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,u=!1){const c=this.snapshot,f=c?c.latestValues:{},h={...this.latestValues},p=zi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const m=Dt(),v=c?c.source:void 0,x=this.layout?this.layout.source:void 0,S=v!==x,E=this.getStack(),P=!E||E.members.length<=1,M=!!(S&&!P&&this.options.crossfade===!0&&!this.path.some(m7));this.animationProgress=0;let L;this.mixTargetDelta=D=>{const N=D/1e3;gg(p.x,l.x,N),gg(p.y,l.y,N),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pa(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),g7(this.relativeTarget,this.relativeTargetOrigin,m,N),L&&U6(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=Dt()),Sn(L,this.relativeTarget)),S&&(this.animationValues=h,G6(h,f,this.latestValues,N,M,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=N},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ar(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vt.update(()=>{Ns.hasAnimatedSinceResize=!0,this.currentAnimation=t7(0,fg,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:c,layout:f,latestValues:h}=l;if(!(!u||!c||!f)){if(this!==l&&this.layout&&f&&Cg(this.options.animationType,this.layout.layoutBox,f.layoutBox)){c=this.target||Dt();const p=dn(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+p;const m=dn(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+m}Sn(u,c),Ui(u,h),ha(this.projectionDeltaWithTransform,this.layoutCorrected,u,h)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new Y6),this.sharedNodes.get(l).add(u);const f=u.options.initialPromotionConfig;u.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:c}={}){const f=this.getStack();f&&f.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:c}=l;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(u=!0),!u)return;const f={};for(let h=0;h<cg.length;h++){const p="rotate"+cg[h];c[p]&&(f[p]=c[p],l.setStaticValue(p,0))}l.render();for(const h in f)l.setStaticValue(h,f[h]);l.scheduleRender()}getProjectionStyles(l){var u,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return n7;const f={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=As(l==null?void 0:l.pointerEvents)||"",f.transform=h?h(this.latestValues,""):"none",f;const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){const S={};return this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=As(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!oi(this.latestValues)&&(S.transform=h?h({},""):"none",this.hasProjected=!1),S}const m=p.animationValues||p.latestValues;this.applyTransformsToTarget(),f.transform=ug(this.projectionDeltaWithTransform,this.treeScale,m),h&&(f.transform=h(m,f.transform));const{x:v,y:x}=this.projectionDelta;f.transformOrigin=`${v.origin*100}% ${x.origin*100}% 0`,p.animationValues?f.opacity=p===this?(c=(u=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:f.opacity=p===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const S in xs){if(m[S]===void 0)continue;const{correct:E,applyTo:P}=xs[S],M=f.transform==="none"?m[S]:E(m[S],p);if(P){const L=P.length;for(let D=0;D<L;D++)f[P[D]]=M}else f[S]=M}return this.options.layoutId&&(f.pointerEvents=p===this?As(l==null?void 0:l.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(hg),this.root.sharedNodes.clear()}}}function i7(e){e.updateLayout()}function o7(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?Yn(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=dn(m);m.min=r[p].min,m.max=m.min+v}):Cg(a,n.layoutBox,r)&&Yn(p=>{const m=l?n.measuredBox[p]:n.layoutBox[p],v=dn(r[p]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+v)});const u=zi();ha(u,r,n.layoutBox);const c=zi();l?ha(c,e.applyTransform(i,!0),n.measuredBox):ha(c,r,n.layoutBox);const f=!ag(u);let h=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:m,layout:v}=p;if(m&&v){const x=Dt();pa(x,n.layoutBox,m.layoutBox);const S=Dt();pa(S,r,v.layoutBox),sg(x,S)||(h=!0),p.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=x,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function a7(e){ai.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function s7(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function l7(e){e.clearSnapshot()}function hg(e){e.clearMeasurements()}function u7(e){e.isLayoutDirty=!1}function c7(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function f7(e){e.resolveTargetDelta()}function d7(e){e.calcProjection()}function h7(e){e.resetRotation()}function p7(e){e.removeLeadSnapshot()}function gg(e,t,n){e.translate=_t(t.translate,0,n),e.scale=_t(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mg(e,t,n,r){e.min=_t(t.min,n.min,r),e.max=_t(t.max,n.max,r)}function g7(e,t,n,r){mg(e.x,t.x,n.x,r),mg(e.y,t.y,n.y,r)}function m7(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const v7={duration:.45,ease:[.4,0,.1,1]},vg=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),bg=vg("applewebkit/")&&!vg("chrome/")?Math.round:Tt;function yg(e){e.min=bg(e.min),e.max=bg(e.max)}function b7(e){yg(e.x),yg(e.y)}function Cg(e,t,n){return e==="position"||e==="preserve-aspect"&&!Rc(lg(t),lg(n),.2)}const y7=dg({attachResizeListener:(e,t)=>sr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),$c={current:void 0},xg=dg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$c.current){const e=new y7({});e.mount(window),e.setOptions({layoutScroll:!0}),$c.current=e}return $c.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),C7={pan:{Feature:D6},drag:{Feature:V6,ProjectionNode:xg,MeasureLayout:Y0}},x7=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function w7(e){const t=x7.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const S7=4;function Bc(e,t,n=1){Ln(n<=S7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=w7(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return C0(l)?parseFloat(l):l}else return ec(i)?Bc(i,t,n+1):i}function I7(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!ec(a))return;const l=Bc(a,r);l&&i.set(l)});for(const i in t){const a=t[i];if(!ec(a))continue;const l=Bc(a,r);l&&(t[i]=l,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const E7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),wg=e=>E7.has(e),A7=e=>Object.keys(e).some(wg),$s=e=>e===ni||e===Ne,Sg=(e,t)=>parseFloat(e.split(", ")[t]),Ig=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Sg(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?Sg(a[1],e):0}},_7=new Set(["x","y","z"]),P7=ra.filter(e=>!_7.has(e));function T7(e){const t=[];return P7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Yi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ig(4,13),y:Ig(5,14)};Yi.translateX=Yi.x,Yi.translateY=Yi.y;const O7=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:l}=a,u={};l==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(f=>{u[f]=Yi[f](r,a)}),t.render();const c=t.measureViewportBox();return n.forEach(f=>{const h=t.getValue(f);h&&h.jump(u[f]),e[f]=Yi[f](c,a)}),e},F7=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(wg);let a=[],l=!1;const u=[];if(i.forEach(c=>{const f=e.getValue(c);if(!e.hasValue(c))return;let h=n[c],p=da(h);const m=t[c];let v;if(Es(m)){const x=m.length,S=m[0]===null?1:0;h=m[S],p=da(h);for(let E=S;E<x&&m[E]!==null;E++)v?Ln(da(m[E])===v,"All keyframes must be of the same type"):(v=da(m[E]),Ln(v===p||$s(p)&&$s(v),"Keyframes must be of the same dimension as the current value"))}else v=da(m);if(p!==v)if($s(p)&&$s(v)){const x=f.get();typeof x=="string"&&f.set(parseFloat(x)),typeof m=="string"?t[c]=parseFloat(m):Array.isArray(m)&&v===Ne&&(t[c]=m.map(parseFloat))}else p!=null&&p.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?f.set(v.transform(h)):t[c]=p.transform(m):(l||(a=T7(e),l=!0),u.push(c),r[c]=r[c]!==void 0?r[c]:t[c],f.jump(m))}),u.length){const c=u.indexOf("height")>=0?window.pageYOffset:null,f=O7(t,e,u);return a.length&&a.forEach(([h,p])=>{e.getValue(h).set(p)}),e.render(),bs&&c!==null&&window.scrollTo({top:c}),{target:f,transitionEnd:r}}else return{target:t,transitionEnd:r}};function M7(e,t,n,r){return A7(t)?F7(e,t,n,r):{target:t,transitionEnd:r}}const R7=(e,t,n,r)=>{const i=I7(e,t,r);return t=i.target,r=i.transitionEnd,M7(e,t,n,r)},kc={current:null},Eg={current:!1};function L7(){if(Eg.current=!0,!!bs)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>kc.current=e.matches;e.addListener(t),t()}else kc.current=!1}function V7(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],l=n[i];if(rn(a))e.addValue(i,a),Ls(r)&&r.add(i),process.env.NODE_ENV==="development"&&Tc(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(rn(l))e.addValue(i,Xi(a,{owner:e})),Ls(r)&&r.remove(i);else if(l!==a)if(e.hasValue(i)){const u=e.getValue(i);!u.hasAnimated&&u.set(a)}else{const u=e.getStaticValue(i);e.addValue(i,Xi(u!==void 0?u:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Ag=new WeakMap,_g=Object.keys(na),D7=_g.length,Pg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],N7=Ku.length;class $7{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>vt.render(this.render,!1,!0);const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.isControllingVariants=Cs(n),this.isVariantNode=sp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{});for(const p in h){const m=h[p];u[p]!==void 0&&rn(m)&&(m.set(u[p],!1),Ls(f)&&f.add(p))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Ag.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Eg.current||L7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:kc.current,process.env.NODE_ENV!=="production"&&Tc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ag.delete(this.current),this.projection&&this.projection.unmount(),ar(this.notifyUpdate),ar(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=ti.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&vt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let l,u;if(process.env.NODE_ENV!=="production"&&i&&r){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?la(!1,c):Ln(!1,c)}for(let c=0;c<D7;c++){const f=_g[c],{isEnabled:h,Feature:p,ProjectionNode:m,MeasureLayout:v}=na[f];m&&(l=m),h(n)&&(!this.features[f]&&p&&(this.features[f]=new p(this)),v&&(u=v))}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:f,drag:h,dragConstraints:p,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!h||p&&Wi(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof f=="string"?f:"both",initialPromotionConfig:a,layoutScroll:m,layoutRoot:v})}return u}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Pg.length;r++){const i=Pg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=V7(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<N7;r++){const i=Ku[r],a=this.props[i];(ta(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Xi(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=ac(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!rn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Pc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Tg extends $7{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let l=e6(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),l&&(l=i(l))),a){qx(this,r,l);const u=R7(this,r,l,n);n=u.transitionEnd,r=u.target}return{transition:t,transitionEnd:n,...r}}}function B7(e){return window.getComputedStyle(e)}class k7 extends Tg{readValueFromInstance(t,n){if(ti.has(n)){const r=Sc(n);return r&&r.default||0}else{const r=B7(t),i=(hp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Z0(t,n)}build(t,n,r,i){tc(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return oc(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;rn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){wp(t,n,r,i)}}class j7 extends Tg{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ti.has(n)){const r=Sc(n);return r&&r.default||0}return n=Sp.has(n)?n:Yu(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return Ep(t,n)}build(t,n,r,i){rc(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Ip(t,n,r,i)}mount(t){this.isSVGTag=ic(t.tagName),super.mount(t)}}const G7=(e,t)=>Qu(e)?new j7(t,{enableHardwareAcceleration:!1}):new k7(t,{enableHardwareAcceleration:!0}),H7={...g6,...kC,...C7,...{layout:{ProjectionNode:xg,MeasureLayout:Y0}}},Ji=Y4((e,t)=>_C(e,t,H7,G7));function Og(){const e=b.useRef(!1);return Uu(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function W7(){const e=Og(),[t,n]=b.useState(0),r=b.useCallback(()=>{e.current&&n(t+1)},[t]);return[b.useCallback(()=>vt.postRender(r),[r]),t]}class Z7 extends ne.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function X7({children:e,isPresent:t}){const n=b.useId(),r=b.useRef(null),i=b.useRef({width:0,height:0,top:0,left:0});return b.useInsertionEffect(()=>{const{width:a,height:l,top:u,left:c}=i.current;if(t||!r.current||!a||!l)return;r.current.dataset.motionPopId=n;const f=document.createElement("style");return document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
58
58
  [data-motion-pop-id="${n}"] {
59
59
  position: absolute !important;
60
60
  width: ${a}px !important;
@@ -85,7 +85,7 @@ Check the top-level render call using <`+H+">.")}return B}}function Ti(C,B){{if(
85
85
  *
86
86
  * This source code is licensed under the MIT license found in the
87
87
  * LICENSE file in the root directory of this source tree.
88
- */var lv;function PL(){return lv||(lv=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function L(q){return typeof q=="string"||typeof q=="function"||q===r||q===f||q===a||q===i||q===p||q===m||typeof q=="object"&&q!==null&&(q.$$typeof===x||q.$$typeof===v||q.$$typeof===l||q.$$typeof===u||q.$$typeof===h||q.$$typeof===E||q.$$typeof===P||q.$$typeof===M||q.$$typeof===S)}function D(q){if(typeof q=="object"&&q!==null){var ce=q.$$typeof;switch(ce){case t:var Q=q.type;switch(Q){case c:case f:case r:case a:case i:case p:return Q;default:var de=Q&&Q.$$typeof;switch(de){case u:case h:case x:case v:case l:return de;default:return ce}}case n:return ce}}}var N=c,z=f,X=u,Y=l,fe=t,Te=h,Ge=r,Xe=x,pe=v,xe=n,be=a,Ae=i,$e=p,Je=!1;function O(q){return Je||(Je=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(q)||D(q)===c}function T(q){return D(q)===f}function R(q){return D(q)===u}function F(q){return D(q)===l}function y(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function j(q){return D(q)===h}function ee(q){return D(q)===r}function ae(q){return D(q)===x}function U(q){return D(q)===v}function K(q){return D(q)===n}function ie(q){return D(q)===a}function oe(q){return D(q)===i}function le(q){return D(q)===p}ft.AsyncMode=N,ft.ConcurrentMode=z,ft.ContextConsumer=X,ft.ContextProvider=Y,ft.Element=fe,ft.ForwardRef=Te,ft.Fragment=Ge,ft.Lazy=Xe,ft.Memo=pe,ft.Portal=xe,ft.Profiler=be,ft.StrictMode=Ae,ft.Suspense=$e,ft.isAsyncMode=O,ft.isConcurrentMode=T,ft.isContextConsumer=R,ft.isContextProvider=F,ft.isElement=y,ft.isForwardRef=j,ft.isFragment=ee,ft.isLazy=ae,ft.isMemo=U,ft.isPortal=K,ft.isProfiler=ie,ft.isStrictMode=oe,ft.isSuspense=le,ft.isValidElementType=L,ft.typeOf=D}()),ft}var dt={};/** @license React v16.13.1
88
+ */var lv;function PL(){return lv||(lv=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function L(q){return typeof q=="string"||typeof q=="function"||q===r||q===f||q===a||q===i||q===p||q===m||typeof q=="object"&&q!==null&&(q.$$typeof===x||q.$$typeof===v||q.$$typeof===l||q.$$typeof===u||q.$$typeof===h||q.$$typeof===E||q.$$typeof===P||q.$$typeof===M||q.$$typeof===S)}function D(q){if(typeof q=="object"&&q!==null){var ce=q.$$typeof;switch(ce){case t:var Q=q.type;switch(Q){case c:case f:case r:case a:case i:case p:return Q;default:var de=Q&&Q.$$typeof;switch(de){case u:case h:case x:case v:case l:return de;default:return ce}}case n:return ce}}}var N=c,z=f,X=u,Y=l,fe=t,Te=h,Ge=r,Xe=x,pe=v,xe=n,be=a,Ee=i,$e=p,Je=!1;function O(q){return Je||(Je=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(q)||D(q)===c}function T(q){return D(q)===f}function R(q){return D(q)===u}function F(q){return D(q)===l}function y(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function j(q){return D(q)===h}function ee(q){return D(q)===r}function ae(q){return D(q)===x}function U(q){return D(q)===v}function K(q){return D(q)===n}function ie(q){return D(q)===a}function oe(q){return D(q)===i}function le(q){return D(q)===p}ft.AsyncMode=N,ft.ConcurrentMode=z,ft.ContextConsumer=X,ft.ContextProvider=Y,ft.Element=fe,ft.ForwardRef=Te,ft.Fragment=Ge,ft.Lazy=Xe,ft.Memo=pe,ft.Portal=xe,ft.Profiler=be,ft.StrictMode=Ee,ft.Suspense=$e,ft.isAsyncMode=O,ft.isConcurrentMode=T,ft.isContextConsumer=R,ft.isContextProvider=F,ft.isElement=y,ft.isForwardRef=j,ft.isFragment=ee,ft.isLazy=ae,ft.isMemo=U,ft.isPortal=K,ft.isProfiler=ie,ft.isStrictMode=oe,ft.isSuspense=le,ft.isValidElementType=L,ft.typeOf=D}()),ft}var dt={};/** @license React v16.13.1
89
89
  * react-is.production.min.js
90
90
  *
91
91
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -96,8 +96,8 @@ Check the top-level render call using <`+H+">.")}return B}}function Ti(C,B){{if(
96
96
  object-assign
97
97
  (c) Sindre Sorhus
98
98
  @license MIT
99
- */var Af,cv;function OL(){if(cv)return Af;cv=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var l={},u=0;u<10;u++)l["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(l).map(function(h){return l[h]});if(c.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(h){f[h]=h}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Af=i()?Object.assign:function(a,l){for(var u,c=r(a),f,h=1;h<arguments.length;h++){u=Object(arguments[h]);for(var p in u)t.call(u,p)&&(c[p]=u[p]);if(e){f=e(u);for(var m=0;m<f.length;m++)n.call(u,f[m])&&(c[f[m]]=u[f[m]])}}return c},Af}var _f,fv;function dv(){return fv||(fv=1,_f=Function.call.bind(Object.prototype.hasOwnProperty)),_f}var Pf,hv;function FL(){if(hv)return Pf;hv=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=wf(),n={},r=dv();e=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function i(a,l,u,c,f){if(process.env.NODE_ENV!=="production"){for(var h in a)if(r(a,h)){var p;try{if(typeof a[h]!="function"){var m=Error((c||"React class")+": "+u+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=a[h](l,h,c,u,null,t)}catch(x){p=x}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+u+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var v=f?f():"";e("Failed "+u+" type: "+p.message+(v??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Pf=i,Pf}var Tf,pv;function ML(){if(pv)return Tf;pv=1;var e=Ef,t=OL(),n=wf(),r=dv(),i=FL(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(u){var c="Warning: "+u;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function l(){return null}return Tf=function(u,c){var f=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function p(T){var R=T&&(f&&T[f]||T[h]);if(typeof R=="function")return R}var m="<<anonymous>>",v={array:P("array"),bigint:P("bigint"),bool:P("boolean"),func:P("function"),number:P("number"),object:P("object"),string:P("string"),symbol:P("symbol"),any:M(),arrayOf:L,element:D(),elementType:N(),instanceOf:z,node:Te(),objectOf:Y,oneOf:X,oneOfType:fe,shape:Xe,exact:pe};function x(T,R){return T===R?T!==0||1/T===1/R:T!==T&&R!==R}function S(T,R){this.message=T,this.data=R&&typeof R=="object"?R:{},this.stack=""}S.prototype=Error.prototype;function E(T){if(process.env.NODE_ENV!=="production")var R={},F=0;function y(ee,ae,U,K,ie,oe,le){if(K=K||m,oe=oe||U,le!==n){if(c){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ce=K+":"+U;!R[ce]&&F<3&&(a("You are manually calling a React.PropTypes validation function for the `"+oe+"` prop on `"+K+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),R[ce]=!0,F++)}}return ae[U]==null?ee?ae[U]===null?new S("The "+ie+" `"+oe+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new S("The "+ie+" `"+oe+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:T(ae,U,K,ie,oe)}var j=y.bind(null,!1);return j.isRequired=y.bind(null,!0),j}function P(T){function R(F,y,j,ee,ae,U){var K=F[y],ie=Ae(K);if(ie!==T){var oe=$e(K);return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+oe+"` supplied to `"+j+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return E(R)}function M(){return E(l)}function L(T){function R(F,y,j,ee,ae){if(typeof T!="function")return new S("Property `"+ae+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var U=F[y];if(!Array.isArray(U)){var K=Ae(U);return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+K+"` supplied to `"+j+"`, expected an array."))}for(var ie=0;ie<U.length;ie++){var oe=T(U,ie,j,ee,ae+"["+ie+"]",n);if(oe instanceof Error)return oe}return null}return E(R)}function D(){function T(R,F,y,j,ee){var ae=R[F];if(!u(ae)){var U=Ae(ae);return new S("Invalid "+j+" `"+ee+"` of type "+("`"+U+"` supplied to `"+y+"`, expected a single ReactElement."))}return null}return E(T)}function N(){function T(R,F,y,j,ee){var ae=R[F];if(!e.isValidElementType(ae)){var U=Ae(ae);return new S("Invalid "+j+" `"+ee+"` of type "+("`"+U+"` supplied to `"+y+"`, expected a single ReactElement type."))}return null}return E(T)}function z(T){function R(F,y,j,ee,ae){if(!(F[y]instanceof T)){var U=T.name||m,K=O(F[y]);return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+K+"` supplied to `"+j+"`, expected ")+("instance of `"+U+"`."))}return null}return E(R)}function X(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),l;function R(F,y,j,ee,ae){for(var U=F[y],K=0;K<T.length;K++)if(x(U,T[K]))return null;var ie=JSON.stringify(T,function(le,q){var ce=$e(q);return ce==="symbol"?String(q):q});return new S("Invalid "+ee+" `"+ae+"` of value `"+String(U)+"` "+("supplied to `"+j+"`, expected one of "+ie+"."))}return E(R)}function Y(T){function R(F,y,j,ee,ae){if(typeof T!="function")return new S("Property `"+ae+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var U=F[y],K=Ae(U);if(K!=="object")return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+K+"` supplied to `"+j+"`, expected an object."));for(var ie in U)if(r(U,ie)){var oe=T(U,ie,j,ee,ae+"."+ie,n);if(oe instanceof Error)return oe}return null}return E(R)}function fe(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var R=0;R<T.length;R++){var F=T[R];if(typeof F!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Je(F)+" at index "+R+"."),l}function y(j,ee,ae,U,K){for(var ie=[],oe=0;oe<T.length;oe++){var le=T[oe],q=le(j,ee,ae,U,K,n);if(q==null)return null;q.data&&r(q.data,"expectedType")&&ie.push(q.data.expectedType)}var ce=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new S("Invalid "+U+" `"+K+"` supplied to "+("`"+ae+"`"+ce+"."))}return E(y)}function Te(){function T(R,F,y,j,ee){return xe(R[F])?null:new S("Invalid "+j+" `"+ee+"` supplied to "+("`"+y+"`, expected a ReactNode."))}return E(T)}function Ge(T,R,F,y,j){return new S((T||"React class")+": "+R+" type `"+F+"."+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function Xe(T){function R(F,y,j,ee,ae){var U=F[y],K=Ae(U);if(K!=="object")return new S("Invalid "+ee+" `"+ae+"` of type `"+K+"` "+("supplied to `"+j+"`, expected `object`."));for(var ie in T){var oe=T[ie];if(typeof oe!="function")return Ge(j,ee,ae,ie,$e(oe));var le=oe(U,ie,j,ee,ae+"."+ie,n);if(le)return le}return null}return E(R)}function pe(T){function R(F,y,j,ee,ae){var U=F[y],K=Ae(U);if(K!=="object")return new S("Invalid "+ee+" `"+ae+"` of type `"+K+"` "+("supplied to `"+j+"`, expected `object`."));var ie=t({},F[y],T);for(var oe in ie){var le=T[oe];if(r(T,oe)&&typeof le!="function")return Ge(j,ee,ae,oe,$e(le));if(!le)return new S("Invalid "+ee+" `"+ae+"` key `"+oe+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(F[y],null," ")+`
100
- Valid keys: `+JSON.stringify(Object.keys(T),null," "));var q=le(U,oe,j,ee,ae+"."+oe,n);if(q)return q}return null}return E(R)}function xe(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(xe);if(T===null||u(T))return!0;var R=p(T);if(R){var F=R.call(T),y;if(R!==T.entries){for(;!(y=F.next()).done;)if(!xe(y.value))return!1}else for(;!(y=F.next()).done;){var j=y.value;if(j&&!xe(j[1]))return!1}}else return!1;return!0;default:return!1}}function be(T,R){return T==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function Ae(T){var R=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":be(R,T)?"symbol":R}function $e(T){if(typeof T>"u"||T===null)return""+T;var R=Ae(T);if(R==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return R}function Je(T){var R=$e(T);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function O(T){return!T.constructor||!T.constructor.name?m:T.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},Tf}if(process.env.NODE_ENV!=="production"){var RL=Ef,LL=!0;Cf.exports=ML()(RL.isElement,LL)}else Cf.exports=_L()();var VL=Cf.exports;const he=Hu(VL);function DL(){this.__data__=[],this.size=0}function Ia(e,t){return e===t||e!==e&&t!==t}function nl(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}var NL=Array.prototype,$L=NL.splice;function BL(e){var t=this.__data__,n=nl(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():$L.call(t,n,1),--this.size,!0}function kL(e){var t=this.__data__,n=nl(t,e);return n<0?void 0:t[n][1]}function jL(e){return nl(this.__data__,e)>-1}function GL(e,t){var n=this.__data__,r=nl(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fr.prototype.clear=DL,fr.prototype.delete=BL,fr.prototype.get=kL,fr.prototype.has=jL,fr.prototype.set=GL;function HL(){this.__data__=new fr,this.size=0}function WL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function ZL(e){return this.__data__.get(e)}function XL(e){return this.__data__.has(e)}var zL=typeof global=="object"&&global&&global.Object===Object&&global;const gv=zL;var UL=typeof self=="object"&&self&&self.Object===Object&&self,YL=gv||UL||Function("return this")();const Dn=YL;var JL=Dn.Symbol;const Br=JL;var mv=Object.prototype,KL=mv.hasOwnProperty,qL=mv.toString,Ea=Br?Br.toStringTag:void 0;function QL(e){var t=KL.call(e,Ea),n=e[Ea];try{e[Ea]=void 0;var r=!0}catch{}var i=qL.call(e);return r&&(t?e[Ea]=n:delete e[Ea]),i}var eV=Object.prototype,tV=eV.toString;function nV(e){return tV.call(e)}var rV="[object Null]",iV="[object Undefined]",vv=Br?Br.toStringTag:void 0;function fi(e){return e==null?e===void 0?iV:rV:vv&&vv in Object(e)?QL(e):nV(e)}function En(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var oV="[object AsyncFunction]",aV="[object Function]",sV="[object GeneratorFunction]",lV="[object Proxy]";function Of(e){if(!En(e))return!1;var t=fi(e);return t==aV||t==sV||t==oV||t==lV}var uV=Dn["__core-js_shared__"];const Ff=uV;var bv=function(){var e=/[^.]+$/.exec(Ff&&Ff.keys&&Ff.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function cV(e){return!!bv&&bv in e}var fV=Function.prototype,dV=fV.toString;function di(e){if(e!=null){try{return dV.call(e)}catch{}try{return e+""}catch{}}return""}var hV=/[\\^$.*+?()[\]{}|]/g,pV=/^\[object .+?Constructor\]$/,gV=Function.prototype,mV=Object.prototype,vV=gV.toString,bV=mV.hasOwnProperty,yV=RegExp("^"+vV.call(bV).replace(hV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CV(e){if(!En(e)||cV(e))return!1;var t=Of(e)?yV:pV;return t.test(di(e))}function xV(e,t){return e==null?void 0:e[t]}function hi(e,t){var n=xV(e,t);return CV(n)?n:void 0}var wV=hi(Dn,"Map");const Aa=wV;var SV=hi(Object,"create");const _a=SV;function IV(){this.__data__=_a?_a(null):{},this.size=0}function EV(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var AV="__lodash_hash_undefined__",_V=Object.prototype,PV=_V.hasOwnProperty;function TV(e){var t=this.__data__;if(_a){var n=t[e];return n===AV?void 0:n}return PV.call(t,e)?t[e]:void 0}var OV=Object.prototype,FV=OV.hasOwnProperty;function MV(e){var t=this.__data__;return _a?t[e]!==void 0:FV.call(t,e)}var RV="__lodash_hash_undefined__";function LV(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_a&&t===void 0?RV:t,this}function pi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pi.prototype.clear=IV,pi.prototype.delete=EV,pi.prototype.get=TV,pi.prototype.has=MV,pi.prototype.set=LV;function VV(){this.size=0,this.__data__={hash:new pi,map:new(Aa||fr),string:new pi}}function DV(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function rl(e,t){var n=e.__data__;return DV(t)?n[typeof t=="string"?"string":"hash"]:n.map}function NV(e){var t=rl(this,e).delete(e);return this.size-=t?1:0,t}function $V(e){return rl(this,e).get(e)}function BV(e){return rl(this,e).has(e)}function kV(e,t){var n=rl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function dr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dr.prototype.clear=VV,dr.prototype.delete=NV,dr.prototype.get=$V,dr.prototype.has=BV,dr.prototype.set=kV;var jV=200;function GV(e,t){var n=this.__data__;if(n instanceof fr){var r=n.__data__;if(!Aa||r.length<jV-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new dr(r)}return n.set(e,t),this.size=n.size,this}function Kn(e){var t=this.__data__=new fr(e);this.size=t.size}Kn.prototype.clear=HL,Kn.prototype.delete=WL,Kn.prototype.get=ZL,Kn.prototype.has=XL,Kn.prototype.set=GV;var HV=function(){try{var e=hi(Object,"defineProperty");return e({},"",{}),e}catch{}}();const il=HV;function Mf(e,t,n){t=="__proto__"&&il?il(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Rf(e,t,n){(n!==void 0&&!Ia(e[t],n)||n===void 0&&!(t in e))&&Mf(e,t,n)}function WV(e){return function(t,n,r){for(var i=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var ZV=WV();const yv=ZV;var Cv=typeof je=="object"&&je&&!je.nodeType&&je,xv=Cv&&typeof module=="object"&&module&&!module.nodeType&&module,XV=xv&&xv.exports===Cv,wv=XV?Dn.Buffer:void 0,Sv=wv?wv.allocUnsafe:void 0;function zV(e,t){if(t)return e.slice();var n=e.length,r=Sv?Sv(n):new e.constructor(n);return e.copy(r),r}var UV=Dn.Uint8Array;const ol=UV;function YV(e){var t=new e.constructor(e.byteLength);return new ol(t).set(new ol(e)),t}function JV(e,t){var n=t?YV(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function KV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Iv=Object.create,qV=function(){function e(){}return function(t){if(!En(t))return{};if(Iv)return Iv(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const QV=qV;function Ev(e,t){return function(n){return e(t(n))}}var eD=Ev(Object.getPrototypeOf,Object);const Av=eD;var tD=Object.prototype;function Lf(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||tD;return e===n}function nD(e){return typeof e.constructor=="function"&&!Lf(e)?QV(Av(e)):{}}function kr(e){return e!=null&&typeof e=="object"}var rD="[object Arguments]";function _v(e){return kr(e)&&fi(e)==rD}var Pv=Object.prototype,iD=Pv.hasOwnProperty,oD=Pv.propertyIsEnumerable,aD=_v(function(){return arguments}())?_v:function(e){return kr(e)&&iD.call(e,"callee")&&!oD.call(e,"callee")};const al=aD;var sD=Array.isArray;const hn=sD;var lD=9007199254740991;function Vf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=lD}function so(e){return e!=null&&Vf(e.length)&&!Of(e)}function uD(e){return kr(e)&&so(e)}function cD(){return!1}var Tv=typeof je=="object"&&je&&!je.nodeType&&je,Ov=Tv&&typeof module=="object"&&module&&!module.nodeType&&module,fD=Ov&&Ov.exports===Tv,Fv=fD?Dn.Buffer:void 0,dD=Fv?Fv.isBuffer:void 0,hD=dD||cD;const sl=hD;var pD="[object Object]",gD=Function.prototype,mD=Object.prototype,Mv=gD.toString,vD=mD.hasOwnProperty,bD=Mv.call(Object);function yD(e){if(!kr(e)||fi(e)!=pD)return!1;var t=Av(e);if(t===null)return!0;var n=vD.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Mv.call(n)==bD}var CD="[object Arguments]",xD="[object Array]",wD="[object Boolean]",SD="[object Date]",ID="[object Error]",ED="[object Function]",AD="[object Map]",_D="[object Number]",PD="[object Object]",TD="[object RegExp]",OD="[object Set]",FD="[object String]",MD="[object WeakMap]",RD="[object ArrayBuffer]",LD="[object DataView]",VD="[object Float32Array]",DD="[object Float64Array]",ND="[object Int8Array]",$D="[object Int16Array]",BD="[object Int32Array]",kD="[object Uint8Array]",jD="[object Uint8ClampedArray]",GD="[object Uint16Array]",HD="[object Uint32Array]",xt={};xt[VD]=xt[DD]=xt[ND]=xt[$D]=xt[BD]=xt[kD]=xt[jD]=xt[GD]=xt[HD]=!0,xt[CD]=xt[xD]=xt[RD]=xt[wD]=xt[LD]=xt[SD]=xt[ID]=xt[ED]=xt[AD]=xt[_D]=xt[PD]=xt[TD]=xt[OD]=xt[FD]=xt[MD]=!1;function WD(e){return kr(e)&&Vf(e.length)&&!!xt[fi(e)]}function ZD(e){return function(t){return e(t)}}var Rv=typeof je=="object"&&je&&!je.nodeType&&je,Pa=Rv&&typeof module=="object"&&module&&!module.nodeType&&module,XD=Pa&&Pa.exports===Rv,Df=XD&&gv.process,zD=function(){try{var e=Pa&&Pa.require&&Pa.require("util").types;return e||Df&&Df.binding&&Df.binding("util")}catch{}}();const Lv=zD;var Vv=Lv&&Lv.isTypedArray,UD=Vv?ZD(Vv):WD;const Nf=UD;function $f(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var YD=Object.prototype,JD=YD.hasOwnProperty;function KD(e,t,n){var r=e[t];(!(JD.call(e,t)&&Ia(r,n))||n===void 0&&!(t in e))&&Mf(e,t,n)}function qD(e,t,n,r){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?Mf(n,u,c):KD(n,u,c)}return n}function QD(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var eN=9007199254740991,tN=/^(?:0|[1-9]\d*)$/;function Bf(e,t){var n=typeof e;return t=t??eN,!!t&&(n=="number"||n!="symbol"&&tN.test(e))&&e>-1&&e%1==0&&e<t}var nN=Object.prototype,rN=nN.hasOwnProperty;function Dv(e,t){var n=hn(e),r=!n&&al(e),i=!n&&!r&&sl(e),a=!n&&!r&&!i&&Nf(e),l=n||r||i||a,u=l?QD(e.length,String):[],c=u.length;for(var f in e)(t||rN.call(e,f))&&!(l&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Bf(f,c)))&&u.push(f);return u}function iN(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var oN=Object.prototype,aN=oN.hasOwnProperty;function sN(e){if(!En(e))return iN(e);var t=Lf(e),n=[];for(var r in e)r=="constructor"&&(t||!aN.call(e,r))||n.push(r);return n}function Nv(e){return so(e)?Dv(e,!0):sN(e)}function lN(e){return qD(e,Nv(e))}function uN(e,t,n,r,i,a,l){var u=$f(e,n),c=$f(t,n),f=l.get(c);if(f){Rf(e,n,f);return}var h=a?a(u,c,n+"",e,t,l):void 0,p=h===void 0;if(p){var m=hn(c),v=!m&&sl(c),x=!m&&!v&&Nf(c);h=c,m||v||x?hn(u)?h=u:uD(u)?h=KV(u):v?(p=!1,h=zV(c,!0)):x?(p=!1,h=JV(c,!0)):h=[]:yD(c)||al(c)?(h=u,al(u)?h=lN(u):(!En(u)||Of(u))&&(h=nD(c))):p=!1}p&&(l.set(c,h),i(h,c,r,a,l),l.delete(c)),Rf(e,n,h)}function $v(e,t,n,r,i){e!==t&&yv(t,function(a,l){if(i||(i=new Kn),En(a))uN(e,t,l,n,$v,r,i);else{var u=r?r($f(e,l),a,l+"",e,t,i):void 0;u===void 0&&(u=a),Rf(e,l,u)}},Nv)}function ll(e){return e}function cN(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Bv=Math.max;function fN(e,t,n){return t=Bv(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Bv(r.length-t,0),l=Array(a);++i<a;)l[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(l),cN(e,this,u)}}function dN(e){return function(){return e}}var hN=il?function(e,t){return il(e,"toString",{configurable:!0,enumerable:!1,value:dN(t),writable:!0})}:ll;const pN=hN;var gN=800,mN=16,vN=Date.now;function bN(e){var t=0,n=0;return function(){var r=vN(),i=mN-(r-n);if(n=r,i>0){if(++t>=gN)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var yN=bN(pN);const CN=yN;function xN(e,t){return CN(fN(e,t,ll),e+"")}function wN(e,t,n){if(!En(n))return!1;var r=typeof t;return(r=="number"?so(n)&&Bf(t,n.length):r=="string"&&t in n)?Ia(n[t],e):!1}function SN(e){return xN(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,l&&wN(n[0],n[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var IN=SN(function(e,t,n){$v(e,t,n)});const on=IN;var Ta=function(t){var n=t.zDepth,r=t.radius,i=t.background,a=t.children,l=t.styles,u=l===void 0?{}:l,c=ke(on({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+n+"px "+n*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},u),{"zDepth-1":n===1});return b.createElement("div",{style:c.wrap},b.createElement("div",{style:c.bg}),b.createElement("div",{style:c.content},a))};Ta.propTypes={background:he.string,zDepth:he.oneOf([0,1,2,3,4,5]),radius:he.number,styles:he.object},Ta.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var EN=function(){return Dn.Date.now()};const kf=EN;var AN=/\s/;function _N(e){for(var t=e.length;t--&&AN.test(e.charAt(t)););return t}var PN=/^\s+/;function TN(e){return e&&e.slice(0,_N(e)+1).replace(PN,"")}var ON="[object Symbol]";function ul(e){return typeof e=="symbol"||kr(e)&&fi(e)==ON}var kv=NaN,FN=/^[-+]0x[0-9a-f]+$/i,MN=/^0b[01]+$/i,RN=/^0o[0-7]+$/i,LN=parseInt;function jv(e){if(typeof e=="number")return e;if(ul(e))return kv;if(En(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=En(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=TN(e);var n=MN.test(e);return n||RN.test(e)?LN(e.slice(2),n?2:8):FN.test(e)?kv:+e}var VN="Expected a function",DN=Math.max,NN=Math.min;function Gv(e,t,n){var r,i,a,l,u,c,f=0,h=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError(VN);t=jv(t)||0,En(n)&&(h=!!n.leading,p="maxWait"in n,a=p?DN(jv(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m);function v(z){var X=r,Y=i;return r=i=void 0,f=z,l=e.apply(Y,X),l}function x(z){return f=z,u=setTimeout(P,t),h?v(z):l}function S(z){var X=z-c,Y=z-f,fe=t-X;return p?NN(fe,a-Y):fe}function E(z){var X=z-c,Y=z-f;return c===void 0||X>=t||X<0||p&&Y>=a}function P(){var z=kf();if(E(z))return M(z);u=setTimeout(P,S(z))}function M(z){return u=void 0,m&&r?v(z):(r=i=void 0,l)}function L(){u!==void 0&&clearTimeout(u),f=0,r=c=i=u=void 0}function D(){return u===void 0?l:M(kf())}function N(){var z=kf(),X=E(z);if(r=arguments,i=this,c=z,X){if(u===void 0)return x(c);if(p)return clearTimeout(u),u=setTimeout(P,t),v(c)}return u===void 0&&(u=setTimeout(P,t)),l}return N.cancel=L,N.flush=D,N}var $N="Expected a function";function BN(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError($N);return En(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Gv(e,t,{leading:r,maxWait:t,trailing:i})}var kN=function(t,n,r){var i=r.getBoundingClientRect(),a=i.width,l=i.height,u=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,f=u-(r.getBoundingClientRect().left+window.pageXOffset),h=c-(r.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>a&&(f=a),h<0?h=0:h>l&&(h=l);var p=f/a,m=1-h/l;return{h:n.h,s:p,v:m,a:n.a,source:"hsv"}},jN=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function GN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HN(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function WN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var cl=function(e){WN(t,e);function t(n){GN(this,t);var r=HN(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.handleChange=function(i){typeof r.props.onChange=="function"&&r.throttle(r.props.onChange,kN(i,r.props.hsl,r.container),i)},r.handleMouseDown=function(i){r.handleChange(i);var a=r.getContainerRenderWindow();a.addEventListener("mousemove",r.handleChange),a.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=BN(function(i,a,l){i(a,l)},50),r}return jN(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var r=this.container,i=window;!i.document.contains(r)&&i.parent!==i;)i=i.parent;return i}},{key:"unbindEventListeners",value:function(){var r=this.getContainerRenderWindow();r.removeEventListener("mousemove",this.handleChange),r.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var r=this,i=this.props.style||{},a=i.color,l=i.white,u=i.black,c=i.pointer,f=i.circle,h=ke({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(this.props.hsv.v*100)+100+"%",left:this.props.hsv.s*100+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
99
+ */var Af,cv;function OL(){if(cv)return Af;cv=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var l={},u=0;u<10;u++)l["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(l).map(function(h){return l[h]});if(c.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(h){f[h]=h}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Af=i()?Object.assign:function(a,l){for(var u,c=r(a),f,h=1;h<arguments.length;h++){u=Object(arguments[h]);for(var p in u)t.call(u,p)&&(c[p]=u[p]);if(e){f=e(u);for(var m=0;m<f.length;m++)n.call(u,f[m])&&(c[f[m]]=u[f[m]])}}return c},Af}var _f,fv;function dv(){return fv||(fv=1,_f=Function.call.bind(Object.prototype.hasOwnProperty)),_f}var Pf,hv;function FL(){if(hv)return Pf;hv=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=wf(),n={},r=dv();e=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function i(a,l,u,c,f){if(process.env.NODE_ENV!=="production"){for(var h in a)if(r(a,h)){var p;try{if(typeof a[h]!="function"){var m=Error((c||"React class")+": "+u+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=a[h](l,h,c,u,null,t)}catch(x){p=x}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+u+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var v=f?f():"";e("Failed "+u+" type: "+p.message+(v??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Pf=i,Pf}var Tf,pv;function ML(){if(pv)return Tf;pv=1;var e=Ef,t=OL(),n=wf(),r=dv(),i=FL(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(u){var c="Warning: "+u;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function l(){return null}return Tf=function(u,c){var f=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function p(T){var R=T&&(f&&T[f]||T[h]);if(typeof R=="function")return R}var m="<<anonymous>>",v={array:P("array"),bigint:P("bigint"),bool:P("boolean"),func:P("function"),number:P("number"),object:P("object"),string:P("string"),symbol:P("symbol"),any:M(),arrayOf:L,element:D(),elementType:N(),instanceOf:z,node:Te(),objectOf:Y,oneOf:X,oneOfType:fe,shape:Xe,exact:pe};function x(T,R){return T===R?T!==0||1/T===1/R:T!==T&&R!==R}function S(T,R){this.message=T,this.data=R&&typeof R=="object"?R:{},this.stack=""}S.prototype=Error.prototype;function E(T){if(process.env.NODE_ENV!=="production")var R={},F=0;function y(ee,ae,U,K,ie,oe,le){if(K=K||m,oe=oe||U,le!==n){if(c){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ce=K+":"+U;!R[ce]&&F<3&&(a("You are manually calling a React.PropTypes validation function for the `"+oe+"` prop on `"+K+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),R[ce]=!0,F++)}}return ae[U]==null?ee?ae[U]===null?new S("The "+ie+" `"+oe+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new S("The "+ie+" `"+oe+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:T(ae,U,K,ie,oe)}var j=y.bind(null,!1);return j.isRequired=y.bind(null,!0),j}function P(T){function R(F,y,j,ee,ae,U){var K=F[y],ie=Ee(K);if(ie!==T){var oe=$e(K);return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+oe+"` supplied to `"+j+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return E(R)}function M(){return E(l)}function L(T){function R(F,y,j,ee,ae){if(typeof T!="function")return new S("Property `"+ae+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var U=F[y];if(!Array.isArray(U)){var K=Ee(U);return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+K+"` supplied to `"+j+"`, expected an array."))}for(var ie=0;ie<U.length;ie++){var oe=T(U,ie,j,ee,ae+"["+ie+"]",n);if(oe instanceof Error)return oe}return null}return E(R)}function D(){function T(R,F,y,j,ee){var ae=R[F];if(!u(ae)){var U=Ee(ae);return new S("Invalid "+j+" `"+ee+"` of type "+("`"+U+"` supplied to `"+y+"`, expected a single ReactElement."))}return null}return E(T)}function N(){function T(R,F,y,j,ee){var ae=R[F];if(!e.isValidElementType(ae)){var U=Ee(ae);return new S("Invalid "+j+" `"+ee+"` of type "+("`"+U+"` supplied to `"+y+"`, expected a single ReactElement type."))}return null}return E(T)}function z(T){function R(F,y,j,ee,ae){if(!(F[y]instanceof T)){var U=T.name||m,K=O(F[y]);return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+K+"` supplied to `"+j+"`, expected ")+("instance of `"+U+"`."))}return null}return E(R)}function X(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),l;function R(F,y,j,ee,ae){for(var U=F[y],K=0;K<T.length;K++)if(x(U,T[K]))return null;var ie=JSON.stringify(T,function(le,q){var ce=$e(q);return ce==="symbol"?String(q):q});return new S("Invalid "+ee+" `"+ae+"` of value `"+String(U)+"` "+("supplied to `"+j+"`, expected one of "+ie+"."))}return E(R)}function Y(T){function R(F,y,j,ee,ae){if(typeof T!="function")return new S("Property `"+ae+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var U=F[y],K=Ee(U);if(K!=="object")return new S("Invalid "+ee+" `"+ae+"` of type "+("`"+K+"` supplied to `"+j+"`, expected an object."));for(var ie in U)if(r(U,ie)){var oe=T(U,ie,j,ee,ae+"."+ie,n);if(oe instanceof Error)return oe}return null}return E(R)}function fe(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var R=0;R<T.length;R++){var F=T[R];if(typeof F!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Je(F)+" at index "+R+"."),l}function y(j,ee,ae,U,K){for(var ie=[],oe=0;oe<T.length;oe++){var le=T[oe],q=le(j,ee,ae,U,K,n);if(q==null)return null;q.data&&r(q.data,"expectedType")&&ie.push(q.data.expectedType)}var ce=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new S("Invalid "+U+" `"+K+"` supplied to "+("`"+ae+"`"+ce+"."))}return E(y)}function Te(){function T(R,F,y,j,ee){return xe(R[F])?null:new S("Invalid "+j+" `"+ee+"` supplied to "+("`"+y+"`, expected a ReactNode."))}return E(T)}function Ge(T,R,F,y,j){return new S((T||"React class")+": "+R+" type `"+F+"."+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function Xe(T){function R(F,y,j,ee,ae){var U=F[y],K=Ee(U);if(K!=="object")return new S("Invalid "+ee+" `"+ae+"` of type `"+K+"` "+("supplied to `"+j+"`, expected `object`."));for(var ie in T){var oe=T[ie];if(typeof oe!="function")return Ge(j,ee,ae,ie,$e(oe));var le=oe(U,ie,j,ee,ae+"."+ie,n);if(le)return le}return null}return E(R)}function pe(T){function R(F,y,j,ee,ae){var U=F[y],K=Ee(U);if(K!=="object")return new S("Invalid "+ee+" `"+ae+"` of type `"+K+"` "+("supplied to `"+j+"`, expected `object`."));var ie=t({},F[y],T);for(var oe in ie){var le=T[oe];if(r(T,oe)&&typeof le!="function")return Ge(j,ee,ae,oe,$e(le));if(!le)return new S("Invalid "+ee+" `"+ae+"` key `"+oe+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(F[y],null," ")+`
100
+ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var q=le(U,oe,j,ee,ae+"."+oe,n);if(q)return q}return null}return E(R)}function xe(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(xe);if(T===null||u(T))return!0;var R=p(T);if(R){var F=R.call(T),y;if(R!==T.entries){for(;!(y=F.next()).done;)if(!xe(y.value))return!1}else for(;!(y=F.next()).done;){var j=y.value;if(j&&!xe(j[1]))return!1}}else return!1;return!0;default:return!1}}function be(T,R){return T==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function Ee(T){var R=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":be(R,T)?"symbol":R}function $e(T){if(typeof T>"u"||T===null)return""+T;var R=Ee(T);if(R==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return R}function Je(T){var R=$e(T);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function O(T){return!T.constructor||!T.constructor.name?m:T.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},Tf}if(process.env.NODE_ENV!=="production"){var RL=Ef,LL=!0;Cf.exports=ML()(RL.isElement,LL)}else Cf.exports=_L()();var VL=Cf.exports;const he=Hu(VL);function DL(){this.__data__=[],this.size=0}function Ia(e,t){return e===t||e!==e&&t!==t}function nl(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}var NL=Array.prototype,$L=NL.splice;function BL(e){var t=this.__data__,n=nl(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():$L.call(t,n,1),--this.size,!0}function kL(e){var t=this.__data__,n=nl(t,e);return n<0?void 0:t[n][1]}function jL(e){return nl(this.__data__,e)>-1}function GL(e,t){var n=this.__data__,r=nl(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fr.prototype.clear=DL,fr.prototype.delete=BL,fr.prototype.get=kL,fr.prototype.has=jL,fr.prototype.set=GL;function HL(){this.__data__=new fr,this.size=0}function WL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function ZL(e){return this.__data__.get(e)}function XL(e){return this.__data__.has(e)}var zL=typeof global=="object"&&global&&global.Object===Object&&global;const gv=zL;var UL=typeof self=="object"&&self&&self.Object===Object&&self,YL=gv||UL||Function("return this")();const Dn=YL;var JL=Dn.Symbol;const Br=JL;var mv=Object.prototype,KL=mv.hasOwnProperty,qL=mv.toString,Ea=Br?Br.toStringTag:void 0;function QL(e){var t=KL.call(e,Ea),n=e[Ea];try{e[Ea]=void 0;var r=!0}catch{}var i=qL.call(e);return r&&(t?e[Ea]=n:delete e[Ea]),i}var eV=Object.prototype,tV=eV.toString;function nV(e){return tV.call(e)}var rV="[object Null]",iV="[object Undefined]",vv=Br?Br.toStringTag:void 0;function fi(e){return e==null?e===void 0?iV:rV:vv&&vv in Object(e)?QL(e):nV(e)}function En(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var oV="[object AsyncFunction]",aV="[object Function]",sV="[object GeneratorFunction]",lV="[object Proxy]";function Of(e){if(!En(e))return!1;var t=fi(e);return t==aV||t==sV||t==oV||t==lV}var uV=Dn["__core-js_shared__"];const Ff=uV;var bv=function(){var e=/[^.]+$/.exec(Ff&&Ff.keys&&Ff.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function cV(e){return!!bv&&bv in e}var fV=Function.prototype,dV=fV.toString;function di(e){if(e!=null){try{return dV.call(e)}catch{}try{return e+""}catch{}}return""}var hV=/[\\^$.*+?()[\]{}|]/g,pV=/^\[object .+?Constructor\]$/,gV=Function.prototype,mV=Object.prototype,vV=gV.toString,bV=mV.hasOwnProperty,yV=RegExp("^"+vV.call(bV).replace(hV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CV(e){if(!En(e)||cV(e))return!1;var t=Of(e)?yV:pV;return t.test(di(e))}function xV(e,t){return e==null?void 0:e[t]}function hi(e,t){var n=xV(e,t);return CV(n)?n:void 0}var wV=hi(Dn,"Map");const Aa=wV;var SV=hi(Object,"create");const _a=SV;function IV(){this.__data__=_a?_a(null):{},this.size=0}function EV(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var AV="__lodash_hash_undefined__",_V=Object.prototype,PV=_V.hasOwnProperty;function TV(e){var t=this.__data__;if(_a){var n=t[e];return n===AV?void 0:n}return PV.call(t,e)?t[e]:void 0}var OV=Object.prototype,FV=OV.hasOwnProperty;function MV(e){var t=this.__data__;return _a?t[e]!==void 0:FV.call(t,e)}var RV="__lodash_hash_undefined__";function LV(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_a&&t===void 0?RV:t,this}function pi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pi.prototype.clear=IV,pi.prototype.delete=EV,pi.prototype.get=TV,pi.prototype.has=MV,pi.prototype.set=LV;function VV(){this.size=0,this.__data__={hash:new pi,map:new(Aa||fr),string:new pi}}function DV(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function rl(e,t){var n=e.__data__;return DV(t)?n[typeof t=="string"?"string":"hash"]:n.map}function NV(e){var t=rl(this,e).delete(e);return this.size-=t?1:0,t}function $V(e){return rl(this,e).get(e)}function BV(e){return rl(this,e).has(e)}function kV(e,t){var n=rl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function dr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dr.prototype.clear=VV,dr.prototype.delete=NV,dr.prototype.get=$V,dr.prototype.has=BV,dr.prototype.set=kV;var jV=200;function GV(e,t){var n=this.__data__;if(n instanceof fr){var r=n.__data__;if(!Aa||r.length<jV-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new dr(r)}return n.set(e,t),this.size=n.size,this}function Kn(e){var t=this.__data__=new fr(e);this.size=t.size}Kn.prototype.clear=HL,Kn.prototype.delete=WL,Kn.prototype.get=ZL,Kn.prototype.has=XL,Kn.prototype.set=GV;var HV=function(){try{var e=hi(Object,"defineProperty");return e({},"",{}),e}catch{}}();const il=HV;function Mf(e,t,n){t=="__proto__"&&il?il(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Rf(e,t,n){(n!==void 0&&!Ia(e[t],n)||n===void 0&&!(t in e))&&Mf(e,t,n)}function WV(e){return function(t,n,r){for(var i=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var ZV=WV();const yv=ZV;var Cv=typeof je=="object"&&je&&!je.nodeType&&je,xv=Cv&&typeof module=="object"&&module&&!module.nodeType&&module,XV=xv&&xv.exports===Cv,wv=XV?Dn.Buffer:void 0,Sv=wv?wv.allocUnsafe:void 0;function zV(e,t){if(t)return e.slice();var n=e.length,r=Sv?Sv(n):new e.constructor(n);return e.copy(r),r}var UV=Dn.Uint8Array;const ol=UV;function YV(e){var t=new e.constructor(e.byteLength);return new ol(t).set(new ol(e)),t}function JV(e,t){var n=t?YV(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function KV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Iv=Object.create,qV=function(){function e(){}return function(t){if(!En(t))return{};if(Iv)return Iv(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const QV=qV;function Ev(e,t){return function(n){return e(t(n))}}var eD=Ev(Object.getPrototypeOf,Object);const Av=eD;var tD=Object.prototype;function Lf(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||tD;return e===n}function nD(e){return typeof e.constructor=="function"&&!Lf(e)?QV(Av(e)):{}}function kr(e){return e!=null&&typeof e=="object"}var rD="[object Arguments]";function _v(e){return kr(e)&&fi(e)==rD}var Pv=Object.prototype,iD=Pv.hasOwnProperty,oD=Pv.propertyIsEnumerable,aD=_v(function(){return arguments}())?_v:function(e){return kr(e)&&iD.call(e,"callee")&&!oD.call(e,"callee")};const al=aD;var sD=Array.isArray;const hn=sD;var lD=9007199254740991;function Vf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=lD}function so(e){return e!=null&&Vf(e.length)&&!Of(e)}function uD(e){return kr(e)&&so(e)}function cD(){return!1}var Tv=typeof je=="object"&&je&&!je.nodeType&&je,Ov=Tv&&typeof module=="object"&&module&&!module.nodeType&&module,fD=Ov&&Ov.exports===Tv,Fv=fD?Dn.Buffer:void 0,dD=Fv?Fv.isBuffer:void 0,hD=dD||cD;const sl=hD;var pD="[object Object]",gD=Function.prototype,mD=Object.prototype,Mv=gD.toString,vD=mD.hasOwnProperty,bD=Mv.call(Object);function yD(e){if(!kr(e)||fi(e)!=pD)return!1;var t=Av(e);if(t===null)return!0;var n=vD.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Mv.call(n)==bD}var CD="[object Arguments]",xD="[object Array]",wD="[object Boolean]",SD="[object Date]",ID="[object Error]",ED="[object Function]",AD="[object Map]",_D="[object Number]",PD="[object Object]",TD="[object RegExp]",OD="[object Set]",FD="[object String]",MD="[object WeakMap]",RD="[object ArrayBuffer]",LD="[object DataView]",VD="[object Float32Array]",DD="[object Float64Array]",ND="[object Int8Array]",$D="[object Int16Array]",BD="[object Int32Array]",kD="[object Uint8Array]",jD="[object Uint8ClampedArray]",GD="[object Uint16Array]",HD="[object Uint32Array]",xt={};xt[VD]=xt[DD]=xt[ND]=xt[$D]=xt[BD]=xt[kD]=xt[jD]=xt[GD]=xt[HD]=!0,xt[CD]=xt[xD]=xt[RD]=xt[wD]=xt[LD]=xt[SD]=xt[ID]=xt[ED]=xt[AD]=xt[_D]=xt[PD]=xt[TD]=xt[OD]=xt[FD]=xt[MD]=!1;function WD(e){return kr(e)&&Vf(e.length)&&!!xt[fi(e)]}function ZD(e){return function(t){return e(t)}}var Rv=typeof je=="object"&&je&&!je.nodeType&&je,Pa=Rv&&typeof module=="object"&&module&&!module.nodeType&&module,XD=Pa&&Pa.exports===Rv,Df=XD&&gv.process,zD=function(){try{var e=Pa&&Pa.require&&Pa.require("util").types;return e||Df&&Df.binding&&Df.binding("util")}catch{}}();const Lv=zD;var Vv=Lv&&Lv.isTypedArray,UD=Vv?ZD(Vv):WD;const Nf=UD;function $f(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var YD=Object.prototype,JD=YD.hasOwnProperty;function KD(e,t,n){var r=e[t];(!(JD.call(e,t)&&Ia(r,n))||n===void 0&&!(t in e))&&Mf(e,t,n)}function qD(e,t,n,r){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?Mf(n,u,c):KD(n,u,c)}return n}function QD(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var eN=9007199254740991,tN=/^(?:0|[1-9]\d*)$/;function Bf(e,t){var n=typeof e;return t=t??eN,!!t&&(n=="number"||n!="symbol"&&tN.test(e))&&e>-1&&e%1==0&&e<t}var nN=Object.prototype,rN=nN.hasOwnProperty;function Dv(e,t){var n=hn(e),r=!n&&al(e),i=!n&&!r&&sl(e),a=!n&&!r&&!i&&Nf(e),l=n||r||i||a,u=l?QD(e.length,String):[],c=u.length;for(var f in e)(t||rN.call(e,f))&&!(l&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Bf(f,c)))&&u.push(f);return u}function iN(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var oN=Object.prototype,aN=oN.hasOwnProperty;function sN(e){if(!En(e))return iN(e);var t=Lf(e),n=[];for(var r in e)r=="constructor"&&(t||!aN.call(e,r))||n.push(r);return n}function Nv(e){return so(e)?Dv(e,!0):sN(e)}function lN(e){return qD(e,Nv(e))}function uN(e,t,n,r,i,a,l){var u=$f(e,n),c=$f(t,n),f=l.get(c);if(f){Rf(e,n,f);return}var h=a?a(u,c,n+"",e,t,l):void 0,p=h===void 0;if(p){var m=hn(c),v=!m&&sl(c),x=!m&&!v&&Nf(c);h=c,m||v||x?hn(u)?h=u:uD(u)?h=KV(u):v?(p=!1,h=zV(c,!0)):x?(p=!1,h=JV(c,!0)):h=[]:yD(c)||al(c)?(h=u,al(u)?h=lN(u):(!En(u)||Of(u))&&(h=nD(c))):p=!1}p&&(l.set(c,h),i(h,c,r,a,l),l.delete(c)),Rf(e,n,h)}function $v(e,t,n,r,i){e!==t&&yv(t,function(a,l){if(i||(i=new Kn),En(a))uN(e,t,l,n,$v,r,i);else{var u=r?r($f(e,l),a,l+"",e,t,i):void 0;u===void 0&&(u=a),Rf(e,l,u)}},Nv)}function ll(e){return e}function cN(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Bv=Math.max;function fN(e,t,n){return t=Bv(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Bv(r.length-t,0),l=Array(a);++i<a;)l[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(l),cN(e,this,u)}}function dN(e){return function(){return e}}var hN=il?function(e,t){return il(e,"toString",{configurable:!0,enumerable:!1,value:dN(t),writable:!0})}:ll;const pN=hN;var gN=800,mN=16,vN=Date.now;function bN(e){var t=0,n=0;return function(){var r=vN(),i=mN-(r-n);if(n=r,i>0){if(++t>=gN)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var yN=bN(pN);const CN=yN;function xN(e,t){return CN(fN(e,t,ll),e+"")}function wN(e,t,n){if(!En(n))return!1;var r=typeof t;return(r=="number"?so(n)&&Bf(t,n.length):r=="string"&&t in n)?Ia(n[t],e):!1}function SN(e){return xN(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,l&&wN(n[0],n[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var IN=SN(function(e,t,n){$v(e,t,n)});const on=IN;var Ta=function(t){var n=t.zDepth,r=t.radius,i=t.background,a=t.children,l=t.styles,u=l===void 0?{}:l,c=ke(on({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+n+"px "+n*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},u),{"zDepth-1":n===1});return b.createElement("div",{style:c.wrap},b.createElement("div",{style:c.bg}),b.createElement("div",{style:c.content},a))};Ta.propTypes={background:he.string,zDepth:he.oneOf([0,1,2,3,4,5]),radius:he.number,styles:he.object},Ta.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var EN=function(){return Dn.Date.now()};const kf=EN;var AN=/\s/;function _N(e){for(var t=e.length;t--&&AN.test(e.charAt(t)););return t}var PN=/^\s+/;function TN(e){return e&&e.slice(0,_N(e)+1).replace(PN,"")}var ON="[object Symbol]";function ul(e){return typeof e=="symbol"||kr(e)&&fi(e)==ON}var kv=NaN,FN=/^[-+]0x[0-9a-f]+$/i,MN=/^0b[01]+$/i,RN=/^0o[0-7]+$/i,LN=parseInt;function jv(e){if(typeof e=="number")return e;if(ul(e))return kv;if(En(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=En(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=TN(e);var n=MN.test(e);return n||RN.test(e)?LN(e.slice(2),n?2:8):FN.test(e)?kv:+e}var VN="Expected a function",DN=Math.max,NN=Math.min;function Gv(e,t,n){var r,i,a,l,u,c,f=0,h=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError(VN);t=jv(t)||0,En(n)&&(h=!!n.leading,p="maxWait"in n,a=p?DN(jv(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m);function v(z){var X=r,Y=i;return r=i=void 0,f=z,l=e.apply(Y,X),l}function x(z){return f=z,u=setTimeout(P,t),h?v(z):l}function S(z){var X=z-c,Y=z-f,fe=t-X;return p?NN(fe,a-Y):fe}function E(z){var X=z-c,Y=z-f;return c===void 0||X>=t||X<0||p&&Y>=a}function P(){var z=kf();if(E(z))return M(z);u=setTimeout(P,S(z))}function M(z){return u=void 0,m&&r?v(z):(r=i=void 0,l)}function L(){u!==void 0&&clearTimeout(u),f=0,r=c=i=u=void 0}function D(){return u===void 0?l:M(kf())}function N(){var z=kf(),X=E(z);if(r=arguments,i=this,c=z,X){if(u===void 0)return x(c);if(p)return clearTimeout(u),u=setTimeout(P,t),v(c)}return u===void 0&&(u=setTimeout(P,t)),l}return N.cancel=L,N.flush=D,N}var $N="Expected a function";function BN(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError($N);return En(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Gv(e,t,{leading:r,maxWait:t,trailing:i})}var kN=function(t,n,r){var i=r.getBoundingClientRect(),a=i.width,l=i.height,u=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,f=u-(r.getBoundingClientRect().left+window.pageXOffset),h=c-(r.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>a&&(f=a),h<0?h=0:h>l&&(h=l);var p=f/a,m=1-h/l;return{h:n.h,s:p,v:m,a:n.a,source:"hsv"}},jN=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function GN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HN(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function WN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var cl=function(e){WN(t,e);function t(n){GN(this,t);var r=HN(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.handleChange=function(i){typeof r.props.onChange=="function"&&r.throttle(r.props.onChange,kN(i,r.props.hsl,r.container),i)},r.handleMouseDown=function(i){r.handleChange(i);var a=r.getContainerRenderWindow();a.addEventListener("mousemove",r.handleChange),a.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=BN(function(i,a,l){i(a,l)},50),r}return jN(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var r=this.container,i=window;!i.document.contains(r)&&i.parent!==i;)i=i.parent;return i}},{key:"unbindEventListeners",value:function(){var r=this.getContainerRenderWindow();r.removeEventListener("mousemove",this.handleChange),r.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var r=this,i=this.props.style||{},a=i.color,l=i.white,u=i.black,c=i.pointer,f=i.circle,h=ke({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(this.props.hsv.v*100)+100+"%",left:this.props.hsv.s*100+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
101
101
  0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:a,white:l,black:u,pointer:c,circle:f}},{custom:!!this.props.style});return b.createElement("div",{style:h.color,ref:function(m){return r.container=m},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},b.createElement("style",null,`
102
102
  .saturation-white {
103
103
  background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -120,8 +120,8 @@ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var q=le(U,oe,j,ee,ae+".
120
120
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
121
121
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
122
122
  PERFORMANCE OF THIS SOFTWARE.
123
- ***************************************************************************** */var pr=function(){return pr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},pr.apply(this,arguments)};function N2(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Yk={color:"#38ad48",enabled:!0,size:50,style:{}},Jk=function(e){return parseFloat(e.toString()).toString()===e.toString()?e+"px":e.toString()},Kk=function(e){var t=function(n){var r=n.color,i=n.enabled,a=n.size,l=n.style,u=N2(n,["color","enabled","size","style"]),c=pr(pr({},u),{style:pr({color:r,overflow:"visible",width:Jk(a)},l)});return i?b.createElement(e,pr({},c)):null};return t.defaultProps=Yk,t},qk={speed:100,still:!1,thickness:100},Qk=pr(pr({},qk),{secondaryColor:"rgba(0,0,0,0.44)"});function ej(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var tj="@keyframes spinners-react-circular{0%{stroke-dashoffset:306}50%{stroke-dasharray:40,134}to{stroke-dasharray:1,174;stroke-dashoffset:132}}";ej(tj);var $2=function(e){var t=e.secondaryColor,n=e.speed,r=e.still,i=e.thickness,a=N2(e,["secondaryColor","speed","still","thickness"]),l=4*(i/100),u=r?{}:{animation:"spinners-react-circular "+140/n+"s linear infinite"};return b.createElement("svg",pr({fill:"none"},a,{viewBox:"0 0 66 66"}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:t,strokeWidth:l}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:"currentColor",strokeDasharray:"1, 174",strokeDashoffset:"306",strokeLinecap:"round",strokeWidth:l,style:u}))};$2.defaultProps=Qk;var nj=Kk($2);const hd=({children:e="Carregando...",color:t="rgba(0, 147, 178, 1)",secondaryColor:n="rgba(0, 0, 0, 0.44)",silent:r=!1,size:i=100,thickness:a=480,speed:l=100})=>A.jsxs("div",{className:"flex flex-col justify-center gap-2",children:[A.jsx("div",{className:"mx-auto",children:A.jsx(nj,{size:i,thickness:a,speed:l,color:t,secondaryColor:n})}),!r&&A.jsx("span",{className:"text-xl font-semibold text-center text-brand-primary",children:e})]});function B2({title:e,placeHolderSearchField:t,onChangeSearchField:n,headers:r,listOrder:i,labels:a,onChangeCheckBoxAll:l,checkedCheckBoxAll:u,list:c,isLoading:f}){return A.jsxs("div",{className:"flex flex-col justify-between flex-1 gap-2 p-4 border shadow-md rounded-xl border-stone-200",children:[A.jsx("h1",{className:"text-lg font-bold text-primary-500",children:e}),A.jsxs("div",{className:"space-y-2",children:[A.jsxs("div",{className:"flex items-center gap-2 px-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b-2 focus-within:border-primary-500 focus-within:ring-primary-500 dark:bg-gray-900",children:[A.jsx(Xu,{className:"w-5 h-5 text-gray-500"}),A.jsx("input",{type:"text",placeholder:t,className:"block w-full text-gray-500 bg-transparent border-none appearance-none focus:border-primary-500 focus:ring-0",onChange:n})]}),A.jsx("div",{id:"table-fix-head",className:"flex-1 overflow-y-auto h-80",children:A.jsxs("table",{className:"w-full border-collapse rounded-2xl",children:[A.jsx("thead",{className:"text-left border",children:A.jsxs("tr",{className:"bg-gray-100 sticky top-0 p-3 text-sm font-bold text-primary-500 dark:bg-gray-900",children:[r.map(({header:h,acessor:p})=>A.jsx("th",{children:A.jsx("div",{className:"flex items-center gap-2 p-2",children:h})},`table-header-${i}-list-${p}`)),A.jsx("th",{className:"flex items-center justify-center w-full h-10",children:A.jsx("input",{className:"w-5 h-5 rounded-md cursor-pointer border-primary-500 border-1 text-primary-500 focus:ring-0",type:"checkbox",name:`checkAllRowsBox${i}`,id:`checkAllRowsBox${i}`,onChange:l,checked:u})})]})}),A.jsxs("tbody",{children:[f&&A.jsx("tr",{children:A.jsx("td",{colSpan:r.length+1,rowSpan:1,children:A.jsx("div",{className:"py-2",children:A.jsx(hd,{size:36,children:A.jsx("p",{className:"text-xs",children:a.processing})})})})}),!f&&(c==null?void 0:c.data.length)===0&&A.jsx("tr",{children:A.jsx("td",{className:"w-full h-10 p-3",colSpan:r.length+1,rowSpan:1,children:A.jsx("p",{className:"text-sm text-center text-gray-500",children:a.noRecordFound})})}),!f&&c.dataBox.filter(h=>c.query===""?!0:Object.values(h).some(p=>p==null?void 0:p.toString().toUpperCase().includes(c.query.toUpperCase()))).map(h=>{const p=Uk(c.selected,"id"),m=p.includes(h.id),v=()=>{if(m){c.unselect(h.id);return}c.select(h)};return A.jsxs("tr",{className:`${h!=null&&h.isDisabled?"bg-stone-200 border-stone-300 cursor-not-allowed":"border-stone-200"} border`,children:[r.map(({acessor:x})=>A.jsxs("td",{className:"h-10 p-3",children:[A.jsx("label",{htmlFor:h.id}),A.jsx("p",{className:`text-sm text-gray-500 ${(h==null?void 0:h.isDisabled)&&"bg-stone-200"}`,children:h[x]})]},`table-tbody-${i}-list-${x}`)),A.jsx("td",{className:"flex items-center justify-center w-full h-10",children:A.jsx("input",{className:"w-5 h-5 rounded-md disabled:border-stone-400 disabled:cursor-not-allowed disabled:bg-stone-300 border-primary-500 border-1 text-primary-500 focus:ring-0",disabled:h==null?void 0:h.isDisabled,type:"checkbox",name:h.id,id:h.id,onChange:v,checked:p.includes(h.id)})})]},`td-${i}-${h.id}`)})]})]})})]}),A.jsx("div",{children:A.jsxs("div",{className:"flex flex-col w-full",children:[A.jsxs("p",{className:"text-sm",children:[A.jsxs("span",{className:"font-bold text-primary-500",children:[a.selected,": "]}),A.jsx("span",{className:"dark:text-white",children:c.selected.length})]}),A.jsxs("p",{className:"text-sm",children:[A.jsxs("span",{className:"font-bold text-primary-500",children:[a.all,": "]}),A.jsx("span",{className:"dark:text-white",children:c.dataBox.length})]})]})})]})}function rj({headers:e,titleOne:t,titleTwo:n,dataOne:r,dataTwo:i,isLoadingOne:a,isLoadingTwo:l,labels:u,placeHolderSearchField:c,onAssociation:f,onDissociation:h}){const p=D2({title:t,data:r}),m=D2({title:n,data:i});function v(){f(p.selected),p.selected.forEach(S=>{p.unselect(S.id)})}function x(){h(m.selected),m.selected.forEach(S=>{m.unselect(S.id)})}return A.jsxs("div",{className:"flex gap-7",children:[A.jsx(B2,{title:t,placeHolderSearchField:c,onChangeSearchField:p.setFilter,headers:e,labels:u,checkedCheckBoxAll:p.areAllSelected,onChangeCheckBoxAll:p.selectAll,isLoading:a,list:p,listOrder:"first"},1),A.jsxs("div",{className:"flex flex-col items-center justify-center space-y-1 w-9",children:[A.jsx(Ki,{type:"button",variant:"primary",onClick:v,disabled:p.selected.length===0,children:A.jsx(ep,{className:"w-6 "})}),A.jsx(Ki,{type:"button",variant:"primary",onClick:x,disabled:m.selected.length===0,children:A.jsx(Q1,{className:"w-6"})})]}),A.jsx(B2,{title:n,placeHolderSearchField:c,onChangeSearchField:m.setFilter,headers:e,labels:u,checkedCheckBoxAll:m.areAllSelected,onChangeCheckBoxAll:m.selectAll,isLoading:l,list:m,listOrder:"second"},2)]})}const pd=({children:e,...t})=>A.jsx("span",{className:"block min-h-full pt-1 pl-1 text-xs font-semibold text-left text-brand-danger",...t,children:e}),ij=({children:e,...t})=>A.jsx("h1",{className:"mb-4 text-2xl font-bold text-left text-brand-primary",...t,children:e}),gd=({children:e,...t})=>A.jsx("span",{className:"block min-h-full pt-1 text-xs font-semibold text-left text-primary-500 dark:text-white",...t,children:e});var md={exports:{}},vd,k2;function oj(){if(k2)return vd;k2=1;var e=function(t,n,r,i,a,l,u,c){if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error("invariant requires an error message argument");if(!t){var f;if(n===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[r,i,a,l,u,c],p=0;f=new Error(n.replace(/%s/g,function(){return h[p++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return vd=e,vd}var bd,j2;function aj(){if(j2)return bd;j2=1;var e=process.env.NODE_ENV!=="production",t=function(){};if(e){var n=function(i,a){var l=arguments.length;a=new Array(l>1?l-1:0);for(var u=1;u<l;u++)a[u-1]=arguments[u];var c=0,f="Warning: "+i.replace(/%s/g,function(){return a[c++]});typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}};t=function(r,i,a){var l=arguments.length;a=new Array(l>2?l-2:0);for(var u=2;u<l;u++)a[u-2]=arguments[u];if(i===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");r||n.apply(null,[i].concat(a))}}return bd=t,bd}var yd,G2;function sj(){if(G2)return yd;G2=1;function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=e(b),n=Gu,r=e(oj()),i=e(aj());function a(O,T){for(var R=Object.getOwnPropertyNames(T),F=0;F<R.length;F++){var y=R[F],j=Object.getOwnPropertyDescriptor(T,y);j&&j.configurable&&O[y]===void 0&&Object.defineProperty(O,y,j)}return O}function l(){return l=Object.assign||function(O){for(var T=1;T<arguments.length;T++){var R=arguments[T];for(var F in R)Object.prototype.hasOwnProperty.call(R,F)&&(O[F]=R[F])}return O},l.apply(this,arguments)}function u(O,T){O.prototype=Object.create(T.prototype),O.prototype.constructor=O,a(O,T)}function c(O,T){if(O==null)return{};var R={},F=Object.keys(O),y,j;for(j=0;j<F.length;j++)y=F[j],!(T.indexOf(y)>=0)&&(R[y]=O[y]);return R}function f(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O,T,R){if("selectionStart"in O&&"selectionEnd"in O)O.selectionStart=T,O.selectionEnd=R;else{var F=O.createTextRange();F.collapse(!0),F.moveStart("character",T),F.moveEnd("character",R-T),F.select()}}function p(O){var T=0,R=0;if("selectionStart"in O&&"selectionEnd"in O)T=O.selectionStart,R=O.selectionEnd;else{var F=document.selection.createRange();F.parentElement()===O&&(T=-F.moveStart("character",-O.value.length),R=-F.moveEnd("character",-O.value.length))}return{start:T,end:R,length:R-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function x(O,T,R){var F="",y="",j=null,ee=[];if(T===void 0&&(T=v),R==null&&(R=m),!O||typeof O!="string")return{maskChar:T,formatChars:R,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var ae=!1;return O.split("").forEach(function(U){!ae&&U==="\\"?ae=!0:(ae||!R[U]?(ee.push(F.length),F.length===ee.length-1&&(y+=U)):j=F.length+1,F+=U,ae=!1)}),{maskChar:T,formatChars:R,prefix:y,mask:F,lastEditablePosition:j,permanents:ee}}function S(O,T){return O.permanents.indexOf(T)!==-1}function E(O,T,R){var F=O.mask,y=O.formatChars;if(!R)return!1;if(S(O,T))return F[T]===R;var j=F[T],ee=y[j];return new RegExp(ee).test(R)}function P(O,T){return T.split("").every(function(R,F){return S(O,F)||!E(O,F,R)})}function M(O,T){var R=O.maskChar,F=O.prefix;if(!R){for(;T.length>F.length&&S(O,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=F.length,j=T.length;j>=F.length;j--){var ee=T[j],ae=!S(O,j)&&E(O,j,ee);if(ae){y=j+1;break}}return y}function L(O,T){return M(O,T)===O.mask.length}function D(O,T){var R=O.maskChar,F=O.mask,y=O.prefix;if(!R){for(T=z(O,"",T,0),T.length<y.length&&(T=y);T.length<F.length&&S(O,T.length);)T+=F[T.length];return T}if(T){var j=D(O,"");return z(O,j,T,0)}for(var ee=0;ee<F.length;ee++)S(O,ee)?T+=F[ee]:T+=R;return T}function N(O,T,R,F){var y=R+F,j=O.maskChar,ee=O.mask,ae=O.prefix,U=T.split("");if(!j){for(var K=y;K<U.length;K++)S(O,K)&&(U[K]="");return R=Math.max(ae.length,R),U.splice(R,y-R),T=U.join(""),D(O,T)}return U.map(function(ie,oe){return oe<R||oe>=y?ie:S(O,oe)?ee[oe]:j}).join("")}function z(O,T,R,F){var y=O.mask,j=O.maskChar,ee=O.prefix,ae=R.split(""),U=L(O,T),K=function(le,q){return!S(O,le)||q===y[le]},ie=function(le,q){return!j||!S(O,q)||le!==j};return!j&&F>T.length&&(T+=y.slice(T.length,F)),ae.every(function(oe){for(;!K(F,oe);){if(F>=T.length&&(T+=y[F]),!ie(oe,F))return!0;if(F++,F>=y.length)return!1}var le=E(O,F,oe)||oe===j;return le?(F<T.length?j||U||F<ee.length?T=T.slice(0,F)+oe+T.slice(F+1):(T=T.slice(0,F)+oe+T.slice(F),T=D(O,T)):j||(T+=oe),F++,F<y.length):!0}),T}function X(O,T,R,F){var y=O.mask,j=O.maskChar,ee=R.split(""),ae=F,U=function(ie,oe){return!S(O,ie)||oe===y[ie]};return ee.every(function(K){for(;!U(F,K);)if(F++,F>=y.length)return!1;var ie=E(O,F,K)||K===j;return ie&&F++,F<y.length}),F-ae}function Y(O,T){for(var R=T;R>=0;--R)if(!S(O,R))return R;return null}function fe(O,T){for(var R=O.mask,F=T;F<R.length;++F)if(!S(O,F))return F;return null}function Te(O){return!O&&O!==0?"":O+""}function Ge(O,T,R,F,y){var j=O.mask,ee=O.prefix,ae=O.lastEditablePosition,U=T,K="",ie=0,oe=0,le=Math.min(y.start,R.start);if(R.end>y.start?(K=U.slice(y.start,R.end),ie=X(O,F,K,le),ie?oe=y.length:oe=0):U.length<F.length&&(oe=F.length-U.length),U=F,oe){if(oe===1&&!y.length){var q=y.start===R.start;le=q?fe(O,R.start):Y(O,R.start)}U=N(O,U,le,oe)}return U=z(O,U,K,le),le=le+ie,le>=j.length?le=j.length:le<ee.length&&!ie?le=ee.length:le>=ee.length&&le<ae&&ie&&(le=fe(O,le)),U=D(O,U),K||(K=null),{value:U,enteredString:K,selection:{start:le,end:le}}}function Xe(){var O=new RegExp("windows","i"),T=new RegExp("phone","i"),R=navigator.userAgent;return O.test(R)&&T.test(R)}function pe(O){return typeof O=="function"}function xe(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function be(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function Ae(O){var T=!!be(),R;return T?R=xe():R=function(){return setTimeout(O,1e3/60)},R(O)}function $e(O){var T=be()||clearTimeout;T(O)}var Je=function(O){u(T,O);function T(F){var y;y=O.call(this,F)||this,y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=Ae(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&($e(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var Q=n.findDOMNode(f(f(y))),de=typeof window<"u"&&Q instanceof window.Element;if(Q&&!de)return null;if(Q.nodeName!=="INPUT"&&(Q=Q.querySelector("input")),!Q)throw new Error("react-input-mask: inputComponent doesn't contain input node");return Q},y.getInputValue=function(){var Q=y.getInputDOMNode();return Q?Q.value:null},y.setInputValue=function(Q){var de=y.getInputDOMNode();de&&(y.value=Q,de.value=Q)},y.setCursorToEnd=function(){var Q=M(y.maskOptions,y.value),de=fe(y.maskOptions,Q);de!==null&&y.setCursorPosition(de)},y.setSelection=function(Q,de,Se){Se===void 0&&(Se={});var ye=y.getInputDOMNode(),Be=y.isFocused();if(!(!ye||!Be)){var He=Se,qe=He.deferred;qe||h(ye,Q,de),y.selectionDeferId!==null&&$e(y.selectionDeferId),y.selectionDeferId=Ae(function(){y.selectionDeferId=null,h(ye,Q,de)}),y.previousSelection={start:Q,end:de,length:Math.abs(de-Q)}}},y.getSelection=function(){var Q=y.getInputDOMNode();return p(Q)},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(Q){y.setSelection(Q,Q)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var Q=y.maskOptions,de=Q.mask,Se=Q.maskChar,ye=Q.permanents,Be=Q.formatChars,He=y.props.alwaysShowMask;return{mask:de,maskChar:Se,permanents:ye,alwaysShowMask:!!He,formatChars:Be}},y.isInputAutofilled=function(Q,de,Se,ye){var Be=y.getInputDOMNode();try{if(Be.matches(":-webkit-autofill"))return!0}catch{}return y.focused?ye.end<Se.length&&de.end===Q.length:!0},y.onChange=function(Q){var de=f(f(y)),Se=de.beforePasteState,ye=f(f(y)),Be=ye.previousSelection,He=y.props.beforeMaskedValueChange,qe=y.getInputValue(),ot=y.value,st=y.getSelection();y.isInputAutofilled(qe,st,ot,Be)&&(ot=D(y.maskOptions,""),Be={start:0,end:0,length:0}),Se&&(Be=Se.selection,ot=Se.value,st={start:Be.start+qe.length,end:Be.start+qe.length,length:0},qe=ot.slice(0,Be.start)+qe+ot.slice(Be.end),y.beforePasteState=null);var It=Ge(y.maskOptions,qe,st,ot,Be),Yt=It.enteredString,Rt=It.selection,Gn=It.value;if(pe(He)){var $t=He({value:Gn,selection:Rt},{value:ot,selection:Be},Yt,y.getBeforeMaskedValueChangeConfig());Gn=$t.value,Rt=$t.selection}y.setInputValue(Gn),pe(y.props.onChange)&&y.props.onChange(Q),y.isWindowsPhoneBrowser?y.setSelection(Rt.start,Rt.end,{deferred:!0}):y.setSelection(Rt.start,Rt.end)},y.onFocus=function(Q){var de=y.props.beforeMaskedValueChange,Se=y.maskOptions,ye=Se.mask,Be=Se.prefix;if(y.focused=!0,y.mounted=!0,ye){if(y.value)M(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var He=D(y.maskOptions,Be),qe=D(y.maskOptions,He),ot=M(y.maskOptions,qe),st=fe(y.maskOptions,ot),It={start:st,end:st};if(pe(de)){var Yt=de({value:qe,selection:It},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());qe=Yt.value,It=Yt.selection}var Rt=qe!==y.getInputValue();Rt&&y.setInputValue(qe),Rt&&pe(y.props.onChange)&&y.props.onChange(Q),y.setSelection(It.start,It.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(Q)},y.onBlur=function(Q){var de=y.props.beforeMaskedValueChange,Se=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,Se&&!y.props.alwaysShowMask&&P(y.maskOptions,y.value)){var ye="";if(pe(de)){var Be=de({value:ye,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig());ye=Be.value}var He=ye!==y.getInputValue();He&&y.setInputValue(ye),He&&pe(y.props.onChange)&&y.props.onChange(Q)}pe(y.props.onBlur)&&y.props.onBlur(Q)},y.onMouseDown=function(Q){if(!y.focused&&document.addEventListener){y.mouseDownX=Q.clientX,y.mouseDownY=Q.clientY,y.mouseDownTime=new Date().getTime();var de=function Se(ye){if(document.removeEventListener("mouseup",Se),!!y.focused){var Be=Math.abs(ye.clientX-y.mouseDownX),He=Math.abs(ye.clientY-y.mouseDownY),qe=Math.max(Be,He),ot=new Date().getTime()-y.mouseDownTime;(qe<=10&&ot<=200||qe<=5&&ot<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",de)}pe(y.props.onMouseDown)&&y.props.onMouseDown(Q)},y.onPaste=function(Q){pe(y.props.onPaste)&&y.props.onPaste(Q),Q.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(Q){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(Q)};var j=F.mask,ee=F.maskChar,ae=F.formatChars,U=F.alwaysShowMask,K=F.beforeMaskedValueChange,ie=F.defaultValue,oe=F.value;y.maskOptions=x(j,ee,ae),ie==null&&(ie=""),oe==null&&(oe=ie);var le=Te(oe);if(y.maskOptions.mask&&(U||le)&&(le=D(y.maskOptions,le),pe(K))){var q=F.value;F.value==null&&(q=ie),q=Te(q);var ce=K({value:le,selection:null},{value:q,selection:null},null,y.getBeforeMaskedValueChangeConfig());le=ce.value}return y.value=le,y}var R=T.prototype;return R.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Xe(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},R.componentDidUpdate=function(){var y=this.previousSelection,j=this.props,ee=j.beforeMaskedValueChange,ae=j.alwaysShowMask,U=j.mask,K=j.maskChar,ie=j.formatChars,oe=this.maskOptions,le=ae||this.isFocused(),q=this.props.value!=null,ce=q?Te(this.props.value):this.value,Q=y?y.start:null;if(this.maskOptions=x(U,K,ie),this.maskOptions.mask)!oe.mask&&this.isFocused()&&this.runSaveSelectionLoop();else{oe.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate());return}var de=this.maskOptions.mask&&this.maskOptions.mask!==oe.mask;if(!oe.mask&&!q&&(ce=this.getInputValue()),(de||this.maskOptions.mask&&(ce||le))&&(ce=D(this.maskOptions,ce)),de){var Se=M(this.maskOptions,ce);(Q===null||Se<Q)&&(L(this.maskOptions,ce)?Q=Se:Q=fe(this.maskOptions,Se))}this.maskOptions.mask&&P(this.maskOptions,ce)&&!le&&(!q||!this.props.value)&&(ce="");var ye={start:Q,end:Q};if(pe(ee)){var Be=ee({value:ce,selection:ye},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());ce=Be.value,ye=Be.selection}this.value=ce;var He=this.getInputValue()!==this.value;He?(this.setInputValue(this.value),this.forceUpdate()):de&&this.forceUpdate();var qe=!1;ye.start!=null&&ye.end!=null&&(qe=!y||y.start!==ye.start||y.end!==ye.end),(qe||He)&&this.setSelection(ye.start,ye.end)},R.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&$e(this.selectionDeferId),this.stopSaveSelectionLoop()},R.render=function(){var y=this.props,j=y.mask;y.alwaysShowMask;var ee=y.maskChar,ae=y.formatChars,U=y.inputRef;y.beforeMaskedValueChange;var K=y.children,ie=c(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]),oe;if(process.env.NODE_ENV!=="production"&&i(!ie.maxLength||!x(j,ee,ae).mask,"react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."),K){pe(K)||(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: children must be a function"):r(!1));var le=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],q=l({},ie);le.forEach(function(de){return delete q[de]}),oe=K(q);var ce=le.filter(function(de){return oe.props[de]!=null&&oe.props[de]!==ie[de]});ce.length&&(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: "+ce.join(", ")):r(!1)),process.env.NODE_ENV!=="production"&&i(!U,"react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead")}else oe=t.createElement("input",l({ref:this.handleRef},ie));var Q={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(!ie.disabled&&!ie.readOnly&&(Q.onChange=this.onChange,Q.onPaste=this.onPaste,Q.onMouseDown=this.onMouseDown),ie.value!=null&&(Q.value=this.value)),oe=t.cloneElement(oe,Q),oe},T}(t.Component);return yd=Je,yd}var Cd,H2;function lj(){if(H2)return Cd;H2=1;function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=e(b),n=Gu;function r(O,T){for(var R=Object.getOwnPropertyNames(T),F=0;F<R.length;F++){var y=R[F],j=Object.getOwnPropertyDescriptor(T,y);j&&j.configurable&&O[y]===void 0&&Object.defineProperty(O,y,j)}return O}function i(){return(i=Object.assign||function(O){for(var T=1;T<arguments.length;T++){var R=arguments[T];for(var F in R)Object.prototype.hasOwnProperty.call(R,F)&&(O[F]=R[F])}return O}).apply(this,arguments)}function a(O,T){O.prototype=Object.create(T.prototype),r(O.prototype.constructor=O,T)}function l(O,T){if(O==null)return{};var R,F,y={},j=Object.keys(O);for(F=0;F<j.length;F++)R=j[F],0<=T.indexOf(R)||(y[R]=O[R]);return y}function u(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}var c=function(O,T,R,F,y,j,ee,ae){if(!O){var U;if(T===void 0)U=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var K=[R,F,y,j,ee,ae],ie=0;(U=new Error(T.replace(/%s/g,function(){return K[ie++]}))).name="Invariant Violation"}throw U.framesToPop=1,U}},f=c;function h(O,T,R){if("selectionStart"in O&&"selectionEnd"in O)O.selectionStart=T,O.selectionEnd=R;else{var F=O.createTextRange();F.collapse(!0),F.moveStart("character",T),F.moveEnd("character",R-T),F.select()}}function p(O){var T=0,R=0;if("selectionStart"in O&&"selectionEnd"in O)T=O.selectionStart,R=O.selectionEnd;else{var F=document.selection.createRange();F.parentElement()===O&&(T=-F.moveStart("character",-O.value.length),R=-F.moveEnd("character",-O.value.length))}return{start:T,end:R,length:R-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function x(O,T,R){var F="",y="",j=null,ee=[];if(T===void 0&&(T=v),R==null&&(R=m),!O||typeof O!="string")return{maskChar:T,formatChars:R,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var ae=!1;return O.split("").forEach(function(U){ae=!ae&&U==="\\"||(ae||!R[U]?(ee.push(F.length),F.length===ee.length-1&&(y+=U)):j=F.length+1,F+=U,!1)}),{maskChar:T,formatChars:R,prefix:y,mask:F,lastEditablePosition:j,permanents:ee}}function S(O,T){return O.permanents.indexOf(T)!==-1}function E(O,T,R){var F=O.mask,y=O.formatChars;if(!R)return!1;if(S(O,T))return F[T]===R;var j=y[F[T]];return new RegExp(j).test(R)}function P(O,T){return T.split("").every(function(R,F){return S(O,F)||!E(O,F,R)})}function M(O,T){var R=O.maskChar,F=O.prefix;if(!R){for(;T.length>F.length&&S(O,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=F.length,j=T.length;j>=F.length;j--){var ee=T[j];if(!S(O,j)&&E(O,j,ee)){y=j+1;break}}return y}function L(O,T){return M(O,T)===O.mask.length}function D(O,T){var R=O.maskChar,F=O.mask,y=O.prefix;if(!R){for((T=z(O,"",T,0)).length<y.length&&(T=y);T.length<F.length&&S(O,T.length);)T+=F[T.length];return T}if(T)return z(O,D(O,""),T,0);for(var j=0;j<F.length;j++)S(O,j)?T+=F[j]:T+=R;return T}function N(O,T,R,F){var y=R+F,j=O.maskChar,ee=O.mask,ae=O.prefix,U=T.split("");if(j)return U.map(function(ie,oe){return oe<R||y<=oe?ie:S(O,oe)?ee[oe]:j}).join("");for(var K=y;K<U.length;K++)S(O,K)&&(U[K]="");return R=Math.max(ae.length,R),U.splice(R,y-R),T=U.join(""),D(O,T)}function z(O,T,R,F){var y=O.mask,j=O.maskChar,ee=O.prefix,ae=R.split(""),U=L(O,T);return!j&&F>T.length&&(T+=y.slice(T.length,F)),ae.every(function(K){for(;q=K,S(O,le=F)&&q!==y[le];){if(F>=T.length&&(T+=y[F]),ie=K,oe=F,j&&S(O,oe)&&ie===j)return!0;if(++F>=y.length)return!1}var ie,oe,le,q;return!E(O,F,K)&&K!==j||(F<T.length?T=j||U||F<ee.length?T.slice(0,F)+K+T.slice(F+1):(T=T.slice(0,F)+K+T.slice(F),D(O,T)):j||(T+=K),++F<y.length)}),T}function X(O,T,R,F){var y=O.mask,j=O.maskChar,ee=R.split(""),ae=F;return ee.every(function(U){for(;ie=U,S(O,K=F)&&ie!==y[K];)if(++F>=y.length)return!1;var K,ie;return(E(O,F,U)||U===j)&&F++,F<y.length}),F-ae}function Y(O,T){for(var R=T;0<=R;--R)if(!S(O,R))return R;return null}function fe(O,T){for(var R=O.mask,F=T;F<R.length;++F)if(!S(O,F))return F;return null}function Te(O){return O||O===0?O+"":""}function Ge(O,T,R,F,y){var j=O.mask,ee=O.prefix,ae=O.lastEditablePosition,U=T,K="",ie=0,oe=0,le=Math.min(y.start,R.start);return R.end>y.start?oe=(ie=X(O,F,K=U.slice(y.start,R.end),le))?y.length:0:U.length<F.length&&(oe=F.length-U.length),U=F,oe&&(oe===1&&!y.length&&(le=y.start===R.start?fe(O,R.start):Y(O,R.start)),U=N(O,U,le,oe)),U=z(O,U,K,le),(le+=ie)>=j.length?le=j.length:le<ee.length&&!ie?le=ee.length:le>=ee.length&&le<ae&&ie&&(le=fe(O,le)),K||(K=null),{value:U=D(O,U),enteredString:K,selection:{start:le,end:le}}}function Xe(){var O=new RegExp("windows","i"),T=new RegExp("phone","i"),R=navigator.userAgent;return O.test(R)&&T.test(R)}function pe(O){return typeof O=="function"}function xe(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function be(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function Ae(O){return(be()?xe():function(){return setTimeout(O,1e3/60)})(O)}function $e(O){(be()||clearTimeout)(O)}var Je=function(O){function T(F){var y=O.call(this,F)||this;y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=Ae(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&($e(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var ce=n.findDOMNode(u(u(y))),Q=typeof window<"u"&&ce instanceof window.Element;if(ce&&!Q)return null;if(ce.nodeName!=="INPUT"&&(ce=ce.querySelector("input")),!ce)throw new Error("react-input-mask: inputComponent doesn't contain input node");return ce},y.getInputValue=function(){var ce=y.getInputDOMNode();return ce?ce.value:null},y.setInputValue=function(ce){var Q=y.getInputDOMNode();Q&&(y.value=ce,Q.value=ce)},y.setCursorToEnd=function(){var ce=M(y.maskOptions,y.value),Q=fe(y.maskOptions,ce);Q!==null&&y.setCursorPosition(Q)},y.setSelection=function(ce,Q,de){de===void 0&&(de={});var Se=y.getInputDOMNode(),ye=y.isFocused();Se&&ye&&(de.deferred||h(Se,ce,Q),y.selectionDeferId!==null&&$e(y.selectionDeferId),y.selectionDeferId=Ae(function(){y.selectionDeferId=null,h(Se,ce,Q)}),y.previousSelection={start:ce,end:Q,length:Math.abs(Q-ce)})},y.getSelection=function(){return p(y.getInputDOMNode())},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(ce){y.setSelection(ce,ce)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var ce=y.maskOptions,Q=ce.mask,de=ce.maskChar,Se=ce.permanents,ye=ce.formatChars;return{mask:Q,maskChar:de,permanents:Se,alwaysShowMask:!!y.props.alwaysShowMask,formatChars:ye}},y.isInputAutofilled=function(ce,Q,de,Se){var ye=y.getInputDOMNode();try{if(ye.matches(":-webkit-autofill"))return!0}catch{}return!y.focused||Se.end<de.length&&Q.end===ce.length},y.onChange=function(ce){var Q=u(u(y)).beforePasteState,de=u(u(y)).previousSelection,Se=y.props.beforeMaskedValueChange,ye=y.getInputValue(),Be=y.value,He=y.getSelection();y.isInputAutofilled(ye,He,Be,de)&&(Be=D(y.maskOptions,""),de={start:0,end:0,length:0}),Q&&(de=Q.selection,Be=Q.value,He={start:de.start+ye.length,end:de.start+ye.length,length:0},ye=Be.slice(0,de.start)+ye+Be.slice(de.end),y.beforePasteState=null);var qe=Ge(y.maskOptions,ye,He,Be,de),ot=qe.enteredString,st=qe.selection,It=qe.value;if(pe(Se)){var Yt=Se({value:It,selection:st},{value:Be,selection:de},ot,y.getBeforeMaskedValueChangeConfig());It=Yt.value,st=Yt.selection}y.setInputValue(It),pe(y.props.onChange)&&y.props.onChange(ce),y.isWindowsPhoneBrowser?y.setSelection(st.start,st.end,{deferred:!0}):y.setSelection(st.start,st.end)},y.onFocus=function(ce){var Q=y.props.beforeMaskedValueChange,de=y.maskOptions,Se=de.mask,ye=de.prefix;if(y.focused=!0,y.mounted=!0,Se){if(y.value)M(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var Be=D(y.maskOptions,ye),He=D(y.maskOptions,Be),qe=M(y.maskOptions,He),ot=fe(y.maskOptions,qe),st={start:ot,end:ot};if(pe(Q)){var It=Q({value:He,selection:st},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());He=It.value,st=It.selection}var Yt=He!==y.getInputValue();Yt&&y.setInputValue(He),Yt&&pe(y.props.onChange)&&y.props.onChange(ce),y.setSelection(st.start,st.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(ce)},y.onBlur=function(ce){var Q=y.props.beforeMaskedValueChange,de=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,de&&!y.props.alwaysShowMask&&P(y.maskOptions,y.value)){var Se="";pe(Q)&&(Se=Q({value:Se,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig()).value);var ye=Se!==y.getInputValue();ye&&y.setInputValue(Se),ye&&pe(y.props.onChange)&&y.props.onChange(ce)}pe(y.props.onBlur)&&y.props.onBlur(ce)},y.onMouseDown=function(ce){if(!y.focused&&document.addEventListener){y.mouseDownX=ce.clientX,y.mouseDownY=ce.clientY,y.mouseDownTime=new Date().getTime();var Q=function de(Se){if(document.removeEventListener("mouseup",de),y.focused){var ye=Math.abs(Se.clientX-y.mouseDownX),Be=Math.abs(Se.clientY-y.mouseDownY),He=Math.max(ye,Be),qe=new Date().getTime()-y.mouseDownTime;(He<=10&&qe<=200||He<=5&&qe<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",Q)}pe(y.props.onMouseDown)&&y.props.onMouseDown(ce)},y.onPaste=function(ce){pe(y.props.onPaste)&&y.props.onPaste(ce),ce.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(ce){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(ce)};var j=F.mask,ee=F.maskChar,ae=F.formatChars,U=F.alwaysShowMask,K=F.beforeMaskedValueChange,ie=F.defaultValue,oe=F.value;y.maskOptions=x(j,ee,ae),ie==null&&(ie=""),oe==null&&(oe=ie);var le=Te(oe);if(y.maskOptions.mask&&(U||le)&&(le=D(y.maskOptions,le),pe(K))){var q=F.value;F.value==null&&(q=ie),le=K({value:le,selection:null},{value:q=Te(q),selection:null},null,y.getBeforeMaskedValueChangeConfig()).value}return y.value=le,y}a(T,O);var R=T.prototype;return R.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Xe(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},R.componentDidUpdate=function(){var F=this.previousSelection,y=this.props,j=y.beforeMaskedValueChange,ee=y.alwaysShowMask,ae=y.mask,U=y.maskChar,K=y.formatChars,ie=this.maskOptions,oe=ee||this.isFocused(),le=this.props.value!=null,q=le?Te(this.props.value):this.value,ce=F?F.start:null;if(this.maskOptions=x(ae,U,K),this.maskOptions.mask){!ie.mask&&this.isFocused()&&this.runSaveSelectionLoop();var Q=this.maskOptions.mask&&this.maskOptions.mask!==ie.mask;if(ie.mask||le||(q=this.getInputValue()),(Q||this.maskOptions.mask&&(q||oe))&&(q=D(this.maskOptions,q)),Q){var de=M(this.maskOptions,q);(ce===null||de<ce)&&(ce=L(this.maskOptions,q)?de:fe(this.maskOptions,de))}!this.maskOptions.mask||!P(this.maskOptions,q)||oe||le&&this.props.value||(q="");var Se={start:ce,end:ce};if(pe(j)){var ye=j({value:q,selection:Se},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());q=ye.value,Se=ye.selection}this.value=q;var Be=this.getInputValue()!==this.value;Be?(this.setInputValue(this.value),this.forceUpdate()):Q&&this.forceUpdate();var He=!1;Se.start!=null&&Se.end!=null&&(He=!F||F.start!==Se.start||F.end!==Se.end),(He||Be)&&this.setSelection(Se.start,Se.end)}else ie.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},R.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&$e(this.selectionDeferId),this.stopSaveSelectionLoop()},R.render=function(){var F,y=this.props,j=(y.mask,y.alwaysShowMask,y.maskChar,y.formatChars,y.inputRef,y.beforeMaskedValueChange,y.children),ee=l(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(j){pe(j)||f(!1);var ae=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],U=i({},ee);ae.forEach(function(ie){return delete U[ie]}),F=j(U),ae.filter(function(ie){return F.props[ie]!=null&&F.props[ie]!==ee[ie]}).length&&f(!1)}else F=t.createElement("input",i({ref:this.handleRef},ee));var K={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(ee.disabled||ee.readOnly||(K.onChange=this.onChange,K.onPaste=this.onPaste,K.onMouseDown=this.onMouseDown),ee.value!=null&&(K.value=this.value)),F=t.cloneElement(F,K)},T}(t.Component);return Cd=Je,Cd}process.env.NODE_ENV==="production"?md.exports=lj():md.exports=sj();var uj=md.exports;const cj=Hu(uj),xd=({className:e,children:t,disabled:n=!1,focused:r=!1,error:i,...a})=>A.jsx("label",{className:et("absolute origin-top-left bottom-1 left-2 text-sm","peer-focus:text-brand-primary","transition hover:transition","pointer-events-none",{"text-gray-500":!i&&!n&&!r,"text-brand-danger":i,"text-brand-secondary-text":n,"text-brand-primary":r},e),...a,children:t}),W2=({error:e,disabled:t,children:n})=>A.jsx("div",{className:et("border-brand-gray bg-brand-light-gray dark:bg-brand-dark-gray-dark focus-within:border-brand-secondary","relative h-[36px]","transition focus-within:transition","shadow-input focus-within:shadow-input-focus",{"bg-red-50 shadow-input-error focus-within:shadow-input-error":e,"border-gray-300 bg-[#cbcbcb] dark:bg-brand-text focus-within:border-brand cursor-not-allowed children:cursor-not-allowed":t}),children:n});function fj({type:e,onTypeChange:t}){return A.jsxs("span",{className:"absolute transition-all right-2 top-2/4 -translate-y-2/4 group",onClick:()=>{t(e==="password"?"text":"password")},children:[A.jsx(E4,{className:"text-brand-dark-gray group-hover:text-brand"}),e==="text"&&A.jsx("span",{className:"absolute top-2/4 right-2/4 -translate-y-2/4 translate-x-2/4 w-[2.25px] h-[22px] rotate-45 bg-brand-dark-gray group-hover:bg-brand"})]})}const Z2=({className:e,error:t,helper:n,label:r,mask:i,name:a,type:l,value:u,onChange:c,onBlur:f,disabled:h=!1,...p})=>{const m=et("peer","block w-full text-sm border-none appearance-none focus:outline-none focus:ring-0","absolute bottom-0","bg-transparent text-brand-secondary-text pb-0 px-2",e),[v,x]=b.useState(l);function S(E){x(E)}return A.jsxs("div",{children:[A.jsxs(W2,{disabled:h,error:t,children:[l==="color"?A.jsx(V2,{color:u,disabled:h,onChange:c}):i?A.jsx(cj,{disabled:h,autoComplete:"off",type:"text",name:a,mask:i,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`}):A.jsxs(A.Fragment,{children:[A.jsx("input",{disabled:h,autoComplete:"off",type:v,name:a,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`,...p}),l==="password"&&A.jsx(fj,{type:v,onTypeChange:S})]}),A.jsx(xd,{htmlFor:a,disabled:h,error:t,children:r})]}),n?A.jsx(gd,{children:n}):null,t?A.jsx(pd,{children:t}):null]})},wd={Navbar:({children:e,className:t,...n})=>A.jsx("nav",{className:et("px-2 py-2 m-2","flex items-center justify-between rounded-lg select-none","bg-gradient-to-r from-primary-500 to-primary-400",t),...n,children:e}),Button:({children:e,className:t,...n})=>A.jsx("button",{className:et("rounded-md flex items-center justify-center","w-12 h-12","transition bg-white hover:bg-primary-50 active:bg-primary-100 text-primary-500",t),...n,children:e}),Title:({children:e,className:t,...n})=>A.jsx("h1",{className:et("pl-2 font-bold text-white text-2.5xl",t),...n,children:e})},dj=({label:e,name:t,className:n,...r})=>A.jsx("div",{className:et("bg-brand-light-gray rounded-lg inline-block p-1.5 transition","border-2 border-transparent focus-within:border-brand-primary focus-within:transition",{className:n!==""}),children:A.jsxs("label",{htmlFor:(r==null?void 0:r.id)||t,className:et("relative","flex gap-2 items-center justify-center"),children:[A.jsx("input",{name:t,type:"radio",className:et("relative appearance-none w-5 h-5 border rounded-full text-brand-primary cursor-pointer transition-all focus:ring-0 focus:ring-offset-0 focus:outline-none","checked:after:absolute checked:before:absolute","checked:after:inset-0 checked:before:inset-0","checked:after:rounded-full checked:before:rounded-full","checked:after:scale-75","checked:after:bg-brand-primary checked:before:bg-white","checked:border-2"),...r}),A.jsx("span",{className:"text-xs text-brand-secondary-text",children:e})]})});function yi(e){"@babel/helpers - typeof";return yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yi(e)}function hj(e,t){if(yi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(yi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function X2(e){var t=hj(e,"string");return yi(t)=="symbol"?t:String(t)}function Va(e,t,n){return t=X2(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z2(Object(n),!0).forEach(function(r){Va(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pj(e){if(Array.isArray(e))return e}function gj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,u=[],c=!0,f=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw i}}return u}}function Sd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U2(e,t){if(e){if(typeof e=="string")return Sd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sd(e,t)}}function mj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
124
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gr(e,t){return pj(e)||gj(e,t)||U2(e,t)||mj()}function vj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function mr(e,t){if(e==null)return{};var n=vj(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var bj=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function yj(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,l=a===void 0?null:a,u=e.inputValue,c=e.menuIsOpen,f=e.onChange,h=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,v=e.value,x=mr(e,bj),S=b.useState(u!==void 0?u:n),E=gr(S,2),P=E[0],M=E[1],L=b.useState(c!==void 0?c:i),D=gr(L,2),N=D[0],z=D[1],X=b.useState(v!==void 0?v:l),Y=gr(X,2),fe=Y[0],Te=Y[1],Ge=b.useCallback(function(Je,O){typeof f=="function"&&f(Je,O),Te(Je)},[f]),Xe=b.useCallback(function(Je,O){var T;typeof h=="function"&&(T=h(Je,O)),M(T!==void 0?T:Je)},[h]),pe=b.useCallback(function(){typeof m=="function"&&m(),z(!0)},[m]),xe=b.useCallback(function(){typeof p=="function"&&p(),z(!1)},[p]),be=u!==void 0?u:P,Ae=c!==void 0?c:N,$e=v!==void 0?v:fe;return Oe(Oe({},x),{},{inputValue:be,menuIsOpen:Ae,onChange:Ge,onInputChange:Xe,onMenuClose:xe,onMenuOpen:pe,value:$e})}function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Me.apply(this,arguments)}function Cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,X2(r.key),r)}}function xj(e,t,n){return t&&Y2(e.prototype,t),n&&Y2(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Id(e,t){return Id=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Id(e,t)}function wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Id(e,t)}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(e)}function Sj(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ej(e,t){if(t&&(yi(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ij(e)}function Aj(e){var t=Sj();return function(){var r=bl(e),i;if(t){var a=bl(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return Ej(this,i)}}function _j(e){if(Array.isArray(e))return Sd(e)}function Pj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
123
+ ***************************************************************************** */var pr=function(){return pr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},pr.apply(this,arguments)};function N2(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Yk={color:"#38ad48",enabled:!0,size:50,style:{}},Jk=function(e){return parseFloat(e.toString()).toString()===e.toString()?e+"px":e.toString()},Kk=function(e){var t=function(n){var r=n.color,i=n.enabled,a=n.size,l=n.style,u=N2(n,["color","enabled","size","style"]),c=pr(pr({},u),{style:pr({color:r,overflow:"visible",width:Jk(a)},l)});return i?b.createElement(e,pr({},c)):null};return t.defaultProps=Yk,t},qk={speed:100,still:!1,thickness:100},Qk=pr(pr({},qk),{secondaryColor:"rgba(0,0,0,0.44)"});function ej(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var tj="@keyframes spinners-react-circular{0%{stroke-dashoffset:306}50%{stroke-dasharray:40,134}to{stroke-dasharray:1,174;stroke-dashoffset:132}}";ej(tj);var $2=function(e){var t=e.secondaryColor,n=e.speed,r=e.still,i=e.thickness,a=N2(e,["secondaryColor","speed","still","thickness"]),l=4*(i/100),u=r?{}:{animation:"spinners-react-circular "+140/n+"s linear infinite"};return b.createElement("svg",pr({fill:"none"},a,{viewBox:"0 0 66 66"}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:t,strokeWidth:l}),b.createElement("circle",{cx:"33",cy:"33",fill:"none",r:"28",stroke:"currentColor",strokeDasharray:"1, 174",strokeDashoffset:"306",strokeLinecap:"round",strokeWidth:l,style:u}))};$2.defaultProps=Qk;var nj=Kk($2);const hd=({children:e="Carregando...",color:t="rgba(0, 147, 178, 1)",secondaryColor:n="rgba(0, 0, 0, 0.44)",silent:r=!1,size:i=100,thickness:a=480,speed:l=100})=>A.jsxs("div",{className:"flex flex-col justify-center gap-2",children:[A.jsx("div",{className:"mx-auto",children:A.jsx(nj,{size:i,thickness:a,speed:l,color:t,secondaryColor:n})}),!r&&A.jsx("span",{className:"text-xl font-semibold text-center text-brand-primary",children:e})]});function B2({title:e,placeHolderSearchField:t,onChangeSearchField:n,headers:r,listOrder:i,labels:a,onChangeCheckBoxAll:l,checkedCheckBoxAll:u,list:c,isLoading:f}){return A.jsxs("div",{className:"flex flex-col justify-between flex-1 gap-2 p-4 border shadow-md rounded-xl border-stone-200",children:[A.jsx("h1",{className:"text-lg font-bold text-primary-500",children:e}),A.jsxs("div",{className:"space-y-2",children:[A.jsxs("div",{className:"flex items-center gap-2 px-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b-2 focus-within:border-primary-500 focus-within:ring-primary-500 dark:bg-gray-900",children:[A.jsx(Xu,{className:"w-5 h-5 text-gray-500"}),A.jsx("input",{type:"text",placeholder:t,className:"block w-full text-gray-500 bg-transparent border-none appearance-none focus:border-primary-500 focus:ring-0",onChange:n})]}),A.jsx("div",{id:"table-fix-head",className:"flex-1 overflow-y-auto h-80",children:A.jsxs("table",{className:"w-full border-collapse rounded-2xl",children:[A.jsx("thead",{className:"text-left border",children:A.jsxs("tr",{className:"bg-gray-100 sticky top-0 p-3 text-sm font-bold text-primary-500 dark:bg-gray-900",children:[r.map(({header:h,acessor:p})=>A.jsx("th",{children:A.jsx("div",{className:"flex items-center gap-2 p-2",children:h})},`table-header-${i}-list-${p}`)),A.jsx("th",{className:"flex items-center justify-center w-full h-10",children:A.jsx("input",{className:"w-5 h-5 rounded-md cursor-pointer border-primary-500 border-1 text-primary-500 focus:ring-0",type:"checkbox",name:`checkAllRowsBox${i}`,id:`checkAllRowsBox${i}`,onChange:l,checked:u})})]})}),A.jsxs("tbody",{children:[f&&A.jsx("tr",{children:A.jsx("td",{colSpan:r.length+1,rowSpan:1,children:A.jsx("div",{className:"py-2",children:A.jsx(hd,{size:36,children:A.jsx("p",{className:"text-xs",children:a.processing})})})})}),!f&&(c==null?void 0:c.data.length)===0&&A.jsx("tr",{children:A.jsx("td",{className:"w-full h-10 p-3",colSpan:r.length+1,rowSpan:1,children:A.jsx("p",{className:"text-sm text-center text-gray-500",children:a.noRecordFound})})}),!f&&c.dataBox.filter(h=>c.query===""?!0:Object.values(h).some(p=>p==null?void 0:p.toString().toUpperCase().includes(c.query.toUpperCase()))).map(h=>{const p=Uk(c.selected,"id"),m=p.includes(h.id),v=()=>{if(m){c.unselect(h.id);return}c.select(h)};return A.jsxs("tr",{className:`${h!=null&&h.isDisabled?"bg-stone-200 border-stone-300 cursor-not-allowed":"border-stone-200"} border`,children:[r.map(({acessor:x})=>A.jsxs("td",{className:"h-10 p-3",children:[A.jsx("label",{htmlFor:h.id}),A.jsx("p",{className:`text-sm text-gray-500 ${(h==null?void 0:h.isDisabled)&&"bg-stone-200"}`,children:h[x]})]},`table-tbody-${i}-list-${x}`)),A.jsx("td",{className:"flex items-center justify-center w-full h-10",children:A.jsx("input",{className:"w-5 h-5 rounded-md disabled:border-stone-400 disabled:cursor-not-allowed disabled:bg-stone-300 border-primary-500 border-1 text-primary-500 focus:ring-0",disabled:h==null?void 0:h.isDisabled,type:"checkbox",name:h.id,id:h.id,onChange:v,checked:p.includes(h.id)})})]},`td-${i}-${h.id}`)})]})]})})]}),A.jsx("div",{children:A.jsxs("div",{className:"flex flex-col w-full",children:[A.jsxs("p",{className:"text-sm",children:[A.jsxs("span",{className:"font-bold text-primary-500",children:[a.selected,": "]}),A.jsx("span",{className:"dark:text-white",children:c.selected.length})]}),A.jsxs("p",{className:"text-sm",children:[A.jsxs("span",{className:"font-bold text-primary-500",children:[a.all,": "]}),A.jsx("span",{className:"dark:text-white",children:c.dataBox.length})]})]})})]})}function rj({headers:e,titleOne:t,titleTwo:n,dataOne:r,dataTwo:i,isLoadingOne:a,isLoadingTwo:l,labels:u,placeHolderSearchField:c,onAssociation:f,onDissociation:h}){const p=D2({title:t,data:r}),m=D2({title:n,data:i});function v(){f(p.selected),p.selected.forEach(S=>{p.unselect(S.id)})}function x(){h(m.selected),m.selected.forEach(S=>{m.unselect(S.id)})}return A.jsxs("div",{className:"flex gap-7",children:[A.jsx(B2,{title:t,placeHolderSearchField:c,onChangeSearchField:p.setFilter,headers:e,labels:u,checkedCheckBoxAll:p.areAllSelected,onChangeCheckBoxAll:p.selectAll,isLoading:a,list:p,listOrder:"first"},1),A.jsxs("div",{className:"flex flex-col items-center justify-center space-y-1 w-9",children:[A.jsx(Ki,{type:"button",variant:"primary",onClick:v,disabled:p.selected.length===0,children:A.jsx(ep,{className:"w-6 "})}),A.jsx(Ki,{type:"button",variant:"primary",onClick:x,disabled:m.selected.length===0,children:A.jsx(Q1,{className:"w-6"})})]}),A.jsx(B2,{title:n,placeHolderSearchField:c,onChangeSearchField:m.setFilter,headers:e,labels:u,checkedCheckBoxAll:m.areAllSelected,onChangeCheckBoxAll:m.selectAll,isLoading:l,list:m,listOrder:"second"},2)]})}const pd=({children:e,...t})=>A.jsx("span",{className:"block min-h-full pt-1 pl-1 text-xs font-semibold text-left text-brand-danger",...t,children:e}),ij=({children:e,...t})=>A.jsx("h1",{className:"mb-4 text-2xl font-bold text-left text-brand-primary",...t,children:e}),gd=({children:e,...t})=>A.jsx("span",{className:"block min-h-full pt-1 text-xs font-semibold text-left text-primary-500 dark:text-white",...t,children:e});var md={exports:{}},vd,k2;function oj(){if(k2)return vd;k2=1;var e=function(t,n,r,i,a,l,u,c){if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error("invariant requires an error message argument");if(!t){var f;if(n===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[r,i,a,l,u,c],p=0;f=new Error(n.replace(/%s/g,function(){return h[p++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return vd=e,vd}var bd,j2;function aj(){if(j2)return bd;j2=1;var e=process.env.NODE_ENV!=="production",t=function(){};if(e){var n=function(i,a){var l=arguments.length;a=new Array(l>1?l-1:0);for(var u=1;u<l;u++)a[u-1]=arguments[u];var c=0,f="Warning: "+i.replace(/%s/g,function(){return a[c++]});typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}};t=function(r,i,a){var l=arguments.length;a=new Array(l>2?l-2:0);for(var u=2;u<l;u++)a[u-2]=arguments[u];if(i===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");r||n.apply(null,[i].concat(a))}}return bd=t,bd}var yd,G2;function sj(){if(G2)return yd;G2=1;function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=e(b),n=Gu,r=e(oj()),i=e(aj());function a(O,T){for(var R=Object.getOwnPropertyNames(T),F=0;F<R.length;F++){var y=R[F],j=Object.getOwnPropertyDescriptor(T,y);j&&j.configurable&&O[y]===void 0&&Object.defineProperty(O,y,j)}return O}function l(){return l=Object.assign||function(O){for(var T=1;T<arguments.length;T++){var R=arguments[T];for(var F in R)Object.prototype.hasOwnProperty.call(R,F)&&(O[F]=R[F])}return O},l.apply(this,arguments)}function u(O,T){O.prototype=Object.create(T.prototype),O.prototype.constructor=O,a(O,T)}function c(O,T){if(O==null)return{};var R={},F=Object.keys(O),y,j;for(j=0;j<F.length;j++)y=F[j],!(T.indexOf(y)>=0)&&(R[y]=O[y]);return R}function f(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O,T,R){if("selectionStart"in O&&"selectionEnd"in O)O.selectionStart=T,O.selectionEnd=R;else{var F=O.createTextRange();F.collapse(!0),F.moveStart("character",T),F.moveEnd("character",R-T),F.select()}}function p(O){var T=0,R=0;if("selectionStart"in O&&"selectionEnd"in O)T=O.selectionStart,R=O.selectionEnd;else{var F=document.selection.createRange();F.parentElement()===O&&(T=-F.moveStart("character",-O.value.length),R=-F.moveEnd("character",-O.value.length))}return{start:T,end:R,length:R-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function x(O,T,R){var F="",y="",j=null,ee=[];if(T===void 0&&(T=v),R==null&&(R=m),!O||typeof O!="string")return{maskChar:T,formatChars:R,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var ae=!1;return O.split("").forEach(function(U){!ae&&U==="\\"?ae=!0:(ae||!R[U]?(ee.push(F.length),F.length===ee.length-1&&(y+=U)):j=F.length+1,F+=U,ae=!1)}),{maskChar:T,formatChars:R,prefix:y,mask:F,lastEditablePosition:j,permanents:ee}}function S(O,T){return O.permanents.indexOf(T)!==-1}function E(O,T,R){var F=O.mask,y=O.formatChars;if(!R)return!1;if(S(O,T))return F[T]===R;var j=F[T],ee=y[j];return new RegExp(ee).test(R)}function P(O,T){return T.split("").every(function(R,F){return S(O,F)||!E(O,F,R)})}function M(O,T){var R=O.maskChar,F=O.prefix;if(!R){for(;T.length>F.length&&S(O,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=F.length,j=T.length;j>=F.length;j--){var ee=T[j],ae=!S(O,j)&&E(O,j,ee);if(ae){y=j+1;break}}return y}function L(O,T){return M(O,T)===O.mask.length}function D(O,T){var R=O.maskChar,F=O.mask,y=O.prefix;if(!R){for(T=z(O,"",T,0),T.length<y.length&&(T=y);T.length<F.length&&S(O,T.length);)T+=F[T.length];return T}if(T){var j=D(O,"");return z(O,j,T,0)}for(var ee=0;ee<F.length;ee++)S(O,ee)?T+=F[ee]:T+=R;return T}function N(O,T,R,F){var y=R+F,j=O.maskChar,ee=O.mask,ae=O.prefix,U=T.split("");if(!j){for(var K=y;K<U.length;K++)S(O,K)&&(U[K]="");return R=Math.max(ae.length,R),U.splice(R,y-R),T=U.join(""),D(O,T)}return U.map(function(ie,oe){return oe<R||oe>=y?ie:S(O,oe)?ee[oe]:j}).join("")}function z(O,T,R,F){var y=O.mask,j=O.maskChar,ee=O.prefix,ae=R.split(""),U=L(O,T),K=function(le,q){return!S(O,le)||q===y[le]},ie=function(le,q){return!j||!S(O,q)||le!==j};return!j&&F>T.length&&(T+=y.slice(T.length,F)),ae.every(function(oe){for(;!K(F,oe);){if(F>=T.length&&(T+=y[F]),!ie(oe,F))return!0;if(F++,F>=y.length)return!1}var le=E(O,F,oe)||oe===j;return le?(F<T.length?j||U||F<ee.length?T=T.slice(0,F)+oe+T.slice(F+1):(T=T.slice(0,F)+oe+T.slice(F),T=D(O,T)):j||(T+=oe),F++,F<y.length):!0}),T}function X(O,T,R,F){var y=O.mask,j=O.maskChar,ee=R.split(""),ae=F,U=function(ie,oe){return!S(O,ie)||oe===y[ie]};return ee.every(function(K){for(;!U(F,K);)if(F++,F>=y.length)return!1;var ie=E(O,F,K)||K===j;return ie&&F++,F<y.length}),F-ae}function Y(O,T){for(var R=T;R>=0;--R)if(!S(O,R))return R;return null}function fe(O,T){for(var R=O.mask,F=T;F<R.length;++F)if(!S(O,F))return F;return null}function Te(O){return!O&&O!==0?"":O+""}function Ge(O,T,R,F,y){var j=O.mask,ee=O.prefix,ae=O.lastEditablePosition,U=T,K="",ie=0,oe=0,le=Math.min(y.start,R.start);if(R.end>y.start?(K=U.slice(y.start,R.end),ie=X(O,F,K,le),ie?oe=y.length:oe=0):U.length<F.length&&(oe=F.length-U.length),U=F,oe){if(oe===1&&!y.length){var q=y.start===R.start;le=q?fe(O,R.start):Y(O,R.start)}U=N(O,U,le,oe)}return U=z(O,U,K,le),le=le+ie,le>=j.length?le=j.length:le<ee.length&&!ie?le=ee.length:le>=ee.length&&le<ae&&ie&&(le=fe(O,le)),U=D(O,U),K||(K=null),{value:U,enteredString:K,selection:{start:le,end:le}}}function Xe(){var O=new RegExp("windows","i"),T=new RegExp("phone","i"),R=navigator.userAgent;return O.test(R)&&T.test(R)}function pe(O){return typeof O=="function"}function xe(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function be(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function Ee(O){var T=!!be(),R;return T?R=xe():R=function(){return setTimeout(O,1e3/60)},R(O)}function $e(O){var T=be()||clearTimeout;T(O)}var Je=function(O){u(T,O);function T(F){var y;y=O.call(this,F)||this,y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=Ee(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&($e(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var Q=n.findDOMNode(f(f(y))),de=typeof window<"u"&&Q instanceof window.Element;if(Q&&!de)return null;if(Q.nodeName!=="INPUT"&&(Q=Q.querySelector("input")),!Q)throw new Error("react-input-mask: inputComponent doesn't contain input node");return Q},y.getInputValue=function(){var Q=y.getInputDOMNode();return Q?Q.value:null},y.setInputValue=function(Q){var de=y.getInputDOMNode();de&&(y.value=Q,de.value=Q)},y.setCursorToEnd=function(){var Q=M(y.maskOptions,y.value),de=fe(y.maskOptions,Q);de!==null&&y.setCursorPosition(de)},y.setSelection=function(Q,de,Se){Se===void 0&&(Se={});var ye=y.getInputDOMNode(),Be=y.isFocused();if(!(!ye||!Be)){var He=Se,qe=He.deferred;qe||h(ye,Q,de),y.selectionDeferId!==null&&$e(y.selectionDeferId),y.selectionDeferId=Ee(function(){y.selectionDeferId=null,h(ye,Q,de)}),y.previousSelection={start:Q,end:de,length:Math.abs(de-Q)}}},y.getSelection=function(){var Q=y.getInputDOMNode();return p(Q)},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(Q){y.setSelection(Q,Q)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var Q=y.maskOptions,de=Q.mask,Se=Q.maskChar,ye=Q.permanents,Be=Q.formatChars,He=y.props.alwaysShowMask;return{mask:de,maskChar:Se,permanents:ye,alwaysShowMask:!!He,formatChars:Be}},y.isInputAutofilled=function(Q,de,Se,ye){var Be=y.getInputDOMNode();try{if(Be.matches(":-webkit-autofill"))return!0}catch{}return y.focused?ye.end<Se.length&&de.end===Q.length:!0},y.onChange=function(Q){var de=f(f(y)),Se=de.beforePasteState,ye=f(f(y)),Be=ye.previousSelection,He=y.props.beforeMaskedValueChange,qe=y.getInputValue(),ot=y.value,st=y.getSelection();y.isInputAutofilled(qe,st,ot,Be)&&(ot=D(y.maskOptions,""),Be={start:0,end:0,length:0}),Se&&(Be=Se.selection,ot=Se.value,st={start:Be.start+qe.length,end:Be.start+qe.length,length:0},qe=ot.slice(0,Be.start)+qe+ot.slice(Be.end),y.beforePasteState=null);var It=Ge(y.maskOptions,qe,st,ot,Be),Yt=It.enteredString,Rt=It.selection,Gn=It.value;if(pe(He)){var $t=He({value:Gn,selection:Rt},{value:ot,selection:Be},Yt,y.getBeforeMaskedValueChangeConfig());Gn=$t.value,Rt=$t.selection}y.setInputValue(Gn),pe(y.props.onChange)&&y.props.onChange(Q),y.isWindowsPhoneBrowser?y.setSelection(Rt.start,Rt.end,{deferred:!0}):y.setSelection(Rt.start,Rt.end)},y.onFocus=function(Q){var de=y.props.beforeMaskedValueChange,Se=y.maskOptions,ye=Se.mask,Be=Se.prefix;if(y.focused=!0,y.mounted=!0,ye){if(y.value)M(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var He=D(y.maskOptions,Be),qe=D(y.maskOptions,He),ot=M(y.maskOptions,qe),st=fe(y.maskOptions,ot),It={start:st,end:st};if(pe(de)){var Yt=de({value:qe,selection:It},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());qe=Yt.value,It=Yt.selection}var Rt=qe!==y.getInputValue();Rt&&y.setInputValue(qe),Rt&&pe(y.props.onChange)&&y.props.onChange(Q),y.setSelection(It.start,It.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(Q)},y.onBlur=function(Q){var de=y.props.beforeMaskedValueChange,Se=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,Se&&!y.props.alwaysShowMask&&P(y.maskOptions,y.value)){var ye="";if(pe(de)){var Be=de({value:ye,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig());ye=Be.value}var He=ye!==y.getInputValue();He&&y.setInputValue(ye),He&&pe(y.props.onChange)&&y.props.onChange(Q)}pe(y.props.onBlur)&&y.props.onBlur(Q)},y.onMouseDown=function(Q){if(!y.focused&&document.addEventListener){y.mouseDownX=Q.clientX,y.mouseDownY=Q.clientY,y.mouseDownTime=new Date().getTime();var de=function Se(ye){if(document.removeEventListener("mouseup",Se),!!y.focused){var Be=Math.abs(ye.clientX-y.mouseDownX),He=Math.abs(ye.clientY-y.mouseDownY),qe=Math.max(Be,He),ot=new Date().getTime()-y.mouseDownTime;(qe<=10&&ot<=200||qe<=5&&ot<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",de)}pe(y.props.onMouseDown)&&y.props.onMouseDown(Q)},y.onPaste=function(Q){pe(y.props.onPaste)&&y.props.onPaste(Q),Q.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(Q){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(Q)};var j=F.mask,ee=F.maskChar,ae=F.formatChars,U=F.alwaysShowMask,K=F.beforeMaskedValueChange,ie=F.defaultValue,oe=F.value;y.maskOptions=x(j,ee,ae),ie==null&&(ie=""),oe==null&&(oe=ie);var le=Te(oe);if(y.maskOptions.mask&&(U||le)&&(le=D(y.maskOptions,le),pe(K))){var q=F.value;F.value==null&&(q=ie),q=Te(q);var ce=K({value:le,selection:null},{value:q,selection:null},null,y.getBeforeMaskedValueChangeConfig());le=ce.value}return y.value=le,y}var R=T.prototype;return R.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Xe(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},R.componentDidUpdate=function(){var y=this.previousSelection,j=this.props,ee=j.beforeMaskedValueChange,ae=j.alwaysShowMask,U=j.mask,K=j.maskChar,ie=j.formatChars,oe=this.maskOptions,le=ae||this.isFocused(),q=this.props.value!=null,ce=q?Te(this.props.value):this.value,Q=y?y.start:null;if(this.maskOptions=x(U,K,ie),this.maskOptions.mask)!oe.mask&&this.isFocused()&&this.runSaveSelectionLoop();else{oe.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate());return}var de=this.maskOptions.mask&&this.maskOptions.mask!==oe.mask;if(!oe.mask&&!q&&(ce=this.getInputValue()),(de||this.maskOptions.mask&&(ce||le))&&(ce=D(this.maskOptions,ce)),de){var Se=M(this.maskOptions,ce);(Q===null||Se<Q)&&(L(this.maskOptions,ce)?Q=Se:Q=fe(this.maskOptions,Se))}this.maskOptions.mask&&P(this.maskOptions,ce)&&!le&&(!q||!this.props.value)&&(ce="");var ye={start:Q,end:Q};if(pe(ee)){var Be=ee({value:ce,selection:ye},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());ce=Be.value,ye=Be.selection}this.value=ce;var He=this.getInputValue()!==this.value;He?(this.setInputValue(this.value),this.forceUpdate()):de&&this.forceUpdate();var qe=!1;ye.start!=null&&ye.end!=null&&(qe=!y||y.start!==ye.start||y.end!==ye.end),(qe||He)&&this.setSelection(ye.start,ye.end)},R.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&$e(this.selectionDeferId),this.stopSaveSelectionLoop()},R.render=function(){var y=this.props,j=y.mask;y.alwaysShowMask;var ee=y.maskChar,ae=y.formatChars,U=y.inputRef;y.beforeMaskedValueChange;var K=y.children,ie=c(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]),oe;if(process.env.NODE_ENV!=="production"&&i(!ie.maxLength||!x(j,ee,ae).mask,"react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."),K){pe(K)||(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: children must be a function"):r(!1));var le=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],q=l({},ie);le.forEach(function(de){return delete q[de]}),oe=K(q);var ce=le.filter(function(de){return oe.props[de]!=null&&oe.props[de]!==ie[de]});ce.length&&(process.env.NODE_ENV!=="production"?r(!1,"react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: "+ce.join(", ")):r(!1)),process.env.NODE_ENV!=="production"&&i(!U,"react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead")}else oe=t.createElement("input",l({ref:this.handleRef},ie));var Q={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(!ie.disabled&&!ie.readOnly&&(Q.onChange=this.onChange,Q.onPaste=this.onPaste,Q.onMouseDown=this.onMouseDown),ie.value!=null&&(Q.value=this.value)),oe=t.cloneElement(oe,Q),oe},T}(t.Component);return yd=Je,yd}var Cd,H2;function lj(){if(H2)return Cd;H2=1;function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=e(b),n=Gu;function r(O,T){for(var R=Object.getOwnPropertyNames(T),F=0;F<R.length;F++){var y=R[F],j=Object.getOwnPropertyDescriptor(T,y);j&&j.configurable&&O[y]===void 0&&Object.defineProperty(O,y,j)}return O}function i(){return(i=Object.assign||function(O){for(var T=1;T<arguments.length;T++){var R=arguments[T];for(var F in R)Object.prototype.hasOwnProperty.call(R,F)&&(O[F]=R[F])}return O}).apply(this,arguments)}function a(O,T){O.prototype=Object.create(T.prototype),r(O.prototype.constructor=O,T)}function l(O,T){if(O==null)return{};var R,F,y={},j=Object.keys(O);for(F=0;F<j.length;F++)R=j[F],0<=T.indexOf(R)||(y[R]=O[R]);return y}function u(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}var c=function(O,T,R,F,y,j,ee,ae){if(!O){var U;if(T===void 0)U=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var K=[R,F,y,j,ee,ae],ie=0;(U=new Error(T.replace(/%s/g,function(){return K[ie++]}))).name="Invariant Violation"}throw U.framesToPop=1,U}},f=c;function h(O,T,R){if("selectionStart"in O&&"selectionEnd"in O)O.selectionStart=T,O.selectionEnd=R;else{var F=O.createTextRange();F.collapse(!0),F.moveStart("character",T),F.moveEnd("character",R-T),F.select()}}function p(O){var T=0,R=0;if("selectionStart"in O&&"selectionEnd"in O)T=O.selectionStart,R=O.selectionEnd;else{var F=document.selection.createRange();F.parentElement()===O&&(T=-F.moveStart("character",-O.value.length),R=-F.moveEnd("character",-O.value.length))}return{start:T,end:R,length:R-T}}var m={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},v="_";function x(O,T,R){var F="",y="",j=null,ee=[];if(T===void 0&&(T=v),R==null&&(R=m),!O||typeof O!="string")return{maskChar:T,formatChars:R,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var ae=!1;return O.split("").forEach(function(U){ae=!ae&&U==="\\"||(ae||!R[U]?(ee.push(F.length),F.length===ee.length-1&&(y+=U)):j=F.length+1,F+=U,!1)}),{maskChar:T,formatChars:R,prefix:y,mask:F,lastEditablePosition:j,permanents:ee}}function S(O,T){return O.permanents.indexOf(T)!==-1}function E(O,T,R){var F=O.mask,y=O.formatChars;if(!R)return!1;if(S(O,T))return F[T]===R;var j=y[F[T]];return new RegExp(j).test(R)}function P(O,T){return T.split("").every(function(R,F){return S(O,F)||!E(O,F,R)})}function M(O,T){var R=O.maskChar,F=O.prefix;if(!R){for(;T.length>F.length&&S(O,T.length-1);)T=T.slice(0,T.length-1);return T.length}for(var y=F.length,j=T.length;j>=F.length;j--){var ee=T[j];if(!S(O,j)&&E(O,j,ee)){y=j+1;break}}return y}function L(O,T){return M(O,T)===O.mask.length}function D(O,T){var R=O.maskChar,F=O.mask,y=O.prefix;if(!R){for((T=z(O,"",T,0)).length<y.length&&(T=y);T.length<F.length&&S(O,T.length);)T+=F[T.length];return T}if(T)return z(O,D(O,""),T,0);for(var j=0;j<F.length;j++)S(O,j)?T+=F[j]:T+=R;return T}function N(O,T,R,F){var y=R+F,j=O.maskChar,ee=O.mask,ae=O.prefix,U=T.split("");if(j)return U.map(function(ie,oe){return oe<R||y<=oe?ie:S(O,oe)?ee[oe]:j}).join("");for(var K=y;K<U.length;K++)S(O,K)&&(U[K]="");return R=Math.max(ae.length,R),U.splice(R,y-R),T=U.join(""),D(O,T)}function z(O,T,R,F){var y=O.mask,j=O.maskChar,ee=O.prefix,ae=R.split(""),U=L(O,T);return!j&&F>T.length&&(T+=y.slice(T.length,F)),ae.every(function(K){for(;q=K,S(O,le=F)&&q!==y[le];){if(F>=T.length&&(T+=y[F]),ie=K,oe=F,j&&S(O,oe)&&ie===j)return!0;if(++F>=y.length)return!1}var ie,oe,le,q;return!E(O,F,K)&&K!==j||(F<T.length?T=j||U||F<ee.length?T.slice(0,F)+K+T.slice(F+1):(T=T.slice(0,F)+K+T.slice(F),D(O,T)):j||(T+=K),++F<y.length)}),T}function X(O,T,R,F){var y=O.mask,j=O.maskChar,ee=R.split(""),ae=F;return ee.every(function(U){for(;ie=U,S(O,K=F)&&ie!==y[K];)if(++F>=y.length)return!1;var K,ie;return(E(O,F,U)||U===j)&&F++,F<y.length}),F-ae}function Y(O,T){for(var R=T;0<=R;--R)if(!S(O,R))return R;return null}function fe(O,T){for(var R=O.mask,F=T;F<R.length;++F)if(!S(O,F))return F;return null}function Te(O){return O||O===0?O+"":""}function Ge(O,T,R,F,y){var j=O.mask,ee=O.prefix,ae=O.lastEditablePosition,U=T,K="",ie=0,oe=0,le=Math.min(y.start,R.start);return R.end>y.start?oe=(ie=X(O,F,K=U.slice(y.start,R.end),le))?y.length:0:U.length<F.length&&(oe=F.length-U.length),U=F,oe&&(oe===1&&!y.length&&(le=y.start===R.start?fe(O,R.start):Y(O,R.start)),U=N(O,U,le,oe)),U=z(O,U,K,le),(le+=ie)>=j.length?le=j.length:le<ee.length&&!ie?le=ee.length:le>=ee.length&&le<ae&&ie&&(le=fe(O,le)),K||(K=null),{value:U=D(O,U),enteredString:K,selection:{start:le,end:le}}}function Xe(){var O=new RegExp("windows","i"),T=new RegExp("phone","i"),R=navigator.userAgent;return O.test(R)&&T.test(R)}function pe(O){return typeof O=="function"}function xe(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function be(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function Ee(O){return(be()?xe():function(){return setTimeout(O,1e3/60)})(O)}function $e(O){(be()||clearTimeout)(O)}var Je=function(O){function T(F){var y=O.call(this,F)||this;y.focused=!1,y.mounted=!1,y.previousSelection=null,y.selectionDeferId=null,y.saveSelectionLoopDeferId=null,y.saveSelectionLoop=function(){y.previousSelection=y.getSelection(),y.saveSelectionLoopDeferId=Ee(y.saveSelectionLoop)},y.runSaveSelectionLoop=function(){y.saveSelectionLoopDeferId===null&&y.saveSelectionLoop()},y.stopSaveSelectionLoop=function(){y.saveSelectionLoopDeferId!==null&&($e(y.saveSelectionLoopDeferId),y.saveSelectionLoopDeferId=null,y.previousSelection=null)},y.getInputDOMNode=function(){if(!y.mounted)return null;var ce=n.findDOMNode(u(u(y))),Q=typeof window<"u"&&ce instanceof window.Element;if(ce&&!Q)return null;if(ce.nodeName!=="INPUT"&&(ce=ce.querySelector("input")),!ce)throw new Error("react-input-mask: inputComponent doesn't contain input node");return ce},y.getInputValue=function(){var ce=y.getInputDOMNode();return ce?ce.value:null},y.setInputValue=function(ce){var Q=y.getInputDOMNode();Q&&(y.value=ce,Q.value=ce)},y.setCursorToEnd=function(){var ce=M(y.maskOptions,y.value),Q=fe(y.maskOptions,ce);Q!==null&&y.setCursorPosition(Q)},y.setSelection=function(ce,Q,de){de===void 0&&(de={});var Se=y.getInputDOMNode(),ye=y.isFocused();Se&&ye&&(de.deferred||h(Se,ce,Q),y.selectionDeferId!==null&&$e(y.selectionDeferId),y.selectionDeferId=Ee(function(){y.selectionDeferId=null,h(Se,ce,Q)}),y.previousSelection={start:ce,end:Q,length:Math.abs(Q-ce)})},y.getSelection=function(){return p(y.getInputDOMNode())},y.getCursorPosition=function(){return y.getSelection().start},y.setCursorPosition=function(ce){y.setSelection(ce,ce)},y.isFocused=function(){return y.focused},y.getBeforeMaskedValueChangeConfig=function(){var ce=y.maskOptions,Q=ce.mask,de=ce.maskChar,Se=ce.permanents,ye=ce.formatChars;return{mask:Q,maskChar:de,permanents:Se,alwaysShowMask:!!y.props.alwaysShowMask,formatChars:ye}},y.isInputAutofilled=function(ce,Q,de,Se){var ye=y.getInputDOMNode();try{if(ye.matches(":-webkit-autofill"))return!0}catch{}return!y.focused||Se.end<de.length&&Q.end===ce.length},y.onChange=function(ce){var Q=u(u(y)).beforePasteState,de=u(u(y)).previousSelection,Se=y.props.beforeMaskedValueChange,ye=y.getInputValue(),Be=y.value,He=y.getSelection();y.isInputAutofilled(ye,He,Be,de)&&(Be=D(y.maskOptions,""),de={start:0,end:0,length:0}),Q&&(de=Q.selection,Be=Q.value,He={start:de.start+ye.length,end:de.start+ye.length,length:0},ye=Be.slice(0,de.start)+ye+Be.slice(de.end),y.beforePasteState=null);var qe=Ge(y.maskOptions,ye,He,Be,de),ot=qe.enteredString,st=qe.selection,It=qe.value;if(pe(Se)){var Yt=Se({value:It,selection:st},{value:Be,selection:de},ot,y.getBeforeMaskedValueChangeConfig());It=Yt.value,st=Yt.selection}y.setInputValue(It),pe(y.props.onChange)&&y.props.onChange(ce),y.isWindowsPhoneBrowser?y.setSelection(st.start,st.end,{deferred:!0}):y.setSelection(st.start,st.end)},y.onFocus=function(ce){var Q=y.props.beforeMaskedValueChange,de=y.maskOptions,Se=de.mask,ye=de.prefix;if(y.focused=!0,y.mounted=!0,Se){if(y.value)M(y.maskOptions,y.value)<y.maskOptions.mask.length&&y.setCursorToEnd();else{var Be=D(y.maskOptions,ye),He=D(y.maskOptions,Be),qe=M(y.maskOptions,He),ot=fe(y.maskOptions,qe),st={start:ot,end:ot};if(pe(Q)){var It=Q({value:He,selection:st},{value:y.value,selection:null},null,y.getBeforeMaskedValueChangeConfig());He=It.value,st=It.selection}var Yt=He!==y.getInputValue();Yt&&y.setInputValue(He),Yt&&pe(y.props.onChange)&&y.props.onChange(ce),y.setSelection(st.start,st.end)}y.runSaveSelectionLoop()}pe(y.props.onFocus)&&y.props.onFocus(ce)},y.onBlur=function(ce){var Q=y.props.beforeMaskedValueChange,de=y.maskOptions.mask;if(y.stopSaveSelectionLoop(),y.focused=!1,de&&!y.props.alwaysShowMask&&P(y.maskOptions,y.value)){var Se="";pe(Q)&&(Se=Q({value:Se,selection:null},{value:y.value,selection:y.previousSelection},null,y.getBeforeMaskedValueChangeConfig()).value);var ye=Se!==y.getInputValue();ye&&y.setInputValue(Se),ye&&pe(y.props.onChange)&&y.props.onChange(ce)}pe(y.props.onBlur)&&y.props.onBlur(ce)},y.onMouseDown=function(ce){if(!y.focused&&document.addEventListener){y.mouseDownX=ce.clientX,y.mouseDownY=ce.clientY,y.mouseDownTime=new Date().getTime();var Q=function de(Se){if(document.removeEventListener("mouseup",de),y.focused){var ye=Math.abs(Se.clientX-y.mouseDownX),Be=Math.abs(Se.clientY-y.mouseDownY),He=Math.max(ye,Be),qe=new Date().getTime()-y.mouseDownTime;(He<=10&&qe<=200||He<=5&&qe<=300)&&y.setCursorToEnd()}};document.addEventListener("mouseup",Q)}pe(y.props.onMouseDown)&&y.props.onMouseDown(ce)},y.onPaste=function(ce){pe(y.props.onPaste)&&y.props.onPaste(ce),ce.defaultPrevented||(y.beforePasteState={value:y.getInputValue(),selection:y.getSelection()},y.setInputValue(""))},y.handleRef=function(ce){y.props.children==null&&pe(y.props.inputRef)&&y.props.inputRef(ce)};var j=F.mask,ee=F.maskChar,ae=F.formatChars,U=F.alwaysShowMask,K=F.beforeMaskedValueChange,ie=F.defaultValue,oe=F.value;y.maskOptions=x(j,ee,ae),ie==null&&(ie=""),oe==null&&(oe=ie);var le=Te(oe);if(y.maskOptions.mask&&(U||le)&&(le=D(y.maskOptions,le),pe(K))){var q=F.value;F.value==null&&(q=ie),le=K({value:le,selection:null},{value:q=Te(q),selection:null},null,y.getBeforeMaskedValueChangeConfig()).value}return y.value=le,y}a(T,O);var R=T.prototype;return R.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=Xe(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},R.componentDidUpdate=function(){var F=this.previousSelection,y=this.props,j=y.beforeMaskedValueChange,ee=y.alwaysShowMask,ae=y.mask,U=y.maskChar,K=y.formatChars,ie=this.maskOptions,oe=ee||this.isFocused(),le=this.props.value!=null,q=le?Te(this.props.value):this.value,ce=F?F.start:null;if(this.maskOptions=x(ae,U,K),this.maskOptions.mask){!ie.mask&&this.isFocused()&&this.runSaveSelectionLoop();var Q=this.maskOptions.mask&&this.maskOptions.mask!==ie.mask;if(ie.mask||le||(q=this.getInputValue()),(Q||this.maskOptions.mask&&(q||oe))&&(q=D(this.maskOptions,q)),Q){var de=M(this.maskOptions,q);(ce===null||de<ce)&&(ce=L(this.maskOptions,q)?de:fe(this.maskOptions,de))}!this.maskOptions.mask||!P(this.maskOptions,q)||oe||le&&this.props.value||(q="");var Se={start:ce,end:ce};if(pe(j)){var ye=j({value:q,selection:Se},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());q=ye.value,Se=ye.selection}this.value=q;var Be=this.getInputValue()!==this.value;Be?(this.setInputValue(this.value),this.forceUpdate()):Q&&this.forceUpdate();var He=!1;Se.start!=null&&Se.end!=null&&(He=!F||F.start!==Se.start||F.end!==Se.end),(He||Be)&&this.setSelection(Se.start,Se.end)}else ie.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},R.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&$e(this.selectionDeferId),this.stopSaveSelectionLoop()},R.render=function(){var F,y=this.props,j=(y.mask,y.alwaysShowMask,y.maskChar,y.formatChars,y.inputRef,y.beforeMaskedValueChange,y.children),ee=l(y,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(j){pe(j)||f(!1);var ae=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],U=i({},ee);ae.forEach(function(ie){return delete U[ie]}),F=j(U),ae.filter(function(ie){return F.props[ie]!=null&&F.props[ie]!==ee[ie]}).length&&f(!1)}else F=t.createElement("input",i({ref:this.handleRef},ee));var K={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(ee.disabled||ee.readOnly||(K.onChange=this.onChange,K.onPaste=this.onPaste,K.onMouseDown=this.onMouseDown),ee.value!=null&&(K.value=this.value)),F=t.cloneElement(F,K)},T}(t.Component);return Cd=Je,Cd}process.env.NODE_ENV==="production"?md.exports=lj():md.exports=sj();var uj=md.exports;const cj=Hu(uj),xd=({className:e,children:t,disabled:n=!1,focused:r=!1,error:i,...a})=>A.jsx("label",{className:et("absolute origin-top-left bottom-1 left-2 text-sm","peer-focus:text-brand-primary","transition hover:transition","pointer-events-none",{"text-gray-500":!i&&!n&&!r,"text-brand-danger":i,"text-brand-secondary-text":n,"text-brand-primary":r},e),...a,children:t}),W2=({error:e,disabled:t,children:n})=>A.jsx("div",{className:et("border-brand-gray bg-brand-light-gray dark:bg-brand-dark-gray-dark focus-within:border-brand-secondary","relative h-[36px]","transition focus-within:transition","shadow-input focus-within:shadow-input-focus",{"bg-red-50 shadow-input-error focus-within:shadow-input-error":e,"border-gray-300 bg-[#cbcbcb] dark:bg-brand-text focus-within:border-brand cursor-not-allowed children:cursor-not-allowed":t}),children:n});function fj({type:e,onTypeChange:t}){return A.jsxs("span",{className:"absolute transition-all right-2 top-2/4 -translate-y-2/4 group",onClick:()=>{t(e==="password"?"text":"password")},children:[A.jsx(E4,{className:"text-brand-dark-gray group-hover:text-brand"}),e==="text"&&A.jsx("span",{className:"absolute top-2/4 right-2/4 -translate-y-2/4 translate-x-2/4 w-[2.25px] h-[22px] rotate-45 bg-brand-dark-gray group-hover:bg-brand"})]})}const Z2=({className:e,error:t,helper:n,label:r,mask:i,name:a,type:l,value:u,onChange:c,onBlur:f,disabled:h=!1,...p})=>{const m=et("peer","block w-full text-sm border-none appearance-none focus:outline-none focus:ring-0","absolute bottom-0","bg-transparent text-brand-secondary-text pb-0 px-2",e),[v,x]=b.useState(l);function S(E){x(E)}return A.jsxs("div",{children:[A.jsxs(W2,{disabled:h,error:t,children:[l==="color"?A.jsx(V2,{color:u,disabled:h,onChange:c}):i?A.jsx(cj,{disabled:h,autoComplete:"off",type:"text",name:a,mask:i,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`}):A.jsxs(A.Fragment,{children:[A.jsx("input",{disabled:h,autoComplete:"off",type:v,name:a,value:u,onChange:c,onBlur:f,placeholder:" ",className:`${m}`,...p}),l==="password"&&A.jsx(fj,{type:v,onTypeChange:S})]}),A.jsx(xd,{htmlFor:a,disabled:h,error:t,children:r})]}),n?A.jsx(gd,{children:n}):null,t?A.jsx(pd,{children:t}):null]})},wd={Navbar:({children:e,className:t,...n})=>A.jsx("nav",{className:et("px-2 py-2 m-2","flex items-center justify-between rounded-lg select-none","bg-gradient-to-r from-primary-500 to-primary-400",t),...n,children:e}),Button:({children:e,className:t,...n})=>A.jsx("button",{className:et("rounded-md flex items-center justify-center","w-12 h-12","transition bg-white hover:bg-primary-50 active:bg-primary-100 text-primary-500",t),...n,children:e}),Title:({children:e,className:t,...n})=>A.jsx("h1",{className:et("pl-2 font-bold text-white text-2.5xl",t),...n,children:e})},dj=({label:e,name:t,className:n,...r})=>A.jsx("div",{className:et("bg-brand-light-gray rounded-lg inline-block p-1.5 transition","border-2 border-transparent focus-within:border-brand-primary focus-within:transition",{className:n!==""}),children:A.jsxs("label",{htmlFor:(r==null?void 0:r.id)||t,className:et("relative","flex gap-2 items-center justify-center"),children:[A.jsx("input",{name:t,type:"radio",className:et("relative appearance-none w-5 h-5 border rounded-full text-brand-primary cursor-pointer transition-all focus:ring-0 focus:ring-offset-0 focus:outline-none","checked:after:absolute checked:before:absolute","checked:after:inset-0 checked:before:inset-0","checked:after:rounded-full checked:before:rounded-full","checked:after:scale-75","checked:after:bg-brand-primary checked:before:bg-white","checked:border-2"),...r}),A.jsx("span",{className:"text-xs text-brand-secondary-text",children:e})]})});function yi(e){"@babel/helpers - typeof";return yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yi(e)}function hj(e,t){if(yi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(yi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function X2(e){var t=hj(e,"string");return yi(t)=="symbol"?t:String(t)}function Va(e,t,n){return t=X2(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z2(Object(n),!0).forEach(function(r){Va(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pj(e){if(Array.isArray(e))return e}function gj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,u=[],c=!0,f=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw i}}return u}}function Sd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U2(e,t){if(e){if(typeof e=="string")return Sd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sd(e,t)}}function mj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
124
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gr(e,t){return pj(e)||gj(e,t)||U2(e,t)||mj()}function vj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function mr(e,t){if(e==null)return{};var n=vj(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var bj=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function yj(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,l=a===void 0?null:a,u=e.inputValue,c=e.menuIsOpen,f=e.onChange,h=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,v=e.value,x=mr(e,bj),S=b.useState(u!==void 0?u:n),E=gr(S,2),P=E[0],M=E[1],L=b.useState(c!==void 0?c:i),D=gr(L,2),N=D[0],z=D[1],X=b.useState(v!==void 0?v:l),Y=gr(X,2),fe=Y[0],Te=Y[1],Ge=b.useCallback(function(Je,O){typeof f=="function"&&f(Je,O),Te(Je)},[f]),Xe=b.useCallback(function(Je,O){var T;typeof h=="function"&&(T=h(Je,O)),M(T!==void 0?T:Je)},[h]),pe=b.useCallback(function(){typeof m=="function"&&m(),z(!0)},[m]),xe=b.useCallback(function(){typeof p=="function"&&p(),z(!1)},[p]),be=u!==void 0?u:P,Ee=c!==void 0?c:N,$e=v!==void 0?v:fe;return Oe(Oe({},x),{},{inputValue:be,menuIsOpen:Ee,onChange:Ge,onInputChange:Xe,onMenuClose:xe,onMenuOpen:pe,value:$e})}function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Me.apply(this,arguments)}function Cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,X2(r.key),r)}}function xj(e,t,n){return t&&Y2(e.prototype,t),n&&Y2(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Id(e,t){return Id=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Id(e,t)}function wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Id(e,t)}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(e)}function Sj(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ej(e,t){if(t&&(yi(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ij(e)}function Aj(e){var t=Sj();return function(){var r=bl(e),i;if(t){var a=bl(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return Ej(this,i)}}function _j(e){if(Array.isArray(e))return Sd(e)}function Pj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
125
125
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ed(e){return _j(e)||Pj(e)||U2(e)||Tj()}function Oj(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Fj(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Mj=function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Fj(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var a=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;a&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
126
126
  `+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a}if(this.isSpeedy){var l=Oj(i);try{l.insertRule(r,l.cssRules.length)}catch(u){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',u)}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),zt="-ms-",yl="-moz-",lt="-webkit-",Ad="comm",_d="rule",Pd="decl",Rj="@import",J2="@keyframes",Lj="@layer",Vj=Math.abs,Cl=String.fromCharCode,Dj=Object.assign;function Nj(e,t){return Ht(e,0)^45?(((t<<2^Ht(e,0))<<2^Ht(e,1))<<2^Ht(e,2))<<2^Ht(e,3):0}function K2(e){return e.trim()}function $j(e,t){return(e=t.exec(e))?e[0]:e}function ut(e,t,n){return e.replace(t,n)}function Td(e,t){return e.indexOf(t)}function Ht(e,t){return e.charCodeAt(t)|0}function Da(e,t,n){return e.slice(t,n)}function qn(e){return e.length}function Od(e){return e.length}function xl(e,t){return t.push(e),e}function Bj(e,t){return e.map(t).join("")}var wl=1,Ao=1,q2=0,sn=0,Nt=0,_o="";function Sl(e,t,n,r,i,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:wl,column:Ao,length:l,return:""}}function Na(e,t){return Dj(Sl("",null,null,"",null,null,0),e,{length:-e.length},t)}function kj(){return Nt}function jj(){return Nt=sn>0?Ht(_o,--sn):0,Ao--,Nt===10&&(Ao=1,wl--),Nt}function gn(){return Nt=sn<q2?Ht(_o,sn++):0,Ao++,Nt===10&&(Ao=1,wl++),Nt}function Qn(){return Ht(_o,sn)}function Il(){return sn}function $a(e,t){return Da(_o,e,t)}function Ba(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Q2(e){return wl=Ao=1,q2=qn(_o=e),sn=0,[]}function eb(e){return _o="",e}function El(e){return K2($a(sn-1,Fd(e===91?e+2:e===40?e+1:e)))}function Gj(e){for(;(Nt=Qn())&&Nt<33;)gn();return Ba(e)>2||Ba(Nt)>3?"":" "}function Hj(e,t){for(;--t&&gn()&&!(Nt<48||Nt>102||Nt>57&&Nt<65||Nt>70&&Nt<97););return $a(e,Il()+(t<6&&Qn()==32&&gn()==32))}function Fd(e){for(;gn();)switch(Nt){case e:return sn;case 34:case 39:e!==34&&e!==39&&Fd(Nt);break;case 40:e===41&&Fd(e);break;case 92:gn();break}return sn}function Wj(e,t){for(;gn()&&e+Nt!==57;)if(e+Nt===84&&Qn()===47)break;return"/*"+$a(t,sn-1)+"*"+Cl(e===47?e:gn())}function Zj(e){for(;!Ba(Qn());)gn();return $a(e,sn)}function Xj(e){return eb(Al("",null,null,null,[""],e=Q2(e),0,[0],e))}function Al(e,t,n,r,i,a,l,u,c){for(var f=0,h=0,p=l,m=0,v=0,x=0,S=1,E=1,P=1,M=0,L="",D=i,N=a,z=r,X=L;E;)switch(x=M,M=gn()){case 40:if(x!=108&&Ht(X,p-1)==58){Td(X+=ut(El(M),"&","&\f"),"&\f")!=-1&&(P=-1);break}case 34:case 39:case 91:X+=El(M);break;case 9:case 10:case 13:case 32:X+=Gj(x);break;case 92:X+=Hj(Il()-1,7);continue;case 47:switch(Qn()){case 42:case 47:xl(zj(Wj(gn(),Il()),t,n),c);break;default:X+="/"}break;case 123*S:u[f++]=qn(X)*P;case 125*S:case 59:case 0:switch(M){case 0:case 125:E=0;case 59+h:P==-1&&(X=ut(X,/\f/g,"")),v>0&&qn(X)-p&&xl(v>32?nb(X+";",r,n,p-1):nb(ut(X," ","")+";",r,n,p-2),c);break;case 59:X+=";";default:if(xl(z=tb(X,t,n,f,h,i,u,L,D=[],N=[],p),a),M===123)if(h===0)Al(X,t,z,z,D,a,p,u,N);else switch(m===99&&Ht(X,3)===110?100:m){case 100:case 108:case 109:case 115:Al(e,z,z,r&&xl(tb(e,z,z,0,0,i,u,L,i,D=[],p),N),i,N,p,u,r?D:N);break;default:Al(X,z,z,z,[""],N,0,u,N)}}f=h=v=0,S=P=1,L=X="",p=l;break;case 58:p=1+qn(X),v=x;default:if(S<1){if(M==123)--S;else if(M==125&&S++==0&&jj()==125)continue}switch(X+=Cl(M),M*S){case 38:P=h>0?1:(X+="\f",-1);break;case 44:u[f++]=(qn(X)-1)*P,P=1;break;case 64:Qn()===45&&(X+=El(gn())),m=Qn(),h=p=qn(L=X+=Zj(Il())),M++;break;case 45:x===45&&qn(X)==2&&(S=0)}}return a}function tb(e,t,n,r,i,a,l,u,c,f,h){for(var p=i-1,m=i===0?a:[""],v=Od(m),x=0,S=0,E=0;x<r;++x)for(var P=0,M=Da(e,p+1,p=Vj(S=l[x])),L=e;P<v;++P)(L=K2(S>0?m[P]+" "+M:ut(M,/&\f/g,m[P])))&&(c[E++]=L);return Sl(e,t,n,i===0?_d:u,c,f,h)}function zj(e,t,n){return Sl(e,t,n,Ad,Cl(kj()),Da(e,2,-2),0)}function nb(e,t,n,r){return Sl(e,t,n,Pd,Da(e,0,r),Da(e,r+1,-1),r)}function Po(e,t){for(var n="",r=Od(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Uj(e,t,n,r){switch(e.type){case Lj:if(e.children.length)break;case Rj:case Pd:return e.return=e.return||e.value;case Ad:return"";case J2:return e.return=e.value+"{"+Po(e.children,r)+"}";case _d:e.value=e.props.join(",")}return qn(n=Po(e.children,r))?e.return=e.value+"{"+n+"}":""}function Yj(e){var t=Od(e);return function(n,r,i,a){for(var l="",u=0;u<t;u++)l+=e[u](n,r,i,a)||"";return l}}function Jj(e){return function(t){t.root||(t=t.return)&&e(t)}}function Kj(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var qj=function(t,n,r){for(var i=0,a=0;i=a,a=Qn(),i===38&&a===12&&(n[r]=1),!Ba(a);)gn();return $a(t,sn)},Qj=function(t,n){var r=-1,i=44;do switch(Ba(i)){case 0:i===38&&Qn()===12&&(n[r]=1),t[r]+=qj(sn-1,n,r);break;case 2:t[r]+=El(i);break;case 4:if(i===44){t[++r]=Qn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Cl(i)}while(i=gn());return t},eG=function(t,n){return eb(Qj(Q2(t),n))},rb=new WeakMap,tG=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!rb.get(r))&&!i){rb.set(t,!0);for(var a=[],l=eG(n,a),u=r.props,c=0,f=0;c<l.length;c++)for(var h=0;h<u.length;h++,f++)t.props[f]=a[c]?l[c].replace(/&\f/g,u[h]):u[h]+" "+l[c]}}},nG=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},rG="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",iG=function(t){return t.type==="comm"&&t.children.indexOf(rG)>-1},oG=function(t){return function(n,r,i){if(!(n.type!=="rule"||t.compat)){var a=n.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var l=!!n.parent,u=l?n.parent.children:i,c=u.length-1;c>=0;c--){var f=u[c];if(f.line<n.line)break;if(f.column<n.column){if(iG(f))return;break}}a.forEach(function(h){console.error('The pseudo class "'+h+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+h.split("-child")[0]+'-of-type".')})}}}},ib=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},aG=function(t,n){for(var r=t-1;r>=0;r--)if(!ib(n[r]))return!0;return!1},ob=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},sG=function(t,n,r){ib(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ob(t)):aG(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ob(t)))};function ab(e,t){switch(Nj(e,t)){case 5103:return lt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return lt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return lt+e+yl+e+zt+e+e;case 6828:case 4268:return lt+e+zt+e+e;case 6165:return lt+e+zt+"flex-"+e+e;case 5187:return lt+e+ut(e,/(\w+).+(:[^]+)/,lt+"box-$1$2"+zt+"flex-$1$2")+e;case 5443:return lt+e+zt+"flex-item-"+ut(e,/flex-|-self/,"")+e;case 4675:return lt+e+zt+"flex-line-pack"+ut(e,/align-content|flex-|-self/,"")+e;case 5548:return lt+e+zt+ut(e,"shrink","negative")+e;case 5292:return lt+e+zt+ut(e,"basis","preferred-size")+e;case 6060:return lt+"box-"+ut(e,"-grow","")+lt+e+zt+ut(e,"grow","positive")+e;case 4554:return lt+ut(e,/([^-])(transform)/g,"$1"+lt+"$2")+e;case 6187:return ut(ut(ut(e,/(zoom-|grab)/,lt+"$1"),/(image-set)/,lt+"$1"),e,"")+e;case 5495:case 3959:return ut(e,/(image-set\([^]*)/,lt+"$1$`$1");case 4968:return ut(ut(e,/(.+:)(flex-)?(.*)/,lt+"box-pack:$3"+zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+lt+e+e;case 4095:case 3583:case 4068:case 2532:return ut(e,/(.+)-inline(.+)/,lt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qn(e)-1-t>6)switch(Ht(e,t+1)){case 109:if(Ht(e,t+4)!==45)break;case 102:return ut(e,/(.+:)(.+)-([^]+)/,"$1"+lt+"$2-$3$1"+yl+(Ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Td(e,"stretch")?ab(ut(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ht(e,t+1)!==115)break;case 6444:switch(Ht(e,qn(e)-3-(~Td(e,"!important")&&10))){case 107:return ut(e,":",":"+lt)+e;case 101:return ut(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lt+(Ht(e,14)===45?"inline-":"")+"box$3$1"+lt+"$2$3$1"+zt+"$2box$3")+e}break;case 5936:switch(Ht(e,t+11)){case 114:return lt+e+zt+ut(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return lt+e+zt+ut(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return lt+e+zt+ut(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return lt+e+zt+e+e}return e}var lG=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Pd:t.return=ab(t.value,t.length);break;case J2:return Po([Na(t,{value:ut(t.value,"@","@"+lt)})],i);case _d:if(t.length)return Bj(t.props,function(a){switch($j(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Po([Na(t,{props:[ut(a,/:(read-\w+)/,":"+yl+"$1")]})],i);case"::placeholder":return Po([Na(t,{props:[ut(a,/:(plac\w+)/,":"+lt+"input-$1")]}),Na(t,{props:[ut(a,/:(plac\w+)/,":"+yl+"$1")]}),Na(t,{props:[ut(a,/:(plac\w+)/,zt+"input-$1")]})],i)}return""})}},uG=[lG],cG=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
127
127
  If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var E=S.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||uG;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var E=S.getAttribute("data-emotion").split(" "),P=1;P<E.length;P++)a[E[P]]=!0;u.push(S)});var c,f=[tG,nG];process.env.NODE_ENV!=="production"&&f.push(oG({get compat(){return x.compat}}),sG);{var h,p=[Uj,process.env.NODE_ENV!=="production"?function(S){S.root||(S.return?h.insert(S.return):S.value&&S.type!==Ad&&h.insert(S.value+"{}"))}:Jj(function(S){h.insert(S)})],m=Yj(f.concat(i,p)),v=function(E){return Po(Xj(E),m)};c=function(E,P,M,L){h=M,process.env.NODE_ENV!=="production"&&P.map!==void 0&&(h={insert:function(N){M.insert(N+P.map)}}),v(E?E+"{"+P.styles+"}":P.styles),L&&(x.inserted[P.name]=!0)}}var x={key:n,sheet:new Mj({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:c};return x.sheet.hydrate(u),x},sb=Ef,fG={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dG={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},lb={};lb[sb.ForwardRef]=fG,lb[sb.Memo]=dG;var hG=!0;function ub(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Md=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||hG===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Rd=function(t,n,r){Md(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function pG(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var gG={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},cb=`You have illegal escape sequence in your template literal, most likely inside content's property value.
@@ -133,10 +133,10 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
133
133
  You should wrap it with \`css\` like this:
134
134
 
135
135
  `+("css`"+c+"`"))}break}if(t==null)return n;var f=t[n];return f!==void 0?f:n}function SG(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ka(e,t,n[i])+";";else for(var a in n){var l=n[a];if(typeof l!="object")t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":db(l)&&(r+=Vd(a)+":"+_l(a,l)+";");else{if(a==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(pb);if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var u=0;u<l.length;u++)db(l[u])&&(r+=Vd(a)+":"+_l(a,l[u])+";");else{var c=ka(e,t,l);switch(a){case"animation":case"animationName":{r+=Vd(a)+":"+c+";";break}default:process.env.NODE_ENV!=="production"&&a==="undefined"&&console.error(mG),r+=a+"{"+c+"}"}}}}return r}var gb=/label:\s*([^\s;\n{]+)\s*(;|$)/g,mb;process.env.NODE_ENV!=="production"&&(mb=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Bn,ja=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,a="";Bn=void 0;var l=t[0];l==null||l.raw===void 0?(i=!1,a+=ka(r,n,l)):(process.env.NODE_ENV!=="production"&&l[0]===void 0&&console.error(cb),a+=l[0]);for(var u=1;u<t.length;u++)a+=ka(r,n,t[u]),i&&(process.env.NODE_ENV!=="production"&&l[u]===void 0&&console.error(cb),a+=l[u]);var c;process.env.NODE_ENV!=="production"&&(a=a.replace(mb,function(m){return c=m,""})),gb.lastIndex=0;for(var f="",h;(h=gb.exec(a))!==null;)f+="-"+h[1];var p=pG(a)+f;return process.env.NODE_ENV!=="production"?{name:p,styles:a,map:c,next:Bn,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:p,styles:a,next:Bn}},IG=function(t){return t()},vb=ne.useInsertionEffect?ne.useInsertionEffect:!1,bb=vb||IG,yb=vb||ne.useLayoutEffect,Dd={}.hasOwnProperty,Nd=ne.createContext(typeof HTMLElement<"u"?cG({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Nd.displayName="EmotionCacheContext"),Nd.Provider;var $d=function(t){return b.forwardRef(function(n,r){var i=b.useContext(Nd);return t(n,i,r)})},Pl=ne.createContext({});process.env.NODE_ENV!=="production"&&(Pl.displayName="EmotionThemeContext");var Cb=function(t){var n=t.split(".");return n[n.length-1]},EG=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return Cb(n[1])},AG=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),_G=function(t){return t.replace(/\$/g,"-")},PG=function(t){if(t)for(var n=t.split(`
136
- `),r=0;r<n.length;r++){var i=EG(n[r]);if(i){if(AG.has(i))break;if(/^[A-Z]/.test(i))return _G(i)}}},Bd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",kd="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",TG=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var i in n)Dd.call(n,i)&&(r[i]=n[i]);if(r[Bd]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var a=PG(new Error().stack);a&&(r[kd]=a)}return r},OG=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Md(n,r,i),bb(function(){return Rd(n,r,i)}),null},xb=$d(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Bd],a=[r],l="";typeof e.className=="string"?l=ub(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var u=ja(a,void 0,ne.useContext(Pl));if(process.env.NODE_ENV!=="production"&&u.name.indexOf("-")===-1){var c=e[kd];c&&(u=ja([u,"label:"+c+";"]))}l+=t.key+"-"+u.name;var f={};for(var h in e)Dd.call(e,h)&&h!=="css"&&h!==Bd&&(process.env.NODE_ENV==="production"||h!==kd)&&(f[h]=e[h]);return f.ref=n,f.className=l,ne.createElement(ne.Fragment,null,ne.createElement(OG,{cache:t,serialized:u,isStringTag:typeof i=="string"}),ne.createElement(i,f))});process.env.NODE_ENV!=="production"&&(xb.displayName="EmotionCssPropInternal");var FG=xb,MG={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Pe=function(t,n){var r=arguments;if(n==null||!Dd.call(n,"css"))return ne.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=FG,a[1]=TG(t,n);for(var l=2;l<i;l++)a[l]=r[l];return ne.createElement.apply(null,a)},wb=!1,RG=$d(function(e,t){process.env.NODE_ENV!=="production"&&!wb&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),wb=!0);var n=e.styles,r=ja([n],void 0,ne.useContext(Pl)),i=ne.useRef();return yb(function(){var a=t.key+"-global",l=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,c=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),c!==null&&(u=!0,c.setAttribute("data-emotion",a),l.hydrate([c])),i.current=[l,u],function(){l.flush()}},[t]),yb(function(){var a=i.current,l=a[0],u=a[1];if(u){a[1]=!1;return}if(r.next!==void 0&&Rd(t,r.next,!0),l.tags.length){var c=l.tags[l.tags.length-1].nextElementSibling;l.before=c,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(RG.displayName="EmotionGlobal");function jd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ja(t)}var LG=function(){var t=jd.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},VG=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var a=t[r];if(a!=null){var l=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))l=e(a);else{process.env.NODE_ENV!=="production"&&a.styles!==void 0&&a.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),l="";for(var u in a)a[u]&&u&&(l&&(l+=" "),l+=u)}break}default:l=a}l&&(i&&(i+=" "),i+=l)}}return i};function DG(e,t,n){var r=[],i=ub(e,r,n);return r.length<2?n:i+t(r)}var NG=function(t){var n=t.cache,r=t.serializedArr;return bb(function(){for(var i=0;i<r.length;i++)Rd(n,r[i],!1)}),null},$G=$d(function(e,t){var n=!1,r=[],i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];var m=ja(h,t.registered);return r.push(m),Md(t,m,!1),t.key+"-"+m.name},a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return DG(t.registered,i,VG(h))},l={css:i,cx:a,theme:ne.useContext(Pl)},u=e.children(l);return n=!0,ne.createElement(ne.Fragment,null,ne.createElement(NG,{cache:t,serializedArr:r}),u)});if(process.env.NODE_ENV!=="production"&&($G.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Sb=!0,BG=typeof jest<"u"||typeof vi<"u";if(Sb&&!BG){var Ib=typeof globalThis<"u"?globalThis:Sb?window:global,Eb="__EMOTION_REACT_"+MG.version.split(".")[0]+"__";Ib[Eb]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Ib[Eb]=!0}}function kG(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const jG=Math.min,GG=Math.max,Tl=Math.round,Ol=Math.floor,Fl=e=>({x:e,y:e});function HG(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ab(e){return Pb(e)?(e.nodeName||"").toLowerCase():"#document"}function kn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _b(e){var t;return(t=(Pb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Pb(e){return e instanceof Node||e instanceof kn(e).Node}function Gd(e){return e instanceof Element||e instanceof kn(e).Element}function Hd(e){return e instanceof HTMLElement||e instanceof kn(e).HTMLElement}function Tb(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof kn(e).ShadowRoot}function Ob(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Wd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function WG(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ZG(e){return["html","body","#document"].includes(Ab(e))}function Wd(e){return kn(e).getComputedStyle(e)}function XG(e){if(Ab(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Tb(e)&&e.host||_b(e);return Tb(t)?t.host:t}function Fb(e){const t=XG(e);return ZG(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hd(t)&&Ob(t)?t:Fb(t)}function Ml(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Fb(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),l=kn(i);return a?t.concat(l,l.visualViewport||[],Ob(i)?i:[],l.frameElement&&n?Ml(l.frameElement):[]):t.concat(i,Ml(i,[],n))}function zG(e){const t=Wd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Hd(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=Tl(n)!==a||Tl(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function Zd(e){return Gd(e)?e:e.contextElement}function Xd(e){const t=Zd(e);if(!Hd(t))return Fl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=zG(t);let l=(a?Tl(n.width):n.width)/r,u=(a?Tl(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const UG=Fl(0);function YG(e){const t=kn(e);return!WG()||!t.visualViewport?UG:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function JG(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==kn(e)?!1:t}function Mb(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Zd(e);let l=Fl(1);t&&(r?Gd(r)&&(l=Xd(r)):l=Xd(e));const u=JG(a,n,r)?YG(a):Fl(0);let c=(i.left+u.x)/l.x,f=(i.top+u.y)/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const m=kn(a),v=r&&Gd(r)?kn(r):r;let x=m.frameElement;for(;x&&r&&v!==m;){const S=Xd(x),E=x.getBoundingClientRect(),P=Wd(x),M=E.left+(x.clientLeft+parseFloat(P.paddingLeft))*S.x,L=E.top+(x.clientTop+parseFloat(P.paddingTop))*S.y;c*=S.x,f*=S.y,h*=S.x,p*=S.y,c+=M,f+=L,x=kn(x).frameElement}}return HG({width:h,height:p,x:c,y:f})}function KG(e,t){let n=null,r;const i=_b(e);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function l(u,c){u===void 0&&(u=!1),c===void 0&&(c=1),a();const{left:f,top:h,width:p,height:m}=e.getBoundingClientRect();if(u||t(),!p||!m)return;const v=Ol(h),x=Ol(i.clientWidth-(f+p)),S=Ol(i.clientHeight-(h+m)),E=Ol(f),M={rootMargin:-v+"px "+-x+"px "+-S+"px "+-E+"px",threshold:GG(0,jG(1,c))||1};let L=!0;function D(N){const z=N[0].intersectionRatio;if(z!==c){if(!L)return l();z?l(!1,z):r=setTimeout(()=>{l(!1,1e-7)},100)}L=!1}try{n=new IntersectionObserver(D,{...M,root:i.ownerDocument})}catch{n=new IntersectionObserver(D,M)}n.observe(e)}return l(!0),a}function qG(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=Zd(e),h=i||a?[...f?Ml(f):[],...Ml(t)]:[];h.forEach(P=>{i&&P.addEventListener("scroll",n,{passive:!0}),a&&P.addEventListener("resize",n)});const p=f&&u?KG(f,n):null;let m=-1,v=null;l&&(v=new ResizeObserver(P=>{let[M]=P;M&&M.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{v&&v.observe(t)})),n()}),f&&!c&&v.observe(f),v.observe(t));let x,S=c?Mb(e):null;c&&E();function E(){const P=Mb(e);S&&(P.x!==S.x||P.y!==S.y||P.width!==S.width||P.height!==S.height)&&n(),S=P,x=requestAnimationFrame(E)}return n(),()=>{h.forEach(P=>{i&&P.removeEventListener("scroll",n),a&&P.removeEventListener("resize",n)}),p&&p(),v&&v.disconnect(),v=null,c&&cancelAnimationFrame(x)}}var zd=b.useLayoutEffect,QG=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Rl=function(){};function eH(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function tH(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&a.push("".concat(eH(e,l)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Rb=function(t){return cH(t)?t.filter(Boolean):yi(t)==="object"&&t!==null?[t]:[]},Lb=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=mr(t,QG);return Oe({},n)},Ot=function(t,n,r){var i=t.cx,a=t.getStyles,l=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},l(n,t),u)}};function Ll(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function nH(e){return Ll(e)?window.innerHeight:e.clientHeight}function Vb(e){return Ll(e)?window.pageYOffset:e.scrollTop}function Vl(e,t){if(Ll(e)){window.scrollTo(0,t);return}e.scrollTop=t}function rH(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function iH(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Dl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Rl,i=Vb(e),a=t-i,l=10,u=0;function c(){u+=l;var f=iH(u,i,a,n);Vl(e,f),u<n?window.requestAnimationFrame(c):r(e)}c()}function Db(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Vl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Vl(e,Math.max(t.offsetTop-i,0))}function oH(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Nb(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function aH(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var $b=!1,sH={get passive(){return $b=!0}},Nl=typeof window<"u"?window:{};Nl.addEventListener&&Nl.removeEventListener&&(Nl.addEventListener("p",Rl,sH),Nl.removeEventListener("p",Rl,!1));var lH=$b;function uH(e){return e!=null}function cH(e){return Array.isArray(e)}function $l(e,t,n){return e?t:n}function mte(e){return e}function vte(e){return e}var fH=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(l){var u=gr(l,1),c=u[0];return!r.includes(c)});return a.reduce(function(l,u){var c=gr(u,2),f=c[0],h=c[1];return l[f]=h,l},{})},dH=["children","innerProps"],hH=["children","innerProps"];function pH(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,l=e.isFixedPosition,u=e.controlHeight,c=rH(n),f={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return f;var h=c.getBoundingClientRect(),p=h.height,m=n.getBoundingClientRect(),v=m.bottom,x=m.height,S=m.top,E=n.offsetParent.getBoundingClientRect(),P=E.top,M=l?window.innerHeight:nH(c),L=Vb(c),D=parseInt(getComputedStyle(n).marginBottom,10),N=parseInt(getComputedStyle(n).marginTop,10),z=P-N,X=M-S,Y=z+L,fe=p-L-S,Te=v-M+L+D,Ge=L+S-N,Xe=160;switch(i){case"auto":case"bottom":if(X>=x)return{placement:"bottom",maxHeight:t};if(fe>=x&&!l)return a&&Dl(c,Te,Xe),{placement:"bottom",maxHeight:t};if(!l&&fe>=r||l&&X>=r){a&&Dl(c,Te,Xe);var pe=l?X-D:fe-D;return{placement:"bottom",maxHeight:pe}}if(i==="auto"||l){var xe=t,be=l?z:Y;return be>=r&&(xe=Math.min(be-D-u,t)),{placement:"top",maxHeight:xe}}if(i==="bottom")return a&&Vl(c,Te),{placement:"bottom",maxHeight:t};break;case"top":if(z>=x)return{placement:"top",maxHeight:t};if(Y>=x&&!l)return a&&Dl(c,Ge,Xe),{placement:"top",maxHeight:t};if(!l&&Y>=r||l&&z>=r){var Ae=t;return(!l&&Y>=r||l&&z>=r)&&(Ae=l?z-N:Y-N),a&&Dl(c,Ge,Xe),{placement:"top",maxHeight:Ae}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return f}function gH(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Bb=function(t){return t==="auto"?"bottom":t},mH=function(t,n){var r,i=t.placement,a=t.theme,l=a.borderRadius,u=a.spacing,c=a.colors;return Oe((r={label:"menu"},Va(r,gH(i),"100%"),Va(r,"position","absolute"),Va(r,"width","100%"),Va(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},kb=b.createContext(null),vH=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,l=t.menuPosition,u=t.menuShouldScrollIntoView,c=t.theme,f=b.useContext(kb)||{},h=f.setPortalPlacement,p=b.useRef(null),m=b.useState(i),v=gr(m,2),x=v[0],S=v[1],E=b.useState(null),P=gr(E,2),M=P[0],L=P[1],D=c.spacing.controlHeight;return zd(function(){var N=p.current;if(N){var z=l==="fixed",X=u&&!z,Y=pH({maxHeight:i,menuEl:N,minHeight:r,placement:a,shouldScroll:X,isFixedPosition:z,controlHeight:D});S(Y.maxHeight),L(Y.placement),h==null||h(Y.placement)}},[i,a,l,u,r,h,D]),n({ref:p,placerProps:Oe(Oe({},t),{},{placement:M||Bb(a),maxHeight:x})})},bH=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return Pe("div",Me({},Ot(t,"menu",{menu:!0}),{ref:r},i),n)},yH=bH,CH=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Oe({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},xH=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return Pe("div",Me({},Ot(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},jb=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return Oe({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},wH=jb,SH=jb,IH=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=mr(t,dH);return Pe("div",Me({},Ot(Oe(Oe({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},EH=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=mr(t,hH);return Pe("div",Me({},Ot(Oe(Oe({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},AH=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},_H=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,l=t.menuPlacement,u=t.menuPosition,c=b.useRef(null),f=b.useRef(null),h=b.useState(Bb(l)),p=gr(h,2),m=p[0],v=p[1],x=b.useMemo(function(){return{setPortalPlacement:v}},[]),S=b.useState(null),E=gr(S,2),P=E[0],M=E[1],L=b.useCallback(function(){if(i){var X=oH(i),Y=u==="fixed"?0:window.pageYOffset,fe=X[m]+Y;(fe!==(P==null?void 0:P.offset)||X.left!==(P==null?void 0:P.rect.left)||X.width!==(P==null?void 0:P.rect.width))&&M({offset:fe,rect:X})}},[i,u,m,P==null?void 0:P.offset,P==null?void 0:P.rect.left,P==null?void 0:P.rect.width]);zd(function(){L()},[L]);var D=b.useCallback(function(){typeof f.current=="function"&&(f.current(),f.current=null),i&&c.current&&(f.current=qG(i,c.current,L,{elementResize:"ResizeObserver"in window}))},[i,L]);zd(function(){D()},[D]);var N=b.useCallback(function(X){c.current=X,D()},[D]);if(!n&&u!=="fixed"||!P)return null;var z=Pe("div",Me({ref:N},Ot(Oe(Oe({},t),{},{offset:P.offset,position:u,rect:P.rect}),"menuPortal",{"menu-portal":!0}),a),r);return Pe(kb.Provider,{value:x},n?Gu.createPortal(z,n):z)},PH=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},TH=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return Pe("div",Me({},Ot(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},OH=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,l=t.selectProps.controlShouldRenderValue;return Oe({alignItems:"center",display:i&&a&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},FH=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return Pe("div",Me({},Ot(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},MH=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},RH=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"indicatorsContainer",{indicators:!0}),r),n)},Gb,LH=["size"],VH=["innerProps","isRtl","size"];function DH(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var NH=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:DH},Hb=function(t){var n=t.size,r=mr(t,LH);return Pe("svg",Me({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:NH},r))},Ud=function(t){return Pe(Hb,Me({size:20},t),Pe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Wb=function(t){return Pe(Hb,Me({size:20},t),Pe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Zb=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?l.neutral60:l.neutral20,padding:a*2,":hover":{color:r?l.neutral80:l.neutral40}})},$H=Zb,BH=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||Pe(Wb,null))},kH=Zb,jH=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||Pe(Ud,null))},GH=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?l.neutral10:l.neutral20,marginBottom:a*2,marginTop:a*2})},HH=function(t){var n=t.innerProps;return Pe("span",Me({},n,Ot(t,"indicatorSeparator",{"indicator-separator":!0})))},WH=LG(Gb||(Gb=kG([`
136
+ `),r=0;r<n.length;r++){var i=EG(n[r]);if(i){if(AG.has(i))break;if(/^[A-Z]/.test(i))return _G(i)}}},Bd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",kd="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",TG=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var i in n)Dd.call(n,i)&&(r[i]=n[i]);if(r[Bd]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var a=PG(new Error().stack);a&&(r[kd]=a)}return r},OG=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Md(n,r,i),bb(function(){return Rd(n,r,i)}),null},xb=$d(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Bd],a=[r],l="";typeof e.className=="string"?l=ub(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var u=ja(a,void 0,ne.useContext(Pl));if(process.env.NODE_ENV!=="production"&&u.name.indexOf("-")===-1){var c=e[kd];c&&(u=ja([u,"label:"+c+";"]))}l+=t.key+"-"+u.name;var f={};for(var h in e)Dd.call(e,h)&&h!=="css"&&h!==Bd&&(process.env.NODE_ENV==="production"||h!==kd)&&(f[h]=e[h]);return f.ref=n,f.className=l,ne.createElement(ne.Fragment,null,ne.createElement(OG,{cache:t,serialized:u,isStringTag:typeof i=="string"}),ne.createElement(i,f))});process.env.NODE_ENV!=="production"&&(xb.displayName="EmotionCssPropInternal");var FG=xb,MG={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Pe=function(t,n){var r=arguments;if(n==null||!Dd.call(n,"css"))return ne.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=FG,a[1]=TG(t,n);for(var l=2;l<i;l++)a[l]=r[l];return ne.createElement.apply(null,a)},wb=!1,RG=$d(function(e,t){process.env.NODE_ENV!=="production"&&!wb&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),wb=!0);var n=e.styles,r=ja([n],void 0,ne.useContext(Pl)),i=ne.useRef();return yb(function(){var a=t.key+"-global",l=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,c=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),c!==null&&(u=!0,c.setAttribute("data-emotion",a),l.hydrate([c])),i.current=[l,u],function(){l.flush()}},[t]),yb(function(){var a=i.current,l=a[0],u=a[1];if(u){a[1]=!1;return}if(r.next!==void 0&&Rd(t,r.next,!0),l.tags.length){var c=l.tags[l.tags.length-1].nextElementSibling;l.before=c,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(RG.displayName="EmotionGlobal");function jd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ja(t)}var LG=function(){var t=jd.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},VG=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var a=t[r];if(a!=null){var l=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))l=e(a);else{process.env.NODE_ENV!=="production"&&a.styles!==void 0&&a.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),l="";for(var u in a)a[u]&&u&&(l&&(l+=" "),l+=u)}break}default:l=a}l&&(i&&(i+=" "),i+=l)}}return i};function DG(e,t,n){var r=[],i=ub(e,r,n);return r.length<2?n:i+t(r)}var NG=function(t){var n=t.cache,r=t.serializedArr;return bb(function(){for(var i=0;i<r.length;i++)Rd(n,r[i],!1)}),null},$G=$d(function(e,t){var n=!1,r=[],i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];var m=ja(h,t.registered);return r.push(m),Md(t,m,!1),t.key+"-"+m.name},a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return DG(t.registered,i,VG(h))},l={css:i,cx:a,theme:ne.useContext(Pl)},u=e.children(l);return n=!0,ne.createElement(ne.Fragment,null,ne.createElement(NG,{cache:t,serializedArr:r}),u)});if(process.env.NODE_ENV!=="production"&&($G.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Sb=!0,BG=typeof jest<"u"||typeof vi<"u";if(Sb&&!BG){var Ib=typeof globalThis<"u"?globalThis:Sb?window:global,Eb="__EMOTION_REACT_"+MG.version.split(".")[0]+"__";Ib[Eb]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Ib[Eb]=!0}}function kG(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const jG=Math.min,GG=Math.max,Tl=Math.round,Ol=Math.floor,Fl=e=>({x:e,y:e});function HG(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ab(e){return Pb(e)?(e.nodeName||"").toLowerCase():"#document"}function kn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _b(e){var t;return(t=(Pb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Pb(e){return e instanceof Node||e instanceof kn(e).Node}function Gd(e){return e instanceof Element||e instanceof kn(e).Element}function Hd(e){return e instanceof HTMLElement||e instanceof kn(e).HTMLElement}function Tb(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof kn(e).ShadowRoot}function Ob(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Wd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function WG(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ZG(e){return["html","body","#document"].includes(Ab(e))}function Wd(e){return kn(e).getComputedStyle(e)}function XG(e){if(Ab(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Tb(e)&&e.host||_b(e);return Tb(t)?t.host:t}function Fb(e){const t=XG(e);return ZG(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hd(t)&&Ob(t)?t:Fb(t)}function Ml(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Fb(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),l=kn(i);return a?t.concat(l,l.visualViewport||[],Ob(i)?i:[],l.frameElement&&n?Ml(l.frameElement):[]):t.concat(i,Ml(i,[],n))}function zG(e){const t=Wd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Hd(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=Tl(n)!==a||Tl(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function Zd(e){return Gd(e)?e:e.contextElement}function Xd(e){const t=Zd(e);if(!Hd(t))return Fl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=zG(t);let l=(a?Tl(n.width):n.width)/r,u=(a?Tl(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const UG=Fl(0);function YG(e){const t=kn(e);return!WG()||!t.visualViewport?UG:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function JG(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==kn(e)?!1:t}function Mb(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Zd(e);let l=Fl(1);t&&(r?Gd(r)&&(l=Xd(r)):l=Xd(e));const u=JG(a,n,r)?YG(a):Fl(0);let c=(i.left+u.x)/l.x,f=(i.top+u.y)/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const m=kn(a),v=r&&Gd(r)?kn(r):r;let x=m.frameElement;for(;x&&r&&v!==m;){const S=Xd(x),E=x.getBoundingClientRect(),P=Wd(x),M=E.left+(x.clientLeft+parseFloat(P.paddingLeft))*S.x,L=E.top+(x.clientTop+parseFloat(P.paddingTop))*S.y;c*=S.x,f*=S.y,h*=S.x,p*=S.y,c+=M,f+=L,x=kn(x).frameElement}}return HG({width:h,height:p,x:c,y:f})}function KG(e,t){let n=null,r;const i=_b(e);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function l(u,c){u===void 0&&(u=!1),c===void 0&&(c=1),a();const{left:f,top:h,width:p,height:m}=e.getBoundingClientRect();if(u||t(),!p||!m)return;const v=Ol(h),x=Ol(i.clientWidth-(f+p)),S=Ol(i.clientHeight-(h+m)),E=Ol(f),M={rootMargin:-v+"px "+-x+"px "+-S+"px "+-E+"px",threshold:GG(0,jG(1,c))||1};let L=!0;function D(N){const z=N[0].intersectionRatio;if(z!==c){if(!L)return l();z?l(!1,z):r=setTimeout(()=>{l(!1,1e-7)},100)}L=!1}try{n=new IntersectionObserver(D,{...M,root:i.ownerDocument})}catch{n=new IntersectionObserver(D,M)}n.observe(e)}return l(!0),a}function qG(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=Zd(e),h=i||a?[...f?Ml(f):[],...Ml(t)]:[];h.forEach(P=>{i&&P.addEventListener("scroll",n,{passive:!0}),a&&P.addEventListener("resize",n)});const p=f&&u?KG(f,n):null;let m=-1,v=null;l&&(v=new ResizeObserver(P=>{let[M]=P;M&&M.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{v&&v.observe(t)})),n()}),f&&!c&&v.observe(f),v.observe(t));let x,S=c?Mb(e):null;c&&E();function E(){const P=Mb(e);S&&(P.x!==S.x||P.y!==S.y||P.width!==S.width||P.height!==S.height)&&n(),S=P,x=requestAnimationFrame(E)}return n(),()=>{h.forEach(P=>{i&&P.removeEventListener("scroll",n),a&&P.removeEventListener("resize",n)}),p&&p(),v&&v.disconnect(),v=null,c&&cancelAnimationFrame(x)}}var zd=b.useLayoutEffect,QG=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Rl=function(){};function eH(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function tH(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&a.push("".concat(eH(e,l)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Rb=function(t){return cH(t)?t.filter(Boolean):yi(t)==="object"&&t!==null?[t]:[]},Lb=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=mr(t,QG);return Oe({},n)},Ot=function(t,n,r){var i=t.cx,a=t.getStyles,l=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},l(n,t),u)}};function Ll(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function nH(e){return Ll(e)?window.innerHeight:e.clientHeight}function Vb(e){return Ll(e)?window.pageYOffset:e.scrollTop}function Vl(e,t){if(Ll(e)){window.scrollTo(0,t);return}e.scrollTop=t}function rH(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function iH(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Dl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Rl,i=Vb(e),a=t-i,l=10,u=0;function c(){u+=l;var f=iH(u,i,a,n);Vl(e,f),u<n?window.requestAnimationFrame(c):r(e)}c()}function Db(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Vl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Vl(e,Math.max(t.offsetTop-i,0))}function oH(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Nb(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function aH(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var $b=!1,sH={get passive(){return $b=!0}},Nl=typeof window<"u"?window:{};Nl.addEventListener&&Nl.removeEventListener&&(Nl.addEventListener("p",Rl,sH),Nl.removeEventListener("p",Rl,!1));var lH=$b;function uH(e){return e!=null}function cH(e){return Array.isArray(e)}function $l(e,t,n){return e?t:n}function mte(e){return e}function vte(e){return e}var fH=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(l){var u=gr(l,1),c=u[0];return!r.includes(c)});return a.reduce(function(l,u){var c=gr(u,2),f=c[0],h=c[1];return l[f]=h,l},{})},dH=["children","innerProps"],hH=["children","innerProps"];function pH(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,l=e.isFixedPosition,u=e.controlHeight,c=rH(n),f={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return f;var h=c.getBoundingClientRect(),p=h.height,m=n.getBoundingClientRect(),v=m.bottom,x=m.height,S=m.top,E=n.offsetParent.getBoundingClientRect(),P=E.top,M=l?window.innerHeight:nH(c),L=Vb(c),D=parseInt(getComputedStyle(n).marginBottom,10),N=parseInt(getComputedStyle(n).marginTop,10),z=P-N,X=M-S,Y=z+L,fe=p-L-S,Te=v-M+L+D,Ge=L+S-N,Xe=160;switch(i){case"auto":case"bottom":if(X>=x)return{placement:"bottom",maxHeight:t};if(fe>=x&&!l)return a&&Dl(c,Te,Xe),{placement:"bottom",maxHeight:t};if(!l&&fe>=r||l&&X>=r){a&&Dl(c,Te,Xe);var pe=l?X-D:fe-D;return{placement:"bottom",maxHeight:pe}}if(i==="auto"||l){var xe=t,be=l?z:Y;return be>=r&&(xe=Math.min(be-D-u,t)),{placement:"top",maxHeight:xe}}if(i==="bottom")return a&&Vl(c,Te),{placement:"bottom",maxHeight:t};break;case"top":if(z>=x)return{placement:"top",maxHeight:t};if(Y>=x&&!l)return a&&Dl(c,Ge,Xe),{placement:"top",maxHeight:t};if(!l&&Y>=r||l&&z>=r){var Ee=t;return(!l&&Y>=r||l&&z>=r)&&(Ee=l?z-N:Y-N),a&&Dl(c,Ge,Xe),{placement:"top",maxHeight:Ee}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return f}function gH(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Bb=function(t){return t==="auto"?"bottom":t},mH=function(t,n){var r,i=t.placement,a=t.theme,l=a.borderRadius,u=a.spacing,c=a.colors;return Oe((r={label:"menu"},Va(r,gH(i),"100%"),Va(r,"position","absolute"),Va(r,"width","100%"),Va(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},kb=b.createContext(null),vH=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,l=t.menuPosition,u=t.menuShouldScrollIntoView,c=t.theme,f=b.useContext(kb)||{},h=f.setPortalPlacement,p=b.useRef(null),m=b.useState(i),v=gr(m,2),x=v[0],S=v[1],E=b.useState(null),P=gr(E,2),M=P[0],L=P[1],D=c.spacing.controlHeight;return zd(function(){var N=p.current;if(N){var z=l==="fixed",X=u&&!z,Y=pH({maxHeight:i,menuEl:N,minHeight:r,placement:a,shouldScroll:X,isFixedPosition:z,controlHeight:D});S(Y.maxHeight),L(Y.placement),h==null||h(Y.placement)}},[i,a,l,u,r,h,D]),n({ref:p,placerProps:Oe(Oe({},t),{},{placement:M||Bb(a),maxHeight:x})})},bH=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return Pe("div",Me({},Ot(t,"menu",{menu:!0}),{ref:r},i),n)},yH=bH,CH=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Oe({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},xH=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return Pe("div",Me({},Ot(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},jb=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return Oe({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},wH=jb,SH=jb,IH=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=mr(t,dH);return Pe("div",Me({},Ot(Oe(Oe({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},EH=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=mr(t,hH);return Pe("div",Me({},Ot(Oe(Oe({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},AH=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},_H=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,l=t.menuPlacement,u=t.menuPosition,c=b.useRef(null),f=b.useRef(null),h=b.useState(Bb(l)),p=gr(h,2),m=p[0],v=p[1],x=b.useMemo(function(){return{setPortalPlacement:v}},[]),S=b.useState(null),E=gr(S,2),P=E[0],M=E[1],L=b.useCallback(function(){if(i){var X=oH(i),Y=u==="fixed"?0:window.pageYOffset,fe=X[m]+Y;(fe!==(P==null?void 0:P.offset)||X.left!==(P==null?void 0:P.rect.left)||X.width!==(P==null?void 0:P.rect.width))&&M({offset:fe,rect:X})}},[i,u,m,P==null?void 0:P.offset,P==null?void 0:P.rect.left,P==null?void 0:P.rect.width]);zd(function(){L()},[L]);var D=b.useCallback(function(){typeof f.current=="function"&&(f.current(),f.current=null),i&&c.current&&(f.current=qG(i,c.current,L,{elementResize:"ResizeObserver"in window}))},[i,L]);zd(function(){D()},[D]);var N=b.useCallback(function(X){c.current=X,D()},[D]);if(!n&&u!=="fixed"||!P)return null;var z=Pe("div",Me({ref:N},Ot(Oe(Oe({},t),{},{offset:P.offset,position:u,rect:P.rect}),"menuPortal",{"menu-portal":!0}),a),r);return Pe(kb.Provider,{value:x},n?Gu.createPortal(z,n):z)},PH=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},TH=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return Pe("div",Me({},Ot(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},OH=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,l=t.selectProps.controlShouldRenderValue;return Oe({alignItems:"center",display:i&&a&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},FH=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return Pe("div",Me({},Ot(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},MH=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},RH=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"indicatorsContainer",{indicators:!0}),r),n)},Gb,LH=["size"],VH=["innerProps","isRtl","size"];function DH(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var NH=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:DH},Hb=function(t){var n=t.size,r=mr(t,LH);return Pe("svg",Me({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:NH},r))},Ud=function(t){return Pe(Hb,Me({size:20},t),Pe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Wb=function(t){return Pe(Hb,Me({size:20},t),Pe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Zb=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?l.neutral60:l.neutral20,padding:a*2,":hover":{color:r?l.neutral80:l.neutral40}})},$H=Zb,BH=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||Pe(Wb,null))},kH=Zb,jH=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||Pe(Ud,null))},GH=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,l=i.colors;return Oe({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?l.neutral10:l.neutral20,marginBottom:a*2,marginTop:a*2})},HH=function(t){var n=t.innerProps;return Pe("span",Me({},n,Ot(t,"indicatorSeparator",{"indicator-separator":!0})))},WH=LG(Gb||(Gb=kG([`
137
137
  0%, 80%, 100% { opacity: 0; }
138
138
  40% { opacity: 1; }
139
- `]))),ZH=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,l=a.colors,u=a.spacing.baseUnit;return Oe({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?l.neutral60:l.neutral20,padding:u*2})},Yd=function(t){var n=t.delay,r=t.offset;return Pe("span",{css:jd({animation:"".concat(WH," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},XH=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,l=mr(t,VH);return Pe("div",Me({},Ot(Oe(Oe({},l),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Pe(Yd,{delay:0,offset:r}),Pe(Yd,{delay:160,offset:!0}),Pe(Yd,{delay:320,offset:!r}))},zH=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,l=a.colors,u=a.borderRadius,c=a.spacing;return Oe({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:c.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?l.neutral5:l.neutral0,borderColor:r?l.neutral10:i?l.primary:l.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:i?l.primary:l.neutral30}})},UH=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,l=t.innerProps,u=t.menuIsOpen;return Pe("div",Me({ref:a},Ot(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),l,{"aria-disabled":r||void 0}),n)},YH=UH,JH=["data"],KH=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},qH=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,l=t.Heading,u=t.headingProps,c=t.innerProps,f=t.label,h=t.theme,p=t.selectProps;return Pe("div",Me({},Ot(t,"group",{group:!0}),c),Pe(l,Me({},u,{selectProps:p,theme:h,getStyles:i,getClassNames:a,cx:r}),f),Pe("div",null,n))},QH=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Oe({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},eW=function(t){var n=Lb(t);n.data;var r=mr(n,JH);return Pe("div",Me({},Ot(t,"groupHeading",{"group-heading":!0}),r))},tW=qH,nW=["innerRef","isDisabled","isHidden","inputClassName"],rW=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,l=a.spacing,u=a.colors;return Oe(Oe({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},iW),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:u.neutral80})},Xb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},iW={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oe({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Xb)},oW=function(t){return Oe({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Xb)},aW=function(t){var n=t.cx,r=t.value,i=Lb(t),a=i.innerRef,l=i.isDisabled,u=i.isHidden,c=i.inputClassName,f=mr(i,nW);return Pe("div",Me({},Ot(t,"input",{"input-container":!0}),{"data-value":r||""}),Pe("input",Me({className:n({input:!0},c),ref:a,style:oW(u),disabled:l},f)))},sW=aW,lW=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors;return Oe({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},uW=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,l=t.cropWithEllipsis;return Oe({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},cW=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors,u=t.isFocused;return Oe({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?l.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},zb=function(t){var n=t.children,r=t.innerProps;return Pe("div",r,n)},fW=zb,dW=zb;function hW(e){var t=e.children,n=e.innerProps;return Pe("div",Me({role:"button"},n),t||Pe(Ud,{size:14}))}var pW=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,l=t.isDisabled,u=t.removeProps,c=t.selectProps,f=r.Container,h=r.Label,p=r.Remove;return Pe(f,{data:i,innerProps:Oe(Oe({},Ot(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),a),selectProps:c},Pe(h,{data:i,innerProps:Oe({},Ot(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},n),Pe(p,{data:i,innerProps:Oe(Oe({},Ot(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:c}))},gW=pW,mW=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.theme,u=l.spacing,c=l.colors;return Oe({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?c.primary:i?c.primary25:"transparent",color:r?c.neutral20:a?c.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?c.primary:c.primary50}})},vW=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.innerRef,u=t.innerProps;return Pe("div",Me({},Ot(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:l,"aria-disabled":r},u),n)},bW=vW,yW=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Oe({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},CW=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"placeholder",{placeholder:!0}),r),n)},xW=CW,wW=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,l=i.colors;return Oe({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?l.neutral40:l.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},SW=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return Pe("div",Me({},Ot(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},IW=SW,Gr={ClearIndicator:jH,Control:YH,DropdownIndicator:BH,DownChevron:Wb,CrossIcon:Ud,Group:tW,GroupHeading:eW,IndicatorsContainer:RH,IndicatorSeparator:HH,Input:sW,LoadingIndicator:XH,Menu:yH,MenuList:xH,MenuPortal:_H,LoadingMessage:EH,NoOptionsMessage:IH,MultiValue:gW,MultiValueContainer:fW,MultiValueLabel:dW,MultiValueRemove:hW,Option:bW,Placeholder:xW,SelectContainer:TH,SingleValue:IW,ValueContainer:FH},EW=function(t){return Oe(Oe({},Gr),t.components)},Ub=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function AW(e,t){return!!(e===t||Ub(e)&&Ub(t))}function _W(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!AW(e[n],t[n]))return!1;return!0}function PW(e,t){t===void 0&&(t=_W);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var l=e.apply(this,i);return n={lastResult:l,lastArgs:i,lastThis:this},l}return r.clear=function(){n=null},r}function TW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var OW=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:TW},FW=function(t){return Pe("span",Me({css:OW},t))},Yb=FW,MW={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,l=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return l?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,l=a===void 0?"":a,u=t.selectValue,c=t.isDisabled,f=t.isSelected,h=t.isAppleDevice,p=function(S,E){return S&&S.length?"".concat(S.indexOf(E)+1," of ").concat(S.length):""};if(n==="value"&&u)return"value ".concat(l," focused, ").concat(p(u,r),".");if(n==="menu"&&h){var m=c?" disabled":"",v="".concat(f?" selected":"").concat(m);return"".concat(l).concat(v,", ").concat(p(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},RW=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,l=t.isFocused,u=t.selectValue,c=t.selectProps,f=t.id,h=t.isAppleDevice,p=c.ariaLiveMessages,m=c.getOptionLabel,v=c.inputValue,x=c.isMulti,S=c.isOptionDisabled,E=c.isSearchable,P=c.menuIsOpen,M=c.options,L=c.screenReaderStatus,D=c.tabSelectsValue,N=c.isLoading,z=c["aria-label"],X=c["aria-live"],Y=b.useMemo(function(){return Oe(Oe({},MW),p||{})},[p]),fe=b.useMemo(function(){var be="";if(n&&Y.onChange){var Ae=n.option,$e=n.options,Je=n.removedValue,O=n.removedValues,T=n.value,R=function(K){return Array.isArray(K)?null:K},F=Je||Ae||R(T),y=F?m(F):"",j=$e||O||void 0,ee=j?j.map(m):[],ae=Oe({isDisabled:F&&S(F,u),label:y,labels:ee},n);be=Y.onChange(ae)}return be},[n,Y,S,u,m]),Te=b.useMemo(function(){var be="",Ae=r||i,$e=!!(r&&u&&u.includes(r));if(Ae&&Y.onFocus){var Je={focused:Ae,label:m(Ae),isDisabled:S(Ae,u),isSelected:$e,options:a,context:Ae===r?"menu":"value",selectValue:u,isAppleDevice:h};be=Y.onFocus(Je)}return be},[r,i,m,S,Y,a,u,h]),Ge=b.useMemo(function(){var be="";if(P&&M.length&&!N&&Y.onFilter){var Ae=L({count:a.length});be=Y.onFilter({inputValue:v,resultsMessage:Ae})}return be},[a,v,P,Y,M,L,N]),Xe=(n==null?void 0:n.action)==="initial-input-focus",pe=b.useMemo(function(){var be="";if(Y.guidance){var Ae=i?"value":P?"menu":"input";be=Y.guidance({"aria-label":z,context:Ae,isDisabled:r&&S(r,u),isMulti:x,isSearchable:E,tabSelectsValue:D,isInitialFocus:Xe})}return be},[z,r,i,x,S,E,P,Y,u,D,Xe]),xe=Pe(b.Fragment,null,Pe("span",{id:"aria-selection"},fe),Pe("span",{id:"aria-focused"},Te),Pe("span",{id:"aria-results"},Ge),Pe("span",{id:"aria-guidance"},pe));return Pe(b.Fragment,null,Pe(Yb,{id:f},Xe&&xe),Pe(Yb,{"aria-live":X,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!Xe&&xe))},LW=RW,Jd=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],VW=new RegExp("["+Jd.map(function(e){return e.letters}).join("")+"]","g"),Jb={},Kd=0;Kd<Jd.length;Kd++)for(var qd=Jd[Kd],Qd=0;Qd<qd.letters.length;Qd++)Jb[qd.letters[Qd]]=qd.base;var Kb=function(t){return t.replace(VW,function(n){return Jb[n]})},DW=PW(Kb),qb=function(t){return t.replace(/^\s+|\s+$/g,"")},NW=function(t){return"".concat(t.label," ").concat(t.value)},$W=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Oe({ignoreCase:!0,ignoreAccents:!0,stringify:NW,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,l=i.ignoreAccents,u=i.stringify,c=i.trim,f=i.matchFrom,h=c?qb(r):r,p=c?qb(u(n)):u(n);return a&&(h=h.toLowerCase(),p=p.toLowerCase()),l&&(h=DW(h),p=Kb(p)),f==="start"?p.substr(0,h.length)===h:p.indexOf(h)>-1}},BW=["innerRef"];function kW(e){var t=e.innerRef,n=mr(e,BW),r=fH(n,"onExited","in","enter","exit","appear");return Pe("input",Me({ref:t},r,{css:jd({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var jW=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function GW(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,l=b.useRef(!1),u=b.useRef(!1),c=b.useRef(0),f=b.useRef(null),h=b.useCallback(function(E,P){if(f.current!==null){var M=f.current,L=M.scrollTop,D=M.scrollHeight,N=M.clientHeight,z=f.current,X=P>0,Y=D-N-L,fe=!1;Y>P&&l.current&&(r&&r(E),l.current=!1),X&&u.current&&(a&&a(E),u.current=!1),X&&P>Y?(n&&!l.current&&n(E),z.scrollTop=D,fe=!0,l.current=!0):!X&&-P>L&&(i&&!u.current&&i(E),z.scrollTop=0,fe=!0,u.current=!0),fe&&jW(E)}},[n,r,i,a]),p=b.useCallback(function(E){h(E,E.deltaY)},[h]),m=b.useCallback(function(E){c.current=E.changedTouches[0].clientY},[]),v=b.useCallback(function(E){var P=c.current-E.changedTouches[0].clientY;h(E,P)},[h]),x=b.useCallback(function(E){if(E){var P=lH?{passive:!1}:!1;E.addEventListener("wheel",p,P),E.addEventListener("touchstart",m,P),E.addEventListener("touchmove",v,P)}},[v,m,p]),S=b.useCallback(function(E){E&&(E.removeEventListener("wheel",p,!1),E.removeEventListener("touchstart",m,!1),E.removeEventListener("touchmove",v,!1))},[v,m,p]);return b.useEffect(function(){if(t){var E=f.current;return x(E),function(){S(E)}}},[t,x,S]),function(E){f.current=E}}var Qb=["boxSizing","height","overflow","paddingRight","position"],e5={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function t5(e){e.preventDefault()}function n5(e){e.stopPropagation()}function r5(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function i5(){return"ontouchstart"in window||navigator.maxTouchPoints}var o5=!!(typeof window<"u"&&window.document&&window.document.createElement),Ga=0,To={capture:!1,passive:!1};function HW(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=b.useRef({}),a=b.useRef(null),l=b.useCallback(function(c){if(o5){var f=document.body,h=f&&f.style;if(r&&Qb.forEach(function(x){var S=h&&h[x];i.current[x]=S}),r&&Ga<1){var p=parseInt(i.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,v=window.innerWidth-m+p||0;Object.keys(e5).forEach(function(x){var S=e5[x];h&&(h[x]=S)}),h&&(h.paddingRight="".concat(v,"px"))}f&&i5()&&(f.addEventListener("touchmove",t5,To),c&&(c.addEventListener("touchstart",r5,To),c.addEventListener("touchmove",n5,To))),Ga+=1}},[r]),u=b.useCallback(function(c){if(o5){var f=document.body,h=f&&f.style;Ga=Math.max(Ga-1,0),r&&Ga<1&&Qb.forEach(function(p){var m=i.current[p];h&&(h[p]=m)}),f&&i5()&&(f.removeEventListener("touchmove",t5,To),c&&(c.removeEventListener("touchstart",r5,To),c.removeEventListener("touchmove",n5,To)))}},[r]);return b.useEffect(function(){if(t){var c=a.current;return l(c),function(){u(c)}}},[t,l,u]),function(c){a.current=c}}function WW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ZW=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},XW=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:WW};function zW(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,l=e.onBottomLeave,u=e.onTopArrive,c=e.onTopLeave,f=GW({isEnabled:i,onBottomArrive:a,onBottomLeave:l,onTopArrive:u,onTopLeave:c}),h=HW({isEnabled:n}),p=function(v){f(v),h(v)};return Pe(b.Fragment,null,n&&Pe("div",{onClick:ZW,css:XW}),t(p))}function UW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var YW=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:UW},JW=function(t){var n=t.name,r=t.onFocus;return Pe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:YW,value:"",onChange:function(){}})},KW=JW;function eh(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function qW(){return eh(/^iPhone/i)}function a5(){return eh(/^Mac/i)}function QW(){return eh(/^iPad/i)||a5()&&navigator.maxTouchPoints>1}function eZ(){return qW()||QW()}function tZ(){return a5()||eZ()}var nZ=function(t){return t.label},rZ=function(t){return t.label},iZ=function(t){return t.value},oZ=function(t){return!!t.isDisabled},aZ={clearIndicator:kH,container:PH,control:zH,dropdownIndicator:$H,group:KH,groupHeading:QH,indicatorsContainer:MH,indicatorSeparator:GH,input:rW,loadingIndicator:ZH,loadingMessage:SH,menu:mH,menuList:CH,menuPortal:AH,multiValue:lW,multiValueLabel:uW,multiValueRemove:cW,noOptionsMessage:wH,option:mW,placeholder:yW,singleValue:wW,valueContainer:OH},sZ={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},lZ=4,s5=4,uZ=38,cZ=s5*2,fZ={baseUnit:s5,controlHeight:uZ,menuGutter:cZ},th={borderRadius:lZ,colors:sZ,spacing:fZ},dZ={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Nb(),captureMenuScroll:!Nb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:$W(),formatGroupLabel:nZ,getOptionLabel:rZ,getOptionValue:iZ,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:oZ,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!aH(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function l5(e,t,n,r){var i=h5(e,t,n),a=p5(e,t,n),l=d5(e,t),u=kl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:l,value:u,index:r}}function Bl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(l,u){return l5(e,l,t,u)}).filter(function(l){return f5(e,l)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=l5(e,n,t,r);return f5(e,a)?a:void 0}).filter(uH)}function u5(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ed(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function c5(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ed(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function hZ(e,t){return u5(Bl(e,t))}function f5(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,l=t.label,u=t.value;return(!m5(e)||!a)&&g5(e,{label:l,value:u,data:i},r)}function pZ(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function gZ(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var nh=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},d5=function(t,n){return t.getOptionLabel(n)},kl=function(t,n){return t.getOptionValue(n)};function h5(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function p5(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=kl(e,t);return n.some(function(i){return kl(e,i)===r})}function g5(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var m5=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},mZ=1,v5=function(e){wj(n,e);var t=Aj(n);function n(r){var i;if(Cj(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=tZ(),i.controlRef=null,i.getControlRef=function(c){i.controlRef=c},i.focusedOptionRef=null,i.getFocusedOptionRef=function(c){i.focusedOptionRef=c},i.menuListRef=null,i.getMenuListRef=function(c){i.menuListRef=c},i.inputRef=null,i.getInputRef=function(c){i.inputRef=c},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(c,f){var h=i.props,p=h.onChange,m=h.name;f.name=m,i.ariaOnChange(c,f),p(c,f)},i.setValue=function(c,f,h){var p=i.props,m=p.closeMenuOnSelect,v=p.isMulti,x=p.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:x}),m&&(i.setState({inputIsHiddenAfterUpdate:!v}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(c,{action:f,option:h})},i.selectOption=function(c){var f=i.props,h=f.blurInputOnSelect,p=f.isMulti,m=f.name,v=i.state.selectValue,x=p&&i.isOptionSelected(c,v),S=i.isOptionDisabled(c,v);if(x){var E=i.getOptionValue(c);i.setValue(v.filter(function(P){return i.getOptionValue(P)!==E}),"deselect-option",c)}else if(!S)p?i.setValue([].concat(Ed(v),[c]),"select-option",c):i.setValue(c,"select-option");else{i.ariaOnChange(c,{action:"select-option",option:c,name:m});return}h&&i.blurInput()},i.removeValue=function(c){var f=i.props.isMulti,h=i.state.selectValue,p=i.getOptionValue(c),m=h.filter(function(x){return i.getOptionValue(x)!==p}),v=$l(f,m,m[0]||null);i.onChange(v,{action:"remove-value",removedValue:c}),i.focusInput()},i.clearValue=function(){var c=i.state.selectValue;i.onChange($l(i.props.isMulti,[],null),{action:"clear",removedValues:c})},i.popValue=function(){var c=i.props.isMulti,f=i.state.selectValue,h=f[f.length-1],p=f.slice(0,f.length-1),m=$l(c,p,p[0]||null);i.onChange(m,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(c){return nh(i.state.focusableOptionsWithIds,c)},i.getFocusableOptionsWithIds=function(){return c5(Bl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var c=arguments.length,f=new Array(c),h=0;h<c;h++)f[h]=arguments[h];return tH.apply(void 0,[i.props.classNamePrefix].concat(f))},i.getOptionLabel=function(c){return d5(i.props,c)},i.getOptionValue=function(c){return kl(i.props,c)},i.getStyles=function(c,f){var h=i.props.unstyled,p=aZ[c](f,h);p.boxSizing="border-box";var m=i.props.styles[c];return m?m(p,f):p},i.getClassNames=function(c,f){var h,p;return(h=(p=i.props.classNames)[c])===null||h===void 0?void 0:h.call(p,f)},i.getElementId=function(c){return"".concat(i.state.instancePrefix,"-").concat(c)},i.getComponents=function(){return EW(i.props)},i.buildCategorizedOptions=function(){return Bl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return u5(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(c,f){i.setState({ariaSelection:Oe({value:c},f)})},i.onMenuMouseDown=function(c){c.button===0&&(c.stopPropagation(),c.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(c){i.blockOptionHover=!1},i.onControlMouseDown=function(c){if(!c.defaultPrevented){var f=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&i.onMenuClose():f&&i.openMenu("first"):(f&&(i.openAfterFocus=!0),i.focusInput()),c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&c.preventDefault()}},i.onDropdownIndicatorMouseDown=function(c){if(!(c&&c.type==="mousedown"&&c.button!==0)&&!i.props.isDisabled){var f=i.props,h=f.isMulti,p=f.menuIsOpen;i.focusInput(),p?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),c.preventDefault()}},i.onClearIndicatorMouseDown=function(c){c&&c.type==="mousedown"&&c.button!==0||(i.clearValue(),c.preventDefault(),i.openAfterFocus=!1,c.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(c){typeof i.props.closeMenuOnScroll=="boolean"?c.target instanceof HTMLElement&&Ll(c.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(c)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(c){var f=c.touches,h=f&&f.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(c){var f=c.touches,h=f&&f.item(0);if(h){var p=Math.abs(h.clientX-i.initialTouchX),m=Math.abs(h.clientY-i.initialTouchY),v=5;i.userIsDragging=p>v||m>v}},i.onTouchEnd=function(c){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(c.target)&&i.menuListRef&&!i.menuListRef.contains(c.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(c){i.userIsDragging||i.onControlMouseDown(c)},i.onClearIndicatorTouchEnd=function(c){i.userIsDragging||i.onClearIndicatorMouseDown(c)},i.onDropdownIndicatorTouchEnd=function(c){i.userIsDragging||i.onDropdownIndicatorMouseDown(c)},i.handleInputChange=function(c){var f=i.props.inputValue,h=c.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:f}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(c){i.props.onFocus&&i.props.onFocus(c),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(c){var f=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(c),i.onInputChange("",{action:"input-blur",prevInputValue:f}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(c){if(!(i.blockOptionHover||i.state.focusedOption===c)){var f=i.getFocusableOptions(),h=f.indexOf(c);i.setState({focusedOption:c,focusedOptionId:h>-1?i.getFocusedOptionId(c):null})}},i.shouldHideSelectedOptions=function(){return m5(i.props)},i.onValueInputFocus=function(c){c.preventDefault(),c.stopPropagation(),i.focus()},i.onKeyDown=function(c){var f=i.props,h=f.isMulti,p=f.backspaceRemovesValue,m=f.escapeClearsValue,v=f.inputValue,x=f.isClearable,S=f.isDisabled,E=f.menuIsOpen,P=f.onKeyDown,M=f.tabSelectsValue,L=f.openMenuOnFocus,D=i.state,N=D.focusedOption,z=D.focusedValue,X=D.selectValue;if(!S&&!(typeof P=="function"&&(P(c),c.defaultPrevented))){switch(i.blockOptionHover=!0,c.key){case"ArrowLeft":if(!h||v)return;i.focusValue("previous");break;case"ArrowRight":if(!h||v)return;i.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(z)i.removeValue(z);else{if(!p)return;h?i.popValue():x&&i.clearValue()}break;case"Tab":if(i.isComposing||c.shiftKey||!E||!M||!N||L&&i.isOptionSelected(N,X))return;i.selectOption(N);break;case"Enter":if(c.keyCode===229)break;if(E){if(!N||i.isComposing)return;i.selectOption(N);break}return;case"Escape":E?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:v}),i.onMenuClose()):x&&m&&i.clearValue();break;case" ":if(v)return;if(!E){i.openMenu("first");break}if(!N)return;i.selectOption(N);break;case"ArrowUp":E?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":E?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!E)return;i.focusOption("pageup");break;case"PageDown":if(!E)return;i.focusOption("pagedown");break;case"Home":if(!E)return;i.focusOption("first");break;case"End":if(!E)return;i.focusOption("last");break;default:return}c.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++mZ),i.state.selectValue=Rb(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),l=i.buildFocusableOptions(),u=l.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=l[u],i.state.focusedOptionId=nh(a,l[u])}return i}return xj(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Db(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,l=a.isDisabled,u=a.menuIsOpen,c=this.state.isFocused;(c&&!l&&i.isDisabled||c&&u&&!i.menuIsOpen)&&this.focusInput(),c&&l&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!c&&!l&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Db(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,l=this.state,u=l.selectValue,c=l.isFocused,f=this.buildFocusableOptions(),h=i==="first"?0:f.length-1;if(!this.props.isMulti){var p=f.indexOf(u[0]);p>-1&&(h=p)}this.scrollToFocusedOptionOnUpdate=!(c&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:f[h],focusedOptionId:this.getFocusedOptionId(f[h])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,l=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var c=l.indexOf(u);u||(c=-1);var f=l.length-1,h=-1;if(l.length){switch(i){case"previous":c===0?h=0:c===-1?h=f:h=c-1;break;case"next":c>-1&&c<f&&(h=c+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:l[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,l=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var c=0,f=u.indexOf(l);l||(f=-1),i==="up"?c=f>0?f-1:u.length-1:i==="down"?c=(f+1)%u.length:i==="pageup"?(c=f-a,c<0&&(c=0)):i==="pagedown"?(c=f+a,c>u.length-1&&(c=u.length-1)):i==="last"&&(c=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[c],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[c])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(th):Oe(Oe({},th),this.props.theme):th}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,l=this.getStyles,u=this.getClassNames,c=this.getValue,f=this.selectOption,h=this.setValue,p=this.props,m=p.isMulti,v=p.isRtl,x=p.options,S=this.hasValue();return{clearValue:i,cx:a,getStyles:l,getClassNames:u,getValue:c,hasValue:S,isMulti:m,isRtl:v,options:x,selectOption:f,selectProps:p,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,l=i.isMulti;return a===void 0?l:a}},{key:"isOptionDisabled",value:function(i,a){return h5(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return p5(this.props,i,a)}},{key:"filterOption",value:function(i,a){return g5(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:l,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,l=i.isSearchable,u=i.inputId,c=i.inputValue,f=i.tabIndex,h=i.form,p=i.menuIsOpen,m=i.required,v=this.getComponents(),x=v.Input,S=this.state,E=S.inputIsHidden,P=S.ariaSelection,M=this.commonProps,L=u||this.getElementId("input"),D=Oe(Oe(Oe({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":m,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(P==null?void 0:P.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?ne.createElement(x,Me({},M,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:L,innerRef:this.getInputRef,isDisabled:a,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:f,form:h,type:"text",value:c},D)):ne.createElement(kW,Me({id:L,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Rl,onFocus:this.onInputFocus,disabled:a,tabIndex:f,inputMode:"none",form:h,value:""},D))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),l=a.MultiValue,u=a.MultiValueContainer,c=a.MultiValueLabel,f=a.MultiValueRemove,h=a.SingleValue,p=a.Placeholder,m=this.commonProps,v=this.props,x=v.controlShouldRenderValue,S=v.isDisabled,E=v.isMulti,P=v.inputValue,M=v.placeholder,L=this.state,D=L.selectValue,N=L.focusedValue,z=L.isFocused;if(!this.hasValue()||!x)return P?null:ne.createElement(p,Me({},m,{key:"placeholder",isDisabled:S,isFocused:z,innerProps:{id:this.getElementId("placeholder")}}),M);if(E)return D.map(function(Y,fe){var Te=Y===N,Ge="".concat(i.getOptionLabel(Y),"-").concat(i.getOptionValue(Y));return ne.createElement(l,Me({},m,{components:{Container:u,Label:c,Remove:f},isFocused:Te,isDisabled:S,key:Ge,index:fe,removeProps:{onClick:function(){return i.removeValue(Y)},onTouchEnd:function(){return i.removeValue(Y)},onMouseDown:function(pe){pe.preventDefault()}},data:Y}),i.formatOptionLabel(Y,"value"))});if(P)return null;var X=D[0];return ne.createElement(h,Me({},m,{data:X,isDisabled:S}),this.formatOptionLabel(X,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!this.isClearable()||!a||c||!this.hasValue()||f)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(a,Me({},l,{innerProps:p,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!a||!f)return null;var p={"aria-hidden":"true"};return ne.createElement(a,Me({},l,{innerProps:p,isDisabled:c,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,l=i.IndicatorSeparator;if(!a||!l)return null;var u=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused;return ne.createElement(l,Me({},u,{isDisabled:c,isFocused:f}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused,f={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(a,Me({},l,{innerProps:f,isDisabled:u,isFocused:c}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),l=a.Group,u=a.GroupHeading,c=a.Menu,f=a.MenuList,h=a.MenuPortal,p=a.LoadingMessage,m=a.NoOptionsMessage,v=a.Option,x=this.commonProps,S=this.state.focusedOption,E=this.props,P=E.captureMenuScroll,M=E.inputValue,L=E.isLoading,D=E.loadingMessage,N=E.minMenuHeight,z=E.maxMenuHeight,X=E.menuIsOpen,Y=E.menuPlacement,fe=E.menuPosition,Te=E.menuPortalTarget,Ge=E.menuShouldBlockScroll,Xe=E.menuShouldScrollIntoView,pe=E.noOptionsMessage,xe=E.onMenuScrollToTop,be=E.onMenuScrollToBottom;if(!X)return null;var Ae=function(y,j){var ee=y.type,ae=y.data,U=y.isDisabled,K=y.isSelected,ie=y.label,oe=y.value,le=S===ae,q=U?void 0:function(){return i.onOptionHover(ae)},ce=U?void 0:function(){return i.selectOption(ae)},Q="".concat(i.getElementId("option"),"-").concat(j),de={id:Q,onClick:ce,onMouseMove:q,onMouseOver:q,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:K};return ne.createElement(v,Me({},x,{innerProps:de,data:ae,isDisabled:U,isSelected:K,key:Q,label:ie,type:ee,value:oe,isFocused:le,innerRef:le?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(y.data,"menu"))},$e;if(this.hasOptions())$e=this.getCategorizedOptions().map(function(F){if(F.type==="group"){var y=F.data,j=F.options,ee=F.index,ae="".concat(i.getElementId("group"),"-").concat(ee),U="".concat(ae,"-heading");return ne.createElement(l,Me({},x,{key:ae,data:y,options:j,Heading:u,headingProps:{id:U,data:F.data},label:i.formatGroupLabel(F.data)}),F.options.map(function(K){return Ae(K,"".concat(ee,"-").concat(K.index))}))}else if(F.type==="option")return Ae(F,"".concat(F.index))});else if(L){var Je=D({inputValue:M});if(Je===null)return null;$e=ne.createElement(p,x,Je)}else{var O=pe({inputValue:M});if(O===null)return null;$e=ne.createElement(m,x,O)}var T={minMenuHeight:N,maxMenuHeight:z,menuPlacement:Y,menuPosition:fe,menuShouldScrollIntoView:Xe},R=ne.createElement(vH,Me({},x,T),function(F){var y=F.ref,j=F.placerProps,ee=j.placement,ae=j.maxHeight;return ne.createElement(c,Me({},x,T,{innerRef:y,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:L,placement:ee}),ne.createElement(zW,{captureEnabled:P,onTopArrive:xe,onBottomArrive:be,lockEnabled:Ge},function(U){return ne.createElement(f,Me({},x,{innerRef:function(ie){i.getMenuListRef(ie),U(ie)},innerProps:{role:"listbox","aria-multiselectable":x.isMulti,id:i.getElementId("listbox")},isLoading:L,maxHeight:ae,focusedOption:S}),$e)}))});return Te||fe==="fixed"?ne.createElement(h,Me({},x,{appendTo:Te,controlElement:this.controlRef,menuPlacement:Y,menuPosition:fe}),R):R}},{key:"renderFormField",value:function(){var i=this,a=this.props,l=a.delimiter,u=a.isDisabled,c=a.isMulti,f=a.name,h=a.required,p=this.state.selectValue;if(h&&!this.hasValue()&&!u)return ne.createElement(KW,{name:f,onFocus:this.onValueInputFocus});if(!(!f||u))if(c)if(l){var m=p.map(function(S){return i.getOptionValue(S)}).join(l);return ne.createElement("input",{name:f,type:"hidden",value:m})}else{var v=p.length>0?p.map(function(S,E){return ne.createElement("input",{key:"i-".concat(E),name:f,type:"hidden",value:i.getOptionValue(S)})}):ne.createElement("input",{name:f,type:"hidden",value:""});return ne.createElement("div",null,v)}else{var x=p[0]?this.getOptionValue(p[0]):"";return ne.createElement("input",{name:f,type:"hidden",value:x})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,l=a.ariaSelection,u=a.focusedOption,c=a.focusedValue,f=a.isFocused,h=a.selectValue,p=this.getFocusableOptions();return ne.createElement(LW,Me({},i,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:u,focusedValue:c,isFocused:f,selectValue:h,focusableOptions:p,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,l=i.IndicatorsContainer,u=i.SelectContainer,c=i.ValueContainer,f=this.props,h=f.className,p=f.id,m=f.isDisabled,v=f.menuIsOpen,x=this.state.isFocused,S=this.commonProps=this.getCommonProps();return ne.createElement(u,Me({},S,{className:h,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:x}),this.renderLiveRegion(),ne.createElement(a,Me({},S,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:x,menuIsOpen:v}),ne.createElement(c,Me({},S,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),ne.createElement(l,Me({},S,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var l=a.prevProps,u=a.clearFocusValueOnUpdate,c=a.inputIsHiddenAfterUpdate,f=a.ariaSelection,h=a.isFocused,p=a.prevWasFocused,m=a.instancePrefix,v=i.options,x=i.value,S=i.menuIsOpen,E=i.inputValue,P=i.isMulti,M=Rb(x),L={};if(l&&(x!==l.value||v!==l.options||S!==l.menuIsOpen||E!==l.inputValue)){var D=S?hZ(i,M):[],N=S?c5(Bl(i,M),"".concat(m,"-option")):[],z=u?pZ(a,M):null,X=gZ(a,D),Y=nh(N,X);L={selectValue:M,focusedOption:X,focusedOptionId:Y,focusableOptionsWithIds:N,focusedValue:z,clearFocusValueOnUpdate:!1}}var fe=c!=null&&i!==l?{inputIsHidden:c,inputIsHiddenAfterUpdate:void 0}:{},Te=f,Ge=h&&p;return h&&!Ge&&(Te={value:$l(P,M,M[0]||null),options:M,action:"initial-input-focus"},Ge=!p),(f==null?void 0:f.action)==="initial-input-focus"&&(Te=null),Oe(Oe(Oe({},L),fe),{},{prevProps:i,ariaSelection:Te,prevWasFocused:Ge})}}]),n}(b.Component);v5.defaultProps=dZ;var vZ=b.forwardRef(function(e,t){var n=yj(e);return ne.createElement(v5,Me({ref:t},n))}),bZ=vZ;function yZ({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l}=t;return A.jsxs(W2,{disabled:a,error:r,children:[A.jsx(Gr.SelectContainer,{...t}),A.jsx(xd,{htmlFor:i,disabled:a,error:r,focused:l,className:et({"text-brand-primary":l}),children:n})]})}function CZ(e){return A.jsx(Gr.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function xZ(e){return A.jsx(Gr.ValueContainer,{className:"items-end",...e})}function wZ(e){return A.jsx(Gr.Placeholder,{className:"text-sm translate-y-1",...e})}function SZ(e){return A.jsx(Gr.Input,{className:"py-0 text-sm translate-y-1 text-brand-text children:text-brand-text children:text-sm",...e})}function IZ({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return A.jsx(A.Fragment,{children:r?A.jsx(h4,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):A.jsx(p4,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function EZ(e){return A.jsx(Gr.SingleValue,{className:"translate-y-1",...e})}function AZ(e){const{isSelected:t}=e;return A.jsx(Gr.Option,{className:et("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}const b5=({components:e,helper:t,error:n,...r})=>A.jsxs("div",{children:[A.jsx(bZ,{isClearable:!0,noOptionsMessage:()=>"Nenhuma opção encontrada",styles:{option:(i,{isSelected:a})=>({...i,zIndex:9999,backgroundColor:a?"#0093B2":i.backgroundColor,color:a?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}})},components:{Control:CZ,DropdownIndicator:IZ,Input:SZ,SelectContainer:yZ,ValueContainer:xZ,Placeholder:wZ,SingleValue:EZ,Option:AZ,...e},...r}),t?A.jsx(gd,{children:t}):null,n?A.jsx(pd,{children:n}):null]});/**
139
+ `]))),ZH=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,l=a.colors,u=a.spacing.baseUnit;return Oe({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?l.neutral60:l.neutral20,padding:u*2})},Yd=function(t){var n=t.delay,r=t.offset;return Pe("span",{css:jd({animation:"".concat(WH," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},XH=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,l=mr(t,VH);return Pe("div",Me({},Ot(Oe(Oe({},l),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Pe(Yd,{delay:0,offset:r}),Pe(Yd,{delay:160,offset:!0}),Pe(Yd,{delay:320,offset:!r}))},zH=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,l=a.colors,u=a.borderRadius,c=a.spacing;return Oe({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:c.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?l.neutral5:l.neutral0,borderColor:r?l.neutral10:i?l.primary:l.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:i?l.primary:l.neutral30}})},UH=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,l=t.innerProps,u=t.menuIsOpen;return Pe("div",Me({ref:a},Ot(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),l,{"aria-disabled":r||void 0}),n)},YH=UH,JH=["data"],KH=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},qH=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,l=t.Heading,u=t.headingProps,c=t.innerProps,f=t.label,h=t.theme,p=t.selectProps;return Pe("div",Me({},Ot(t,"group",{group:!0}),c),Pe(l,Me({},u,{selectProps:p,theme:h,getStyles:i,getClassNames:a,cx:r}),f),Pe("div",null,n))},QH=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Oe({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},eW=function(t){var n=Lb(t);n.data;var r=mr(n,JH);return Pe("div",Me({},Ot(t,"groupHeading",{"group-heading":!0}),r))},tW=qH,nW=["innerRef","isDisabled","isHidden","inputClassName"],rW=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,l=a.spacing,u=a.colors;return Oe(Oe({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},iW),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:u.neutral80})},Xb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},iW={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oe({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Xb)},oW=function(t){return Oe({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Xb)},aW=function(t){var n=t.cx,r=t.value,i=Lb(t),a=i.innerRef,l=i.isDisabled,u=i.isHidden,c=i.inputClassName,f=mr(i,nW);return Pe("div",Me({},Ot(t,"input",{"input-container":!0}),{"data-value":r||""}),Pe("input",Me({className:n({input:!0},c),ref:a,style:oW(u),disabled:l},f)))},sW=aW,lW=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors;return Oe({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},uW=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,l=t.cropWithEllipsis;return Oe({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},cW=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,l=r.colors,u=t.isFocused;return Oe({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?l.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},zb=function(t){var n=t.children,r=t.innerProps;return Pe("div",r,n)},fW=zb,dW=zb;function hW(e){var t=e.children,n=e.innerProps;return Pe("div",Me({role:"button"},n),t||Pe(Ud,{size:14}))}var pW=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,l=t.isDisabled,u=t.removeProps,c=t.selectProps,f=r.Container,h=r.Label,p=r.Remove;return Pe(f,{data:i,innerProps:Oe(Oe({},Ot(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),a),selectProps:c},Pe(h,{data:i,innerProps:Oe({},Ot(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},n),Pe(p,{data:i,innerProps:Oe(Oe({},Ot(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:c}))},gW=pW,mW=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.theme,u=l.spacing,c=l.colors;return Oe({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?c.primary:i?c.primary25:"transparent",color:r?c.neutral20:a?c.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?c.primary:c.primary50}})},vW=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,l=t.innerRef,u=t.innerProps;return Pe("div",Me({},Ot(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:l,"aria-disabled":r},u),n)},bW=vW,yW=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Oe({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},CW=function(t){var n=t.children,r=t.innerProps;return Pe("div",Me({},Ot(t,"placeholder",{placeholder:!0}),r),n)},xW=CW,wW=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,l=i.colors;return Oe({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?l.neutral40:l.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},SW=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return Pe("div",Me({},Ot(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},IW=SW,Gr={ClearIndicator:jH,Control:YH,DropdownIndicator:BH,DownChevron:Wb,CrossIcon:Ud,Group:tW,GroupHeading:eW,IndicatorsContainer:RH,IndicatorSeparator:HH,Input:sW,LoadingIndicator:XH,Menu:yH,MenuList:xH,MenuPortal:_H,LoadingMessage:EH,NoOptionsMessage:IH,MultiValue:gW,MultiValueContainer:fW,MultiValueLabel:dW,MultiValueRemove:hW,Option:bW,Placeholder:xW,SelectContainer:TH,SingleValue:IW,ValueContainer:FH},EW=function(t){return Oe(Oe({},Gr),t.components)},Ub=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function AW(e,t){return!!(e===t||Ub(e)&&Ub(t))}function _W(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!AW(e[n],t[n]))return!1;return!0}function PW(e,t){t===void 0&&(t=_W);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var l=e.apply(this,i);return n={lastResult:l,lastArgs:i,lastThis:this},l}return r.clear=function(){n=null},r}function TW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var OW=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:TW},FW=function(t){return Pe("span",Me({css:OW},t))},Yb=FW,MW={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,l=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return l?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,l=a===void 0?"":a,u=t.selectValue,c=t.isDisabled,f=t.isSelected,h=t.isAppleDevice,p=function(S,E){return S&&S.length?"".concat(S.indexOf(E)+1," of ").concat(S.length):""};if(n==="value"&&u)return"value ".concat(l," focused, ").concat(p(u,r),".");if(n==="menu"&&h){var m=c?" disabled":"",v="".concat(f?" selected":"").concat(m);return"".concat(l).concat(v,", ").concat(p(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},RW=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,l=t.isFocused,u=t.selectValue,c=t.selectProps,f=t.id,h=t.isAppleDevice,p=c.ariaLiveMessages,m=c.getOptionLabel,v=c.inputValue,x=c.isMulti,S=c.isOptionDisabled,E=c.isSearchable,P=c.menuIsOpen,M=c.options,L=c.screenReaderStatus,D=c.tabSelectsValue,N=c.isLoading,z=c["aria-label"],X=c["aria-live"],Y=b.useMemo(function(){return Oe(Oe({},MW),p||{})},[p]),fe=b.useMemo(function(){var be="";if(n&&Y.onChange){var Ee=n.option,$e=n.options,Je=n.removedValue,O=n.removedValues,T=n.value,R=function(K){return Array.isArray(K)?null:K},F=Je||Ee||R(T),y=F?m(F):"",j=$e||O||void 0,ee=j?j.map(m):[],ae=Oe({isDisabled:F&&S(F,u),label:y,labels:ee},n);be=Y.onChange(ae)}return be},[n,Y,S,u,m]),Te=b.useMemo(function(){var be="",Ee=r||i,$e=!!(r&&u&&u.includes(r));if(Ee&&Y.onFocus){var Je={focused:Ee,label:m(Ee),isDisabled:S(Ee,u),isSelected:$e,options:a,context:Ee===r?"menu":"value",selectValue:u,isAppleDevice:h};be=Y.onFocus(Je)}return be},[r,i,m,S,Y,a,u,h]),Ge=b.useMemo(function(){var be="";if(P&&M.length&&!N&&Y.onFilter){var Ee=L({count:a.length});be=Y.onFilter({inputValue:v,resultsMessage:Ee})}return be},[a,v,P,Y,M,L,N]),Xe=(n==null?void 0:n.action)==="initial-input-focus",pe=b.useMemo(function(){var be="";if(Y.guidance){var Ee=i?"value":P?"menu":"input";be=Y.guidance({"aria-label":z,context:Ee,isDisabled:r&&S(r,u),isMulti:x,isSearchable:E,tabSelectsValue:D,isInitialFocus:Xe})}return be},[z,r,i,x,S,E,P,Y,u,D,Xe]),xe=Pe(b.Fragment,null,Pe("span",{id:"aria-selection"},fe),Pe("span",{id:"aria-focused"},Te),Pe("span",{id:"aria-results"},Ge),Pe("span",{id:"aria-guidance"},pe));return Pe(b.Fragment,null,Pe(Yb,{id:f},Xe&&xe),Pe(Yb,{"aria-live":X,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!Xe&&xe))},LW=RW,Jd=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],VW=new RegExp("["+Jd.map(function(e){return e.letters}).join("")+"]","g"),Jb={},Kd=0;Kd<Jd.length;Kd++)for(var qd=Jd[Kd],Qd=0;Qd<qd.letters.length;Qd++)Jb[qd.letters[Qd]]=qd.base;var Kb=function(t){return t.replace(VW,function(n){return Jb[n]})},DW=PW(Kb),qb=function(t){return t.replace(/^\s+|\s+$/g,"")},NW=function(t){return"".concat(t.label," ").concat(t.value)},$W=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Oe({ignoreCase:!0,ignoreAccents:!0,stringify:NW,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,l=i.ignoreAccents,u=i.stringify,c=i.trim,f=i.matchFrom,h=c?qb(r):r,p=c?qb(u(n)):u(n);return a&&(h=h.toLowerCase(),p=p.toLowerCase()),l&&(h=DW(h),p=Kb(p)),f==="start"?p.substr(0,h.length)===h:p.indexOf(h)>-1}},BW=["innerRef"];function kW(e){var t=e.innerRef,n=mr(e,BW),r=fH(n,"onExited","in","enter","exit","appear");return Pe("input",Me({ref:t},r,{css:jd({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var jW=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function GW(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,l=b.useRef(!1),u=b.useRef(!1),c=b.useRef(0),f=b.useRef(null),h=b.useCallback(function(E,P){if(f.current!==null){var M=f.current,L=M.scrollTop,D=M.scrollHeight,N=M.clientHeight,z=f.current,X=P>0,Y=D-N-L,fe=!1;Y>P&&l.current&&(r&&r(E),l.current=!1),X&&u.current&&(a&&a(E),u.current=!1),X&&P>Y?(n&&!l.current&&n(E),z.scrollTop=D,fe=!0,l.current=!0):!X&&-P>L&&(i&&!u.current&&i(E),z.scrollTop=0,fe=!0,u.current=!0),fe&&jW(E)}},[n,r,i,a]),p=b.useCallback(function(E){h(E,E.deltaY)},[h]),m=b.useCallback(function(E){c.current=E.changedTouches[0].clientY},[]),v=b.useCallback(function(E){var P=c.current-E.changedTouches[0].clientY;h(E,P)},[h]),x=b.useCallback(function(E){if(E){var P=lH?{passive:!1}:!1;E.addEventListener("wheel",p,P),E.addEventListener("touchstart",m,P),E.addEventListener("touchmove",v,P)}},[v,m,p]),S=b.useCallback(function(E){E&&(E.removeEventListener("wheel",p,!1),E.removeEventListener("touchstart",m,!1),E.removeEventListener("touchmove",v,!1))},[v,m,p]);return b.useEffect(function(){if(t){var E=f.current;return x(E),function(){S(E)}}},[t,x,S]),function(E){f.current=E}}var Qb=["boxSizing","height","overflow","paddingRight","position"],e5={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function t5(e){e.preventDefault()}function n5(e){e.stopPropagation()}function r5(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function i5(){return"ontouchstart"in window||navigator.maxTouchPoints}var o5=!!(typeof window<"u"&&window.document&&window.document.createElement),Ga=0,To={capture:!1,passive:!1};function HW(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=b.useRef({}),a=b.useRef(null),l=b.useCallback(function(c){if(o5){var f=document.body,h=f&&f.style;if(r&&Qb.forEach(function(x){var S=h&&h[x];i.current[x]=S}),r&&Ga<1){var p=parseInt(i.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,v=window.innerWidth-m+p||0;Object.keys(e5).forEach(function(x){var S=e5[x];h&&(h[x]=S)}),h&&(h.paddingRight="".concat(v,"px"))}f&&i5()&&(f.addEventListener("touchmove",t5,To),c&&(c.addEventListener("touchstart",r5,To),c.addEventListener("touchmove",n5,To))),Ga+=1}},[r]),u=b.useCallback(function(c){if(o5){var f=document.body,h=f&&f.style;Ga=Math.max(Ga-1,0),r&&Ga<1&&Qb.forEach(function(p){var m=i.current[p];h&&(h[p]=m)}),f&&i5()&&(f.removeEventListener("touchmove",t5,To),c&&(c.removeEventListener("touchstart",r5,To),c.removeEventListener("touchmove",n5,To)))}},[r]);return b.useEffect(function(){if(t){var c=a.current;return l(c),function(){u(c)}}},[t,l,u]),function(c){a.current=c}}function WW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ZW=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},XW=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:WW};function zW(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,l=e.onBottomLeave,u=e.onTopArrive,c=e.onTopLeave,f=GW({isEnabled:i,onBottomArrive:a,onBottomLeave:l,onTopArrive:u,onTopLeave:c}),h=HW({isEnabled:n}),p=function(v){f(v),h(v)};return Pe(b.Fragment,null,n&&Pe("div",{onClick:ZW,css:XW}),t(p))}function UW(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var YW=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:UW},JW=function(t){var n=t.name,r=t.onFocus;return Pe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:YW,value:"",onChange:function(){}})},KW=JW;function eh(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function qW(){return eh(/^iPhone/i)}function a5(){return eh(/^Mac/i)}function QW(){return eh(/^iPad/i)||a5()&&navigator.maxTouchPoints>1}function eZ(){return qW()||QW()}function tZ(){return a5()||eZ()}var nZ=function(t){return t.label},rZ=function(t){return t.label},iZ=function(t){return t.value},oZ=function(t){return!!t.isDisabled},aZ={clearIndicator:kH,container:PH,control:zH,dropdownIndicator:$H,group:KH,groupHeading:QH,indicatorsContainer:MH,indicatorSeparator:GH,input:rW,loadingIndicator:ZH,loadingMessage:SH,menu:mH,menuList:CH,menuPortal:AH,multiValue:lW,multiValueLabel:uW,multiValueRemove:cW,noOptionsMessage:wH,option:mW,placeholder:yW,singleValue:wW,valueContainer:OH},sZ={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},lZ=4,s5=4,uZ=38,cZ=s5*2,fZ={baseUnit:s5,controlHeight:uZ,menuGutter:cZ},th={borderRadius:lZ,colors:sZ,spacing:fZ},dZ={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Nb(),captureMenuScroll:!Nb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:$W(),formatGroupLabel:nZ,getOptionLabel:rZ,getOptionValue:iZ,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:oZ,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!aH(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function l5(e,t,n,r){var i=h5(e,t,n),a=p5(e,t,n),l=d5(e,t),u=kl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:l,value:u,index:r}}function Bl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(l,u){return l5(e,l,t,u)}).filter(function(l){return f5(e,l)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=l5(e,n,t,r);return f5(e,a)?a:void 0}).filter(uH)}function u5(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ed(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function c5(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ed(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function hZ(e,t){return u5(Bl(e,t))}function f5(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,l=t.label,u=t.value;return(!m5(e)||!a)&&g5(e,{label:l,value:u,data:i},r)}function pZ(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function gZ(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var nh=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},d5=function(t,n){return t.getOptionLabel(n)},kl=function(t,n){return t.getOptionValue(n)};function h5(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function p5(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=kl(e,t);return n.some(function(i){return kl(e,i)===r})}function g5(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var m5=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},mZ=1,v5=function(e){wj(n,e);var t=Aj(n);function n(r){var i;if(Cj(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=tZ(),i.controlRef=null,i.getControlRef=function(c){i.controlRef=c},i.focusedOptionRef=null,i.getFocusedOptionRef=function(c){i.focusedOptionRef=c},i.menuListRef=null,i.getMenuListRef=function(c){i.menuListRef=c},i.inputRef=null,i.getInputRef=function(c){i.inputRef=c},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(c,f){var h=i.props,p=h.onChange,m=h.name;f.name=m,i.ariaOnChange(c,f),p(c,f)},i.setValue=function(c,f,h){var p=i.props,m=p.closeMenuOnSelect,v=p.isMulti,x=p.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:x}),m&&(i.setState({inputIsHiddenAfterUpdate:!v}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(c,{action:f,option:h})},i.selectOption=function(c){var f=i.props,h=f.blurInputOnSelect,p=f.isMulti,m=f.name,v=i.state.selectValue,x=p&&i.isOptionSelected(c,v),S=i.isOptionDisabled(c,v);if(x){var E=i.getOptionValue(c);i.setValue(v.filter(function(P){return i.getOptionValue(P)!==E}),"deselect-option",c)}else if(!S)p?i.setValue([].concat(Ed(v),[c]),"select-option",c):i.setValue(c,"select-option");else{i.ariaOnChange(c,{action:"select-option",option:c,name:m});return}h&&i.blurInput()},i.removeValue=function(c){var f=i.props.isMulti,h=i.state.selectValue,p=i.getOptionValue(c),m=h.filter(function(x){return i.getOptionValue(x)!==p}),v=$l(f,m,m[0]||null);i.onChange(v,{action:"remove-value",removedValue:c}),i.focusInput()},i.clearValue=function(){var c=i.state.selectValue;i.onChange($l(i.props.isMulti,[],null),{action:"clear",removedValues:c})},i.popValue=function(){var c=i.props.isMulti,f=i.state.selectValue,h=f[f.length-1],p=f.slice(0,f.length-1),m=$l(c,p,p[0]||null);i.onChange(m,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(c){return nh(i.state.focusableOptionsWithIds,c)},i.getFocusableOptionsWithIds=function(){return c5(Bl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var c=arguments.length,f=new Array(c),h=0;h<c;h++)f[h]=arguments[h];return tH.apply(void 0,[i.props.classNamePrefix].concat(f))},i.getOptionLabel=function(c){return d5(i.props,c)},i.getOptionValue=function(c){return kl(i.props,c)},i.getStyles=function(c,f){var h=i.props.unstyled,p=aZ[c](f,h);p.boxSizing="border-box";var m=i.props.styles[c];return m?m(p,f):p},i.getClassNames=function(c,f){var h,p;return(h=(p=i.props.classNames)[c])===null||h===void 0?void 0:h.call(p,f)},i.getElementId=function(c){return"".concat(i.state.instancePrefix,"-").concat(c)},i.getComponents=function(){return EW(i.props)},i.buildCategorizedOptions=function(){return Bl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return u5(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(c,f){i.setState({ariaSelection:Oe({value:c},f)})},i.onMenuMouseDown=function(c){c.button===0&&(c.stopPropagation(),c.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(c){i.blockOptionHover=!1},i.onControlMouseDown=function(c){if(!c.defaultPrevented){var f=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&i.onMenuClose():f&&i.openMenu("first"):(f&&(i.openAfterFocus=!0),i.focusInput()),c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&c.preventDefault()}},i.onDropdownIndicatorMouseDown=function(c){if(!(c&&c.type==="mousedown"&&c.button!==0)&&!i.props.isDisabled){var f=i.props,h=f.isMulti,p=f.menuIsOpen;i.focusInput(),p?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),c.preventDefault()}},i.onClearIndicatorMouseDown=function(c){c&&c.type==="mousedown"&&c.button!==0||(i.clearValue(),c.preventDefault(),i.openAfterFocus=!1,c.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(c){typeof i.props.closeMenuOnScroll=="boolean"?c.target instanceof HTMLElement&&Ll(c.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(c)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(c){var f=c.touches,h=f&&f.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(c){var f=c.touches,h=f&&f.item(0);if(h){var p=Math.abs(h.clientX-i.initialTouchX),m=Math.abs(h.clientY-i.initialTouchY),v=5;i.userIsDragging=p>v||m>v}},i.onTouchEnd=function(c){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(c.target)&&i.menuListRef&&!i.menuListRef.contains(c.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(c){i.userIsDragging||i.onControlMouseDown(c)},i.onClearIndicatorTouchEnd=function(c){i.userIsDragging||i.onClearIndicatorMouseDown(c)},i.onDropdownIndicatorTouchEnd=function(c){i.userIsDragging||i.onDropdownIndicatorMouseDown(c)},i.handleInputChange=function(c){var f=i.props.inputValue,h=c.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:f}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(c){i.props.onFocus&&i.props.onFocus(c),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(c){var f=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(c),i.onInputChange("",{action:"input-blur",prevInputValue:f}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(c){if(!(i.blockOptionHover||i.state.focusedOption===c)){var f=i.getFocusableOptions(),h=f.indexOf(c);i.setState({focusedOption:c,focusedOptionId:h>-1?i.getFocusedOptionId(c):null})}},i.shouldHideSelectedOptions=function(){return m5(i.props)},i.onValueInputFocus=function(c){c.preventDefault(),c.stopPropagation(),i.focus()},i.onKeyDown=function(c){var f=i.props,h=f.isMulti,p=f.backspaceRemovesValue,m=f.escapeClearsValue,v=f.inputValue,x=f.isClearable,S=f.isDisabled,E=f.menuIsOpen,P=f.onKeyDown,M=f.tabSelectsValue,L=f.openMenuOnFocus,D=i.state,N=D.focusedOption,z=D.focusedValue,X=D.selectValue;if(!S&&!(typeof P=="function"&&(P(c),c.defaultPrevented))){switch(i.blockOptionHover=!0,c.key){case"ArrowLeft":if(!h||v)return;i.focusValue("previous");break;case"ArrowRight":if(!h||v)return;i.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(z)i.removeValue(z);else{if(!p)return;h?i.popValue():x&&i.clearValue()}break;case"Tab":if(i.isComposing||c.shiftKey||!E||!M||!N||L&&i.isOptionSelected(N,X))return;i.selectOption(N);break;case"Enter":if(c.keyCode===229)break;if(E){if(!N||i.isComposing)return;i.selectOption(N);break}return;case"Escape":E?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:v}),i.onMenuClose()):x&&m&&i.clearValue();break;case" ":if(v)return;if(!E){i.openMenu("first");break}if(!N)return;i.selectOption(N);break;case"ArrowUp":E?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":E?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!E)return;i.focusOption("pageup");break;case"PageDown":if(!E)return;i.focusOption("pagedown");break;case"Home":if(!E)return;i.focusOption("first");break;case"End":if(!E)return;i.focusOption("last");break;default:return}c.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++mZ),i.state.selectValue=Rb(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),l=i.buildFocusableOptions(),u=l.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=l[u],i.state.focusedOptionId=nh(a,l[u])}return i}return xj(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Db(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,l=a.isDisabled,u=a.menuIsOpen,c=this.state.isFocused;(c&&!l&&i.isDisabled||c&&u&&!i.menuIsOpen)&&this.focusInput(),c&&l&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!c&&!l&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Db(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,l=this.state,u=l.selectValue,c=l.isFocused,f=this.buildFocusableOptions(),h=i==="first"?0:f.length-1;if(!this.props.isMulti){var p=f.indexOf(u[0]);p>-1&&(h=p)}this.scrollToFocusedOptionOnUpdate=!(c&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:f[h],focusedOptionId:this.getFocusedOptionId(f[h])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,l=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var c=l.indexOf(u);u||(c=-1);var f=l.length-1,h=-1;if(l.length){switch(i){case"previous":c===0?h=0:c===-1?h=f:h=c-1;break;case"next":c>-1&&c<f&&(h=c+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:l[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,l=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var c=0,f=u.indexOf(l);l||(f=-1),i==="up"?c=f>0?f-1:u.length-1:i==="down"?c=(f+1)%u.length:i==="pageup"?(c=f-a,c<0&&(c=0)):i==="pagedown"?(c=f+a,c>u.length-1&&(c=u.length-1)):i==="last"&&(c=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[c],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[c])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(th):Oe(Oe({},th),this.props.theme):th}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,l=this.getStyles,u=this.getClassNames,c=this.getValue,f=this.selectOption,h=this.setValue,p=this.props,m=p.isMulti,v=p.isRtl,x=p.options,S=this.hasValue();return{clearValue:i,cx:a,getStyles:l,getClassNames:u,getValue:c,hasValue:S,isMulti:m,isRtl:v,options:x,selectOption:f,selectProps:p,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,l=i.isMulti;return a===void 0?l:a}},{key:"isOptionDisabled",value:function(i,a){return h5(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return p5(this.props,i,a)}},{key:"filterOption",value:function(i,a){return g5(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:l,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,l=i.isSearchable,u=i.inputId,c=i.inputValue,f=i.tabIndex,h=i.form,p=i.menuIsOpen,m=i.required,v=this.getComponents(),x=v.Input,S=this.state,E=S.inputIsHidden,P=S.ariaSelection,M=this.commonProps,L=u||this.getElementId("input"),D=Oe(Oe(Oe({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":m,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(P==null?void 0:P.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?ne.createElement(x,Me({},M,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:L,innerRef:this.getInputRef,isDisabled:a,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:f,form:h,type:"text",value:c},D)):ne.createElement(kW,Me({id:L,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Rl,onFocus:this.onInputFocus,disabled:a,tabIndex:f,inputMode:"none",form:h,value:""},D))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),l=a.MultiValue,u=a.MultiValueContainer,c=a.MultiValueLabel,f=a.MultiValueRemove,h=a.SingleValue,p=a.Placeholder,m=this.commonProps,v=this.props,x=v.controlShouldRenderValue,S=v.isDisabled,E=v.isMulti,P=v.inputValue,M=v.placeholder,L=this.state,D=L.selectValue,N=L.focusedValue,z=L.isFocused;if(!this.hasValue()||!x)return P?null:ne.createElement(p,Me({},m,{key:"placeholder",isDisabled:S,isFocused:z,innerProps:{id:this.getElementId("placeholder")}}),M);if(E)return D.map(function(Y,fe){var Te=Y===N,Ge="".concat(i.getOptionLabel(Y),"-").concat(i.getOptionValue(Y));return ne.createElement(l,Me({},m,{components:{Container:u,Label:c,Remove:f},isFocused:Te,isDisabled:S,key:Ge,index:fe,removeProps:{onClick:function(){return i.removeValue(Y)},onTouchEnd:function(){return i.removeValue(Y)},onMouseDown:function(pe){pe.preventDefault()}},data:Y}),i.formatOptionLabel(Y,"value"))});if(P)return null;var X=D[0];return ne.createElement(h,Me({},m,{data:X,isDisabled:S}),this.formatOptionLabel(X,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!this.isClearable()||!a||c||!this.hasValue()||f)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(a,Me({},l,{innerProps:p,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,l=this.commonProps,u=this.props,c=u.isDisabled,f=u.isLoading,h=this.state.isFocused;if(!a||!f)return null;var p={"aria-hidden":"true"};return ne.createElement(a,Me({},l,{innerProps:p,isDisabled:c,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,l=i.IndicatorSeparator;if(!a||!l)return null;var u=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused;return ne.createElement(l,Me({},u,{isDisabled:c,isFocused:f}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused,f={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(a,Me({},l,{innerProps:f,isDisabled:u,isFocused:c}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),l=a.Group,u=a.GroupHeading,c=a.Menu,f=a.MenuList,h=a.MenuPortal,p=a.LoadingMessage,m=a.NoOptionsMessage,v=a.Option,x=this.commonProps,S=this.state.focusedOption,E=this.props,P=E.captureMenuScroll,M=E.inputValue,L=E.isLoading,D=E.loadingMessage,N=E.minMenuHeight,z=E.maxMenuHeight,X=E.menuIsOpen,Y=E.menuPlacement,fe=E.menuPosition,Te=E.menuPortalTarget,Ge=E.menuShouldBlockScroll,Xe=E.menuShouldScrollIntoView,pe=E.noOptionsMessage,xe=E.onMenuScrollToTop,be=E.onMenuScrollToBottom;if(!X)return null;var Ee=function(y,j){var ee=y.type,ae=y.data,U=y.isDisabled,K=y.isSelected,ie=y.label,oe=y.value,le=S===ae,q=U?void 0:function(){return i.onOptionHover(ae)},ce=U?void 0:function(){return i.selectOption(ae)},Q="".concat(i.getElementId("option"),"-").concat(j),de={id:Q,onClick:ce,onMouseMove:q,onMouseOver:q,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:K};return ne.createElement(v,Me({},x,{innerProps:de,data:ae,isDisabled:U,isSelected:K,key:Q,label:ie,type:ee,value:oe,isFocused:le,innerRef:le?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(y.data,"menu"))},$e;if(this.hasOptions())$e=this.getCategorizedOptions().map(function(F){if(F.type==="group"){var y=F.data,j=F.options,ee=F.index,ae="".concat(i.getElementId("group"),"-").concat(ee),U="".concat(ae,"-heading");return ne.createElement(l,Me({},x,{key:ae,data:y,options:j,Heading:u,headingProps:{id:U,data:F.data},label:i.formatGroupLabel(F.data)}),F.options.map(function(K){return Ee(K,"".concat(ee,"-").concat(K.index))}))}else if(F.type==="option")return Ee(F,"".concat(F.index))});else if(L){var Je=D({inputValue:M});if(Je===null)return null;$e=ne.createElement(p,x,Je)}else{var O=pe({inputValue:M});if(O===null)return null;$e=ne.createElement(m,x,O)}var T={minMenuHeight:N,maxMenuHeight:z,menuPlacement:Y,menuPosition:fe,menuShouldScrollIntoView:Xe},R=ne.createElement(vH,Me({},x,T),function(F){var y=F.ref,j=F.placerProps,ee=j.placement,ae=j.maxHeight;return ne.createElement(c,Me({},x,T,{innerRef:y,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:L,placement:ee}),ne.createElement(zW,{captureEnabled:P,onTopArrive:xe,onBottomArrive:be,lockEnabled:Ge},function(U){return ne.createElement(f,Me({},x,{innerRef:function(ie){i.getMenuListRef(ie),U(ie)},innerProps:{role:"listbox","aria-multiselectable":x.isMulti,id:i.getElementId("listbox")},isLoading:L,maxHeight:ae,focusedOption:S}),$e)}))});return Te||fe==="fixed"?ne.createElement(h,Me({},x,{appendTo:Te,controlElement:this.controlRef,menuPlacement:Y,menuPosition:fe}),R):R}},{key:"renderFormField",value:function(){var i=this,a=this.props,l=a.delimiter,u=a.isDisabled,c=a.isMulti,f=a.name,h=a.required,p=this.state.selectValue;if(h&&!this.hasValue()&&!u)return ne.createElement(KW,{name:f,onFocus:this.onValueInputFocus});if(!(!f||u))if(c)if(l){var m=p.map(function(S){return i.getOptionValue(S)}).join(l);return ne.createElement("input",{name:f,type:"hidden",value:m})}else{var v=p.length>0?p.map(function(S,E){return ne.createElement("input",{key:"i-".concat(E),name:f,type:"hidden",value:i.getOptionValue(S)})}):ne.createElement("input",{name:f,type:"hidden",value:""});return ne.createElement("div",null,v)}else{var x=p[0]?this.getOptionValue(p[0]):"";return ne.createElement("input",{name:f,type:"hidden",value:x})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,l=a.ariaSelection,u=a.focusedOption,c=a.focusedValue,f=a.isFocused,h=a.selectValue,p=this.getFocusableOptions();return ne.createElement(LW,Me({},i,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:u,focusedValue:c,isFocused:f,selectValue:h,focusableOptions:p,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,l=i.IndicatorsContainer,u=i.SelectContainer,c=i.ValueContainer,f=this.props,h=f.className,p=f.id,m=f.isDisabled,v=f.menuIsOpen,x=this.state.isFocused,S=this.commonProps=this.getCommonProps();return ne.createElement(u,Me({},S,{className:h,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:x}),this.renderLiveRegion(),ne.createElement(a,Me({},S,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:x,menuIsOpen:v}),ne.createElement(c,Me({},S,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),ne.createElement(l,Me({},S,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var l=a.prevProps,u=a.clearFocusValueOnUpdate,c=a.inputIsHiddenAfterUpdate,f=a.ariaSelection,h=a.isFocused,p=a.prevWasFocused,m=a.instancePrefix,v=i.options,x=i.value,S=i.menuIsOpen,E=i.inputValue,P=i.isMulti,M=Rb(x),L={};if(l&&(x!==l.value||v!==l.options||S!==l.menuIsOpen||E!==l.inputValue)){var D=S?hZ(i,M):[],N=S?c5(Bl(i,M),"".concat(m,"-option")):[],z=u?pZ(a,M):null,X=gZ(a,D),Y=nh(N,X);L={selectValue:M,focusedOption:X,focusedOptionId:Y,focusableOptionsWithIds:N,focusedValue:z,clearFocusValueOnUpdate:!1}}var fe=c!=null&&i!==l?{inputIsHidden:c,inputIsHiddenAfterUpdate:void 0}:{},Te=f,Ge=h&&p;return h&&!Ge&&(Te={value:$l(P,M,M[0]||null),options:M,action:"initial-input-focus"},Ge=!p),(f==null?void 0:f.action)==="initial-input-focus"&&(Te=null),Oe(Oe(Oe({},L),fe),{},{prevProps:i,ariaSelection:Te,prevWasFocused:Ge})}}]),n}(b.Component);v5.defaultProps=dZ;var vZ=b.forwardRef(function(e,t){var n=yj(e);return ne.createElement(v5,Me({ref:t},n))}),bZ=vZ;function yZ({selectProps:e,...t}){const{label:n,error:r,name:i}=e,{isDisabled:a,isFocused:l}=t;return A.jsxs(W2,{disabled:a,error:r,children:[A.jsx(Gr.SelectContainer,{...t}),A.jsx(xd,{htmlFor:i,disabled:a,error:r,focused:l,className:et({"text-brand-primary":l}),children:n})]})}function CZ(e){return A.jsx(Gr.Control,{className:"text-sm bg-transparent border-none focus-within:ring-0 focus:ring-0",...e})}function xZ(e){return A.jsx(Gr.ValueContainer,{className:"items-end",...e})}function wZ(e){return A.jsx(Gr.Placeholder,{className:"text-sm translate-y-1",...e})}function SZ(e){return A.jsx(Gr.Input,{className:"py-0 text-sm translate-y-1 text-brand-text children:text-brand-text children:text-sm",...e})}function IZ({innerRef:e,innerProps:t,selectProps:n}){const{menuIsOpen:r}=n;return A.jsx(A.Fragment,{children:r?A.jsx(h4,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t}):A.jsx(p4,{ref:e,className:"w-3 h-3 mx-3 text-brand-dark-gray",...t})})}function EZ(e){return A.jsx(Gr.SingleValue,{className:"translate-y-1",...e})}function AZ(e){const{isSelected:t}=e;return A.jsx(Gr.Option,{className:et("text-sm py-1 px-2","hover:bg-brand-tertiary-light hover:text-brand-primary",{"bg-brand-primary text-white":t}),...e})}const b5=({components:e,helper:t,error:n,...r})=>A.jsxs("div",{children:[A.jsx(bZ,{isClearable:!0,noOptionsMessage:()=>"Nenhuma opção encontrada",styles:{option:(i,{isSelected:a})=>({...i,zIndex:9999,backgroundColor:a?"#0093B2":i.backgroundColor,color:a?"white":"inherit",":active":{backgroundColor:"#0093B2"},":hover":{color:"#0093B2",backgroundColor:"#BFF0FB"}})},components:{Control:CZ,DropdownIndicator:IZ,Input:SZ,SelectContainer:yZ,ValueContainer:xZ,Placeholder:wZ,SingleValue:EZ,Option:AZ,...e},...r}),t?A.jsx(gd,{children:t}):null,n?A.jsx(pd,{children:n}):null]});/**
140
140
  * @remix-run/router v1.14.1
141
141
  *
142
142
  * Copyright (c) Remix Software Inc.
@@ -187,7 +187,7 @@ You should wrap it with \`css\` like this:
187
187
  * LICENSE.md file in the root directory of this source tree.
188
188
  *
189
189
  * @license MIT
190
- */function d3(e,t){return e?Oz(e)?ne.createElement(e,t):e:null}function Oz(e){return Fz(e)||typeof e=="function"||Mz(e)}function Fz(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function Mz(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function h3(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=ne.useState(()=>({current:Ez(t)})),[r,i]=ne.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:l=>{i(l),e.onStateChange==null||e.onStateChange(l)}})),n.current}function p3({children:e}){return A.jsx("div",{className:"text-black dark:text-white",children:e})}function g3({itemsPerPageMessage:e,pageSeparatorMessage:t,totalRecords:n,size:r,pageIndex:i,canNextPage:a,canPreviousPage:l,onPageSizeChange:u,onGoFirstPage:c,onGoPreviousPage:f,onGoLastPage:h,onGoNextPage:p}){return A.jsxs("div",{className:"flex items-center justify-end gap-2 px-2 py-2 my-2 text-sm text-brand-text dark:text-white",children:[A.jsx("p",{children:e}),A.jsx("select",{className:et("w-20 border-0 border-b border-brand-disabled focus:outline-none focus:ring-0 focus:border-l-0 focus:border-b focus:border-brand-primary","bg-brand-light-gray dark:bg-brand-dark-gray-dark","text-brand-secondary-text dark:text-brand-gray"),value:r,onChange:u,children:[5,10,25,50].map(m=>A.jsx("option",{value:m,children:m},`page-size-option-${m}`))}),A.jsxs("span",{children:[i+1," ",t," ",n]}),A.jsx("button",{onClick:c,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(g4,{})}),A.jsx("button",{onClick:f,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(Q1,{})}),A.jsx("button",{onClick:p,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(ep,{})}),A.jsx("button",{onClick:h,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(m4,{})})]})}function m3({noRecordsMessage:e}){return A.jsx("p",{className:"text-sm text-center",children:e})}function v3(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[0])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function b3(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[e.column.parent.columns.length-1])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function Ql(e){var t;return((t=e==null?void 0:e.subHeaders)==null?void 0:t.length)>0}function y3({headerGroup:e,isPagination:t=!0,onSort:n,onColumn:r}){function i(l){return l.id==="select"?50:l.getSize()}function a(l,u){function c(){const h=l.column.getIsSorted();return h?h==="desc"?A.jsx(y4,{}):A.jsx(b4,{}):A.jsx(C4,{})}function f(h){const p=h.column.getIsSorted();n(typeof p=="boolean"?"":p),r(h.id)}return A.jsx(A.Fragment,{children:A.jsx("th",{className:et("px-2 py-3 text-xs text-left select-none border-b border-brand-disabled",{"border-r":Ql(l)||b3(l),"border-l":Ql(l)||v3(l)}),colSpan:l.colSpan,style:{width:i(l)},children:A.jsxs("div",{className:"flex items-center justify-between",children:[Ql(l)&&A.jsx("div",{}),A.jsxs("div",{className:"flex flex-row items-center space-x-4 text-sm font-bold text-brand-primary",children:[A.jsx("span",{className:"w-full",children:d3(l.column.columnDef.header,l.getContext())}),l.column.columnDef.sortingFn&&!Ql(l)&&A.jsx("span",{className:`px-2 ${l.column.getCanSort()?"cursor-pointer":""}`,onClick:async h=>{await l.column.getToggleSortingHandler()(h),t&&f(l)},children:c()})]}),l.id!=="select"&&A.jsx("div",{onMouseDown:l.getResizeHandler(),onTouchStart:l.getResizeHandler(),className:"w-3 h-full text-brand-gray cursor-col-resize",children:A.jsx(v4,{})})]})},`thead-th-${l.id}-${u}`)})}return A.jsx("tr",{className:"mx-auto",children:e.headers.map(a)},`thead-tr-${e.id}`)}function C3({row:e,index:t,renderSubComponent:n}){function r(i,a){return A.jsx("td",{className:et("px-2 children:align-middle overflow-ellipsis whitespace-nowrap border-brand-disabled",{"border-r":b3(i),"border-l":v3(i)}),children:d3(i.column.columnDef.cell,i.getContext())},`tbody-td-${i.id}-${a}`)}return A.jsxs(b.Fragment,{children:[A.jsx("tr",{className:"mx-auto children:text-sm children:py-3 children:text-brand-text dark:children:text-white children:last-of-type:border-b children:last-of-type:border-brand-disabled",children:e.getVisibleCells().map(r)},`tbody-tr-${e.id}-${t}`),e.getIsExpanded()?A.jsx("tr",{children:A.jsx("td",{colSpan:e.getVisibleCells().length,children:n({row:e})})}):null]},`tbody-fragmment-${e.id}-${t}`)}function x3({spinnerMessage:e}){return A.jsx("div",{className:"flex items-center justify-center mt-10",children:A.jsx(hd,{size:50,children:e})})}function w3({indeterminate:e,className:t="w-5 h-5 rounded-md border-brand-primary border-1 text-brand-primary focus:ring-0",...n}){const r=b.useRef(null);return b.useEffect(()=>{typeof e=="boolean"&&(r.current.indeterminate=!n.checked&&e)},[r,e]),A.jsx("input",{type:"checkbox",ref:r,className:t+" cursor-pointer",...n})}function S3(e,t){return e?[{id:"select",sortingFn:!1,header:({table:r})=>A.jsx(w3,{checked:r.getIsAllRowsSelected(),indeterminate:r.getIsSomeRowsSelected(),onChange:r.getToggleAllRowsSelectedHandler()}),cell:({row:r})=>A.jsx("div",{className:"px-1",children:A.jsx(w3,{checked:r.getIsSelected(),disabled:!r.getCanSelect(),indeterminate:r.getIsSomeSelected(),onChange:r.getToggleSelectedHandler()})})},...t]:t}function Rz({setFilter:e,placeholder:t}){let n=0;function r(i){clearTimeout(n),n=setTimeout(()=>{e(i.target.value||void 0)},500)}return A.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[A.jsx(Xu,{className:"text-brand-secondary-text dark:text-brand-gray"}),A.jsx("input",{className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:t,onChange:r})]})}function Lz({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,totalRecords:a,spinnerMessage:l="Carregando...",noRecordsMessage:u="Nenhuma entrada encontrada.",searchPlaceholder:c="Buscar...",itemsPerPageMessage:f="Itens por página:",pageSeparatorMessage:h="de",onRowSelection:p,renderSubComponent:m,getRowCanExpand:v,onSearch:x,onSize:S,onPage:E,onColumn:P,onSort:M}){const L="onChange",[D,N]=b.useState([]),[z,X]=b.useState(0),[Y,fe]=b.useState(!1),[Te,Ge]=b.useState(!1),[Xe,pe]=b.useState({}),xe=h3({data:e,columns:S3(i,t),columnResizeMode:L,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:Xe,sorting:D},getRowCanExpand:v,onRowSelectionChange:pe,getCoreRowModel:a3(),getFilteredRowModel:s3(),getPaginationRowModel:f3(),onSortingChange:N,getSortedRowModel:l3(),getExpandedRowModel:u3()}),be=xe.getState().pagination.pageSize;function Ae(j){E(j),X(j)}function $e(j){S(Number(j.target.value)),xe.setPageSize(Number(j.target.value))}function Je(j){Ae(0),x(j)}function O(){Ae(0)}function T(){const j=z-1;Ae(j)}function R(){const j=z+1;Ae(j)}function F(){const j=Math.ceil(a/be)-1;Ae(j)}function y(){return p(xe.getSelectedRowModel().flatRows)}return b.useEffect(()=>{function j(){if(z===0){fe(!1);return}fe(!0)}function ee(){if(z>=Math.ceil(a/be)-1){Ge(!1);return}Ge(!0)}j(),ee()},[z,a]),A.jsxs(p3,{children:[r&&A.jsx(Rz,{setFilter:Je,placeholder:c}),n&&A.jsx(x3,{spinnerMessage:l}),e.length===0&&!n&&A.jsx(m3,{noRecordsMessage:u}),e.length>0&&!n&&A.jsx("div",{className:"flex justify-center items-center",children:A.jsx("div",{className:"overflow-x-auto",children:A.jsxs("table",{style:{width:xe.getCenterTotalSize()},children:[A.jsx("thead",{children:xe.getHeaderGroups().map(j=>A.jsx(y3,{headerGroup:j,onColumn:P,onSort:M}))}),A.jsx("tbody",{className:"divide-y divide-brand-disabled",children:xe.getRowModel().rows.map((j,ee)=>A.jsx(C3,{index:ee,row:j,renderSubComponent:m},j.id))})]})})}),A.jsx(g3,{itemsPerPageMessage:f,pageSeparatorMessage:h,totalRecords:Math.ceil(a/be),size:be,pageIndex:z,canNextPage:Te,canPreviousPage:Y,onPageSizeChange:$e,onGoFirstPage:O,onGoPreviousPage:T,onGoLastPage:F,onGoNextPage:R}),i&&p&&y()]})}function Vz({value:e,onChange:t,placeholder:n,debounce:r=500,...i}){const[a,l]=b.useState(e);return b.useEffect(()=>{l(e)},[e]),b.useEffect(()=>{const u=setTimeout(()=>{t(a)},r);return()=>clearTimeout(u)},[a]),A.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[A.jsx(Xu,{className:"text-brand-secondary-text dark:text-brand-gray"}),A.jsx("input",{...i,value:a,className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:n,onChange:u=>l(u.target.value)})]})}function Dz({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,spinnerMessage:a="Carregando...",noRecordsMessage:l="Nenhuma entrada encontrada.",searchPlaceholder:u="Buscar...",itemsPerPageMessage:c="Itens por página:",pageSeparatorMessage:f="de",onRowSelection:h,renderSubComponent:p,getRowCanExpand:m}){const v="onChange",[x,S]=b.useState([]),[E,P]=b.useState({}),[M,L]=b.useState(""),D=h3({data:e,columns:S3(i,t),columnResizeMode:v,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:E,sorting:x,globalFilter:M},getRowCanExpand:m,onGlobalFilterChange:L,onRowSelectionChange:P,getCoreRowModel:a3(),getFilteredRowModel:s3(),getPaginationRowModel:f3(),onSortingChange:S,getSortedRowModel:l3(),getExpandedRowModel:u3()}),N=D.getState().pagination.pageSize;function z(Y){D.setPageSize(Number(Y.target.value))}function X(){return h(D.getSelectedRowModel().flatRows)}return A.jsxs(p3,{children:[r&&A.jsx(Vz,{value:M??"",onChange:Y=>L(String(Y)),placeholder:u}),n&&A.jsx(x3,{spinnerMessage:a}),e.length===0&&!n&&A.jsx(m3,{noRecordsMessage:l}),e.length>0&&!n&&A.jsx("div",{className:"flex justify-center items-center",children:A.jsx("div",{className:"overflow-x-auto",children:A.jsxs("table",{style:{width:D.getCenterTotalSize()},children:[A.jsx("thead",{children:D.getHeaderGroups().map(Y=>A.jsx(y3,{headerGroup:Y,isPagination:!1,onColumn:()=>null,onSort:()=>null}))}),A.jsx("tbody",{className:"divide-y divide-brand-disabled",children:D.getRowModel().rows.map((Y,fe)=>A.jsx(C3,{index:fe,row:Y,renderSubComponent:p},Y.id))})]})})}),A.jsx(g3,{itemsPerPageMessage:c,pageSeparatorMessage:f,totalRecords:D.getPageCount(),size:N,pageIndex:D.getState().pagination.pageIndex,canNextPage:D.getCanNextPage(),canPreviousPage:D.getCanPreviousPage(),onPageSizeChange:z,onGoFirstPage:()=>D.setPageIndex(0),onGoPreviousPage:()=>D.previousPage(),onGoLastPage:()=>D.setPageIndex(D.getPageCount()-1),onGoNextPage:()=>D.nextPage()}),i&&h&&X()]})}const I3=({children:e,tooltip:t})=>A.jsxs("div",{className:"relative inline-block group",children:[e,A.jsx("span",{className:`${et("invisible","group-hover:visible","opacity-0","group-hover:opacity-100","z-0","group-hover:z-50","transition","transform","left-1/2","text-xs","-top-9","-translate-x-1/2","bg-brand-text","text-white","p-2","rounded","absolute","whitespace-nowrap")}`,children:t})]}),Nz=({children:e,className:t,id:n,tooltip:r,variant:i,...a})=>A.jsx(A.Fragment,{children:A.jsx(I3,{tooltip:r,children:A.jsx("button",{className:`${et("w-8 h-8 rounded","flex items-center justify-center","transition outline-none outline-2","shadow-action-button hover:shadow-action-button-hover","hover:bg-brand-secondary hover:text-white disabled:bg-brand-disabled disabled:text-white","disabled:shadow-none disabled:hover:cursor-not-allowed",{"bg-brand-primary text-white":i==="primary","bg-brand-tertiary-light text-brand-primary":i==="secondary"},t)}`,...a,children:e})},n)}),Nh=({Container:e,children:t,fileName:n,disabled:r,onChange:i,accept:a="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"})=>{const l=b.useRef(null),u=()=>{var f;return(f=l.current)==null?void 0:f.click()},c=f=>{const h=f.target;h.value=""};return A.jsxs(A.Fragment,{children:[A.jsx(e,{type:"button",disabled:r,onClick:u,fileName:n,children:t}),A.jsx("input",{ref:l,type:"file",className:"hidden",accept:a,onClick:c,onChange:f=>{i(f.target.files[0])}})]})},$z=e=>A.jsx(Ki,{variant:"primary",...e}),Bz=e=>A.jsx(Ki,{variant:"secondary",...e}),kz=({children:e,disabled:t,fileName:n,...r})=>A.jsx("button",{disabled:t,className:`relative ${t?"bg-gray-300 text-white cursor-not-allowed border-2 border-gray-900 border-dashed":"bg-white text-primary-500 hover:bg-primary-100 hover:mb-0 border-2 border-gray-800 border-dashed cursor-pointer"}
190
+ */function d3(e,t){return e?Oz(e)?ne.createElement(e,t):e:null}function Oz(e){return Fz(e)||typeof e=="function"||Mz(e)}function Fz(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function Mz(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function h3(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=ne.useState(()=>({current:Ez(t)})),[r,i]=ne.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:l=>{i(l),e.onStateChange==null||e.onStateChange(l)}})),n.current}function p3({children:e}){return A.jsx("div",{className:"text-black dark:text-white",children:e})}function g3({itemsPerPageMessage:e,pageSeparatorMessage:t,totalRecords:n,size:r,pageIndex:i,canNextPage:a,canPreviousPage:l,onPageSizeChange:u,onGoFirstPage:c,onGoPreviousPage:f,onGoLastPage:h,onGoNextPage:p}){return A.jsxs("div",{className:"flex items-center justify-end gap-2 px-2 py-2 my-2 text-sm text-brand-text dark:text-white",children:[A.jsx("p",{children:e}),A.jsx("select",{className:et("w-20 border-0 border-b border-brand-disabled focus:outline-none focus:ring-0 focus:border-l-0 focus:border-b focus:border-brand-primary","bg-brand-light-gray dark:bg-brand-dark-gray-dark","text-brand-secondary-text dark:text-brand-gray"),value:r,onChange:u,children:[5,10,25,50].map(m=>A.jsx("option",{value:m,children:m},`page-size-option-${m}`))}),A.jsxs("span",{children:[i+1," ",t," ",n]}),A.jsx("button",{onClick:c,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(g4,{})}),A.jsx("button",{onClick:f,disabled:!l,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(Q1,{})}),A.jsx("button",{onClick:p,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(ep,{})}),A.jsx("button",{onClick:h,disabled:!a,className:"text-gray-500 disabled:text-gray-300 hover:text-gray-700",children:A.jsx(m4,{})})]})}function m3({noRecordsMessage:e}){return A.jsx("p",{className:"text-sm text-center",children:e})}function v3(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[0])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function b3(e){var t,n,r,i,a,l,u;return((r=(n=(t=e==null?void 0:e.column)==null?void 0:t.parent)==null?void 0:n.columns)==null?void 0:r.length)&&((l=(a=(i=e==null?void 0:e.column)==null?void 0:i.parent)==null?void 0:a.columns[e.column.parent.columns.length-1])==null?void 0:l.id)===((u=e==null?void 0:e.column)==null?void 0:u.id)}function Ql(e){var t;return((t=e==null?void 0:e.subHeaders)==null?void 0:t.length)>0}function y3({headerGroup:e,isPagination:t=!0,onSort:n,onColumn:r}){function i(l){return l.id==="select"?50:l.getSize()}function a(l,u){function c(){const h=l.column.getIsSorted();return h?h==="desc"?A.jsx(y4,{}):A.jsx(b4,{}):A.jsx(C4,{})}function f(h){const p=h.column.getIsSorted();n(typeof p=="boolean"?"":p),r(h.id)}return A.jsx(A.Fragment,{children:A.jsx("th",{className:et("px-2 py-3 text-xs text-left select-none border-b border-brand-disabled",{"border-r":Ql(l)||b3(l),"border-l":Ql(l)||v3(l)}),colSpan:l.colSpan,style:{width:i(l)},children:A.jsxs("div",{className:"flex items-center justify-between",children:[Ql(l)&&A.jsx("div",{}),A.jsxs("div",{className:"flex flex-row items-center space-x-4 text-sm font-bold text-brand-primary",children:[A.jsx("span",{className:"w-full",children:d3(l.column.columnDef.header,l.getContext())}),l.column.columnDef.sortingFn&&!Ql(l)&&A.jsx("span",{className:`px-2 ${l.column.getCanSort()?"cursor-pointer":""}`,onClick:async h=>{await l.column.getToggleSortingHandler()(h),t&&f(l)},children:c()})]}),l.id!=="select"&&A.jsx("div",{onMouseDown:l.getResizeHandler(),onTouchStart:l.getResizeHandler(),className:"w-3 h-full text-brand-gray cursor-col-resize",children:A.jsx(v4,{})})]})},`thead-th-${l.id}-${u}`)})}return A.jsx("tr",{className:"mx-auto",children:e.headers.map(a)},`thead-tr-${e.id}`)}function C3({row:e,index:t,renderSubComponent:n}){function r(i,a){return A.jsx("td",{className:et("px-2 children:align-middle overflow-ellipsis whitespace-nowrap border-brand-disabled",{"border-r":b3(i),"border-l":v3(i)}),children:d3(i.column.columnDef.cell,i.getContext())},`tbody-td-${i.id}-${a}`)}return A.jsxs(b.Fragment,{children:[A.jsx("tr",{className:"mx-auto children:text-sm children:py-3 children:text-brand-text dark:children:text-white children:last-of-type:border-b children:last-of-type:border-brand-disabled",children:e.getVisibleCells().map(r)},`tbody-tr-${e.id}-${t}`),e.getIsExpanded()?A.jsx("tr",{children:A.jsx("td",{colSpan:e.getVisibleCells().length,children:n({row:e})})}):null]},`tbody-fragmment-${e.id}-${t}`)}function x3({spinnerMessage:e}){return A.jsx("div",{className:"flex items-center justify-center mt-10",children:A.jsx(hd,{size:50,children:e})})}function w3({indeterminate:e,className:t="w-5 h-5 rounded-md border-brand-primary border-1 text-brand-primary focus:ring-0",...n}){const r=b.useRef(null);return b.useEffect(()=>{typeof e=="boolean"&&(r.current.indeterminate=!n.checked&&e)},[r,e]),A.jsx("input",{type:"checkbox",ref:r,className:t+" cursor-pointer",...n})}function S3(e,t){return e?[{id:"select",sortingFn:!1,header:({table:r})=>A.jsx(w3,{checked:r.getIsAllRowsSelected(),indeterminate:r.getIsSomeRowsSelected(),onChange:r.getToggleAllRowsSelectedHandler()}),cell:({row:r})=>A.jsx("div",{className:"px-1",children:A.jsx(w3,{checked:r.getIsSelected(),disabled:!r.getCanSelect(),indeterminate:r.getIsSomeSelected(),onChange:r.getToggleSelectedHandler()})})},...t]:t}function Rz({setFilter:e,placeholder:t}){let n=0;function r(i){clearTimeout(n),n=setTimeout(()=>{e(i.target.value||void 0)},500)}return A.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[A.jsx(Xu,{className:"text-brand-secondary-text dark:text-brand-gray"}),A.jsx("input",{className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:t,onChange:r})]})}function Lz({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,totalRecords:a,spinnerMessage:l="Carregando...",noRecordsMessage:u="Nenhuma entrada encontrada.",searchPlaceholder:c="Buscar...",itemsPerPageMessage:f="Itens por página:",pageSeparatorMessage:h="de",onRowSelection:p,renderSubComponent:m,getRowCanExpand:v,onSearch:x,onSize:S,onPage:E,onColumn:P,onSort:M}){const L="onChange",[D,N]=b.useState([]),[z,X]=b.useState(0),[Y,fe]=b.useState(!1),[Te,Ge]=b.useState(!1),[Xe,pe]=b.useState({}),xe=h3({data:e,columns:S3(i,t),columnResizeMode:L,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:Xe,sorting:D},getRowCanExpand:v,onRowSelectionChange:pe,getCoreRowModel:a3(),getFilteredRowModel:s3(),getPaginationRowModel:f3(),onSortingChange:N,getSortedRowModel:l3(),getExpandedRowModel:u3()}),be=xe.getState().pagination.pageSize;function Ee(j){E(j),X(j)}function $e(j){Ee(0),S(Number(j.target.value)),xe.setPageSize(Number(j.target.value))}function Je(j){Ee(0),x(j)}function O(){Ee(0)}function T(){const j=z-1;Ee(j)}function R(){const j=z+1;Ee(j)}function F(){const j=Math.ceil(a/be)-1;Ee(j)}function y(){return p(xe.getSelectedRowModel().flatRows)}return b.useEffect(()=>{function j(){if(z===0){fe(!1);return}fe(!0)}function ee(){if(z>=Math.ceil(a/be)-1){Ge(!1);return}Ge(!0)}j(),ee()},[z,a]),A.jsxs(p3,{children:[r&&A.jsx(Rz,{setFilter:Je,placeholder:c}),n&&A.jsx(x3,{spinnerMessage:l}),e.length===0&&!n&&A.jsx(m3,{noRecordsMessage:u}),e.length>0&&!n&&A.jsx("div",{className:"flex justify-center items-center",children:A.jsx("div",{className:"overflow-x-auto",children:A.jsxs("table",{style:{width:xe.getCenterTotalSize()},children:[A.jsx("thead",{children:xe.getHeaderGroups().map(j=>A.jsx(y3,{headerGroup:j,onColumn:P,onSort:M}))}),A.jsx("tbody",{className:"divide-y divide-brand-disabled",children:xe.getRowModel().rows.map((j,ee)=>A.jsx(C3,{index:ee,row:j,renderSubComponent:m},j.id))})]})})}),A.jsx(g3,{itemsPerPageMessage:f,pageSeparatorMessage:h,totalRecords:Math.ceil(a/be),size:be,pageIndex:z,canNextPage:Te,canPreviousPage:Y,onPageSizeChange:$e,onGoFirstPage:O,onGoPreviousPage:T,onGoLastPage:F,onGoNextPage:R}),i&&p&&y()]})}function Vz({value:e,onChange:t,placeholder:n,debounce:r=500,...i}){const[a,l]=b.useState(e);return b.useEffect(()=>{l(e)},[e]),b.useEffect(()=>{const u=setTimeout(()=>{t(a)},r);return()=>clearTimeout(u)},[a]),A.jsxs("div",{className:"flex items-center gap-2 px-2 my-2 bg-gray-100 border-b-2 border-gray-200 rounded-sm focus-within:border-0 focus-within:border-b focus-within:border-brand-primary focus-within:ring-brand-primary dark:bg-gray-700",children:[A.jsx(Xu,{className:"text-brand-secondary-text dark:text-brand-gray"}),A.jsx("input",{...i,value:a,className:"flex-1 py-2 bg-transparent text-sm border-none appearance-none focus:outline-none focus:ring-0",placeholder:n,onChange:u=>l(u.target.value)})]})}function Dz({data:e,columns:t,isFetching:n,searchable:r=!0,isRowSelection:i=!1,spinnerMessage:a="Carregando...",noRecordsMessage:l="Nenhuma entrada encontrada.",searchPlaceholder:u="Buscar...",itemsPerPageMessage:c="Itens por página:",pageSeparatorMessage:f="de",onRowSelection:h,renderSubComponent:p,getRowCanExpand:m}){const v="onChange",[x,S]=b.useState([]),[E,P]=b.useState({}),[M,L]=b.useState(""),D=h3({data:e,columns:S3(i,t),columnResizeMode:v,initialState:{pagination:{pageSize:5}},defaultColumn:{minSize:100,size:150,maxSize:1e3},state:{rowSelection:E,sorting:x,globalFilter:M},getRowCanExpand:m,onGlobalFilterChange:L,onRowSelectionChange:P,getCoreRowModel:a3(),getFilteredRowModel:s3(),getPaginationRowModel:f3(),onSortingChange:S,getSortedRowModel:l3(),getExpandedRowModel:u3()}),N=D.getState().pagination.pageSize;function z(Y){D.setPageSize(Number(Y.target.value))}function X(){return h(D.getSelectedRowModel().flatRows)}return A.jsxs(p3,{children:[r&&A.jsx(Vz,{value:M??"",onChange:Y=>L(String(Y)),placeholder:u}),n&&A.jsx(x3,{spinnerMessage:a}),e.length===0&&!n&&A.jsx(m3,{noRecordsMessage:l}),e.length>0&&!n&&A.jsx("div",{className:"flex justify-center items-center",children:A.jsx("div",{className:"overflow-x-auto",children:A.jsxs("table",{style:{width:D.getCenterTotalSize()},children:[A.jsx("thead",{children:D.getHeaderGroups().map(Y=>A.jsx(y3,{headerGroup:Y,isPagination:!1,onColumn:()=>null,onSort:()=>null}))}),A.jsx("tbody",{className:"divide-y divide-brand-disabled",children:D.getRowModel().rows.map((Y,fe)=>A.jsx(C3,{index:fe,row:Y,renderSubComponent:p},Y.id))})]})})}),A.jsx(g3,{itemsPerPageMessage:c,pageSeparatorMessage:f,totalRecords:D.getPageCount(),size:N,pageIndex:D.getState().pagination.pageIndex,canNextPage:D.getCanNextPage(),canPreviousPage:D.getCanPreviousPage(),onPageSizeChange:z,onGoFirstPage:()=>D.setPageIndex(0),onGoPreviousPage:()=>D.previousPage(),onGoLastPage:()=>D.setPageIndex(D.getPageCount()-1),onGoNextPage:()=>D.nextPage()}),i&&h&&X()]})}const I3=({children:e,tooltip:t})=>A.jsxs("div",{className:"relative inline-block group",children:[e,A.jsx("span",{className:`${et("invisible","group-hover:visible","opacity-0","group-hover:opacity-100","z-0","group-hover:z-50","transition","transform","left-1/2","text-xs","-top-9","-translate-x-1/2","bg-brand-text","text-white","p-2","rounded","absolute","whitespace-nowrap")}`,children:t})]}),Nz=({children:e,className:t,id:n,tooltip:r,variant:i,...a})=>A.jsx(A.Fragment,{children:A.jsx(I3,{tooltip:r,children:A.jsx("button",{className:`${et("w-8 h-8 rounded","flex items-center justify-center","transition outline-none outline-2","shadow-action-button hover:shadow-action-button-hover","hover:bg-brand-secondary hover:text-white disabled:bg-brand-disabled disabled:text-white","disabled:shadow-none disabled:hover:cursor-not-allowed",{"bg-brand-primary text-white":i==="primary","bg-brand-tertiary-light text-brand-primary":i==="secondary"},t)}`,...a,children:e})},n)}),Nh=({Container:e,children:t,fileName:n,disabled:r,onChange:i,accept:a="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"})=>{const l=b.useRef(null),u=()=>{var f;return(f=l.current)==null?void 0:f.click()},c=f=>{const h=f.target;h.value=""};return A.jsxs(A.Fragment,{children:[A.jsx(e,{type:"button",disabled:r,onClick:u,fileName:n,children:t}),A.jsx("input",{ref:l,type:"file",className:"hidden",accept:a,onClick:c,onChange:f=>{i(f.target.files[0])}})]})},$z=e=>A.jsx(Ki,{variant:"primary",...e}),Bz=e=>A.jsx(Ki,{variant:"secondary",...e}),kz=({children:e,disabled:t,fileName:n,...r})=>A.jsx("button",{disabled:t,className:`relative ${t?"bg-gray-300 text-white cursor-not-allowed border-2 border-gray-900 border-dashed":"bg-white text-primary-500 hover:bg-primary-100 hover:mb-0 border-2 border-gray-800 border-dashed cursor-pointer"}
191
191
  flex items-center justify-center w-full h-full p-2 overflow-hidden transition-all duration-300 ease-out transform focus:outline-none rounded-2xl border-opacity-20 dark:bg-brand-dark-gray-dark`,...r,children:A.jsxs("div",{className:`flex ${n?"flex-row":"flex-col"} items-center justify-center`,children:[A.jsx("div",{children:n?A.jsx(i4,{}):A.jsx(A4,{})}),A.jsx("div",{children:A.jsx("span",{className:"w-full text-sm text-center text-gray-900 dark:text-brand-secondary-text",children:e})})]})}),jz={PrimaryButton:e=>A.jsx(Nh,{...e,Container:$z}),OutlineButton:e=>A.jsx(Nh,{...e,Container:Bz}),BoxButton:e=>A.jsx(Nh,{...e,Container:kz})};var eu={exports:{}};/**
192
192
  * @license
193
193
  * Lodash <https://lodash.com/>
@@ -195,9 +195,9 @@ You should wrap it with \`css\` like this:
195
195
  * Released under MIT license <https://lodash.com/license>
196
196
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
197
197
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
198
- */eu.exports,function(e,t){(function(){var n,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",p=1,m=2,v=4,x=1,S=2,E=1,P=2,M=4,L=8,D=16,N=32,z=64,X=128,Y=256,fe=512,Te=30,Ge="...",Xe=800,pe=16,xe=1,be=2,Ae=3,$e=1/0,Je=9007199254740991,O=17976931348623157e292,T=NaN,R=4294967295,F=R-1,y=R>>>1,j=[["ary",X],["bind",E],["bindKey",P],["curry",L],["curryRight",D],["flip",fe],["partial",N],["partialRight",z],["rearg",Y]],ee="[object Arguments]",ae="[object Array]",U="[object AsyncFunction]",K="[object Boolean]",ie="[object Date]",oe="[object DOMException]",le="[object Error]",q="[object Function]",ce="[object GeneratorFunction]",Q="[object Map]",de="[object Number]",Se="[object Null]",ye="[object Object]",Be="[object Promise]",He="[object Proxy]",qe="[object RegExp]",ot="[object Set]",st="[object String]",It="[object Symbol]",Yt="[object Undefined]",Rt="[object WeakMap]",Gn="[object WeakSet]",$t="[object ArrayBuffer]",er="[object DataView]",yr="[object Float32Array]",Cr="[object Float64Array]",Hn="[object Int8Array]",Ci="[object Int16Array]",xi="[object Int32Array]",wi="[object Uint8Array]",Si="[object Uint8ClampedArray]",Ii="[object Uint16Array]",Ei="[object Uint32Array]",Ua=/\b__p \+= '';/g,xr=/\b(__p \+=) '' \+/g,Ai=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jt=/&(?:amp|lt|gt|quot|#39);/g,tr=/[&<>"']/g,wr=RegExp(Jt.source),_i=RegExp(tr.source),Ya=/<%-([\s\S]+?)%>/g,Pi=/<%([\s\S]+?)%>/g,No=/<%=([\s\S]+?)%>/g,Ti=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oi=/^\w*$/,Ja=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fi=/[\\^$.*+?()[\]{}|]/g,Mi=RegExp(Fi.source),Ri=/^\s+/,Ka=/\s/,qa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qa=/\{\n\/\* \[wrapped with (.+)\] \*/,C=/,? & /,B=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,H=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,we=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,We=/^0o[0-7]+$/i,ze=/^(?:0|[1-9]\d*)$/,gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jt=/($^)/,Li=/['\n\r\u2028\u2029\\]/g,Et="\\ud800-\\udfff",nU="\\u0300-\\u036f",rU="\\ufe20-\\ufe2f",iU="\\u20d0-\\u20ff",_3=nU+rU+iU,P3="\\u2700-\\u27bf",T3="a-z\\xdf-\\xf6\\xf8-\\xff",oU="\\xac\\xb1\\xd7\\xf7",aU="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sU="\\u2000-\\u206f",lU=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",O3="A-Z\\xc0-\\xd6\\xd8-\\xde",F3="\\ufe0e\\ufe0f",M3=oU+aU+sU+lU,Bh="['’]",uU="["+Et+"]",R3="["+M3+"]",nu="["+_3+"]",L3="\\d+",cU="["+P3+"]",V3="["+T3+"]",D3="[^"+Et+M3+L3+P3+T3+O3+"]",kh="\\ud83c[\\udffb-\\udfff]",fU="(?:"+nu+"|"+kh+")",N3="[^"+Et+"]",jh="(?:\\ud83c[\\udde6-\\uddff]){2}",Gh="[\\ud800-\\udbff][\\udc00-\\udfff]",$o="["+O3+"]",$3="\\u200d",B3="(?:"+V3+"|"+D3+")",dU="(?:"+$o+"|"+D3+")",k3="(?:"+Bh+"(?:d|ll|m|re|s|t|ve))?",j3="(?:"+Bh+"(?:D|LL|M|RE|S|T|VE))?",G3=fU+"?",H3="["+F3+"]?",hU="(?:"+$3+"(?:"+[N3,jh,Gh].join("|")+")"+H3+G3+")*",pU="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gU="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",W3=H3+G3+hU,mU="(?:"+[cU,jh,Gh].join("|")+")"+W3,vU="(?:"+[N3+nu+"?",nu,jh,Gh,uU].join("|")+")",bU=RegExp(Bh,"g"),yU=RegExp(nu,"g"),Hh=RegExp(kh+"(?="+kh+")|"+vU+W3,"g"),CU=RegExp([$o+"?"+V3+"+"+k3+"(?="+[R3,$o,"$"].join("|")+")",dU+"+"+j3+"(?="+[R3,$o+B3,"$"].join("|")+")",$o+"?"+B3+"+"+k3,$o+"+"+j3,gU,pU,L3,mU].join("|"),"g"),xU=RegExp("["+$3+Et+_3+F3+"]"),wU=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,SU=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],IU=-1,wt={};wt[yr]=wt[Cr]=wt[Hn]=wt[Ci]=wt[xi]=wt[wi]=wt[Si]=wt[Ii]=wt[Ei]=!0,wt[ee]=wt[ae]=wt[$t]=wt[K]=wt[er]=wt[ie]=wt[le]=wt[q]=wt[Q]=wt[de]=wt[ye]=wt[qe]=wt[ot]=wt[st]=wt[Rt]=!1;var yt={};yt[ee]=yt[ae]=yt[$t]=yt[er]=yt[K]=yt[ie]=yt[yr]=yt[Cr]=yt[Hn]=yt[Ci]=yt[xi]=yt[Q]=yt[de]=yt[ye]=yt[qe]=yt[ot]=yt[st]=yt[It]=yt[wi]=yt[Si]=yt[Ii]=yt[Ei]=!0,yt[le]=yt[q]=yt[Rt]=!1;var EU={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},AU={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},_U={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},PU={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},TU=parseFloat,OU=parseInt,Z3=typeof or=="object"&&or&&or.Object===Object&&or,FU=typeof self=="object"&&self&&self.Object===Object&&self,Wt=Z3||FU||Function("return this")(),Wh=t&&!t.nodeType&&t,Vi=Wh&&!0&&e&&!e.nodeType&&e,X3=Vi&&Vi.exports===Wh,Zh=X3&&Z3.process,An=function(){try{var k=Vi&&Vi.require&&Vi.require("util").types;return k||Zh&&Zh.binding&&Zh.binding("util")}catch{}}(),z3=An&&An.isArrayBuffer,U3=An&&An.isDate,Y3=An&&An.isMap,J3=An&&An.isRegExp,K3=An&&An.isSet,q3=An&&An.isTypedArray;function vn(k,J,Z){switch(Z.length){case 0:return k.call(J);case 1:return k.call(J,Z[0]);case 2:return k.call(J,Z[0],Z[1]);case 3:return k.call(J,Z[0],Z[1],Z[2])}return k.apply(J,Z)}function MU(k,J,Z,Ce){for(var Ze=-1,ct=k==null?0:k.length;++Ze<ct;){var Bt=k[Ze];J(Ce,Bt,Z(Bt),k)}return Ce}function _n(k,J){for(var Z=-1,Ce=k==null?0:k.length;++Z<Ce&&J(k[Z],Z,k)!==!1;);return k}function RU(k,J){for(var Z=k==null?0:k.length;Z--&&J(k[Z],Z,k)!==!1;);return k}function Q3(k,J){for(var Z=-1,Ce=k==null?0:k.length;++Z<Ce;)if(!J(k[Z],Z,k))return!1;return!0}function Xr(k,J){for(var Z=-1,Ce=k==null?0:k.length,Ze=0,ct=[];++Z<Ce;){var Bt=k[Z];J(Bt,Z,k)&&(ct[Ze++]=Bt)}return ct}function ru(k,J){var Z=k==null?0:k.length;return!!Z&&Bo(k,J,0)>-1}function Xh(k,J,Z){for(var Ce=-1,Ze=k==null?0:k.length;++Ce<Ze;)if(Z(J,k[Ce]))return!0;return!1}function At(k,J){for(var Z=-1,Ce=k==null?0:k.length,Ze=Array(Ce);++Z<Ce;)Ze[Z]=J(k[Z],Z,k);return Ze}function zr(k,J){for(var Z=-1,Ce=J.length,Ze=k.length;++Z<Ce;)k[Ze+Z]=J[Z];return k}function zh(k,J,Z,Ce){var Ze=-1,ct=k==null?0:k.length;for(Ce&&ct&&(Z=k[++Ze]);++Ze<ct;)Z=J(Z,k[Ze],Ze,k);return Z}function LU(k,J,Z,Ce){var Ze=k==null?0:k.length;for(Ce&&Ze&&(Z=k[--Ze]);Ze--;)Z=J(Z,k[Ze],Ze,k);return Z}function Uh(k,J){for(var Z=-1,Ce=k==null?0:k.length;++Z<Ce;)if(J(k[Z],Z,k))return!0;return!1}var VU=Yh("length");function DU(k){return k.split("")}function NU(k){return k.match(B)||[]}function e9(k,J,Z){var Ce;return Z(k,function(Ze,ct,Bt){if(J(Ze,ct,Bt))return Ce=ct,!1}),Ce}function iu(k,J,Z,Ce){for(var Ze=k.length,ct=Z+(Ce?1:-1);Ce?ct--:++ct<Ze;)if(J(k[ct],ct,k))return ct;return-1}function Bo(k,J,Z){return J===J?YU(k,J,Z):iu(k,t9,Z)}function $U(k,J,Z,Ce){for(var Ze=Z-1,ct=k.length;++Ze<ct;)if(Ce(k[Ze],J))return Ze;return-1}function t9(k){return k!==k}function n9(k,J){var Z=k==null?0:k.length;return Z?Kh(k,J)/Z:T}function Yh(k){return function(J){return J==null?n:J[k]}}function Jh(k){return function(J){return k==null?n:k[J]}}function r9(k,J,Z,Ce,Ze){return Ze(k,function(ct,Bt,mt){Z=Ce?(Ce=!1,ct):J(Z,ct,Bt,mt)}),Z}function BU(k,J){var Z=k.length;for(k.sort(J);Z--;)k[Z]=k[Z].value;return k}function Kh(k,J){for(var Z,Ce=-1,Ze=k.length;++Ce<Ze;){var ct=J(k[Ce]);ct!==n&&(Z=Z===n?ct:Z+ct)}return Z}function qh(k,J){for(var Z=-1,Ce=Array(k);++Z<k;)Ce[Z]=J(Z);return Ce}function kU(k,J){return At(J,function(Z){return[Z,k[Z]]})}function i9(k){return k&&k.slice(0,l9(k)+1).replace(Ri,"")}function bn(k){return function(J){return k(J)}}function Qh(k,J){return At(J,function(Z){return k[Z]})}function es(k,J){return k.has(J)}function o9(k,J){for(var Z=-1,Ce=k.length;++Z<Ce&&Bo(J,k[Z],0)>-1;);return Z}function a9(k,J){for(var Z=k.length;Z--&&Bo(J,k[Z],0)>-1;);return Z}function jU(k,J){for(var Z=k.length,Ce=0;Z--;)k[Z]===J&&++Ce;return Ce}var GU=Jh(EU),HU=Jh(AU);function WU(k){return"\\"+PU[k]}function ZU(k,J){return k==null?n:k[J]}function ko(k){return xU.test(k)}function XU(k){return wU.test(k)}function zU(k){for(var J,Z=[];!(J=k.next()).done;)Z.push(J.value);return Z}function e1(k){var J=-1,Z=Array(k.size);return k.forEach(function(Ce,Ze){Z[++J]=[Ze,Ce]}),Z}function s9(k,J){return function(Z){return k(J(Z))}}function Ur(k,J){for(var Z=-1,Ce=k.length,Ze=0,ct=[];++Z<Ce;){var Bt=k[Z];(Bt===J||Bt===h)&&(k[Z]=h,ct[Ze++]=Z)}return ct}function ou(k){var J=-1,Z=Array(k.size);return k.forEach(function(Ce){Z[++J]=Ce}),Z}function UU(k){var J=-1,Z=Array(k.size);return k.forEach(function(Ce){Z[++J]=[Ce,Ce]}),Z}function YU(k,J,Z){for(var Ce=Z-1,Ze=k.length;++Ce<Ze;)if(k[Ce]===J)return Ce;return-1}function JU(k,J,Z){for(var Ce=Z+1;Ce--;)if(k[Ce]===J)return Ce;return Ce}function jo(k){return ko(k)?qU(k):VU(k)}function Wn(k){return ko(k)?QU(k):DU(k)}function l9(k){for(var J=k.length;J--&&Ka.test(k.charAt(J)););return J}var KU=Jh(_U);function qU(k){for(var J=Hh.lastIndex=0;Hh.test(k);)++J;return J}function QU(k){return k.match(Hh)||[]}function eY(k){return k.match(CU)||[]}var tY=function k(J){J=J==null?Wt:Go.defaults(Wt.Object(),J,Go.pick(Wt,SU));var Z=J.Array,Ce=J.Date,Ze=J.Error,ct=J.Function,Bt=J.Math,mt=J.Object,t1=J.RegExp,nY=J.String,Pn=J.TypeError,au=Z.prototype,rY=ct.prototype,Ho=mt.prototype,su=J["__core-js_shared__"],lu=rY.toString,pt=Ho.hasOwnProperty,iY=0,u9=function(){var o=/[^.]+$/.exec(su&&su.keys&&su.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),uu=Ho.toString,oY=lu.call(mt),aY=Wt._,sY=t1("^"+lu.call(pt).replace(Fi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cu=X3?J.Buffer:n,Yr=J.Symbol,fu=J.Uint8Array,c9=cu?cu.allocUnsafe:n,du=s9(mt.getPrototypeOf,mt),f9=mt.create,d9=Ho.propertyIsEnumerable,hu=au.splice,h9=Yr?Yr.isConcatSpreadable:n,ts=Yr?Yr.iterator:n,Di=Yr?Yr.toStringTag:n,pu=function(){try{var o=ji(mt,"defineProperty");return o({},"",{}),o}catch{}}(),lY=J.clearTimeout!==Wt.clearTimeout&&J.clearTimeout,uY=Ce&&Ce.now!==Wt.Date.now&&Ce.now,cY=J.setTimeout!==Wt.setTimeout&&J.setTimeout,gu=Bt.ceil,mu=Bt.floor,n1=mt.getOwnPropertySymbols,fY=cu?cu.isBuffer:n,p9=J.isFinite,dY=au.join,hY=s9(mt.keys,mt),kt=Bt.max,Kt=Bt.min,pY=Ce.now,gY=J.parseInt,g9=Bt.random,mY=au.reverse,r1=ji(J,"DataView"),ns=ji(J,"Map"),i1=ji(J,"Promise"),Wo=ji(J,"Set"),rs=ji(J,"WeakMap"),is=ji(mt,"create"),vu=rs&&new rs,Zo={},vY=Gi(r1),bY=Gi(ns),yY=Gi(i1),CY=Gi(Wo),xY=Gi(rs),bu=Yr?Yr.prototype:n,os=bu?bu.valueOf:n,m9=bu?bu.toString:n;function I(o){if(Ft(o)&&!Ue(o)&&!(o instanceof nt)){if(o instanceof Tn)return o;if(pt.call(o,"__wrapped__"))return vy(o)}return new Tn(o)}var Xo=function(){function o(){}return function(s){if(!Pt(s))return{};if(f9)return f9(s);o.prototype=s;var d=new o;return o.prototype=n,d}}();function yu(){}function Tn(o,s){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}I.templateSettings={escape:Ya,evaluate:Pi,interpolate:No,variable:"",imports:{_:I}},I.prototype=yu.prototype,I.prototype.constructor=I,Tn.prototype=Xo(yu.prototype),Tn.prototype.constructor=Tn;function nt(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=R,this.__views__=[]}function wY(){var o=new nt(this.__wrapped__);return o.__actions__=ln(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=ln(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=ln(this.__views__),o}function SY(){if(this.__filtered__){var o=new nt(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function IY(){var o=this.__wrapped__.value(),s=this.__dir__,d=Ue(o),g=s<0,w=d?o.length:0,_=DJ(0,w,this.__views__),V=_.start,$=_.end,G=$-V,te=g?$:V-1,re=this.__iteratees__,se=re.length,ge=0,Ee=Kt(G,this.__takeCount__);if(!d||!g&&w==G&&Ee==G)return k9(o,this.__actions__);var Ve=[];e:for(;G--&&ge<Ee;){te+=s;for(var Ke=-1,De=o[te];++Ke<se;){var tt=re[Ke],it=tt.iteratee,xn=tt.type,nn=it(De);if(xn==be)De=nn;else if(!nn){if(xn==xe)continue e;break e}}Ve[ge++]=De}return Ve}nt.prototype=Xo(yu.prototype),nt.prototype.constructor=nt;function Ni(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function EY(){this.__data__=is?is(null):{},this.size=0}function AY(o){var s=this.has(o)&&delete this.__data__[o];return this.size-=s?1:0,s}function _Y(o){var s=this.__data__;if(is){var d=s[o];return d===c?n:d}return pt.call(s,o)?s[o]:n}function PY(o){var s=this.__data__;return is?s[o]!==n:pt.call(s,o)}function TY(o,s){var d=this.__data__;return this.size+=this.has(o)?0:1,d[o]=is&&s===n?c:s,this}Ni.prototype.clear=EY,Ni.prototype.delete=AY,Ni.prototype.get=_Y,Ni.prototype.has=PY,Ni.prototype.set=TY;function Sr(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function OY(){this.__data__=[],this.size=0}function FY(o){var s=this.__data__,d=Cu(s,o);if(d<0)return!1;var g=s.length-1;return d==g?s.pop():hu.call(s,d,1),--this.size,!0}function MY(o){var s=this.__data__,d=Cu(s,o);return d<0?n:s[d][1]}function RY(o){return Cu(this.__data__,o)>-1}function LY(o,s){var d=this.__data__,g=Cu(d,o);return g<0?(++this.size,d.push([o,s])):d[g][1]=s,this}Sr.prototype.clear=OY,Sr.prototype.delete=FY,Sr.prototype.get=MY,Sr.prototype.has=RY,Sr.prototype.set=LY;function Ir(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function VY(){this.size=0,this.__data__={hash:new Ni,map:new(ns||Sr),string:new Ni}}function DY(o){var s=Mu(this,o).delete(o);return this.size-=s?1:0,s}function NY(o){return Mu(this,o).get(o)}function $Y(o){return Mu(this,o).has(o)}function BY(o,s){var d=Mu(this,o),g=d.size;return d.set(o,s),this.size+=d.size==g?0:1,this}Ir.prototype.clear=VY,Ir.prototype.delete=DY,Ir.prototype.get=NY,Ir.prototype.has=$Y,Ir.prototype.set=BY;function $i(o){var s=-1,d=o==null?0:o.length;for(this.__data__=new Ir;++s<d;)this.add(o[s])}function kY(o){return this.__data__.set(o,c),this}function jY(o){return this.__data__.has(o)}$i.prototype.add=$i.prototype.push=kY,$i.prototype.has=jY;function Zn(o){var s=this.__data__=new Sr(o);this.size=s.size}function GY(){this.__data__=new Sr,this.size=0}function HY(o){var s=this.__data__,d=s.delete(o);return this.size=s.size,d}function WY(o){return this.__data__.get(o)}function ZY(o){return this.__data__.has(o)}function XY(o,s){var d=this.__data__;if(d instanceof Sr){var g=d.__data__;if(!ns||g.length<i-1)return g.push([o,s]),this.size=++d.size,this;d=this.__data__=new Ir(g)}return d.set(o,s),this.size=d.size,this}Zn.prototype.clear=GY,Zn.prototype.delete=HY,Zn.prototype.get=WY,Zn.prototype.has=ZY,Zn.prototype.set=XY;function v9(o,s){var d=Ue(o),g=!d&&Hi(o),w=!d&&!g&&ei(o),_=!d&&!g&&!w&&Jo(o),V=d||g||w||_,$=V?qh(o.length,nY):[],G=$.length;for(var te in o)(s||pt.call(o,te))&&!(V&&(te=="length"||w&&(te=="offset"||te=="parent")||_&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||Pr(te,G)))&&$.push(te);return $}function b9(o){var s=o.length;return s?o[g1(0,s-1)]:n}function zY(o,s){return Ru(ln(o),Bi(s,0,o.length))}function UY(o){return Ru(ln(o))}function o1(o,s,d){(d!==n&&!Xn(o[s],d)||d===n&&!(s in o))&&Er(o,s,d)}function as(o,s,d){var g=o[s];(!(pt.call(o,s)&&Xn(g,d))||d===n&&!(s in o))&&Er(o,s,d)}function Cu(o,s){for(var d=o.length;d--;)if(Xn(o[d][0],s))return d;return-1}function YY(o,s,d,g){return Jr(o,function(w,_,V){s(g,w,d(w),V)}),g}function y9(o,s){return o&&rr(s,Gt(s),o)}function JY(o,s){return o&&rr(s,cn(s),o)}function Er(o,s,d){s=="__proto__"&&pu?pu(o,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):o[s]=d}function a1(o,s){for(var d=-1,g=s.length,w=Z(g),_=o==null;++d<g;)w[d]=_?n:k1(o,s[d]);return w}function Bi(o,s,d){return o===o&&(d!==n&&(o=o<=d?o:d),s!==n&&(o=o>=s?o:s)),o}function On(o,s,d,g,w,_){var V,$=s&p,G=s&m,te=s&v;if(d&&(V=w?d(o,g,w,_):d(o)),V!==n)return V;if(!Pt(o))return o;var re=Ue(o);if(re){if(V=$J(o),!$)return ln(o,V)}else{var se=qt(o),ge=se==q||se==ce;if(ei(o))return H9(o,$);if(se==ye||se==ee||ge&&!w){if(V=G||ge?{}:ly(o),!$)return G?_J(o,JY(V,o)):AJ(o,y9(V,o))}else{if(!yt[se])return w?o:{};V=BJ(o,se,$)}}_||(_=new Zn);var Ee=_.get(o);if(Ee)return Ee;_.set(o,V),Ny(o)?o.forEach(function(De){V.add(On(De,s,d,De,o,_))}):Vy(o)&&o.forEach(function(De,tt){V.set(tt,On(De,s,d,tt,o,_))});var Ve=te?G?A1:E1:G?cn:Gt,Ke=re?n:Ve(o);return _n(Ke||o,function(De,tt){Ke&&(tt=De,De=o[tt]),as(V,tt,On(De,s,d,tt,o,_))}),V}function KY(o){var s=Gt(o);return function(d){return C9(d,o,s)}}function C9(o,s,d){var g=d.length;if(o==null)return!g;for(o=mt(o);g--;){var w=d[g],_=s[w],V=o[w];if(V===n&&!(w in o)||!_(V))return!1}return!0}function x9(o,s,d){if(typeof o!="function")throw new Pn(l);return hs(function(){o.apply(n,d)},s)}function ss(o,s,d,g){var w=-1,_=ru,V=!0,$=o.length,G=[],te=s.length;if(!$)return G;d&&(s=At(s,bn(d))),g?(_=Xh,V=!1):s.length>=i&&(_=es,V=!1,s=new $i(s));e:for(;++w<$;){var re=o[w],se=d==null?re:d(re);if(re=g||re!==0?re:0,V&&se===se){for(var ge=te;ge--;)if(s[ge]===se)continue e;G.push(re)}else _(s,se,g)||G.push(re)}return G}var Jr=U9(nr),w9=U9(l1,!0);function qY(o,s){var d=!0;return Jr(o,function(g,w,_){return d=!!s(g,w,_),d}),d}function xu(o,s,d){for(var g=-1,w=o.length;++g<w;){var _=o[g],V=s(_);if(V!=null&&($===n?V===V&&!Cn(V):d(V,$)))var $=V,G=_}return G}function QY(o,s,d,g){var w=o.length;for(d=Ye(d),d<0&&(d=-d>w?0:w+d),g=g===n||g>w?w:Ye(g),g<0&&(g+=w),g=d>g?0:By(g);d<g;)o[d++]=s;return o}function S9(o,s){var d=[];return Jr(o,function(g,w,_){s(g,w,_)&&d.push(g)}),d}function Zt(o,s,d,g,w){var _=-1,V=o.length;for(d||(d=jJ),w||(w=[]);++_<V;){var $=o[_];s>0&&d($)?s>1?Zt($,s-1,d,g,w):zr(w,$):g||(w[w.length]=$)}return w}var s1=Y9(),I9=Y9(!0);function nr(o,s){return o&&s1(o,s,Gt)}function l1(o,s){return o&&I9(o,s,Gt)}function wu(o,s){return Xr(s,function(d){return Tr(o[d])})}function ki(o,s){s=qr(s,o);for(var d=0,g=s.length;o!=null&&d<g;)o=o[ir(s[d++])];return d&&d==g?o:n}function E9(o,s,d){var g=s(o);return Ue(o)?g:zr(g,d(o))}function en(o){return o==null?o===n?Yt:Se:Di&&Di in mt(o)?VJ(o):UJ(o)}function u1(o,s){return o>s}function eJ(o,s){return o!=null&&pt.call(o,s)}function tJ(o,s){return o!=null&&s in mt(o)}function nJ(o,s,d){return o>=Kt(s,d)&&o<kt(s,d)}function c1(o,s,d){for(var g=d?Xh:ru,w=o[0].length,_=o.length,V=_,$=Z(_),G=1/0,te=[];V--;){var re=o[V];V&&s&&(re=At(re,bn(s))),G=Kt(re.length,G),$[V]=!d&&(s||w>=120&&re.length>=120)?new $i(V&&re):n}re=o[0];var se=-1,ge=$[0];e:for(;++se<w&&te.length<G;){var Ee=re[se],Ve=s?s(Ee):Ee;if(Ee=d||Ee!==0?Ee:0,!(ge?es(ge,Ve):g(te,Ve,d))){for(V=_;--V;){var Ke=$[V];if(!(Ke?es(Ke,Ve):g(o[V],Ve,d)))continue e}ge&&ge.push(Ve),te.push(Ee)}}return te}function rJ(o,s,d,g){return nr(o,function(w,_,V){s(g,d(w),_,V)}),g}function ls(o,s,d){s=qr(s,o),o=dy(o,s);var g=o==null?o:o[ir(Mn(s))];return g==null?n:vn(g,o,d)}function A9(o){return Ft(o)&&en(o)==ee}function iJ(o){return Ft(o)&&en(o)==$t}function oJ(o){return Ft(o)&&en(o)==ie}function us(o,s,d,g,w){return o===s?!0:o==null||s==null||!Ft(o)&&!Ft(s)?o!==o&&s!==s:aJ(o,s,d,g,us,w)}function aJ(o,s,d,g,w,_){var V=Ue(o),$=Ue(s),G=V?ae:qt(o),te=$?ae:qt(s);G=G==ee?ye:G,te=te==ee?ye:te;var re=G==ye,se=te==ye,ge=G==te;if(ge&&ei(o)){if(!ei(s))return!1;V=!0,re=!1}if(ge&&!re)return _||(_=new Zn),V||Jo(o)?oy(o,s,d,g,w,_):RJ(o,s,G,d,g,w,_);if(!(d&x)){var Ee=re&&pt.call(o,"__wrapped__"),Ve=se&&pt.call(s,"__wrapped__");if(Ee||Ve){var Ke=Ee?o.value():o,De=Ve?s.value():s;return _||(_=new Zn),w(Ke,De,d,g,_)}}return ge?(_||(_=new Zn),LJ(o,s,d,g,w,_)):!1}function sJ(o){return Ft(o)&&qt(o)==Q}function f1(o,s,d,g){var w=d.length,_=w,V=!g;if(o==null)return!_;for(o=mt(o);w--;){var $=d[w];if(V&&$[2]?$[1]!==o[$[0]]:!($[0]in o))return!1}for(;++w<_;){$=d[w];var G=$[0],te=o[G],re=$[1];if(V&&$[2]){if(te===n&&!(G in o))return!1}else{var se=new Zn;if(g)var ge=g(te,re,G,o,s,se);if(!(ge===n?us(re,te,x|S,g,se):ge))return!1}}return!0}function _9(o){if(!Pt(o)||HJ(o))return!1;var s=Tr(o)?sY:at;return s.test(Gi(o))}function lJ(o){return Ft(o)&&en(o)==qe}function uJ(o){return Ft(o)&&qt(o)==ot}function cJ(o){return Ft(o)&&Bu(o.length)&&!!wt[en(o)]}function P9(o){return typeof o=="function"?o:o==null?fn:typeof o=="object"?Ue(o)?F9(o[0],o[1]):O9(o):Jy(o)}function d1(o){if(!ds(o))return hY(o);var s=[];for(var d in mt(o))pt.call(o,d)&&d!="constructor"&&s.push(d);return s}function fJ(o){if(!Pt(o))return zJ(o);var s=ds(o),d=[];for(var g in o)g=="constructor"&&(s||!pt.call(o,g))||d.push(g);return d}function h1(o,s){return o<s}function T9(o,s){var d=-1,g=un(o)?Z(o.length):[];return Jr(o,function(w,_,V){g[++d]=s(w,_,V)}),g}function O9(o){var s=P1(o);return s.length==1&&s[0][2]?cy(s[0][0],s[0][1]):function(d){return d===o||f1(d,o,s)}}function F9(o,s){return O1(o)&&uy(s)?cy(ir(o),s):function(d){var g=k1(d,o);return g===n&&g===s?j1(d,o):us(s,g,x|S)}}function Su(o,s,d,g,w){o!==s&&s1(s,function(_,V){if(w||(w=new Zn),Pt(_))dJ(o,s,V,d,Su,g,w);else{var $=g?g(M1(o,V),_,V+"",o,s,w):n;$===n&&($=_),o1(o,V,$)}},cn)}function dJ(o,s,d,g,w,_,V){var $=M1(o,d),G=M1(s,d),te=V.get(G);if(te){o1(o,d,te);return}var re=_?_($,G,d+"",o,s,V):n,se=re===n;if(se){var ge=Ue(G),Ee=!ge&&ei(G),Ve=!ge&&!Ee&&Jo(G);re=G,ge||Ee||Ve?Ue($)?re=$:Lt($)?re=ln($):Ee?(se=!1,re=H9(G,!0)):Ve?(se=!1,re=W9(G,!0)):re=[]:ps(G)||Hi(G)?(re=$,Hi($)?re=ky($):(!Pt($)||Tr($))&&(re=ly(G))):se=!1}se&&(V.set(G,re),w(re,G,g,_,V),V.delete(G)),o1(o,d,re)}function M9(o,s){var d=o.length;if(d)return s+=s<0?d:0,Pr(s,d)?o[s]:n}function R9(o,s,d){s.length?s=At(s,function(_){return Ue(_)?function(V){return ki(V,_.length===1?_[0]:_)}:_}):s=[fn];var g=-1;s=At(s,bn(Fe()));var w=T9(o,function(_,V,$){var G=At(s,function(te){return te(_)});return{criteria:G,index:++g,value:_}});return BU(w,function(_,V){return EJ(_,V,d)})}function hJ(o,s){return L9(o,s,function(d,g){return j1(o,g)})}function L9(o,s,d){for(var g=-1,w=s.length,_={};++g<w;){var V=s[g],$=ki(o,V);d($,V)&&cs(_,qr(V,o),$)}return _}function pJ(o){return function(s){return ki(s,o)}}function p1(o,s,d,g){var w=g?$U:Bo,_=-1,V=s.length,$=o;for(o===s&&(s=ln(s)),d&&($=At(o,bn(d)));++_<V;)for(var G=0,te=s[_],re=d?d(te):te;(G=w($,re,G,g))>-1;)$!==o&&hu.call($,G,1),hu.call(o,G,1);return o}function V9(o,s){for(var d=o?s.length:0,g=d-1;d--;){var w=s[d];if(d==g||w!==_){var _=w;Pr(w)?hu.call(o,w,1):b1(o,w)}}return o}function g1(o,s){return o+mu(g9()*(s-o+1))}function gJ(o,s,d,g){for(var w=-1,_=kt(gu((s-o)/(d||1)),0),V=Z(_);_--;)V[g?_:++w]=o,o+=d;return V}function m1(o,s){var d="";if(!o||s<1||s>Je)return d;do s%2&&(d+=o),s=mu(s/2),s&&(o+=o);while(s);return d}function Qe(o,s){return R1(fy(o,s,fn),o+"")}function mJ(o){return b9(Ko(o))}function vJ(o,s){var d=Ko(o);return Ru(d,Bi(s,0,d.length))}function cs(o,s,d,g){if(!Pt(o))return o;s=qr(s,o);for(var w=-1,_=s.length,V=_-1,$=o;$!=null&&++w<_;){var G=ir(s[w]),te=d;if(G==="__proto__"||G==="constructor"||G==="prototype")return o;if(w!=V){var re=$[G];te=g?g(re,G,$):n,te===n&&(te=Pt(re)?re:Pr(s[w+1])?[]:{})}as($,G,te),$=$[G]}return o}var D9=vu?function(o,s){return vu.set(o,s),o}:fn,bJ=pu?function(o,s){return pu(o,"toString",{configurable:!0,enumerable:!1,value:H1(s),writable:!0})}:fn;function yJ(o){return Ru(Ko(o))}function Fn(o,s,d){var g=-1,w=o.length;s<0&&(s=-s>w?0:w+s),d=d>w?w:d,d<0&&(d+=w),w=s>d?0:d-s>>>0,s>>>=0;for(var _=Z(w);++g<w;)_[g]=o[g+s];return _}function CJ(o,s){var d;return Jr(o,function(g,w,_){return d=s(g,w,_),!d}),!!d}function Iu(o,s,d){var g=0,w=o==null?g:o.length;if(typeof s=="number"&&s===s&&w<=y){for(;g<w;){var _=g+w>>>1,V=o[_];V!==null&&!Cn(V)&&(d?V<=s:V<s)?g=_+1:w=_}return w}return v1(o,s,fn,d)}function v1(o,s,d,g){var w=0,_=o==null?0:o.length;if(_===0)return 0;s=d(s);for(var V=s!==s,$=s===null,G=Cn(s),te=s===n;w<_;){var re=mu((w+_)/2),se=d(o[re]),ge=se!==n,Ee=se===null,Ve=se===se,Ke=Cn(se);if(V)var De=g||Ve;else te?De=Ve&&(g||ge):$?De=Ve&&ge&&(g||!Ee):G?De=Ve&&ge&&!Ee&&(g||!Ke):Ee||Ke?De=!1:De=g?se<=s:se<s;De?w=re+1:_=re}return Kt(_,F)}function N9(o,s){for(var d=-1,g=o.length,w=0,_=[];++d<g;){var V=o[d],$=s?s(V):V;if(!d||!Xn($,G)){var G=$;_[w++]=V===0?0:V}}return _}function $9(o){return typeof o=="number"?o:Cn(o)?T:+o}function yn(o){if(typeof o=="string")return o;if(Ue(o))return At(o,yn)+"";if(Cn(o))return m9?m9.call(o):"";var s=o+"";return s=="0"&&1/o==-$e?"-0":s}function Kr(o,s,d){var g=-1,w=ru,_=o.length,V=!0,$=[],G=$;if(d)V=!1,w=Xh;else if(_>=i){var te=s?null:FJ(o);if(te)return ou(te);V=!1,w=es,G=new $i}else G=s?[]:$;e:for(;++g<_;){var re=o[g],se=s?s(re):re;if(re=d||re!==0?re:0,V&&se===se){for(var ge=G.length;ge--;)if(G[ge]===se)continue e;s&&G.push(se),$.push(re)}else w(G,se,d)||(G!==$&&G.push(se),$.push(re))}return $}function b1(o,s){return s=qr(s,o),o=dy(o,s),o==null||delete o[ir(Mn(s))]}function B9(o,s,d,g){return cs(o,s,d(ki(o,s)),g)}function Eu(o,s,d,g){for(var w=o.length,_=g?w:-1;(g?_--:++_<w)&&s(o[_],_,o););return d?Fn(o,g?0:_,g?_+1:w):Fn(o,g?_+1:0,g?w:_)}function k9(o,s){var d=o;return d instanceof nt&&(d=d.value()),zh(s,function(g,w){return w.func.apply(w.thisArg,zr([g],w.args))},d)}function y1(o,s,d){var g=o.length;if(g<2)return g?Kr(o[0]):[];for(var w=-1,_=Z(g);++w<g;)for(var V=o[w],$=-1;++$<g;)$!=w&&(_[w]=ss(_[w]||V,o[$],s,d));return Kr(Zt(_,1),s,d)}function j9(o,s,d){for(var g=-1,w=o.length,_=s.length,V={};++g<w;){var $=g<_?s[g]:n;d(V,o[g],$)}return V}function C1(o){return Lt(o)?o:[]}function x1(o){return typeof o=="function"?o:fn}function qr(o,s){return Ue(o)?o:O1(o,s)?[o]:my(ht(o))}var xJ=Qe;function Qr(o,s,d){var g=o.length;return d=d===n?g:d,!s&&d>=g?o:Fn(o,s,d)}var G9=lY||function(o){return Wt.clearTimeout(o)};function H9(o,s){if(s)return o.slice();var d=o.length,g=c9?c9(d):new o.constructor(d);return o.copy(g),g}function w1(o){var s=new o.constructor(o.byteLength);return new fu(s).set(new fu(o)),s}function wJ(o,s){var d=s?w1(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.byteLength)}function SJ(o){var s=new o.constructor(o.source,_e.exec(o));return s.lastIndex=o.lastIndex,s}function IJ(o){return os?mt(os.call(o)):{}}function W9(o,s){var d=s?w1(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.length)}function Z9(o,s){if(o!==s){var d=o!==n,g=o===null,w=o===o,_=Cn(o),V=s!==n,$=s===null,G=s===s,te=Cn(s);if(!$&&!te&&!_&&o>s||_&&V&&G&&!$&&!te||g&&V&&G||!d&&G||!w)return 1;if(!g&&!_&&!te&&o<s||te&&d&&w&&!g&&!_||$&&d&&w||!V&&w||!G)return-1}return 0}function EJ(o,s,d){for(var g=-1,w=o.criteria,_=s.criteria,V=w.length,$=d.length;++g<V;){var G=Z9(w[g],_[g]);if(G){if(g>=$)return G;var te=d[g];return G*(te=="desc"?-1:1)}}return o.index-s.index}function X9(o,s,d,g){for(var w=-1,_=o.length,V=d.length,$=-1,G=s.length,te=kt(_-V,0),re=Z(G+te),se=!g;++$<G;)re[$]=s[$];for(;++w<V;)(se||w<_)&&(re[d[w]]=o[w]);for(;te--;)re[$++]=o[w++];return re}function z9(o,s,d,g){for(var w=-1,_=o.length,V=-1,$=d.length,G=-1,te=s.length,re=kt(_-$,0),se=Z(re+te),ge=!g;++w<re;)se[w]=o[w];for(var Ee=w;++G<te;)se[Ee+G]=s[G];for(;++V<$;)(ge||w<_)&&(se[Ee+d[V]]=o[w++]);return se}function ln(o,s){var d=-1,g=o.length;for(s||(s=Z(g));++d<g;)s[d]=o[d];return s}function rr(o,s,d,g){var w=!d;d||(d={});for(var _=-1,V=s.length;++_<V;){var $=s[_],G=g?g(d[$],o[$],$,d,o):n;G===n&&(G=o[$]),w?Er(d,$,G):as(d,$,G)}return d}function AJ(o,s){return rr(o,T1(o),s)}function _J(o,s){return rr(o,ay(o),s)}function Au(o,s){return function(d,g){var w=Ue(d)?MU:YY,_=s?s():{};return w(d,o,Fe(g,2),_)}}function zo(o){return Qe(function(s,d){var g=-1,w=d.length,_=w>1?d[w-1]:n,V=w>2?d[2]:n;for(_=o.length>3&&typeof _=="function"?(w--,_):n,V&&tn(d[0],d[1],V)&&(_=w<3?n:_,w=1),s=mt(s);++g<w;){var $=d[g];$&&o(s,$,g,_)}return s})}function U9(o,s){return function(d,g){if(d==null)return d;if(!un(d))return o(d,g);for(var w=d.length,_=s?w:-1,V=mt(d);(s?_--:++_<w)&&g(V[_],_,V)!==!1;);return d}}function Y9(o){return function(s,d,g){for(var w=-1,_=mt(s),V=g(s),$=V.length;$--;){var G=V[o?$:++w];if(d(_[G],G,_)===!1)break}return s}}function PJ(o,s,d){var g=s&E,w=fs(o);function _(){var V=this&&this!==Wt&&this instanceof _?w:o;return V.apply(g?d:this,arguments)}return _}function J9(o){return function(s){s=ht(s);var d=ko(s)?Wn(s):n,g=d?d[0]:s.charAt(0),w=d?Qr(d,1).join(""):s.slice(1);return g[o]()+w}}function Uo(o){return function(s){return zh(Uy(zy(s).replace(bU,"")),o,"")}}function fs(o){return function(){var s=arguments;switch(s.length){case 0:return new o;case 1:return new o(s[0]);case 2:return new o(s[0],s[1]);case 3:return new o(s[0],s[1],s[2]);case 4:return new o(s[0],s[1],s[2],s[3]);case 5:return new o(s[0],s[1],s[2],s[3],s[4]);case 6:return new o(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new o(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Xo(o.prototype),g=o.apply(d,s);return Pt(g)?g:d}}function TJ(o,s,d){var g=fs(o);function w(){for(var _=arguments.length,V=Z(_),$=_,G=Yo(w);$--;)V[$]=arguments[$];var te=_<3&&V[0]!==G&&V[_-1]!==G?[]:Ur(V,G);if(_-=te.length,_<d)return ty(o,s,_u,w.placeholder,n,V,te,n,n,d-_);var re=this&&this!==Wt&&this instanceof w?g:o;return vn(re,this,V)}return w}function K9(o){return function(s,d,g){var w=mt(s);if(!un(s)){var _=Fe(d,3);s=Gt(s),d=function($){return _(w[$],$,w)}}var V=o(s,d,g);return V>-1?w[_?s[V]:V]:n}}function q9(o){return _r(function(s){var d=s.length,g=d,w=Tn.prototype.thru;for(o&&s.reverse();g--;){var _=s[g];if(typeof _!="function")throw new Pn(l);if(w&&!V&&Fu(_)=="wrapper")var V=new Tn([],!0)}for(g=V?g:d;++g<d;){_=s[g];var $=Fu(_),G=$=="wrapper"?_1(_):n;G&&F1(G[0])&&G[1]==(X|L|N|Y)&&!G[4].length&&G[9]==1?V=V[Fu(G[0])].apply(V,G[3]):V=_.length==1&&F1(_)?V[$]():V.thru(_)}return function(){var te=arguments,re=te[0];if(V&&te.length==1&&Ue(re))return V.plant(re).value();for(var se=0,ge=d?s[se].apply(this,te):re;++se<d;)ge=s[se].call(this,ge);return ge}})}function _u(o,s,d,g,w,_,V,$,G,te){var re=s&X,se=s&E,ge=s&P,Ee=s&(L|D),Ve=s&fe,Ke=ge?n:fs(o);function De(){for(var tt=arguments.length,it=Z(tt),xn=tt;xn--;)it[xn]=arguments[xn];if(Ee)var nn=Yo(De),wn=jU(it,nn);if(g&&(it=X9(it,g,w,Ee)),_&&(it=z9(it,_,V,Ee)),tt-=wn,Ee&&tt<te){var Vt=Ur(it,nn);return ty(o,s,_u,De.placeholder,d,it,Vt,$,G,te-tt)}var zn=se?d:this,Fr=ge?zn[o]:o;return tt=it.length,$?it=YJ(it,$):Ve&&tt>1&&it.reverse(),re&&G<tt&&(it.length=G),this&&this!==Wt&&this instanceof De&&(Fr=Ke||fs(Fr)),Fr.apply(zn,it)}return De}function Q9(o,s){return function(d,g){return rJ(d,o,s(g),{})}}function Pu(o,s){return function(d,g){var w;if(d===n&&g===n)return s;if(d!==n&&(w=d),g!==n){if(w===n)return g;typeof d=="string"||typeof g=="string"?(d=yn(d),g=yn(g)):(d=$9(d),g=$9(g)),w=o(d,g)}return w}}function S1(o){return _r(function(s){return s=At(s,bn(Fe())),Qe(function(d){var g=this;return o(s,function(w){return vn(w,g,d)})})})}function Tu(o,s){s=s===n?" ":yn(s);var d=s.length;if(d<2)return d?m1(s,o):s;var g=m1(s,gu(o/jo(s)));return ko(s)?Qr(Wn(g),0,o).join(""):g.slice(0,o)}function OJ(o,s,d,g){var w=s&E,_=fs(o);function V(){for(var $=-1,G=arguments.length,te=-1,re=g.length,se=Z(re+G),ge=this&&this!==Wt&&this instanceof V?_:o;++te<re;)se[te]=g[te];for(;G--;)se[te++]=arguments[++$];return vn(ge,w?d:this,se)}return V}function ey(o){return function(s,d,g){return g&&typeof g!="number"&&tn(s,d,g)&&(d=g=n),s=Or(s),d===n?(d=s,s=0):d=Or(d),g=g===n?s<d?1:-1:Or(g),gJ(s,d,g,o)}}function Ou(o){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=Rn(s),d=Rn(d)),o(s,d)}}function ty(o,s,d,g,w,_,V,$,G,te){var re=s&L,se=re?V:n,ge=re?n:V,Ee=re?_:n,Ve=re?n:_;s|=re?N:z,s&=~(re?z:N),s&M||(s&=~(E|P));var Ke=[o,s,w,Ee,se,Ve,ge,$,G,te],De=d.apply(n,Ke);return F1(o)&&hy(De,Ke),De.placeholder=g,py(De,o,s)}function I1(o){var s=Bt[o];return function(d,g){if(d=Rn(d),g=g==null?0:Kt(Ye(g),292),g&&p9(d)){var w=(ht(d)+"e").split("e"),_=s(w[0]+"e"+(+w[1]+g));return w=(ht(_)+"e").split("e"),+(w[0]+"e"+(+w[1]-g))}return s(d)}}var FJ=Wo&&1/ou(new Wo([,-0]))[1]==$e?function(o){return new Wo(o)}:X1;function ny(o){return function(s){var d=qt(s);return d==Q?e1(s):d==ot?UU(s):kU(s,o(s))}}function Ar(o,s,d,g,w,_,V,$){var G=s&P;if(!G&&typeof o!="function")throw new Pn(l);var te=g?g.length:0;if(te||(s&=~(N|z),g=w=n),V=V===n?V:kt(Ye(V),0),$=$===n?$:Ye($),te-=w?w.length:0,s&z){var re=g,se=w;g=w=n}var ge=G?n:_1(o),Ee=[o,s,d,g,w,re,se,_,V,$];if(ge&&XJ(Ee,ge),o=Ee[0],s=Ee[1],d=Ee[2],g=Ee[3],w=Ee[4],$=Ee[9]=Ee[9]===n?G?0:o.length:kt(Ee[9]-te,0),!$&&s&(L|D)&&(s&=~(L|D)),!s||s==E)var Ve=PJ(o,s,d);else s==L||s==D?Ve=TJ(o,s,$):(s==N||s==(E|N))&&!w.length?Ve=OJ(o,s,d,g):Ve=_u.apply(n,Ee);var Ke=ge?D9:hy;return py(Ke(Ve,Ee),o,s)}function ry(o,s,d,g){return o===n||Xn(o,Ho[d])&&!pt.call(g,d)?s:o}function iy(o,s,d,g,w,_){return Pt(o)&&Pt(s)&&(_.set(s,o),Su(o,s,n,iy,_),_.delete(s)),o}function MJ(o){return ps(o)?n:o}function oy(o,s,d,g,w,_){var V=d&x,$=o.length,G=s.length;if($!=G&&!(V&&G>$))return!1;var te=_.get(o),re=_.get(s);if(te&&re)return te==s&&re==o;var se=-1,ge=!0,Ee=d&S?new $i:n;for(_.set(o,s),_.set(s,o);++se<$;){var Ve=o[se],Ke=s[se];if(g)var De=V?g(Ke,Ve,se,s,o,_):g(Ve,Ke,se,o,s,_);if(De!==n){if(De)continue;ge=!1;break}if(Ee){if(!Uh(s,function(tt,it){if(!es(Ee,it)&&(Ve===tt||w(Ve,tt,d,g,_)))return Ee.push(it)})){ge=!1;break}}else if(!(Ve===Ke||w(Ve,Ke,d,g,_))){ge=!1;break}}return _.delete(o),_.delete(s),ge}function RJ(o,s,d,g,w,_,V){switch(d){case er:if(o.byteLength!=s.byteLength||o.byteOffset!=s.byteOffset)return!1;o=o.buffer,s=s.buffer;case $t:return!(o.byteLength!=s.byteLength||!_(new fu(o),new fu(s)));case K:case ie:case de:return Xn(+o,+s);case le:return o.name==s.name&&o.message==s.message;case qe:case st:return o==s+"";case Q:var $=e1;case ot:var G=g&x;if($||($=ou),o.size!=s.size&&!G)return!1;var te=V.get(o);if(te)return te==s;g|=S,V.set(o,s);var re=oy($(o),$(s),g,w,_,V);return V.delete(o),re;case It:if(os)return os.call(o)==os.call(s)}return!1}function LJ(o,s,d,g,w,_){var V=d&x,$=E1(o),G=$.length,te=E1(s),re=te.length;if(G!=re&&!V)return!1;for(var se=G;se--;){var ge=$[se];if(!(V?ge in s:pt.call(s,ge)))return!1}var Ee=_.get(o),Ve=_.get(s);if(Ee&&Ve)return Ee==s&&Ve==o;var Ke=!0;_.set(o,s),_.set(s,o);for(var De=V;++se<G;){ge=$[se];var tt=o[ge],it=s[ge];if(g)var xn=V?g(it,tt,ge,s,o,_):g(tt,it,ge,o,s,_);if(!(xn===n?tt===it||w(tt,it,d,g,_):xn)){Ke=!1;break}De||(De=ge=="constructor")}if(Ke&&!De){var nn=o.constructor,wn=s.constructor;nn!=wn&&"constructor"in o&&"constructor"in s&&!(typeof nn=="function"&&nn instanceof nn&&typeof wn=="function"&&wn instanceof wn)&&(Ke=!1)}return _.delete(o),_.delete(s),Ke}function _r(o){return R1(fy(o,n,Cy),o+"")}function E1(o){return E9(o,Gt,T1)}function A1(o){return E9(o,cn,ay)}var _1=vu?function(o){return vu.get(o)}:X1;function Fu(o){for(var s=o.name+"",d=Zo[s],g=pt.call(Zo,s)?d.length:0;g--;){var w=d[g],_=w.func;if(_==null||_==o)return w.name}return s}function Yo(o){var s=pt.call(I,"placeholder")?I:o;return s.placeholder}function Fe(){var o=I.iteratee||W1;return o=o===W1?P9:o,arguments.length?o(arguments[0],arguments[1]):o}function Mu(o,s){var d=o.__data__;return GJ(s)?d[typeof s=="string"?"string":"hash"]:d.map}function P1(o){for(var s=Gt(o),d=s.length;d--;){var g=s[d],w=o[g];s[d]=[g,w,uy(w)]}return s}function ji(o,s){var d=ZU(o,s);return _9(d)?d:n}function VJ(o){var s=pt.call(o,Di),d=o[Di];try{o[Di]=n;var g=!0}catch{}var w=uu.call(o);return g&&(s?o[Di]=d:delete o[Di]),w}var T1=n1?function(o){return o==null?[]:(o=mt(o),Xr(n1(o),function(s){return d9.call(o,s)}))}:z1,ay=n1?function(o){for(var s=[];o;)zr(s,T1(o)),o=du(o);return s}:z1,qt=en;(r1&&qt(new r1(new ArrayBuffer(1)))!=er||ns&&qt(new ns)!=Q||i1&&qt(i1.resolve())!=Be||Wo&&qt(new Wo)!=ot||rs&&qt(new rs)!=Rt)&&(qt=function(o){var s=en(o),d=s==ye?o.constructor:n,g=d?Gi(d):"";if(g)switch(g){case vY:return er;case bY:return Q;case yY:return Be;case CY:return ot;case xY:return Rt}return s});function DJ(o,s,d){for(var g=-1,w=d.length;++g<w;){var _=d[g],V=_.size;switch(_.type){case"drop":o+=V;break;case"dropRight":s-=V;break;case"take":s=Kt(s,o+V);break;case"takeRight":o=kt(o,s-V);break}}return{start:o,end:s}}function NJ(o){var s=o.match(Qa);return s?s[1].split(C):[]}function sy(o,s,d){s=qr(s,o);for(var g=-1,w=s.length,_=!1;++g<w;){var V=ir(s[g]);if(!(_=o!=null&&d(o,V)))break;o=o[V]}return _||++g!=w?_:(w=o==null?0:o.length,!!w&&Bu(w)&&Pr(V,w)&&(Ue(o)||Hi(o)))}function $J(o){var s=o.length,d=new o.constructor(s);return s&&typeof o[0]=="string"&&pt.call(o,"index")&&(d.index=o.index,d.input=o.input),d}function ly(o){return typeof o.constructor=="function"&&!ds(o)?Xo(du(o)):{}}function BJ(o,s,d){var g=o.constructor;switch(s){case $t:return w1(o);case K:case ie:return new g(+o);case er:return wJ(o,d);case yr:case Cr:case Hn:case Ci:case xi:case wi:case Si:case Ii:case Ei:return W9(o,d);case Q:return new g;case de:case st:return new g(o);case qe:return SJ(o);case ot:return new g;case It:return IJ(o)}}function kJ(o,s){var d=s.length;if(!d)return o;var g=d-1;return s[g]=(d>1?"& ":"")+s[g],s=s.join(d>2?", ":" "),o.replace(qa,`{
198
+ */eu.exports,function(e,t){(function(){var n,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",p=1,m=2,v=4,x=1,S=2,E=1,P=2,M=4,L=8,D=16,N=32,z=64,X=128,Y=256,fe=512,Te=30,Ge="...",Xe=800,pe=16,xe=1,be=2,Ee=3,$e=1/0,Je=9007199254740991,O=17976931348623157e292,T=NaN,R=4294967295,F=R-1,y=R>>>1,j=[["ary",X],["bind",E],["bindKey",P],["curry",L],["curryRight",D],["flip",fe],["partial",N],["partialRight",z],["rearg",Y]],ee="[object Arguments]",ae="[object Array]",U="[object AsyncFunction]",K="[object Boolean]",ie="[object Date]",oe="[object DOMException]",le="[object Error]",q="[object Function]",ce="[object GeneratorFunction]",Q="[object Map]",de="[object Number]",Se="[object Null]",ye="[object Object]",Be="[object Promise]",He="[object Proxy]",qe="[object RegExp]",ot="[object Set]",st="[object String]",It="[object Symbol]",Yt="[object Undefined]",Rt="[object WeakMap]",Gn="[object WeakSet]",$t="[object ArrayBuffer]",er="[object DataView]",yr="[object Float32Array]",Cr="[object Float64Array]",Hn="[object Int8Array]",Ci="[object Int16Array]",xi="[object Int32Array]",wi="[object Uint8Array]",Si="[object Uint8ClampedArray]",Ii="[object Uint16Array]",Ei="[object Uint32Array]",Ua=/\b__p \+= '';/g,xr=/\b(__p \+=) '' \+/g,Ai=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jt=/&(?:amp|lt|gt|quot|#39);/g,tr=/[&<>"']/g,wr=RegExp(Jt.source),_i=RegExp(tr.source),Ya=/<%-([\s\S]+?)%>/g,Pi=/<%([\s\S]+?)%>/g,No=/<%=([\s\S]+?)%>/g,Ti=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oi=/^\w*$/,Ja=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fi=/[\\^$.*+?()[\]{}|]/g,Mi=RegExp(Fi.source),Ri=/^\s+/,Ka=/\s/,qa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qa=/\{\n\/\* \[wrapped with (.+)\] \*/,C=/,? & /,B=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,H=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,we=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,We=/^0o[0-7]+$/i,ze=/^(?:0|[1-9]\d*)$/,gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jt=/($^)/,Li=/['\n\r\u2028\u2029\\]/g,Et="\\ud800-\\udfff",nU="\\u0300-\\u036f",rU="\\ufe20-\\ufe2f",iU="\\u20d0-\\u20ff",_3=nU+rU+iU,P3="\\u2700-\\u27bf",T3="a-z\\xdf-\\xf6\\xf8-\\xff",oU="\\xac\\xb1\\xd7\\xf7",aU="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sU="\\u2000-\\u206f",lU=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",O3="A-Z\\xc0-\\xd6\\xd8-\\xde",F3="\\ufe0e\\ufe0f",M3=oU+aU+sU+lU,Bh="['’]",uU="["+Et+"]",R3="["+M3+"]",nu="["+_3+"]",L3="\\d+",cU="["+P3+"]",V3="["+T3+"]",D3="[^"+Et+M3+L3+P3+T3+O3+"]",kh="\\ud83c[\\udffb-\\udfff]",fU="(?:"+nu+"|"+kh+")",N3="[^"+Et+"]",jh="(?:\\ud83c[\\udde6-\\uddff]){2}",Gh="[\\ud800-\\udbff][\\udc00-\\udfff]",$o="["+O3+"]",$3="\\u200d",B3="(?:"+V3+"|"+D3+")",dU="(?:"+$o+"|"+D3+")",k3="(?:"+Bh+"(?:d|ll|m|re|s|t|ve))?",j3="(?:"+Bh+"(?:D|LL|M|RE|S|T|VE))?",G3=fU+"?",H3="["+F3+"]?",hU="(?:"+$3+"(?:"+[N3,jh,Gh].join("|")+")"+H3+G3+")*",pU="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gU="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",W3=H3+G3+hU,mU="(?:"+[cU,jh,Gh].join("|")+")"+W3,vU="(?:"+[N3+nu+"?",nu,jh,Gh,uU].join("|")+")",bU=RegExp(Bh,"g"),yU=RegExp(nu,"g"),Hh=RegExp(kh+"(?="+kh+")|"+vU+W3,"g"),CU=RegExp([$o+"?"+V3+"+"+k3+"(?="+[R3,$o,"$"].join("|")+")",dU+"+"+j3+"(?="+[R3,$o+B3,"$"].join("|")+")",$o+"?"+B3+"+"+k3,$o+"+"+j3,gU,pU,L3,mU].join("|"),"g"),xU=RegExp("["+$3+Et+_3+F3+"]"),wU=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,SU=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],IU=-1,wt={};wt[yr]=wt[Cr]=wt[Hn]=wt[Ci]=wt[xi]=wt[wi]=wt[Si]=wt[Ii]=wt[Ei]=!0,wt[ee]=wt[ae]=wt[$t]=wt[K]=wt[er]=wt[ie]=wt[le]=wt[q]=wt[Q]=wt[de]=wt[ye]=wt[qe]=wt[ot]=wt[st]=wt[Rt]=!1;var yt={};yt[ee]=yt[ae]=yt[$t]=yt[er]=yt[K]=yt[ie]=yt[yr]=yt[Cr]=yt[Hn]=yt[Ci]=yt[xi]=yt[Q]=yt[de]=yt[ye]=yt[qe]=yt[ot]=yt[st]=yt[It]=yt[wi]=yt[Si]=yt[Ii]=yt[Ei]=!0,yt[le]=yt[q]=yt[Rt]=!1;var EU={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},AU={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},_U={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},PU={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},TU=parseFloat,OU=parseInt,Z3=typeof or=="object"&&or&&or.Object===Object&&or,FU=typeof self=="object"&&self&&self.Object===Object&&self,Wt=Z3||FU||Function("return this")(),Wh=t&&!t.nodeType&&t,Vi=Wh&&!0&&e&&!e.nodeType&&e,X3=Vi&&Vi.exports===Wh,Zh=X3&&Z3.process,An=function(){try{var k=Vi&&Vi.require&&Vi.require("util").types;return k||Zh&&Zh.binding&&Zh.binding("util")}catch{}}(),z3=An&&An.isArrayBuffer,U3=An&&An.isDate,Y3=An&&An.isMap,J3=An&&An.isRegExp,K3=An&&An.isSet,q3=An&&An.isTypedArray;function vn(k,J,Z){switch(Z.length){case 0:return k.call(J);case 1:return k.call(J,Z[0]);case 2:return k.call(J,Z[0],Z[1]);case 3:return k.call(J,Z[0],Z[1],Z[2])}return k.apply(J,Z)}function MU(k,J,Z,Ce){for(var Ze=-1,ct=k==null?0:k.length;++Ze<ct;){var Bt=k[Ze];J(Ce,Bt,Z(Bt),k)}return Ce}function _n(k,J){for(var Z=-1,Ce=k==null?0:k.length;++Z<Ce&&J(k[Z],Z,k)!==!1;);return k}function RU(k,J){for(var Z=k==null?0:k.length;Z--&&J(k[Z],Z,k)!==!1;);return k}function Q3(k,J){for(var Z=-1,Ce=k==null?0:k.length;++Z<Ce;)if(!J(k[Z],Z,k))return!1;return!0}function Xr(k,J){for(var Z=-1,Ce=k==null?0:k.length,Ze=0,ct=[];++Z<Ce;){var Bt=k[Z];J(Bt,Z,k)&&(ct[Ze++]=Bt)}return ct}function ru(k,J){var Z=k==null?0:k.length;return!!Z&&Bo(k,J,0)>-1}function Xh(k,J,Z){for(var Ce=-1,Ze=k==null?0:k.length;++Ce<Ze;)if(Z(J,k[Ce]))return!0;return!1}function At(k,J){for(var Z=-1,Ce=k==null?0:k.length,Ze=Array(Ce);++Z<Ce;)Ze[Z]=J(k[Z],Z,k);return Ze}function zr(k,J){for(var Z=-1,Ce=J.length,Ze=k.length;++Z<Ce;)k[Ze+Z]=J[Z];return k}function zh(k,J,Z,Ce){var Ze=-1,ct=k==null?0:k.length;for(Ce&&ct&&(Z=k[++Ze]);++Ze<ct;)Z=J(Z,k[Ze],Ze,k);return Z}function LU(k,J,Z,Ce){var Ze=k==null?0:k.length;for(Ce&&Ze&&(Z=k[--Ze]);Ze--;)Z=J(Z,k[Ze],Ze,k);return Z}function Uh(k,J){for(var Z=-1,Ce=k==null?0:k.length;++Z<Ce;)if(J(k[Z],Z,k))return!0;return!1}var VU=Yh("length");function DU(k){return k.split("")}function NU(k){return k.match(B)||[]}function e9(k,J,Z){var Ce;return Z(k,function(Ze,ct,Bt){if(J(Ze,ct,Bt))return Ce=ct,!1}),Ce}function iu(k,J,Z,Ce){for(var Ze=k.length,ct=Z+(Ce?1:-1);Ce?ct--:++ct<Ze;)if(J(k[ct],ct,k))return ct;return-1}function Bo(k,J,Z){return J===J?YU(k,J,Z):iu(k,t9,Z)}function $U(k,J,Z,Ce){for(var Ze=Z-1,ct=k.length;++Ze<ct;)if(Ce(k[Ze],J))return Ze;return-1}function t9(k){return k!==k}function n9(k,J){var Z=k==null?0:k.length;return Z?Kh(k,J)/Z:T}function Yh(k){return function(J){return J==null?n:J[k]}}function Jh(k){return function(J){return k==null?n:k[J]}}function r9(k,J,Z,Ce,Ze){return Ze(k,function(ct,Bt,mt){Z=Ce?(Ce=!1,ct):J(Z,ct,Bt,mt)}),Z}function BU(k,J){var Z=k.length;for(k.sort(J);Z--;)k[Z]=k[Z].value;return k}function Kh(k,J){for(var Z,Ce=-1,Ze=k.length;++Ce<Ze;){var ct=J(k[Ce]);ct!==n&&(Z=Z===n?ct:Z+ct)}return Z}function qh(k,J){for(var Z=-1,Ce=Array(k);++Z<k;)Ce[Z]=J(Z);return Ce}function kU(k,J){return At(J,function(Z){return[Z,k[Z]]})}function i9(k){return k&&k.slice(0,l9(k)+1).replace(Ri,"")}function bn(k){return function(J){return k(J)}}function Qh(k,J){return At(J,function(Z){return k[Z]})}function es(k,J){return k.has(J)}function o9(k,J){for(var Z=-1,Ce=k.length;++Z<Ce&&Bo(J,k[Z],0)>-1;);return Z}function a9(k,J){for(var Z=k.length;Z--&&Bo(J,k[Z],0)>-1;);return Z}function jU(k,J){for(var Z=k.length,Ce=0;Z--;)k[Z]===J&&++Ce;return Ce}var GU=Jh(EU),HU=Jh(AU);function WU(k){return"\\"+PU[k]}function ZU(k,J){return k==null?n:k[J]}function ko(k){return xU.test(k)}function XU(k){return wU.test(k)}function zU(k){for(var J,Z=[];!(J=k.next()).done;)Z.push(J.value);return Z}function e1(k){var J=-1,Z=Array(k.size);return k.forEach(function(Ce,Ze){Z[++J]=[Ze,Ce]}),Z}function s9(k,J){return function(Z){return k(J(Z))}}function Ur(k,J){for(var Z=-1,Ce=k.length,Ze=0,ct=[];++Z<Ce;){var Bt=k[Z];(Bt===J||Bt===h)&&(k[Z]=h,ct[Ze++]=Z)}return ct}function ou(k){var J=-1,Z=Array(k.size);return k.forEach(function(Ce){Z[++J]=Ce}),Z}function UU(k){var J=-1,Z=Array(k.size);return k.forEach(function(Ce){Z[++J]=[Ce,Ce]}),Z}function YU(k,J,Z){for(var Ce=Z-1,Ze=k.length;++Ce<Ze;)if(k[Ce]===J)return Ce;return-1}function JU(k,J,Z){for(var Ce=Z+1;Ce--;)if(k[Ce]===J)return Ce;return Ce}function jo(k){return ko(k)?qU(k):VU(k)}function Wn(k){return ko(k)?QU(k):DU(k)}function l9(k){for(var J=k.length;J--&&Ka.test(k.charAt(J)););return J}var KU=Jh(_U);function qU(k){for(var J=Hh.lastIndex=0;Hh.test(k);)++J;return J}function QU(k){return k.match(Hh)||[]}function eY(k){return k.match(CU)||[]}var tY=function k(J){J=J==null?Wt:Go.defaults(Wt.Object(),J,Go.pick(Wt,SU));var Z=J.Array,Ce=J.Date,Ze=J.Error,ct=J.Function,Bt=J.Math,mt=J.Object,t1=J.RegExp,nY=J.String,Pn=J.TypeError,au=Z.prototype,rY=ct.prototype,Ho=mt.prototype,su=J["__core-js_shared__"],lu=rY.toString,pt=Ho.hasOwnProperty,iY=0,u9=function(){var o=/[^.]+$/.exec(su&&su.keys&&su.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),uu=Ho.toString,oY=lu.call(mt),aY=Wt._,sY=t1("^"+lu.call(pt).replace(Fi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cu=X3?J.Buffer:n,Yr=J.Symbol,fu=J.Uint8Array,c9=cu?cu.allocUnsafe:n,du=s9(mt.getPrototypeOf,mt),f9=mt.create,d9=Ho.propertyIsEnumerable,hu=au.splice,h9=Yr?Yr.isConcatSpreadable:n,ts=Yr?Yr.iterator:n,Di=Yr?Yr.toStringTag:n,pu=function(){try{var o=ji(mt,"defineProperty");return o({},"",{}),o}catch{}}(),lY=J.clearTimeout!==Wt.clearTimeout&&J.clearTimeout,uY=Ce&&Ce.now!==Wt.Date.now&&Ce.now,cY=J.setTimeout!==Wt.setTimeout&&J.setTimeout,gu=Bt.ceil,mu=Bt.floor,n1=mt.getOwnPropertySymbols,fY=cu?cu.isBuffer:n,p9=J.isFinite,dY=au.join,hY=s9(mt.keys,mt),kt=Bt.max,Kt=Bt.min,pY=Ce.now,gY=J.parseInt,g9=Bt.random,mY=au.reverse,r1=ji(J,"DataView"),ns=ji(J,"Map"),i1=ji(J,"Promise"),Wo=ji(J,"Set"),rs=ji(J,"WeakMap"),is=ji(mt,"create"),vu=rs&&new rs,Zo={},vY=Gi(r1),bY=Gi(ns),yY=Gi(i1),CY=Gi(Wo),xY=Gi(rs),bu=Yr?Yr.prototype:n,os=bu?bu.valueOf:n,m9=bu?bu.toString:n;function I(o){if(Ft(o)&&!Ue(o)&&!(o instanceof nt)){if(o instanceof Tn)return o;if(pt.call(o,"__wrapped__"))return vy(o)}return new Tn(o)}var Xo=function(){function o(){}return function(s){if(!Pt(s))return{};if(f9)return f9(s);o.prototype=s;var d=new o;return o.prototype=n,d}}();function yu(){}function Tn(o,s){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}I.templateSettings={escape:Ya,evaluate:Pi,interpolate:No,variable:"",imports:{_:I}},I.prototype=yu.prototype,I.prototype.constructor=I,Tn.prototype=Xo(yu.prototype),Tn.prototype.constructor=Tn;function nt(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=R,this.__views__=[]}function wY(){var o=new nt(this.__wrapped__);return o.__actions__=ln(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=ln(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=ln(this.__views__),o}function SY(){if(this.__filtered__){var o=new nt(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function IY(){var o=this.__wrapped__.value(),s=this.__dir__,d=Ue(o),g=s<0,w=d?o.length:0,_=DJ(0,w,this.__views__),V=_.start,$=_.end,G=$-V,te=g?$:V-1,re=this.__iteratees__,se=re.length,ge=0,Ae=Kt(G,this.__takeCount__);if(!d||!g&&w==G&&Ae==G)return k9(o,this.__actions__);var Ve=[];e:for(;G--&&ge<Ae;){te+=s;for(var Ke=-1,De=o[te];++Ke<se;){var tt=re[Ke],it=tt.iteratee,xn=tt.type,nn=it(De);if(xn==be)De=nn;else if(!nn){if(xn==xe)continue e;break e}}Ve[ge++]=De}return Ve}nt.prototype=Xo(yu.prototype),nt.prototype.constructor=nt;function Ni(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function EY(){this.__data__=is?is(null):{},this.size=0}function AY(o){var s=this.has(o)&&delete this.__data__[o];return this.size-=s?1:0,s}function _Y(o){var s=this.__data__;if(is){var d=s[o];return d===c?n:d}return pt.call(s,o)?s[o]:n}function PY(o){var s=this.__data__;return is?s[o]!==n:pt.call(s,o)}function TY(o,s){var d=this.__data__;return this.size+=this.has(o)?0:1,d[o]=is&&s===n?c:s,this}Ni.prototype.clear=EY,Ni.prototype.delete=AY,Ni.prototype.get=_Y,Ni.prototype.has=PY,Ni.prototype.set=TY;function Sr(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function OY(){this.__data__=[],this.size=0}function FY(o){var s=this.__data__,d=Cu(s,o);if(d<0)return!1;var g=s.length-1;return d==g?s.pop():hu.call(s,d,1),--this.size,!0}function MY(o){var s=this.__data__,d=Cu(s,o);return d<0?n:s[d][1]}function RY(o){return Cu(this.__data__,o)>-1}function LY(o,s){var d=this.__data__,g=Cu(d,o);return g<0?(++this.size,d.push([o,s])):d[g][1]=s,this}Sr.prototype.clear=OY,Sr.prototype.delete=FY,Sr.prototype.get=MY,Sr.prototype.has=RY,Sr.prototype.set=LY;function Ir(o){var s=-1,d=o==null?0:o.length;for(this.clear();++s<d;){var g=o[s];this.set(g[0],g[1])}}function VY(){this.size=0,this.__data__={hash:new Ni,map:new(ns||Sr),string:new Ni}}function DY(o){var s=Mu(this,o).delete(o);return this.size-=s?1:0,s}function NY(o){return Mu(this,o).get(o)}function $Y(o){return Mu(this,o).has(o)}function BY(o,s){var d=Mu(this,o),g=d.size;return d.set(o,s),this.size+=d.size==g?0:1,this}Ir.prototype.clear=VY,Ir.prototype.delete=DY,Ir.prototype.get=NY,Ir.prototype.has=$Y,Ir.prototype.set=BY;function $i(o){var s=-1,d=o==null?0:o.length;for(this.__data__=new Ir;++s<d;)this.add(o[s])}function kY(o){return this.__data__.set(o,c),this}function jY(o){return this.__data__.has(o)}$i.prototype.add=$i.prototype.push=kY,$i.prototype.has=jY;function Zn(o){var s=this.__data__=new Sr(o);this.size=s.size}function GY(){this.__data__=new Sr,this.size=0}function HY(o){var s=this.__data__,d=s.delete(o);return this.size=s.size,d}function WY(o){return this.__data__.get(o)}function ZY(o){return this.__data__.has(o)}function XY(o,s){var d=this.__data__;if(d instanceof Sr){var g=d.__data__;if(!ns||g.length<i-1)return g.push([o,s]),this.size=++d.size,this;d=this.__data__=new Ir(g)}return d.set(o,s),this.size=d.size,this}Zn.prototype.clear=GY,Zn.prototype.delete=HY,Zn.prototype.get=WY,Zn.prototype.has=ZY,Zn.prototype.set=XY;function v9(o,s){var d=Ue(o),g=!d&&Hi(o),w=!d&&!g&&ei(o),_=!d&&!g&&!w&&Jo(o),V=d||g||w||_,$=V?qh(o.length,nY):[],G=$.length;for(var te in o)(s||pt.call(o,te))&&!(V&&(te=="length"||w&&(te=="offset"||te=="parent")||_&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||Pr(te,G)))&&$.push(te);return $}function b9(o){var s=o.length;return s?o[g1(0,s-1)]:n}function zY(o,s){return Ru(ln(o),Bi(s,0,o.length))}function UY(o){return Ru(ln(o))}function o1(o,s,d){(d!==n&&!Xn(o[s],d)||d===n&&!(s in o))&&Er(o,s,d)}function as(o,s,d){var g=o[s];(!(pt.call(o,s)&&Xn(g,d))||d===n&&!(s in o))&&Er(o,s,d)}function Cu(o,s){for(var d=o.length;d--;)if(Xn(o[d][0],s))return d;return-1}function YY(o,s,d,g){return Jr(o,function(w,_,V){s(g,w,d(w),V)}),g}function y9(o,s){return o&&rr(s,Gt(s),o)}function JY(o,s){return o&&rr(s,cn(s),o)}function Er(o,s,d){s=="__proto__"&&pu?pu(o,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):o[s]=d}function a1(o,s){for(var d=-1,g=s.length,w=Z(g),_=o==null;++d<g;)w[d]=_?n:k1(o,s[d]);return w}function Bi(o,s,d){return o===o&&(d!==n&&(o=o<=d?o:d),s!==n&&(o=o>=s?o:s)),o}function On(o,s,d,g,w,_){var V,$=s&p,G=s&m,te=s&v;if(d&&(V=w?d(o,g,w,_):d(o)),V!==n)return V;if(!Pt(o))return o;var re=Ue(o);if(re){if(V=$J(o),!$)return ln(o,V)}else{var se=qt(o),ge=se==q||se==ce;if(ei(o))return H9(o,$);if(se==ye||se==ee||ge&&!w){if(V=G||ge?{}:ly(o),!$)return G?_J(o,JY(V,o)):AJ(o,y9(V,o))}else{if(!yt[se])return w?o:{};V=BJ(o,se,$)}}_||(_=new Zn);var Ae=_.get(o);if(Ae)return Ae;_.set(o,V),Ny(o)?o.forEach(function(De){V.add(On(De,s,d,De,o,_))}):Vy(o)&&o.forEach(function(De,tt){V.set(tt,On(De,s,d,tt,o,_))});var Ve=te?G?A1:E1:G?cn:Gt,Ke=re?n:Ve(o);return _n(Ke||o,function(De,tt){Ke&&(tt=De,De=o[tt]),as(V,tt,On(De,s,d,tt,o,_))}),V}function KY(o){var s=Gt(o);return function(d){return C9(d,o,s)}}function C9(o,s,d){var g=d.length;if(o==null)return!g;for(o=mt(o);g--;){var w=d[g],_=s[w],V=o[w];if(V===n&&!(w in o)||!_(V))return!1}return!0}function x9(o,s,d){if(typeof o!="function")throw new Pn(l);return hs(function(){o.apply(n,d)},s)}function ss(o,s,d,g){var w=-1,_=ru,V=!0,$=o.length,G=[],te=s.length;if(!$)return G;d&&(s=At(s,bn(d))),g?(_=Xh,V=!1):s.length>=i&&(_=es,V=!1,s=new $i(s));e:for(;++w<$;){var re=o[w],se=d==null?re:d(re);if(re=g||re!==0?re:0,V&&se===se){for(var ge=te;ge--;)if(s[ge]===se)continue e;G.push(re)}else _(s,se,g)||G.push(re)}return G}var Jr=U9(nr),w9=U9(l1,!0);function qY(o,s){var d=!0;return Jr(o,function(g,w,_){return d=!!s(g,w,_),d}),d}function xu(o,s,d){for(var g=-1,w=o.length;++g<w;){var _=o[g],V=s(_);if(V!=null&&($===n?V===V&&!Cn(V):d(V,$)))var $=V,G=_}return G}function QY(o,s,d,g){var w=o.length;for(d=Ye(d),d<0&&(d=-d>w?0:w+d),g=g===n||g>w?w:Ye(g),g<0&&(g+=w),g=d>g?0:By(g);d<g;)o[d++]=s;return o}function S9(o,s){var d=[];return Jr(o,function(g,w,_){s(g,w,_)&&d.push(g)}),d}function Zt(o,s,d,g,w){var _=-1,V=o.length;for(d||(d=jJ),w||(w=[]);++_<V;){var $=o[_];s>0&&d($)?s>1?Zt($,s-1,d,g,w):zr(w,$):g||(w[w.length]=$)}return w}var s1=Y9(),I9=Y9(!0);function nr(o,s){return o&&s1(o,s,Gt)}function l1(o,s){return o&&I9(o,s,Gt)}function wu(o,s){return Xr(s,function(d){return Tr(o[d])})}function ki(o,s){s=qr(s,o);for(var d=0,g=s.length;o!=null&&d<g;)o=o[ir(s[d++])];return d&&d==g?o:n}function E9(o,s,d){var g=s(o);return Ue(o)?g:zr(g,d(o))}function en(o){return o==null?o===n?Yt:Se:Di&&Di in mt(o)?VJ(o):UJ(o)}function u1(o,s){return o>s}function eJ(o,s){return o!=null&&pt.call(o,s)}function tJ(o,s){return o!=null&&s in mt(o)}function nJ(o,s,d){return o>=Kt(s,d)&&o<kt(s,d)}function c1(o,s,d){for(var g=d?Xh:ru,w=o[0].length,_=o.length,V=_,$=Z(_),G=1/0,te=[];V--;){var re=o[V];V&&s&&(re=At(re,bn(s))),G=Kt(re.length,G),$[V]=!d&&(s||w>=120&&re.length>=120)?new $i(V&&re):n}re=o[0];var se=-1,ge=$[0];e:for(;++se<w&&te.length<G;){var Ae=re[se],Ve=s?s(Ae):Ae;if(Ae=d||Ae!==0?Ae:0,!(ge?es(ge,Ve):g(te,Ve,d))){for(V=_;--V;){var Ke=$[V];if(!(Ke?es(Ke,Ve):g(o[V],Ve,d)))continue e}ge&&ge.push(Ve),te.push(Ae)}}return te}function rJ(o,s,d,g){return nr(o,function(w,_,V){s(g,d(w),_,V)}),g}function ls(o,s,d){s=qr(s,o),o=dy(o,s);var g=o==null?o:o[ir(Mn(s))];return g==null?n:vn(g,o,d)}function A9(o){return Ft(o)&&en(o)==ee}function iJ(o){return Ft(o)&&en(o)==$t}function oJ(o){return Ft(o)&&en(o)==ie}function us(o,s,d,g,w){return o===s?!0:o==null||s==null||!Ft(o)&&!Ft(s)?o!==o&&s!==s:aJ(o,s,d,g,us,w)}function aJ(o,s,d,g,w,_){var V=Ue(o),$=Ue(s),G=V?ae:qt(o),te=$?ae:qt(s);G=G==ee?ye:G,te=te==ee?ye:te;var re=G==ye,se=te==ye,ge=G==te;if(ge&&ei(o)){if(!ei(s))return!1;V=!0,re=!1}if(ge&&!re)return _||(_=new Zn),V||Jo(o)?oy(o,s,d,g,w,_):RJ(o,s,G,d,g,w,_);if(!(d&x)){var Ae=re&&pt.call(o,"__wrapped__"),Ve=se&&pt.call(s,"__wrapped__");if(Ae||Ve){var Ke=Ae?o.value():o,De=Ve?s.value():s;return _||(_=new Zn),w(Ke,De,d,g,_)}}return ge?(_||(_=new Zn),LJ(o,s,d,g,w,_)):!1}function sJ(o){return Ft(o)&&qt(o)==Q}function f1(o,s,d,g){var w=d.length,_=w,V=!g;if(o==null)return!_;for(o=mt(o);w--;){var $=d[w];if(V&&$[2]?$[1]!==o[$[0]]:!($[0]in o))return!1}for(;++w<_;){$=d[w];var G=$[0],te=o[G],re=$[1];if(V&&$[2]){if(te===n&&!(G in o))return!1}else{var se=new Zn;if(g)var ge=g(te,re,G,o,s,se);if(!(ge===n?us(re,te,x|S,g,se):ge))return!1}}return!0}function _9(o){if(!Pt(o)||HJ(o))return!1;var s=Tr(o)?sY:at;return s.test(Gi(o))}function lJ(o){return Ft(o)&&en(o)==qe}function uJ(o){return Ft(o)&&qt(o)==ot}function cJ(o){return Ft(o)&&Bu(o.length)&&!!wt[en(o)]}function P9(o){return typeof o=="function"?o:o==null?fn:typeof o=="object"?Ue(o)?F9(o[0],o[1]):O9(o):Jy(o)}function d1(o){if(!ds(o))return hY(o);var s=[];for(var d in mt(o))pt.call(o,d)&&d!="constructor"&&s.push(d);return s}function fJ(o){if(!Pt(o))return zJ(o);var s=ds(o),d=[];for(var g in o)g=="constructor"&&(s||!pt.call(o,g))||d.push(g);return d}function h1(o,s){return o<s}function T9(o,s){var d=-1,g=un(o)?Z(o.length):[];return Jr(o,function(w,_,V){g[++d]=s(w,_,V)}),g}function O9(o){var s=P1(o);return s.length==1&&s[0][2]?cy(s[0][0],s[0][1]):function(d){return d===o||f1(d,o,s)}}function F9(o,s){return O1(o)&&uy(s)?cy(ir(o),s):function(d){var g=k1(d,o);return g===n&&g===s?j1(d,o):us(s,g,x|S)}}function Su(o,s,d,g,w){o!==s&&s1(s,function(_,V){if(w||(w=new Zn),Pt(_))dJ(o,s,V,d,Su,g,w);else{var $=g?g(M1(o,V),_,V+"",o,s,w):n;$===n&&($=_),o1(o,V,$)}},cn)}function dJ(o,s,d,g,w,_,V){var $=M1(o,d),G=M1(s,d),te=V.get(G);if(te){o1(o,d,te);return}var re=_?_($,G,d+"",o,s,V):n,se=re===n;if(se){var ge=Ue(G),Ae=!ge&&ei(G),Ve=!ge&&!Ae&&Jo(G);re=G,ge||Ae||Ve?Ue($)?re=$:Lt($)?re=ln($):Ae?(se=!1,re=H9(G,!0)):Ve?(se=!1,re=W9(G,!0)):re=[]:ps(G)||Hi(G)?(re=$,Hi($)?re=ky($):(!Pt($)||Tr($))&&(re=ly(G))):se=!1}se&&(V.set(G,re),w(re,G,g,_,V),V.delete(G)),o1(o,d,re)}function M9(o,s){var d=o.length;if(d)return s+=s<0?d:0,Pr(s,d)?o[s]:n}function R9(o,s,d){s.length?s=At(s,function(_){return Ue(_)?function(V){return ki(V,_.length===1?_[0]:_)}:_}):s=[fn];var g=-1;s=At(s,bn(Fe()));var w=T9(o,function(_,V,$){var G=At(s,function(te){return te(_)});return{criteria:G,index:++g,value:_}});return BU(w,function(_,V){return EJ(_,V,d)})}function hJ(o,s){return L9(o,s,function(d,g){return j1(o,g)})}function L9(o,s,d){for(var g=-1,w=s.length,_={};++g<w;){var V=s[g],$=ki(o,V);d($,V)&&cs(_,qr(V,o),$)}return _}function pJ(o){return function(s){return ki(s,o)}}function p1(o,s,d,g){var w=g?$U:Bo,_=-1,V=s.length,$=o;for(o===s&&(s=ln(s)),d&&($=At(o,bn(d)));++_<V;)for(var G=0,te=s[_],re=d?d(te):te;(G=w($,re,G,g))>-1;)$!==o&&hu.call($,G,1),hu.call(o,G,1);return o}function V9(o,s){for(var d=o?s.length:0,g=d-1;d--;){var w=s[d];if(d==g||w!==_){var _=w;Pr(w)?hu.call(o,w,1):b1(o,w)}}return o}function g1(o,s){return o+mu(g9()*(s-o+1))}function gJ(o,s,d,g){for(var w=-1,_=kt(gu((s-o)/(d||1)),0),V=Z(_);_--;)V[g?_:++w]=o,o+=d;return V}function m1(o,s){var d="";if(!o||s<1||s>Je)return d;do s%2&&(d+=o),s=mu(s/2),s&&(o+=o);while(s);return d}function Qe(o,s){return R1(fy(o,s,fn),o+"")}function mJ(o){return b9(Ko(o))}function vJ(o,s){var d=Ko(o);return Ru(d,Bi(s,0,d.length))}function cs(o,s,d,g){if(!Pt(o))return o;s=qr(s,o);for(var w=-1,_=s.length,V=_-1,$=o;$!=null&&++w<_;){var G=ir(s[w]),te=d;if(G==="__proto__"||G==="constructor"||G==="prototype")return o;if(w!=V){var re=$[G];te=g?g(re,G,$):n,te===n&&(te=Pt(re)?re:Pr(s[w+1])?[]:{})}as($,G,te),$=$[G]}return o}var D9=vu?function(o,s){return vu.set(o,s),o}:fn,bJ=pu?function(o,s){return pu(o,"toString",{configurable:!0,enumerable:!1,value:H1(s),writable:!0})}:fn;function yJ(o){return Ru(Ko(o))}function Fn(o,s,d){var g=-1,w=o.length;s<0&&(s=-s>w?0:w+s),d=d>w?w:d,d<0&&(d+=w),w=s>d?0:d-s>>>0,s>>>=0;for(var _=Z(w);++g<w;)_[g]=o[g+s];return _}function CJ(o,s){var d;return Jr(o,function(g,w,_){return d=s(g,w,_),!d}),!!d}function Iu(o,s,d){var g=0,w=o==null?g:o.length;if(typeof s=="number"&&s===s&&w<=y){for(;g<w;){var _=g+w>>>1,V=o[_];V!==null&&!Cn(V)&&(d?V<=s:V<s)?g=_+1:w=_}return w}return v1(o,s,fn,d)}function v1(o,s,d,g){var w=0,_=o==null?0:o.length;if(_===0)return 0;s=d(s);for(var V=s!==s,$=s===null,G=Cn(s),te=s===n;w<_;){var re=mu((w+_)/2),se=d(o[re]),ge=se!==n,Ae=se===null,Ve=se===se,Ke=Cn(se);if(V)var De=g||Ve;else te?De=Ve&&(g||ge):$?De=Ve&&ge&&(g||!Ae):G?De=Ve&&ge&&!Ae&&(g||!Ke):Ae||Ke?De=!1:De=g?se<=s:se<s;De?w=re+1:_=re}return Kt(_,F)}function N9(o,s){for(var d=-1,g=o.length,w=0,_=[];++d<g;){var V=o[d],$=s?s(V):V;if(!d||!Xn($,G)){var G=$;_[w++]=V===0?0:V}}return _}function $9(o){return typeof o=="number"?o:Cn(o)?T:+o}function yn(o){if(typeof o=="string")return o;if(Ue(o))return At(o,yn)+"";if(Cn(o))return m9?m9.call(o):"";var s=o+"";return s=="0"&&1/o==-$e?"-0":s}function Kr(o,s,d){var g=-1,w=ru,_=o.length,V=!0,$=[],G=$;if(d)V=!1,w=Xh;else if(_>=i){var te=s?null:FJ(o);if(te)return ou(te);V=!1,w=es,G=new $i}else G=s?[]:$;e:for(;++g<_;){var re=o[g],se=s?s(re):re;if(re=d||re!==0?re:0,V&&se===se){for(var ge=G.length;ge--;)if(G[ge]===se)continue e;s&&G.push(se),$.push(re)}else w(G,se,d)||(G!==$&&G.push(se),$.push(re))}return $}function b1(o,s){return s=qr(s,o),o=dy(o,s),o==null||delete o[ir(Mn(s))]}function B9(o,s,d,g){return cs(o,s,d(ki(o,s)),g)}function Eu(o,s,d,g){for(var w=o.length,_=g?w:-1;(g?_--:++_<w)&&s(o[_],_,o););return d?Fn(o,g?0:_,g?_+1:w):Fn(o,g?_+1:0,g?w:_)}function k9(o,s){var d=o;return d instanceof nt&&(d=d.value()),zh(s,function(g,w){return w.func.apply(w.thisArg,zr([g],w.args))},d)}function y1(o,s,d){var g=o.length;if(g<2)return g?Kr(o[0]):[];for(var w=-1,_=Z(g);++w<g;)for(var V=o[w],$=-1;++$<g;)$!=w&&(_[w]=ss(_[w]||V,o[$],s,d));return Kr(Zt(_,1),s,d)}function j9(o,s,d){for(var g=-1,w=o.length,_=s.length,V={};++g<w;){var $=g<_?s[g]:n;d(V,o[g],$)}return V}function C1(o){return Lt(o)?o:[]}function x1(o){return typeof o=="function"?o:fn}function qr(o,s){return Ue(o)?o:O1(o,s)?[o]:my(ht(o))}var xJ=Qe;function Qr(o,s,d){var g=o.length;return d=d===n?g:d,!s&&d>=g?o:Fn(o,s,d)}var G9=lY||function(o){return Wt.clearTimeout(o)};function H9(o,s){if(s)return o.slice();var d=o.length,g=c9?c9(d):new o.constructor(d);return o.copy(g),g}function w1(o){var s=new o.constructor(o.byteLength);return new fu(s).set(new fu(o)),s}function wJ(o,s){var d=s?w1(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.byteLength)}function SJ(o){var s=new o.constructor(o.source,_e.exec(o));return s.lastIndex=o.lastIndex,s}function IJ(o){return os?mt(os.call(o)):{}}function W9(o,s){var d=s?w1(o.buffer):o.buffer;return new o.constructor(d,o.byteOffset,o.length)}function Z9(o,s){if(o!==s){var d=o!==n,g=o===null,w=o===o,_=Cn(o),V=s!==n,$=s===null,G=s===s,te=Cn(s);if(!$&&!te&&!_&&o>s||_&&V&&G&&!$&&!te||g&&V&&G||!d&&G||!w)return 1;if(!g&&!_&&!te&&o<s||te&&d&&w&&!g&&!_||$&&d&&w||!V&&w||!G)return-1}return 0}function EJ(o,s,d){for(var g=-1,w=o.criteria,_=s.criteria,V=w.length,$=d.length;++g<V;){var G=Z9(w[g],_[g]);if(G){if(g>=$)return G;var te=d[g];return G*(te=="desc"?-1:1)}}return o.index-s.index}function X9(o,s,d,g){for(var w=-1,_=o.length,V=d.length,$=-1,G=s.length,te=kt(_-V,0),re=Z(G+te),se=!g;++$<G;)re[$]=s[$];for(;++w<V;)(se||w<_)&&(re[d[w]]=o[w]);for(;te--;)re[$++]=o[w++];return re}function z9(o,s,d,g){for(var w=-1,_=o.length,V=-1,$=d.length,G=-1,te=s.length,re=kt(_-$,0),se=Z(re+te),ge=!g;++w<re;)se[w]=o[w];for(var Ae=w;++G<te;)se[Ae+G]=s[G];for(;++V<$;)(ge||w<_)&&(se[Ae+d[V]]=o[w++]);return se}function ln(o,s){var d=-1,g=o.length;for(s||(s=Z(g));++d<g;)s[d]=o[d];return s}function rr(o,s,d,g){var w=!d;d||(d={});for(var _=-1,V=s.length;++_<V;){var $=s[_],G=g?g(d[$],o[$],$,d,o):n;G===n&&(G=o[$]),w?Er(d,$,G):as(d,$,G)}return d}function AJ(o,s){return rr(o,T1(o),s)}function _J(o,s){return rr(o,ay(o),s)}function Au(o,s){return function(d,g){var w=Ue(d)?MU:YY,_=s?s():{};return w(d,o,Fe(g,2),_)}}function zo(o){return Qe(function(s,d){var g=-1,w=d.length,_=w>1?d[w-1]:n,V=w>2?d[2]:n;for(_=o.length>3&&typeof _=="function"?(w--,_):n,V&&tn(d[0],d[1],V)&&(_=w<3?n:_,w=1),s=mt(s);++g<w;){var $=d[g];$&&o(s,$,g,_)}return s})}function U9(o,s){return function(d,g){if(d==null)return d;if(!un(d))return o(d,g);for(var w=d.length,_=s?w:-1,V=mt(d);(s?_--:++_<w)&&g(V[_],_,V)!==!1;);return d}}function Y9(o){return function(s,d,g){for(var w=-1,_=mt(s),V=g(s),$=V.length;$--;){var G=V[o?$:++w];if(d(_[G],G,_)===!1)break}return s}}function PJ(o,s,d){var g=s&E,w=fs(o);function _(){var V=this&&this!==Wt&&this instanceof _?w:o;return V.apply(g?d:this,arguments)}return _}function J9(o){return function(s){s=ht(s);var d=ko(s)?Wn(s):n,g=d?d[0]:s.charAt(0),w=d?Qr(d,1).join(""):s.slice(1);return g[o]()+w}}function Uo(o){return function(s){return zh(Uy(zy(s).replace(bU,"")),o,"")}}function fs(o){return function(){var s=arguments;switch(s.length){case 0:return new o;case 1:return new o(s[0]);case 2:return new o(s[0],s[1]);case 3:return new o(s[0],s[1],s[2]);case 4:return new o(s[0],s[1],s[2],s[3]);case 5:return new o(s[0],s[1],s[2],s[3],s[4]);case 6:return new o(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new o(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Xo(o.prototype),g=o.apply(d,s);return Pt(g)?g:d}}function TJ(o,s,d){var g=fs(o);function w(){for(var _=arguments.length,V=Z(_),$=_,G=Yo(w);$--;)V[$]=arguments[$];var te=_<3&&V[0]!==G&&V[_-1]!==G?[]:Ur(V,G);if(_-=te.length,_<d)return ty(o,s,_u,w.placeholder,n,V,te,n,n,d-_);var re=this&&this!==Wt&&this instanceof w?g:o;return vn(re,this,V)}return w}function K9(o){return function(s,d,g){var w=mt(s);if(!un(s)){var _=Fe(d,3);s=Gt(s),d=function($){return _(w[$],$,w)}}var V=o(s,d,g);return V>-1?w[_?s[V]:V]:n}}function q9(o){return _r(function(s){var d=s.length,g=d,w=Tn.prototype.thru;for(o&&s.reverse();g--;){var _=s[g];if(typeof _!="function")throw new Pn(l);if(w&&!V&&Fu(_)=="wrapper")var V=new Tn([],!0)}for(g=V?g:d;++g<d;){_=s[g];var $=Fu(_),G=$=="wrapper"?_1(_):n;G&&F1(G[0])&&G[1]==(X|L|N|Y)&&!G[4].length&&G[9]==1?V=V[Fu(G[0])].apply(V,G[3]):V=_.length==1&&F1(_)?V[$]():V.thru(_)}return function(){var te=arguments,re=te[0];if(V&&te.length==1&&Ue(re))return V.plant(re).value();for(var se=0,ge=d?s[se].apply(this,te):re;++se<d;)ge=s[se].call(this,ge);return ge}})}function _u(o,s,d,g,w,_,V,$,G,te){var re=s&X,se=s&E,ge=s&P,Ae=s&(L|D),Ve=s&fe,Ke=ge?n:fs(o);function De(){for(var tt=arguments.length,it=Z(tt),xn=tt;xn--;)it[xn]=arguments[xn];if(Ae)var nn=Yo(De),wn=jU(it,nn);if(g&&(it=X9(it,g,w,Ae)),_&&(it=z9(it,_,V,Ae)),tt-=wn,Ae&&tt<te){var Vt=Ur(it,nn);return ty(o,s,_u,De.placeholder,d,it,Vt,$,G,te-tt)}var zn=se?d:this,Fr=ge?zn[o]:o;return tt=it.length,$?it=YJ(it,$):Ve&&tt>1&&it.reverse(),re&&G<tt&&(it.length=G),this&&this!==Wt&&this instanceof De&&(Fr=Ke||fs(Fr)),Fr.apply(zn,it)}return De}function Q9(o,s){return function(d,g){return rJ(d,o,s(g),{})}}function Pu(o,s){return function(d,g){var w;if(d===n&&g===n)return s;if(d!==n&&(w=d),g!==n){if(w===n)return g;typeof d=="string"||typeof g=="string"?(d=yn(d),g=yn(g)):(d=$9(d),g=$9(g)),w=o(d,g)}return w}}function S1(o){return _r(function(s){return s=At(s,bn(Fe())),Qe(function(d){var g=this;return o(s,function(w){return vn(w,g,d)})})})}function Tu(o,s){s=s===n?" ":yn(s);var d=s.length;if(d<2)return d?m1(s,o):s;var g=m1(s,gu(o/jo(s)));return ko(s)?Qr(Wn(g),0,o).join(""):g.slice(0,o)}function OJ(o,s,d,g){var w=s&E,_=fs(o);function V(){for(var $=-1,G=arguments.length,te=-1,re=g.length,se=Z(re+G),ge=this&&this!==Wt&&this instanceof V?_:o;++te<re;)se[te]=g[te];for(;G--;)se[te++]=arguments[++$];return vn(ge,w?d:this,se)}return V}function ey(o){return function(s,d,g){return g&&typeof g!="number"&&tn(s,d,g)&&(d=g=n),s=Or(s),d===n?(d=s,s=0):d=Or(d),g=g===n?s<d?1:-1:Or(g),gJ(s,d,g,o)}}function Ou(o){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=Rn(s),d=Rn(d)),o(s,d)}}function ty(o,s,d,g,w,_,V,$,G,te){var re=s&L,se=re?V:n,ge=re?n:V,Ae=re?_:n,Ve=re?n:_;s|=re?N:z,s&=~(re?z:N),s&M||(s&=~(E|P));var Ke=[o,s,w,Ae,se,Ve,ge,$,G,te],De=d.apply(n,Ke);return F1(o)&&hy(De,Ke),De.placeholder=g,py(De,o,s)}function I1(o){var s=Bt[o];return function(d,g){if(d=Rn(d),g=g==null?0:Kt(Ye(g),292),g&&p9(d)){var w=(ht(d)+"e").split("e"),_=s(w[0]+"e"+(+w[1]+g));return w=(ht(_)+"e").split("e"),+(w[0]+"e"+(+w[1]-g))}return s(d)}}var FJ=Wo&&1/ou(new Wo([,-0]))[1]==$e?function(o){return new Wo(o)}:X1;function ny(o){return function(s){var d=qt(s);return d==Q?e1(s):d==ot?UU(s):kU(s,o(s))}}function Ar(o,s,d,g,w,_,V,$){var G=s&P;if(!G&&typeof o!="function")throw new Pn(l);var te=g?g.length:0;if(te||(s&=~(N|z),g=w=n),V=V===n?V:kt(Ye(V),0),$=$===n?$:Ye($),te-=w?w.length:0,s&z){var re=g,se=w;g=w=n}var ge=G?n:_1(o),Ae=[o,s,d,g,w,re,se,_,V,$];if(ge&&XJ(Ae,ge),o=Ae[0],s=Ae[1],d=Ae[2],g=Ae[3],w=Ae[4],$=Ae[9]=Ae[9]===n?G?0:o.length:kt(Ae[9]-te,0),!$&&s&(L|D)&&(s&=~(L|D)),!s||s==E)var Ve=PJ(o,s,d);else s==L||s==D?Ve=TJ(o,s,$):(s==N||s==(E|N))&&!w.length?Ve=OJ(o,s,d,g):Ve=_u.apply(n,Ae);var Ke=ge?D9:hy;return py(Ke(Ve,Ae),o,s)}function ry(o,s,d,g){return o===n||Xn(o,Ho[d])&&!pt.call(g,d)?s:o}function iy(o,s,d,g,w,_){return Pt(o)&&Pt(s)&&(_.set(s,o),Su(o,s,n,iy,_),_.delete(s)),o}function MJ(o){return ps(o)?n:o}function oy(o,s,d,g,w,_){var V=d&x,$=o.length,G=s.length;if($!=G&&!(V&&G>$))return!1;var te=_.get(o),re=_.get(s);if(te&&re)return te==s&&re==o;var se=-1,ge=!0,Ae=d&S?new $i:n;for(_.set(o,s),_.set(s,o);++se<$;){var Ve=o[se],Ke=s[se];if(g)var De=V?g(Ke,Ve,se,s,o,_):g(Ve,Ke,se,o,s,_);if(De!==n){if(De)continue;ge=!1;break}if(Ae){if(!Uh(s,function(tt,it){if(!es(Ae,it)&&(Ve===tt||w(Ve,tt,d,g,_)))return Ae.push(it)})){ge=!1;break}}else if(!(Ve===Ke||w(Ve,Ke,d,g,_))){ge=!1;break}}return _.delete(o),_.delete(s),ge}function RJ(o,s,d,g,w,_,V){switch(d){case er:if(o.byteLength!=s.byteLength||o.byteOffset!=s.byteOffset)return!1;o=o.buffer,s=s.buffer;case $t:return!(o.byteLength!=s.byteLength||!_(new fu(o),new fu(s)));case K:case ie:case de:return Xn(+o,+s);case le:return o.name==s.name&&o.message==s.message;case qe:case st:return o==s+"";case Q:var $=e1;case ot:var G=g&x;if($||($=ou),o.size!=s.size&&!G)return!1;var te=V.get(o);if(te)return te==s;g|=S,V.set(o,s);var re=oy($(o),$(s),g,w,_,V);return V.delete(o),re;case It:if(os)return os.call(o)==os.call(s)}return!1}function LJ(o,s,d,g,w,_){var V=d&x,$=E1(o),G=$.length,te=E1(s),re=te.length;if(G!=re&&!V)return!1;for(var se=G;se--;){var ge=$[se];if(!(V?ge in s:pt.call(s,ge)))return!1}var Ae=_.get(o),Ve=_.get(s);if(Ae&&Ve)return Ae==s&&Ve==o;var Ke=!0;_.set(o,s),_.set(s,o);for(var De=V;++se<G;){ge=$[se];var tt=o[ge],it=s[ge];if(g)var xn=V?g(it,tt,ge,s,o,_):g(tt,it,ge,o,s,_);if(!(xn===n?tt===it||w(tt,it,d,g,_):xn)){Ke=!1;break}De||(De=ge=="constructor")}if(Ke&&!De){var nn=o.constructor,wn=s.constructor;nn!=wn&&"constructor"in o&&"constructor"in s&&!(typeof nn=="function"&&nn instanceof nn&&typeof wn=="function"&&wn instanceof wn)&&(Ke=!1)}return _.delete(o),_.delete(s),Ke}function _r(o){return R1(fy(o,n,Cy),o+"")}function E1(o){return E9(o,Gt,T1)}function A1(o){return E9(o,cn,ay)}var _1=vu?function(o){return vu.get(o)}:X1;function Fu(o){for(var s=o.name+"",d=Zo[s],g=pt.call(Zo,s)?d.length:0;g--;){var w=d[g],_=w.func;if(_==null||_==o)return w.name}return s}function Yo(o){var s=pt.call(I,"placeholder")?I:o;return s.placeholder}function Fe(){var o=I.iteratee||W1;return o=o===W1?P9:o,arguments.length?o(arguments[0],arguments[1]):o}function Mu(o,s){var d=o.__data__;return GJ(s)?d[typeof s=="string"?"string":"hash"]:d.map}function P1(o){for(var s=Gt(o),d=s.length;d--;){var g=s[d],w=o[g];s[d]=[g,w,uy(w)]}return s}function ji(o,s){var d=ZU(o,s);return _9(d)?d:n}function VJ(o){var s=pt.call(o,Di),d=o[Di];try{o[Di]=n;var g=!0}catch{}var w=uu.call(o);return g&&(s?o[Di]=d:delete o[Di]),w}var T1=n1?function(o){return o==null?[]:(o=mt(o),Xr(n1(o),function(s){return d9.call(o,s)}))}:z1,ay=n1?function(o){for(var s=[];o;)zr(s,T1(o)),o=du(o);return s}:z1,qt=en;(r1&&qt(new r1(new ArrayBuffer(1)))!=er||ns&&qt(new ns)!=Q||i1&&qt(i1.resolve())!=Be||Wo&&qt(new Wo)!=ot||rs&&qt(new rs)!=Rt)&&(qt=function(o){var s=en(o),d=s==ye?o.constructor:n,g=d?Gi(d):"";if(g)switch(g){case vY:return er;case bY:return Q;case yY:return Be;case CY:return ot;case xY:return Rt}return s});function DJ(o,s,d){for(var g=-1,w=d.length;++g<w;){var _=d[g],V=_.size;switch(_.type){case"drop":o+=V;break;case"dropRight":s-=V;break;case"take":s=Kt(s,o+V);break;case"takeRight":o=kt(o,s-V);break}}return{start:o,end:s}}function NJ(o){var s=o.match(Qa);return s?s[1].split(C):[]}function sy(o,s,d){s=qr(s,o);for(var g=-1,w=s.length,_=!1;++g<w;){var V=ir(s[g]);if(!(_=o!=null&&d(o,V)))break;o=o[V]}return _||++g!=w?_:(w=o==null?0:o.length,!!w&&Bu(w)&&Pr(V,w)&&(Ue(o)||Hi(o)))}function $J(o){var s=o.length,d=new o.constructor(s);return s&&typeof o[0]=="string"&&pt.call(o,"index")&&(d.index=o.index,d.input=o.input),d}function ly(o){return typeof o.constructor=="function"&&!ds(o)?Xo(du(o)):{}}function BJ(o,s,d){var g=o.constructor;switch(s){case $t:return w1(o);case K:case ie:return new g(+o);case er:return wJ(o,d);case yr:case Cr:case Hn:case Ci:case xi:case wi:case Si:case Ii:case Ei:return W9(o,d);case Q:return new g;case de:case st:return new g(o);case qe:return SJ(o);case ot:return new g;case It:return IJ(o)}}function kJ(o,s){var d=s.length;if(!d)return o;var g=d-1;return s[g]=(d>1?"& ":"")+s[g],s=s.join(d>2?", ":" "),o.replace(qa,`{
199
199
  /* [wrapped with `+s+`] */
200
- `)}function jJ(o){return Ue(o)||Hi(o)||!!(h9&&o&&o[h9])}function Pr(o,s){var d=typeof o;return s=s??Je,!!s&&(d=="number"||d!="symbol"&&ze.test(o))&&o>-1&&o%1==0&&o<s}function tn(o,s,d){if(!Pt(d))return!1;var g=typeof s;return(g=="number"?un(d)&&Pr(s,d.length):g=="string"&&s in d)?Xn(d[s],o):!1}function O1(o,s){if(Ue(o))return!1;var d=typeof o;return d=="number"||d=="symbol"||d=="boolean"||o==null||Cn(o)?!0:Oi.test(o)||!Ti.test(o)||s!=null&&o in mt(s)}function GJ(o){var s=typeof o;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?o!=="__proto__":o===null}function F1(o){var s=Fu(o),d=I[s];if(typeof d!="function"||!(s in nt.prototype))return!1;if(o===d)return!0;var g=_1(d);return!!g&&o===g[0]}function HJ(o){return!!u9&&u9 in o}var WJ=su?Tr:U1;function ds(o){var s=o&&o.constructor,d=typeof s=="function"&&s.prototype||Ho;return o===d}function uy(o){return o===o&&!Pt(o)}function cy(o,s){return function(d){return d==null?!1:d[o]===s&&(s!==n||o in mt(d))}}function ZJ(o){var s=Nu(o,function(g){return d.size===f&&d.clear(),g}),d=s.cache;return s}function XJ(o,s){var d=o[1],g=s[1],w=d|g,_=w<(E|P|X),V=g==X&&d==L||g==X&&d==Y&&o[7].length<=s[8]||g==(X|Y)&&s[7].length<=s[8]&&d==L;if(!(_||V))return o;g&E&&(o[2]=s[2],w|=d&E?0:M);var $=s[3];if($){var G=o[3];o[3]=G?X9(G,$,s[4]):$,o[4]=G?Ur(o[3],h):s[4]}return $=s[5],$&&(G=o[5],o[5]=G?z9(G,$,s[6]):$,o[6]=G?Ur(o[5],h):s[6]),$=s[7],$&&(o[7]=$),g&X&&(o[8]=o[8]==null?s[8]:Kt(o[8],s[8])),o[9]==null&&(o[9]=s[9]),o[0]=s[0],o[1]=w,o}function zJ(o){var s=[];if(o!=null)for(var d in mt(o))s.push(d);return s}function UJ(o){return uu.call(o)}function fy(o,s,d){return s=kt(s===n?o.length-1:s,0),function(){for(var g=arguments,w=-1,_=kt(g.length-s,0),V=Z(_);++w<_;)V[w]=g[s+w];w=-1;for(var $=Z(s+1);++w<s;)$[w]=g[w];return $[s]=d(V),vn(o,this,$)}}function dy(o,s){return s.length<2?o:ki(o,Fn(s,0,-1))}function YJ(o,s){for(var d=o.length,g=Kt(s.length,d),w=ln(o);g--;){var _=s[g];o[g]=Pr(_,d)?w[_]:n}return o}function M1(o,s){if(!(s==="constructor"&&typeof o[s]=="function")&&s!="__proto__")return o[s]}var hy=gy(D9),hs=cY||function(o,s){return Wt.setTimeout(o,s)},R1=gy(bJ);function py(o,s,d){var g=s+"";return R1(o,kJ(g,JJ(NJ(g),d)))}function gy(o){var s=0,d=0;return function(){var g=pY(),w=pe-(g-d);if(d=g,w>0){if(++s>=Xe)return arguments[0]}else s=0;return o.apply(n,arguments)}}function Ru(o,s){var d=-1,g=o.length,w=g-1;for(s=s===n?g:s;++d<s;){var _=g1(d,w),V=o[_];o[_]=o[d],o[d]=V}return o.length=s,o}var my=ZJ(function(o){var s=[];return o.charCodeAt(0)===46&&s.push(""),o.replace(Ja,function(d,g,w,_){s.push(w?_.replace(ue,"$1"):g||d)}),s});function ir(o){if(typeof o=="string"||Cn(o))return o;var s=o+"";return s=="0"&&1/o==-$e?"-0":s}function Gi(o){if(o!=null){try{return lu.call(o)}catch{}try{return o+""}catch{}}return""}function JJ(o,s){return _n(j,function(d){var g="_."+d[0];s&d[1]&&!ru(o,g)&&o.push(g)}),o.sort()}function vy(o){if(o instanceof nt)return o.clone();var s=new Tn(o.__wrapped__,o.__chain__);return s.__actions__=ln(o.__actions__),s.__index__=o.__index__,s.__values__=o.__values__,s}function KJ(o,s,d){(d?tn(o,s,d):s===n)?s=1:s=kt(Ye(s),0);var g=o==null?0:o.length;if(!g||s<1)return[];for(var w=0,_=0,V=Z(gu(g/s));w<g;)V[_++]=Fn(o,w,w+=s);return V}function qJ(o){for(var s=-1,d=o==null?0:o.length,g=0,w=[];++s<d;){var _=o[s];_&&(w[g++]=_)}return w}function QJ(){var o=arguments.length;if(!o)return[];for(var s=Z(o-1),d=arguments[0],g=o;g--;)s[g-1]=arguments[g];return zr(Ue(d)?ln(d):[d],Zt(s,1))}var eK=Qe(function(o,s){return Lt(o)?ss(o,Zt(s,1,Lt,!0)):[]}),tK=Qe(function(o,s){var d=Mn(s);return Lt(d)&&(d=n),Lt(o)?ss(o,Zt(s,1,Lt,!0),Fe(d,2)):[]}),nK=Qe(function(o,s){var d=Mn(s);return Lt(d)&&(d=n),Lt(o)?ss(o,Zt(s,1,Lt,!0),n,d):[]});function rK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Ye(s),Fn(o,s<0?0:s,g)):[]}function iK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Ye(s),s=g-s,Fn(o,0,s<0?0:s)):[]}function oK(o,s){return o&&o.length?Eu(o,Fe(s,3),!0,!0):[]}function aK(o,s){return o&&o.length?Eu(o,Fe(s,3),!0):[]}function sK(o,s,d,g){var w=o==null?0:o.length;return w?(d&&typeof d!="number"&&tn(o,s,d)&&(d=0,g=w),QY(o,s,d,g)):[]}function by(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=d==null?0:Ye(d);return w<0&&(w=kt(g+w,0)),iu(o,Fe(s,3),w)}function yy(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=g-1;return d!==n&&(w=Ye(d),w=d<0?kt(g+w,0):Kt(w,g-1)),iu(o,Fe(s,3),w,!0)}function Cy(o){var s=o==null?0:o.length;return s?Zt(o,1):[]}function lK(o){var s=o==null?0:o.length;return s?Zt(o,$e):[]}function uK(o,s){var d=o==null?0:o.length;return d?(s=s===n?1:Ye(s),Zt(o,s)):[]}function cK(o){for(var s=-1,d=o==null?0:o.length,g={};++s<d;){var w=o[s];g[w[0]]=w[1]}return g}function xy(o){return o&&o.length?o[0]:n}function fK(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=d==null?0:Ye(d);return w<0&&(w=kt(g+w,0)),Bo(o,s,w)}function dK(o){var s=o==null?0:o.length;return s?Fn(o,0,-1):[]}var hK=Qe(function(o){var s=At(o,C1);return s.length&&s[0]===o[0]?c1(s):[]}),pK=Qe(function(o){var s=Mn(o),d=At(o,C1);return s===Mn(d)?s=n:d.pop(),d.length&&d[0]===o[0]?c1(d,Fe(s,2)):[]}),gK=Qe(function(o){var s=Mn(o),d=At(o,C1);return s=typeof s=="function"?s:n,s&&d.pop(),d.length&&d[0]===o[0]?c1(d,n,s):[]});function mK(o,s){return o==null?"":dY.call(o,s)}function Mn(o){var s=o==null?0:o.length;return s?o[s-1]:n}function vK(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=g;return d!==n&&(w=Ye(d),w=w<0?kt(g+w,0):Kt(w,g-1)),s===s?JU(o,s,w):iu(o,t9,w,!0)}function bK(o,s){return o&&o.length?M9(o,Ye(s)):n}var yK=Qe(wy);function wy(o,s){return o&&o.length&&s&&s.length?p1(o,s):o}function CK(o,s,d){return o&&o.length&&s&&s.length?p1(o,s,Fe(d,2)):o}function xK(o,s,d){return o&&o.length&&s&&s.length?p1(o,s,n,d):o}var wK=_r(function(o,s){var d=o==null?0:o.length,g=a1(o,s);return V9(o,At(s,function(w){return Pr(w,d)?+w:w}).sort(Z9)),g});function SK(o,s){var d=[];if(!(o&&o.length))return d;var g=-1,w=[],_=o.length;for(s=Fe(s,3);++g<_;){var V=o[g];s(V,g,o)&&(d.push(V),w.push(g))}return V9(o,w),d}function L1(o){return o==null?o:mY.call(o)}function IK(o,s,d){var g=o==null?0:o.length;return g?(d&&typeof d!="number"&&tn(o,s,d)?(s=0,d=g):(s=s==null?0:Ye(s),d=d===n?g:Ye(d)),Fn(o,s,d)):[]}function EK(o,s){return Iu(o,s)}function AK(o,s,d){return v1(o,s,Fe(d,2))}function _K(o,s){var d=o==null?0:o.length;if(d){var g=Iu(o,s);if(g<d&&Xn(o[g],s))return g}return-1}function PK(o,s){return Iu(o,s,!0)}function TK(o,s,d){return v1(o,s,Fe(d,2),!0)}function OK(o,s){var d=o==null?0:o.length;if(d){var g=Iu(o,s,!0)-1;if(Xn(o[g],s))return g}return-1}function FK(o){return o&&o.length?N9(o):[]}function MK(o,s){return o&&o.length?N9(o,Fe(s,2)):[]}function RK(o){var s=o==null?0:o.length;return s?Fn(o,1,s):[]}function LK(o,s,d){return o&&o.length?(s=d||s===n?1:Ye(s),Fn(o,0,s<0?0:s)):[]}function VK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Ye(s),s=g-s,Fn(o,s<0?0:s,g)):[]}function DK(o,s){return o&&o.length?Eu(o,Fe(s,3),!1,!0):[]}function NK(o,s){return o&&o.length?Eu(o,Fe(s,3)):[]}var $K=Qe(function(o){return Kr(Zt(o,1,Lt,!0))}),BK=Qe(function(o){var s=Mn(o);return Lt(s)&&(s=n),Kr(Zt(o,1,Lt,!0),Fe(s,2))}),kK=Qe(function(o){var s=Mn(o);return s=typeof s=="function"?s:n,Kr(Zt(o,1,Lt,!0),n,s)});function jK(o){return o&&o.length?Kr(o):[]}function GK(o,s){return o&&o.length?Kr(o,Fe(s,2)):[]}function HK(o,s){return s=typeof s=="function"?s:n,o&&o.length?Kr(o,n,s):[]}function V1(o){if(!(o&&o.length))return[];var s=0;return o=Xr(o,function(d){if(Lt(d))return s=kt(d.length,s),!0}),qh(s,function(d){return At(o,Yh(d))})}function Sy(o,s){if(!(o&&o.length))return[];var d=V1(o);return s==null?d:At(d,function(g){return vn(s,n,g)})}var WK=Qe(function(o,s){return Lt(o)?ss(o,s):[]}),ZK=Qe(function(o){return y1(Xr(o,Lt))}),XK=Qe(function(o){var s=Mn(o);return Lt(s)&&(s=n),y1(Xr(o,Lt),Fe(s,2))}),zK=Qe(function(o){var s=Mn(o);return s=typeof s=="function"?s:n,y1(Xr(o,Lt),n,s)}),UK=Qe(V1);function YK(o,s){return j9(o||[],s||[],as)}function JK(o,s){return j9(o||[],s||[],cs)}var KK=Qe(function(o){var s=o.length,d=s>1?o[s-1]:n;return d=typeof d=="function"?(o.pop(),d):n,Sy(o,d)});function Iy(o){var s=I(o);return s.__chain__=!0,s}function qK(o,s){return s(o),o}function Lu(o,s){return s(o)}var QK=_r(function(o){var s=o.length,d=s?o[0]:0,g=this.__wrapped__,w=function(_){return a1(_,o)};return s>1||this.__actions__.length||!(g instanceof nt)||!Pr(d)?this.thru(w):(g=g.slice(d,+d+(s?1:0)),g.__actions__.push({func:Lu,args:[w],thisArg:n}),new Tn(g,this.__chain__).thru(function(_){return s&&!_.length&&_.push(n),_}))});function eq(){return Iy(this)}function tq(){return new Tn(this.value(),this.__chain__)}function nq(){this.__values__===n&&(this.__values__=$y(this.value()));var o=this.__index__>=this.__values__.length,s=o?n:this.__values__[this.__index__++];return{done:o,value:s}}function rq(){return this}function iq(o){for(var s,d=this;d instanceof yu;){var g=vy(d);g.__index__=0,g.__values__=n,s?w.__wrapped__=g:s=g;var w=g;d=d.__wrapped__}return w.__wrapped__=o,s}function oq(){var o=this.__wrapped__;if(o instanceof nt){var s=o;return this.__actions__.length&&(s=new nt(this)),s=s.reverse(),s.__actions__.push({func:Lu,args:[L1],thisArg:n}),new Tn(s,this.__chain__)}return this.thru(L1)}function aq(){return k9(this.__wrapped__,this.__actions__)}var sq=Au(function(o,s,d){pt.call(o,d)?++o[d]:Er(o,d,1)});function lq(o,s,d){var g=Ue(o)?Q3:qY;return d&&tn(o,s,d)&&(s=n),g(o,Fe(s,3))}function uq(o,s){var d=Ue(o)?Xr:S9;return d(o,Fe(s,3))}var cq=K9(by),fq=K9(yy);function dq(o,s){return Zt(Vu(o,s),1)}function hq(o,s){return Zt(Vu(o,s),$e)}function pq(o,s,d){return d=d===n?1:Ye(d),Zt(Vu(o,s),d)}function Ey(o,s){var d=Ue(o)?_n:Jr;return d(o,Fe(s,3))}function Ay(o,s){var d=Ue(o)?RU:w9;return d(o,Fe(s,3))}var gq=Au(function(o,s,d){pt.call(o,d)?o[d].push(s):Er(o,d,[s])});function mq(o,s,d,g){o=un(o)?o:Ko(o),d=d&&!g?Ye(d):0;var w=o.length;return d<0&&(d=kt(w+d,0)),ku(o)?d<=w&&o.indexOf(s,d)>-1:!!w&&Bo(o,s,d)>-1}var vq=Qe(function(o,s,d){var g=-1,w=typeof s=="function",_=un(o)?Z(o.length):[];return Jr(o,function(V){_[++g]=w?vn(s,V,d):ls(V,s,d)}),_}),bq=Au(function(o,s,d){Er(o,d,s)});function Vu(o,s){var d=Ue(o)?At:T9;return d(o,Fe(s,3))}function yq(o,s,d,g){return o==null?[]:(Ue(s)||(s=s==null?[]:[s]),d=g?n:d,Ue(d)||(d=d==null?[]:[d]),R9(o,s,d))}var Cq=Au(function(o,s,d){o[d?0:1].push(s)},function(){return[[],[]]});function xq(o,s,d){var g=Ue(o)?zh:r9,w=arguments.length<3;return g(o,Fe(s,4),d,w,Jr)}function wq(o,s,d){var g=Ue(o)?LU:r9,w=arguments.length<3;return g(o,Fe(s,4),d,w,w9)}function Sq(o,s){var d=Ue(o)?Xr:S9;return d(o,$u(Fe(s,3)))}function Iq(o){var s=Ue(o)?b9:mJ;return s(o)}function Eq(o,s,d){(d?tn(o,s,d):s===n)?s=1:s=Ye(s);var g=Ue(o)?zY:vJ;return g(o,s)}function Aq(o){var s=Ue(o)?UY:yJ;return s(o)}function _q(o){if(o==null)return 0;if(un(o))return ku(o)?jo(o):o.length;var s=qt(o);return s==Q||s==ot?o.size:d1(o).length}function Pq(o,s,d){var g=Ue(o)?Uh:CJ;return d&&tn(o,s,d)&&(s=n),g(o,Fe(s,3))}var Tq=Qe(function(o,s){if(o==null)return[];var d=s.length;return d>1&&tn(o,s[0],s[1])?s=[]:d>2&&tn(s[0],s[1],s[2])&&(s=[s[0]]),R9(o,Zt(s,1),[])}),Du=uY||function(){return Wt.Date.now()};function Oq(o,s){if(typeof s!="function")throw new Pn(l);return o=Ye(o),function(){if(--o<1)return s.apply(this,arguments)}}function _y(o,s,d){return s=d?n:s,s=o&&s==null?o.length:s,Ar(o,X,n,n,n,n,s)}function Py(o,s){var d;if(typeof s!="function")throw new Pn(l);return o=Ye(o),function(){return--o>0&&(d=s.apply(this,arguments)),o<=1&&(s=n),d}}var D1=Qe(function(o,s,d){var g=E;if(d.length){var w=Ur(d,Yo(D1));g|=N}return Ar(o,g,s,d,w)}),Ty=Qe(function(o,s,d){var g=E|P;if(d.length){var w=Ur(d,Yo(Ty));g|=N}return Ar(s,g,o,d,w)});function Oy(o,s,d){s=d?n:s;var g=Ar(o,L,n,n,n,n,n,s);return g.placeholder=Oy.placeholder,g}function Fy(o,s,d){s=d?n:s;var g=Ar(o,D,n,n,n,n,n,s);return g.placeholder=Fy.placeholder,g}function My(o,s,d){var g,w,_,V,$,G,te=0,re=!1,se=!1,ge=!0;if(typeof o!="function")throw new Pn(l);s=Rn(s)||0,Pt(d)&&(re=!!d.leading,se="maxWait"in d,_=se?kt(Rn(d.maxWait)||0,s):_,ge="trailing"in d?!!d.trailing:ge);function Ee(Vt){var zn=g,Fr=w;return g=w=n,te=Vt,V=o.apply(Fr,zn),V}function Ve(Vt){return te=Vt,$=hs(tt,s),re?Ee(Vt):V}function Ke(Vt){var zn=Vt-G,Fr=Vt-te,Ky=s-zn;return se?Kt(Ky,_-Fr):Ky}function De(Vt){var zn=Vt-G,Fr=Vt-te;return G===n||zn>=s||zn<0||se&&Fr>=_}function tt(){var Vt=Du();if(De(Vt))return it(Vt);$=hs(tt,Ke(Vt))}function it(Vt){return $=n,ge&&g?Ee(Vt):(g=w=n,V)}function xn(){$!==n&&G9($),te=0,g=G=w=$=n}function nn(){return $===n?V:it(Du())}function wn(){var Vt=Du(),zn=De(Vt);if(g=arguments,w=this,G=Vt,zn){if($===n)return Ve(G);if(se)return G9($),$=hs(tt,s),Ee(G)}return $===n&&($=hs(tt,s)),V}return wn.cancel=xn,wn.flush=nn,wn}var Fq=Qe(function(o,s){return x9(o,1,s)}),Mq=Qe(function(o,s,d){return x9(o,Rn(s)||0,d)});function Rq(o){return Ar(o,fe)}function Nu(o,s){if(typeof o!="function"||s!=null&&typeof s!="function")throw new Pn(l);var d=function(){var g=arguments,w=s?s.apply(this,g):g[0],_=d.cache;if(_.has(w))return _.get(w);var V=o.apply(this,g);return d.cache=_.set(w,V)||_,V};return d.cache=new(Nu.Cache||Ir),d}Nu.Cache=Ir;function $u(o){if(typeof o!="function")throw new Pn(l);return function(){var s=arguments;switch(s.length){case 0:return!o.call(this);case 1:return!o.call(this,s[0]);case 2:return!o.call(this,s[0],s[1]);case 3:return!o.call(this,s[0],s[1],s[2])}return!o.apply(this,s)}}function Lq(o){return Py(2,o)}var Vq=xJ(function(o,s){s=s.length==1&&Ue(s[0])?At(s[0],bn(Fe())):At(Zt(s,1),bn(Fe()));var d=s.length;return Qe(function(g){for(var w=-1,_=Kt(g.length,d);++w<_;)g[w]=s[w].call(this,g[w]);return vn(o,this,g)})}),N1=Qe(function(o,s){var d=Ur(s,Yo(N1));return Ar(o,N,n,s,d)}),Ry=Qe(function(o,s){var d=Ur(s,Yo(Ry));return Ar(o,z,n,s,d)}),Dq=_r(function(o,s){return Ar(o,Y,n,n,n,s)});function Nq(o,s){if(typeof o!="function")throw new Pn(l);return s=s===n?s:Ye(s),Qe(o,s)}function $q(o,s){if(typeof o!="function")throw new Pn(l);return s=s==null?0:kt(Ye(s),0),Qe(function(d){var g=d[s],w=Qr(d,0,s);return g&&zr(w,g),vn(o,this,w)})}function Bq(o,s,d){var g=!0,w=!0;if(typeof o!="function")throw new Pn(l);return Pt(d)&&(g="leading"in d?!!d.leading:g,w="trailing"in d?!!d.trailing:w),My(o,s,{leading:g,maxWait:s,trailing:w})}function kq(o){return _y(o,1)}function jq(o,s){return N1(x1(s),o)}function Gq(){if(!arguments.length)return[];var o=arguments[0];return Ue(o)?o:[o]}function Hq(o){return On(o,v)}function Wq(o,s){return s=typeof s=="function"?s:n,On(o,v,s)}function Zq(o){return On(o,p|v)}function Xq(o,s){return s=typeof s=="function"?s:n,On(o,p|v,s)}function zq(o,s){return s==null||C9(o,s,Gt(s))}function Xn(o,s){return o===s||o!==o&&s!==s}var Uq=Ou(u1),Yq=Ou(function(o,s){return o>=s}),Hi=A9(function(){return arguments}())?A9:function(o){return Ft(o)&&pt.call(o,"callee")&&!d9.call(o,"callee")},Ue=Z.isArray,Jq=z3?bn(z3):iJ;function un(o){return o!=null&&Bu(o.length)&&!Tr(o)}function Lt(o){return Ft(o)&&un(o)}function Kq(o){return o===!0||o===!1||Ft(o)&&en(o)==K}var ei=fY||U1,qq=U3?bn(U3):oJ;function Qq(o){return Ft(o)&&o.nodeType===1&&!ps(o)}function eQ(o){if(o==null)return!0;if(un(o)&&(Ue(o)||typeof o=="string"||typeof o.splice=="function"||ei(o)||Jo(o)||Hi(o)))return!o.length;var s=qt(o);if(s==Q||s==ot)return!o.size;if(ds(o))return!d1(o).length;for(var d in o)if(pt.call(o,d))return!1;return!0}function tQ(o,s){return us(o,s)}function nQ(o,s,d){d=typeof d=="function"?d:n;var g=d?d(o,s):n;return g===n?us(o,s,n,d):!!g}function $1(o){if(!Ft(o))return!1;var s=en(o);return s==le||s==oe||typeof o.message=="string"&&typeof o.name=="string"&&!ps(o)}function rQ(o){return typeof o=="number"&&p9(o)}function Tr(o){if(!Pt(o))return!1;var s=en(o);return s==q||s==ce||s==U||s==He}function Ly(o){return typeof o=="number"&&o==Ye(o)}function Bu(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=Je}function Pt(o){var s=typeof o;return o!=null&&(s=="object"||s=="function")}function Ft(o){return o!=null&&typeof o=="object"}var Vy=Y3?bn(Y3):sJ;function iQ(o,s){return o===s||f1(o,s,P1(s))}function oQ(o,s,d){return d=typeof d=="function"?d:n,f1(o,s,P1(s),d)}function aQ(o){return Dy(o)&&o!=+o}function sQ(o){if(WJ(o))throw new Ze(a);return _9(o)}function lQ(o){return o===null}function uQ(o){return o==null}function Dy(o){return typeof o=="number"||Ft(o)&&en(o)==de}function ps(o){if(!Ft(o)||en(o)!=ye)return!1;var s=du(o);if(s===null)return!0;var d=pt.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&lu.call(d)==oY}var B1=J3?bn(J3):lJ;function cQ(o){return Ly(o)&&o>=-Je&&o<=Je}var Ny=K3?bn(K3):uJ;function ku(o){return typeof o=="string"||!Ue(o)&&Ft(o)&&en(o)==st}function Cn(o){return typeof o=="symbol"||Ft(o)&&en(o)==It}var Jo=q3?bn(q3):cJ;function fQ(o){return o===n}function dQ(o){return Ft(o)&&qt(o)==Rt}function hQ(o){return Ft(o)&&en(o)==Gn}var pQ=Ou(h1),gQ=Ou(function(o,s){return o<=s});function $y(o){if(!o)return[];if(un(o))return ku(o)?Wn(o):ln(o);if(ts&&o[ts])return zU(o[ts]());var s=qt(o),d=s==Q?e1:s==ot?ou:Ko;return d(o)}function Or(o){if(!o)return o===0?o:0;if(o=Rn(o),o===$e||o===-$e){var s=o<0?-1:1;return s*O}return o===o?o:0}function Ye(o){var s=Or(o),d=s%1;return s===s?d?s-d:s:0}function By(o){return o?Bi(Ye(o),0,R):0}function Rn(o){if(typeof o=="number")return o;if(Cn(o))return T;if(Pt(o)){var s=typeof o.valueOf=="function"?o.valueOf():o;o=Pt(s)?s+"":s}if(typeof o!="string")return o===0?o:+o;o=i9(o);var d=me.test(o);return d||We.test(o)?OU(o.slice(2),d?2:8):ve.test(o)?T:+o}function ky(o){return rr(o,cn(o))}function mQ(o){return o?Bi(Ye(o),-Je,Je):o===0?o:0}function ht(o){return o==null?"":yn(o)}var vQ=zo(function(o,s){if(ds(s)||un(s)){rr(s,Gt(s),o);return}for(var d in s)pt.call(s,d)&&as(o,d,s[d])}),jy=zo(function(o,s){rr(s,cn(s),o)}),ju=zo(function(o,s,d,g){rr(s,cn(s),o,g)}),bQ=zo(function(o,s,d,g){rr(s,Gt(s),o,g)}),yQ=_r(a1);function CQ(o,s){var d=Xo(o);return s==null?d:y9(d,s)}var xQ=Qe(function(o,s){o=mt(o);var d=-1,g=s.length,w=g>2?s[2]:n;for(w&&tn(s[0],s[1],w)&&(g=1);++d<g;)for(var _=s[d],V=cn(_),$=-1,G=V.length;++$<G;){var te=V[$],re=o[te];(re===n||Xn(re,Ho[te])&&!pt.call(o,te))&&(o[te]=_[te])}return o}),wQ=Qe(function(o){return o.push(n,iy),vn(Gy,n,o)});function SQ(o,s){return e9(o,Fe(s,3),nr)}function IQ(o,s){return e9(o,Fe(s,3),l1)}function EQ(o,s){return o==null?o:s1(o,Fe(s,3),cn)}function AQ(o,s){return o==null?o:I9(o,Fe(s,3),cn)}function _Q(o,s){return o&&nr(o,Fe(s,3))}function PQ(o,s){return o&&l1(o,Fe(s,3))}function TQ(o){return o==null?[]:wu(o,Gt(o))}function OQ(o){return o==null?[]:wu(o,cn(o))}function k1(o,s,d){var g=o==null?n:ki(o,s);return g===n?d:g}function FQ(o,s){return o!=null&&sy(o,s,eJ)}function j1(o,s){return o!=null&&sy(o,s,tJ)}var MQ=Q9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=uu.call(s)),o[s]=d},H1(fn)),RQ=Q9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=uu.call(s)),pt.call(o,s)?o[s].push(d):o[s]=[d]},Fe),LQ=Qe(ls);function Gt(o){return un(o)?v9(o):d1(o)}function cn(o){return un(o)?v9(o,!0):fJ(o)}function VQ(o,s){var d={};return s=Fe(s,3),nr(o,function(g,w,_){Er(d,s(g,w,_),g)}),d}function DQ(o,s){var d={};return s=Fe(s,3),nr(o,function(g,w,_){Er(d,w,s(g,w,_))}),d}var NQ=zo(function(o,s,d){Su(o,s,d)}),Gy=zo(function(o,s,d,g){Su(o,s,d,g)}),$Q=_r(function(o,s){var d={};if(o==null)return d;var g=!1;s=At(s,function(_){return _=qr(_,o),g||(g=_.length>1),_}),rr(o,A1(o),d),g&&(d=On(d,p|m|v,MJ));for(var w=s.length;w--;)b1(d,s[w]);return d});function BQ(o,s){return Hy(o,$u(Fe(s)))}var kQ=_r(function(o,s){return o==null?{}:hJ(o,s)});function Hy(o,s){if(o==null)return{};var d=At(A1(o),function(g){return[g]});return s=Fe(s),L9(o,d,function(g,w){return s(g,w[0])})}function jQ(o,s,d){s=qr(s,o);var g=-1,w=s.length;for(w||(w=1,o=n);++g<w;){var _=o==null?n:o[ir(s[g])];_===n&&(g=w,_=d),o=Tr(_)?_.call(o):_}return o}function GQ(o,s,d){return o==null?o:cs(o,s,d)}function HQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:cs(o,s,d,g)}var Wy=ny(Gt),Zy=ny(cn);function WQ(o,s,d){var g=Ue(o),w=g||ei(o)||Jo(o);if(s=Fe(s,4),d==null){var _=o&&o.constructor;w?d=g?new _:[]:Pt(o)?d=Tr(_)?Xo(du(o)):{}:d={}}return(w?_n:nr)(o,function(V,$,G){return s(d,V,$,G)}),d}function ZQ(o,s){return o==null?!0:b1(o,s)}function XQ(o,s,d){return o==null?o:B9(o,s,x1(d))}function zQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:B9(o,s,x1(d),g)}function Ko(o){return o==null?[]:Qh(o,Gt(o))}function UQ(o){return o==null?[]:Qh(o,cn(o))}function YQ(o,s,d){return d===n&&(d=s,s=n),d!==n&&(d=Rn(d),d=d===d?d:0),s!==n&&(s=Rn(s),s=s===s?s:0),Bi(Rn(o),s,d)}function JQ(o,s,d){return s=Or(s),d===n?(d=s,s=0):d=Or(d),o=Rn(o),nJ(o,s,d)}function KQ(o,s,d){if(d&&typeof d!="boolean"&&tn(o,s,d)&&(s=d=n),d===n&&(typeof s=="boolean"?(d=s,s=n):typeof o=="boolean"&&(d=o,o=n)),o===n&&s===n?(o=0,s=1):(o=Or(o),s===n?(s=o,o=0):s=Or(s)),o>s){var g=o;o=s,s=g}if(d||o%1||s%1){var w=g9();return Kt(o+w*(s-o+TU("1e-"+((w+"").length-1))),s)}return g1(o,s)}var qQ=Uo(function(o,s,d){return s=s.toLowerCase(),o+(d?Xy(s):s)});function Xy(o){return G1(ht(o).toLowerCase())}function zy(o){return o=ht(o),o&&o.replace(gt,GU).replace(yU,"")}function QQ(o,s,d){o=ht(o),s=yn(s);var g=o.length;d=d===n?g:Bi(Ye(d),0,g);var w=d;return d-=s.length,d>=0&&o.slice(d,w)==s}function eee(o){return o=ht(o),o&&_i.test(o)?o.replace(tr,HU):o}function tee(o){return o=ht(o),o&&Mi.test(o)?o.replace(Fi,"\\$&"):o}var nee=Uo(function(o,s,d){return o+(d?"-":"")+s.toLowerCase()}),ree=Uo(function(o,s,d){return o+(d?" ":"")+s.toLowerCase()}),iee=J9("toLowerCase");function oee(o,s,d){o=ht(o),s=Ye(s);var g=s?jo(o):0;if(!s||g>=s)return o;var w=(s-g)/2;return Tu(mu(w),d)+o+Tu(gu(w),d)}function aee(o,s,d){o=ht(o),s=Ye(s);var g=s?jo(o):0;return s&&g<s?o+Tu(s-g,d):o}function see(o,s,d){o=ht(o),s=Ye(s);var g=s?jo(o):0;return s&&g<s?Tu(s-g,d)+o:o}function lee(o,s,d){return d||s==null?s=0:s&&(s=+s),gY(ht(o).replace(Ri,""),s||0)}function uee(o,s,d){return(d?tn(o,s,d):s===n)?s=1:s=Ye(s),m1(ht(o),s)}function cee(){var o=arguments,s=ht(o[0]);return o.length<3?s:s.replace(o[1],o[2])}var fee=Uo(function(o,s,d){return o+(d?"_":"")+s.toLowerCase()});function dee(o,s,d){return d&&typeof d!="number"&&tn(o,s,d)&&(s=d=n),d=d===n?R:d>>>0,d?(o=ht(o),o&&(typeof s=="string"||s!=null&&!B1(s))&&(s=yn(s),!s&&ko(o))?Qr(Wn(o),0,d):o.split(s,d)):[]}var hee=Uo(function(o,s,d){return o+(d?" ":"")+G1(s)});function pee(o,s,d){return o=ht(o),d=d==null?0:Bi(Ye(d),0,o.length),s=yn(s),o.slice(d,d+s.length)==s}function gee(o,s,d){var g=I.templateSettings;d&&tn(o,s,d)&&(s=n),o=ht(o),s=ju({},s,g,ry);var w=ju({},s.imports,g.imports,ry),_=Gt(w),V=Qh(w,_),$,G,te=0,re=s.interpolate||jt,se="__p += '",ge=t1((s.escape||jt).source+"|"+re.source+"|"+(re===No?we:jt).source+"|"+(s.evaluate||jt).source+"|$","g"),Ee="//# sourceURL="+(pt.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++IU+"]")+`
200
+ `)}function jJ(o){return Ue(o)||Hi(o)||!!(h9&&o&&o[h9])}function Pr(o,s){var d=typeof o;return s=s??Je,!!s&&(d=="number"||d!="symbol"&&ze.test(o))&&o>-1&&o%1==0&&o<s}function tn(o,s,d){if(!Pt(d))return!1;var g=typeof s;return(g=="number"?un(d)&&Pr(s,d.length):g=="string"&&s in d)?Xn(d[s],o):!1}function O1(o,s){if(Ue(o))return!1;var d=typeof o;return d=="number"||d=="symbol"||d=="boolean"||o==null||Cn(o)?!0:Oi.test(o)||!Ti.test(o)||s!=null&&o in mt(s)}function GJ(o){var s=typeof o;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?o!=="__proto__":o===null}function F1(o){var s=Fu(o),d=I[s];if(typeof d!="function"||!(s in nt.prototype))return!1;if(o===d)return!0;var g=_1(d);return!!g&&o===g[0]}function HJ(o){return!!u9&&u9 in o}var WJ=su?Tr:U1;function ds(o){var s=o&&o.constructor,d=typeof s=="function"&&s.prototype||Ho;return o===d}function uy(o){return o===o&&!Pt(o)}function cy(o,s){return function(d){return d==null?!1:d[o]===s&&(s!==n||o in mt(d))}}function ZJ(o){var s=Nu(o,function(g){return d.size===f&&d.clear(),g}),d=s.cache;return s}function XJ(o,s){var d=o[1],g=s[1],w=d|g,_=w<(E|P|X),V=g==X&&d==L||g==X&&d==Y&&o[7].length<=s[8]||g==(X|Y)&&s[7].length<=s[8]&&d==L;if(!(_||V))return o;g&E&&(o[2]=s[2],w|=d&E?0:M);var $=s[3];if($){var G=o[3];o[3]=G?X9(G,$,s[4]):$,o[4]=G?Ur(o[3],h):s[4]}return $=s[5],$&&(G=o[5],o[5]=G?z9(G,$,s[6]):$,o[6]=G?Ur(o[5],h):s[6]),$=s[7],$&&(o[7]=$),g&X&&(o[8]=o[8]==null?s[8]:Kt(o[8],s[8])),o[9]==null&&(o[9]=s[9]),o[0]=s[0],o[1]=w,o}function zJ(o){var s=[];if(o!=null)for(var d in mt(o))s.push(d);return s}function UJ(o){return uu.call(o)}function fy(o,s,d){return s=kt(s===n?o.length-1:s,0),function(){for(var g=arguments,w=-1,_=kt(g.length-s,0),V=Z(_);++w<_;)V[w]=g[s+w];w=-1;for(var $=Z(s+1);++w<s;)$[w]=g[w];return $[s]=d(V),vn(o,this,$)}}function dy(o,s){return s.length<2?o:ki(o,Fn(s,0,-1))}function YJ(o,s){for(var d=o.length,g=Kt(s.length,d),w=ln(o);g--;){var _=s[g];o[g]=Pr(_,d)?w[_]:n}return o}function M1(o,s){if(!(s==="constructor"&&typeof o[s]=="function")&&s!="__proto__")return o[s]}var hy=gy(D9),hs=cY||function(o,s){return Wt.setTimeout(o,s)},R1=gy(bJ);function py(o,s,d){var g=s+"";return R1(o,kJ(g,JJ(NJ(g),d)))}function gy(o){var s=0,d=0;return function(){var g=pY(),w=pe-(g-d);if(d=g,w>0){if(++s>=Xe)return arguments[0]}else s=0;return o.apply(n,arguments)}}function Ru(o,s){var d=-1,g=o.length,w=g-1;for(s=s===n?g:s;++d<s;){var _=g1(d,w),V=o[_];o[_]=o[d],o[d]=V}return o.length=s,o}var my=ZJ(function(o){var s=[];return o.charCodeAt(0)===46&&s.push(""),o.replace(Ja,function(d,g,w,_){s.push(w?_.replace(ue,"$1"):g||d)}),s});function ir(o){if(typeof o=="string"||Cn(o))return o;var s=o+"";return s=="0"&&1/o==-$e?"-0":s}function Gi(o){if(o!=null){try{return lu.call(o)}catch{}try{return o+""}catch{}}return""}function JJ(o,s){return _n(j,function(d){var g="_."+d[0];s&d[1]&&!ru(o,g)&&o.push(g)}),o.sort()}function vy(o){if(o instanceof nt)return o.clone();var s=new Tn(o.__wrapped__,o.__chain__);return s.__actions__=ln(o.__actions__),s.__index__=o.__index__,s.__values__=o.__values__,s}function KJ(o,s,d){(d?tn(o,s,d):s===n)?s=1:s=kt(Ye(s),0);var g=o==null?0:o.length;if(!g||s<1)return[];for(var w=0,_=0,V=Z(gu(g/s));w<g;)V[_++]=Fn(o,w,w+=s);return V}function qJ(o){for(var s=-1,d=o==null?0:o.length,g=0,w=[];++s<d;){var _=o[s];_&&(w[g++]=_)}return w}function QJ(){var o=arguments.length;if(!o)return[];for(var s=Z(o-1),d=arguments[0],g=o;g--;)s[g-1]=arguments[g];return zr(Ue(d)?ln(d):[d],Zt(s,1))}var eK=Qe(function(o,s){return Lt(o)?ss(o,Zt(s,1,Lt,!0)):[]}),tK=Qe(function(o,s){var d=Mn(s);return Lt(d)&&(d=n),Lt(o)?ss(o,Zt(s,1,Lt,!0),Fe(d,2)):[]}),nK=Qe(function(o,s){var d=Mn(s);return Lt(d)&&(d=n),Lt(o)?ss(o,Zt(s,1,Lt,!0),n,d):[]});function rK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Ye(s),Fn(o,s<0?0:s,g)):[]}function iK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Ye(s),s=g-s,Fn(o,0,s<0?0:s)):[]}function oK(o,s){return o&&o.length?Eu(o,Fe(s,3),!0,!0):[]}function aK(o,s){return o&&o.length?Eu(o,Fe(s,3),!0):[]}function sK(o,s,d,g){var w=o==null?0:o.length;return w?(d&&typeof d!="number"&&tn(o,s,d)&&(d=0,g=w),QY(o,s,d,g)):[]}function by(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=d==null?0:Ye(d);return w<0&&(w=kt(g+w,0)),iu(o,Fe(s,3),w)}function yy(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=g-1;return d!==n&&(w=Ye(d),w=d<0?kt(g+w,0):Kt(w,g-1)),iu(o,Fe(s,3),w,!0)}function Cy(o){var s=o==null?0:o.length;return s?Zt(o,1):[]}function lK(o){var s=o==null?0:o.length;return s?Zt(o,$e):[]}function uK(o,s){var d=o==null?0:o.length;return d?(s=s===n?1:Ye(s),Zt(o,s)):[]}function cK(o){for(var s=-1,d=o==null?0:o.length,g={};++s<d;){var w=o[s];g[w[0]]=w[1]}return g}function xy(o){return o&&o.length?o[0]:n}function fK(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=d==null?0:Ye(d);return w<0&&(w=kt(g+w,0)),Bo(o,s,w)}function dK(o){var s=o==null?0:o.length;return s?Fn(o,0,-1):[]}var hK=Qe(function(o){var s=At(o,C1);return s.length&&s[0]===o[0]?c1(s):[]}),pK=Qe(function(o){var s=Mn(o),d=At(o,C1);return s===Mn(d)?s=n:d.pop(),d.length&&d[0]===o[0]?c1(d,Fe(s,2)):[]}),gK=Qe(function(o){var s=Mn(o),d=At(o,C1);return s=typeof s=="function"?s:n,s&&d.pop(),d.length&&d[0]===o[0]?c1(d,n,s):[]});function mK(o,s){return o==null?"":dY.call(o,s)}function Mn(o){var s=o==null?0:o.length;return s?o[s-1]:n}function vK(o,s,d){var g=o==null?0:o.length;if(!g)return-1;var w=g;return d!==n&&(w=Ye(d),w=w<0?kt(g+w,0):Kt(w,g-1)),s===s?JU(o,s,w):iu(o,t9,w,!0)}function bK(o,s){return o&&o.length?M9(o,Ye(s)):n}var yK=Qe(wy);function wy(o,s){return o&&o.length&&s&&s.length?p1(o,s):o}function CK(o,s,d){return o&&o.length&&s&&s.length?p1(o,s,Fe(d,2)):o}function xK(o,s,d){return o&&o.length&&s&&s.length?p1(o,s,n,d):o}var wK=_r(function(o,s){var d=o==null?0:o.length,g=a1(o,s);return V9(o,At(s,function(w){return Pr(w,d)?+w:w}).sort(Z9)),g});function SK(o,s){var d=[];if(!(o&&o.length))return d;var g=-1,w=[],_=o.length;for(s=Fe(s,3);++g<_;){var V=o[g];s(V,g,o)&&(d.push(V),w.push(g))}return V9(o,w),d}function L1(o){return o==null?o:mY.call(o)}function IK(o,s,d){var g=o==null?0:o.length;return g?(d&&typeof d!="number"&&tn(o,s,d)?(s=0,d=g):(s=s==null?0:Ye(s),d=d===n?g:Ye(d)),Fn(o,s,d)):[]}function EK(o,s){return Iu(o,s)}function AK(o,s,d){return v1(o,s,Fe(d,2))}function _K(o,s){var d=o==null?0:o.length;if(d){var g=Iu(o,s);if(g<d&&Xn(o[g],s))return g}return-1}function PK(o,s){return Iu(o,s,!0)}function TK(o,s,d){return v1(o,s,Fe(d,2),!0)}function OK(o,s){var d=o==null?0:o.length;if(d){var g=Iu(o,s,!0)-1;if(Xn(o[g],s))return g}return-1}function FK(o){return o&&o.length?N9(o):[]}function MK(o,s){return o&&o.length?N9(o,Fe(s,2)):[]}function RK(o){var s=o==null?0:o.length;return s?Fn(o,1,s):[]}function LK(o,s,d){return o&&o.length?(s=d||s===n?1:Ye(s),Fn(o,0,s<0?0:s)):[]}function VK(o,s,d){var g=o==null?0:o.length;return g?(s=d||s===n?1:Ye(s),s=g-s,Fn(o,s<0?0:s,g)):[]}function DK(o,s){return o&&o.length?Eu(o,Fe(s,3),!1,!0):[]}function NK(o,s){return o&&o.length?Eu(o,Fe(s,3)):[]}var $K=Qe(function(o){return Kr(Zt(o,1,Lt,!0))}),BK=Qe(function(o){var s=Mn(o);return Lt(s)&&(s=n),Kr(Zt(o,1,Lt,!0),Fe(s,2))}),kK=Qe(function(o){var s=Mn(o);return s=typeof s=="function"?s:n,Kr(Zt(o,1,Lt,!0),n,s)});function jK(o){return o&&o.length?Kr(o):[]}function GK(o,s){return o&&o.length?Kr(o,Fe(s,2)):[]}function HK(o,s){return s=typeof s=="function"?s:n,o&&o.length?Kr(o,n,s):[]}function V1(o){if(!(o&&o.length))return[];var s=0;return o=Xr(o,function(d){if(Lt(d))return s=kt(d.length,s),!0}),qh(s,function(d){return At(o,Yh(d))})}function Sy(o,s){if(!(o&&o.length))return[];var d=V1(o);return s==null?d:At(d,function(g){return vn(s,n,g)})}var WK=Qe(function(o,s){return Lt(o)?ss(o,s):[]}),ZK=Qe(function(o){return y1(Xr(o,Lt))}),XK=Qe(function(o){var s=Mn(o);return Lt(s)&&(s=n),y1(Xr(o,Lt),Fe(s,2))}),zK=Qe(function(o){var s=Mn(o);return s=typeof s=="function"?s:n,y1(Xr(o,Lt),n,s)}),UK=Qe(V1);function YK(o,s){return j9(o||[],s||[],as)}function JK(o,s){return j9(o||[],s||[],cs)}var KK=Qe(function(o){var s=o.length,d=s>1?o[s-1]:n;return d=typeof d=="function"?(o.pop(),d):n,Sy(o,d)});function Iy(o){var s=I(o);return s.__chain__=!0,s}function qK(o,s){return s(o),o}function Lu(o,s){return s(o)}var QK=_r(function(o){var s=o.length,d=s?o[0]:0,g=this.__wrapped__,w=function(_){return a1(_,o)};return s>1||this.__actions__.length||!(g instanceof nt)||!Pr(d)?this.thru(w):(g=g.slice(d,+d+(s?1:0)),g.__actions__.push({func:Lu,args:[w],thisArg:n}),new Tn(g,this.__chain__).thru(function(_){return s&&!_.length&&_.push(n),_}))});function eq(){return Iy(this)}function tq(){return new Tn(this.value(),this.__chain__)}function nq(){this.__values__===n&&(this.__values__=$y(this.value()));var o=this.__index__>=this.__values__.length,s=o?n:this.__values__[this.__index__++];return{done:o,value:s}}function rq(){return this}function iq(o){for(var s,d=this;d instanceof yu;){var g=vy(d);g.__index__=0,g.__values__=n,s?w.__wrapped__=g:s=g;var w=g;d=d.__wrapped__}return w.__wrapped__=o,s}function oq(){var o=this.__wrapped__;if(o instanceof nt){var s=o;return this.__actions__.length&&(s=new nt(this)),s=s.reverse(),s.__actions__.push({func:Lu,args:[L1],thisArg:n}),new Tn(s,this.__chain__)}return this.thru(L1)}function aq(){return k9(this.__wrapped__,this.__actions__)}var sq=Au(function(o,s,d){pt.call(o,d)?++o[d]:Er(o,d,1)});function lq(o,s,d){var g=Ue(o)?Q3:qY;return d&&tn(o,s,d)&&(s=n),g(o,Fe(s,3))}function uq(o,s){var d=Ue(o)?Xr:S9;return d(o,Fe(s,3))}var cq=K9(by),fq=K9(yy);function dq(o,s){return Zt(Vu(o,s),1)}function hq(o,s){return Zt(Vu(o,s),$e)}function pq(o,s,d){return d=d===n?1:Ye(d),Zt(Vu(o,s),d)}function Ey(o,s){var d=Ue(o)?_n:Jr;return d(o,Fe(s,3))}function Ay(o,s){var d=Ue(o)?RU:w9;return d(o,Fe(s,3))}var gq=Au(function(o,s,d){pt.call(o,d)?o[d].push(s):Er(o,d,[s])});function mq(o,s,d,g){o=un(o)?o:Ko(o),d=d&&!g?Ye(d):0;var w=o.length;return d<0&&(d=kt(w+d,0)),ku(o)?d<=w&&o.indexOf(s,d)>-1:!!w&&Bo(o,s,d)>-1}var vq=Qe(function(o,s,d){var g=-1,w=typeof s=="function",_=un(o)?Z(o.length):[];return Jr(o,function(V){_[++g]=w?vn(s,V,d):ls(V,s,d)}),_}),bq=Au(function(o,s,d){Er(o,d,s)});function Vu(o,s){var d=Ue(o)?At:T9;return d(o,Fe(s,3))}function yq(o,s,d,g){return o==null?[]:(Ue(s)||(s=s==null?[]:[s]),d=g?n:d,Ue(d)||(d=d==null?[]:[d]),R9(o,s,d))}var Cq=Au(function(o,s,d){o[d?0:1].push(s)},function(){return[[],[]]});function xq(o,s,d){var g=Ue(o)?zh:r9,w=arguments.length<3;return g(o,Fe(s,4),d,w,Jr)}function wq(o,s,d){var g=Ue(o)?LU:r9,w=arguments.length<3;return g(o,Fe(s,4),d,w,w9)}function Sq(o,s){var d=Ue(o)?Xr:S9;return d(o,$u(Fe(s,3)))}function Iq(o){var s=Ue(o)?b9:mJ;return s(o)}function Eq(o,s,d){(d?tn(o,s,d):s===n)?s=1:s=Ye(s);var g=Ue(o)?zY:vJ;return g(o,s)}function Aq(o){var s=Ue(o)?UY:yJ;return s(o)}function _q(o){if(o==null)return 0;if(un(o))return ku(o)?jo(o):o.length;var s=qt(o);return s==Q||s==ot?o.size:d1(o).length}function Pq(o,s,d){var g=Ue(o)?Uh:CJ;return d&&tn(o,s,d)&&(s=n),g(o,Fe(s,3))}var Tq=Qe(function(o,s){if(o==null)return[];var d=s.length;return d>1&&tn(o,s[0],s[1])?s=[]:d>2&&tn(s[0],s[1],s[2])&&(s=[s[0]]),R9(o,Zt(s,1),[])}),Du=uY||function(){return Wt.Date.now()};function Oq(o,s){if(typeof s!="function")throw new Pn(l);return o=Ye(o),function(){if(--o<1)return s.apply(this,arguments)}}function _y(o,s,d){return s=d?n:s,s=o&&s==null?o.length:s,Ar(o,X,n,n,n,n,s)}function Py(o,s){var d;if(typeof s!="function")throw new Pn(l);return o=Ye(o),function(){return--o>0&&(d=s.apply(this,arguments)),o<=1&&(s=n),d}}var D1=Qe(function(o,s,d){var g=E;if(d.length){var w=Ur(d,Yo(D1));g|=N}return Ar(o,g,s,d,w)}),Ty=Qe(function(o,s,d){var g=E|P;if(d.length){var w=Ur(d,Yo(Ty));g|=N}return Ar(s,g,o,d,w)});function Oy(o,s,d){s=d?n:s;var g=Ar(o,L,n,n,n,n,n,s);return g.placeholder=Oy.placeholder,g}function Fy(o,s,d){s=d?n:s;var g=Ar(o,D,n,n,n,n,n,s);return g.placeholder=Fy.placeholder,g}function My(o,s,d){var g,w,_,V,$,G,te=0,re=!1,se=!1,ge=!0;if(typeof o!="function")throw new Pn(l);s=Rn(s)||0,Pt(d)&&(re=!!d.leading,se="maxWait"in d,_=se?kt(Rn(d.maxWait)||0,s):_,ge="trailing"in d?!!d.trailing:ge);function Ae(Vt){var zn=g,Fr=w;return g=w=n,te=Vt,V=o.apply(Fr,zn),V}function Ve(Vt){return te=Vt,$=hs(tt,s),re?Ae(Vt):V}function Ke(Vt){var zn=Vt-G,Fr=Vt-te,Ky=s-zn;return se?Kt(Ky,_-Fr):Ky}function De(Vt){var zn=Vt-G,Fr=Vt-te;return G===n||zn>=s||zn<0||se&&Fr>=_}function tt(){var Vt=Du();if(De(Vt))return it(Vt);$=hs(tt,Ke(Vt))}function it(Vt){return $=n,ge&&g?Ae(Vt):(g=w=n,V)}function xn(){$!==n&&G9($),te=0,g=G=w=$=n}function nn(){return $===n?V:it(Du())}function wn(){var Vt=Du(),zn=De(Vt);if(g=arguments,w=this,G=Vt,zn){if($===n)return Ve(G);if(se)return G9($),$=hs(tt,s),Ae(G)}return $===n&&($=hs(tt,s)),V}return wn.cancel=xn,wn.flush=nn,wn}var Fq=Qe(function(o,s){return x9(o,1,s)}),Mq=Qe(function(o,s,d){return x9(o,Rn(s)||0,d)});function Rq(o){return Ar(o,fe)}function Nu(o,s){if(typeof o!="function"||s!=null&&typeof s!="function")throw new Pn(l);var d=function(){var g=arguments,w=s?s.apply(this,g):g[0],_=d.cache;if(_.has(w))return _.get(w);var V=o.apply(this,g);return d.cache=_.set(w,V)||_,V};return d.cache=new(Nu.Cache||Ir),d}Nu.Cache=Ir;function $u(o){if(typeof o!="function")throw new Pn(l);return function(){var s=arguments;switch(s.length){case 0:return!o.call(this);case 1:return!o.call(this,s[0]);case 2:return!o.call(this,s[0],s[1]);case 3:return!o.call(this,s[0],s[1],s[2])}return!o.apply(this,s)}}function Lq(o){return Py(2,o)}var Vq=xJ(function(o,s){s=s.length==1&&Ue(s[0])?At(s[0],bn(Fe())):At(Zt(s,1),bn(Fe()));var d=s.length;return Qe(function(g){for(var w=-1,_=Kt(g.length,d);++w<_;)g[w]=s[w].call(this,g[w]);return vn(o,this,g)})}),N1=Qe(function(o,s){var d=Ur(s,Yo(N1));return Ar(o,N,n,s,d)}),Ry=Qe(function(o,s){var d=Ur(s,Yo(Ry));return Ar(o,z,n,s,d)}),Dq=_r(function(o,s){return Ar(o,Y,n,n,n,s)});function Nq(o,s){if(typeof o!="function")throw new Pn(l);return s=s===n?s:Ye(s),Qe(o,s)}function $q(o,s){if(typeof o!="function")throw new Pn(l);return s=s==null?0:kt(Ye(s),0),Qe(function(d){var g=d[s],w=Qr(d,0,s);return g&&zr(w,g),vn(o,this,w)})}function Bq(o,s,d){var g=!0,w=!0;if(typeof o!="function")throw new Pn(l);return Pt(d)&&(g="leading"in d?!!d.leading:g,w="trailing"in d?!!d.trailing:w),My(o,s,{leading:g,maxWait:s,trailing:w})}function kq(o){return _y(o,1)}function jq(o,s){return N1(x1(s),o)}function Gq(){if(!arguments.length)return[];var o=arguments[0];return Ue(o)?o:[o]}function Hq(o){return On(o,v)}function Wq(o,s){return s=typeof s=="function"?s:n,On(o,v,s)}function Zq(o){return On(o,p|v)}function Xq(o,s){return s=typeof s=="function"?s:n,On(o,p|v,s)}function zq(o,s){return s==null||C9(o,s,Gt(s))}function Xn(o,s){return o===s||o!==o&&s!==s}var Uq=Ou(u1),Yq=Ou(function(o,s){return o>=s}),Hi=A9(function(){return arguments}())?A9:function(o){return Ft(o)&&pt.call(o,"callee")&&!d9.call(o,"callee")},Ue=Z.isArray,Jq=z3?bn(z3):iJ;function un(o){return o!=null&&Bu(o.length)&&!Tr(o)}function Lt(o){return Ft(o)&&un(o)}function Kq(o){return o===!0||o===!1||Ft(o)&&en(o)==K}var ei=fY||U1,qq=U3?bn(U3):oJ;function Qq(o){return Ft(o)&&o.nodeType===1&&!ps(o)}function eQ(o){if(o==null)return!0;if(un(o)&&(Ue(o)||typeof o=="string"||typeof o.splice=="function"||ei(o)||Jo(o)||Hi(o)))return!o.length;var s=qt(o);if(s==Q||s==ot)return!o.size;if(ds(o))return!d1(o).length;for(var d in o)if(pt.call(o,d))return!1;return!0}function tQ(o,s){return us(o,s)}function nQ(o,s,d){d=typeof d=="function"?d:n;var g=d?d(o,s):n;return g===n?us(o,s,n,d):!!g}function $1(o){if(!Ft(o))return!1;var s=en(o);return s==le||s==oe||typeof o.message=="string"&&typeof o.name=="string"&&!ps(o)}function rQ(o){return typeof o=="number"&&p9(o)}function Tr(o){if(!Pt(o))return!1;var s=en(o);return s==q||s==ce||s==U||s==He}function Ly(o){return typeof o=="number"&&o==Ye(o)}function Bu(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=Je}function Pt(o){var s=typeof o;return o!=null&&(s=="object"||s=="function")}function Ft(o){return o!=null&&typeof o=="object"}var Vy=Y3?bn(Y3):sJ;function iQ(o,s){return o===s||f1(o,s,P1(s))}function oQ(o,s,d){return d=typeof d=="function"?d:n,f1(o,s,P1(s),d)}function aQ(o){return Dy(o)&&o!=+o}function sQ(o){if(WJ(o))throw new Ze(a);return _9(o)}function lQ(o){return o===null}function uQ(o){return o==null}function Dy(o){return typeof o=="number"||Ft(o)&&en(o)==de}function ps(o){if(!Ft(o)||en(o)!=ye)return!1;var s=du(o);if(s===null)return!0;var d=pt.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&lu.call(d)==oY}var B1=J3?bn(J3):lJ;function cQ(o){return Ly(o)&&o>=-Je&&o<=Je}var Ny=K3?bn(K3):uJ;function ku(o){return typeof o=="string"||!Ue(o)&&Ft(o)&&en(o)==st}function Cn(o){return typeof o=="symbol"||Ft(o)&&en(o)==It}var Jo=q3?bn(q3):cJ;function fQ(o){return o===n}function dQ(o){return Ft(o)&&qt(o)==Rt}function hQ(o){return Ft(o)&&en(o)==Gn}var pQ=Ou(h1),gQ=Ou(function(o,s){return o<=s});function $y(o){if(!o)return[];if(un(o))return ku(o)?Wn(o):ln(o);if(ts&&o[ts])return zU(o[ts]());var s=qt(o),d=s==Q?e1:s==ot?ou:Ko;return d(o)}function Or(o){if(!o)return o===0?o:0;if(o=Rn(o),o===$e||o===-$e){var s=o<0?-1:1;return s*O}return o===o?o:0}function Ye(o){var s=Or(o),d=s%1;return s===s?d?s-d:s:0}function By(o){return o?Bi(Ye(o),0,R):0}function Rn(o){if(typeof o=="number")return o;if(Cn(o))return T;if(Pt(o)){var s=typeof o.valueOf=="function"?o.valueOf():o;o=Pt(s)?s+"":s}if(typeof o!="string")return o===0?o:+o;o=i9(o);var d=me.test(o);return d||We.test(o)?OU(o.slice(2),d?2:8):ve.test(o)?T:+o}function ky(o){return rr(o,cn(o))}function mQ(o){return o?Bi(Ye(o),-Je,Je):o===0?o:0}function ht(o){return o==null?"":yn(o)}var vQ=zo(function(o,s){if(ds(s)||un(s)){rr(s,Gt(s),o);return}for(var d in s)pt.call(s,d)&&as(o,d,s[d])}),jy=zo(function(o,s){rr(s,cn(s),o)}),ju=zo(function(o,s,d,g){rr(s,cn(s),o,g)}),bQ=zo(function(o,s,d,g){rr(s,Gt(s),o,g)}),yQ=_r(a1);function CQ(o,s){var d=Xo(o);return s==null?d:y9(d,s)}var xQ=Qe(function(o,s){o=mt(o);var d=-1,g=s.length,w=g>2?s[2]:n;for(w&&tn(s[0],s[1],w)&&(g=1);++d<g;)for(var _=s[d],V=cn(_),$=-1,G=V.length;++$<G;){var te=V[$],re=o[te];(re===n||Xn(re,Ho[te])&&!pt.call(o,te))&&(o[te]=_[te])}return o}),wQ=Qe(function(o){return o.push(n,iy),vn(Gy,n,o)});function SQ(o,s){return e9(o,Fe(s,3),nr)}function IQ(o,s){return e9(o,Fe(s,3),l1)}function EQ(o,s){return o==null?o:s1(o,Fe(s,3),cn)}function AQ(o,s){return o==null?o:I9(o,Fe(s,3),cn)}function _Q(o,s){return o&&nr(o,Fe(s,3))}function PQ(o,s){return o&&l1(o,Fe(s,3))}function TQ(o){return o==null?[]:wu(o,Gt(o))}function OQ(o){return o==null?[]:wu(o,cn(o))}function k1(o,s,d){var g=o==null?n:ki(o,s);return g===n?d:g}function FQ(o,s){return o!=null&&sy(o,s,eJ)}function j1(o,s){return o!=null&&sy(o,s,tJ)}var MQ=Q9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=uu.call(s)),o[s]=d},H1(fn)),RQ=Q9(function(o,s,d){s!=null&&typeof s.toString!="function"&&(s=uu.call(s)),pt.call(o,s)?o[s].push(d):o[s]=[d]},Fe),LQ=Qe(ls);function Gt(o){return un(o)?v9(o):d1(o)}function cn(o){return un(o)?v9(o,!0):fJ(o)}function VQ(o,s){var d={};return s=Fe(s,3),nr(o,function(g,w,_){Er(d,s(g,w,_),g)}),d}function DQ(o,s){var d={};return s=Fe(s,3),nr(o,function(g,w,_){Er(d,w,s(g,w,_))}),d}var NQ=zo(function(o,s,d){Su(o,s,d)}),Gy=zo(function(o,s,d,g){Su(o,s,d,g)}),$Q=_r(function(o,s){var d={};if(o==null)return d;var g=!1;s=At(s,function(_){return _=qr(_,o),g||(g=_.length>1),_}),rr(o,A1(o),d),g&&(d=On(d,p|m|v,MJ));for(var w=s.length;w--;)b1(d,s[w]);return d});function BQ(o,s){return Hy(o,$u(Fe(s)))}var kQ=_r(function(o,s){return o==null?{}:hJ(o,s)});function Hy(o,s){if(o==null)return{};var d=At(A1(o),function(g){return[g]});return s=Fe(s),L9(o,d,function(g,w){return s(g,w[0])})}function jQ(o,s,d){s=qr(s,o);var g=-1,w=s.length;for(w||(w=1,o=n);++g<w;){var _=o==null?n:o[ir(s[g])];_===n&&(g=w,_=d),o=Tr(_)?_.call(o):_}return o}function GQ(o,s,d){return o==null?o:cs(o,s,d)}function HQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:cs(o,s,d,g)}var Wy=ny(Gt),Zy=ny(cn);function WQ(o,s,d){var g=Ue(o),w=g||ei(o)||Jo(o);if(s=Fe(s,4),d==null){var _=o&&o.constructor;w?d=g?new _:[]:Pt(o)?d=Tr(_)?Xo(du(o)):{}:d={}}return(w?_n:nr)(o,function(V,$,G){return s(d,V,$,G)}),d}function ZQ(o,s){return o==null?!0:b1(o,s)}function XQ(o,s,d){return o==null?o:B9(o,s,x1(d))}function zQ(o,s,d,g){return g=typeof g=="function"?g:n,o==null?o:B9(o,s,x1(d),g)}function Ko(o){return o==null?[]:Qh(o,Gt(o))}function UQ(o){return o==null?[]:Qh(o,cn(o))}function YQ(o,s,d){return d===n&&(d=s,s=n),d!==n&&(d=Rn(d),d=d===d?d:0),s!==n&&(s=Rn(s),s=s===s?s:0),Bi(Rn(o),s,d)}function JQ(o,s,d){return s=Or(s),d===n?(d=s,s=0):d=Or(d),o=Rn(o),nJ(o,s,d)}function KQ(o,s,d){if(d&&typeof d!="boolean"&&tn(o,s,d)&&(s=d=n),d===n&&(typeof s=="boolean"?(d=s,s=n):typeof o=="boolean"&&(d=o,o=n)),o===n&&s===n?(o=0,s=1):(o=Or(o),s===n?(s=o,o=0):s=Or(s)),o>s){var g=o;o=s,s=g}if(d||o%1||s%1){var w=g9();return Kt(o+w*(s-o+TU("1e-"+((w+"").length-1))),s)}return g1(o,s)}var qQ=Uo(function(o,s,d){return s=s.toLowerCase(),o+(d?Xy(s):s)});function Xy(o){return G1(ht(o).toLowerCase())}function zy(o){return o=ht(o),o&&o.replace(gt,GU).replace(yU,"")}function QQ(o,s,d){o=ht(o),s=yn(s);var g=o.length;d=d===n?g:Bi(Ye(d),0,g);var w=d;return d-=s.length,d>=0&&o.slice(d,w)==s}function eee(o){return o=ht(o),o&&_i.test(o)?o.replace(tr,HU):o}function tee(o){return o=ht(o),o&&Mi.test(o)?o.replace(Fi,"\\$&"):o}var nee=Uo(function(o,s,d){return o+(d?"-":"")+s.toLowerCase()}),ree=Uo(function(o,s,d){return o+(d?" ":"")+s.toLowerCase()}),iee=J9("toLowerCase");function oee(o,s,d){o=ht(o),s=Ye(s);var g=s?jo(o):0;if(!s||g>=s)return o;var w=(s-g)/2;return Tu(mu(w),d)+o+Tu(gu(w),d)}function aee(o,s,d){o=ht(o),s=Ye(s);var g=s?jo(o):0;return s&&g<s?o+Tu(s-g,d):o}function see(o,s,d){o=ht(o),s=Ye(s);var g=s?jo(o):0;return s&&g<s?Tu(s-g,d)+o:o}function lee(o,s,d){return d||s==null?s=0:s&&(s=+s),gY(ht(o).replace(Ri,""),s||0)}function uee(o,s,d){return(d?tn(o,s,d):s===n)?s=1:s=Ye(s),m1(ht(o),s)}function cee(){var o=arguments,s=ht(o[0]);return o.length<3?s:s.replace(o[1],o[2])}var fee=Uo(function(o,s,d){return o+(d?"_":"")+s.toLowerCase()});function dee(o,s,d){return d&&typeof d!="number"&&tn(o,s,d)&&(s=d=n),d=d===n?R:d>>>0,d?(o=ht(o),o&&(typeof s=="string"||s!=null&&!B1(s))&&(s=yn(s),!s&&ko(o))?Qr(Wn(o),0,d):o.split(s,d)):[]}var hee=Uo(function(o,s,d){return o+(d?" ":"")+G1(s)});function pee(o,s,d){return o=ht(o),d=d==null?0:Bi(Ye(d),0,o.length),s=yn(s),o.slice(d,d+s.length)==s}function gee(o,s,d){var g=I.templateSettings;d&&tn(o,s,d)&&(s=n),o=ht(o),s=ju({},s,g,ry);var w=ju({},s.imports,g.imports,ry),_=Gt(w),V=Qh(w,_),$,G,te=0,re=s.interpolate||jt,se="__p += '",ge=t1((s.escape||jt).source+"|"+re.source+"|"+(re===No?we:jt).source+"|"+(s.evaluate||jt).source+"|$","g"),Ae="//# sourceURL="+(pt.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++IU+"]")+`
201
201
  `;o.replace(ge,function(De,tt,it,xn,nn,wn){return it||(it=xn),se+=o.slice(te,wn).replace(Li,WU),tt&&($=!0,se+=`' +
202
202
  __e(`+tt+`) +
203
203
  '`),nn&&(G=!0,se+=`';
@@ -214,4 +214,4 @@ __p += '`),it&&(se+=`' +
214
214
  function print() { __p += __j.call(arguments, '') }
215
215
  `:`;
216
216
  `)+se+`return __p
217
- }`;var Ke=Yy(function(){return ct(_,Ee+"return "+se).apply(n,V)});if(Ke.source=se,$1(Ke))throw Ke;return Ke}function mee(o){return ht(o).toLowerCase()}function vee(o){return ht(o).toUpperCase()}function bee(o,s,d){if(o=ht(o),o&&(d||s===n))return i9(o);if(!o||!(s=yn(s)))return o;var g=Wn(o),w=Wn(s),_=o9(g,w),V=a9(g,w)+1;return Qr(g,_,V).join("")}function yee(o,s,d){if(o=ht(o),o&&(d||s===n))return o.slice(0,l9(o)+1);if(!o||!(s=yn(s)))return o;var g=Wn(o),w=a9(g,Wn(s))+1;return Qr(g,0,w).join("")}function Cee(o,s,d){if(o=ht(o),o&&(d||s===n))return o.replace(Ri,"");if(!o||!(s=yn(s)))return o;var g=Wn(o),w=o9(g,Wn(s));return Qr(g,w).join("")}function xee(o,s){var d=Te,g=Ge;if(Pt(s)){var w="separator"in s?s.separator:w;d="length"in s?Ye(s.length):d,g="omission"in s?yn(s.omission):g}o=ht(o);var _=o.length;if(ko(o)){var V=Wn(o);_=V.length}if(d>=_)return o;var $=d-jo(g);if($<1)return g;var G=V?Qr(V,0,$).join(""):o.slice(0,$);if(w===n)return G+g;if(V&&($+=G.length-$),B1(w)){if(o.slice($).search(w)){var te,re=G;for(w.global||(w=t1(w.source,ht(_e.exec(w))+"g")),w.lastIndex=0;te=w.exec(re);)var se=te.index;G=G.slice(0,se===n?$:se)}}else if(o.indexOf(yn(w),$)!=$){var ge=G.lastIndexOf(w);ge>-1&&(G=G.slice(0,ge))}return G+g}function wee(o){return o=ht(o),o&&wr.test(o)?o.replace(Jt,KU):o}var See=Uo(function(o,s,d){return o+(d?" ":"")+s.toUpperCase()}),G1=J9("toUpperCase");function Uy(o,s,d){return o=ht(o),s=d?n:s,s===n?XU(o)?eY(o):NU(o):o.match(s)||[]}var Yy=Qe(function(o,s){try{return vn(o,n,s)}catch(d){return $1(d)?d:new Ze(d)}}),Iee=_r(function(o,s){return _n(s,function(d){d=ir(d),Er(o,d,D1(o[d],o))}),o});function Eee(o){var s=o==null?0:o.length,d=Fe();return o=s?At(o,function(g){if(typeof g[1]!="function")throw new Pn(l);return[d(g[0]),g[1]]}):[],Qe(function(g){for(var w=-1;++w<s;){var _=o[w];if(vn(_[0],this,g))return vn(_[1],this,g)}})}function Aee(o){return KY(On(o,p))}function H1(o){return function(){return o}}function _ee(o,s){return o==null||o!==o?s:o}var Pee=q9(),Tee=q9(!0);function fn(o){return o}function W1(o){return P9(typeof o=="function"?o:On(o,p))}function Oee(o){return O9(On(o,p))}function Fee(o,s){return F9(o,On(s,p))}var Mee=Qe(function(o,s){return function(d){return ls(d,o,s)}}),Ree=Qe(function(o,s){return function(d){return ls(o,d,s)}});function Z1(o,s,d){var g=Gt(s),w=wu(s,g);d==null&&!(Pt(s)&&(w.length||!g.length))&&(d=s,s=o,o=this,w=wu(s,Gt(s)));var _=!(Pt(d)&&"chain"in d)||!!d.chain,V=Tr(o);return _n(w,function($){var G=s[$];o[$]=G,V&&(o.prototype[$]=function(){var te=this.__chain__;if(_||te){var re=o(this.__wrapped__),se=re.__actions__=ln(this.__actions__);return se.push({func:G,args:arguments,thisArg:o}),re.__chain__=te,re}return G.apply(o,zr([this.value()],arguments))})}),o}function Lee(){return Wt._===this&&(Wt._=aY),this}function X1(){}function Vee(o){return o=Ye(o),Qe(function(s){return M9(s,o)})}var Dee=S1(At),Nee=S1(Q3),$ee=S1(Uh);function Jy(o){return O1(o)?Yh(ir(o)):pJ(o)}function Bee(o){return function(s){return o==null?n:ki(o,s)}}var kee=ey(),jee=ey(!0);function z1(){return[]}function U1(){return!1}function Gee(){return{}}function Hee(){return""}function Wee(){return!0}function Zee(o,s){if(o=Ye(o),o<1||o>Je)return[];var d=R,g=Kt(o,R);s=Fe(s),o-=R;for(var w=qh(g,s);++d<o;)s(d);return w}function Xee(o){return Ue(o)?At(o,ir):Cn(o)?[o]:ln(my(ht(o)))}function zee(o){var s=++iY;return ht(o)+s}var Uee=Pu(function(o,s){return o+s},0),Yee=I1("ceil"),Jee=Pu(function(o,s){return o/s},1),Kee=I1("floor");function qee(o){return o&&o.length?xu(o,fn,u1):n}function Qee(o,s){return o&&o.length?xu(o,Fe(s,2),u1):n}function ete(o){return n9(o,fn)}function tte(o,s){return n9(o,Fe(s,2))}function nte(o){return o&&o.length?xu(o,fn,h1):n}function rte(o,s){return o&&o.length?xu(o,Fe(s,2),h1):n}var ite=Pu(function(o,s){return o*s},1),ote=I1("round"),ate=Pu(function(o,s){return o-s},0);function ste(o){return o&&o.length?Kh(o,fn):0}function lte(o,s){return o&&o.length?Kh(o,Fe(s,2)):0}return I.after=Oq,I.ary=_y,I.assign=vQ,I.assignIn=jy,I.assignInWith=ju,I.assignWith=bQ,I.at=yQ,I.before=Py,I.bind=D1,I.bindAll=Iee,I.bindKey=Ty,I.castArray=Gq,I.chain=Iy,I.chunk=KJ,I.compact=qJ,I.concat=QJ,I.cond=Eee,I.conforms=Aee,I.constant=H1,I.countBy=sq,I.create=CQ,I.curry=Oy,I.curryRight=Fy,I.debounce=My,I.defaults=xQ,I.defaultsDeep=wQ,I.defer=Fq,I.delay=Mq,I.difference=eK,I.differenceBy=tK,I.differenceWith=nK,I.drop=rK,I.dropRight=iK,I.dropRightWhile=oK,I.dropWhile=aK,I.fill=sK,I.filter=uq,I.flatMap=dq,I.flatMapDeep=hq,I.flatMapDepth=pq,I.flatten=Cy,I.flattenDeep=lK,I.flattenDepth=uK,I.flip=Rq,I.flow=Pee,I.flowRight=Tee,I.fromPairs=cK,I.functions=TQ,I.functionsIn=OQ,I.groupBy=gq,I.initial=dK,I.intersection=hK,I.intersectionBy=pK,I.intersectionWith=gK,I.invert=MQ,I.invertBy=RQ,I.invokeMap=vq,I.iteratee=W1,I.keyBy=bq,I.keys=Gt,I.keysIn=cn,I.map=Vu,I.mapKeys=VQ,I.mapValues=DQ,I.matches=Oee,I.matchesProperty=Fee,I.memoize=Nu,I.merge=NQ,I.mergeWith=Gy,I.method=Mee,I.methodOf=Ree,I.mixin=Z1,I.negate=$u,I.nthArg=Vee,I.omit=$Q,I.omitBy=BQ,I.once=Lq,I.orderBy=yq,I.over=Dee,I.overArgs=Vq,I.overEvery=Nee,I.overSome=$ee,I.partial=N1,I.partialRight=Ry,I.partition=Cq,I.pick=kQ,I.pickBy=Hy,I.property=Jy,I.propertyOf=Bee,I.pull=yK,I.pullAll=wy,I.pullAllBy=CK,I.pullAllWith=xK,I.pullAt=wK,I.range=kee,I.rangeRight=jee,I.rearg=Dq,I.reject=Sq,I.remove=SK,I.rest=Nq,I.reverse=L1,I.sampleSize=Eq,I.set=GQ,I.setWith=HQ,I.shuffle=Aq,I.slice=IK,I.sortBy=Tq,I.sortedUniq=FK,I.sortedUniqBy=MK,I.split=dee,I.spread=$q,I.tail=RK,I.take=LK,I.takeRight=VK,I.takeRightWhile=DK,I.takeWhile=NK,I.tap=qK,I.throttle=Bq,I.thru=Lu,I.toArray=$y,I.toPairs=Wy,I.toPairsIn=Zy,I.toPath=Xee,I.toPlainObject=ky,I.transform=WQ,I.unary=kq,I.union=$K,I.unionBy=BK,I.unionWith=kK,I.uniq=jK,I.uniqBy=GK,I.uniqWith=HK,I.unset=ZQ,I.unzip=V1,I.unzipWith=Sy,I.update=XQ,I.updateWith=zQ,I.values=Ko,I.valuesIn=UQ,I.without=WK,I.words=Uy,I.wrap=jq,I.xor=ZK,I.xorBy=XK,I.xorWith=zK,I.zip=UK,I.zipObject=YK,I.zipObjectDeep=JK,I.zipWith=KK,I.entries=Wy,I.entriesIn=Zy,I.extend=jy,I.extendWith=ju,Z1(I,I),I.add=Uee,I.attempt=Yy,I.camelCase=qQ,I.capitalize=Xy,I.ceil=Yee,I.clamp=YQ,I.clone=Hq,I.cloneDeep=Zq,I.cloneDeepWith=Xq,I.cloneWith=Wq,I.conformsTo=zq,I.deburr=zy,I.defaultTo=_ee,I.divide=Jee,I.endsWith=QQ,I.eq=Xn,I.escape=eee,I.escapeRegExp=tee,I.every=lq,I.find=cq,I.findIndex=by,I.findKey=SQ,I.findLast=fq,I.findLastIndex=yy,I.findLastKey=IQ,I.floor=Kee,I.forEach=Ey,I.forEachRight=Ay,I.forIn=EQ,I.forInRight=AQ,I.forOwn=_Q,I.forOwnRight=PQ,I.get=k1,I.gt=Uq,I.gte=Yq,I.has=FQ,I.hasIn=j1,I.head=xy,I.identity=fn,I.includes=mq,I.indexOf=fK,I.inRange=JQ,I.invoke=LQ,I.isArguments=Hi,I.isArray=Ue,I.isArrayBuffer=Jq,I.isArrayLike=un,I.isArrayLikeObject=Lt,I.isBoolean=Kq,I.isBuffer=ei,I.isDate=qq,I.isElement=Qq,I.isEmpty=eQ,I.isEqual=tQ,I.isEqualWith=nQ,I.isError=$1,I.isFinite=rQ,I.isFunction=Tr,I.isInteger=Ly,I.isLength=Bu,I.isMap=Vy,I.isMatch=iQ,I.isMatchWith=oQ,I.isNaN=aQ,I.isNative=sQ,I.isNil=uQ,I.isNull=lQ,I.isNumber=Dy,I.isObject=Pt,I.isObjectLike=Ft,I.isPlainObject=ps,I.isRegExp=B1,I.isSafeInteger=cQ,I.isSet=Ny,I.isString=ku,I.isSymbol=Cn,I.isTypedArray=Jo,I.isUndefined=fQ,I.isWeakMap=dQ,I.isWeakSet=hQ,I.join=mK,I.kebabCase=nee,I.last=Mn,I.lastIndexOf=vK,I.lowerCase=ree,I.lowerFirst=iee,I.lt=pQ,I.lte=gQ,I.max=qee,I.maxBy=Qee,I.mean=ete,I.meanBy=tte,I.min=nte,I.minBy=rte,I.stubArray=z1,I.stubFalse=U1,I.stubObject=Gee,I.stubString=Hee,I.stubTrue=Wee,I.multiply=ite,I.nth=bK,I.noConflict=Lee,I.noop=X1,I.now=Du,I.pad=oee,I.padEnd=aee,I.padStart=see,I.parseInt=lee,I.random=KQ,I.reduce=xq,I.reduceRight=wq,I.repeat=uee,I.replace=cee,I.result=jQ,I.round=ote,I.runInContext=k,I.sample=Iq,I.size=_q,I.snakeCase=fee,I.some=Pq,I.sortedIndex=EK,I.sortedIndexBy=AK,I.sortedIndexOf=_K,I.sortedLastIndex=PK,I.sortedLastIndexBy=TK,I.sortedLastIndexOf=OK,I.startCase=hee,I.startsWith=pee,I.subtract=ate,I.sum=ste,I.sumBy=lte,I.template=gee,I.times=Zee,I.toFinite=Or,I.toInteger=Ye,I.toLength=By,I.toLower=mee,I.toNumber=Rn,I.toSafeInteger=mQ,I.toString=ht,I.toUpper=vee,I.trim=bee,I.trimEnd=yee,I.trimStart=Cee,I.truncate=xee,I.unescape=wee,I.uniqueId=zee,I.upperCase=See,I.upperFirst=G1,I.each=Ey,I.eachRight=Ay,I.first=xy,Z1(I,function(){var o={};return nr(I,function(s,d){pt.call(I.prototype,d)||(o[d]=s)}),o}(),{chain:!1}),I.VERSION=r,_n(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){I[o].placeholder=I}),_n(["drop","take"],function(o,s){nt.prototype[o]=function(d){d=d===n?1:kt(Ye(d),0);var g=this.__filtered__&&!s?new nt(this):this.clone();return g.__filtered__?g.__takeCount__=Kt(d,g.__takeCount__):g.__views__.push({size:Kt(d,R),type:o+(g.__dir__<0?"Right":"")}),g},nt.prototype[o+"Right"]=function(d){return this.reverse()[o](d).reverse()}}),_n(["filter","map","takeWhile"],function(o,s){var d=s+1,g=d==xe||d==Ae;nt.prototype[o]=function(w){var _=this.clone();return _.__iteratees__.push({iteratee:Fe(w,3),type:d}),_.__filtered__=_.__filtered__||g,_}}),_n(["head","last"],function(o,s){var d="take"+(s?"Right":"");nt.prototype[o]=function(){return this[d](1).value()[0]}}),_n(["initial","tail"],function(o,s){var d="drop"+(s?"":"Right");nt.prototype[o]=function(){return this.__filtered__?new nt(this):this[d](1)}}),nt.prototype.compact=function(){return this.filter(fn)},nt.prototype.find=function(o){return this.filter(o).head()},nt.prototype.findLast=function(o){return this.reverse().find(o)},nt.prototype.invokeMap=Qe(function(o,s){return typeof o=="function"?new nt(this):this.map(function(d){return ls(d,o,s)})}),nt.prototype.reject=function(o){return this.filter($u(Fe(o)))},nt.prototype.slice=function(o,s){o=Ye(o);var d=this;return d.__filtered__&&(o>0||s<0)?new nt(d):(o<0?d=d.takeRight(-o):o&&(d=d.drop(o)),s!==n&&(s=Ye(s),d=s<0?d.dropRight(-s):d.take(s-o)),d)},nt.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},nt.prototype.toArray=function(){return this.take(R)},nr(nt.prototype,function(o,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),w=I[g?"take"+(s=="last"?"Right":""):s],_=g||/^find/.test(s);w&&(I.prototype[s]=function(){var V=this.__wrapped__,$=g?[1]:arguments,G=V instanceof nt,te=$[0],re=G||Ue(V),se=function(tt){var it=w.apply(I,zr([tt],$));return g&&ge?it[0]:it};re&&d&&typeof te=="function"&&te.length!=1&&(G=re=!1);var ge=this.__chain__,Ee=!!this.__actions__.length,Ve=_&&!ge,Ke=G&&!Ee;if(!_&&re){V=Ke?V:new nt(this);var De=o.apply(V,$);return De.__actions__.push({func:Lu,args:[se],thisArg:n}),new Tn(De,ge)}return Ve&&Ke?o.apply(this,$):(De=this.thru(se),Ve?g?De.value()[0]:De.value():De)})}),_n(["pop","push","shift","sort","splice","unshift"],function(o){var s=au[o],d=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",g=/^(?:pop|shift)$/.test(o);I.prototype[o]=function(){var w=arguments;if(g&&!this.__chain__){var _=this.value();return s.apply(Ue(_)?_:[],w)}return this[d](function(V){return s.apply(Ue(V)?V:[],w)})}}),nr(nt.prototype,function(o,s){var d=I[s];if(d){var g=d.name+"";pt.call(Zo,g)||(Zo[g]=[]),Zo[g].push({name:s,func:d})}}),Zo[_u(n,P).name]=[{name:"wrapper",func:n}],nt.prototype.clone=wY,nt.prototype.reverse=SY,nt.prototype.value=IY,I.prototype.at=QK,I.prototype.chain=eq,I.prototype.commit=tq,I.prototype.next=nq,I.prototype.plant=iq,I.prototype.reverse=oq,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=aq,I.prototype.first=I.prototype.head,ts&&(I.prototype[ts]=rq),I},Go=tY();Vi?((Vi.exports=Go)._=Go,Wh._=Go):Wt._=Go}).call(or)}(eu,eu.exports);var Gz=eu.exports;function Hz({system:e,classname:t}){switch(e){case"Autenticação":return A.jsx(l4,{className:t});case"Agendamento":return A.jsx(O4,{className:t});case"Portal ADE":return A.jsx($4,{className:t});case"Granéis - Dashboard":return A.jsx(L4,{className:t});case"Granéis - Fiscal":return A.jsx(R4,{className:t});case"Granéis - Embarque":return A.jsx(_4,{className:t});case"Armazém":return A.jsx(I4,{className:t});case"Planejador":return A.jsx(F4,{className:t});case"Granéis - Desembarque":return A.jsx(V4,{className:t});case"Granéis - Recepção Exportação":return A.jsx(tp,{className:t});case"Granéis - Recepção Importação":return A.jsx(tp,{className:t});case"Hubspot":return A.jsx(B4,{className:t});case"Cargo Control":return A.jsx(N4,{className:t});case"Coletor":return A.jsx(M4,{className:t});case"Integrações":return A.jsx(D4,{className:t});case"Eagle":return A.jsx(T4,{className:t});case"Equipamentos":return A.jsx(P4,{className:t});case"Hatchlist":return A.jsx(r4,{className:t});case"Integrações Job":return A.jsx(zu,{className:t});case"Integrações Job HatchList":return A.jsx(zu,{className:t});case"Integrações Job DPW":return A.jsx(zu,{className:t});default:return A.jsx("span",{children:"?"})}}function Wz({onClick:e}){return A.jsx(wd.Button,{onClick:e,children:A.jsx(a4,{className:"w-6 h-6"})})}function Zz({user:e,isDarkMode:t,setIsDarkMode:n,isDebuggMode:r,tenantValue:i,onTenantChange:a,setTheme:l,setLanguage:u,onSelectTerminal:c,logout:f,appNameText:h,availablePortalsText:p,clickToAccessText:m,clickToChangeTerminal:v,nightThemeText:x,logoutText:S,isOpen:E,terminalName:P,isMultiTerminal:M=!1}){const L=["DPW","T32","BRC","ITACEL"];return A.jsx(Bs,{children:E&&A.jsx(Ji.div,{transition:{type:"spring"},initial:{opacity:0,y:"-10%"},animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"-10%"},className:et("w-[415px]","bg-gradient-to-r from-brand to-brand-secondary","rounded-lg rounded-tr-none pt-8","absolute top-16 right-4"),onClick:D=>D.stopPropagation(),children:A.jsx("div",{className:"w-full h-full bg-white rounded-lg rounded-tr-none dark:bg-brand-text",children:A.jsx("div",{className:"w-full px-3",children:A.jsxs("div",{className:"flex flex-col items-center justify-center transform -translate-y-5",children:[A.jsx(rp,{size:"md"}),A.jsx("span",{className:"text-xs text-brand-text dark:text-white pt-2.5 pb-px",children:e==null?void 0:e.nome}),A.jsx("span",{className:" text-[0.625rem] text-brand-dark-gray pb-1.5",children:e==null?void 0:e.email}),A.jsx(Uz,{children:A.jsx(x4,{className:"w-4 h-4"})}),A.jsxs("div",{className:"pt-3 pb-3.5 space-x-2 flex",children:[A.jsxs(E3,{onClick:()=>u("pt-br"),children:[A.jsx(w4,{})," Navegar em português"]}),A.jsxs(E3,{onClick:()=>u("en-us"),children:[A.jsx(S4,{})," Browse in English"]})]}),A.jsxs("div",{className:"flex justify-center items-center mb-4 gap-2",children:[M&&A.jsx("div",{className:"w-48",children:A.jsx(Ki,{variant:"primary",onClick:c,children:A.jsxs("div",{className:"p-4",children:[A.jsxs("p",{className:"text-xs",children:["Terminal:"," ",A.jsx("b",{children:P??""})]}),A.jsx("p",{className:"text-xs",children:v})]})})}),r&&A.jsx("div",{className:"w-48",children:A.jsx(b5,{name:"tenant",label:"Cliente",options:L.map(D=>({value:D,label:D})),onChange:a,value:i?{value:i,label:i}:[]})})]}),A.jsxs("div",{className:"w-full pt-3 pb-4 border-y",children:[A.jsxs("p",{className:"text-xs text-brand-text dark:text-white",children:[p," ",A.jsxs("span",{className:"text-brand-dark-gray",children:["(",m,")"]})]}),A.jsx("div",{className:"grid grid-cols-12 gap-3 children:col-span-3 py-3.5 overflow-y-scroll max-h-60",children:Gz.sortBy(e.portais,["descricao"]).map((D,N)=>{const z=h===D.nome;return A.jsxs(Bs,{mode:"wait",children:["isOpen && (",A.jsxs(Ji.a,{href:D.endereco,initial:{opacity:0,y:"100%"},animate:{opacity:1,y:0},exit:{opacity:0,y:"-100%"},transition:{type:"tween",delay:N*(50/1e3)},className:"text-center children:mx-auto",children:[A.jsx("div",{className:et("flex items-center justify-center transition rounded-md w-11 h-9 shadow-action-button hover:shadow-action-button-hover",{"bg-brand-secondary text-white shadow-action-button-hover":z,"bg-white dark:text-white dark:bg-brand-secondary-text text-brand hover:bg-brand-secondary dark:hover:bg-brand-secondary hover:text-white":!z}),children:A.jsx(Hz,{system:D.descricao,classname:"w-6 h-6"})}),A.jsx("span",{className:"text-xs text-center text-brand-text dark:text-white",children:D.nome})]},"portal-item-"+D.descricao),")"]},N)})})]}),A.jsxs("div",{className:"flex items-center justify-between w-full pt-4",children:[A.jsxs("div",{className:"flex items-center gap-0.5",children:[A.jsx(Xz,{isDarkMode:t,setIsDarkMode:n,setTheme:l}),A.jsx("span",{className:et({"text-brand-secondary":t,"text-brand-secondary-text":!t},"text-xs"),children:x})]}),A.jsxs("div",{onClick:f,className:"flex items-center gap-1 cursor-pointer",children:[A.jsx(u4,{}),A.jsx("span",{className:"text-xs text-brand-dark-gray dark:text-brand-light-gray",children:S})]})]})]})})})},"user-menu-container")})}function Xz({isDarkMode:e,setIsDarkMode:t,setTheme:n}){return b.useEffect(()=>{n()},[e]),A.jsxs(z5,{onChange:t,checked:e,className:et({"bg-brand-dark-gray-dark text-brand-secondary":e,"bg-brand-gray":!e,peer:e},"h-[22px] w-[44px]","shrink-0 cursor-pointer","relative","rounded-full text-white","border-2 border-transparent","transition-colors duration-200 ease-in-out","focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75"),children:[A.jsx("span",{className:"sr-only",children:"Dark theme?"}),A.jsx(Bs,{children:A.jsx("div",{className:"flex items-center w-full",children:e?A.jsx(c4,{className:"w-4 translate-x-5"}):A.jsx(zz,{})})})]})}function zz(){return A.jsx(Ji.svg,{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/motion.svg",initial:{opacity:0,translateX:"100%"},animate:{opacity:1,translateX:"5%"},exit:{opacity:0,translateX:"100%"},children:A.jsx("path",{d:"m 0 9 a 9 9 0 1 1 18 0 A 9 9 0 1 1 0 9",fill:"currentColor"})},"dark-theme-off")}function Uz({children:e}){return A.jsx("button",{className:"flex items-center justify-center bg-brand-gray text-brand-text w-[25px] h-[25px] rounded-full my-px cursor-default",children:e})}function E3({children:e,onClick:t}){return A.jsx("button",{onClick:t,className:et("bg-brand-light-gray dark:bg-brand-dark-gray-dark hover:bg-brand dark:hover:bg-brand","text-brand-secondary-text dark:text-white hover:text-brand-light-gray","rounded-lg px-2 py-1.5 text-xs transition","flex gap-2"),children:e})}function Yz({user:e,isDarkMode:t,setIsDarkMode:n,isDebuggMode:r,tenantValue:i,onTenantChange:a,setTheme:l,setLanguage:u,onSelectTerminal:c,logout:f,appNameText:h,availablePortalsText:p,clickToAccessText:m,clickToChangeTerminal:v,nightThemeText:x,logoutText:S,isOpen:E,setOpen:P,terminalName:M,isMultiTerminal:L=!1}){function D(){P(z=>!z)}function N(){P(!1)}return A.jsxs(A.Fragment,{children:[A.jsx(Wz,{onClick:D}),A.jsx(ks,{isOpen:E,close:N,children:A.jsx(Zz,{user:e,isDarkMode:t,setIsDarkMode:n,isDebuggMode:r,tenantValue:i,onTenantChange:a,setTheme:l,setLanguage:u,onSelectTerminal:c,logout:f,appNameText:h,availablePortalsText:p,clickToAccessText:m,clickToChangeTerminal:v,nightThemeText:x,logoutText:S,isOpen:E,terminalName:M,isMultiTerminal:L})})]})}var Jz=process.env.NODE_ENV==="production";function Do(e,t){if(!Jz){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}function $h(){return $h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$h.apply(this,arguments)}function Kz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var tu=b.createContext(void 0);tu.displayName="FormikContext",tu.Provider,tu.Consumer;function A3(){var e=b.useContext(tu);return e||(process.env.NODE_ENV!=="production"?Do(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):Do(!1)),e}var qz=function(t){return t!==null&&typeof t=="object"};function Qz(e){var t=A3(),n=t.getFieldProps,r=t.getFieldMeta,i=t.getFieldHelpers,a=t.registerField,l=t.unregisterField,u=qz(e),c=u?e:{name:e},f=c.name,h=c.validate;b.useEffect(function(){return f&&a(f,{validate:h}),function(){f&&l(f)}},[a,l,f,h]),process.env.NODE_ENV!=="production"&&(t||(process.env.NODE_ENV!=="production"?Do(!1,"useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component"):Do(!1))),f||(process.env.NODE_ENV!=="production"?Do(!1,"Invalid field name. Either pass `useField` a string or an object containing a `name` key."):Do(!1));var p=b.useMemo(function(){return i(f)},[i,f]);return[n(c),r(f),p]}var eU=b.forwardRef(function(e,t){var n=e.action,r=Kz(e,["action"]),i=n??"#",a=A3(),l=a.handleReset,u=a.handleSubmit;return b.createElement("form",$h({onSubmit:u,ref:t,onReset:l,action:i},r))});eU.displayName="Form";const tU=({name:e,helper:t,onChange:n,onBlur:r,...i})=>{const[a,{error:l},{setValue:u,setTouched:c}]=Qz(e),f=p=>{const m=i.type==="color"?p:p.target.value;u(m),n&&n(m)},h=()=>{c(!0),r&&r()};return A.jsx(A.Fragment,{children:A.jsx(Z2,{error:l,name:a.name,value:a.value,onChange:f,onBlur:h,helper:t,...i})})};je.Avatar=rp,je.Backdrop=ks,je.BaseField=tU,je.Button=Ki,je.Card=K7,je.Checkbox=q7,je.ColorPicker=V2,je.Dialog=zk,je.DualListBox=rj,je.ErrorMessage=pd,je.Header=ij,je.HelperMessage=gd,je.Input=Z2,je.Label=xd,je.Navbar=wd,je.Radio=dj,je.Select=b5,je.SideMenu=bX,je.Spinner=hd,je.Switch=nz,je.Table=Dz,je.TableAction=Nz,je.TablePagination=Lz,je.Tooltip=I3,je.UploadFile=jz,je.UserMenu=Yz,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})});
217
+ }`;var Ke=Yy(function(){return ct(_,Ae+"return "+se).apply(n,V)});if(Ke.source=se,$1(Ke))throw Ke;return Ke}function mee(o){return ht(o).toLowerCase()}function vee(o){return ht(o).toUpperCase()}function bee(o,s,d){if(o=ht(o),o&&(d||s===n))return i9(o);if(!o||!(s=yn(s)))return o;var g=Wn(o),w=Wn(s),_=o9(g,w),V=a9(g,w)+1;return Qr(g,_,V).join("")}function yee(o,s,d){if(o=ht(o),o&&(d||s===n))return o.slice(0,l9(o)+1);if(!o||!(s=yn(s)))return o;var g=Wn(o),w=a9(g,Wn(s))+1;return Qr(g,0,w).join("")}function Cee(o,s,d){if(o=ht(o),o&&(d||s===n))return o.replace(Ri,"");if(!o||!(s=yn(s)))return o;var g=Wn(o),w=o9(g,Wn(s));return Qr(g,w).join("")}function xee(o,s){var d=Te,g=Ge;if(Pt(s)){var w="separator"in s?s.separator:w;d="length"in s?Ye(s.length):d,g="omission"in s?yn(s.omission):g}o=ht(o);var _=o.length;if(ko(o)){var V=Wn(o);_=V.length}if(d>=_)return o;var $=d-jo(g);if($<1)return g;var G=V?Qr(V,0,$).join(""):o.slice(0,$);if(w===n)return G+g;if(V&&($+=G.length-$),B1(w)){if(o.slice($).search(w)){var te,re=G;for(w.global||(w=t1(w.source,ht(_e.exec(w))+"g")),w.lastIndex=0;te=w.exec(re);)var se=te.index;G=G.slice(0,se===n?$:se)}}else if(o.indexOf(yn(w),$)!=$){var ge=G.lastIndexOf(w);ge>-1&&(G=G.slice(0,ge))}return G+g}function wee(o){return o=ht(o),o&&wr.test(o)?o.replace(Jt,KU):o}var See=Uo(function(o,s,d){return o+(d?" ":"")+s.toUpperCase()}),G1=J9("toUpperCase");function Uy(o,s,d){return o=ht(o),s=d?n:s,s===n?XU(o)?eY(o):NU(o):o.match(s)||[]}var Yy=Qe(function(o,s){try{return vn(o,n,s)}catch(d){return $1(d)?d:new Ze(d)}}),Iee=_r(function(o,s){return _n(s,function(d){d=ir(d),Er(o,d,D1(o[d],o))}),o});function Eee(o){var s=o==null?0:o.length,d=Fe();return o=s?At(o,function(g){if(typeof g[1]!="function")throw new Pn(l);return[d(g[0]),g[1]]}):[],Qe(function(g){for(var w=-1;++w<s;){var _=o[w];if(vn(_[0],this,g))return vn(_[1],this,g)}})}function Aee(o){return KY(On(o,p))}function H1(o){return function(){return o}}function _ee(o,s){return o==null||o!==o?s:o}var Pee=q9(),Tee=q9(!0);function fn(o){return o}function W1(o){return P9(typeof o=="function"?o:On(o,p))}function Oee(o){return O9(On(o,p))}function Fee(o,s){return F9(o,On(s,p))}var Mee=Qe(function(o,s){return function(d){return ls(d,o,s)}}),Ree=Qe(function(o,s){return function(d){return ls(o,d,s)}});function Z1(o,s,d){var g=Gt(s),w=wu(s,g);d==null&&!(Pt(s)&&(w.length||!g.length))&&(d=s,s=o,o=this,w=wu(s,Gt(s)));var _=!(Pt(d)&&"chain"in d)||!!d.chain,V=Tr(o);return _n(w,function($){var G=s[$];o[$]=G,V&&(o.prototype[$]=function(){var te=this.__chain__;if(_||te){var re=o(this.__wrapped__),se=re.__actions__=ln(this.__actions__);return se.push({func:G,args:arguments,thisArg:o}),re.__chain__=te,re}return G.apply(o,zr([this.value()],arguments))})}),o}function Lee(){return Wt._===this&&(Wt._=aY),this}function X1(){}function Vee(o){return o=Ye(o),Qe(function(s){return M9(s,o)})}var Dee=S1(At),Nee=S1(Q3),$ee=S1(Uh);function Jy(o){return O1(o)?Yh(ir(o)):pJ(o)}function Bee(o){return function(s){return o==null?n:ki(o,s)}}var kee=ey(),jee=ey(!0);function z1(){return[]}function U1(){return!1}function Gee(){return{}}function Hee(){return""}function Wee(){return!0}function Zee(o,s){if(o=Ye(o),o<1||o>Je)return[];var d=R,g=Kt(o,R);s=Fe(s),o-=R;for(var w=qh(g,s);++d<o;)s(d);return w}function Xee(o){return Ue(o)?At(o,ir):Cn(o)?[o]:ln(my(ht(o)))}function zee(o){var s=++iY;return ht(o)+s}var Uee=Pu(function(o,s){return o+s},0),Yee=I1("ceil"),Jee=Pu(function(o,s){return o/s},1),Kee=I1("floor");function qee(o){return o&&o.length?xu(o,fn,u1):n}function Qee(o,s){return o&&o.length?xu(o,Fe(s,2),u1):n}function ete(o){return n9(o,fn)}function tte(o,s){return n9(o,Fe(s,2))}function nte(o){return o&&o.length?xu(o,fn,h1):n}function rte(o,s){return o&&o.length?xu(o,Fe(s,2),h1):n}var ite=Pu(function(o,s){return o*s},1),ote=I1("round"),ate=Pu(function(o,s){return o-s},0);function ste(o){return o&&o.length?Kh(o,fn):0}function lte(o,s){return o&&o.length?Kh(o,Fe(s,2)):0}return I.after=Oq,I.ary=_y,I.assign=vQ,I.assignIn=jy,I.assignInWith=ju,I.assignWith=bQ,I.at=yQ,I.before=Py,I.bind=D1,I.bindAll=Iee,I.bindKey=Ty,I.castArray=Gq,I.chain=Iy,I.chunk=KJ,I.compact=qJ,I.concat=QJ,I.cond=Eee,I.conforms=Aee,I.constant=H1,I.countBy=sq,I.create=CQ,I.curry=Oy,I.curryRight=Fy,I.debounce=My,I.defaults=xQ,I.defaultsDeep=wQ,I.defer=Fq,I.delay=Mq,I.difference=eK,I.differenceBy=tK,I.differenceWith=nK,I.drop=rK,I.dropRight=iK,I.dropRightWhile=oK,I.dropWhile=aK,I.fill=sK,I.filter=uq,I.flatMap=dq,I.flatMapDeep=hq,I.flatMapDepth=pq,I.flatten=Cy,I.flattenDeep=lK,I.flattenDepth=uK,I.flip=Rq,I.flow=Pee,I.flowRight=Tee,I.fromPairs=cK,I.functions=TQ,I.functionsIn=OQ,I.groupBy=gq,I.initial=dK,I.intersection=hK,I.intersectionBy=pK,I.intersectionWith=gK,I.invert=MQ,I.invertBy=RQ,I.invokeMap=vq,I.iteratee=W1,I.keyBy=bq,I.keys=Gt,I.keysIn=cn,I.map=Vu,I.mapKeys=VQ,I.mapValues=DQ,I.matches=Oee,I.matchesProperty=Fee,I.memoize=Nu,I.merge=NQ,I.mergeWith=Gy,I.method=Mee,I.methodOf=Ree,I.mixin=Z1,I.negate=$u,I.nthArg=Vee,I.omit=$Q,I.omitBy=BQ,I.once=Lq,I.orderBy=yq,I.over=Dee,I.overArgs=Vq,I.overEvery=Nee,I.overSome=$ee,I.partial=N1,I.partialRight=Ry,I.partition=Cq,I.pick=kQ,I.pickBy=Hy,I.property=Jy,I.propertyOf=Bee,I.pull=yK,I.pullAll=wy,I.pullAllBy=CK,I.pullAllWith=xK,I.pullAt=wK,I.range=kee,I.rangeRight=jee,I.rearg=Dq,I.reject=Sq,I.remove=SK,I.rest=Nq,I.reverse=L1,I.sampleSize=Eq,I.set=GQ,I.setWith=HQ,I.shuffle=Aq,I.slice=IK,I.sortBy=Tq,I.sortedUniq=FK,I.sortedUniqBy=MK,I.split=dee,I.spread=$q,I.tail=RK,I.take=LK,I.takeRight=VK,I.takeRightWhile=DK,I.takeWhile=NK,I.tap=qK,I.throttle=Bq,I.thru=Lu,I.toArray=$y,I.toPairs=Wy,I.toPairsIn=Zy,I.toPath=Xee,I.toPlainObject=ky,I.transform=WQ,I.unary=kq,I.union=$K,I.unionBy=BK,I.unionWith=kK,I.uniq=jK,I.uniqBy=GK,I.uniqWith=HK,I.unset=ZQ,I.unzip=V1,I.unzipWith=Sy,I.update=XQ,I.updateWith=zQ,I.values=Ko,I.valuesIn=UQ,I.without=WK,I.words=Uy,I.wrap=jq,I.xor=ZK,I.xorBy=XK,I.xorWith=zK,I.zip=UK,I.zipObject=YK,I.zipObjectDeep=JK,I.zipWith=KK,I.entries=Wy,I.entriesIn=Zy,I.extend=jy,I.extendWith=ju,Z1(I,I),I.add=Uee,I.attempt=Yy,I.camelCase=qQ,I.capitalize=Xy,I.ceil=Yee,I.clamp=YQ,I.clone=Hq,I.cloneDeep=Zq,I.cloneDeepWith=Xq,I.cloneWith=Wq,I.conformsTo=zq,I.deburr=zy,I.defaultTo=_ee,I.divide=Jee,I.endsWith=QQ,I.eq=Xn,I.escape=eee,I.escapeRegExp=tee,I.every=lq,I.find=cq,I.findIndex=by,I.findKey=SQ,I.findLast=fq,I.findLastIndex=yy,I.findLastKey=IQ,I.floor=Kee,I.forEach=Ey,I.forEachRight=Ay,I.forIn=EQ,I.forInRight=AQ,I.forOwn=_Q,I.forOwnRight=PQ,I.get=k1,I.gt=Uq,I.gte=Yq,I.has=FQ,I.hasIn=j1,I.head=xy,I.identity=fn,I.includes=mq,I.indexOf=fK,I.inRange=JQ,I.invoke=LQ,I.isArguments=Hi,I.isArray=Ue,I.isArrayBuffer=Jq,I.isArrayLike=un,I.isArrayLikeObject=Lt,I.isBoolean=Kq,I.isBuffer=ei,I.isDate=qq,I.isElement=Qq,I.isEmpty=eQ,I.isEqual=tQ,I.isEqualWith=nQ,I.isError=$1,I.isFinite=rQ,I.isFunction=Tr,I.isInteger=Ly,I.isLength=Bu,I.isMap=Vy,I.isMatch=iQ,I.isMatchWith=oQ,I.isNaN=aQ,I.isNative=sQ,I.isNil=uQ,I.isNull=lQ,I.isNumber=Dy,I.isObject=Pt,I.isObjectLike=Ft,I.isPlainObject=ps,I.isRegExp=B1,I.isSafeInteger=cQ,I.isSet=Ny,I.isString=ku,I.isSymbol=Cn,I.isTypedArray=Jo,I.isUndefined=fQ,I.isWeakMap=dQ,I.isWeakSet=hQ,I.join=mK,I.kebabCase=nee,I.last=Mn,I.lastIndexOf=vK,I.lowerCase=ree,I.lowerFirst=iee,I.lt=pQ,I.lte=gQ,I.max=qee,I.maxBy=Qee,I.mean=ete,I.meanBy=tte,I.min=nte,I.minBy=rte,I.stubArray=z1,I.stubFalse=U1,I.stubObject=Gee,I.stubString=Hee,I.stubTrue=Wee,I.multiply=ite,I.nth=bK,I.noConflict=Lee,I.noop=X1,I.now=Du,I.pad=oee,I.padEnd=aee,I.padStart=see,I.parseInt=lee,I.random=KQ,I.reduce=xq,I.reduceRight=wq,I.repeat=uee,I.replace=cee,I.result=jQ,I.round=ote,I.runInContext=k,I.sample=Iq,I.size=_q,I.snakeCase=fee,I.some=Pq,I.sortedIndex=EK,I.sortedIndexBy=AK,I.sortedIndexOf=_K,I.sortedLastIndex=PK,I.sortedLastIndexBy=TK,I.sortedLastIndexOf=OK,I.startCase=hee,I.startsWith=pee,I.subtract=ate,I.sum=ste,I.sumBy=lte,I.template=gee,I.times=Zee,I.toFinite=Or,I.toInteger=Ye,I.toLength=By,I.toLower=mee,I.toNumber=Rn,I.toSafeInteger=mQ,I.toString=ht,I.toUpper=vee,I.trim=bee,I.trimEnd=yee,I.trimStart=Cee,I.truncate=xee,I.unescape=wee,I.uniqueId=zee,I.upperCase=See,I.upperFirst=G1,I.each=Ey,I.eachRight=Ay,I.first=xy,Z1(I,function(){var o={};return nr(I,function(s,d){pt.call(I.prototype,d)||(o[d]=s)}),o}(),{chain:!1}),I.VERSION=r,_n(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){I[o].placeholder=I}),_n(["drop","take"],function(o,s){nt.prototype[o]=function(d){d=d===n?1:kt(Ye(d),0);var g=this.__filtered__&&!s?new nt(this):this.clone();return g.__filtered__?g.__takeCount__=Kt(d,g.__takeCount__):g.__views__.push({size:Kt(d,R),type:o+(g.__dir__<0?"Right":"")}),g},nt.prototype[o+"Right"]=function(d){return this.reverse()[o](d).reverse()}}),_n(["filter","map","takeWhile"],function(o,s){var d=s+1,g=d==xe||d==Ee;nt.prototype[o]=function(w){var _=this.clone();return _.__iteratees__.push({iteratee:Fe(w,3),type:d}),_.__filtered__=_.__filtered__||g,_}}),_n(["head","last"],function(o,s){var d="take"+(s?"Right":"");nt.prototype[o]=function(){return this[d](1).value()[0]}}),_n(["initial","tail"],function(o,s){var d="drop"+(s?"":"Right");nt.prototype[o]=function(){return this.__filtered__?new nt(this):this[d](1)}}),nt.prototype.compact=function(){return this.filter(fn)},nt.prototype.find=function(o){return this.filter(o).head()},nt.prototype.findLast=function(o){return this.reverse().find(o)},nt.prototype.invokeMap=Qe(function(o,s){return typeof o=="function"?new nt(this):this.map(function(d){return ls(d,o,s)})}),nt.prototype.reject=function(o){return this.filter($u(Fe(o)))},nt.prototype.slice=function(o,s){o=Ye(o);var d=this;return d.__filtered__&&(o>0||s<0)?new nt(d):(o<0?d=d.takeRight(-o):o&&(d=d.drop(o)),s!==n&&(s=Ye(s),d=s<0?d.dropRight(-s):d.take(s-o)),d)},nt.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},nt.prototype.toArray=function(){return this.take(R)},nr(nt.prototype,function(o,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),w=I[g?"take"+(s=="last"?"Right":""):s],_=g||/^find/.test(s);w&&(I.prototype[s]=function(){var V=this.__wrapped__,$=g?[1]:arguments,G=V instanceof nt,te=$[0],re=G||Ue(V),se=function(tt){var it=w.apply(I,zr([tt],$));return g&&ge?it[0]:it};re&&d&&typeof te=="function"&&te.length!=1&&(G=re=!1);var ge=this.__chain__,Ae=!!this.__actions__.length,Ve=_&&!ge,Ke=G&&!Ae;if(!_&&re){V=Ke?V:new nt(this);var De=o.apply(V,$);return De.__actions__.push({func:Lu,args:[se],thisArg:n}),new Tn(De,ge)}return Ve&&Ke?o.apply(this,$):(De=this.thru(se),Ve?g?De.value()[0]:De.value():De)})}),_n(["pop","push","shift","sort","splice","unshift"],function(o){var s=au[o],d=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",g=/^(?:pop|shift)$/.test(o);I.prototype[o]=function(){var w=arguments;if(g&&!this.__chain__){var _=this.value();return s.apply(Ue(_)?_:[],w)}return this[d](function(V){return s.apply(Ue(V)?V:[],w)})}}),nr(nt.prototype,function(o,s){var d=I[s];if(d){var g=d.name+"";pt.call(Zo,g)||(Zo[g]=[]),Zo[g].push({name:s,func:d})}}),Zo[_u(n,P).name]=[{name:"wrapper",func:n}],nt.prototype.clone=wY,nt.prototype.reverse=SY,nt.prototype.value=IY,I.prototype.at=QK,I.prototype.chain=eq,I.prototype.commit=tq,I.prototype.next=nq,I.prototype.plant=iq,I.prototype.reverse=oq,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=aq,I.prototype.first=I.prototype.head,ts&&(I.prototype[ts]=rq),I},Go=tY();Vi?((Vi.exports=Go)._=Go,Wh._=Go):Wt._=Go}).call(or)}(eu,eu.exports);var Gz=eu.exports;function Hz({system:e,classname:t}){switch(e){case"Autenticação":return A.jsx(l4,{className:t});case"Agendamento":return A.jsx(O4,{className:t});case"Portal ADE":return A.jsx($4,{className:t});case"Granéis - Dashboard":return A.jsx(L4,{className:t});case"Granéis - Fiscal":return A.jsx(R4,{className:t});case"Granéis - Embarque":return A.jsx(_4,{className:t});case"Armazém":return A.jsx(I4,{className:t});case"Planejador":return A.jsx(F4,{className:t});case"Granéis - Desembarque":return A.jsx(V4,{className:t});case"Granéis - Recepção Exportação":return A.jsx(tp,{className:t});case"Granéis - Recepção Importação":return A.jsx(tp,{className:t});case"Hubspot":return A.jsx(B4,{className:t});case"Cargo Control":return A.jsx(N4,{className:t});case"Coletor":return A.jsx(M4,{className:t});case"Integrações":return A.jsx(D4,{className:t});case"Eagle":return A.jsx(T4,{className:t});case"Equipamentos":return A.jsx(P4,{className:t});case"Hatchlist":return A.jsx(r4,{className:t});case"Integrações Job":return A.jsx(zu,{className:t});case"Integrações Job HatchList":return A.jsx(zu,{className:t});case"Integrações Job DPW":return A.jsx(zu,{className:t});default:return A.jsx("span",{children:"?"})}}function Wz({onClick:e}){return A.jsx(wd.Button,{onClick:e,children:A.jsx(a4,{className:"w-6 h-6"})})}function Zz({user:e,isDarkMode:t,setIsDarkMode:n,isDebuggMode:r,tenantValue:i,onTenantChange:a,setTheme:l,setLanguage:u,onSelectTerminal:c,logout:f,appNameText:h,availablePortalsText:p,clickToAccessText:m,clickToChangeTerminal:v,nightThemeText:x,logoutText:S,isOpen:E,terminalName:P,isMultiTerminal:M=!1}){const L=["DPW","T32","BRC","ITACEL"];return A.jsx(Bs,{children:E&&A.jsx(Ji.div,{transition:{type:"spring"},initial:{opacity:0,y:"-10%"},animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"-10%"},className:et("w-[415px]","bg-gradient-to-r from-brand to-brand-secondary","rounded-lg rounded-tr-none pt-8","absolute top-16 right-4"),onClick:D=>D.stopPropagation(),children:A.jsx("div",{className:"w-full h-full bg-white rounded-lg rounded-tr-none dark:bg-brand-text",children:A.jsx("div",{className:"w-full px-3",children:A.jsxs("div",{className:"flex flex-col items-center justify-center transform -translate-y-5",children:[A.jsx(rp,{size:"md"}),A.jsx("span",{className:"text-xs text-brand-text dark:text-white pt-2.5 pb-px",children:e==null?void 0:e.nome}),A.jsx("span",{className:" text-[0.625rem] text-brand-dark-gray pb-1.5",children:e==null?void 0:e.email}),A.jsx(Uz,{children:A.jsx(x4,{className:"w-4 h-4"})}),A.jsxs("div",{className:"pt-3 pb-3.5 space-x-2 flex",children:[A.jsxs(E3,{onClick:()=>u("pt-br"),children:[A.jsx(w4,{})," Navegar em português"]}),A.jsxs(E3,{onClick:()=>u("en-us"),children:[A.jsx(S4,{})," Browse in English"]})]}),A.jsxs("div",{className:"flex justify-center items-center mb-4 gap-2",children:[M&&A.jsx("div",{className:"w-48",children:A.jsx(Ki,{variant:"primary",onClick:c,children:A.jsxs("div",{className:"p-4",children:[A.jsxs("p",{className:"text-xs",children:["Terminal:"," ",A.jsx("b",{children:P??""})]}),A.jsx("p",{className:"text-xs",children:v})]})})}),r&&A.jsx("div",{className:"w-48",children:A.jsx(b5,{name:"tenant",label:"Cliente",options:L.map(D=>({value:D,label:D})),onChange:a,value:i?{value:i,label:i}:[]})})]}),A.jsxs("div",{className:"w-full pt-3 pb-4 border-y",children:[A.jsxs("p",{className:"text-xs text-brand-text dark:text-white",children:[p," ",A.jsxs("span",{className:"text-brand-dark-gray",children:["(",m,")"]})]}),A.jsx("div",{className:"grid grid-cols-12 gap-3 children:col-span-3 py-3.5 overflow-y-scroll max-h-60",children:Gz.sortBy(e.portais,["descricao"]).map((D,N)=>{const z=h===D.nome;return A.jsxs(Bs,{mode:"wait",children:["isOpen && (",A.jsxs(Ji.a,{href:D.endereco,initial:{opacity:0,y:"100%"},animate:{opacity:1,y:0},exit:{opacity:0,y:"-100%"},transition:{type:"tween",delay:N*(50/1e3)},className:"text-center children:mx-auto",children:[A.jsx("div",{className:et("flex items-center justify-center transition rounded-md w-11 h-9 shadow-action-button hover:shadow-action-button-hover",{"bg-brand-secondary text-white shadow-action-button-hover":z,"bg-white dark:text-white dark:bg-brand-secondary-text text-brand hover:bg-brand-secondary dark:hover:bg-brand-secondary hover:text-white":!z}),children:A.jsx(Hz,{system:D.descricao,classname:"w-6 h-6"})}),A.jsx("span",{className:"text-xs text-center text-brand-text dark:text-white",children:D.nome})]},"portal-item-"+D.descricao),")"]},N)})})]}),A.jsxs("div",{className:"flex items-center justify-between w-full pt-4",children:[A.jsxs("div",{className:"flex items-center gap-0.5",children:[A.jsx(Xz,{isDarkMode:t,setIsDarkMode:n,setTheme:l}),A.jsx("span",{className:et({"text-brand-secondary":t,"text-brand-secondary-text":!t},"text-xs"),children:x})]}),A.jsxs("div",{onClick:f,className:"flex items-center gap-1 cursor-pointer",children:[A.jsx(u4,{}),A.jsx("span",{className:"text-xs text-brand-dark-gray dark:text-brand-light-gray",children:S})]})]})]})})})},"user-menu-container")})}function Xz({isDarkMode:e,setIsDarkMode:t,setTheme:n}){return b.useEffect(()=>{n()},[e]),A.jsxs(z5,{onChange:t,checked:e,className:et({"bg-brand-dark-gray-dark text-brand-secondary":e,"bg-brand-gray":!e,peer:e},"h-[22px] w-[44px]","shrink-0 cursor-pointer","relative","rounded-full text-white","border-2 border-transparent","transition-colors duration-200 ease-in-out","focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75"),children:[A.jsx("span",{className:"sr-only",children:"Dark theme?"}),A.jsx(Bs,{children:A.jsx("div",{className:"flex items-center w-full",children:e?A.jsx(c4,{className:"w-4 translate-x-5"}):A.jsx(zz,{})})})]})}function zz(){return A.jsx(Ji.svg,{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/motion.svg",initial:{opacity:0,translateX:"100%"},animate:{opacity:1,translateX:"5%"},exit:{opacity:0,translateX:"100%"},children:A.jsx("path",{d:"m 0 9 a 9 9 0 1 1 18 0 A 9 9 0 1 1 0 9",fill:"currentColor"})},"dark-theme-off")}function Uz({children:e}){return A.jsx("button",{className:"flex items-center justify-center bg-brand-gray text-brand-text w-[25px] h-[25px] rounded-full my-px cursor-default",children:e})}function E3({children:e,onClick:t}){return A.jsx("button",{onClick:t,className:et("bg-brand-light-gray dark:bg-brand-dark-gray-dark hover:bg-brand dark:hover:bg-brand","text-brand-secondary-text dark:text-white hover:text-brand-light-gray","rounded-lg px-2 py-1.5 text-xs transition","flex gap-2"),children:e})}function Yz({user:e,isDarkMode:t,setIsDarkMode:n,isDebuggMode:r,tenantValue:i,onTenantChange:a,setTheme:l,setLanguage:u,onSelectTerminal:c,logout:f,appNameText:h,availablePortalsText:p,clickToAccessText:m,clickToChangeTerminal:v,nightThemeText:x,logoutText:S,isOpen:E,setOpen:P,terminalName:M,isMultiTerminal:L=!1}){function D(){P(z=>!z)}function N(){P(!1)}return A.jsxs(A.Fragment,{children:[A.jsx(Wz,{onClick:D}),A.jsx(ks,{isOpen:E,close:N,children:A.jsx(Zz,{user:e,isDarkMode:t,setIsDarkMode:n,isDebuggMode:r,tenantValue:i,onTenantChange:a,setTheme:l,setLanguage:u,onSelectTerminal:c,logout:f,appNameText:h,availablePortalsText:p,clickToAccessText:m,clickToChangeTerminal:v,nightThemeText:x,logoutText:S,isOpen:E,terminalName:M,isMultiTerminal:L})})]})}var Jz=process.env.NODE_ENV==="production";function Do(e,t){if(!Jz){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}function $h(){return $h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$h.apply(this,arguments)}function Kz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var tu=b.createContext(void 0);tu.displayName="FormikContext",tu.Provider,tu.Consumer;function A3(){var e=b.useContext(tu);return e||(process.env.NODE_ENV!=="production"?Do(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):Do(!1)),e}var qz=function(t){return t!==null&&typeof t=="object"};function Qz(e){var t=A3(),n=t.getFieldProps,r=t.getFieldMeta,i=t.getFieldHelpers,a=t.registerField,l=t.unregisterField,u=qz(e),c=u?e:{name:e},f=c.name,h=c.validate;b.useEffect(function(){return f&&a(f,{validate:h}),function(){f&&l(f)}},[a,l,f,h]),process.env.NODE_ENV!=="production"&&(t||(process.env.NODE_ENV!=="production"?Do(!1,"useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component"):Do(!1))),f||(process.env.NODE_ENV!=="production"?Do(!1,"Invalid field name. Either pass `useField` a string or an object containing a `name` key."):Do(!1));var p=b.useMemo(function(){return i(f)},[i,f]);return[n(c),r(f),p]}var eU=b.forwardRef(function(e,t){var n=e.action,r=Kz(e,["action"]),i=n??"#",a=A3(),l=a.handleReset,u=a.handleSubmit;return b.createElement("form",$h({onSubmit:u,ref:t,onReset:l,action:i},r))});eU.displayName="Form";const tU=({name:e,helper:t,onChange:n,onBlur:r,...i})=>{const[a,{error:l},{setValue:u,setTouched:c}]=Qz(e),f=p=>{const m=i.type==="color"?p:p.target.value;u(m),n&&n(m)},h=()=>{c(!0),r&&r()};return A.jsx(A.Fragment,{children:A.jsx(Z2,{error:l,name:a.name,value:a.value,onChange:f,onBlur:h,helper:t,...i})})};je.Avatar=rp,je.Backdrop=ks,je.BaseField=tU,je.Button=Ki,je.Card=K7,je.Checkbox=q7,je.ColorPicker=V2,je.Dialog=zk,je.DualListBox=rj,je.ErrorMessage=pd,je.Header=ij,je.HelperMessage=gd,je.Input=Z2,je.Label=xd,je.Navbar=wd,je.Radio=dj,je.Select=b5,je.SideMenu=bX,je.Spinner=hd,je.Switch=nz,je.Table=Dz,je.TableAction=Nz,je.TablePagination=Lz,je.Tooltip=I3,je.UploadFile=jz,je.UserMenu=Yz,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})});