react-luminus-components 1.3.76 → 1.3.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +349 -349
- package/dist/.vite/manifest.json +60 -95
- package/dist/Loading-CBsJX4LG.js +17 -0
- package/dist/Loading-If5qsvY2.cjs +1 -0
- package/dist/SimpleTooltip-DwgjTb1C.js +5 -0
- package/dist/{SimpleTooltip-Duct0nes.cjs → SimpleTooltip-dm9JzI9d.cjs} +1 -1
- package/dist/components/Documents/Documents.d.ts +10 -0
- package/dist/components/Documents/components/DocumentDirectory/DocumentDirectory.d.ts +5 -0
- package/dist/components/Documents/components/DocumentDirectory/components/DocumentDirectoryLabel/DocumentDirectoryLabel.d.ts +7 -0
- package/dist/components/Documents/components/DocumentDirectory/components/index.d.ts +1 -0
- package/dist/components/Documents/components/DocumentsActions/DocumentsActions.d.ts +7 -0
- package/dist/components/Documents/components/DocumentsActions/components/DocActionButton/DocActionButton.d.ts +10 -0
- package/dist/components/Documents/components/DocumentsActions/components/DocumentsUpload/DocumentsUpload.d.ts +10 -0
- package/dist/components/Documents/components/DocumentsActions/components/DocumentsUpload/componenets/UploadFilesModal/UploadFilesModal.d.ts +7 -0
- package/dist/components/Documents/components/DocumentsActions/components/DocumentsUpload/componenets/UploadFilesModal/hooks/useUploadFilesFormSchema.d.ts +18 -0
- package/dist/components/Documents/components/DocumentsActions/components/DocumentsUpload/componenets/index.d.ts +1 -0
- package/dist/components/Documents/components/DocumentsActions/components/index.d.ts +2 -0
- package/dist/components/Documents/components/DocumentsFilesTable/DocumentsFilesTable.d.ts +6 -0
- package/dist/components/Documents/components/DocumentsFilesTable/hooks/useDocumentsFilesColumns.d.ts +11 -0
- package/dist/components/Documents/components/DocumentsModals/DocumentsModals.d.ts +2 -0
- package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/CreateFolderModal.d.ts +5 -0
- package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +13 -0
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/EditFileModal.d.ts +5 -0
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/EditFileModalInner.d.ts +8 -0
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +18 -0
- package/dist/components/Documents/components/DocumentsModals/components/index.d.ts +2 -0
- package/dist/components/Documents/components/DocumentsModals/types/DocumentsModalType.d.ts +2 -0
- package/dist/components/Documents/components/DocumentsRoot/DocumentsRoot.d.ts +5 -0
- package/dist/components/Documents/components/FileExtensionIcon/FileExtensionIcon.d.ts +7 -0
- package/dist/components/Documents/components/index.d.ts +6 -0
- package/dist/components/Documents/contexts/DocumentsContext.d.ts +13 -0
- package/dist/components/Documents/hooks/useDocContextApiActions.d.ts +17 -0
- package/dist/components/Documents/hooks/useDocumentsApiActions.d.ts +7 -0
- package/dist/components/Documents/hooks/useDocumentsDrag.d.ts +19 -0
- package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +91 -0
- package/dist/components/Documents/index.d.ts +2 -0
- package/dist/components/Documents/types/api/DocType.d.ts +6 -0
- package/dist/components/Documents/types/api/DocumentFileModel.d.ts +18 -0
- package/dist/components/Documents/types/api/DocumentFolderModel.d.ts +9 -0
- package/dist/components/Documents/types/api/DocumentListModel.d.ts +8 -0
- package/dist/components/Documents/types/api/DocumentUploadModel.d.ts +6 -0
- package/dist/components/Documents/types/api/DocumentsCreateFolderModel.d.ts +8 -0
- package/dist/components/Documents/types/ui/DocumentFile.d.ts +6 -0
- package/dist/components/Documents/types/ui/DocumentFolder.d.ts +10 -0
- package/dist/components/Documents/types/ui/DocumentState.d.ts +2 -0
- package/dist/components/Documents/types/ui/DocumentsActionsObj.d.ts +14 -0
- package/dist/components/Documents/types/ui/DocumentsFolderId.d.ts +2 -0
- package/dist/components/Documents/types/ui/FileDirType.d.ts +2 -0
- package/dist/components/Documents/utils/documentsConstants.d.ts +1 -0
- package/dist/components/Documents/utils/documentsDataUtils.d.ts +12 -0
- package/dist/components/Documents/utils/documentsTypeUtils.d.ts +4 -0
- package/dist/components/Documents/utils/documentsUtils.d.ts +7 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +103 -105
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +40 -2968
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +18 -18
- package/dist/main.cjs.js +2 -2
- package/dist/main.d.ts +2 -0
- package/dist/main.es.js +2958 -3364
- package/dist/models/luminus-context-types/CommonLuminusIcons.d.ts +1 -1
- package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
- package/dist/models/texts/DocumentsTexts.d.ts +45 -0
- package/dist/nivo-pie.es-CWpL5Qz1.cjs +279 -0
- package/dist/nivo-pie.es-CfGrs0qQ.js +21226 -0
- package/dist/{searchUtils-C-P7nqmc.js → searchUtils-6cFIcqrD.js} +1 -1
- package/dist/{searchUtils-Bwcn0kNN.cjs → searchUtils-eG-nNTgU.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/useClipboard-BbFBkj-c.cjs +1 -0
- package/dist/{useClipboard-Ci3XItTi.js → useClipboard-BsBDyYHu.js} +12 -13
- package/dist/useLocalStorageState-B8C3HlW-.cjs +1 -0
- package/dist/useLocalStorageState-D9uh-D8S.js +64 -0
- package/dist/{usePermissions-CDkc5n4B.cjs → usePermissions-D3jEVB-f.cjs} +1 -1
- package/dist/{usePermissions-D1kTfy1F.js → usePermissions-DInna_ZH.js} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +70 -105
- package/dist/variables.scss +171 -171
- package/package.json +111 -109
- package/dist/PrimaryButton-DHWMFBqe.js +0 -682
- package/dist/PrimaryButton-DoEWPvdG.cjs +0 -1
- package/dist/SimpleTooltip-DIbveCyg.js +0 -5
- package/dist/dateUtils-DBObp1Kn.js +0 -1402
- package/dist/dateUtils-UEaQDw00.cjs +0 -1
- package/dist/nivo-pie.es-CYja6R0y.cjs +0 -279
- package/dist/nivo-pie.es-DbylxdLa.js +0 -14728
- package/dist/useClipboard-KQiedKAp.cjs +0 -1
- package/dist/useConfirm-BFRnARZA.js +0 -18
- package/dist/useConfirm-SzzUX_WZ.cjs +0 -1
- package/dist/useLocalStorageState-C2fAE5hY.cjs +0 -1
- package/dist/useLocalStorageState-OXK3MAPN.js +0 -72
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
"use strict";const _=require("react"),Hu=require("@azure/msal-browser");require("react-router-dom");const Wu=require("@azure/msal-react");require("react-hook-form");const ln=require("react-dom");function Zb(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const fe=Zb(_);var $i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ke(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cs={exports:{}},_r={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Vu;function e1(){if(Vu)return _r;Vu=1;var e=_,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,c,u){var f,l={},d=null,b=null;u!==void 0&&(d=""+u),c.key!==void 0&&(d=""+c.key),c.ref!==void 0&&(b=c.ref);for(f in c)r.call(c,f)&&!a.hasOwnProperty(f)&&(l[f]=c[f]);if(s&&s.defaultProps)for(f in c=s.defaultProps,c)l[f]===void 0&&(l[f]=c[f]);return{$$typeof:t,type:s,key:d,ref:b,props:l,_owner:i.current}}return _r.Fragment=n,_r.jsx=o,_r.jsxs=o,_r}var xr={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Yu;function t1(){return Yu||(Yu=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"),p=Symbol.iterator,g="@@iterator";function h(O){if(O===null||typeof O!="object")return null;var D=p&&O[p]||O[g];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,m=!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||m||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,W,ne,V,A,U,K;function te(){}te.__reactDisabledLog=!0;function X(){{if(I===0){q=console.log,W=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:W}),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 H=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
|
-
`+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=H.current,H.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
|
-
`),je=re.stack.split(`
|
|
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,H.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
|
-
|
|
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
|
-
|
|
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=h(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 Ho(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
|
-
let props = %s;
|
|
27
|
-
<%s {...props} />
|
|
28
|
-
React keys must be passed directly to JSX without using spread:
|
|
29
|
-
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,yr,Tt,Ln,Tt),vr[Tt+yr]=!0}}return O===r?Ho(Me):Si(Me),Me}}function sn(O,D,Q){return Ai(O,D,Q,!0)}function Wo(O,D,Q){return Ai(O,D,Q,!1)}var Vo=Wo,Yo=sn;xr.Fragment=r,xr.jsx=Vo,xr.jsxs=Yo}()),xr}process.env.NODE_ENV==="production"?Cs.exports=e1():Cs.exports=t1();var R=Cs.exports,Dd={exports:{}};/*!
|
|
31
|
-
Copyright (c) 2018 Jed Watson.
|
|
32
|
-
Licensed under the MIT License (MIT), see
|
|
33
|
-
http://jedwatson.github.io/classnames
|
|
34
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(a=i(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var s in a)t.call(a,s)&&a[s]&&(o=i(o,s));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Dd);var n1=Dd.exports;const Oe=Ke(n1);function Nd(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Fd(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function r1(e,t){const n=+Nd(e);return Fd(e,n+t)}const i1=365.2425,a1=6048e5,o1=864e5,s1=6e4,Ud=36e5,zd=3600,c1=60,Oc=zd*24,u1=Oc*7,Bd=Oc*i1,qd=Bd/12,f1=qd*3;function l1(e,t){return r1(e,t*Ud)}function Rs(){return Rs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rs.apply(null,arguments)}function Hd(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Gu(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function d1(e){var t=h1(e,"string");return typeof t=="symbol"?t:String(t)}function h1(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Wd(e,t,n){var r=_.useRef(e!==void 0),i=_.useState(t),a=i[0],o=i[1],s=e!==void 0,c=r.current;return r.current=s,!s&&c&&a!==t&&o(t),[s?e:a,_.useCallback(function(u){for(var f=arguments.length,l=new Array(f>1?f-1:0),d=1;d<f;d++)l[d-1]=arguments[d];n&&n.apply(void 0,[u].concat(l)),o(u)},[n])]}function p1(e,t){return Object.keys(t).reduce(function(n,r){var i,a=n,o=a[Gu(r)],s=a[r],c=Hd(a,[Gu(r),r].map(d1)),u=t[r],f=Wd(s,o,e[u]),l=f[0],d=f[1];return Rs({},c,(i={},i[r]=l,i[u]=d,i))},e)}function Ss(e,t){return Ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ss(e,t)}function b1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ss(e,t)}const m1=["xxl","xl","lg","md","sm","xs"],g1="xs",ja=fe.createContext({prefixes:{},breakpoints:m1,minBreakpoint:g1});function Kt(e,t){const{prefixes:n}=_.useContext(ja);return e||n[t]||t}function v1(){const{breakpoints:e}=_.useContext(ja);return e}function y1(){const{minBreakpoint:e}=_.useContext(ja);return e}function Ec(){const{dir:e}=_.useContext(ja);return e==="rtl"}function si(e){return e&&e.ownerDocument||document}function _1(e){var t=si(e);return t&&t.defaultView||window}function x1(e,t){return _1(e).getComputedStyle(e,t)}var w1=/([A-Z])/g;function O1(e){return e.replace(w1,"-$1").toLowerCase()}var E1=/^ms-/;function Mi(e){return O1(e).replace(E1,"-ms-")}var T1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function C1(e){return!!(e&&T1.test(e))}function Tc(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(Mi(t))||x1(e).getPropertyValue(Mi(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(Mi(i)):C1(i)?r+=i+"("+a+") ":n+=Mi(i)+": "+a+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}var As={exports:{}},ki={exports:{}},ve={};/** @license React v16.13.1
|
|
35
|
-
* react-is.production.min.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var Ku;function R1(){if(Ku)return ve;Ku=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,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case t:switch(m=m.type,m){case c:case u:case r:case a:case i:case l:return m;default:switch(m=m&&m.$$typeof,m){case s:case f:case p:case b:case o:return m;default:return C}}case n:return C}}}function E(m){return v(m)===u}return ve.AsyncMode=c,ve.ConcurrentMode=u,ve.ContextConsumer=s,ve.ContextProvider=o,ve.Element=t,ve.ForwardRef=f,ve.Fragment=r,ve.Lazy=p,ve.Memo=b,ve.Portal=n,ve.Profiler=a,ve.StrictMode=i,ve.Suspense=l,ve.isAsyncMode=function(m){return E(m)||v(m)===c},ve.isConcurrentMode=E,ve.isContextConsumer=function(m){return v(m)===s},ve.isContextProvider=function(m){return v(m)===o},ve.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ve.isForwardRef=function(m){return v(m)===f},ve.isFragment=function(m){return v(m)===r},ve.isLazy=function(m){return v(m)===p},ve.isMemo=function(m){return v(m)===b},ve.isPortal=function(m){return v(m)===n},ve.isProfiler=function(m){return v(m)===a},ve.isStrictMode=function(m){return v(m)===i},ve.isSuspense=function(m){return v(m)===l},ve.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===r||m===u||m===a||m===i||m===l||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===p||m.$$typeof===b||m.$$typeof===o||m.$$typeof===s||m.$$typeof===f||m.$$typeof===h||m.$$typeof===x||m.$$typeof===y||m.$$typeof===g)},ve.typeOf=v,ve}var ye={};/** @license React v16.13.1
|
|
42
|
-
* react-is.development.js
|
|
43
|
-
*
|
|
44
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the MIT license found in the
|
|
47
|
-
* LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/var Xu;function S1(){return Xu||(Xu=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,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=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===p||w.$$typeof===b||w.$$typeof===o||w.$$typeof===s||w.$$typeof===f||w.$$typeof===h||w.$$typeof===x||w.$$typeof===y||w.$$typeof===g)}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 p:case b:case o:return ge;default:return he}}case n:return he}}}var m=c,C=u,P=s,F=o,B=t,j=f,L=r,Z=p,M=b,S=n,I=a,q=i,W=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 H(w){return E(w)===p}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}ye.AsyncMode=m,ye.ConcurrentMode=C,ye.ContextConsumer=P,ye.ContextProvider=F,ye.Element=B,ye.ForwardRef=j,ye.Fragment=L,ye.Lazy=Z,ye.Memo=M,ye.Portal=S,ye.Profiler=I,ye.StrictMode=q,ye.Suspense=W,ye.isAsyncMode=V,ye.isConcurrentMode=A,ye.isContextConsumer=U,ye.isContextProvider=K,ye.isElement=te,ye.isForwardRef=X,ye.isFragment=Y,ye.isLazy=H,ye.isMemo=G,ye.isPortal=J,ye.isProfiler=k,ye.isStrictMode=z,ye.isSuspense=ee,ye.isValidElementType=v,ye.typeOf=E}()),ye}var Ju;function Vd(){return Ju||(Ju=1,process.env.NODE_ENV==="production"?ki.exports=R1():ki.exports=S1()),ki.exports}/*
|
|
49
|
-
object-assign
|
|
50
|
-
(c) Sindre Sorhus
|
|
51
|
-
@license MIT
|
|
52
|
-
*/var Ko,Qu;function A1(){if(Qu)return Ko;Qu=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,Zu;function Cc(){if(Zu)return Xo;Zu=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Xo=e,Xo}var Jo,ef;function Yd(){return ef||(ef=1,Jo=Function.call.bind(Object.prototype.hasOwnProperty)),Jo}var Qo,tf;function $1(){if(tf)return Qo;tf=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Cc(),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(p){l=p}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,nf;function M1(){if(nf)return Zo;nf=1;var e=Vd(),t=A1(),n=Cc(),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:m(),instanceOf:C,node:j(),objectOf:F,oneOf:P,oneOfType:B,shape:Z,exact:M};function p(A,U){return A===U?A!==0||1/A===1/U:A!==A&&U!==U}function g(A,U){this.message=A,this.data=U&&typeof U=="object"?U:{},this.stack=""}g.prototype=Error.prototype;function h(A){if(process.env.NODE_ENV!=="production")var U={},K=0;function te(Y,H,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 H[G]==null?Y?H[G]===null?new g("The "+k+" `"+z+"` is marked as required "+("in `"+J+"`, but its value is `null`.")):new g("The "+k+" `"+z+"` is marked as required in "+("`"+J+"`, but its value is `undefined`.")):null:A(H,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,H,G){var J=K[te],k=q(J);if(k!==A){var z=W(J);return new g("Invalid "+Y+" `"+H+"` of type "+("`"+z+"` supplied to `"+X+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return h(U)}function y(){return h(o)}function v(A){function U(K,te,X,Y,H){if(typeof A!="function")return new g("Property `"+H+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var G=K[te];if(!Array.isArray(G)){var J=q(G);return new g("Invalid "+Y+" `"+H+"` of type "+("`"+J+"` supplied to `"+X+"`, expected an array."))}for(var k=0;k<G.length;k++){var z=A(G,k,X,Y,H+"["+k+"]",n);if(z instanceof Error)return z}return null}return h(U)}function E(){function A(U,K,te,X,Y){var H=U[K];if(!s(H)){var G=q(H);return new g("Invalid "+X+" `"+Y+"` of type "+("`"+G+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return h(A)}function m(){function A(U,K,te,X,Y){var H=U[K];if(!e.isValidElementType(H)){var G=q(H);return new g("Invalid "+X+" `"+Y+"` of type "+("`"+G+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return h(A)}function C(A){function U(K,te,X,Y,H){if(!(K[te]instanceof A)){var G=A.name||d,J=V(K[te]);return new g("Invalid "+Y+" `"+H+"` of type "+("`"+J+"` supplied to `"+X+"`, expected ")+("instance of `"+G+"`."))}return null}return h(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,H){for(var G=K[te],J=0;J<A.length;J++)if(p(G,A[J]))return null;var k=JSON.stringify(A,function(ee,w){var he=W(w);return he==="symbol"?String(w):w});return new g("Invalid "+Y+" `"+H+"` of value `"+String(G)+"` "+("supplied to `"+X+"`, expected one of "+k+"."))}return h(U)}function F(A){function U(K,te,X,Y,H){if(typeof A!="function")return new g("Property `"+H+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var G=K[te],J=q(G);if(J!=="object")return new g("Invalid "+Y+" `"+H+"` 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,H+"."+k,n);if(z instanceof Error)return z}return null}return h(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,H,G,J){for(var k=[],z=0;z<A.length;z++){var ee=A[z],w=ee(X,Y,H,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 g("Invalid "+G+" `"+J+"` supplied to "+("`"+H+"`"+he+"."))}return h(te)}function j(){function A(U,K,te,X,Y){return S(U[K])?null:new g("Invalid "+X+" `"+Y+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return h(A)}function L(A,U,K,te,X){return new g((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,H){var G=K[te],J=q(G);if(J!=="object")return new g("Invalid "+Y+" `"+H+"` 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,H,k,W(z));var ee=z(G,k,X,Y,H+"."+k,n);if(ee)return ee}return null}return h(U)}function M(A){function U(K,te,X,Y,H){var G=K[te],J=q(G);if(J!=="object")return new g("Invalid "+Y+" `"+H+"` 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,H,z,W(ee));if(!ee)return new g("Invalid "+Y+" `"+H+"` 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,H+"."+z,n);if(w)return w}return null}return h(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 W(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=W(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,rf;function k1(){if(rf)return es;rf=1;var e=Cc();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;As.exports=M1()(P1.isElement,j1)}else As.exports=k1()();var L1=As.exports;const T=Ke(L1),af={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||af.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||af.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=Hd(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 $s=!1,Ms=!1;try{var ts={get passive(){return $s=!0},get once(){return Ms=$s=!0}};La&&(window.addEventListener("test",ts,ts),window.removeEventListener("test",ts,!0))}catch{}function Kd(e,t,n,r){if(r&&typeof r!="boolean"&&!Ms){var i=r.once,a=r.capture,o=n;!Ms&&i&&(o=n.__once||function s(c){this.removeEventListener(t,s,a),n.call(this,c)},n.__once=o),e.addEventListener(t,o,$s?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 Wt(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=Tc(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=Wt(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=Wt(e,"transitionend",t);return function(){i(),a()}}function of(e,t){const n=Tc(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function Qd(e,t){const n=of(e,"transitionDuration"),r=of(e,"transitionDelay"),i=Jd(e,a=>{a.target===e&&(i(),t(a))},n+r)}function Zd(e){e.offsetHeight}const sf=e=>!e||typeof e=="function"?e:t=>{e.current=t};function z1(e,t){const n=sf(e),r=sf(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))},p=C=>P=>{C&&l.current&&C(l.current,P)},g=_.useCallback(p(e),[e]),h=_.useCallback(p(t),[t]),x=_.useCallback(p(n),[n]),y=_.useCallback(p(r),[r]),v=_.useCallback(p(i),[i]),E=_.useCallback(p(a),[a]),m=_.useCallback(p(o),[o]);return R.jsx(jt,{ref:f,...u,onEnter:g,onEntered:x,onEntering:h,onExit:y,onExited:E,onExiting:v,addEndListener:m,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 ks(){return _.useState(null)}function Rc(){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",H1=typeof document<"u",ia=H1||q1?_.useLayoutEffect:_.useEffect,W1={[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,W1[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 Ps=2**31-1;function nh(e,t,n){const r=n-Date.now();e.current=r<=Ps?setTimeout(t,r):setTimeout(()=>nh(e,t,n),Ps)}function Y1(){const e=Rc(),t=_.useRef();return th(()=>clearTimeout(t.current)),_.useMemo(()=>{const n=()=>clearTimeout(t.current);function r(i,a=0){e()&&(n(),a<=Ps?t.current=setTimeout(i,a):nh(t,i,Date.now()+a))}return{set:r,clear:n,handleRef:t}},[])}var cf=Object.prototype.hasOwnProperty;function uf(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=uf(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=uf(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(cf.call(e,n)&&++r&&!cf.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=Rc();return[e[0],_.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var Ve="top",rt="bottom",it="right",Ye="left",Sc="auto",ci=[Ve,rt,it,Ye],Yn="start",Vr="end",K1="clippingParents",rh="viewport",wr="popper",X1="reference",ff=ci.reduce(function(e,t){return e.concat([t+"-"+Yn,t+"-"+Vr])},[]),ih=[].concat(ci,[Sc]).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 Ac(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 js(){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(js())}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 $c(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&&Ac(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||(Ac(e)?e.host:null)||en(e)}function lf(e){return!yt(e)||Mt(e).position==="fixed"?null:e.offsetParent}function cm(e){var t=/firefox/i.test(js()),n=/Trident/i.test(js());if(n&&yt(e)){var r=Mt(e);if(r.position==="fixed")return null}var i=Ia(e);for(Ac(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=lf(e);n&&sm(n)&&Mt(n).position==="static";)n=lf(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&Mt(n).position==="static")?t:n||cm(e)||t}function Mc(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=Mc(s),u=[Ye,it].indexOf(s)>=0,f=u?"height":"width";if(!(!a||!o)){var l=fm(i.padding,n),d=$c(a),b=c==="y"?Ve:Ye,p=c==="y"?rt:it,g=n.rects.reference[f]+n.rects.reference[c]-o[c]-n.rects.popper[f],h=o[c]-n.rects.reference[c],x=ui(a),y=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,v=g/2-h/2,E=l[b],m=y-d[f]-l[p],C=y/2-d[f]/2+v,P=Ur(E,C,m),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 df(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,p=o.y,g=p===void 0?0:p,h=typeof f=="function"?f({x:b,y:g}):{x:b,y:g};b=h.x,g=h.y;var x=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=Ye,E=Ve,m=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===m&&m.visualViewport?m.visualViewport.height:C[P];g-=B-r.height,g*=c?1:-1}if(i===Ye||(i===Ve||i===rt)&&a===Vr){v=it;var j=l&&C===m&&m.visualViewport?m.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:g},Ze(n)):{x:b,y:g};if(b=Z.x,g=Z.y,c){var M;return Object.assign({},L,(M={},M[E]=y?"0":"",M[v]=x?"0":"",M.transform=(m.devicePixelRatio||1)<=1?"translate("+b+"px, "+g+"px)":"translate3d("+b+"px, "+g+"px, 0)",M))}return Object.assign({},L,(t={},t[E]=y?g+"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,df(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,df(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 hf(e){return e.replace(/start|end/g,function(t){return xm[t]})}function kc(e){var t=Ze(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Pc(e){return Kn(en(e)).left+kc(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+Pc(e),y:c}}function Om(e){var t,n=en(e),r=kc(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+Pc(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 jc(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)&&jc(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||[],jc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(zr(Ia(o)))}function Ls(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 pf(e,t,n){return t===rh?Ls(wm(e,n)):xn(t)?Em(t,n):Ls(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=pf(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},pf(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?Mc(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,p=b===void 0?!1:b,g=n.padding,h=g===void 0?0:g,x=ch(typeof h!="number"?h:uh(h,ci)),y=d===wr?X1:wr,v=e.rects.popper,E=e.elements[p?y:d],m=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=Ls(Object.assign({},v,P)),B=d===wr?F:C,j={top:m.top-B.top+x.top,bottom:B.bottom-m.bottom+x.bottom,left:m.left-B.left+x.left,right:B.right-m.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?ff:ff.filter(function(p){return Xn(p)===f}):ci,d=l.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=l);var b=d.reduce(function(p,g){return p[g]=Yr(e,{placement:g,boundary:i,rootBoundary:a,padding:o})[vt(g)],p},{});return Object.keys(b).sort(function(p,g){return b[p]-b[g]})}function Sm(e){if(vt(e)===Sc)return[];var t=Vi(e);return[hf(e),t,hf(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,p=b===void 0?!0:b,g=n.allowedAutoPlacements,h=t.options.placement,x=vt(h),y=x===h,v=c||(y||!p?[Vi(h)]:Sm(h)),E=[h].concat(v).reduce(function(X,Y){return X.concat(vt(Y)===Sc?Rm(t,{placement:Y,boundary:f,rootBoundary:l,padding:u,flipVariations:p,allowedAutoPlacements:g}):Y)},[]),m=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}),W=S?M?it:Ye:M?rt:Ve;m[I]>C[I]&&(W=Vi(W));var ne=Vi(W),V=[];if(a&&V.push(q[Z]<=0),s&&V.push(q[W]<=0,q[ne]<=0),V.every(function(X){return X})){B=L,F=!1;break}P.set(L,V)}if(F)for(var A=p?3:1,U=function(Y){var H=E.find(function(G){var J=P.get(G);if(J)return J.slice(0,Y).every(function(k){return k})});if(H)return B=H,"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 bf(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 mf(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=bf(o,r),u=bf(s,i,a),f=mf(c),l=mf(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,p=n.tetherOffset,g=p===void 0?0:p,h=Yr(t,{boundary:c,rootBoundary:u,padding:l,altBoundary:f}),x=vt(t.placement),y=Xn(t.placement),v=!y,E=Mc(x),m=Nm(E),C=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,B=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,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",W=C[E],ne=W+h[S],V=W-h[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?$c(te):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:sh(),H=Y[S],G=Y[I],J=Ur(0,P[q],X[q]),k=v?P[q]/2-A-J-H-j.mainAxis:U-J-H-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=W+k-he-w,ge=W+z-he,Te=Ur(b?oa(ne,se):ne,W,b?mn(V,ge):V);C[E]=Te,Z[E]=Te-W}if(s){var Ie,at=E==="x"?Ve:Ye,ot=E==="x"?rt:it,Le=C[m],Xe=m==="y"?"height":"width",Ne=Le+h[at],st=Le-h[ot],an=[Ve,Ye].indexOf(x)!==-1,It=(Ie=L==null?void 0:L[m])!=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[m]=Pn,Z[m]=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)?kc(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 Hm(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"||jc(a))&&(s=Bm(t)),yt(t)?(c=Kn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Pc(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function Wm(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=Wm(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 gf={placement:"bottom",modifiers:[],strategy:"absolute"};function vf(){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?gf:i;return function(s,c,u){u===void 0&&(u=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},gf,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;g(),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}),p(),b.update()},forceUpdate:function(){if(!d){var x=f.elements,y=x.reference,v=x.popper;if(vf(y,v)){f.rects={reference:Hm(y,ui(v),f.options.strategy==="fixed"),popper:$c(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 m=f.orderedModifiers[E],C=m.fn,P=m.options,F=P===void 0?{}:P,B=m.name;typeof C=="function"&&(f=C({state:f,options:F,name:B,instance:b})||f)}}}},update:Ym(function(){return new Promise(function(h){b.forceUpdate(),h(f)})}),destroy:function(){g(),d=!0}};if(!vf(s,c))return b;b.setOptions(u).then(function(h){!d&&u.onFirstUpdate&&u.onFirstUpdate(h)});function p(){f.orderedModifiers.forEach(function(h){var x=h.name,y=h.options,v=y===void 0?{}:y,E=h.effect;if(typeof E=="function"){var m=E({state:f,name:x,instance:b,options:v}),C=function(){};l.push(m||C)}})}function g(){l.forEach(function(h){return h()}),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 h;(h=u.current)==null||h.update()},[]),l=_.useCallback(()=>{var h;(h=u.current)==null||h.forceUpdate()},[]),[d,b]=G1(_.useState({placement:i,update:f,forceUpdate:l,attributes:{},styles:{popper:{},arrow:{}}})),p=_.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:h})=>{const x={},y={};Object.keys(h.elements).forEach(v=>{x[v]=h.styles[v],y[v]=h.attributes[v]}),b({state:h,styles:x,attributes:y,update:f,forceUpdate:l,placement:h.placement})}}),[f,l,b]),g=_.useMemo(()=>(Fr(c.current,o)||(c.current=o),c.current),[o]);return _.useEffect(()=>{!u.current||!r||u.current.setOptions({placement:i,strategy:a,modifiers:[...g,p,Zm]})},[a,i,p,r,g]),_.useEffect(()=>{if(!(!r||e==null||t==null))return u.current=Xm(e,t,Object.assign({},s,{placement:i,strategy:a,modifiers:[...g,eg,p]})),()=>{u.current!=null&&(u.current.destroy(),u.current=void 0,b(h=>Object.assign({},h,{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 Lc=Ke(ig),yf=()=>{};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),_f={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function ph(e,t=yf,{disabled:n,clickTrigger:r="click"}={}){const i=_.useRef(!1),a=_.useRef(!1),o=_.useCallback(u=>{const f=Yi(e);Lc(!!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,p=null;_f[r]&&(p=Wt(l,_f[r],s,!0));const g=Wt(l,r,o,!0),h=Wt(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=>Wt(y,"mousemove",yf))),()=>{p==null||p(),g(),h(),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 p=sg(c.modifiers);return Object.assign({},c,{placement:n,enabled:e,strategy:a?"fixed":c.strategy,modifiers:cg(Object.assign({},p,{eventListeners:{enabled:t,options:(u=p.eventListeners)==null?void 0:u.options},preventOverflow:Object.assign({},p.preventOverflow,{options:o?Object.assign({padding:o},(f=p.preventOverflow)==null?void 0:f.options):(l=p.preventOverflow)==null?void 0:l.options}),offset:{options:Object.assign({offset:i},(d=p.offset)==null?void 0:d.options)},arrow:Object.assign({},p.arrow,{enabled:!!s,options:Object.assign({},(b=p.arrow)==null?void 0:b.options,{element:s})}),flip:Object.assign({enabled:!!r},p.flip)}))})}const mh=_.createContext(La?window:void 0);mh.Provider;function gh(){return _.useContext(mh)}const vh=fe.createContext({}),Ic=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})})});Ic.displayName="FormGroup";const Dc=fe.forwardRef(({bsPrefix:e,className:t,children:n,controlId:r,label:i,...a},o)=>(e=Kt(e,"form-floating"),R.jsxs(Ic,{ref:o,className:Oe(t,e),controlId:r,...a,children:[n,R.jsx("label",{htmlFor:r,children:i})]})));Dc.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 Is(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),p=C=>P=>{C&&d.current&&C(d.current,P)},g=_.useCallback(p(t),[t]),h=_.useCallback(p(n),[n]),x=_.useCallback(p(r),[r]),y=_.useCallback(p(i),[i]),v=_.useCallback(p(a),[a]),E=_.useCallback(p(o),[o]),m=_.useCallback(p(s),[s]);return Object.assign({},u,{nodeRef:d},t&&{onEnter:g},n&&{onEntering:h},r&&{onEntered:x},i&&{onExit:y},a&&{onExiting:v},o&&{onExited:E},s&&{addEndListener:m},{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 Ds(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=Wt(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]=ks(),[l,d]=ks(),b=Zt(f,t),p=Is(e.container),g=Is(e.target),[h,x]=_.useState(!e.show),y=dh(g,u,bh({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:r,arrowElement:l,popperConfig:o}));e.show&&h&&x(!1);const v=(...L)=>{x(!0),e.onExited&&e.onExited(...L)},E=e.show||!h;if(_g(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!E)return null;const{onExit:m,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:m,onExiting:C,onExited:v,onEnter:P,onEntering:F,onEntered:B}),p?ln.createPortal(j,p):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 Nc=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})));Nc.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=Ec(),[p]=(t==null?void 0:t.split("-"))||[],g=Oh(p,b);let h=r;return u&&!s&&(h={...r,...Eh(c==null?void 0:c.strategy)}),R.jsxs("div",{ref:l,role:"tooltip",style:h,"x-placement":p,className:Oe(n,d,p&&`bs-popover-${g}`),...f,children:[R.jsx("div",{className:"popover-arrow",...o}),a?R.jsx(Nc,{children:i}):i]})}),Th=Object.assign(xg,{Header:wh,Body:Nc,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=Ec(),[d]=(t==null?void 0:t.split("-"))||[],b=Oh(d,l);let p=r;return c&&!o&&(p={...r,...Eh(s==null?void 0:s.strategy)}),R.jsxs("div",{ref:f,style:p,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 Fc=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(Ds(t.current,n))return Th.POPPER_OFFSET;if(Ds(t.current,r))return Fc.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),p=t===!0?aa:t||void 0,g=_n(h=>{f(h),n==null||n.onFirstUpdate==null||n.onFirstUpdate(h)});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:g},transition:p,rootClose:r,placement:i,show:a,children:(h,{arrowProps:x,popper:y,show:v})=>{var E;Og(h,x);const m=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:m,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({...h,placement:m,show:v,...!t&&v&&{className:"show"},popper:C,arrowProps:x,hasDoneInitialMeasure:P}):fe.cloneElement(e,{...h,placement:m,arrowProps:x,popper:C,hasDoneInitialMeasure:P,className:Oe(e.props.className,!t&&v&&"show"),style:{...e.props.style,...h.style}})}})});Rh.displayName="Overlay";function Eg(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function xf(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(),p=_.useRef(""),[g,h]=Wd(i,a,o),x=Eg(s),{onFocus:y,onBlur:v,onClick:E}=typeof n!="function"?fe.Children.only(n).props:{},m=I=>{d(ra(I))},C=_.useCallback(()=>{if(b.clear(),p.current="show",!x.show){h(!0);return}b.set(()=>{p.current==="show"&&h(!0)},x.show)},[x.show,h,b]),P=_.useCallback(()=>{if(b.clear(),p.current="hide",!x.hide){h(!1);return}b.set(()=>{p.current==="hide"&&h(!1)},x.hide)},[x.hide,h,b]),F=_.useCallback((...I)=>{C(),y==null||y(...I)},[C,y]),B=_.useCallback((...I)=>{P(),v==null||v(...I)},[P,v]),j=_.useCallback((...I)=>{h(!g),E==null||E(...I)},[E,h,g]),L=_.useCallback((...I)=>{xf(C,I,"fromElement")},[C]),Z=_.useCallback((...I)=>{xf(P,I,"toElement")},[P]),M=e==null?[]:[].concat(e),S={ref:m};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"&&Lc(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:g,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},wf=_.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 Of(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?Of(Object(n),!0).forEach(function(r){Sg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(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 Se(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 wf!==void 0?_.createElement(wf.Consumer,null,n=>t(n)):t(Ah)}function kg(e){return Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Se({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 Hg(e){return Se({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 Se({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"},child:[]}]})(e)}function Vg(e){return Se({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 Yg(e){return Se({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 Gg(e){return Se({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 Kg(e){return Se({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 Xg(e){return Se({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 Jg(e){return Se({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 Qg(e){return Se({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 Se({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 Zg(e){return Se({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 ev(e){return Se({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 Uc=_.createContext({cookieDomain:"",axiosOptions:{},language:"",localizationContext:{},texts:{},ProjectIconComponent:{},chartColorPalette:void 0}),tv=_.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),nv=_.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let rv={data:""},iv=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||rv,av=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,ov=/\/\*[^]*?\*\/| +/g,Ef=/\n+/g,Ht=(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"?Ht(o,a):a+"{"+Ht(o,a[1]=="k"?"":t)+"}":typeof o=="object"?r+=Ht(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+=Ht.p?Ht.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},sv=(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=av.exec(u.replace(ov,""));)f[4]?d.shift():f[3]?(l=f[3].replace(Ef," ").trim(),d.unshift(d[0][l]=d[0][l]||{})):d[0][f[1]]=f[2].replace(Ef," ").trim();return d[0]})(e);Ct[o]=Ht(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},cv=(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?"":Ht(s,""):s===!1?"":s}return r+i+(o??"")},"");function Da(e){let t=this||{},n=e.call?e(t.p):e;return sv(n.unshift?n.raw?cv(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,iv(t.target),t.g,t.o,t.k)}let Ph,Ns,Fs;Da.bind({g:1});let kt=Da.bind({k:1});function uv(e,t,n,r){Ht.p=t,Ph=e,Ns=n,Fs=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:Ns&&Ns()},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),Fs&&u[0]&&Fs(s),Ph(u,s)}return i}}var fv=e=>typeof e=="function",fa=(e,t)=>fv(e)?e(t):e,lv=(()=>{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}})(),dv=20,Gi=new Map,hv=1e3,Tf=e=>{if(Gi.has(e))return;let t=setTimeout(()=>{Gi.delete(e),Sn({type:4,toastId:e})},hv);Gi.set(e,t)},pv=e=>{let t=Gi.get(e);t&&clearTimeout(t)},Us=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,dv)};case 1:return t.toast.id&&pv(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)?Us(e,{type:1,toast:n}):Us(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Tf(r):e.toasts.forEach(a=>{Tf(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=Us(Xi,e),Ki.forEach(t=>{t(Xi)})},bv={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},mv=(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)||bv[i.type],style:{...e.style,...(o=e[i.type])==null?void 0:o.style,...i.style}}});return{...t,toasts:r}},gv=(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)||lv()}),fi=e=>(t,n)=>{let r=gv(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 vv=(e,t)=>{Sn({type:1,toast:{id:e,height:t}})},yv=()=>{Sn({type:5,time:Date.now()})},_v=e=>{let{toasts:t,pausedAt:n}=mv(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,p)=>p<l&&b.visible).length;return f.filter(b=>b.visible).slice(...s?[d+1]:[0,d]).reduce((b,p)=>b+(p.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:vv,startPause:yv,endPause:r,calculateOffset:i}}},xv=kt`
|
|
54
|
-
from {
|
|
55
|
-
transform: scale(0) rotate(45deg);
|
|
56
|
-
opacity: 0;
|
|
57
|
-
}
|
|
58
|
-
to {
|
|
59
|
-
transform: scale(1) rotate(45deg);
|
|
60
|
-
opacity: 1;
|
|
61
|
-
}`,wv=kt`
|
|
62
|
-
from {
|
|
63
|
-
transform: scale(0);
|
|
64
|
-
opacity: 0;
|
|
65
|
-
}
|
|
66
|
-
to {
|
|
67
|
-
transform: scale(1);
|
|
68
|
-
opacity: 1;
|
|
69
|
-
}`,Ov=kt`
|
|
70
|
-
from {
|
|
71
|
-
transform: scale(0) rotate(90deg);
|
|
72
|
-
opacity: 0;
|
|
73
|
-
}
|
|
74
|
-
to {
|
|
75
|
-
transform: scale(1) rotate(90deg);
|
|
76
|
-
opacity: 1;
|
|
77
|
-
}`,Ev=tn("div")`
|
|
78
|
-
width: 20px;
|
|
79
|
-
opacity: 0;
|
|
80
|
-
height: 20px;
|
|
81
|
-
border-radius: 10px;
|
|
82
|
-
background: ${e=>e.primary||"#ff4b4b"};
|
|
83
|
-
position: relative;
|
|
84
|
-
transform: rotate(45deg);
|
|
85
|
-
|
|
86
|
-
animation: ${xv} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
87
|
-
forwards;
|
|
88
|
-
animation-delay: 100ms;
|
|
89
|
-
|
|
90
|
-
&:after,
|
|
91
|
-
&:before {
|
|
92
|
-
content: '';
|
|
93
|
-
animation: ${wv} 0.15s ease-out forwards;
|
|
94
|
-
animation-delay: 150ms;
|
|
95
|
-
position: absolute;
|
|
96
|
-
border-radius: 3px;
|
|
97
|
-
opacity: 0;
|
|
98
|
-
background: ${e=>e.secondary||"#fff"};
|
|
99
|
-
bottom: 9px;
|
|
100
|
-
left: 4px;
|
|
101
|
-
height: 2px;
|
|
102
|
-
width: 12px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&:before {
|
|
106
|
-
animation: ${Ov} 0.15s ease-out forwards;
|
|
107
|
-
animation-delay: 180ms;
|
|
108
|
-
transform: rotate(90deg);
|
|
109
|
-
}
|
|
110
|
-
`,Tv=kt`
|
|
111
|
-
from {
|
|
112
|
-
transform: rotate(0deg);
|
|
113
|
-
}
|
|
114
|
-
to {
|
|
115
|
-
transform: rotate(360deg);
|
|
116
|
-
}
|
|
117
|
-
`,Cv=tn("div")`
|
|
118
|
-
width: 12px;
|
|
119
|
-
height: 12px;
|
|
120
|
-
box-sizing: border-box;
|
|
121
|
-
border: 2px solid;
|
|
122
|
-
border-radius: 100%;
|
|
123
|
-
border-color: ${e=>e.secondary||"#e0e0e0"};
|
|
124
|
-
border-right-color: ${e=>e.primary||"#616161"};
|
|
125
|
-
animation: ${Tv} 1s linear infinite;
|
|
126
|
-
`,Rv=kt`
|
|
127
|
-
from {
|
|
128
|
-
transform: scale(0) rotate(45deg);
|
|
129
|
-
opacity: 0;
|
|
130
|
-
}
|
|
131
|
-
to {
|
|
132
|
-
transform: scale(1) rotate(45deg);
|
|
133
|
-
opacity: 1;
|
|
134
|
-
}`,Sv=kt`
|
|
135
|
-
0% {
|
|
136
|
-
height: 0;
|
|
137
|
-
width: 0;
|
|
138
|
-
opacity: 0;
|
|
139
|
-
}
|
|
140
|
-
40% {
|
|
141
|
-
height: 0;
|
|
142
|
-
width: 6px;
|
|
143
|
-
opacity: 1;
|
|
144
|
-
}
|
|
145
|
-
100% {
|
|
146
|
-
opacity: 1;
|
|
147
|
-
height: 10px;
|
|
148
|
-
}`,Av=tn("div")`
|
|
149
|
-
width: 20px;
|
|
150
|
-
opacity: 0;
|
|
151
|
-
height: 20px;
|
|
152
|
-
border-radius: 10px;
|
|
153
|
-
background: ${e=>e.primary||"#61d345"};
|
|
154
|
-
position: relative;
|
|
155
|
-
transform: rotate(45deg);
|
|
156
|
-
|
|
157
|
-
animation: ${Rv} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
158
|
-
forwards;
|
|
159
|
-
animation-delay: 100ms;
|
|
160
|
-
&:after {
|
|
161
|
-
content: '';
|
|
162
|
-
box-sizing: border-box;
|
|
163
|
-
animation: ${Sv} 0.2s ease-out forwards;
|
|
164
|
-
opacity: 0;
|
|
165
|
-
animation-delay: 200ms;
|
|
166
|
-
position: absolute;
|
|
167
|
-
border-right: 2px solid;
|
|
168
|
-
border-bottom: 2px solid;
|
|
169
|
-
border-color: ${e=>e.secondary||"#fff"};
|
|
170
|
-
bottom: 6px;
|
|
171
|
-
left: 6px;
|
|
172
|
-
height: 10px;
|
|
173
|
-
width: 6px;
|
|
174
|
-
}
|
|
175
|
-
`,$v=tn("div")`
|
|
176
|
-
position: absolute;
|
|
177
|
-
`,Mv=tn("div")`
|
|
178
|
-
position: relative;
|
|
179
|
-
display: flex;
|
|
180
|
-
justify-content: center;
|
|
181
|
-
align-items: center;
|
|
182
|
-
min-width: 20px;
|
|
183
|
-
min-height: 20px;
|
|
184
|
-
`,kv=kt`
|
|
185
|
-
from {
|
|
186
|
-
transform: scale(0.6);
|
|
187
|
-
opacity: 0.4;
|
|
188
|
-
}
|
|
189
|
-
to {
|
|
190
|
-
transform: scale(1);
|
|
191
|
-
opacity: 1;
|
|
192
|
-
}`,Pv=tn("div")`
|
|
193
|
-
position: relative;
|
|
194
|
-
transform: scale(0.6);
|
|
195
|
-
opacity: 0.4;
|
|
196
|
-
min-width: 20px;
|
|
197
|
-
animation: ${kv} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
198
|
-
forwards;
|
|
199
|
-
`,jv=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?fe.createElement(Pv,null,t):t:n==="blank"?null:fe.createElement(Mv,null,fe.createElement(Cv,{...r}),n!=="loading"&&fe.createElement($v,null,n==="error"?fe.createElement(Ev,{...r}):fe.createElement(Av,{...r})))},Lv=e=>`
|
|
200
|
-
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
201
|
-
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
202
|
-
`,Iv=e=>`
|
|
203
|
-
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
204
|
-
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
|
205
|
-
`,Dv="0%{opacity:0;} 100%{opacity:1;}",Nv="0%{opacity:1;} 100%{opacity:0;}",Fv=tn("div")`
|
|
206
|
-
display: flex;
|
|
207
|
-
align-items: center;
|
|
208
|
-
background: #fff;
|
|
209
|
-
color: #363636;
|
|
210
|
-
line-height: 1.3;
|
|
211
|
-
will-change: transform;
|
|
212
|
-
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
213
|
-
max-width: 350px;
|
|
214
|
-
pointer-events: auto;
|
|
215
|
-
padding: 8px 10px;
|
|
216
|
-
border-radius: 8px;
|
|
217
|
-
`,Uv=tn("div")`
|
|
218
|
-
display: flex;
|
|
219
|
-
justify-content: center;
|
|
220
|
-
margin: 4px 10px;
|
|
221
|
-
color: inherit;
|
|
222
|
-
flex: 1 1 auto;
|
|
223
|
-
white-space: pre-line;
|
|
224
|
-
`,zv=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=jh()?[Dv,Nv]:[Lv(n),Iv(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)`}},Bv=fe.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?zv(e.position||t||"top-center",e.visible):{opacity:0},a=fe.createElement(jv,{toast:e}),o=fe.createElement(Uv,{...e.ariaProps},fa(e.message,e));return fe.createElement(Fv,{className:e.className,style:{...i,...n,...e.style}},typeof r=="function"?r({icon:a,message:o}):fe.createElement(fe.Fragment,null,a,o))});uv(fe.createElement);var qv=({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)},Hv=(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
|
-
z-index: 9999;
|
|
226
|
-
> * {
|
|
227
|
-
pointer-events: auto;
|
|
228
|
-
}
|
|
229
|
-
`,ji=16,Vv=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,containerStyle:a,containerClassName:o})=>{let{toasts:s,handlers:c}=_v(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=Hv(f,l);return fe.createElement(qv,{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(Bv,{toast:u,position:f}))}))},Dn=Je;const Yv=_.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var zs;(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"})(zs||(zs={}));const Lh=zs,Gv=_.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:Kv}=Object.prototype,{getPrototypeOf:zc}=Object,Na=(e=>t=>{const n=Kv.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 Xv(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 Jv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dh(e.buffer),t}const Qv=Fa("string"),Qe=Fa("function"),Nh=Fa("number"),Ua=e=>e!==null&&typeof e=="object",Zv=e=>e===!0||e===!1,Ji=e=>{if(Na(e)!=="object")return!1;const t=zc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ey=bt("Date"),ty=bt("File"),ny=bt("Blob"),ry=bt("FileList"),iy=e=>Ua(e)&&Qe(e.pipe),ay=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]"))},oy=bt("URLSearchParams"),[sy,cy,uy,fy]=["ReadableStream","Request","Response","Headers"].map(bt),ly=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 Bs(){const{caseless:e}=Uh(this)&&this||{},t={},n=(r,i)=>{const a=e&&Fh(t,i)||i;Ji(t[a])&&Ji(r)?t[a]=Bs(t[a],r):Ji(r)?t[a]=Bs({},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 dy=(e,t,n,{allOwnKeys:r}={})=>(li(t,(i,a)=>{n&&Qe(i)?e[a]=Ih(i,n):e[a]=i},{allOwnKeys:r}),e),hy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),py=(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)},by=(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&&zc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},my=(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},gy=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},vy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&zc(Uint8Array)),yy=(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])}},_y=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xy=bt("HTMLFormElement"),wy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Cf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Oy=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)},Ey=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+"'")})}})},Ty=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},Cy=()=>{},Ry=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,rs="abcdefghijklmnopqrstuvwxyz",Rf="0123456789",Bh={DIGIT:Rf,ALPHA:rs,ALPHA_DIGIT:rs+rs.toUpperCase()+Rf},Sy=(e=16,t=Bh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ay(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $y=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)},My=bt("AsyncFunction"),ky=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)),Py=typeof queueMicrotask<"u"?queueMicrotask.bind(dn):typeof process<"u"&&process.nextTick||qh,$={isArray:nr,isArrayBuffer:Dh,isBuffer:Xv,isFormData:ay,isArrayBufferView:Jv,isString:Qv,isNumber:Nh,isBoolean:Zv,isObject:Ua,isPlainObject:Ji,isReadableStream:sy,isRequest:cy,isResponse:uy,isHeaders:fy,isUndefined:Gr,isDate:ey,isFile:ty,isBlob:ny,isRegExp:Oy,isFunction:Qe,isStream:iy,isURLSearchParams:oy,isTypedArray:vy,isFileList:ry,forEach:li,merge:Bs,extend:dy,trim:ly,stripBOM:hy,inherits:py,toFlatObject:by,kindOf:Na,kindOfTest:bt,endsWith:my,toArray:gy,forEachEntry:yy,matchAll:_y,isHTMLForm:xy,hasOwnProperty:Cf,hasOwnProp:Cf,reduceDescriptors:zh,freezeMethods:Ey,toObjectSet:Ty,toCamelCase:wy,noop:Cy,toFiniteNumber:Ry,findKey:Fh,global:dn,isContextDefined:Uh,ALPHABET:Bh,generateString:Sy,isSpecCompliantForm:Ay,toJSONObject:$y,isAsyncFn:My,isThenable:ky,setImmediate:qh,asap:Py};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 Hh=ue.prototype,Wh={};["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=>{Wh[e]={value:e}});Object.defineProperties(ue,Wh);Object.defineProperty(Hh,"isAxiosError",{value:!0});ue.from=(e,t,n,r,i,a)=>{const o=Object.create(Hh);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 jy=null;function qs(e){return $.isPlainObject(e)||$.isArray(e)}function Vh(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Sf(e,t,n){return e?e.concat(t).map(function(i,a){return i=Vh(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function Ly(e){return $.isArray(e)&&!e.some(qs)}const Iy=$.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(g,h){return!$.isUndefined(h[g])});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(p){if(p===null)return"";if($.isDate(p))return p.toISOString();if(!c&&$.isBlob(p))throw new ue("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(p)||$.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,g,h){let x=p;if(p&&!h&&typeof p=="object"){if($.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if($.isArray(p)&&Ly(p)||($.isFileList(p)||$.endsWith(g,"[]"))&&(x=$.toArray(p)))return g=Vh(g),x.forEach(function(v,E){!($.isUndefined(v)||v===null)&&t.append(o===!0?Sf([g],E,a):o===null?g:g+"[]",u(v))}),!1}return qs(p)?!0:(t.append(Sf(h,g,a),u(p)),!1)}const l=[],d=Object.assign(Iy,{defaultVisitor:f,convertValue:u,isVisitable:qs});function b(p,g){if(!$.isUndefined(p)){if(l.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(p),$.forEach(p,function(x,y){(!($.isUndefined(x)||x===null)&&i.call(t,x,$.isString(y)?y.trim():y,g,d))===!0&&b(x,g?g.concat(y):[y])}),l.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Af(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Bc(e,t){this._pairs=[],e&&za(e,this,t)}const Yh=Bc.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,Af)}:Af;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Dy(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||Dy,i=n&&n.serialize;let a;if(i?a=i(t,n):a=$.isURLSearchParams(t)?t.toString():new Bc(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class $f{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},Ny=typeof URLSearchParams<"u"?URLSearchParams:Bc,Fy=typeof FormData<"u"?FormData:null,Uy=typeof Blob<"u"?Blob:null,zy={isBrowser:!0,classes:{URLSearchParams:Ny,FormData:Fy,Blob:Uy},protocols:["http","https","file","blob","url","data"]},qc=typeof window<"u"&&typeof document<"u",By=(e=>qc&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),qy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Hy=qc&&window.location.href||"http://localhost",Wy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qc,hasStandardBrowserEnv:By,hasStandardBrowserWebWorkerEnv:qy,origin:Hy},Symbol.toStringTag,{value:"Module"})),dt={...Wy,...zy};function Vy(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 Yy(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gy(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]=Gy(i[o])),!s)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,i)=>{t(Yy(r),i,n,0)}),n}return null}function Ky(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 Vy(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),Ky(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 Xy=$.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"]),Jy=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]&&Xy[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Mf=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 Qy(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 Zy=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 e2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function t2(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())&&!Zy(t))o(Jy(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 Qy(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?e2(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[Mf]=this[Mf]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=Or(o);r[s]||(t2(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 n2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function r2(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 i2(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=r2(50,250);return i2(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)},kf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Pf=e=>(...t)=>$.asap(()=>e(...t)),a2=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}}(),o2=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 s2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function c2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zh(e,t){return e&&!s2(t)?c2(e,t):t}const jf=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(jf(u),jf(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&&a2(t.url))){const u=i&&a&&o2.read(a);u&&o.set(i,u)}return t},u2=typeof XMLHttpRequest<"u",f2=u2&&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,p;function g(){b&&b(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let h=new XMLHttpRequest;h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout;function x(){if(!h)return;const v=Ge.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:v,config:e,request:h};Qh(function(P){n(P),g()},function(P){r(P),g()},m),h=null}"onloadend"in h?h.onloadend=x:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(x)},h.onabort=function(){h&&(r(new ue("Request aborted",ue.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new ue("Network Error",ue.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const m=i.transitional||Kh;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),r(new ue(E,m.clarifyTimeoutError?ue.ETIMEDOUT:ue.ECONNABORTED,e,h)),h=null},a===void 0&&o.setContentType(null),"setRequestHeader"in h&&$.forEach(o.toJSON(),function(E,m){h.setRequestHeader(m,E)}),$.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),s&&s!=="json"&&(h.responseType=i.responseType),u&&([d,p]=la(u,!0),h.addEventListener("progress",d)),c&&h.upload&&([l,b]=la(c),h.upload.addEventListener("progress",l),h.upload.addEventListener("loadend",b)),(i.cancelToken||i.signal)&&(f=v=>{h&&(r(!v||v.type?new rr(null,e,h):v),h.abort(),h=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=n2(i.url);if(y&&dt.protocols.indexOf(y)===-1){r(new ue("Unsupported protocol "+y+":",ue.ERR_BAD_REQUEST,e));return}h.send(a||null)})},l2=(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}]},d2=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},h2=async function*(e,t,n){for await(const r of e)yield*d2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Lf=(e,t,n,r,i)=>{const a=h2(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",Hs=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}},p2=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}),If=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 b2=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 Hs(e)).byteLength},m2=async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return n??b2(t)},g2=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,p]=i||a||o?l2([i,a],o):[],g,h;const x=()=>{!g&&setTimeout(()=>{b&&b.unsubscribe()}),g=!0};let y;try{if(c&&p2&&n!=="get"&&n!=="head"&&(y=await m2(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]=kf(y,la(Pf(c)));r=Lf(C.body,If,F,B,Hs)}}$.isString(l)||(l=l?"include":"omit"),h=new Request(t,{...d,signal:b,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:l});let v=await fetch(h);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&&kf(P,la(Pf(s),!0))||[];v=new Response(Lf(v.body,If,F,()=>{B&&B(),E&&x()},Hs),C)}u=u||"text";let m=await da[$.findKey(da,u)||"text"](v,e);return!E&&x(),p&&p(),await new Promise((C,P)=>{Qh(C,P,{data:m,headers:Ge.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:h})})}catch(v){throw x(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ue("Network Error",ue.ERR_NETWORK,e,h),{cause:v.cause||v}):ue.from(v,v&&v.code,e,h)}}),Vs={http:jy,xhr:f2,fetch:g2};$.forEach(Vs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Df=e=>`- ${e}`,v2=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,!v2(n)&&(r=Vs[(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
|
-
`+a.map(Df).join(`
|
|
233
|
-
`):" "+Df(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:Vs};function os(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rr(null,e)}function Nf(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",Hc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ff={};Hc.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&&!Ff[o]&&(Ff[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 y2(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 Ys={assertOptions:y2,validators:Hc},Ft=Ys.validators;class gn{constructor(t){this.defaults=t,this.interceptors={request:new $f,response:new $f}}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&&Ys.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}:Ys.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"],p=>{delete a[p]}),n.headers=Ge.concat(o,a);const s=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let f,l=0,d;if(!c){const p=[Nf.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),d=p.length,f=Promise.resolve(n);l<d;)f=f.then(p[l++],p[l++]);return f}d=s.length;let b=n;for(l=0;l<d;){const p=s[l++],g=s[l++];try{b=p(b)}catch(h){g.call(this,h);break}}try{f=Nf.call(this,b)}catch(p){return Promise.reject(p)}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 _2(e){return function(n){return e.apply(null,n)}}function x2(e){return $.isObject(e)&&e.isAxiosError===!0}const Gs={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(Gs).forEach(([e,t])=>{Gs[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 Ae=ap(di);Ae.Axios=gn;Ae.CanceledError=rr;Ae.CancelToken=Wc;Ae.isCancel=Jh;Ae.VERSION=ip;Ae.toFormData=za;Ae.AxiosError=ue;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=_2;Ae.isAxiosError=x2;Ae.mergeConfig=wn;Ae.AxiosHeaders=Ge;Ae.formToJSON=e=>Xh($.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=rp.getAdapter;Ae.HttpStatusCode=Gs;Ae.default=Ae;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),w2=e=>{const t={};return Object.entries(e).forEach(([n,r])=>{r&&typeof r=="object"&&sp(r)?t[n]=null:t[n]=r}),t},Vc=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})):[]},O2=(e,t)=>{Vc(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)+"...",E2=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 T2=(e,t)=>e.map(n=>`&${t}=${n}`).join("").substring(1),C2=(e,t)=>e===null?null:e.length<=t?e:e.slice(0,t)+"…";function Yc(e,t=Yc.characters){return e.replace(/[^A-Za-z0-9]/g,function(n){return t[n]||n})}Yc.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
|
-
* cookie
|
|
236
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
237
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
238
|
-
* MIT Licensed
|
|
239
|
-
*/var lp=S2,Uf=A2,R2=Object.prototype.toString,Li=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function S2(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},i=r.decode||$2,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]=P2(u,i)}a=s+1}return n}function A2(e,t,n){var r=n||{},i=r.encode||M2;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(!k2(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 $2(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function M2(e){return encodeURIComponent(e)}function k2(e){return R2.call(e)==="[object Date]"||e instanceof Date}function P2(e,t){try{return t(e)}catch{return e}}function j2(){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 L2(e){return typeof e=="string"?lp(e):typeof e=="object"&&e!==null?e:{}}function ss(e,t={}){const n=I2(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function I2(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class D2{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=L2(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=j2()}_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=Uf(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=Uf(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 N2=fe.createContext(new D2);var Ks={exports:{}},_e={};/** @license React v16.13.1
|
|
240
|
-
* react-is.production.min.js
|
|
241
|
-
*
|
|
242
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
243
|
-
*
|
|
244
|
-
* This source code is licensed under the MIT license found in the
|
|
245
|
-
* LICENSE file in the root directory of this source tree.
|
|
246
|
-
*/var zf;function F2(){if(zf)return _e;zf=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,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case t:switch(m=m.type,m){case c:case u:case r:case a:case i:case l:return m;default:switch(m=m&&m.$$typeof,m){case s:case f:case p:case b:case o:return m;default:return C}}case n:return C}}}function E(m){return v(m)===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=p,_e.Memo=b,_e.Portal=n,_e.Profiler=a,_e.StrictMode=i,_e.Suspense=l,_e.isAsyncMode=function(m){return E(m)||v(m)===c},_e.isConcurrentMode=E,_e.isContextConsumer=function(m){return v(m)===s},_e.isContextProvider=function(m){return v(m)===o},_e.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},_e.isForwardRef=function(m){return v(m)===f},_e.isFragment=function(m){return v(m)===r},_e.isLazy=function(m){return v(m)===p},_e.isMemo=function(m){return v(m)===b},_e.isPortal=function(m){return v(m)===n},_e.isProfiler=function(m){return v(m)===a},_e.isStrictMode=function(m){return v(m)===i},_e.isSuspense=function(m){return v(m)===l},_e.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===r||m===u||m===a||m===i||m===l||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===p||m.$$typeof===b||m.$$typeof===o||m.$$typeof===s||m.$$typeof===f||m.$$typeof===h||m.$$typeof===x||m.$$typeof===y||m.$$typeof===g)},_e.typeOf=v,_e}var xe={};/** @license React v16.13.1
|
|
247
|
-
* react-is.development.js
|
|
248
|
-
*
|
|
249
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
250
|
-
*
|
|
251
|
-
* This source code is licensed under the MIT license found in the
|
|
252
|
-
* LICENSE file in the root directory of this source tree.
|
|
253
|
-
*/var Bf;function U2(){return Bf||(Bf=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,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=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===p||w.$$typeof===b||w.$$typeof===o||w.$$typeof===s||w.$$typeof===f||w.$$typeof===h||w.$$typeof===x||w.$$typeof===y||w.$$typeof===g)}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 p:case b:case o:return ge;default:return he}}case n:return he}}}var m=c,C=u,P=s,F=o,B=t,j=f,L=r,Z=p,M=b,S=n,I=a,q=i,W=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 H(w){return E(w)===p}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=m,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=W,xe.isAsyncMode=V,xe.isConcurrentMode=A,xe.isContextConsumer=U,xe.isContextProvider=K,xe.isElement=te,xe.isForwardRef=X,xe.isFragment=Y,xe.isLazy=H,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"?Ks.exports=F2():Ks.exports=U2();var z2=Ks.exports,dp=z2,B2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},q2={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hp={};hp[dp.ForwardRef]=B2;hp[dp.Memo]=q2;function H2(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function Gc(e,t){const n=_.useContext(N2);if(!n)throw new Error("Missing <CookiesProvider>");const i=Object.assign(Object.assign({},{doNotUpdate:!0}),t),[a,o]=_.useState(()=>n.getAll(i));H2()&&_.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 V2=()=>{const{axiosOptions:e,cookieDomain:t}=_.useContext(Uc),[,n,r]=Gc(["Authorization"]),i=Ae.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}},Y2=()=>{const[,,e]=Gc(["Authorization"]),{msalScopes:t}=_.useContext(Kc),{instance:n,inProgress:r}=Wu.useMsal(),i=Wu.useIsAuthenticated(),a=_.useCallback(async()=>{var d;const f=n.getActiveAccount(),l=f??((d=n.getAllAccounts())==null?void 0:d.at(0))??void 0;return l?(f||n.setActiveAccount(l),n.acquireTokenSilent({scopes:t,account:l}).then(b=>b.accessToken).catch(b=>{if(console.error("Error acquiring token",b),b instanceof Hu.InteractionRequiredAuthError)return console.log("Silent token acquisition failed. Acquiring token using redirect"),n.acquireTokenRedirect({scopes:t}),null;throw b})):null},[n,t]),o=_.useCallback(()=>i,[i]),s=_.useCallback(()=>!o()&&r!==Hu.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(Kc),t=V2(),n=Y2();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}},G2="_toast_1s57i_1",Er={toast:G2},K2=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=K2(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(Jg,{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}}},[])}),X2=Ae.CancelToken,J2=e=>{const{authenticated:t=!0,differentBaseUrl:n,silent:r=!1,customToken:i,ignoreDelegation:a}={...e},{language:o,axiosOptions:s,texts:{axios:c}}=_.useContext(Uc),{delegation:u}=_.useContext(mp),f=_.useMemo(()=>(u==null?void 0:u.id)??null,[u==null?void 0:u.id]),{addNotification:l}=bp(),{getToken:d}=pp(),b=_.useMemo(()=>Ae.create(s),[s]),p=_.useCallback(async h=>{var x,y,v;if(t&&!h.headers.Authorization){const E=i??await d();if(!E)return Promise.reject(new Error("No bearer token"));h.headers.Authorization=`Bearer ${E}`}return f!==null&&!a&&(h.headers.DelegationId=f.toString()),(x=h.url)!=null&&x.includes("culture=")?h.url=(y=h.url)==null?void 0:y.replace(/culture=[a-z]{2}/,`culture=${o}`):h.url=`${h.url}${(v=h.url)!=null&&v.includes("?")?"&":"?"}culture=${o}`,h},[t,d,o,i,f,a]),g=_.useCallback(h=>{var v;if(console.log(h),Ae.isCancel(h))return Promise.reject(h);const x=Vc(h);if(x.length>0){const E=x.find(m=>m.name.toLowerCase()==="others");return E?(!r&&l(E.errors,"danger"),Promise.reject(h)):(!r&&l(c.validationError,"warning"),Promise.reject(h))}const y=cp(h);return y!==null?(!r&&l(`${c.permissionError}: ${fp(", ",...y)}`,"danger"),Promise.reject(h)):((v=h.response)==null?void 0:v.status)===403?(!r&&l(c.forbiddenError,"danger"),Promise.reject(h)):h.message&&h.message==="Network Error"?(!r&&l(c.networkError,"danger"),Promise.reject(h)):(Ae.isCancel(h)||!r&&l(c.unexpectedError,"danger"),Promise.reject(h))},[l,c.forbiddenError,c.networkError,c.permissionError,c.unexpectedError,c.validationError,r]);return _.useEffect(()=>{n&&(b.defaults.baseURL=n),b.interceptors.request.clear(),b.interceptors.response.clear();const h=b.interceptors.request.use(p,y=>Promise.reject(y)),x=b.interceptors.response.use(y=>y,g);return()=>{b.interceptors.request.eject(h),b.interceptors.response.eject(x)}},[b.defaults,b.interceptors.request,b.interceptors.response,n,p,g]),b},Kc=_.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),mp=_.createContext({delegation:null,setDelegation:()=>{},availableDelegations:null,setAvailableDelegations:()=>{},refreshAvailableDelegations:async()=>{}}),Q2="_h1_14r4v_1",Z2="_h3_14r4v_8",e_="_h6_14r4v_15",t_="_subtitle_14r4v_22",n_="_body_14r4v_29",r_="_body2_14r4v_36",i_="_caption_14r4v_43",a_="_form-label_14r4v_50",Ut={h1:Q2,h3:Z2,h6:e_,subtitle:t_,body:n_,body2:r_,caption:i_,"form-label":"_form-label_14r4v_50",formLabel:a_},o_=({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(o_,{variant:e,className:t,children:n}),s_="_button_qhwih_1",c_={button:s_},u_=_.forwardRef(({color:e="primary",icon:t=R.jsx(Zg,{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??""}`,c_.button),...o,children:[t,n]})),f_="_avatar-icon_1axl6_1",l_={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:f_},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(Fc,{children:e}),children:R.jsx("div",{className:Oe("luminus-avatar-icon",l_.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]}`})})})},d_=_.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]})),h_="_floating-label_19xda_1",p_="_without-label_19xda_21",b_="_floating-label-check_19xda_184",cs={"floating-label":"_floating-label_19xda_1",floatingLabel:h_,"without-label":"_without-label_19xda_21",withoutLabel:p_,"floating-label-check":"_floating-label-check_19xda_184",floatingLabelCheck:b_},yp=_.forwardRef(({hidden:e,children:t,className:n,isInvalid:r,isForRadioInput:i,inputContainerClassName:a,isForCheckInput:o,...s},c)=>o?R.jsx("div",{className:Oe("luminus-floating-label-check",cs.floatingLabelCheck),children:t}):R.jsx(Dc,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:Oe(`luminus-floating-label ${n??""}`,cs.floatingLabel,{[a??""]:a},{[cs.withoutLabel]:s.withoutLabel}),children:t}));yp.displayName="FloatingLabelInput";const m_="_row-label-input_13ci8_1",g_="_label_13ci8_4",v_="_input-container_13ci8_9",y_="_invalid-feedback_13ci8_101",__="_keep-check-label_13ci8_129",x_="_is-invalid_13ci8_157",Tr={"row-label-input":"_row-label-input_13ci8_1",rowLabelInput:m_,label:g_,"input-container":"_input-container_13ci8_9",inputContainer:v_,"invalid-feedback":"_invalid-feedback_13ci8_101",invalidFeedback:y_,"keep-check-label":"_keep-check-label_13ci8_129",keepCheckLabel:__,"is-invalid":"_is-invalid_13ci8_157",isInvalid:x_},_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 w_=_.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 Xc=pi(),ce=e=>hi(e,Xc),Jc=pi();ce.write=e=>hi(e,Jc);var qa=pi();ce.onStart=e=>hi(e,qa);var Qc=pi();ce.onFrame=e=>hi(e,Qc);var Zc=pi();ce.onFinish=e=>hi(e,Zc);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),Qc.delete(e),Zc.delete(e),Xc.delete(e),Jc.delete(e)};ce.sync=e=>{Xs=!0,ce.batchedUpdates(e),Xs=!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 eu=typeof window<"u"?window.requestAnimationFrame:()=>{};ce.use=e=>eu=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,Xs=!1;function hi(e,t){Xs?(t.delete(e),e(0)):(t.add(e),Op())}function Op(){Vt<0&&(Vt=0,ce.frameLoop!=="demand"&&eu(Ep))}function O_(){Vt=-1}function Ep(){~Vt&&(eu(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){O_();return}qa.flush(),Xc.flush(e?Math.min(64,Vt-e):16.667),Qc.flush(),Jc.flush(),Zc.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 E_=Object.defineProperty,T_=(e,t)=>{for(var n in t)E_(e,n,{get:t[n],enumerable:!0})},pt={};T_(pt,{assign:()=>R_,colors:()=>Gt,createStringInterpolator:()=>nu,skipAnimation:()=>Sp,to:()=>Rp,willAdvance:()=>ru});function Js(){}var C_=(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)),tu=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),nu,Rp,Gt=null,Sp=!1,ru=Js,R_=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&&(nu=e.createStringInterpolator),e.requestAnimationFrame&&ce.use(e.requestAnimationFrame),e.batchedUpdates&&(ce.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ru=e.willAdvance),e.frameLoop&&(ce.frameLoop=e.frameLoop)},qr=new Set,nt=[],us=[],pa=0,Ha={get idle(){return!qr.size&&!nt.length},start(e){pa>e.priority?(qr.add(e),ce.onStart(S_)):(Ap(e),ce(Qs))},advance:Qs,sort(e){if(pa)ce.onFrame(()=>Ha.sort(e));else{const t=nt.indexOf(e);~t&&(nt.splice(t,1),$p(e))}},clear(){nt=[],qr.clear()}};function S_(){qr.forEach(Ap),qr.clear(),ce(Qs)}function Ap(e){nt.includes(e)||$p(e)}function $p(e){nt.splice(A_(nt,t=>t.priority>e.priority),0,e)}function Qs(e){const t=us;for(let n=0;n<nt.length;n++){const r=nt[n];pa=r.priority,r.idle||(ru(r),r.advance(e),r.idle||t.push(r))}return pa=0,us=nt,us.length=0,nt=t,nt.length>0}function A_(e,t){const n=e.findIndex(t);return n<0?e.length:n}var $_=(e,t,n)=>Math.min(Math.max(n,e),t),M_={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 Wa(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var k_=new RegExp("rgb"+Wa(lt,lt,lt)),P_=new RegExp("rgba"+Wa(lt,lt,lt,lt)),j_=new RegExp("hsl"+Wa(lt,ba,ba)),L_=new RegExp("hsla"+Wa(lt,ba,ba,lt)),I_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,D_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,N_=/^#([0-9a-fA-F]{6})$/,F_=/^#([0-9a-fA-F]{8})$/;function U_(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=N_.exec(e))?parseInt(t[1]+"ff",16)>>>0:Gt&&Gt[e]!==void 0?Gt[e]:(t=k_.exec(e))?(Nn(t[1])<<24|Nn(t[2])<<16|Nn(t[3])<<8|255)>>>0:(t=P_.exec(e))?(Nn(t[1])<<24|Nn(t[2])<<16|Nn(t[3])<<8|Wf(t[4]))>>>0:(t=I_.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=F_.exec(e))?parseInt(t[1],16)>>>0:(t=D_.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=j_.exec(e))?(qf(Hf(t[1]),Ii(t[2]),Ii(t[3]))|255)>>>0:(t=L_.exec(e))?(qf(Hf(t[1]),Ii(t[2]),Ii(t[3]))|Wf(t[4]))>>>0:null}function fs(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=fs(i,r,e+1/3),o=fs(i,r,e),s=fs(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 Hf(e){return(parseFloat(e)%360+360)%360/360}function Wf(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=U_(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 nu(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=B_(u,a);return z_(u,a[f],a[f+1],i[f],i[f+1],c,o,s,r.map)}};function z_(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 B_(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}var q_=(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 $_(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,H_={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:q_},Xr=Symbol.for("FluidValue.get"),Jn=Symbol.for("FluidValue.observers"),tt=e=>!!(e&&e[Xr]),He=e=>e&&e[Xr]?e[Xr]():e,Xf=e=>e[Jn]||null;function W_(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Jr(e,t){const n=e[Jn];n&&n.forEach(r=>{W_(r,t)})}var Mp=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");V_(this,e)}},V_=(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,Y_=/(#(?:[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"),G_=/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]=K_(e);if(!t||tu())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},K_=e=>{const t=Va.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},ls,X_=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,jp=e=>{ls||(ls=Gt?new RegExp(`(${Object.keys(Gt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>He(a).replace(Va,Pp).replace(Y_,Vf).replace(ls,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(G_,X_)}},iu="react-spring: ",Lp=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${iu}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},J_=Lp(console.warn);function Q_(){J_(`${iu}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Z_=Lp(console.warn);function ex(){Z_(`${iu}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)||!tu()&&Va.test(e)||e in(Gt||{}))}var hn=tu()?_.useEffect:_.useLayoutEffect,tx=()=>{const e=_.useRef(!1);return hn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function au(){const e=_.useState()[1],t=tx();return()=>{t.current&&e(Math.random())}}function nx(e,t){const[n]=_.useState(()=>({inputs:t,result:e()})),r=_.useRef(),i=r.current;let a=i;return a?t&&a.inputs&&rx(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 rx(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 ou=e=>_.useEffect(e,ix),ix=[];function Zs(e){const t=_.useRef();return _.useEffect(()=>{t.current=e}),t.current}var Zr=Symbol.for("Animated:node"),ax=e=>!!e&&e[Zr]===e,gt=e=>e&&e[Zr],su=(e,t)=>C_(e,Zr,t),Ga=e=>e&&e[Zr]&&e[Zr].getPayload(),Ip=class{constructor(){su(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)=>{ax(n)?t[r]=n.getValue(e):tt(n)?t[r]=He(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(ox)),!0)}};function ox(e){return(Ya(e)?ei:bi).create(e)}function ec(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(p=>{a.current=ux(i,p)},[i]),[s,c]=cx(r,t),u=au(),f=()=>{const p=a.current;if(n&&!p)return;(p?t.applyAnimatedValues(p,s.getValue(!0)):!1)===!1&&u()},l=new sx(f,c),d=_.useRef();hn(()=>(d.current=l,oe(c,p=>ir(p,l)),()=>{d.current&&(oe(d.current.deps,p=>Qr(p,d.current)),ce.cancel(d.current.update))})),_.useEffect(f,[]),ou(()=>()=>{const p=d.current;oe(p.deps,g=>Qr(g,p))});const b=t.getComponentProps(s.getValue());return fe.createElement(e,{...b,ref:o})})},sx=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&ce.write(this.update)}};function cx(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 ux(e,t){return e&&(N.fun(e)?e(t):e.current=t),t}var Zf=Symbol.for("AnimatedComponent"),fx=(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 We(e,...t){return N.fun(e)?e(...t):e}var Hr=(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,lx=e=>e,Xa=(e,t=lx)=>{let n=dx;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},dx=["config","onProps","onStart","onChange","onPause","onResume","onRest"],hx={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 px(e){const t={};let n=0;if(xt(e,(r,i)=>{hx[i]||(t[i]=r,n++)}),n)return t}function cu(e){const t=px(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=He(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 tc(e){return N.fun(e)||N.arr(e)&&N.obj(e[0])}function nc(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 uu={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}},rc={...uu.default,mass:1,damping:1,easing:H_.linear,clamp:!1},bx=class{constructor(){this.velocity=0,Object.assign(this,rc)}};function mx(e,t,n){n&&(n={...n},tl(n,t),t={...n,...t}),tl(e,t),Object.assign(e,t);for(const o in rc)e[o]==null&&(e[o]=rc[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=[],gx=class{constructor(){this.changed=!1,this.values=nl,this.toValues=null,this.fromValues=nl,this.config=new bx,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=Hr(n.cancel??(r==null?void 0:r.cancel),t);if(f)b();else{N.und(n.pause)||(i.paused=Hr(n.pause,t));let p=r==null?void 0:r.pause;p!==!0&&(p=i.paused||Hr(p,t)),c=We(n.delay||0,t),p?(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(p){s(p)}}})}var fu=(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 Hp(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,(h,x)=>x==="onRest"?void 0:h);let f,l;const d=new Promise((h,x)=>(f=h,l=x)),b=h=>{const x=i<=(n.cancelId||0)&&qn(r)||i!==n.asyncId&&ut(r,!1);if(x)throw h.result=x,l(h),h},p=(h,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(h)?{...h}:{...x,to:h};E.parentId=i,xt(u,(C,P)=>{N.und(E[P])&&(E[P]=C)});const m=await r.start(E);return b(y),n.paused&&await new Promise(C=>{n.resumeQueue.add(C)}),m})()};let g;if(pt.skipAnimation)return ni(n),ut(r,!1);try{let h;N.arr(e)?h=(async x=>{for(const y of x)await p(y)})(e):h=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([h.then(f),d]),g=ut(r.get(),!0,!1)}catch(h){if(h instanceof rl)g=h.result;else if(h instanceof il)g=h.result;else throw h}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(g,r,r.item)}),g})()}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")}},ic=e=>e instanceof lu,vx=1,lu=class extends Mp{constructor(){super(...arguments),this.id=vx++,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 Q_(),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||Ha.sort(this),Jr(this,{type:"priority",parent:this,priority:e})}},On=Symbol.for("SpringPhase"),Wp=1,ac=2,oc=4,ds=e=>(e[On]&Wp)>0,zt=e=>(e[On]&ac)>0,Cr=e=>(e[On]&oc)>0,al=(e,t)=>t?e[On]|=ac|Wp:e[On]&=~ac,ol=(e,t)=>t?e[On]|=oc:e[On]&=~oc,yx=class extends lu{constructor(e,t){if(super(),this.animation=new gx,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 He(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 ds(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(He(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 p=u.elapsedTime+=e;const g=r.fromValues[f],h=u.v0!=null?u.v0:u.v0=N.arr(a.velocity)?a.velocity[f]:a.velocity;let x;const y=a.precision||(g==l?.005:Math.min(1,Math.abs(l-g)*.001));if(N.und(a.duration))if(a.decay){const v=a.decay===!0?.998:a.decay,E=Math.exp(-(1-v)*p);b=g+h/(1-v)*(1-E),d=Math.abs(u.lastPosition-b)<=y,x=h*E}else{x=u.lastVelocity==null?h:u.lastVelocity;const v=a.restVelocity||y/10,E=a.clamp?0:a.bounce,m=!N.und(E),C=g==l?u.v0>0:g<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){m&&(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,p=u.elapsedTime+=e)),v=(a.progress||0)+p/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),b=g+a.easing(v)*(l-g),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=He(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=>fu(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||tc(n))&&(n=void 0),r=N.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return ds(this)||(e.reverse&&([n,r]=[r,n]),r=He(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=He(l);const b=!Rt(f,c);b&&this._focus(f);const p=tc(t.to),{config:g}=s,{decay:h,velocity:x}=g;(r||i)&&(g.velocity=0),t.config&&!p&&mx(g,We(t.config,a),t.config!==o.config?We(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)&&Hr(t.reset,a),E=v?l:this.get(),m=ti(f),C=N.num(m)||N.arr(m)||Ya(m),P=!p&&(!C||Hr(o.immediate||t.immediate,a));if(b){const L=ec(f);if(L!==y.constructor)if(P)y=this._set(m);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||!ds(this)&&d;(b||L)&&(j=Rt(ti(E),m),B=!j),(!Rt(s.immediate,P)&&!P||!Rt(g.decay,h)||!Rt(g.velocity,x))&&(B=!0)}if(j&&zt(this)&&(s.changed&&!v?B=!0:B||this._stop(c)),!p&&((B||tt(c))&&(s.values=y.getPayload(),s.toValues=tt(f)?null:F==ei?[1]:Be(m)),s.immediate!=P&&(s.immediate=P,!P&&!v&&this._set(c)),B)){const{onRest:L}=s;oe(xx,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?We(o.onRest,Z):(M=s.onStart)==null||M.call(s,Z,this)})}v&&this._set(E),p?n(Hp(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),ic(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=He(e);if(!N.und(n)){const r=gt(this);if(!r||!Rt(n,r.getValue())){const i=ec(n);!r||r.constructor!=i?su(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(),We(this.animation.onChange,e,this)),We(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;gt(this).reset(He(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():Ha.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=We(t);if(r){const i=r!==!0&&cu(r),a=(i||e).reverse,o=!i||i.reset;return ri({...e,loop:t,default:!1,pause:void 0,to:!a||tc(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function ri(e){const{to:t,from:n}=e=cu(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 _x(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 xx=["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 wx=["onStart","onChange","onRest"],Ox=1,Yp=class{constructor(e,t){this.id=Ox++,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),sc(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 sc(e,t){return Promise.all(t.map(n=>Gp(e,n))).then(n=>fu(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(wx,g=>{const h=t[g];if(N.fun(h)){const x=e._events[g];t[g]=({finished:y,cancelled:v})=>{const E=x.get(h);E?(y||(E.finished=!1),v&&(E.cancelled=!0)):x.set(h,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[g]=t[g])}});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(g=>e.springs[g].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:Js,resume:Js,start(g,h){b?(ni(l,e._lastAsyncId),h(qn(e))):(g.onRest=s,h(Hp(f,g,l,e)))}}})),l.paused&&await new Promise(g=>{l.resumeQueue.add(g)});const p=fu(e,await Promise.all(d));if(o&&p.finished&&!(n&&p.noop)){const g=Vp(t,o,i);if(g)return Qp(e,[g]),Gp(e,g,!0)}return c&&ce.batchedUpdates(()=>c(p,e,e.item)),p}function cc(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 yx;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=nx(()=>({pause:r,immediate:i}),[r,i]);const{Provider:a}=va;return fe.createElement(a,{value:t},e)},va=Ex(mi,{});mi.Provider=va.Provider;mi.Consumer=va.Consumer;function Ex(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){ex();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 Tx(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=au(),s=_.useMemo(()=>({ctrls:[],queue:[],flush(x,y){const v=cc(x,y);return a.current>0&&!s.queue.length&&!Object.keys(v).some(m=>!x.springs[m])?sc(x,y):new Promise(m=>{Kp(x,v),s.queue.push(()=>{m(sc(x,y))}),o()})}}),[]),c=_.useRef([...s.ctrls]),u=[],f=Zs(e)||0;_.useMemo(()=>{oe(c.current.slice(e,f),x=>{nc(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)),m=r?r(v,E):t[v];m&&(u[v]=_x(m))}}const d=c.current.map((x,y)=>cc(x,u[y])),b=_.useContext(mi),p=Zs(b),g=b!==p&&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),g&&y.start({default:b});const E=u[v];E&&(zp(y,E.ref),y.ref?y.queue.push(E):y.start(E))})}),ou(()=>()=>{oe(s.ctrls,x=>x.stop(!0))});const h=d.map(x=>({...x}));return i?[h,i]:h}function du(e,t){const n=N.fun(e),[[r],i]=Tx(1,n?e:[e],n?[]:t);return n||arguments.length==2?[r,i]:r}function hu(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),p=[],g=_.useRef(null),h=i?null:g.current;hn(()=>{g.current=p}),ou(()=>(oe(p,S=>{d==null||d.add(S.ctrl),S.ctrl.ref=d}),()=>{oe(g.current,S=>{S.expired&&clearTimeout(S.expirationId),nc(S.ctrl,d),S.ctrl.stop(!0)})}));const x=Rx(b,r?r():t,h),y=i&&g.current||[];hn(()=>oe(y,({ctrl:S,item:I,key:q})=>{nc(S,d),We(u,I,q)}));const v=[];if(h&&oe(h,(S,I)=>{S.expired?(clearTimeout(S.expirationId),y.push(S)):(I=v[I]=x.indexOf(S.key),~I&&(p[I]=S))}),oe(b,(S,I)=>{p[I]||(p[I]={key:x[I],item:S,phase:"mount",ctrl:new Yp},p[I].ctrl.item=S)}),v.length){let S=-1;const{leave:I}=r?r():t;oe(v,(q,W)=>{const ne=h[W];~q?(S=p.indexOf(ne),p[S]={...ne,item:b[q]}):I&&p.splice(++S,0,ne)})}N.fun(a)&&p.sort((S,I)=>a(S.item,I.item));let E=-o;const m=au(),C=Xa(t),P=new Map,F=_.useRef(new Map),B=_.useRef(!1);oe(p,(S,I)=>{const q=S.key,W=S.phase,ne=r?r():t;let V,A;const U=We(ne.delay||0,q);if(W=="mount")V=ne.enter,A="enter";else{const Y=x.indexOf(q)<0;if(W!="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=We(V,S.item,I),V=N.obj(V)?cu(V):{to:V},!V.config){const Y=l||C.config;V.config=We(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,H=N.und(Y.initial)||h?Y.from:Y.initial;K.from=We(H,S.item,I)}const{onResolve:te}=K;K.onResolve=Y=>{We(te,Y);const H=g.current,G=H.find(J=>J.key===q);if(G&&!(Y.cancelled&&G.phase!="update")&&G.ctrl.idle){const J=H.every(k=>k.ctrl.idle);if(G.phase=="leave"){const k=We(s,G.item);if(k!==!1){const z=k===!0?0:k;if(G.expired=!0,!J&&z>0){z<=2147483647&&(G.expirationId=setTimeout(m,z));return}}}J&&H.some(k=>k.expired)&&(F.current.delete(G),c&&(B.current=!0),m())}};const X=cc(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=Zs(j),Z=j!==L&&Up(j);hn(()=>{Z&&oe(p,S=>{S.ctrl.start({default:j})})},[j]),oe(P,(S,I)=>{if(F.current.size){const q=p.findIndex(W=>W.key===I.key);p.splice(q,1)}}),hn(()=>{oe(F.current.size?F.current:P,({phase:S,payload:I},q)=>{const{ctrl:W}=q;q.phase=S,d==null||d.add(W),Z&&S=="enter"&&W.start({default:j}),I&&(zp(W,I.ref),(W.ref||d)&&!B.current?W.update(I):(W.start(I),B.current&&(B.current=!1)))})},i?void 0:n);const M=S=>fe.createElement(fe.Fragment,null,p.map((I,q)=>{const{springs:W}=P.get(I)||I.ctrl,ne=S({...W},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 Cx=1;function Rx(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):Cx++})}return N.und(n)?e:N.fun(n)?e.map(n):Be(n)}var e0=class extends lu{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Kr(...t);const n=this._get(),r=ec(n);su(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)&&hs(this)}_get(){const e=N.arr(this.source)?this.source.map(He):Be(He(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()),hs(this)):Ha.start(this))}_attach(){let e=1;oe(Be(this.source),t=>{tt(t)&&ir(t,this),ic(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(),hs(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,(ic(n)?n.priority:0)+1),0))}};function Sx(e){return e.idle!==!1}function ul(e){return!e.size||Array.from(e).every(Sx)}function hs(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 Ax(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!t0.test(e)&&!(Wr.hasOwnProperty(e)&&Wr[e])?t+"px":(""+t).trim()}var fl={};function $x(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=Ax(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 Wr={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},Mx=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),kx=["Webkit","Ms","Moz","O"];Wr=Object.keys(Wr).reduce((e,t)=>(kx.forEach(n=>e[Mx(n,t)]=e[t]),e),Wr);var Px=/^(matrix|translate|scale|rotate|skew)/,jx=/^(translate)/,Lx=/^(rotate|skew)/,ps=(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,Ix=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=>ps(s,"px")).join(",")})`,ea(o,0)])),xt(r,(o,s)=>{if(s==="transform")i.push([o||""]),a.push(c=>[c,c===""]);else if(Px.test(s)){if(delete r[s],N.und(o))return;const c=jx.test(s)?"px":Lx.test(s)?"deg":"";i.push(Be(o)),a.push(s==="rotate3d"?([u,f,l,d])=>[`rotate3d(${u},${f},${l},${ps(d,c)})`,ea(d,0)]:u=>[`${s}(${u.map(f=>ps(f,c)).join(",")})`,ea(u,s.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new Dx(i,a)),super(r)}},Dx=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=He(n[0]),[a,o]=this.transforms[r](N.arr(i)?i:n.map(He));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)}},Nx=["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:M_});var Fx=fx(Nx,{applyAnimatedValues:$x,createAnimatedStyle:e=>new Ix(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),At=Fx.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 Ux={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,p=!1,g=l.width>0&&l.height>0,h=Math.round(n[0]),x=Math.round(n[1]);g&&(r==="top"?(h-=l.width/2,x-=l.height+14):r==="right"?(h+=14,x-=l.height/2):r==="bottom"?(h-=l.width/2,x+=14):r==="left"?(h-=l.width+14,x-=l.height/2):r==="center"&&(h-=l.width/2,x-=l.height/2),b={transform:ll(h,x)},d.current||(p=!0),d.current=[h,x]);var y=du({to:b,config:c,immediate:!s||p}),v=En({},Ux,a.tooltip.wrapper,{transform:(t=y.transform)!=null?t:ll(h,x),opacity:y.transform?1:0});return R.jsx(At.div,{ref:f,style:v,children:i})});n0.displayName="TooltipWrapper";var zx=_.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)})}),Bx=_.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(zx,{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})}),qx={width:"100%",borderCollapse:"collapse"},Hx=_.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({},qx,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});Hx.displayName="TableTooltip";var uc=_.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=du({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!s});return R.jsx(At.line,En({},f,{fill:"none",style:u}))});uc.displayName="CrosshairLine";var Wx=_.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(uc,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&R.jsx(uc,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});Wx.displayName="Crosshair";var r0=_.createContext({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),fc={isVisible:!1,position:[null,null],content:null,anchor:null},i0=_.createContext(fc),Vx=function(e){var t=_.useState(fc),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,p=b.clientX,g=b.clientY,h=(p-f.left)*d,x=(g-f.top)*d;u!=="left"&&u!=="right"||(u=h<f.width/2?"right":"left"),r({isVisible:!0,position:[h,x],anchor:u,content:s})},[e,r]),o=_.useCallback(function(){r(fc)},[r]);return{actions:_.useMemo(function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:o}},[i,a,o]),state:n}},Yx=function(){var e=_.useContext(r0);if(e===void 0)throw new Error("useTooltip must be used within a TooltipProvider");return e},Gx=function(){var e=_.useContext(i0);if(e===void 0)throw new Error("useTooltipState must be used within a TooltipProvider");return e},Kx=function(e){return e.isVisible},Xx=function(){var e=Gx();return Kx(e)?R.jsx(n0,{position:e.position,anchor:e.anchor,children:e.content}):null},Jx=function(e){var t=e.container,n=e.children,r=Vx(t),i=r.actions,a=r.state;return R.jsx(r0.Provider,{value:i,children:R.jsx(i0.Provider,{value:a,children:n})})};function Qx(){this.__data__=[],this.size=0}var Zx=Qx;function ew(e,t){return e===t||e!==e&&t!==t}var vi=ew,tw=vi;function nw(e,t){for(var n=e.length;n--;)if(tw(e[n][0],t))return n;return-1}var Ja=nw,rw=Ja,iw=Array.prototype,aw=iw.splice;function ow(e){var t=this.__data__,n=rw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aw.call(t,n,1),--this.size,!0}var sw=ow,cw=Ja;function uw(e){var t=this.__data__,n=cw(t,e);return n<0?void 0:t[n][1]}var fw=uw,lw=Ja;function dw(e){return lw(this.__data__,e)>-1}var hw=dw,pw=Ja;function bw(e,t){var n=this.__data__,r=pw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var mw=bw,gw=Zx,vw=sw,yw=fw,_w=hw,xw=mw;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=gw;ar.prototype.delete=vw;ar.prototype.get=yw;ar.prototype.has=_w;ar.prototype.set=xw;var Qa=ar,ww=Qa;function Ow(){this.__data__=new ww,this.size=0}var Ew=Ow;function Tw(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Cw=Tw;function Rw(e){return this.__data__.get(e)}var Sw=Rw;function Aw(e){return this.__data__.has(e)}var $w=Aw,Mw=typeof $i=="object"&&$i&&$i.Object===Object&&$i,a0=Mw,kw=a0,Pw=typeof self=="object"&&self&&self.Object===Object&&self,jw=kw||Pw||Function("return this")(),Ot=jw,Lw=Ot,Iw=Lw.Symbol,yi=Iw,dl=yi,o0=Object.prototype,Dw=o0.hasOwnProperty,Nw=o0.toString,Ar=dl?dl.toStringTag:void 0;function Fw(e){var t=Dw.call(e,Ar),n=e[Ar];try{e[Ar]=void 0;var r=!0}catch{}var i=Nw.call(e);return r&&(t?e[Ar]=n:delete e[Ar]),i}var Uw=Fw,zw=Object.prototype,Bw=zw.toString;function qw(e){return Bw.call(e)}var Hw=qw,hl=yi,Ww=Uw,Vw=Hw,Yw="[object Null]",Gw="[object Undefined]",pl=hl?hl.toStringTag:void 0;function Kw(e){return e==null?e===void 0?Gw:Yw:pl&&pl in Object(e)?Ww(e):Vw(e)}var An=Kw;function Xw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nn=Xw,Jw=An,Qw=nn,Zw="[object AsyncFunction]",e4="[object Function]",t4="[object GeneratorFunction]",n4="[object Proxy]";function r4(e){if(!Qw(e))return!1;var t=Jw(e);return t==e4||t==t4||t==Zw||t==n4}var Za=r4;const s0=Ke(Za);var i4=Ot,a4=i4["__core-js_shared__"],o4=a4,bs=o4,bl=function(){var e=/[^.]+$/.exec(bs&&bs.keys&&bs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function s4(e){return!!bl&&bl in e}var c4=s4,u4=Function.prototype,f4=u4.toString;function l4(e){if(e!=null){try{return f4.call(e)}catch{}try{return e+""}catch{}}return""}var c0=l4,d4=Za,h4=c4,p4=nn,b4=c0,m4=/[\\^$.*+?()[\]{}|]/g,g4=/^\[object .+?Constructor\]$/,v4=Function.prototype,y4=Object.prototype,_4=v4.toString,x4=y4.hasOwnProperty,w4=RegExp("^"+_4.call(x4).replace(m4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function O4(e){if(!p4(e)||h4(e))return!1;var t=d4(e)?w4:g4;return t.test(b4(e))}var E4=O4;function T4(e,t){return e==null?void 0:e[t]}var C4=T4,R4=E4,S4=C4;function A4(e,t){var n=S4(e,t);return R4(n)?n:void 0}var $n=A4,$4=$n,M4=Ot,k4=$4(M4,"Map"),pu=k4,P4=$n,j4=P4(Object,"create"),eo=j4,ml=eo;function L4(){this.__data__=ml?ml(null):{},this.size=0}var I4=L4;function D4(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var N4=D4,F4=eo,U4="__lodash_hash_undefined__",z4=Object.prototype,B4=z4.hasOwnProperty;function q4(e){var t=this.__data__;if(F4){var n=t[e];return n===U4?void 0:n}return B4.call(t,e)?t[e]:void 0}var H4=q4,W4=eo,V4=Object.prototype,Y4=V4.hasOwnProperty;function G4(e){var t=this.__data__;return W4?t[e]!==void 0:Y4.call(t,e)}var K4=G4,X4=eo,J4="__lodash_hash_undefined__";function Q4(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X4&&t===void 0?J4:t,this}var Z4=Q4,e3=I4,t3=N4,n3=H4,r3=K4,i3=Z4;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=e3;or.prototype.delete=t3;or.prototype.get=n3;or.prototype.has=r3;or.prototype.set=i3;var a3=or,gl=a3,o3=Qa,s3=pu;function c3(){this.size=0,this.__data__={hash:new gl,map:new(s3||o3),string:new gl}}var u3=c3;function f3(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var l3=f3,d3=l3;function h3(e,t){var n=e.__data__;return d3(t)?n[typeof t=="string"?"string":"hash"]:n.map}var to=h3,p3=to;function b3(e){var t=p3(this,e).delete(e);return this.size-=t?1:0,t}var m3=b3,g3=to;function v3(e){return g3(this,e).get(e)}var y3=v3,_3=to;function x3(e){return _3(this,e).has(e)}var w3=x3,O3=to;function E3(e,t){var n=O3(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var T3=E3,C3=u3,R3=m3,S3=y3,A3=w3,$3=T3;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=C3;sr.prototype.delete=R3;sr.prototype.get=S3;sr.prototype.has=A3;sr.prototype.set=$3;var bu=sr,M3=Qa,k3=pu,P3=bu,j3=200;function L3(e,t){var n=this.__data__;if(n instanceof M3){var r=n.__data__;if(!k3||r.length<j3-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new P3(r)}return n.set(e,t),this.size=n.size,this}var I3=L3,D3=Qa,N3=Ew,F3=Cw,U3=Sw,z3=$w,B3=I3;function cr(e){var t=this.__data__=new D3(e);this.size=t.size}cr.prototype.clear=N3;cr.prototype.delete=F3;cr.prototype.get=U3;cr.prototype.has=z3;cr.prototype.set=B3;var u0=cr,q3=$n,H3=function(){try{var e=q3(Object,"defineProperty");return e({},"",{}),e}catch{}}(),f0=H3,vl=f0;function W3(e,t,n){t=="__proto__"&&vl?vl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var mu=W3,V3=mu,Y3=vi;function G3(e,t,n){(n!==void 0&&!Y3(e[t],n)||n===void 0&&!(t in e))&&V3(e,t,n)}var l0=G3;function K3(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 X3=K3,J3=X3,Q3=J3(),Z3=Q3,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 e5=ya.exports,t5=Ot,n5=t5.Uint8Array,d0=n5,yl=d0;function r5(e){var t=new e.constructor(e.byteLength);return new yl(t).set(new yl(e)),t}var i5=r5,a5=i5;function o5(e,t){var n=t?a5(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var s5=o5;function c5(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var u5=c5,f5=nn,_l=Object.create,l5=function(){function e(){}return function(t){if(!f5(t))return{};if(_l)return _l(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),d5=l5;function h5(e,t){return function(n){return e(t(n))}}var h0=h5,p5=h0,b5=p5(Object.getPrototypeOf,Object),p0=b5,m5=Object.prototype;function g5(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||m5;return e===n}var gu=g5,v5=d5,y5=p0,_5=gu;function x5(e){return typeof e.constructor=="function"&&!_5(e)?v5(y5(e)):{}}var w5=x5;function O5(e){return e!=null&&typeof e=="object"}var rn=O5,E5=An,T5=rn,C5="[object Arguments]";function R5(e){return T5(e)&&E5(e)==C5}var S5=R5,xl=S5,A5=rn,b0=Object.prototype,$5=b0.hasOwnProperty,M5=b0.propertyIsEnumerable,k5=xl(function(){return arguments}())?xl:function(e){return A5(e)&&$5.call(e,"callee")&&!M5.call(e,"callee")},no=k5,P5=Array.isArray,Et=P5,j5=9007199254740991;function L5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=j5}var vu=L5,I5=Za,D5=vu;function N5(e){return e!=null&&D5(e.length)&&!I5(e)}var ro=N5,F5=ro,U5=rn;function z5(e){return U5(e)&&F5(e)}var m0=z5,_a={exports:{}};function B5(){return!1}var q5=B5;_a.exports;(function(e,t){var n=Ot,r=q5,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 yu=_a.exports,H5=An,W5=p0,V5=rn,Y5="[object Object]",G5=Function.prototype,K5=Object.prototype,g0=G5.toString,X5=K5.hasOwnProperty,J5=g0.call(Object);function Q5(e){if(!V5(e)||H5(e)!=Y5)return!1;var t=W5(e);if(t===null)return!0;var n=X5.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&g0.call(n)==J5}var v0=Q5;const _u=Ke(v0);var Z5=An,e6=vu,t6=rn,n6="[object Arguments]",r6="[object Array]",i6="[object Boolean]",a6="[object Date]",o6="[object Error]",s6="[object Function]",c6="[object Map]",u6="[object Number]",f6="[object Object]",l6="[object RegExp]",d6="[object Set]",h6="[object String]",p6="[object WeakMap]",b6="[object ArrayBuffer]",m6="[object DataView]",g6="[object Float32Array]",v6="[object Float64Array]",y6="[object Int8Array]",_6="[object Int16Array]",x6="[object Int32Array]",w6="[object Uint8Array]",O6="[object Uint8ClampedArray]",E6="[object Uint16Array]",T6="[object Uint32Array]",Re={};Re[g6]=Re[v6]=Re[y6]=Re[_6]=Re[x6]=Re[w6]=Re[O6]=Re[E6]=Re[T6]=!0;Re[n6]=Re[r6]=Re[b6]=Re[i6]=Re[m6]=Re[a6]=Re[o6]=Re[s6]=Re[c6]=Re[u6]=Re[f6]=Re[l6]=Re[d6]=Re[h6]=Re[p6]=!1;function C6(e){return t6(e)&&e6(e.length)&&!!Re[Z5(e)]}var R6=C6;function S6(e){return function(t){return e(t)}}var y0=S6,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 A6=xa.exports,$6=R6,M6=y0,wl=A6,Ol=wl&&wl.isTypedArray,k6=Ol?M6(Ol):$6,xu=k6;function P6(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var _0=P6,j6=mu,L6=vi,I6=Object.prototype,D6=I6.hasOwnProperty;function N6(e,t,n){var r=e[t];(!(D6.call(e,t)&&L6(r,n))||n===void 0&&!(t in e))&&j6(e,t,n)}var x0=N6,F6=x0,U6=mu;function z6(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?U6(n,s,c):F6(n,s,c)}return n}var B6=z6;function q6(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var H6=q6,W6=9007199254740991,V6=/^(?:0|[1-9]\d*)$/;function Y6(e,t){var n=typeof e;return t=t??W6,!!t&&(n=="number"||n!="symbol"&&V6.test(e))&&e>-1&&e%1==0&&e<t}var io=Y6,G6=H6,K6=no,X6=Et,J6=yu,Q6=io,Z6=xu,e8=Object.prototype,t8=e8.hasOwnProperty;function n8(e,t){var n=X6(e),r=!n&&K6(e),i=!n&&!r&&J6(e),a=!n&&!r&&!i&&Z6(e),o=n||r||i||a,s=o?G6(e.length,String):[],c=s.length;for(var u in e)(t||t8.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Q6(u,c)))&&s.push(u);return s}var w0=n8;function r8(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var i8=r8,a8=nn,o8=gu,s8=i8,c8=Object.prototype,u8=c8.hasOwnProperty;function f8(e){if(!a8(e))return s8(e);var t=o8(e),n=[];for(var r in e)r=="constructor"&&(t||!u8.call(e,r))||n.push(r);return n}var l8=f8,d8=w0,h8=l8,p8=ro;function b8(e){return p8(e)?d8(e,!0):h8(e)}var O0=b8,m8=B6,g8=O0;function v8(e){return m8(e,g8(e))}var y8=v8,El=l0,_8=e5,x8=s5,w8=u5,O8=w5,Tl=no,Cl=Et,E8=m0,T8=yu,C8=Za,R8=nn,S8=v0,A8=xu,Rl=_0,$8=y8;function M8(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&&T8(c),p=!d&&!b&&A8(c);f=c,d||b||p?Cl(s)?f=s:E8(s)?f=w8(s):b?(l=!1,f=_8(c,!0)):p?(l=!1,f=x8(c,!0)):f=[]:S8(c)||Tl(c)?(f=s,Tl(s)?f=$8(s):(!R8(s)||C8(s))&&(f=O8(c))):l=!1}l&&(o.set(c,f),i(f,c,r,a,o),o.delete(c)),El(e,n,f)}var k8=M8,P8=u0,j8=l0,L8=Z3,I8=k8,D8=nn,N8=O0,F8=_0;function E0(e,t,n,r,i){e!==t&&L8(t,function(a,o){if(i||(i=new P8),D8(a))I8(e,t,o,n,E0,r,i);else{var s=r?r(F8(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),j8(e,o,s)}},N8)}var U8=E0;function z8(e){return e}var T0=z8;function B8(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 q8=B8,H8=q8,Sl=Math.max;function W8(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),H8(e,this,s)}}var C0=W8;function V8(e){return function(){return e}}var Y8=V8,G8=Y8,Al=f0,K8=T0,X8=Al?function(e,t){return Al(e,"toString",{configurable:!0,enumerable:!1,value:G8(t),writable:!0})}:K8,J8=X8,Q8=800,Z8=16,e7=Date.now;function t7(e){var t=0,n=0;return function(){var r=e7(),i=Z8-(r-n);if(n=r,i>0){if(++t>=Q8)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var n7=t7,r7=J8,i7=n7,a7=i7(r7),R0=a7,o7=T0,s7=C0,c7=R0;function u7(e,t){return c7(s7(e,t,o7),e+"")}var S0=u7,f7=vi,l7=ro,d7=io,h7=nn;function p7(e,t,n){if(!h7(n))return!1;var r=typeof t;return(r=="number"?l7(n)&&d7(t,n.length):r=="string"&&t in n)?f7(n[t],e):!1}var b7=p7,m7=S0,g7=b7;function v7(e){return m7(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&&g7(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 y7=v7,_7=U8,x7=y7,w7=x7(function(e,t,n){_7(e,t,n)}),O7=w7;const E7=Ke(O7);var T7=An,C7=rn,R7="[object Symbol]";function S7(e){return typeof e=="symbol"||C7(e)&&T7(e)==R7}var wu=S7,A7=Et,$7=wu,M7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k7=/^\w*$/;function P7(e,t){if(A7(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||$7(e)?!0:k7.test(e)||!M7.test(e)||t!=null&&e in Object(t)}var j7=P7,A0=bu,L7="Expected a function";function Ou(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(L7);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(Ou.Cache||A0),n}Ou.Cache=A0;var I7=Ou,D7=I7,N7=500;function F7(e){var t=D7(e,function(r){return n.size===N7&&n.clear(),r}),n=t.cache;return t}var U7=F7,z7=U7,B7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q7=/\\(\\)?/g,H7=z7(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(B7,function(n,r,i,a){t.push(i?a.replace(q7,"$1"):r||n)}),t}),W7=H7;function V7(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=V7,$l=yi,Y7=$0,G7=Et,K7=wu,X7=1/0,Ml=$l?$l.prototype:void 0,kl=Ml?Ml.toString:void 0;function M0(e){if(typeof e=="string")return e;if(G7(e))return Y7(e,M0)+"";if(K7(e))return kl?kl.call(e):"";var t=e+"";return t=="0"&&1/e==-X7?"-0":t}var J7=M0,Q7=J7;function Z7(e){return e==null?"":Q7(e)}var e9=Z7,t9=Et,n9=j7,r9=W7,i9=e9;function a9(e,t){return t9(e)?e:n9(e,t)?[e]:r9(i9(e))}var ao=a9,o9=wu,s9=1/0;function c9(e){if(typeof e=="string"||o9(e))return e;var t=e+"";return t=="0"&&1/e==-s9?"-0":t}var Eu=c9,u9=ao,f9=Eu;function l9(e,t){t=u9(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[f9(t[n++])];return n&&n==r?e:void 0}var k0=l9,d9=k0;function h9(e,t,n){var r=e==null?void 0:d9(e,t);return r===void 0?n:r}var p9=h9;const Pt=Ke(p9);var b9=x0,m9=ao,g9=io,Pl=nn,v9=Eu;function y9(e,t,n,r){if(!Pl(e))return e;t=m9(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var c=v9(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:g9(t[i+1])?[]:{})}b9(s,c,u),s=s[c]}return e}var P0=y9,_9=P0;function x9(e,t,n){return e==null?e:_9(e,t,n)}var w9=x9;const Nr=Ke(w9);function oo(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Tu(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,Hn="\\s*([+-]?\\d+)\\s*",ii="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_t="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",O9=/^#([0-9a-f]{3,8})$/,E9=new RegExp(`^rgb\\(${Hn},${Hn},${Hn}\\)$`),T9=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),C9=new RegExp(`^rgba\\(${Hn},${Hn},${Hn},${ii}\\)$`),R9=new RegExp(`^rgba\\(${_t},${_t},${_t},${ii}\\)$`),S9=new RegExp(`^hsl\\(${ii},${_t},${_t}\\)$`),A9=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,Cu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ll,formatHex:Ll,formatHex8:$9,formatHsl:M9,formatRgb:Il,toString:Il});function Ll(){return this.rgb().formatHex()}function $9(){return this.rgb().formatHex8()}function M9(){return L0(this).formatHsl()}function Il(){return this.rgb().formatRgb()}function Cu(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=O9.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=E9.exec(e))?new ze(t[1],t[2],t[3],1):(t=T9.exec(e))?new ze(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=C9.exec(e))?Fi(t[1],t[2],t[3],t[4]):(t=R9.exec(e))?Fi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=S9.exec(e))?Ul(t[1],t[2]/100,t[3]/100,1):(t=A9.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=Cu(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,Tu(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:k9,formatRgb:Fl,toString:Fl}));function Nl(){return`#${pn(this.r)}${pn(this.g)}${pn(this.b)}`}function k9(){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=Cu(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 P9(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,P9,Tu(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(ms(e>=240?e-240:e+120,i,r),ms(e,i,r),ms(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 ms(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 j9=Math.PI/180,L9=180/Math.PI;var I0=-.14861,Ru=1.78277,Su=-.29227,so=-.90649,ai=1.97294,Bl=ai*so,ql=ai*Ru,Hl=Ru*Su-so*I0;function I9(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=(Hl*r+Bl*t-ql*n)/(Hl+Bl-ql),a=r-i,o=(ai*(n-i)-Su*a)/so,s=Math.sqrt(o*o+a*a)/(ai*i*(1-i)),c=s?Math.atan2(o,a)*L9-120:NaN;return new yn(c<0?c+360:c,s,i,e.opacity)}function wt(e,t,n,r){return arguments.length===1?I9(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,Tu(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)*j9,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+Ru*i)),255*(t+n*(Su*r+so*i)),255*(t+n*(ai*r)),this.opacity)}}));function D9(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 N9(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 D9((n-r/t)*t,o,i,a,s)}}const Au=e=>()=>e;function D0(e,t){return function(n){return e+n*t}}function F9(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 U9(e,t){var n=t-e;return n?D0(e,n>180||n<-180?n-360*Math.round(n/360):n):Au(isNaN(e)?t:e)}function z9(e){return(e=+e)==1?Wn:function(t,n){return n-t?F9(t,n,e):Au(isNaN(t)?n:t)}}function Wn(e,t){var n=t-e;return n?D0(e,n):Au(isNaN(e)?t:e)}(function e(t){var n=z9(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=Wn(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 B9(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 q9=B9(N9);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=Wn(i.s,a.s),c=Wn(i.l,a.l),u=Wn(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(U9);var $u=N0(Wn),H9=An,W9=Et,V9=rn,Y9="[object String]";function G9(e){return typeof e=="string"||!W9(e)&&V9(e)&&H9(e)==Y9}var K9=G9;const X9=Ke(K9);function J9(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Q9=J9;const ie=Ke(Q9);class Wl extends Map{constructor(t,n=tO){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(Z9(this,t),n)}delete(t){return super.delete(eO(this,t))}}function Vl({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Z9({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function eO({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function tO(e){return e!==null&&typeof e=="object"?e.valueOf():e}function nO(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 Wl,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 Wl;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)},nO.apply(i,arguments),i}function rO(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 iO(e){return e=Oa(Math.abs(e)),e?e[1]:NaN}function aO(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 oO(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var sO=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function lc(e){if(!(t=sO.exec(e)))throw new Error("invalid format: "+e);var t;return new Mu({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]})}lc.prototype=Mu.prototype;function Mu(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+""}Mu.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 cO(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 uO(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:rO,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:uO,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 fO(e){var t=e.grouping===void 0||e.thousands===void 0?Xl:aO(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:oO(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=lc(l);var d=l.fill,b=l.align,p=l.sign,g=l.symbol,h=l.zero,x=l.width,y=l.comma,v=l.precision,E=l.trim,m=l.type;m==="n"?(y=!0,m="g"):Kl[m]||(v===void 0&&(v=12),E=!0,m="g"),(h||d==="0"&&b==="=")&&(h=!0,d="0",b="=");var C=g==="$"?n:g==="#"&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",P=g==="$"?r:/[%p]/.test(m)?o:"",F=Kl[m],B=/[defgprs%]/.test(m);v=v===void 0?6:/[gprs]/.test(m)?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(m==="c")M=F(L)+M,L="";else{L=+L;var W=L<0||1/L<0;if(L=isNaN(L)?c:F(Math.abs(L),v),E&&(L=cO(L)),W&&+L==0&&p!=="+"&&(W=!1),Z=(W?p==="("?p:s:p==="-"||p==="("?"":p)+Z,M=(m==="s"?Ql[8+F0/3]:"")+M+(W&&p==="("?")":""),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&&!h&&(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&&h&&(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=lc(l),l.type="f",l)),p=Math.max(-8,Math.min(8,Math.floor(iO(d)/3)))*3,g=Math.pow(10,-p),h=Ql[8+p/3];return function(x){return b(g*x)+h}}return{format:u,formatPrefix:f}}var zi,U0;lO({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function lO(e){return zi=fO(e),U0=zi.format,zi.formatPrefix,zi}var gs=new Date,vs=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 gs.setTime(+a),vs.setTime(+o),e(gs),e(vs),Math.floor(n(gs,vs))},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 dO=1e3,ku=dO*60,hO=ku*60,Pu=hO*24,z0=Pu*7;var ju=Lt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ku)/Pu,e=>e.getDate()-1);ju.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())*ku)/z0})}var B0=Mn(0),Ea=Mn(1),pO=Mn(2),bO=Mn(3),er=Mn(4),mO=Mn(5),gO=Mn(6);B0.range;Ea.range;pO.range;bO.range;er.range;mO.range;gO.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 Lu=Lt(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/Pu},function(e){return e.getUTCDate()-1});Lu.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),vO=kn(2),yO=kn(3),tr=kn(4),_O=kn(5),xO=kn(6);q0.range;Ta.range;vO.range;yO.range;tr.range;_O.range;xO.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 ys(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 _s(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 wO(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),p=kr(o),g=Mr(s),h=kr(s),x=Mr(c),y=kr(c),v={a:W,A:ne,b:V,B:A,c:null,d:id,e:id,f:WO,g:tE,G:rE,H:BO,I:qO,j:HO,L:H0,m:VO,M:YO,p:U,q:K,Q:sd,s:cd,S:GO,u:KO,U:XO,V:JO,w:QO,W:ZO,x:null,X:null,y:eE,Y:nE,Z:iE,"%":od},E={a:te,A:X,b:Y,B:H,c:null,d:ad,e:ad,f:cE,g:vE,G:_E,H:aE,I:oE,j:sE,L:V0,m:uE,M:fE,p:G,q:J,Q:sd,s:cd,S:lE,u:dE,U:hE,V:pE,w:bE,W:mE,x:null,X:null,y:gE,Y:yE,Z:xE,"%":od},m={a:j,A:L,b:Z,B:M,c:S,d:nd,e:nd,f:NO,g:td,G:ed,H:rd,I:rd,j:jO,L:DO,m:PO,M:LO,p:B,q:kO,Q:UO,s:zO,S:IO,u:RO,U:SO,V:AO,w:CO,W:$O,x:I,X:q,y:td,Y:ed,Z:MO,"%":FO};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=_s($r(w.y,0,1)),ge=se.getUTCDay(),se=ge>4||ge===0?Ta.ceil(se):Ta(se),se=Lu.offset(se,(w.V-1)*7),w.y=se.getUTCFullYear(),w.m=se.getUTCMonth(),w.d=se.getUTCDate()+(w.w+6)%7):(se=ys($r(w.y,0,1)),ge=se.getDay(),se=ge>4||ge===0?Ea.ceil(se):Ea(se),se=ju.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?_s($r(w.y,0,1)).getUTCDay():ys($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,_s(w)):ys(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=m[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=p.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=g.exec(z.slice(ee));return w?(k.m=h.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 W(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 H(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+/,OO=/^%/,EO=/[\\^$*+?|[\]().{}]/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 TO(e){return e.replace(EO,"\\$&")}function Mr(e){return new RegExp("^(?:"+e.map(TO).join("|")+")","i")}function kr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function CO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function RO(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function SO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function AO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function $O(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 MO(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 kO(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 PO(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 jO(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 LO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function IO(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function DO(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function NO(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 FO(e,t,n){var r=OO.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function UO(e,t,n){var r=De.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function zO(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 BO(e,t){return me(e.getHours(),t,2)}function qO(e,t){return me(e.getHours()%12||12,t,2)}function HO(e,t){return me(1+ju.count(Cn(e),e),t,3)}function H0(e,t){return me(e.getMilliseconds(),t,3)}function WO(e,t){return H0(e,t)+"000"}function VO(e,t){return me(e.getMonth()+1,t,2)}function YO(e,t){return me(e.getMinutes(),t,2)}function GO(e,t){return me(e.getSeconds(),t,2)}function KO(e){var t=e.getDay();return t===0?7:t}function XO(e,t){return me(B0.count(Cn(e)-1,e),t,2)}function W0(e){var t=e.getDay();return t>=4||t===0?er(e):er.ceil(e)}function JO(e,t){return e=W0(e),me(er.count(Cn(e),e)+(Cn(e).getDay()===4),t,2)}function QO(e){return e.getDay()}function ZO(e,t){return me(Ea.count(Cn(e)-1,e),t,2)}function eE(e,t){return me(e.getFullYear()%100,t,2)}function tE(e,t){return e=W0(e),me(e.getFullYear()%100,t,2)}function nE(e,t){return me(e.getFullYear()%1e4,t,4)}function rE(e,t){var n=e.getDay();return e=n>=4||n===0?er(e):er.ceil(e),me(e.getFullYear()%1e4,t,4)}function iE(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 aE(e,t){return me(e.getUTCHours(),t,2)}function oE(e,t){return me(e.getUTCHours()%12||12,t,2)}function sE(e,t){return me(1+Lu.count(Rn(e),e),t,3)}function V0(e,t){return me(e.getUTCMilliseconds(),t,3)}function cE(e,t){return V0(e,t)+"000"}function uE(e,t){return me(e.getUTCMonth()+1,t,2)}function fE(e,t){return me(e.getUTCMinutes(),t,2)}function lE(e,t){return me(e.getUTCSeconds(),t,2)}function dE(e){var t=e.getUTCDay();return t===0?7:t}function hE(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 pE(e,t){return e=Y0(e),me(tr.count(Rn(e),e)+(Rn(e).getUTCDay()===4),t,2)}function bE(e){return e.getUTCDay()}function mE(e,t){return me(Ta.count(Rn(e)-1,e),t,2)}function gE(e,t){return me(e.getUTCFullYear()%100,t,2)}function vE(e,t){return e=Y0(e),me(e.getUTCFullYear()%100,t,2)}function yE(e,t){return me(e.getUTCFullYear()%1e4,t,4)}function _E(e,t){var n=e.getUTCDay();return e=n>=4||n===0?tr(e):tr.ceil(e),me(e.getUTCFullYear()%1e4,t,4)}function xE(){return"+0000"}function od(){return"%"}function sd(e){return+e}function cd(e){return Math.floor(+e/1e3)}var Fn,G0;wE({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 wE(e){return Fn=wO(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"),Iu=de("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),OE=de("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Ee=e=>q9(e[e.length-1]);var co=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(de);const EE=Ee(co);var uo=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(de);const TE=Ee(uo);var fo=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(de);const CE=Ee(fo);var lo=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(de);const RE=Ee(lo);var ho=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(de);const SE=Ee(ho);var po=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(de);const AE=Ee(po);var bo=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(de);const $E=Ee(bo);var mo=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(de);const ME=Ee(mo);var go=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(de);const kE=Ee(go);var vo=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(de);const PE=Ee(vo);var yo=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(de);const jE=Ee(yo);var _o=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(de);const LE=Ee(_o);var xo=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(de);const IE=Ee(xo);var wo=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(de);const DE=Ee(wo);var Oo=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(de);const NE=Ee(Oo);var Eo=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(de);const FE=Ee(Eo);var To=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(de);const UE=Ee(To);var Co=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(de);const zE=Ee(Co);var Ro=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(de);const BE=Ee(Ro);var So=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(de);const qE=Ee(So);var Ao=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(de);const HE=Ee(Ao);var $o=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(de);const WE=Ee($o);var Mo=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(de);const VE=Ee(Mo);var ko=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(de);const YE=Ee(ko);var Po=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(de);const GE=Ee(Po);var jo=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(de);const KE=Ee(jo);var Lo=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(de);const XE=Ee(Lo);function JE(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 QE=$u(wt(300,.5,0),wt(-240,.5,1));var ZE=$u(wt(-100,.75,.35),wt(80,1.5,.8)),eT=$u(wt(260,.75,.35),wt(80,1.5,.8)),Bi=wt();function tT(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(),nT=Math.PI/3,rT=Math.PI*2/3;function iT(e){var t;return e=(.5-e)*Math.PI,qi.r=255*(t=Math.sin(e))*t,qi.g=255*(t=Math.sin(e+nT))*t,qi.b=255*(t=Math.sin(e+rT))*t,qi+""}function aT(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 oT=Io(de("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var sT=Io(de("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),cT=Io(de("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),uT=Io(de("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),fT="__lodash_hash_undefined__";function lT(e){return this.__data__.set(e,fT),this}var dT=lT;function hT(e){return this.__data__.has(e)}var pT=hT,bT=bu,mT=dT,gT=pT;function Ca(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new bT;++t<n;)this.add(e[t])}Ca.prototype.add=Ca.prototype.push=mT;Ca.prototype.has=gT;var rb=Ca;function vT(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 yT=vT;function _T(e){return e!==e}var xT=_T;function wT(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var OT=wT,ET=yT,TT=xT,CT=OT;function RT(e,t,n){return t===t?CT(e,t,n):ET(e,TT,n)}var ST=RT,AT=ST;function $T(e,t){var n=e==null?0:e.length;return!!n&&AT(e,t,0)>-1}var MT=$T;function kT(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 PT=kT;function jT(e,t){return e.has(t)}var ib=jT,LT=rb,IT=MT,DT=PT,NT=$0,FT=y0,UT=ib,zT=200;function BT(e,t,n,r){var i=-1,a=IT,o=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=NT(t,FT(n))),r?(a=DT,o=!1):t.length>=zT&&(a=UT,o=!1,t=new LT(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 qT=BT,HT=qT,WT=S0,VT=m0,YT=WT(function(e,t){return VT(e)?HT(e,t):[]}),GT=YT;const ab=Ke(GT);function Pe(e){return function(){return e}}const ud=Math.abs,Fe=Math.atan2,cn=Math.cos,KT=Math.max,xs=Math.min,mt=Math.sin,zn=Math.sqrt,Ue=1e-12,oi=Math.PI,Ra=oi/2,ta=2*oi;function XT(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 dc=Math.PI,hc=2*dc,un=1e-6,JT=hc-un;function ob(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function QT(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 ZT{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?ob:QT(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,p=i-s,g=c*c+u*u,h=b*b+p*p,x=Math.sqrt(g),y=Math.sqrt(d),v=a*Math.tan((dc-Math.acos((g+d-h)/(2*x*y)))/2),E=v/y,m=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*p)},${this._x1=t+m*c},${this._y1=n+m*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%hc+hc),d>JT?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>=dc)},${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 ZT(t)}function eC(e){return e.innerRadius}function tC(e){return e.outerRadius}function nC(e){return e.startAngle}function rC(e){return e.endAngle}function iC(e){return e&&e.padAngle}function aC(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 Hi(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,p=n+f,g=r+l,h=(d+p)/2,x=(b+g)/2,y=p-d,v=g-b,E=y*y+v*v,m=i-a,C=d*g-p*b,P=(v<0?-1:1)*zn(KT(0,m*m*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-h,M=B-x,S=j-h,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/m-1),y11:B*(i/m-1)}}function oC(){var e=eC,t=tC,n=Pe(0),r=null,i=nC,a=rC,o=iC,s=null,c=sb(u);function u(){var f,l,d=+e.apply(this,arguments),b=+t.apply(this,arguments),p=i.apply(this,arguments)-Ra,g=a.apply(this,arguments)-Ra,h=ud(g-p),x=g>p;if(s||(s=f=c()),b<d&&(l=b,b=d,d=l),!(b>Ue))s.moveTo(0,0);else if(h>ta-Ue)s.moveTo(b*cn(p),b*mt(p)),s.arc(0,0,b,p,g,!x),d>Ue&&(s.moveTo(d*cn(g),d*mt(g)),s.arc(0,0,d,g,p,x));else{var y=p,v=g,E=p,m=g,C=h,P=h,F=o.apply(this,arguments)/2,B=F>Ue&&(r?+r.apply(this,arguments):zn(d*d+b*b)),j=xs(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,m-=I):(C=0,E=m=(p+g)/2),(P-=q*2)>Ue?(q*=x?1:-1,y+=q,v-=q):(P=0,y=v=(p+g)/2)}var W=b*cn(y),ne=b*mt(y),V=d*cn(m),A=d*mt(m);if(j>Ue){var U=b*cn(v),K=b*mt(v),te=d*cn(E),X=d*mt(E),Y;if(h<oi)if(Y=aC(W,ne,te,X,U,K,V,A)){var H=W-Y[0],G=ne-Y[1],J=U-Y[0],k=K-Y[1],z=1/mt(XT((H*J+G*k)/(zn(H*H+G*G)*zn(J*J+k*k)))/2),ee=zn(Y[0]*Y[0]+Y[1]*Y[1]);L=xs(j,(d-ee)/(z-1)),Z=xs(j,(b-ee)/(z+1))}else L=Z=0}P>Ue?Z>Ue?(M=Hi(te,X,W,ne,b,Z,x),S=Hi(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(W,ne),s.arc(0,0,b,y,v,!x)):s.moveTo(W,ne),!(d>Ue)||!(C>Ue)?s.lineTo(V,A):L>Ue?(M=Hi(V,A,U,K,d,-L,x),S=Hi(W,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,m,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 sC(e){return e[0]}function cC(e){return e[1]}function uC(e,t){var n=Pe(!0),r=null,i=fb,a=null,o=sb(s);e=typeof e=="function"?e:e===void 0?sC:Pe(e),t=typeof t=="function"?t:t===void 0?cC: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 fC(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function lC(e){return e}function dC(){var e=lC,t=fC,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),p=new Array(u),g=+r.apply(this,arguments),h=Math.min(ta,Math.max(-ta,i.apply(this,arguments)-g)),x,y=Math.min(Math.abs(h)/u,a.apply(this,arguments)),v=y*(h<0?-1:1),E;for(c=0;c<u;++c)(E=p[b[c]=c]=+e(s[c],c,s))>0&&(d+=E);for(t!=null?b.sort(function(m,C){return t(p[m],p[C])}):n!=null&&b.sort(function(m,C){return n(s[m],s[C])}),c=0,l=d?(h-u*v)/d:0;c<u;++c,g=x)f=b[c],E=p[f],x=g+(E>0?E*l:0)+v,p[f]={data:s[f],index:c,value:E,startAngle:g,endAngle:x,padAngle:y};return p}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 hC(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 pC(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 bC(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 mC=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 Du(e,t){this._context=e,this._k=(1-t)/6}Du.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 gC=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: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 vC=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){this._context=e,this._k=(1-t)/6}Fu.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 yC=function e(t){function n(r){return new Fu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Uu(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:Uu(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 pb(r,t):new Du(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:Uu(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 xC=function e(t){function n(r){return t?new bb(r,t):new Nu(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:Uu(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 wC=function e(t){function n(r){return t?new mb(r,t):new Fu(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 OC(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 ws(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:ws(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,ws(this,hd(this,n=dd(this,e,t)),n);break;default:ws(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 EC(e){return new $a(e)}function TC(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 CC(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 RC(e){return new No(e,.5)}function SC(e){return new No(e,0)}function AC(e){return new No(e,1)}var $C=k0,MC=P0,kC=ao;function PC(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=$C(e,o);n(s,o)&&MC(a,kC(o,e),s)}return a}var jC=PC;function LC(e,t){return e!=null&&t in Object(e)}var IC=LC,DC=ao,NC=no,FC=Et,UC=io,zC=vu,BC=Eu;function qC(e,t,n){t=DC(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=BC(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&&zC(i)&&UC(o,i)&&(FC(e)||NC(e)))}var HC=qC,WC=IC,VC=HC;function YC(e,t){return e!=null&&VC(e,t,WC)}var GC=YC,KC=jC,XC=GC;function JC(e,t){return KC(e,t,function(n,r){return XC(e,r)})}var QC=JC;function ZC(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var xb=ZC,bd=yi,eR=no,tR=Et,md=bd?bd.isConcatSpreadable:void 0;function nR(e){return tR(e)||eR(e)||!!(md&&e&&e[md])}var rR=nR,iR=xb,aR=rR;function wb(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=aR),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?wb(s,t-1,n,r,i):iR(i,s):r||(i[i.length]=s)}return i}var oR=wb,sR=oR;function cR(e){var t=e==null?0:e.length;return t?sR(e,1):[]}var uR=cR,fR=uR,lR=C0,dR=R0;function hR(e){return dR(lR(e,void 0,fR),e+"")}var pR=hR,bR=QC,mR=pR,gR=mR(function(e,t){return e==null?{}:bR(e,t)}),vR=gR;const yR=Ke(vR);function _R(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 xR=_R,wR=rb,OR=xR,ER=ib,TR=1,CR=2;function RR(e,t,n,r,i,a){var o=n&TR,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&CR?new wR:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var p=e[l],g=t[l];if(r)var h=o?r(g,p,l,t,e,a):r(p,g,l,e,t,a);if(h!==void 0){if(h)continue;d=!1;break}if(b){if(!OR(t,function(x,y){if(!ER(b,y)&&(p===x||i(p,x,n,r,a)))return b.push(y)})){d=!1;break}}else if(!(p===g||i(p,g,n,r,a))){d=!1;break}}return a.delete(e),a.delete(t),d}var Ob=RR;function SR(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var AR=SR;function $R(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var MR=$R,gd=yi,vd=d0,kR=vi,PR=Ob,jR=AR,LR=MR,IR=1,DR=2,NR="[object Boolean]",FR="[object Date]",UR="[object Error]",zR="[object Map]",BR="[object Number]",qR="[object RegExp]",HR="[object Set]",WR="[object String]",VR="[object Symbol]",YR="[object ArrayBuffer]",GR="[object DataView]",yd=gd?gd.prototype:void 0,Os=yd?yd.valueOf:void 0;function KR(e,t,n,r,i,a,o){switch(n){case GR:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case YR:return!(e.byteLength!=t.byteLength||!a(new vd(e),new vd(t)));case NR:case FR:case BR:return kR(+e,+t);case UR:return e.name==t.name&&e.message==t.message;case qR:case WR:return e==t+"";case zR:var s=jR;case HR:var c=r&IR;if(s||(s=LR),e.size!=t.size&&!c)return!1;var u=o.get(e);if(u)return u==t;r|=DR,o.set(e,t);var f=PR(s(e),s(t),r,i,a,o);return o.delete(e),f;case VR:if(Os)return Os.call(e)==Os.call(t)}return!1}var XR=KR,JR=xb,QR=Et;function ZR(e,t,n){var r=t(e);return QR(e)?r:JR(r,n(e))}var eS=ZR;function tS(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 nS=tS;function rS(){return[]}var iS=rS,aS=nS,oS=iS,sS=Object.prototype,cS=sS.propertyIsEnumerable,_d=Object.getOwnPropertySymbols,uS=_d?function(e){return e==null?[]:(e=Object(e),aS(_d(e),function(t){return cS.call(e,t)}))}:oS,fS=uS,lS=h0,dS=lS(Object.keys,Object),hS=dS,pS=gu,bS=hS,mS=Object.prototype,gS=mS.hasOwnProperty;function vS(e){if(!pS(e))return bS(e);var t=[];for(var n in Object(e))gS.call(e,n)&&n!="constructor"&&t.push(n);return t}var yS=vS,_S=w0,xS=yS,wS=ro;function OS(e){return wS(e)?_S(e):xS(e)}var ES=OS,TS=eS,CS=fS,RS=ES;function SS(e){return TS(e,RS,CS)}var AS=SS,xd=AS,$S=1,MS=Object.prototype,kS=MS.hasOwnProperty;function PS(e,t,n,r,i,a){var o=n&$S,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:kS.call(t,d)))return!1}var b=a.get(e),p=a.get(t);if(b&&p)return b==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var h=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)){g=!1;break}h||(h=d=="constructor")}if(g&&!h){var E=e.constructor,m=t.constructor;E!=m&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof m=="function"&&m instanceof m)&&(g=!1)}return a.delete(e),a.delete(t),g}var jS=PS,LS=$n,IS=Ot,DS=LS(IS,"DataView"),NS=DS,FS=$n,US=Ot,zS=FS(US,"Promise"),BS=zS,qS=$n,HS=Ot,WS=qS(HS,"Set"),VS=WS,YS=$n,GS=Ot,KS=YS(GS,"WeakMap"),XS=KS,pc=NS,bc=pu,mc=BS,gc=VS,vc=XS,Eb=An,fr=c0,wd="[object Map]",JS="[object Object]",Od="[object Promise]",Ed="[object Set]",Td="[object WeakMap]",Cd="[object DataView]",QS=fr(pc),ZS=fr(bc),eA=fr(mc),tA=fr(gc),nA=fr(vc),fn=Eb;(pc&&fn(new pc(new ArrayBuffer(1)))!=Cd||bc&&fn(new bc)!=wd||mc&&fn(mc.resolve())!=Od||gc&&fn(new gc)!=Ed||vc&&fn(new vc)!=Td)&&(fn=function(e){var t=Eb(e),n=t==JS?e.constructor:void 0,r=n?fr(n):"";if(r)switch(r){case QS:return Cd;case ZS:return wd;case eA:return Od;case tA:return Ed;case nA:return Td}return t});var rA=fn,Es=u0,iA=Ob,aA=XR,oA=jS,Rd=rA,Sd=Et,Ad=yu,sA=xu,cA=1,$d="[object Arguments]",Md="[object Array]",Wi="[object Object]",uA=Object.prototype,kd=uA.hasOwnProperty;function fA(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?Wi:c,u=u==$d?Wi:u;var f=c==Wi,l=u==Wi,d=c==u;if(d&&Ad(e)){if(!Ad(t))return!1;o=!0,f=!1}if(d&&!f)return a||(a=new Es),o||sA(e)?iA(e,t,n,r,i,a):aA(e,t,c,n,r,i,a);if(!(n&cA)){var b=f&&kd.call(e,"__wrapped__"),p=l&&kd.call(t,"__wrapped__");if(b||p){var g=b?e.value():e,h=p?t.value():t;return a||(a=new Es),i(g,h,n,r,a)}}return d?(a||(a=new Es),oA(e,t,n,r,i,a)):!1}var lA=fA,dA=lA,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:dA(e,t,n,r,Tb,i)}var hA=Tb,pA=hA;function bA(e,t){return pA(e,t)}var mA=bA;const gA=Ke(mA);var vA={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 zu(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 yA=["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"],_A=function(e,t){return ht({},t,e)},xA=function(e,t){var n=E7({},e,t);return yA.forEach(function(r){Nr(n,r,_A(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=X9(a)?uu[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(uu)),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)},wA={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)},OA=Object.keys(wA);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(OA),T.func,T.arrayOf(T.string)]);var EA={basis:hC,basisClosed:pC,basisOpen:bC,bundle:mC,cardinal:gC,cardinalClosed:vC,cardinalOpen:yC,catmullRom:_C,catmullRomClosed:xC,catmullRomOpen:wC,linear:fb,linearClosed:OC,monotoneX:EC,monotoneY:TC,natural:CC,step:RC,stepAfter:AC,stepBefore:SC},Bu=Object.keys(EA);Bu.filter(function(e){return e.endsWith("Closed")});ab(Bu,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");ab(Bu,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");T.shape({top:T.number,right:T.number,bottom:T.number,left:T.number}).isRequired;var TA=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];T.oneOf(TA);Un(Iu);var CA={top:0,right:0,bottom:0,left:0},RA=function(e,t,n){return n===void 0&&(n={}),_.useMemo(function(){var r=ht({},CA,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]},SA=function(e){return _.useMemo(function(){return xA(vA,e)},[e])},AA=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 AA(e)},[e])},$b=_.createContext(),$A={},Mb=function(e){var t=e.theme,n=t===void 0?$A:t,r=e.children,i=SA(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)},MA=["outlineWidth","outlineColor","outlineOpacity"],kb=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,zu(e,MA)},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 kA={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(Jx,{container:u,children:R.jsxs(Pb,{condition:i,wrapper:R.jsx("div",{style:kA,ref:u}),children:[t,o&&R.jsx(Xx,{})]})})})})};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 PA=["id","colors"],Ib=function(e){var t=e.id,n=e.colors,r=zu(e,PA);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},yc=_.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,p=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:p+b,cy:p+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})]})});yc.displayName="PatternDots",yc.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},qu=function(e){return 180*e/Math.PI},jA=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},_c=_.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 p,g=b,h=b;return d===0?p=`
|
|
254
|
-
M 0 0 L `+g+` 0
|
|
255
|
-
M 0 `+h+" L "+g+" "+h+`
|
|
256
|
-
`:d===90?p=`
|
|
257
|
-
M 0 0 L 0 `+h+`
|
|
258
|
-
M `+g+" 0 L "+g+" "+h+`
|
|
259
|
-
`:(g=Math.abs(b/Math.sin($t(d))),h=b/Math.sin($t(90-d)),p=d>0?`
|
|
260
|
-
M 0 `+-h+" L "+2*g+" "+h+`
|
|
261
|
-
M `+-g+" "+-h+" L "+g+" "+h+`
|
|
262
|
-
M `+-g+" 0 L "+g+" "+2*h+`
|
|
263
|
-
`:`
|
|
264
|
-
M `+-g+" "+h+" L "+g+" "+-h+`
|
|
265
|
-
M `+-g+" "+2*h+" L "+2*g+" "+-h+`
|
|
266
|
-
M 0 `+2*h+" L "+2*g+` 0
|
|
267
|
-
`),R.jsxs("pattern",{id:t,width:g,height:h,patternUnits:"userSpaceOnUse",children:[R.jsx("rect",{width:g,height:h,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),R.jsx("path",{d:p,strokeWidth:l,stroke:u,strokeLinecap:"square"})]})});_c.displayName="PatternLines",_c.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},xc=_.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})]})});xc.displayName="PatternSquares",xc.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:yc,patternLines:_c,patternSquares:xc},LA=["type"],wc=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=zu(n,LA);return wc[r]?_.createElement(wc[r],ht({key:i.id},i)):null})})};Fb.propTypes={defs:T.arrayOf(T.shape({type:T.oneOf(Object.keys(wc)).isRequired,id:T.string.isRequired}))};var IA=_.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(IA,{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 DA=_.memo(zb),Bb=function(e){var t=e.x,n=e.y,r=e.symbol,i=r===void 0?DA: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,p=b===void 0?-12:b,g=et(),h=lr(),x=h.animate,y=h.config,v=du({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:p,style:kb(g.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,p=b===void 0?14:b,g=e.legendOrientation,h=g===void 0?"horizontal":g,x=et(),y=0,v=0,E=0,m=0;r==="y"?(E=i(a),v=t):(y=i(a),m=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,W=0,ne=I==="vertical"?-90:0,V="start";if(B==="x")switch(Z){case"top-left":q=-M,W=S,V="end";break;case"top":W=-S,V=I==="horizontal"?"middle":"start";break;case"top-right":q=M,W=S,V=I==="horizontal"?"start":"end";break;case"right":q=M,W=L/2,V=I==="horizontal"?"start":"middle";break;case"bottom-right":q=M,W=L-S,V="start";break;case"bottom":W=L+S,V=I==="horizontal"?"middle":"end";break;case"bottom-left":W=L-S,q=-M,V=I==="horizontal"?"end":"start";break;case"left":q=-M,W=L/2,V=I==="horizontal"?"end":"middle"}else switch(Z){case"top-left":q=M,W=-S,V="start";break;case"top":q=j/2,W=-S,V=I==="horizontal"?"middle":"start";break;case"top-right":q=j-M,W=-S,V=I==="horizontal"?"end":"start";break;case"right":q=j+M,V=I==="horizontal"?"start":"middle";break;case"bottom-right":q=j-M,W=S,V="end";break;case"bottom":q=j/2,W=S,V=I==="horizontal"?"middle":"end";break;case"bottom-left":q=M,W=S,V=I==="horizontal"?"start":"end";break;case"left":q=-M,V=I==="horizontal"?"end":"middle"}return{x:q,y:W,rotation:ne,textAnchor:V}}({axis:r,width:t,height:n,position:f,offsetX:d,offsetY:p,orientation:h});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:m,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 NA=_.memo(qb),Hb=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(NA,ht({},o,{width:n,height:r,scale:o.axis==="y"?a:i}),s)}):null};Hb.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(Hb);var FA=function(e){return s0(e)?e:function(t){return Pt(t,e)}},Ma=function(e){return _.useMemo(function(){return FA(e)},[e])},UA=Object.keys(Db),zA=Object.keys(Nb),BA=function(e,t,n){if(e==="*")return!0;if(s0(e))return e(t);if(_u(e)){var r=n?Pt(t,n):t;return gA(yR(r,Object.keys(e)),e)}return!1},qA=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 g=n[p],h=g.id,x=g.match;if(BA(x,d,a)){var y=e.find(function(j){return j.id===h});if(y){if(zA.includes(y.type))if(y.background==="inherit"||y.color==="inherit"){var v=Pt(d,s),E=y.background,m=y.color,C=h;y.background==="inherit"&&(C=C+".bg."+v,E=v),y.color==="inherit"&&(C=C+".fg."+v,m=v),Nr(d,u,"url(#"+C+")"),l[C]||(f.push(ht({},y,{id:C,background:E,color:m})),l[C]=1)}else Nr(d,u,"url(#"+h+")");else if(UA.includes(y.type))if(y.colors.map(function(j){return j.color}).includes("inherit")){var P=Pt(d,s),F=h,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(#"+h+")")}return"break"}},p=0;p<n.length&&b()!=="break";p++);})),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 HA(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 Wb={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:K0,accent:X0,dark2:J0,paired:Q0,pastel1:Z0,pastel2:eb,set1:tb,set2:nb,set3:Iu,tableau10:OE},WA=Object.keys(Wb),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},VA=Object.keys(Vb),YA={brown_blueGreen:EE,purpleRed_green:TE,pink_yellowGreen:CE,purple_orange:RE,red_blue:SE,red_grey:AE,red_yellow_blue:$E,red_yellow_green:ME,spectral:kE},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},GA=Object.keys(Yb),KA={blues:WE,greens:VE,greys:YE,oranges:XE,purples:GE,reds:KE,turbo:aT,viridis:oT,inferno:cT,magma:sT,plasma:uT,cividis:JE,warm:ZE,cool:eT,cubehelixDefault:QE,blue_green:PE,blue_purple:jE,green_blue:LE,orange_red:IE,purple_blue_green:DE,purple_blue:NE,purple_red:FE,red_purple:UE,yellow_green_blue:zE,yellow_green:BE,yellow_orange_brown:qE,yellow_orange_red:HE},Ts=ka({},Wb,Vb,Yb),XA=function(e){return WA.includes(e)},JA=function(e){return VA.includes(e)},QA=function(e){return GA.includes(e)},ZA={rainbow:tT,sinebow:iT};ka({},YA,KA,ZA);var e$=function(e,t){if(typeof e=="function")return e;if(_u(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=HA(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 e$(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 t$=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(_u(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(XA(e.scheme)){var a=Un(Ts[e.scheme]),o=function(l){return a(n(l))};return o.scale=a,o}if(JA(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(Ts[e.scheme][e.size||11]),c=function(l){return s(n(l))};return c.scale=s,c}if(QA(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(Ts[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}},n$=function(e,t){return _.useMemo(function(){return t$(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 r$={pointerEvents:"none"},i$=function(e){var t=e.label,n=e.style,r=et();return R.jsx(At.g,{transform:n.transform,opacity:n.progress,style:r$,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},a$=function(e,t){return e.filter(function(n){return Math.abs(qu(n.arc.endAngle-n.arc.startAngle))>=t})},o$={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=o$[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])},s$=function(e,t){var n=jA(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return Vn(n,r)},c$=function(e){return function(t,n,r,i){return gi([t,n,r,i],function(a,o,s,c){var u=s$({startAngle:a,endAngle:o,innerRadius:s,outerRadius:c},e);return"translate("+u.x+","+u.y+")"})}},u$=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:hu(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:c$(t)}},f$=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?i$:c,f=Ma(i),l=et(),d=Pa(s,l),b=_.useMemo(function(){return n.filter(function(y){return Math.abs(qu(y.arc.endAngle-y.arc.startAngle))>=o})},[n,o]),p=u$(b,a,r),g=p.transition,h=p.interpolate,x=u;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:g(function(y,v){return _.createElement(x,{key:v.id,datum:v,label:f(v),style:Ce({},y,{transform:h(y.startAngle,y.endAngle,y.innerRadius,y.outerRadius),textColor:d(v)})})})})},l$=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})]})},d$=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]}},h$=uC().x(function(e){return e.x}).y(function(e){return e.y}),p$=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 p=Xb({startAngle:s,endAngle:c,innerRadius:u,outerRadius:f},l,d,b).points;return h$(p)})},b$=function(e,t,n,r){return gi([e,t,n,r],function(i,a,o,s){return d$({startAngle:i,endAngle:a,innerRadius:o,outerRadius:s})})},m$=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,p,g){var h=Xb({startAngle:c,endAngle:u,innerRadius:f,outerRadius:l},d,b,p),x=h.points,y=h.side,v=x[2];return y==="before"?v.x-=g:v.x+=g,"translate("+v.x+","+v.y+")"})},g$=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,p=et(),g=Pa(u,p),h=Pa(f,p),x=function(v,E){return _.useMemo(function(){return a$(v,E)},[v,E])}(t,s),y=function(v){var E=v.offset,m=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:m,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}}}},[m,C,P,F,B,E])}({offset:r,diagonalLength:i,straightLength:a,textOffset:c,getLinkColor:g,getTextColor:h});return{transition:hu(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:p$,interpolateTextAnchor:b$,interpolateTextPosition:m$}},v$=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?l$:d,p=Ma(r),g=g$({data:n,skipAngle:i,offset:a,diagonalLength:o,straightLength:s,textOffset:u,linkColor:l,textColor:f}),h=g.transition,x=g.interpolateLink,y=g.interpolateTextAnchor,v=g.interpolateTextPosition,E=b;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:h(function(m,C){return _.createElement(E,{key:C.id,datum:C,label:p(C),style:Ce({},m,{thickness:c,path:x(m.startAngle,m.endAngle,m.innerRadius,m.outerRadius,m.offset,m.diagonalLength,m.straightLength),textAnchor:y(m.startAngle,m.endAngle,m.innerRadius,m.outerRadius),textPosition:v(m.startAngle,m.endAngle,m.innerRadius,m.outerRadius,m.offset,m.diagonalLength,m.straightLength,m.textOffset)})})})})},y$=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})},_$=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)})})},x$=function(e,t,n){t===void 0&&(t="innerRadius");var r=lr(),i=r.animate,a=r.config,o=Kb(t,n);return{transition:hu(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:_$}},w$=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?y$:l,b=et(),p=Pa(a,b),g=x$(n,f,{enter:function(v){return{opacity:0,color:v.color,borderColor:p(v)}},update:function(v){return{opacity:1,color:v.color,borderColor:p(v)}},leave:function(v){return{opacity:0,color:v.color,borderColor:p(v)}}}),h=g.transition,x=g.interpolate,y=d;return R.jsx("g",{transform:"translate("+t[0]+","+t[1]+")",children:h(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})})})},O$=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(h){var x=h[0],y=h[1];return[e+x,t+y]}),a&&o.push([e,t]);var l=o.map(function(h){return h[0]}),d=o.map(function(h){return h[1]}),b=Math.min.apply(Math,l),p=Math.max.apply(Math,l),g=Math.min.apply(Math,d);return{points:o,x:b,y:g,width:p-b,height:Math.max.apply(Math,d)-g}},E$=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 oC().innerRadius(function(o){return o.innerRadius}).outerRadius(function(o){return o.outerRadius}).cornerRadius(r).padAngle(a)},[r,a])},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("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"}})},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:`
|
|
269
|
-
M`+r/2+` 0
|
|
270
|
-
L`+.8*r+" "+r/2+`
|
|
271
|
-
L`+r/2+" "+r+`
|
|
272
|
-
L`+.2*r+" "+r/2+`
|
|
273
|
-
L`+r/2+` 0
|
|
274
|
-
`,fill:i,opacity:o,strokeWidth:c,stroke:u===void 0?"transparent":u,style:{pointerEvents:"none"}})})},R$=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"}})},S$=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
|
-
M`+r/2+` 0
|
|
276
|
-
L`+r+" "+r+`
|
|
277
|
-
L0 `+r+`
|
|
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 A$={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({},A$,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}},$$=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}},M$=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}},k$={circle:T$,diamond:C$,square:R$,triangle:S$},P$=function(e){var t,n,r,i,a,o,s,c,u,f,l,d=e.x,b=e.y,p=e.width,g=e.height,h=e.data,x=e.direction,y=x===void 0?"left-to-right":x,v=e.justify,E=v!==void 0&&v,m=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,W=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({}),H=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(h,Le)},[U,h,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(h,Le)},[K,h,X]),ee=M$({direction:y,justify:E,symbolSize:(t=H.symbolSize)!=null?t:M,symbolSpacing:I,width:p,height:g}),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:k$[L];return R.jsxs("g",{transform:"translate("+d+","+b+")",style:{opacity:(n=H.itemOpacity)!=null?n:B},children:[R.jsx("rect",{width:p,height:g,fill:(r=H.itemBackground)!=null?r:P,style:{cursor:at?"pointer":"auto"},onClick:function(Le){A==null||A(h,Le),te==null||te(h.id)},onMouseEnter:k,onMouseLeave:z}),fe.createElement(ot,bn({id:h.id,x:w,y:he,size:(i=H.symbolSize)!=null?i:M,fill:(a=(o=h.fill)!=null?o:h.color)!=null?a:"black",borderWidth:(s=H.symbolBorderWidth)!=null?s:W,borderColor:(c=H.symbolBorderColor)!=null?c:V},h.hidden?J.legends.hidden.symbol:void 0)),R.jsx("text",{textAnchor:Te,style:bn({},kb(J.legends.text),{fill:(u=(f=(l=H.itemTextColor)!=null?l:m)!=null?f:J.legends.text.fill)!=null?u:"black",dominantBaseline:Ie,pointerEvents:"none",userSelect:"none"},h.hidden?J.legends.hidden.text:void 0),x:se,y:ge,children:h.label})]})},j$=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,p=b===void 0?0:b,g=e.itemTextColor,h=e.itemBackground,x=h===void 0?"transparent":h,y=e.itemOpacity,v=y===void 0?1:y,E=e.symbolShape,m=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:p,direction:i,padding:o}).padding,S=i==="row"?u+p:0,I=i==="column"?f+p:0;return R.jsx("g",{transform:"translate("+n+","+r+")",children:t.map(function(q,W){return R.jsx(P$,{data:q,x:W*S+M.left,y:W*I+M.top,width:u,height:f,direction:d,justify:s,effects:c,textColor:g,background:x,opacity:v,symbolShape:E,symbolSize:m,symbolSpacing:C,symbolBorderWidth:P,symbolBorderColor:F,onClick:B,onMouseEnter:j,onMouseLeave:L,toggleSerie:Z},W)})})},L$=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,p=b===void 0?0:b,g=e.itemWidth,h=e.itemHeight,x=e.itemDirection,y=e.itemTextColor,v=e.itemBackground,E=e.itemOpacity,m=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:p,itemWidth:g,itemHeight:h,direction:u,padding:l}),q=I.width,W=I.height,ne=$$({anchor:c,translateX:a,translateY:s,containerWidth:n,containerHeight:r,width:q,height:W}),V=ne.x,A=ne.y;return R.jsx(j$,{data:t,x:V,y:A,direction:u,padding:l,justify:d,effects:S,itemsSpacing:p,itemWidth:g,itemHeight:h,itemDirection:x,itemTextColor:y,itemBackground:v,itemOpacity:E,symbolShape:m,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,I$=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(L$,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(Bx,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:typeof window<"u"&&(Id=window.devicePixelRatio)!=null?Id:1},D$=["points"],N$=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=n$(c,"id");return _.useMemo(function(){return t.map(function(b){var p,g=u(b),h=f(b),x={id:g,label:(p=b.label)!=null?p:g,hidden:!1,value:h,formattedValue:l(h),data:b};return Qt({},x,{color:d(x)})})},[t,u,f,l,d])},F$=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=dC().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]),p=_.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:qu(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]),g=p.legendData,h=_.useRef(d);return _.useEffect(function(){typeof h.current=="function"&&h.current(g)},[h,g]),p},U$=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])}},z$=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,p=e.cornerRadius,g=p===void 0?ae.cornerRadius:p,h=e.fit,x=h===void 0?ae.fit:h,y=e.activeInnerRadiusOffset,v=y===void 0?ae.activeInnerRadiusOffset:y,E=e.activeOuterRadiusOffset,m=E===void 0?ae.activeOuterRadiusOffset:E,C=e.activeId,P=e.onActiveIdChange,F=e.defaultActiveId,B=e.forwardLegendData,j=U$({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=O$(K,te,A,s-90,u-90),Y=X.points,H=Qb(X,D$),G=Math.min(n/H.width,r/H.height),J={width:H.width*G,height:H.height*G};J.x=(n-J.width)/2,J.y=(r-J.height)/2,K=(K-H.x)/H.width*H.width*G+J.x,te=(te-H.y)/H.height*H.height*G+J.y,V={box:H,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]),W=F$({data:t,startAngle:s,endAngle:u,innerRadius:q.innerRadius,outerRadius:q.radius,padAngle:l,sortByValue:b,activeId:L,activeInnerRadiusOffset:v,activeOuterRadiusOffset:m,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:E$({cornerRadius:g,padAngle:$t(l)}),activeId:L,setActiveId:Z,toggleSerie:ne},W,q)},B$=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])},q$=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,p=Yx(),g=p.showTooltipFromEvent,h=p.hideTooltip,x=_.useMemo(function(){if(o)return function(m,C){s==null||s(m,C)}},[o,s]),y=_.useMemo(function(){if(o)return function(m,C){g(_.createElement(d,{datum:m}),C),l(m.id),c==null||c(m,C)}},[o,g,l,c,d]),v=_.useMemo(function(){if(o)return function(m,C){g(_.createElement(d,{datum:m}),C),u==null||u(m,C)}},[o,g,u,d]),E=_.useMemo(function(){if(o)return function(m,C){h(),l(null),f==null||f(m,C)}},[o,h,l,f]);return R.jsx(w$,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:a,transitionMode:b,onClick:x,onMouseEnter:y,onMouseMove:v,onMouseLeave:E})},H$=["isInteractive","animate","motionConfig","theme","renderWrapper"],W$=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,p=b===void 0?ae.endAngle:b,g=e.padAngle,h=g===void 0?ae.padAngle:g,x=e.fit,y=x===void 0?ae.fit:x,v=e.innerRadius,E=v===void 0?ae.innerRadius:v,m=e.cornerRadius,C=m===void 0?ae.cornerRadius:m,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,W=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,H=e.arcLabelsTextColor,G=H===void 0?ae.arcLabelsTextColor:H,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,Ho=e.forwardLegendData,vr=e.role,Ai=vr===void 0?ae.role:vr,sn=RA(L,Z,M),Wo=sn.outerWidth,Vo=sn.outerHeight,Yo=sn.margin,O=sn.innerWidth,D=sn.innerHeight,Q=N$({data:t,id:r,value:a,valueFormat:o,colors:I}),re=z$({data:Q,width:O,height:D,fit:y,innerRadius:E,startAngle:d,endAngle:p,padAngle:h,sortByValue:c,cornerRadius:C,activeInnerRadiusOffset:F,activeOuterRadiusOffset:j,activeId:Ti,onActiveIdChange:qo,defaultActiveId:Ci,forwardLegendData:Ho}),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=qA(Fo,be,Uo),ke={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};f.includes("arcs")&&(ke.arcs=R.jsx(q$,{center:[le,je],data:be,arcGenerator:pe,borderWidth:W,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(v$,{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(f$,{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(I$,{width:O,height:D,data:we,legends:Si,toggleSerie:Nt},"legends"));var yr=B$({dataWithArc:be,arcGenerator:pe,centerX:le,centerY:je,radius:$e,innerRadius:Me});return R.jsx(Ub,{width:Wo,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})})},V$=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,H$);return R.jsx(jb,{animate:i,isInteractive:n,motionConfig:o,renderWrapper:c,theme:s,children:R.jsx(W$,Qt({isInteractive:n},u))})},Y$=function(e){return R.jsx(Lb,{children:function(t){var n=t.width,r=t.height;return R.jsx(V$,Qt({width:n,height:r},e))}})};exports.AuthContext=Kc;exports.AvatarIcon=vp;exports.ConfirmContext=tv;exports.DelegationContext=mp;exports.ENTERED=qt;exports.ENTERING=St;exports.EXITED=Bt;exports.EXITING=na;exports.Fade=aa;exports.FloatingLabel=Dc;exports.FloatingLabelInput=yp;exports.FormContext=vh;exports.FormGroup=Ic;exports.FromToDatePickerDropdownToggle=w_;exports.GenIcon=Se;exports.Ie=Vv;exports.LoadingContext=Yv;exports.LoginState=Lh;exports.LuminusComponentsContext=Uc;exports.MdArrowRight=Lg;exports.MdCheck=Ig;exports.MdCircle=jg;exports.MdClear=Pg;exports.MdOutlineAddCircleOutline=Hg;exports.MdOutlineArrowOutward=Dg;exports.MdOutlineCameraAlt=Kg;exports.MdOutlineChevronRight=Qg;exports.MdOutlineClose=Mh;exports.MdOutlineContentCopy=Wg;exports.MdOutlineDelete=Fg;exports.MdOutlineEdit=Xg;exports.MdOutlineExpand=Ug;exports.MdOutlineFileUpload=Vg;exports.MdOutlineKeyboardArrowLeft=Yg;exports.MdOutlineKeyboardArrowRight=Gg;exports.MdOutlineStar=ev;exports.MdSearch=kg;exports.NoInputContainer=xp;exports.Oe=T;exports.OverlayTrigger=Sh;exports.Popover=Th;exports.PromptContext=nv;exports.RowLabelInput=_p;exports.SimpleDropdownToggle=u_;exports.Tooltip=Fc;exports.TransitionWrapper=eh;exports.Typography=gp;exports.UserAvatarToggle=d_;exports.UserContext=Gv;exports._=Y$;exports.addEventListener=Kd;exports.canUseDOM=La;exports.cancelToken=X2;exports.classNames=Oe;exports.constructFrom=Fd;exports.contains=sa;exports.extractErrorsFromResponse=Vc;exports.extractPermissionsFromResponse=cp;exports.fixNameIdNulls=op;exports.formatFileSize=E2;exports.getDefaultExportFromCjs=Ke;exports.hasClass=Ds;exports.hasOnlyNullValues=sp;exports.hookFormSetServerErrors=O2;exports.isEscKey=yh;exports.isPrimitive=ha;exports.joinStrings=fp;exports.jsxRuntimeExports=R;exports.latinize=Yc;exports.listen=Wt;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=w2;exports.secondsInDay=Oc;exports.secondsInHour=zd;exports.secondsInMinute=c1;exports.secondsInMonth=qd;exports.secondsInQuarter=f1;exports.secondsInWeek=u1;exports.secondsInYear=Bd;exports.shortenText=C2;exports.style=Tc;exports.toDate=Nd;exports.transitionEnd=Jd;exports.transitionEndListener=Qd;exports.triggerBrowserReflow=Zd;exports.truncateText=up;exports.urlfyArray=T2;exports.useAuth=pp;exports.useAxios=J2;exports.useBootstrapBreakpoints=v1;exports.useBootstrapMinBreakpoint=y1;exports.useBootstrapPrefix=Kt;exports.useCallbackRef=ks;exports.useClickOutside=ph;exports.useCookies=Gc;exports.useEventCallback=_n;exports.useIsRTL=Ec;exports.useIsomorphicEffect=ia;exports.useMergedRefs=Zt;exports.useMounted=Rc;exports.useNotifications=bp;exports.usePopper=dh;exports.useUncontrolled=p1;exports.useWaitForDOMRef=Is;exports.useWillUnmount=th;exports.useWindow=gh;exports.warning=Lc;
|