react-luminus-components 1.3.48 → 1.3.49
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/.vite/manifest.json +69 -69
- package/dist/{PrimaryButton-R456AnRz.js → PrimaryButton-ByKyWqwd.js} +1 -1
- package/dist/{PrimaryButton-CPcXJhYt.cjs → PrimaryButton-CFqOb1bv.cjs} +1 -1
- package/dist/{SimpleTooltip-DYrAVkD0.cjs → SimpleTooltip-DYxPkXgn.cjs} +1 -1
- package/dist/{SimpleTooltip-CN7Is6YN.js → SimpleTooltip-DqIdlcRY.js} +1 -1
- package/dist/components/common/SearchBox/SearchBox.d.ts +8 -0
- package/dist/components/common/index.d.ts +1 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +8 -8
- package/dist/{dateUtils-DLb1nP1q.js → dateUtils-D3ihjADH.js} +13 -13
- package/dist/{dateUtils-Bc-kGMdV.cjs → dateUtils-Sm1hYKnO.cjs} +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +37 -37
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +1344 -1334
- package/dist/{nivo-pie.es-BJ1l5OpS.cjs → nivo-pie.es-CeZbGy8u.cjs} +40 -40
- package/dist/{nivo-pie.es-CoN57YDH.js → nivo-pie.es-mdfdQL4R.js} +219 -215
- package/dist/{searchUtils-CKVGpXMd.js → searchUtils-pmMfjkU3.js} +1 -1
- package/dist/{searchUtils-BV44hoaC.cjs → searchUtils-qC84J1Yy.cjs} +1 -1
- package/dist/{useConfirm-DZ-jWpsy.js → useConfirm-Ck4Qo5KA.js} +1 -1
- package/dist/{useConfirm-CUsacgMv.cjs → useConfirm-cHBuY98J.cjs} +1 -1
- package/dist/{useLocalStorageState-CnG22J8a.js → useLocalStorageState-CTM-VtC2.js} +11 -11
- package/dist/{useLocalStorageState-isx3MAJp.cjs → useLocalStorageState-ClBA0936.cjs} +1 -1
- package/dist/{usePermissions-3oMWt-B1.cjs → usePermissions-Bzr5Et1a.cjs} +1 -1
- package/dist/{usePermissions-Ca5nob2q.js → usePermissions-RgnKfews.js} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +15 -15
- package/package.json +1 -1
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
*/var Vu;function t1(){return Vu||(Vu=1,process.env.NODE_ENV!=="production"&&function(){var e=_,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"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),h=Symbol.iterator,m="@@iterator";function p(O){if(O===null||typeof O!="object")return null;var D=h&&O[h]||O[m];return typeof D=="function"?D:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(O){{for(var D=arguments.length,Q=new Array(D>1?D-1:0),re=1;re<D;re++)Q[re-1]=arguments[re];v("error",O,Q)}}function v(O,D,Q){{var re=x.ReactDebugCurrentFrame,be=re.getStackAddendum();be!==""&&(D+="%s",Q=Q.concat([be]));var we=Q.map(function(pe){return String(pe)});we.unshift("Warning: "+D),Function.prototype.apply.call(console[O],console,we)}}var E=!1,g=!1,C=!1,P=!1,F=!1,B;B=Symbol.for("react.module.reference");function j(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===a||F||O===i||O===u||O===f||P||O===b||E||g||C||typeof O=="object"&&O!==null&&(O.$$typeof===d||O.$$typeof===l||O.$$typeof===o||O.$$typeof===s||O.$$typeof===c||O.$$typeof===B||O.getModuleId!==void 0))}function L(O,D,Q){var re=O.displayName;if(re)return re;var be=D.displayName||D.name||"";return be!==""?Q+"("+be+")":Q}function Z(O){return O.displayName||"Context"}function M(O){if(O==null)return null;if(typeof O.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case s:var D=O;return Z(D)+".Consumer";case o:var Q=O;return Z(Q._context)+".Provider";case c:return L(O,O.render,"ForwardRef");case l:var re=O.displayName||null;return re!==null?re:M(O.type)||"Memo";case d:{var be=O,we=be._payload,pe=be._init;try{return M(pe(we))}catch{return null}}}return null}var S=Object.assign,I=0,q,H,ne,V,A,U,K;function te(){}te.__reactDisabledLog=!0;function X(){{if(I===0){q=console.log,H=console.info,ne=console.warn,V=console.error,A=console.group,U=console.groupCollapsed,K=console.groupEnd;var O={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}I++}}function Y(){{if(I--,I===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S({},O,{value:q}),info:S({},O,{value:H}),warn:S({},O,{value:ne}),error:S({},O,{value:V}),group:S({},O,{value:A}),groupCollapsed:S({},O,{value:U}),groupEnd:S({},O,{value:K})})}I<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var W=x.ReactCurrentDispatcher,G;function J(O,D,Q){{if(G===void 0)try{throw Error()}catch(be){var re=be.stack.trim().match(/\n( *(at )?)/);G=re&&re[1]||""}return`
|
|
18
18
|
`+G+O}}var k=!1,z;{var ee=typeof WeakMap=="function"?WeakMap:Map;z=new ee}function w(O,D){if(!O||k)return"";{var Q=z.get(O);if(Q!==void 0)return Q}var re;k=!0;var be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var we;we=W.current,W.current=null,X();try{if(D){var pe=function(){throw Error()};if(Object.defineProperty(pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(pe,[])}catch(ke){re=ke}Reflect.construct(O,[],pe)}else{try{pe.call()}catch(ke){re=ke}O.call(pe.prototype)}}else{try{throw Error()}catch(ke){re=ke}O()}}catch(ke){if(ke&&re&&typeof ke.stack=="string"){for(var le=ke.stack.split(`
|
|
19
19
|
`),je=re.stack.split(`
|
|
20
|
-
`)
|
|
21
|
-
`+le[
|
|
20
|
+
`),$e=le.length-1,Me=je.length-1;$e>=1&&Me>=0&&le[$e]!==je[Me];)Me--;for(;$e>=1&&Me>=0;$e--,Me--)if(le[$e]!==je[Me]){if($e!==1||Me!==1)do if($e--,Me--,Me<0||le[$e]!==je[Me]){var qe=`
|
|
21
|
+
`+le[$e].replace(" at new "," at ");return O.displayName&&qe.includes("<anonymous>")&&(qe=qe.replace("<anonymous>",O.displayName)),typeof O=="function"&&z.set(O,qe),qe}while($e>=1&&Me>=0);break}}}finally{k=!1,W.current=we,Y(),Error.prepareStackTrace=be}var Nt=O?O.displayName||O.name:"",Tt=Nt?J(Nt):"";return typeof O=="function"&&z.set(O,Tt),Tt}function he(O,D,Q){return w(O,!1)}function se(O){var D=O.prototype;return!!(D&&D.isReactComponent)}function ge(O,D,Q){if(O==null)return"";if(typeof O=="function")return w(O,se(O));if(typeof O=="string")return J(O);switch(O){case u:return J("Suspense");case f:return J("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case c:return he(O.render);case l:return ge(O.type,D,Q);case d:{var re=O,be=re._payload,we=re._init;try{return ge(we(be),D,Q)}catch{}}}return""}var Te=Object.prototype.hasOwnProperty,Ie={},at=x.ReactDebugCurrentFrame;function ot(O){if(O){var D=O._owner,Q=ge(O.type,O._source,D?D.type:null);at.setExtraStackFrame(Q)}else at.setExtraStackFrame(null)}function Le(O,D,Q,re,be){{var we=Function.call.bind(Te);for(var pe in O)if(we(O,pe)){var le=void 0;try{if(typeof O[pe]!="function"){var je=Error((re||"React class")+": "+Q+" type `"+pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[pe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw je.name="Invariant Violation",je}le=O[pe](D,pe,re,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($e){le=$e}le&&!(le instanceof Error)&&(ot(be),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",re||"React class",Q,pe,typeof le),ot(null)),le instanceof Error&&!(le.message in Ie)&&(Ie[le.message]=!0,ot(be),y("Failed %s type: %s",Q,le.message),ot(null))}}}var Xe=Array.isArray;function Ne(O){return Xe(O)}function st(O){{var D=typeof Symbol=="function"&&Symbol.toStringTag,Q=D&&O[Symbol.toStringTag]||O.constructor.name||"Object";return Q}}function an(O){try{return It(O),!1}catch{return!0}}function It(O){return""+O}function on(O){if(an(O))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",st(O)),It(O)}var ct=x.ReactCurrentOwner,Pn={key:!0,ref:!0,__self:!0,__source:!0},dr,_i,hr;hr={};function xi(O){if(Te.call(O,"ref")){var D=Object.getOwnPropertyDescriptor(O,"ref").get;if(D&&D.isReactWarning)return!1}return O.ref!==void 0}function Fo(O){if(Te.call(O,"key")){var D=Object.getOwnPropertyDescriptor(O,"key").get;if(D&&D.isReactWarning)return!1}return O.key!==void 0}function wi(O,D){if(typeof O.ref=="string"&&ct.current&&D&&ct.current.stateNode!==D){var Q=M(ct.current.type);hr[Q]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',M(ct.current.type),O.ref),hr[Q]=!0)}}function Uo(O,D){{var Q=function(){dr||(dr=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};Q.isReactWarning=!0,Object.defineProperty(O,"key",{get:Q,configurable:!0})}}function Oi(O,D){{var Q=function(){_i||(_i=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};Q.isReactWarning=!0,Object.defineProperty(O,"ref",{get:Q,configurable:!0})}}var zo=function(O,D,Q,re,be,we,pe){var le={$$typeof:t,type:O,key:D,ref:Q,props:pe,_owner:we};return le._store={},Object.defineProperty(le._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(le,"_self",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.defineProperty(le,"_source",{configurable:!1,enumerable:!1,writable:!1,value:be}),Object.freeze&&(Object.freeze(le.props),Object.freeze(le)),le};function Bo(O,D,Q,re,be){{var we,pe={},le=null,je=null;Q!==void 0&&(on(Q),le=""+Q),Fo(D)&&(on(D.key),le=""+D.key),xi(D)&&(je=D.ref,wi(D,be));for(we in D)Te.call(D,we)&&!Pn.hasOwnProperty(we)&&(pe[we]=D[we]);if(O&&O.defaultProps){var $e=O.defaultProps;for(we in $e)pe[we]===void 0&&(pe[we]=$e[we])}if(le||je){var Me=typeof O=="function"?O.displayName||O.name||"Unknown":O;le&&Uo(pe,Me),je&&Oi(pe,Me)}return zo(O,le,je,be,re,ct.current,pe)}}var pr=x.ReactCurrentOwner,Ei=x.ReactDebugCurrentFrame;function Dt(O){if(O){var D=O._owner,Q=ge(O.type,O._source,D?D.type:null);Ei.setExtraStackFrame(Q)}else Ei.setExtraStackFrame(null)}var jn;jn=!1;function br(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function Ti(){{if(pr.current){var O=M(pr.current.type);if(O)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+O+"`."}return""}}function qo(O){return""}var Ci={};function Ri(O){{var D=Ti();if(!D){var Q=typeof O=="string"?O:O.displayName||O.name;Q&&(D=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+Q+">.")}return D}}function mr(O,D){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var Q=Ri(D);if(Ci[Q])return;Ci[Q]=!0;var re="";O&&O._owner&&O._owner!==pr.current&&(re=" It was passed a child from "+M(O._owner.type)+"."),Dt(O),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Q,re),Dt(null)}}function gr(O,D){{if(typeof O!="object")return;if(Ne(O))for(var Q=0;Q<O.length;Q++){var re=O[Q];br(re)&&mr(re,D)}else if(br(O))O._store&&(O._store.validated=!0);else if(O){var be=p(O);if(typeof be=="function"&&be!==O.entries)for(var we=be.call(O),pe;!(pe=we.next()).done;)br(pe.value)&&mr(pe.value,D)}}}function Si(O){{var D=O.type;if(D==null||typeof D=="string")return;var Q;if(typeof D=="function")Q=D.propTypes;else if(typeof D=="object"&&(D.$$typeof===c||D.$$typeof===l))Q=D.propTypes;else return;if(Q){var re=M(D);Le(Q,O.props,"prop",re,O)}else if(D.PropTypes!==void 0&&!jn){jn=!0;var be=M(D);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof D.getDefaultProps=="function"&&!D.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wo(O){{for(var D=Object.keys(O.props),Q=0;Q<D.length;Q++){var re=D[Q];if(re!=="children"&&re!=="key"){Dt(O),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",re),Dt(null);break}}O.ref!==null&&(Dt(O),y("Invalid attribute `ref` supplied to `React.Fragment`."),Dt(null))}}var vr={};function Ai(O,D,Q,re,be,we){{var pe=j(O);if(!pe){var le="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(le+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var je=qo();je?le+=je:le+=Ti();var
|
|
25
|
+
Check the top-level render call using <`+Q+">.")}return D}}function mr(O,D){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var Q=Ri(D);if(Ci[Q])return;Ci[Q]=!0;var re="";O&&O._owner&&O._owner!==pr.current&&(re=" It was passed a child from "+M(O._owner.type)+"."),Dt(O),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Q,re),Dt(null)}}function gr(O,D){{if(typeof O!="object")return;if(Ne(O))for(var Q=0;Q<O.length;Q++){var re=O[Q];br(re)&&mr(re,D)}else if(br(O))O._store&&(O._store.validated=!0);else if(O){var be=p(O);if(typeof be=="function"&&be!==O.entries)for(var we=be.call(O),pe;!(pe=we.next()).done;)br(pe.value)&&mr(pe.value,D)}}}function Si(O){{var D=O.type;if(D==null||typeof D=="string")return;var Q;if(typeof D=="function")Q=D.propTypes;else if(typeof D=="object"&&(D.$$typeof===c||D.$$typeof===l))Q=D.propTypes;else return;if(Q){var re=M(D);Le(Q,O.props,"prop",re,O)}else if(D.PropTypes!==void 0&&!jn){jn=!0;var be=M(D);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof D.getDefaultProps=="function"&&!D.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wo(O){{for(var D=Object.keys(O.props),Q=0;Q<D.length;Q++){var re=D[Q];if(re!=="children"&&re!=="key"){Dt(O),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",re),Dt(null);break}}O.ref!==null&&(Dt(O),y("Invalid attribute `ref` supplied to `React.Fragment`."),Dt(null))}}var vr={};function Ai(O,D,Q,re,be,we){{var pe=j(O);if(!pe){var le="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(le+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var je=qo();je?le+=je:le+=Ti();var $e;O===null?$e="null":Ne(O)?$e="array":O!==void 0&&O.$$typeof===t?($e="<"+(M(O.type)||"Unknown")+" />",le=" Did you accidentally export a JSX literal instead of a component?"):$e=typeof O,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$e,le)}var Me=Bo(O,D,Q,be,we);if(Me==null)return Me;if(pe){var qe=D.children;if(qe!==void 0)if(re)if(Ne(qe)){for(var Nt=0;Nt<qe.length;Nt++)gr(qe[Nt],O);Object.freeze&&Object.freeze(qe)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else gr(qe,O)}if(Te.call(D,"key")){var Tt=M(O),ke=Object.keys(D).filter(function(Go){return Go!=="key"}),yr=ke.length>0?"{key: someKey, "+ke.join(": ..., ")+": ...}":"{key: someKey}";if(!vr[Tt+yr]){var Ln=ke.length>0?"{"+ke.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -50,7 +50,7 @@ object-assign
|
|
|
50
50
|
(c) Sindre Sorhus
|
|
51
51
|
@license MIT
|
|
52
52
|
*/var Ko,Ju;function A1(){if(Ju)return Ko;Ju=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 o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(o).map(function(f){return o[f]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ko=i()?Object.assign:function(a,o){for(var s,c=r(a),u,f=1;f<arguments.length;f++){s=Object(arguments[f]);for(var l in s)t.call(s,l)&&(c[l]=s[l]);if(e){u=e(s);for(var d=0;d<u.length;d++)n.call(s,u[d])&&(c[u[d]]=s[u[d]])}}return c},Ko}var Xo,Qu;function Tc(){if(Qu)return Xo;Qu=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Xo=e,Xo}var Jo,Zu;function Yd(){return Zu||(Zu=1,Jo=Function.call.bind(Object.prototype.hasOwnProperty)),Jo}var Qo,ef;function $1(){if(ef)return Qo;ef=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Tc(),n={},r=Yd();e=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function i(a,o,s,c,u){if(process.env.NODE_ENV!=="production"){for(var f in a)if(r(a,f)){var l;try{if(typeof a[f]!="function"){var d=Error((c||"React class")+": "+s+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}l=a[f](o,f,c,s,null,t)}catch(h){l=h}if(l&&!(l instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in n)){n[l.message]=!0;var b=u?u():"";e("Failed "+s+" type: "+l.message+(b??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Qo=i,Qo}var Zo,tf;function M1(){if(tf)return Zo;tf=1;var e=Vd(),t=A1(),n=Tc(),r=Yd(),i=$1(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function o(){return null}return Zo=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function l(A){var U=A&&(u&&A[u]||A[f]);if(typeof U=="function")return U}var d="<<anonymous>>",b={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:y(),arrayOf:v,element:E(),elementType:g(),instanceOf:C,node:j(),objectOf:F,oneOf:P,oneOfType:B,shape:Z,exact:M};function h(A,U){return A===U?A!==0||1/A===1/U:A!==A&&U!==U}function m(A,U){this.message=A,this.data=U&&typeof U=="object"?U:{},this.stack=""}m.prototype=Error.prototype;function p(A){if(process.env.NODE_ENV!=="production")var U={},K=0;function te(Y,W,G,J,k,z,ee){if(J=J||d,z=z||G,ee!==n){if(c){var w=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 w.name="Invariant Violation",w}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var he=J+":"+G;!U[he]&&K<3&&(a("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+J+"`. 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."),U[he]=!0,K++)}}return W[G]==null?Y?W[G]===null?new m("The "+k+" `"+z+"` is marked as required "+("in `"+J+"`, but its value is `null`.")):new m("The "+k+" `"+z+"` is marked as required in "+("`"+J+"`, but its value is `undefined`.")):null:A(W,G,J,k,z)}var X=te.bind(null,!1);return X.isRequired=te.bind(null,!0),X}function x(A){function U(K,te,X,Y,W,G){var J=K[te],k=q(J);if(k!==A){var z=H(J);return new m("Invalid "+Y+" `"+W+"` of type "+("`"+z+"` supplied to `"+X+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return p(U)}function y(){return p(o)}function v(A){function U(K,te,X,Y,W){if(typeof A!="function")return new m("Property `"+W+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var G=K[te];if(!Array.isArray(G)){var J=q(G);return new m("Invalid "+Y+" `"+W+"` of type "+("`"+J+"` supplied to `"+X+"`, expected an array."))}for(var k=0;k<G.length;k++){var z=A(G,k,X,Y,W+"["+k+"]",n);if(z instanceof Error)return z}return null}return p(U)}function E(){function A(U,K,te,X,Y){var W=U[K];if(!s(W)){var G=q(W);return new m("Invalid "+X+" `"+Y+"` of type "+("`"+G+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return p(A)}function g(){function A(U,K,te,X,Y){var W=U[K];if(!e.isValidElementType(W)){var G=q(W);return new m("Invalid "+X+" `"+Y+"` of type "+("`"+G+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return p(A)}function C(A){function U(K,te,X,Y,W){if(!(K[te]instanceof A)){var G=A.name||d,J=V(K[te]);return new m("Invalid "+Y+" `"+W+"` of type "+("`"+J+"` supplied to `"+X+"`, expected ")+("instance of `"+G+"`."))}return null}return p(U)}function P(A){if(!Array.isArray(A))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.")),o;function U(K,te,X,Y,W){for(var G=K[te],J=0;J<A.length;J++)if(h(G,A[J]))return null;var k=JSON.stringify(A,function(ee,w){var he=H(w);return he==="symbol"?String(w):w});return new m("Invalid "+Y+" `"+W+"` of value `"+String(G)+"` "+("supplied to `"+X+"`, expected one of "+k+"."))}return p(U)}function F(A){function U(K,te,X,Y,W){if(typeof A!="function")return new m("Property `"+W+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var G=K[te],J=q(G);if(J!=="object")return new m("Invalid "+Y+" `"+W+"` of type "+("`"+J+"` supplied to `"+X+"`, expected an object."));for(var k in G)if(r(G,k)){var z=A(G,k,X,Y,W+"."+k,n);if(z instanceof Error)return z}return null}return p(U)}function B(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var U=0;U<A.length;U++){var K=A[U];if(typeof K!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ne(K)+" at index "+U+"."),o}function te(X,Y,W,G,J){for(var k=[],z=0;z<A.length;z++){var ee=A[z],w=ee(X,Y,W,G,J,n);if(w==null)return null;w.data&&r(w.data,"expectedType")&&k.push(w.data.expectedType)}var he=k.length>0?", expected one of type ["+k.join(", ")+"]":"";return new m("Invalid "+G+" `"+J+"` supplied to "+("`"+W+"`"+he+"."))}return p(te)}function j(){function A(U,K,te,X,Y){return S(U[K])?null:new m("Invalid "+X+" `"+Y+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return p(A)}function L(A,U,K,te,X){return new m((A||"React class")+": "+U+" type `"+K+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function Z(A){function U(K,te,X,Y,W){var G=K[te],J=q(G);if(J!=="object")return new m("Invalid "+Y+" `"+W+"` of type `"+J+"` "+("supplied to `"+X+"`, expected `object`."));for(var k in A){var z=A[k];if(typeof z!="function")return L(X,Y,W,k,H(z));var ee=z(G,k,X,Y,W+"."+k,n);if(ee)return ee}return null}return p(U)}function M(A){function U(K,te,X,Y,W){var G=K[te],J=q(G);if(J!=="object")return new m("Invalid "+Y+" `"+W+"` of type `"+J+"` "+("supplied to `"+X+"`, expected `object`."));var k=t({},K[te],A);for(var z in k){var ee=A[z];if(r(A,z)&&typeof ee!="function")return L(X,Y,W,z,H(ee));if(!ee)return new m("Invalid "+Y+" `"+W+"` key `"+z+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(K[te],null," ")+`
|
|
53
|
-
Valid keys: `+JSON.stringify(Object.keys(A),null," "));var w=ee(G,z,X,Y,W+"."+z,n);if(w)return w}return null}return p(U)}function S(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(S);if(A===null||s(A))return!0;var U=l(A);if(U){var K=U.call(A),te;if(U!==A.entries){for(;!(te=K.next()).done;)if(!S(te.value))return!1}else for(;!(te=K.next()).done;){var X=te.value;if(X&&!S(X[1]))return!1}}else return!1;return!0;default:return!1}}function I(A,U){return A==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function q(A){var U=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":I(U,A)?"symbol":U}function H(A){if(typeof A>"u"||A===null)return""+A;var U=q(A);if(U==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return U}function ne(A){var U=H(A);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function V(A){return!A.constructor||!A.constructor.name?d:A.constructor.name}return b.checkPropTypes=i,b.resetWarningCache=i.resetWarningCache,b.PropTypes=b,b},Zo}var es,nf;function k1(){if(nf)return es;nf=1;var e=Tc();function t(){}function n(){}return n.resetWarningCache=t,es=function(){function r(o,s,c,u,f,l){if(l!==e){var d=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 d.name="Invariant Violation",d}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},es}if(process.env.NODE_ENV!=="production"){var P1=Vd(),j1=!0;Ss.exports=M1()(P1.isElement,j1)}else Ss.exports=k1()();var L1=Ss.exports;const T=Ke(L1),rf={disabled:!1};var I1=process.env.NODE_ENV!=="production"?T.oneOfType([T.number,T.shape({enter:T.number,exit:T.number,appear:T.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&T.oneOfType([T.string,T.shape({enter:T.string,exit:T.string,active:T.string}),T.shape({enter:T.string,enterDone:T.string,enterActive:T.string,exit:T.string,exitDone:T.string,exitActive:T.string})]);const Gd=_.createContext(null);var D1=function(t){return t.scrollTop},Ir="unmounted",Bt="exited",St="entering",qt="entered",na="exiting",jt=function(e){b1(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var o=i,s=o&&!o.isMounting?r.enter:r.appear,c;return a.appearStatus=null,r.in?s?(c=Bt,a.appearStatus=St):c=qt:r.unmountOnExit||r.mountOnEnter?c=Ir:c=Bt,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Ir?{status:Bt}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==St&&o!==qt&&(a=St):(o===St||o===qt)&&(a=na)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===St){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:ln.findDOMNode(this);o&&D1(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Bt&&this.setState({status:Ir})},n.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,c=this.props.nodeRef?[s]:[ln.findDOMNode(this),s],u=c[0],f=c[1],l=this.getTimeouts(),d=s?l.appear:l.enter;if(!i&&!o||rf.disabled){this.safeSetState({status:qt},function(){a.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:St},function(){a.props.onEntering(u,f),a.onTransitionEnd(d,function(){a.safeSetState({status:qt},function(){a.props.onEntered(u,f)})})})},n.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:ln.findDOMNode(this);if(!a||rf.disabled){this.safeSetState({status:Bt},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:na},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Bt},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:ln.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=c[0],f=c[1];this.props.addEndListener(u,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Ir)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Wd(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _.createElement(Gd.Provider,{value:null},typeof o=="function"?o(i,s):_.cloneElement(_.Children.only(o),s))},t}(_.Component);jt.contextType=Gd;jt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:T.shape({current:typeof Element>"u"?T.any:function(e,t,n,r,i,a){var o=e[t];return T.instanceOf(o&&"ownerDocument"in o?o.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,a)}}),children:T.oneOfType([T.func.isRequired,T.element.isRequired]).isRequired,in:T.bool,mountOnEnter:T.bool,unmountOnExit:T.bool,appear:T.bool,enter:T.bool,exit:T.bool,timeout:function(t){var n=I1;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return n.apply(void 0,[t].concat(i))},addEndListener:T.func,onEnter:T.func,onEntering:T.func,onEntered:T.func,onExit:T.func,onExiting:T.func,onExited:T.func}:{};function In(){}jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:In,onEntering:In,onEntered:In,onExit:In,onExiting:In,onExited:In};jt.UNMOUNTED=Ir;jt.EXITED=Bt;jt.ENTERING=St;jt.ENTERED=qt;jt.EXITING=na;const La=!!(typeof window<"u"&&window.document&&window.document.createElement);var As=!1,$s=!1;try{var ts={get passive(){return As=!0},get once(){return $s=As=!0}};La&&(window.addEventListener("test",ts,ts),window.removeEventListener("test",ts,!0))}catch{}function Kd(e,t,n,r){if(r&&typeof r!="boolean"&&!$s){var i=r.once,a=r.capture,o=n;!$s&&i&&(o=n.__once||function s(c){this.removeEventListener(t,s,a),n.call(this,c)},n.__once=o),e.addEventListener(t,o,As?r:a)}e.addEventListener(t,n,r)}function Xd(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function Ht(e,t,n,r){return Kd(e,t,n,r),function(){Xd(e,t,n,r)}}function N1(e,t,n,r){if(r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function F1(e){var t=Ec(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function U1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||N1(e,"transitionend",!0)},t+n),a=Ht(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),a()}}function Jd(e,t,n,r){n==null&&(n=F1(e)||0);var i=U1(e,n,r),a=Ht(e,"transitionend",t);return function(){i(),a()}}function af(e,t){const n=Ec(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function Qd(e,t){const n=af(e,"transitionDuration"),r=af(e,"transitionDelay"),i=Jd(e,a=>{a.target===e&&(i(),t(a))},n+r)}function Zd(e){e.offsetHeight}const of=e=>!e||typeof e=="function"?e:t=>{e.current=t};function z1(e,t){const n=of(e),r=of(t);return i=>{n&&n(i),r&&r(i)}}function Zt(e,t){return _.useMemo(()=>z1(e,t),[e,t])}function ra(e){return e&&"setState"in e?ln.findDOMNode(e):e??null}const eh=_.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:a,addEndListener:o,children:s,childRef:c,...u},f)=>{const l=_.useRef(null),d=Zt(l,c),b=C=>{d(ra(C))},h=C=>P=>{C&&l.current&&C(l.current,P)},m=_.useCallback(h(e),[e]),p=_.useCallback(h(t),[t]),x=_.useCallback(h(n),[n]),y=_.useCallback(h(r),[r]),v=_.useCallback(h(i),[i]),E=_.useCallback(h(a),[a]),g=_.useCallback(h(o),[o]);return R.jsx(jt,{ref:f,...u,onEnter:m,onEntered:x,onEntering:p,onExit:y,onExited:E,onExiting:v,addEndListener:g,nodeRef:l,children:typeof s=="function"?(C,P)=>s(C,{...P,ref:b}):_.cloneElement(s,{ref:b})})});function B1(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e},[e]),t}function _n(e){const t=B1(e);return _.useCallback(function(...n){return t.current&&t.current(...n)},[t])}function Ms(){return _.useState(null)}function Cc(){const e=_.useRef(!0),t=_.useRef(()=>e.current);return _.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const q1=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",W1=typeof document<"u",ia=W1||q1?_.useLayoutEffect:_.useEffect,H1={[St]:"show",[qt]:"show"},aa=fe.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=_.useCallback((c,u)=>{Zd(c),r==null||r(c,u)},[r]);return R.jsx(eh,{ref:a,addEndListener:Qd,...o,onEnter:s,childRef:t.ref,children:(c,u)=>fe.cloneElement(t,{...u,className:Oe("fade",e,t.props.className,H1[c],n[c])})})});aa.displayName="Fade";function V1(e){const t=_.useRef(e);return t.current=e,t}function th(e){const t=V1(e);_.useEffect(()=>()=>t.current(),[])}const ks=2**31-1;function nh(e,t,n){const r=n-Date.now();e.current=r<=ks?setTimeout(t,r):setTimeout(()=>nh(e,t,n),ks)}function Y1(){const e=Cc(),t=_.useRef();return th(()=>clearTimeout(t.current)),_.useMemo(()=>{const n=()=>clearTimeout(t.current);function r(i,a=0){e()&&(n(),a<=ks?t.current=setTimeout(i,a):nh(t,i,Date.now()+a))}return{set:r,clear:n,handleRef:t}},[])}var sf=Object.prototype.hasOwnProperty;function cf(e,t,n){for(n of e.keys())if(Fr(n,t))return n}function Fr(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Fr(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(i=r,i&&typeof i=="object"&&(i=cf(t,i),!i)||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(i=r[0],i&&typeof i=="object"&&(i=cf(t,i),!i)||!Fr(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(sf.call(e,n)&&++r&&!sf.call(t,n)||!(n in t)||!Fr(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function G1(e){const t=Cc();return[e[0],_.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var Ve="top",rt="bottom",it="right",Ye="left",Rc="auto",ci=[Ve,rt,it,Ye],Yn="start",Vr="end",K1="clippingParents",rh="viewport",wr="popper",X1="reference",uf=ci.reduce(function(e,t){return e.concat([t+"-"+Yn,t+"-"+Vr])},[]),ih=[].concat(ci,[Rc]).reduce(function(e,t){return e.concat([t,t+"-"+Yn,t+"-"+Vr])},[]),J1="beforeRead",Q1="read",Z1="afterRead",em="beforeMain",tm="main",nm="afterMain",rm="beforeWrite",im="write",am="afterWrite",om=[J1,Q1,Z1,em,tm,nm,rm,im,am];function vt(e){return e.split("-")[0]}function Ze(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=Ze(e).Element;return e instanceof t||e instanceof Element}function yt(e){var t=Ze(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sc(e){if(typeof ShadowRoot>"u")return!1;var t=Ze(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var mn=Math.max,oa=Math.min,Gn=Math.round;function Ps(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ah(){return!/^((?!chrome|android).)*safari/i.test(Ps())}function Kn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&yt(e)&&(i=e.offsetWidth>0&&Gn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Gn(r.height)/e.offsetHeight||1);var o=xn(e)?Ze(e):window,s=o.visualViewport,c=!ah()&&n,u=(r.left+(c&&s?s.offsetLeft:0))/i,f=(r.top+(c&&s?s.offsetTop:0))/a,l=r.width/i,d=r.height/a;return{width:l,height:d,top:f,right:u+l,bottom:f+d,left:u,x:u,y:f}}function Ac(e){var t=Kn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function oh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Sc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xt(e){return e?(e.nodeName||"").toLowerCase():null}function Mt(e){return Ze(e).getComputedStyle(e)}function sm(e){return["table","td","th"].indexOf(Xt(e))>=0}function en(e){return((xn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ia(e){return Xt(e)==="html"?e:e.assignedSlot||e.parentNode||(Sc(e)?e.host:null)||en(e)}function ff(e){return!yt(e)||Mt(e).position==="fixed"?null:e.offsetParent}function cm(e){var t=/firefox/i.test(Ps()),n=/Trident/i.test(Ps());if(n&&yt(e)){var r=Mt(e);if(r.position==="fixed")return null}var i=Ia(e);for(Sc(i)&&(i=i.host);yt(i)&&["html","body"].indexOf(Xt(i))<0;){var a=Mt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function ui(e){for(var t=Ze(e),n=ff(e);n&&sm(n)&&Mt(n).position==="static";)n=ff(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&Mt(n).position==="static")?t:n||cm(e)||t}function $c(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ur(e,t,n){return mn(e,oa(t,n))}function um(e,t,n){var r=Ur(e,t,n);return r>n?n:r}function sh(){return{top:0,right:0,bottom:0,left:0}}function ch(e){return Object.assign({},sh(),e)}function uh(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var fm=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ch(typeof t!="number"?t:uh(t,ci))};function lm(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=vt(n.placement),c=$c(s),u=[Ye,it].indexOf(s)>=0,f=u?"height":"width";if(!(!a||!o)){var l=fm(i.padding,n),d=Ac(a),b=c==="y"?Ve:Ye,h=c==="y"?rt:it,m=n.rects.reference[f]+n.rects.reference[c]-o[c]-n.rects.popper[f],p=o[c]-n.rects.reference[c],x=ui(a),y=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,v=m/2-p/2,E=l[b],g=y-d[f]-l[h],C=y/2-d[f]/2+v,P=Ur(E,C,g),F=c;n.modifiersData[r]=(t={},t[F]=P,t.centerOffset=P-C,t)}}function dm(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||oh(t.elements.popper,i)&&(t.elements.arrow=i))}const hm={name:"arrow",enabled:!0,phase:"main",fn:lm,effect:dm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xn(e){return e.split("-")[1]}var pm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bm(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Gn(n*i)/i||0,y:Gn(r*i)/i||0}}function lf(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,l=e.isFixed,d=o.x,b=d===void 0?0:d,h=o.y,m=h===void 0?0:h,p=typeof f=="function"?f({x:b,y:m}):{x:b,y:m};b=p.x,m=p.y;var x=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=Ye,E=Ve,g=window;if(u){var C=ui(n),P="clientHeight",F="clientWidth";if(C===Ze(n)&&(C=en(n),Mt(C).position!=="static"&&s==="absolute"&&(P="scrollHeight",F="scrollWidth")),C=C,i===Ve||(i===Ye||i===it)&&a===Vr){E=rt;var B=l&&C===g&&g.visualViewport?g.visualViewport.height:C[P];m-=B-r.height,m*=c?1:-1}if(i===Ye||(i===Ve||i===rt)&&a===Vr){v=it;var j=l&&C===g&&g.visualViewport?g.visualViewport.width:C[F];b-=j-r.width,b*=c?1:-1}}var L=Object.assign({position:s},u&&pm),Z=f===!0?bm({x:b,y:m},Ze(n)):{x:b,y:m};if(b=Z.x,m=Z.y,c){var M;return Object.assign({},L,(M={},M[E]=y?"0":"",M[v]=x?"0":"",M.transform=(g.devicePixelRatio||1)<=1?"translate("+b+"px, "+m+"px)":"translate3d("+b+"px, "+m+"px, 0)",M))}return Object.assign({},L,(t={},t[E]=y?m+"px":"",t[v]=x?b+"px":"",t.transform="",t))}function mm(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,c=s===void 0?!0:s,u={placement:vt(t.placement),variation:Xn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,lf(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,lf(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const gm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mm,data:{}};var Pi={passive:!0};function vm(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,c=Ze(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(f){f.addEventListener("scroll",n.update,Pi)}),s&&c.addEventListener("resize",n.update,Pi),function(){a&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Pi)}),s&&c.removeEventListener("resize",n.update,Pi)}}const ym={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vm,data:{}};var _m={left:"right",right:"left",bottom:"top",top:"bottom"};function Vi(e){return e.replace(/left|right|bottom|top/g,function(t){return _m[t]})}var xm={start:"end",end:"start"};function df(e){return e.replace(/start|end/g,function(t){return xm[t]})}function Mc(e){var t=Ze(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function kc(e){return Kn(en(e)).left+Mc(e).scrollLeft}function wm(e,t){var n=Ze(e),r=en(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var u=ah();(u||!u&&t==="fixed")&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+kc(e),y:c}}function Om(e){var t,n=en(e),r=Mc(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=mn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=mn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+kc(e),c=-r.scrollTop;return Mt(i||n).direction==="rtl"&&(s+=mn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:c}}function Pc(e){var t=Mt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function fh(e){return["html","body","#document"].indexOf(Xt(e))>=0?e.ownerDocument.body:yt(e)&&Pc(e)?e:fh(Ia(e))}function zr(e,t){var n;t===void 0&&(t=[]);var r=fh(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ze(r),o=i?[a].concat(a.visualViewport||[],Pc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(zr(Ia(o)))}function js(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Em(e,t){var n=Kn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function hf(e,t,n){return t===rh?js(wm(e,n)):xn(t)?Em(t,n):js(Om(en(e)))}function Tm(e){var t=zr(Ia(e)),n=["absolute","fixed"].indexOf(Mt(e).position)>=0,r=n&&yt(e)?ui(e):e;return xn(r)?t.filter(function(i){return xn(i)&&oh(i,r)&&Xt(i)!=="body"}):[]}function Cm(e,t,n,r){var i=t==="clippingParents"?Tm(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(c,u){var f=hf(e,u,r);return c.top=mn(f.top,c.top),c.right=oa(f.right,c.right),c.bottom=oa(f.bottom,c.bottom),c.left=mn(f.left,c.left),c},hf(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function lh(e){var t=e.reference,n=e.element,r=e.placement,i=r?vt(r):null,a=r?Xn(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case Ve:c={x:o,y:t.y-n.height};break;case rt:c={x:o,y:t.y+t.height};break;case it:c={x:t.x+t.width,y:s};break;case Ye:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var u=i?$c(i):null;if(u!=null){var f=u==="y"?"height":"width";switch(a){case Yn:c[u]=c[u]-(t[f]/2-n[f]/2);break;case Vr:c[u]=c[u]+(t[f]/2-n[f]/2);break}}return c}function Yr(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?K1:s,u=n.rootBoundary,f=u===void 0?rh:u,l=n.elementContext,d=l===void 0?wr:l,b=n.altBoundary,h=b===void 0?!1:b,m=n.padding,p=m===void 0?0:m,x=ch(typeof p!="number"?p:uh(p,ci)),y=d===wr?X1:wr,v=e.rects.popper,E=e.elements[h?y:d],g=Cm(xn(E)?E:E.contextElement||en(e.elements.popper),c,f,o),C=Kn(e.elements.reference),P=lh({reference:C,element:v,strategy:"absolute",placement:i}),F=js(Object.assign({},v,P)),B=d===wr?F:C,j={top:g.top-B.top+x.top,bottom:B.bottom-g.bottom+x.bottom,left:g.left-B.left+x.left,right:B.right-g.right+x.right},L=e.modifiersData.offset;if(d===wr&&L){var Z=L[i];Object.keys(j).forEach(function(M){var S=[it,rt].indexOf(M)>=0?1:-1,I=[Ve,rt].indexOf(M)>=0?"y":"x";j[M]+=Z[I]*S})}return j}function Rm(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=c===void 0?ih:c,f=Xn(r),l=f?s?uf:uf.filter(function(h){return Xn(h)===f}):ci,d=l.filter(function(h){return u.indexOf(h)>=0});d.length===0&&(d=l);var b=d.reduce(function(h,m){return h[m]=Yr(e,{placement:m,boundary:i,rootBoundary:a,padding:o})[vt(m)],h},{});return Object.keys(b).sort(function(h,m){return b[h]-b[m]})}function Sm(e){if(vt(e)===Rc)return[];var t=Vi(e);return[df(e),t,df(t)]}function Am(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,c=n.fallbackPlacements,u=n.padding,f=n.boundary,l=n.rootBoundary,d=n.altBoundary,b=n.flipVariations,h=b===void 0?!0:b,m=n.allowedAutoPlacements,p=t.options.placement,x=vt(p),y=x===p,v=c||(y||!h?[Vi(p)]:Sm(p)),E=[p].concat(v).reduce(function(X,Y){return X.concat(vt(Y)===Rc?Rm(t,{placement:Y,boundary:f,rootBoundary:l,padding:u,flipVariations:h,allowedAutoPlacements:m}):Y)},[]),g=t.rects.reference,C=t.rects.popper,P=new Map,F=!0,B=E[0],j=0;j<E.length;j++){var L=E[j],Z=vt(L),M=Xn(L)===Yn,S=[Ve,rt].indexOf(Z)>=0,I=S?"width":"height",q=Yr(t,{placement:L,boundary:f,rootBoundary:l,altBoundary:d,padding:u}),H=S?M?it:Ye:M?rt:Ve;g[I]>C[I]&&(H=Vi(H));var ne=Vi(H),V=[];if(a&&V.push(q[Z]<=0),s&&V.push(q[H]<=0,q[ne]<=0),V.every(function(X){return X})){B=L,F=!1;break}P.set(L,V)}if(F)for(var A=h?3:1,U=function(Y){var W=E.find(function(G){var J=P.get(G);if(J)return J.slice(0,Y).every(function(k){return k})});if(W)return B=W,"break"},K=A;K>0;K--){var te=U(K);if(te==="break")break}t.placement!==B&&(t.modifiersData[r]._skip=!0,t.placement=B,t.reset=!0)}}const $m={name:"flip",enabled:!0,phase:"main",fn:Am,requiresIfExists:["offset"],data:{_skip:!1}};function pf(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bf(e){return[Ve,it,rt,Ye].some(function(t){return e[t]>=0})}function Mm(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Yr(t,{elementContext:"reference"}),s=Yr(t,{altBoundary:!0}),c=pf(o,r),u=pf(s,i,a),f=bf(c),l=bf(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}const km={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Mm};function Pm(e,t,n){var r=vt(e),i=[Ye,Ve].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Ye,it].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function jm(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=ih.reduce(function(f,l){return f[l]=Pm(l,t.rects,a),f},{}),s=o[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const Lm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:jm};function Im(e){var t=e.state,n=e.name;t.modifiersData[n]=lh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Dm={name:"popperOffsets",enabled:!0,phase:"read",fn:Im,data:{}};function Nm(e){return e==="x"?"y":"x"}function Fm(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,c=n.boundary,u=n.rootBoundary,f=n.altBoundary,l=n.padding,d=n.tether,b=d===void 0?!0:d,h=n.tetherOffset,m=h===void 0?0:h,p=Yr(t,{boundary:c,rootBoundary:u,padding:l,altBoundary:f}),x=vt(t.placement),y=Xn(t.placement),v=!y,E=$c(x),g=Nm(E),C=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,B=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,j=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Z={x:0,y:0};if(C){if(a){var M,S=E==="y"?Ve:Ye,I=E==="y"?rt:it,q=E==="y"?"height":"width",H=C[E],ne=H+p[S],V=H-p[I],A=b?-F[q]/2:0,U=y===Yn?P[q]:F[q],K=y===Yn?-F[q]:-P[q],te=t.elements.arrow,X=b&&te?Ac(te):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:sh(),W=Y[S],G=Y[I],J=Ur(0,P[q],X[q]),k=v?P[q]/2-A-J-W-j.mainAxis:U-J-W-j.mainAxis,z=v?-P[q]/2+A+J+G+j.mainAxis:K+J+G+j.mainAxis,ee=t.elements.arrow&&ui(t.elements.arrow),w=ee?E==="y"?ee.clientTop||0:ee.clientLeft||0:0,he=(M=L==null?void 0:L[E])!=null?M:0,se=H+k-he-w,ge=H+z-he,Te=Ur(b?oa(ne,se):ne,H,b?mn(V,ge):V);C[E]=Te,Z[E]=Te-H}if(s){var Ie,at=E==="x"?Ve:Ye,ot=E==="x"?rt:it,Le=C[g],Xe=g==="y"?"height":"width",Ne=Le+p[at],st=Le-p[ot],an=[Ve,Ye].indexOf(x)!==-1,It=(Ie=L==null?void 0:L[g])!=null?Ie:0,on=an?Ne:Le-P[Xe]-F[Xe]-It+j.altAxis,ct=an?Le+P[Xe]+F[Xe]-It-j.altAxis:st,Pn=b&&an?um(on,Le,ct):Ur(b?on:Ne,Le,b?ct:st);C[g]=Pn,Z[g]=Pn-Le}t.modifiersData[r]=Z}}const Um={name:"preventOverflow",enabled:!0,phase:"main",fn:Fm,requiresIfExists:["offset"]};function zm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bm(e){return e===Ze(e)||!yt(e)?Mc(e):zm(e)}function qm(e){var t=e.getBoundingClientRect(),n=Gn(t.width)/e.offsetWidth||1,r=Gn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Wm(e,t,n){n===void 0&&(n=!1);var r=yt(t),i=yt(t)&&qm(t),a=en(t),o=Kn(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Xt(t)!=="body"||Pc(a))&&(s=Bm(t)),yt(t)?(c=Kn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=kc(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function Hm(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&i(c)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function Vm(e){var t=Hm(e);return om.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Ym(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Gm(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var mf={placement:"bottom",modifiers:[],strategy:"absolute"};function gf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Km(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?mf:i;return function(s,c,u){u===void 0&&(u=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},mf,a),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},l=[],d=!1,b={state:f,setOptions:function(x){var y=typeof x=="function"?x(f.options):x;m(),f.options=Object.assign({},a,f.options,y),f.scrollParents={reference:xn(s)?zr(s):s.contextElement?zr(s.contextElement):[],popper:zr(c)};var v=Vm(Gm([].concat(r,f.options.modifiers)));return f.orderedModifiers=v.filter(function(E){return E.enabled}),h(),b.update()},forceUpdate:function(){if(!d){var x=f.elements,y=x.reference,v=x.popper;if(gf(y,v)){f.rects={reference:Wm(y,ui(v),f.options.strategy==="fixed"),popper:Ac(v)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(j){return f.modifiersData[j.name]=Object.assign({},j.data)});for(var E=0;E<f.orderedModifiers.length;E++){if(f.reset===!0){f.reset=!1,E=-1;continue}var g=f.orderedModifiers[E],C=g.fn,P=g.options,F=P===void 0?{}:P,B=g.name;typeof C=="function"&&(f=C({state:f,options:F,name:B,instance:b})||f)}}}},update:Ym(function(){return new Promise(function(p){b.forceUpdate(),p(f)})}),destroy:function(){m(),d=!0}};if(!gf(s,c))return b;b.setOptions(u).then(function(p){!d&&u.onFirstUpdate&&u.onFirstUpdate(p)});function h(){f.orderedModifiers.forEach(function(p){var x=p.name,y=p.options,v=y===void 0?{}:y,E=p.effect;if(typeof E=="function"){var g=E({state:f,name:x,instance:b,options:v}),C=function(){};l.push(g||C)}})}function m(){l.forEach(function(p){return p()}),l=[]}return b}}const Xm=Km({defaultModifiers:[km,Dm,gm,ym,Lm,$m,Um,hm]}),Jm=["enabled","placement","strategy","modifiers"];function Qm(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const Zm={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},eg={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const r=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==n.id);r.length?t.setAttribute("aria-describedby",r.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,i=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&i==="tooltip"&&"setAttribute"in r){const a=r.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(n.id)!==-1)return;r.setAttribute("aria-describedby",a?`${a},${n.id}`:n.id)}}},tg=[];function dh(e,t,n={}){let{enabled:r=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=tg}=n,s=Qm(n,Jm);const c=_.useRef(o),u=_.useRef(),f=_.useCallback(()=>{var p;(p=u.current)==null||p.update()},[]),l=_.useCallback(()=>{var p;(p=u.current)==null||p.forceUpdate()},[]),[d,b]=G1(_.useState({placement:i,update:f,forceUpdate:l,attributes:{},styles:{popper:{},arrow:{}}})),h=_.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:p})=>{const x={},y={};Object.keys(p.elements).forEach(v=>{x[v]=p.styles[v],y[v]=p.attributes[v]}),b({state:p,styles:x,attributes:y,update:f,forceUpdate:l,placement:p.placement})}}),[f,l,b]),m=_.useMemo(()=>(Fr(c.current,o)||(c.current=o),c.current),[o]);return _.useEffect(()=>{!u.current||!r||u.current.setOptions({placement:i,strategy:a,modifiers:[...m,h,Zm]})},[a,i,h,r,m]),_.useEffect(()=>{if(!(!r||e==null||t==null))return u.current=Xm(e,t,Object.assign({},s,{placement:i,strategy:a,modifiers:[...m,eg,h]})),()=>{u.current!=null&&(u.current.destroy(),u.current=void 0,b(p=>Object.assign({},p,{attributes:{},styles:{popper:{}}})))}},[r,e,t]),d}function sa(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var ng=process.env.NODE_ENV!=="production",hh=function(){};if(ng){var rg=function(t,n){var r=arguments.length;n=new Array(r>1?r-1:0);for(var i=1;i<r;i++)n[i-1]=arguments[i];var a=0,o="Warning: "+t.replace(/%s/g,function(){return n[a++]});typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}};hh=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||rg.apply(null,[t].concat(n))}}var ig=hh;const jc=Ke(ig),vf=()=>{};function ag(e){return e.button===0}function og(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Yi=e=>e&&("current"in e?e.current:e),yf={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function ph(e,t=vf,{disabled:n,clickTrigger:r="click"}={}){const i=_.useRef(!1),a=_.useRef(!1),o=_.useCallback(u=>{const f=Yi(e);jc(!!f,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!f||og(u)||!ag(u)||!!sa(f,u.target)||a.current,a.current=!1},[e]),s=_n(u=>{const f=Yi(e);f&&sa(f,u.target)&&(a.current=!0)}),c=_n(u=>{i.current||t(u)});_.useEffect(()=>{var u,f;if(n||e==null)return;const l=si(Yi(e)),d=l.defaultView||window;let b=(u=d.event)!=null?u:(f=d.parent)==null?void 0:f.event,h=null;yf[r]&&(h=Ht(l,yf[r],s,!0));const m=Ht(l,r,o,!0),p=Ht(l,r,y=>{if(y===b){b=void 0;return}c(y)});let x=[];return"ontouchstart"in l.documentElement&&(x=[].slice.call(l.body.children).map(y=>Ht(y,"mousemove",vf))),()=>{h==null||h(),m(),p(),x.forEach(y=>y())}},[e,n,r,o,s,c])}function sg(e){const t={};return Array.isArray(e)?(e==null||e.forEach(n=>{t[n.name]=n}),t):e||t}function cg(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function bh({enabled:e,enableEvents:t,placement:n,flip:r,offset:i,fixed:a,containerPadding:o,arrowElement:s,popperConfig:c={}}){var u,f,l,d,b;const h=sg(c.modifiers);return Object.assign({},c,{placement:n,enabled:e,strategy:a?"fixed":c.strategy,modifiers:cg(Object.assign({},h,{eventListeners:{enabled:t,options:(u=h.eventListeners)==null?void 0:u.options},preventOverflow:Object.assign({},h.preventOverflow,{options:o?Object.assign({padding:o},(f=h.preventOverflow)==null?void 0:f.options):(l=h.preventOverflow)==null?void 0:l.options}),offset:{options:Object.assign({offset:i},(d=h.offset)==null?void 0:d.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(b=h.arrow)==null?void 0:b.options,{element:s})}),flip:Object.assign({enabled:!!r},h.flip)}))})}const mh=_.createContext(La?window:void 0);mh.Provider;function gh(){return _.useContext(mh)}const vh=fe.createContext({}),Lc=fe.forwardRef(({controlId:e,as:t="div",...n},r)=>{const i=_.useMemo(()=>({controlId:e}),[e]);return R.jsx(vh.Provider,{value:i,children:R.jsx(t,{...n,ref:r})})});Lc.displayName="FormGroup";const Ic=fe.forwardRef(({bsPrefix:e,className:t,children:n,controlId:r,label:i,...a},o)=>(e=Kt(e,"form-floating"),R.jsxs(Lc,{ref:o,className:Oe(t,e),controlId:r,...a,children:[n,R.jsx("label",{htmlFor:r,children:i})]})));Ic.displayName="FloatingLabel";const ns=(e,t)=>La?e==null?(t||si()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function Ls(e,t){const n=gh(),[r,i]=_.useState(()=>ns(e,n==null?void 0:n.document));if(!r){const a=ns(e);a&&i(a)}return _.useEffect(()=>{},[t,r]),_.useEffect(()=>{const a=ns(e);a!==r&&i(a)},[e,r]),r}function ug({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const a=_.useRef(null),o=_.useRef(t),s=_n(n);_.useEffect(()=>{t?o.current=!0:s(a.current)},[t,s]);const c=Zt(a,e.ref),u=_.cloneElement(e,{ref:c});return t?u:i||!o.current&&r?null:u}function yh(e){return e.code==="Escape"||e.keyCode===27}function fg(){const e=fe.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const lg=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function dg(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function hg(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:i,onExiting:a,onExited:o,addEndListener:s,children:c}=e,u=dg(e,lg);const{major:f}=fg(),l=f>=19?c.props.ref:c.ref,d=_.useRef(null),b=Zt(d,typeof c=="function"?null:l),h=C=>P=>{C&&d.current&&C(d.current,P)},m=_.useCallback(h(t),[t]),p=_.useCallback(h(n),[n]),x=_.useCallback(h(r),[r]),y=_.useCallback(h(i),[i]),v=_.useCallback(h(a),[a]),E=_.useCallback(h(o),[o]),g=_.useCallback(h(s),[s]);return Object.assign({},u,{nodeRef:d},t&&{onEnter:m},n&&{onEntering:p},r&&{onEntered:x},i&&{onExit:y},a&&{onExiting:v},o&&{onExited:E},s&&{addEndListener:g},{children:typeof c=="function"?(C,P)=>c(C,Object.assign({},P,{ref:b})):_.cloneElement(c,{ref:b})})}const pg=["component"];function bg(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const mg=fe.forwardRef((e,t)=>{let{component:n}=e,r=bg(e,pg);const i=hg(r);return R.jsx(n,Object.assign({ref:t},i))});function gg({in:e,onTransition:t}){const n=_.useRef(null),r=_.useRef(!0),i=_n(t);return ia(()=>{if(!n.current)return;let a=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>a}),()=>{a=!0}},[e,i]),ia(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function vg({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[a,o]=_.useState(!t);t&&a&&o(!1);const s=gg({in:!!t,onTransition:u=>{const f=()=>{u.isStale()||(u.in?r==null||r(u.element,u.initial):(o(!0),n==null||n(u.element)))};Promise.resolve(i(u)).then(f,l=>{throw u.in||o(!0),l})}}),c=Zt(s,e.ref);return a&&!t?null:_.cloneElement(e,{ref:c})}function _h(e,t,n){return e?R.jsx(mg,Object.assign({},n,{component:e})):t?R.jsx(vg,Object.assign({},n,{transition:t})):R.jsx(ug,Object.assign({},n))}function Is(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const yg=()=>{};function _g(e,t,{disabled:n,clickTrigger:r}={}){const i=t||yg;ph(e,i,{disabled:n,clickTrigger:r});const a=_n(o=>{yh(o)&&i(o)});_.useEffect(()=>{if(n||e==null)return;const o=si(Yi(e));let s=(o.defaultView||window).event;const c=Ht(o,"keyup",u=>{if(u===s){s=void 0;return}a(u)});return()=>{c()}},[e,n,a])}const xh=fe.forwardRef((e,t)=>{const{flip:n,offset:r,placement:i,containerPadding:a,popperConfig:o={},transition:s,runTransition:c}=e,[u,f]=Ms(),[l,d]=Ms(),b=Zt(f,t),h=Ls(e.container),m=Ls(e.target),[p,x]=_.useState(!e.show),y=dh(m,u,bh({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:r,arrowElement:l,popperConfig:o}));e.show&&p&&x(!1);const v=(...L)=>{x(!0),e.onExited&&e.onExited(...L)},E=e.show||!p;if(_g(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!E)return null;const{onExit:g,onExiting:C,onEnter:P,onEntering:F,onEntered:B}=e;let j=e.children(Object.assign({},y.attributes.popper,{style:y.styles.popper,ref:b}),{popper:y,placement:i,show:!!e.show,arrowProps:Object.assign({},y.attributes.arrow,{style:y.styles.arrow,ref:d})});return j=_h(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:j,onExit:g,onExiting:C,onExited:v,onEnter:P,onEntering:F,onEntered:B}),h?ln.createPortal(j,h):null});xh.displayName="Overlay";const wh=fe.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Kt(t,"popover-header"),R.jsx(n,{ref:i,className:Oe(e,t),...r})));wh.displayName="PopoverHeader";const Dc=fe.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Kt(t,"popover-body"),R.jsx(n,{ref:i,className:Oe(e,t),...r})));Dc.displayName="PopoverBody";function Oh(e,t){let n=e;return e==="left"?n=t?"end":"start":e==="right"&&(n=t?"start":"end"),n}function Eh(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const xg=fe.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:s,popper:c,show:u,...f},l)=>{const d=Kt(e,"popover"),b=Oc(),[h]=(t==null?void 0:t.split("-"))||[],m=Oh(h,b);let p=r;return u&&!s&&(p={...r,...Eh(c==null?void 0:c.strategy)}),R.jsxs("div",{ref:l,role:"tooltip",style:p,"x-placement":h,className:Oe(n,d,h&&`bs-popover-${m}`),...f,children:[R.jsx("div",{className:"popover-arrow",...o}),a?R.jsx(Dc,{children:i}):i]})}),Th=Object.assign(xg,{Header:wh,Body:Dc,POPPER_OFFSET:[0,8]}),Ch=fe.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:s,show:c,...u},f)=>{e=Kt(e,"tooltip");const l=Oc(),[d]=(t==null?void 0:t.split("-"))||[],b=Oh(d,l);let h=r;return c&&!o&&(h={...r,...Eh(s==null?void 0:s.strategy)}),R.jsxs("div",{ref:f,style:h,role:"tooltip","x-placement":d,className:Oe(n,e,`bs-tooltip-${b}`),...u,children:[R.jsx("div",{className:"tooltip-arrow",...a}),R.jsx("div",{className:`${e}-inner`,children:i})]})});Ch.displayName="Tooltip";const Nc=Object.assign(Ch,{TOOLTIP_OFFSET:[0,6]});function wg(e){const t=_.useRef(null),n=Kt(void 0,"popover"),r=Kt(void 0,"tooltip"),i=_.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(Is(t.current,n))return Th.POPPER_OFFSET;if(Is(t.current,r))return Nc.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,r]);return[t,[i]]}function Og(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=i=>n(ra(i))),t.ref=r.__wrapped||(r.__wrapped=i=>r(ra(i)))}const Rh=fe.forwardRef(({children:e,transition:t=aa,popperConfig:n={},rootClose:r=!1,placement:i="top",show:a=!1,...o},s)=>{const c=_.useRef({}),[u,f]=_.useState(null),[l,d]=wg(o.offset),b=Zt(s,l),h=t===!0?aa:t||void 0,m=_n(p=>{f(p),n==null||n.onFirstUpdate==null||n.onFirstUpdate(p)});return ia(()=>{u&&o.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[u,o.target]),_.useEffect(()=>{a||f(null)},[a]),R.jsx(xh,{...o,ref:b,popperConfig:{...n,modifiers:d.concat(n.modifiers||[]),onFirstUpdate:m},transition:h,rootClose:r,placement:i,show:a,children:(p,{arrowProps:x,popper:y,show:v})=>{var E;Og(p,x);const g=y==null?void 0:y.placement,C=Object.assign(c.current,{state:y==null?void 0:y.state,scheduleUpdate:y==null?void 0:y.update,placement:g,outOfBoundaries:(y==null||(E=y.state)==null||(E=E.modifiersData.hide)==null?void 0:E.isReferenceHidden)||!1,strategy:n.strategy}),P=!!u;return typeof e=="function"?e({...p,placement:g,show:v,...!t&&v&&{className:"show"},popper:C,arrowProps:x,hasDoneInitialMeasure:P}):fe.cloneElement(e,{...p,placement:g,arrowProps:x,popper:C,hasDoneInitialMeasure:P,className:Oe(e.props.className,!t&&v&&"show"),style:{...e.props.style,...p.style}})}})});Rh.displayName="Overlay";function Eg(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function _f(e,t,n){const[r]=t,i=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];(!a||a!==i)&&!sa(i,a)&&e(...t)}T.oneOf(["click","hover","focus"]);const Sh=({trigger:e=["hover","focus"],overlay:t,children:n,popperConfig:r={},show:i,defaultShow:a=!1,onToggle:o,delay:s,placement:c,flip:u=c&&c.indexOf("auto")!==-1,...f})=>{const l=_.useRef(null),d=Zt(l,n.ref),b=Y1(),h=_.useRef(""),[m,p]=Hd(i,a,o),x=Eg(s),{onFocus:y,onBlur:v,onClick:E}=typeof n!="function"?fe.Children.only(n).props:{},g=I=>{d(ra(I))},C=_.useCallback(()=>{if(b.clear(),h.current="show",!x.show){p(!0);return}b.set(()=>{h.current==="show"&&p(!0)},x.show)},[x.show,p,b]),P=_.useCallback(()=>{if(b.clear(),h.current="hide",!x.hide){p(!1);return}b.set(()=>{h.current==="hide"&&p(!1)},x.hide)},[x.hide,p,b]),F=_.useCallback((...I)=>{C(),y==null||y(...I)},[C,y]),B=_.useCallback((...I)=>{P(),v==null||v(...I)},[P,v]),j=_.useCallback((...I)=>{p(!m),E==null||E(...I)},[E,p,m]),L=_.useCallback((...I)=>{_f(C,I,"fromElement")},[C]),Z=_.useCallback((...I)=>{_f(P,I,"toElement")},[P]),M=e==null?[]:[].concat(e),S={ref:g};return M.indexOf("click")!==-1&&(S.onClick=j),M.indexOf("focus")!==-1&&(S.onFocus=F,S.onBlur=B),M.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&jc(M.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),S.onMouseOver=L,S.onMouseOut=Z),R.jsxs(R.Fragment,{children:[typeof n=="function"?n(S):_.cloneElement(n,S),R.jsx(Rh,{...f,show:m,onHide:P,flip:u,placement:c,popperConfig:r,target:l.current,children:t})]})};var Ah={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xf=_.createContext&&_.createContext(Ah),Tg=["attr","size","title"];function Cg(e,t){if(e==null)return{};var n=Rg(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}function Rg(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ca(){return ca=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},ca.apply(this,arguments)}function wf(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 ua(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wf(Object(n),!0).forEach(function(r){Sg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sg(e,t,n){return t=Ag(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ag(e){var t=$g(e,"string");return typeof t=="symbol"?t:t+""}function $g(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $h(e){return e&&e.map((t,n)=>_.createElement(t.tag,ua({key:n},t.attr),$h(t.child)))}function $e(e){return t=>_.createElement(Mg,ca({attr:ua({},e.attr)},t),$h(e.child))}function Mg(e){var t=n=>{var{attr:r,size:i,title:a}=e,o=Cg(e,Tg),s=i||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),_.createElement("svg",ca({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:c,style:ua(ua({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&_.createElement("title",null,a),e.children)};return xf!==void 0?_.createElement(xf.Consumer,null,n=>t(n)):t(Ah)}function kg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function Pg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"},child:[]}]})(e)}function jg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 17 5-5-5-5v10z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 24V0h24v24H0z"},child:[]}]})(e)}function Lg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function Ig(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function Dg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"},child:[]}]})(e)}function Ng(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function Fg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function Ug(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"},child:[]}]})(e)}function zg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z"},child:[]}]})(e)}function Bg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function qg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function Wg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function Hg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function Vg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function Yg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"},child:[]}]})(e)}function Gg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function Kg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function Xg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},child:[]}]})(e)}function Mh(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},child:[]}]})(e)}function Jg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}function Qg(e){return $e({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{fill:"none"},child:[{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]}]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"},child:[]}]})(e)}const Fc=_.createContext({cookieDomain:"",axiosOptions:{},language:"",localizationContext:{},texts:{},ProjectIconComponent:{},chartColorPalette:void 0}),Zg=_.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),ev=_.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let tv={data:""},nv=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||tv,rv=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,iv=/\/\*[^]*?\*\/| +/g,Of=/\n+/g,Wt=(e,t)=>{let n="",r="",i="";for(let a in e){let o=e[a];a[0]=="@"?a[1]=="i"?n=a+" "+o+";":r+=a[1]=="f"?Wt(o,a):a+"{"+Wt(o,a[1]=="k"?"":t)+"}":typeof o=="object"?r+=Wt(o,t?t.replace(/([^,])+/g,s=>a.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):a):o!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Wt.p?Wt.p(a,o):a+":"+o+";")}return n+(t&&i?t+"{"+i+"}":i)+r},Ct={},kh=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+kh(e[n]);return t}return e},av=(e,t,n,r,i)=>{let a=kh(e),o=Ct[a]||(Ct[a]=(c=>{let u=0,f=11;for(;u<c.length;)f=101*f+c.charCodeAt(u++)>>>0;return"go"+f})(a));if(!Ct[o]){let c=a!==e?e:(u=>{let f,l,d=[{}];for(;f=rv.exec(u.replace(iv,""));)f[4]?d.shift():f[3]?(l=f[3].replace(Of," ").trim(),d.unshift(d[0][l]=d[0][l]||{})):d[0][f[1]]=f[2].replace(Of," ").trim();return d[0]})(e);Ct[o]=Wt(i?{["@keyframes "+o]:c}:c,n?"":"."+o)}let s=n&&Ct.g?Ct.g:null;return n&&(Ct.g=Ct[o]),((c,u,f,l)=>{l?u.data=u.data.replace(l,c):u.data.indexOf(c)===-1&&(u.data=f?c+u.data:u.data+c)})(Ct[o],t,r,s),o},ov=(e,t,n)=>e.reduce((r,i,a)=>{let o=t[a];if(o&&o.call){let s=o(n),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;o=c?"."+c:s&&typeof s=="object"?s.props?"":Wt(s,""):s===!1?"":s}return r+i+(o??"")},"");function Da(e){let t=this||{},n=e.call?e(t.p):e;return av(n.unshift?n.raw?ov(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,nv(t.target),t.g,t.o,t.k)}let Ph,Ds,Ns;Da.bind({g:1});let kt=Da.bind({k:1});function sv(e,t,n,r){Wt.p=t,Ph=e,Ds=n,Ns=r}function tn(e,t){let n=this||{};return function(){let r=arguments;function i(a,o){let s=Object.assign({},a),c=s.className||i.className;n.p=Object.assign({theme:Ds&&Ds()},s),n.o=/ *go\d+/.test(c),s.className=Da.apply(n,r)+(c?" "+c:"");let u=e;return e[0]&&(u=s.as||e,delete s.as),Ns&&u[0]&&Ns(s),Ph(u,s)}return i}}var cv=e=>typeof e=="function",fa=(e,t)=>cv(e)?e(t):e,uv=(()=>{let e=0;return()=>(++e).toString()})(),jh=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),fv=20,Gi=new Map,lv=1e3,Ef=e=>{if(Gi.has(e))return;let t=setTimeout(()=>{Gi.delete(e),Sn({type:4,toastId:e})},lv);Gi.set(e,t)},dv=e=>{let t=Gi.get(e);t&&clearTimeout(t)},Fs=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,fv)};case 1:return t.toast.id&&dv(t.toast.id),{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case 2:let{toast:n}=t;return e.toasts.find(a=>a.id===n.id)?Fs(e,{type:1,toast:n}):Fs(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Ef(r):e.toasts.forEach(a=>{Ef(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===r||r===void 0?{...a,visible:!1}:a)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+i}))}}},Ki=[],Xi={toasts:[],pausedAt:void 0},Sn=e=>{Xi=Fs(Xi,e),Ki.forEach(t=>{t(Xi)})},hv={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},pv=(e={})=>{let[t,n]=_.useState(Xi);_.useEffect(()=>(Ki.push(n),()=>{let i=Ki.indexOf(n);i>-1&&Ki.splice(i,1)}),[t]);let r=t.toasts.map(i=>{var a,o;return{...e,...e[i.type],...i,duration:i.duration||((a=e[i.type])==null?void 0:a.duration)||(e==null?void 0:e.duration)||hv[i.type],style:{...e.style,...(o=e[i.type])==null?void 0:o.style,...i.style}}});return{...t,toasts:r}},bv=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||uv()}),fi=e=>(t,n)=>{let r=bv(t,e,n);return Sn({type:2,toast:r}),r.id},Je=(e,t)=>fi("blank")(e,t);Je.error=fi("error");Je.success=fi("success");Je.loading=fi("loading");Je.custom=fi("custom");Je.dismiss=e=>{Sn({type:3,toastId:e})};Je.remove=e=>Sn({type:4,toastId:e});Je.promise=(e,t,n)=>{let r=Je.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(i=>(Je.success(fa(t.success,i),{id:r,...n,...n==null?void 0:n.success}),i)).catch(i=>{Je.error(fa(t.error,i),{id:r,...n,...n==null?void 0:n.error})}),e};var mv=(e,t)=>{Sn({type:1,toast:{id:e,height:t}})},gv=()=>{Sn({type:5,time:Date.now()})},vv=e=>{let{toasts:t,pausedAt:n}=pv(e);_.useEffect(()=>{if(n)return;let a=Date.now(),o=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(a-s.createdAt);if(c<0){s.visible&&Je.dismiss(s.id);return}return setTimeout(()=>Je.dismiss(s.id),c)});return()=>{o.forEach(s=>s&&clearTimeout(s))}},[t,n]);let r=_.useCallback(()=>{n&&Sn({type:6,time:Date.now()})},[n]),i=_.useCallback((a,o)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:u}=o||{},f=t.filter(b=>(b.position||u)===(a.position||u)&&b.height),l=f.findIndex(b=>b.id===a.id),d=f.filter((b,h)=>h<l&&b.visible).length;return f.filter(b=>b.visible).slice(...s?[d+1]:[0,d]).reduce((b,h)=>b+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:mv,startPause:gv,endPause:r,calculateOffset:i}}},yv=kt`
|
|
53
|
+
Valid keys: `+JSON.stringify(Object.keys(A),null," "));var w=ee(G,z,X,Y,W+"."+z,n);if(w)return w}return null}return p(U)}function S(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(S);if(A===null||s(A))return!0;var U=l(A);if(U){var K=U.call(A),te;if(U!==A.entries){for(;!(te=K.next()).done;)if(!S(te.value))return!1}else for(;!(te=K.next()).done;){var X=te.value;if(X&&!S(X[1]))return!1}}else return!1;return!0;default:return!1}}function I(A,U){return A==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function q(A){var U=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":I(U,A)?"symbol":U}function H(A){if(typeof A>"u"||A===null)return""+A;var U=q(A);if(U==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return U}function ne(A){var U=H(A);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function V(A){return!A.constructor||!A.constructor.name?d:A.constructor.name}return b.checkPropTypes=i,b.resetWarningCache=i.resetWarningCache,b.PropTypes=b,b},Zo}var es,nf;function k1(){if(nf)return es;nf=1;var e=Tc();function t(){}function n(){}return n.resetWarningCache=t,es=function(){function r(o,s,c,u,f,l){if(l!==e){var d=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 d.name="Invariant Violation",d}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},es}if(process.env.NODE_ENV!=="production"){var P1=Vd(),j1=!0;Ss.exports=M1()(P1.isElement,j1)}else Ss.exports=k1()();var L1=Ss.exports;const T=Ke(L1),rf={disabled:!1};var I1=process.env.NODE_ENV!=="production"?T.oneOfType([T.number,T.shape({enter:T.number,exit:T.number,appear:T.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&T.oneOfType([T.string,T.shape({enter:T.string,exit:T.string,active:T.string}),T.shape({enter:T.string,enterDone:T.string,enterActive:T.string,exit:T.string,exitDone:T.string,exitActive:T.string})]);const Gd=_.createContext(null);var D1=function(t){return t.scrollTop},Ir="unmounted",Bt="exited",St="entering",qt="entered",na="exiting",jt=function(e){b1(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var o=i,s=o&&!o.isMounting?r.enter:r.appear,c;return a.appearStatus=null,r.in?s?(c=Bt,a.appearStatus=St):c=qt:r.unmountOnExit||r.mountOnEnter?c=Ir:c=Bt,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Ir?{status:Bt}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==St&&o!==qt&&(a=St):(o===St||o===qt)&&(a=na)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===St){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:ln.findDOMNode(this);o&&D1(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Bt&&this.setState({status:Ir})},n.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,c=this.props.nodeRef?[s]:[ln.findDOMNode(this),s],u=c[0],f=c[1],l=this.getTimeouts(),d=s?l.appear:l.enter;if(!i&&!o||rf.disabled){this.safeSetState({status:qt},function(){a.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:St},function(){a.props.onEntering(u,f),a.onTransitionEnd(d,function(){a.safeSetState({status:qt},function(){a.props.onEntered(u,f)})})})},n.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:ln.findDOMNode(this);if(!a||rf.disabled){this.safeSetState({status:Bt},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:na},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Bt},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:ln.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=c[0],f=c[1];this.props.addEndListener(u,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Ir)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Wd(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _.createElement(Gd.Provider,{value:null},typeof o=="function"?o(i,s):_.cloneElement(_.Children.only(o),s))},t}(_.Component);jt.contextType=Gd;jt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:T.shape({current:typeof Element>"u"?T.any:function(e,t,n,r,i,a){var o=e[t];return T.instanceOf(o&&"ownerDocument"in o?o.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,a)}}),children:T.oneOfType([T.func.isRequired,T.element.isRequired]).isRequired,in:T.bool,mountOnEnter:T.bool,unmountOnExit:T.bool,appear:T.bool,enter:T.bool,exit:T.bool,timeout:function(t){var n=I1;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return n.apply(void 0,[t].concat(i))},addEndListener:T.func,onEnter:T.func,onEntering:T.func,onEntered:T.func,onExit:T.func,onExiting:T.func,onExited:T.func}:{};function In(){}jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:In,onEntering:In,onEntered:In,onExit:In,onExiting:In,onExited:In};jt.UNMOUNTED=Ir;jt.EXITED=Bt;jt.ENTERING=St;jt.ENTERED=qt;jt.EXITING=na;const La=!!(typeof window<"u"&&window.document&&window.document.createElement);var As=!1,$s=!1;try{var ts={get passive(){return As=!0},get once(){return $s=As=!0}};La&&(window.addEventListener("test",ts,ts),window.removeEventListener("test",ts,!0))}catch{}function Kd(e,t,n,r){if(r&&typeof r!="boolean"&&!$s){var i=r.once,a=r.capture,o=n;!$s&&i&&(o=n.__once||function s(c){this.removeEventListener(t,s,a),n.call(this,c)},n.__once=o),e.addEventListener(t,o,As?r:a)}e.addEventListener(t,n,r)}function Xd(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function Ht(e,t,n,r){return Kd(e,t,n,r),function(){Xd(e,t,n,r)}}function N1(e,t,n,r){if(r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function F1(e){var t=Ec(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function U1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||N1(e,"transitionend",!0)},t+n),a=Ht(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),a()}}function Jd(e,t,n,r){n==null&&(n=F1(e)||0);var i=U1(e,n,r),a=Ht(e,"transitionend",t);return function(){i(),a()}}function af(e,t){const n=Ec(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function Qd(e,t){const n=af(e,"transitionDuration"),r=af(e,"transitionDelay"),i=Jd(e,a=>{a.target===e&&(i(),t(a))},n+r)}function Zd(e){e.offsetHeight}const of=e=>!e||typeof e=="function"?e:t=>{e.current=t};function z1(e,t){const n=of(e),r=of(t);return i=>{n&&n(i),r&&r(i)}}function Zt(e,t){return _.useMemo(()=>z1(e,t),[e,t])}function ra(e){return e&&"setState"in e?ln.findDOMNode(e):e??null}const eh=_.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:a,addEndListener:o,children:s,childRef:c,...u},f)=>{const l=_.useRef(null),d=Zt(l,c),b=C=>{d(ra(C))},h=C=>P=>{C&&l.current&&C(l.current,P)},m=_.useCallback(h(e),[e]),p=_.useCallback(h(t),[t]),x=_.useCallback(h(n),[n]),y=_.useCallback(h(r),[r]),v=_.useCallback(h(i),[i]),E=_.useCallback(h(a),[a]),g=_.useCallback(h(o),[o]);return R.jsx(jt,{ref:f,...u,onEnter:m,onEntered:x,onEntering:p,onExit:y,onExited:E,onExiting:v,addEndListener:g,nodeRef:l,children:typeof s=="function"?(C,P)=>s(C,{...P,ref:b}):_.cloneElement(s,{ref:b})})});function B1(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e},[e]),t}function _n(e){const t=B1(e);return _.useCallback(function(...n){return t.current&&t.current(...n)},[t])}function Ms(){return _.useState(null)}function Cc(){const e=_.useRef(!0),t=_.useRef(()=>e.current);return _.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const q1=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",W1=typeof document<"u",ia=W1||q1?_.useLayoutEffect:_.useEffect,H1={[St]:"show",[qt]:"show"},aa=fe.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=_.useCallback((c,u)=>{Zd(c),r==null||r(c,u)},[r]);return R.jsx(eh,{ref:a,addEndListener:Qd,...o,onEnter:s,childRef:t.ref,children:(c,u)=>fe.cloneElement(t,{...u,className:Oe("fade",e,t.props.className,H1[c],n[c])})})});aa.displayName="Fade";function V1(e){const t=_.useRef(e);return t.current=e,t}function th(e){const t=V1(e);_.useEffect(()=>()=>t.current(),[])}const ks=2**31-1;function nh(e,t,n){const r=n-Date.now();e.current=r<=ks?setTimeout(t,r):setTimeout(()=>nh(e,t,n),ks)}function Y1(){const e=Cc(),t=_.useRef();return th(()=>clearTimeout(t.current)),_.useMemo(()=>{const n=()=>clearTimeout(t.current);function r(i,a=0){e()&&(n(),a<=ks?t.current=setTimeout(i,a):nh(t,i,Date.now()+a))}return{set:r,clear:n,handleRef:t}},[])}var sf=Object.prototype.hasOwnProperty;function cf(e,t,n){for(n of e.keys())if(Fr(n,t))return n}function Fr(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Fr(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(i=r,i&&typeof i=="object"&&(i=cf(t,i),!i)||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(i=r[0],i&&typeof i=="object"&&(i=cf(t,i),!i)||!Fr(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(sf.call(e,n)&&++r&&!sf.call(t,n)||!(n in t)||!Fr(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function G1(e){const t=Cc();return[e[0],_.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var Ve="top",rt="bottom",it="right",Ye="left",Rc="auto",ci=[Ve,rt,it,Ye],Yn="start",Vr="end",K1="clippingParents",rh="viewport",wr="popper",X1="reference",uf=ci.reduce(function(e,t){return e.concat([t+"-"+Yn,t+"-"+Vr])},[]),ih=[].concat(ci,[Rc]).reduce(function(e,t){return e.concat([t,t+"-"+Yn,t+"-"+Vr])},[]),J1="beforeRead",Q1="read",Z1="afterRead",em="beforeMain",tm="main",nm="afterMain",rm="beforeWrite",im="write",am="afterWrite",om=[J1,Q1,Z1,em,tm,nm,rm,im,am];function vt(e){return e.split("-")[0]}function Ze(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=Ze(e).Element;return e instanceof t||e instanceof Element}function yt(e){var t=Ze(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sc(e){if(typeof ShadowRoot>"u")return!1;var t=Ze(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var mn=Math.max,oa=Math.min,Gn=Math.round;function Ps(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ah(){return!/^((?!chrome|android).)*safari/i.test(Ps())}function Kn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&yt(e)&&(i=e.offsetWidth>0&&Gn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Gn(r.height)/e.offsetHeight||1);var o=xn(e)?Ze(e):window,s=o.visualViewport,c=!ah()&&n,u=(r.left+(c&&s?s.offsetLeft:0))/i,f=(r.top+(c&&s?s.offsetTop:0))/a,l=r.width/i,d=r.height/a;return{width:l,height:d,top:f,right:u+l,bottom:f+d,left:u,x:u,y:f}}function Ac(e){var t=Kn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function oh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Sc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xt(e){return e?(e.nodeName||"").toLowerCase():null}function Mt(e){return Ze(e).getComputedStyle(e)}function sm(e){return["table","td","th"].indexOf(Xt(e))>=0}function en(e){return((xn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ia(e){return Xt(e)==="html"?e:e.assignedSlot||e.parentNode||(Sc(e)?e.host:null)||en(e)}function ff(e){return!yt(e)||Mt(e).position==="fixed"?null:e.offsetParent}function cm(e){var t=/firefox/i.test(Ps()),n=/Trident/i.test(Ps());if(n&&yt(e)){var r=Mt(e);if(r.position==="fixed")return null}var i=Ia(e);for(Sc(i)&&(i=i.host);yt(i)&&["html","body"].indexOf(Xt(i))<0;){var a=Mt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function ui(e){for(var t=Ze(e),n=ff(e);n&&sm(n)&&Mt(n).position==="static";)n=ff(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&Mt(n).position==="static")?t:n||cm(e)||t}function $c(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ur(e,t,n){return mn(e,oa(t,n))}function um(e,t,n){var r=Ur(e,t,n);return r>n?n:r}function sh(){return{top:0,right:0,bottom:0,left:0}}function ch(e){return Object.assign({},sh(),e)}function uh(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var fm=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ch(typeof t!="number"?t:uh(t,ci))};function lm(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=vt(n.placement),c=$c(s),u=[Ye,it].indexOf(s)>=0,f=u?"height":"width";if(!(!a||!o)){var l=fm(i.padding,n),d=Ac(a),b=c==="y"?Ve:Ye,h=c==="y"?rt:it,m=n.rects.reference[f]+n.rects.reference[c]-o[c]-n.rects.popper[f],p=o[c]-n.rects.reference[c],x=ui(a),y=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,v=m/2-p/2,E=l[b],g=y-d[f]-l[h],C=y/2-d[f]/2+v,P=Ur(E,C,g),F=c;n.modifiersData[r]=(t={},t[F]=P,t.centerOffset=P-C,t)}}function dm(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||oh(t.elements.popper,i)&&(t.elements.arrow=i))}const hm={name:"arrow",enabled:!0,phase:"main",fn:lm,effect:dm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xn(e){return e.split("-")[1]}var pm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bm(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Gn(n*i)/i||0,y:Gn(r*i)/i||0}}function lf(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,l=e.isFixed,d=o.x,b=d===void 0?0:d,h=o.y,m=h===void 0?0:h,p=typeof f=="function"?f({x:b,y:m}):{x:b,y:m};b=p.x,m=p.y;var x=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=Ye,E=Ve,g=window;if(u){var C=ui(n),P="clientHeight",F="clientWidth";if(C===Ze(n)&&(C=en(n),Mt(C).position!=="static"&&s==="absolute"&&(P="scrollHeight",F="scrollWidth")),C=C,i===Ve||(i===Ye||i===it)&&a===Vr){E=rt;var B=l&&C===g&&g.visualViewport?g.visualViewport.height:C[P];m-=B-r.height,m*=c?1:-1}if(i===Ye||(i===Ve||i===rt)&&a===Vr){v=it;var j=l&&C===g&&g.visualViewport?g.visualViewport.width:C[F];b-=j-r.width,b*=c?1:-1}}var L=Object.assign({position:s},u&&pm),Z=f===!0?bm({x:b,y:m},Ze(n)):{x:b,y:m};if(b=Z.x,m=Z.y,c){var M;return Object.assign({},L,(M={},M[E]=y?"0":"",M[v]=x?"0":"",M.transform=(g.devicePixelRatio||1)<=1?"translate("+b+"px, "+m+"px)":"translate3d("+b+"px, "+m+"px, 0)",M))}return Object.assign({},L,(t={},t[E]=y?m+"px":"",t[v]=x?b+"px":"",t.transform="",t))}function mm(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,c=s===void 0?!0:s,u={placement:vt(t.placement),variation:Xn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,lf(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,lf(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const gm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mm,data:{}};var Pi={passive:!0};function vm(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,c=Ze(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(f){f.addEventListener("scroll",n.update,Pi)}),s&&c.addEventListener("resize",n.update,Pi),function(){a&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Pi)}),s&&c.removeEventListener("resize",n.update,Pi)}}const ym={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vm,data:{}};var _m={left:"right",right:"left",bottom:"top",top:"bottom"};function Vi(e){return e.replace(/left|right|bottom|top/g,function(t){return _m[t]})}var xm={start:"end",end:"start"};function df(e){return e.replace(/start|end/g,function(t){return xm[t]})}function Mc(e){var t=Ze(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function kc(e){return Kn(en(e)).left+Mc(e).scrollLeft}function wm(e,t){var n=Ze(e),r=en(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var u=ah();(u||!u&&t==="fixed")&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+kc(e),y:c}}function Om(e){var t,n=en(e),r=Mc(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=mn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=mn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+kc(e),c=-r.scrollTop;return Mt(i||n).direction==="rtl"&&(s+=mn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:c}}function Pc(e){var t=Mt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function fh(e){return["html","body","#document"].indexOf(Xt(e))>=0?e.ownerDocument.body:yt(e)&&Pc(e)?e:fh(Ia(e))}function zr(e,t){var n;t===void 0&&(t=[]);var r=fh(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ze(r),o=i?[a].concat(a.visualViewport||[],Pc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(zr(Ia(o)))}function js(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Em(e,t){var n=Kn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function hf(e,t,n){return t===rh?js(wm(e,n)):xn(t)?Em(t,n):js(Om(en(e)))}function Tm(e){var t=zr(Ia(e)),n=["absolute","fixed"].indexOf(Mt(e).position)>=0,r=n&&yt(e)?ui(e):e;return xn(r)?t.filter(function(i){return xn(i)&&oh(i,r)&&Xt(i)!=="body"}):[]}function Cm(e,t,n,r){var i=t==="clippingParents"?Tm(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(c,u){var f=hf(e,u,r);return c.top=mn(f.top,c.top),c.right=oa(f.right,c.right),c.bottom=oa(f.bottom,c.bottom),c.left=mn(f.left,c.left),c},hf(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function lh(e){var t=e.reference,n=e.element,r=e.placement,i=r?vt(r):null,a=r?Xn(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case Ve:c={x:o,y:t.y-n.height};break;case rt:c={x:o,y:t.y+t.height};break;case it:c={x:t.x+t.width,y:s};break;case Ye:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var u=i?$c(i):null;if(u!=null){var f=u==="y"?"height":"width";switch(a){case Yn:c[u]=c[u]-(t[f]/2-n[f]/2);break;case Vr:c[u]=c[u]+(t[f]/2-n[f]/2);break}}return c}function Yr(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?K1:s,u=n.rootBoundary,f=u===void 0?rh:u,l=n.elementContext,d=l===void 0?wr:l,b=n.altBoundary,h=b===void 0?!1:b,m=n.padding,p=m===void 0?0:m,x=ch(typeof p!="number"?p:uh(p,ci)),y=d===wr?X1:wr,v=e.rects.popper,E=e.elements[h?y:d],g=Cm(xn(E)?E:E.contextElement||en(e.elements.popper),c,f,o),C=Kn(e.elements.reference),P=lh({reference:C,element:v,strategy:"absolute",placement:i}),F=js(Object.assign({},v,P)),B=d===wr?F:C,j={top:g.top-B.top+x.top,bottom:B.bottom-g.bottom+x.bottom,left:g.left-B.left+x.left,right:B.right-g.right+x.right},L=e.modifiersData.offset;if(d===wr&&L){var Z=L[i];Object.keys(j).forEach(function(M){var S=[it,rt].indexOf(M)>=0?1:-1,I=[Ve,rt].indexOf(M)>=0?"y":"x";j[M]+=Z[I]*S})}return j}function Rm(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=c===void 0?ih:c,f=Xn(r),l=f?s?uf:uf.filter(function(h){return Xn(h)===f}):ci,d=l.filter(function(h){return u.indexOf(h)>=0});d.length===0&&(d=l);var b=d.reduce(function(h,m){return h[m]=Yr(e,{placement:m,boundary:i,rootBoundary:a,padding:o})[vt(m)],h},{});return Object.keys(b).sort(function(h,m){return b[h]-b[m]})}function Sm(e){if(vt(e)===Rc)return[];var t=Vi(e);return[df(e),t,df(t)]}function Am(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,c=n.fallbackPlacements,u=n.padding,f=n.boundary,l=n.rootBoundary,d=n.altBoundary,b=n.flipVariations,h=b===void 0?!0:b,m=n.allowedAutoPlacements,p=t.options.placement,x=vt(p),y=x===p,v=c||(y||!h?[Vi(p)]:Sm(p)),E=[p].concat(v).reduce(function(X,Y){return X.concat(vt(Y)===Rc?Rm(t,{placement:Y,boundary:f,rootBoundary:l,padding:u,flipVariations:h,allowedAutoPlacements:m}):Y)},[]),g=t.rects.reference,C=t.rects.popper,P=new Map,F=!0,B=E[0],j=0;j<E.length;j++){var L=E[j],Z=vt(L),M=Xn(L)===Yn,S=[Ve,rt].indexOf(Z)>=0,I=S?"width":"height",q=Yr(t,{placement:L,boundary:f,rootBoundary:l,altBoundary:d,padding:u}),H=S?M?it:Ye:M?rt:Ve;g[I]>C[I]&&(H=Vi(H));var ne=Vi(H),V=[];if(a&&V.push(q[Z]<=0),s&&V.push(q[H]<=0,q[ne]<=0),V.every(function(X){return X})){B=L,F=!1;break}P.set(L,V)}if(F)for(var A=h?3:1,U=function(Y){var W=E.find(function(G){var J=P.get(G);if(J)return J.slice(0,Y).every(function(k){return k})});if(W)return B=W,"break"},K=A;K>0;K--){var te=U(K);if(te==="break")break}t.placement!==B&&(t.modifiersData[r]._skip=!0,t.placement=B,t.reset=!0)}}const $m={name:"flip",enabled:!0,phase:"main",fn:Am,requiresIfExists:["offset"],data:{_skip:!1}};function pf(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bf(e){return[Ve,it,rt,Ye].some(function(t){return e[t]>=0})}function Mm(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Yr(t,{elementContext:"reference"}),s=Yr(t,{altBoundary:!0}),c=pf(o,r),u=pf(s,i,a),f=bf(c),l=bf(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}const km={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Mm};function Pm(e,t,n){var r=vt(e),i=[Ye,Ve].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Ye,it].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function jm(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=ih.reduce(function(f,l){return f[l]=Pm(l,t.rects,a),f},{}),s=o[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const Lm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:jm};function Im(e){var t=e.state,n=e.name;t.modifiersData[n]=lh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Dm={name:"popperOffsets",enabled:!0,phase:"read",fn:Im,data:{}};function Nm(e){return e==="x"?"y":"x"}function Fm(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,c=n.boundary,u=n.rootBoundary,f=n.altBoundary,l=n.padding,d=n.tether,b=d===void 0?!0:d,h=n.tetherOffset,m=h===void 0?0:h,p=Yr(t,{boundary:c,rootBoundary:u,padding:l,altBoundary:f}),x=vt(t.placement),y=Xn(t.placement),v=!y,E=$c(x),g=Nm(E),C=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,B=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,j=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Z={x:0,y:0};if(C){if(a){var M,S=E==="y"?Ve:Ye,I=E==="y"?rt:it,q=E==="y"?"height":"width",H=C[E],ne=H+p[S],V=H-p[I],A=b?-F[q]/2:0,U=y===Yn?P[q]:F[q],K=y===Yn?-F[q]:-P[q],te=t.elements.arrow,X=b&&te?Ac(te):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:sh(),W=Y[S],G=Y[I],J=Ur(0,P[q],X[q]),k=v?P[q]/2-A-J-W-j.mainAxis:U-J-W-j.mainAxis,z=v?-P[q]/2+A+J+G+j.mainAxis:K+J+G+j.mainAxis,ee=t.elements.arrow&&ui(t.elements.arrow),w=ee?E==="y"?ee.clientTop||0:ee.clientLeft||0:0,he=(M=L==null?void 0:L[E])!=null?M:0,se=H+k-he-w,ge=H+z-he,Te=Ur(b?oa(ne,se):ne,H,b?mn(V,ge):V);C[E]=Te,Z[E]=Te-H}if(s){var Ie,at=E==="x"?Ve:Ye,ot=E==="x"?rt:it,Le=C[g],Xe=g==="y"?"height":"width",Ne=Le+p[at],st=Le-p[ot],an=[Ve,Ye].indexOf(x)!==-1,It=(Ie=L==null?void 0:L[g])!=null?Ie:0,on=an?Ne:Le-P[Xe]-F[Xe]-It+j.altAxis,ct=an?Le+P[Xe]+F[Xe]-It-j.altAxis:st,Pn=b&&an?um(on,Le,ct):Ur(b?on:Ne,Le,b?ct:st);C[g]=Pn,Z[g]=Pn-Le}t.modifiersData[r]=Z}}const Um={name:"preventOverflow",enabled:!0,phase:"main",fn:Fm,requiresIfExists:["offset"]};function zm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bm(e){return e===Ze(e)||!yt(e)?Mc(e):zm(e)}function qm(e){var t=e.getBoundingClientRect(),n=Gn(t.width)/e.offsetWidth||1,r=Gn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Wm(e,t,n){n===void 0&&(n=!1);var r=yt(t),i=yt(t)&&qm(t),a=en(t),o=Kn(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Xt(t)!=="body"||Pc(a))&&(s=Bm(t)),yt(t)?(c=Kn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=kc(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function Hm(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&i(c)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function Vm(e){var t=Hm(e);return om.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Ym(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Gm(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var mf={placement:"bottom",modifiers:[],strategy:"absolute"};function gf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Km(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?mf:i;return function(s,c,u){u===void 0&&(u=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},mf,a),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},l=[],d=!1,b={state:f,setOptions:function(x){var y=typeof x=="function"?x(f.options):x;m(),f.options=Object.assign({},a,f.options,y),f.scrollParents={reference:xn(s)?zr(s):s.contextElement?zr(s.contextElement):[],popper:zr(c)};var v=Vm(Gm([].concat(r,f.options.modifiers)));return f.orderedModifiers=v.filter(function(E){return E.enabled}),h(),b.update()},forceUpdate:function(){if(!d){var x=f.elements,y=x.reference,v=x.popper;if(gf(y,v)){f.rects={reference:Wm(y,ui(v),f.options.strategy==="fixed"),popper:Ac(v)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(j){return f.modifiersData[j.name]=Object.assign({},j.data)});for(var E=0;E<f.orderedModifiers.length;E++){if(f.reset===!0){f.reset=!1,E=-1;continue}var g=f.orderedModifiers[E],C=g.fn,P=g.options,F=P===void 0?{}:P,B=g.name;typeof C=="function"&&(f=C({state:f,options:F,name:B,instance:b})||f)}}}},update:Ym(function(){return new Promise(function(p){b.forceUpdate(),p(f)})}),destroy:function(){m(),d=!0}};if(!gf(s,c))return b;b.setOptions(u).then(function(p){!d&&u.onFirstUpdate&&u.onFirstUpdate(p)});function h(){f.orderedModifiers.forEach(function(p){var x=p.name,y=p.options,v=y===void 0?{}:y,E=p.effect;if(typeof E=="function"){var g=E({state:f,name:x,instance:b,options:v}),C=function(){};l.push(g||C)}})}function m(){l.forEach(function(p){return p()}),l=[]}return b}}const Xm=Km({defaultModifiers:[km,Dm,gm,ym,Lm,$m,Um,hm]}),Jm=["enabled","placement","strategy","modifiers"];function Qm(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const Zm={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},eg={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const r=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==n.id);r.length?t.setAttribute("aria-describedby",r.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,i=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&i==="tooltip"&&"setAttribute"in r){const a=r.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(n.id)!==-1)return;r.setAttribute("aria-describedby",a?`${a},${n.id}`:n.id)}}},tg=[];function dh(e,t,n={}){let{enabled:r=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=tg}=n,s=Qm(n,Jm);const c=_.useRef(o),u=_.useRef(),f=_.useCallback(()=>{var p;(p=u.current)==null||p.update()},[]),l=_.useCallback(()=>{var p;(p=u.current)==null||p.forceUpdate()},[]),[d,b]=G1(_.useState({placement:i,update:f,forceUpdate:l,attributes:{},styles:{popper:{},arrow:{}}})),h=_.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:p})=>{const x={},y={};Object.keys(p.elements).forEach(v=>{x[v]=p.styles[v],y[v]=p.attributes[v]}),b({state:p,styles:x,attributes:y,update:f,forceUpdate:l,placement:p.placement})}}),[f,l,b]),m=_.useMemo(()=>(Fr(c.current,o)||(c.current=o),c.current),[o]);return _.useEffect(()=>{!u.current||!r||u.current.setOptions({placement:i,strategy:a,modifiers:[...m,h,Zm]})},[a,i,h,r,m]),_.useEffect(()=>{if(!(!r||e==null||t==null))return u.current=Xm(e,t,Object.assign({},s,{placement:i,strategy:a,modifiers:[...m,eg,h]})),()=>{u.current!=null&&(u.current.destroy(),u.current=void 0,b(p=>Object.assign({},p,{attributes:{},styles:{popper:{}}})))}},[r,e,t]),d}function sa(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var ng=process.env.NODE_ENV!=="production",hh=function(){};if(ng){var rg=function(t,n){var r=arguments.length;n=new Array(r>1?r-1:0);for(var i=1;i<r;i++)n[i-1]=arguments[i];var a=0,o="Warning: "+t.replace(/%s/g,function(){return n[a++]});typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}};hh=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||rg.apply(null,[t].concat(n))}}var ig=hh;const jc=Ke(ig),vf=()=>{};function ag(e){return e.button===0}function og(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Yi=e=>e&&("current"in e?e.current:e),yf={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function ph(e,t=vf,{disabled:n,clickTrigger:r="click"}={}){const i=_.useRef(!1),a=_.useRef(!1),o=_.useCallback(u=>{const f=Yi(e);jc(!!f,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!f||og(u)||!ag(u)||!!sa(f,u.target)||a.current,a.current=!1},[e]),s=_n(u=>{const f=Yi(e);f&&sa(f,u.target)&&(a.current=!0)}),c=_n(u=>{i.current||t(u)});_.useEffect(()=>{var u,f;if(n||e==null)return;const l=si(Yi(e)),d=l.defaultView||window;let b=(u=d.event)!=null?u:(f=d.parent)==null?void 0:f.event,h=null;yf[r]&&(h=Ht(l,yf[r],s,!0));const m=Ht(l,r,o,!0),p=Ht(l,r,y=>{if(y===b){b=void 0;return}c(y)});let x=[];return"ontouchstart"in l.documentElement&&(x=[].slice.call(l.body.children).map(y=>Ht(y,"mousemove",vf))),()=>{h==null||h(),m(),p(),x.forEach(y=>y())}},[e,n,r,o,s,c])}function sg(e){const t={};return Array.isArray(e)?(e==null||e.forEach(n=>{t[n.name]=n}),t):e||t}function cg(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function bh({enabled:e,enableEvents:t,placement:n,flip:r,offset:i,fixed:a,containerPadding:o,arrowElement:s,popperConfig:c={}}){var u,f,l,d,b;const h=sg(c.modifiers);return Object.assign({},c,{placement:n,enabled:e,strategy:a?"fixed":c.strategy,modifiers:cg(Object.assign({},h,{eventListeners:{enabled:t,options:(u=h.eventListeners)==null?void 0:u.options},preventOverflow:Object.assign({},h.preventOverflow,{options:o?Object.assign({padding:o},(f=h.preventOverflow)==null?void 0:f.options):(l=h.preventOverflow)==null?void 0:l.options}),offset:{options:Object.assign({offset:i},(d=h.offset)==null?void 0:d.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(b=h.arrow)==null?void 0:b.options,{element:s})}),flip:Object.assign({enabled:!!r},h.flip)}))})}const mh=_.createContext(La?window:void 0);mh.Provider;function gh(){return _.useContext(mh)}const vh=fe.createContext({}),Lc=fe.forwardRef(({controlId:e,as:t="div",...n},r)=>{const i=_.useMemo(()=>({controlId:e}),[e]);return R.jsx(vh.Provider,{value:i,children:R.jsx(t,{...n,ref:r})})});Lc.displayName="FormGroup";const Ic=fe.forwardRef(({bsPrefix:e,className:t,children:n,controlId:r,label:i,...a},o)=>(e=Kt(e,"form-floating"),R.jsxs(Lc,{ref:o,className:Oe(t,e),controlId:r,...a,children:[n,R.jsx("label",{htmlFor:r,children:i})]})));Ic.displayName="FloatingLabel";const ns=(e,t)=>La?e==null?(t||si()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function Ls(e,t){const n=gh(),[r,i]=_.useState(()=>ns(e,n==null?void 0:n.document));if(!r){const a=ns(e);a&&i(a)}return _.useEffect(()=>{},[t,r]),_.useEffect(()=>{const a=ns(e);a!==r&&i(a)},[e,r]),r}function ug({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const a=_.useRef(null),o=_.useRef(t),s=_n(n);_.useEffect(()=>{t?o.current=!0:s(a.current)},[t,s]);const c=Zt(a,e.ref),u=_.cloneElement(e,{ref:c});return t?u:i||!o.current&&r?null:u}function yh(e){return e.code==="Escape"||e.keyCode===27}function fg(){const e=fe.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const lg=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function dg(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function hg(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:i,onExiting:a,onExited:o,addEndListener:s,children:c}=e,u=dg(e,lg);const{major:f}=fg(),l=f>=19?c.props.ref:c.ref,d=_.useRef(null),b=Zt(d,typeof c=="function"?null:l),h=C=>P=>{C&&d.current&&C(d.current,P)},m=_.useCallback(h(t),[t]),p=_.useCallback(h(n),[n]),x=_.useCallback(h(r),[r]),y=_.useCallback(h(i),[i]),v=_.useCallback(h(a),[a]),E=_.useCallback(h(o),[o]),g=_.useCallback(h(s),[s]);return Object.assign({},u,{nodeRef:d},t&&{onEnter:m},n&&{onEntering:p},r&&{onEntered:x},i&&{onExit:y},a&&{onExiting:v},o&&{onExited:E},s&&{addEndListener:g},{children:typeof c=="function"?(C,P)=>c(C,Object.assign({},P,{ref:b})):_.cloneElement(c,{ref:b})})}const pg=["component"];function bg(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const mg=fe.forwardRef((e,t)=>{let{component:n}=e,r=bg(e,pg);const i=hg(r);return R.jsx(n,Object.assign({ref:t},i))});function gg({in:e,onTransition:t}){const n=_.useRef(null),r=_.useRef(!0),i=_n(t);return ia(()=>{if(!n.current)return;let a=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>a}),()=>{a=!0}},[e,i]),ia(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function vg({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[a,o]=_.useState(!t);t&&a&&o(!1);const s=gg({in:!!t,onTransition:u=>{const f=()=>{u.isStale()||(u.in?r==null||r(u.element,u.initial):(o(!0),n==null||n(u.element)))};Promise.resolve(i(u)).then(f,l=>{throw u.in||o(!0),l})}}),c=Zt(s,e.ref);return a&&!t?null:_.cloneElement(e,{ref:c})}function _h(e,t,n){return e?R.jsx(mg,Object.assign({},n,{component:e})):t?R.jsx(vg,Object.assign({},n,{transition:t})):R.jsx(ug,Object.assign({},n))}function Is(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const yg=()=>{};function _g(e,t,{disabled:n,clickTrigger:r}={}){const i=t||yg;ph(e,i,{disabled:n,clickTrigger:r});const a=_n(o=>{yh(o)&&i(o)});_.useEffect(()=>{if(n||e==null)return;const o=si(Yi(e));let s=(o.defaultView||window).event;const c=Ht(o,"keyup",u=>{if(u===s){s=void 0;return}a(u)});return()=>{c()}},[e,n,a])}const xh=fe.forwardRef((e,t)=>{const{flip:n,offset:r,placement:i,containerPadding:a,popperConfig:o={},transition:s,runTransition:c}=e,[u,f]=Ms(),[l,d]=Ms(),b=Zt(f,t),h=Ls(e.container),m=Ls(e.target),[p,x]=_.useState(!e.show),y=dh(m,u,bh({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:r,arrowElement:l,popperConfig:o}));e.show&&p&&x(!1);const v=(...L)=>{x(!0),e.onExited&&e.onExited(...L)},E=e.show||!p;if(_g(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!E)return null;const{onExit:g,onExiting:C,onEnter:P,onEntering:F,onEntered:B}=e;let j=e.children(Object.assign({},y.attributes.popper,{style:y.styles.popper,ref:b}),{popper:y,placement:i,show:!!e.show,arrowProps:Object.assign({},y.attributes.arrow,{style:y.styles.arrow,ref:d})});return j=_h(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:j,onExit:g,onExiting:C,onExited:v,onEnter:P,onEntering:F,onEntered:B}),h?ln.createPortal(j,h):null});xh.displayName="Overlay";const wh=fe.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Kt(t,"popover-header"),R.jsx(n,{ref:i,className:Oe(e,t),...r})));wh.displayName="PopoverHeader";const Dc=fe.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Kt(t,"popover-body"),R.jsx(n,{ref:i,className:Oe(e,t),...r})));Dc.displayName="PopoverBody";function Oh(e,t){let n=e;return e==="left"?n=t?"end":"start":e==="right"&&(n=t?"start":"end"),n}function Eh(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const xg=fe.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:s,popper:c,show:u,...f},l)=>{const d=Kt(e,"popover"),b=Oc(),[h]=(t==null?void 0:t.split("-"))||[],m=Oh(h,b);let p=r;return u&&!s&&(p={...r,...Eh(c==null?void 0:c.strategy)}),R.jsxs("div",{ref:l,role:"tooltip",style:p,"x-placement":h,className:Oe(n,d,h&&`bs-popover-${m}`),...f,children:[R.jsx("div",{className:"popover-arrow",...o}),a?R.jsx(Dc,{children:i}):i]})}),Th=Object.assign(xg,{Header:wh,Body:Dc,POPPER_OFFSET:[0,8]}),Ch=fe.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:s,show:c,...u},f)=>{e=Kt(e,"tooltip");const l=Oc(),[d]=(t==null?void 0:t.split("-"))||[],b=Oh(d,l);let h=r;return c&&!o&&(h={...r,...Eh(s==null?void 0:s.strategy)}),R.jsxs("div",{ref:f,style:h,role:"tooltip","x-placement":d,className:Oe(n,e,`bs-tooltip-${b}`),...u,children:[R.jsx("div",{className:"tooltip-arrow",...a}),R.jsx("div",{className:`${e}-inner`,children:i})]})});Ch.displayName="Tooltip";const Nc=Object.assign(Ch,{TOOLTIP_OFFSET:[0,6]});function wg(e){const t=_.useRef(null),n=Kt(void 0,"popover"),r=Kt(void 0,"tooltip"),i=_.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(Is(t.current,n))return Th.POPPER_OFFSET;if(Is(t.current,r))return Nc.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,r]);return[t,[i]]}function Og(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=i=>n(ra(i))),t.ref=r.__wrapped||(r.__wrapped=i=>r(ra(i)))}const Rh=fe.forwardRef(({children:e,transition:t=aa,popperConfig:n={},rootClose:r=!1,placement:i="top",show:a=!1,...o},s)=>{const c=_.useRef({}),[u,f]=_.useState(null),[l,d]=wg(o.offset),b=Zt(s,l),h=t===!0?aa:t||void 0,m=_n(p=>{f(p),n==null||n.onFirstUpdate==null||n.onFirstUpdate(p)});return ia(()=>{u&&o.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[u,o.target]),_.useEffect(()=>{a||f(null)},[a]),R.jsx(xh,{...o,ref:b,popperConfig:{...n,modifiers:d.concat(n.modifiers||[]),onFirstUpdate:m},transition:h,rootClose:r,placement:i,show:a,children:(p,{arrowProps:x,popper:y,show:v})=>{var E;Og(p,x);const g=y==null?void 0:y.placement,C=Object.assign(c.current,{state:y==null?void 0:y.state,scheduleUpdate:y==null?void 0:y.update,placement:g,outOfBoundaries:(y==null||(E=y.state)==null||(E=E.modifiersData.hide)==null?void 0:E.isReferenceHidden)||!1,strategy:n.strategy}),P=!!u;return typeof e=="function"?e({...p,placement:g,show:v,...!t&&v&&{className:"show"},popper:C,arrowProps:x,hasDoneInitialMeasure:P}):fe.cloneElement(e,{...p,placement:g,arrowProps:x,popper:C,hasDoneInitialMeasure:P,className:Oe(e.props.className,!t&&v&&"show"),style:{...e.props.style,...p.style}})}})});Rh.displayName="Overlay";function Eg(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function _f(e,t,n){const[r]=t,i=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];(!a||a!==i)&&!sa(i,a)&&e(...t)}T.oneOf(["click","hover","focus"]);const Sh=({trigger:e=["hover","focus"],overlay:t,children:n,popperConfig:r={},show:i,defaultShow:a=!1,onToggle:o,delay:s,placement:c,flip:u=c&&c.indexOf("auto")!==-1,...f})=>{const l=_.useRef(null),d=Zt(l,n.ref),b=Y1(),h=_.useRef(""),[m,p]=Hd(i,a,o),x=Eg(s),{onFocus:y,onBlur:v,onClick:E}=typeof n!="function"?fe.Children.only(n).props:{},g=I=>{d(ra(I))},C=_.useCallback(()=>{if(b.clear(),h.current="show",!x.show){p(!0);return}b.set(()=>{h.current==="show"&&p(!0)},x.show)},[x.show,p,b]),P=_.useCallback(()=>{if(b.clear(),h.current="hide",!x.hide){p(!1);return}b.set(()=>{h.current==="hide"&&p(!1)},x.hide)},[x.hide,p,b]),F=_.useCallback((...I)=>{C(),y==null||y(...I)},[C,y]),B=_.useCallback((...I)=>{P(),v==null||v(...I)},[P,v]),j=_.useCallback((...I)=>{p(!m),E==null||E(...I)},[E,p,m]),L=_.useCallback((...I)=>{_f(C,I,"fromElement")},[C]),Z=_.useCallback((...I)=>{_f(P,I,"toElement")},[P]),M=e==null?[]:[].concat(e),S={ref:g};return M.indexOf("click")!==-1&&(S.onClick=j),M.indexOf("focus")!==-1&&(S.onFocus=F,S.onBlur=B),M.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&jc(M.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),S.onMouseOver=L,S.onMouseOut=Z),R.jsxs(R.Fragment,{children:[typeof n=="function"?n(S):_.cloneElement(n,S),R.jsx(Rh,{...f,show:m,onHide:P,flip:u,placement:c,popperConfig:r,target:l.current,children:t})]})};var Ah={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xf=_.createContext&&_.createContext(Ah),Tg=["attr","size","title"];function Cg(e,t){if(e==null)return{};var n=Rg(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}function Rg(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ca(){return ca=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},ca.apply(this,arguments)}function wf(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 ua(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wf(Object(n),!0).forEach(function(r){Sg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sg(e,t,n){return t=Ag(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ag(e){var t=$g(e,"string");return typeof t=="symbol"?t:t+""}function $g(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $h(e){return e&&e.map((t,n)=>_.createElement(t.tag,ua({key:n},t.attr),$h(t.child)))}function Ae(e){return t=>_.createElement(Mg,ca({attr:ua({},e.attr)},t),$h(e.child))}function Mg(e){var t=n=>{var{attr:r,size:i,title:a}=e,o=Cg(e,Tg),s=i||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),_.createElement("svg",ca({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:c,style:ua(ua({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&_.createElement("title",null,a),e.children)};return xf!==void 0?_.createElement(xf.Consumer,null,n=>t(n)):t(Ah)}function kg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},child:[]}]})(e)}function Pg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function jg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"},child:[]}]})(e)}function Lg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 17 5-5-5-5v10z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 24V0h24v24H0z"},child:[]}]})(e)}function Ig(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function Dg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function Ng(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"},child:[]}]})(e)}function Fg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function Ug(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function zg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"},child:[]}]})(e)}function Bg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z"},child:[]}]})(e)}function qg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function Wg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function Hg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function Vg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function Yg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function Gg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"},child:[]}]})(e)}function Kg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function Xg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function Jg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},child:[]}]})(e)}function Mh(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},child:[]}]})(e)}function Qg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}function Zg(e){return Ae({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{fill:"none"},child:[{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]}]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"},child:[]}]})(e)}const Fc=_.createContext({cookieDomain:"",axiosOptions:{},language:"",localizationContext:{},texts:{},ProjectIconComponent:{},chartColorPalette:void 0}),ev=_.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),tv=_.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let nv={data:""},rv=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||nv,iv=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,av=/\/\*[^]*?\*\/| +/g,Of=/\n+/g,Wt=(e,t)=>{let n="",r="",i="";for(let a in e){let o=e[a];a[0]=="@"?a[1]=="i"?n=a+" "+o+";":r+=a[1]=="f"?Wt(o,a):a+"{"+Wt(o,a[1]=="k"?"":t)+"}":typeof o=="object"?r+=Wt(o,t?t.replace(/([^,])+/g,s=>a.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):a):o!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Wt.p?Wt.p(a,o):a+":"+o+";")}return n+(t&&i?t+"{"+i+"}":i)+r},Ct={},kh=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+kh(e[n]);return t}return e},ov=(e,t,n,r,i)=>{let a=kh(e),o=Ct[a]||(Ct[a]=(c=>{let u=0,f=11;for(;u<c.length;)f=101*f+c.charCodeAt(u++)>>>0;return"go"+f})(a));if(!Ct[o]){let c=a!==e?e:(u=>{let f,l,d=[{}];for(;f=iv.exec(u.replace(av,""));)f[4]?d.shift():f[3]?(l=f[3].replace(Of," ").trim(),d.unshift(d[0][l]=d[0][l]||{})):d[0][f[1]]=f[2].replace(Of," ").trim();return d[0]})(e);Ct[o]=Wt(i?{["@keyframes "+o]:c}:c,n?"":"."+o)}let s=n&&Ct.g?Ct.g:null;return n&&(Ct.g=Ct[o]),((c,u,f,l)=>{l?u.data=u.data.replace(l,c):u.data.indexOf(c)===-1&&(u.data=f?c+u.data:u.data+c)})(Ct[o],t,r,s),o},sv=(e,t,n)=>e.reduce((r,i,a)=>{let o=t[a];if(o&&o.call){let s=o(n),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;o=c?"."+c:s&&typeof s=="object"?s.props?"":Wt(s,""):s===!1?"":s}return r+i+(o??"")},"");function Da(e){let t=this||{},n=e.call?e(t.p):e;return ov(n.unshift?n.raw?sv(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,rv(t.target),t.g,t.o,t.k)}let Ph,Ds,Ns;Da.bind({g:1});let kt=Da.bind({k:1});function cv(e,t,n,r){Wt.p=t,Ph=e,Ds=n,Ns=r}function tn(e,t){let n=this||{};return function(){let r=arguments;function i(a,o){let s=Object.assign({},a),c=s.className||i.className;n.p=Object.assign({theme:Ds&&Ds()},s),n.o=/ *go\d+/.test(c),s.className=Da.apply(n,r)+(c?" "+c:"");let u=e;return e[0]&&(u=s.as||e,delete s.as),Ns&&u[0]&&Ns(s),Ph(u,s)}return i}}var uv=e=>typeof e=="function",fa=(e,t)=>uv(e)?e(t):e,fv=(()=>{let e=0;return()=>(++e).toString()})(),jh=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),lv=20,Gi=new Map,dv=1e3,Ef=e=>{if(Gi.has(e))return;let t=setTimeout(()=>{Gi.delete(e),Sn({type:4,toastId:e})},dv);Gi.set(e,t)},hv=e=>{let t=Gi.get(e);t&&clearTimeout(t)},Fs=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,lv)};case 1:return t.toast.id&&hv(t.toast.id),{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case 2:let{toast:n}=t;return e.toasts.find(a=>a.id===n.id)?Fs(e,{type:1,toast:n}):Fs(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Ef(r):e.toasts.forEach(a=>{Ef(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===r||r===void 0?{...a,visible:!1}:a)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+i}))}}},Ki=[],Xi={toasts:[],pausedAt:void 0},Sn=e=>{Xi=Fs(Xi,e),Ki.forEach(t=>{t(Xi)})},pv={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},bv=(e={})=>{let[t,n]=_.useState(Xi);_.useEffect(()=>(Ki.push(n),()=>{let i=Ki.indexOf(n);i>-1&&Ki.splice(i,1)}),[t]);let r=t.toasts.map(i=>{var a,o;return{...e,...e[i.type],...i,duration:i.duration||((a=e[i.type])==null?void 0:a.duration)||(e==null?void 0:e.duration)||pv[i.type],style:{...e.style,...(o=e[i.type])==null?void 0:o.style,...i.style}}});return{...t,toasts:r}},mv=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||fv()}),fi=e=>(t,n)=>{let r=mv(t,e,n);return Sn({type:2,toast:r}),r.id},Je=(e,t)=>fi("blank")(e,t);Je.error=fi("error");Je.success=fi("success");Je.loading=fi("loading");Je.custom=fi("custom");Je.dismiss=e=>{Sn({type:3,toastId:e})};Je.remove=e=>Sn({type:4,toastId:e});Je.promise=(e,t,n)=>{let r=Je.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(i=>(Je.success(fa(t.success,i),{id:r,...n,...n==null?void 0:n.success}),i)).catch(i=>{Je.error(fa(t.error,i),{id:r,...n,...n==null?void 0:n.error})}),e};var gv=(e,t)=>{Sn({type:1,toast:{id:e,height:t}})},vv=()=>{Sn({type:5,time:Date.now()})},yv=e=>{let{toasts:t,pausedAt:n}=bv(e);_.useEffect(()=>{if(n)return;let a=Date.now(),o=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(a-s.createdAt);if(c<0){s.visible&&Je.dismiss(s.id);return}return setTimeout(()=>Je.dismiss(s.id),c)});return()=>{o.forEach(s=>s&&clearTimeout(s))}},[t,n]);let r=_.useCallback(()=>{n&&Sn({type:6,time:Date.now()})},[n]),i=_.useCallback((a,o)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:u}=o||{},f=t.filter(b=>(b.position||u)===(a.position||u)&&b.height),l=f.findIndex(b=>b.id===a.id),d=f.filter((b,h)=>h<l&&b.visible).length;return f.filter(b=>b.visible).slice(...s?[d+1]:[0,d]).reduce((b,h)=>b+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:gv,startPause:vv,endPause:r,calculateOffset:i}}},_v=kt`
|
|
54
54
|
from {
|
|
55
55
|
transform: scale(0) rotate(45deg);
|
|
56
56
|
opacity: 0;
|
|
@@ -58,7 +58,7 @@ from {
|
|
|
58
58
|
to {
|
|
59
59
|
transform: scale(1) rotate(45deg);
|
|
60
60
|
opacity: 1;
|
|
61
|
-
}`,
|
|
61
|
+
}`,xv=kt`
|
|
62
62
|
from {
|
|
63
63
|
transform: scale(0);
|
|
64
64
|
opacity: 0;
|
|
@@ -66,7 +66,7 @@ from {
|
|
|
66
66
|
to {
|
|
67
67
|
transform: scale(1);
|
|
68
68
|
opacity: 1;
|
|
69
|
-
}`,
|
|
69
|
+
}`,wv=kt`
|
|
70
70
|
from {
|
|
71
71
|
transform: scale(0) rotate(90deg);
|
|
72
72
|
opacity: 0;
|
|
@@ -74,7 +74,7 @@ from {
|
|
|
74
74
|
to {
|
|
75
75
|
transform: scale(1) rotate(90deg);
|
|
76
76
|
opacity: 1;
|
|
77
|
-
}`,
|
|
77
|
+
}`,Ov=tn("div")`
|
|
78
78
|
width: 20px;
|
|
79
79
|
opacity: 0;
|
|
80
80
|
height: 20px;
|
|
@@ -83,14 +83,14 @@ to {
|
|
|
83
83
|
position: relative;
|
|
84
84
|
transform: rotate(45deg);
|
|
85
85
|
|
|
86
|
-
animation: ${
|
|
86
|
+
animation: ${_v} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
87
87
|
forwards;
|
|
88
88
|
animation-delay: 100ms;
|
|
89
89
|
|
|
90
90
|
&:after,
|
|
91
91
|
&:before {
|
|
92
92
|
content: '';
|
|
93
|
-
animation: ${
|
|
93
|
+
animation: ${xv} 0.15s ease-out forwards;
|
|
94
94
|
animation-delay: 150ms;
|
|
95
95
|
position: absolute;
|
|
96
96
|
border-radius: 3px;
|
|
@@ -103,18 +103,18 @@ to {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
&:before {
|
|
106
|
-
animation: ${
|
|
106
|
+
animation: ${wv} 0.15s ease-out forwards;
|
|
107
107
|
animation-delay: 180ms;
|
|
108
108
|
transform: rotate(90deg);
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,Ev=kt`
|
|
111
111
|
from {
|
|
112
112
|
transform: rotate(0deg);
|
|
113
113
|
}
|
|
114
114
|
to {
|
|
115
115
|
transform: rotate(360deg);
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,Tv=tn("div")`
|
|
118
118
|
width: 12px;
|
|
119
119
|
height: 12px;
|
|
120
120
|
box-sizing: border-box;
|
|
@@ -122,8 +122,8 @@ to {
|
|
|
122
122
|
border-radius: 100%;
|
|
123
123
|
border-color: ${e=>e.secondary||"#e0e0e0"};
|
|
124
124
|
border-right-color: ${e=>e.primary||"#616161"};
|
|
125
|
-
animation: ${
|
|
126
|
-
`,
|
|
125
|
+
animation: ${Ev} 1s linear infinite;
|
|
126
|
+
`,Cv=kt`
|
|
127
127
|
from {
|
|
128
128
|
transform: scale(0) rotate(45deg);
|
|
129
129
|
opacity: 0;
|
|
@@ -131,7 +131,7 @@ from {
|
|
|
131
131
|
to {
|
|
132
132
|
transform: scale(1) rotate(45deg);
|
|
133
133
|
opacity: 1;
|
|
134
|
-
}`,
|
|
134
|
+
}`,Rv=kt`
|
|
135
135
|
0% {
|
|
136
136
|
height: 0;
|
|
137
137
|
width: 0;
|
|
@@ -145,7 +145,7 @@ to {
|
|
|
145
145
|
100% {
|
|
146
146
|
opacity: 1;
|
|
147
147
|
height: 10px;
|
|
148
|
-
}`,
|
|
148
|
+
}`,Sv=tn("div")`
|
|
149
149
|
width: 20px;
|
|
150
150
|
opacity: 0;
|
|
151
151
|
height: 20px;
|
|
@@ -154,13 +154,13 @@ to {
|
|
|
154
154
|
position: relative;
|
|
155
155
|
transform: rotate(45deg);
|
|
156
156
|
|
|
157
|
-
animation: ${
|
|
157
|
+
animation: ${Cv} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
158
158
|
forwards;
|
|
159
159
|
animation-delay: 100ms;
|
|
160
160
|
&:after {
|
|
161
161
|
content: '';
|
|
162
162
|
box-sizing: border-box;
|
|
163
|
-
animation: ${
|
|
163
|
+
animation: ${Rv} 0.2s ease-out forwards;
|
|
164
164
|
opacity: 0;
|
|
165
165
|
animation-delay: 200ms;
|
|
166
166
|
position: absolute;
|
|
@@ -172,16 +172,16 @@ to {
|
|
|
172
172
|
height: 10px;
|
|
173
173
|
width: 6px;
|
|
174
174
|
}
|
|
175
|
-
`,Sv=tn("div")`
|
|
176
|
-
position: absolute;
|
|
177
175
|
`,Av=tn("div")`
|
|
176
|
+
position: absolute;
|
|
177
|
+
`,$v=tn("div")`
|
|
178
178
|
position: relative;
|
|
179
179
|
display: flex;
|
|
180
180
|
justify-content: center;
|
|
181
181
|
align-items: center;
|
|
182
182
|
min-width: 20px;
|
|
183
183
|
min-height: 20px;
|
|
184
|
-
|
|
184
|
+
`,Mv=kt`
|
|
185
185
|
from {
|
|
186
186
|
transform: scale(0.6);
|
|
187
187
|
opacity: 0.4;
|
|
@@ -189,20 +189,20 @@ from {
|
|
|
189
189
|
to {
|
|
190
190
|
transform: scale(1);
|
|
191
191
|
opacity: 1;
|
|
192
|
-
}`,
|
|
192
|
+
}`,kv=tn("div")`
|
|
193
193
|
position: relative;
|
|
194
194
|
transform: scale(0.6);
|
|
195
195
|
opacity: 0.4;
|
|
196
196
|
min-width: 20px;
|
|
197
|
-
animation: ${
|
|
197
|
+
animation: ${Mv} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
198
198
|
forwards;
|
|
199
|
-
`,
|
|
199
|
+
`,Pv=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?fe.createElement(kv,null,t):t:n==="blank"?null:fe.createElement($v,null,fe.createElement(Tv,{...r}),n!=="loading"&&fe.createElement(Av,null,n==="error"?fe.createElement(Ov,{...r}):fe.createElement(Sv,{...r})))},jv=e=>`
|
|
200
200
|
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
201
201
|
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
202
|
-
`,
|
|
202
|
+
`,Lv=e=>`
|
|
203
203
|
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
204
204
|
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
|
205
|
-
`,
|
|
205
|
+
`,Iv="0%{opacity:0;} 100%{opacity:1;}",Dv="0%{opacity:1;} 100%{opacity:0;}",Nv=tn("div")`
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: center;
|
|
208
208
|
background: #fff;
|
|
@@ -214,43 +214,43 @@ to {
|
|
|
214
214
|
pointer-events: auto;
|
|
215
215
|
padding: 8px 10px;
|
|
216
216
|
border-radius: 8px;
|
|
217
|
-
`,
|
|
217
|
+
`,Fv=tn("div")`
|
|
218
218
|
display: flex;
|
|
219
219
|
justify-content: center;
|
|
220
220
|
margin: 4px 10px;
|
|
221
221
|
color: inherit;
|
|
222
222
|
flex: 1 1 auto;
|
|
223
223
|
white-space: pre-line;
|
|
224
|
-
`,
|
|
224
|
+
`,Uv=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=jh()?[Iv,Dv]:[jv(n),Lv(n)];return{animation:t?`${kt(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${kt(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},zv=fe.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?Uv(e.position||t||"top-center",e.visible):{opacity:0},a=fe.createElement(Pv,{toast:e}),o=fe.createElement(Fv,{...e.ariaProps},fa(e.message,e));return fe.createElement(Nv,{className:e.className,style:{...i,...n,...e.style}},typeof r=="function"?r({icon:a,message:o}):fe.createElement(fe.Fragment,null,a,o))});cv(fe.createElement);var Bv=({id:e,className:t,style:n,onHeightUpdate:r,children:i})=>{let a=fe.useCallback(o=>{if(o){let s=()=>{let c=o.getBoundingClientRect().height;r(e,c)};s(),new MutationObserver(s).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return fe.createElement("div",{ref:a,className:t,style:n},i)},qv=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:jh()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},Wv=Da`
|
|
225
225
|
z-index: 9999;
|
|
226
226
|
> * {
|
|
227
227
|
pointer-events: auto;
|
|
228
228
|
}
|
|
229
|
-
`,ji=16,Wv=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,containerStyle:a,containerClassName:o})=>{let{toasts:s,handlers:c}=vv(n);return fe.createElement("div",{style:{position:"fixed",zIndex:9999,top:ji,left:ji,right:ji,bottom:ji,pointerEvents:"none",...a},className:o,onMouseEnter:c.startPause,onMouseLeave:c.endPause},s.map(u=>{let f=u.position||t,l=c.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),d=Bv(f,l);return fe.createElement(zv,{id:u.id,key:u.id,onHeightUpdate:c.updateHeight,className:u.visible?qv:"",style:d},u.type==="custom"?fa(u.message,u):i?i(u):fe.createElement(Uv,{toast:u,position:f}))}))},Dn=Je;const Hv=_.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var Us;(function(e){e[e.LOGGING_IN=0]="LOGGING_IN",e[e.LOGGED_IN=1]="LOGGED_IN",e[e.LOGGED_OUT=2]="LOGGED_OUT",e[e.LOGIN_FAILED=3]="LOGIN_FAILED"})(Us||(Us={}));const Lh=Us,Vv=_.createContext({user:null,userLoginState:{state:Lh.LOGGED_OUT,user:null},loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});function Ih(e,t){return function(){return e.apply(t,arguments)}}const{toString:Yv}=Object.prototype,{getPrototypeOf:Uc}=Object,Na=(e=>t=>{const n=Yv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),bt=e=>(e=e.toLowerCase(),t=>Na(t)===e),Fa=e=>t=>typeof t===e,{isArray:nr}=Array,Gr=Fa("undefined");function Gv(e){return e!==null&&!Gr(e)&&e.constructor!==null&&!Gr(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Dh=bt("ArrayBuffer");function Kv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dh(e.buffer),t}const Xv=Fa("string"),Qe=Fa("function"),Nh=Fa("number"),Ua=e=>e!==null&&typeof e=="object",Jv=e=>e===!0||e===!1,Ji=e=>{if(Na(e)!=="object")return!1;const t=Uc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Qv=bt("Date"),Zv=bt("File"),ey=bt("Blob"),ty=bt("FileList"),ny=e=>Ua(e)&&Qe(e.pipe),ry=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=Na(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},iy=bt("URLSearchParams"),[ay,oy,sy,cy]=["ReadableStream","Request","Response","Headers"].map(bt),uy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let s;for(r=0;r<o;r++)s=a[r],t.call(null,e[s],s,e)}}function Fh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const dn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Uh=e=>!Gr(e)&&e!==dn;function zs(){const{caseless:e}=Uh(this)&&this||{},t={},n=(r,i)=>{const a=e&&Fh(t,i)||i;Ji(t[a])&&Ji(r)?t[a]=zs(t[a],r):Ji(r)?t[a]=zs({},r):nr(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&li(arguments[r],n);return t}const fy=(e,t,n,{allOwnKeys:r}={})=>(li(t,(i,a)=>{n&&Qe(i)?e[a]=Ih(i,n):e[a]=i},{allOwnKeys:r}),e),ly=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dy=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hy=(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Uc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},py=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},by=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!Nh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},my=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Uc(Uint8Array)),gy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},vy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yy=bt("HTMLFormElement"),_y=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Tf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xy=bt("RegExp"),zh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};li(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},wy=e=>{zh(e,(t,n)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Qe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Oy=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},Ey=()=>{},Ty=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,rs="abcdefghijklmnopqrstuvwxyz",Cf="0123456789",Bh={DIGIT:Cf,ALPHA:rs,ALPHA_DIGIT:rs+rs.toUpperCase()+Cf},Cy=(e=16,t=Bh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ry(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Sy=e=>{const t=new Array(10),n=(r,i)=>{if(Ua(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=nr(r)?[]:{};return li(r,(o,s)=>{const c=n(o,i+1);!Gr(c)&&(a[s]=c)}),t[i]=void 0,a}}return r};return n(e,0)},Ay=bt("AsyncFunction"),$y=e=>e&&(Ua(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),qh=((e,t)=>e?setImmediate:t?((n,r)=>(dn.addEventListener("message",({source:i,data:a})=>{i===dn&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),dn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qe(dn.postMessage)),My=typeof queueMicrotask<"u"?queueMicrotask.bind(dn):typeof process<"u"&&process.nextTick||qh,$={isArray:nr,isArrayBuffer:Dh,isBuffer:Gv,isFormData:ry,isArrayBufferView:Kv,isString:Xv,isNumber:Nh,isBoolean:Jv,isObject:Ua,isPlainObject:Ji,isReadableStream:ay,isRequest:oy,isResponse:sy,isHeaders:cy,isUndefined:Gr,isDate:Qv,isFile:Zv,isBlob:ey,isRegExp:xy,isFunction:Qe,isStream:ny,isURLSearchParams:iy,isTypedArray:my,isFileList:ty,forEach:li,merge:zs,extend:fy,trim:uy,stripBOM:ly,inherits:dy,toFlatObject:hy,kindOf:Na,kindOfTest:bt,endsWith:py,toArray:by,forEachEntry:gy,matchAll:vy,isHTMLForm:yy,hasOwnProperty:Tf,hasOwnProp:Tf,reduceDescriptors:zh,freezeMethods:wy,toObjectSet:Oy,toCamelCase:_y,noop:Ey,toFiniteNumber:Ty,findKey:Fh,global:dn,isContextDefined:Uh,ALPHABET:Bh,generateString:Cy,isSpecCompliantForm:Ry,toJSONObject:Sy,isAsyncFn:Ay,isThenable:$y,setImmediate:qh,asap:My};function ue(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}$.inherits(ue,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wh=ue.prototype,Hh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Hh[e]={value:e}});Object.defineProperties(ue,Hh);Object.defineProperty(Wh,"isAxiosError",{value:!0});ue.from=(e,t,n,r,i,a)=>{const o=Object.create(Wh);return $.toFlatObject(e,o,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),ue.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const ky=null;function Bs(e){return $.isPlainObject(e)||$.isArray(e)}function Vh(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Rf(e,t,n){return e?e.concat(t).map(function(i,a){return i=Vh(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function Py(e){return $.isArray(e)&&!e.some(Bs)}const jy=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function za(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,p){return!$.isUndefined(p[m])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if($.isDate(h))return h.toISOString();if(!c&&$.isBlob(h))throw new ue("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(h)||$.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function f(h,m,p){let x=h;if(h&&!p&&typeof h=="object"){if($.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if($.isArray(h)&&Py(h)||($.isFileList(h)||$.endsWith(m,"[]"))&&(x=$.toArray(h)))return m=Vh(m),x.forEach(function(v,E){!($.isUndefined(v)||v===null)&&t.append(o===!0?Rf([m],E,a):o===null?m:m+"[]",u(v))}),!1}return Bs(h)?!0:(t.append(Rf(p,m,a),u(h)),!1)}const l=[],d=Object.assign(jy,{defaultVisitor:f,convertValue:u,isVisitable:Bs});function b(h,m){if(!$.isUndefined(h)){if(l.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));l.push(h),$.forEach(h,function(x,y){(!($.isUndefined(x)||x===null)&&i.call(t,x,$.isString(y)?y.trim():y,m,d))===!0&&b(x,m?m.concat(y):[y])}),l.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Sf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function zc(e,t){this._pairs=[],e&&za(e,this,t)}const Yh=zc.prototype;Yh.append=function(t,n){this._pairs.push([t,n])};Yh.toString=function(t){const n=t?function(r){return t.call(this,r,Sf)}:Sf;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Ly(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gh(e,t,n){if(!t)return e;const r=n&&n.encode||Ly,i=n&&n.serialize;let a;if(i?a=i(t,n):a=$.isURLSearchParams(t)?t.toString():new zc(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Af{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Kh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Iy=typeof URLSearchParams<"u"?URLSearchParams:zc,Dy=typeof FormData<"u"?FormData:null,Ny=typeof Blob<"u"?Blob:null,Fy={isBrowser:!0,classes:{URLSearchParams:Iy,FormData:Dy,Blob:Ny},protocols:["http","https","file","blob","url","data"]},Bc=typeof window<"u"&&typeof document<"u",Uy=(e=>Bc&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),zy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",By=Bc&&window.location.href||"http://localhost",qy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bc,hasStandardBrowserEnv:Uy,hasStandardBrowserWebWorkerEnv:zy,origin:By},Symbol.toStringTag,{value:"Module"})),dt={...qy,...Fy};function Wy(e,t){return za(e,new dt.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return dt.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Hy(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Vy(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Xh(e){function t(n,r,i,a){let o=n[a++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),c=a>=n.length;return o=!o&&$.isArray(i)?i.length:o,c?($.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!$.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&$.isArray(i[o])&&(i[o]=Vy(i[o])),!s)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,i)=>{t(Hy(r),i,n,0)}),n}return null}function Yy(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const di={transitional:Kh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=$.isObject(t);if(a&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return i?JSON.stringify(Xh(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Wy(t,this.formSerializer).toString();if((s=$.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return za(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),Yy(t)):t}],transformResponse:[function(t){const n=this.transitional||di.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?ue.from(s,ue.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dt.classes.FormData,Blob:dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{di.headers[e]={}});const Gy=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ky=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
230
|
-
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&
|
|
231
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[$f]=this[$f]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=Or(o);r[s]||(Zy(i,o),r[s]=!0)}return $.isArray(t)?t.forEach(a):a(t),this}}Ge.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Ge.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});$.freezeMethods(Ge);function as(e,t){const n=this||di,r=t||n,i=Ge.from(r.headers);let a=r.data;return $.forEach(e,function(s){a=s.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Jh(e){return!!(e&&e.__CANCEL__)}function rr(e,t,n){ue.call(this,e??"canceled",ue.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(rr,ue,{__CANCEL__:!0});function Qh(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ue("Request failed with status code "+n.status,[ue.ERR_BAD_REQUEST,ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function e2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function t2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[a];o||(o=u),n[i]=c,r[i]=u;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const b=f&&u-f;return b?Math.round(d*1e3/b):void 0}}function n2(e,t){let n=0,r=1e3/t,i,a;const o=(u,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e.apply(null,u)};return[(...u)=>{const f=Date.now(),l=f-n;l>=r?o(u,f):(i=u,a||(a=setTimeout(()=>{a=null,o(i)},r-l)))},()=>i&&o(i)]}const la=(e,t,n=3)=>{let r=0;const i=t2(50,250);return n2(a=>{const o=a.loaded,s=a.lengthComputable?a.total:void 0,c=o-r,u=i(c),f=o<=s;r=o;const l={loaded:o,total:s,progress:s?o/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s&&f?(s-o)/u:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(l)},n)},Mf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kf=e=>(...t)=>$.asap(()=>e(...t)),r2=dt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const s=$.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),i2=dt.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),$.isString(r)&&o.push("path="+r),$.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function a2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function o2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zh(e,t){return e&&!a2(t)?o2(e,t):t}const Pf=e=>e instanceof Ge?{...e}:e;function wn(e,t){t=t||{};const n={};function r(u,f,l){return $.isPlainObject(u)&&$.isPlainObject(f)?$.merge.call({caseless:l},u,f):$.isPlainObject(f)?$.merge({},f):$.isArray(f)?f.slice():f}function i(u,f,l){if($.isUndefined(f)){if(!$.isUndefined(u))return r(void 0,u,l)}else return r(u,f,l)}function a(u,f){if(!$.isUndefined(f))return r(void 0,f)}function o(u,f){if($.isUndefined(f)){if(!$.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function s(u,f,l){if(l in t)return r(u,f);if(l in e)return r(void 0,u)}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,f)=>i(Pf(u),Pf(f),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(f){const l=c[f]||i,d=l(e[f],t[f],f);$.isUndefined(d)&&l!==s||(n[f]=d)}),n}const ep=e=>{const t=wn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;t.headers=o=Ge.from(o),t.url=Gh(Zh(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if($.isFormData(n)){if(dt.hasStandardBrowserEnv||dt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[u,...f]=c?c.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...f].join("; "))}}if(dt.hasStandardBrowserEnv&&(r&&$.isFunction(r)&&(r=r(t)),r||r!==!1&&r2(t.url))){const u=i&&a&&i2.read(a);u&&o.set(i,u)}return t},s2=typeof XMLHttpRequest<"u",c2=s2&&function(e){return new Promise(function(n,r){const i=ep(e);let a=i.data;const o=Ge.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:u}=i,f,l,d,b,h;function m(){b&&b(),h&&h(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let p=new XMLHttpRequest;p.open(i.method.toUpperCase(),i.url,!0),p.timeout=i.timeout;function x(){if(!p)return;const v=Ge.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:v,config:e,request:p};Qh(function(P){n(P),m()},function(P){r(P),m()},g),p=null}"onloadend"in p?p.onloadend=x:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(x)},p.onabort=function(){p&&(r(new ue("Request aborted",ue.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new ue("Network Error",ue.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const g=i.transitional||Kh;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),r(new ue(E,g.clarifyTimeoutError?ue.ETIMEDOUT:ue.ECONNABORTED,e,p)),p=null},a===void 0&&o.setContentType(null),"setRequestHeader"in p&&$.forEach(o.toJSON(),function(E,g){p.setRequestHeader(g,E)}),$.isUndefined(i.withCredentials)||(p.withCredentials=!!i.withCredentials),s&&s!=="json"&&(p.responseType=i.responseType),u&&([d,h]=la(u,!0),p.addEventListener("progress",d)),c&&p.upload&&([l,b]=la(c),p.upload.addEventListener("progress",l),p.upload.addEventListener("loadend",b)),(i.cancelToken||i.signal)&&(f=v=>{p&&(r(!v||v.type?new rr(null,e,p):v),p.abort(),p=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=e2(i.url);if(y&&dt.protocols.indexOf(y)===-1){r(new ue("Unsupported protocol "+y+":",ue.ERR_BAD_REQUEST,e));return}p.send(a||null)})},u2=(e,t)=>{let n=new AbortController,r;const i=function(c){if(!r){r=!0,o();const u=c instanceof Error?c:this.reason;n.abort(u instanceof ue?u:new rr(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{i(new ue(`timeout ${t} of ms exceeded`,ue.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=o,[s,()=>{a&&clearTimeout(a),a=null}]},f2=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},l2=async function*(e,t,n){for await(const r of e)yield*f2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},jf=(e,t,n,r,i)=>{const a=l2(e,t,i);let o=0,s,c=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:l}=await a.next();if(f){c(),u.close();return}let d=l.byteLength;if(n){let b=o+=d;n(b)}u.enqueue(new Uint8Array(l))}catch(f){throw c(f),f}},cancel(u){return c(u),a.return()}},{highWaterMark:2})},Ba=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",tp=Ba&&typeof ReadableStream=="function",qs=Ba&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),np=(e,...t)=>{try{return!!e(...t)}catch{return!1}},d2=tp&&np(()=>{let e=!1;const t=new Request(dt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Lf=64*1024,Ws=tp&&np(()=>$.isReadableStream(new Response("").body)),da={stream:Ws&&(e=>e.body)};Ba&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!da[t]&&(da[t]=$.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ue(`Response type '${t}' is not supported`,ue.ERR_NOT_SUPPORT,r)})})})(new Response);const h2=async e=>{if(e==null)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if($.isArrayBufferView(e)||$.isArrayBuffer(e))return e.byteLength;if($.isURLSearchParams(e)&&(e=e+""),$.isString(e))return(await qs(e)).byteLength},p2=async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return n??h2(t)},b2=Ba&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:f,withCredentials:l="same-origin",fetchOptions:d}=ep(e);u=u?(u+"").toLowerCase():"text";let[b,h]=i||a||o?u2([i,a],o):[],m,p;const x=()=>{!m&&setTimeout(()=>{b&&b.unsubscribe()}),m=!0};let y;try{if(c&&d2&&n!=="get"&&n!=="head"&&(y=await p2(f,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),P;if($.isFormData(r)&&(P=C.headers.get("content-type"))&&f.setContentType(P),C.body){const[F,B]=Mf(y,la(kf(c)));r=jf(C.body,Lf,F,B,qs)}}$.isString(l)||(l=l?"include":"omit"),p=new Request(t,{...d,signal:b,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:l});let v=await fetch(p);const E=Ws&&(u==="stream"||u==="response");if(Ws&&(s||E)){const C={};["status","statusText","headers"].forEach(j=>{C[j]=v[j]});const P=$.toFiniteNumber(v.headers.get("content-length")),[F,B]=s&&Mf(P,la(kf(s),!0))||[];v=new Response(jf(v.body,Lf,F,()=>{B&&B(),E&&x()},qs),C)}u=u||"text";let g=await da[$.findKey(da,u)||"text"](v,e);return!E&&x(),h&&h(),await new Promise((C,P)=>{Qh(C,P,{data:g,headers:Ge.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:p})})}catch(v){throw x(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ue("Network Error",ue.ERR_NETWORK,e,p),{cause:v.cause||v}):ue.from(v,v&&v.code,e,p)}}),Hs={http:ky,xhr:c2,fetch:b2};$.forEach(Hs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const If=e=>`- ${e}`,m2=e=>$.isFunction(e)||e===null||e===!1,rp={getAdapter:e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!m2(n)&&(r=Hs[(o=String(n)).toLowerCase()],r===void 0))throw new ue(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
|
|
229
|
+
`,ji=16,Hv=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,containerStyle:a,containerClassName:o})=>{let{toasts:s,handlers:c}=yv(n);return fe.createElement("div",{style:{position:"fixed",zIndex:9999,top:ji,left:ji,right:ji,bottom:ji,pointerEvents:"none",...a},className:o,onMouseEnter:c.startPause,onMouseLeave:c.endPause},s.map(u=>{let f=u.position||t,l=c.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),d=qv(f,l);return fe.createElement(Bv,{id:u.id,key:u.id,onHeightUpdate:c.updateHeight,className:u.visible?Wv:"",style:d},u.type==="custom"?fa(u.message,u):i?i(u):fe.createElement(zv,{toast:u,position:f}))}))},Dn=Je;const Vv=_.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var Us;(function(e){e[e.LOGGING_IN=0]="LOGGING_IN",e[e.LOGGED_IN=1]="LOGGED_IN",e[e.LOGGED_OUT=2]="LOGGED_OUT",e[e.LOGIN_FAILED=3]="LOGIN_FAILED"})(Us||(Us={}));const Lh=Us,Yv=_.createContext({user:null,userLoginState:{state:Lh.LOGGED_OUT,user:null},loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});function Ih(e,t){return function(){return e.apply(t,arguments)}}const{toString:Gv}=Object.prototype,{getPrototypeOf:Uc}=Object,Na=(e=>t=>{const n=Gv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),bt=e=>(e=e.toLowerCase(),t=>Na(t)===e),Fa=e=>t=>typeof t===e,{isArray:nr}=Array,Gr=Fa("undefined");function Kv(e){return e!==null&&!Gr(e)&&e.constructor!==null&&!Gr(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Dh=bt("ArrayBuffer");function Xv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dh(e.buffer),t}const Jv=Fa("string"),Qe=Fa("function"),Nh=Fa("number"),Ua=e=>e!==null&&typeof e=="object",Qv=e=>e===!0||e===!1,Ji=e=>{if(Na(e)!=="object")return!1;const t=Uc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Zv=bt("Date"),ey=bt("File"),ty=bt("Blob"),ny=bt("FileList"),ry=e=>Ua(e)&&Qe(e.pipe),iy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=Na(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},ay=bt("URLSearchParams"),[oy,sy,cy,uy]=["ReadableStream","Request","Response","Headers"].map(bt),fy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let s;for(r=0;r<o;r++)s=a[r],t.call(null,e[s],s,e)}}function Fh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const dn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Uh=e=>!Gr(e)&&e!==dn;function zs(){const{caseless:e}=Uh(this)&&this||{},t={},n=(r,i)=>{const a=e&&Fh(t,i)||i;Ji(t[a])&&Ji(r)?t[a]=zs(t[a],r):Ji(r)?t[a]=zs({},r):nr(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&li(arguments[r],n);return t}const ly=(e,t,n,{allOwnKeys:r}={})=>(li(t,(i,a)=>{n&&Qe(i)?e[a]=Ih(i,n):e[a]=i},{allOwnKeys:r}),e),dy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hy=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},py=(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Uc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},by=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},my=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!Nh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Uc(Uint8Array)),vy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},yy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},_y=bt("HTMLFormElement"),xy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Tf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wy=bt("RegExp"),zh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};li(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},Oy=e=>{zh(e,(t,n)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Qe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ey=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},Ty=()=>{},Cy=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,rs="abcdefghijklmnopqrstuvwxyz",Cf="0123456789",Bh={DIGIT:Cf,ALPHA:rs,ALPHA_DIGIT:rs+rs.toUpperCase()+Cf},Ry=(e=16,t=Bh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Sy(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ay=e=>{const t=new Array(10),n=(r,i)=>{if(Ua(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=nr(r)?[]:{};return li(r,(o,s)=>{const c=n(o,i+1);!Gr(c)&&(a[s]=c)}),t[i]=void 0,a}}return r};return n(e,0)},$y=bt("AsyncFunction"),My=e=>e&&(Ua(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),qh=((e,t)=>e?setImmediate:t?((n,r)=>(dn.addEventListener("message",({source:i,data:a})=>{i===dn&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),dn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qe(dn.postMessage)),ky=typeof queueMicrotask<"u"?queueMicrotask.bind(dn):typeof process<"u"&&process.nextTick||qh,$={isArray:nr,isArrayBuffer:Dh,isBuffer:Kv,isFormData:iy,isArrayBufferView:Xv,isString:Jv,isNumber:Nh,isBoolean:Qv,isObject:Ua,isPlainObject:Ji,isReadableStream:oy,isRequest:sy,isResponse:cy,isHeaders:uy,isUndefined:Gr,isDate:Zv,isFile:ey,isBlob:ty,isRegExp:wy,isFunction:Qe,isStream:ry,isURLSearchParams:ay,isTypedArray:gy,isFileList:ny,forEach:li,merge:zs,extend:ly,trim:fy,stripBOM:dy,inherits:hy,toFlatObject:py,kindOf:Na,kindOfTest:bt,endsWith:by,toArray:my,forEachEntry:vy,matchAll:yy,isHTMLForm:_y,hasOwnProperty:Tf,hasOwnProp:Tf,reduceDescriptors:zh,freezeMethods:Oy,toObjectSet:Ey,toCamelCase:xy,noop:Ty,toFiniteNumber:Cy,findKey:Fh,global:dn,isContextDefined:Uh,ALPHABET:Bh,generateString:Ry,isSpecCompliantForm:Sy,toJSONObject:Ay,isAsyncFn:$y,isThenable:My,setImmediate:qh,asap:ky};function ue(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}$.inherits(ue,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wh=ue.prototype,Hh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Hh[e]={value:e}});Object.defineProperties(ue,Hh);Object.defineProperty(Wh,"isAxiosError",{value:!0});ue.from=(e,t,n,r,i,a)=>{const o=Object.create(Wh);return $.toFlatObject(e,o,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),ue.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const Py=null;function Bs(e){return $.isPlainObject(e)||$.isArray(e)}function Vh(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Rf(e,t,n){return e?e.concat(t).map(function(i,a){return i=Vh(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function jy(e){return $.isArray(e)&&!e.some(Bs)}const Ly=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function za(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,p){return!$.isUndefined(p[m])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if($.isDate(h))return h.toISOString();if(!c&&$.isBlob(h))throw new ue("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(h)||$.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function f(h,m,p){let x=h;if(h&&!p&&typeof h=="object"){if($.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if($.isArray(h)&&jy(h)||($.isFileList(h)||$.endsWith(m,"[]"))&&(x=$.toArray(h)))return m=Vh(m),x.forEach(function(v,E){!($.isUndefined(v)||v===null)&&t.append(o===!0?Rf([m],E,a):o===null?m:m+"[]",u(v))}),!1}return Bs(h)?!0:(t.append(Rf(p,m,a),u(h)),!1)}const l=[],d=Object.assign(Ly,{defaultVisitor:f,convertValue:u,isVisitable:Bs});function b(h,m){if(!$.isUndefined(h)){if(l.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));l.push(h),$.forEach(h,function(x,y){(!($.isUndefined(x)||x===null)&&i.call(t,x,$.isString(y)?y.trim():y,m,d))===!0&&b(x,m?m.concat(y):[y])}),l.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Sf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function zc(e,t){this._pairs=[],e&&za(e,this,t)}const Yh=zc.prototype;Yh.append=function(t,n){this._pairs.push([t,n])};Yh.toString=function(t){const n=t?function(r){return t.call(this,r,Sf)}:Sf;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Iy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gh(e,t,n){if(!t)return e;const r=n&&n.encode||Iy,i=n&&n.serialize;let a;if(i?a=i(t,n):a=$.isURLSearchParams(t)?t.toString():new zc(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Af{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Kh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dy=typeof URLSearchParams<"u"?URLSearchParams:zc,Ny=typeof FormData<"u"?FormData:null,Fy=typeof Blob<"u"?Blob:null,Uy={isBrowser:!0,classes:{URLSearchParams:Dy,FormData:Ny,Blob:Fy},protocols:["http","https","file","blob","url","data"]},Bc=typeof window<"u"&&typeof document<"u",zy=(e=>Bc&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),By=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qy=Bc&&window.location.href||"http://localhost",Wy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bc,hasStandardBrowserEnv:zy,hasStandardBrowserWebWorkerEnv:By,origin:qy},Symbol.toStringTag,{value:"Module"})),dt={...Wy,...Uy};function Hy(e,t){return za(e,new dt.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return dt.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Vy(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Yy(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Xh(e){function t(n,r,i,a){let o=n[a++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),c=a>=n.length;return o=!o&&$.isArray(i)?i.length:o,c?($.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!$.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&$.isArray(i[o])&&(i[o]=Yy(i[o])),!s)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,i)=>{t(Vy(r),i,n,0)}),n}return null}function Gy(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const di={transitional:Kh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=$.isObject(t);if(a&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return i?JSON.stringify(Xh(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Hy(t,this.formSerializer).toString();if((s=$.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return za(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),Gy(t)):t}],transformResponse:[function(t){const n=this.transitional||di.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?ue.from(s,ue.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dt.classes.FormData,Blob:dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{di.headers[e]={}});const Ky=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xy=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
230
|
+
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&Ky[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},$f=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function Qi(e){return e===!1||e==null?e:$.isArray(e)?e.map(Qi):String(e)}function Jy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Qy=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function is(e,t,n,r,i){if($.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function Zy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function e2(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}class Ge{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(s,c,u){const f=Or(c);if(!f)throw new Error("header name must be a non-empty string");const l=$.findKey(i,f);(!l||i[l]===void 0||u===!0||u===void 0&&i[l]!==!1)&&(i[l||c]=Qi(s))}const o=(s,c)=>$.forEach(s,(u,f)=>a(u,f,c));if($.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if($.isString(t)&&(t=t.trim())&&!Qy(t))o(Xy(t),n);else if($.isHeaders(t))for(const[s,c]of t.entries())a(c,s,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=Or(t),t){const r=$.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Jy(i);if($.isFunction(n))return n.call(this,i,r);if($.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||is(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=Or(o),o){const s=$.findKey(r,o);s&&(!n||is(r,r[s],s,n))&&(delete r[s],i=!0)}}return $.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||is(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return $.forEach(this,(i,a)=>{const o=$.findKey(r,a);if(o){n[o]=Qi(i),delete n[a];return}const s=t?Zy(a):String(a).trim();s!==a&&delete n[a],n[s]=Qi(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
231
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[$f]=this[$f]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=Or(o);r[s]||(e2(i,o),r[s]=!0)}return $.isArray(t)?t.forEach(a):a(t),this}}Ge.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Ge.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});$.freezeMethods(Ge);function as(e,t){const n=this||di,r=t||n,i=Ge.from(r.headers);let a=r.data;return $.forEach(e,function(s){a=s.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Jh(e){return!!(e&&e.__CANCEL__)}function rr(e,t,n){ue.call(this,e??"canceled",ue.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(rr,ue,{__CANCEL__:!0});function Qh(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ue("Request failed with status code "+n.status,[ue.ERR_BAD_REQUEST,ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function t2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function n2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[a];o||(o=u),n[i]=c,r[i]=u;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const b=f&&u-f;return b?Math.round(d*1e3/b):void 0}}function r2(e,t){let n=0,r=1e3/t,i,a;const o=(u,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e.apply(null,u)};return[(...u)=>{const f=Date.now(),l=f-n;l>=r?o(u,f):(i=u,a||(a=setTimeout(()=>{a=null,o(i)},r-l)))},()=>i&&o(i)]}const la=(e,t,n=3)=>{let r=0;const i=n2(50,250);return r2(a=>{const o=a.loaded,s=a.lengthComputable?a.total:void 0,c=o-r,u=i(c),f=o<=s;r=o;const l={loaded:o,total:s,progress:s?o/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s&&f?(s-o)/u:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(l)},n)},Mf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kf=e=>(...t)=>$.asap(()=>e(...t)),i2=dt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const s=$.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),a2=dt.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),$.isString(r)&&o.push("path="+r),$.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function o2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function s2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zh(e,t){return e&&!o2(t)?s2(e,t):t}const Pf=e=>e instanceof Ge?{...e}:e;function wn(e,t){t=t||{};const n={};function r(u,f,l){return $.isPlainObject(u)&&$.isPlainObject(f)?$.merge.call({caseless:l},u,f):$.isPlainObject(f)?$.merge({},f):$.isArray(f)?f.slice():f}function i(u,f,l){if($.isUndefined(f)){if(!$.isUndefined(u))return r(void 0,u,l)}else return r(u,f,l)}function a(u,f){if(!$.isUndefined(f))return r(void 0,f)}function o(u,f){if($.isUndefined(f)){if(!$.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function s(u,f,l){if(l in t)return r(u,f);if(l in e)return r(void 0,u)}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,f)=>i(Pf(u),Pf(f),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(f){const l=c[f]||i,d=l(e[f],t[f],f);$.isUndefined(d)&&l!==s||(n[f]=d)}),n}const ep=e=>{const t=wn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;t.headers=o=Ge.from(o),t.url=Gh(Zh(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if($.isFormData(n)){if(dt.hasStandardBrowserEnv||dt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[u,...f]=c?c.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...f].join("; "))}}if(dt.hasStandardBrowserEnv&&(r&&$.isFunction(r)&&(r=r(t)),r||r!==!1&&i2(t.url))){const u=i&&a&&a2.read(a);u&&o.set(i,u)}return t},c2=typeof XMLHttpRequest<"u",u2=c2&&function(e){return new Promise(function(n,r){const i=ep(e);let a=i.data;const o=Ge.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:u}=i,f,l,d,b,h;function m(){b&&b(),h&&h(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let p=new XMLHttpRequest;p.open(i.method.toUpperCase(),i.url,!0),p.timeout=i.timeout;function x(){if(!p)return;const v=Ge.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:v,config:e,request:p};Qh(function(P){n(P),m()},function(P){r(P),m()},g),p=null}"onloadend"in p?p.onloadend=x:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(x)},p.onabort=function(){p&&(r(new ue("Request aborted",ue.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new ue("Network Error",ue.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const g=i.transitional||Kh;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),r(new ue(E,g.clarifyTimeoutError?ue.ETIMEDOUT:ue.ECONNABORTED,e,p)),p=null},a===void 0&&o.setContentType(null),"setRequestHeader"in p&&$.forEach(o.toJSON(),function(E,g){p.setRequestHeader(g,E)}),$.isUndefined(i.withCredentials)||(p.withCredentials=!!i.withCredentials),s&&s!=="json"&&(p.responseType=i.responseType),u&&([d,h]=la(u,!0),p.addEventListener("progress",d)),c&&p.upload&&([l,b]=la(c),p.upload.addEventListener("progress",l),p.upload.addEventListener("loadend",b)),(i.cancelToken||i.signal)&&(f=v=>{p&&(r(!v||v.type?new rr(null,e,p):v),p.abort(),p=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=t2(i.url);if(y&&dt.protocols.indexOf(y)===-1){r(new ue("Unsupported protocol "+y+":",ue.ERR_BAD_REQUEST,e));return}p.send(a||null)})},f2=(e,t)=>{let n=new AbortController,r;const i=function(c){if(!r){r=!0,o();const u=c instanceof Error?c:this.reason;n.abort(u instanceof ue?u:new rr(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{i(new ue(`timeout ${t} of ms exceeded`,ue.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=o,[s,()=>{a&&clearTimeout(a),a=null}]},l2=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},d2=async function*(e,t,n){for await(const r of e)yield*l2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},jf=(e,t,n,r,i)=>{const a=d2(e,t,i);let o=0,s,c=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:l}=await a.next();if(f){c(),u.close();return}let d=l.byteLength;if(n){let b=o+=d;n(b)}u.enqueue(new Uint8Array(l))}catch(f){throw c(f),f}},cancel(u){return c(u),a.return()}},{highWaterMark:2})},Ba=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",tp=Ba&&typeof ReadableStream=="function",qs=Ba&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),np=(e,...t)=>{try{return!!e(...t)}catch{return!1}},h2=tp&&np(()=>{let e=!1;const t=new Request(dt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Lf=64*1024,Ws=tp&&np(()=>$.isReadableStream(new Response("").body)),da={stream:Ws&&(e=>e.body)};Ba&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!da[t]&&(da[t]=$.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ue(`Response type '${t}' is not supported`,ue.ERR_NOT_SUPPORT,r)})})})(new Response);const p2=async e=>{if(e==null)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if($.isArrayBufferView(e)||$.isArrayBuffer(e))return e.byteLength;if($.isURLSearchParams(e)&&(e=e+""),$.isString(e))return(await qs(e)).byteLength},b2=async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return n??p2(t)},m2=Ba&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:f,withCredentials:l="same-origin",fetchOptions:d}=ep(e);u=u?(u+"").toLowerCase():"text";let[b,h]=i||a||o?f2([i,a],o):[],m,p;const x=()=>{!m&&setTimeout(()=>{b&&b.unsubscribe()}),m=!0};let y;try{if(c&&h2&&n!=="get"&&n!=="head"&&(y=await b2(f,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),P;if($.isFormData(r)&&(P=C.headers.get("content-type"))&&f.setContentType(P),C.body){const[F,B]=Mf(y,la(kf(c)));r=jf(C.body,Lf,F,B,qs)}}$.isString(l)||(l=l?"include":"omit"),p=new Request(t,{...d,signal:b,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:l});let v=await fetch(p);const E=Ws&&(u==="stream"||u==="response");if(Ws&&(s||E)){const C={};["status","statusText","headers"].forEach(j=>{C[j]=v[j]});const P=$.toFiniteNumber(v.headers.get("content-length")),[F,B]=s&&Mf(P,la(kf(s),!0))||[];v=new Response(jf(v.body,Lf,F,()=>{B&&B(),E&&x()},qs),C)}u=u||"text";let g=await da[$.findKey(da,u)||"text"](v,e);return!E&&x(),h&&h(),await new Promise((C,P)=>{Qh(C,P,{data:g,headers:Ge.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:p})})}catch(v){throw x(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ue("Network Error",ue.ERR_NETWORK,e,p),{cause:v.cause||v}):ue.from(v,v&&v.code,e,p)}}),Hs={http:Py,xhr:u2,fetch:m2};$.forEach(Hs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const If=e=>`- ${e}`,g2=e=>$.isFunction(e)||e===null||e===!1,rp={getAdapter:e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!g2(n)&&(r=Hs[(o=String(n)).toLowerCase()],r===void 0))throw new ue(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
|
|
232
232
|
`+a.map(If).join(`
|
|
233
|
-
`):" "+If(a[0]):"as no adapter specified";throw new ue("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Hs};function os(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rr(null,e)}function Df(e){return os(e),e.headers=Ge.from(e.headers),e.data=as.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rp.getAdapter(e.adapter||di.adapter)(e).then(function(r){return os(e),r.data=as.call(e,e.transformResponse,r),r.headers=Ge.from(r.headers),r},function(r){return Jh(r)||(os(e),r&&r.response&&(r.response.data=as.call(e,e.transformResponse,r.response),r.response.headers=Ge.from(r.response.headers))),Promise.reject(r)})}const ip="1.7.3",qc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Nf={};qc.transitional=function(t,n,r){function i(a,o){return"[Axios v"+ip+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,s)=>{if(t===!1)throw new ue(i(o," has been removed"+(n?" in "+n:"")),ue.ERR_DEPRECATED);return n&&!Nf[o]&&(Nf[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,s):!0}};function
|
|
234
|
-
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Vs.assertOptions(r,{silentJSONParsing:Ft.transitional(Ft.boolean),forcedJSONParsing:Ft.transitional(Ft.boolean),clarifyTimeoutError:Ft.transitional(Ft.boolean)},!1),i!=null&&($.isFunction(i)?n.paramsSerializer={serialize:i}:Vs.assertOptions(i,{encode:Ft.function,serialize:Ft.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&$.merge(a.common,a[n.method]);a&&$.forEach(["delete","get","head","post","put","patch","common"],h=>{delete a[h]}),n.headers=Ge.concat(o,a);const s=[];let c=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(c=c&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let f,l=0,d;if(!c){const h=[Df.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),d=h.length,f=Promise.resolve(n);l<d;)f=f.then(h[l++],h[l++]);return f}d=s.length;let b=n;for(l=0;l<d;){const h=s[l++],m=s[l++];try{b=h(b)}catch(p){m.call(this,p);break}}try{f=Df.call(this,b)}catch(h){return Promise.reject(h)}for(l=0,d=u.length;l<d;)f=f.then(u[l++],u[l++]);return f}getUri(t){t=wn(this.defaults,t);const n=Zh(t.baseURL,t.url);return Gh(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){gn.prototype[t]=function(n,r){return this.request(wn(r||{},{method:t,url:n,data:(r||{}).data}))}});$.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,s){return this.request(wn(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}gn.prototype[t]=n(),gn.prototype[t+"Form"]=n(!0)});class Wc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{r.subscribe(s),a=s}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,s){r.reason||(r.reason=new rr(a,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wc(function(i){t=i}),cancel:t}}}function v2(e){return function(n){return e.apply(null,n)}}function y2(e){return $.isObject(e)&&e.isAxiosError===!0}const Ys={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ys).forEach(([e,t])=>{Ys[t]=e});function ap(e){const t=new gn(e),n=Ih(gn.prototype.request,t);return $.extend(n,gn.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ap(wn(e,i))},n}const Se=ap(di);Se.Axios=gn;Se.CanceledError=rr;Se.CancelToken=Wc;Se.isCancel=Jh;Se.VERSION=ip;Se.toFormData=za;Se.AxiosError=ue;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=v2;Se.isAxiosError=y2;Se.mergeConfig=wn;Se.AxiosHeaders=Ge;Se.formToJSON=e=>Xh($.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=rp.getAdapter;Se.HttpStatusCode=Ys;Se.default=Se;const ha=e=>e==null?!0:!(typeof e=="object"||typeof e=="function"),op=e=>{ha(e)||Object.keys(e).forEach(t=>{const n=e[t];if(ha(n))return;const r=Object.keys(n);r.includes("id")&&r.length===1&&n.id===null?e[t]=null:op(n)})},sp=e=>Object.values(e).every(t=>t===null),_2=e=>{const t={};return Object.entries(e).forEach(([n,r])=>{r&&typeof r=="object"&&sp(r)?t[n]=null:t[n]=r}),t},Hc=e=>{var n;const t=(n=e.response)==null?void 0:n.data;return t&&t.errorFields&&t.errorFields.length>0?t.errorFields.map(r=>({name:r.name.split(".").map(a=>`${a.charAt(0).toLowerCase()}${a.slice(1)}`).join("."),errors:r.errors})):[]},x2=(e,t)=>{Hc(t).forEach(r=>{e.setError(r.name,{message:r.errors,type:"server"},{shouldFocus:!0}),ha(e.getValues(r.name))||e.setError(`${r.name}.id`,{message:r.errors,type:"server"},{shouldFocus:!0})})},cp=e=>{var n;const t=(n=e.response)==null?void 0:n.data;return t!=null&&t.permissions&&t.permissions.length>0?t.permissions:null},up=e=>e.length<300?e:e.substring(0,300)+"...",w2=e=>e<1024?`${e} bytes`:e>=1024&&e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1048576).toFixed(1)} MB`;function fp(e=" ",...t){return t.filter(n=>n!=null&&n.length>0).join(e)}const O2=(e,t)=>e.map(n=>`&${t}=${n}`).join("").substring(1),E2=(e,t)=>e===null?null:e.length<=t?e:e.slice(0,t)+"…";function Vc(e,t=Vc.characters){return e.replace(/[^A-Za-z0-9]/g,function(n){return t[n]||n})}Vc.characters={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A","Ⱥ":"A",Ã:"A","Ꜳ":"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B","Ƀ":"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ:"C","Ȼ":"C",Ď:"D",Ḑ:"D",Ḓ:"D",Ḋ:"D",Ḍ:"D",Ɗ:"D",Ḏ:"D",Dz:"D",Dž:"D",Đ:"D",Ð:"D",Ƌ:"D",DZ:"DZ",DŽ:"DZ",É:"E",Ĕ:"E",Ě:"E",Ȩ:"E",Ḝ:"E",Ê:"E",Ế:"E",Ệ:"E",Ề:"E",Ể:"E",Ễ:"E",Ḙ:"E",Ë:"E",Ė:"E",Ẹ:"E",Ȅ:"E",È:"E",Ẻ:"E",Ȇ:"E",Ē:"E",Ḗ:"E",Ḕ:"E",Ę:"E","Ɇ":"E",Ẽ:"E",Ḛ:"E","Ꝫ":"ET",Ḟ:"F",Ƒ:"F",Ǵ:"G",Ğ:"G",Ǧ:"G",Ģ:"G",Ĝ:"G",Ġ:"G",Ɠ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",Ȟ:"H",Ḩ:"H",Ĥ:"H","Ⱨ":"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Í:"I",Ĭ:"I",Ǐ:"I",Î:"I",Ï:"I",Ḯ:"I",İ:"I",Ị:"I",Ȉ:"I",Ì:"I",Ỉ:"I",Ȋ:"I",Ī:"I",Į:"I",Ɨ:"I",Ĩ:"I",Ḭ:"I",І:"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS",Ĵ:"J","Ɉ":"J",Ḱ:"K",Ǩ:"K",Ķ:"K","Ⱪ":"K","Ꝃ":"K",Ḳ:"K",Ƙ:"K",Ḵ:"K","Ꝁ":"K","Ꝅ":"K",Ĺ:"L","Ƚ":"L",Ľ:"L",Ļ:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L","Ⱡ":"L","Ꝉ":"L",Ḻ:"L",Ŀ:"L","Ɫ":"L",Lj:"L",Ł:"L",LJ:"LJ",Ḿ:"M",Ṁ:"M",Ṃ:"M","Ɱ":"M",Ń:"N",Ň:"N",Ņ:"N",Ṋ:"N",Ṅ:"N",Ṇ:"N",Ǹ:"N",Ɲ:"N",Ṉ:"N","Ƞ":"N",Nj:"N",Ñ:"N",NJ:"NJ",Ó:"O",Ŏ:"O",Ǒ:"O",Ô:"O",Ố:"O",Ộ:"O",Ồ:"O",Ổ:"O",Ỗ:"O",Ö:"O",Ȫ:"O",Ȯ:"O",Ȱ:"O",Ọ:"O",Ő:"O",Ȍ:"O",Ò:"O",Ỏ:"O",Ơ:"O",Ớ:"O",Ợ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ȏ:"O","Ꝋ":"O","Ꝍ":"O",Ō:"O",Ṓ:"O",Ṑ:"O",Ɵ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Õ:"O",Ṍ:"O",Ṏ:"O",Ȭ:"O",Ƣ:"OI","Ꝏ":"OO",Ɛ:"E",Ɔ:"O",Ȣ:"OU",Ṕ:"P",Ṗ:"P","Ꝓ":"P",Ƥ:"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q",Ŕ:"R",Ř:"R",Ŗ:"R",Ṙ:"R",Ṛ:"R",Ṝ:"R",Ȑ:"R",Ȓ:"R",Ṟ:"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C",Ǝ:"E",Ś:"S",Ṥ:"S",Š:"S",Ṧ:"S",Ş:"S",Ŝ:"S",Ș:"S",Ṡ:"S",Ṣ:"S",Ṩ:"S",ß:"ss",Ť:"T",Ţ:"T",Ṱ:"T",Ț:"T","Ⱦ":"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",Ṯ:"T",Ʈ:"T",Ŧ:"T","Ɐ":"A","Ꞁ":"L",Ɯ:"M","Ʌ":"V","Ꜩ":"TZ",Ú:"U",Ŭ:"U",Ǔ:"U",Û:"U",Ṷ:"U",Ü:"U",Ǘ:"U",Ǚ:"U",Ǜ:"U",Ǖ:"U",Ṳ:"U",Ụ:"U",Ű:"U",Ȕ:"U",Ù:"U",Ủ:"U",Ư:"U",Ứ:"U",Ự:"U",Ừ:"U",Ử:"U",Ữ:"U",Ȗ:"U",Ū:"U",Ṻ:"U",Ų:"U",Ů:"U",Ũ:"U",Ṹ:"U",Ṵ:"U","Ꝟ":"V",Ṿ:"V",Ʋ:"V",Ṽ:"V","Ꝡ":"VY",Ẃ:"W",Ŵ:"W",Ẅ:"W",Ẇ:"W",Ẉ:"W",Ẁ:"W","Ⱳ":"W",Ẍ:"X",Ẋ:"X",Ý:"Y",Ŷ:"Y",Ÿ:"Y",Ẏ:"Y",Ỵ:"Y",Ỳ:"Y",Ƴ:"Y",Ỷ:"Y","Ỿ":"Y",Ȳ:"Y","Ɏ":"Y",Ỹ:"Y",Ї:"YI",Ź:"Z",Ž:"Z",Ẑ:"Z","Ⱬ":"Z",Ż:"Z",Ẓ:"Z",Ȥ:"Z",Ẕ:"Z",Ƶ:"Z",Þ:"TH",IJ:"IJ",Œ:"OE","ᴀ":"A","ᴁ":"AE",ʙ:"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F",ɢ:"G",ʛ:"G",ʜ:"H",ɪ:"I",ʁ:"R","ᴊ":"J","ᴋ":"K",ʟ:"L","ᴌ":"L","ᴍ":"M",ɴ:"N","ᴏ":"O",ɶ:"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P",ʀ:"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W",ʏ:"Y","ᴢ":"Z",á:"a",ă:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",ǎ:"a",â:"a",ấ:"a",ậ:"a",ầ:"a",ẩ:"a",ẫ:"a",ä:"a",ǟ:"a",ȧ:"a",ǡ:"a",ạ:"a",ȁ:"a",à:"a",ả:"a",ȃ:"a",ā:"a",ą:"a","ᶏ":"a",ẚ:"a",å:"a",ǻ:"a",ḁ:"a","ⱥ":"a",ã:"a","ꜳ":"aa",æ:"ae",ǽ:"ae",ǣ:"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay",ḃ:"b",ḅ:"b",ɓ:"b",ḇ:"b","ᵬ":"b","ᶀ":"b",ƀ:"b",ƃ:"b",ɵ:"o",ć:"c",č:"c",ç:"c",ḉ:"c",ĉ:"c",ɕ:"c",ċ:"c",ƈ:"c","ȼ":"c",ď:"d",ḑ:"d",ḓ:"d","ȡ":"d",ḋ:"d",ḍ:"d",ɗ:"d","ᶑ":"d",ḏ:"d","ᵭ":"d","ᶁ":"d",đ:"d",ɖ:"d",ƌ:"d",ð:"d",ı:"i","ȷ":"j",ɟ:"j",ʄ:"j",dz:"dz",dž:"dz",é:"e",ĕ:"e",ě:"e",ȩ:"e",ḝ:"e",ê:"e",ế:"e",ệ:"e",ề:"e",ể:"e",ễ:"e",ḙ:"e",ë:"e",ė:"e",ẹ:"e",ȅ:"e",è:"e",ẻ:"e",ȇ:"e",ē:"e",ḗ:"e",ḕ:"e","ⱸ":"e",ę:"e","ᶒ":"e","ɇ":"e",ẽ:"e",ḛ:"e","ꝫ":"et",ḟ:"f",ƒ:"f","ᵮ":"f","ᶂ":"f",ǵ:"g",ğ:"g",ǧ:"g",ģ:"g",ĝ:"g",ġ:"g",ɠ:"g",ḡ:"g","ᶃ":"g",ǥ:"g",ḫ:"h",ȟ:"h",ḩ:"h",ĥ:"h","ⱨ":"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",ẖ:"h",ħ:"h",ƕ:"hv",í:"i",ĭ:"i",ǐ:"i",î:"i",ï:"i",ḯ:"i",ị:"i",ȉ:"i",ì:"i",ỉ:"i",ȋ:"i",ī:"i",į:"i","ᶖ":"i",ɨ:"i",ĩ:"i",ḭ:"i",і:"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is",ǰ:"j",ĵ:"j",ʝ:"j","ɉ":"j",ḱ:"k",ǩ:"k",ķ:"k","ⱪ":"k","ꝃ":"k",ḳ:"k",ƙ:"k",ḵ:"k","ᶄ":"k","ꝁ":"k","ꝅ":"k",ĺ:"l",ƚ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l","ȴ":"l",ḷ:"l",ḹ:"l","ⱡ":"l","ꝉ":"l",ḻ:"l",ŀ:"l",ɫ:"l","ᶅ":"l",ɭ:"l",ł:"l",lj:"lj",ſ:"s","ẜ":"s",ẛ:"s","ẝ":"s",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m","ᵯ":"m","ᶆ":"m",ń:"n",ň:"n",ņ:"n",ṋ:"n","ȵ":"n",ṅ:"n",ṇ:"n",ǹ:"n",ɲ:"n",ṉ:"n",ƞ:"n","ᵰ":"n","ᶇ":"n",ɳ:"n",ñ:"n",nj:"nj",ó:"o",ŏ:"o",ǒ:"o",ô:"o",ố:"o",ộ:"o",ồ:"o",ổ:"o",ỗ:"o",ö:"o",ȫ:"o",ȯ:"o",ȱ:"o",ọ:"o",ő:"o",ȍ:"o",ò:"o",ỏ:"o",ơ:"o",ớ:"o",ợ:"o",ờ:"o",ở:"o",ỡ:"o",ȏ:"o","ꝋ":"o","ꝍ":"o","ⱺ":"o",ō:"o",ṓ:"o",ṑ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",õ:"o",ṍ:"o",ṏ:"o",ȭ:"o",ƣ:"oi","ꝏ":"oo",ɛ:"e","ᶓ":"e",ɔ:"o","ᶗ":"o",ȣ:"ou",ṕ:"p",ṗ:"p","ꝓ":"p",ƥ:"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q",ʠ:"q","ɋ":"q","ꝗ":"q",ŕ:"r",ř:"r",ŗ:"r",ṙ:"r",ṛ:"r",ṝ:"r",ȑ:"r",ɾ:"r","ᵳ":"r",ȓ:"r",ṟ:"r",ɼ:"r","ᵲ":"r","ᶉ":"r","ɍ":"r",ɽ:"r","ↄ":"c","ꜿ":"c",ɘ:"e",ɿ:"r",ś:"s",ṥ:"s",š:"s",ṧ:"s",ş:"s",ŝ:"s",ș:"s",ṡ:"s",ṣ:"s",ṩ:"s",ʂ:"s","ᵴ":"s","ᶊ":"s","ȿ":"s",ɡ:"g","ᴑ":"o","ᴓ":"o","ᴝ":"u",ť:"t",ţ:"t",ṱ:"t",ț:"t","ȶ":"t",ẗ:"t","ⱦ":"t",ṫ:"t",ṭ:"t",ƭ:"t",ṯ:"t","ᵵ":"t",ƫ:"t",ʈ:"t",ŧ:"t","ᵺ":"th",ɐ:"a","ᴂ":"ae",ǝ:"e","ᵷ":"g",ɥ:"h","ʮ":"h","ʯ":"h","ᴉ":"i",ʞ:"k","ꞁ":"l",ɯ:"m",ɰ:"m","ᴔ":"oe",ɹ:"r",ɻ:"r",ɺ:"r","ⱹ":"r",ʇ:"t",ʌ:"v",ʍ:"w",ʎ:"y","ꜩ":"tz",ú:"u",ŭ:"u",ǔ:"u",û:"u",ṷ:"u",ü:"u",ǘ:"u",ǚ:"u",ǜ:"u",ǖ:"u",ṳ:"u",ụ:"u",ű:"u",ȕ:"u",ù:"u",ủ:"u",ư:"u",ứ:"u",ự:"u",ừ:"u",ử:"u",ữ:"u",ȗ:"u",ū:"u",ṻ:"u",ų:"u","ᶙ":"u",ů:"u",ũ:"u",ṹ:"u",ṵ:"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v",ṿ:"v",ʋ:"v","ᶌ":"v","ⱱ":"v",ṽ:"v","ꝡ":"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w","ⱳ":"w",ẘ:"w",ẍ:"x",ẋ:"x","ᶍ":"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y","ỿ":"y",ȳ:"y",ẙ:"y","ɏ":"y",ỹ:"y",ї:"yi",ź:"z",ž:"z",ẑ:"z",ʑ:"z","ⱬ":"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z","ᵶ":"z","ᶎ":"z",ʐ:"z",ƶ:"z","ɀ":"z",þ:"th",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x",Ё:"YO",Й:"I",Ц:"TS",У:"U",К:"K",Е:"E",Н:"N",Г:"G",Ґ:"G",Ш:"SH",Щ:"SCH",З:"Z",Х:"H",Ъ:"'",ё:"yo",й:"i",ц:"ts",у:"u",к:"k",е:"e",н:"n",г:"g",ґ:"g",ш:"sh",щ:"sch",з:"z",х:"h",ъ:"'",Ф:"F",Ы:"I",В:"V",А:"a",П:"P",Р:"R",О:"O",Л:"L",Д:"D",Ж:"ZH",Э:"E",ф:"f",ы:"i",в:"v",а:"a",п:"p",р:"r",о:"o",л:"l",д:"d",ж:"zh",э:"e",Я:"Ya",Ч:"CH",С:"S",М:"M",И:"I",Т:"T",Ь:"'",Б:"B",Ю:"YU",я:"ya",ч:"ch",с:"s",м:"m",и:"i",т:"t",ь:"'",б:"b",ю:"yu"};/*!
|
|
233
|
+
`):" "+If(a[0]):"as no adapter specified";throw new ue("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Hs};function os(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rr(null,e)}function Df(e){return os(e),e.headers=Ge.from(e.headers),e.data=as.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rp.getAdapter(e.adapter||di.adapter)(e).then(function(r){return os(e),r.data=as.call(e,e.transformResponse,r),r.headers=Ge.from(r.headers),r},function(r){return Jh(r)||(os(e),r&&r.response&&(r.response.data=as.call(e,e.transformResponse,r.response),r.response.headers=Ge.from(r.response.headers))),Promise.reject(r)})}const ip="1.7.3",qc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Nf={};qc.transitional=function(t,n,r){function i(a,o){return"[Axios v"+ip+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,s)=>{if(t===!1)throw new ue(i(o," has been removed"+(n?" in "+n:"")),ue.ERR_DEPRECATED);return n&&!Nf[o]&&(Nf[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,s):!0}};function v2(e,t,n){if(typeof e!="object")throw new ue("options must be an object",ue.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const s=e[a],c=s===void 0||o(s,a,e);if(c!==!0)throw new ue("option "+a+" must be "+c,ue.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ue("Unknown option "+a,ue.ERR_BAD_OPTION)}}const Vs={assertOptions:v2,validators:qc},Ft=Vs.validators;class gn{constructor(t){this.defaults=t,this.interceptors={request:new Af,response:new Af}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
234
|
+
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Vs.assertOptions(r,{silentJSONParsing:Ft.transitional(Ft.boolean),forcedJSONParsing:Ft.transitional(Ft.boolean),clarifyTimeoutError:Ft.transitional(Ft.boolean)},!1),i!=null&&($.isFunction(i)?n.paramsSerializer={serialize:i}:Vs.assertOptions(i,{encode:Ft.function,serialize:Ft.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&$.merge(a.common,a[n.method]);a&&$.forEach(["delete","get","head","post","put","patch","common"],h=>{delete a[h]}),n.headers=Ge.concat(o,a);const s=[];let c=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(c=c&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let f,l=0,d;if(!c){const h=[Df.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),d=h.length,f=Promise.resolve(n);l<d;)f=f.then(h[l++],h[l++]);return f}d=s.length;let b=n;for(l=0;l<d;){const h=s[l++],m=s[l++];try{b=h(b)}catch(p){m.call(this,p);break}}try{f=Df.call(this,b)}catch(h){return Promise.reject(h)}for(l=0,d=u.length;l<d;)f=f.then(u[l++],u[l++]);return f}getUri(t){t=wn(this.defaults,t);const n=Zh(t.baseURL,t.url);return Gh(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){gn.prototype[t]=function(n,r){return this.request(wn(r||{},{method:t,url:n,data:(r||{}).data}))}});$.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,s){return this.request(wn(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}gn.prototype[t]=n(),gn.prototype[t+"Form"]=n(!0)});class Wc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{r.subscribe(s),a=s}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,s){r.reason||(r.reason=new rr(a,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wc(function(i){t=i}),cancel:t}}}function y2(e){return function(n){return e.apply(null,n)}}function _2(e){return $.isObject(e)&&e.isAxiosError===!0}const Ys={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ys).forEach(([e,t])=>{Ys[t]=e});function ap(e){const t=new gn(e),n=Ih(gn.prototype.request,t);return $.extend(n,gn.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ap(wn(e,i))},n}const Se=ap(di);Se.Axios=gn;Se.CanceledError=rr;Se.CancelToken=Wc;Se.isCancel=Jh;Se.VERSION=ip;Se.toFormData=za;Se.AxiosError=ue;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=y2;Se.isAxiosError=_2;Se.mergeConfig=wn;Se.AxiosHeaders=Ge;Se.formToJSON=e=>Xh($.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=rp.getAdapter;Se.HttpStatusCode=Ys;Se.default=Se;const ha=e=>e==null?!0:!(typeof e=="object"||typeof e=="function"),op=e=>{ha(e)||Object.keys(e).forEach(t=>{const n=e[t];if(ha(n))return;const r=Object.keys(n);r.includes("id")&&r.length===1&&n.id===null?e[t]=null:op(n)})},sp=e=>Object.values(e).every(t=>t===null),x2=e=>{const t={};return Object.entries(e).forEach(([n,r])=>{r&&typeof r=="object"&&sp(r)?t[n]=null:t[n]=r}),t},Hc=e=>{var n;const t=(n=e.response)==null?void 0:n.data;return t&&t.errorFields&&t.errorFields.length>0?t.errorFields.map(r=>({name:r.name.split(".").map(a=>`${a.charAt(0).toLowerCase()}${a.slice(1)}`).join("."),errors:r.errors})):[]},w2=(e,t)=>{Hc(t).forEach(r=>{e.setError(r.name,{message:r.errors,type:"server"},{shouldFocus:!0}),ha(e.getValues(r.name))||e.setError(`${r.name}.id`,{message:r.errors,type:"server"},{shouldFocus:!0})})},cp=e=>{var n;const t=(n=e.response)==null?void 0:n.data;return t!=null&&t.permissions&&t.permissions.length>0?t.permissions:null},up=e=>e.length<300?e:e.substring(0,300)+"...",O2=e=>e<1024?`${e} bytes`:e>=1024&&e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1048576).toFixed(1)} MB`;function fp(e=" ",...t){return t.filter(n=>n!=null&&n.length>0).join(e)}const E2=(e,t)=>e.map(n=>`&${t}=${n}`).join("").substring(1),T2=(e,t)=>e===null?null:e.length<=t?e:e.slice(0,t)+"…";function Vc(e,t=Vc.characters){return e.replace(/[^A-Za-z0-9]/g,function(n){return t[n]||n})}Vc.characters={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A","Ⱥ":"A",Ã:"A","Ꜳ":"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B","Ƀ":"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ:"C","Ȼ":"C",Ď:"D",Ḑ:"D",Ḓ:"D",Ḋ:"D",Ḍ:"D",Ɗ:"D",Ḏ:"D",Dz:"D",Dž:"D",Đ:"D",Ð:"D",Ƌ:"D",DZ:"DZ",DŽ:"DZ",É:"E",Ĕ:"E",Ě:"E",Ȩ:"E",Ḝ:"E",Ê:"E",Ế:"E",Ệ:"E",Ề:"E",Ể:"E",Ễ:"E",Ḙ:"E",Ë:"E",Ė:"E",Ẹ:"E",Ȅ:"E",È:"E",Ẻ:"E",Ȇ:"E",Ē:"E",Ḗ:"E",Ḕ:"E",Ę:"E","Ɇ":"E",Ẽ:"E",Ḛ:"E","Ꝫ":"ET",Ḟ:"F",Ƒ:"F",Ǵ:"G",Ğ:"G",Ǧ:"G",Ģ:"G",Ĝ:"G",Ġ:"G",Ɠ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",Ȟ:"H",Ḩ:"H",Ĥ:"H","Ⱨ":"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Í:"I",Ĭ:"I",Ǐ:"I",Î:"I",Ï:"I",Ḯ:"I",İ:"I",Ị:"I",Ȉ:"I",Ì:"I",Ỉ:"I",Ȋ:"I",Ī:"I",Į:"I",Ɨ:"I",Ĩ:"I",Ḭ:"I",І:"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS",Ĵ:"J","Ɉ":"J",Ḱ:"K",Ǩ:"K",Ķ:"K","Ⱪ":"K","Ꝃ":"K",Ḳ:"K",Ƙ:"K",Ḵ:"K","Ꝁ":"K","Ꝅ":"K",Ĺ:"L","Ƚ":"L",Ľ:"L",Ļ:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L","Ⱡ":"L","Ꝉ":"L",Ḻ:"L",Ŀ:"L","Ɫ":"L",Lj:"L",Ł:"L",LJ:"LJ",Ḿ:"M",Ṁ:"M",Ṃ:"M","Ɱ":"M",Ń:"N",Ň:"N",Ņ:"N",Ṋ:"N",Ṅ:"N",Ṇ:"N",Ǹ:"N",Ɲ:"N",Ṉ:"N","Ƞ":"N",Nj:"N",Ñ:"N",NJ:"NJ",Ó:"O",Ŏ:"O",Ǒ:"O",Ô:"O",Ố:"O",Ộ:"O",Ồ:"O",Ổ:"O",Ỗ:"O",Ö:"O",Ȫ:"O",Ȯ:"O",Ȱ:"O",Ọ:"O",Ő:"O",Ȍ:"O",Ò:"O",Ỏ:"O",Ơ:"O",Ớ:"O",Ợ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ȏ:"O","Ꝋ":"O","Ꝍ":"O",Ō:"O",Ṓ:"O",Ṑ:"O",Ɵ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Õ:"O",Ṍ:"O",Ṏ:"O",Ȭ:"O",Ƣ:"OI","Ꝏ":"OO",Ɛ:"E",Ɔ:"O",Ȣ:"OU",Ṕ:"P",Ṗ:"P","Ꝓ":"P",Ƥ:"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q",Ŕ:"R",Ř:"R",Ŗ:"R",Ṙ:"R",Ṛ:"R",Ṝ:"R",Ȑ:"R",Ȓ:"R",Ṟ:"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C",Ǝ:"E",Ś:"S",Ṥ:"S",Š:"S",Ṧ:"S",Ş:"S",Ŝ:"S",Ș:"S",Ṡ:"S",Ṣ:"S",Ṩ:"S",ß:"ss",Ť:"T",Ţ:"T",Ṱ:"T",Ț:"T","Ⱦ":"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",Ṯ:"T",Ʈ:"T",Ŧ:"T","Ɐ":"A","Ꞁ":"L",Ɯ:"M","Ʌ":"V","Ꜩ":"TZ",Ú:"U",Ŭ:"U",Ǔ:"U",Û:"U",Ṷ:"U",Ü:"U",Ǘ:"U",Ǚ:"U",Ǜ:"U",Ǖ:"U",Ṳ:"U",Ụ:"U",Ű:"U",Ȕ:"U",Ù:"U",Ủ:"U",Ư:"U",Ứ:"U",Ự:"U",Ừ:"U",Ử:"U",Ữ:"U",Ȗ:"U",Ū:"U",Ṻ:"U",Ų:"U",Ů:"U",Ũ:"U",Ṹ:"U",Ṵ:"U","Ꝟ":"V",Ṿ:"V",Ʋ:"V",Ṽ:"V","Ꝡ":"VY",Ẃ:"W",Ŵ:"W",Ẅ:"W",Ẇ:"W",Ẉ:"W",Ẁ:"W","Ⱳ":"W",Ẍ:"X",Ẋ:"X",Ý:"Y",Ŷ:"Y",Ÿ:"Y",Ẏ:"Y",Ỵ:"Y",Ỳ:"Y",Ƴ:"Y",Ỷ:"Y","Ỿ":"Y",Ȳ:"Y","Ɏ":"Y",Ỹ:"Y",Ї:"YI",Ź:"Z",Ž:"Z",Ẑ:"Z","Ⱬ":"Z",Ż:"Z",Ẓ:"Z",Ȥ:"Z",Ẕ:"Z",Ƶ:"Z",Þ:"TH",IJ:"IJ",Œ:"OE","ᴀ":"A","ᴁ":"AE",ʙ:"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F",ɢ:"G",ʛ:"G",ʜ:"H",ɪ:"I",ʁ:"R","ᴊ":"J","ᴋ":"K",ʟ:"L","ᴌ":"L","ᴍ":"M",ɴ:"N","ᴏ":"O",ɶ:"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P",ʀ:"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W",ʏ:"Y","ᴢ":"Z",á:"a",ă:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",ǎ:"a",â:"a",ấ:"a",ậ:"a",ầ:"a",ẩ:"a",ẫ:"a",ä:"a",ǟ:"a",ȧ:"a",ǡ:"a",ạ:"a",ȁ:"a",à:"a",ả:"a",ȃ:"a",ā:"a",ą:"a","ᶏ":"a",ẚ:"a",å:"a",ǻ:"a",ḁ:"a","ⱥ":"a",ã:"a","ꜳ":"aa",æ:"ae",ǽ:"ae",ǣ:"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay",ḃ:"b",ḅ:"b",ɓ:"b",ḇ:"b","ᵬ":"b","ᶀ":"b",ƀ:"b",ƃ:"b",ɵ:"o",ć:"c",č:"c",ç:"c",ḉ:"c",ĉ:"c",ɕ:"c",ċ:"c",ƈ:"c","ȼ":"c",ď:"d",ḑ:"d",ḓ:"d","ȡ":"d",ḋ:"d",ḍ:"d",ɗ:"d","ᶑ":"d",ḏ:"d","ᵭ":"d","ᶁ":"d",đ:"d",ɖ:"d",ƌ:"d",ð:"d",ı:"i","ȷ":"j",ɟ:"j",ʄ:"j",dz:"dz",dž:"dz",é:"e",ĕ:"e",ě:"e",ȩ:"e",ḝ:"e",ê:"e",ế:"e",ệ:"e",ề:"e",ể:"e",ễ:"e",ḙ:"e",ë:"e",ė:"e",ẹ:"e",ȅ:"e",è:"e",ẻ:"e",ȇ:"e",ē:"e",ḗ:"e",ḕ:"e","ⱸ":"e",ę:"e","ᶒ":"e","ɇ":"e",ẽ:"e",ḛ:"e","ꝫ":"et",ḟ:"f",ƒ:"f","ᵮ":"f","ᶂ":"f",ǵ:"g",ğ:"g",ǧ:"g",ģ:"g",ĝ:"g",ġ:"g",ɠ:"g",ḡ:"g","ᶃ":"g",ǥ:"g",ḫ:"h",ȟ:"h",ḩ:"h",ĥ:"h","ⱨ":"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",ẖ:"h",ħ:"h",ƕ:"hv",í:"i",ĭ:"i",ǐ:"i",î:"i",ï:"i",ḯ:"i",ị:"i",ȉ:"i",ì:"i",ỉ:"i",ȋ:"i",ī:"i",į:"i","ᶖ":"i",ɨ:"i",ĩ:"i",ḭ:"i",і:"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is",ǰ:"j",ĵ:"j",ʝ:"j","ɉ":"j",ḱ:"k",ǩ:"k",ķ:"k","ⱪ":"k","ꝃ":"k",ḳ:"k",ƙ:"k",ḵ:"k","ᶄ":"k","ꝁ":"k","ꝅ":"k",ĺ:"l",ƚ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l","ȴ":"l",ḷ:"l",ḹ:"l","ⱡ":"l","ꝉ":"l",ḻ:"l",ŀ:"l",ɫ:"l","ᶅ":"l",ɭ:"l",ł:"l",lj:"lj",ſ:"s","ẜ":"s",ẛ:"s","ẝ":"s",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m","ᵯ":"m","ᶆ":"m",ń:"n",ň:"n",ņ:"n",ṋ:"n","ȵ":"n",ṅ:"n",ṇ:"n",ǹ:"n",ɲ:"n",ṉ:"n",ƞ:"n","ᵰ":"n","ᶇ":"n",ɳ:"n",ñ:"n",nj:"nj",ó:"o",ŏ:"o",ǒ:"o",ô:"o",ố:"o",ộ:"o",ồ:"o",ổ:"o",ỗ:"o",ö:"o",ȫ:"o",ȯ:"o",ȱ:"o",ọ:"o",ő:"o",ȍ:"o",ò:"o",ỏ:"o",ơ:"o",ớ:"o",ợ:"o",ờ:"o",ở:"o",ỡ:"o",ȏ:"o","ꝋ":"o","ꝍ":"o","ⱺ":"o",ō:"o",ṓ:"o",ṑ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",õ:"o",ṍ:"o",ṏ:"o",ȭ:"o",ƣ:"oi","ꝏ":"oo",ɛ:"e","ᶓ":"e",ɔ:"o","ᶗ":"o",ȣ:"ou",ṕ:"p",ṗ:"p","ꝓ":"p",ƥ:"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q",ʠ:"q","ɋ":"q","ꝗ":"q",ŕ:"r",ř:"r",ŗ:"r",ṙ:"r",ṛ:"r",ṝ:"r",ȑ:"r",ɾ:"r","ᵳ":"r",ȓ:"r",ṟ:"r",ɼ:"r","ᵲ":"r","ᶉ":"r","ɍ":"r",ɽ:"r","ↄ":"c","ꜿ":"c",ɘ:"e",ɿ:"r",ś:"s",ṥ:"s",š:"s",ṧ:"s",ş:"s",ŝ:"s",ș:"s",ṡ:"s",ṣ:"s",ṩ:"s",ʂ:"s","ᵴ":"s","ᶊ":"s","ȿ":"s",ɡ:"g","ᴑ":"o","ᴓ":"o","ᴝ":"u",ť:"t",ţ:"t",ṱ:"t",ț:"t","ȶ":"t",ẗ:"t","ⱦ":"t",ṫ:"t",ṭ:"t",ƭ:"t",ṯ:"t","ᵵ":"t",ƫ:"t",ʈ:"t",ŧ:"t","ᵺ":"th",ɐ:"a","ᴂ":"ae",ǝ:"e","ᵷ":"g",ɥ:"h","ʮ":"h","ʯ":"h","ᴉ":"i",ʞ:"k","ꞁ":"l",ɯ:"m",ɰ:"m","ᴔ":"oe",ɹ:"r",ɻ:"r",ɺ:"r","ⱹ":"r",ʇ:"t",ʌ:"v",ʍ:"w",ʎ:"y","ꜩ":"tz",ú:"u",ŭ:"u",ǔ:"u",û:"u",ṷ:"u",ü:"u",ǘ:"u",ǚ:"u",ǜ:"u",ǖ:"u",ṳ:"u",ụ:"u",ű:"u",ȕ:"u",ù:"u",ủ:"u",ư:"u",ứ:"u",ự:"u",ừ:"u",ử:"u",ữ:"u",ȗ:"u",ū:"u",ṻ:"u",ų:"u","ᶙ":"u",ů:"u",ũ:"u",ṹ:"u",ṵ:"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v",ṿ:"v",ʋ:"v","ᶌ":"v","ⱱ":"v",ṽ:"v","ꝡ":"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w","ⱳ":"w",ẘ:"w",ẍ:"x",ẋ:"x","ᶍ":"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y","ỿ":"y",ȳ:"y",ẙ:"y","ɏ":"y",ỹ:"y",ї:"yi",ź:"z",ž:"z",ẑ:"z",ʑ:"z","ⱬ":"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z","ᵶ":"z","ᶎ":"z",ʐ:"z",ƶ:"z","ɀ":"z",þ:"th",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x",Ё:"YO",Й:"I",Ц:"TS",У:"U",К:"K",Е:"E",Н:"N",Г:"G",Ґ:"G",Ш:"SH",Щ:"SCH",З:"Z",Х:"H",Ъ:"'",ё:"yo",й:"i",ц:"ts",у:"u",к:"k",е:"e",н:"n",г:"g",ґ:"g",ш:"sh",щ:"sch",з:"z",х:"h",ъ:"'",Ф:"F",Ы:"I",В:"V",А:"a",П:"P",Р:"R",О:"O",Л:"L",Д:"D",Ж:"ZH",Э:"E",ф:"f",ы:"i",в:"v",а:"a",п:"p",р:"r",о:"o",л:"l",д:"d",ж:"zh",э:"e",Я:"Ya",Ч:"CH",С:"S",М:"M",И:"I",Т:"T",Ь:"'",Б:"B",Ю:"YU",я:"ya",ч:"ch",с:"s",м:"m",и:"i",т:"t",ь:"'",б:"b",ю:"yu"};/*!
|
|
235
235
|
* cookie
|
|
236
236
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
237
237
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
238
238
|
* MIT Licensed
|
|
239
|
-
*/var lp=
|
|
239
|
+
*/var lp=R2,Ff=S2,C2=Object.prototype.toString,Li=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function R2(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},i=r.decode||A2,a=0;a<e.length;){var o=e.indexOf("=",a);if(o===-1)break;var s=e.indexOf(";",a);if(s===-1)s=e.length;else if(s<o){a=e.lastIndexOf(";",o-1)+1;continue}var c=e.slice(a,o).trim();if(n[c]===void 0){var u=e.slice(o+1,s).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),n[c]=k2(u,i)}a=s+1}return n}function S2(e,t,n){var r=n||{},i=r.encode||$2;if(typeof i!="function")throw new TypeError("option encode is invalid");if(!Li.test(e))throw new TypeError("argument name is invalid");var a=i(t);if(a&&!Li.test(a))throw new TypeError("argument val is invalid");var o=e+"="+a;if(r.maxAge!=null){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(s)}if(r.domain){if(!Li.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!Li.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){var c=r.expires;if(!M2(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+c.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.partitioned&&(o+="; Partitioned"),r.priority){var u=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(u){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var f=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(f){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o}function A2(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function $2(e){return encodeURIComponent(e)}function M2(e){return C2.call(e)==="[object Date]"||e instanceof Date}function k2(e,t){try{return t(e)}catch{return e}}function P2(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function j2(e){return typeof e=="string"?lp(e):typeof e=="object"&&e!==null?e:{}}function ss(e,t={}){const n=L2(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function L2(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class I2{constructor(t,n={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const i=this.cookies;this.cookies=lp(document.cookie),this._checkChanges(i)};const r=typeof document>"u"?"":document.cookie;this.cookies=j2(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=P2()}_emitChange(t){for(let n=0;n<this.changeListeners.length;++n)this.changeListeners[n](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(r=>{t[r]!==this.cookies[r]&&this._emitChange({name:r,value:ss(this.cookies[r])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,n={}){return n.doNotUpdate||this.update(),ss(this.cookies[t],n)}getAll(t={}){t.doNotUpdate||this.update();const n={};for(let r in this.cookies)n[r]=ss(this.cookies[r],t);return n}set(t,n,r){r?r=Object.assign(Object.assign({},this.defaultSetOptions),r):r=this.defaultSetOptions;const i=typeof n=="string"?n:JSON.stringify(n);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Ff(t,i,r)),this._emitChange({name:t,value:n,options:r})}remove(t,n){const r=n=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=Ff(t,"",r)),this._emitChange({name:t,value:void 0,options:n})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const n=this.changeListeners.indexOf(t);n>=0&&this.changeListeners.splice(n,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const D2=fe.createContext(new I2);var Gs={exports:{}},_e={};/** @license React v16.13.1
|
|
240
240
|
* react-is.production.min.js
|
|
241
241
|
*
|
|
242
242
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
243
243
|
*
|
|
244
244
|
* This source code is licensed under the MIT license found in the
|
|
245
245
|
* LICENSE file in the root directory of this source tree.
|
|
246
|
-
*/var Uf;function
|
|
246
|
+
*/var Uf;function N2(){if(Uf)return _e;Uf=1;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,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(g){if(typeof g=="object"&&g!==null){var C=g.$$typeof;switch(C){case t:switch(g=g.type,g){case c:case u:case r:case a:case i:case l:return g;default:switch(g=g&&g.$$typeof,g){case s:case f:case h:case b:case o:return g;default:return C}}case n:return C}}}function E(g){return v(g)===u}return _e.AsyncMode=c,_e.ConcurrentMode=u,_e.ContextConsumer=s,_e.ContextProvider=o,_e.Element=t,_e.ForwardRef=f,_e.Fragment=r,_e.Lazy=h,_e.Memo=b,_e.Portal=n,_e.Profiler=a,_e.StrictMode=i,_e.Suspense=l,_e.isAsyncMode=function(g){return E(g)||v(g)===c},_e.isConcurrentMode=E,_e.isContextConsumer=function(g){return v(g)===s},_e.isContextProvider=function(g){return v(g)===o},_e.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},_e.isForwardRef=function(g){return v(g)===f},_e.isFragment=function(g){return v(g)===r},_e.isLazy=function(g){return v(g)===h},_e.isMemo=function(g){return v(g)===b},_e.isPortal=function(g){return v(g)===n},_e.isProfiler=function(g){return v(g)===a},_e.isStrictMode=function(g){return v(g)===i},_e.isSuspense=function(g){return v(g)===l},_e.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===u||g===a||g===i||g===l||g===d||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===b||g.$$typeof===o||g.$$typeof===s||g.$$typeof===f||g.$$typeof===p||g.$$typeof===x||g.$$typeof===y||g.$$typeof===m)},_e.typeOf=v,_e}var xe={};/** @license React v16.13.1
|
|
247
247
|
* react-is.development.js
|
|
248
248
|
*
|
|
249
249
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
250
250
|
*
|
|
251
251
|
* This source code is licensed under the MIT license found in the
|
|
252
252
|
* LICENSE file in the root directory of this source tree.
|
|
253
|
-
*/var zf;function N2(){return zf||(zf=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,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(w){return typeof w=="string"||typeof w=="function"||w===r||w===u||w===a||w===i||w===l||w===d||typeof w=="object"&&w!==null&&(w.$$typeof===h||w.$$typeof===b||w.$$typeof===o||w.$$typeof===s||w.$$typeof===f||w.$$typeof===p||w.$$typeof===x||w.$$typeof===y||w.$$typeof===m)}function E(w){if(typeof w=="object"&&w!==null){var he=w.$$typeof;switch(he){case t:var se=w.type;switch(se){case c:case u:case r:case a:case i:case l:return se;default:var ge=se&&se.$$typeof;switch(ge){case s:case f:case h:case b:case o:return ge;default:return he}}case n:return he}}}var g=c,C=u,P=s,F=o,B=t,j=f,L=r,Z=h,M=b,S=n,I=a,q=i,H=l,ne=!1;function V(w){return ne||(ne=!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.")),A(w)||E(w)===c}function A(w){return E(w)===u}function U(w){return E(w)===s}function K(w){return E(w)===o}function te(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function X(w){return E(w)===f}function Y(w){return E(w)===r}function W(w){return E(w)===h}function G(w){return E(w)===b}function J(w){return E(w)===n}function k(w){return E(w)===a}function z(w){return E(w)===i}function ee(w){return E(w)===l}xe.AsyncMode=g,xe.ConcurrentMode=C,xe.ContextConsumer=P,xe.ContextProvider=F,xe.Element=B,xe.ForwardRef=j,xe.Fragment=L,xe.Lazy=Z,xe.Memo=M,xe.Portal=S,xe.Profiler=I,xe.StrictMode=q,xe.Suspense=H,xe.isAsyncMode=V,xe.isConcurrentMode=A,xe.isContextConsumer=U,xe.isContextProvider=K,xe.isElement=te,xe.isForwardRef=X,xe.isFragment=Y,xe.isLazy=W,xe.isMemo=G,xe.isPortal=J,xe.isProfiler=k,xe.isStrictMode=z,xe.isSuspense=ee,xe.isValidElementType=v,xe.typeOf=E}()),xe}process.env.NODE_ENV==="production"?Gs.exports=D2():Gs.exports=N2();var F2=Gs.exports,dp=F2,U2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z2={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hp={};hp[dp.ForwardRef]=U2;hp[dp.Memo]=z2;function B2(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function Yc(e,t){const n=_.useContext(I2);if(!n)throw new Error("Missing <CookiesProvider>");const i=Object.assign(Object.assign({},{doNotUpdate:!0}),t),[a,o]=_.useState(()=>n.getAll(i));B2()&&_.useLayoutEffect(()=>{function f(){const l=n.getAll(i);q2(e||null,l,a)&&o(l)}return n.addChangeListener(f),()=>{n.removeChangeListener(f)}},[n,a]);const s=_.useMemo(()=>n.set.bind(n),[n]),c=_.useMemo(()=>n.remove.bind(n),[n]),u=_.useMemo(()=>n.update.bind(n),[n]);return[a,s,c,u]}function q2(e,t,n){if(!e)return!0;for(let r of e)if(t[r]!==n[r])return!0;return!1}const W2=()=>{const{axiosOptions:e,cookieDomain:t}=_.useContext(Fc),[,n,r]=Yc(["Authorization"]),i=Se.create(e),a=_.useCallback(()=>localStorage.getItem("token")??null,[]),o=_.useCallback(()=>{const u=a();return u!==null&&u.length>0},[a]),s=_.useCallback(async(u,f)=>i.post("/user/login",{kid:u,password:f}).then(l=>(localStorage.setItem("token",l.data),n("Authorization",l.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:l1(new Date(Date.now()),24)}),l.data)).catch(l=>(console.log(l),null)),[i,n,t]),c=_.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),r("Authorization")},[r]);return{isAuthenticated:o,login:s,logout:c,getToken:a}},H2=()=>{const[,,e]=Yc(["Authorization"]),{msalScopes:t}=_.useContext(Gc),{instance:n,inProgress:r}=Wu.useMsal(),i=Wu.useIsAuthenticated(),a=_.useCallback(async()=>n.acquireTokenSilent({scopes:t}).then(f=>f.accessToken).catch(f=>{if(console.error("Error acquiring token",f),f instanceof qu.InteractionRequiredAuthError)return console.log("Silent token acquisition failed. Acquiring token using redirect"),n.acquireTokenRedirect({scopes:t}),null;throw f}),[n,t]),o=_.useCallback(()=>i,[i]),s=_.useCallback(()=>!o()&&r!==qu.InteractionStatus.None,[o,r]),c=_.useCallback(async()=>n.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[n,t]),u=_.useCallback(()=>{n.logout(),localStorage.removeItem("user"),e("Authorization")},[e,n]);return{isAuthenticated:o,isAuthenticating:s,login:c,logout:u,getToken:a}},pp=()=>{const{useMsal:e}=_.useContext(Gc),t=W2(),n=H2();return{isAuthenticated:e?n.isAuthenticated:t.isAuthenticated,isAuthenticating:e?n.isAuthenticating:()=>!1,getToken:e?n.getToken:t.getToken,login:e?n.login:t.login,logout:e?n.logout:t.logout}},V2="_toast_1s57i_1",Er={toast:V2},Y2=e=>{switch(e){case"success":return 5e3;case"info":return 5e3;case"danger":return 1e4;case"warning":return 1e4;case"prompt":return 1e4;default:return 5e3}},bp=()=>({addNotification:_.useCallback((t,n)=>{const r=up(t),i=Y2(n),a=R.jsxs(R.Fragment,{children:[r,R.jsx(Mh,{onClick:()=>Dn.dismiss(r),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(n){case"success":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Kg,{size:12}),className:Oe("luminus-toast-success rounded shadow bg-success",Er.toast)});break}case"danger":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Bg,{size:12}),className:Oe("luminus-toast-danger rounded shadow bg-danger",Er.toast)});break}case"warning":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Dg,{size:12}),className:Oe("luminus-toast-warning rounded shadow bg-warning",Er.toast)});break}case"info":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Ug,{size:12}),className:Oe("luminus-toast-info rounded shadow bg-info",Er.toast)});break}case"prompt":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(zg,{size:12}),className:Oe("luminus-toast-prompt rounded shadow bg-light",Er.toast)});break}}},[])}),G2=Se.CancelToken,K2=e=>{const{authenticated:t=!0,differentBaseUrl:n,silent:r=!1,customToken:i}={...e},{language:a,axiosOptions:o,texts:{axios:s}}=_.useContext(Fc),{delegation:c}=_.useContext(mp),u=_.useMemo(()=>(c==null?void 0:c.id)??null,[c==null?void 0:c.id]),{addNotification:f}=bp(),{getToken:l}=pp(),d=_.useMemo(()=>Se.create(o),[o]),b=_.useCallback(async m=>{var p,x,y;if(t&&!m.headers.Authorization){const v=i??await l();if(!v)return Promise.reject(new Error("No bearer token"));m.headers.Authorization=`Bearer ${v}`}return u!==null&&(m.headers.DelegationId=u.toString()),(p=m.url)!=null&&p.includes("culture=")?m.url=(x=m.url)==null?void 0:x.replace(/culture=[a-z]{2}/,`culture=${a}`):m.url=`${m.url}${(y=m.url)!=null&&y.includes("?")?"&":"?"}culture=${a}`,m},[t,l,a,i,u]),h=_.useCallback(m=>{var y;if(console.log(m),Se.isCancel(m))return Promise.reject(m);const p=Hc(m);if(p.length>0){const v=p.find(E=>E.name.toLowerCase()==="others");return v?(!r&&f(v.errors,"danger"),Promise.reject(m)):(!r&&f(s.validationError,"warning"),Promise.reject(m))}const x=cp(m);return x!==null?(f(`${s.permissionError}: ${fp(", ",...x)}`,"danger"),Promise.reject(m)):((y=m.response)==null?void 0:y.status)===403?(!r&&f(s.forbiddenError,"danger"),Promise.reject(m)):m.message&&m.message==="Network Error"?(!r&&f(s.networkError,"danger"),Promise.reject(m)):(Se.isCancel(m)||!r&&f(s.unexpectedError,"danger"),Promise.reject(m))},[f,s.forbiddenError,s.networkError,s.permissionError,s.unexpectedError,s.validationError,r]);return _.useEffect(()=>{n&&(d.defaults.baseURL=n),d.interceptors.request.clear(),d.interceptors.response.clear();const m=d.interceptors.request.use(b,x=>Promise.reject(x)),p=d.interceptors.response.use(x=>x,h);return()=>{d.interceptors.request.eject(m),d.interceptors.response.eject(p)}},[d.defaults,d.interceptors.request,d.interceptors.response,n,b,h]),d},Gc=_.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),mp=_.createContext({delegation:null,setDelegation:()=>{},availableDelegations:null,setAvailableDelegations:()=>{},refreshAvailableDelegations:async()=>{}}),X2="_h1_14r4v_1",J2="_h3_14r4v_8",Q2="_h6_14r4v_15",Z2="_subtitle_14r4v_22",e_="_body_14r4v_29",t_="_body2_14r4v_36",n_="_caption_14r4v_43",r_="_form-label_14r4v_50",Ut={h1:X2,h3:J2,h6:Q2,subtitle:Z2,body:e_,body2:t_,caption:n_,"form-label":"_form-label_14r4v_50",formLabel:r_},i_=({variant:e,className:t,children:n})=>{switch(e){case"h1":return R.jsx("h1",{className:Oe("luminus-text-primary luminus-h1",Ut.h1,t),children:n});case"h3":return R.jsx("h3",{className:Oe("luminus-text luminus-h3",Ut.h3,t),children:n});case"h6":return R.jsx("h6",{className:Oe("luminus-text luminus-h6",Ut.h6,t),children:n});case"subtitle":return R.jsx("div",{className:Oe("luminus-text luminus-subtitle",Ut.subtitle,t),children:n});case"body":return R.jsx("div",{className:Oe("luminus-text luminus-body",Ut.body,t),children:n});case"body2":return R.jsx("div",{className:Oe("luminus-text luminus-body2",Ut.body2,t),children:n});case"caption":return R.jsx("div",{className:Oe("luminus-text-muted luminus-caption",Ut.caption,t),children:n});case"form-label":return R.jsx("div",{className:Oe("luminus-text luminus-form-label",Ut.formLabel,t),children:n});default:return R.jsx(R.Fragment,{children:n})}},gp=({variant:e,className:t,children:n})=>R.jsx(i_,{variant:e,className:t,children:n}),a_="_button_qhwih_1",o_={button:a_},s_=_.forwardRef(({color:e="primary",icon:t=R.jsx(Jg,{size:21}),text:n,onClick:r,className:i,children:a,...o},s)=>R.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),r(c)},"aria-label":"dropdown toggle",className:Oe(`btn luminus-context-button text-${e} ${i??""}`,o_.button),...o,children:[t,n]})),c_="_avatar-icon_1axl6_1",u_={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:c_},vp=({name:e,fontSize:t,size:n})=>{const r=i=>{let a=0,o;for(o=0;o<i.length;o+=1)a=i.charCodeAt(o)+((a<<5)-a);let s="#";for(o=0;o<3;o+=1){const c=a>>o*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return R.jsx(Sh,{placement:"bottom",overlay:R.jsx(Nc,{children:e}),children:R.jsx("div",{className:Oe("luminus-avatar-icon",u_.avatarIcon),style:{backgroundColor:r(e),fontSize:t??void 0,minHeight:n??void 0,height:n??void 0,maxHeight:n??void 0,minWidth:n??void 0,width:n??void 0,maxWidth:n??void 0},children:R.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},f_=_.forwardRef(({userName:e,onClick:t,children:n},r)=>R.jsxs("button",{type:"button",ref:r,onClick:i=>{i.preventDefault(),t(i)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[R.jsx(vp,{name:e}),n]})),l_="_floating-label_1g53j_1",d_="_without-label_1g53j_21",Bf={"floating-label":"_floating-label_1g53j_1",floatingLabel:l_,"without-label":"_without-label_1g53j_21",withoutLabel:d_},yp=_.forwardRef(({hidden:e,children:t,className:n,isInvalid:r,isForRadioInput:i,inputContainerClassName:a,isForCheckInput:o,...s},c)=>o?R.jsx(R.Fragment,{children:t}):R.jsx(Ic,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:Oe(`luminus-floating-label ${n??""}`,Bf.floatingLabel,{[a??""]:a},{[Bf.withoutLabel]:s.withoutLabel}),children:t}));yp.displayName="FloatingLabelInput";const h_="_row-label-input_13ci8_1",p_="_label_13ci8_4",b_="_input-container_13ci8_9",m_="_invalid-feedback_13ci8_101",g_="_keep-check-label_13ci8_129",v_="_is-invalid_13ci8_157",Tr={"row-label-input":"_row-label-input_13ci8_1",rowLabelInput:h_,label:p_,"input-container":"_input-container_13ci8_9",inputContainer:b_,"invalid-feedback":"_invalid-feedback_13ci8_101",invalidFeedback:m_,"keep-check-label":"_keep-check-label_13ci8_129",keepCheckLabel:g_,"is-invalid":"_is-invalid_13ci8_157",isInvalid:v_},_p=_.forwardRef(({hidden:e,children:t,className:n,isInvalid:r,isForRadioInput:i,isForTextAreaInput:a,inputContainerClassName:o,...s},c)=>R.jsxs("div",{ref:c,className:Oe("luminus-row-label row gx-0 gy-0",{"is-invalid":r},{[Tr.isInvalid]:r},{[n??""]:n},{"d-none":e},Tr.rowLabelInput),children:[!s.withoutLabel&&R.jsx("label",{className:Oe("label col-6",{"col-12":a},Tr.label),children:R.jsx(gp,{variant:"form-label",className:r?"text-danger":"",children:s.label})}),R.jsx("div",{className:Oe("input-container",Tr.inputContainer,{"col-6":!s.withoutLabel&&!a},{"col-12":s.withoutLabel||a},{[Tr.keepCheckLabel]:i},{[o??""]:o}),children:t})]}));_p.displayName="RowLabelInput";const xp=_.forwardRef(({children:e,className:t,hidden:n},r)=>R.jsx("div",{ref:r,className:`${n?"d-none":""} ${t}`,children:e}));xp.displayName="NoInputContainer";const y_=_.forwardRef(({onClick:e,text:t},n)=>R.jsx("div",{ref:n,onClick:r=>{r.preventDefault(),e(r)},role:"button",className:"middle-div",children:R.jsxs("div",{className:"d-flex flex-column align-items-center",children:[R.jsx("div",{className:"mt-",children:"…"}),R.jsx("div",{className:"mt-1 middle-letter",children:t})]})}));var Kc=pi(),ce=e=>hi(e,Kc),Xc=pi();ce.write=e=>hi(e,Xc);var qa=pi();ce.onStart=e=>hi(e,qa);var Jc=pi();ce.onFrame=e=>hi(e,Jc);var Qc=pi();ce.onFinish=e=>hi(e,Qc);var Bn=[];ce.setTimeout=(e,t)=>{const n=ce.now()+t,r=()=>{const a=Bn.findIndex(o=>o.cancel==r);~a&&Bn.splice(a,1),Yt-=~a?1:0},i={time:n,handler:e,cancel:r};return Bn.splice(wp(n),0,i),Yt+=1,Op(),i};var wp=e=>~(~Bn.findIndex(t=>t.time>e)||~Bn.length);ce.cancel=e=>{qa.delete(e),Jc.delete(e),Qc.delete(e),Kc.delete(e),Xc.delete(e)};ce.sync=e=>{Ks=!0,ce.batchedUpdates(e),Ks=!1};ce.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,ce.onStart(n)}return r.handler=e,r.cancel=()=>{qa.delete(n),t=null},r};var Zc=typeof window<"u"?window.requestAnimationFrame:()=>{};ce.use=e=>Zc=e;ce.now=typeof performance<"u"?()=>performance.now():Date.now;ce.batchedUpdates=e=>e();ce.catch=console.error;ce.frameLoop="always";ce.advance=()=>{ce.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Tp()};var Vt=-1,Yt=0,Ks=!1;function hi(e,t){Ks?(t.delete(e),e(0)):(t.add(e),Op())}function Op(){Vt<0&&(Vt=0,ce.frameLoop!=="demand"&&Zc(Ep))}function __(){Vt=-1}function Ep(){~Vt&&(Zc(Ep),ce.batchedUpdates(Tp))}function Tp(){const e=Vt;Vt=ce.now();const t=wp(Vt);if(t&&(Cp(Bn.splice(0,t),n=>n.handler()),Yt-=t),!Yt){__();return}qa.flush(),Kc.flush(e?Math.min(64,Vt-e):16.667),Jc.flush(),Xc.flush(),Qc.flush()}function pi(){let e=new Set,t=e;return{add(n){Yt+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return Yt-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,Yt-=t.size,Cp(t,r=>r(n)&&e.add(r)),Yt+=e.size,t=e)}}}function Cp(e,t){e.forEach(n=>{try{t(n)}catch(r){ce.catch(r)}})}var x_=Object.defineProperty,w_=(e,t)=>{for(var n in t)x_(e,n,{get:t[n],enumerable:!0})},pt={};w_(pt,{assign:()=>E_,colors:()=>Gt,createStringInterpolator:()=>tu,skipAnimation:()=>Sp,to:()=>Rp,willAdvance:()=>nu});function Xs(){}var O_=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),N={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function Rt(e,t){if(N.arr(e)){if(!N.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var oe=(e,t)=>e.forEach(t);function xt(e,t,n){if(N.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var Be=e=>N.und(e)?[]:N.arr(e)?e:[e];function Br(e,t){if(e.size){const n=Array.from(e);e.clear(),oe(n,t)}}var Dr=(e,...t)=>Br(e,n=>n(...t)),eu=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),tu,Rp,Gt=null,Sp=!1,nu=Xs,E_=e=>{e.to&&(Rp=e.to),e.now&&(ce.now=e.now),e.colors!==void 0&&(Gt=e.colors),e.skipAnimation!=null&&(Sp=e.skipAnimation),e.createStringInterpolator&&(tu=e.createStringInterpolator),e.requestAnimationFrame&&ce.use(e.requestAnimationFrame),e.batchedUpdates&&(ce.batchedUpdates=e.batchedUpdates),e.willAdvance&&(nu=e.willAdvance),e.frameLoop&&(ce.frameLoop=e.frameLoop)},qr=new Set,nt=[],cs=[],pa=0,Wa={get idle(){return!qr.size&&!nt.length},start(e){pa>e.priority?(qr.add(e),ce.onStart(T_)):(Ap(e),ce(Js))},advance:Js,sort(e){if(pa)ce.onFrame(()=>Wa.sort(e));else{const t=nt.indexOf(e);~t&&(nt.splice(t,1),$p(e))}},clear(){nt=[],qr.clear()}};function T_(){qr.forEach(Ap),qr.clear(),ce(Js)}function Ap(e){nt.includes(e)||$p(e)}function $p(e){nt.splice(C_(nt,t=>t.priority>e.priority),0,e)}function Js(e){const t=cs;for(let n=0;n<nt.length;n++){const r=nt[n];pa=r.priority,r.idle||(nu(r),r.advance(e),r.idle||t.push(r))}return pa=0,cs=nt,cs.length=0,nt=t,nt.length>0}function C_(e,t){const n=e.findIndex(t);return n<0?e.length:n}var R_=(e,t,n)=>Math.min(Math.max(n,e),t),S_={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},lt="[-+]?\\d*\\.?\\d+",ba=lt+"%";function Ha(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var A_=new RegExp("rgb"+Ha(lt,lt,lt)),$_=new RegExp("rgba"+Ha(lt,lt,lt,lt)),M_=new RegExp("hsl"+Ha(lt,ba,ba)),k_=new RegExp("hsla"+Ha(lt,ba,ba,lt)),P_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,j_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,L_=/^#([0-9a-fA-F]{6})$/,I_=/^#([0-9a-fA-F]{8})$/;function D_(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=L_.exec(e))?parseInt(t[1]+"ff",16)>>>0:Gt&&Gt[e]!==void 0?Gt[e]:(t=A_.exec(e))?(Nn(t[1])<<24|Nn(t[2])<<16|Nn(t[3])<<8|255)>>>0:(t=$_.exec(e))?(Nn(t[1])<<24|Nn(t[2])<<16|Nn(t[3])<<8|Hf(t[4]))>>>0:(t=P_.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=I_.exec(e))?parseInt(t[1],16)>>>0:(t=j_.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=M_.exec(e))?(qf(Wf(t[1]),Ii(t[2]),Ii(t[3]))|255)>>>0:(t=k_.exec(e))?(qf(Wf(t[1]),Ii(t[2]),Ii(t[3]))|Hf(t[4]))>>>0:null}function us(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 qf(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=us(i,r,e+1/3),o=us(i,r,e),s=us(i,r,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function Nn(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Wf(e){return(parseFloat(e)%360+360)%360/360}function Hf(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Ii(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Vf(e){let t=D_(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${a})`}var Kr=(e,t,n)=>{if(N.fun(e))return e;if(N.arr(e))return Kr({range:e,output:t,extrapolate:n});if(N.str(e.output[0]))return tu(e);const r=e,i=r.output,a=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{const f=F_(u,a);return N_(u,a[f],a[f+1],i[f],i[f+1],c,o,s,r.map)}};function N_(e,t,n,r,i,a,o,s,c){let u=c?c(e):e;if(u<t){if(o==="identity")return u;o==="clamp"&&(u=t)}if(u>n){if(s==="identity")return u;s==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=a(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function F_(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}var U_=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return R_(0,1,i/e)},ma=1.70158,Di=ma*1.525,Yf=ma+1,Gf=2*Math.PI/3,Kf=2*Math.PI/4.5,Ni=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,z_={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Yf*e*e*e-ma*e*e,easeOutBack:e=>1+Yf*Math.pow(e-1,3)+ma*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((Di+1)*2*e-Di)/2:(Math.pow(2*e-2,2)*((Di+1)*(e*2-2)+Di)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Gf),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Gf)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Kf))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Kf)/2+1,easeInBounce:e=>1-Ni(1-e),easeOutBounce:Ni,easeInOutBounce:e=>e<.5?(1-Ni(1-2*e))/2:(1+Ni(2*e-1))/2,steps:U_},Xr=Symbol.for("FluidValue.get"),Jn=Symbol.for("FluidValue.observers"),tt=e=>!!(e&&e[Xr]),We=e=>e&&e[Xr]?e[Xr]():e,Xf=e=>e[Jn]||null;function B_(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Jr(e,t){const n=e[Jn];n&&n.forEach(r=>{B_(r,t)})}var Mp=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");q_(this,e)}},q_=(e,t)=>kp(e,Xr,t);function ir(e,t){if(e[Xr]){let n=e[Jn];n||kp(e,Jn,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Qr(e,t){const n=e[Jn];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Jn]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var kp=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Zi=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,W_=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Jf=new RegExp(`(${Zi.source})(%|[a-z]+)`,"i"),H_=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Va=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Pp=e=>{const[t,n]=V_(e);if(!t||eu())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&Va.test(n))return Pp(n);if(n)return n}return e},V_=e=>{const t=Va.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},fs,Y_=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,jp=e=>{fs||(fs=Gt?new RegExp(`(${Object.keys(Gt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>We(a).replace(Va,Pp).replace(W_,Vf).replace(fs,Vf)),n=t.map(a=>a.match(Zi).map(Number)),i=n[0].map((a,o)=>n.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>Kr({...e,output:a}));return a=>{var c;const o=!Jf.test(t[0])&&((c=t.find(u=>Jf.test(u)))==null?void 0:c.replace(Zi,""));let s=0;return t[0].replace(Zi,()=>`${i[s++](a)}${o||""}`).replace(H_,Y_)}},ru="react-spring: ",Lp=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${ru}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},G_=Lp(console.warn);function K_(){G_(`${ru}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var X_=Lp(console.warn);function J_(){X_(`${ru}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Ya(e){return N.str(e)&&(e[0]=="#"||/\d/.test(e)||!eu()&&Va.test(e)||e in(Gt||{}))}var hn=eu()?_.useEffect:_.useLayoutEffect,Q_=()=>{const e=_.useRef(!1);return hn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function iu(){const e=_.useState()[1],t=Q_();return()=>{t.current&&e(Math.random())}}function Z_(e,t){const[n]=_.useState(()=>({inputs:t,result:e()})),r=_.useRef(),i=r.current;let a=i;return a?t&&a.inputs&&ex(t,a.inputs)||(a={inputs:t,result:e()}):a=n,_.useEffect(()=>{r.current=a,i==n&&(n.inputs=n.result=void 0)},[a]),a.result}function ex(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var au=e=>_.useEffect(e,tx),tx=[];function Qs(e){const t=_.useRef();return _.useEffect(()=>{t.current=e}),t.current}var Zr=Symbol.for("Animated:node"),nx=e=>!!e&&e[Zr]===e,gt=e=>e&&e[Zr],ou=(e,t)=>O_(e,Zr,t),Ga=e=>e&&e[Zr]&&e[Zr].getPayload(),Ip=class{constructor(){ou(this,this)}getPayload(){return this.payload||[]}},bi=class extends Ip{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,N.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new bi(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return N.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,N.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ei=class extends bi{constructor(e){super(0),this._string=null,this._toString=Kr({output:[e,e]})}static create(e){return new ei(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(N.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Kr({output:[this.getValue(),e]})),this._value=0,super.reset()}},ga={dependencies:null},Ka=class extends Ip{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return xt(this.source,(n,r)=>{nx(n)?t[r]=n.getValue(e):tt(n)?t[r]=We(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&oe(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return xt(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ga.dependencies&&tt(e)&&ga.dependencies.add(e);const t=Ga(e);t&&oe(t,n=>this.add(n))}},Dp=class extends Ka{constructor(e){super(e)}static create(e){return new Dp(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(rx)),!0)}};function rx(e){return(Ya(e)?ei:bi).create(e)}function Zs(e){const t=gt(e);return t?t.constructor:N.arr(e)?Dp:Ya(e)?ei:bi}var Qf=(e,t)=>{const n=!N.fun(e)||e.prototype&&e.prototype.isReactComponent;return _.forwardRef((r,i)=>{const a=_.useRef(null),o=n&&_.useCallback(h=>{a.current=ox(i,h)},[i]),[s,c]=ax(r,t),u=iu(),f=()=>{const h=a.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,s.getValue(!0)):!1)===!1&&u()},l=new ix(f,c),d=_.useRef();hn(()=>(d.current=l,oe(c,h=>ir(h,l)),()=>{d.current&&(oe(d.current.deps,h=>Qr(h,d.current)),ce.cancel(d.current.update))})),_.useEffect(f,[]),au(()=>()=>{const h=d.current;oe(h.deps,m=>Qr(m,h))});const b=t.getComponentProps(s.getValue());return fe.createElement(e,{...b,ref:o})})},ix=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&ce.write(this.update)}};function ax(e,t){const n=new Set;return ga.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Ka(e),ga.dependencies=null,[e,n]}function ox(e,t){return e&&(N.fun(e)?e(t):e.current=t),t}var Zf=Symbol.for("AnimatedComponent"),sx=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new Ka(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=o=>{const s=el(o)||"Anonymous";return N.str(o)?o=a[o]||(a[o]=Qf(o,i)):o=o[Zf]||(o[Zf]=Qf(o,i)),o.displayName=`Animated(${s})`,o};return xt(e,(o,s)=>{N.arr(e)&&(s=el(o)),a[s]=a(o)}),{animated:a}},el=e=>N.str(e)?e:e&&N.str(e.displayName)?e.displayName:N.fun(e)&&e.name||null;function He(e,...t){return N.fun(e)?e(...t):e}var Wr=(e,t)=>e===!0||!!(t&&e&&(N.fun(e)?e(t):Be(e).includes(t))),Np=(e,t)=>N.obj(e)?t&&e[t]:e,Fp=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,cx=e=>e,Xa=(e,t=cx)=>{let n=ux;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const a=t(e[i],i);N.und(a)||(r[i]=a)}return r},ux=["config","onProps","onStart","onChange","onPause","onResume","onRest"],fx={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function lx(e){const t={};let n=0;if(xt(e,(r,i)=>{fx[i]||(t[i]=r,n++)}),n)return t}function su(e){const t=lx(e);if(t){const n={to:t};return xt(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function ti(e){return e=We(e),N.arr(e)?e.map(ti):Ya(e)?pt.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Up(e){for(const t in e)return!0;return!1}function ec(e){return N.fun(e)||N.arr(e)&&N.obj(e[0])}function tc(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function zp(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var cu={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},nc={...cu.default,mass:1,damping:1,easing:z_.linear,clamp:!1},dx=class{constructor(){this.velocity=0,Object.assign(this,nc)}};function hx(e,t,n){n&&(n={...n},tl(n,t),t={...n,...t}),tl(e,t),Object.assign(e,t);for(const o in nc)e[o]==null&&(e[o]=nc[o]);let{frequency:r,damping:i}=e;const{mass:a}=e;return N.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*i*a/r),e}function tl(e,t){if(!N.und(t.decay))e.duration=void 0;else{const n=!N.und(t.tension)||!N.und(t.friction);(n||!N.und(t.frequency)||!N.und(t.damping)||!N.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var nl=[],px=class{constructor(){this.changed=!1,this.values=nl,this.toValues=null,this.fromValues=nl,this.config=new dx,this.immediate=!1}};function Bp(e,{key:t,props:n,defaultProps:r,state:i,actions:a}){return new Promise((o,s)=>{let c,u,f=Wr(n.cancel??(r==null?void 0:r.cancel),t);if(f)b();else{N.und(n.pause)||(i.paused=Wr(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||Wr(h,t)),c=He(n.delay||0,t),h?(i.resumeQueue.add(d),a.pause()):(a.resume(),d())}function l(){i.resumeQueue.add(d),i.timeouts.delete(u),u.cancel(),c=u.time-ce.now()}function d(){c>0&&!pt.skipAnimation?(i.delayed=!0,u=ce.setTimeout(b,c),i.pauseQueue.add(l),i.timeouts.add(u)):b()}function b(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(l),i.timeouts.delete(u),e<=(i.cancelId||0)&&(f=!0);try{a.start({...n,callId:e,cancel:f},o)}catch(h){s(h)}}})}var uu=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?qn(e.get()):t.every(n=>n.noop)?qp(e.get()):ut(e.get(),t.every(n=>n.finished)),qp=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ut=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),qn=e=>({value:e,cancelled:!0,finished:!1});function Wp(e,t,n,r){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:c}=n;return!a&&e===s&&!t.reset?c:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=Xa(t,(p,x)=>x==="onRest"?void 0:p);let f,l;const d=new Promise((p,x)=>(f=p,l=x)),b=p=>{const x=i<=(n.cancelId||0)&&qn(r)||i!==n.asyncId&&ut(r,!1);if(x)throw p.result=x,l(p),p},h=(p,x)=>{const y=new rl,v=new il;return(async()=>{if(pt.skipAnimation)throw ni(n),v.result=ut(r,!1),l(v),v;b(y);const E=N.obj(p)?{...p}:{...x,to:p};E.parentId=i,xt(u,(C,P)=>{N.und(E[P])&&(E[P]=C)});const g=await r.start(E);return b(y),n.paused&&await new Promise(C=>{n.resumeQueue.add(C)}),g})()};let m;if(pt.skipAnimation)return ni(n),ut(r,!1);try{let p;N.arr(e)?p=(async x=>{for(const y of x)await h(y)})(e):p=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([p.then(f),d]),m=ut(r.get(),!0,!1)}catch(p){if(p instanceof rl)m=p.result;else if(p instanceof il)m=p.result;else throw p}finally{i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?c:void 0)}return N.fun(o)&&ce.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function ni(e,t){Br(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var rl=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},il=class extends Error{constructor(){super("SkipAnimationSignal")}},rc=e=>e instanceof fu,bx=1,fu=class extends Mp{constructor(){super(...arguments),this.id=bx++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=gt(this);return e&&e.getValue()}to(...e){return pt.to(this,e)}interpolate(...e){return K_(),pt.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Jr(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Wa.sort(this),Jr(this,{type:"priority",parent:this,priority:e})}},On=Symbol.for("SpringPhase"),Hp=1,ic=2,ac=4,ls=e=>(e[On]&Hp)>0,zt=e=>(e[On]&ic)>0,Cr=e=>(e[On]&ac)>0,al=(e,t)=>t?e[On]|=ic|Hp:e[On]&=~ic,ol=(e,t)=>t?e[On]|=ac:e[On]&=~ac,mx=class extends fu{constructor(e,t){if(super(),this.animation=new px,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!N.und(e)||!N.und(t)){const n=N.obj(e)?{...e}:{...t,from:e};N.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(zt(this)||this._state.asyncTo)||Cr(this)}get goal(){return We(this.animation.to)}get velocity(){const e=gt(this);return e instanceof bi?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return ls(this)}get isAnimating(){return zt(this)}get isPaused(){return Cr(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:a}=r,o=Ga(r.to);!o&&tt(r.to)&&(i=Be(We(r.to))),r.values.forEach((u,f)=>{if(u.done)return;const l=u.constructor==ei?1:o?o[f].lastPosition:i[f];let d=r.immediate,b=l;if(!d){if(b=u.lastPosition,a.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[f],p=u.v0!=null?u.v0:u.v0=N.arr(a.velocity)?a.velocity[f]:a.velocity;let x;const y=a.precision||(m==l?.005:Math.min(1,Math.abs(l-m)*.001));if(N.und(a.duration))if(a.decay){const v=a.decay===!0?.998:a.decay,E=Math.exp(-(1-v)*h);b=m+p/(1-v)*(1-E),d=Math.abs(u.lastPosition-b)<=y,x=p*E}else{x=u.lastVelocity==null?p:u.lastVelocity;const v=a.restVelocity||y/10,E=a.clamp?0:a.bounce,g=!N.und(E),C=m==l?u.v0>0:m<l;let P,F=!1;const B=1,j=Math.ceil(e/B);for(let L=0;L<j&&(P=Math.abs(x)>v,!(!P&&(d=Math.abs(l-b)<=y,d)));++L){g&&(F=b==l||b>l==C,F&&(x=-x*E,b=l));const Z=-a.tension*1e-6*(b-l),M=-a.friction*.001*x,S=(Z+M)/a.mass;x=x+S*B,b=b+x*B}}else{let v=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,u.durationProgress>0&&(u.elapsedTime=a.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(a.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),b=m+a.easing(v)*(l-m),x=(b-u.lastPosition)/e,d=v==1}u.lastVelocity=x,Number.isNaN(b)&&(console.warn("Got NaN while animating:",this),d=!0)}o&&!o[f].done&&(d=!1),d?u.done=!0:t=!1,u.setValue(b,a.round)&&(n=!0)});const s=gt(this),c=s.getValue();if(t){const u=We(r.to);(c!==u||n)&&!a.decay?(s.setValue(u),this._onChange(u)):n&&a.decay&&this._onChange(c),this._stop()}else n&&this._onChange(c)}set(e){return ce.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(zt(this)){const{to:e,config:t}=this.animation;ce.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return N.und(e)?(n=this.queue||[],this.queue=[]):n=[N.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>uu(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),ni(this._state,e&&this._lastCallId),ce.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=N.obj(n)?n[t]:n,(n==null||ec(n))&&(n=void 0),r=N.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return ls(this)||(e.reverse&&([n,r]=[r,n]),r=We(r),N.und(r)?gt(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Xa(e,(o,s)=>/^on/.test(s)?Np(o,n):o)),cl(this,e,"onProps"),Sr(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return Bp(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{Cr(this)||(ol(this,!0),Dr(a.pauseQueue),Sr(this,"onPause",ut(this,Rr(this,this.animation.to)),this))},resume:()=>{Cr(this)&&(ol(this,!1),zt(this)&&this._resume(),Dr(a.resumeQueue),Sr(this,"onResume",ut(this,Rr(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const s=Vp(e);if(s)return this._update(s,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(qn(this));const r=!N.und(e.to),i=!N.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(qn(this));const{key:a,defaultProps:o,animation:s}=this,{to:c,from:u}=s;let{to:f=c,from:l=u}=e;i&&!r&&(!t.default||N.und(f))&&(f=l),t.reverse&&([f,l]=[l,f]);const d=!Rt(l,u);d&&(s.from=l),l=We(l);const b=!Rt(f,c);b&&this._focus(f);const h=ec(t.to),{config:m}=s,{decay:p,velocity:x}=m;(r||i)&&(m.velocity=0),t.config&&!h&&hx(m,He(t.config,a),t.config!==o.config?He(o.config,a):void 0);let y=gt(this);if(!y||N.und(f))return n(ut(this,!0));const v=N.und(t.reset)?i&&!t.default:!N.und(l)&&Wr(t.reset,a),E=v?l:this.get(),g=ti(f),C=N.num(g)||N.arr(g)||Ya(g),P=!h&&(!C||Wr(o.immediate||t.immediate,a));if(b){const L=Zs(f);if(L!==y.constructor)if(P)y=this._set(g);else throw Error(`Cannot animate between ${y.constructor.name} and ${L.name}, as the "to" prop suggests`)}const F=y.constructor;let B=tt(f),j=!1;if(!B){const L=v||!ls(this)&&d;(b||L)&&(j=Rt(ti(E),g),B=!j),(!Rt(s.immediate,P)&&!P||!Rt(m.decay,p)||!Rt(m.velocity,x))&&(B=!0)}if(j&&zt(this)&&(s.changed&&!v?B=!0:B||this._stop(c)),!h&&((B||tt(c))&&(s.values=y.getPayload(),s.toValues=tt(f)?null:F==ei?[1]:Be(g)),s.immediate!=P&&(s.immediate=P,!P&&!v&&this._set(c)),B)){const{onRest:L}=s;oe(vx,M=>cl(this,t,M));const Z=ut(this,Rr(this,c));Dr(this._pendingCalls,Z),this._pendingCalls.add(n),s.changed&&ce.batchedUpdates(()=>{var M;s.changed=!v,L==null||L(Z,this),v?He(o.onRest,Z):(M=s.onStart)==null||M.call(s,Z,this)})}v&&this._set(E),h?n(Wp(t.to,t,this._state,this)):B?this._start():zt(this)&&!b?this._pendingCalls.add(n):n(qp(E))}_focus(e){const t=this.animation;e!==t.to&&(Xf(this)&&this._detach(),t.to=e,Xf(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;tt(t)&&(ir(t,this),rc(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;tt(e)&&Qr(e,this)}_set(e,t=!0){const n=We(e);if(!N.und(n)){const r=gt(this);if(!r||!Rt(n,r.getValue())){const i=Zs(n);!r||r.constructor!=i?ou(this,i.create(n)):r.setValue(n),r&&ce.batchedUpdates(()=>{this._onChange(n,t)})}}return gt(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Sr(this,"onStart",ut(this,Rr(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),He(this.animation.onChange,e,this)),He(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;gt(this).reset(We(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),zt(this)||(al(this,!0),Cr(this)||this._resume())}_resume(){pt.skipAnimation?this.finish():Wa.start(this)}_stop(e,t){if(zt(this)){al(this,!1);const n=this.animation;oe(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Jr(this,{type:"idle",parent:this});const r=t?qn(this.get()):ut(this.get(),Rr(this,e??n.to));Dr(this._pendingCalls,r),n.changed&&(n.changed=!1,Sr(this,"onRest",r,this))}}};function Rr(e,t){const n=ti(t),r=ti(e.get());return Rt(r,n)}function Vp(e,t=e.loop,n=e.to){const r=He(t);if(r){const i=r!==!0&&su(r),a=(i||e).reverse,o=!i||i.reset;return ri({...e,loop:t,default:!1,pause:void 0,to:!a||ec(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function ri(e){const{to:t,from:n}=e=su(e),r=new Set;return N.obj(t)&&sl(t,r),N.obj(n)&&sl(n,r),e.keys=r.size?Array.from(r):null,e}function gx(e){const t=ri(e);return N.und(t.default)&&(t.default=Xa(t)),t}function sl(e,t){xt(e,(n,r)=>n!=null&&t.add(r))}var vx=["onStart","onRest","onChange","onPause","onResume"];function cl(e,t,n){e.animation[n]=t[n]!==Fp(t,n)?Np(t[n],e.key):void 0}function Sr(e,t,...n){var r,i,a,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(a=e.defaultProps)[t])==null||o.call(a,...n)}var yx=["onStart","onChange","onRest"],_x=1,Yp=class{constructor(e,t){this.id=_x++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];N.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(ri(e)),this}start(e){let{queue:t}=this;return e?t=Be(e).map(ri):this.queue=[],this._flush?this._flush(this,t):(Qp(this,t),oc(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;oe(Be(t),r=>n[r].stop(!!e))}else ni(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(N.und(e))this.start({pause:!0});else{const t=this.springs;oe(Be(e),n=>t[n].pause())}return this}resume(e){if(N.und(e))this.start({pause:!1});else{const t=this.springs;oe(Be(e),n=>t[n].resume())}return this}each(e){xt(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,Br(e,([s,c])=>{c.value=this.get(),s(c,this,this._item)}));const a=!r&&this._started,o=i||a&&n.size?this.get():null;i&&t.size&&Br(t,([s,c])=>{c.value=o,s(c,this,this._item)}),a&&(this._started=!1,Br(n,([s,c])=>{c.value=o,s(c,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;ce.onFrame(this._onFrame)}};function oc(e,t){return Promise.all(t.map(n=>Gp(e,n))).then(n=>uu(e,n))}async function Gp(e,t,n){const{keys:r,to:i,from:a,loop:o,onRest:s,onResolve:c}=t,u=N.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const f=N.arr(i)||N.fun(i)?i:void 0;f?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):oe(yx,m=>{const p=t[m];if(N.fun(p)){const x=e._events[m];t[m]=({finished:y,cancelled:v})=>{const E=x.get(p);E?(y||(E.finished=!1),v&&(E.cancelled=!0)):x.set(p,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[m]=t[m])}});const l=e._state;t.pause===!l.paused?(l.paused=t.pause,Dr(t.pause?l.pauseQueue:l.resumeQueue)):l.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),b=t.cancel===!0||Fp(t,"cancel")===!0;(f||b&&l.asyncId)&&d.push(Bp(++e._lastAsyncId,{props:t,state:l,actions:{pause:Xs,resume:Xs,start(m,p){b?(ni(l,e._lastAsyncId),p(qn(e))):(m.onRest=s,p(Wp(f,m,l,e)))}}})),l.paused&&await new Promise(m=>{l.resumeQueue.add(m)});const h=uu(e,await Promise.all(d));if(o&&h.finished&&!(n&&h.noop)){const m=Vp(t,o,i);if(m)return Qp(e,[m]),Gp(e,m,!0)}return c&&ce.batchedUpdates(()=>c(h,e,e.item)),h}function sc(e,t){const n={...e.springs};return t&&oe(Be(t),r=>{N.und(r.keys)&&(r=ri(r)),N.obj(r.to)||(r={...r,to:void 0}),Jp(n,r,i=>Xp(i))}),Kp(e,n),n}function Kp(e,t){xt(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ir(n,e))})}function Xp(e,t){const n=new mx;return n.key=e,t&&ir(n,t),n}function Jp(e,t,n){t.keys&&oe(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Qp(e,t){oe(t,n=>{Jp(e.springs,n,r=>Xp(r,e))})}var mi=({children:e,...t})=>{const n=_.useContext(va),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=Z_(()=>({pause:r,immediate:i}),[r,i]);const{Provider:a}=va;return fe.createElement(a,{value:t},e)},va=xx(mi,{});mi.Provider=va.Provider;mi.Consumer=va.Consumer;function xx(e,t){return Object.assign(e,fe.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var Zp=()=>{const e=[],t=function(r){J_();const i=[];return oe(e,(a,o)=>{if(N.und(r))i.push(a.start());else{const s=n(r,a,o);s&&i.push(a.start(s))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return oe(e,r=>r.pause(...arguments)),this},t.resume=function(){return oe(e,r=>r.resume(...arguments)),this},t.set=function(r){oe(e,(i,a)=>{const o=N.fun(r)?r(a,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return oe(e,(a,o)=>{if(N.und(r))i.push(a.start());else{const s=this._getProps(r,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return oe(e,r=>r.stop(...arguments)),this},t.update=function(r){return oe(e,(i,a)=>i.update(this._getProps(r,i,a))),this};const n=function(r,i,a){return N.fun(r)?r(a,i):r};return t._getProps=n,t};function wx(e,t,n){const r=N.fun(t)&&t;r&&!n&&(n=[]);const i=_.useMemo(()=>r||arguments.length==3?Zp():void 0,[]),a=_.useRef(0),o=iu(),s=_.useMemo(()=>({ctrls:[],queue:[],flush(x,y){const v=sc(x,y);return a.current>0&&!s.queue.length&&!Object.keys(v).some(g=>!x.springs[g])?oc(x,y):new Promise(g=>{Kp(x,v),s.queue.push(()=>{g(oc(x,y))}),o()})}}),[]),c=_.useRef([...s.ctrls]),u=[],f=Qs(e)||0;_.useMemo(()=>{oe(c.current.slice(e,f),x=>{tc(x,i),x.stop(!0)}),c.current.length=e,l(f,e)},[e]),_.useMemo(()=>{l(0,Math.min(f,e))},n);function l(x,y){for(let v=x;v<y;v++){const E=c.current[v]||(c.current[v]=new Yp(null,s.flush)),g=r?r(v,E):t[v];g&&(u[v]=gx(g))}}const d=c.current.map((x,y)=>sc(x,u[y])),b=_.useContext(mi),h=Qs(b),m=b!==h&&Up(b);hn(()=>{a.current++,s.ctrls=c.current;const{queue:x}=s;x.length&&(s.queue=[],oe(x,y=>y())),oe(c.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:b});const E=u[v];E&&(zp(y,E.ref),y.ref?y.queue.push(E):y.start(E))})}),au(()=>()=>{oe(s.ctrls,x=>x.stop(!0))});const p=d.map(x=>({...x}));return i?[p,i]:p}function lu(e,t){const n=N.fun(e),[[r],i]=wx(1,n?e:[e],n?[]:t);return n||arguments.length==2?[r,i]:r}function du(e,t,n){const r=N.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:c=!1,onDestroyed:u,ref:f,config:l}=r?r():t,d=_.useMemo(()=>r||arguments.length==3?Zp():void 0,[]),b=Be(e),h=[],m=_.useRef(null),p=i?null:m.current;hn(()=>{m.current=h}),au(()=>(oe(h,S=>{d==null||d.add(S.ctrl),S.ctrl.ref=d}),()=>{oe(m.current,S=>{S.expired&&clearTimeout(S.expirationId),tc(S.ctrl,d),S.ctrl.stop(!0)})}));const x=Ex(b,r?r():t,p),y=i&&m.current||[];hn(()=>oe(y,({ctrl:S,item:I,key:q})=>{tc(S,d),He(u,I,q)}));const v=[];if(p&&oe(p,(S,I)=>{S.expired?(clearTimeout(S.expirationId),y.push(S)):(I=v[I]=x.indexOf(S.key),~I&&(h[I]=S))}),oe(b,(S,I)=>{h[I]||(h[I]={key:x[I],item:S,phase:"mount",ctrl:new Yp},h[I].ctrl.item=S)}),v.length){let S=-1;const{leave:I}=r?r():t;oe(v,(q,H)=>{const ne=p[H];~q?(S=h.indexOf(ne),h[S]={...ne,item:b[q]}):I&&h.splice(++S,0,ne)})}N.fun(a)&&h.sort((S,I)=>a(S.item,I.item));let E=-o;const g=iu(),C=Xa(t),P=new Map,F=_.useRef(new Map),B=_.useRef(!1);oe(h,(S,I)=>{const q=S.key,H=S.phase,ne=r?r():t;let V,A;const U=He(ne.delay||0,q);if(H=="mount")V=ne.enter,A="enter";else{const Y=x.indexOf(q)<0;if(H!="leave")if(Y)V=ne.leave,A="leave";else if(V=ne.update)A="update";else return;else if(!Y)V=ne.enter,A="enter";else return}if(V=He(V,S.item,I),V=N.obj(V)?su(V):{to:V},!V.config){const Y=l||C.config;V.config=He(Y,S.item,I,A)}E+=o;const K={...C,delay:U+E,ref:f,immediate:ne.immediate,reset:!1,...V};if(A=="enter"&&N.und(K.from)){const Y=r?r():t,W=N.und(Y.initial)||p?Y.from:Y.initial;K.from=He(W,S.item,I)}const{onResolve:te}=K;K.onResolve=Y=>{He(te,Y);const W=m.current,G=W.find(J=>J.key===q);if(G&&!(Y.cancelled&&G.phase!="update")&&G.ctrl.idle){const J=W.every(k=>k.ctrl.idle);if(G.phase=="leave"){const k=He(s,G.item);if(k!==!1){const z=k===!0?0:k;if(G.expired=!0,!J&&z>0){z<=2147483647&&(G.expirationId=setTimeout(g,z));return}}}J&&W.some(k=>k.expired)&&(F.current.delete(G),c&&(B.current=!0),g())}};const X=sc(S.ctrl,K);A==="leave"&&c?F.current.set(S,{phase:A,springs:X,payload:K}):P.set(S,{phase:A,springs:X,payload:K})});const j=_.useContext(mi),L=Qs(j),Z=j!==L&&Up(j);hn(()=>{Z&&oe(h,S=>{S.ctrl.start({default:j})})},[j]),oe(P,(S,I)=>{if(F.current.size){const q=h.findIndex(H=>H.key===I.key);h.splice(q,1)}}),hn(()=>{oe(F.current.size?F.current:P,({phase:S,payload:I},q)=>{const{ctrl:H}=q;q.phase=S,d==null||d.add(H),Z&&S=="enter"&&H.start({default:j}),I&&(zp(H,I.ref),(H.ref||d)&&!B.current?H.update(I):(H.start(I),B.current&&(B.current=!1)))})},i?void 0:n);const M=S=>fe.createElement(fe.Fragment,null,h.map((I,q)=>{const{springs:H}=P.get(I)||I.ctrl,ne=S({...H},I.item,I,q);return ne&&ne.type?fe.createElement(ne.type,{...ne.props,key:N.str(I.key)||N.num(I.key)?I.key:I.ctrl.id,ref:ne.ref}):ne}));return d?[M,d]:M}var Ox=1;function Ex(e,{key:t,keys:n=t},r){if(n===null){const i=new Set;return e.map(a=>{const o=r&&r.find(s=>s.item===a&&s.phase!=="leave"&&!i.has(s));return o?(i.add(o),o.key):Ox++})}return N.und(n)?e:N.fun(n)?e.map(n):Be(n)}var e0=class extends fu{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Kr(...t);const n=this._get(),r=Zs(n);ou(this,r.create(n))}advance(e){const t=this._get(),n=this.get();Rt(t,n)||(gt(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ul(this._active)&&ds(this)}_get(){const e=N.arr(this.source)?this.source.map(We):Be(We(this.source));return this.calc(...e)}_start(){this.idle&&!ul(this._active)&&(this.idle=!1,oe(Ga(this),e=>{e.done=!1}),pt.skipAnimation?(ce.batchedUpdates(()=>this.advance()),ds(this)):Wa.start(this))}_attach(){let e=1;oe(Be(this.source),t=>{tt(t)&&ir(t,this),rc(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){oe(Be(this.source),e=>{tt(e)&&Qr(e,this)}),this._active.clear(),ds(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=Be(this.source).reduce((t,n)=>Math.max(t,(rc(n)?n.priority:0)+1),0))}};function Tx(e){return e.idle!==!1}function ul(e){return!e.size||Array.from(e).every(Tx)}function ds(e){e.idle||(e.idle=!0,oe(Ga(e),t=>{t.done=!0}),Jr(e,{type:"idle",parent:e}))}var gi=(e,...t)=>new e0(e,t);pt.assign({createStringInterpolator:jp,to:(e,t)=>new e0(e,t)});var t0=/^--/;function Cx(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!t0.test(e)&&!(Hr.hasOwnProperty(e)&&Hr[e])?t+"px":(""+t).trim()}var fl={};function Rx(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:r,children:i,scrollTop:a,scrollLeft:o,viewBox:s,...c}=t,u=Object.values(c),f=Object.keys(c).map(l=>n||e.hasAttribute(l)?l:fl[l]||(fl[l]=l.replace(/([A-Z])/g,d=>"-"+d.toLowerCase())));i!==void 0&&(e.textContent=i);for(const l in r)if(r.hasOwnProperty(l)){const d=Cx(l,r[l]);t0.test(l)?e.style.setProperty(l,d):e.style[l]=d}f.forEach((l,d)=>{e.setAttribute(l,u[d])}),a!==void 0&&(e.scrollTop=a),o!==void 0&&(e.scrollLeft=o),s!==void 0&&e.setAttribute("viewBox",s)}var Hr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sx=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),Ax=["Webkit","Ms","Moz","O"];Hr=Object.keys(Hr).reduce((e,t)=>(Ax.forEach(n=>e[Sx(n,t)]=e[t]),e),Hr);var $x=/^(matrix|translate|scale|rotate|skew)/,Mx=/^(translate)/,kx=/^(rotate|skew)/,hs=(e,t)=>N.num(e)&&e!==0?e+t:e,ea=(e,t)=>N.arr(e)?e.every(n=>ea(n,t)):N.num(e)?e===t:parseFloat(e)===t,Px=class extends Ka{constructor({x:e,y:t,z:n,...r}){const i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push(o=>[`translate3d(${o.map(s=>hs(s,"px")).join(",")})`,ea(o,0)])),xt(r,(o,s)=>{if(s==="transform")i.push([o||""]),a.push(c=>[c,c===""]);else if($x.test(s)){if(delete r[s],N.und(o))return;const c=Mx.test(s)?"px":kx.test(s)?"deg":"";i.push(Be(o)),a.push(s==="rotate3d"?([u,f,l,d])=>[`rotate3d(${u},${f},${l},${hs(d,c)})`,ea(d,0)]:u=>[`${s}(${u.map(f=>hs(f,c)).join(",")})`,ea(u,s.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new jx(i,a)),super(r)}},jx=class extends Mp{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return oe(this.inputs,(n,r)=>{const i=We(n[0]),[a,o]=this.transforms[r](N.arr(i)?i:n.map(We));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){e==1&&oe(this.inputs,t=>oe(t,n=>tt(n)&&ir(n,this)))}observerRemoved(e){e==0&&oe(this.inputs,t=>oe(t,n=>tt(n)&&Qr(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Jr(this,e)}},Lx=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];pt.assign({batchedUpdates:ln.unstable_batchedUpdates,createStringInterpolator:jp,colors:S_});var Ix=sx(Lx,{applyAnimatedValues:Rx,createAnimatedStyle:e=>new Px(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),At=Ix.animated;function En(){return En=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},En.apply(this,arguments)}var Dx={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},ll=function(e,t){return"translate("+e+"px, "+t+"px)"},n0=_.memo(function(e){var t,n=e.position,r=e.anchor,i=e.children,a=et(),o=lr(),s=o.animate,c=o.config,u=Sb(),f=u[0],l=u[1],d=_.useRef(!1),b=void 0,h=!1,m=l.width>0&&l.height>0,p=Math.round(n[0]),x=Math.round(n[1]);m&&(r==="top"?(p-=l.width/2,x-=l.height+14):r==="right"?(p+=14,x-=l.height/2):r==="bottom"?(p-=l.width/2,x+=14):r==="left"?(p-=l.width+14,x-=l.height/2):r==="center"&&(p-=l.width/2,x-=l.height/2),b={transform:ll(p,x)},d.current||(h=!0),d.current=[p,x]);var y=lu({to:b,config:c,immediate:!s||h}),v=En({},Dx,a.tooltip.wrapper,{transform:(t=y.transform)!=null?t:ll(p,x),opacity:y.transform?1:0});return R.jsx(At.div,{ref:f,style:v,children:i})});n0.displayName="TooltipWrapper";var Nx=_.memo(function(e){var t=e.size,n=t===void 0?12:t,r=e.color,i=e.style;return R.jsx("span",{style:En({display:"block",width:n,height:n,background:r},i===void 0?{}:i)})}),Fx=_.memo(function(e){var t,n=e.id,r=e.value,i=e.format,a=e.enableChip,o=a!==void 0&&a,s=e.color,c=e.renderContent,u=et(),f=Ab(i);if(typeof c=="function")t=c();else{var l=r;f!==void 0&&l!==void 0&&(l=f(l)),t=R.jsxs("div",{style:u.tooltip.basic,children:[o&&R.jsx(Nx,{color:s,style:u.tooltip.chip}),l!==void 0?R.jsxs("span",{children:[n,": ",R.jsx("strong",{children:""+l})]}):n]})}return R.jsx("div",{style:u.tooltip.container,children:t})}),Ux={width:"100%",borderCollapse:"collapse"},zx=_.memo(function(e){var t,n=e.title,r=e.rows,i=r===void 0?[]:r,a=e.renderContent,o=et();return i.length?(t=typeof a=="function"?a():R.jsxs("div",{children:[n&&n,R.jsx("table",{style:En({},Ux,o.tooltip.table),children:R.jsx("tbody",{children:i.map(function(s,c){return R.jsx("tr",{children:s.map(function(u,f){return R.jsx("td",{style:o.tooltip.tableCell,children:u},f)})},c)})})})]}),R.jsx("div",{style:o.tooltip.container,children:t})):null});zx.displayName="TableTooltip";var cc=_.memo(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,a=et(),o=lr(),s=o.animate,c=o.config,u=_.useMemo(function(){return En({},a.crosshair.line,{pointerEvents:"none"})},[a.crosshair.line]),f=lu({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!s});return R.jsx(At.line,En({},f,{fill:"none",style:u}))});cc.displayName="CrosshairLine";var Bx=_.memo(function(e){var t,n,r=e.width,i=e.height,a=e.type,o=e.x,s=e.y;return a==="cross"?(t={x0:o,x1:o,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):a==="top-left"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:0,x1:o,y0:s,y1:s}):a==="top"?t={x0:o,x1:o,y0:0,y1:s}:a==="top-right"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:o,x1:r,y0:s,y1:s}):a==="right"?n={x0:o,x1:r,y0:s,y1:s}:a==="bottom-right"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:o,x1:r,y0:s,y1:s}):a==="bottom"?t={x0:o,x1:o,y0:s,y1:i}:a==="bottom-left"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:0,x1:o,y0:s,y1:s}):a==="left"?n={x0:0,x1:o,y0:s,y1:s}:a==="x"?t={x0:o,x1:o,y0:0,y1:i}:a==="y"&&(n={x0:0,x1:r,y0:s,y1:s}),R.jsxs(R.Fragment,{children:[t&&R.jsx(cc,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&R.jsx(cc,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});Bx.displayName="Crosshair";var r0=_.createContext({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),uc={isVisible:!1,position:[null,null],content:null,anchor:null},i0=_.createContext(uc),qx=function(e){var t=_.useState(uc),n=t[0],r=t[1],i=_.useCallback(function(s,c,u){var f=c[0],l=c[1];u===void 0&&(u="top"),r({isVisible:!0,position:[f,l],anchor:u,content:s})},[r]),a=_.useCallback(function(s,c,u){u===void 0&&(u="top");var f=e.current.getBoundingClientRect(),l=e.current.offsetWidth,d=l===f.width?1:l/f.width,b="touches"in c?c.touches[0]:c,h=b.clientX,m=b.clientY,p=(h-f.left)*d,x=(m-f.top)*d;u!=="left"&&u!=="right"||(u=p<f.width/2?"right":"left"),r({isVisible:!0,position:[p,x],anchor:u,content:s})},[e,r]),o=_.useCallback(function(){r(uc)},[r]);return{actions:_.useMemo(function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:o}},[i,a,o]),state:n}},Wx=function(){var e=_.useContext(r0);if(e===void 0)throw new Error("useTooltip must be used within a TooltipProvider");return e},Hx=function(){var e=_.useContext(i0);if(e===void 0)throw new Error("useTooltipState must be used within a TooltipProvider");return e},Vx=function(e){return e.isVisible},Yx=function(){var e=Hx();return Vx(e)?R.jsx(n0,{position:e.position,anchor:e.anchor,children:e.content}):null},Gx=function(e){var t=e.container,n=e.children,r=qx(t),i=r.actions,a=r.state;return R.jsx(r0.Provider,{value:i,children:R.jsx(i0.Provider,{value:a,children:n})})};function Kx(){this.__data__=[],this.size=0}var Xx=Kx;function Jx(e,t){return e===t||e!==e&&t!==t}var vi=Jx,Qx=vi;function Zx(e,t){for(var n=e.length;n--;)if(Qx(e[n][0],t))return n;return-1}var Ja=Zx,ew=Ja,tw=Array.prototype,nw=tw.splice;function rw(e){var t=this.__data__,n=ew(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():nw.call(t,n,1),--this.size,!0}var iw=rw,aw=Ja;function ow(e){var t=this.__data__,n=aw(t,e);return n<0?void 0:t[n][1]}var sw=ow,cw=Ja;function uw(e){return cw(this.__data__,e)>-1}var fw=uw,lw=Ja;function dw(e,t){var n=this.__data__,r=lw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var hw=dw,pw=Xx,bw=iw,mw=sw,gw=fw,vw=hw;function ar(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])}}ar.prototype.clear=pw;ar.prototype.delete=bw;ar.prototype.get=mw;ar.prototype.has=gw;ar.prototype.set=vw;var Qa=ar,yw=Qa;function _w(){this.__data__=new yw,this.size=0}var xw=_w;function ww(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Ow=ww;function Ew(e){return this.__data__.get(e)}var Tw=Ew;function Cw(e){return this.__data__.has(e)}var Rw=Cw,Sw=typeof $i=="object"&&$i&&$i.Object===Object&&$i,a0=Sw,Aw=a0,$w=typeof self=="object"&&self&&self.Object===Object&&self,Mw=Aw||$w||Function("return this")(),Ot=Mw,kw=Ot,Pw=kw.Symbol,yi=Pw,dl=yi,o0=Object.prototype,jw=o0.hasOwnProperty,Lw=o0.toString,Ar=dl?dl.toStringTag:void 0;function Iw(e){var t=jw.call(e,Ar),n=e[Ar];try{e[Ar]=void 0;var r=!0}catch{}var i=Lw.call(e);return r&&(t?e[Ar]=n:delete e[Ar]),i}var Dw=Iw,Nw=Object.prototype,Fw=Nw.toString;function Uw(e){return Fw.call(e)}var zw=Uw,hl=yi,Bw=Dw,qw=zw,Ww="[object Null]",Hw="[object Undefined]",pl=hl?hl.toStringTag:void 0;function Vw(e){return e==null?e===void 0?Hw:Ww:pl&&pl in Object(e)?Bw(e):qw(e)}var An=Vw;function Yw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nn=Yw,Gw=An,Kw=nn,Xw="[object AsyncFunction]",Jw="[object Function]",Qw="[object GeneratorFunction]",Zw="[object Proxy]";function e4(e){if(!Kw(e))return!1;var t=Gw(e);return t==Jw||t==Qw||t==Xw||t==Zw}var Za=e4;const s0=Ke(Za);var t4=Ot,n4=t4["__core-js_shared__"],r4=n4,ps=r4,bl=function(){var e=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function i4(e){return!!bl&&bl in e}var a4=i4,o4=Function.prototype,s4=o4.toString;function c4(e){if(e!=null){try{return s4.call(e)}catch{}try{return e+""}catch{}}return""}var c0=c4,u4=Za,f4=a4,l4=nn,d4=c0,h4=/[\\^$.*+?()[\]{}|]/g,p4=/^\[object .+?Constructor\]$/,b4=Function.prototype,m4=Object.prototype,g4=b4.toString,v4=m4.hasOwnProperty,y4=RegExp("^"+g4.call(v4).replace(h4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _4(e){if(!l4(e)||f4(e))return!1;var t=u4(e)?y4:p4;return t.test(d4(e))}var x4=_4;function w4(e,t){return e==null?void 0:e[t]}var O4=w4,E4=x4,T4=O4;function C4(e,t){var n=T4(e,t);return E4(n)?n:void 0}var $n=C4,R4=$n,S4=Ot,A4=R4(S4,"Map"),hu=A4,$4=$n,M4=$4(Object,"create"),eo=M4,ml=eo;function k4(){this.__data__=ml?ml(null):{},this.size=0}var P4=k4;function j4(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var L4=j4,I4=eo,D4="__lodash_hash_undefined__",N4=Object.prototype,F4=N4.hasOwnProperty;function U4(e){var t=this.__data__;if(I4){var n=t[e];return n===D4?void 0:n}return F4.call(t,e)?t[e]:void 0}var z4=U4,B4=eo,q4=Object.prototype,W4=q4.hasOwnProperty;function H4(e){var t=this.__data__;return B4?t[e]!==void 0:W4.call(t,e)}var V4=H4,Y4=eo,G4="__lodash_hash_undefined__";function K4(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Y4&&t===void 0?G4:t,this}var X4=K4,J4=P4,Q4=L4,Z4=z4,e3=V4,t3=X4;function or(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])}}or.prototype.clear=J4;or.prototype.delete=Q4;or.prototype.get=Z4;or.prototype.has=e3;or.prototype.set=t3;var n3=or,gl=n3,r3=Qa,i3=hu;function a3(){this.size=0,this.__data__={hash:new gl,map:new(i3||r3),string:new gl}}var o3=a3;function s3(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var c3=s3,u3=c3;function f3(e,t){var n=e.__data__;return u3(t)?n[typeof t=="string"?"string":"hash"]:n.map}var to=f3,l3=to;function d3(e){var t=l3(this,e).delete(e);return this.size-=t?1:0,t}var h3=d3,p3=to;function b3(e){return p3(this,e).get(e)}var m3=b3,g3=to;function v3(e){return g3(this,e).has(e)}var y3=v3,_3=to;function x3(e,t){var n=_3(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var w3=x3,O3=o3,E3=h3,T3=m3,C3=y3,R3=w3;function sr(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])}}sr.prototype.clear=O3;sr.prototype.delete=E3;sr.prototype.get=T3;sr.prototype.has=C3;sr.prototype.set=R3;var pu=sr,S3=Qa,A3=hu,$3=pu,M3=200;function k3(e,t){var n=this.__data__;if(n instanceof S3){var r=n.__data__;if(!A3||r.length<M3-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $3(r)}return n.set(e,t),this.size=n.size,this}var P3=k3,j3=Qa,L3=xw,I3=Ow,D3=Tw,N3=Rw,F3=P3;function cr(e){var t=this.__data__=new j3(e);this.size=t.size}cr.prototype.clear=L3;cr.prototype.delete=I3;cr.prototype.get=D3;cr.prototype.has=N3;cr.prototype.set=F3;var u0=cr,U3=$n,z3=function(){try{var e=U3(Object,"defineProperty");return e({},"",{}),e}catch{}}(),f0=z3,vl=f0;function B3(e,t,n){t=="__proto__"&&vl?vl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var bu=B3,q3=bu,W3=vi;function H3(e,t,n){(n!==void 0&&!W3(e[t],n)||n===void 0&&!(t in e))&&q3(e,t,n)}var l0=H3;function V3(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Y3=V3,G3=Y3,K3=G3(),X3=K3,ya={exports:{}};ya.exports;(function(e,t){var n=Ot,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;function c(u,f){if(f)return u.slice();var l=u.length,d=s?s(l):new u.constructor(l);return u.copy(d),d}e.exports=c})(ya,ya.exports);var J3=ya.exports,Q3=Ot,Z3=Q3.Uint8Array,d0=Z3,yl=d0;function e5(e){var t=new e.constructor(e.byteLength);return new yl(t).set(new yl(e)),t}var t5=e5,n5=t5;function r5(e,t){var n=t?n5(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var i5=r5;function a5(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var o5=a5,s5=nn,_l=Object.create,c5=function(){function e(){}return function(t){if(!s5(t))return{};if(_l)return _l(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),u5=c5;function f5(e,t){return function(n){return e(t(n))}}var h0=f5,l5=h0,d5=l5(Object.getPrototypeOf,Object),p0=d5,h5=Object.prototype;function p5(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||h5;return e===n}var mu=p5,b5=u5,m5=p0,g5=mu;function v5(e){return typeof e.constructor=="function"&&!g5(e)?b5(m5(e)):{}}var y5=v5;function _5(e){return e!=null&&typeof e=="object"}var rn=_5,x5=An,w5=rn,O5="[object Arguments]";function E5(e){return w5(e)&&x5(e)==O5}var T5=E5,xl=T5,C5=rn,b0=Object.prototype,R5=b0.hasOwnProperty,S5=b0.propertyIsEnumerable,A5=xl(function(){return arguments}())?xl:function(e){return C5(e)&&R5.call(e,"callee")&&!S5.call(e,"callee")},no=A5,$5=Array.isArray,Et=$5,M5=9007199254740991;function k5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=M5}var gu=k5,P5=Za,j5=gu;function L5(e){return e!=null&&j5(e.length)&&!P5(e)}var ro=L5,I5=ro,D5=rn;function N5(e){return D5(e)&&I5(e)}var m0=N5,_a={exports:{}};function F5(){return!1}var U5=F5;_a.exports;(function(e,t){var n=Ot,r=U5,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?n.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||r;e.exports=u})(_a,_a.exports);var vu=_a.exports,z5=An,B5=p0,q5=rn,W5="[object Object]",H5=Function.prototype,V5=Object.prototype,g0=H5.toString,Y5=V5.hasOwnProperty,G5=g0.call(Object);function K5(e){if(!q5(e)||z5(e)!=W5)return!1;var t=B5(e);if(t===null)return!0;var n=Y5.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&g0.call(n)==G5}var v0=K5;const yu=Ke(v0);var X5=An,J5=gu,Q5=rn,Z5="[object Arguments]",e6="[object Array]",t6="[object Boolean]",n6="[object Date]",r6="[object Error]",i6="[object Function]",a6="[object Map]",o6="[object Number]",s6="[object Object]",c6="[object RegExp]",u6="[object Set]",f6="[object String]",l6="[object WeakMap]",d6="[object ArrayBuffer]",h6="[object DataView]",p6="[object Float32Array]",b6="[object Float64Array]",m6="[object Int8Array]",g6="[object Int16Array]",v6="[object Int32Array]",y6="[object Uint8Array]",_6="[object Uint8ClampedArray]",x6="[object Uint16Array]",w6="[object Uint32Array]",Re={};Re[p6]=Re[b6]=Re[m6]=Re[g6]=Re[v6]=Re[y6]=Re[_6]=Re[x6]=Re[w6]=!0;Re[Z5]=Re[e6]=Re[d6]=Re[t6]=Re[h6]=Re[n6]=Re[r6]=Re[i6]=Re[a6]=Re[o6]=Re[s6]=Re[c6]=Re[u6]=Re[f6]=Re[l6]=!1;function O6(e){return Q5(e)&&J5(e.length)&&!!Re[X5(e)]}var E6=O6;function T6(e){return function(t){return e(t)}}var y0=T6,xa={exports:{}};xa.exports;(function(e,t){var n=a0,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a&&n.process,s=function(){try{var c=i&&i.require&&i.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(xa,xa.exports);var C6=xa.exports,R6=E6,S6=y0,wl=C6,Ol=wl&&wl.isTypedArray,A6=Ol?S6(Ol):R6,_u=A6;function $6(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var _0=$6,M6=bu,k6=vi,P6=Object.prototype,j6=P6.hasOwnProperty;function L6(e,t,n){var r=e[t];(!(j6.call(e,t)&&k6(r,n))||n===void 0&&!(t in e))&&M6(e,t,n)}var x0=L6,I6=x0,D6=bu;function N6(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?D6(n,s,c):I6(n,s,c)}return n}var F6=N6;function U6(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var z6=U6,B6=9007199254740991,q6=/^(?:0|[1-9]\d*)$/;function W6(e,t){var n=typeof e;return t=t??B6,!!t&&(n=="number"||n!="symbol"&&q6.test(e))&&e>-1&&e%1==0&&e<t}var io=W6,H6=z6,V6=no,Y6=Et,G6=vu,K6=io,X6=_u,J6=Object.prototype,Q6=J6.hasOwnProperty;function Z6(e,t){var n=Y6(e),r=!n&&V6(e),i=!n&&!r&&G6(e),a=!n&&!r&&!i&&X6(e),o=n||r||i||a,s=o?H6(e.length,String):[],c=s.length;for(var u in e)(t||Q6.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||K6(u,c)))&&s.push(u);return s}var w0=Z6;function e8(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var t8=e8,n8=nn,r8=mu,i8=t8,a8=Object.prototype,o8=a8.hasOwnProperty;function s8(e){if(!n8(e))return i8(e);var t=r8(e),n=[];for(var r in e)r=="constructor"&&(t||!o8.call(e,r))||n.push(r);return n}var c8=s8,u8=w0,f8=c8,l8=ro;function d8(e){return l8(e)?u8(e,!0):f8(e)}var O0=d8,h8=F6,p8=O0;function b8(e){return h8(e,p8(e))}var m8=b8,El=l0,g8=J3,v8=i5,y8=o5,_8=y5,Tl=no,Cl=Et,x8=m0,w8=vu,O8=Za,E8=nn,T8=v0,C8=_u,Rl=_0,R8=m8;function S8(e,t,n,r,i,a,o){var s=Rl(e,n),c=Rl(t,n),u=o.get(c);if(u){El(e,n,u);return}var f=a?a(s,c,n+"",e,t,o):void 0,l=f===void 0;if(l){var d=Cl(c),b=!d&&w8(c),h=!d&&!b&&C8(c);f=c,d||b||h?Cl(s)?f=s:x8(s)?f=y8(s):b?(l=!1,f=g8(c,!0)):h?(l=!1,f=v8(c,!0)):f=[]:T8(c)||Tl(c)?(f=s,Tl(s)?f=R8(s):(!E8(s)||O8(s))&&(f=_8(c))):l=!1}l&&(o.set(c,f),i(f,c,r,a,o),o.delete(c)),El(e,n,f)}var A8=S8,$8=u0,M8=l0,k8=X3,P8=A8,j8=nn,L8=O0,I8=_0;function E0(e,t,n,r,i){e!==t&&k8(t,function(a,o){if(i||(i=new $8),j8(a))P8(e,t,o,n,E0,r,i);else{var s=r?r(I8(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),M8(e,o,s)}},L8)}var D8=E0;function N8(e){return e}var T0=N8;function F8(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 U8=F8,z8=U8,Sl=Math.max;function B8(e,t,n){return t=Sl(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Sl(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),z8(e,this,s)}}var C0=B8;function q8(e){return function(){return e}}var W8=q8,H8=W8,Al=f0,V8=T0,Y8=Al?function(e,t){return Al(e,"toString",{configurable:!0,enumerable:!1,value:H8(t),writable:!0})}:V8,G8=Y8,K8=800,X8=16,J8=Date.now;function Q8(e){var t=0,n=0;return function(){var r=J8(),i=X8-(r-n);if(n=r,i>0){if(++t>=K8)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Z8=Q8,e7=G8,t7=Z8,n7=t7(e7),R0=n7,r7=T0,i7=C0,a7=R0;function o7(e,t){return a7(i7(e,t,r7),e+"")}var S0=o7,s7=vi,c7=ro,u7=io,f7=nn;function l7(e,t,n){if(!f7(n))return!1;var r=typeof t;return(r=="number"?c7(n)&&u7(t,n.length):r=="string"&&t in n)?s7(n[t],e):!1}var d7=l7,h7=S0,p7=d7;function b7(e){return h7(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&p7(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var m7=b7,g7=D8,v7=m7,y7=v7(function(e,t,n){g7(e,t,n)}),_7=y7;const x7=Ke(_7);var w7=An,O7=rn,E7="[object Symbol]";function T7(e){return typeof e=="symbol"||O7(e)&&w7(e)==E7}var xu=T7,C7=Et,R7=xu,S7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,A7=/^\w*$/;function $7(e,t){if(C7(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||R7(e)?!0:A7.test(e)||!S7.test(e)||t!=null&&e in Object(t)}var M7=$7,A0=pu,k7="Expected a function";function wu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(k7);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(wu.Cache||A0),n}wu.Cache=A0;var P7=wu,j7=P7,L7=500;function I7(e){var t=j7(e,function(r){return n.size===L7&&n.clear(),r}),n=t.cache;return t}var D7=I7,N7=D7,F7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U7=/\\(\\)?/g,z7=N7(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(F7,function(n,r,i,a){t.push(i?a.replace(U7,"$1"):r||n)}),t}),B7=z7;function q7(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var $0=q7,$l=yi,W7=$0,H7=Et,V7=xu,Y7=1/0,Ml=$l?$l.prototype:void 0,kl=Ml?Ml.toString:void 0;function M0(e){if(typeof e=="string")return e;if(H7(e))return W7(e,M0)+"";if(V7(e))return kl?kl.call(e):"";var t=e+"";return t=="0"&&1/e==-Y7?"-0":t}var G7=M0,K7=G7;function X7(e){return e==null?"":K7(e)}var J7=X7,Q7=Et,Z7=M7,e9=B7,t9=J7;function n9(e,t){return Q7(e)?e:Z7(e,t)?[e]:e9(t9(e))}var ao=n9,r9=xu,i9=1/0;function a9(e){if(typeof e=="string"||r9(e))return e;var t=e+"";return t=="0"&&1/e==-i9?"-0":t}var Ou=a9,o9=ao,s9=Ou;function c9(e,t){t=o9(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[s9(t[n++])];return n&&n==r?e:void 0}var k0=c9,u9=k0;function f9(e,t,n){var r=e==null?void 0:u9(e,t);return r===void 0?n:r}var l9=f9;const Pt=Ke(l9);var d9=x0,h9=ao,p9=io,Pl=nn,b9=Ou;function m9(e,t,n,r){if(!Pl(e))return e;t=h9(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var c=b9(t[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=o){var f=s[c];u=r?r(f,c,s):void 0,u===void 0&&(u=Pl(f)?f:p9(t[i+1])?[]:{})}d9(s,c,u),s=s[c]}return e}var P0=m9,g9=P0;function v9(e,t,n){return e==null?e:g9(e,t,n)}var y9=v9;const Nr=Ke(y9);function oo(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Eu(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ur(){}var Tn=.7,Qn=1/Tn,Wn="\\s*([+-]?\\d+)\\s*",ii="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_t="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_9=/^#([0-9a-f]{3,8})$/,x9=new RegExp(`^rgb\\(${Wn},${Wn},${Wn}\\)$`),w9=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),O9=new RegExp(`^rgba\\(${Wn},${Wn},${Wn},${ii}\\)$`),E9=new RegExp(`^rgba\\(${_t},${_t},${_t},${ii}\\)$`),T9=new RegExp(`^hsl\\(${ii},${_t},${_t}\\)$`),C9=new RegExp(`^hsla\\(${ii},${_t},${_t},${ii}\\)$`),jl={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};oo(ur,Tu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ll,formatHex:Ll,formatHex8:R9,formatHsl:S9,formatRgb:Il,toString:Il});function Ll(){return this.rgb().formatHex()}function R9(){return this.rgb().formatHex8()}function S9(){return L0(this).formatHsl()}function Il(){return this.rgb().formatRgb()}function Tu(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=_9.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Dl(t):n===3?new ze(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Fi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Fi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=x9.exec(e))?new ze(t[1],t[2],t[3],1):(t=w9.exec(e))?new ze(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=O9.exec(e))?Fi(t[1],t[2],t[3],t[4]):(t=E9.exec(e))?Fi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=T9.exec(e))?Ul(t[1],t[2]/100,t[3]/100,1):(t=C9.exec(e))?Ul(t[1],t[2]/100,t[3]/100,t[4]):jl.hasOwnProperty(e)?Dl(jl[e]):e==="transparent"?new ze(NaN,NaN,NaN,0):null}function Dl(e){return new ze(e>>16&255,e>>8&255,e&255,1)}function Fi(e,t,n,r){return r<=0&&(e=t=n=NaN),new ze(e,t,n,r)}function j0(e){return e instanceof ur||(e=Tu(e)),e?(e=e.rgb(),new ze(e.r,e.g,e.b,e.opacity)):new ze}function Zn(e,t,n,r){return arguments.length===1?j0(e):new ze(e,t,n,r??1)}function ze(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}oo(ze,Zn,Eu(ur,{brighter(e){return e=e==null?Qn:Math.pow(Qn,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ze(vn(this.r),vn(this.g),vn(this.b),wa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Nl,formatHex:Nl,formatHex8:A9,formatRgb:Fl,toString:Fl}));function Nl(){return`#${pn(this.r)}${pn(this.g)}${pn(this.b)}`}function A9(){return`#${pn(this.r)}${pn(this.g)}${pn(this.b)}${pn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Fl(){const e=wa(this.opacity);return`${e===1?"rgb(":"rgba("}${vn(this.r)}, ${vn(this.g)}, ${vn(this.b)}${e===1?")":`, ${e})`}`}function wa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function vn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function pn(e){return e=vn(e),(e<16?"0":"")+e.toString(16)}function Ul(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ft(e,t,n,r)}function L0(e){if(e instanceof ft)return new ft(e.h,e.s,e.l,e.opacity);if(e instanceof ur||(e=Tu(e)),!e)return new ft;if(e instanceof ft)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(t===a?o=(n-r)/s+(n<r)*6:n===a?o=(r-t)/s+2:o=(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new ft(o,s,c,e.opacity)}function $9(e,t,n,r){return arguments.length===1?L0(e):new ft(e,t,n,r??1)}function ft(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}oo(ft,$9,Eu(ur,{brighter(e){return e=e==null?Qn:Math.pow(Qn,e),new ft(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new ft(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ze(bs(e>=240?e-240:e+120,i,r),bs(e,i,r),bs(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new ft(zl(this.h),Ui(this.s),Ui(this.l),wa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=wa(this.opacity);return`${e===1?"hsl(":"hsla("}${zl(this.h)}, ${Ui(this.s)*100}%, ${Ui(this.l)*100}%${e===1?")":`, ${e})`}`}}));function zl(e){return e=(e||0)%360,e<0?e+360:e}function Ui(e){return Math.max(0,Math.min(1,e||0))}function bs(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const M9=Math.PI/180,k9=180/Math.PI;var I0=-.14861,Cu=1.78277,Ru=-.29227,so=-.90649,ai=1.97294,Bl=ai*so,ql=ai*Cu,Wl=Cu*Ru-so*I0;function P9(e){if(e instanceof yn)return new yn(e.h,e.s,e.l,e.opacity);e instanceof ze||(e=j0(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Wl*r+Bl*t-ql*n)/(Wl+Bl-ql),a=r-i,o=(ai*(n-i)-Ru*a)/so,s=Math.sqrt(o*o+a*a)/(ai*i*(1-i)),c=s?Math.atan2(o,a)*k9-120:NaN;return new yn(c<0?c+360:c,s,i,e.opacity)}function wt(e,t,n,r){return arguments.length===1?P9(e):new yn(e,t,n,r??1)}function yn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}oo(yn,wt,Eu(ur,{brighter(e){return e=e==null?Qn:Math.pow(Qn,e),new yn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new yn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*M9,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new ze(255*(t+n*(I0*r+Cu*i)),255*(t+n*(Ru*r+so*i)),255*(t+n*(ai*r)),this.opacity)}}));function j9(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}function L9(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return j9((n-r/t)*t,o,i,a,s)}}const Su=e=>()=>e;function D0(e,t){return function(n){return e+n*t}}function I9(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function D9(e,t){var n=t-e;return n?D0(e,n>180||n<-180?n-360*Math.round(n/360):n):Su(isNaN(e)?t:e)}function N9(e){return(e=+e)==1?Hn:function(t,n){return n-t?I9(t,n,e):Su(isNaN(t)?n:t)}}function Hn(e,t){var n=t-e;return n?D0(e,n):Su(isNaN(e)?t:e)}(function e(t){var n=N9(t);function r(i,a){var o=n((i=Zn(i)).r,(a=Zn(a)).r),s=n(i.g,a.g),c=n(i.b,a.b),u=Hn(i.opacity,a.opacity);return function(f){return i.r=o(f),i.g=s(f),i.b=c(f),i.opacity=u(f),i+""}}return r.gamma=e,r})(1);function F9(e){return function(t){var n=t.length,r=new Array(n),i=new Array(n),a=new Array(n),o,s;for(o=0;o<n;++o)s=Zn(t[o]),r[o]=s.r||0,i[o]=s.g||0,a[o]=s.b||0;return r=e(r),i=e(i),a=e(a),s.opacity=1,function(c){return s.r=r(c),s.g=i(c),s.b=a(c),s+""}}}var U9=F9(L9);function N0(e){return function t(n){n=+n;function r(i,a){var o=e((i=wt(i)).h,(a=wt(a)).h),s=Hn(i.s,a.s),c=Hn(i.l,a.l),u=Hn(i.opacity,a.opacity);return function(f){return i.h=o(f),i.s=s(f),i.l=c(Math.pow(f,n)),i.opacity=u(f),i+""}}return r.gamma=t,r}(1)}N0(D9);var Au=N0(Hn),z9=An,B9=Et,q9=rn,W9="[object String]";function H9(e){return typeof e=="string"||!B9(e)&&q9(e)&&z9(e)==W9}var V9=H9;const Y9=Ke(V9);function G9(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var K9=G9;const ie=Ke(K9);class Hl extends Map{constructor(t,n=Q9){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(Vl(this,t))}has(t){return super.has(Vl(this,t))}set(t,n){return super.set(X9(this,t),n)}delete(t){return super.delete(J9(this,t))}}function Vl({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function X9({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function J9({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Q9(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Z9(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const Yl=Symbol("implicit");function Un(){var e=new Hl,t=[],n=[],r=Yl;function i(a){let o=e.get(a);if(o===void 0){if(r!==Yl)return r;e.set(a,o=t.push(a)-1)}return n[o%n.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new Hl;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(n=Array.from(a),i):n.slice()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return Un(t,n).unknown(r)},Z9.apply(i,arguments),i}function eO(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Oa(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function tO(e){return e=Oa(Math.abs(e)),e?e[1]:NaN}function nO(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function rO(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var iO=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fc(e){if(!(t=iO.exec(e)))throw new Error("invalid format: "+e);var t;return new $u({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}fc.prototype=$u.prototype;function $u(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}$u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function aO(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var F0;function oO(e,t){var n=Oa(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(F0=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Oa(e,Math.max(0,t+a-1))[0]}function Gl(e,t){var n=Oa(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Kl={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:eO,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Gl(e*100,t)},r:Gl,s:oO,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Xl(e){return e}var Jl=Array.prototype.map,Ql=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function sO(e){var t=e.grouping===void 0||e.thousands===void 0?Xl:nO(Jl.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Xl:rO(Jl.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"-":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function u(l){l=fc(l);var d=l.fill,b=l.align,h=l.sign,m=l.symbol,p=l.zero,x=l.width,y=l.comma,v=l.precision,E=l.trim,g=l.type;g==="n"?(y=!0,g="g"):Kl[g]||(v===void 0&&(v=12),E=!0,g="g"),(p||d==="0"&&b==="=")&&(p=!0,d="0",b="=");var C=m==="$"?n:m==="#"&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",P=m==="$"?r:/[%p]/.test(g)?o:"",F=Kl[g],B=/[defgprs%]/.test(g);v=v===void 0?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function j(L){var Z=C,M=P,S,I,q;if(g==="c")M=F(L)+M,L="";else{L=+L;var H=L<0||1/L<0;if(L=isNaN(L)?c:F(Math.abs(L),v),E&&(L=aO(L)),H&&+L==0&&h!=="+"&&(H=!1),Z=(H?h==="("?h:s:h==="-"||h==="("?"":h)+Z,M=(g==="s"?Ql[8+F0/3]:"")+M+(H&&h==="("?")":""),B){for(S=-1,I=L.length;++S<I;)if(q=L.charCodeAt(S),48>q||q>57){M=(q===46?i+L.slice(S+1):L.slice(S))+M,L=L.slice(0,S);break}}}y&&!p&&(L=t(L,1/0));var ne=Z.length+L.length+M.length,V=ne<x?new Array(x-ne+1).join(d):"";switch(y&&p&&(L=t(V+L,V.length?x-M.length:1/0),V=""),b){case"<":L=Z+L+M+V;break;case"=":L=Z+V+L+M;break;case"^":L=V.slice(0,ne=V.length>>1)+Z+L+M+V.slice(ne);break;default:L=V+Z+L+M;break}return a(L)}return j.toString=function(){return l+""},j}function f(l,d){var b=u((l=fc(l),l.type="f",l)),h=Math.max(-8,Math.min(8,Math.floor(tO(d)/3)))*3,m=Math.pow(10,-h),p=Ql[8+h/3];return function(x){return b(m*x)+p}}return{format:u,formatPrefix:f}}var zi,U0;cO({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function cO(e){return zi=sO(e),U0=zi.format,zi.formatPrefix,zi}var ms=new Date,gs=new Date;function Lt(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,s){var c=[],u;if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return c;do c.push(u=new Date(+a)),t(a,s),e(a);while(u<a&&a<o);return c},i.filter=function(a){return Lt(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););})},n&&(i.count=function(a,o){return ms.setTime(+a),gs.setTime(+o),e(ms),e(gs),Math.floor(n(ms,gs))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?function(o){return r(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}const uO=1e3,Mu=uO*60,fO=Mu*60,ku=fO*24,z0=ku*7;var Pu=Lt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Mu)/ku,e=>e.getDate()-1);Pu.range;function Mn(e){return Lt(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n*7)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Mu)/z0})}var B0=Mn(0),Ea=Mn(1),lO=Mn(2),dO=Mn(3),er=Mn(4),hO=Mn(5),pO=Mn(6);B0.range;Ea.range;lO.range;dO.range;er.range;hO.range;pO.range;var Cn=Lt(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Cn.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Lt(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})};Cn.range;var ju=Lt(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/ku},function(e){return e.getUTCDate()-1});ju.range;function kn(e){return Lt(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n*7)},function(t,n){return(n-t)/z0})}var q0=kn(0),Ta=kn(1),bO=kn(2),mO=kn(3),tr=kn(4),gO=kn(5),vO=kn(6);q0.range;Ta.range;bO.range;mO.range;tr.range;gO.range;vO.range;var Rn=Lt(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});Rn.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Lt(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})};Rn.range;function vs(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ys(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function $r(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function yO(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,u=Mr(i),f=kr(i),l=Mr(a),d=kr(a),b=Mr(o),h=kr(o),m=Mr(s),p=kr(s),x=Mr(c),y=kr(c),v={a:H,A:ne,b:V,B:A,c:null,d:id,e:id,f:BO,g:QO,G:eE,H:FO,I:UO,j:zO,L:W0,m:qO,M:WO,p:U,q:K,Q:sd,s:cd,S:HO,u:VO,U:YO,V:GO,w:KO,W:XO,x:null,X:null,y:JO,Y:ZO,Z:tE,"%":od},E={a:te,A:X,b:Y,B:W,c:null,d:ad,e:ad,f:aE,g:bE,G:gE,H:nE,I:rE,j:iE,L:V0,m:oE,M:sE,p:G,q:J,Q:sd,s:cd,S:cE,u:uE,U:fE,V:lE,w:dE,W:hE,x:null,X:null,y:pE,Y:mE,Z:vE,"%":od},g={a:j,A:L,b:Z,B:M,c:S,d:nd,e:nd,f:LO,g:td,G:ed,H:rd,I:rd,j:MO,L:jO,m:$O,M:kO,p:B,q:AO,Q:DO,s:NO,S:PO,u:EO,U:TO,V:CO,w:OO,W:RO,x:I,X:q,y:td,Y:ed,Z:SO,"%":IO};v.x=C(n,v),v.X=C(r,v),v.c=C(t,v),E.x=C(n,E),E.X=C(r,E),E.c=C(t,E);function C(k,z){return function(ee){var w=[],he=-1,se=0,ge=k.length,Te,Ie,at;for(ee instanceof Date||(ee=new Date(+ee));++he<ge;)k.charCodeAt(he)===37&&(w.push(k.slice(se,he)),(Ie=Zl[Te=k.charAt(++he)])!=null?Te=k.charAt(++he):Ie=Te==="e"?" ":"0",(at=z[Te])&&(Te=at(ee,Ie)),w.push(Te),se=he+1);return w.push(k.slice(se,he)),w.join("")}}function P(k,z){return function(ee){var w=$r(1900,void 0,1),he=F(w,k,ee+="",0),se,ge;if(he!=ee.length)return null;if("Q"in w)return new Date(w.Q);if("s"in w)return new Date(w.s*1e3+("L"in w?w.L:0));if(z&&!("Z"in w)&&(w.Z=0),"p"in w&&(w.H=w.H%12+w.p*12),w.m===void 0&&(w.m="q"in w?w.q:0),"V"in w){if(w.V<1||w.V>53)return null;"w"in w||(w.w=1),"Z"in w?(se=ys($r(w.y,0,1)),ge=se.getUTCDay(),se=ge>4||ge===0?Ta.ceil(se):Ta(se),se=ju.offset(se,(w.V-1)*7),w.y=se.getUTCFullYear(),w.m=se.getUTCMonth(),w.d=se.getUTCDate()+(w.w+6)%7):(se=vs($r(w.y,0,1)),ge=se.getDay(),se=ge>4||ge===0?Ea.ceil(se):Ea(se),se=Pu.offset(se,(w.V-1)*7),w.y=se.getFullYear(),w.m=se.getMonth(),w.d=se.getDate()+(w.w+6)%7)}else("W"in w||"U"in w)&&("w"in w||(w.w="u"in w?w.u%7:"W"in w?1:0),ge="Z"in w?ys($r(w.y,0,1)).getUTCDay():vs($r(w.y,0,1)).getDay(),w.m=0,w.d="W"in w?(w.w+6)%7+w.W*7-(ge+5)%7:w.w+w.U*7-(ge+6)%7);return"Z"in w?(w.H+=w.Z/100|0,w.M+=w.Z%100,ys(w)):vs(w)}}function F(k,z,ee,w){for(var he=0,se=z.length,ge=ee.length,Te,Ie;he<se;){if(w>=ge)return-1;if(Te=z.charCodeAt(he++),Te===37){if(Te=z.charAt(he++),Ie=g[Te in Zl?z.charAt(he++):Te],!Ie||(w=Ie(k,ee,w))<0)return-1}else if(Te!=ee.charCodeAt(w++))return-1}return w}function B(k,z,ee){var w=u.exec(z.slice(ee));return w?(k.p=f.get(w[0].toLowerCase()),ee+w[0].length):-1}function j(k,z,ee){var w=b.exec(z.slice(ee));return w?(k.w=h.get(w[0].toLowerCase()),ee+w[0].length):-1}function L(k,z,ee){var w=l.exec(z.slice(ee));return w?(k.w=d.get(w[0].toLowerCase()),ee+w[0].length):-1}function Z(k,z,ee){var w=x.exec(z.slice(ee));return w?(k.m=y.get(w[0].toLowerCase()),ee+w[0].length):-1}function M(k,z,ee){var w=m.exec(z.slice(ee));return w?(k.m=p.get(w[0].toLowerCase()),ee+w[0].length):-1}function S(k,z,ee){return F(k,t,z,ee)}function I(k,z,ee){return F(k,n,z,ee)}function q(k,z,ee){return F(k,r,z,ee)}function H(k){return o[k.getDay()]}function ne(k){return a[k.getDay()]}function V(k){return c[k.getMonth()]}function A(k){return s[k.getMonth()]}function U(k){return i[+(k.getHours()>=12)]}function K(k){return 1+~~(k.getMonth()/3)}function te(k){return o[k.getUTCDay()]}function X(k){return a[k.getUTCDay()]}function Y(k){return c[k.getUTCMonth()]}function W(k){return s[k.getUTCMonth()]}function G(k){return i[+(k.getUTCHours()>=12)]}function J(k){return 1+~~(k.getUTCMonth()/3)}return{format:function(k){var z=C(k+="",v);return z.toString=function(){return k},z},parse:function(k){var z=P(k+="",!1);return z.toString=function(){return k},z},utcFormat:function(k){var z=C(k+="",E);return z.toString=function(){return k},z},utcParse:function(k){var z=P(k+="",!0);return z.toString=function(){return k},z}}}var Zl={"-":"",_:" ",0:"0"},De=/^\s*\d+/,_O=/^%/,xO=/[\\^$*+?|[\]().{}]/g;function me(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function wO(e){return e.replace(xO,"\\$&")}function Mr(e){return new RegExp("^(?:"+e.map(wO).join("|")+")","i")}function kr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function OO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function EO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function TO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function CO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function RO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ed(e,t,n){var r=De.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function td(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function SO(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function AO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function $O(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nd(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function MO(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function rd(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function kO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function PO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function jO(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function LO(e,t,n){var r=De.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function IO(e,t,n){var r=_O.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function DO(e,t,n){var r=De.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function NO(e,t,n){var r=De.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function id(e,t){return me(e.getDate(),t,2)}function FO(e,t){return me(e.getHours(),t,2)}function UO(e,t){return me(e.getHours()%12||12,t,2)}function zO(e,t){return me(1+Pu.count(Cn(e),e),t,3)}function W0(e,t){return me(e.getMilliseconds(),t,3)}function BO(e,t){return W0(e,t)+"000"}function qO(e,t){return me(e.getMonth()+1,t,2)}function WO(e,t){return me(e.getMinutes(),t,2)}function HO(e,t){return me(e.getSeconds(),t,2)}function VO(e){var t=e.getDay();return t===0?7:t}function YO(e,t){return me(B0.count(Cn(e)-1,e),t,2)}function H0(e){var t=e.getDay();return t>=4||t===0?er(e):er.ceil(e)}function GO(e,t){return e=H0(e),me(er.count(Cn(e),e)+(Cn(e).getDay()===4),t,2)}function KO(e){return e.getDay()}function XO(e,t){return me(Ea.count(Cn(e)-1,e),t,2)}function JO(e,t){return me(e.getFullYear()%100,t,2)}function QO(e,t){return e=H0(e),me(e.getFullYear()%100,t,2)}function ZO(e,t){return me(e.getFullYear()%1e4,t,4)}function eE(e,t){var n=e.getDay();return e=n>=4||n===0?er(e):er.ceil(e),me(e.getFullYear()%1e4,t,4)}function tE(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+me(t/60|0,"0",2)+me(t%60,"0",2)}function ad(e,t){return me(e.getUTCDate(),t,2)}function nE(e,t){return me(e.getUTCHours(),t,2)}function rE(e,t){return me(e.getUTCHours()%12||12,t,2)}function iE(e,t){return me(1+ju.count(Rn(e),e),t,3)}function V0(e,t){return me(e.getUTCMilliseconds(),t,3)}function aE(e,t){return V0(e,t)+"000"}function oE(e,t){return me(e.getUTCMonth()+1,t,2)}function sE(e,t){return me(e.getUTCMinutes(),t,2)}function cE(e,t){return me(e.getUTCSeconds(),t,2)}function uE(e){var t=e.getUTCDay();return t===0?7:t}function fE(e,t){return me(q0.count(Rn(e)-1,e),t,2)}function Y0(e){var t=e.getUTCDay();return t>=4||t===0?tr(e):tr.ceil(e)}function lE(e,t){return e=Y0(e),me(tr.count(Rn(e),e)+(Rn(e).getUTCDay()===4),t,2)}function dE(e){return e.getUTCDay()}function hE(e,t){return me(Ta.count(Rn(e)-1,e),t,2)}function pE(e,t){return me(e.getUTCFullYear()%100,t,2)}function bE(e,t){return e=Y0(e),me(e.getUTCFullYear()%100,t,2)}function mE(e,t){return me(e.getUTCFullYear()%1e4,t,4)}function gE(e,t){var n=e.getUTCDay();return e=n>=4||n===0?tr(e):tr.ceil(e),me(e.getUTCFullYear()%1e4,t,4)}function vE(){return"+0000"}function od(){return"%"}function sd(e){return+e}function cd(e){return Math.floor(+e/1e3)}var Fn,G0;yE({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function yE(e){return Fn=yO(e),G0=Fn.format,Fn.parse,Fn.utcFormat,Fn.utcParse,Fn}function de(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(r*6,++r*6);return n}const K0=de("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),X0=de("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),J0=de("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Q0=de("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Z0=de("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),eb=de("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),tb=de("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),nb=de("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Lu=de("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),_E=de("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Ee=e=>U9(e[e.length-1]);var co=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(de);const xE=Ee(co);var uo=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(de);const wE=Ee(uo);var fo=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(de);const OE=Ee(fo);var lo=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(de);const EE=Ee(lo);var ho=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(de);const TE=Ee(ho);var po=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(de);const CE=Ee(po);var bo=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(de);const RE=Ee(bo);var mo=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(de);const SE=Ee(mo);var go=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(de);const AE=Ee(go);var vo=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(de);const $E=Ee(vo);var yo=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(de);const ME=Ee(yo);var _o=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(de);const kE=Ee(_o);var xo=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(de);const PE=Ee(xo);var wo=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(de);const jE=Ee(wo);var Oo=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(de);const LE=Ee(Oo);var Eo=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(de);const IE=Ee(Eo);var To=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(de);const DE=Ee(To);var Co=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(de);const NE=Ee(Co);var Ro=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(de);const FE=Ee(Ro);var So=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(de);const UE=Ee(So);var Ao=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(de);const zE=Ee(Ao);var $o=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(de);const BE=Ee($o);var Mo=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(de);const qE=Ee(Mo);var ko=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(de);const WE=Ee(ko);var Po=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(de);const HE=Ee(Po);var jo=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(de);const VE=Ee(jo);var Lo=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(de);const YE=Ee(Lo);function GE(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const KE=Au(wt(300,.5,0),wt(-240,.5,1));var XE=Au(wt(-100,.75,.35),wt(80,1.5,.8)),JE=Au(wt(260,.75,.35),wt(80,1.5,.8)),Bi=wt();function QE(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Bi.h=360*e-100,Bi.s=1.5-1.5*t,Bi.l=.8-.9*t,Bi+""}var qi=Zn(),ZE=Math.PI/3,eT=Math.PI*2/3;function tT(e){var t;return e=(.5-e)*Math.PI,qi.r=255*(t=Math.sin(e))*t,qi.g=255*(t=Math.sin(e+ZE))*t,qi.b=255*(t=Math.sin(e+eT))*t,qi+""}function nT(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function Io(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const rT=Io(de("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var iT=Io(de("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),aT=Io(de("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),oT=Io(de("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),sT="__lodash_hash_undefined__";function cT(e){return this.__data__.set(e,sT),this}var uT=cT;function fT(e){return this.__data__.has(e)}var lT=fT,dT=pu,hT=uT,pT=lT;function Ca(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new dT;++t<n;)this.add(e[t])}Ca.prototype.add=Ca.prototype.push=hT;Ca.prototype.has=pT;var rb=Ca;function bT(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}var mT=bT;function gT(e){return e!==e}var vT=gT;function yT(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var _T=yT,xT=mT,wT=vT,OT=_T;function ET(e,t,n){return t===t?OT(e,t,n):xT(e,wT,n)}var TT=ET,CT=TT;function RT(e,t){var n=e==null?0:e.length;return!!n&&CT(e,t,0)>-1}var ST=RT;function AT(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var $T=AT;function MT(e,t){return e.has(t)}var ib=MT,kT=rb,PT=ST,jT=$T,LT=$0,IT=y0,DT=ib,NT=200;function FT(e,t,n,r){var i=-1,a=PT,o=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=LT(t,IT(n))),r?(a=jT,o=!1):t.length>=NT&&(a=DT,o=!1,t=new kT(t));e:for(;++i<s;){var f=e[i],l=n==null?f:n(f);if(f=r||f!==0?f:0,o&&l===l){for(var d=u;d--;)if(t[d]===l)continue e;c.push(f)}else a(t,l,r)||c.push(f)}return c}var UT=FT,zT=UT,BT=S0,qT=m0,WT=BT(function(e,t){return qT(e)?zT(e,t):[]}),HT=WT;const ab=Ke(HT);function Pe(e){return function(){return e}}const ud=Math.abs,Fe=Math.atan2,cn=Math.cos,VT=Math.max,_s=Math.min,mt=Math.sin,zn=Math.sqrt,Ue=1e-12,oi=Math.PI,Ra=oi/2,ta=2*oi;function YT(e){return e>1?0:e<-1?oi:Math.acos(e)}function fd(e){return e>=1?Ra:e<=-1?-Ra:Math.asin(e)}const lc=Math.PI,dc=2*lc,un=1e-6,GT=dc-un;function ob(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function KT(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return ob;const n=10**t;return function(r){this._+=r[0];for(let i=1,a=r.length;i<a;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class XT{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?ob:KT(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,i){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(t,n,r,i,a,o){this._append`C${+t},${+n},${+r},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,n,r,i,a){if(t=+t,n=+n,r=+r,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,c=r-t,u=i-n,f=o-t,l=s-n,d=f*f+l*l;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(d>un)if(!(Math.abs(l*c-u*f)>un)||!a)this._append`L${this._x1=t},${this._y1=n}`;else{let b=r-o,h=i-s,m=c*c+u*u,p=b*b+h*h,x=Math.sqrt(m),y=Math.sqrt(d),v=a*Math.tan((lc-Math.acos((m+d-p)/(2*x*y)))/2),E=v/y,g=v/x;Math.abs(E-1)>un&&this._append`L${t+E*f},${n+E*l}`,this._append`A${a},${a},0,0,${+(l*b>f*h)},${this._x1=t+g*c},${this._y1=n+g*u}`}}arc(t,n,r,i,a,o){if(t=+t,n=+n,r=+r,o=!!o,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),c=r*Math.sin(i),u=t+s,f=n+c,l=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${u},${f}`:(Math.abs(this._x1-u)>un||Math.abs(this._y1-f)>un)&&this._append`L${u},${f}`,r&&(d<0&&(d=d%dc+dc),d>GT?this._append`A${r},${r},0,1,${l},${t-s},${n-c}A${r},${r},0,1,${l},${this._x1=u},${this._y1=f}`:d>un&&this._append`A${r},${r},0,${+(d>=lc)},${l},${this._x1=t+r*Math.cos(a)},${this._y1=n+r*Math.sin(a)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function sb(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new XT(t)}function JT(e){return e.innerRadius}function QT(e){return e.outerRadius}function ZT(e){return e.startAngle}function eC(e){return e.endAngle}function tC(e){return e&&e.padAngle}function nC(e,t,n,r,i,a,o,s){var c=n-e,u=r-t,f=o-i,l=s-a,d=l*c-f*u;if(!(d*d<Ue))return d=(f*(t-a)-l*(e-i))/d,[e+d*c,t+d*u]}function Wi(e,t,n,r,i,a,o){var s=e-n,c=t-r,u=(o?a:-a)/zn(s*s+c*c),f=u*c,l=-u*s,d=e+f,b=t+l,h=n+f,m=r+l,p=(d+h)/2,x=(b+m)/2,y=h-d,v=m-b,E=y*y+v*v,g=i-a,C=d*m-h*b,P=(v<0?-1:1)*zn(VT(0,g*g*E-C*C)),F=(C*v-y*P)/E,B=(-C*y-v*P)/E,j=(C*v+y*P)/E,L=(-C*y+v*P)/E,Z=F-p,M=B-x,S=j-p,I=L-x;return Z*Z+M*M>S*S+I*I&&(F=j,B=L),{cx:F,cy:B,x01:-f,y01:-l,x11:F*(i/g-1),y11:B*(i/g-1)}}function rC(){var e=JT,t=QT,n=Pe(0),r=null,i=ZT,a=eC,o=tC,s=null,c=sb(u);function u(){var f,l,d=+e.apply(this,arguments),b=+t.apply(this,arguments),h=i.apply(this,arguments)-Ra,m=a.apply(this,arguments)-Ra,p=ud(m-h),x=m>h;if(s||(s=f=c()),b<d&&(l=b,b=d,d=l),!(b>Ue))s.moveTo(0,0);else if(p>ta-Ue)s.moveTo(b*cn(h),b*mt(h)),s.arc(0,0,b,h,m,!x),d>Ue&&(s.moveTo(d*cn(m),d*mt(m)),s.arc(0,0,d,m,h,x));else{var y=h,v=m,E=h,g=m,C=p,P=p,F=o.apply(this,arguments)/2,B=F>Ue&&(r?+r.apply(this,arguments):zn(d*d+b*b)),j=_s(ud(b-d)/2,+n.apply(this,arguments)),L=j,Z=j,M,S;if(B>Ue){var I=fd(B/d*mt(F)),q=fd(B/b*mt(F));(C-=I*2)>Ue?(I*=x?1:-1,E+=I,g-=I):(C=0,E=g=(h+m)/2),(P-=q*2)>Ue?(q*=x?1:-1,y+=q,v-=q):(P=0,y=v=(h+m)/2)}var H=b*cn(y),ne=b*mt(y),V=d*cn(g),A=d*mt(g);if(j>Ue){var U=b*cn(v),K=b*mt(v),te=d*cn(E),X=d*mt(E),Y;if(p<oi)if(Y=nC(H,ne,te,X,U,K,V,A)){var W=H-Y[0],G=ne-Y[1],J=U-Y[0],k=K-Y[1],z=1/mt(YT((W*J+G*k)/(zn(W*W+G*G)*zn(J*J+k*k)))/2),ee=zn(Y[0]*Y[0]+Y[1]*Y[1]);L=_s(j,(d-ee)/(z-1)),Z=_s(j,(b-ee)/(z+1))}else L=Z=0}P>Ue?Z>Ue?(M=Wi(te,X,H,ne,b,Z,x),S=Wi(U,K,V,A,b,Z,x),s.moveTo(M.cx+M.x01,M.cy+M.y01),Z<j?s.arc(M.cx,M.cy,Z,Fe(M.y01,M.x01),Fe(S.y01,S.x01),!x):(s.arc(M.cx,M.cy,Z,Fe(M.y01,M.x01),Fe(M.y11,M.x11),!x),s.arc(0,0,b,Fe(M.cy+M.y11,M.cx+M.x11),Fe(S.cy+S.y11,S.cx+S.x11),!x),s.arc(S.cx,S.cy,Z,Fe(S.y11,S.x11),Fe(S.y01,S.x01),!x))):(s.moveTo(H,ne),s.arc(0,0,b,y,v,!x)):s.moveTo(H,ne),!(d>Ue)||!(C>Ue)?s.lineTo(V,A):L>Ue?(M=Wi(V,A,U,K,d,-L,x),S=Wi(H,ne,te,X,d,-L,x),s.lineTo(M.cx+M.x01,M.cy+M.y01),L<j?s.arc(M.cx,M.cy,L,Fe(M.y01,M.x01),Fe(S.y01,S.x01),!x):(s.arc(M.cx,M.cy,L,Fe(M.y01,M.x01),Fe(M.y11,M.x11),!x),s.arc(0,0,d,Fe(M.cy+M.y11,M.cx+M.x11),Fe(S.cy+S.y11,S.cx+S.x11),x),s.arc(S.cx,S.cy,L,Fe(S.y11,S.x11),Fe(S.y01,S.x01),!x))):s.arc(0,0,d,g,E,x)}if(s.closePath(),f)return s=null,f+""||null}return u.centroid=function(){var f=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,l=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-oi/2;return[cn(l)*f,mt(l)*f]},u.innerRadius=function(f){return arguments.length?(e=typeof f=="function"?f:Pe(+f),u):e},u.outerRadius=function(f){return arguments.length?(t=typeof f=="function"?f:Pe(+f),u):t},u.cornerRadius=function(f){return arguments.length?(n=typeof f=="function"?f:Pe(+f),u):n},u.padRadius=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Pe(+f),u):r},u.startAngle=function(f){return arguments.length?(i=typeof f=="function"?f:Pe(+f),u):i},u.endAngle=function(f){return arguments.length?(a=typeof f=="function"?f:Pe(+f),u):a},u.padAngle=function(f){return arguments.length?(o=typeof f=="function"?f:Pe(+f),u):o},u.context=function(f){return arguments.length?(s=f??null,u):s},u}function cb(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function ub(e){this._context=e}ub.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function fb(e){return new ub(e)}function iC(e){return e[0]}function aC(e){return e[1]}function oC(e,t){var n=Pe(!0),r=null,i=fb,a=null,o=sb(s);e=typeof e=="function"?e:e===void 0?iC:Pe(e),t=typeof t=="function"?t:t===void 0?aC:Pe(t);function s(c){var u,f=(c=cb(c)).length,l,d=!1,b;for(r==null&&(a=i(b=o())),u=0;u<=f;++u)!(u<f&&n(l=c[u],u,c))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(l,u,c),+t(l,u,c));if(b)return a=null,b+""||null}return s.x=function(c){return arguments.length?(e=typeof c=="function"?c:Pe(+c),s):e},s.y=function(c){return arguments.length?(t=typeof c=="function"?c:Pe(+c),s):t},s.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Pe(!!c),s):n},s.curve=function(c){return arguments.length?(i=c,r!=null&&(a=i(r)),s):i},s.context=function(c){return arguments.length?(c==null?r=a=null:a=i(r=c),s):r},s}function sC(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function cC(e){return e}function uC(){var e=cC,t=sC,n=null,r=Pe(0),i=Pe(ta),a=Pe(0);function o(s){var c,u=(s=cb(s)).length,f,l,d=0,b=new Array(u),h=new Array(u),m=+r.apply(this,arguments),p=Math.min(ta,Math.max(-ta,i.apply(this,arguments)-m)),x,y=Math.min(Math.abs(p)/u,a.apply(this,arguments)),v=y*(p<0?-1:1),E;for(c=0;c<u;++c)(E=h[b[c]=c]=+e(s[c],c,s))>0&&(d+=E);for(t!=null?b.sort(function(g,C){return t(h[g],h[C])}):n!=null&&b.sort(function(g,C){return n(s[g],s[C])}),c=0,l=d?(p-u*v)/d:0;c<u;++c,m=x)f=b[c],E=h[f],x=m+(E>0?E*l:0)+v,h[f]={data:s[f],index:c,value:E,startAngle:m,endAngle:x,padAngle:y};return h}return o.value=function(s){return arguments.length?(e=typeof s=="function"?s:Pe(+s),o):e},o.sortValues=function(s){return arguments.length?(t=s,n=null,o):t},o.sort=function(s){return arguments.length?(n=s,t=null,o):n},o.startAngle=function(s){return arguments.length?(r=typeof s=="function"?s:Pe(+s),o):r},o.endAngle=function(s){return arguments.length?(i=typeof s=="function"?s:Pe(+s),o):i},o.padAngle=function(s){return arguments.length?(a=typeof s=="function"?s:Pe(+s),o):a},o}function Jt(){}function Sa(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Do(e){this._context=e}Do.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Sa(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Sa(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function fC(e){return new Do(e)}function lb(e){this._context=e}lb.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Sa(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function lC(e){return new lb(e)}function db(e){this._context=e}db.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Sa(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function dC(e){return new db(e)}function hb(e,t){this._basis=new Do(e),this._beta=t}hb.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const hC=function e(t){function n(r){return t===1?new Do(r):new hb(r,t)}return n.beta=function(r){return e(+r)},n}(.85);function Aa(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Iu(e,t){this._context=e,this._k=(1-t)/6}Iu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Aa(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Aa(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const pC=function e(t){function n(r){return new Iu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Du(e,t){this._context=e,this._k=(1-t)/6}Du.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Aa(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const bC=function e(t){function n(r){return new Du(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Nu(e,t){this._context=e,this._k=(1-t)/6}Nu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Aa(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const mC=function e(t){function n(r){return new Nu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Fu(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>Ue){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Ue){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*u+e._x1*e._l23_2a-t*e._l12_2a)/f,o=(o*u+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function pb(e,t){this._context=e,this._alpha=t}pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Fu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const gC=function e(t){function n(r){return t?new pb(r,t):new Iu(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function bb(e,t){this._context=e,this._alpha=t}bb.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Fu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const vC=function e(t){function n(r){return t?new bb(r,t):new Du(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function mb(e,t){this._context=e,this._alpha=t}mb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const yC=function e(t){function n(r){return t?new mb(r,t):new Nu(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function gb(e){this._context=e}gb.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function _C(e){return new gb(e)}function ld(e){return e<0?-1:1}function dd(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(ld(a)+ld(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function hd(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function xs(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function $a(e){this._context=e}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:xs(this,this._t0,hd(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,xs(this,hd(this,n=dd(this,e,t)),n);break;default:xs(this,this._t0,n=dd(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function vb(e){this._context=new yb(e)}(vb.prototype=Object.create($a.prototype)).point=function(e,t){$a.prototype.point.call(this,t,e)};function yb(e){this._context=e}yb.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function xC(e){return new $a(e)}function wC(e){return new vb(e)}function _b(e){this._context=e}_b.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=pd(e),i=pd(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function pd(e){var t,n=e.length-1,r,i=new Array(n),a=new Array(n),o=new Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function OC(e){return new _b(e)}function No(e,t){this._context=e,this._t=t}No.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function EC(e){return new No(e,.5)}function TC(e){return new No(e,0)}function CC(e){return new No(e,1)}var RC=k0,SC=P0,AC=ao;function $C(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=RC(e,o);n(s,o)&&SC(a,AC(o,e),s)}return a}var MC=$C;function kC(e,t){return e!=null&&t in Object(e)}var PC=kC,jC=ao,LC=no,IC=Et,DC=io,NC=gu,FC=Ou;function UC(e,t,n){t=jC(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=FC(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&NC(i)&&DC(o,i)&&(IC(e)||LC(e)))}var zC=UC,BC=PC,qC=zC;function WC(e,t){return e!=null&&qC(e,t,BC)}var HC=WC,VC=MC,YC=HC;function GC(e,t){return VC(e,t,function(n,r){return YC(e,r)})}var KC=GC;function XC(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var xb=XC,bd=yi,JC=no,QC=Et,md=bd?bd.isConcatSpreadable:void 0;function ZC(e){return QC(e)||JC(e)||!!(md&&e&&e[md])}var eR=ZC,tR=xb,nR=eR;function wb(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=nR),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?wb(s,t-1,n,r,i):tR(i,s):r||(i[i.length]=s)}return i}var rR=wb,iR=rR;function aR(e){var t=e==null?0:e.length;return t?iR(e,1):[]}var oR=aR,sR=oR,cR=C0,uR=R0;function fR(e){return uR(cR(e,void 0,sR),e+"")}var lR=fR,dR=KC,hR=lR,pR=hR(function(e,t){return e==null?{}:dR(e,t)}),bR=pR;const mR=Ke(bR);function gR(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var vR=gR,yR=rb,_R=vR,xR=ib,wR=1,OR=2;function ER(e,t,n,r,i,a){var o=n&wR,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var l=-1,d=!0,b=n&OR?new yR:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var h=e[l],m=t[l];if(r)var p=o?r(m,h,l,t,e,a):r(h,m,l,e,t,a);if(p!==void 0){if(p)continue;d=!1;break}if(b){if(!_R(t,function(x,y){if(!xR(b,y)&&(h===x||i(h,x,n,r,a)))return b.push(y)})){d=!1;break}}else if(!(h===m||i(h,m,n,r,a))){d=!1;break}}return a.delete(e),a.delete(t),d}var Ob=ER;function TR(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var CR=TR;function RR(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var SR=RR,gd=yi,vd=d0,AR=vi,$R=Ob,MR=CR,kR=SR,PR=1,jR=2,LR="[object Boolean]",IR="[object Date]",DR="[object Error]",NR="[object Map]",FR="[object Number]",UR="[object RegExp]",zR="[object Set]",BR="[object String]",qR="[object Symbol]",WR="[object ArrayBuffer]",HR="[object DataView]",yd=gd?gd.prototype:void 0,ws=yd?yd.valueOf:void 0;function VR(e,t,n,r,i,a,o){switch(n){case HR:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case WR:return!(e.byteLength!=t.byteLength||!a(new vd(e),new vd(t)));case LR:case IR:case FR:return AR(+e,+t);case DR:return e.name==t.name&&e.message==t.message;case UR:case BR:return e==t+"";case NR:var s=MR;case zR:var c=r&PR;if(s||(s=kR),e.size!=t.size&&!c)return!1;var u=o.get(e);if(u)return u==t;r|=jR,o.set(e,t);var f=$R(s(e),s(t),r,i,a,o);return o.delete(e),f;case qR:if(ws)return ws.call(e)==ws.call(t)}return!1}var YR=VR,GR=xb,KR=Et;function XR(e,t,n){var r=t(e);return KR(e)?r:GR(r,n(e))}var JR=XR;function QR(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}var ZR=QR;function eS(){return[]}var tS=eS,nS=ZR,rS=tS,iS=Object.prototype,aS=iS.propertyIsEnumerable,_d=Object.getOwnPropertySymbols,oS=_d?function(e){return e==null?[]:(e=Object(e),nS(_d(e),function(t){return aS.call(e,t)}))}:rS,sS=oS,cS=h0,uS=cS(Object.keys,Object),fS=uS,lS=mu,dS=fS,hS=Object.prototype,pS=hS.hasOwnProperty;function bS(e){if(!lS(e))return dS(e);var t=[];for(var n in Object(e))pS.call(e,n)&&n!="constructor"&&t.push(n);return t}var mS=bS,gS=w0,vS=mS,yS=ro;function _S(e){return yS(e)?gS(e):vS(e)}var xS=_S,wS=JR,OS=sS,ES=xS;function TS(e){return wS(e,ES,OS)}var CS=TS,xd=CS,RS=1,SS=Object.prototype,AS=SS.hasOwnProperty;function $S(e,t,n,r,i,a){var o=n&RS,s=xd(e),c=s.length,u=xd(t),f=u.length;if(c!=f&&!o)return!1;for(var l=c;l--;){var d=s[l];if(!(o?d in t:AS.call(t,d)))return!1}var b=a.get(e),h=a.get(t);if(b&&h)return b==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var p=o;++l<c;){d=s[l];var x=e[d],y=t[d];if(r)var v=o?r(y,x,d,t,e,a):r(x,y,d,e,t,a);if(!(v===void 0?x===y||i(x,y,n,r,a):v)){m=!1;break}p||(p=d=="constructor")}if(m&&!p){var E=e.constructor,g=t.constructor;E!=g&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof g=="function"&&g instanceof g)&&(m=!1)}return a.delete(e),a.delete(t),m}var MS=$S,kS=$n,PS=Ot,jS=kS(PS,"DataView"),LS=jS,IS=$n,DS=Ot,NS=IS(DS,"Promise"),FS=NS,US=$n,zS=Ot,BS=US(zS,"Set"),qS=BS,WS=$n,HS=Ot,VS=WS(HS,"WeakMap"),YS=VS,hc=LS,pc=hu,bc=FS,mc=qS,gc=YS,Eb=An,fr=c0,wd="[object Map]",GS="[object Object]",Od="[object Promise]",Ed="[object Set]",Td="[object WeakMap]",Cd="[object DataView]",KS=fr(hc),XS=fr(pc),JS=fr(bc),QS=fr(mc),ZS=fr(gc),fn=Eb;(hc&&fn(new hc(new ArrayBuffer(1)))!=Cd||pc&&fn(new pc)!=wd||bc&&fn(bc.resolve())!=Od||mc&&fn(new mc)!=Ed||gc&&fn(new gc)!=Td)&&(fn=function(e){var t=Eb(e),n=t==GS?e.constructor:void 0,r=n?fr(n):"";if(r)switch(r){case KS:return Cd;case XS:return wd;case JS:return Od;case QS:return Ed;case ZS:return Td}return t});var eA=fn,Os=u0,tA=Ob,nA=YR,rA=MS,Rd=eA,Sd=Et,Ad=vu,iA=_u,aA=1,$d="[object Arguments]",Md="[object Array]",Hi="[object Object]",oA=Object.prototype,kd=oA.hasOwnProperty;function sA(e,t,n,r,i,a){var o=Sd(e),s=Sd(t),c=o?Md:Rd(e),u=s?Md:Rd(t);c=c==$d?Hi:c,u=u==$d?Hi:u;var f=c==Hi,l=u==Hi,d=c==u;if(d&&Ad(e)){if(!Ad(t))return!1;o=!0,f=!1}if(d&&!f)return a||(a=new Os),o||iA(e)?tA(e,t,n,r,i,a):nA(e,t,c,n,r,i,a);if(!(n&aA)){var b=f&&kd.call(e,"__wrapped__"),h=l&&kd.call(t,"__wrapped__");if(b||h){var m=b?e.value():e,p=h?t.value():t;return a||(a=new Os),i(m,p,n,r,a)}}return d?(a||(a=new Os),rA(e,t,n,r,i,a)):!1}var cA=sA,uA=cA,Pd=rn;function Tb(e,t,n,r,i){return e===t?!0:e==null||t==null||!Pd(e)&&!Pd(t)?e!==e&&t!==t:uA(e,t,n,r,Tb,i)}var fA=Tb,lA=fA;function dA(e,t){return lA(e,t)}var hA=dA;const pA=Ke(hA);var bA={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"transparent",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}};function ht(){return ht=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},ht.apply(this,arguments)}function Uu(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var mA=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],gA=function(e,t){return ht({},t,e)},vA=function(e,t){var n=x7({},e,t);return mA.forEach(function(r){Nr(n,r,gA(Pt(n,r),n.text))}),n},Cb=_.createContext(),Rb=function(e){var t=e.children,n=e.animate,r=n===void 0||n,i=e.config,a=i===void 0?"default":i,o=_.useMemo(function(){var s=Y9(a)?cu[a]:a;return{animate:r,config:s}},[r,a]);return R.jsx(Cb.Provider,{value:o,children:t})},jd={animate:T.bool,motionConfig:T.oneOfType([T.oneOf(Object.keys(cu)),T.shape({mass:T.number,tension:T.number,friction:T.number,clamp:T.bool,precision:T.number,velocity:T.number,duration:T.number,easing:T.func})])};Rb.propTypes={children:T.node.isRequired,animate:jd.animate,config:jd.motionConfig};var lr=function(){return _.useContext(Cb)},yA={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:ie(co),PRGn:ie(uo),PiYG:ie(fo),PuOr:ie(lo),RdBu:ie(ho),RdGy:ie(po),RdYlBu:ie(bo),RdYlGn:ie(mo),spectral:ie(go),blues:ie($o),greens:ie(Mo),greys:ie(ko),oranges:ie(Lo),purples:ie(Po),reds:ie(jo),BuGn:ie(vo),BuPu:ie(yo),GnBu:ie(_o),OrRd:ie(xo),PuBuGn:ie(wo),PuBu:ie(Oo),PuRd:ie(Eo),RdPu:ie(To),YlGnBu:ie(Co),YlGn:ie(Ro),YlOrBr:ie(So),YlOrRd:ie(Ao)},_A=Object.keys(yA);ie(co),ie(uo),ie(fo),ie(lo),ie(ho),ie(po),ie(bo),ie(mo),ie(go),ie($o),ie(Mo),ie(ko),ie(Lo),ie(Po),ie(jo),ie(vo),ie(yo),ie(_o),ie(xo),ie(wo),ie(Oo),ie(Eo),ie(To),ie(Co),ie(Ro),ie(So),ie(Ao);T.oneOfType([T.oneOf(_A),T.func,T.arrayOf(T.string)]);var xA={basis:fC,basisClosed:lC,basisOpen:dC,bundle:hC,cardinal:pC,cardinalClosed:bC,cardinalOpen:mC,catmullRom:gC,catmullRomClosed:vC,catmullRomOpen:yC,linear:fb,linearClosed:_C,monotoneX:xC,monotoneY:wC,natural:OC,step:EC,stepAfter:CC,stepBefore:TC},zu=Object.keys(xA);zu.filter(function(e){return e.endsWith("Closed")});ab(zu,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");ab(zu,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");T.shape({top:T.number,right:T.number,bottom:T.number,left:T.number}).isRequired;var wA=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];T.oneOf(wA);Un(Lu);var OA={top:0,right:0,bottom:0,left:0},EA=function(e,t,n){return n===void 0&&(n={}),_.useMemo(function(){var r=ht({},OA,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},Sb=function(){var e=_.useRef(null),t=_.useState({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=_.useState(function(){return typeof ResizeObserver>"u"?null:new ResizeObserver(function(a){var o=a[0];return r(o.contentRect)})})[0];return _.useEffect(function(){return e.current&&i!==null&&i.observe(e.current),function(){i!==null&&i.disconnect()}},[]),[e,n]},TA=function(e){return _.useMemo(function(){return vA(bA,e)},[e])},CA=function(e){return typeof e=="function"?e:typeof e=="string"?e.indexOf("time:")===0?G0(e.slice("5")):U0(e):function(t){return""+t}},Ab=function(e){return _.useMemo(function(){return CA(e)},[e])},$b=_.createContext(),RA={},Mb=function(e){var t=e.theme,n=t===void 0?RA:t,r=e.children,i=TA(n);return R.jsx($b.Provider,{value:i,children:r})};Mb.propTypes={children:T.node.isRequired,theme:T.object};var et=function(){return _.useContext($b)},SA=["outlineWidth","outlineColor","outlineOpacity"],kb=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,Uu(e,SA)},Pb=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?_.cloneElement(r,{},t):t};Pb.propTypes={children:T.node.isRequired,condition:T.bool.isRequired,wrapper:T.element.isRequired};var AA={position:"relative"},jb=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=r===void 0||r,a=e.isInteractive,o=a===void 0||a,s=e.animate,c=e.motionConfig,u=_.useRef(null);return R.jsx(Mb,{theme:n,children:R.jsx(Rb,{animate:s,config:c,children:R.jsx(Gx,{container:u,children:R.jsxs(Pb,{condition:i,wrapper:R.jsx("div",{style:AA,ref:u}),children:[t,o&&R.jsx(Yx,{})]})})})})};jb.propTypes={children:T.element.isRequired,isInteractive:T.bool,renderWrapper:T.bool,theme:T.object,animate:T.bool,motionConfig:T.string};T.func.isRequired,T.bool,T.bool,T.object.isRequired,T.bool.isRequired,T.string;var Lb=function(e){var t=e.children,n=Sb(),r=n[0],i=n[1],a=i.width>0&&i.height>0;return R.jsx("div",{ref:r,style:{width:"100%",height:"100%"},children:a&&t({width:i.width,height:i.height})})};Lb.propTypes={children:T.func.isRequired};var $A=["id","colors"],Ib=function(e){var t=e.id,n=e.colors,r=Uu(e,$A);return R.jsx("linearGradient",ht({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(i){var a=i.offset,o=i.color,s=i.opacity;return R.jsx("stop",{offset:a+"%",stopColor:o,stopOpacity:s!==void 0?s:1},a)})}))};Ib.propTypes={id:T.string.isRequired,colors:T.arrayOf(T.shape({offset:T.number.isRequired,color:T.string.isRequired,opacity:T.number})).isRequired,gradientTransform:T.string};var Db={linearGradient:Ib},Pr={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},vc=_.memo(function(e){var t=e.id,n=e.background,r=n===void 0?Pr.background:n,i=e.color,a=i===void 0?Pr.color:i,o=e.size,s=o===void 0?Pr.size:o,c=e.padding,u=c===void 0?Pr.padding:c,f=e.stagger,l=f===void 0?Pr.stagger:f,d=s+u,b=s/2,h=u/2;return l===!0&&(d=2*s+2*u),R.jsxs("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:d,height:d,fill:r}),R.jsx("circle",{cx:h+b,cy:h+b,r:b,fill:a}),l&&R.jsx("circle",{cx:1.5*u+s+b,cy:1.5*u+s+b,r:b,fill:a})]})});vc.displayName="PatternDots",vc.propTypes={id:T.string.isRequired,color:T.string.isRequired,background:T.string.isRequired,size:T.number.isRequired,padding:T.number.isRequired,stagger:T.bool.isRequired};var $t=function(e){return e*Math.PI/180},Bu=function(e){return 180*e/Math.PI},MA=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2},Vn=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},jr={spacing:5,rotation:0,background:"#000000",color:"#ffffff",lineWidth:2},yc=_.memo(function(e){var t=e.id,n=e.spacing,r=n===void 0?jr.spacing:n,i=e.rotation,a=i===void 0?jr.rotation:i,o=e.background,s=o===void 0?jr.background:o,c=e.color,u=c===void 0?jr.color:c,f=e.lineWidth,l=f===void 0?jr.lineWidth:f,d=Math.round(a)%360,b=Math.abs(r);d>180?d-=360:d>90?d-=180:d<-180?d+=360:d<-90&&(d+=180);var h,m=b,p=b;return d===0?h=`
|
|
253
|
+
*/var zf;function F2(){return zf||(zf=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,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(w){return typeof w=="string"||typeof w=="function"||w===r||w===u||w===a||w===i||w===l||w===d||typeof w=="object"&&w!==null&&(w.$$typeof===h||w.$$typeof===b||w.$$typeof===o||w.$$typeof===s||w.$$typeof===f||w.$$typeof===p||w.$$typeof===x||w.$$typeof===y||w.$$typeof===m)}function E(w){if(typeof w=="object"&&w!==null){var he=w.$$typeof;switch(he){case t:var se=w.type;switch(se){case c:case u:case r:case a:case i:case l:return se;default:var ge=se&&se.$$typeof;switch(ge){case s:case f:case h:case b:case o:return ge;default:return he}}case n:return he}}}var g=c,C=u,P=s,F=o,B=t,j=f,L=r,Z=h,M=b,S=n,I=a,q=i,H=l,ne=!1;function V(w){return ne||(ne=!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.")),A(w)||E(w)===c}function A(w){return E(w)===u}function U(w){return E(w)===s}function K(w){return E(w)===o}function te(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function X(w){return E(w)===f}function Y(w){return E(w)===r}function W(w){return E(w)===h}function G(w){return E(w)===b}function J(w){return E(w)===n}function k(w){return E(w)===a}function z(w){return E(w)===i}function ee(w){return E(w)===l}xe.AsyncMode=g,xe.ConcurrentMode=C,xe.ContextConsumer=P,xe.ContextProvider=F,xe.Element=B,xe.ForwardRef=j,xe.Fragment=L,xe.Lazy=Z,xe.Memo=M,xe.Portal=S,xe.Profiler=I,xe.StrictMode=q,xe.Suspense=H,xe.isAsyncMode=V,xe.isConcurrentMode=A,xe.isContextConsumer=U,xe.isContextProvider=K,xe.isElement=te,xe.isForwardRef=X,xe.isFragment=Y,xe.isLazy=W,xe.isMemo=G,xe.isPortal=J,xe.isProfiler=k,xe.isStrictMode=z,xe.isSuspense=ee,xe.isValidElementType=v,xe.typeOf=E}()),xe}process.env.NODE_ENV==="production"?Gs.exports=N2():Gs.exports=F2();var U2=Gs.exports,dp=U2,z2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},B2={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hp={};hp[dp.ForwardRef]=z2;hp[dp.Memo]=B2;function q2(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function Yc(e,t){const n=_.useContext(D2);if(!n)throw new Error("Missing <CookiesProvider>");const i=Object.assign(Object.assign({},{doNotUpdate:!0}),t),[a,o]=_.useState(()=>n.getAll(i));q2()&&_.useLayoutEffect(()=>{function f(){const l=n.getAll(i);W2(e||null,l,a)&&o(l)}return n.addChangeListener(f),()=>{n.removeChangeListener(f)}},[n,a]);const s=_.useMemo(()=>n.set.bind(n),[n]),c=_.useMemo(()=>n.remove.bind(n),[n]),u=_.useMemo(()=>n.update.bind(n),[n]);return[a,s,c,u]}function W2(e,t,n){if(!e)return!0;for(let r of e)if(t[r]!==n[r])return!0;return!1}const H2=()=>{const{axiosOptions:e,cookieDomain:t}=_.useContext(Fc),[,n,r]=Yc(["Authorization"]),i=Se.create(e),a=_.useCallback(()=>localStorage.getItem("token")??null,[]),o=_.useCallback(()=>{const u=a();return u!==null&&u.length>0},[a]),s=_.useCallback(async(u,f)=>i.post("/user/login",{kid:u,password:f}).then(l=>(localStorage.setItem("token",l.data),n("Authorization",l.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:l1(new Date(Date.now()),24)}),l.data)).catch(l=>(console.log(l),null)),[i,n,t]),c=_.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),r("Authorization")},[r]);return{isAuthenticated:o,login:s,logout:c,getToken:a}},V2=()=>{const[,,e]=Yc(["Authorization"]),{msalScopes:t}=_.useContext(Gc),{instance:n,inProgress:r}=Wu.useMsal(),i=Wu.useIsAuthenticated(),a=_.useCallback(async()=>n.acquireTokenSilent({scopes:t}).then(f=>f.accessToken).catch(f=>{if(console.error("Error acquiring token",f),f instanceof qu.InteractionRequiredAuthError)return console.log("Silent token acquisition failed. Acquiring token using redirect"),n.acquireTokenRedirect({scopes:t}),null;throw f}),[n,t]),o=_.useCallback(()=>i,[i]),s=_.useCallback(()=>!o()&&r!==qu.InteractionStatus.None,[o,r]),c=_.useCallback(async()=>n.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[n,t]),u=_.useCallback(()=>{n.logout(),localStorage.removeItem("user"),e("Authorization")},[e,n]);return{isAuthenticated:o,isAuthenticating:s,login:c,logout:u,getToken:a}},pp=()=>{const{useMsal:e}=_.useContext(Gc),t=H2(),n=V2();return{isAuthenticated:e?n.isAuthenticated:t.isAuthenticated,isAuthenticating:e?n.isAuthenticating:()=>!1,getToken:e?n.getToken:t.getToken,login:e?n.login:t.login,logout:e?n.logout:t.logout}},Y2="_toast_1s57i_1",Er={toast:Y2},G2=e=>{switch(e){case"success":return 5e3;case"info":return 5e3;case"danger":return 1e4;case"warning":return 1e4;case"prompt":return 1e4;default:return 5e3}},bp=()=>({addNotification:_.useCallback((t,n)=>{const r=up(t),i=G2(n),a=R.jsxs(R.Fragment,{children:[r,R.jsx(Mh,{onClick:()=>Dn.dismiss(r),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(n){case"success":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Xg,{size:12}),className:Oe("luminus-toast-success rounded shadow bg-success",Er.toast)});break}case"danger":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(qg,{size:12}),className:Oe("luminus-toast-danger rounded shadow bg-danger",Er.toast)});break}case"warning":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Ng,{size:12}),className:Oe("luminus-toast-warning rounded shadow bg-warning",Er.toast)});break}case"info":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(zg,{size:12}),className:Oe("luminus-toast-info rounded shadow bg-info",Er.toast)});break}case"prompt":{Dn(a,{id:r,duration:i,position:"top-center",icon:R.jsx(Bg,{size:12}),className:Oe("luminus-toast-prompt rounded shadow bg-light",Er.toast)});break}}},[])}),K2=Se.CancelToken,X2=e=>{const{authenticated:t=!0,differentBaseUrl:n,silent:r=!1,customToken:i}={...e},{language:a,axiosOptions:o,texts:{axios:s}}=_.useContext(Fc),{delegation:c}=_.useContext(mp),u=_.useMemo(()=>(c==null?void 0:c.id)??null,[c==null?void 0:c.id]),{addNotification:f}=bp(),{getToken:l}=pp(),d=_.useMemo(()=>Se.create(o),[o]),b=_.useCallback(async m=>{var p,x,y;if(t&&!m.headers.Authorization){const v=i??await l();if(!v)return Promise.reject(new Error("No bearer token"));m.headers.Authorization=`Bearer ${v}`}return u!==null&&(m.headers.DelegationId=u.toString()),(p=m.url)!=null&&p.includes("culture=")?m.url=(x=m.url)==null?void 0:x.replace(/culture=[a-z]{2}/,`culture=${a}`):m.url=`${m.url}${(y=m.url)!=null&&y.includes("?")?"&":"?"}culture=${a}`,m},[t,l,a,i,u]),h=_.useCallback(m=>{var y;if(console.log(m),Se.isCancel(m))return Promise.reject(m);const p=Hc(m);if(p.length>0){const v=p.find(E=>E.name.toLowerCase()==="others");return v?(!r&&f(v.errors,"danger"),Promise.reject(m)):(!r&&f(s.validationError,"warning"),Promise.reject(m))}const x=cp(m);return x!==null?(f(`${s.permissionError}: ${fp(", ",...x)}`,"danger"),Promise.reject(m)):((y=m.response)==null?void 0:y.status)===403?(!r&&f(s.forbiddenError,"danger"),Promise.reject(m)):m.message&&m.message==="Network Error"?(!r&&f(s.networkError,"danger"),Promise.reject(m)):(Se.isCancel(m)||!r&&f(s.unexpectedError,"danger"),Promise.reject(m))},[f,s.forbiddenError,s.networkError,s.permissionError,s.unexpectedError,s.validationError,r]);return _.useEffect(()=>{n&&(d.defaults.baseURL=n),d.interceptors.request.clear(),d.interceptors.response.clear();const m=d.interceptors.request.use(b,x=>Promise.reject(x)),p=d.interceptors.response.use(x=>x,h);return()=>{d.interceptors.request.eject(m),d.interceptors.response.eject(p)}},[d.defaults,d.interceptors.request,d.interceptors.response,n,b,h]),d},Gc=_.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),mp=_.createContext({delegation:null,setDelegation:()=>{},availableDelegations:null,setAvailableDelegations:()=>{},refreshAvailableDelegations:async()=>{}}),J2="_h1_14r4v_1",Q2="_h3_14r4v_8",Z2="_h6_14r4v_15",e_="_subtitle_14r4v_22",t_="_body_14r4v_29",n_="_body2_14r4v_36",r_="_caption_14r4v_43",i_="_form-label_14r4v_50",Ut={h1:J2,h3:Q2,h6:Z2,subtitle:e_,body:t_,body2:n_,caption:r_,"form-label":"_form-label_14r4v_50",formLabel:i_},a_=({variant:e,className:t,children:n})=>{switch(e){case"h1":return R.jsx("h1",{className:Oe("luminus-text-primary luminus-h1",Ut.h1,t),children:n});case"h3":return R.jsx("h3",{className:Oe("luminus-text luminus-h3",Ut.h3,t),children:n});case"h6":return R.jsx("h6",{className:Oe("luminus-text luminus-h6",Ut.h6,t),children:n});case"subtitle":return R.jsx("div",{className:Oe("luminus-text luminus-subtitle",Ut.subtitle,t),children:n});case"body":return R.jsx("div",{className:Oe("luminus-text luminus-body",Ut.body,t),children:n});case"body2":return R.jsx("div",{className:Oe("luminus-text luminus-body2",Ut.body2,t),children:n});case"caption":return R.jsx("div",{className:Oe("luminus-text-muted luminus-caption",Ut.caption,t),children:n});case"form-label":return R.jsx("div",{className:Oe("luminus-text luminus-form-label",Ut.formLabel,t),children:n});default:return R.jsx(R.Fragment,{children:n})}},gp=({variant:e,className:t,children:n})=>R.jsx(a_,{variant:e,className:t,children:n}),o_="_button_qhwih_1",s_={button:o_},c_=_.forwardRef(({color:e="primary",icon:t=R.jsx(Qg,{size:21}),text:n,onClick:r,className:i,children:a,...o},s)=>R.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),r(c)},"aria-label":"dropdown toggle",className:Oe(`btn luminus-context-button text-${e} ${i??""}`,s_.button),...o,children:[t,n]})),u_="_avatar-icon_1axl6_1",f_={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:u_},vp=({name:e,fontSize:t,size:n})=>{const r=i=>{let a=0,o;for(o=0;o<i.length;o+=1)a=i.charCodeAt(o)+((a<<5)-a);let s="#";for(o=0;o<3;o+=1){const c=a>>o*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return R.jsx(Sh,{placement:"bottom",overlay:R.jsx(Nc,{children:e}),children:R.jsx("div",{className:Oe("luminus-avatar-icon",f_.avatarIcon),style:{backgroundColor:r(e),fontSize:t??void 0,minHeight:n??void 0,height:n??void 0,maxHeight:n??void 0,minWidth:n??void 0,width:n??void 0,maxWidth:n??void 0},children:R.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},l_=_.forwardRef(({userName:e,onClick:t,children:n},r)=>R.jsxs("button",{type:"button",ref:r,onClick:i=>{i.preventDefault(),t(i)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[R.jsx(vp,{name:e}),n]})),d_="_floating-label_1g53j_1",h_="_without-label_1g53j_21",Bf={"floating-label":"_floating-label_1g53j_1",floatingLabel:d_,"without-label":"_without-label_1g53j_21",withoutLabel:h_},yp=_.forwardRef(({hidden:e,children:t,className:n,isInvalid:r,isForRadioInput:i,inputContainerClassName:a,isForCheckInput:o,...s},c)=>o?R.jsx(R.Fragment,{children:t}):R.jsx(Ic,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:Oe(`luminus-floating-label ${n??""}`,Bf.floatingLabel,{[a??""]:a},{[Bf.withoutLabel]:s.withoutLabel}),children:t}));yp.displayName="FloatingLabelInput";const p_="_row-label-input_13ci8_1",b_="_label_13ci8_4",m_="_input-container_13ci8_9",g_="_invalid-feedback_13ci8_101",v_="_keep-check-label_13ci8_129",y_="_is-invalid_13ci8_157",Tr={"row-label-input":"_row-label-input_13ci8_1",rowLabelInput:p_,label:b_,"input-container":"_input-container_13ci8_9",inputContainer:m_,"invalid-feedback":"_invalid-feedback_13ci8_101",invalidFeedback:g_,"keep-check-label":"_keep-check-label_13ci8_129",keepCheckLabel:v_,"is-invalid":"_is-invalid_13ci8_157",isInvalid:y_},_p=_.forwardRef(({hidden:e,children:t,className:n,isInvalid:r,isForRadioInput:i,isForTextAreaInput:a,inputContainerClassName:o,...s},c)=>R.jsxs("div",{ref:c,className:Oe("luminus-row-label row gx-0 gy-0",{"is-invalid":r},{[Tr.isInvalid]:r},{[n??""]:n},{"d-none":e},Tr.rowLabelInput),children:[!s.withoutLabel&&R.jsx("label",{className:Oe("label col-6",{"col-12":a},Tr.label),children:R.jsx(gp,{variant:"form-label",className:r?"text-danger":"",children:s.label})}),R.jsx("div",{className:Oe("input-container",Tr.inputContainer,{"col-6":!s.withoutLabel&&!a},{"col-12":s.withoutLabel||a},{[Tr.keepCheckLabel]:i},{[o??""]:o}),children:t})]}));_p.displayName="RowLabelInput";const xp=_.forwardRef(({children:e,className:t,hidden:n},r)=>R.jsx("div",{ref:r,className:`${n?"d-none":""} ${t}`,children:e}));xp.displayName="NoInputContainer";const __=_.forwardRef(({onClick:e,text:t},n)=>R.jsx("div",{ref:n,onClick:r=>{r.preventDefault(),e(r)},role:"button",className:"middle-div",children:R.jsxs("div",{className:"d-flex flex-column align-items-center",children:[R.jsx("div",{className:"mt-",children:"…"}),R.jsx("div",{className:"mt-1 middle-letter",children:t})]})}));var Kc=pi(),ce=e=>hi(e,Kc),Xc=pi();ce.write=e=>hi(e,Xc);var qa=pi();ce.onStart=e=>hi(e,qa);var Jc=pi();ce.onFrame=e=>hi(e,Jc);var Qc=pi();ce.onFinish=e=>hi(e,Qc);var Bn=[];ce.setTimeout=(e,t)=>{const n=ce.now()+t,r=()=>{const a=Bn.findIndex(o=>o.cancel==r);~a&&Bn.splice(a,1),Yt-=~a?1:0},i={time:n,handler:e,cancel:r};return Bn.splice(wp(n),0,i),Yt+=1,Op(),i};var wp=e=>~(~Bn.findIndex(t=>t.time>e)||~Bn.length);ce.cancel=e=>{qa.delete(e),Jc.delete(e),Qc.delete(e),Kc.delete(e),Xc.delete(e)};ce.sync=e=>{Ks=!0,ce.batchedUpdates(e),Ks=!1};ce.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,ce.onStart(n)}return r.handler=e,r.cancel=()=>{qa.delete(n),t=null},r};var Zc=typeof window<"u"?window.requestAnimationFrame:()=>{};ce.use=e=>Zc=e;ce.now=typeof performance<"u"?()=>performance.now():Date.now;ce.batchedUpdates=e=>e();ce.catch=console.error;ce.frameLoop="always";ce.advance=()=>{ce.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Tp()};var Vt=-1,Yt=0,Ks=!1;function hi(e,t){Ks?(t.delete(e),e(0)):(t.add(e),Op())}function Op(){Vt<0&&(Vt=0,ce.frameLoop!=="demand"&&Zc(Ep))}function x_(){Vt=-1}function Ep(){~Vt&&(Zc(Ep),ce.batchedUpdates(Tp))}function Tp(){const e=Vt;Vt=ce.now();const t=wp(Vt);if(t&&(Cp(Bn.splice(0,t),n=>n.handler()),Yt-=t),!Yt){x_();return}qa.flush(),Kc.flush(e?Math.min(64,Vt-e):16.667),Jc.flush(),Xc.flush(),Qc.flush()}function pi(){let e=new Set,t=e;return{add(n){Yt+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return Yt-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,Yt-=t.size,Cp(t,r=>r(n)&&e.add(r)),Yt+=e.size,t=e)}}}function Cp(e,t){e.forEach(n=>{try{t(n)}catch(r){ce.catch(r)}})}var w_=Object.defineProperty,O_=(e,t)=>{for(var n in t)w_(e,n,{get:t[n],enumerable:!0})},pt={};O_(pt,{assign:()=>T_,colors:()=>Gt,createStringInterpolator:()=>tu,skipAnimation:()=>Sp,to:()=>Rp,willAdvance:()=>nu});function Xs(){}var E_=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),N={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function Rt(e,t){if(N.arr(e)){if(!N.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var oe=(e,t)=>e.forEach(t);function xt(e,t,n){if(N.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var Be=e=>N.und(e)?[]:N.arr(e)?e:[e];function Br(e,t){if(e.size){const n=Array.from(e);e.clear(),oe(n,t)}}var Dr=(e,...t)=>Br(e,n=>n(...t)),eu=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),tu,Rp,Gt=null,Sp=!1,nu=Xs,T_=e=>{e.to&&(Rp=e.to),e.now&&(ce.now=e.now),e.colors!==void 0&&(Gt=e.colors),e.skipAnimation!=null&&(Sp=e.skipAnimation),e.createStringInterpolator&&(tu=e.createStringInterpolator),e.requestAnimationFrame&&ce.use(e.requestAnimationFrame),e.batchedUpdates&&(ce.batchedUpdates=e.batchedUpdates),e.willAdvance&&(nu=e.willAdvance),e.frameLoop&&(ce.frameLoop=e.frameLoop)},qr=new Set,nt=[],cs=[],pa=0,Wa={get idle(){return!qr.size&&!nt.length},start(e){pa>e.priority?(qr.add(e),ce.onStart(C_)):(Ap(e),ce(Js))},advance:Js,sort(e){if(pa)ce.onFrame(()=>Wa.sort(e));else{const t=nt.indexOf(e);~t&&(nt.splice(t,1),$p(e))}},clear(){nt=[],qr.clear()}};function C_(){qr.forEach(Ap),qr.clear(),ce(Js)}function Ap(e){nt.includes(e)||$p(e)}function $p(e){nt.splice(R_(nt,t=>t.priority>e.priority),0,e)}function Js(e){const t=cs;for(let n=0;n<nt.length;n++){const r=nt[n];pa=r.priority,r.idle||(nu(r),r.advance(e),r.idle||t.push(r))}return pa=0,cs=nt,cs.length=0,nt=t,nt.length>0}function R_(e,t){const n=e.findIndex(t);return n<0?e.length:n}var S_=(e,t,n)=>Math.min(Math.max(n,e),t),A_={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},lt="[-+]?\\d*\\.?\\d+",ba=lt+"%";function Ha(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var $_=new RegExp("rgb"+Ha(lt,lt,lt)),M_=new RegExp("rgba"+Ha(lt,lt,lt,lt)),k_=new RegExp("hsl"+Ha(lt,ba,ba)),P_=new RegExp("hsla"+Ha(lt,ba,ba,lt)),j_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,L_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,I_=/^#([0-9a-fA-F]{6})$/,D_=/^#([0-9a-fA-F]{8})$/;function N_(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=I_.exec(e))?parseInt(t[1]+"ff",16)>>>0:Gt&&Gt[e]!==void 0?Gt[e]:(t=$_.exec(e))?(Nn(t[1])<<24|Nn(t[2])<<16|Nn(t[3])<<8|255)>>>0:(t=M_.exec(e))?(Nn(t[1])<<24|Nn(t[2])<<16|Nn(t[3])<<8|Hf(t[4]))>>>0:(t=j_.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=D_.exec(e))?parseInt(t[1],16)>>>0:(t=L_.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=k_.exec(e))?(qf(Wf(t[1]),Ii(t[2]),Ii(t[3]))|255)>>>0:(t=P_.exec(e))?(qf(Wf(t[1]),Ii(t[2]),Ii(t[3]))|Hf(t[4]))>>>0:null}function us(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 qf(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=us(i,r,e+1/3),o=us(i,r,e),s=us(i,r,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function Nn(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Wf(e){return(parseFloat(e)%360+360)%360/360}function Hf(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Ii(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Vf(e){let t=N_(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${a})`}var Kr=(e,t,n)=>{if(N.fun(e))return e;if(N.arr(e))return Kr({range:e,output:t,extrapolate:n});if(N.str(e.output[0]))return tu(e);const r=e,i=r.output,a=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{const f=U_(u,a);return F_(u,a[f],a[f+1],i[f],i[f+1],c,o,s,r.map)}};function F_(e,t,n,r,i,a,o,s,c){let u=c?c(e):e;if(u<t){if(o==="identity")return u;o==="clamp"&&(u=t)}if(u>n){if(s==="identity")return u;s==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=a(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function U_(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}var z_=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return S_(0,1,i/e)},ma=1.70158,Di=ma*1.525,Yf=ma+1,Gf=2*Math.PI/3,Kf=2*Math.PI/4.5,Ni=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,B_={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Yf*e*e*e-ma*e*e,easeOutBack:e=>1+Yf*Math.pow(e-1,3)+ma*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((Di+1)*2*e-Di)/2:(Math.pow(2*e-2,2)*((Di+1)*(e*2-2)+Di)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Gf),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Gf)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Kf))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Kf)/2+1,easeInBounce:e=>1-Ni(1-e),easeOutBounce:Ni,easeInOutBounce:e=>e<.5?(1-Ni(1-2*e))/2:(1+Ni(2*e-1))/2,steps:z_},Xr=Symbol.for("FluidValue.get"),Jn=Symbol.for("FluidValue.observers"),tt=e=>!!(e&&e[Xr]),We=e=>e&&e[Xr]?e[Xr]():e,Xf=e=>e[Jn]||null;function q_(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Jr(e,t){const n=e[Jn];n&&n.forEach(r=>{q_(r,t)})}var Mp=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");W_(this,e)}},W_=(e,t)=>kp(e,Xr,t);function ir(e,t){if(e[Xr]){let n=e[Jn];n||kp(e,Jn,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Qr(e,t){const n=e[Jn];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Jn]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var kp=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Zi=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,H_=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Jf=new RegExp(`(${Zi.source})(%|[a-z]+)`,"i"),V_=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Va=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Pp=e=>{const[t,n]=Y_(e);if(!t||eu())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&Va.test(n))return Pp(n);if(n)return n}return e},Y_=e=>{const t=Va.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},fs,G_=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,jp=e=>{fs||(fs=Gt?new RegExp(`(${Object.keys(Gt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>We(a).replace(Va,Pp).replace(H_,Vf).replace(fs,Vf)),n=t.map(a=>a.match(Zi).map(Number)),i=n[0].map((a,o)=>n.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>Kr({...e,output:a}));return a=>{var c;const o=!Jf.test(t[0])&&((c=t.find(u=>Jf.test(u)))==null?void 0:c.replace(Zi,""));let s=0;return t[0].replace(Zi,()=>`${i[s++](a)}${o||""}`).replace(V_,G_)}},ru="react-spring: ",Lp=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${ru}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},K_=Lp(console.warn);function X_(){K_(`${ru}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var J_=Lp(console.warn);function Q_(){J_(`${ru}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Ya(e){return N.str(e)&&(e[0]=="#"||/\d/.test(e)||!eu()&&Va.test(e)||e in(Gt||{}))}var hn=eu()?_.useEffect:_.useLayoutEffect,Z_=()=>{const e=_.useRef(!1);return hn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function iu(){const e=_.useState()[1],t=Z_();return()=>{t.current&&e(Math.random())}}function ex(e,t){const[n]=_.useState(()=>({inputs:t,result:e()})),r=_.useRef(),i=r.current;let a=i;return a?t&&a.inputs&&tx(t,a.inputs)||(a={inputs:t,result:e()}):a=n,_.useEffect(()=>{r.current=a,i==n&&(n.inputs=n.result=void 0)},[a]),a.result}function tx(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var au=e=>_.useEffect(e,nx),nx=[];function Qs(e){const t=_.useRef();return _.useEffect(()=>{t.current=e}),t.current}var Zr=Symbol.for("Animated:node"),rx=e=>!!e&&e[Zr]===e,gt=e=>e&&e[Zr],ou=(e,t)=>E_(e,Zr,t),Ga=e=>e&&e[Zr]&&e[Zr].getPayload(),Ip=class{constructor(){ou(this,this)}getPayload(){return this.payload||[]}},bi=class extends Ip{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,N.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new bi(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return N.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,N.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ei=class extends bi{constructor(e){super(0),this._string=null,this._toString=Kr({output:[e,e]})}static create(e){return new ei(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(N.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Kr({output:[this.getValue(),e]})),this._value=0,super.reset()}},ga={dependencies:null},Ka=class extends Ip{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return xt(this.source,(n,r)=>{rx(n)?t[r]=n.getValue(e):tt(n)?t[r]=We(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&oe(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return xt(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ga.dependencies&&tt(e)&&ga.dependencies.add(e);const t=Ga(e);t&&oe(t,n=>this.add(n))}},Dp=class extends Ka{constructor(e){super(e)}static create(e){return new Dp(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(ix)),!0)}};function ix(e){return(Ya(e)?ei:bi).create(e)}function Zs(e){const t=gt(e);return t?t.constructor:N.arr(e)?Dp:Ya(e)?ei:bi}var Qf=(e,t)=>{const n=!N.fun(e)||e.prototype&&e.prototype.isReactComponent;return _.forwardRef((r,i)=>{const a=_.useRef(null),o=n&&_.useCallback(h=>{a.current=sx(i,h)},[i]),[s,c]=ox(r,t),u=iu(),f=()=>{const h=a.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,s.getValue(!0)):!1)===!1&&u()},l=new ax(f,c),d=_.useRef();hn(()=>(d.current=l,oe(c,h=>ir(h,l)),()=>{d.current&&(oe(d.current.deps,h=>Qr(h,d.current)),ce.cancel(d.current.update))})),_.useEffect(f,[]),au(()=>()=>{const h=d.current;oe(h.deps,m=>Qr(m,h))});const b=t.getComponentProps(s.getValue());return fe.createElement(e,{...b,ref:o})})},ax=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&ce.write(this.update)}};function ox(e,t){const n=new Set;return ga.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Ka(e),ga.dependencies=null,[e,n]}function sx(e,t){return e&&(N.fun(e)?e(t):e.current=t),t}var Zf=Symbol.for("AnimatedComponent"),cx=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new Ka(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=o=>{const s=el(o)||"Anonymous";return N.str(o)?o=a[o]||(a[o]=Qf(o,i)):o=o[Zf]||(o[Zf]=Qf(o,i)),o.displayName=`Animated(${s})`,o};return xt(e,(o,s)=>{N.arr(e)&&(s=el(o)),a[s]=a(o)}),{animated:a}},el=e=>N.str(e)?e:e&&N.str(e.displayName)?e.displayName:N.fun(e)&&e.name||null;function He(e,...t){return N.fun(e)?e(...t):e}var Wr=(e,t)=>e===!0||!!(t&&e&&(N.fun(e)?e(t):Be(e).includes(t))),Np=(e,t)=>N.obj(e)?t&&e[t]:e,Fp=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,ux=e=>e,Xa=(e,t=ux)=>{let n=fx;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const a=t(e[i],i);N.und(a)||(r[i]=a)}return r},fx=["config","onProps","onStart","onChange","onPause","onResume","onRest"],lx={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function dx(e){const t={};let n=0;if(xt(e,(r,i)=>{lx[i]||(t[i]=r,n++)}),n)return t}function su(e){const t=dx(e);if(t){const n={to:t};return xt(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function ti(e){return e=We(e),N.arr(e)?e.map(ti):Ya(e)?pt.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Up(e){for(const t in e)return!0;return!1}function ec(e){return N.fun(e)||N.arr(e)&&N.obj(e[0])}function tc(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function zp(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var cu={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},nc={...cu.default,mass:1,damping:1,easing:B_.linear,clamp:!1},hx=class{constructor(){this.velocity=0,Object.assign(this,nc)}};function px(e,t,n){n&&(n={...n},tl(n,t),t={...n,...t}),tl(e,t),Object.assign(e,t);for(const o in nc)e[o]==null&&(e[o]=nc[o]);let{frequency:r,damping:i}=e;const{mass:a}=e;return N.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*i*a/r),e}function tl(e,t){if(!N.und(t.decay))e.duration=void 0;else{const n=!N.und(t.tension)||!N.und(t.friction);(n||!N.und(t.frequency)||!N.und(t.damping)||!N.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var nl=[],bx=class{constructor(){this.changed=!1,this.values=nl,this.toValues=null,this.fromValues=nl,this.config=new hx,this.immediate=!1}};function Bp(e,{key:t,props:n,defaultProps:r,state:i,actions:a}){return new Promise((o,s)=>{let c,u,f=Wr(n.cancel??(r==null?void 0:r.cancel),t);if(f)b();else{N.und(n.pause)||(i.paused=Wr(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||Wr(h,t)),c=He(n.delay||0,t),h?(i.resumeQueue.add(d),a.pause()):(a.resume(),d())}function l(){i.resumeQueue.add(d),i.timeouts.delete(u),u.cancel(),c=u.time-ce.now()}function d(){c>0&&!pt.skipAnimation?(i.delayed=!0,u=ce.setTimeout(b,c),i.pauseQueue.add(l),i.timeouts.add(u)):b()}function b(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(l),i.timeouts.delete(u),e<=(i.cancelId||0)&&(f=!0);try{a.start({...n,callId:e,cancel:f},o)}catch(h){s(h)}}})}var uu=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?qn(e.get()):t.every(n=>n.noop)?qp(e.get()):ut(e.get(),t.every(n=>n.finished)),qp=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ut=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),qn=e=>({value:e,cancelled:!0,finished:!1});function Wp(e,t,n,r){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:c}=n;return!a&&e===s&&!t.reset?c:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=Xa(t,(p,x)=>x==="onRest"?void 0:p);let f,l;const d=new Promise((p,x)=>(f=p,l=x)),b=p=>{const x=i<=(n.cancelId||0)&&qn(r)||i!==n.asyncId&&ut(r,!1);if(x)throw p.result=x,l(p),p},h=(p,x)=>{const y=new rl,v=new il;return(async()=>{if(pt.skipAnimation)throw ni(n),v.result=ut(r,!1),l(v),v;b(y);const E=N.obj(p)?{...p}:{...x,to:p};E.parentId=i,xt(u,(C,P)=>{N.und(E[P])&&(E[P]=C)});const g=await r.start(E);return b(y),n.paused&&await new Promise(C=>{n.resumeQueue.add(C)}),g})()};let m;if(pt.skipAnimation)return ni(n),ut(r,!1);try{let p;N.arr(e)?p=(async x=>{for(const y of x)await h(y)})(e):p=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([p.then(f),d]),m=ut(r.get(),!0,!1)}catch(p){if(p instanceof rl)m=p.result;else if(p instanceof il)m=p.result;else throw p}finally{i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?c:void 0)}return N.fun(o)&&ce.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function ni(e,t){Br(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var rl=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},il=class extends Error{constructor(){super("SkipAnimationSignal")}},rc=e=>e instanceof fu,mx=1,fu=class extends Mp{constructor(){super(...arguments),this.id=mx++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=gt(this);return e&&e.getValue()}to(...e){return pt.to(this,e)}interpolate(...e){return X_(),pt.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Jr(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Wa.sort(this),Jr(this,{type:"priority",parent:this,priority:e})}},On=Symbol.for("SpringPhase"),Hp=1,ic=2,ac=4,ls=e=>(e[On]&Hp)>0,zt=e=>(e[On]&ic)>0,Cr=e=>(e[On]&ac)>0,al=(e,t)=>t?e[On]|=ic|Hp:e[On]&=~ic,ol=(e,t)=>t?e[On]|=ac:e[On]&=~ac,gx=class extends fu{constructor(e,t){if(super(),this.animation=new bx,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!N.und(e)||!N.und(t)){const n=N.obj(e)?{...e}:{...t,from:e};N.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(zt(this)||this._state.asyncTo)||Cr(this)}get goal(){return We(this.animation.to)}get velocity(){const e=gt(this);return e instanceof bi?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return ls(this)}get isAnimating(){return zt(this)}get isPaused(){return Cr(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:a}=r,o=Ga(r.to);!o&&tt(r.to)&&(i=Be(We(r.to))),r.values.forEach((u,f)=>{if(u.done)return;const l=u.constructor==ei?1:o?o[f].lastPosition:i[f];let d=r.immediate,b=l;if(!d){if(b=u.lastPosition,a.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[f],p=u.v0!=null?u.v0:u.v0=N.arr(a.velocity)?a.velocity[f]:a.velocity;let x;const y=a.precision||(m==l?.005:Math.min(1,Math.abs(l-m)*.001));if(N.und(a.duration))if(a.decay){const v=a.decay===!0?.998:a.decay,E=Math.exp(-(1-v)*h);b=m+p/(1-v)*(1-E),d=Math.abs(u.lastPosition-b)<=y,x=p*E}else{x=u.lastVelocity==null?p:u.lastVelocity;const v=a.restVelocity||y/10,E=a.clamp?0:a.bounce,g=!N.und(E),C=m==l?u.v0>0:m<l;let P,F=!1;const B=1,j=Math.ceil(e/B);for(let L=0;L<j&&(P=Math.abs(x)>v,!(!P&&(d=Math.abs(l-b)<=y,d)));++L){g&&(F=b==l||b>l==C,F&&(x=-x*E,b=l));const Z=-a.tension*1e-6*(b-l),M=-a.friction*.001*x,S=(Z+M)/a.mass;x=x+S*B,b=b+x*B}}else{let v=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,u.durationProgress>0&&(u.elapsedTime=a.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(a.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),b=m+a.easing(v)*(l-m),x=(b-u.lastPosition)/e,d=v==1}u.lastVelocity=x,Number.isNaN(b)&&(console.warn("Got NaN while animating:",this),d=!0)}o&&!o[f].done&&(d=!1),d?u.done=!0:t=!1,u.setValue(b,a.round)&&(n=!0)});const s=gt(this),c=s.getValue();if(t){const u=We(r.to);(c!==u||n)&&!a.decay?(s.setValue(u),this._onChange(u)):n&&a.decay&&this._onChange(c),this._stop()}else n&&this._onChange(c)}set(e){return ce.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(zt(this)){const{to:e,config:t}=this.animation;ce.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return N.und(e)?(n=this.queue||[],this.queue=[]):n=[N.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>uu(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),ni(this._state,e&&this._lastCallId),ce.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=N.obj(n)?n[t]:n,(n==null||ec(n))&&(n=void 0),r=N.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return ls(this)||(e.reverse&&([n,r]=[r,n]),r=We(r),N.und(r)?gt(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Xa(e,(o,s)=>/^on/.test(s)?Np(o,n):o)),cl(this,e,"onProps"),Sr(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return Bp(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{Cr(this)||(ol(this,!0),Dr(a.pauseQueue),Sr(this,"onPause",ut(this,Rr(this,this.animation.to)),this))},resume:()=>{Cr(this)&&(ol(this,!1),zt(this)&&this._resume(),Dr(a.resumeQueue),Sr(this,"onResume",ut(this,Rr(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const s=Vp(e);if(s)return this._update(s,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(qn(this));const r=!N.und(e.to),i=!N.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(qn(this));const{key:a,defaultProps:o,animation:s}=this,{to:c,from:u}=s;let{to:f=c,from:l=u}=e;i&&!r&&(!t.default||N.und(f))&&(f=l),t.reverse&&([f,l]=[l,f]);const d=!Rt(l,u);d&&(s.from=l),l=We(l);const b=!Rt(f,c);b&&this._focus(f);const h=ec(t.to),{config:m}=s,{decay:p,velocity:x}=m;(r||i)&&(m.velocity=0),t.config&&!h&&px(m,He(t.config,a),t.config!==o.config?He(o.config,a):void 0);let y=gt(this);if(!y||N.und(f))return n(ut(this,!0));const v=N.und(t.reset)?i&&!t.default:!N.und(l)&&Wr(t.reset,a),E=v?l:this.get(),g=ti(f),C=N.num(g)||N.arr(g)||Ya(g),P=!h&&(!C||Wr(o.immediate||t.immediate,a));if(b){const L=Zs(f);if(L!==y.constructor)if(P)y=this._set(g);else throw Error(`Cannot animate between ${y.constructor.name} and ${L.name}, as the "to" prop suggests`)}const F=y.constructor;let B=tt(f),j=!1;if(!B){const L=v||!ls(this)&&d;(b||L)&&(j=Rt(ti(E),g),B=!j),(!Rt(s.immediate,P)&&!P||!Rt(m.decay,p)||!Rt(m.velocity,x))&&(B=!0)}if(j&&zt(this)&&(s.changed&&!v?B=!0:B||this._stop(c)),!h&&((B||tt(c))&&(s.values=y.getPayload(),s.toValues=tt(f)?null:F==ei?[1]:Be(g)),s.immediate!=P&&(s.immediate=P,!P&&!v&&this._set(c)),B)){const{onRest:L}=s;oe(yx,M=>cl(this,t,M));const Z=ut(this,Rr(this,c));Dr(this._pendingCalls,Z),this._pendingCalls.add(n),s.changed&&ce.batchedUpdates(()=>{var M;s.changed=!v,L==null||L(Z,this),v?He(o.onRest,Z):(M=s.onStart)==null||M.call(s,Z,this)})}v&&this._set(E),h?n(Wp(t.to,t,this._state,this)):B?this._start():zt(this)&&!b?this._pendingCalls.add(n):n(qp(E))}_focus(e){const t=this.animation;e!==t.to&&(Xf(this)&&this._detach(),t.to=e,Xf(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;tt(t)&&(ir(t,this),rc(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;tt(e)&&Qr(e,this)}_set(e,t=!0){const n=We(e);if(!N.und(n)){const r=gt(this);if(!r||!Rt(n,r.getValue())){const i=Zs(n);!r||r.constructor!=i?ou(this,i.create(n)):r.setValue(n),r&&ce.batchedUpdates(()=>{this._onChange(n,t)})}}return gt(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Sr(this,"onStart",ut(this,Rr(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),He(this.animation.onChange,e,this)),He(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;gt(this).reset(We(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),zt(this)||(al(this,!0),Cr(this)||this._resume())}_resume(){pt.skipAnimation?this.finish():Wa.start(this)}_stop(e,t){if(zt(this)){al(this,!1);const n=this.animation;oe(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Jr(this,{type:"idle",parent:this});const r=t?qn(this.get()):ut(this.get(),Rr(this,e??n.to));Dr(this._pendingCalls,r),n.changed&&(n.changed=!1,Sr(this,"onRest",r,this))}}};function Rr(e,t){const n=ti(t),r=ti(e.get());return Rt(r,n)}function Vp(e,t=e.loop,n=e.to){const r=He(t);if(r){const i=r!==!0&&su(r),a=(i||e).reverse,o=!i||i.reset;return ri({...e,loop:t,default:!1,pause:void 0,to:!a||ec(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function ri(e){const{to:t,from:n}=e=su(e),r=new Set;return N.obj(t)&&sl(t,r),N.obj(n)&&sl(n,r),e.keys=r.size?Array.from(r):null,e}function vx(e){const t=ri(e);return N.und(t.default)&&(t.default=Xa(t)),t}function sl(e,t){xt(e,(n,r)=>n!=null&&t.add(r))}var yx=["onStart","onRest","onChange","onPause","onResume"];function cl(e,t,n){e.animation[n]=t[n]!==Fp(t,n)?Np(t[n],e.key):void 0}function Sr(e,t,...n){var r,i,a,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(a=e.defaultProps)[t])==null||o.call(a,...n)}var _x=["onStart","onChange","onRest"],xx=1,Yp=class{constructor(e,t){this.id=xx++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];N.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(ri(e)),this}start(e){let{queue:t}=this;return e?t=Be(e).map(ri):this.queue=[],this._flush?this._flush(this,t):(Qp(this,t),oc(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;oe(Be(t),r=>n[r].stop(!!e))}else ni(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(N.und(e))this.start({pause:!0});else{const t=this.springs;oe(Be(e),n=>t[n].pause())}return this}resume(e){if(N.und(e))this.start({pause:!1});else{const t=this.springs;oe(Be(e),n=>t[n].resume())}return this}each(e){xt(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,Br(e,([s,c])=>{c.value=this.get(),s(c,this,this._item)}));const a=!r&&this._started,o=i||a&&n.size?this.get():null;i&&t.size&&Br(t,([s,c])=>{c.value=o,s(c,this,this._item)}),a&&(this._started=!1,Br(n,([s,c])=>{c.value=o,s(c,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;ce.onFrame(this._onFrame)}};function oc(e,t){return Promise.all(t.map(n=>Gp(e,n))).then(n=>uu(e,n))}async function Gp(e,t,n){const{keys:r,to:i,from:a,loop:o,onRest:s,onResolve:c}=t,u=N.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const f=N.arr(i)||N.fun(i)?i:void 0;f?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):oe(_x,m=>{const p=t[m];if(N.fun(p)){const x=e._events[m];t[m]=({finished:y,cancelled:v})=>{const E=x.get(p);E?(y||(E.finished=!1),v&&(E.cancelled=!0)):x.set(p,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[m]=t[m])}});const l=e._state;t.pause===!l.paused?(l.paused=t.pause,Dr(t.pause?l.pauseQueue:l.resumeQueue)):l.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),b=t.cancel===!0||Fp(t,"cancel")===!0;(f||b&&l.asyncId)&&d.push(Bp(++e._lastAsyncId,{props:t,state:l,actions:{pause:Xs,resume:Xs,start(m,p){b?(ni(l,e._lastAsyncId),p(qn(e))):(m.onRest=s,p(Wp(f,m,l,e)))}}})),l.paused&&await new Promise(m=>{l.resumeQueue.add(m)});const h=uu(e,await Promise.all(d));if(o&&h.finished&&!(n&&h.noop)){const m=Vp(t,o,i);if(m)return Qp(e,[m]),Gp(e,m,!0)}return c&&ce.batchedUpdates(()=>c(h,e,e.item)),h}function sc(e,t){const n={...e.springs};return t&&oe(Be(t),r=>{N.und(r.keys)&&(r=ri(r)),N.obj(r.to)||(r={...r,to:void 0}),Jp(n,r,i=>Xp(i))}),Kp(e,n),n}function Kp(e,t){xt(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ir(n,e))})}function Xp(e,t){const n=new gx;return n.key=e,t&&ir(n,t),n}function Jp(e,t,n){t.keys&&oe(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Qp(e,t){oe(t,n=>{Jp(e.springs,n,r=>Xp(r,e))})}var mi=({children:e,...t})=>{const n=_.useContext(va),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=ex(()=>({pause:r,immediate:i}),[r,i]);const{Provider:a}=va;return fe.createElement(a,{value:t},e)},va=wx(mi,{});mi.Provider=va.Provider;mi.Consumer=va.Consumer;function wx(e,t){return Object.assign(e,fe.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var Zp=()=>{const e=[],t=function(r){Q_();const i=[];return oe(e,(a,o)=>{if(N.und(r))i.push(a.start());else{const s=n(r,a,o);s&&i.push(a.start(s))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return oe(e,r=>r.pause(...arguments)),this},t.resume=function(){return oe(e,r=>r.resume(...arguments)),this},t.set=function(r){oe(e,(i,a)=>{const o=N.fun(r)?r(a,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return oe(e,(a,o)=>{if(N.und(r))i.push(a.start());else{const s=this._getProps(r,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return oe(e,r=>r.stop(...arguments)),this},t.update=function(r){return oe(e,(i,a)=>i.update(this._getProps(r,i,a))),this};const n=function(r,i,a){return N.fun(r)?r(a,i):r};return t._getProps=n,t};function Ox(e,t,n){const r=N.fun(t)&&t;r&&!n&&(n=[]);const i=_.useMemo(()=>r||arguments.length==3?Zp():void 0,[]),a=_.useRef(0),o=iu(),s=_.useMemo(()=>({ctrls:[],queue:[],flush(x,y){const v=sc(x,y);return a.current>0&&!s.queue.length&&!Object.keys(v).some(g=>!x.springs[g])?oc(x,y):new Promise(g=>{Kp(x,v),s.queue.push(()=>{g(oc(x,y))}),o()})}}),[]),c=_.useRef([...s.ctrls]),u=[],f=Qs(e)||0;_.useMemo(()=>{oe(c.current.slice(e,f),x=>{tc(x,i),x.stop(!0)}),c.current.length=e,l(f,e)},[e]),_.useMemo(()=>{l(0,Math.min(f,e))},n);function l(x,y){for(let v=x;v<y;v++){const E=c.current[v]||(c.current[v]=new Yp(null,s.flush)),g=r?r(v,E):t[v];g&&(u[v]=vx(g))}}const d=c.current.map((x,y)=>sc(x,u[y])),b=_.useContext(mi),h=Qs(b),m=b!==h&&Up(b);hn(()=>{a.current++,s.ctrls=c.current;const{queue:x}=s;x.length&&(s.queue=[],oe(x,y=>y())),oe(c.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:b});const E=u[v];E&&(zp(y,E.ref),y.ref?y.queue.push(E):y.start(E))})}),au(()=>()=>{oe(s.ctrls,x=>x.stop(!0))});const p=d.map(x=>({...x}));return i?[p,i]:p}function lu(e,t){const n=N.fun(e),[[r],i]=Ox(1,n?e:[e],n?[]:t);return n||arguments.length==2?[r,i]:r}function du(e,t,n){const r=N.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:c=!1,onDestroyed:u,ref:f,config:l}=r?r():t,d=_.useMemo(()=>r||arguments.length==3?Zp():void 0,[]),b=Be(e),h=[],m=_.useRef(null),p=i?null:m.current;hn(()=>{m.current=h}),au(()=>(oe(h,S=>{d==null||d.add(S.ctrl),S.ctrl.ref=d}),()=>{oe(m.current,S=>{S.expired&&clearTimeout(S.expirationId),tc(S.ctrl,d),S.ctrl.stop(!0)})}));const x=Tx(b,r?r():t,p),y=i&&m.current||[];hn(()=>oe(y,({ctrl:S,item:I,key:q})=>{tc(S,d),He(u,I,q)}));const v=[];if(p&&oe(p,(S,I)=>{S.expired?(clearTimeout(S.expirationId),y.push(S)):(I=v[I]=x.indexOf(S.key),~I&&(h[I]=S))}),oe(b,(S,I)=>{h[I]||(h[I]={key:x[I],item:S,phase:"mount",ctrl:new Yp},h[I].ctrl.item=S)}),v.length){let S=-1;const{leave:I}=r?r():t;oe(v,(q,H)=>{const ne=p[H];~q?(S=h.indexOf(ne),h[S]={...ne,item:b[q]}):I&&h.splice(++S,0,ne)})}N.fun(a)&&h.sort((S,I)=>a(S.item,I.item));let E=-o;const g=iu(),C=Xa(t),P=new Map,F=_.useRef(new Map),B=_.useRef(!1);oe(h,(S,I)=>{const q=S.key,H=S.phase,ne=r?r():t;let V,A;const U=He(ne.delay||0,q);if(H=="mount")V=ne.enter,A="enter";else{const Y=x.indexOf(q)<0;if(H!="leave")if(Y)V=ne.leave,A="leave";else if(V=ne.update)A="update";else return;else if(!Y)V=ne.enter,A="enter";else return}if(V=He(V,S.item,I),V=N.obj(V)?su(V):{to:V},!V.config){const Y=l||C.config;V.config=He(Y,S.item,I,A)}E+=o;const K={...C,delay:U+E,ref:f,immediate:ne.immediate,reset:!1,...V};if(A=="enter"&&N.und(K.from)){const Y=r?r():t,W=N.und(Y.initial)||p?Y.from:Y.initial;K.from=He(W,S.item,I)}const{onResolve:te}=K;K.onResolve=Y=>{He(te,Y);const W=m.current,G=W.find(J=>J.key===q);if(G&&!(Y.cancelled&&G.phase!="update")&&G.ctrl.idle){const J=W.every(k=>k.ctrl.idle);if(G.phase=="leave"){const k=He(s,G.item);if(k!==!1){const z=k===!0?0:k;if(G.expired=!0,!J&&z>0){z<=2147483647&&(G.expirationId=setTimeout(g,z));return}}}J&&W.some(k=>k.expired)&&(F.current.delete(G),c&&(B.current=!0),g())}};const X=sc(S.ctrl,K);A==="leave"&&c?F.current.set(S,{phase:A,springs:X,payload:K}):P.set(S,{phase:A,springs:X,payload:K})});const j=_.useContext(mi),L=Qs(j),Z=j!==L&&Up(j);hn(()=>{Z&&oe(h,S=>{S.ctrl.start({default:j})})},[j]),oe(P,(S,I)=>{if(F.current.size){const q=h.findIndex(H=>H.key===I.key);h.splice(q,1)}}),hn(()=>{oe(F.current.size?F.current:P,({phase:S,payload:I},q)=>{const{ctrl:H}=q;q.phase=S,d==null||d.add(H),Z&&S=="enter"&&H.start({default:j}),I&&(zp(H,I.ref),(H.ref||d)&&!B.current?H.update(I):(H.start(I),B.current&&(B.current=!1)))})},i?void 0:n);const M=S=>fe.createElement(fe.Fragment,null,h.map((I,q)=>{const{springs:H}=P.get(I)||I.ctrl,ne=S({...H},I.item,I,q);return ne&&ne.type?fe.createElement(ne.type,{...ne.props,key:N.str(I.key)||N.num(I.key)?I.key:I.ctrl.id,ref:ne.ref}):ne}));return d?[M,d]:M}var Ex=1;function Tx(e,{key:t,keys:n=t},r){if(n===null){const i=new Set;return e.map(a=>{const o=r&&r.find(s=>s.item===a&&s.phase!=="leave"&&!i.has(s));return o?(i.add(o),o.key):Ex++})}return N.und(n)?e:N.fun(n)?e.map(n):Be(n)}var e0=class extends fu{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Kr(...t);const n=this._get(),r=Zs(n);ou(this,r.create(n))}advance(e){const t=this._get(),n=this.get();Rt(t,n)||(gt(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ul(this._active)&&ds(this)}_get(){const e=N.arr(this.source)?this.source.map(We):Be(We(this.source));return this.calc(...e)}_start(){this.idle&&!ul(this._active)&&(this.idle=!1,oe(Ga(this),e=>{e.done=!1}),pt.skipAnimation?(ce.batchedUpdates(()=>this.advance()),ds(this)):Wa.start(this))}_attach(){let e=1;oe(Be(this.source),t=>{tt(t)&&ir(t,this),rc(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){oe(Be(this.source),e=>{tt(e)&&Qr(e,this)}),this._active.clear(),ds(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=Be(this.source).reduce((t,n)=>Math.max(t,(rc(n)?n.priority:0)+1),0))}};function Cx(e){return e.idle!==!1}function ul(e){return!e.size||Array.from(e).every(Cx)}function ds(e){e.idle||(e.idle=!0,oe(Ga(e),t=>{t.done=!0}),Jr(e,{type:"idle",parent:e}))}var gi=(e,...t)=>new e0(e,t);pt.assign({createStringInterpolator:jp,to:(e,t)=>new e0(e,t)});var t0=/^--/;function Rx(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!t0.test(e)&&!(Hr.hasOwnProperty(e)&&Hr[e])?t+"px":(""+t).trim()}var fl={};function Sx(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:r,children:i,scrollTop:a,scrollLeft:o,viewBox:s,...c}=t,u=Object.values(c),f=Object.keys(c).map(l=>n||e.hasAttribute(l)?l:fl[l]||(fl[l]=l.replace(/([A-Z])/g,d=>"-"+d.toLowerCase())));i!==void 0&&(e.textContent=i);for(const l in r)if(r.hasOwnProperty(l)){const d=Rx(l,r[l]);t0.test(l)?e.style.setProperty(l,d):e.style[l]=d}f.forEach((l,d)=>{e.setAttribute(l,u[d])}),a!==void 0&&(e.scrollTop=a),o!==void 0&&(e.scrollLeft=o),s!==void 0&&e.setAttribute("viewBox",s)}var Hr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ax=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),$x=["Webkit","Ms","Moz","O"];Hr=Object.keys(Hr).reduce((e,t)=>($x.forEach(n=>e[Ax(n,t)]=e[t]),e),Hr);var Mx=/^(matrix|translate|scale|rotate|skew)/,kx=/^(translate)/,Px=/^(rotate|skew)/,hs=(e,t)=>N.num(e)&&e!==0?e+t:e,ea=(e,t)=>N.arr(e)?e.every(n=>ea(n,t)):N.num(e)?e===t:parseFloat(e)===t,jx=class extends Ka{constructor({x:e,y:t,z:n,...r}){const i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push(o=>[`translate3d(${o.map(s=>hs(s,"px")).join(",")})`,ea(o,0)])),xt(r,(o,s)=>{if(s==="transform")i.push([o||""]),a.push(c=>[c,c===""]);else if(Mx.test(s)){if(delete r[s],N.und(o))return;const c=kx.test(s)?"px":Px.test(s)?"deg":"";i.push(Be(o)),a.push(s==="rotate3d"?([u,f,l,d])=>[`rotate3d(${u},${f},${l},${hs(d,c)})`,ea(d,0)]:u=>[`${s}(${u.map(f=>hs(f,c)).join(",")})`,ea(u,s.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new Lx(i,a)),super(r)}},Lx=class extends Mp{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return oe(this.inputs,(n,r)=>{const i=We(n[0]),[a,o]=this.transforms[r](N.arr(i)?i:n.map(We));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){e==1&&oe(this.inputs,t=>oe(t,n=>tt(n)&&ir(n,this)))}observerRemoved(e){e==0&&oe(this.inputs,t=>oe(t,n=>tt(n)&&Qr(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Jr(this,e)}},Ix=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];pt.assign({batchedUpdates:ln.unstable_batchedUpdates,createStringInterpolator:jp,colors:A_});var Dx=cx(Ix,{applyAnimatedValues:Sx,createAnimatedStyle:e=>new jx(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),At=Dx.animated;function En(){return En=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},En.apply(this,arguments)}var Nx={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},ll=function(e,t){return"translate("+e+"px, "+t+"px)"},n0=_.memo(function(e){var t,n=e.position,r=e.anchor,i=e.children,a=et(),o=lr(),s=o.animate,c=o.config,u=Sb(),f=u[0],l=u[1],d=_.useRef(!1),b=void 0,h=!1,m=l.width>0&&l.height>0,p=Math.round(n[0]),x=Math.round(n[1]);m&&(r==="top"?(p-=l.width/2,x-=l.height+14):r==="right"?(p+=14,x-=l.height/2):r==="bottom"?(p-=l.width/2,x+=14):r==="left"?(p-=l.width+14,x-=l.height/2):r==="center"&&(p-=l.width/2,x-=l.height/2),b={transform:ll(p,x)},d.current||(h=!0),d.current=[p,x]);var y=lu({to:b,config:c,immediate:!s||h}),v=En({},Nx,a.tooltip.wrapper,{transform:(t=y.transform)!=null?t:ll(p,x),opacity:y.transform?1:0});return R.jsx(At.div,{ref:f,style:v,children:i})});n0.displayName="TooltipWrapper";var Fx=_.memo(function(e){var t=e.size,n=t===void 0?12:t,r=e.color,i=e.style;return R.jsx("span",{style:En({display:"block",width:n,height:n,background:r},i===void 0?{}:i)})}),Ux=_.memo(function(e){var t,n=e.id,r=e.value,i=e.format,a=e.enableChip,o=a!==void 0&&a,s=e.color,c=e.renderContent,u=et(),f=Ab(i);if(typeof c=="function")t=c();else{var l=r;f!==void 0&&l!==void 0&&(l=f(l)),t=R.jsxs("div",{style:u.tooltip.basic,children:[o&&R.jsx(Fx,{color:s,style:u.tooltip.chip}),l!==void 0?R.jsxs("span",{children:[n,": ",R.jsx("strong",{children:""+l})]}):n]})}return R.jsx("div",{style:u.tooltip.container,children:t})}),zx={width:"100%",borderCollapse:"collapse"},Bx=_.memo(function(e){var t,n=e.title,r=e.rows,i=r===void 0?[]:r,a=e.renderContent,o=et();return i.length?(t=typeof a=="function"?a():R.jsxs("div",{children:[n&&n,R.jsx("table",{style:En({},zx,o.tooltip.table),children:R.jsx("tbody",{children:i.map(function(s,c){return R.jsx("tr",{children:s.map(function(u,f){return R.jsx("td",{style:o.tooltip.tableCell,children:u},f)})},c)})})})]}),R.jsx("div",{style:o.tooltip.container,children:t})):null});Bx.displayName="TableTooltip";var cc=_.memo(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,a=et(),o=lr(),s=o.animate,c=o.config,u=_.useMemo(function(){return En({},a.crosshair.line,{pointerEvents:"none"})},[a.crosshair.line]),f=lu({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!s});return R.jsx(At.line,En({},f,{fill:"none",style:u}))});cc.displayName="CrosshairLine";var qx=_.memo(function(e){var t,n,r=e.width,i=e.height,a=e.type,o=e.x,s=e.y;return a==="cross"?(t={x0:o,x1:o,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):a==="top-left"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:0,x1:o,y0:s,y1:s}):a==="top"?t={x0:o,x1:o,y0:0,y1:s}:a==="top-right"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:o,x1:r,y0:s,y1:s}):a==="right"?n={x0:o,x1:r,y0:s,y1:s}:a==="bottom-right"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:o,x1:r,y0:s,y1:s}):a==="bottom"?t={x0:o,x1:o,y0:s,y1:i}:a==="bottom-left"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:0,x1:o,y0:s,y1:s}):a==="left"?n={x0:0,x1:o,y0:s,y1:s}:a==="x"?t={x0:o,x1:o,y0:0,y1:i}:a==="y"&&(n={x0:0,x1:r,y0:s,y1:s}),R.jsxs(R.Fragment,{children:[t&&R.jsx(cc,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&R.jsx(cc,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});qx.displayName="Crosshair";var r0=_.createContext({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),uc={isVisible:!1,position:[null,null],content:null,anchor:null},i0=_.createContext(uc),Wx=function(e){var t=_.useState(uc),n=t[0],r=t[1],i=_.useCallback(function(s,c,u){var f=c[0],l=c[1];u===void 0&&(u="top"),r({isVisible:!0,position:[f,l],anchor:u,content:s})},[r]),a=_.useCallback(function(s,c,u){u===void 0&&(u="top");var f=e.current.getBoundingClientRect(),l=e.current.offsetWidth,d=l===f.width?1:l/f.width,b="touches"in c?c.touches[0]:c,h=b.clientX,m=b.clientY,p=(h-f.left)*d,x=(m-f.top)*d;u!=="left"&&u!=="right"||(u=p<f.width/2?"right":"left"),r({isVisible:!0,position:[p,x],anchor:u,content:s})},[e,r]),o=_.useCallback(function(){r(uc)},[r]);return{actions:_.useMemo(function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:o}},[i,a,o]),state:n}},Hx=function(){var e=_.useContext(r0);if(e===void 0)throw new Error("useTooltip must be used within a TooltipProvider");return e},Vx=function(){var e=_.useContext(i0);if(e===void 0)throw new Error("useTooltipState must be used within a TooltipProvider");return e},Yx=function(e){return e.isVisible},Gx=function(){var e=Vx();return Yx(e)?R.jsx(n0,{position:e.position,anchor:e.anchor,children:e.content}):null},Kx=function(e){var t=e.container,n=e.children,r=Wx(t),i=r.actions,a=r.state;return R.jsx(r0.Provider,{value:i,children:R.jsx(i0.Provider,{value:a,children:n})})};function Xx(){this.__data__=[],this.size=0}var Jx=Xx;function Qx(e,t){return e===t||e!==e&&t!==t}var vi=Qx,Zx=vi;function ew(e,t){for(var n=e.length;n--;)if(Zx(e[n][0],t))return n;return-1}var Ja=ew,tw=Ja,nw=Array.prototype,rw=nw.splice;function iw(e){var t=this.__data__,n=tw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():rw.call(t,n,1),--this.size,!0}var aw=iw,ow=Ja;function sw(e){var t=this.__data__,n=ow(t,e);return n<0?void 0:t[n][1]}var cw=sw,uw=Ja;function fw(e){return uw(this.__data__,e)>-1}var lw=fw,dw=Ja;function hw(e,t){var n=this.__data__,r=dw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var pw=hw,bw=Jx,mw=aw,gw=cw,vw=lw,yw=pw;function ar(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])}}ar.prototype.clear=bw;ar.prototype.delete=mw;ar.prototype.get=gw;ar.prototype.has=vw;ar.prototype.set=yw;var Qa=ar,_w=Qa;function xw(){this.__data__=new _w,this.size=0}var ww=xw;function Ow(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Ew=Ow;function Tw(e){return this.__data__.get(e)}var Cw=Tw;function Rw(e){return this.__data__.has(e)}var Sw=Rw,Aw=typeof $i=="object"&&$i&&$i.Object===Object&&$i,a0=Aw,$w=a0,Mw=typeof self=="object"&&self&&self.Object===Object&&self,kw=$w||Mw||Function("return this")(),Ot=kw,Pw=Ot,jw=Pw.Symbol,yi=jw,dl=yi,o0=Object.prototype,Lw=o0.hasOwnProperty,Iw=o0.toString,Ar=dl?dl.toStringTag:void 0;function Dw(e){var t=Lw.call(e,Ar),n=e[Ar];try{e[Ar]=void 0;var r=!0}catch{}var i=Iw.call(e);return r&&(t?e[Ar]=n:delete e[Ar]),i}var Nw=Dw,Fw=Object.prototype,Uw=Fw.toString;function zw(e){return Uw.call(e)}var Bw=zw,hl=yi,qw=Nw,Ww=Bw,Hw="[object Null]",Vw="[object Undefined]",pl=hl?hl.toStringTag:void 0;function Yw(e){return e==null?e===void 0?Vw:Hw:pl&&pl in Object(e)?qw(e):Ww(e)}var An=Yw;function Gw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nn=Gw,Kw=An,Xw=nn,Jw="[object AsyncFunction]",Qw="[object Function]",Zw="[object GeneratorFunction]",e4="[object Proxy]";function t4(e){if(!Xw(e))return!1;var t=Kw(e);return t==Qw||t==Zw||t==Jw||t==e4}var Za=t4;const s0=Ke(Za);var n4=Ot,r4=n4["__core-js_shared__"],i4=r4,ps=i4,bl=function(){var e=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function a4(e){return!!bl&&bl in e}var o4=a4,s4=Function.prototype,c4=s4.toString;function u4(e){if(e!=null){try{return c4.call(e)}catch{}try{return e+""}catch{}}return""}var c0=u4,f4=Za,l4=o4,d4=nn,h4=c0,p4=/[\\^$.*+?()[\]{}|]/g,b4=/^\[object .+?Constructor\]$/,m4=Function.prototype,g4=Object.prototype,v4=m4.toString,y4=g4.hasOwnProperty,_4=RegExp("^"+v4.call(y4).replace(p4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function x4(e){if(!d4(e)||l4(e))return!1;var t=f4(e)?_4:b4;return t.test(h4(e))}var w4=x4;function O4(e,t){return e==null?void 0:e[t]}var E4=O4,T4=w4,C4=E4;function R4(e,t){var n=C4(e,t);return T4(n)?n:void 0}var $n=R4,S4=$n,A4=Ot,$4=S4(A4,"Map"),hu=$4,M4=$n,k4=M4(Object,"create"),eo=k4,ml=eo;function P4(){this.__data__=ml?ml(null):{},this.size=0}var j4=P4;function L4(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var I4=L4,D4=eo,N4="__lodash_hash_undefined__",F4=Object.prototype,U4=F4.hasOwnProperty;function z4(e){var t=this.__data__;if(D4){var n=t[e];return n===N4?void 0:n}return U4.call(t,e)?t[e]:void 0}var B4=z4,q4=eo,W4=Object.prototype,H4=W4.hasOwnProperty;function V4(e){var t=this.__data__;return q4?t[e]!==void 0:H4.call(t,e)}var Y4=V4,G4=eo,K4="__lodash_hash_undefined__";function X4(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=G4&&t===void 0?K4:t,this}var J4=X4,Q4=j4,Z4=I4,e3=B4,t3=Y4,n3=J4;function or(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])}}or.prototype.clear=Q4;or.prototype.delete=Z4;or.prototype.get=e3;or.prototype.has=t3;or.prototype.set=n3;var r3=or,gl=r3,i3=Qa,a3=hu;function o3(){this.size=0,this.__data__={hash:new gl,map:new(a3||i3),string:new gl}}var s3=o3;function c3(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var u3=c3,f3=u3;function l3(e,t){var n=e.__data__;return f3(t)?n[typeof t=="string"?"string":"hash"]:n.map}var to=l3,d3=to;function h3(e){var t=d3(this,e).delete(e);return this.size-=t?1:0,t}var p3=h3,b3=to;function m3(e){return b3(this,e).get(e)}var g3=m3,v3=to;function y3(e){return v3(this,e).has(e)}var _3=y3,x3=to;function w3(e,t){var n=x3(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var O3=w3,E3=s3,T3=p3,C3=g3,R3=_3,S3=O3;function sr(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])}}sr.prototype.clear=E3;sr.prototype.delete=T3;sr.prototype.get=C3;sr.prototype.has=R3;sr.prototype.set=S3;var pu=sr,A3=Qa,$3=hu,M3=pu,k3=200;function P3(e,t){var n=this.__data__;if(n instanceof A3){var r=n.__data__;if(!$3||r.length<k3-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new M3(r)}return n.set(e,t),this.size=n.size,this}var j3=P3,L3=Qa,I3=ww,D3=Ew,N3=Cw,F3=Sw,U3=j3;function cr(e){var t=this.__data__=new L3(e);this.size=t.size}cr.prototype.clear=I3;cr.prototype.delete=D3;cr.prototype.get=N3;cr.prototype.has=F3;cr.prototype.set=U3;var u0=cr,z3=$n,B3=function(){try{var e=z3(Object,"defineProperty");return e({},"",{}),e}catch{}}(),f0=B3,vl=f0;function q3(e,t,n){t=="__proto__"&&vl?vl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var bu=q3,W3=bu,H3=vi;function V3(e,t,n){(n!==void 0&&!H3(e[t],n)||n===void 0&&!(t in e))&&W3(e,t,n)}var l0=V3;function Y3(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var G3=Y3,K3=G3,X3=K3(),J3=X3,ya={exports:{}};ya.exports;(function(e,t){var n=Ot,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;function c(u,f){if(f)return u.slice();var l=u.length,d=s?s(l):new u.constructor(l);return u.copy(d),d}e.exports=c})(ya,ya.exports);var Q3=ya.exports,Z3=Ot,e5=Z3.Uint8Array,d0=e5,yl=d0;function t5(e){var t=new e.constructor(e.byteLength);return new yl(t).set(new yl(e)),t}var n5=t5,r5=n5;function i5(e,t){var n=t?r5(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var a5=i5;function o5(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var s5=o5,c5=nn,_l=Object.create,u5=function(){function e(){}return function(t){if(!c5(t))return{};if(_l)return _l(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),f5=u5;function l5(e,t){return function(n){return e(t(n))}}var h0=l5,d5=h0,h5=d5(Object.getPrototypeOf,Object),p0=h5,p5=Object.prototype;function b5(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||p5;return e===n}var mu=b5,m5=f5,g5=p0,v5=mu;function y5(e){return typeof e.constructor=="function"&&!v5(e)?m5(g5(e)):{}}var _5=y5;function x5(e){return e!=null&&typeof e=="object"}var rn=x5,w5=An,O5=rn,E5="[object Arguments]";function T5(e){return O5(e)&&w5(e)==E5}var C5=T5,xl=C5,R5=rn,b0=Object.prototype,S5=b0.hasOwnProperty,A5=b0.propertyIsEnumerable,$5=xl(function(){return arguments}())?xl:function(e){return R5(e)&&S5.call(e,"callee")&&!A5.call(e,"callee")},no=$5,M5=Array.isArray,Et=M5,k5=9007199254740991;function P5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=k5}var gu=P5,j5=Za,L5=gu;function I5(e){return e!=null&&L5(e.length)&&!j5(e)}var ro=I5,D5=ro,N5=rn;function F5(e){return N5(e)&&D5(e)}var m0=F5,_a={exports:{}};function U5(){return!1}var z5=U5;_a.exports;(function(e,t){var n=Ot,r=z5,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?n.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||r;e.exports=u})(_a,_a.exports);var vu=_a.exports,B5=An,q5=p0,W5=rn,H5="[object Object]",V5=Function.prototype,Y5=Object.prototype,g0=V5.toString,G5=Y5.hasOwnProperty,K5=g0.call(Object);function X5(e){if(!W5(e)||B5(e)!=H5)return!1;var t=q5(e);if(t===null)return!0;var n=G5.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&g0.call(n)==K5}var v0=X5;const yu=Ke(v0);var J5=An,Q5=gu,Z5=rn,e6="[object Arguments]",t6="[object Array]",n6="[object Boolean]",r6="[object Date]",i6="[object Error]",a6="[object Function]",o6="[object Map]",s6="[object Number]",c6="[object Object]",u6="[object RegExp]",f6="[object Set]",l6="[object String]",d6="[object WeakMap]",h6="[object ArrayBuffer]",p6="[object DataView]",b6="[object Float32Array]",m6="[object Float64Array]",g6="[object Int8Array]",v6="[object Int16Array]",y6="[object Int32Array]",_6="[object Uint8Array]",x6="[object Uint8ClampedArray]",w6="[object Uint16Array]",O6="[object Uint32Array]",Re={};Re[b6]=Re[m6]=Re[g6]=Re[v6]=Re[y6]=Re[_6]=Re[x6]=Re[w6]=Re[O6]=!0;Re[e6]=Re[t6]=Re[h6]=Re[n6]=Re[p6]=Re[r6]=Re[i6]=Re[a6]=Re[o6]=Re[s6]=Re[c6]=Re[u6]=Re[f6]=Re[l6]=Re[d6]=!1;function E6(e){return Z5(e)&&Q5(e.length)&&!!Re[J5(e)]}var T6=E6;function C6(e){return function(t){return e(t)}}var y0=C6,xa={exports:{}};xa.exports;(function(e,t){var n=a0,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a&&n.process,s=function(){try{var c=i&&i.require&&i.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(xa,xa.exports);var R6=xa.exports,S6=T6,A6=y0,wl=R6,Ol=wl&&wl.isTypedArray,$6=Ol?A6(Ol):S6,_u=$6;function M6(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var _0=M6,k6=bu,P6=vi,j6=Object.prototype,L6=j6.hasOwnProperty;function I6(e,t,n){var r=e[t];(!(L6.call(e,t)&&P6(r,n))||n===void 0&&!(t in e))&&k6(e,t,n)}var x0=I6,D6=x0,N6=bu;function F6(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?N6(n,s,c):D6(n,s,c)}return n}var U6=F6;function z6(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var B6=z6,q6=9007199254740991,W6=/^(?:0|[1-9]\d*)$/;function H6(e,t){var n=typeof e;return t=t??q6,!!t&&(n=="number"||n!="symbol"&&W6.test(e))&&e>-1&&e%1==0&&e<t}var io=H6,V6=B6,Y6=no,G6=Et,K6=vu,X6=io,J6=_u,Q6=Object.prototype,Z6=Q6.hasOwnProperty;function e8(e,t){var n=G6(e),r=!n&&Y6(e),i=!n&&!r&&K6(e),a=!n&&!r&&!i&&J6(e),o=n||r||i||a,s=o?V6(e.length,String):[],c=s.length;for(var u in e)(t||Z6.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||X6(u,c)))&&s.push(u);return s}var w0=e8;function t8(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var n8=t8,r8=nn,i8=mu,a8=n8,o8=Object.prototype,s8=o8.hasOwnProperty;function c8(e){if(!r8(e))return a8(e);var t=i8(e),n=[];for(var r in e)r=="constructor"&&(t||!s8.call(e,r))||n.push(r);return n}var u8=c8,f8=w0,l8=u8,d8=ro;function h8(e){return d8(e)?f8(e,!0):l8(e)}var O0=h8,p8=U6,b8=O0;function m8(e){return p8(e,b8(e))}var g8=m8,El=l0,v8=Q3,y8=a5,_8=s5,x8=_5,Tl=no,Cl=Et,w8=m0,O8=vu,E8=Za,T8=nn,C8=v0,R8=_u,Rl=_0,S8=g8;function A8(e,t,n,r,i,a,o){var s=Rl(e,n),c=Rl(t,n),u=o.get(c);if(u){El(e,n,u);return}var f=a?a(s,c,n+"",e,t,o):void 0,l=f===void 0;if(l){var d=Cl(c),b=!d&&O8(c),h=!d&&!b&&R8(c);f=c,d||b||h?Cl(s)?f=s:w8(s)?f=_8(s):b?(l=!1,f=v8(c,!0)):h?(l=!1,f=y8(c,!0)):f=[]:C8(c)||Tl(c)?(f=s,Tl(s)?f=S8(s):(!T8(s)||E8(s))&&(f=x8(c))):l=!1}l&&(o.set(c,f),i(f,c,r,a,o),o.delete(c)),El(e,n,f)}var $8=A8,M8=u0,k8=l0,P8=J3,j8=$8,L8=nn,I8=O0,D8=_0;function E0(e,t,n,r,i){e!==t&&P8(t,function(a,o){if(i||(i=new M8),L8(a))j8(e,t,o,n,E0,r,i);else{var s=r?r(D8(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),k8(e,o,s)}},I8)}var N8=E0;function F8(e){return e}var T0=F8;function U8(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 z8=U8,B8=z8,Sl=Math.max;function q8(e,t,n){return t=Sl(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Sl(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),B8(e,this,s)}}var C0=q8;function W8(e){return function(){return e}}var H8=W8,V8=H8,Al=f0,Y8=T0,G8=Al?function(e,t){return Al(e,"toString",{configurable:!0,enumerable:!1,value:V8(t),writable:!0})}:Y8,K8=G8,X8=800,J8=16,Q8=Date.now;function Z8(e){var t=0,n=0;return function(){var r=Q8(),i=J8-(r-n);if(n=r,i>0){if(++t>=X8)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var e7=Z8,t7=K8,n7=e7,r7=n7(t7),R0=r7,i7=T0,a7=C0,o7=R0;function s7(e,t){return o7(a7(e,t,i7),e+"")}var S0=s7,c7=vi,u7=ro,f7=io,l7=nn;function d7(e,t,n){if(!l7(n))return!1;var r=typeof t;return(r=="number"?u7(n)&&f7(t,n.length):r=="string"&&t in n)?c7(n[t],e):!1}var h7=d7,p7=S0,b7=h7;function m7(e){return p7(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&b7(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var g7=m7,v7=N8,y7=g7,_7=y7(function(e,t,n){v7(e,t,n)}),x7=_7;const w7=Ke(x7);var O7=An,E7=rn,T7="[object Symbol]";function C7(e){return typeof e=="symbol"||E7(e)&&O7(e)==T7}var xu=C7,R7=Et,S7=xu,A7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$7=/^\w*$/;function M7(e,t){if(R7(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||S7(e)?!0:$7.test(e)||!A7.test(e)||t!=null&&e in Object(t)}var k7=M7,A0=pu,P7="Expected a function";function wu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(P7);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(wu.Cache||A0),n}wu.Cache=A0;var j7=wu,L7=j7,I7=500;function D7(e){var t=L7(e,function(r){return n.size===I7&&n.clear(),r}),n=t.cache;return t}var N7=D7,F7=N7,U7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z7=/\\(\\)?/g,B7=F7(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(U7,function(n,r,i,a){t.push(i?a.replace(z7,"$1"):r||n)}),t}),q7=B7;function W7(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var $0=W7,$l=yi,H7=$0,V7=Et,Y7=xu,G7=1/0,Ml=$l?$l.prototype:void 0,kl=Ml?Ml.toString:void 0;function M0(e){if(typeof e=="string")return e;if(V7(e))return H7(e,M0)+"";if(Y7(e))return kl?kl.call(e):"";var t=e+"";return t=="0"&&1/e==-G7?"-0":t}var K7=M0,X7=K7;function J7(e){return e==null?"":X7(e)}var Q7=J7,Z7=Et,e9=k7,t9=q7,n9=Q7;function r9(e,t){return Z7(e)?e:e9(e,t)?[e]:t9(n9(e))}var ao=r9,i9=xu,a9=1/0;function o9(e){if(typeof e=="string"||i9(e))return e;var t=e+"";return t=="0"&&1/e==-a9?"-0":t}var Ou=o9,s9=ao,c9=Ou;function u9(e,t){t=s9(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[c9(t[n++])];return n&&n==r?e:void 0}var k0=u9,f9=k0;function l9(e,t,n){var r=e==null?void 0:f9(e,t);return r===void 0?n:r}var d9=l9;const Pt=Ke(d9);var h9=x0,p9=ao,b9=io,Pl=nn,m9=Ou;function g9(e,t,n,r){if(!Pl(e))return e;t=p9(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var c=m9(t[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=o){var f=s[c];u=r?r(f,c,s):void 0,u===void 0&&(u=Pl(f)?f:b9(t[i+1])?[]:{})}h9(s,c,u),s=s[c]}return e}var P0=g9,v9=P0;function y9(e,t,n){return e==null?e:v9(e,t,n)}var _9=y9;const Nr=Ke(_9);function oo(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Eu(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ur(){}var Tn=.7,Qn=1/Tn,Wn="\\s*([+-]?\\d+)\\s*",ii="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_t="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x9=/^#([0-9a-f]{3,8})$/,w9=new RegExp(`^rgb\\(${Wn},${Wn},${Wn}\\)$`),O9=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),E9=new RegExp(`^rgba\\(${Wn},${Wn},${Wn},${ii}\\)$`),T9=new RegExp(`^rgba\\(${_t},${_t},${_t},${ii}\\)$`),C9=new RegExp(`^hsl\\(${ii},${_t},${_t}\\)$`),R9=new RegExp(`^hsla\\(${ii},${_t},${_t},${ii}\\)$`),jl={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};oo(ur,Tu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ll,formatHex:Ll,formatHex8:S9,formatHsl:A9,formatRgb:Il,toString:Il});function Ll(){return this.rgb().formatHex()}function S9(){return this.rgb().formatHex8()}function A9(){return L0(this).formatHsl()}function Il(){return this.rgb().formatRgb()}function Tu(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=x9.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Dl(t):n===3?new ze(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Fi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Fi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=w9.exec(e))?new ze(t[1],t[2],t[3],1):(t=O9.exec(e))?new ze(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=E9.exec(e))?Fi(t[1],t[2],t[3],t[4]):(t=T9.exec(e))?Fi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=C9.exec(e))?Ul(t[1],t[2]/100,t[3]/100,1):(t=R9.exec(e))?Ul(t[1],t[2]/100,t[3]/100,t[4]):jl.hasOwnProperty(e)?Dl(jl[e]):e==="transparent"?new ze(NaN,NaN,NaN,0):null}function Dl(e){return new ze(e>>16&255,e>>8&255,e&255,1)}function Fi(e,t,n,r){return r<=0&&(e=t=n=NaN),new ze(e,t,n,r)}function j0(e){return e instanceof ur||(e=Tu(e)),e?(e=e.rgb(),new ze(e.r,e.g,e.b,e.opacity)):new ze}function Zn(e,t,n,r){return arguments.length===1?j0(e):new ze(e,t,n,r??1)}function ze(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}oo(ze,Zn,Eu(ur,{brighter(e){return e=e==null?Qn:Math.pow(Qn,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ze(vn(this.r),vn(this.g),vn(this.b),wa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Nl,formatHex:Nl,formatHex8:$9,formatRgb:Fl,toString:Fl}));function Nl(){return`#${pn(this.r)}${pn(this.g)}${pn(this.b)}`}function $9(){return`#${pn(this.r)}${pn(this.g)}${pn(this.b)}${pn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Fl(){const e=wa(this.opacity);return`${e===1?"rgb(":"rgba("}${vn(this.r)}, ${vn(this.g)}, ${vn(this.b)}${e===1?")":`, ${e})`}`}function wa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function vn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function pn(e){return e=vn(e),(e<16?"0":"")+e.toString(16)}function Ul(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ft(e,t,n,r)}function L0(e){if(e instanceof ft)return new ft(e.h,e.s,e.l,e.opacity);if(e instanceof ur||(e=Tu(e)),!e)return new ft;if(e instanceof ft)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(t===a?o=(n-r)/s+(n<r)*6:n===a?o=(r-t)/s+2:o=(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new ft(o,s,c,e.opacity)}function M9(e,t,n,r){return arguments.length===1?L0(e):new ft(e,t,n,r??1)}function ft(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}oo(ft,M9,Eu(ur,{brighter(e){return e=e==null?Qn:Math.pow(Qn,e),new ft(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new ft(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ze(bs(e>=240?e-240:e+120,i,r),bs(e,i,r),bs(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new ft(zl(this.h),Ui(this.s),Ui(this.l),wa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=wa(this.opacity);return`${e===1?"hsl(":"hsla("}${zl(this.h)}, ${Ui(this.s)*100}%, ${Ui(this.l)*100}%${e===1?")":`, ${e})`}`}}));function zl(e){return e=(e||0)%360,e<0?e+360:e}function Ui(e){return Math.max(0,Math.min(1,e||0))}function bs(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const k9=Math.PI/180,P9=180/Math.PI;var I0=-.14861,Cu=1.78277,Ru=-.29227,so=-.90649,ai=1.97294,Bl=ai*so,ql=ai*Cu,Wl=Cu*Ru-so*I0;function j9(e){if(e instanceof yn)return new yn(e.h,e.s,e.l,e.opacity);e instanceof ze||(e=j0(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Wl*r+Bl*t-ql*n)/(Wl+Bl-ql),a=r-i,o=(ai*(n-i)-Ru*a)/so,s=Math.sqrt(o*o+a*a)/(ai*i*(1-i)),c=s?Math.atan2(o,a)*P9-120:NaN;return new yn(c<0?c+360:c,s,i,e.opacity)}function wt(e,t,n,r){return arguments.length===1?j9(e):new yn(e,t,n,r??1)}function yn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}oo(yn,wt,Eu(ur,{brighter(e){return e=e==null?Qn:Math.pow(Qn,e),new yn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new yn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*k9,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new ze(255*(t+n*(I0*r+Cu*i)),255*(t+n*(Ru*r+so*i)),255*(t+n*(ai*r)),this.opacity)}}));function L9(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}function I9(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return L9((n-r/t)*t,o,i,a,s)}}const Su=e=>()=>e;function D0(e,t){return function(n){return e+n*t}}function D9(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function N9(e,t){var n=t-e;return n?D0(e,n>180||n<-180?n-360*Math.round(n/360):n):Su(isNaN(e)?t:e)}function F9(e){return(e=+e)==1?Hn:function(t,n){return n-t?D9(t,n,e):Su(isNaN(t)?n:t)}}function Hn(e,t){var n=t-e;return n?D0(e,n):Su(isNaN(e)?t:e)}(function e(t){var n=F9(t);function r(i,a){var o=n((i=Zn(i)).r,(a=Zn(a)).r),s=n(i.g,a.g),c=n(i.b,a.b),u=Hn(i.opacity,a.opacity);return function(f){return i.r=o(f),i.g=s(f),i.b=c(f),i.opacity=u(f),i+""}}return r.gamma=e,r})(1);function U9(e){return function(t){var n=t.length,r=new Array(n),i=new Array(n),a=new Array(n),o,s;for(o=0;o<n;++o)s=Zn(t[o]),r[o]=s.r||0,i[o]=s.g||0,a[o]=s.b||0;return r=e(r),i=e(i),a=e(a),s.opacity=1,function(c){return s.r=r(c),s.g=i(c),s.b=a(c),s+""}}}var z9=U9(I9);function N0(e){return function t(n){n=+n;function r(i,a){var o=e((i=wt(i)).h,(a=wt(a)).h),s=Hn(i.s,a.s),c=Hn(i.l,a.l),u=Hn(i.opacity,a.opacity);return function(f){return i.h=o(f),i.s=s(f),i.l=c(Math.pow(f,n)),i.opacity=u(f),i+""}}return r.gamma=t,r}(1)}N0(N9);var Au=N0(Hn),B9=An,q9=Et,W9=rn,H9="[object String]";function V9(e){return typeof e=="string"||!q9(e)&&W9(e)&&B9(e)==H9}var Y9=V9;const G9=Ke(Y9);function K9(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var X9=K9;const ie=Ke(X9);class Hl extends Map{constructor(t,n=Z9){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(Vl(this,t))}has(t){return super.has(Vl(this,t))}set(t,n){return super.set(J9(this,t),n)}delete(t){return super.delete(Q9(this,t))}}function Vl({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function J9({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Q9({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Z9(e){return e!==null&&typeof e=="object"?e.valueOf():e}function eO(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const Yl=Symbol("implicit");function Un(){var e=new Hl,t=[],n=[],r=Yl;function i(a){let o=e.get(a);if(o===void 0){if(r!==Yl)return r;e.set(a,o=t.push(a)-1)}return n[o%n.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new Hl;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(n=Array.from(a),i):n.slice()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return Un(t,n).unknown(r)},eO.apply(i,arguments),i}function tO(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Oa(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function nO(e){return e=Oa(Math.abs(e)),e?e[1]:NaN}function rO(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function iO(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var aO=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fc(e){if(!(t=aO.exec(e)))throw new Error("invalid format: "+e);var t;return new $u({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}fc.prototype=$u.prototype;function $u(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}$u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function oO(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var F0;function sO(e,t){var n=Oa(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(F0=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Oa(e,Math.max(0,t+a-1))[0]}function Gl(e,t){var n=Oa(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Kl={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:tO,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Gl(e*100,t)},r:Gl,s:sO,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Xl(e){return e}var Jl=Array.prototype.map,Ql=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cO(e){var t=e.grouping===void 0||e.thousands===void 0?Xl:rO(Jl.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Xl:iO(Jl.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"-":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function u(l){l=fc(l);var d=l.fill,b=l.align,h=l.sign,m=l.symbol,p=l.zero,x=l.width,y=l.comma,v=l.precision,E=l.trim,g=l.type;g==="n"?(y=!0,g="g"):Kl[g]||(v===void 0&&(v=12),E=!0,g="g"),(p||d==="0"&&b==="=")&&(p=!0,d="0",b="=");var C=m==="$"?n:m==="#"&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",P=m==="$"?r:/[%p]/.test(g)?o:"",F=Kl[g],B=/[defgprs%]/.test(g);v=v===void 0?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function j(L){var Z=C,M=P,S,I,q;if(g==="c")M=F(L)+M,L="";else{L=+L;var H=L<0||1/L<0;if(L=isNaN(L)?c:F(Math.abs(L),v),E&&(L=oO(L)),H&&+L==0&&h!=="+"&&(H=!1),Z=(H?h==="("?h:s:h==="-"||h==="("?"":h)+Z,M=(g==="s"?Ql[8+F0/3]:"")+M+(H&&h==="("?")":""),B){for(S=-1,I=L.length;++S<I;)if(q=L.charCodeAt(S),48>q||q>57){M=(q===46?i+L.slice(S+1):L.slice(S))+M,L=L.slice(0,S);break}}}y&&!p&&(L=t(L,1/0));var ne=Z.length+L.length+M.length,V=ne<x?new Array(x-ne+1).join(d):"";switch(y&&p&&(L=t(V+L,V.length?x-M.length:1/0),V=""),b){case"<":L=Z+L+M+V;break;case"=":L=Z+V+L+M;break;case"^":L=V.slice(0,ne=V.length>>1)+Z+L+M+V.slice(ne);break;default:L=V+Z+L+M;break}return a(L)}return j.toString=function(){return l+""},j}function f(l,d){var b=u((l=fc(l),l.type="f",l)),h=Math.max(-8,Math.min(8,Math.floor(nO(d)/3)))*3,m=Math.pow(10,-h),p=Ql[8+h/3];return function(x){return b(m*x)+p}}return{format:u,formatPrefix:f}}var zi,U0;uO({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function uO(e){return zi=cO(e),U0=zi.format,zi.formatPrefix,zi}var ms=new Date,gs=new Date;function Lt(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,s){var c=[],u;if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return c;do c.push(u=new Date(+a)),t(a,s),e(a);while(u<a&&a<o);return c},i.filter=function(a){return Lt(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););})},n&&(i.count=function(a,o){return ms.setTime(+a),gs.setTime(+o),e(ms),e(gs),Math.floor(n(ms,gs))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?function(o){return r(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}const fO=1e3,Mu=fO*60,lO=Mu*60,ku=lO*24,z0=ku*7;var Pu=Lt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Mu)/ku,e=>e.getDate()-1);Pu.range;function Mn(e){return Lt(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n*7)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Mu)/z0})}var B0=Mn(0),Ea=Mn(1),dO=Mn(2),hO=Mn(3),er=Mn(4),pO=Mn(5),bO=Mn(6);B0.range;Ea.range;dO.range;hO.range;er.range;pO.range;bO.range;var Cn=Lt(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Cn.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Lt(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})};Cn.range;var ju=Lt(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/ku},function(e){return e.getUTCDate()-1});ju.range;function kn(e){return Lt(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n*7)},function(t,n){return(n-t)/z0})}var q0=kn(0),Ta=kn(1),mO=kn(2),gO=kn(3),tr=kn(4),vO=kn(5),yO=kn(6);q0.range;Ta.range;mO.range;gO.range;tr.range;vO.range;yO.range;var Rn=Lt(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});Rn.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Lt(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})};Rn.range;function vs(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ys(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function $r(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function _O(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,u=Mr(i),f=kr(i),l=Mr(a),d=kr(a),b=Mr(o),h=kr(o),m=Mr(s),p=kr(s),x=Mr(c),y=kr(c),v={a:H,A:ne,b:V,B:A,c:null,d:id,e:id,f:qO,g:ZO,G:tE,H:UO,I:zO,j:BO,L:W0,m:WO,M:HO,p:U,q:K,Q:sd,s:cd,S:VO,u:YO,U:GO,V:KO,w:XO,W:JO,x:null,X:null,y:QO,Y:eE,Z:nE,"%":od},E={a:te,A:X,b:Y,B:W,c:null,d:ad,e:ad,f:oE,g:mE,G:vE,H:rE,I:iE,j:aE,L:V0,m:sE,M:cE,p:G,q:J,Q:sd,s:cd,S:uE,u:fE,U:lE,V:dE,w:hE,W:pE,x:null,X:null,y:bE,Y:gE,Z:yE,"%":od},g={a:j,A:L,b:Z,B:M,c:S,d:nd,e:nd,f:IO,g:td,G:ed,H:rd,I:rd,j:kO,L:LO,m:MO,M:PO,p:B,q:$O,Q:NO,s:FO,S:jO,u:TO,U:CO,V:RO,w:EO,W:SO,x:I,X:q,y:td,Y:ed,Z:AO,"%":DO};v.x=C(n,v),v.X=C(r,v),v.c=C(t,v),E.x=C(n,E),E.X=C(r,E),E.c=C(t,E);function C(k,z){return function(ee){var w=[],he=-1,se=0,ge=k.length,Te,Ie,at;for(ee instanceof Date||(ee=new Date(+ee));++he<ge;)k.charCodeAt(he)===37&&(w.push(k.slice(se,he)),(Ie=Zl[Te=k.charAt(++he)])!=null?Te=k.charAt(++he):Ie=Te==="e"?" ":"0",(at=z[Te])&&(Te=at(ee,Ie)),w.push(Te),se=he+1);return w.push(k.slice(se,he)),w.join("")}}function P(k,z){return function(ee){var w=$r(1900,void 0,1),he=F(w,k,ee+="",0),se,ge;if(he!=ee.length)return null;if("Q"in w)return new Date(w.Q);if("s"in w)return new Date(w.s*1e3+("L"in w?w.L:0));if(z&&!("Z"in w)&&(w.Z=0),"p"in w&&(w.H=w.H%12+w.p*12),w.m===void 0&&(w.m="q"in w?w.q:0),"V"in w){if(w.V<1||w.V>53)return null;"w"in w||(w.w=1),"Z"in w?(se=ys($r(w.y,0,1)),ge=se.getUTCDay(),se=ge>4||ge===0?Ta.ceil(se):Ta(se),se=ju.offset(se,(w.V-1)*7),w.y=se.getUTCFullYear(),w.m=se.getUTCMonth(),w.d=se.getUTCDate()+(w.w+6)%7):(se=vs($r(w.y,0,1)),ge=se.getDay(),se=ge>4||ge===0?Ea.ceil(se):Ea(se),se=Pu.offset(se,(w.V-1)*7),w.y=se.getFullYear(),w.m=se.getMonth(),w.d=se.getDate()+(w.w+6)%7)}else("W"in w||"U"in w)&&("w"in w||(w.w="u"in w?w.u%7:"W"in w?1:0),ge="Z"in w?ys($r(w.y,0,1)).getUTCDay():vs($r(w.y,0,1)).getDay(),w.m=0,w.d="W"in w?(w.w+6)%7+w.W*7-(ge+5)%7:w.w+w.U*7-(ge+6)%7);return"Z"in w?(w.H+=w.Z/100|0,w.M+=w.Z%100,ys(w)):vs(w)}}function F(k,z,ee,w){for(var he=0,se=z.length,ge=ee.length,Te,Ie;he<se;){if(w>=ge)return-1;if(Te=z.charCodeAt(he++),Te===37){if(Te=z.charAt(he++),Ie=g[Te in Zl?z.charAt(he++):Te],!Ie||(w=Ie(k,ee,w))<0)return-1}else if(Te!=ee.charCodeAt(w++))return-1}return w}function B(k,z,ee){var w=u.exec(z.slice(ee));return w?(k.p=f.get(w[0].toLowerCase()),ee+w[0].length):-1}function j(k,z,ee){var w=b.exec(z.slice(ee));return w?(k.w=h.get(w[0].toLowerCase()),ee+w[0].length):-1}function L(k,z,ee){var w=l.exec(z.slice(ee));return w?(k.w=d.get(w[0].toLowerCase()),ee+w[0].length):-1}function Z(k,z,ee){var w=x.exec(z.slice(ee));return w?(k.m=y.get(w[0].toLowerCase()),ee+w[0].length):-1}function M(k,z,ee){var w=m.exec(z.slice(ee));return w?(k.m=p.get(w[0].toLowerCase()),ee+w[0].length):-1}function S(k,z,ee){return F(k,t,z,ee)}function I(k,z,ee){return F(k,n,z,ee)}function q(k,z,ee){return F(k,r,z,ee)}function H(k){return o[k.getDay()]}function ne(k){return a[k.getDay()]}function V(k){return c[k.getMonth()]}function A(k){return s[k.getMonth()]}function U(k){return i[+(k.getHours()>=12)]}function K(k){return 1+~~(k.getMonth()/3)}function te(k){return o[k.getUTCDay()]}function X(k){return a[k.getUTCDay()]}function Y(k){return c[k.getUTCMonth()]}function W(k){return s[k.getUTCMonth()]}function G(k){return i[+(k.getUTCHours()>=12)]}function J(k){return 1+~~(k.getUTCMonth()/3)}return{format:function(k){var z=C(k+="",v);return z.toString=function(){return k},z},parse:function(k){var z=P(k+="",!1);return z.toString=function(){return k},z},utcFormat:function(k){var z=C(k+="",E);return z.toString=function(){return k},z},utcParse:function(k){var z=P(k+="",!0);return z.toString=function(){return k},z}}}var Zl={"-":"",_:" ",0:"0"},De=/^\s*\d+/,xO=/^%/,wO=/[\\^$*+?|[\]().{}]/g;function me(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function OO(e){return e.replace(wO,"\\$&")}function Mr(e){return new RegExp("^(?:"+e.map(OO).join("|")+")","i")}function kr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function EO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function TO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function CO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function RO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function SO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ed(e,t,n){var r=De.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function td(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function AO(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function $O(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function MO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nd(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function kO(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function rd(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function PO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function LO(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function IO(e,t,n){var r=De.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function DO(e,t,n){var r=xO.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function NO(e,t,n){var r=De.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function FO(e,t,n){var r=De.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function id(e,t){return me(e.getDate(),t,2)}function UO(e,t){return me(e.getHours(),t,2)}function zO(e,t){return me(e.getHours()%12||12,t,2)}function BO(e,t){return me(1+Pu.count(Cn(e),e),t,3)}function W0(e,t){return me(e.getMilliseconds(),t,3)}function qO(e,t){return W0(e,t)+"000"}function WO(e,t){return me(e.getMonth()+1,t,2)}function HO(e,t){return me(e.getMinutes(),t,2)}function VO(e,t){return me(e.getSeconds(),t,2)}function YO(e){var t=e.getDay();return t===0?7:t}function GO(e,t){return me(B0.count(Cn(e)-1,e),t,2)}function H0(e){var t=e.getDay();return t>=4||t===0?er(e):er.ceil(e)}function KO(e,t){return e=H0(e),me(er.count(Cn(e),e)+(Cn(e).getDay()===4),t,2)}function XO(e){return e.getDay()}function JO(e,t){return me(Ea.count(Cn(e)-1,e),t,2)}function QO(e,t){return me(e.getFullYear()%100,t,2)}function ZO(e,t){return e=H0(e),me(e.getFullYear()%100,t,2)}function eE(e,t){return me(e.getFullYear()%1e4,t,4)}function tE(e,t){var n=e.getDay();return e=n>=4||n===0?er(e):er.ceil(e),me(e.getFullYear()%1e4,t,4)}function nE(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+me(t/60|0,"0",2)+me(t%60,"0",2)}function ad(e,t){return me(e.getUTCDate(),t,2)}function rE(e,t){return me(e.getUTCHours(),t,2)}function iE(e,t){return me(e.getUTCHours()%12||12,t,2)}function aE(e,t){return me(1+ju.count(Rn(e),e),t,3)}function V0(e,t){return me(e.getUTCMilliseconds(),t,3)}function oE(e,t){return V0(e,t)+"000"}function sE(e,t){return me(e.getUTCMonth()+1,t,2)}function cE(e,t){return me(e.getUTCMinutes(),t,2)}function uE(e,t){return me(e.getUTCSeconds(),t,2)}function fE(e){var t=e.getUTCDay();return t===0?7:t}function lE(e,t){return me(q0.count(Rn(e)-1,e),t,2)}function Y0(e){var t=e.getUTCDay();return t>=4||t===0?tr(e):tr.ceil(e)}function dE(e,t){return e=Y0(e),me(tr.count(Rn(e),e)+(Rn(e).getUTCDay()===4),t,2)}function hE(e){return e.getUTCDay()}function pE(e,t){return me(Ta.count(Rn(e)-1,e),t,2)}function bE(e,t){return me(e.getUTCFullYear()%100,t,2)}function mE(e,t){return e=Y0(e),me(e.getUTCFullYear()%100,t,2)}function gE(e,t){return me(e.getUTCFullYear()%1e4,t,4)}function vE(e,t){var n=e.getUTCDay();return e=n>=4||n===0?tr(e):tr.ceil(e),me(e.getUTCFullYear()%1e4,t,4)}function yE(){return"+0000"}function od(){return"%"}function sd(e){return+e}function cd(e){return Math.floor(+e/1e3)}var Fn,G0;_E({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function _E(e){return Fn=_O(e),G0=Fn.format,Fn.parse,Fn.utcFormat,Fn.utcParse,Fn}function de(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(r*6,++r*6);return n}const K0=de("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),X0=de("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),J0=de("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Q0=de("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Z0=de("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),eb=de("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),tb=de("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),nb=de("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Lu=de("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),xE=de("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Ee=e=>z9(e[e.length-1]);var co=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(de);const wE=Ee(co);var uo=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(de);const OE=Ee(uo);var fo=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(de);const EE=Ee(fo);var lo=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(de);const TE=Ee(lo);var ho=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(de);const CE=Ee(ho);var po=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(de);const RE=Ee(po);var bo=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(de);const SE=Ee(bo);var mo=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(de);const AE=Ee(mo);var go=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(de);const $E=Ee(go);var vo=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(de);const ME=Ee(vo);var yo=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(de);const kE=Ee(yo);var _o=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(de);const PE=Ee(_o);var xo=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(de);const jE=Ee(xo);var wo=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(de);const LE=Ee(wo);var Oo=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(de);const IE=Ee(Oo);var Eo=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(de);const DE=Ee(Eo);var To=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(de);const NE=Ee(To);var Co=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(de);const FE=Ee(Co);var Ro=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(de);const UE=Ee(Ro);var So=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(de);const zE=Ee(So);var Ao=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(de);const BE=Ee(Ao);var $o=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(de);const qE=Ee($o);var Mo=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(de);const WE=Ee(Mo);var ko=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(de);const HE=Ee(ko);var Po=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(de);const VE=Ee(Po);var jo=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(de);const YE=Ee(jo);var Lo=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(de);const GE=Ee(Lo);function KE(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const XE=Au(wt(300,.5,0),wt(-240,.5,1));var JE=Au(wt(-100,.75,.35),wt(80,1.5,.8)),QE=Au(wt(260,.75,.35),wt(80,1.5,.8)),Bi=wt();function ZE(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Bi.h=360*e-100,Bi.s=1.5-1.5*t,Bi.l=.8-.9*t,Bi+""}var qi=Zn(),eT=Math.PI/3,tT=Math.PI*2/3;function nT(e){var t;return e=(.5-e)*Math.PI,qi.r=255*(t=Math.sin(e))*t,qi.g=255*(t=Math.sin(e+eT))*t,qi.b=255*(t=Math.sin(e+tT))*t,qi+""}function rT(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function Io(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const iT=Io(de("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var aT=Io(de("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),oT=Io(de("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),sT=Io(de("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),cT="__lodash_hash_undefined__";function uT(e){return this.__data__.set(e,cT),this}var fT=uT;function lT(e){return this.__data__.has(e)}var dT=lT,hT=pu,pT=fT,bT=dT;function Ca(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new hT;++t<n;)this.add(e[t])}Ca.prototype.add=Ca.prototype.push=pT;Ca.prototype.has=bT;var rb=Ca;function mT(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}var gT=mT;function vT(e){return e!==e}var yT=vT;function _T(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var xT=_T,wT=gT,OT=yT,ET=xT;function TT(e,t,n){return t===t?ET(e,t,n):wT(e,OT,n)}var CT=TT,RT=CT;function ST(e,t){var n=e==null?0:e.length;return!!n&&RT(e,t,0)>-1}var AT=ST;function $T(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var MT=$T;function kT(e,t){return e.has(t)}var ib=kT,PT=rb,jT=AT,LT=MT,IT=$0,DT=y0,NT=ib,FT=200;function UT(e,t,n,r){var i=-1,a=jT,o=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=IT(t,DT(n))),r?(a=LT,o=!1):t.length>=FT&&(a=NT,o=!1,t=new PT(t));e:for(;++i<s;){var f=e[i],l=n==null?f:n(f);if(f=r||f!==0?f:0,o&&l===l){for(var d=u;d--;)if(t[d]===l)continue e;c.push(f)}else a(t,l,r)||c.push(f)}return c}var zT=UT,BT=zT,qT=S0,WT=m0,HT=qT(function(e,t){return WT(e)?BT(e,t):[]}),VT=HT;const ab=Ke(VT);function Pe(e){return function(){return e}}const ud=Math.abs,Fe=Math.atan2,cn=Math.cos,YT=Math.max,_s=Math.min,mt=Math.sin,zn=Math.sqrt,Ue=1e-12,oi=Math.PI,Ra=oi/2,ta=2*oi;function GT(e){return e>1?0:e<-1?oi:Math.acos(e)}function fd(e){return e>=1?Ra:e<=-1?-Ra:Math.asin(e)}const lc=Math.PI,dc=2*lc,un=1e-6,KT=dc-un;function ob(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function XT(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return ob;const n=10**t;return function(r){this._+=r[0];for(let i=1,a=r.length;i<a;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class JT{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?ob:XT(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,i){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(t,n,r,i,a,o){this._append`C${+t},${+n},${+r},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,n,r,i,a){if(t=+t,n=+n,r=+r,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,c=r-t,u=i-n,f=o-t,l=s-n,d=f*f+l*l;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(d>un)if(!(Math.abs(l*c-u*f)>un)||!a)this._append`L${this._x1=t},${this._y1=n}`;else{let b=r-o,h=i-s,m=c*c+u*u,p=b*b+h*h,x=Math.sqrt(m),y=Math.sqrt(d),v=a*Math.tan((lc-Math.acos((m+d-p)/(2*x*y)))/2),E=v/y,g=v/x;Math.abs(E-1)>un&&this._append`L${t+E*f},${n+E*l}`,this._append`A${a},${a},0,0,${+(l*b>f*h)},${this._x1=t+g*c},${this._y1=n+g*u}`}}arc(t,n,r,i,a,o){if(t=+t,n=+n,r=+r,o=!!o,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),c=r*Math.sin(i),u=t+s,f=n+c,l=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${u},${f}`:(Math.abs(this._x1-u)>un||Math.abs(this._y1-f)>un)&&this._append`L${u},${f}`,r&&(d<0&&(d=d%dc+dc),d>KT?this._append`A${r},${r},0,1,${l},${t-s},${n-c}A${r},${r},0,1,${l},${this._x1=u},${this._y1=f}`:d>un&&this._append`A${r},${r},0,${+(d>=lc)},${l},${this._x1=t+r*Math.cos(a)},${this._y1=n+r*Math.sin(a)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function sb(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new JT(t)}function QT(e){return e.innerRadius}function ZT(e){return e.outerRadius}function eC(e){return e.startAngle}function tC(e){return e.endAngle}function nC(e){return e&&e.padAngle}function rC(e,t,n,r,i,a,o,s){var c=n-e,u=r-t,f=o-i,l=s-a,d=l*c-f*u;if(!(d*d<Ue))return d=(f*(t-a)-l*(e-i))/d,[e+d*c,t+d*u]}function Wi(e,t,n,r,i,a,o){var s=e-n,c=t-r,u=(o?a:-a)/zn(s*s+c*c),f=u*c,l=-u*s,d=e+f,b=t+l,h=n+f,m=r+l,p=(d+h)/2,x=(b+m)/2,y=h-d,v=m-b,E=y*y+v*v,g=i-a,C=d*m-h*b,P=(v<0?-1:1)*zn(YT(0,g*g*E-C*C)),F=(C*v-y*P)/E,B=(-C*y-v*P)/E,j=(C*v+y*P)/E,L=(-C*y+v*P)/E,Z=F-p,M=B-x,S=j-p,I=L-x;return Z*Z+M*M>S*S+I*I&&(F=j,B=L),{cx:F,cy:B,x01:-f,y01:-l,x11:F*(i/g-1),y11:B*(i/g-1)}}function iC(){var e=QT,t=ZT,n=Pe(0),r=null,i=eC,a=tC,o=nC,s=null,c=sb(u);function u(){var f,l,d=+e.apply(this,arguments),b=+t.apply(this,arguments),h=i.apply(this,arguments)-Ra,m=a.apply(this,arguments)-Ra,p=ud(m-h),x=m>h;if(s||(s=f=c()),b<d&&(l=b,b=d,d=l),!(b>Ue))s.moveTo(0,0);else if(p>ta-Ue)s.moveTo(b*cn(h),b*mt(h)),s.arc(0,0,b,h,m,!x),d>Ue&&(s.moveTo(d*cn(m),d*mt(m)),s.arc(0,0,d,m,h,x));else{var y=h,v=m,E=h,g=m,C=p,P=p,F=o.apply(this,arguments)/2,B=F>Ue&&(r?+r.apply(this,arguments):zn(d*d+b*b)),j=_s(ud(b-d)/2,+n.apply(this,arguments)),L=j,Z=j,M,S;if(B>Ue){var I=fd(B/d*mt(F)),q=fd(B/b*mt(F));(C-=I*2)>Ue?(I*=x?1:-1,E+=I,g-=I):(C=0,E=g=(h+m)/2),(P-=q*2)>Ue?(q*=x?1:-1,y+=q,v-=q):(P=0,y=v=(h+m)/2)}var H=b*cn(y),ne=b*mt(y),V=d*cn(g),A=d*mt(g);if(j>Ue){var U=b*cn(v),K=b*mt(v),te=d*cn(E),X=d*mt(E),Y;if(p<oi)if(Y=rC(H,ne,te,X,U,K,V,A)){var W=H-Y[0],G=ne-Y[1],J=U-Y[0],k=K-Y[1],z=1/mt(GT((W*J+G*k)/(zn(W*W+G*G)*zn(J*J+k*k)))/2),ee=zn(Y[0]*Y[0]+Y[1]*Y[1]);L=_s(j,(d-ee)/(z-1)),Z=_s(j,(b-ee)/(z+1))}else L=Z=0}P>Ue?Z>Ue?(M=Wi(te,X,H,ne,b,Z,x),S=Wi(U,K,V,A,b,Z,x),s.moveTo(M.cx+M.x01,M.cy+M.y01),Z<j?s.arc(M.cx,M.cy,Z,Fe(M.y01,M.x01),Fe(S.y01,S.x01),!x):(s.arc(M.cx,M.cy,Z,Fe(M.y01,M.x01),Fe(M.y11,M.x11),!x),s.arc(0,0,b,Fe(M.cy+M.y11,M.cx+M.x11),Fe(S.cy+S.y11,S.cx+S.x11),!x),s.arc(S.cx,S.cy,Z,Fe(S.y11,S.x11),Fe(S.y01,S.x01),!x))):(s.moveTo(H,ne),s.arc(0,0,b,y,v,!x)):s.moveTo(H,ne),!(d>Ue)||!(C>Ue)?s.lineTo(V,A):L>Ue?(M=Wi(V,A,U,K,d,-L,x),S=Wi(H,ne,te,X,d,-L,x),s.lineTo(M.cx+M.x01,M.cy+M.y01),L<j?s.arc(M.cx,M.cy,L,Fe(M.y01,M.x01),Fe(S.y01,S.x01),!x):(s.arc(M.cx,M.cy,L,Fe(M.y01,M.x01),Fe(M.y11,M.x11),!x),s.arc(0,0,d,Fe(M.cy+M.y11,M.cx+M.x11),Fe(S.cy+S.y11,S.cx+S.x11),x),s.arc(S.cx,S.cy,L,Fe(S.y11,S.x11),Fe(S.y01,S.x01),!x))):s.arc(0,0,d,g,E,x)}if(s.closePath(),f)return s=null,f+""||null}return u.centroid=function(){var f=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,l=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-oi/2;return[cn(l)*f,mt(l)*f]},u.innerRadius=function(f){return arguments.length?(e=typeof f=="function"?f:Pe(+f),u):e},u.outerRadius=function(f){return arguments.length?(t=typeof f=="function"?f:Pe(+f),u):t},u.cornerRadius=function(f){return arguments.length?(n=typeof f=="function"?f:Pe(+f),u):n},u.padRadius=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Pe(+f),u):r},u.startAngle=function(f){return arguments.length?(i=typeof f=="function"?f:Pe(+f),u):i},u.endAngle=function(f){return arguments.length?(a=typeof f=="function"?f:Pe(+f),u):a},u.padAngle=function(f){return arguments.length?(o=typeof f=="function"?f:Pe(+f),u):o},u.context=function(f){return arguments.length?(s=f??null,u):s},u}function cb(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function ub(e){this._context=e}ub.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function fb(e){return new ub(e)}function aC(e){return e[0]}function oC(e){return e[1]}function sC(e,t){var n=Pe(!0),r=null,i=fb,a=null,o=sb(s);e=typeof e=="function"?e:e===void 0?aC:Pe(e),t=typeof t=="function"?t:t===void 0?oC:Pe(t);function s(c){var u,f=(c=cb(c)).length,l,d=!1,b;for(r==null&&(a=i(b=o())),u=0;u<=f;++u)!(u<f&&n(l=c[u],u,c))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(l,u,c),+t(l,u,c));if(b)return a=null,b+""||null}return s.x=function(c){return arguments.length?(e=typeof c=="function"?c:Pe(+c),s):e},s.y=function(c){return arguments.length?(t=typeof c=="function"?c:Pe(+c),s):t},s.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Pe(!!c),s):n},s.curve=function(c){return arguments.length?(i=c,r!=null&&(a=i(r)),s):i},s.context=function(c){return arguments.length?(c==null?r=a=null:a=i(r=c),s):r},s}function cC(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function uC(e){return e}function fC(){var e=uC,t=cC,n=null,r=Pe(0),i=Pe(ta),a=Pe(0);function o(s){var c,u=(s=cb(s)).length,f,l,d=0,b=new Array(u),h=new Array(u),m=+r.apply(this,arguments),p=Math.min(ta,Math.max(-ta,i.apply(this,arguments)-m)),x,y=Math.min(Math.abs(p)/u,a.apply(this,arguments)),v=y*(p<0?-1:1),E;for(c=0;c<u;++c)(E=h[b[c]=c]=+e(s[c],c,s))>0&&(d+=E);for(t!=null?b.sort(function(g,C){return t(h[g],h[C])}):n!=null&&b.sort(function(g,C){return n(s[g],s[C])}),c=0,l=d?(p-u*v)/d:0;c<u;++c,m=x)f=b[c],E=h[f],x=m+(E>0?E*l:0)+v,h[f]={data:s[f],index:c,value:E,startAngle:m,endAngle:x,padAngle:y};return h}return o.value=function(s){return arguments.length?(e=typeof s=="function"?s:Pe(+s),o):e},o.sortValues=function(s){return arguments.length?(t=s,n=null,o):t},o.sort=function(s){return arguments.length?(n=s,t=null,o):n},o.startAngle=function(s){return arguments.length?(r=typeof s=="function"?s:Pe(+s),o):r},o.endAngle=function(s){return arguments.length?(i=typeof s=="function"?s:Pe(+s),o):i},o.padAngle=function(s){return arguments.length?(a=typeof s=="function"?s:Pe(+s),o):a},o}function Jt(){}function Sa(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Do(e){this._context=e}Do.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Sa(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Sa(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function lC(e){return new Do(e)}function lb(e){this._context=e}lb.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Sa(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function dC(e){return new lb(e)}function db(e){this._context=e}db.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Sa(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function hC(e){return new db(e)}function hb(e,t){this._basis=new Do(e),this._beta=t}hb.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const pC=function e(t){function n(r){return t===1?new Do(r):new hb(r,t)}return n.beta=function(r){return e(+r)},n}(.85);function Aa(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Iu(e,t){this._context=e,this._k=(1-t)/6}Iu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Aa(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Aa(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const bC=function e(t){function n(r){return new Iu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Du(e,t){this._context=e,this._k=(1-t)/6}Du.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Aa(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const mC=function e(t){function n(r){return new Du(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Nu(e,t){this._context=e,this._k=(1-t)/6}Nu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Aa(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const gC=function e(t){function n(r){return new Nu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Fu(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>Ue){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Ue){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*u+e._x1*e._l23_2a-t*e._l12_2a)/f,o=(o*u+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function pb(e,t){this._context=e,this._alpha=t}pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Fu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const vC=function e(t){function n(r){return t?new pb(r,t):new Iu(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function bb(e,t){this._context=e,this._alpha=t}bb.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Fu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const yC=function e(t){function n(r){return t?new bb(r,t):new Du(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function mb(e,t){this._context=e,this._alpha=t}mb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const _C=function e(t){function n(r){return t?new mb(r,t):new Nu(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function gb(e){this._context=e}gb.prototype={areaStart:Jt,areaEnd:Jt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function xC(e){return new gb(e)}function ld(e){return e<0?-1:1}function dd(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(ld(a)+ld(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function hd(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function xs(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function $a(e){this._context=e}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:xs(this,this._t0,hd(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,xs(this,hd(this,n=dd(this,e,t)),n);break;default:xs(this,this._t0,n=dd(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function vb(e){this._context=new yb(e)}(vb.prototype=Object.create($a.prototype)).point=function(e,t){$a.prototype.point.call(this,t,e)};function yb(e){this._context=e}yb.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function wC(e){return new $a(e)}function OC(e){return new vb(e)}function _b(e){this._context=e}_b.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=pd(e),i=pd(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function pd(e){var t,n=e.length-1,r,i=new Array(n),a=new Array(n),o=new Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function EC(e){return new _b(e)}function No(e,t){this._context=e,this._t=t}No.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function TC(e){return new No(e,.5)}function CC(e){return new No(e,0)}function RC(e){return new No(e,1)}var SC=k0,AC=P0,$C=ao;function MC(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=SC(e,o);n(s,o)&&AC(a,$C(o,e),s)}return a}var kC=MC;function PC(e,t){return e!=null&&t in Object(e)}var jC=PC,LC=ao,IC=no,DC=Et,NC=io,FC=gu,UC=Ou;function zC(e,t,n){t=LC(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=UC(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&FC(i)&&NC(o,i)&&(DC(e)||IC(e)))}var BC=zC,qC=jC,WC=BC;function HC(e,t){return e!=null&&WC(e,t,qC)}var VC=HC,YC=kC,GC=VC;function KC(e,t){return YC(e,t,function(n,r){return GC(e,r)})}var XC=KC;function JC(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var xb=JC,bd=yi,QC=no,ZC=Et,md=bd?bd.isConcatSpreadable:void 0;function eR(e){return ZC(e)||QC(e)||!!(md&&e&&e[md])}var tR=eR,nR=xb,rR=tR;function wb(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=rR),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?wb(s,t-1,n,r,i):nR(i,s):r||(i[i.length]=s)}return i}var iR=wb,aR=iR;function oR(e){var t=e==null?0:e.length;return t?aR(e,1):[]}var sR=oR,cR=sR,uR=C0,fR=R0;function lR(e){return fR(uR(e,void 0,cR),e+"")}var dR=lR,hR=XC,pR=dR,bR=pR(function(e,t){return e==null?{}:hR(e,t)}),mR=bR;const gR=Ke(mR);function vR(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var yR=vR,_R=rb,xR=yR,wR=ib,OR=1,ER=2;function TR(e,t,n,r,i,a){var o=n&OR,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var l=-1,d=!0,b=n&ER?new _R:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var h=e[l],m=t[l];if(r)var p=o?r(m,h,l,t,e,a):r(h,m,l,e,t,a);if(p!==void 0){if(p)continue;d=!1;break}if(b){if(!xR(t,function(x,y){if(!wR(b,y)&&(h===x||i(h,x,n,r,a)))return b.push(y)})){d=!1;break}}else if(!(h===m||i(h,m,n,r,a))){d=!1;break}}return a.delete(e),a.delete(t),d}var Ob=TR;function CR(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var RR=CR;function SR(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var AR=SR,gd=yi,vd=d0,$R=vi,MR=Ob,kR=RR,PR=AR,jR=1,LR=2,IR="[object Boolean]",DR="[object Date]",NR="[object Error]",FR="[object Map]",UR="[object Number]",zR="[object RegExp]",BR="[object Set]",qR="[object String]",WR="[object Symbol]",HR="[object ArrayBuffer]",VR="[object DataView]",yd=gd?gd.prototype:void 0,ws=yd?yd.valueOf:void 0;function YR(e,t,n,r,i,a,o){switch(n){case VR:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case HR:return!(e.byteLength!=t.byteLength||!a(new vd(e),new vd(t)));case IR:case DR:case UR:return $R(+e,+t);case NR:return e.name==t.name&&e.message==t.message;case zR:case qR:return e==t+"";case FR:var s=kR;case BR:var c=r&jR;if(s||(s=PR),e.size!=t.size&&!c)return!1;var u=o.get(e);if(u)return u==t;r|=LR,o.set(e,t);var f=MR(s(e),s(t),r,i,a,o);return o.delete(e),f;case WR:if(ws)return ws.call(e)==ws.call(t)}return!1}var GR=YR,KR=xb,XR=Et;function JR(e,t,n){var r=t(e);return XR(e)?r:KR(r,n(e))}var QR=JR;function ZR(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}var eS=ZR;function tS(){return[]}var nS=tS,rS=eS,iS=nS,aS=Object.prototype,oS=aS.propertyIsEnumerable,_d=Object.getOwnPropertySymbols,sS=_d?function(e){return e==null?[]:(e=Object(e),rS(_d(e),function(t){return oS.call(e,t)}))}:iS,cS=sS,uS=h0,fS=uS(Object.keys,Object),lS=fS,dS=mu,hS=lS,pS=Object.prototype,bS=pS.hasOwnProperty;function mS(e){if(!dS(e))return hS(e);var t=[];for(var n in Object(e))bS.call(e,n)&&n!="constructor"&&t.push(n);return t}var gS=mS,vS=w0,yS=gS,_S=ro;function xS(e){return _S(e)?vS(e):yS(e)}var wS=xS,OS=QR,ES=cS,TS=wS;function CS(e){return OS(e,TS,ES)}var RS=CS,xd=RS,SS=1,AS=Object.prototype,$S=AS.hasOwnProperty;function MS(e,t,n,r,i,a){var o=n&SS,s=xd(e),c=s.length,u=xd(t),f=u.length;if(c!=f&&!o)return!1;for(var l=c;l--;){var d=s[l];if(!(o?d in t:$S.call(t,d)))return!1}var b=a.get(e),h=a.get(t);if(b&&h)return b==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var p=o;++l<c;){d=s[l];var x=e[d],y=t[d];if(r)var v=o?r(y,x,d,t,e,a):r(x,y,d,e,t,a);if(!(v===void 0?x===y||i(x,y,n,r,a):v)){m=!1;break}p||(p=d=="constructor")}if(m&&!p){var E=e.constructor,g=t.constructor;E!=g&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof g=="function"&&g instanceof g)&&(m=!1)}return a.delete(e),a.delete(t),m}var kS=MS,PS=$n,jS=Ot,LS=PS(jS,"DataView"),IS=LS,DS=$n,NS=Ot,FS=DS(NS,"Promise"),US=FS,zS=$n,BS=Ot,qS=zS(BS,"Set"),WS=qS,HS=$n,VS=Ot,YS=HS(VS,"WeakMap"),GS=YS,hc=IS,pc=hu,bc=US,mc=WS,gc=GS,Eb=An,fr=c0,wd="[object Map]",KS="[object Object]",Od="[object Promise]",Ed="[object Set]",Td="[object WeakMap]",Cd="[object DataView]",XS=fr(hc),JS=fr(pc),QS=fr(bc),ZS=fr(mc),eA=fr(gc),fn=Eb;(hc&&fn(new hc(new ArrayBuffer(1)))!=Cd||pc&&fn(new pc)!=wd||bc&&fn(bc.resolve())!=Od||mc&&fn(new mc)!=Ed||gc&&fn(new gc)!=Td)&&(fn=function(e){var t=Eb(e),n=t==KS?e.constructor:void 0,r=n?fr(n):"";if(r)switch(r){case XS:return Cd;case JS:return wd;case QS:return Od;case ZS:return Ed;case eA:return Td}return t});var tA=fn,Os=u0,nA=Ob,rA=GR,iA=kS,Rd=tA,Sd=Et,Ad=vu,aA=_u,oA=1,$d="[object Arguments]",Md="[object Array]",Hi="[object Object]",sA=Object.prototype,kd=sA.hasOwnProperty;function cA(e,t,n,r,i,a){var o=Sd(e),s=Sd(t),c=o?Md:Rd(e),u=s?Md:Rd(t);c=c==$d?Hi:c,u=u==$d?Hi:u;var f=c==Hi,l=u==Hi,d=c==u;if(d&&Ad(e)){if(!Ad(t))return!1;o=!0,f=!1}if(d&&!f)return a||(a=new Os),o||aA(e)?nA(e,t,n,r,i,a):rA(e,t,c,n,r,i,a);if(!(n&oA)){var b=f&&kd.call(e,"__wrapped__"),h=l&&kd.call(t,"__wrapped__");if(b||h){var m=b?e.value():e,p=h?t.value():t;return a||(a=new Os),i(m,p,n,r,a)}}return d?(a||(a=new Os),iA(e,t,n,r,i,a)):!1}var uA=cA,fA=uA,Pd=rn;function Tb(e,t,n,r,i){return e===t?!0:e==null||t==null||!Pd(e)&&!Pd(t)?e!==e&&t!==t:fA(e,t,n,r,Tb,i)}var lA=Tb,dA=lA;function hA(e,t){return dA(e,t)}var pA=hA;const bA=Ke(pA);var mA={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"transparent",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}};function ht(){return ht=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},ht.apply(this,arguments)}function Uu(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var gA=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],vA=function(e,t){return ht({},t,e)},yA=function(e,t){var n=w7({},e,t);return gA.forEach(function(r){Nr(n,r,vA(Pt(n,r),n.text))}),n},Cb=_.createContext(),Rb=function(e){var t=e.children,n=e.animate,r=n===void 0||n,i=e.config,a=i===void 0?"default":i,o=_.useMemo(function(){var s=G9(a)?cu[a]:a;return{animate:r,config:s}},[r,a]);return R.jsx(Cb.Provider,{value:o,children:t})},jd={animate:T.bool,motionConfig:T.oneOfType([T.oneOf(Object.keys(cu)),T.shape({mass:T.number,tension:T.number,friction:T.number,clamp:T.bool,precision:T.number,velocity:T.number,duration:T.number,easing:T.func})])};Rb.propTypes={children:T.node.isRequired,animate:jd.animate,config:jd.motionConfig};var lr=function(){return _.useContext(Cb)},_A={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:ie(co),PRGn:ie(uo),PiYG:ie(fo),PuOr:ie(lo),RdBu:ie(ho),RdGy:ie(po),RdYlBu:ie(bo),RdYlGn:ie(mo),spectral:ie(go),blues:ie($o),greens:ie(Mo),greys:ie(ko),oranges:ie(Lo),purples:ie(Po),reds:ie(jo),BuGn:ie(vo),BuPu:ie(yo),GnBu:ie(_o),OrRd:ie(xo),PuBuGn:ie(wo),PuBu:ie(Oo),PuRd:ie(Eo),RdPu:ie(To),YlGnBu:ie(Co),YlGn:ie(Ro),YlOrBr:ie(So),YlOrRd:ie(Ao)},xA=Object.keys(_A);ie(co),ie(uo),ie(fo),ie(lo),ie(ho),ie(po),ie(bo),ie(mo),ie(go),ie($o),ie(Mo),ie(ko),ie(Lo),ie(Po),ie(jo),ie(vo),ie(yo),ie(_o),ie(xo),ie(wo),ie(Oo),ie(Eo),ie(To),ie(Co),ie(Ro),ie(So),ie(Ao);T.oneOfType([T.oneOf(xA),T.func,T.arrayOf(T.string)]);var wA={basis:lC,basisClosed:dC,basisOpen:hC,bundle:pC,cardinal:bC,cardinalClosed:mC,cardinalOpen:gC,catmullRom:vC,catmullRomClosed:yC,catmullRomOpen:_C,linear:fb,linearClosed:xC,monotoneX:wC,monotoneY:OC,natural:EC,step:TC,stepAfter:RC,stepBefore:CC},zu=Object.keys(wA);zu.filter(function(e){return e.endsWith("Closed")});ab(zu,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");ab(zu,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");T.shape({top:T.number,right:T.number,bottom:T.number,left:T.number}).isRequired;var OA=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];T.oneOf(OA);Un(Lu);var EA={top:0,right:0,bottom:0,left:0},TA=function(e,t,n){return n===void 0&&(n={}),_.useMemo(function(){var r=ht({},EA,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},Sb=function(){var e=_.useRef(null),t=_.useState({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=_.useState(function(){return typeof ResizeObserver>"u"?null:new ResizeObserver(function(a){var o=a[0];return r(o.contentRect)})})[0];return _.useEffect(function(){return e.current&&i!==null&&i.observe(e.current),function(){i!==null&&i.disconnect()}},[]),[e,n]},CA=function(e){return _.useMemo(function(){return yA(mA,e)},[e])},RA=function(e){return typeof e=="function"?e:typeof e=="string"?e.indexOf("time:")===0?G0(e.slice("5")):U0(e):function(t){return""+t}},Ab=function(e){return _.useMemo(function(){return RA(e)},[e])},$b=_.createContext(),SA={},Mb=function(e){var t=e.theme,n=t===void 0?SA:t,r=e.children,i=CA(n);return R.jsx($b.Provider,{value:i,children:r})};Mb.propTypes={children:T.node.isRequired,theme:T.object};var et=function(){return _.useContext($b)},AA=["outlineWidth","outlineColor","outlineOpacity"],kb=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,Uu(e,AA)},Pb=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?_.cloneElement(r,{},t):t};Pb.propTypes={children:T.node.isRequired,condition:T.bool.isRequired,wrapper:T.element.isRequired};var $A={position:"relative"},jb=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=r===void 0||r,a=e.isInteractive,o=a===void 0||a,s=e.animate,c=e.motionConfig,u=_.useRef(null);return R.jsx(Mb,{theme:n,children:R.jsx(Rb,{animate:s,config:c,children:R.jsx(Kx,{container:u,children:R.jsxs(Pb,{condition:i,wrapper:R.jsx("div",{style:$A,ref:u}),children:[t,o&&R.jsx(Gx,{})]})})})})};jb.propTypes={children:T.element.isRequired,isInteractive:T.bool,renderWrapper:T.bool,theme:T.object,animate:T.bool,motionConfig:T.string};T.func.isRequired,T.bool,T.bool,T.object.isRequired,T.bool.isRequired,T.string;var Lb=function(e){var t=e.children,n=Sb(),r=n[0],i=n[1],a=i.width>0&&i.height>0;return R.jsx("div",{ref:r,style:{width:"100%",height:"100%"},children:a&&t({width:i.width,height:i.height})})};Lb.propTypes={children:T.func.isRequired};var MA=["id","colors"],Ib=function(e){var t=e.id,n=e.colors,r=Uu(e,MA);return R.jsx("linearGradient",ht({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(i){var a=i.offset,o=i.color,s=i.opacity;return R.jsx("stop",{offset:a+"%",stopColor:o,stopOpacity:s!==void 0?s:1},a)})}))};Ib.propTypes={id:T.string.isRequired,colors:T.arrayOf(T.shape({offset:T.number.isRequired,color:T.string.isRequired,opacity:T.number})).isRequired,gradientTransform:T.string};var Db={linearGradient:Ib},Pr={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},vc=_.memo(function(e){var t=e.id,n=e.background,r=n===void 0?Pr.background:n,i=e.color,a=i===void 0?Pr.color:i,o=e.size,s=o===void 0?Pr.size:o,c=e.padding,u=c===void 0?Pr.padding:c,f=e.stagger,l=f===void 0?Pr.stagger:f,d=s+u,b=s/2,h=u/2;return l===!0&&(d=2*s+2*u),R.jsxs("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:d,height:d,fill:r}),R.jsx("circle",{cx:h+b,cy:h+b,r:b,fill:a}),l&&R.jsx("circle",{cx:1.5*u+s+b,cy:1.5*u+s+b,r:b,fill:a})]})});vc.displayName="PatternDots",vc.propTypes={id:T.string.isRequired,color:T.string.isRequired,background:T.string.isRequired,size:T.number.isRequired,padding:T.number.isRequired,stagger:T.bool.isRequired};var $t=function(e){return e*Math.PI/180},Bu=function(e){return 180*e/Math.PI},kA=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2},Vn=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},jr={spacing:5,rotation:0,background:"#000000",color:"#ffffff",lineWidth:2},yc=_.memo(function(e){var t=e.id,n=e.spacing,r=n===void 0?jr.spacing:n,i=e.rotation,a=i===void 0?jr.rotation:i,o=e.background,s=o===void 0?jr.background:o,c=e.color,u=c===void 0?jr.color:c,f=e.lineWidth,l=f===void 0?jr.lineWidth:f,d=Math.round(a)%360,b=Math.abs(r);d>180?d-=360:d>90?d-=180:d<-180?d+=360:d<-90&&(d+=180);var h,m=b,p=b;return d===0?h=`
|
|
254
254
|
M 0 0 L `+m+` 0
|
|
255
255
|
M 0 `+p+" L "+m+" "+p+`
|
|
256
256
|
`:d===90?h=`
|
|
@@ -264,16 +264,16 @@ to {
|
|
|
264
264
|
M `+-m+" "+p+" L "+m+" "+-p+`
|
|
265
265
|
M `+-m+" "+2*p+" L "+2*m+" "+-p+`
|
|
266
266
|
M 0 `+2*p+" L "+2*m+` 0
|
|
267
|
-
`),R.jsxs("pattern",{id:t,width:m,height:p,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:m,height:p,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),R.jsx("path",{d:h,strokeWidth:l,stroke:u,strokeLinecap:"square"})]})});yc.displayName="PatternLines",yc.propTypes={id:T.string.isRequired,spacing:T.number.isRequired,rotation:T.number.isRequired,background:T.string.isRequired,color:T.string.isRequired,lineWidth:T.number.isRequired};var Lr={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},_c=_.memo(function(e){var t=e.id,n=e.color,r=n===void 0?Lr.color:n,i=e.background,a=i===void 0?Lr.background:i,o=e.size,s=o===void 0?Lr.size:o,c=e.padding,u=c===void 0?Lr.padding:c,f=e.stagger,l=f===void 0?Lr.stagger:f,d=s+u,b=u/2;return l===!0&&(d=2*s+2*u),R.jsxs("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:d,height:d,fill:a}),R.jsx("rect",{x:b,y:b,width:s,height:s,fill:r}),l&&R.jsx("rect",{x:1.5*u+s,y:1.5*u+s,width:s,height:s,fill:r})]})});_c.displayName="PatternSquares",_c.propTypes={id:T.string.isRequired,color:T.string.isRequired,background:T.string.isRequired,size:T.number.isRequired,padding:T.number.isRequired,stagger:T.bool.isRequired};var Nb={patternDots:vc,patternLines:yc,patternSquares:_c},
|
|
268
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Hb={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:K0,accent:X0,dark2:J0,paired:Q0,pastel1:Z0,pastel2:eb,set1:tb,set2:nb,set3:Lu,tableau10:_E},BA=Object.keys(Hb),Vb={brown_blueGreen:co,purpleRed_green:uo,pink_yellowGreen:fo,purple_orange:lo,red_blue:ho,red_grey:po,red_yellow_blue:bo,red_yellow_green:mo,spectral:go},qA=Object.keys(Vb),WA={brown_blueGreen:xE,purpleRed_green:wE,pink_yellowGreen:OE,purple_orange:EE,red_blue:TE,red_grey:CE,red_yellow_blue:RE,red_yellow_green:SE,spectral:AE},Yb={blues:$o,greens:Mo,greys:ko,oranges:Lo,purples:Po,reds:jo,blue_green:vo,blue_purple:yo,green_blue:_o,orange_red:xo,purple_blue_green:wo,purple_blue:Oo,purple_red:Eo,red_purple:To,yellow_green_blue:Co,yellow_green:Ro,yellow_orange_brown:So,yellow_orange_red:Ao},HA=Object.keys(Yb),VA={blues:BE,greens:qE,greys:WE,oranges:YE,purples:HE,reds:VE,turbo:nT,viridis:rT,inferno:aT,magma:iT,plasma:oT,cividis:GE,warm:XE,cool:JE,cubehelixDefault:KE,blue_green:$E,blue_purple:ME,green_blue:kE,orange_red:PE,purple_blue_green:jE,purple_blue:LE,purple_red:IE,red_purple:DE,yellow_green_blue:NE,yellow_green:FE,yellow_orange_brown:UE,yellow_orange_red:zE},Es=ka({},Hb,Vb,Yb),YA=function(e){return BA.includes(e)},GA=function(e){return qA.includes(e)},KA=function(e){return HA.includes(e)},XA={rainbow:QE,sinebow:tT};ka({},WA,VA,XA);var JA=function(e,t){if(typeof e=="function")return e;if(yu(e)){if(function(c){return c.theme!==void 0}(e)){if(t===void 0)throw new Error("Unable to use color from theme as no theme was provided");var n=Pt(t,e.theme);if(n===void 0)throw new Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(function(c){return c.from!==void 0}(e)){var r=function(c){return Pt(c,e.from)};if(Array.isArray(e.modifiers)){for(var i,a=[],o=function(){var c=i.value,u=c[0],f=c[1];if(u==="brighter")a.push(function(l){return l.brighter(f)});else if(u==="darker")a.push(function(l){return l.darker(f)});else{if(u!=="opacity")throw new Error("Invalid color modifier: '"+u+"', must be one of: 'brighter', 'darker', 'opacity'");a.push(function(l){return l.opacity=f,l})}},s=zA(e.modifiers);!(i=s()).done;)o();return a.length===0?r:function(c){return a.reduce(function(u,f){return f(u)},Zn(r(c))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}},Pa=function(e,t){return _.useMemo(function(){return JA(e,t)},[e,t])};T.oneOfType([T.string,T.func,T.shape({theme:T.string.isRequired}),T.shape({from:T.string.isRequired,modifiers:T.arrayOf(T.array)})]);var QA=function(e,t){if(typeof e=="function")return e;var n=function(l){return Pt(l,t)};if(Array.isArray(e)){var r=Un(e),i=function(l){return r(n(l))};return i.scale=r,i}if(yu(e)){if(function(l){return l.datum!==void 0}(e))return function(l){return Pt(l,e.datum)};if(function(l){return l.scheme!==void 0}(e)){if(YA(e.scheme)){var a=Un(Es[e.scheme]),o=function(l){return a(n(l))};return o.scale=a,o}if(GA(e.scheme)){if(e.size!==void 0&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=Un(Es[e.scheme][e.size||11]),c=function(l){return s(n(l))};return c.scale=s,c}if(KA(e.scheme)){if(e.size!==void 0&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var u=Un(Es[e.scheme][e.size||9]),f=function(l){return u(n(l))};return f.scale=u,f}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}},ZA=function(e,t){return _.useMemo(function(){return QA(e,t)},[e,t])};function Ce(){return Ce=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},Ce.apply(this,arguments)}var e$={pointerEvents:"none"},t$=function(e){var t=e.label,n=e.style,r=et();return R.jsx(At.g,{transform:n.transform,opacity:n.progress,style:e$,children:R.jsx(At.text,{textAnchor:"middle",dominantBaseline:"central",style:Ce({},r.labels.text,{fill:n.textColor}),children:t})})},Gb=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},n$=function(e,t){return e.filter(function(n){return Math.abs(Bu(n.arc.endAngle-n.arc.startAngle))>=t})},r$={startAngle:{enter:function(e){return Ce({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return Ce({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return Ce({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return Ce({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return Ce({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return Ce({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return Ce({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return Ce({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return Ce({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return Ce({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return Ce({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return Ce({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},Kb=function(e,t){return _.useMemo(function(){var n=r$[e];return{enter:function(r){return Ce({progress:0},n.enter(r.arc),t?t.enter(r):{})},update:function(r){return Ce({progress:1},n.update(r.arc),t?t.update(r):{})},leave:function(r){return Ce({progress:0},n.leave(r.arc),t?t.leave(r):{})}}},[e,t])},i$=function(e,t){var n=MA(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return Vn(n,r)},a$=function(e){return function(t,n,r,i){return gi([t,n,r,i],function(a,o,s,c){var u=i$({startAngle:a,endAngle:o,innerRadius:s,outerRadius:c},e);return"translate("+u.x+","+u.y+")"})}},o$=function(e,t,n,r){t===void 0&&(t=.5),n===void 0&&(n="innerRadius");var i=lr(),a=i.animate,o=i.config,s=Kb(n,r);return{transition:du(e,{keys:function(c){return c.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!a}),interpolate:a$(t)}},s$=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,a=e.radiusOffset,o=e.skipAngle,s=e.textColor,c=e.component,u=c===void 0?t$:c,f=Ma(i),l=et(),d=Pa(s,l),b=_.useMemo(function(){return n.filter(function(y){return Math.abs(Bu(y.arc.endAngle-y.arc.startAngle))>=o})},[n,o]),h=o$(b,a,r),m=h.transition,p=h.interpolate,x=u;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:m(function(y,v){return _.createElement(x,{key:v.id,datum:v,label:f(v),style:Ce({},y,{transform:p(y.startAngle,y.endAngle,y.innerRadius,y.outerRadius),textColor:d(v)})})})})},c$=function(e){var t=e.label,n=e.style,r=et();return R.jsxs(At.g,{opacity:n.opacity,children:[R.jsx(At.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),R.jsx(At.text,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:Ce({},r.labels.text,{fill:n.textColor}),children:t})]})},u$=function(e){var t=Gb(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?"start":"end"},Xb=function(e,t,n,r){var i,a,o=Gb(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=Vn(o,e.outerRadius+t),c=Vn(o,e.outerRadius+t+n);return o<Math.PI/2||o>1.5*Math.PI?(i="after",a={x:c.x+r,y:c.y}):(i="before",a={x:c.x-r,y:c.y}),{side:i,points:[s,c,a]}},f$=oC().x(function(e){return e.x}).y(function(e){return e.y}),l$=function(e,t,n,r,i,a,o){return gi([e,t,n,r,i,a,o],function(s,c,u,f,l,d,b){var h=Xb({startAngle:s,endAngle:c,innerRadius:u,outerRadius:f},l,d,b).points;return f$(h)})},d$=function(e,t,n,r){return gi([e,t,n,r],function(i,a,o,s){return u$({startAngle:i,endAngle:a,innerRadius:o,outerRadius:s})})},h$=function(e,t,n,r,i,a,o,s){return gi([e,t,n,r,i,a,o,s],function(c,u,f,l,d,b,h,m){var p=Xb({startAngle:c,endAngle:u,innerRadius:f,outerRadius:l},d,b,h),x=p.points,y=p.side,v=x[2];return y==="before"?v.x-=m:v.x+=m,"translate("+v.x+","+v.y+")"})},p$=function(e){var t=e.data,n=e.offset,r=n===void 0?0:n,i=e.diagonalLength,a=e.straightLength,o=e.skipAngle,s=o===void 0?0:o,c=e.textOffset,u=e.linkColor,f=e.textColor,l=lr(),d=l.animate,b=l.config,h=et(),m=Pa(u,h),p=Pa(f,h),x=function(v,E){return _.useMemo(function(){return n$(v,E)},[v,E])}(t,s),y=function(v){var E=v.offset,g=v.diagonalLength,C=v.straightLength,P=v.textOffset,F=v.getLinkColor,B=v.getTextColor;return _.useMemo(function(){return{enter:function(j){return{startAngle:j.arc.startAngle,endAngle:j.arc.endAngle,innerRadius:j.arc.innerRadius,outerRadius:j.arc.outerRadius,offset:E,diagonalLength:0,straightLength:0,textOffset:P,linkColor:F(j),textColor:B(j),opacity:0}},update:function(j){return{startAngle:j.arc.startAngle,endAngle:j.arc.endAngle,innerRadius:j.arc.innerRadius,outerRadius:j.arc.outerRadius,offset:E,diagonalLength:g,straightLength:C,textOffset:P,linkColor:F(j),textColor:B(j),opacity:1}},leave:function(j){return{startAngle:j.arc.startAngle,endAngle:j.arc.endAngle,innerRadius:j.arc.innerRadius,outerRadius:j.arc.outerRadius,offset:E,diagonalLength:0,straightLength:0,textOffset:P,linkColor:F(j),textColor:B(j),opacity:0}}}},[g,C,P,F,B,E])}({offset:r,diagonalLength:i,straightLength:a,textOffset:c,getLinkColor:m,getTextColor:p});return{transition:du(x,{keys:function(v){return v.id},initial:y.update,from:y.enter,enter:y.update,update:y.update,leave:y.leave,config:b,immediate:!d}),interpolateLink:l$,interpolateTextAnchor:d$,interpolateTextPosition:h$}},b$=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,a=e.offset,o=e.diagonalLength,s=e.straightLength,c=e.strokeWidth,u=e.textOffset,f=e.textColor,l=e.linkColor,d=e.component,b=d===void 0?c$:d,h=Ma(r),m=p$({data:n,skipAngle:i,offset:a,diagonalLength:o,straightLength:s,textOffset:u,linkColor:l,textColor:f}),p=m.transition,x=m.interpolateLink,y=m.interpolateTextAnchor,v=m.interpolateTextPosition,E=b;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:p(function(g,C){return _.createElement(E,{key:C.id,datum:C,label:h(C),style:Ce({},g,{thickness:c,path:x(g.startAngle,g.endAngle,g.innerRadius,g.outerRadius,g.offset,g.diagonalLength,g.straightLength),textAnchor:y(g.startAngle,g.endAngle,g.innerRadius,g.outerRadius),textPosition:v(g.startAngle,g.endAngle,g.innerRadius,g.outerRadius,g.offset,g.diagonalLength,g.straightLength,g.textOffset)})})})})},m$=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,a=e.onMouseMove,o=e.onMouseLeave,s=_.useCallback(function(l){return r==null?void 0:r(t,l)},[r,t]),c=_.useCallback(function(l){return i==null?void 0:i(t,l)},[i,t]),u=_.useCallback(function(l){return a==null?void 0:a(t,l)},[a,t]),f=_.useCallback(function(l){return o==null?void 0:o(t,l)},[o,t]);return R.jsx(At.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?s:void 0,onMouseEnter:i?c:void 0,onMouseMove:a?u:void 0,onMouseLeave:o?f:void 0})},g$=function(e,t,n,r,i){return gi([e,t,n,r],function(a,o,s,c){return i({startAngle:a,endAngle:o,innerRadius:Math.max(0,s),outerRadius:Math.max(0,c)})})},v$=function(e,t,n){t===void 0&&(t="innerRadius");var r=lr(),i=r.animate,a=r.config,o=Kb(t,n);return{transition:du(e,{keys:function(s){return s.id},initial:o.update,from:o.enter,enter:o.update,update:o.update,leave:o.leave,config:a,immediate:!i}),interpolate:g$}},y$=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,a=e.borderColor,o=e.onClick,s=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.transitionMode,l=e.component,d=l===void 0?m$:l,b=et(),h=Pa(a,b),m=v$(n,f,{enter:function(v){return{opacity:0,color:v.color,borderColor:h(v)}},update:function(v){return{opacity:1,color:v.color,borderColor:h(v)}},leave:function(v){return{opacity:0,color:v.color,borderColor:h(v)}}}),p=m.transition,x=m.interpolate,y=d;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:p(function(v,E){return _.createElement(y,{key:E.id,datum:E,style:Ce({},v,{borderWidth:i,path:x(v.startAngle,v.endAngle,v.innerRadius,v.outerRadius,r)}),onClick:o,onMouseEnter:s,onMouseMove:c,onMouseLeave:u})})})},_$=function(e,t,n,r,i,a){a===void 0&&(a=!0);var o=[],s=Vn($t(r),n);o.push([s.x,s.y]);var c=Vn($t(i),n);o.push([c.x,c.y]);for(var u=Math.round(Math.min(r,i));u<=Math.round(Math.max(r,i));u++)if(u%90==0){var f=Vn($t(u),n);o.push([f.x,f.y])}o=o.map(function(p){var x=p[0],y=p[1];return[e+x,t+y]}),a&&o.push([e,t]);var l=o.map(function(p){return p[0]}),d=o.map(function(p){return p[1]}),b=Math.min.apply(Math,l),h=Math.max.apply(Math,l),m=Math.min.apply(Math,d);return{points:o,x:b,y:m,width:h-b,height:Math.max.apply(Math,d)-m}},x$=function(e){var t=e===void 0?{}:e,n=t.cornerRadius,r=n===void 0?0:n,i=t.padAngle,a=i===void 0?0:i;return _.useMemo(function(){return rC().innerRadius(function(o){return o.innerRadius}).outerRadius(function(o){return o.outerRadius}).cornerRadius(r).padAngle(a)},[r,a])},w$=function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=a===void 0?1:a,s=e.borderWidth,c=s===void 0?0:s,u=e.borderColor;return R.jsx("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})},O$=function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=a===void 0?1:a,s=e.borderWidth,c=s===void 0?0:s,u=e.borderColor;return R.jsx("g",{transform:"translate("+t+","+n+")",children:R.jsx("path",{d:`
|
|
267
|
+
`),R.jsxs("pattern",{id:t,width:m,height:p,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:m,height:p,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),R.jsx("path",{d:h,strokeWidth:l,stroke:u,strokeLinecap:"square"})]})});yc.displayName="PatternLines",yc.propTypes={id:T.string.isRequired,spacing:T.number.isRequired,rotation:T.number.isRequired,background:T.string.isRequired,color:T.string.isRequired,lineWidth:T.number.isRequired};var Lr={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},_c=_.memo(function(e){var t=e.id,n=e.color,r=n===void 0?Lr.color:n,i=e.background,a=i===void 0?Lr.background:i,o=e.size,s=o===void 0?Lr.size:o,c=e.padding,u=c===void 0?Lr.padding:c,f=e.stagger,l=f===void 0?Lr.stagger:f,d=s+u,b=u/2;return l===!0&&(d=2*s+2*u),R.jsxs("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:d,height:d,fill:a}),R.jsx("rect",{x:b,y:b,width:s,height:s,fill:r}),l&&R.jsx("rect",{x:1.5*u+s,y:1.5*u+s,width:s,height:s,fill:r})]})});_c.displayName="PatternSquares",_c.propTypes={id:T.string.isRequired,color:T.string.isRequired,background:T.string.isRequired,size:T.number.isRequired,padding:T.number.isRequired,stagger:T.bool.isRequired};var Nb={patternDots:vc,patternLines:yc,patternSquares:_c},PA=["type"],xc=ht({},Db,Nb),Fb=function(e){var t=e.defs;return!t||t.length<1?null:R.jsx("defs",{"aria-hidden":!0,children:t.map(function(n){var r=n.type,i=Uu(n,PA);return xc[r]?_.createElement(xc[r],ht({key:i.id},i)):null})})};Fb.propTypes={defs:T.arrayOf(T.shape({type:T.oneOf(Object.keys(xc)).isRequired,id:T.string.isRequired}))};var jA=_.memo(Fb),Ub=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,a=e.children,o=e.role,s=e.ariaLabel,c=e.ariaLabelledBy,u=e.ariaDescribedBy,f=e.isFocusable,l=et();return R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:o,"aria-label":s,"aria-labelledby":c,"aria-describedby":u,focusable:f,tabIndex:f?0:void 0,children:[R.jsx(jA,{defs:i}),R.jsx("rect",{width:t,height:n,fill:l.background}),R.jsx("g",{transform:"translate("+r.left+","+r.top+")",children:a})]})};Ub.propTypes={width:T.number.isRequired,height:T.number.isRequired,margin:T.shape({top:T.number.isRequired,left:T.number.isRequired}).isRequired,defs:T.array,children:T.oneOfType([T.arrayOf(T.node),T.node]).isRequired,role:T.string,isFocusable:T.bool,ariaLabel:T.string,ariaLabelledBy:T.string,ariaDescribedBy:T.string};var zb=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return R.jsx("circle",{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:"none"}})};zb.propTypes={size:T.number.isRequired,color:T.string.isRequired,borderWidth:T.number.isRequired,borderColor:T.string.isRequired};var LA=_.memo(zb),Bb=function(e){var t=e.x,n=e.y,r=e.symbol,i=r===void 0?LA:r,a=e.size,o=e.datum,s=e.color,c=e.borderWidth,u=e.borderColor,f=e.label,l=e.labelTextAnchor,d=l===void 0?"middle":l,b=e.labelYOffset,h=b===void 0?-12:b,m=et(),p=lr(),x=p.animate,y=p.config,v=lu({transform:"translate("+t+", "+n+")",config:y,immediate:!x});return R.jsxs(At.g,{transform:v.transform,style:{pointerEvents:"none"},children:[_.createElement(i,{size:a,color:s,datum:o,borderWidth:c,borderColor:u}),f&&R.jsx("text",{textAnchor:d,y:h,style:kb(m.dots.text),children:f})]})};Bb.propTypes={x:T.number.isRequired,y:T.number.isRequired,datum:T.object.isRequired,size:T.number.isRequired,color:T.string.isRequired,borderWidth:T.number.isRequired,borderColor:T.string.isRequired,symbol:T.oneOfType([T.func,T.object]),label:T.oneOfType([T.string,T.number]),labelTextAnchor:T.oneOf(["start","middle","end"]),labelYOffset:T.number};_.memo(Bb);var qb=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,a=e.value,o=e.lineStyle,s=e.textStyle,c=e.legend,u=e.legendPosition,f=u===void 0?"top-right":u,l=e.legendOffsetX,d=l===void 0?14:l,b=e.legendOffsetY,h=b===void 0?14:b,m=e.legendOrientation,p=m===void 0?"horizontal":m,x=et(),y=0,v=0,E=0,g=0;r==="y"?(E=i(a),v=t):(y=i(a),g=n);var C=null;if(c){var P=function(F){var B=F.axis,j=F.width,L=F.height,Z=F.position,M=F.offsetX,S=F.offsetY,I=F.orientation,q=0,H=0,ne=I==="vertical"?-90:0,V="start";if(B==="x")switch(Z){case"top-left":q=-M,H=S,V="end";break;case"top":H=-S,V=I==="horizontal"?"middle":"start";break;case"top-right":q=M,H=S,V=I==="horizontal"?"start":"end";break;case"right":q=M,H=L/2,V=I==="horizontal"?"start":"middle";break;case"bottom-right":q=M,H=L-S,V="start";break;case"bottom":H=L+S,V=I==="horizontal"?"middle":"end";break;case"bottom-left":H=L-S,q=-M,V=I==="horizontal"?"end":"start";break;case"left":q=-M,H=L/2,V=I==="horizontal"?"end":"middle"}else switch(Z){case"top-left":q=M,H=-S,V="start";break;case"top":q=j/2,H=-S,V=I==="horizontal"?"middle":"start";break;case"top-right":q=j-M,H=-S,V=I==="horizontal"?"end":"start";break;case"right":q=j+M,V=I==="horizontal"?"start":"middle";break;case"bottom-right":q=j-M,H=S,V="end";break;case"bottom":q=j/2,H=S,V=I==="horizontal"?"middle":"end";break;case"bottom-left":q=M,H=S,V=I==="horizontal"?"start":"end";break;case"left":q=-M,V=I==="horizontal"?"end":"middle"}return{x:q,y:H,rotation:ne,textAnchor:V}}({axis:r,width:t,height:n,position:f,offsetX:d,offsetY:h,orientation:p});C=R.jsx("text",{transform:"translate("+P.x+", "+P.y+") rotate("+P.rotation+")",textAnchor:P.textAnchor,dominantBaseline:"central",style:s,children:c})}return R.jsxs("g",{transform:"translate("+y+", "+E+")",children:[R.jsx("line",{x1:0,x2:v,y1:0,y2:g,stroke:x.markers.lineColor,strokeWidth:x.markers.lineStrokeWidth,style:o}),C]})};qb.propTypes={width:T.number.isRequired,height:T.number.isRequired,axis:T.oneOf(["x","y"]).isRequired,scale:T.func.isRequired,value:T.oneOfType([T.number,T.string,T.instanceOf(Date)]).isRequired,lineStyle:T.object,textStyle:T.object,legend:T.string,legendPosition:T.oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:T.number.isRequired,legendOffsetY:T.number.isRequired,legendOrientation:T.oneOf(["horizontal","vertical"]).isRequired};var IA=_.memo(qb),Wb=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,a=e.yScale;return t&&t.length!==0?t.map(function(o,s){return R.jsx(IA,ht({},o,{width:n,height:r,scale:o.axis==="y"?a:i}),s)}):null};Wb.propTypes={width:T.number.isRequired,height:T.number.isRequired,xScale:T.func.isRequired,yScale:T.func.isRequired,markers:T.arrayOf(T.shape({axis:T.oneOf(["x","y"]).isRequired,value:T.oneOfType([T.number,T.string,T.instanceOf(Date)]).isRequired,lineStyle:T.object,textStyle:T.object}))};_.memo(Wb);var DA=function(e){return s0(e)?e:function(t){return Pt(t,e)}},Ma=function(e){return _.useMemo(function(){return DA(e)},[e])},NA=Object.keys(Db),FA=Object.keys(Nb),UA=function(e,t,n){if(e==="*")return!0;if(s0(e))return e(t);if(yu(e)){var r=n?Pt(t,n):t;return bA(gR(r,Object.keys(e)),e)}return!1},zA=function(e,t,n,r){var i={},a=i.dataKey,o=i.colorKey,s=o===void 0?"color":o,c=i.targetKey,u=c===void 0?"fill":c,f=[],l={};return e.length&&t.length&&(f=[].concat(e),t.forEach(function(d){for(var b=function(){var m=n[h],p=m.id,x=m.match;if(UA(x,d,a)){var y=e.find(function(j){return j.id===p});if(y){if(FA.includes(y.type))if(y.background==="inherit"||y.color==="inherit"){var v=Pt(d,s),E=y.background,g=y.color,C=p;y.background==="inherit"&&(C=C+".bg."+v,E=v),y.color==="inherit"&&(C=C+".fg."+v,g=v),Nr(d,u,"url(#"+C+")"),l[C]||(f.push(ht({},y,{id:C,background:E,color:g})),l[C]=1)}else Nr(d,u,"url(#"+p+")");else if(NA.includes(y.type))if(y.colors.map(function(j){return j.color}).includes("inherit")){var P=Pt(d,s),F=p,B=ht({},y,{colors:y.colors.map(function(j,L){return j.color!=="inherit"?j:(F=F+"."+L+"."+P,ht({},j,{color:j.color==="inherit"?P:j.color}))})});B.id=F,Nr(d,u,"url(#"+F+")"),l[F]||(f.push(B),l[F]=1)}else Nr(d,u,"url(#"+p+")")}return"break"}},h=0;h<n.length&&b()!=="break";h++);})),f};function ka(){return ka=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},ka.apply(this,arguments)}function Ld(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 BA(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(i,a){if(i){if(typeof i=="string")return Ld(i,a);var o=Object.prototype.toString.call(i).slice(8,-1);return o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set"?Array.from(i):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ld(i,a):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
268
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Hb={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:K0,accent:X0,dark2:J0,paired:Q0,pastel1:Z0,pastel2:eb,set1:tb,set2:nb,set3:Lu,tableau10:xE},qA=Object.keys(Hb),Vb={brown_blueGreen:co,purpleRed_green:uo,pink_yellowGreen:fo,purple_orange:lo,red_blue:ho,red_grey:po,red_yellow_blue:bo,red_yellow_green:mo,spectral:go},WA=Object.keys(Vb),HA={brown_blueGreen:wE,purpleRed_green:OE,pink_yellowGreen:EE,purple_orange:TE,red_blue:CE,red_grey:RE,red_yellow_blue:SE,red_yellow_green:AE,spectral:$E},Yb={blues:$o,greens:Mo,greys:ko,oranges:Lo,purples:Po,reds:jo,blue_green:vo,blue_purple:yo,green_blue:_o,orange_red:xo,purple_blue_green:wo,purple_blue:Oo,purple_red:Eo,red_purple:To,yellow_green_blue:Co,yellow_green:Ro,yellow_orange_brown:So,yellow_orange_red:Ao},VA=Object.keys(Yb),YA={blues:qE,greens:WE,greys:HE,oranges:GE,purples:VE,reds:YE,turbo:rT,viridis:iT,inferno:oT,magma:aT,plasma:sT,cividis:KE,warm:JE,cool:QE,cubehelixDefault:XE,blue_green:ME,blue_purple:kE,green_blue:PE,orange_red:jE,purple_blue_green:LE,purple_blue:IE,purple_red:DE,red_purple:NE,yellow_green_blue:FE,yellow_green:UE,yellow_orange_brown:zE,yellow_orange_red:BE},Es=ka({},Hb,Vb,Yb),GA=function(e){return qA.includes(e)},KA=function(e){return WA.includes(e)},XA=function(e){return VA.includes(e)},JA={rainbow:ZE,sinebow:nT};ka({},HA,YA,JA);var QA=function(e,t){if(typeof e=="function")return e;if(yu(e)){if(function(c){return c.theme!==void 0}(e)){if(t===void 0)throw new Error("Unable to use color from theme as no theme was provided");var n=Pt(t,e.theme);if(n===void 0)throw new Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(function(c){return c.from!==void 0}(e)){var r=function(c){return Pt(c,e.from)};if(Array.isArray(e.modifiers)){for(var i,a=[],o=function(){var c=i.value,u=c[0],f=c[1];if(u==="brighter")a.push(function(l){return l.brighter(f)});else if(u==="darker")a.push(function(l){return l.darker(f)});else{if(u!=="opacity")throw new Error("Invalid color modifier: '"+u+"', must be one of: 'brighter', 'darker', 'opacity'");a.push(function(l){return l.opacity=f,l})}},s=BA(e.modifiers);!(i=s()).done;)o();return a.length===0?r:function(c){return a.reduce(function(u,f){return f(u)},Zn(r(c))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}},Pa=function(e,t){return _.useMemo(function(){return QA(e,t)},[e,t])};T.oneOfType([T.string,T.func,T.shape({theme:T.string.isRequired}),T.shape({from:T.string.isRequired,modifiers:T.arrayOf(T.array)})]);var ZA=function(e,t){if(typeof e=="function")return e;var n=function(l){return Pt(l,t)};if(Array.isArray(e)){var r=Un(e),i=function(l){return r(n(l))};return i.scale=r,i}if(yu(e)){if(function(l){return l.datum!==void 0}(e))return function(l){return Pt(l,e.datum)};if(function(l){return l.scheme!==void 0}(e)){if(GA(e.scheme)){var a=Un(Es[e.scheme]),o=function(l){return a(n(l))};return o.scale=a,o}if(KA(e.scheme)){if(e.size!==void 0&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=Un(Es[e.scheme][e.size||11]),c=function(l){return s(n(l))};return c.scale=s,c}if(XA(e.scheme)){if(e.size!==void 0&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var u=Un(Es[e.scheme][e.size||9]),f=function(l){return u(n(l))};return f.scale=u,f}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}},e$=function(e,t){return _.useMemo(function(){return ZA(e,t)},[e,t])};function Ce(){return Ce=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},Ce.apply(this,arguments)}var t$={pointerEvents:"none"},n$=function(e){var t=e.label,n=e.style,r=et();return R.jsx(At.g,{transform:n.transform,opacity:n.progress,style:t$,children:R.jsx(At.text,{textAnchor:"middle",dominantBaseline:"central",style:Ce({},r.labels.text,{fill:n.textColor}),children:t})})},Gb=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},r$=function(e,t){return e.filter(function(n){return Math.abs(Bu(n.arc.endAngle-n.arc.startAngle))>=t})},i$={startAngle:{enter:function(e){return Ce({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return Ce({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return Ce({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return Ce({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return Ce({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return Ce({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return Ce({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return Ce({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return Ce({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return Ce({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return Ce({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return Ce({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return Ce({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},Kb=function(e,t){return _.useMemo(function(){var n=i$[e];return{enter:function(r){return Ce({progress:0},n.enter(r.arc),t?t.enter(r):{})},update:function(r){return Ce({progress:1},n.update(r.arc),t?t.update(r):{})},leave:function(r){return Ce({progress:0},n.leave(r.arc),t?t.leave(r):{})}}},[e,t])},a$=function(e,t){var n=kA(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return Vn(n,r)},o$=function(e){return function(t,n,r,i){return gi([t,n,r,i],function(a,o,s,c){var u=a$({startAngle:a,endAngle:o,innerRadius:s,outerRadius:c},e);return"translate("+u.x+","+u.y+")"})}},s$=function(e,t,n,r){t===void 0&&(t=.5),n===void 0&&(n="innerRadius");var i=lr(),a=i.animate,o=i.config,s=Kb(n,r);return{transition:du(e,{keys:function(c){return c.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!a}),interpolate:o$(t)}},c$=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,a=e.radiusOffset,o=e.skipAngle,s=e.textColor,c=e.component,u=c===void 0?n$:c,f=Ma(i),l=et(),d=Pa(s,l),b=_.useMemo(function(){return n.filter(function(y){return Math.abs(Bu(y.arc.endAngle-y.arc.startAngle))>=o})},[n,o]),h=s$(b,a,r),m=h.transition,p=h.interpolate,x=u;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:m(function(y,v){return _.createElement(x,{key:v.id,datum:v,label:f(v),style:Ce({},y,{transform:p(y.startAngle,y.endAngle,y.innerRadius,y.outerRadius),textColor:d(v)})})})})},u$=function(e){var t=e.label,n=e.style,r=et();return R.jsxs(At.g,{opacity:n.opacity,children:[R.jsx(At.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),R.jsx(At.text,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:Ce({},r.labels.text,{fill:n.textColor}),children:t})]})},f$=function(e){var t=Gb(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?"start":"end"},Xb=function(e,t,n,r){var i,a,o=Gb(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=Vn(o,e.outerRadius+t),c=Vn(o,e.outerRadius+t+n);return o<Math.PI/2||o>1.5*Math.PI?(i="after",a={x:c.x+r,y:c.y}):(i="before",a={x:c.x-r,y:c.y}),{side:i,points:[s,c,a]}},l$=sC().x(function(e){return e.x}).y(function(e){return e.y}),d$=function(e,t,n,r,i,a,o){return gi([e,t,n,r,i,a,o],function(s,c,u,f,l,d,b){var h=Xb({startAngle:s,endAngle:c,innerRadius:u,outerRadius:f},l,d,b).points;return l$(h)})},h$=function(e,t,n,r){return gi([e,t,n,r],function(i,a,o,s){return f$({startAngle:i,endAngle:a,innerRadius:o,outerRadius:s})})},p$=function(e,t,n,r,i,a,o,s){return gi([e,t,n,r,i,a,o,s],function(c,u,f,l,d,b,h,m){var p=Xb({startAngle:c,endAngle:u,innerRadius:f,outerRadius:l},d,b,h),x=p.points,y=p.side,v=x[2];return y==="before"?v.x-=m:v.x+=m,"translate("+v.x+","+v.y+")"})},b$=function(e){var t=e.data,n=e.offset,r=n===void 0?0:n,i=e.diagonalLength,a=e.straightLength,o=e.skipAngle,s=o===void 0?0:o,c=e.textOffset,u=e.linkColor,f=e.textColor,l=lr(),d=l.animate,b=l.config,h=et(),m=Pa(u,h),p=Pa(f,h),x=function(v,E){return _.useMemo(function(){return r$(v,E)},[v,E])}(t,s),y=function(v){var E=v.offset,g=v.diagonalLength,C=v.straightLength,P=v.textOffset,F=v.getLinkColor,B=v.getTextColor;return _.useMemo(function(){return{enter:function(j){return{startAngle:j.arc.startAngle,endAngle:j.arc.endAngle,innerRadius:j.arc.innerRadius,outerRadius:j.arc.outerRadius,offset:E,diagonalLength:0,straightLength:0,textOffset:P,linkColor:F(j),textColor:B(j),opacity:0}},update:function(j){return{startAngle:j.arc.startAngle,endAngle:j.arc.endAngle,innerRadius:j.arc.innerRadius,outerRadius:j.arc.outerRadius,offset:E,diagonalLength:g,straightLength:C,textOffset:P,linkColor:F(j),textColor:B(j),opacity:1}},leave:function(j){return{startAngle:j.arc.startAngle,endAngle:j.arc.endAngle,innerRadius:j.arc.innerRadius,outerRadius:j.arc.outerRadius,offset:E,diagonalLength:0,straightLength:0,textOffset:P,linkColor:F(j),textColor:B(j),opacity:0}}}},[g,C,P,F,B,E])}({offset:r,diagonalLength:i,straightLength:a,textOffset:c,getLinkColor:m,getTextColor:p});return{transition:du(x,{keys:function(v){return v.id},initial:y.update,from:y.enter,enter:y.update,update:y.update,leave:y.leave,config:b,immediate:!d}),interpolateLink:d$,interpolateTextAnchor:h$,interpolateTextPosition:p$}},m$=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,a=e.offset,o=e.diagonalLength,s=e.straightLength,c=e.strokeWidth,u=e.textOffset,f=e.textColor,l=e.linkColor,d=e.component,b=d===void 0?u$:d,h=Ma(r),m=b$({data:n,skipAngle:i,offset:a,diagonalLength:o,straightLength:s,textOffset:u,linkColor:l,textColor:f}),p=m.transition,x=m.interpolateLink,y=m.interpolateTextAnchor,v=m.interpolateTextPosition,E=b;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:p(function(g,C){return _.createElement(E,{key:C.id,datum:C,label:h(C),style:Ce({},g,{thickness:c,path:x(g.startAngle,g.endAngle,g.innerRadius,g.outerRadius,g.offset,g.diagonalLength,g.straightLength),textAnchor:y(g.startAngle,g.endAngle,g.innerRadius,g.outerRadius),textPosition:v(g.startAngle,g.endAngle,g.innerRadius,g.outerRadius,g.offset,g.diagonalLength,g.straightLength,g.textOffset)})})})})},g$=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,a=e.onMouseMove,o=e.onMouseLeave,s=_.useCallback(function(l){return r==null?void 0:r(t,l)},[r,t]),c=_.useCallback(function(l){return i==null?void 0:i(t,l)},[i,t]),u=_.useCallback(function(l){return a==null?void 0:a(t,l)},[a,t]),f=_.useCallback(function(l){return o==null?void 0:o(t,l)},[o,t]);return R.jsx(At.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?s:void 0,onMouseEnter:i?c:void 0,onMouseMove:a?u:void 0,onMouseLeave:o?f:void 0})},v$=function(e,t,n,r,i){return gi([e,t,n,r],function(a,o,s,c){return i({startAngle:a,endAngle:o,innerRadius:Math.max(0,s),outerRadius:Math.max(0,c)})})},y$=function(e,t,n){t===void 0&&(t="innerRadius");var r=lr(),i=r.animate,a=r.config,o=Kb(t,n);return{transition:du(e,{keys:function(s){return s.id},initial:o.update,from:o.enter,enter:o.update,update:o.update,leave:o.leave,config:a,immediate:!i}),interpolate:v$}},_$=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,a=e.borderColor,o=e.onClick,s=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.transitionMode,l=e.component,d=l===void 0?g$:l,b=et(),h=Pa(a,b),m=y$(n,f,{enter:function(v){return{opacity:0,color:v.color,borderColor:h(v)}},update:function(v){return{opacity:1,color:v.color,borderColor:h(v)}},leave:function(v){return{opacity:0,color:v.color,borderColor:h(v)}}}),p=m.transition,x=m.interpolate,y=d;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:p(function(v,E){return _.createElement(y,{key:E.id,datum:E,style:Ce({},v,{borderWidth:i,path:x(v.startAngle,v.endAngle,v.innerRadius,v.outerRadius,r)}),onClick:o,onMouseEnter:s,onMouseMove:c,onMouseLeave:u})})})},x$=function(e,t,n,r,i,a){a===void 0&&(a=!0);var o=[],s=Vn($t(r),n);o.push([s.x,s.y]);var c=Vn($t(i),n);o.push([c.x,c.y]);for(var u=Math.round(Math.min(r,i));u<=Math.round(Math.max(r,i));u++)if(u%90==0){var f=Vn($t(u),n);o.push([f.x,f.y])}o=o.map(function(p){var x=p[0],y=p[1];return[e+x,t+y]}),a&&o.push([e,t]);var l=o.map(function(p){return p[0]}),d=o.map(function(p){return p[1]}),b=Math.min.apply(Math,l),h=Math.max.apply(Math,l),m=Math.min.apply(Math,d);return{points:o,x:b,y:m,width:h-b,height:Math.max.apply(Math,d)-m}},w$=function(e){var t=e===void 0?{}:e,n=t.cornerRadius,r=n===void 0?0:n,i=t.padAngle,a=i===void 0?0:i;return _.useMemo(function(){return iC().innerRadius(function(o){return o.innerRadius}).outerRadius(function(o){return o.outerRadius}).cornerRadius(r).padAngle(a)},[r,a])},O$=function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=a===void 0?1:a,s=e.borderWidth,c=s===void 0?0:s,u=e.borderColor;return R.jsx("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})},E$=function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=a===void 0?1:a,s=e.borderWidth,c=s===void 0?0:s,u=e.borderColor;return R.jsx("g",{transform:"translate("+t+","+n+")",children:R.jsx("path",{d:`
|
|
269
269
|
M`+r/2+` 0
|
|
270
270
|
L`+.8*r+" "+r/2+`
|
|
271
271
|
L`+r/2+" "+r+`
|
|
272
272
|
L`+.2*r+" "+r/2+`
|
|
273
273
|
L`+r/2+` 0
|
|
274
|
-
`,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})})},
|
|
274
|
+
`,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})})},T$=function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=a===void 0?1:a,s=e.borderWidth,c=s===void 0?0:s,u=e.borderColor;return R.jsx("rect",{x:t,y:n,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,width:r,height:r,style:{pointerEvents:"none"}})},C$=function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=a===void 0?1:a,s=e.borderWidth,c=s===void 0?0:s,u=e.borderColor;return R.jsx("g",{transform:"translate("+t+","+n+")",children:R.jsx("path",{d:`
|
|
275
275
|
M`+r/2+` 0
|
|
276
276
|
L`+r+" "+r+`
|
|
277
277
|
L0 `+r+`
|
|
278
278
|
L`+r/2+` 0
|
|
279
|
-
`,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})})};function bn(){return bn=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},bn.apply(this,arguments)}var C$={top:0,right:0,bottom:0,left:0},Jb=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,a=e.itemCount,o=e.itemWidth,s=e.itemHeight;if(typeof i!="number"&&(typeof(t=i)!="object"||Array.isArray(t)||t===null))throw new Error("Invalid property padding, must be one of: number, object");var c=typeof i=="number"?{top:i,right:i,bottom:i,left:i}:bn({},C$,i),u=c.left+c.right,f=c.top+c.bottom,l=o+u,d=s+f,b=(a-1)*r;return n==="row"?l=o*a+b+u:n==="column"&&(d=s*a+b+f),{width:l,height:d,padding:c}},R$=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,a=e.containerHeight,o=e.width,s=e.height,c=n,u=r;switch(t){case"top":c+=(i-o)/2;break;case"top-right":c+=i-o;break;case"right":c+=i-o,u+=(a-s)/2;break;case"bottom-right":c+=i-o,u+=a-s;break;case"bottom":c+=(i-o)/2,u+=a-s;break;case"bottom-left":u+=a-s;break;case"left":u+=(a-s)/2;break;case"center":c+=(i-o)/2,u+=(a-s)/2}return{x:c,y:u}},S$=function(e){var t,n,r,i,a,o,s=e.direction,c=e.justify,u=e.symbolSize,f=e.symbolSpacing,l=e.width,d=e.height;switch(s){case"left-to-right":t=0,n=(d-u)/2,i=d/2,o="central",c?(r=l,a="end"):(r=u+f,a="start");break;case"right-to-left":t=l-u,n=(d-u)/2,i=d/2,o="central",c?(r=0,a="start"):(r=l-u-f,a="end");break;case"top-to-bottom":t=(l-u)/2,n=0,r=l/2,a="middle",c?(i=d,o="alphabetic"):(i=u+f,o="text-before-edge");break;case"bottom-to-top":t=(l-u)/2,n=d-u,r=l/2,a="middle",c?(i=0,o="text-before-edge"):(i=d-u-f,o="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:a,labelAlignment:o}},A$={circle:w$,diamond:O$,square:E$,triangle:T$},$$=function(e){var t,n,r,i,a,o,s,c,u,f,l,d=e.x,b=e.y,h=e.width,m=e.height,p=e.data,x=e.direction,y=x===void 0?"left-to-right":x,v=e.justify,E=v!==void 0&&v,g=e.textColor,C=e.background,P=C===void 0?"transparent":C,F=e.opacity,B=F===void 0?1:F,j=e.symbolShape,L=j===void 0?"square":j,Z=e.symbolSize,M=Z===void 0?16:Z,S=e.symbolSpacing,I=S===void 0?8:S,q=e.symbolBorderWidth,H=q===void 0?0:q,ne=e.symbolBorderColor,V=ne===void 0?"transparent":ne,A=e.onClick,U=e.onMouseEnter,K=e.onMouseLeave,te=e.toggleSerie,X=e.effects,Y=_.useState({}),W=Y[0],G=Y[1],J=et(),k=_.useCallback(function(Le){if(X){var Xe=X.filter(function(Ne){return Ne.on==="hover"}).reduce(function(Ne,st){return bn({},Ne,st.style)},{});G(Xe)}U==null||U(p,Le)},[U,p,X]),z=_.useCallback(function(Le){if(X){var Xe=X.filter(function(Ne){return Ne.on!=="hover"}).reduce(function(Ne,st){return bn({},Ne,st.style)},{});G(Xe)}K==null||K(p,Le)},[K,p,X]),ee=S$({direction:y,justify:E,symbolSize:(t=W.symbolSize)!=null?t:M,symbolSpacing:I,width:h,height:m}),w=ee.symbolX,he=ee.symbolY,se=ee.labelX,ge=ee.labelY,Te=ee.labelAnchor,Ie=ee.labelAlignment,at=[A,U,K,te].some(function(Le){return Le!==void 0}),ot=typeof L=="function"?L:A$[L];return R.jsxs("g",{transform:"translate("+d+","+b+")",style:{opacity:(n=W.itemOpacity)!=null?n:B},children:[R.jsx("rect",{width:h,height:m,fill:(r=W.itemBackground)!=null?r:P,style:{cursor:at?"pointer":"auto"},onClick:function(Le){A==null||A(p,Le),te==null||te(p.id)},onMouseEnter:k,onMouseLeave:z}),fe.createElement(ot,bn({id:p.id,x:w,y:he,size:(i=W.symbolSize)!=null?i:M,fill:(a=(o=p.fill)!=null?o:p.color)!=null?a:"black",borderWidth:(s=W.symbolBorderWidth)!=null?s:H,borderColor:(c=W.symbolBorderColor)!=null?c:V},p.hidden?J.legends.hidden.symbol:void 0)),R.jsx("text",{textAnchor:Te,style:bn({},kb(J.legends.text),{fill:(u=(f=(l=W.itemTextColor)!=null?l:g)!=null?f:J.legends.text.fill)!=null?u:"black",dominantBaseline:Ie,pointerEvents:"none",userSelect:"none"},p.hidden?J.legends.hidden.text:void 0),x:se,y:ge,children:p.label})]})},M$=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,a=e.padding,o=a===void 0?0:a,s=e.justify,c=e.effects,u=e.itemWidth,f=e.itemHeight,l=e.itemDirection,d=l===void 0?"left-to-right":l,b=e.itemsSpacing,h=b===void 0?0:b,m=e.itemTextColor,p=e.itemBackground,x=p===void 0?"transparent":p,y=e.itemOpacity,v=y===void 0?1:y,E=e.symbolShape,g=e.symbolSize,C=e.symbolSpacing,P=e.symbolBorderWidth,F=e.symbolBorderColor,B=e.onClick,j=e.onMouseEnter,L=e.onMouseLeave,Z=e.toggleSerie,M=Jb({itemCount:t.length,itemWidth:u,itemHeight:f,itemsSpacing:h,direction:i,padding:o}).padding,S=i==="row"?u+h:0,I=i==="column"?f+h:0;return R.jsx("g",{transform:"translate("+n+","+r+")",children:t.map(function(q,H){return R.jsx($$,{data:q,x:H*S+M.left,y:H*I+M.top,width:u,height:f,direction:d,justify:s,effects:c,textColor:m,background:x,opacity:v,symbolShape:E,symbolSize:g,symbolSpacing:C,symbolBorderWidth:P,symbolBorderColor:F,onClick:B,onMouseEnter:j,onMouseLeave:L,toggleSerie:Z},H)})})},k$=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,a=i===void 0?0:i,o=e.translateY,s=o===void 0?0:o,c=e.anchor,u=e.direction,f=e.padding,l=f===void 0?0:f,d=e.justify,b=e.itemsSpacing,h=b===void 0?0:b,m=e.itemWidth,p=e.itemHeight,x=e.itemDirection,y=e.itemTextColor,v=e.itemBackground,E=e.itemOpacity,g=e.symbolShape,C=e.symbolSize,P=e.symbolSpacing,F=e.symbolBorderWidth,B=e.symbolBorderColor,j=e.onClick,L=e.onMouseEnter,Z=e.onMouseLeave,M=e.toggleSerie,S=e.effects,I=Jb({itemCount:t.length,itemsSpacing:h,itemWidth:m,itemHeight:p,direction:u,padding:l}),q=I.width,H=I.height,ne=R$({anchor:c,translateX:a,translateY:s,containerWidth:n,containerHeight:r,width:q,height:H}),V=ne.x,A=ne.y;return R.jsx(M$,{data:t,x:V,y:A,direction:u,padding:l,justify:d,effects:S,itemsSpacing:h,itemWidth:m,itemHeight:p,itemDirection:x,itemTextColor:y,itemBackground:v,itemOpacity:E,symbolShape:g,symbolSize:C,symbolSpacing:P,symbolBorderWidth:F,symbolBorderColor:B,onClick:j,onMouseEnter:L,onMouseLeave:Z,toggleSerie:typeof M=="boolean"?void 0:M})};function Qt(){return Qt=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},Qt.apply(this,arguments)}function Qb(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Id,P$=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,a=e.toggleSerie;return R.jsx(R.Fragment,{children:r.map(function(o,s){var c;return R.jsx(k$,Qt({},o,{containerWidth:t,containerHeight:n,data:(c=o.data)!=null?c:i,toggleSerie:o.toggleSerie?a:void 0}),s)})})},ae={id:"id",value:"value",sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:["arcs","arcLinkLabels","arcLabels","legends"],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableArcLabels:!0,arcLabel:"formattedValue",arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:"labels.text.fill"},enableArcLinkLabels:!0,arcLinkLabel:"id",arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:"labels.text.fill"},arcLinkLabelsColor:{theme:"axis.ticks.line.stroke"},colors:{scheme:"nivo"},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:"gentle",transitionMode:"innerRadius",tooltip:function(e){var t=e.datum;return R.jsx(Fx,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:typeof window<"u"&&(Id=window.devicePixelRatio)!=null?Id:1},j$=["points"],L$=function(e){var t=e.data,n=e.id,r=n===void 0?ae.id:n,i=e.value,a=i===void 0?ae.value:i,o=e.valueFormat,s=e.colors,c=s===void 0?ae.colors:s,u=Ma(r),f=Ma(a),l=Ab(o),d=ZA(c,"id");return _.useMemo(function(){return t.map(function(b){var h,m=u(b),p=f(b),x={id:m,label:(h=b.label)!=null?h:m,hidden:!1,value:p,formattedValue:l(p),data:b};return Qt({},x,{color:d(x)})})},[t,u,f,l,d])},I$=function(e){var t=e.data,n=e.startAngle,r=e.endAngle,i=e.innerRadius,a=e.outerRadius,o=e.padAngle,s=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,f=e.activeOuterRadiusOffset,l=e.hiddenIds,d=e.forwardLegendData,b=_.useMemo(function(){var x=uC().value(function(y){return y.value}).startAngle($t(n)).endAngle($t(r)).padAngle($t(o));return s||x.sortValues(null),x},[n,r,o,s]),h=_.useMemo(function(){var x=t.filter(function(y){return!l.includes(y.id)});return{dataWithArc:b(x).map(function(y){var v=Math.abs(y.endAngle-y.startAngle);return Qt({},y.data,{arc:{index:y.index,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:c===y.data.id?i-u:i,outerRadius:c===y.data.id?a+f:a,thickness:a-i,padAngle:y.padAngle,angle:v,angleDeg:Bu(v)}})}),legendData:t.map(function(y){return{id:y.id,label:y.label,color:y.color,hidden:l.includes(y.id),data:y}})}},[b,t,l,c,i,u,a,f]),m=h.legendData,p=_.useRef(d);return _.useEffect(function(){typeof p.current=="function"&&p.current(m)},[p,m]),h},D$=function(e){var t=e.activeId,n=e.onActiveIdChange,r=e.defaultActiveId,i=t!==void 0,a=_.useState(i||r===void 0?null:r),o=a[0],s=a[1];return{activeId:i?t:o,setActiveId:_.useCallback(function(c){n&&n(c),i||s(c)},[i,n,s])}},N$=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,a=i===void 0?ae.innerRadius:i,o=e.startAngle,s=o===void 0?ae.startAngle:o,c=e.endAngle,u=c===void 0?ae.endAngle:c,f=e.padAngle,l=f===void 0?ae.padAngle:f,d=e.sortByValue,b=d===void 0?ae.sortByValue:d,h=e.cornerRadius,m=h===void 0?ae.cornerRadius:h,p=e.fit,x=p===void 0?ae.fit:p,y=e.activeInnerRadiusOffset,v=y===void 0?ae.activeInnerRadiusOffset:y,E=e.activeOuterRadiusOffset,g=E===void 0?ae.activeOuterRadiusOffset:E,C=e.activeId,P=e.onActiveIdChange,F=e.defaultActiveId,B=e.forwardLegendData,j=D$({activeId:C,onActiveIdChange:P,defaultActiveId:F}),L=j.activeId,Z=j.setActiveId,M=_.useState([]),S=M[0],I=M[1],q=_.useMemo(function(){var V,A=Math.min(n,r)/2,U=A*Math.min(a,1),K=n/2,te=r/2;if(x){var X=_$(K,te,A,s-90,u-90),Y=X.points,W=Qb(X,j$),G=Math.min(n/W.width,r/W.height),J={width:W.width*G,height:W.height*G};J.x=(n-J.width)/2,J.y=(r-J.height)/2,K=(K-W.x)/W.width*W.width*G+J.x,te=(te-W.y)/W.height*W.height*G+J.y,V={box:W,ratio:G,points:Y},A*=G,U*=G}return{centerX:K,centerY:te,radius:A,innerRadius:U,debug:V}},[n,r,a,s,u,x]),H=I$({data:t,startAngle:s,endAngle:u,innerRadius:q.innerRadius,outerRadius:q.radius,padAngle:l,sortByValue:b,activeId:L,activeInnerRadiusOffset:v,activeOuterRadiusOffset:g,hiddenIds:S,forwardLegendData:B}),ne=_.useCallback(function(V){I(function(A){return A.indexOf(V)>-1?A.filter(function(U){return U!==V}):[].concat(A,[V])})},[]);return Qt({arcGenerator:x$({cornerRadius:m,padAngle:$t(l)}),activeId:L,setActiveId:Z,toggleSerie:ne},H,q)},F$=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,a=e.radius,o=e.innerRadius;return _.useMemo(function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:a,innerRadius:o}},[t,n,r,i,a,o])},U$=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,a=e.borderColor,o=e.isInteractive,s=e.onClick,c=e.onMouseEnter,u=e.onMouseMove,f=e.onMouseLeave,l=e.setActiveId,d=e.tooltip,b=e.transitionMode,h=Wx(),m=h.showTooltipFromEvent,p=h.hideTooltip,x=_.useMemo(function(){if(o)return function(g,C){s==null||s(g,C)}},[o,s]),y=_.useMemo(function(){if(o)return function(g,C){m(_.createElement(d,{datum:g}),C),l(g.id),c==null||c(g,C)}},[o,m,l,c,d]),v=_.useMemo(function(){if(o)return function(g,C){m(_.createElement(d,{datum:g}),C),u==null||u(g,C)}},[o,m,u,d]),E=_.useMemo(function(){if(o)return function(g,C){p(),l(null),f==null||f(g,C)}},[o,p,l,f]);return R.jsx(y$,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:a,transitionMode:b,onClick:x,onMouseEnter:y,onMouseMove:v,onMouseLeave:E})},z$=["isInteractive","animate","motionConfig","theme","renderWrapper"],B$=function(e){var t=e.data,n=e.id,r=n===void 0?ae.id:n,i=e.value,a=i===void 0?ae.value:i,o=e.valueFormat,s=e.sortByValue,c=s===void 0?ae.sortByValue:s,u=e.layers,f=u===void 0?ae.layers:u,l=e.startAngle,d=l===void 0?ae.startAngle:l,b=e.endAngle,h=b===void 0?ae.endAngle:b,m=e.padAngle,p=m===void 0?ae.padAngle:m,x=e.fit,y=x===void 0?ae.fit:x,v=e.innerRadius,E=v===void 0?ae.innerRadius:v,g=e.cornerRadius,C=g===void 0?ae.cornerRadius:g,P=e.activeInnerRadiusOffset,F=P===void 0?ae.activeInnerRadiusOffset:P,B=e.activeOuterRadiusOffset,j=B===void 0?ae.activeOuterRadiusOffset:B,L=e.width,Z=e.height,M=e.margin,S=e.colors,I=S===void 0?ae.colors:S,q=e.borderWidth,H=q===void 0?ae.borderWidth:q,ne=e.borderColor,V=ne===void 0?ae.borderColor:ne,A=e.enableArcLabels,U=A===void 0?ae.enableArcLabels:A,K=e.arcLabel,te=K===void 0?ae.arcLabel:K,X=e.arcLabelsSkipAngle,Y=X===void 0?ae.arcLabelsSkipAngle:X,W=e.arcLabelsTextColor,G=W===void 0?ae.arcLabelsTextColor:W,J=e.arcLabelsRadiusOffset,k=J===void 0?ae.arcLabelsRadiusOffset:J,z=e.arcLabelsComponent,ee=e.enableArcLinkLabels,w=ee===void 0?ae.enableArcLinkLabels:ee,he=e.arcLinkLabel,se=he===void 0?ae.arcLinkLabel:he,ge=e.arcLinkLabelsSkipAngle,Te=ge===void 0?ae.arcLinkLabelsSkipAngle:ge,Ie=e.arcLinkLabelsOffset,at=Ie===void 0?ae.arcLinkLabelsOffset:Ie,ot=e.arcLinkLabelsDiagonalLength,Le=ot===void 0?ae.arcLinkLabelsDiagonalLength:ot,Xe=e.arcLinkLabelsStraightLength,Ne=Xe===void 0?ae.arcLinkLabelsStraightLength:Xe,st=e.arcLinkLabelsThickness,an=st===void 0?ae.arcLinkLabelsThickness:st,It=e.arcLinkLabelsTextOffset,on=It===void 0?ae.arcLinkLabelsTextOffset:It,ct=e.arcLinkLabelsTextColor,Pn=ct===void 0?ae.arcLinkLabelsTextColor:ct,dr=e.arcLinkLabelsColor,_i=dr===void 0?ae.arcLinkLabelsColor:dr,hr=e.arcLinkLabelComponent,xi=e.defs,Fo=xi===void 0?ae.defs:xi,wi=e.fill,Uo=wi===void 0?ae.fill:wi,Oi=e.isInteractive,zo=Oi===void 0?ae.isInteractive:Oi,Bo=e.onClick,pr=e.onMouseEnter,Ei=e.onMouseMove,Dt=e.onMouseLeave,jn=e.tooltip,br=jn===void 0?ae.tooltip:jn,Ti=e.activeId,qo=e.onActiveIdChange,Ci=e.defaultActiveId,Ri=e.transitionMode,mr=Ri===void 0?ae.transitionMode:Ri,gr=e.legends,Si=gr===void 0?ae.legends:gr,Wo=e.forwardLegendData,vr=e.role,Ai=vr===void 0?ae.role:vr,sn=EA(L,Z,M),Ho=sn.outerWidth,Vo=sn.outerHeight,Yo=sn.margin,O=sn.innerWidth,D=sn.innerHeight,Q=L$({data:t,id:r,value:a,valueFormat:o,colors:I}),re=N$({data:Q,width:O,height:D,fit:y,innerRadius:E,startAngle:d,endAngle:h,padAngle:p,sortByValue:c,cornerRadius:C,activeInnerRadiusOffset:F,activeOuterRadiusOffset:j,activeId:Ti,onActiveIdChange:qo,defaultActiveId:Ci,forwardLegendData:Wo}),be=re.dataWithArc,we=re.legendData,pe=re.arcGenerator,le=re.centerX,je=re.centerY,Ae=re.radius,Me=re.innerRadius,qe=re.setActiveId,Nt=re.toggleSerie,Tt=UA(Fo,be,Uo),ke={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};f.includes("arcs")&&(ke.arcs=R.jsx(U$,{center:[le,je],data:be,arcGenerator:pe,borderWidth:H,borderColor:V,isInteractive:zo,onClick:Bo,onMouseEnter:pr,onMouseMove:Ei,onMouseLeave:Dt,setActiveId:qe,tooltip:br,transitionMode:mr},"arcs")),w&&f.includes("arcLinkLabels")&&(ke.arcLinkLabels=R.jsx(b$,{center:[le,je],data:be,label:se,skipAngle:Te,offset:at,diagonalLength:Le,straightLength:Ne,strokeWidth:an,textOffset:on,textColor:Pn,linkColor:_i,component:hr},"arcLinkLabels")),U&&f.includes("arcLabels")&&(ke.arcLabels=R.jsx(s$,{center:[le,je],data:be,label:te,radiusOffset:k,skipAngle:Y,textColor:G,transitionMode:mr,component:z},"arcLabels")),Si.length>0&&f.includes("legends")&&(ke.legends=R.jsx(P$,{width:O,height:D,data:we,legends:Si,toggleSerie:Nt},"legends"));var yr=F$({dataWithArc:be,arcGenerator:pe,centerX:le,centerY:je,radius:Ae,innerRadius:Me});return R.jsx(Ub,{width:Ho,height:Vo,margin:Yo,defs:Tt,role:Ai,children:f.map(function(Ln,Go){return ke[Ln]!==void 0?ke[Ln]:typeof Ln=="function"?R.jsx(_.Fragment,{children:_.createElement(Ln,yr)},Go):null})})},q$=function(e){var t=e.isInteractive,n=t===void 0?ae.isInteractive:t,r=e.animate,i=r===void 0?ae.animate:r,a=e.motionConfig,o=a===void 0?ae.motionConfig:a,s=e.theme,c=e.renderWrapper,u=Qb(e,z$);return R.jsx(jb,{animate:i,isInteractive:n,motionConfig:o,renderWrapper:c,theme:s,children:R.jsx(B$,Qt({isInteractive:n},u))})},W$=function(e){return R.jsx(Lb,{children:function(t){var n=t.width,r=t.height;return R.jsx(q$,Qt({width:n,height:r},e))}})};exports.AuthContext=Gc;exports.AvatarIcon=vp;exports.ConfirmContext=Zg;exports.DelegationContext=mp;exports.ENTERED=qt;exports.ENTERING=St;exports.EXITED=Bt;exports.EXITING=na;exports.Fade=aa;exports.FloatingLabel=Ic;exports.FloatingLabelInput=yp;exports.FormContext=vh;exports.FormGroup=Lc;exports.FromToDatePickerDropdownToggle=y_;exports.GenIcon=$e;exports.Ie=Wv;exports.LoadingContext=Hv;exports.LoginState=Lh;exports.LuminusComponentsContext=Fc;exports.MdArrowRight=jg;exports.MdCheck=Lg;exports.MdCircle=Pg;exports.MdClear=kg;exports.MdOutlineAddCircleOutline=qg;exports.MdOutlineArrowOutward=Ig;exports.MdOutlineCameraAlt=Yg;exports.MdOutlineChevronRight=Xg;exports.MdOutlineClose=Mh;exports.MdOutlineDelete=Ng;exports.MdOutlineEdit=Gg;exports.MdOutlineExpand=Fg;exports.MdOutlineFileUpload=Wg;exports.MdOutlineKeyboardArrowLeft=Hg;exports.MdOutlineKeyboardArrowRight=Vg;exports.MdOutlineStar=Qg;exports.NoInputContainer=xp;exports.Oe=T;exports.OverlayTrigger=Sh;exports.Popover=Th;exports.PromptContext=ev;exports.RowLabelInput=_p;exports.SimpleDropdownToggle=s_;exports.Tooltip=Nc;exports.TransitionWrapper=eh;exports.Typography=gp;exports.UserAvatarToggle=f_;exports.UserContext=Vv;exports._=W$;exports.addEventListener=Kd;exports.canUseDOM=La;exports.cancelToken=G2;exports.classNames=Oe;exports.constructFrom=Fd;exports.contains=sa;exports.extractErrorsFromResponse=Hc;exports.extractPermissionsFromResponse=cp;exports.fixNameIdNulls=op;exports.formatFileSize=w2;exports.getDefaultExportFromCjs=Ke;exports.hasClass=Is;exports.hasOnlyNullValues=sp;exports.hookFormSetServerErrors=x2;exports.isEscKey=yh;exports.isPrimitive=ha;exports.joinStrings=fp;exports.jsxRuntimeExports=R;exports.latinize=Vc;exports.listen=Ht;exports.mergeOptionsWithPopperConfig=bh;exports.millisecondsInDay=o1;exports.millisecondsInHour=Ud;exports.millisecondsInMinute=s1;exports.millisecondsInWeek=a1;exports.ownerDocument=si;exports.removeEventListener=Xd;exports.renderTransition=_h;exports.replaceNullValuesOnlyObjectsWithNulls=_2;exports.secondsInDay=wc;exports.secondsInHour=zd;exports.secondsInMinute=c1;exports.secondsInMonth=qd;exports.secondsInQuarter=f1;exports.secondsInWeek=u1;exports.secondsInYear=Bd;exports.shortenText=E2;exports.style=Ec;exports.toDate=Nd;exports.transitionEnd=Jd;exports.transitionEndListener=Qd;exports.triggerBrowserReflow=Zd;exports.truncateText=up;exports.urlfyArray=O2;exports.useAuth=pp;exports.useAxios=K2;exports.useBootstrapBreakpoints=v1;exports.useBootstrapMinBreakpoint=y1;exports.useBootstrapPrefix=Kt;exports.useCallbackRef=Ms;exports.useClickOutside=ph;exports.useCookies=Yc;exports.useEventCallback=_n;exports.useIsRTL=Oc;exports.useIsomorphicEffect=ia;exports.useMergedRefs=Zt;exports.useMounted=Cc;exports.useNotifications=bp;exports.usePopper=dh;exports.useUncontrolled=p1;exports.useWaitForDOMRef=Ls;exports.useWillUnmount=th;exports.useWindow=gh;exports.warning=jc;
|
|
279
|
+
`,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})})};function bn(){return bn=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},bn.apply(this,arguments)}var R$={top:0,right:0,bottom:0,left:0},Jb=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,a=e.itemCount,o=e.itemWidth,s=e.itemHeight;if(typeof i!="number"&&(typeof(t=i)!="object"||Array.isArray(t)||t===null))throw new Error("Invalid property padding, must be one of: number, object");var c=typeof i=="number"?{top:i,right:i,bottom:i,left:i}:bn({},R$,i),u=c.left+c.right,f=c.top+c.bottom,l=o+u,d=s+f,b=(a-1)*r;return n==="row"?l=o*a+b+u:n==="column"&&(d=s*a+b+f),{width:l,height:d,padding:c}},S$=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,a=e.containerHeight,o=e.width,s=e.height,c=n,u=r;switch(t){case"top":c+=(i-o)/2;break;case"top-right":c+=i-o;break;case"right":c+=i-o,u+=(a-s)/2;break;case"bottom-right":c+=i-o,u+=a-s;break;case"bottom":c+=(i-o)/2,u+=a-s;break;case"bottom-left":u+=a-s;break;case"left":u+=(a-s)/2;break;case"center":c+=(i-o)/2,u+=(a-s)/2}return{x:c,y:u}},A$=function(e){var t,n,r,i,a,o,s=e.direction,c=e.justify,u=e.symbolSize,f=e.symbolSpacing,l=e.width,d=e.height;switch(s){case"left-to-right":t=0,n=(d-u)/2,i=d/2,o="central",c?(r=l,a="end"):(r=u+f,a="start");break;case"right-to-left":t=l-u,n=(d-u)/2,i=d/2,o="central",c?(r=0,a="start"):(r=l-u-f,a="end");break;case"top-to-bottom":t=(l-u)/2,n=0,r=l/2,a="middle",c?(i=d,o="alphabetic"):(i=u+f,o="text-before-edge");break;case"bottom-to-top":t=(l-u)/2,n=d-u,r=l/2,a="middle",c?(i=0,o="text-before-edge"):(i=d-u-f,o="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:a,labelAlignment:o}},$$={circle:O$,diamond:E$,square:T$,triangle:C$},M$=function(e){var t,n,r,i,a,o,s,c,u,f,l,d=e.x,b=e.y,h=e.width,m=e.height,p=e.data,x=e.direction,y=x===void 0?"left-to-right":x,v=e.justify,E=v!==void 0&&v,g=e.textColor,C=e.background,P=C===void 0?"transparent":C,F=e.opacity,B=F===void 0?1:F,j=e.symbolShape,L=j===void 0?"square":j,Z=e.symbolSize,M=Z===void 0?16:Z,S=e.symbolSpacing,I=S===void 0?8:S,q=e.symbolBorderWidth,H=q===void 0?0:q,ne=e.symbolBorderColor,V=ne===void 0?"transparent":ne,A=e.onClick,U=e.onMouseEnter,K=e.onMouseLeave,te=e.toggleSerie,X=e.effects,Y=_.useState({}),W=Y[0],G=Y[1],J=et(),k=_.useCallback(function(Le){if(X){var Xe=X.filter(function(Ne){return Ne.on==="hover"}).reduce(function(Ne,st){return bn({},Ne,st.style)},{});G(Xe)}U==null||U(p,Le)},[U,p,X]),z=_.useCallback(function(Le){if(X){var Xe=X.filter(function(Ne){return Ne.on!=="hover"}).reduce(function(Ne,st){return bn({},Ne,st.style)},{});G(Xe)}K==null||K(p,Le)},[K,p,X]),ee=A$({direction:y,justify:E,symbolSize:(t=W.symbolSize)!=null?t:M,symbolSpacing:I,width:h,height:m}),w=ee.symbolX,he=ee.symbolY,se=ee.labelX,ge=ee.labelY,Te=ee.labelAnchor,Ie=ee.labelAlignment,at=[A,U,K,te].some(function(Le){return Le!==void 0}),ot=typeof L=="function"?L:$$[L];return R.jsxs("g",{transform:"translate("+d+","+b+")",style:{opacity:(n=W.itemOpacity)!=null?n:B},children:[R.jsx("rect",{width:h,height:m,fill:(r=W.itemBackground)!=null?r:P,style:{cursor:at?"pointer":"auto"},onClick:function(Le){A==null||A(p,Le),te==null||te(p.id)},onMouseEnter:k,onMouseLeave:z}),fe.createElement(ot,bn({id:p.id,x:w,y:he,size:(i=W.symbolSize)!=null?i:M,fill:(a=(o=p.fill)!=null?o:p.color)!=null?a:"black",borderWidth:(s=W.symbolBorderWidth)!=null?s:H,borderColor:(c=W.symbolBorderColor)!=null?c:V},p.hidden?J.legends.hidden.symbol:void 0)),R.jsx("text",{textAnchor:Te,style:bn({},kb(J.legends.text),{fill:(u=(f=(l=W.itemTextColor)!=null?l:g)!=null?f:J.legends.text.fill)!=null?u:"black",dominantBaseline:Ie,pointerEvents:"none",userSelect:"none"},p.hidden?J.legends.hidden.text:void 0),x:se,y:ge,children:p.label})]})},k$=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,a=e.padding,o=a===void 0?0:a,s=e.justify,c=e.effects,u=e.itemWidth,f=e.itemHeight,l=e.itemDirection,d=l===void 0?"left-to-right":l,b=e.itemsSpacing,h=b===void 0?0:b,m=e.itemTextColor,p=e.itemBackground,x=p===void 0?"transparent":p,y=e.itemOpacity,v=y===void 0?1:y,E=e.symbolShape,g=e.symbolSize,C=e.symbolSpacing,P=e.symbolBorderWidth,F=e.symbolBorderColor,B=e.onClick,j=e.onMouseEnter,L=e.onMouseLeave,Z=e.toggleSerie,M=Jb({itemCount:t.length,itemWidth:u,itemHeight:f,itemsSpacing:h,direction:i,padding:o}).padding,S=i==="row"?u+h:0,I=i==="column"?f+h:0;return R.jsx("g",{transform:"translate("+n+","+r+")",children:t.map(function(q,H){return R.jsx(M$,{data:q,x:H*S+M.left,y:H*I+M.top,width:u,height:f,direction:d,justify:s,effects:c,textColor:m,background:x,opacity:v,symbolShape:E,symbolSize:g,symbolSpacing:C,symbolBorderWidth:P,symbolBorderColor:F,onClick:B,onMouseEnter:j,onMouseLeave:L,toggleSerie:Z},H)})})},P$=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,a=i===void 0?0:i,o=e.translateY,s=o===void 0?0:o,c=e.anchor,u=e.direction,f=e.padding,l=f===void 0?0:f,d=e.justify,b=e.itemsSpacing,h=b===void 0?0:b,m=e.itemWidth,p=e.itemHeight,x=e.itemDirection,y=e.itemTextColor,v=e.itemBackground,E=e.itemOpacity,g=e.symbolShape,C=e.symbolSize,P=e.symbolSpacing,F=e.symbolBorderWidth,B=e.symbolBorderColor,j=e.onClick,L=e.onMouseEnter,Z=e.onMouseLeave,M=e.toggleSerie,S=e.effects,I=Jb({itemCount:t.length,itemsSpacing:h,itemWidth:m,itemHeight:p,direction:u,padding:l}),q=I.width,H=I.height,ne=S$({anchor:c,translateX:a,translateY:s,containerWidth:n,containerHeight:r,width:q,height:H}),V=ne.x,A=ne.y;return R.jsx(k$,{data:t,x:V,y:A,direction:u,padding:l,justify:d,effects:S,itemsSpacing:h,itemWidth:m,itemHeight:p,itemDirection:x,itemTextColor:y,itemBackground:v,itemOpacity:E,symbolShape:g,symbolSize:C,symbolSpacing:P,symbolBorderWidth:F,symbolBorderColor:B,onClick:j,onMouseEnter:L,onMouseLeave:Z,toggleSerie:typeof M=="boolean"?void 0:M})};function Qt(){return Qt=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},Qt.apply(this,arguments)}function Qb(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Id,j$=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,a=e.toggleSerie;return R.jsx(R.Fragment,{children:r.map(function(o,s){var c;return R.jsx(P$,Qt({},o,{containerWidth:t,containerHeight:n,data:(c=o.data)!=null?c:i,toggleSerie:o.toggleSerie?a:void 0}),s)})})},ae={id:"id",value:"value",sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:["arcs","arcLinkLabels","arcLabels","legends"],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableArcLabels:!0,arcLabel:"formattedValue",arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:"labels.text.fill"},enableArcLinkLabels:!0,arcLinkLabel:"id",arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:"labels.text.fill"},arcLinkLabelsColor:{theme:"axis.ticks.line.stroke"},colors:{scheme:"nivo"},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:"gentle",transitionMode:"innerRadius",tooltip:function(e){var t=e.datum;return R.jsx(Ux,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:typeof window<"u"&&(Id=window.devicePixelRatio)!=null?Id:1},L$=["points"],I$=function(e){var t=e.data,n=e.id,r=n===void 0?ae.id:n,i=e.value,a=i===void 0?ae.value:i,o=e.valueFormat,s=e.colors,c=s===void 0?ae.colors:s,u=Ma(r),f=Ma(a),l=Ab(o),d=e$(c,"id");return _.useMemo(function(){return t.map(function(b){var h,m=u(b),p=f(b),x={id:m,label:(h=b.label)!=null?h:m,hidden:!1,value:p,formattedValue:l(p),data:b};return Qt({},x,{color:d(x)})})},[t,u,f,l,d])},D$=function(e){var t=e.data,n=e.startAngle,r=e.endAngle,i=e.innerRadius,a=e.outerRadius,o=e.padAngle,s=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,f=e.activeOuterRadiusOffset,l=e.hiddenIds,d=e.forwardLegendData,b=_.useMemo(function(){var x=fC().value(function(y){return y.value}).startAngle($t(n)).endAngle($t(r)).padAngle($t(o));return s||x.sortValues(null),x},[n,r,o,s]),h=_.useMemo(function(){var x=t.filter(function(y){return!l.includes(y.id)});return{dataWithArc:b(x).map(function(y){var v=Math.abs(y.endAngle-y.startAngle);return Qt({},y.data,{arc:{index:y.index,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:c===y.data.id?i-u:i,outerRadius:c===y.data.id?a+f:a,thickness:a-i,padAngle:y.padAngle,angle:v,angleDeg:Bu(v)}})}),legendData:t.map(function(y){return{id:y.id,label:y.label,color:y.color,hidden:l.includes(y.id),data:y}})}},[b,t,l,c,i,u,a,f]),m=h.legendData,p=_.useRef(d);return _.useEffect(function(){typeof p.current=="function"&&p.current(m)},[p,m]),h},N$=function(e){var t=e.activeId,n=e.onActiveIdChange,r=e.defaultActiveId,i=t!==void 0,a=_.useState(i||r===void 0?null:r),o=a[0],s=a[1];return{activeId:i?t:o,setActiveId:_.useCallback(function(c){n&&n(c),i||s(c)},[i,n,s])}},F$=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,a=i===void 0?ae.innerRadius:i,o=e.startAngle,s=o===void 0?ae.startAngle:o,c=e.endAngle,u=c===void 0?ae.endAngle:c,f=e.padAngle,l=f===void 0?ae.padAngle:f,d=e.sortByValue,b=d===void 0?ae.sortByValue:d,h=e.cornerRadius,m=h===void 0?ae.cornerRadius:h,p=e.fit,x=p===void 0?ae.fit:p,y=e.activeInnerRadiusOffset,v=y===void 0?ae.activeInnerRadiusOffset:y,E=e.activeOuterRadiusOffset,g=E===void 0?ae.activeOuterRadiusOffset:E,C=e.activeId,P=e.onActiveIdChange,F=e.defaultActiveId,B=e.forwardLegendData,j=N$({activeId:C,onActiveIdChange:P,defaultActiveId:F}),L=j.activeId,Z=j.setActiveId,M=_.useState([]),S=M[0],I=M[1],q=_.useMemo(function(){var V,A=Math.min(n,r)/2,U=A*Math.min(a,1),K=n/2,te=r/2;if(x){var X=x$(K,te,A,s-90,u-90),Y=X.points,W=Qb(X,L$),G=Math.min(n/W.width,r/W.height),J={width:W.width*G,height:W.height*G};J.x=(n-J.width)/2,J.y=(r-J.height)/2,K=(K-W.x)/W.width*W.width*G+J.x,te=(te-W.y)/W.height*W.height*G+J.y,V={box:W,ratio:G,points:Y},A*=G,U*=G}return{centerX:K,centerY:te,radius:A,innerRadius:U,debug:V}},[n,r,a,s,u,x]),H=D$({data:t,startAngle:s,endAngle:u,innerRadius:q.innerRadius,outerRadius:q.radius,padAngle:l,sortByValue:b,activeId:L,activeInnerRadiusOffset:v,activeOuterRadiusOffset:g,hiddenIds:S,forwardLegendData:B}),ne=_.useCallback(function(V){I(function(A){return A.indexOf(V)>-1?A.filter(function(U){return U!==V}):[].concat(A,[V])})},[]);return Qt({arcGenerator:w$({cornerRadius:m,padAngle:$t(l)}),activeId:L,setActiveId:Z,toggleSerie:ne},H,q)},U$=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,a=e.radius,o=e.innerRadius;return _.useMemo(function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:a,innerRadius:o}},[t,n,r,i,a,o])},z$=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,a=e.borderColor,o=e.isInteractive,s=e.onClick,c=e.onMouseEnter,u=e.onMouseMove,f=e.onMouseLeave,l=e.setActiveId,d=e.tooltip,b=e.transitionMode,h=Hx(),m=h.showTooltipFromEvent,p=h.hideTooltip,x=_.useMemo(function(){if(o)return function(g,C){s==null||s(g,C)}},[o,s]),y=_.useMemo(function(){if(o)return function(g,C){m(_.createElement(d,{datum:g}),C),l(g.id),c==null||c(g,C)}},[o,m,l,c,d]),v=_.useMemo(function(){if(o)return function(g,C){m(_.createElement(d,{datum:g}),C),u==null||u(g,C)}},[o,m,u,d]),E=_.useMemo(function(){if(o)return function(g,C){p(),l(null),f==null||f(g,C)}},[o,p,l,f]);return R.jsx(_$,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:a,transitionMode:b,onClick:x,onMouseEnter:y,onMouseMove:v,onMouseLeave:E})},B$=["isInteractive","animate","motionConfig","theme","renderWrapper"],q$=function(e){var t=e.data,n=e.id,r=n===void 0?ae.id:n,i=e.value,a=i===void 0?ae.value:i,o=e.valueFormat,s=e.sortByValue,c=s===void 0?ae.sortByValue:s,u=e.layers,f=u===void 0?ae.layers:u,l=e.startAngle,d=l===void 0?ae.startAngle:l,b=e.endAngle,h=b===void 0?ae.endAngle:b,m=e.padAngle,p=m===void 0?ae.padAngle:m,x=e.fit,y=x===void 0?ae.fit:x,v=e.innerRadius,E=v===void 0?ae.innerRadius:v,g=e.cornerRadius,C=g===void 0?ae.cornerRadius:g,P=e.activeInnerRadiusOffset,F=P===void 0?ae.activeInnerRadiusOffset:P,B=e.activeOuterRadiusOffset,j=B===void 0?ae.activeOuterRadiusOffset:B,L=e.width,Z=e.height,M=e.margin,S=e.colors,I=S===void 0?ae.colors:S,q=e.borderWidth,H=q===void 0?ae.borderWidth:q,ne=e.borderColor,V=ne===void 0?ae.borderColor:ne,A=e.enableArcLabels,U=A===void 0?ae.enableArcLabels:A,K=e.arcLabel,te=K===void 0?ae.arcLabel:K,X=e.arcLabelsSkipAngle,Y=X===void 0?ae.arcLabelsSkipAngle:X,W=e.arcLabelsTextColor,G=W===void 0?ae.arcLabelsTextColor:W,J=e.arcLabelsRadiusOffset,k=J===void 0?ae.arcLabelsRadiusOffset:J,z=e.arcLabelsComponent,ee=e.enableArcLinkLabels,w=ee===void 0?ae.enableArcLinkLabels:ee,he=e.arcLinkLabel,se=he===void 0?ae.arcLinkLabel:he,ge=e.arcLinkLabelsSkipAngle,Te=ge===void 0?ae.arcLinkLabelsSkipAngle:ge,Ie=e.arcLinkLabelsOffset,at=Ie===void 0?ae.arcLinkLabelsOffset:Ie,ot=e.arcLinkLabelsDiagonalLength,Le=ot===void 0?ae.arcLinkLabelsDiagonalLength:ot,Xe=e.arcLinkLabelsStraightLength,Ne=Xe===void 0?ae.arcLinkLabelsStraightLength:Xe,st=e.arcLinkLabelsThickness,an=st===void 0?ae.arcLinkLabelsThickness:st,It=e.arcLinkLabelsTextOffset,on=It===void 0?ae.arcLinkLabelsTextOffset:It,ct=e.arcLinkLabelsTextColor,Pn=ct===void 0?ae.arcLinkLabelsTextColor:ct,dr=e.arcLinkLabelsColor,_i=dr===void 0?ae.arcLinkLabelsColor:dr,hr=e.arcLinkLabelComponent,xi=e.defs,Fo=xi===void 0?ae.defs:xi,wi=e.fill,Uo=wi===void 0?ae.fill:wi,Oi=e.isInteractive,zo=Oi===void 0?ae.isInteractive:Oi,Bo=e.onClick,pr=e.onMouseEnter,Ei=e.onMouseMove,Dt=e.onMouseLeave,jn=e.tooltip,br=jn===void 0?ae.tooltip:jn,Ti=e.activeId,qo=e.onActiveIdChange,Ci=e.defaultActiveId,Ri=e.transitionMode,mr=Ri===void 0?ae.transitionMode:Ri,gr=e.legends,Si=gr===void 0?ae.legends:gr,Wo=e.forwardLegendData,vr=e.role,Ai=vr===void 0?ae.role:vr,sn=TA(L,Z,M),Ho=sn.outerWidth,Vo=sn.outerHeight,Yo=sn.margin,O=sn.innerWidth,D=sn.innerHeight,Q=I$({data:t,id:r,value:a,valueFormat:o,colors:I}),re=F$({data:Q,width:O,height:D,fit:y,innerRadius:E,startAngle:d,endAngle:h,padAngle:p,sortByValue:c,cornerRadius:C,activeInnerRadiusOffset:F,activeOuterRadiusOffset:j,activeId:Ti,onActiveIdChange:qo,defaultActiveId:Ci,forwardLegendData:Wo}),be=re.dataWithArc,we=re.legendData,pe=re.arcGenerator,le=re.centerX,je=re.centerY,$e=re.radius,Me=re.innerRadius,qe=re.setActiveId,Nt=re.toggleSerie,Tt=zA(Fo,be,Uo),ke={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};f.includes("arcs")&&(ke.arcs=R.jsx(z$,{center:[le,je],data:be,arcGenerator:pe,borderWidth:H,borderColor:V,isInteractive:zo,onClick:Bo,onMouseEnter:pr,onMouseMove:Ei,onMouseLeave:Dt,setActiveId:qe,tooltip:br,transitionMode:mr},"arcs")),w&&f.includes("arcLinkLabels")&&(ke.arcLinkLabels=R.jsx(m$,{center:[le,je],data:be,label:se,skipAngle:Te,offset:at,diagonalLength:Le,straightLength:Ne,strokeWidth:an,textOffset:on,textColor:Pn,linkColor:_i,component:hr},"arcLinkLabels")),U&&f.includes("arcLabels")&&(ke.arcLabels=R.jsx(c$,{center:[le,je],data:be,label:te,radiusOffset:k,skipAngle:Y,textColor:G,transitionMode:mr,component:z},"arcLabels")),Si.length>0&&f.includes("legends")&&(ke.legends=R.jsx(j$,{width:O,height:D,data:we,legends:Si,toggleSerie:Nt},"legends"));var yr=U$({dataWithArc:be,arcGenerator:pe,centerX:le,centerY:je,radius:$e,innerRadius:Me});return R.jsx(Ub,{width:Ho,height:Vo,margin:Yo,defs:Tt,role:Ai,children:f.map(function(Ln,Go){return ke[Ln]!==void 0?ke[Ln]:typeof Ln=="function"?R.jsx(_.Fragment,{children:_.createElement(Ln,yr)},Go):null})})},W$=function(e){var t=e.isInteractive,n=t===void 0?ae.isInteractive:t,r=e.animate,i=r===void 0?ae.animate:r,a=e.motionConfig,o=a===void 0?ae.motionConfig:a,s=e.theme,c=e.renderWrapper,u=Qb(e,B$);return R.jsx(jb,{animate:i,isInteractive:n,motionConfig:o,renderWrapper:c,theme:s,children:R.jsx(q$,Qt({isInteractive:n},u))})},H$=function(e){return R.jsx(Lb,{children:function(t){var n=t.width,r=t.height;return R.jsx(W$,Qt({width:n,height:r},e))}})};exports.AuthContext=Gc;exports.AvatarIcon=vp;exports.ConfirmContext=ev;exports.DelegationContext=mp;exports.ENTERED=qt;exports.ENTERING=St;exports.EXITED=Bt;exports.EXITING=na;exports.Fade=aa;exports.FloatingLabel=Ic;exports.FloatingLabelInput=yp;exports.FormContext=vh;exports.FormGroup=Lc;exports.FromToDatePickerDropdownToggle=__;exports.GenIcon=Ae;exports.Ie=Hv;exports.LoadingContext=Vv;exports.LoginState=Lh;exports.LuminusComponentsContext=Fc;exports.MdArrowRight=Lg;exports.MdCheck=Ig;exports.MdCircle=jg;exports.MdClear=Pg;exports.MdOutlineAddCircleOutline=Wg;exports.MdOutlineArrowOutward=Dg;exports.MdOutlineCameraAlt=Gg;exports.MdOutlineChevronRight=Jg;exports.MdOutlineClose=Mh;exports.MdOutlineDelete=Fg;exports.MdOutlineEdit=Kg;exports.MdOutlineExpand=Ug;exports.MdOutlineFileUpload=Hg;exports.MdOutlineKeyboardArrowLeft=Vg;exports.MdOutlineKeyboardArrowRight=Yg;exports.MdOutlineStar=Zg;exports.MdSearch=kg;exports.NoInputContainer=xp;exports.Oe=T;exports.OverlayTrigger=Sh;exports.Popover=Th;exports.PromptContext=tv;exports.RowLabelInput=_p;exports.SimpleDropdownToggle=c_;exports.Tooltip=Nc;exports.TransitionWrapper=eh;exports.Typography=gp;exports.UserAvatarToggle=l_;exports.UserContext=Yv;exports._=H$;exports.addEventListener=Kd;exports.canUseDOM=La;exports.cancelToken=K2;exports.classNames=Oe;exports.constructFrom=Fd;exports.contains=sa;exports.extractErrorsFromResponse=Hc;exports.extractPermissionsFromResponse=cp;exports.fixNameIdNulls=op;exports.formatFileSize=O2;exports.getDefaultExportFromCjs=Ke;exports.hasClass=Is;exports.hasOnlyNullValues=sp;exports.hookFormSetServerErrors=w2;exports.isEscKey=yh;exports.isPrimitive=ha;exports.joinStrings=fp;exports.jsxRuntimeExports=R;exports.latinize=Vc;exports.listen=Ht;exports.mergeOptionsWithPopperConfig=bh;exports.millisecondsInDay=o1;exports.millisecondsInHour=Ud;exports.millisecondsInMinute=s1;exports.millisecondsInWeek=a1;exports.ownerDocument=si;exports.removeEventListener=Xd;exports.renderTransition=_h;exports.replaceNullValuesOnlyObjectsWithNulls=x2;exports.secondsInDay=wc;exports.secondsInHour=zd;exports.secondsInMinute=c1;exports.secondsInMonth=qd;exports.secondsInQuarter=f1;exports.secondsInWeek=u1;exports.secondsInYear=Bd;exports.shortenText=T2;exports.style=Ec;exports.toDate=Nd;exports.transitionEnd=Jd;exports.transitionEndListener=Qd;exports.triggerBrowserReflow=Zd;exports.truncateText=up;exports.urlfyArray=E2;exports.useAuth=pp;exports.useAxios=X2;exports.useBootstrapBreakpoints=v1;exports.useBootstrapMinBreakpoint=y1;exports.useBootstrapPrefix=Kt;exports.useCallbackRef=Ms;exports.useClickOutside=ph;exports.useCookies=Yc;exports.useEventCallback=_n;exports.useIsRTL=Oc;exports.useIsomorphicEffect=ia;exports.useMergedRefs=Zt;exports.useMounted=Cc;exports.useNotifications=bp;exports.usePopper=dh;exports.useUncontrolled=p1;exports.useWaitForDOMRef=Ls;exports.useWillUnmount=th;exports.useWindow=gh;exports.warning=jc;
|