react-luminus-components 1.2.115 → 1.2.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +42 -42
- package/dist/{NoInputContainer-BTMhF5K2.cjs → NoInputContainer-BxMb-BuJ.cjs} +45 -45
- package/dist/{NoInputContainer-Bgh3cEfG.js → NoInputContainer-Cl1VEez2.js} +1096 -1090
- package/dist/{PrimaryButton-DDQG35ET.js → PrimaryButton-Dvh3Xiid.js} +1 -1
- package/dist/{PrimaryButton-B7gtCSk7.cjs → PrimaryButton-Jg-rT_fb.cjs} +1 -1
- package/dist/SimpleTooltip-CMrJHfcY.js +5 -0
- package/dist/{SimpleTooltip-CDomgLDx.cjs → SimpleTooltip-DA3RCxkm.cjs} +1 -1
- package/dist/contexts/user/UserContext.d.ts +2 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +202 -187
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +20 -20
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +521 -533
- package/dist/models/index.d.ts +2 -0
- package/dist/models/types/LoginState.d.ts +7 -0
- package/dist/models/types/UserLoginState.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/{useConfirm-7xib-j-y.js → useConfirm-BiFAJsnv.js} +5 -5
- package/dist/{useConfirm-B4xXl3s9.cjs → useConfirm-qcfEqXzH.cjs} +1 -1
- package/dist/{usePermissions-CZMCXjYH.cjs → usePermissions-BUCijjhX.cjs} +1 -1
- package/dist/{usePermissions-D1HAjQat.js → usePermissions-C1W9RoyV.js} +1 -1
- package/package.json +1 -1
- package/dist/SimpleTooltip-YiM19KZ0.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const v=require("react"),Lt=require("./latinize-DaqzUOla.cjs");require("react-hook-form");const yt=require("react-dom");function
|
|
1
|
+
"use strict";const v=require("react"),Lt=require("./latinize-DaqzUOla.cjs");require("react-hook-form");const yt=require("react-dom");function Ba(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Y=Ba(v);function wr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jr={exports:{}},Pt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var eo;function za(){if(eo)return Pt;eo=1;var e=v,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,l){var u,f={},y=null,m=null;l!==void 0&&(y=""+l),c.key!==void 0&&(y=""+c.key),c.ref!==void 0&&(m=c.ref);for(u in c)n.call(c,u)&&!i.hasOwnProperty(u)&&(f[u]=c[u]);if(s&&s.defaultProps)for(u in c=s.defaultProps,c)f[u]===void 0&&(f[u]=c[u]);return{$$typeof:t,type:s,key:y,ref:m,props:f,_owner:o.current}}return Pt.Fragment=r,Pt.jsx=a,Pt.jsxs=a,Pt}var At={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,43 +14,43 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var to;function Ha(){return to||(to=1,process.env.NODE_ENV!=="production"&&function(){var e=v,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function E(d){if(d===null||typeof d!="object")return null;var x=h&&d[h]||d[g];return typeof x=="function"?x:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(d){{for(var x=arguments.length,P=new Array(x>1?x-1:0),F=1;F<x;F++)P[F-1]=arguments[F];_("error",d,P)}}function _(d,x,P){{var F=T.ReactDebugCurrentFrame,ee=F.getStackAddendum();ee!==""&&(x+="%s",P=P.concat([ee]));var se=P.map(function(q){return String(q)});se.unshift("Warning: "+x),Function.prototype.apply.call(console[d],console,se)}}var C=!1,p=!1,A=!1,k=!1,J=!1,Z;Z=Symbol.for("react.module.reference");function K(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===i||J||d===o||d===l||d===u||k||d===m||C||p||A||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===f||d.$$typeof===a||d.$$typeof===s||d.$$typeof===c||d.$$typeof===Z||d.getModuleId!==void 0))}function ie(d,x,P){var F=d.displayName;if(F)return F;var ee=x.displayName||x.name||"";return ee!==""?P+"("+ee+")":P}function fe(d){return d.displayName||"Context"}function V(d){if(d==null)return null;if(typeof d.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case l:return"Suspense";case u:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case s:var x=d;return fe(x)+".Consumer";case a:var P=d;return fe(P._context)+".Provider";case c:return ie(d,d.render,"ForwardRef");case f:var F=d.displayName||null;return F!==null?F:V(d.type)||"Memo";case y:{var ee=d,se=ee._payload,q=ee._init;try{return V(q(se))}catch{return null}}}return null}var X=Object.assign,Q=0,ae,ue,Oe,Ee,O,R,D;function $(){}$.__reactDisabledLog=!0;function j(){{if(Q===0){ae=console.log,ue=console.info,Oe=console.warn,Ee=console.error,O=console.group,R=console.groupCollapsed,D=console.groupEnd;var d={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}Q++}}function U(){{if(Q--,Q===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},d,{value:ae}),info:X({},d,{value:ue}),warn:X({},d,{value:Oe}),error:X({},d,{value:Ee}),group:X({},d,{value:O}),groupCollapsed:X({},d,{value:R}),groupEnd:X({},d,{value:D})})}Q<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var N=T.ReactCurrentDispatcher,I;function L(d,x,P){{if(I===void 0)try{throw Error()}catch(ee){var F=ee.stack.trim().match(/\n( *(at )?)/);I=F&&F[1]||""}return`
|
|
18
18
|
`+I+d}}var H=!1,B;{var de=typeof WeakMap=="function"?WeakMap:Map;B=new de}function b(d,x){if(!d||H)return"";{var P=B.get(d);if(P!==void 0)return P}var F;H=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=N.current,N.current=null,j();try{if(x){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(Te){F=Te}Reflect.construct(d,[],q)}else{try{q.call()}catch(Te){F=Te}d.call(q.prototype)}}else{try{throw Error()}catch(Te){F=Te}d()}}catch(Te){if(Te&&F&&typeof Te.stack=="string"){for(var W=Te.stack.split(`
|
|
19
19
|
`),xe=F.stack.split(`
|
|
20
20
|
`),he=W.length-1,ve=xe.length-1;he>=1&&ve>=0&&W[he]!==xe[ve];)ve--;for(;he>=1&&ve>=0;he--,ve--)if(W[he]!==xe[ve]){if(he!==1||ve!==1)do if(he--,ve--,ve<0||W[he]!==xe[ve]){var Me=`
|
|
21
|
-
`+W[he].replace(" at new "," at ");return d.displayName&&Me.includes("<anonymous>")&&(Me=Me.replace("<anonymous>",d.displayName)),typeof d=="function"&&B.set(d,Me),Me}while(he>=1&&ve>=0);break}}}finally{H=!1,N.current=se,U(),Error.prepareStackTrace=ee}var mt=d?d.displayName||d.name:"",it=mt?L(mt):"";return typeof d=="function"&&B.set(d,it),it}function ge(d,x,P){return b(d,!1)}function
|
|
21
|
+
`+W[he].replace(" at new "," at ");return d.displayName&&Me.includes("<anonymous>")&&(Me=Me.replace("<anonymous>",d.displayName)),typeof d=="function"&&B.set(d,Me),Me}while(he>=1&&ve>=0);break}}}finally{H=!1,N.current=se,U(),Error.prepareStackTrace=ee}var mt=d?d.displayName||d.name:"",it=mt?L(mt):"";return typeof d=="function"&&B.set(d,it),it}function ge(d,x,P){return b(d,!1)}function _e(d){var x=d.prototype;return!!(x&&x.isReactComponent)}function Ae(d,x,P){if(d==null)return"";if(typeof d=="function")return b(d,_e(d));if(typeof d=="string")return L(d);switch(d){case l:return L("Suspense");case u:return L("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case c:return ge(d.render);case f:return Ae(d.type,x,P);case y:{var F=d,ee=F._payload,se=F._init;try{return Ae(se(ee),x,P)}catch{}}}return""}var Ye=Object.prototype.hasOwnProperty,St={},Jt=T.ReactDebugCurrentFrame;function ft(d){if(d){var x=d._owner,P=Ae(d.type,d._source,x?x.type:null);Jt.setExtraStackFrame(P)}else Jt.setExtraStackFrame(null)}function Ue(d,x,P,F,ee){{var se=Function.call.bind(Ye);for(var q in d)if(se(d,q)){var W=void 0;try{if(typeof d[q]!="function"){var xe=Error((F||"React class")+": "+P+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw xe.name="Invariant Violation",xe}W=d[q](x,q,F,P,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(he){W=he}W&&!(W instanceof Error)&&(ft(ee),S("%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).",F||"React class",P,q,typeof W),ft(null)),W instanceof Error&&!(W.message in St)&&(St[W.message]=!0,ft(ee),S("Failed %s type: %s",P,W.message),ft(null))}}}var dt=Array.isArray;function pt(d){return dt(d)}function Xt(d){{var x=typeof Symbol=="function"&&Symbol.toStringTag,P=x&&d[Symbol.toStringTag]||d.constructor.name||"Object";return P}}function Ct(d){try{return _t(d),!1}catch{return!0}}function _t(d){return""+d}function Rt(d){if(Ct(d))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xt(d)),_t(d)}var qe=T.ReactCurrentOwner,Zt={key:!0,ref:!0,__self:!0,__source:!0},Wn,Yn,jr;jr={};function Ta(d){if(Ye.call(d,"ref")){var x=Object.getOwnPropertyDescriptor(d,"ref").get;if(x&&x.isReactWarning)return!1}return d.ref!==void 0}function Sa(d){if(Ye.call(d,"key")){var x=Object.getOwnPropertyDescriptor(d,"key").get;if(x&&x.isReactWarning)return!1}return d.key!==void 0}function Ca(d,x){if(typeof d.ref=="string"&&qe.current&&x&&qe.current.stateNode!==x){var P=V(qe.current.type);jr[P]||(S('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',V(qe.current.type),d.ref),jr[P]=!0)}}function _a(d,x){{var P=function(){Wn||(Wn=!0,S("%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)",x))};P.isReactWarning=!0,Object.defineProperty(d,"key",{get:P,configurable:!0})}}function Ra(d,x){{var P=function(){Yn||(Yn=!0,S("%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)",x))};P.isReactWarning=!0,Object.defineProperty(d,"ref",{get:P,configurable:!0})}}var Pa=function(d,x,P,F,ee,se,q){var W={$$typeof:t,type:d,key:x,ref:P,props:q,_owner:se};return W._store={},Object.defineProperty(W._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(W,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(W,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(W.props),Object.freeze(W)),W};function Aa(d,x,P,F,ee){{var se,q={},W=null,xe=null;P!==void 0&&(Rt(P),W=""+P),Sa(x)&&(Rt(x.key),W=""+x.key),Ta(x)&&(xe=x.ref,Ca(x,ee));for(se in x)Ye.call(x,se)&&!Zt.hasOwnProperty(se)&&(q[se]=x[se]);if(d&&d.defaultProps){var he=d.defaultProps;for(se in he)q[se]===void 0&&(q[se]=he[se])}if(W||xe){var ve=typeof d=="function"?d.displayName||d.name||"Unknown":d;W&&_a(q,ve),xe&&Ra(q,ve)}return Pa(d,W,xe,ee,F,qe.current,q)}}var kr=T.ReactCurrentOwner,qn=T.ReactDebugCurrentFrame;function ht(d){if(d){var x=d._owner,P=Ae(d.type,d._source,x?x.type:null);qn.setExtraStackFrame(P)}else qn.setExtraStackFrame(null)}var Nr;Nr=!1;function Ir(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function Gn(){{if(kr.current){var d=V(kr.current.type);if(d)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+d+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+d+"`."}return""}}function Ma(d){return""}var Kn={};function ja(d){{var x=Gn();if(!x){var P=typeof d=="string"?d:d.displayName||d.name;P&&(x=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+P+">.")}return x}}function
|
|
25
|
+
Check the top-level render call using <`+P+">.")}return x}}function Jn(d,x){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var P=ja(x);if(Kn[P])return;Kn[P]=!0;var F="";d&&d._owner&&d._owner!==kr.current&&(F=" It was passed a child from "+V(d._owner.type)+"."),ht(d),S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,F),ht(null)}}function Xn(d,x){{if(typeof d!="object")return;if(pt(d))for(var P=0;P<d.length;P++){var F=d[P];Ir(F)&&Jn(F,x)}else if(Ir(d))d._store&&(d._store.validated=!0);else if(d){var ee=E(d);if(typeof ee=="function"&&ee!==d.entries)for(var se=ee.call(d),q;!(q=se.next()).done;)Ir(q.value)&&Jn(q.value,x)}}}function ka(d){{var x=d.type;if(x==null||typeof x=="string")return;var P;if(typeof x=="function")P=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===c||x.$$typeof===f))P=x.propTypes;else return;if(P){var F=V(x);Ue(P,d.props,"prop",F,d)}else if(x.PropTypes!==void 0&&!Nr){Nr=!0;var ee=V(x);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Na(d){{for(var x=Object.keys(d.props),P=0;P<x.length;P++){var F=x[P];if(F!=="children"&&F!=="key"){ht(d),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),ht(null);break}}d.ref!==null&&(ht(d),S("Invalid attribute `ref` supplied to `React.Fragment`."),ht(null))}}var Zn={};function Qn(d,x,P,F,ee,se){{var q=K(d);if(!q){var W="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(W+=" 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 xe=Ma();xe?W+=xe:W+=Gn();var he;d===null?he="null":pt(d)?he="array":d!==void 0&&d.$$typeof===t?(he="<"+(V(d.type)||"Unknown")+" />",W=" Did you accidentally export a JSX literal instead of a component?"):he=typeof d,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,W)}var ve=Aa(d,x,P,ee,se);if(ve==null)return ve;if(q){var Me=x.children;if(Me!==void 0)if(F)if(pt(Me)){for(var mt=0;mt<Me.length;mt++)Xn(Me[mt],d);Object.freeze&&Object.freeze(Me)}else S("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 Xn(Me,d)}if(Ye.call(x,"key")){var it=V(d),Te=Object.keys(x).filter(function(Ua){return Ua!=="key"}),Lr=Te.length>0?"{key: someKey, "+Te.join(": ..., ")+": ...}":"{key: someKey}";if(!Zn[it+Lr]){var Fa=Te.length>0?"{"+Te.join(": ..., ")+": ...}":"{}";S(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Lr,it,
|
|
30
|
+
<%s key={someKey} {...props} />`,Lr,it,Fa,it),Zn[it+Lr]=!0}}return d===n?Na(ve):ka(ve),ve}}function Ia(d,x,P){return Qn(d,x,P,!0)}function La(d,x,P){return Qn(d,x,P,!1)}var Da=La,$a=Ia;At.Fragment=n,At.jsx=Da,At.jsxs=$a}()),At}process.env.NODE_ENV==="production"?Jr.exports=za():Jr.exports=Ha();var M=Jr.exports,Ko={exports:{}};/*!
|
|
31
31
|
Copyright (c) 2018 Jed Watson.
|
|
32
32
|
Licensed under the MIT License (MIT), see
|
|
33
33
|
http://jedwatson.github.io/classnames
|
|
34
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(
|
|
34
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ko);var Va=Ko.exports;const ce=wr(Va);function Jo(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 Xo(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Wa(e,t){const r=+Jo(e);return Xo(e,r+t)}function Ya(e,t){return Wa(e,t*Lt.millisecondsInHour)}function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xr.apply(this,arguments)}function Zo(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ro(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function qa(e){var t=Ga(e,"string");return typeof t=="symbol"?t:String(t)}function Ga(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Qo(e,t,r){var n=v.useRef(e!==void 0),o=v.useState(t),i=o[0],a=o[1],s=e!==void 0,c=n.current;return n.current=s,!s&&c&&i!==t&&a(t),[s?e:i,v.useCallback(function(l){for(var u=arguments.length,f=new Array(u>1?u-1:0),y=1;y<u;y++)f[y-1]=arguments[y];r&&r.apply(void 0,[l].concat(f)),a(l)},[r])]}function Ka(e,t){return Object.keys(t).reduce(function(r,n){var o,i=r,a=i[ro(n)],s=i[n],c=Zo(i,[ro(n),n].map(qa)),l=t[n],u=Qo(s,a,e[l]),f=u[0],y=u[1];return Xr({},c,(o={},o[n]=f,o[l]=y,o))},e)}function Zr(e,t){return Zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Zr(e,t)}function Ja(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zr(e,t)}const Xa=["xxl","xl","lg","md","sm","xs"],Za="xs",Or=Y.createContext({prefixes:{},breakpoints:Xa,minBreakpoint:Za});function et(e,t){const{prefixes:r}=v.useContext(Or);return e||r[t]||t}function Qa(){const{breakpoints:e}=v.useContext(Or);return e}function es(){const{minBreakpoint:e}=v.useContext(Or);return e}function bn(){const{dir:e}=v.useContext(Or);return e==="rtl"}function Ht(e){return e&&e.ownerDocument||document}function ts(e){var t=Ht(e);return t&&t.defaultView||window}function rs(e,t){return ts(e).getComputedStyle(e,t)}var ns=/([A-Z])/g;function os(e){return e.replace(ns,"-$1").toLowerCase()}var is=/^ms-/;function Qt(e){return os(e).replace(is,"-ms-")}var as=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function ss(e){return!!(e&&as.test(e))}function En(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Qt(t))||rs(e).getPropertyValue(Qt(t));Object.keys(t).forEach(function(o){var i=t[o];!i&&i!==0?e.style.removeProperty(Qt(o)):ss(o)?n+=o+"("+i+") ":r+=Qt(o)+": "+i+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var Qr={exports:{}},er={exports:{}},te={};/** @license React v16.13.1
|
|
35
35
|
* react-is.production.min.js
|
|
36
36
|
*
|
|
37
37
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the MIT license found in the
|
|
40
40
|
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var
|
|
41
|
+
*/var no;function cs(){if(no)return te;no=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function _(p){if(typeof p=="object"&&p!==null){var A=p.$$typeof;switch(A){case t:switch(p=p.type,p){case c:case l:case n:case i:case o:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case u:case h:case m:case a:return p;default:return A}}case r:return A}}}function C(p){return _(p)===l}return te.AsyncMode=c,te.ConcurrentMode=l,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=u,te.Fragment=n,te.Lazy=h,te.Memo=m,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=f,te.isAsyncMode=function(p){return C(p)||_(p)===c},te.isConcurrentMode=C,te.isContextConsumer=function(p){return _(p)===s},te.isContextProvider=function(p){return _(p)===a},te.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},te.isForwardRef=function(p){return _(p)===u},te.isFragment=function(p){return _(p)===n},te.isLazy=function(p){return _(p)===h},te.isMemo=function(p){return _(p)===m},te.isPortal=function(p){return _(p)===r},te.isProfiler=function(p){return _(p)===i},te.isStrictMode=function(p){return _(p)===o},te.isSuspense=function(p){return _(p)===f},te.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===l||p===i||p===o||p===f||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===m||p.$$typeof===a||p.$$typeof===s||p.$$typeof===u||p.$$typeof===E||p.$$typeof===T||p.$$typeof===S||p.$$typeof===g)},te.typeOf=_,te}var re={};/** @license React v16.13.1
|
|
42
42
|
* react-is.development.js
|
|
43
43
|
*
|
|
44
44
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the MIT license found in the
|
|
47
47
|
* LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/var
|
|
48
|
+
*/var oo;function us(){return oo||(oo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function _(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===T||b.$$typeof===S||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case l:case n:case i:case o:case f:return _e;default:var Ae=_e&&_e.$$typeof;switch(Ae){case s:case u:case h:case m:case a:return Ae;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,fe=h,V=m,X=r,Q=i,ae=o,ue=f,Oe=!1;function Ee(b){return Oe||(Oe=!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.")),O(b)||C(b)===c}function O(b){return C(b)===l}function R(b){return C(b)===s}function D(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===m}function L(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function de(b){return C(b)===f}re.AsyncMode=p,re.ConcurrentMode=A,re.ContextConsumer=k,re.ContextProvider=J,re.Element=Z,re.ForwardRef=K,re.Fragment=ie,re.Lazy=fe,re.Memo=V,re.Portal=X,re.Profiler=Q,re.StrictMode=ae,re.Suspense=ue,re.isAsyncMode=Ee,re.isConcurrentMode=O,re.isContextConsumer=R,re.isContextProvider=D,re.isElement=$,re.isForwardRef=j,re.isFragment=U,re.isLazy=N,re.isMemo=I,re.isPortal=L,re.isProfiler=H,re.isStrictMode=B,re.isSuspense=de,re.isValidElementType=_,re.typeOf=C}()),re}var io;function ei(){return io||(io=1,process.env.NODE_ENV==="production"?er.exports=cs():er.exports=us()),er.exports}/*
|
|
49
49
|
object-assign
|
|
50
50
|
(c) Sindre Sorhus
|
|
51
51
|
@license MIT
|
|
52
|
-
*/var Dr,
|
|
53
|
-
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var b=de(I,B,j,U,N+"."+B,r);if(b)return b}return null}return E(_)}function X(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(X);if(O===null||s(O))return!0;var _=f(O);if(_){var D=_.call(O),$;if(_!==O.entries){for(;!($=D.next()).done;)if(!X($.value))return!1}else for(;!($=D.next()).done;){var j=$.value;if(j&&!X(j[1]))return!1}}else return!1;return!0;default:return!1}}function Q(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function ae(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Q(_,O)?"symbol":_}function ue(O){if(typeof O>"u"||O===null)return""+O;var _=ae(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function Oe(O){var _=ue(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function Ee(O){return!O.constructor||!O.constructor.name?y:O.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},Br}var zr,lo;function fs(){if(lo)return zr;lo=1;var e=En();function t(){}function r(){}return r.resetWarningCache=t,zr=function(){function n(a,s,c,l,u,f){if(f!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},zr}if(process.env.NODE_ENV!=="production"){var ds=Qo(),ps=!0;Qr.exports=ls()(ds.isElement,ps)}else Qr.exports=fs()();var hs=Qr.exports;const z=wr(hs),fo={disabled:!1};var ms=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.shape({enter:z.number,exit:z.number,appear:z.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&z.oneOfType([z.string,z.shape({enter:z.string,exit:z.string,active:z.string}),z.shape({enter:z.string,enterDone:z.string,enterActive:z.string,exit:z.string,exitDone:z.string,exitActive:z.string})]);const ti=v.createContext(null);var vs=function(t){return t.scrollTop},It="unmounted",Je="exited",ze="entering",Xe="entered",fr="exiting",We=function(e){Ga(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?s?(c=Je,i.appearStatus=ze):c=Xe:n.unmountOnExit||n.mountOnEnter?c=It:c=Je,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===It?{status:Je}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==ze&&a!==Xe&&(i=ze):(a===ze||a===Xe)&&(i=fr)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===ze){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:yt.findDOMNode(this);a&&vs(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Je&&this.setState({status:It})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[yt.findDOMNode(this),s],l=c[0],u=c[1],f=this.getTimeouts(),y=s?f.appear:f.enter;if(!o&&!a||fo.disabled){this.safeSetState({status:Xe},function(){i.props.onEntered(l)});return}this.props.onEnter(l,u),this.safeSetState({status:ze},function(){i.props.onEntering(l,u),i.onTransitionEnd(y,function(){i.safeSetState({status:Xe},function(){i.props.onEntered(l,u)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:yt.findDOMNode(this);if(!i||fo.disabled){this.safeSetState({status:Je},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:fr},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Je},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:yt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],l=c[0],u=c[1];this.props.addEndListener(l,u)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===It)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=Xo(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return v.createElement(ti.Provider,{value:null},typeof a=="function"?a(o,s):v.cloneElement(v.Children.only(a),s))},t}(v.Component);We.contextType=ti;We.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:z.shape({current:typeof Element>"u"?z.any:function(e,t,r,n,o,i){var a=e[t];return z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:z.oneOfType([z.func.isRequired,z.element.isRequired]).isRequired,in:z.bool,mountOnEnter:z.bool,unmountOnExit:z.bool,appear:z.bool,enter:z.bool,exit:z.bool,timeout:function(t){var r=ms;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:z.func,onEnter:z.func,onEntering:z.func,onEntered:z.func,onExit:z.func,onExiting:z.func,onExited:z.func}:{};function vt(){}We.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:vt,onEntering:vt,onEntered:vt,onExit:vt,onExiting:vt,onExited:vt};We.UNMOUNTED=It;We.EXITED=Je;We.ENTERING=ze;We.ENTERED=Xe;We.EXITING=fr;const xr=!!(typeof window<"u"&&window.document&&window.document.createElement);var en=!1,tn=!1;try{var Hr={get passive(){return en=!0},get once(){return tn=en=!0}};xr&&(window.addEventListener("test",Hr,Hr),window.removeEventListener("test",Hr,!0))}catch{}function ri(e,t,r,n){if(n&&typeof n!="boolean"&&!tn){var o=n.once,i=n.capture,a=r;!tn&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,en?n:i)}e.addEventListener(t,r,n)}function ni(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function Qe(e,t,r,n){return ri(e,t,r,n),function(){ni(e,t,r,n)}}function gs(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function ys(e){var t=bn(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function bs(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||gs(e,"transitionend",!0)},t+r),i=Qe(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function oi(e,t,r,n){r==null&&(r=ys(e)||0);var o=bs(e,r,n),i=Qe(e,"transitionend",t);return function(){o(),i()}}function po(e,t){const r=bn(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function ii(e,t){const r=po(e,"transitionDuration"),n=po(e,"transitionDelay"),o=oi(e,i=>{i.target===e&&(o(),t(i))},r+n)}function ai(e){e.offsetHeight}const ho=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Es(e,t){const r=ho(e),n=ho(t);return o=>{r&&r(o),n&&n(o)}}function rt(e,t){return v.useMemo(()=>Es(e,t),[e,t])}function dr(e){return e&&"setState"in e?yt.findDOMNode(e):e??null}const si=v.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...l},u)=>{const f=v.useRef(null),y=rt(f,c),m=A=>{y(dr(A))},h=A=>k=>{A&&f.current&&A(f.current,k)},g=v.useCallback(h(e),[e]),E=v.useCallback(h(t),[t]),T=v.useCallback(h(r),[r]),S=v.useCallback(h(n),[n]),R=v.useCallback(h(o),[o]),C=v.useCallback(h(i),[i]),p=v.useCallback(h(a),[a]);return M.jsx(We,{ref:u,...l,onEnter:g,onEntered:T,onEntering:E,onExit:S,onExited:C,onExiting:R,addEndListener:p,nodeRef:f,children:typeof s=="function"?(A,k)=>s(A,{...k,ref:m}):v.cloneElement(s,{ref:m})})});function ws(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e},[e]),t}function ct(e){const t=ws(e);return v.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function rn(){return v.useState(null)}function wn(){const e=v.useRef(!0),t=v.useRef(()=>e.current);return v.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const Os=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",xs=typeof document<"u",pr=xs||Os?v.useLayoutEffect:v.useEffect,Ts={[ze]:"show",[Xe]:"show"},hr=Y.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},s=v.useCallback((c,l)=>{ai(c),n==null||n(c,l)},[n]);return M.jsx(si,{ref:i,addEndListener:ii,...a,onEnter:s,childRef:t.ref,children:(c,l)=>Y.cloneElement(t,{...l,className:ce("fade",e,t.props.className,Ts[c],r[c])})})});hr.displayName="Fade";function Ss(e){const t=v.useRef(e);return t.current=e,t}function ci(e){const t=Ss(e);v.useEffect(()=>()=>t.current(),[])}const nn=2**31-1;function ui(e,t,r){const n=r-Date.now();e.current=n<=nn?setTimeout(t,n):setTimeout(()=>ui(e,t,r),nn)}function Cs(){const e=wn(),t=v.useRef();return ci(()=>clearTimeout(t.current)),v.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=nn?t.current=setTimeout(o,i):ui(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var mo=Object.prototype.hasOwnProperty;function vo(e,t,r){for(r of e.keys())if(Dt(r,t))return r}function Dt(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Dt(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=vo(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=vo(t,o),!o)||!Dt(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(mo.call(e,r)&&++n&&!mo.call(t,r)||!(r in t)||!Dt(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function Rs(e){const t=wn();return[e[0],v.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var Se="top",Ne="bottom",Ie="right",Ce="left",On="auto",Vt=[Se,Ne,Ie,Ce],bt="start",Ut="end",_s="clippingParents",li="viewport",Mt="popper",Ps="reference",go=Vt.reduce(function(e,t){return e.concat([t+"-"+bt,t+"-"+Ut])},[]),fi=[].concat(Vt,[On]).reduce(function(e,t){return e.concat([t,t+"-"+bt,t+"-"+Ut])},[]),As="beforeRead",Ms="read",js="afterRead",ks="beforeMain",Ns="main",Is="afterMain",Ls="beforeWrite",Ds="write",$s="afterWrite",Fs=[As,Ms,js,ks,Ns,Is,Ls,Ds,$s];function De(e){return e.split("-")[0]}function Pe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ut(e){var t=Pe(e).Element;return e instanceof t||e instanceof Element}function $e(e){var t=Pe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function xn(e){if(typeof ShadowRoot>"u")return!1;var t=Pe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var at=Math.max,mr=Math.min,Et=Math.round;function on(){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 di(){return!/^((?!chrome|android).)*safari/i.test(on())}function wt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&$e(e)&&(o=e.offsetWidth>0&&Et(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Et(n.height)/e.offsetHeight||1);var a=ut(e)?Pe(e):window,s=a.visualViewport,c=!di()&&r,l=(n.left+(c&&s?s.offsetLeft:0))/o,u=(n.top+(c&&s?s.offsetTop:0))/i,f=n.width/o,y=n.height/i;return{width:f,height:y,top:u,right:l+f,bottom:u+y,left:l,x:l,y:u}}function Tn(e){var t=wt(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function pi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&xn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function tt(e){return e?(e.nodeName||"").toLowerCase():null}function He(e){return Pe(e).getComputedStyle(e)}function Us(e){return["table","td","th"].indexOf(tt(e))>=0}function nt(e){return((ut(e)?e.ownerDocument:e.document)||window.document).documentElement}function Tr(e){return tt(e)==="html"?e:e.assignedSlot||e.parentNode||(xn(e)?e.host:null)||nt(e)}function yo(e){return!$e(e)||He(e).position==="fixed"?null:e.offsetParent}function Bs(e){var t=/firefox/i.test(on()),r=/Trident/i.test(on());if(r&&$e(e)){var n=He(e);if(n.position==="fixed")return null}var o=Tr(e);for(xn(o)&&(o=o.host);$e(o)&&["html","body"].indexOf(tt(o))<0;){var i=He(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Wt(e){for(var t=Pe(e),r=yo(e);r&&Us(r)&&He(r).position==="static";)r=yo(r);return r&&(tt(r)==="html"||tt(r)==="body"&&He(r).position==="static")?t:r||Bs(e)||t}function Sn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $t(e,t,r){return at(e,mr(t,r))}function zs(e,t,r){var n=$t(e,t,r);return n>r?r:n}function hi(){return{top:0,right:0,bottom:0,left:0}}function mi(e){return Object.assign({},hi(),e)}function vi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Hs=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,mi(typeof t!="number"?t:vi(t,Vt))};function Vs(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=De(r.placement),c=Sn(s),l=[Ce,Ie].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=Hs(o.padding,r),y=Tn(i),m=c==="y"?Se:Ce,h=c==="y"?Ne:Ie,g=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],E=a[c]-r.rects.reference[c],T=Wt(i),S=T?c==="y"?T.clientHeight||0:T.clientWidth||0:0,R=g/2-E/2,C=f[m],p=S-y[u]-f[h],A=S/2-y[u]/2+R,k=$t(C,A,p),J=c;r.modifiersData[n]=(t={},t[J]=k,t.centerOffset=k-A,t)}}function Ws(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||pi(t.elements.popper,o)&&(t.elements.arrow=o))}const Ys={name:"arrow",enabled:!0,phase:"main",fn:Vs,effect:Ws,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ot(e){return e.split("-")[1]}var qs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gs(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Et(r*o)/o||0,y:Et(n*o)/o||0}}function bo(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,y=a.x,m=y===void 0?0:y,h=a.y,g=h===void 0?0:h,E=typeof u=="function"?u({x:m,y:g}):{x:m,y:g};m=E.x,g=E.y;var T=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),R=Ce,C=Se,p=window;if(l){var A=Wt(r),k="clientHeight",J="clientWidth";if(A===Pe(r)&&(A=nt(r),He(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",J="scrollWidth")),A=A,o===Se||(o===Ce||o===Ie)&&i===Ut){C=Ne;var Z=f&&A===p&&p.visualViewport?p.visualViewport.height:A[k];g-=Z-n.height,g*=c?1:-1}if(o===Ce||(o===Se||o===Ne)&&i===Ut){R=Ie;var K=f&&A===p&&p.visualViewport?p.visualViewport.width:A[J];m-=K-n.width,m*=c?1:-1}}var ie=Object.assign({position:s},l&&qs),fe=u===!0?Gs({x:m,y:g},Pe(r)):{x:m,y:g};if(m=fe.x,g=fe.y,c){var V;return Object.assign({},ie,(V={},V[C]=S?"0":"",V[R]=T?"0":"",V.transform=(p.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",V))}return Object.assign({},ie,(t={},t[C]=S?g+"px":"",t[R]=T?m+"px":"",t.transform="",t))}function Ks(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,l={placement:De(t.placement),variation:Ot(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,bo(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,bo(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Js={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ks,data:{}};var tr={passive:!0};function Xs(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,c=Pe(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",r.update,tr)}),s&&c.addEventListener("resize",r.update,tr),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",r.update,tr)}),s&&c.removeEventListener("resize",r.update,tr)}}const Zs={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xs,data:{}};var Qs={left:"right",right:"left",bottom:"top",top:"bottom"};function or(e){return e.replace(/left|right|bottom|top/g,function(t){return Qs[t]})}var ec={start:"end",end:"start"};function Eo(e){return e.replace(/start|end/g,function(t){return ec[t]})}function Cn(e){var t=Pe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Rn(e){return wt(nt(e)).left+Cn(e).scrollLeft}function tc(e,t){var r=Pe(e),n=nt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=di();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Rn(e),y:c}}function rc(e){var t,r=nt(e),n=Cn(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=at(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=at(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Rn(e),c=-n.scrollTop;return He(o||r).direction==="rtl"&&(s+=at(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function _n(e){var t=He(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function gi(e){return["html","body","#document"].indexOf(tt(e))>=0?e.ownerDocument.body:$e(e)&&_n(e)?e:gi(Tr(e))}function Ft(e,t){var r;t===void 0&&(t=[]);var n=gi(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Pe(n),a=o?[i].concat(i.visualViewport||[],_n(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Ft(Tr(a)))}function an(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nc(e,t){var r=wt(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function wo(e,t,r){return t===li?an(tc(e,r)):ut(t)?nc(t,r):an(rc(nt(e)))}function oc(e){var t=Ft(Tr(e)),r=["absolute","fixed"].indexOf(He(e).position)>=0,n=r&&$e(e)?Wt(e):e;return ut(n)?t.filter(function(o){return ut(o)&&pi(o,n)&&tt(o)!=="body"}):[]}function ic(e,t,r,n){var o=t==="clippingParents"?oc(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,l){var u=wo(e,l,n);return c.top=at(u.top,c.top),c.right=mr(u.right,c.right),c.bottom=mr(u.bottom,c.bottom),c.left=at(u.left,c.left),c},wo(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function yi(e){var t=e.reference,r=e.element,n=e.placement,o=n?De(n):null,i=n?Ot(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case Se:c={x:a,y:t.y-r.height};break;case Ne:c={x:a,y:t.y+t.height};break;case Ie:c={x:t.x+t.width,y:s};break;case Ce:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?Sn(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case bt:c[l]=c[l]-(t[u]/2-r[u]/2);break;case Ut:c[l]=c[l]+(t[u]/2-r[u]/2);break}}return c}function Bt(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?_s:s,l=r.rootBoundary,u=l===void 0?li:l,f=r.elementContext,y=f===void 0?Mt:f,m=r.altBoundary,h=m===void 0?!1:m,g=r.padding,E=g===void 0?0:g,T=mi(typeof E!="number"?E:vi(E,Vt)),S=y===Mt?Ps:Mt,R=e.rects.popper,C=e.elements[h?S:y],p=ic(ut(C)?C:C.contextElement||nt(e.elements.popper),c,u,a),A=wt(e.elements.reference),k=yi({reference:A,element:R,strategy:"absolute",placement:o}),J=an(Object.assign({},R,k)),Z=y===Mt?J:A,K={top:p.top-Z.top+T.top,bottom:Z.bottom-p.bottom+T.bottom,left:p.left-Z.left+T.left,right:Z.right-p.right+T.right},ie=e.modifiersData.offset;if(y===Mt&&ie){var fe=ie[o];Object.keys(K).forEach(function(V){var X=[Ie,Ne].indexOf(V)>=0?1:-1,Q=[Se,Ne].indexOf(V)>=0?"y":"x";K[V]+=fe[Q]*X})}return K}function ac(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,l=c===void 0?fi:c,u=Ot(n),f=u?s?go:go.filter(function(h){return Ot(h)===u}):Vt,y=f.filter(function(h){return l.indexOf(h)>=0});y.length===0&&(y=f);var m=y.reduce(function(h,g){return h[g]=Bt(e,{placement:g,boundary:o,rootBoundary:i,padding:a})[De(g)],h},{});return Object.keys(m).sort(function(h,g){return m[h]-m[g]})}function sc(e){if(De(e)===On)return[];var t=or(e);return[Eo(e),t,Eo(t)]}function cc(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,c=r.fallbackPlacements,l=r.padding,u=r.boundary,f=r.rootBoundary,y=r.altBoundary,m=r.flipVariations,h=m===void 0?!0:m,g=r.allowedAutoPlacements,E=t.options.placement,T=De(E),S=T===E,R=c||(S||!h?[or(E)]:sc(E)),C=[E].concat(R).reduce(function(j,U){return j.concat(De(U)===On?ac(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:g}):U)},[]),p=t.rects.reference,A=t.rects.popper,k=new Map,J=!0,Z=C[0],K=0;K<C.length;K++){var ie=C[K],fe=De(ie),V=Ot(ie)===bt,X=[Se,Ne].indexOf(fe)>=0,Q=X?"width":"height",ae=Bt(t,{placement:ie,boundary:u,rootBoundary:f,altBoundary:y,padding:l}),ue=X?V?Ie:Ce:V?Ne:Se;p[Q]>A[Q]&&(ue=or(ue));var Oe=or(ue),Ee=[];if(i&&Ee.push(ae[fe]<=0),s&&Ee.push(ae[ue]<=0,ae[Oe]<=0),Ee.every(function(j){return j})){Z=ie,J=!1;break}k.set(ie,Ee)}if(J)for(var O=h?3:1,_=function(U){var N=C.find(function(I){var L=k.get(I);if(L)return L.slice(0,U).every(function(H){return H})});if(N)return Z=N,"break"},D=O;D>0;D--){var $=_(D);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const uc={name:"flip",enabled:!0,phase:"main",fn:cc,requiresIfExists:["offset"],data:{_skip:!1}};function Oo(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function xo(e){return[Se,Ie,Ne,Ce].some(function(t){return e[t]>=0})}function lc(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Bt(t,{elementContext:"reference"}),s=Bt(t,{altBoundary:!0}),c=Oo(a,n),l=Oo(s,o,i),u=xo(c),f=xo(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const fc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:lc};function dc(e,t,r){var n=De(e),o=[Ce,Se].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ce,Ie].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function pc(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=fi.reduce(function(u,f){return u[f]=dc(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}const hc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pc};function mc(e){var t=e.state,r=e.name;t.modifiersData[r]=yi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vc={name:"popperOffsets",enabled:!0,phase:"read",fn:mc,data:{}};function gc(e){return e==="x"?"y":"x"}function yc(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,f=r.padding,y=r.tether,m=y===void 0?!0:y,h=r.tetherOffset,g=h===void 0?0:h,E=Bt(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),T=De(t.placement),S=Ot(t.placement),R=!S,C=Sn(T),p=gc(C),A=t.modifiersData.popperOffsets,k=t.rects.reference,J=t.rects.popper,Z=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,K=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,fe={x:0,y:0};if(A){if(i){var V,X=C==="y"?Se:Ce,Q=C==="y"?Ne:Ie,ae=C==="y"?"height":"width",ue=A[C],Oe=ue+E[X],Ee=ue-E[Q],O=m?-J[ae]/2:0,_=S===bt?k[ae]:J[ae],D=S===bt?-J[ae]:-k[ae],$=t.elements.arrow,j=m&&$?Tn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:hi(),N=U[X],I=U[Q],L=$t(0,k[ae],j[ae]),H=R?k[ae]/2-O-L-N-K.mainAxis:_-L-N-K.mainAxis,B=R?-k[ae]/2+O+L+I+K.mainAxis:D+L+I+K.mainAxis,de=t.elements.arrow&&Wt(t.elements.arrow),b=de?C==="y"?de.clientTop||0:de.clientLeft||0:0,ge=(V=ie==null?void 0:ie[C])!=null?V:0,Re=ue+H-ge-b,Ae=ue+B-ge,Ye=$t(m?mr(Oe,Re):Oe,ue,m?at(Ee,Ae):Ee);A[C]=Ye,fe[C]=Ye-ue}if(s){var St,Jt=C==="x"?Se:Ce,ft=C==="x"?Ne:Ie,Ue=A[p],dt=p==="y"?"height":"width",pt=Ue+E[Jt],Xt=Ue-E[ft],Ct=[Se,Ce].indexOf(T)!==-1,Rt=(St=ie==null?void 0:ie[p])!=null?St:0,_t=Ct?pt:Ue-k[dt]-J[dt]-Rt+K.altAxis,qe=Ct?Ue+k[dt]+J[dt]-Rt-K.altAxis:Xt,Zt=m&&Ct?zs(_t,Ue,qe):$t(m?_t:pt,Ue,m?qe:Xt);A[p]=Zt,fe[p]=Zt-Ue}t.modifiersData[n]=fe}}const bc={name:"preventOverflow",enabled:!0,phase:"main",fn:yc,requiresIfExists:["offset"]};function Ec(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wc(e){return e===Pe(e)||!$e(e)?Cn(e):Ec(e)}function Oc(e){var t=e.getBoundingClientRect(),r=Et(t.width)/e.offsetWidth||1,n=Et(t.height)/e.offsetHeight||1;return r!==1||n!==1}function xc(e,t,r){r===void 0&&(r=!1);var n=$e(t),o=$e(t)&&Oc(t),i=nt(t),a=wt(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((tt(t)!=="body"||_n(i))&&(s=wc(t)),$e(t)?(c=wt(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Rn(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Tc(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function Sc(e){var t=Tc(e);return Fs.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Cc(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Rc(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var To={placement:"bottom",modifiers:[],strategy:"absolute"};function So(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function _c(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?To:o;return function(s,c,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},To,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],y=!1,m={state:u,setOptions:function(T){var S=typeof T=="function"?T(u.options):T;g(),u.options=Object.assign({},i,u.options,S),u.scrollParents={reference:ut(s)?Ft(s):s.contextElement?Ft(s.contextElement):[],popper:Ft(c)};var R=Sc(Rc([].concat(n,u.options.modifiers)));return u.orderedModifiers=R.filter(function(C){return C.enabled}),h(),m.update()},forceUpdate:function(){if(!y){var T=u.elements,S=T.reference,R=T.popper;if(So(S,R)){u.rects={reference:xc(S,Wt(R),u.options.strategy==="fixed"),popper:Tn(R)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(K){return u.modifiersData[K.name]=Object.assign({},K.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var p=u.orderedModifiers[C],A=p.fn,k=p.options,J=k===void 0?{}:k,Z=p.name;typeof A=="function"&&(u=A({state:u,options:J,name:Z,instance:m})||u)}}}},update:Cc(function(){return new Promise(function(E){m.forceUpdate(),E(u)})}),destroy:function(){g(),y=!0}};if(!So(s,c))return m;m.setOptions(l).then(function(E){!y&&l.onFirstUpdate&&l.onFirstUpdate(E)});function h(){u.orderedModifiers.forEach(function(E){var T=E.name,S=E.options,R=S===void 0?{}:S,C=E.effect;if(typeof C=="function"){var p=C({state:u,name:T,instance:m,options:R}),A=function(){};f.push(p||A)}})}function g(){f.forEach(function(E){return E()}),f=[]}return m}}const Pc=_c({defaultModifiers:[fc,vc,Js,Zs,hc,uc,bc,Ys]}),Ac=["enabled","placement","strategy","modifiers"];function Mc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const jc={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},kc={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const i=n.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",i?`${i},${r.id}`:r.id)}}},Nc=[];function bi(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=Nc}=r,s=Mc(r,Ac);const c=v.useRef(a),l=v.useRef(),u=v.useCallback(()=>{var E;(E=l.current)==null||E.update()},[]),f=v.useCallback(()=>{var E;(E=l.current)==null||E.forceUpdate()},[]),[y,m]=Rs(v.useState({placement:o,update:u,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),h=v.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const T={},S={};Object.keys(E.elements).forEach(R=>{T[R]=E.styles[R],S[R]=E.attributes[R]}),m({state:E,styles:T,attributes:S,update:u,forceUpdate:f,placement:E.placement})}}),[u,f,m]),g=v.useMemo(()=>(Dt(c.current,a)||(c.current=a),c.current),[a]);return v.useEffect(()=>{!l.current||!n||l.current.setOptions({placement:o,strategy:i,modifiers:[...g,h,jc]})},[i,o,h,n,g]),v.useEffect(()=>{if(!(!n||e==null||t==null))return l.current=Pc(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...g,kc,h]})),()=>{l.current!=null&&(l.current.destroy(),l.current=void 0,m(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),y}function vr(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var Ic=process.env.NODE_ENV!=="production",Ei=function(){};if(Ic){var Lc=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}};Ei=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||Lc.apply(null,[t].concat(r))}}var Dc=Ei;const Pn=wr(Dc),Co=()=>{};function $c(e){return e.button===0}function Fc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ir=e=>e&&("current"in e?e.current:e),Ro={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function wi(e,t=Co,{disabled:r,clickTrigger:n="click"}={}){const o=v.useRef(!1),i=v.useRef(!1),a=v.useCallback(l=>{const u=ir(e);Pn(!!u,"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"),o.current=!u||Fc(l)||!$c(l)||!!vr(u,l.target)||i.current,i.current=!1},[e]),s=ct(l=>{const u=ir(e);u&&vr(u,l.target)&&(i.current=!0)}),c=ct(l=>{o.current||t(l)});v.useEffect(()=>{var l,u;if(r||e==null)return;const f=Ht(ir(e)),y=f.defaultView||window;let m=(l=y.event)!=null?l:(u=y.parent)==null?void 0:u.event,h=null;Ro[n]&&(h=Qe(f,Ro[n],s,!0));const g=Qe(f,n,a,!0),E=Qe(f,n,S=>{if(S===m){m=void 0;return}c(S)});let T=[];return"ontouchstart"in f.documentElement&&(T=[].slice.call(f.body.children).map(S=>Qe(S,"mousemove",Co))),()=>{h==null||h(),g(),E(),T.forEach(S=>S())}},[e,r,n,a,s,c])}function Uc(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Bc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Oi({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var l,u,f,y,m;const h=Uc(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:Bc(Object.assign({},h,{eventListeners:{enabled:t,options:(l=h.eventListeners)==null?void 0:l.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},(u=h.preventOverflow)==null?void 0:u.options):(f=h.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:o},(y=h.offset)==null?void 0:y.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(m=h.arrow)==null?void 0:m.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}const xi=v.createContext(xr?window:void 0);xi.Provider;function Ti(){return v.useContext(xi)}const Si=Y.createContext({}),An=Y.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=v.useMemo(()=>({controlId:e}),[e]);return M.jsx(Si.Provider,{value:o,children:M.jsx(t,{...r,ref:n})})});An.displayName="FormGroup";const Mn=Y.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=et(e,"form-floating"),M.jsxs(An,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,M.jsx("label",{htmlFor:n,children:o})]})));Mn.displayName="FloatingLabel";const Vr=(e,t)=>xr?e==null?(t||Ht()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function sn(e,t){const r=Ti(),[n,o]=v.useState(()=>Vr(e,r==null?void 0:r.document));if(!n){const i=Vr(e);i&&o(i)}return v.useEffect(()=>{},[t,n]),v.useEffect(()=>{const i=Vr(e);i!==n&&o(i)},[e,n]),n}function zc({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=v.useRef(null),a=v.useRef(t),s=ct(r);v.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=rt(i,e.ref),l=v.cloneElement(e,{ref:c});return t?l:o||!a.current&&n?null:l}function Ci(e){return e.code==="Escape"||e.keyCode===27}function Hc(){const e=Y.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const Vc=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function Wc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Yc(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,l=Wc(e,Vc);const{major:u}=Hc(),f=u>=19?c.props.ref:c.ref,y=v.useRef(null),m=rt(y,typeof c=="function"?null:f),h=A=>k=>{A&&y.current&&A(y.current,k)},g=v.useCallback(h(t),[t]),E=v.useCallback(h(r),[r]),T=v.useCallback(h(n),[n]),S=v.useCallback(h(o),[o]),R=v.useCallback(h(i),[i]),C=v.useCallback(h(a),[a]),p=v.useCallback(h(s),[s]);return Object.assign({},l,{nodeRef:y},t&&{onEnter:g},r&&{onEntering:E},n&&{onEntered:T},o&&{onExit:S},i&&{onExiting:R},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(A,k)=>c(A,Object.assign({},k,{ref:m})):v.cloneElement(c,{ref:m})})}const qc=["component"];function Gc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Kc=Y.forwardRef((e,t)=>{let{component:r}=e,n=Gc(e,qc);const o=Yc(n);return M.jsx(r,Object.assign({ref:t},o))});function Jc({in:e,onTransition:t}){const r=v.useRef(null),n=v.useRef(!0),o=ct(t);return pr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),pr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function Xc({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=v.useState(!t);t&&i&&a(!1);const s=Jc({in:!!t,onTransition:l=>{const u=()=>{l.isStale()||(l.in?n==null||n(l.element,l.initial):(a(!0),r==null||r(l.element)))};Promise.resolve(o(l)).then(u,f=>{throw l.in||a(!0),f})}}),c=rt(s,e.ref);return i&&!t?null:v.cloneElement(e,{ref:c})}function Ri(e,t,r){return e?M.jsx(Kc,Object.assign({},r,{component:e})):t?M.jsx(Xc,Object.assign({},r,{transition:t})):M.jsx(zc,Object.assign({},r))}function cn(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const Zc=()=>{};function Qc(e,t,{disabled:r,clickTrigger:n}={}){const o=t||Zc;wi(e,o,{disabled:r,clickTrigger:n});const i=ct(a=>{Ci(a)&&o(a)});v.useEffect(()=>{if(r||e==null)return;const a=Ht(ir(e));let s=(a.defaultView||window).event;const c=Qe(a,"keyup",l=>{if(l===s){s=void 0;return}i(l)});return()=>{c()}},[e,r,i])}const _i=Y.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:i,popperConfig:a={},transition:s,runTransition:c}=e,[l,u]=rn(),[f,y]=rn(),m=rt(u,t),h=sn(e.container),g=sn(e.target),[E,T]=v.useState(!e.show),S=bi(g,l,Oi({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:f,popperConfig:a}));e.show&&E&&T(!1);const R=(...ie)=>{T(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(Qc(l,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:A,onEnter:k,onEntering:J,onEntered:Z}=e;let K=e.children(Object.assign({},S.attributes.popper,{style:S.styles.popper,ref:m}),{popper:S,placement:o,show:!!e.show,arrowProps:Object.assign({},S.attributes.arrow,{style:S.styles.arrow,ref:y})});return K=Ri(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:p,onExiting:A,onExited:R,onEnter:k,onEntering:J,onEntered:Z}),h?yt.createPortal(K,h):null});_i.displayName="Overlay";const Pi=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=et(t,"popover-header"),M.jsx(r,{ref:o,className:ce(e,t),...n})));Pi.displayName="PopoverHeader";const jn=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=et(t,"popover-body"),M.jsx(r,{ref:o,className:ce(e,t),...n})));jn.displayName="PopoverBody";function Ai(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Mi(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const eu=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:l,...u},f)=>{const y=et(e,"popover"),m=yn(),[h]=(t==null?void 0:t.split("-"))||[],g=Ai(h,m);let E=n;return l&&!s&&(E={...n,...Mi(c==null?void 0:c.strategy)}),M.jsxs("div",{ref:f,role:"tooltip",style:E,"x-placement":h,className:ce(r,y,h&&`bs-popover-${g}`),...u,children:[M.jsx("div",{className:"popover-arrow",...a}),i?M.jsx(jn,{children:o}):o]})}),ji=Object.assign(eu,{Header:Pi,Body:jn,POPPER_OFFSET:[0,8]}),ki=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...l},u)=>{e=et(e,"tooltip");const f=yn(),[y]=(t==null?void 0:t.split("-"))||[],m=Ai(y,f);let h=n;return c&&!a&&(h={...n,...Mi(s==null?void 0:s.strategy)}),M.jsxs("div",{ref:u,style:h,role:"tooltip","x-placement":y,className:ce(r,e,`bs-tooltip-${m}`),...l,children:[M.jsx("div",{className:"tooltip-arrow",...i}),M.jsx("div",{className:`${e}-inner`,children:o})]})});ki.displayName="Tooltip";const kn=Object.assign(ki,{TOOLTIP_OFFSET:[0,6]});function tu(e){const t=v.useRef(null),r=et(void 0,"popover"),n=et(void 0,"tooltip"),o=v.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(cn(t.current,r))return ji.POPPER_OFFSET;if(cn(t.current,n))return kn.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function ru(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(dr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(dr(o)))}const Ni=Y.forwardRef(({children:e,transition:t=hr,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=v.useRef({}),[l,u]=v.useState(null),[f,y]=tu(a.offset),m=rt(s,f),h=t===!0?hr:t||void 0,g=ct(E=>{u(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return pr(()=>{l&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[l,a.target]),v.useEffect(()=>{i||u(null)},[i]),M.jsx(_i,{...a,ref:m,popperConfig:{...r,modifiers:y.concat(r.modifiers||[]),onFirstUpdate:g},transition:h,rootClose:n,placement:o,show:i,children:(E,{arrowProps:T,popper:S,show:R})=>{var C,p;ru(E,T);const A=S==null?void 0:S.placement,k=Object.assign(c.current,{state:S==null?void 0:S.state,scheduleUpdate:S==null?void 0:S.update,placement:A,outOfBoundaries:(S==null||(C=S.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!l;return typeof e=="function"?e({...E,placement:A,show:R,...!t&&R&&{className:"show"},popper:k,arrowProps:T,hasDoneInitialMeasure:J}):Y.cloneElement(e,{...E,placement:A,arrowProps:T,popper:k,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&R&&"show"),style:{...e.props.style,...E.style}})}})});Ni.displayName="Overlay";function nu(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function _o(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!vr(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const Ii=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:l=c&&c.indexOf("auto")!==-1,...u})=>{const f=v.useRef(null),y=rt(f,r.ref),m=Cs(),h=v.useRef(""),[g,E]=Zo(o,i,a),T=nu(s),{onFocus:S,onBlur:R,onClick:C}=typeof r!="function"?Y.Children.only(r).props:{},p=Q=>{y(dr(Q))},A=v.useCallback(()=>{if(m.clear(),h.current="show",!T.show){E(!0);return}m.set(()=>{h.current==="show"&&E(!0)},T.show)},[T.show,E,m]),k=v.useCallback(()=>{if(m.clear(),h.current="hide",!T.hide){E(!1);return}m.set(()=>{h.current==="hide"&&E(!1)},T.hide)},[T.hide,E,m]),J=v.useCallback((...Q)=>{A(),S==null||S(...Q)},[A,S]),Z=v.useCallback((...Q)=>{k(),R==null||R(...Q)},[k,R]),K=v.useCallback((...Q)=>{E(!g),C==null||C(...Q)},[C,E,g]),ie=v.useCallback((...Q)=>{_o(A,Q,"fromElement")},[A]),fe=v.useCallback((...Q)=>{_o(k,Q,"toElement")},[k]),V=e==null?[]:[].concat(e),X={ref:p};return V.indexOf("click")!==-1&&(X.onClick=K),V.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),V.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&Pn(V.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.'),X.onMouseOver=ie,X.onMouseOut=fe),M.jsxs(M.Fragment,{children:[typeof r=="function"?r(X):v.cloneElement(r,X),M.jsx(Ni,{...u,show:g,onHide:k,flip:l,placement:c,popperConfig:n,target:f.current,children:t})]})};var Li={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Po=v.createContext&&v.createContext(Li),ou=["attr","size","title"];function iu(e,t){if(e==null)return{};var r=au(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function au(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(this,arguments)}function Ao(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function yr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ao(Object(r),!0).forEach(function(n){su(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ao(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function su(e,t,r){return t=cu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){var t=uu(e,"string");return typeof t=="symbol"?t:t+""}function uu(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Di(e){return e&&e.map((t,r)=>v.createElement(t.tag,yr({key:r},t.attr),Di(t.child)))}function pe(e){return t=>v.createElement(lu,gr({attr:yr({},e.attr)},t),Di(e.child))}function lu(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=iu(e,ou),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),v.createElement("svg",gr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:yr(yr({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&v.createElement("title",null,i),e.children)};return Po!==void 0?v.createElement(Po.Consumer,null,r=>t(r)):t(Li)}function fu(e){return pe({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 du(e){return pe({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 pu(e){return pe({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 hu(e){return pe({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 mu(e){return pe({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 vu(e){return pe({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 gu(e){return pe({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 yu(e){return pe({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 bu(e){return pe({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 Eu(e){return pe({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 wu(e){return pe({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 Ou(e){return pe({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 xu(e){return pe({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 Tu(e){return pe({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 Su(e){return pe({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 Cu(e){return pe({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 Ru(e){return pe({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 _u(e){return pe({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 $i(e){return pe({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 Pu(e){return pe({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 Au(e){return pe({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 Nn=v.createContext({cookieDomain:"",axiosOptions:{},LinkComponent:{},NavigateComponent:()=>null,language:"",axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{},errorBoundaryTexts:{},widgetTexts:{}}),Mu=v.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),ju=v.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let ku={data:""},Nu=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||ku,Iu=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Lu=/\/\*[^]*?\*\/| +/g,Mo=/\n+/g,Ze=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+a+";":n+=i[1]=="f"?Ze(a,i):i+"{"+Ze(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Ze(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Ze.p?Ze.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},Be={},Fi=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+Fi(e[r]);return t}return e},Du=(e,t,r,n,o)=>{let i=Fi(e),a=Be[i]||(Be[i]=(c=>{let l=0,u=11;for(;l<c.length;)u=101*u+c.charCodeAt(l++)>>>0;return"go"+u})(i));if(!Be[a]){let c=i!==e?e:(l=>{let u,f,y=[{}];for(;u=Iu.exec(l.replace(Lu,""));)u[4]?y.shift():u[3]?(f=u[3].replace(Mo," ").trim(),y.unshift(y[0][f]=y[0][f]||{})):y[0][u[1]]=u[2].replace(Mo," ").trim();return y[0]})(e);Be[a]=Ze(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&Be.g?Be.g:null;return r&&(Be.g=Be[a]),((c,l,u,f)=>{f?l.data=l.data.replace(f,c):l.data.indexOf(c)===-1&&(l.data=u?c+l.data:l.data+c)})(Be[a],t,n,s),a},$u=(e,t,r)=>e.reduce((n,o,i)=>{let a=t[i];if(a&&a.call){let s=a(r),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=c?"."+c:s&&typeof s=="object"?s.props?"":Ze(s,""):s===!1?"":s}return n+o+(a??"")},"");function Sr(e){let t=this||{},r=e.call?e(t.p):e;return Du(r.unshift?r.raw?$u(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Nu(t.target),t.g,t.o,t.k)}let Ui,un,ln;Sr.bind({g:1});let Ve=Sr.bind({k:1});function Fu(e,t,r,n){Ze.p=t,Ui=e,un=r,ln=n}function ot(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),c=s.className||o.className;r.p=Object.assign({theme:un&&un()},s),r.o=/ *go\d+/.test(c),s.className=Sr.apply(r,n)+(c?" "+c:"");let l=e;return e[0]&&(l=s.as||e,delete s.as),ln&&l[0]&&ln(s),Ui(l,s)}return o}}var Uu=e=>typeof e=="function",br=(e,t)=>Uu(e)?e(t):e,Bu=(()=>{let e=0;return()=>(++e).toString()})(),Bi=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),zu=20,ar=new Map,Hu=1e3,jo=e=>{if(ar.has(e))return;let t=setTimeout(()=>{ar.delete(e),lt({type:4,toastId:e})},Hu);ar.set(e,t)},Vu=e=>{let t=ar.get(e);t&&clearTimeout(t)},fn=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,zu)};case 1:return t.toast.id&&Vu(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:r}=t;return e.toasts.find(i=>i.id===r.id)?fn(e,{type:1,toast:r}):fn(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?jo(n):e.toasts.forEach(i=>{jo(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===n||n===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},sr=[],cr={toasts:[],pausedAt:void 0},lt=e=>{cr=fn(cr,e),sr.forEach(t=>{t(cr)})},Wu={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Yu=(e={})=>{let[t,r]=v.useState(cr);v.useEffect(()=>(sr.push(r),()=>{let o=sr.indexOf(r);o>-1&&sr.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||Wu[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},qu=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||Bu()}),Yt=e=>(t,r)=>{let n=qu(t,e,r);return lt({type:2,toast:n}),n.id},_e=(e,t)=>Yt("blank")(e,t);_e.error=Yt("error");_e.success=Yt("success");_e.loading=Yt("loading");_e.custom=Yt("custom");_e.dismiss=e=>{lt({type:3,toastId:e})};_e.remove=e=>lt({type:4,toastId:e});_e.promise=(e,t,r)=>{let n=_e.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(_e.success(br(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{_e.error(br(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var Gu=(e,t)=>{lt({type:1,toast:{id:e,height:t}})},Ku=()=>{lt({type:5,time:Date.now()})},Ju=e=>{let{toasts:t,pausedAt:r}=Yu(e);v.useEffect(()=>{if(r)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(c<0){s.visible&&_e.dismiss(s.id);return}return setTimeout(()=>_e.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=v.useCallback(()=>{r&<({type:6,time:Date.now()})},[r]),o=v.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:l}=a||{},u=t.filter(m=>(m.position||l)===(i.position||l)&&m.height),f=u.findIndex(m=>m.id===i.id),y=u.filter((m,h)=>h<f&&m.visible).length;return u.filter(m=>m.visible).slice(...s?[y+1]:[0,y]).reduce((m,h)=>m+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:Gu,startPause:Ku,endPause:n,calculateOffset:o}}},Xu=Ve`
|
|
52
|
+
*/var Dr,ao;function ls(){if(ao)return Dr;ao=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(u){l[u]=u}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Dr=o()?Object.assign:function(i,a){for(var s,c=n(i),l,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){l=e(s);for(var y=0;y<l.length;y++)r.call(s,l[y])&&(c[l[y]]=s[l[y]])}}return c},Dr}var $r,so;function wn(){if(so)return $r;so=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $r=e,$r}var Fr,co;function ti(){return co||(co=1,Fr=Function.call.bind(Object.prototype.hasOwnProperty)),Fr}var Ur,uo;function fs(){if(uo)return Ur;uo=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=wn(),r={},n=ti();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,l){if(process.env.NODE_ENV!=="production"){for(var u in i)if(n(i,u)){var f;try{if(typeof i[u]!="function"){var y=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}f=i[u](a,u,c,s,null,t)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var m=l?l():"";e("Failed "+s+" type: "+f.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Ur=o,Ur}var Br,lo;function ds(){if(lo)return Br;lo=1;var e=ei(),t=ls(),r=wn(),n=ti(),o=fs(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Br=function(s,c){var l=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(O){var R=O&&(l&&O[l]||O[u]);if(typeof R=="function")return R}var y="<<anonymous>>",m={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:S(),arrayOf:_,element:C(),elementType:p(),instanceOf:A,node:K(),objectOf:J,oneOf:k,oneOfType:Z,shape:fe,exact:V};function h(O,R){return O===R?O!==0||1/O===1/R:O!==O&&R!==R}function g(O,R){this.message=O,this.data=R&&typeof R=="object"?R:{},this.stack=""}g.prototype=Error.prototype;function E(O){if(process.env.NODE_ENV!=="production")var R={},D=0;function $(U,N,I,L,H,B,de){if(L=L||y,B=B||I,de!==r){if(c){var b=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 b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=L+":"+I;!R[ge]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+L+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),R[ge]=!0,D++)}}return N[I]==null?U?N[I]===null?new g("The "+H+" `"+B+"` is marked as required "+("in `"+L+"`, but its value is `null`.")):new g("The "+H+" `"+B+"` is marked as required in "+("`"+L+"`, but its value is `undefined`.")):null:O(N,I,L,H,B)}var j=$.bind(null,!1);return j.isRequired=$.bind(null,!0),j}function T(O){function R(D,$,j,U,N,I){var L=D[$],H=ae(L);if(H!==O){var B=ue(L);return new g("Invalid "+U+" `"+N+"` of type "+("`"+B+"` supplied to `"+j+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return E(R)}function S(){return E(a)}function _(O){function R(D,$,j,U,N){if(typeof O!="function")return new g("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var I=D[$];if(!Array.isArray(I)){var L=ae(I);return new g("Invalid "+U+" `"+N+"` of type "+("`"+L+"` supplied to `"+j+"`, expected an array."))}for(var H=0;H<I.length;H++){var B=O(I,H,j,U,N+"["+H+"]",r);if(B instanceof Error)return B}return null}return E(R)}function C(){function O(R,D,$,j,U){var N=R[D];if(!s(N)){var I=ae(N);return new g("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return E(O)}function p(){function O(R,D,$,j,U){var N=R[D];if(!e.isValidElementType(N)){var I=ae(N);return new g("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return E(O)}function A(O){function R(D,$,j,U,N){if(!(D[$]instanceof O)){var I=O.name||y,L=Ee(D[$]);return new g("Invalid "+U+" `"+N+"` of type "+("`"+L+"` supplied to `"+j+"`, expected ")+("instance of `"+I+"`."))}return null}return E(R)}function k(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("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])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function R(D,$,j,U,N){for(var I=D[$],L=0;L<O.length;L++)if(h(I,O[L]))return null;var H=JSON.stringify(O,function(de,b){var ge=ue(b);return ge==="symbol"?String(b):b});return new g("Invalid "+U+" `"+N+"` of value `"+String(I)+"` "+("supplied to `"+j+"`, expected one of "+H+"."))}return E(R)}function J(O){function R(D,$,j,U,N){if(typeof O!="function")return new g("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var I=D[$],L=ae(I);if(L!=="object")return new g("Invalid "+U+" `"+N+"` of type "+("`"+L+"` supplied to `"+j+"`, expected an object."));for(var H in I)if(n(I,H)){var B=O(I,H,j,U,N+"."+H,r);if(B instanceof Error)return B}return null}return E(R)}function Z(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var R=0;R<O.length;R++){var D=O[R];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Oe(D)+" at index "+R+"."),a}function $(j,U,N,I,L){for(var H=[],B=0;B<O.length;B++){var de=O[B],b=de(j,U,N,I,L,r);if(b==null)return null;b.data&&n(b.data,"expectedType")&&H.push(b.data.expectedType)}var ge=H.length>0?", expected one of type ["+H.join(", ")+"]":"";return new g("Invalid "+I+" `"+L+"` supplied to "+("`"+N+"`"+ge+"."))}return E($)}function K(){function O(R,D,$,j,U){return X(R[D])?null:new g("Invalid "+j+" `"+U+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return E(O)}function ie(O,R,D,$,j){return new g((O||"React class")+": "+R+" type `"+D+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function fe(O){function R(D,$,j,U,N){var I=D[$],L=ae(I);if(L!=="object")return new g("Invalid "+U+" `"+N+"` of type `"+L+"` "+("supplied to `"+j+"`, expected `object`."));for(var H in O){var B=O[H];if(typeof B!="function")return ie(j,U,N,H,ue(B));var de=B(I,H,j,U,N+"."+H,r);if(de)return de}return null}return E(R)}function V(O){function R(D,$,j,U,N){var I=D[$],L=ae(I);if(L!=="object")return new g("Invalid "+U+" `"+N+"` of type `"+L+"` "+("supplied to `"+j+"`, expected `object`."));var H=t({},D[$],O);for(var B in H){var de=O[B];if(n(O,B)&&typeof de!="function")return ie(j,U,N,B,ue(de));if(!de)return new g("Invalid "+U+" `"+N+"` key `"+B+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(D[$],null," ")+`
|
|
53
|
+
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var b=de(I,B,j,U,N+"."+B,r);if(b)return b}return null}return E(R)}function X(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(X);if(O===null||s(O))return!0;var R=f(O);if(R){var D=R.call(O),$;if(R!==O.entries){for(;!($=D.next()).done;)if(!X($.value))return!1}else for(;!($=D.next()).done;){var j=$.value;if(j&&!X(j[1]))return!1}}else return!1;return!0;default:return!1}}function Q(O,R){return O==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function ae(O){var R=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Q(R,O)?"symbol":R}function ue(O){if(typeof O>"u"||O===null)return""+O;var R=ae(O);if(R==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return R}function Oe(O){var R=ue(O);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function Ee(O){return!O.constructor||!O.constructor.name?y:O.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},Br}var zr,fo;function ps(){if(fo)return zr;fo=1;var e=wn();function t(){}function r(){}return r.resetWarningCache=t,zr=function(){function n(a,s,c,l,u,f){if(f!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},zr}if(process.env.NODE_ENV!=="production"){var hs=ei(),ms=!0;Qr.exports=ds()(hs.isElement,ms)}else Qr.exports=ps()();var vs=Qr.exports;const z=wr(vs),po={disabled:!1};var gs=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.shape({enter:z.number,exit:z.number,appear:z.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&z.oneOfType([z.string,z.shape({enter:z.string,exit:z.string,active:z.string}),z.shape({enter:z.string,enterDone:z.string,enterActive:z.string,exit:z.string,exitDone:z.string,exitActive:z.string})]);const ri=v.createContext(null);var ys=function(t){return t.scrollTop},It="unmounted",Je="exited",ze="entering",Xe="entered",fr="exiting",We=function(e){Ja(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?s?(c=Je,i.appearStatus=ze):c=Xe:n.unmountOnExit||n.mountOnEnter?c=It:c=Je,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===It?{status:Je}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==ze&&a!==Xe&&(i=ze):(a===ze||a===Xe)&&(i=fr)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===ze){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:yt.findDOMNode(this);a&&ys(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Je&&this.setState({status:It})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[yt.findDOMNode(this),s],l=c[0],u=c[1],f=this.getTimeouts(),y=s?f.appear:f.enter;if(!o&&!a||po.disabled){this.safeSetState({status:Xe},function(){i.props.onEntered(l)});return}this.props.onEnter(l,u),this.safeSetState({status:ze},function(){i.props.onEntering(l,u),i.onTransitionEnd(y,function(){i.safeSetState({status:Xe},function(){i.props.onEntered(l,u)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:yt.findDOMNode(this);if(!i||po.disabled){this.safeSetState({status:Je},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:fr},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Je},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:yt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],l=c[0],u=c[1];this.props.addEndListener(l,u)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===It)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=Zo(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return v.createElement(ri.Provider,{value:null},typeof a=="function"?a(o,s):v.cloneElement(v.Children.only(a),s))},t}(v.Component);We.contextType=ri;We.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:z.shape({current:typeof Element>"u"?z.any:function(e,t,r,n,o,i){var a=e[t];return z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:z.oneOfType([z.func.isRequired,z.element.isRequired]).isRequired,in:z.bool,mountOnEnter:z.bool,unmountOnExit:z.bool,appear:z.bool,enter:z.bool,exit:z.bool,timeout:function(t){var r=gs;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:z.func,onEnter:z.func,onEntering:z.func,onEntered:z.func,onExit:z.func,onExiting:z.func,onExited:z.func}:{};function vt(){}We.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:vt,onEntering:vt,onEntered:vt,onExit:vt,onExiting:vt,onExited:vt};We.UNMOUNTED=It;We.EXITED=Je;We.ENTERING=ze;We.ENTERED=Xe;We.EXITING=fr;const xr=!!(typeof window<"u"&&window.document&&window.document.createElement);var en=!1,tn=!1;try{var Hr={get passive(){return en=!0},get once(){return tn=en=!0}};xr&&(window.addEventListener("test",Hr,Hr),window.removeEventListener("test",Hr,!0))}catch{}function ni(e,t,r,n){if(n&&typeof n!="boolean"&&!tn){var o=n.once,i=n.capture,a=r;!tn&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,en?n:i)}e.addEventListener(t,r,n)}function oi(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function Qe(e,t,r,n){return ni(e,t,r,n),function(){oi(e,t,r,n)}}function bs(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function Es(e){var t=En(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function ws(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||bs(e,"transitionend",!0)},t+r),i=Qe(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function ii(e,t,r,n){r==null&&(r=Es(e)||0);var o=ws(e,r,n),i=Qe(e,"transitionend",t);return function(){o(),i()}}function ho(e,t){const r=En(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function ai(e,t){const r=ho(e,"transitionDuration"),n=ho(e,"transitionDelay"),o=ii(e,i=>{i.target===e&&(o(),t(i))},r+n)}function si(e){e.offsetHeight}const mo=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Os(e,t){const r=mo(e),n=mo(t);return o=>{r&&r(o),n&&n(o)}}function rt(e,t){return v.useMemo(()=>Os(e,t),[e,t])}function dr(e){return e&&"setState"in e?yt.findDOMNode(e):e??null}const ci=v.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...l},u)=>{const f=v.useRef(null),y=rt(f,c),m=A=>{y(dr(A))},h=A=>k=>{A&&f.current&&A(f.current,k)},g=v.useCallback(h(e),[e]),E=v.useCallback(h(t),[t]),T=v.useCallback(h(r),[r]),S=v.useCallback(h(n),[n]),_=v.useCallback(h(o),[o]),C=v.useCallback(h(i),[i]),p=v.useCallback(h(a),[a]);return M.jsx(We,{ref:u,...l,onEnter:g,onEntered:T,onEntering:E,onExit:S,onExited:C,onExiting:_,addEndListener:p,nodeRef:f,children:typeof s=="function"?(A,k)=>s(A,{...k,ref:m}):v.cloneElement(s,{ref:m})})});function xs(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e},[e]),t}function ct(e){const t=xs(e);return v.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function rn(){return v.useState(null)}function On(){const e=v.useRef(!0),t=v.useRef(()=>e.current);return v.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const Ts=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Ss=typeof document<"u",pr=Ss||Ts?v.useLayoutEffect:v.useEffect,Cs={[ze]:"show",[Xe]:"show"},hr=Y.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},s=v.useCallback((c,l)=>{si(c),n==null||n(c,l)},[n]);return M.jsx(ci,{ref:i,addEndListener:ai,...a,onEnter:s,childRef:t.ref,children:(c,l)=>Y.cloneElement(t,{...l,className:ce("fade",e,t.props.className,Cs[c],r[c])})})});hr.displayName="Fade";function _s(e){const t=v.useRef(e);return t.current=e,t}function ui(e){const t=_s(e);v.useEffect(()=>()=>t.current(),[])}const nn=2**31-1;function li(e,t,r){const n=r-Date.now();e.current=n<=nn?setTimeout(t,n):setTimeout(()=>li(e,t,r),nn)}function Rs(){const e=On(),t=v.useRef();return ui(()=>clearTimeout(t.current)),v.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=nn?t.current=setTimeout(o,i):li(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var vo=Object.prototype.hasOwnProperty;function go(e,t,r){for(r of e.keys())if(Dt(r,t))return r}function Dt(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Dt(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=go(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=go(t,o),!o)||!Dt(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(vo.call(e,r)&&++n&&!vo.call(t,r)||!(r in t)||!Dt(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function Ps(e){const t=On();return[e[0],v.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var Se="top",Ne="bottom",Ie="right",Ce="left",xn="auto",Vt=[Se,Ne,Ie,Ce],bt="start",Ut="end",As="clippingParents",fi="viewport",Mt="popper",Ms="reference",yo=Vt.reduce(function(e,t){return e.concat([t+"-"+bt,t+"-"+Ut])},[]),di=[].concat(Vt,[xn]).reduce(function(e,t){return e.concat([t,t+"-"+bt,t+"-"+Ut])},[]),js="beforeRead",ks="read",Ns="afterRead",Is="beforeMain",Ls="main",Ds="afterMain",$s="beforeWrite",Fs="write",Us="afterWrite",Bs=[js,ks,Ns,Is,Ls,Ds,$s,Fs,Us];function De(e){return e.split("-")[0]}function Pe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ut(e){var t=Pe(e).Element;return e instanceof t||e instanceof Element}function $e(e){var t=Pe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Tn(e){if(typeof ShadowRoot>"u")return!1;var t=Pe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var at=Math.max,mr=Math.min,Et=Math.round;function on(){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 pi(){return!/^((?!chrome|android).)*safari/i.test(on())}function wt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&$e(e)&&(o=e.offsetWidth>0&&Et(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Et(n.height)/e.offsetHeight||1);var a=ut(e)?Pe(e):window,s=a.visualViewport,c=!pi()&&r,l=(n.left+(c&&s?s.offsetLeft:0))/o,u=(n.top+(c&&s?s.offsetTop:0))/i,f=n.width/o,y=n.height/i;return{width:f,height:y,top:u,right:l+f,bottom:u+y,left:l,x:l,y:u}}function Sn(e){var t=wt(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function hi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Tn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function tt(e){return e?(e.nodeName||"").toLowerCase():null}function He(e){return Pe(e).getComputedStyle(e)}function zs(e){return["table","td","th"].indexOf(tt(e))>=0}function nt(e){return((ut(e)?e.ownerDocument:e.document)||window.document).documentElement}function Tr(e){return tt(e)==="html"?e:e.assignedSlot||e.parentNode||(Tn(e)?e.host:null)||nt(e)}function bo(e){return!$e(e)||He(e).position==="fixed"?null:e.offsetParent}function Hs(e){var t=/firefox/i.test(on()),r=/Trident/i.test(on());if(r&&$e(e)){var n=He(e);if(n.position==="fixed")return null}var o=Tr(e);for(Tn(o)&&(o=o.host);$e(o)&&["html","body"].indexOf(tt(o))<0;){var i=He(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Wt(e){for(var t=Pe(e),r=bo(e);r&&zs(r)&&He(r).position==="static";)r=bo(r);return r&&(tt(r)==="html"||tt(r)==="body"&&He(r).position==="static")?t:r||Hs(e)||t}function Cn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $t(e,t,r){return at(e,mr(t,r))}function Vs(e,t,r){var n=$t(e,t,r);return n>r?r:n}function mi(){return{top:0,right:0,bottom:0,left:0}}function vi(e){return Object.assign({},mi(),e)}function gi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Ws=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,vi(typeof t!="number"?t:gi(t,Vt))};function Ys(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=De(r.placement),c=Cn(s),l=[Ce,Ie].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=Ws(o.padding,r),y=Sn(i),m=c==="y"?Se:Ce,h=c==="y"?Ne:Ie,g=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],E=a[c]-r.rects.reference[c],T=Wt(i),S=T?c==="y"?T.clientHeight||0:T.clientWidth||0:0,_=g/2-E/2,C=f[m],p=S-y[u]-f[h],A=S/2-y[u]/2+_,k=$t(C,A,p),J=c;r.modifiersData[n]=(t={},t[J]=k,t.centerOffset=k-A,t)}}function qs(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||hi(t.elements.popper,o)&&(t.elements.arrow=o))}const Gs={name:"arrow",enabled:!0,phase:"main",fn:Ys,effect:qs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ot(e){return e.split("-")[1]}var Ks={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Js(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Et(r*o)/o||0,y:Et(n*o)/o||0}}function Eo(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,y=a.x,m=y===void 0?0:y,h=a.y,g=h===void 0?0:h,E=typeof u=="function"?u({x:m,y:g}):{x:m,y:g};m=E.x,g=E.y;var T=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),_=Ce,C=Se,p=window;if(l){var A=Wt(r),k="clientHeight",J="clientWidth";if(A===Pe(r)&&(A=nt(r),He(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",J="scrollWidth")),A=A,o===Se||(o===Ce||o===Ie)&&i===Ut){C=Ne;var Z=f&&A===p&&p.visualViewport?p.visualViewport.height:A[k];g-=Z-n.height,g*=c?1:-1}if(o===Ce||(o===Se||o===Ne)&&i===Ut){_=Ie;var K=f&&A===p&&p.visualViewport?p.visualViewport.width:A[J];m-=K-n.width,m*=c?1:-1}}var ie=Object.assign({position:s},l&&Ks),fe=u===!0?Js({x:m,y:g},Pe(r)):{x:m,y:g};if(m=fe.x,g=fe.y,c){var V;return Object.assign({},ie,(V={},V[C]=S?"0":"",V[_]=T?"0":"",V.transform=(p.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",V))}return Object.assign({},ie,(t={},t[C]=S?g+"px":"",t[_]=T?m+"px":"",t.transform="",t))}function Xs(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,l={placement:De(t.placement),variation:Ot(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Eo(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Eo(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Xs,data:{}};var tr={passive:!0};function Qs(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,c=Pe(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",r.update,tr)}),s&&c.addEventListener("resize",r.update,tr),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",r.update,tr)}),s&&c.removeEventListener("resize",r.update,tr)}}const ec={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qs,data:{}};var tc={left:"right",right:"left",bottom:"top",top:"bottom"};function or(e){return e.replace(/left|right|bottom|top/g,function(t){return tc[t]})}var rc={start:"end",end:"start"};function wo(e){return e.replace(/start|end/g,function(t){return rc[t]})}function _n(e){var t=Pe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Rn(e){return wt(nt(e)).left+_n(e).scrollLeft}function nc(e,t){var r=Pe(e),n=nt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=pi();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Rn(e),y:c}}function oc(e){var t,r=nt(e),n=_n(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=at(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=at(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Rn(e),c=-n.scrollTop;return He(o||r).direction==="rtl"&&(s+=at(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Pn(e){var t=He(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function yi(e){return["html","body","#document"].indexOf(tt(e))>=0?e.ownerDocument.body:$e(e)&&Pn(e)?e:yi(Tr(e))}function Ft(e,t){var r;t===void 0&&(t=[]);var n=yi(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Pe(n),a=o?[i].concat(i.visualViewport||[],Pn(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Ft(Tr(a)))}function an(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ic(e,t){var r=wt(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Oo(e,t,r){return t===fi?an(nc(e,r)):ut(t)?ic(t,r):an(oc(nt(e)))}function ac(e){var t=Ft(Tr(e)),r=["absolute","fixed"].indexOf(He(e).position)>=0,n=r&&$e(e)?Wt(e):e;return ut(n)?t.filter(function(o){return ut(o)&&hi(o,n)&&tt(o)!=="body"}):[]}function sc(e,t,r,n){var o=t==="clippingParents"?ac(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,l){var u=Oo(e,l,n);return c.top=at(u.top,c.top),c.right=mr(u.right,c.right),c.bottom=mr(u.bottom,c.bottom),c.left=at(u.left,c.left),c},Oo(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function bi(e){var t=e.reference,r=e.element,n=e.placement,o=n?De(n):null,i=n?Ot(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case Se:c={x:a,y:t.y-r.height};break;case Ne:c={x:a,y:t.y+t.height};break;case Ie:c={x:t.x+t.width,y:s};break;case Ce:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?Cn(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case bt:c[l]=c[l]-(t[u]/2-r[u]/2);break;case Ut:c[l]=c[l]+(t[u]/2-r[u]/2);break}}return c}function Bt(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?As:s,l=r.rootBoundary,u=l===void 0?fi:l,f=r.elementContext,y=f===void 0?Mt:f,m=r.altBoundary,h=m===void 0?!1:m,g=r.padding,E=g===void 0?0:g,T=vi(typeof E!="number"?E:gi(E,Vt)),S=y===Mt?Ms:Mt,_=e.rects.popper,C=e.elements[h?S:y],p=sc(ut(C)?C:C.contextElement||nt(e.elements.popper),c,u,a),A=wt(e.elements.reference),k=bi({reference:A,element:_,strategy:"absolute",placement:o}),J=an(Object.assign({},_,k)),Z=y===Mt?J:A,K={top:p.top-Z.top+T.top,bottom:Z.bottom-p.bottom+T.bottom,left:p.left-Z.left+T.left,right:Z.right-p.right+T.right},ie=e.modifiersData.offset;if(y===Mt&&ie){var fe=ie[o];Object.keys(K).forEach(function(V){var X=[Ie,Ne].indexOf(V)>=0?1:-1,Q=[Se,Ne].indexOf(V)>=0?"y":"x";K[V]+=fe[Q]*X})}return K}function cc(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,l=c===void 0?di:c,u=Ot(n),f=u?s?yo:yo.filter(function(h){return Ot(h)===u}):Vt,y=f.filter(function(h){return l.indexOf(h)>=0});y.length===0&&(y=f);var m=y.reduce(function(h,g){return h[g]=Bt(e,{placement:g,boundary:o,rootBoundary:i,padding:a})[De(g)],h},{});return Object.keys(m).sort(function(h,g){return m[h]-m[g]})}function uc(e){if(De(e)===xn)return[];var t=or(e);return[wo(e),t,wo(t)]}function lc(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,c=r.fallbackPlacements,l=r.padding,u=r.boundary,f=r.rootBoundary,y=r.altBoundary,m=r.flipVariations,h=m===void 0?!0:m,g=r.allowedAutoPlacements,E=t.options.placement,T=De(E),S=T===E,_=c||(S||!h?[or(E)]:uc(E)),C=[E].concat(_).reduce(function(j,U){return j.concat(De(U)===xn?cc(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:g}):U)},[]),p=t.rects.reference,A=t.rects.popper,k=new Map,J=!0,Z=C[0],K=0;K<C.length;K++){var ie=C[K],fe=De(ie),V=Ot(ie)===bt,X=[Se,Ne].indexOf(fe)>=0,Q=X?"width":"height",ae=Bt(t,{placement:ie,boundary:u,rootBoundary:f,altBoundary:y,padding:l}),ue=X?V?Ie:Ce:V?Ne:Se;p[Q]>A[Q]&&(ue=or(ue));var Oe=or(ue),Ee=[];if(i&&Ee.push(ae[fe]<=0),s&&Ee.push(ae[ue]<=0,ae[Oe]<=0),Ee.every(function(j){return j})){Z=ie,J=!1;break}k.set(ie,Ee)}if(J)for(var O=h?3:1,R=function(U){var N=C.find(function(I){var L=k.get(I);if(L)return L.slice(0,U).every(function(H){return H})});if(N)return Z=N,"break"},D=O;D>0;D--){var $=R(D);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const fc={name:"flip",enabled:!0,phase:"main",fn:lc,requiresIfExists:["offset"],data:{_skip:!1}};function xo(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function To(e){return[Se,Ie,Ne,Ce].some(function(t){return e[t]>=0})}function dc(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Bt(t,{elementContext:"reference"}),s=Bt(t,{altBoundary:!0}),c=xo(a,n),l=xo(s,o,i),u=To(c),f=To(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const pc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dc};function hc(e,t,r){var n=De(e),o=[Ce,Se].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ce,Ie].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function mc(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=di.reduce(function(u,f){return u[f]=hc(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}const vc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mc};function gc(e){var t=e.state,r=e.name;t.modifiersData[r]=bi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const yc={name:"popperOffsets",enabled:!0,phase:"read",fn:gc,data:{}};function bc(e){return e==="x"?"y":"x"}function Ec(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,f=r.padding,y=r.tether,m=y===void 0?!0:y,h=r.tetherOffset,g=h===void 0?0:h,E=Bt(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),T=De(t.placement),S=Ot(t.placement),_=!S,C=Cn(T),p=bc(C),A=t.modifiersData.popperOffsets,k=t.rects.reference,J=t.rects.popper,Z=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,K=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,fe={x:0,y:0};if(A){if(i){var V,X=C==="y"?Se:Ce,Q=C==="y"?Ne:Ie,ae=C==="y"?"height":"width",ue=A[C],Oe=ue+E[X],Ee=ue-E[Q],O=m?-J[ae]/2:0,R=S===bt?k[ae]:J[ae],D=S===bt?-J[ae]:-k[ae],$=t.elements.arrow,j=m&&$?Sn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:mi(),N=U[X],I=U[Q],L=$t(0,k[ae],j[ae]),H=_?k[ae]/2-O-L-N-K.mainAxis:R-L-N-K.mainAxis,B=_?-k[ae]/2+O+L+I+K.mainAxis:D+L+I+K.mainAxis,de=t.elements.arrow&&Wt(t.elements.arrow),b=de?C==="y"?de.clientTop||0:de.clientLeft||0:0,ge=(V=ie==null?void 0:ie[C])!=null?V:0,_e=ue+H-ge-b,Ae=ue+B-ge,Ye=$t(m?mr(Oe,_e):Oe,ue,m?at(Ee,Ae):Ee);A[C]=Ye,fe[C]=Ye-ue}if(s){var St,Jt=C==="x"?Se:Ce,ft=C==="x"?Ne:Ie,Ue=A[p],dt=p==="y"?"height":"width",pt=Ue+E[Jt],Xt=Ue-E[ft],Ct=[Se,Ce].indexOf(T)!==-1,_t=(St=ie==null?void 0:ie[p])!=null?St:0,Rt=Ct?pt:Ue-k[dt]-J[dt]-_t+K.altAxis,qe=Ct?Ue+k[dt]+J[dt]-_t-K.altAxis:Xt,Zt=m&&Ct?Vs(Rt,Ue,qe):$t(m?Rt:pt,Ue,m?qe:Xt);A[p]=Zt,fe[p]=Zt-Ue}t.modifiersData[n]=fe}}const wc={name:"preventOverflow",enabled:!0,phase:"main",fn:Ec,requiresIfExists:["offset"]};function Oc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xc(e){return e===Pe(e)||!$e(e)?_n(e):Oc(e)}function Tc(e){var t=e.getBoundingClientRect(),r=Et(t.width)/e.offsetWidth||1,n=Et(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Sc(e,t,r){r===void 0&&(r=!1);var n=$e(t),o=$e(t)&&Tc(t),i=nt(t),a=wt(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((tt(t)!=="body"||Pn(i))&&(s=xc(t)),$e(t)?(c=wt(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Rn(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Cc(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function _c(e){var t=Cc(e);return Bs.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Rc(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Pc(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var So={placement:"bottom",modifiers:[],strategy:"absolute"};function Co(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Ac(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?So:o;return function(s,c,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},So,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],y=!1,m={state:u,setOptions:function(T){var S=typeof T=="function"?T(u.options):T;g(),u.options=Object.assign({},i,u.options,S),u.scrollParents={reference:ut(s)?Ft(s):s.contextElement?Ft(s.contextElement):[],popper:Ft(c)};var _=_c(Pc([].concat(n,u.options.modifiers)));return u.orderedModifiers=_.filter(function(C){return C.enabled}),h(),m.update()},forceUpdate:function(){if(!y){var T=u.elements,S=T.reference,_=T.popper;if(Co(S,_)){u.rects={reference:Sc(S,Wt(_),u.options.strategy==="fixed"),popper:Sn(_)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(K){return u.modifiersData[K.name]=Object.assign({},K.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var p=u.orderedModifiers[C],A=p.fn,k=p.options,J=k===void 0?{}:k,Z=p.name;typeof A=="function"&&(u=A({state:u,options:J,name:Z,instance:m})||u)}}}},update:Rc(function(){return new Promise(function(E){m.forceUpdate(),E(u)})}),destroy:function(){g(),y=!0}};if(!Co(s,c))return m;m.setOptions(l).then(function(E){!y&&l.onFirstUpdate&&l.onFirstUpdate(E)});function h(){u.orderedModifiers.forEach(function(E){var T=E.name,S=E.options,_=S===void 0?{}:S,C=E.effect;if(typeof C=="function"){var p=C({state:u,name:T,instance:m,options:_}),A=function(){};f.push(p||A)}})}function g(){f.forEach(function(E){return E()}),f=[]}return m}}const Mc=Ac({defaultModifiers:[pc,yc,Zs,ec,vc,fc,wc,Gs]}),jc=["enabled","placement","strategy","modifiers"];function kc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Nc={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Ic={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const i=n.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",i?`${i},${r.id}`:r.id)}}},Lc=[];function Ei(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=Lc}=r,s=kc(r,jc);const c=v.useRef(a),l=v.useRef(),u=v.useCallback(()=>{var E;(E=l.current)==null||E.update()},[]),f=v.useCallback(()=>{var E;(E=l.current)==null||E.forceUpdate()},[]),[y,m]=Ps(v.useState({placement:o,update:u,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),h=v.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const T={},S={};Object.keys(E.elements).forEach(_=>{T[_]=E.styles[_],S[_]=E.attributes[_]}),m({state:E,styles:T,attributes:S,update:u,forceUpdate:f,placement:E.placement})}}),[u,f,m]),g=v.useMemo(()=>(Dt(c.current,a)||(c.current=a),c.current),[a]);return v.useEffect(()=>{!l.current||!n||l.current.setOptions({placement:o,strategy:i,modifiers:[...g,h,Nc]})},[i,o,h,n,g]),v.useEffect(()=>{if(!(!n||e==null||t==null))return l.current=Mc(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...g,Ic,h]})),()=>{l.current!=null&&(l.current.destroy(),l.current=void 0,m(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),y}function vr(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var Dc=process.env.NODE_ENV!=="production",wi=function(){};if(Dc){var $c=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}};wi=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||$c.apply(null,[t].concat(r))}}var Fc=wi;const An=wr(Fc),_o=()=>{};function Uc(e){return e.button===0}function Bc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ir=e=>e&&("current"in e?e.current:e),Ro={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Oi(e,t=_o,{disabled:r,clickTrigger:n="click"}={}){const o=v.useRef(!1),i=v.useRef(!1),a=v.useCallback(l=>{const u=ir(e);An(!!u,"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"),o.current=!u||Bc(l)||!Uc(l)||!!vr(u,l.target)||i.current,i.current=!1},[e]),s=ct(l=>{const u=ir(e);u&&vr(u,l.target)&&(i.current=!0)}),c=ct(l=>{o.current||t(l)});v.useEffect(()=>{var l,u;if(r||e==null)return;const f=Ht(ir(e)),y=f.defaultView||window;let m=(l=y.event)!=null?l:(u=y.parent)==null?void 0:u.event,h=null;Ro[n]&&(h=Qe(f,Ro[n],s,!0));const g=Qe(f,n,a,!0),E=Qe(f,n,S=>{if(S===m){m=void 0;return}c(S)});let T=[];return"ontouchstart"in f.documentElement&&(T=[].slice.call(f.body.children).map(S=>Qe(S,"mousemove",_o))),()=>{h==null||h(),g(),E(),T.forEach(S=>S())}},[e,r,n,a,s,c])}function zc(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Hc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function xi({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var l,u,f,y,m;const h=zc(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:Hc(Object.assign({},h,{eventListeners:{enabled:t,options:(l=h.eventListeners)==null?void 0:l.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},(u=h.preventOverflow)==null?void 0:u.options):(f=h.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:o},(y=h.offset)==null?void 0:y.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(m=h.arrow)==null?void 0:m.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}const Ti=v.createContext(xr?window:void 0);Ti.Provider;function Si(){return v.useContext(Ti)}const Ci=Y.createContext({}),Mn=Y.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=v.useMemo(()=>({controlId:e}),[e]);return M.jsx(Ci.Provider,{value:o,children:M.jsx(t,{...r,ref:n})})});Mn.displayName="FormGroup";const jn=Y.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=et(e,"form-floating"),M.jsxs(Mn,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,M.jsx("label",{htmlFor:n,children:o})]})));jn.displayName="FloatingLabel";const Vr=(e,t)=>xr?e==null?(t||Ht()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function sn(e,t){const r=Si(),[n,o]=v.useState(()=>Vr(e,r==null?void 0:r.document));if(!n){const i=Vr(e);i&&o(i)}return v.useEffect(()=>{},[t,n]),v.useEffect(()=>{const i=Vr(e);i!==n&&o(i)},[e,n]),n}function Vc({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=v.useRef(null),a=v.useRef(t),s=ct(r);v.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=rt(i,e.ref),l=v.cloneElement(e,{ref:c});return t?l:o||!a.current&&n?null:l}function _i(e){return e.code==="Escape"||e.keyCode===27}function Wc(){const e=Y.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const Yc=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function qc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Gc(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,l=qc(e,Yc);const{major:u}=Wc(),f=u>=19?c.props.ref:c.ref,y=v.useRef(null),m=rt(y,typeof c=="function"?null:f),h=A=>k=>{A&&y.current&&A(y.current,k)},g=v.useCallback(h(t),[t]),E=v.useCallback(h(r),[r]),T=v.useCallback(h(n),[n]),S=v.useCallback(h(o),[o]),_=v.useCallback(h(i),[i]),C=v.useCallback(h(a),[a]),p=v.useCallback(h(s),[s]);return Object.assign({},l,{nodeRef:y},t&&{onEnter:g},r&&{onEntering:E},n&&{onEntered:T},o&&{onExit:S},i&&{onExiting:_},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(A,k)=>c(A,Object.assign({},k,{ref:m})):v.cloneElement(c,{ref:m})})}const Kc=["component"];function Jc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Xc=Y.forwardRef((e,t)=>{let{component:r}=e,n=Jc(e,Kc);const o=Gc(n);return M.jsx(r,Object.assign({ref:t},o))});function Zc({in:e,onTransition:t}){const r=v.useRef(null),n=v.useRef(!0),o=ct(t);return pr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),pr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function Qc({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=v.useState(!t);t&&i&&a(!1);const s=Zc({in:!!t,onTransition:l=>{const u=()=>{l.isStale()||(l.in?n==null||n(l.element,l.initial):(a(!0),r==null||r(l.element)))};Promise.resolve(o(l)).then(u,f=>{throw l.in||a(!0),f})}}),c=rt(s,e.ref);return i&&!t?null:v.cloneElement(e,{ref:c})}function Ri(e,t,r){return e?M.jsx(Xc,Object.assign({},r,{component:e})):t?M.jsx(Qc,Object.assign({},r,{transition:t})):M.jsx(Vc,Object.assign({},r))}function cn(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const eu=()=>{};function tu(e,t,{disabled:r,clickTrigger:n}={}){const o=t||eu;Oi(e,o,{disabled:r,clickTrigger:n});const i=ct(a=>{_i(a)&&o(a)});v.useEffect(()=>{if(r||e==null)return;const a=Ht(ir(e));let s=(a.defaultView||window).event;const c=Qe(a,"keyup",l=>{if(l===s){s=void 0;return}i(l)});return()=>{c()}},[e,r,i])}const Pi=Y.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:i,popperConfig:a={},transition:s,runTransition:c}=e,[l,u]=rn(),[f,y]=rn(),m=rt(u,t),h=sn(e.container),g=sn(e.target),[E,T]=v.useState(!e.show),S=Ei(g,l,xi({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:f,popperConfig:a}));e.show&&E&&T(!1);const _=(...ie)=>{T(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(tu(l,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:A,onEnter:k,onEntering:J,onEntered:Z}=e;let K=e.children(Object.assign({},S.attributes.popper,{style:S.styles.popper,ref:m}),{popper:S,placement:o,show:!!e.show,arrowProps:Object.assign({},S.attributes.arrow,{style:S.styles.arrow,ref:y})});return K=Ri(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:p,onExiting:A,onExited:_,onEnter:k,onEntering:J,onEntered:Z}),h?yt.createPortal(K,h):null});Pi.displayName="Overlay";const Ai=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=et(t,"popover-header"),M.jsx(r,{ref:o,className:ce(e,t),...n})));Ai.displayName="PopoverHeader";const kn=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=et(t,"popover-body"),M.jsx(r,{ref:o,className:ce(e,t),...n})));kn.displayName="PopoverBody";function Mi(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function ji(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const ru=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:l,...u},f)=>{const y=et(e,"popover"),m=bn(),[h]=(t==null?void 0:t.split("-"))||[],g=Mi(h,m);let E=n;return l&&!s&&(E={...n,...ji(c==null?void 0:c.strategy)}),M.jsxs("div",{ref:f,role:"tooltip",style:E,"x-placement":h,className:ce(r,y,h&&`bs-popover-${g}`),...u,children:[M.jsx("div",{className:"popover-arrow",...a}),i?M.jsx(kn,{children:o}):o]})}),ki=Object.assign(ru,{Header:Ai,Body:kn,POPPER_OFFSET:[0,8]}),Ni=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...l},u)=>{e=et(e,"tooltip");const f=bn(),[y]=(t==null?void 0:t.split("-"))||[],m=Mi(y,f);let h=n;return c&&!a&&(h={...n,...ji(s==null?void 0:s.strategy)}),M.jsxs("div",{ref:u,style:h,role:"tooltip","x-placement":y,className:ce(r,e,`bs-tooltip-${m}`),...l,children:[M.jsx("div",{className:"tooltip-arrow",...i}),M.jsx("div",{className:`${e}-inner`,children:o})]})});Ni.displayName="Tooltip";const Nn=Object.assign(Ni,{TOOLTIP_OFFSET:[0,6]});function nu(e){const t=v.useRef(null),r=et(void 0,"popover"),n=et(void 0,"tooltip"),o=v.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(cn(t.current,r))return ki.POPPER_OFFSET;if(cn(t.current,n))return Nn.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function ou(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(dr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(dr(o)))}const Ii=Y.forwardRef(({children:e,transition:t=hr,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=v.useRef({}),[l,u]=v.useState(null),[f,y]=nu(a.offset),m=rt(s,f),h=t===!0?hr:t||void 0,g=ct(E=>{u(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return pr(()=>{l&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[l,a.target]),v.useEffect(()=>{i||u(null)},[i]),M.jsx(Pi,{...a,ref:m,popperConfig:{...r,modifiers:y.concat(r.modifiers||[]),onFirstUpdate:g},transition:h,rootClose:n,placement:o,show:i,children:(E,{arrowProps:T,popper:S,show:_})=>{var C,p;ou(E,T);const A=S==null?void 0:S.placement,k=Object.assign(c.current,{state:S==null?void 0:S.state,scheduleUpdate:S==null?void 0:S.update,placement:A,outOfBoundaries:(S==null||(C=S.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!l;return typeof e=="function"?e({...E,placement:A,show:_,...!t&&_&&{className:"show"},popper:k,arrowProps:T,hasDoneInitialMeasure:J}):Y.cloneElement(e,{...E,placement:A,arrowProps:T,popper:k,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&_&&"show"),style:{...e.props.style,...E.style}})}})});Ii.displayName="Overlay";function iu(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function Po(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!vr(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const Li=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:l=c&&c.indexOf("auto")!==-1,...u})=>{const f=v.useRef(null),y=rt(f,r.ref),m=Rs(),h=v.useRef(""),[g,E]=Qo(o,i,a),T=iu(s),{onFocus:S,onBlur:_,onClick:C}=typeof r!="function"?Y.Children.only(r).props:{},p=Q=>{y(dr(Q))},A=v.useCallback(()=>{if(m.clear(),h.current="show",!T.show){E(!0);return}m.set(()=>{h.current==="show"&&E(!0)},T.show)},[T.show,E,m]),k=v.useCallback(()=>{if(m.clear(),h.current="hide",!T.hide){E(!1);return}m.set(()=>{h.current==="hide"&&E(!1)},T.hide)},[T.hide,E,m]),J=v.useCallback((...Q)=>{A(),S==null||S(...Q)},[A,S]),Z=v.useCallback((...Q)=>{k(),_==null||_(...Q)},[k,_]),K=v.useCallback((...Q)=>{E(!g),C==null||C(...Q)},[C,E,g]),ie=v.useCallback((...Q)=>{Po(A,Q,"fromElement")},[A]),fe=v.useCallback((...Q)=>{Po(k,Q,"toElement")},[k]),V=e==null?[]:[].concat(e),X={ref:p};return V.indexOf("click")!==-1&&(X.onClick=K),V.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),V.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&An(V.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.'),X.onMouseOver=ie,X.onMouseOut=fe),M.jsxs(M.Fragment,{children:[typeof r=="function"?r(X):v.cloneElement(r,X),M.jsx(Ii,{...u,show:g,onHide:k,flip:l,placement:c,popperConfig:n,target:f.current,children:t})]})};var Di={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ao=v.createContext&&v.createContext(Di),au=["attr","size","title"];function su(e,t){if(e==null)return{};var r=cu(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function cu(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(this,arguments)}function Mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function yr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mo(Object(r),!0).forEach(function(n){uu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function uu(e,t,r){return t=lu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){var t=fu(e,"string");return typeof t=="symbol"?t:t+""}function fu(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $i(e){return e&&e.map((t,r)=>v.createElement(t.tag,yr({key:r},t.attr),$i(t.child)))}function pe(e){return t=>v.createElement(du,gr({attr:yr({},e.attr)},t),$i(e.child))}function du(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=su(e,au),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),v.createElement("svg",gr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:yr(yr({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&v.createElement("title",null,i),e.children)};return Ao!==void 0?v.createElement(Ao.Consumer,null,r=>t(r)):t(Di)}function pu(e){return pe({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 hu(e){return pe({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 mu(e){return pe({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 vu(e){return pe({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 gu(e){return pe({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 yu(e){return pe({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 bu(e){return pe({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 Eu(e){return pe({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 wu(e){return pe({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 Ou(e){return pe({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 xu(e){return pe({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 Tu(e){return pe({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 Su(e){return pe({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 Cu(e){return pe({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 _u(e){return pe({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 Ru(e){return pe({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 Pu(e){return pe({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 Au(e){return pe({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 Fi(e){return pe({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 Mu(e){return pe({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 ju(e){return pe({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 In=v.createContext({cookieDomain:"",axiosOptions:{},LinkComponent:{},NavigateComponent:()=>null,language:"",axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{},errorBoundaryTexts:{},widgetTexts:{}}),ku=v.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),Nu=v.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let Iu={data:""},Lu=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Iu,Du=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,$u=/\/\*[^]*?\*\/| +/g,jo=/\n+/g,Ze=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+a+";":n+=i[1]=="f"?Ze(a,i):i+"{"+Ze(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Ze(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Ze.p?Ze.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},Be={},Ui=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+Ui(e[r]);return t}return e},Fu=(e,t,r,n,o)=>{let i=Ui(e),a=Be[i]||(Be[i]=(c=>{let l=0,u=11;for(;l<c.length;)u=101*u+c.charCodeAt(l++)>>>0;return"go"+u})(i));if(!Be[a]){let c=i!==e?e:(l=>{let u,f,y=[{}];for(;u=Du.exec(l.replace($u,""));)u[4]?y.shift():u[3]?(f=u[3].replace(jo," ").trim(),y.unshift(y[0][f]=y[0][f]||{})):y[0][u[1]]=u[2].replace(jo," ").trim();return y[0]})(e);Be[a]=Ze(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&Be.g?Be.g:null;return r&&(Be.g=Be[a]),((c,l,u,f)=>{f?l.data=l.data.replace(f,c):l.data.indexOf(c)===-1&&(l.data=u?c+l.data:l.data+c)})(Be[a],t,n,s),a},Uu=(e,t,r)=>e.reduce((n,o,i)=>{let a=t[i];if(a&&a.call){let s=a(r),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=c?"."+c:s&&typeof s=="object"?s.props?"":Ze(s,""):s===!1?"":s}return n+o+(a??"")},"");function Sr(e){let t=this||{},r=e.call?e(t.p):e;return Fu(r.unshift?r.raw?Uu(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Lu(t.target),t.g,t.o,t.k)}let Bi,un,ln;Sr.bind({g:1});let Ve=Sr.bind({k:1});function Bu(e,t,r,n){Ze.p=t,Bi=e,un=r,ln=n}function ot(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),c=s.className||o.className;r.p=Object.assign({theme:un&&un()},s),r.o=/ *go\d+/.test(c),s.className=Sr.apply(r,n)+(c?" "+c:"");let l=e;return e[0]&&(l=s.as||e,delete s.as),ln&&l[0]&&ln(s),Bi(l,s)}return o}}var zu=e=>typeof e=="function",br=(e,t)=>zu(e)?e(t):e,Hu=(()=>{let e=0;return()=>(++e).toString()})(),zi=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Vu=20,ar=new Map,Wu=1e3,ko=e=>{if(ar.has(e))return;let t=setTimeout(()=>{ar.delete(e),lt({type:4,toastId:e})},Wu);ar.set(e,t)},Yu=e=>{let t=ar.get(e);t&&clearTimeout(t)},fn=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Vu)};case 1:return t.toast.id&&Yu(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:r}=t;return e.toasts.find(i=>i.id===r.id)?fn(e,{type:1,toast:r}):fn(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?ko(n):e.toasts.forEach(i=>{ko(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===n||n===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},sr=[],cr={toasts:[],pausedAt:void 0},lt=e=>{cr=fn(cr,e),sr.forEach(t=>{t(cr)})},qu={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Gu=(e={})=>{let[t,r]=v.useState(cr);v.useEffect(()=>(sr.push(r),()=>{let o=sr.indexOf(r);o>-1&&sr.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||qu[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},Ku=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||Hu()}),Yt=e=>(t,r)=>{let n=Ku(t,e,r);return lt({type:2,toast:n}),n.id},Re=(e,t)=>Yt("blank")(e,t);Re.error=Yt("error");Re.success=Yt("success");Re.loading=Yt("loading");Re.custom=Yt("custom");Re.dismiss=e=>{lt({type:3,toastId:e})};Re.remove=e=>lt({type:4,toastId:e});Re.promise=(e,t,r)=>{let n=Re.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(Re.success(br(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{Re.error(br(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var Ju=(e,t)=>{lt({type:1,toast:{id:e,height:t}})},Xu=()=>{lt({type:5,time:Date.now()})},Zu=e=>{let{toasts:t,pausedAt:r}=Gu(e);v.useEffect(()=>{if(r)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(c<0){s.visible&&Re.dismiss(s.id);return}return setTimeout(()=>Re.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=v.useCallback(()=>{r&<({type:6,time:Date.now()})},[r]),o=v.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:l}=a||{},u=t.filter(m=>(m.position||l)===(i.position||l)&&m.height),f=u.findIndex(m=>m.id===i.id),y=u.filter((m,h)=>h<f&&m.visible).length;return u.filter(m=>m.visible).slice(...s?[y+1]:[0,y]).reduce((m,h)=>m+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:Ju,startPause:Xu,endPause:n,calculateOffset:o}}},Qu=Ve`
|
|
54
54
|
from {
|
|
55
55
|
transform: scale(0) rotate(45deg);
|
|
56
56
|
opacity: 0;
|
|
@@ -58,7 +58,7 @@ from {
|
|
|
58
58
|
to {
|
|
59
59
|
transform: scale(1) rotate(45deg);
|
|
60
60
|
opacity: 1;
|
|
61
|
-
}`,
|
|
61
|
+
}`,el=Ve`
|
|
62
62
|
from {
|
|
63
63
|
transform: scale(0);
|
|
64
64
|
opacity: 0;
|
|
@@ -66,7 +66,7 @@ from {
|
|
|
66
66
|
to {
|
|
67
67
|
transform: scale(1);
|
|
68
68
|
opacity: 1;
|
|
69
|
-
}`,
|
|
69
|
+
}`,tl=Ve`
|
|
70
70
|
from {
|
|
71
71
|
transform: scale(0) rotate(90deg);
|
|
72
72
|
opacity: 0;
|
|
@@ -74,7 +74,7 @@ from {
|
|
|
74
74
|
to {
|
|
75
75
|
transform: scale(1) rotate(90deg);
|
|
76
76
|
opacity: 1;
|
|
77
|
-
}`,
|
|
77
|
+
}`,rl=ot("div")`
|
|
78
78
|
width: 20px;
|
|
79
79
|
opacity: 0;
|
|
80
80
|
height: 20px;
|
|
@@ -83,14 +83,14 @@ to {
|
|
|
83
83
|
position: relative;
|
|
84
84
|
transform: rotate(45deg);
|
|
85
85
|
|
|
86
|
-
animation: ${
|
|
86
|
+
animation: ${Qu} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
87
87
|
forwards;
|
|
88
88
|
animation-delay: 100ms;
|
|
89
89
|
|
|
90
90
|
&:after,
|
|
91
91
|
&:before {
|
|
92
92
|
content: '';
|
|
93
|
-
animation: ${
|
|
93
|
+
animation: ${el} 0.15s ease-out forwards;
|
|
94
94
|
animation-delay: 150ms;
|
|
95
95
|
position: absolute;
|
|
96
96
|
border-radius: 3px;
|
|
@@ -103,18 +103,18 @@ to {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
&:before {
|
|
106
|
-
animation: ${
|
|
106
|
+
animation: ${tl} 0.15s ease-out forwards;
|
|
107
107
|
animation-delay: 180ms;
|
|
108
108
|
transform: rotate(90deg);
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,nl=Ve`
|
|
111
111
|
from {
|
|
112
112
|
transform: rotate(0deg);
|
|
113
113
|
}
|
|
114
114
|
to {
|
|
115
115
|
transform: rotate(360deg);
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,ol=ot("div")`
|
|
118
118
|
width: 12px;
|
|
119
119
|
height: 12px;
|
|
120
120
|
box-sizing: border-box;
|
|
@@ -122,8 +122,8 @@ to {
|
|
|
122
122
|
border-radius: 100%;
|
|
123
123
|
border-color: ${e=>e.secondary||"#e0e0e0"};
|
|
124
124
|
border-right-color: ${e=>e.primary||"#616161"};
|
|
125
|
-
animation: ${
|
|
126
|
-
`,
|
|
125
|
+
animation: ${nl} 1s linear infinite;
|
|
126
|
+
`,il=Ve`
|
|
127
127
|
from {
|
|
128
128
|
transform: scale(0) rotate(45deg);
|
|
129
129
|
opacity: 0;
|
|
@@ -131,7 +131,7 @@ from {
|
|
|
131
131
|
to {
|
|
132
132
|
transform: scale(1) rotate(45deg);
|
|
133
133
|
opacity: 1;
|
|
134
|
-
}`,
|
|
134
|
+
}`,al=Ve`
|
|
135
135
|
0% {
|
|
136
136
|
height: 0;
|
|
137
137
|
width: 0;
|
|
@@ -145,7 +145,7 @@ to {
|
|
|
145
145
|
100% {
|
|
146
146
|
opacity: 1;
|
|
147
147
|
height: 10px;
|
|
148
|
-
}`,
|
|
148
|
+
}`,sl=ot("div")`
|
|
149
149
|
width: 20px;
|
|
150
150
|
opacity: 0;
|
|
151
151
|
height: 20px;
|
|
@@ -154,13 +154,13 @@ to {
|
|
|
154
154
|
position: relative;
|
|
155
155
|
transform: rotate(45deg);
|
|
156
156
|
|
|
157
|
-
animation: ${
|
|
157
|
+
animation: ${il} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
158
158
|
forwards;
|
|
159
159
|
animation-delay: 100ms;
|
|
160
160
|
&:after {
|
|
161
161
|
content: '';
|
|
162
162
|
box-sizing: border-box;
|
|
163
|
-
animation: ${
|
|
163
|
+
animation: ${al} 0.2s ease-out forwards;
|
|
164
164
|
opacity: 0;
|
|
165
165
|
animation-delay: 200ms;
|
|
166
166
|
position: absolute;
|
|
@@ -172,16 +172,16 @@ to {
|
|
|
172
172
|
height: 10px;
|
|
173
173
|
width: 6px;
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
175
|
+
`,cl=ot("div")`
|
|
176
176
|
position: absolute;
|
|
177
|
-
`,
|
|
177
|
+
`,ul=ot("div")`
|
|
178
178
|
position: relative;
|
|
179
179
|
display: flex;
|
|
180
180
|
justify-content: center;
|
|
181
181
|
align-items: center;
|
|
182
182
|
min-width: 20px;
|
|
183
183
|
min-height: 20px;
|
|
184
|
-
`,
|
|
184
|
+
`,ll=Ve`
|
|
185
185
|
from {
|
|
186
186
|
transform: scale(0.6);
|
|
187
187
|
opacity: 0.4;
|
|
@@ -189,20 +189,20 @@ from {
|
|
|
189
189
|
to {
|
|
190
190
|
transform: scale(1);
|
|
191
191
|
opacity: 1;
|
|
192
|
-
}`,
|
|
192
|
+
}`,fl=ot("div")`
|
|
193
193
|
position: relative;
|
|
194
194
|
transform: scale(0.6);
|
|
195
195
|
opacity: 0.4;
|
|
196
196
|
min-width: 20px;
|
|
197
|
-
animation: ${
|
|
197
|
+
animation: ${ll} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
198
198
|
forwards;
|
|
199
|
-
`,
|
|
199
|
+
`,dl=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?Y.createElement(fl,null,t):t:r==="blank"?null:Y.createElement(ul,null,Y.createElement(ol,{...n}),r!=="loading"&&Y.createElement(cl,null,r==="error"?Y.createElement(rl,{...n}):Y.createElement(sl,{...n})))},pl=e=>`
|
|
200
200
|
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
201
201
|
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
202
|
-
`,
|
|
202
|
+
`,hl=e=>`
|
|
203
203
|
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
204
204
|
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
|
205
|
-
`,
|
|
205
|
+
`,ml="0%{opacity:0;} 100%{opacity:1;}",vl="0%{opacity:1;} 100%{opacity:0;}",gl=ot("div")`
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: center;
|
|
208
208
|
background: #fff;
|
|
@@ -214,40 +214,40 @@ to {
|
|
|
214
214
|
pointer-events: auto;
|
|
215
215
|
padding: 8px 10px;
|
|
216
216
|
border-radius: 8px;
|
|
217
|
-
`,
|
|
217
|
+
`,yl=ot("div")`
|
|
218
218
|
display: flex;
|
|
219
219
|
justify-content: center;
|
|
220
220
|
margin: 4px 10px;
|
|
221
221
|
color: inherit;
|
|
222
222
|
flex: 1 1 auto;
|
|
223
223
|
white-space: pre-line;
|
|
224
|
-
`,
|
|
224
|
+
`,bl=(e,t)=>{let r=e.includes("top")?1:-1,[n,o]=zi()?[ml,vl]:[pl(r),hl(r)];return{animation:t?`${Ve(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ve(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},El=Y.memo(({toast:e,position:t,style:r,children:n})=>{let o=e.height?bl(e.position||t||"top-center",e.visible):{opacity:0},i=Y.createElement(dl,{toast:e}),a=Y.createElement(yl,{...e.ariaProps},br(e.message,e));return Y.createElement(gl,{className:e.className,style:{...o,...r,...e.style}},typeof n=="function"?n({icon:i,message:a}):Y.createElement(Y.Fragment,null,i,a))});Bu(Y.createElement);var wl=({id:e,className:t,style:r,onHeightUpdate:n,children:o})=>{let i=Y.useCallback(a=>{if(a){let s=()=>{let c=a.getBoundingClientRect().height;n(e,c)};s(),new MutationObserver(s).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return Y.createElement("div",{ref:i,className:t,style:r},o)},Ol=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:zi()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...o}},xl=Sr`
|
|
225
225
|
z-index: 9999;
|
|
226
226
|
> * {
|
|
227
227
|
pointer-events: auto;
|
|
228
228
|
}
|
|
229
|
-
`,rr=16,Ol=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:s,handlers:c}=Ju(r);return Y.createElement("div",{style:{position:"fixed",zIndex:9999,top:rr,left:rr,right:rr,bottom:rr,pointerEvents:"none",...i},className:a,onMouseEnter:c.startPause,onMouseLeave:c.endPause},s.map(l=>{let u=l.position||t,f=c.calculateOffset(l,{reverseOrder:e,gutter:n,defaultPosition:t}),y=El(u,f);return Y.createElement(bl,{id:l.id,key:l.id,onHeightUpdate:c.updateHeight,className:l.visible?wl:"",style:y},l.type==="custom"?br(l.message,l):o?o(l):Y.createElement(yl,{toast:l,position:u}))}))},gt=_e;const xl=v.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}}),Tl=v.createContext({user:null,loggingInProgress:!1,loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});/*! @azure/msal-common v14.10.0 2024-05-07 */const me={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},zi=[me.OPENID_SCOPE,me.PROFILE_SCOPE,me.OFFLINE_ACCESS_SCOPE];[...zi,me.EMAIL_SCOPE];const Sl={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},Cl={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."};/*! @azure/msal-common v14.10.0 2024-05-07 */class Cr extends Error{constructor(t,r,n){const o=r?`${t}: ${r}`:t;super(o),Object.setPrototypeOf(this,Cr.prototype),this.errorCode=t||me.EMPTY_STRING,this.errorMessage=r||me.EMPTY_STRING,this.subError=n||me.EMPTY_STRING,this.name="AuthError"}setCorrelationId(t){this.correlationId=t}}/*! @azure/msal-common v14.10.0 2024-05-07 */var we;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"})(we||(we={}));class Er{constructor(t,r,n){this.level=we.Info;const o=()=>{},i=t||Er.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||o,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:we.Info,this.correlationId=i.correlationId||me.EMPTY_STRING,this.packageName=r||me.EMPTY_STRING,this.packageVersion=n||me.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:we.Info}}clone(t,r,n){return new Er({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:n||this.correlationId},t,r)}logMessage(t,r){if(r.logLevel>this.level||!this.piiLoggingEnabled&&r.containsPii)return;const i=`${`[${new Date().toUTCString()}] : [${r.correlationId||this.correlationId||""}]`} : ${this.packageName}@${this.packageVersion} : ${we[r.logLevel]} - ${t}`;this.executeCallback(r.logLevel,i,r.containsPii||!1)}executeCallback(t,r,n){this.localCallback&&this.localCallback(t,r,n)}error(t,r){this.logMessage(t,{logLevel:we.Error,containsPii:!1,correlationId:r||me.EMPTY_STRING})}errorPii(t,r){this.logMessage(t,{logLevel:we.Error,containsPii:!0,correlationId:r||me.EMPTY_STRING})}warning(t,r){this.logMessage(t,{logLevel:we.Warning,containsPii:!1,correlationId:r||me.EMPTY_STRING})}warningPii(t,r){this.logMessage(t,{logLevel:we.Warning,containsPii:!0,correlationId:r||me.EMPTY_STRING})}info(t,r){this.logMessage(t,{logLevel:we.Info,containsPii:!1,correlationId:r||me.EMPTY_STRING})}infoPii(t,r){this.logMessage(t,{logLevel:we.Info,containsPii:!0,correlationId:r||me.EMPTY_STRING})}verbose(t,r){this.logMessage(t,{logLevel:we.Verbose,containsPii:!1,correlationId:r||me.EMPTY_STRING})}verbosePii(t,r){this.logMessage(t,{logLevel:we.Verbose,containsPii:!0,correlationId:r||me.EMPTY_STRING})}trace(t,r){this.logMessage(t,{logLevel:we.Trace,containsPii:!1,correlationId:r||me.EMPTY_STRING})}tracePii(t,r){this.logMessage(t,{logLevel:we.Trace,containsPii:!0,correlationId:r||me.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}/*! @azure/msal-browser v3.14.0 2024-05-07 */exports.InteractionType=void 0;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(exports.InteractionType||(exports.InteractionType={}));const Rr={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},Rl={React:"@azure/msal-react",Angular:"@azure/msal-angular"};/*! @azure/msal-browser v3.14.0 2024-05-07 */const _l="storage_not_supported",ye="stubbed_public_client_application_called",Pl="in_mem_redirect_unavailable";/*! @azure/msal-browser v3.14.0 2024-05-07 */const Al={[_l]:"Given storage configuration option was not supported.",[ye]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[Pl]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."};class In extends Cr{constructor(t,r){super(t,r),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,In.prototype)}}function be(e){return new In(e,Al[e])}/*! @azure/msal-browser v3.14.0 2024-05-07 */const Ml={initialize:()=>Promise.reject(be(ye)),acquireTokenPopup:()=>Promise.reject(be(ye)),acquireTokenRedirect:()=>Promise.reject(be(ye)),acquireTokenSilent:()=>Promise.reject(be(ye)),acquireTokenByCode:()=>Promise.reject(be(ye)),getAllAccounts:()=>[],getAccount:()=>null,getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject(be(ye)),loginPopup:()=>Promise.reject(be(ye)),loginRedirect:()=>Promise.reject(be(ye)),logout:()=>Promise.reject(be(ye)),logoutRedirect:()=>Promise.reject(be(ye)),logoutPopup:()=>Promise.reject(be(ye)),ssoSilent:()=>Promise.reject(be(ye)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw be(ye)},getLogger:()=>{throw be(ye)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw be(ye)},hydrateCache:()=>Promise.reject(be(ye)),clearCache:()=>Promise.reject(be(ye))};function Hi(e,t){return function(){return e.apply(t,arguments)}}const{toString:jl}=Object.prototype,{getPrototypeOf:Ln}=Object,_r=(e=>t=>{const r=jl.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Fe=e=>(e=e.toLowerCase(),t=>_r(t)===e),Pr=e=>t=>typeof t===e,{isArray:Tt}=Array,zt=Pr("undefined");function kl(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vi=Fe("ArrayBuffer");function Nl(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vi(e.buffer),t}const Il=Pr("string"),je=Pr("function"),Wi=Pr("number"),Ar=e=>e!==null&&typeof e=="object",Ll=e=>e===!0||e===!1,ur=e=>{if(_r(e)!=="object")return!1;const t=Ln(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Dl=Fe("Date"),$l=Fe("File"),Fl=Fe("Blob"),Ul=Fe("FileList"),Bl=e=>Ar(e)&&je(e.pipe),zl=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||je(e.append)&&((t=_r(e))==="formdata"||t==="object"&&je(e.toString)&&e.toString()==="[object FormData]"))},Hl=Fe("URLSearchParams"),Vl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Tt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(n=0;n<a;n++)s=i[n],t.call(null,e[s],s,e)}}function Yi(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const qi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Gi=e=>!zt(e)&&e!==qi;function dn(){const{caseless:e}=Gi(this)&&this||{},t={},r=(n,o)=>{const i=e&&Yi(t,o)||o;ur(t[i])&&ur(n)?t[i]=dn(t[i],n):ur(n)?t[i]=dn({},n):Tt(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&qt(arguments[n],r);return t}const Wl=(e,t,r,{allOwnKeys:n}={})=>(qt(t,(o,i)=>{r&&je(o)?e[i]=Hi(o,r):e[i]=o},{allOwnKeys:n}),e),Yl=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ql=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Gl=(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&Ln(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Kl=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Jl=e=>{if(!e)return null;if(Tt(e))return e;let t=e.length;if(!Wi(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Xl=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ln(Uint8Array)),Zl=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Ql=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},ef=Fe("HTMLFormElement"),tf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),ko=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),rf=Fe("RegExp"),Ki=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};qt(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},nf=e=>{Ki(e,(t,r)=>{if(je(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(je(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},of=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return Tt(e)?n(e):n(String(e).split(t)),r},af=()=>{},sf=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Wr="abcdefghijklmnopqrstuvwxyz",No="0123456789",Ji={DIGIT:No,ALPHA:Wr,ALPHA_DIGIT:Wr+Wr.toUpperCase()+No},cf=(e=16,t=Ji.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function uf(e){return!!(e&&je(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const lf=e=>{const t=new Array(10),r=(n,o)=>{if(Ar(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=Tt(n)?[]:{};return qt(n,(a,s)=>{const c=r(a,o+1);!zt(c)&&(i[s]=c)}),t[o]=void 0,i}}return n};return r(e,0)},ff=Fe("AsyncFunction"),df=e=>e&&(Ar(e)||je(e))&&je(e.then)&&je(e.catch),w={isArray:Tt,isArrayBuffer:Vi,isBuffer:kl,isFormData:zl,isArrayBufferView:Nl,isString:Il,isNumber:Wi,isBoolean:Ll,isObject:Ar,isPlainObject:ur,isUndefined:zt,isDate:Dl,isFile:$l,isBlob:Fl,isRegExp:rf,isFunction:je,isStream:Bl,isURLSearchParams:Hl,isTypedArray:Xl,isFileList:Ul,forEach:qt,merge:dn,extend:Wl,trim:Vl,stripBOM:Yl,inherits:ql,toFlatObject:Gl,kindOf:_r,kindOfTest:Fe,endsWith:Kl,toArray:Jl,forEachEntry:Zl,matchAll:Ql,isHTMLForm:ef,hasOwnProperty:ko,hasOwnProp:ko,reduceDescriptors:Ki,freezeMethods:nf,toObjectSet:of,toCamelCase:tf,noop:af,toFiniteNumber:sf,findKey:Yi,global:qi,isContextDefined:Gi,ALPHABET:Ji,generateString:cf,isSpecCompliantForm:uf,toJSONObject:lf,isAsyncFn:ff,isThenable:df};function G(e,t,r,n,o){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),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}w.inherits(G,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:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xi=G.prototype,Zi={};["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=>{Zi[e]={value:e}});Object.defineProperties(G,Zi);Object.defineProperty(Xi,"isAxiosError",{value:!0});G.from=(e,t,r,n,o,i)=>{const a=Object.create(Xi);return w.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),G.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const pf=null;function pn(e){return w.isPlainObject(e)||w.isArray(e)}function Qi(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Io(e,t,r){return e?e.concat(t).map(function(o,i){return o=Qi(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function hf(e){return w.isArray(e)&&!e.some(pn)}const mf=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function Mr(e,t,r){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=w.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,E){return!w.isUndefined(E[g])});const n=r.metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(o))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!c&&w.isBlob(h))throw new G("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,E){let T=h;if(h&&!E&&typeof h=="object"){if(w.endsWith(g,"{}"))g=n?g:g.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&hf(h)||(w.isFileList(h)||w.endsWith(g,"[]"))&&(T=w.toArray(h)))return g=Qi(g),T.forEach(function(R,C){!(w.isUndefined(R)||R===null)&&t.append(a===!0?Io([g],C,i):a===null?g:g+"[]",l(R))}),!1}return pn(h)?!0:(t.append(Io(E,g,i),l(h)),!1)}const f=[],y=Object.assign(mf,{defaultVisitor:u,convertValue:l,isVisitable:pn});function m(h,g){if(!w.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(h),w.forEach(h,function(T,S){(!(w.isUndefined(T)||T===null)&&o.call(t,T,w.isString(S)?S.trim():S,g,y))===!0&&m(T,g?g.concat(S):[S])}),f.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Lo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Dn(e,t){this._pairs=[],e&&Mr(e,this,t)}const ea=Dn.prototype;ea.append=function(t,r){this._pairs.push([t,r])};ea.toString=function(t){const r=t?function(n){return t.call(this,n,Lo)}:Lo;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function vf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ta(e,t,r){if(!t)return e;const n=r&&r.encode||vf,o=r&&r.serialize;let i;if(o?i=o(t,r):i=w.isURLSearchParams(t)?t.toString():new Dn(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Do{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ra={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gf=typeof URLSearchParams<"u"?URLSearchParams:Dn,yf=typeof FormData<"u"?FormData:null,bf=typeof Blob<"u"?Blob:null,Ef={isBrowser:!0,classes:{URLSearchParams:gf,FormData:yf,Blob:bf},protocols:["http","https","file","blob","url","data"]},na=typeof window<"u"&&typeof document<"u",wf=(e=>na&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Of=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:na,hasStandardBrowserEnv:wf,hasStandardBrowserWebWorkerEnv:Of},Symbol.toStringTag,{value:"Module"})),Le={...xf,...Ef};function Tf(e,t){return Mr(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Le.isNode&&w.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Sf(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Cf(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function oa(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=i>=r.length;return a=!a&&w.isArray(o)?o.length:a,c?(w.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!s):((!o[a]||!w.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&w.isArray(o[a])&&(o[a]=Cf(o[a])),!s)}if(w.isFormData(e)&&w.isFunction(e.entries)){const r={};return w.forEachEntry(e,(n,o)=>{t(Sf(n),o,r,0)}),r}return null}function Rf(e,t,r){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Gt={transitional:ra,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=w.isObject(t);if(i&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return o?JSON.stringify(oa(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Tf(t,this.formSerializer).toString();if((s=w.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Mr(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Rf(t)):t}],transformResponse:[function(t){const r=this.transitional||Gt.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&w.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?G.from(s,G.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:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Gt.headers[e]={}});const _f=w.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"]),Pf=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
230
|
-
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&
|
|
231
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[
|
|
232
|
-
`+i.map(
|
|
233
|
-
`):" "+
|
|
234
|
-
`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=xt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&
|
|
229
|
+
`,rr=16,Tl=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:s,handlers:c}=Zu(r);return Y.createElement("div",{style:{position:"fixed",zIndex:9999,top:rr,left:rr,right:rr,bottom:rr,pointerEvents:"none",...i},className:a,onMouseEnter:c.startPause,onMouseLeave:c.endPause},s.map(l=>{let u=l.position||t,f=c.calculateOffset(l,{reverseOrder:e,gutter:n,defaultPosition:t}),y=Ol(u,f);return Y.createElement(wl,{id:l.id,key:l.id,onHeightUpdate:c.updateHeight,className:l.visible?xl:"",style:y},l.type==="custom"?br(l.message,l):o?o(l):Y.createElement(El,{toast:l,position:u}))}))},gt=Re;const Sl=v.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var dn;(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"})(dn||(dn={}));const Hi=dn,Cl=v.createContext({user:null,userLoginState:{state:Hi.LOGGED_OUT,user:null},loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});/*! @azure/msal-common v14.10.0 2024-05-07 */const me={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},Vi=[me.OPENID_SCOPE,me.PROFILE_SCOPE,me.OFFLINE_ACCESS_SCOPE];[...Vi,me.EMAIL_SCOPE];const _l={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},Rl={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."};/*! @azure/msal-common v14.10.0 2024-05-07 */class Cr extends Error{constructor(t,r,n){const o=r?`${t}: ${r}`:t;super(o),Object.setPrototypeOf(this,Cr.prototype),this.errorCode=t||me.EMPTY_STRING,this.errorMessage=r||me.EMPTY_STRING,this.subError=n||me.EMPTY_STRING,this.name="AuthError"}setCorrelationId(t){this.correlationId=t}}/*! @azure/msal-common v14.10.0 2024-05-07 */var we;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"})(we||(we={}));class Er{constructor(t,r,n){this.level=we.Info;const o=()=>{},i=t||Er.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||o,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:we.Info,this.correlationId=i.correlationId||me.EMPTY_STRING,this.packageName=r||me.EMPTY_STRING,this.packageVersion=n||me.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:we.Info}}clone(t,r,n){return new Er({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:n||this.correlationId},t,r)}logMessage(t,r){if(r.logLevel>this.level||!this.piiLoggingEnabled&&r.containsPii)return;const i=`${`[${new Date().toUTCString()}] : [${r.correlationId||this.correlationId||""}]`} : ${this.packageName}@${this.packageVersion} : ${we[r.logLevel]} - ${t}`;this.executeCallback(r.logLevel,i,r.containsPii||!1)}executeCallback(t,r,n){this.localCallback&&this.localCallback(t,r,n)}error(t,r){this.logMessage(t,{logLevel:we.Error,containsPii:!1,correlationId:r||me.EMPTY_STRING})}errorPii(t,r){this.logMessage(t,{logLevel:we.Error,containsPii:!0,correlationId:r||me.EMPTY_STRING})}warning(t,r){this.logMessage(t,{logLevel:we.Warning,containsPii:!1,correlationId:r||me.EMPTY_STRING})}warningPii(t,r){this.logMessage(t,{logLevel:we.Warning,containsPii:!0,correlationId:r||me.EMPTY_STRING})}info(t,r){this.logMessage(t,{logLevel:we.Info,containsPii:!1,correlationId:r||me.EMPTY_STRING})}infoPii(t,r){this.logMessage(t,{logLevel:we.Info,containsPii:!0,correlationId:r||me.EMPTY_STRING})}verbose(t,r){this.logMessage(t,{logLevel:we.Verbose,containsPii:!1,correlationId:r||me.EMPTY_STRING})}verbosePii(t,r){this.logMessage(t,{logLevel:we.Verbose,containsPii:!0,correlationId:r||me.EMPTY_STRING})}trace(t,r){this.logMessage(t,{logLevel:we.Trace,containsPii:!1,correlationId:r||me.EMPTY_STRING})}tracePii(t,r){this.logMessage(t,{logLevel:we.Trace,containsPii:!0,correlationId:r||me.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}/*! @azure/msal-browser v3.14.0 2024-05-07 */exports.InteractionType=void 0;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(exports.InteractionType||(exports.InteractionType={}));const _r={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},Pl={React:"@azure/msal-react",Angular:"@azure/msal-angular"};/*! @azure/msal-browser v3.14.0 2024-05-07 */const Al="storage_not_supported",ye="stubbed_public_client_application_called",Ml="in_mem_redirect_unavailable";/*! @azure/msal-browser v3.14.0 2024-05-07 */const jl={[Al]:"Given storage configuration option was not supported.",[ye]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[Ml]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."};class Ln extends Cr{constructor(t,r){super(t,r),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,Ln.prototype)}}function be(e){return new Ln(e,jl[e])}/*! @azure/msal-browser v3.14.0 2024-05-07 */const kl={initialize:()=>Promise.reject(be(ye)),acquireTokenPopup:()=>Promise.reject(be(ye)),acquireTokenRedirect:()=>Promise.reject(be(ye)),acquireTokenSilent:()=>Promise.reject(be(ye)),acquireTokenByCode:()=>Promise.reject(be(ye)),getAllAccounts:()=>[],getAccount:()=>null,getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject(be(ye)),loginPopup:()=>Promise.reject(be(ye)),loginRedirect:()=>Promise.reject(be(ye)),logout:()=>Promise.reject(be(ye)),logoutRedirect:()=>Promise.reject(be(ye)),logoutPopup:()=>Promise.reject(be(ye)),ssoSilent:()=>Promise.reject(be(ye)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw be(ye)},getLogger:()=>{throw be(ye)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw be(ye)},hydrateCache:()=>Promise.reject(be(ye)),clearCache:()=>Promise.reject(be(ye))};function Wi(e,t){return function(){return e.apply(t,arguments)}}const{toString:Nl}=Object.prototype,{getPrototypeOf:Dn}=Object,Rr=(e=>t=>{const r=Nl.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Fe=e=>(e=e.toLowerCase(),t=>Rr(t)===e),Pr=e=>t=>typeof t===e,{isArray:Tt}=Array,zt=Pr("undefined");function Il(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Yi=Fe("ArrayBuffer");function Ll(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Yi(e.buffer),t}const Dl=Pr("string"),je=Pr("function"),qi=Pr("number"),Ar=e=>e!==null&&typeof e=="object",$l=e=>e===!0||e===!1,ur=e=>{if(Rr(e)!=="object")return!1;const t=Dn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Fl=Fe("Date"),Ul=Fe("File"),Bl=Fe("Blob"),zl=Fe("FileList"),Hl=e=>Ar(e)&&je(e.pipe),Vl=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||je(e.append)&&((t=Rr(e))==="formdata"||t==="object"&&je(e.toString)&&e.toString()==="[object FormData]"))},Wl=Fe("URLSearchParams"),Yl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Tt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(n=0;n<a;n++)s=i[n],t.call(null,e[s],s,e)}}function Gi(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ji=e=>!zt(e)&&e!==Ki;function pn(){const{caseless:e}=Ji(this)&&this||{},t={},r=(n,o)=>{const i=e&&Gi(t,o)||o;ur(t[i])&&ur(n)?t[i]=pn(t[i],n):ur(n)?t[i]=pn({},n):Tt(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&qt(arguments[n],r);return t}const ql=(e,t,r,{allOwnKeys:n}={})=>(qt(t,(o,i)=>{r&&je(o)?e[i]=Wi(o,r):e[i]=o},{allOwnKeys:n}),e),Gl=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Kl=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Jl=(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&Dn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Xl=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Zl=e=>{if(!e)return null;if(Tt(e))return e;let t=e.length;if(!qi(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Ql=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dn(Uint8Array)),ef=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},tf=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},rf=Fe("HTMLFormElement"),nf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),No=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),of=Fe("RegExp"),Xi=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};qt(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},af=e=>{Xi(e,(t,r)=>{if(je(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(je(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},sf=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return Tt(e)?n(e):n(String(e).split(t)),r},cf=()=>{},uf=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Wr="abcdefghijklmnopqrstuvwxyz",Io="0123456789",Zi={DIGIT:Io,ALPHA:Wr,ALPHA_DIGIT:Wr+Wr.toUpperCase()+Io},lf=(e=16,t=Zi.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ff(e){return!!(e&&je(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const df=e=>{const t=new Array(10),r=(n,o)=>{if(Ar(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=Tt(n)?[]:{};return qt(n,(a,s)=>{const c=r(a,o+1);!zt(c)&&(i[s]=c)}),t[o]=void 0,i}}return n};return r(e,0)},pf=Fe("AsyncFunction"),hf=e=>e&&(Ar(e)||je(e))&&je(e.then)&&je(e.catch),w={isArray:Tt,isArrayBuffer:Yi,isBuffer:Il,isFormData:Vl,isArrayBufferView:Ll,isString:Dl,isNumber:qi,isBoolean:$l,isObject:Ar,isPlainObject:ur,isUndefined:zt,isDate:Fl,isFile:Ul,isBlob:Bl,isRegExp:of,isFunction:je,isStream:Hl,isURLSearchParams:Wl,isTypedArray:Ql,isFileList:zl,forEach:qt,merge:pn,extend:ql,trim:Yl,stripBOM:Gl,inherits:Kl,toFlatObject:Jl,kindOf:Rr,kindOfTest:Fe,endsWith:Xl,toArray:Zl,forEachEntry:ef,matchAll:tf,isHTMLForm:rf,hasOwnProperty:No,hasOwnProp:No,reduceDescriptors:Xi,freezeMethods:af,toObjectSet:sf,toCamelCase:nf,noop:cf,toFiniteNumber:uf,findKey:Gi,global:Ki,isContextDefined:Ji,ALPHABET:Zi,generateString:lf,isSpecCompliantForm:ff,toJSONObject:df,isAsyncFn:pf,isThenable:hf};function G(e,t,r,n,o){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),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}w.inherits(G,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:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Qi=G.prototype,ea={};["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=>{ea[e]={value:e}});Object.defineProperties(G,ea);Object.defineProperty(Qi,"isAxiosError",{value:!0});G.from=(e,t,r,n,o,i)=>{const a=Object.create(Qi);return w.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),G.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const mf=null;function hn(e){return w.isPlainObject(e)||w.isArray(e)}function ta(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Lo(e,t,r){return e?e.concat(t).map(function(o,i){return o=ta(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function vf(e){return w.isArray(e)&&!e.some(hn)}const gf=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function Mr(e,t,r){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=w.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,E){return!w.isUndefined(E[g])});const n=r.metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(o))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!c&&w.isBlob(h))throw new G("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,E){let T=h;if(h&&!E&&typeof h=="object"){if(w.endsWith(g,"{}"))g=n?g:g.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&vf(h)||(w.isFileList(h)||w.endsWith(g,"[]"))&&(T=w.toArray(h)))return g=ta(g),T.forEach(function(_,C){!(w.isUndefined(_)||_===null)&&t.append(a===!0?Lo([g],C,i):a===null?g:g+"[]",l(_))}),!1}return hn(h)?!0:(t.append(Lo(E,g,i),l(h)),!1)}const f=[],y=Object.assign(gf,{defaultVisitor:u,convertValue:l,isVisitable:hn});function m(h,g){if(!w.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(h),w.forEach(h,function(T,S){(!(w.isUndefined(T)||T===null)&&o.call(t,T,w.isString(S)?S.trim():S,g,y))===!0&&m(T,g?g.concat(S):[S])}),f.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Do(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function $n(e,t){this._pairs=[],e&&Mr(e,this,t)}const ra=$n.prototype;ra.append=function(t,r){this._pairs.push([t,r])};ra.toString=function(t){const r=t?function(n){return t.call(this,n,Do)}:Do;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function yf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function na(e,t,r){if(!t)return e;const n=r&&r.encode||yf,o=r&&r.serialize;let i;if(o?i=o(t,r):i=w.isURLSearchParams(t)?t.toString():new $n(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class $o{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(n){n!==null&&t(n)})}}const oa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bf=typeof URLSearchParams<"u"?URLSearchParams:$n,Ef=typeof FormData<"u"?FormData:null,wf=typeof Blob<"u"?Blob:null,Of={isBrowser:!0,classes:{URLSearchParams:bf,FormData:Ef,Blob:wf},protocols:["http","https","file","blob","url","data"]},ia=typeof window<"u"&&typeof document<"u",xf=(e=>ia&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Tf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Sf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ia,hasStandardBrowserEnv:xf,hasStandardBrowserWebWorkerEnv:Tf},Symbol.toStringTag,{value:"Module"})),Le={...Sf,...Of};function Cf(e,t){return Mr(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Le.isNode&&w.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function _f(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Rf(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function aa(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=i>=r.length;return a=!a&&w.isArray(o)?o.length:a,c?(w.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!s):((!o[a]||!w.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&w.isArray(o[a])&&(o[a]=Rf(o[a])),!s)}if(w.isFormData(e)&&w.isFunction(e.entries)){const r={};return w.forEachEntry(e,(n,o)=>{t(_f(n),o,r,0)}),r}return null}function Pf(e,t,r){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Gt={transitional:oa,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=w.isObject(t);if(i&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return o?JSON.stringify(aa(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Cf(t,this.formSerializer).toString();if((s=w.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Mr(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Pf(t)):t}],transformResponse:[function(t){const r=this.transitional||Gt.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&w.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?G.from(s,G.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:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Gt.headers[e]={}});const Af=w.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"]),Mf=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
230
|
+
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&Af[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Fo=Symbol("internals");function jt(e){return e&&String(e).trim().toLowerCase()}function lr(e){return e===!1||e==null?e:w.isArray(e)?e.map(lr):String(e)}function jf(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const kf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yr(e,t,r,n,o){if(w.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!w.isString(t)){if(w.isString(n))return t.indexOf(n)!==-1;if(w.isRegExp(n))return n.test(t)}}function Nf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function If(e,t){const r=w.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,a){return this[n].call(this,t,o,i,a)},configurable:!0})})}class ke{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(s,c,l){const u=jt(c);if(!u)throw new Error("header name must be a non-empty string");const f=w.findKey(o,u);(!f||o[f]===void 0||l===!0||l===void 0&&o[f]!==!1)&&(o[f||c]=lr(s))}const a=(s,c)=>w.forEach(s,(l,u)=>i(l,u,c));return w.isPlainObject(t)||t instanceof this.constructor?a(t,r):w.isString(t)&&(t=t.trim())&&!kf(t)?a(Mf(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=jt(t),t){const n=w.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return jf(o);if(w.isFunction(r))return r.call(this,o,n);if(w.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=jt(t),t){const n=w.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Yr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(a){if(a=jt(a),a){const s=w.findKey(n,a);s&&(!r||Yr(n,n[s],s,r))&&(delete n[s],o=!0)}}return w.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||Yr(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return w.forEach(this,(o,i)=>{const a=w.findKey(n,i);if(a){r[a]=lr(o),delete r[i];return}const s=t?Nf(i):String(i).trim();s!==i&&delete r[i],r[s]=lr(o),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return w.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&w.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
231
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Fo]=this[Fo]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=jt(a);n[s]||(If(o,a),n[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(ke.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});w.freezeMethods(ke);function qr(e,t){const r=this||Gt,n=t||r,o=ke.from(n.headers);let i=n.data;return w.forEach(e,function(s){i=s.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function sa(e){return!!(e&&e.__CANCEL__)}function Kt(e,t,r){G.call(this,e??"canceled",G.ERR_CANCELED,t,r),this.name="CanceledError"}w.inherits(Kt,G,{__CANCEL__:!0});function Lf(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Df=Le.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];w.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),w.isString(n)&&a.push("path="+n),w.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.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 $f(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ff(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ca(e,t){return e&&!$f(t)?Ff(e,t):t}const Uf=Le.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let a=i;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(a){const s=w.isString(a)?o(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function Bf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function zf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),u=n[i];a||(a=l),r[o]=c,n[o]=l;let f=i,y=0;for(;f!==o;)y+=r[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const m=u&&l-u;return m?Math.round(y*1e3/m):void 0}}function Uo(e,t){let r=0;const n=zf(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,c=n(s),l=i<=a;r=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&l?(a-i)/c:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Hf=typeof XMLHttpRequest<"u",Vf=Hf&&function(e){return new Promise(function(r,n){let o=e.data;const i=ke.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,c;function l(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let u;if(w.isFormData(o)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[g,...E]=u?u.split(";").map(T=>T.trim()).filter(Boolean):[];i.setContentType([g||"multipart/form-data",...E].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+E))}const y=ca(e.baseURL,e.url);f.open(e.method.toUpperCase(),na(y,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function m(){if(!f)return;const g=ke.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),T={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:g,config:e,request:f};Lf(function(_){r(_),l()},function(_){n(_),l()},T),f=null}if("onloadend"in f?f.onloadend=m:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(m)},f.onabort=function(){f&&(n(new G("Request aborted",G.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new G("Network Error",G.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const T=e.transitional||oa;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),n(new G(E,T.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,f)),f=null},Le.hasStandardBrowserEnv&&(s&&w.isFunction(s)&&(s=s(e)),s||s!==!1&&Uf(y))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&Df.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in f&&w.forEach(i.toJSON(),function(E,T){f.setRequestHeader(T,E)}),w.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Uo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Uo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=g=>{f&&(n(!g||g.type?new Kt(null,e,f):g),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const h=Bf(y);if(h&&Le.protocols.indexOf(h)===-1){n(new G("Unsupported protocol "+h+":",G.ERR_BAD_REQUEST,e));return}f.send(o||null)})},mn={http:mf,xhr:Vf};w.forEach(mn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bo=e=>`- ${e}`,Wf=e=>w.isFunction(e)||e===null||e===!1,ua={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Wf(r)&&(n=mn[(a=String(r)).toLowerCase()],n===void 0))throw new G(`Unknown adapter '${a}'`);if(n)break;o[a||"#"+i]=n}if(!n){const i=Object.entries(o).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
232
|
+
`+i.map(Bo).join(`
|
|
233
|
+
`):" "+Bo(i[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:mn};function Gr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Kt(null,e)}function zo(e){return Gr(e),e.headers=ke.from(e.headers),e.data=qr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ua.getAdapter(e.adapter||Gt.adapter)(e).then(function(n){return Gr(e),n.data=qr.call(e,e.transformResponse,n),n.headers=ke.from(n.headers),n},function(n){return sa(n)||(Gr(e),n&&n.response&&(n.response.data=qr.call(e,e.transformResponse,n.response),n.response.headers=ke.from(n.response.headers))),Promise.reject(n)})}const Ho=e=>e instanceof ke?{...e}:e;function xt(e,t){t=t||{};const r={};function n(l,u,f){return w.isPlainObject(l)&&w.isPlainObject(u)?w.merge.call({caseless:f},l,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function o(l,u,f){if(w.isUndefined(u)){if(!w.isUndefined(l))return n(void 0,l,f)}else return n(l,u,f)}function i(l,u){if(!w.isUndefined(u))return n(void 0,u)}function a(l,u){if(w.isUndefined(u)){if(!w.isUndefined(l))return n(void 0,l)}else return n(void 0,u)}function s(l,u,f){if(f in t)return n(l,u);if(f in e)return n(void 0,l)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(l,u)=>o(Ho(l),Ho(u),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=c[u]||o,y=f(e[u],t[u],u);w.isUndefined(y)&&f!==s||(r[u]=y)}),r}const la="1.6.8",Fn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Vo={};Fn.transitional=function(t,r,n){function o(i,a){return"[Axios v"+la+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,s)=>{if(t===!1)throw new G(o(a," has been removed"+(r?" in "+r:"")),G.ERR_DEPRECATED);return r&&!Vo[a]&&(Vo[a]=!0,console.warn(o(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,s):!0}};function Yf(e,t,r){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const s=e[i],c=s===void 0||a(s,i,e);if(c!==!0)throw new G("option "+i+" must be "+c,G.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new G("Unknown option "+i,G.ERR_BAD_OPTION)}}const vn={assertOptions:Yf,validators:Fn},Ge=vn.validators;class st{constructor(t){this.defaults=t,this.interceptors={request:new $o,response:new $o}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
234
|
+
`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=xt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&vn.assertOptions(n,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1),o!=null&&(w.isFunction(o)?r.paramsSerializer={serialize:o}:vn.assertOptions(o,{encode:Ge.function,serialize:Ge.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&w.merge(i.common,i[r.method]);i&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=ke.concat(a,i);const s=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(c=c&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let u,f=0,y;if(!c){const h=[zo.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,l),y=h.length,u=Promise.resolve(r);f<y;)u=u.then(h[f++],h[f++]);return u}y=s.length;let m=r;for(f=0;f<y;){const h=s[f++],g=s[f++];try{m=h(m)}catch(E){g.call(this,E);break}}try{u=zo.call(this,m)}catch(h){return Promise.reject(h)}for(f=0,y=l.length;f<y;)u=u.then(l[f++],l[f++]);return u}getUri(t){t=xt(this.defaults,t);const r=ca(t.baseURL,t.url);return na(r,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){st.prototype[t]=function(r,n){return this.request(xt(n||{},{method:t,url:r,data:(n||{}).data}))}});w.forEach(["post","put","patch"],function(t){function r(n){return function(i,a,s){return this.request(xt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}st.prototype[t]=r(),st.prototype[t+"Form"]=r(!0)});class Un{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,s){n.reason||(n.reason=new Kt(i,a,s),r(n.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 r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Un(function(o){t=o}),cancel:t}}}function qf(e){return function(r){return e.apply(null,r)}}function Gf(e){return w.isObject(e)&&e.isAxiosError===!0}const gn={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(gn).forEach(([e,t])=>{gn[t]=e});function fa(e){const t=new st(e),r=Wi(st.prototype.request,t);return w.extend(r,st.prototype,t,{allOwnKeys:!0}),w.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return fa(xt(e,o))},r}const le=fa(Gt);le.Axios=st;le.CanceledError=Kt;le.CancelToken=Un;le.isCancel=sa;le.VERSION=la;le.toFormData=Mr;le.AxiosError=G;le.Cancel=le.CanceledError;le.all=function(t){return Promise.all(t)};le.spread=qf;le.isAxiosError=Gf;le.mergeConfig=xt;le.AxiosHeaders=ke;le.formToJSON=e=>aa(w.isHTMLForm(e)?new FormData(e):e);le.getAdapter=ua.getAdapter;le.HttpStatusCode=gn;le.default=le;/*!
|
|
235
235
|
* cookie
|
|
236
236
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
237
237
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
238
238
|
* MIT Licensed
|
|
239
|
-
*/var
|
|
239
|
+
*/var da=Jf,Wo=Xf,Kf=Object.prototype.toString,nr=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Jf(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},o=n.decode||Zf,i=0;i<e.length;){var a=e.indexOf("=",i);if(a===-1)break;var s=e.indexOf(";",i);if(s===-1)s=e.length;else if(s<a){i=e.lastIndexOf(";",a-1)+1;continue}var c=e.slice(i,a).trim();if(r[c]===void 0){var l=e.slice(a+1,s).trim();l.charCodeAt(0)===34&&(l=l.slice(1,-1)),r[c]=td(l,o)}i=s+1}return r}function Xf(e,t,r){var n=r||{},o=n.encode||Qf;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!nr.test(e))throw new TypeError("argument name is invalid");var i=o(t);if(i&&!nr.test(i))throw new TypeError("argument val is invalid");var a=e+"="+i;if(n.maxAge!=null){var s=n.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(s)}if(n.domain){if(!nr.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain="+n.domain}if(n.path){if(!nr.test(n.path))throw new TypeError("option path is invalid");a+="; Path="+n.path}if(n.expires){var c=n.expires;if(!ed(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+c.toUTCString()}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.partitioned&&(a+="; Partitioned"),n.priority){var l=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(l){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var u=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(u){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a}function Zf(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function Qf(e){return encodeURIComponent(e)}function ed(e){return Kf.call(e)==="[object Date]"||e instanceof Date}function td(e,t){try{return t(e)}catch{return e}}function rd(){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 nd(e){return typeof e=="string"?da(e):typeof e=="object"&&e!==null?e:{}}function Kr(e,t={}){const r=od(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function od(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class id{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const o=this.cookies;this.cookies=da(document.cookie),this._checkChanges(o)};const n=typeof document>"u"?"":document.cookie;this.cookies=nd(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=rd()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:Kr(this.cookies[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),Kr(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=Kr(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const o=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:o}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Wo(t,o,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{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=Wo(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}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 r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const ad=Y.createContext(new id);var yn={exports:{}},ne={};/** @license React v16.13.1
|
|
240
240
|
* react-is.production.min.js
|
|
241
241
|
*
|
|
242
242
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
243
243
|
*
|
|
244
244
|
* This source code is licensed under the MIT license found in the
|
|
245
245
|
* LICENSE file in the root directory of this source tree.
|
|
246
|
-
*/var
|
|
246
|
+
*/var Yo;function sd(){if(Yo)return ne;Yo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function _(p){if(typeof p=="object"&&p!==null){var A=p.$$typeof;switch(A){case t:switch(p=p.type,p){case c:case l:case n:case i:case o:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case u:case h:case m:case a:return p;default:return A}}case r:return A}}}function C(p){return _(p)===l}return ne.AsyncMode=c,ne.ConcurrentMode=l,ne.ContextConsumer=s,ne.ContextProvider=a,ne.Element=t,ne.ForwardRef=u,ne.Fragment=n,ne.Lazy=h,ne.Memo=m,ne.Portal=r,ne.Profiler=i,ne.StrictMode=o,ne.Suspense=f,ne.isAsyncMode=function(p){return C(p)||_(p)===c},ne.isConcurrentMode=C,ne.isContextConsumer=function(p){return _(p)===s},ne.isContextProvider=function(p){return _(p)===a},ne.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},ne.isForwardRef=function(p){return _(p)===u},ne.isFragment=function(p){return _(p)===n},ne.isLazy=function(p){return _(p)===h},ne.isMemo=function(p){return _(p)===m},ne.isPortal=function(p){return _(p)===r},ne.isProfiler=function(p){return _(p)===i},ne.isStrictMode=function(p){return _(p)===o},ne.isSuspense=function(p){return _(p)===f},ne.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===l||p===i||p===o||p===f||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===m||p.$$typeof===a||p.$$typeof===s||p.$$typeof===u||p.$$typeof===E||p.$$typeof===T||p.$$typeof===S||p.$$typeof===g)},ne.typeOf=_,ne}var oe={};/** @license React v16.13.1
|
|
247
247
|
* react-is.development.js
|
|
248
248
|
*
|
|
249
249
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
250
250
|
*
|
|
251
251
|
* This source code is licensed under the MIT license found in the
|
|
252
252
|
* LICENSE file in the root directory of this source tree.
|
|
253
|
-
*/var Yo;function ad(){return Yo||(Yo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===T||b.$$typeof===S||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var Re=b.type;switch(Re){case c:case l:case n:case i:case o:case f:return Re;default:var Ae=Re&&Re.$$typeof;switch(Ae){case s:case u:case h:case m:case a:return Ae;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,fe=h,V=m,X=r,Q=i,ae=o,ue=f,Oe=!1;function Ee(b){return Oe||(Oe=!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.")),O(b)||C(b)===c}function O(b){return C(b)===l}function _(b){return C(b)===s}function D(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===m}function L(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function de(b){return C(b)===f}oe.AsyncMode=p,oe.ConcurrentMode=A,oe.ContextConsumer=k,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=K,oe.Fragment=ie,oe.Lazy=fe,oe.Memo=V,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=Ee,oe.isConcurrentMode=O,oe.isContextConsumer=_,oe.isContextProvider=D,oe.isElement=$,oe.isForwardRef=j,oe.isFragment=U,oe.isLazy=N,oe.isMemo=I,oe.isPortal=L,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=de,oe.isValidElementType=R,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?gn.exports=id():gn.exports=ad();var sd=gn.exports,fa=sd,cd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ud={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},da={};da[fa.ForwardRef]=cd;da[fa.Memo]=ud;function ld(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function Un(e){const t=v.useContext(od);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=v.useState(()=>t.getAll({doNotUpdate:!0}));ld()&&v.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});fd(e||null,c,r)&&n(c)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const o=v.useMemo(()=>t.set.bind(t),[t]),i=v.useMemo(()=>t.remove.bind(t),[t]),a=v.useMemo(()=>t.update.bind(t),[t]);return[r,o,i,a]}function fd(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const dd=()=>{const{axiosOptions:e,cookieDomain:t}=v.useContext(Nn),[,r,n]=Un(["Authorization"]),o=le.create(e),i=v.useCallback(()=>localStorage.getItem("token")??null,[]),a=v.useCallback(()=>{const l=i();return l!==null&&l.length>0},[i]),s=v.useCallback(async(l,u)=>o.post("/user/login",{kid:l,password:u}).then(f=>(localStorage.setItem("token",f.data),r("Authorization",f.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:Va(new Date(Date.now()),24)}),f.data)).catch(f=>(console.log(f),null)),[o,r,t]),c=v.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:a,login:s,logout:c,getToken:i}};/*! @azure/msal-react v2.0.16 2024-05-07 */const pd={instance:Ml,inProgress:Rr.None,accounts:[],logger:new Er({})},Bn=Y.createContext(pd);Bn.Consumer;/*! @azure/msal-react v2.0.16 2024-05-07 */function hd(e,t){return typeof e=="function"?e(t):e}function md(e,t){if(e.length!==t.length)return!1;const r=[...t];return e.every(n=>{const o=r.shift();return!n||!o?!1:n.homeAccountId===o.homeAccountId&&n.localAccountId===o.localAccountId&&n.username===o.username})}function pa(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter(n=>!(t.username&&t.username.toLowerCase()!==n.username.toLowerCase()||t.homeAccountId&&t.homeAccountId.toLowerCase()!==n.homeAccountId.toLowerCase()||t.localAccountId&&t.localAccountId.toLowerCase()!==n.localAccountId.toLowerCase()))[0]||null}/*! @azure/msal-react v2.0.16 2024-05-07 */const zn=()=>v.useContext(Bn);/*! @azure/msal-react v2.0.16 2024-05-07 */function vd(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!pa(e,t):e.length>0}function ha(e){const{accounts:t,inProgress:r}=zn();return v.useMemo(()=>r===Rr.Startup?!1:vd(t,e),[t,r,e])}const gd=()=>{const[,,e]=Un(["Authorization"]),{msalScopes:t}=v.useContext(Hn),{instance:r,inProgress:n}=zn(),o=ha(),i=v.useCallback(async()=>r.acquireTokenSilent({scopes:t}).then(u=>u.accessToken).catch(()=>null),[r,t]),a=v.useCallback(()=>o,[o]),s=v.useCallback(()=>!a()&&n!==Rr.None,[a,n]),c=v.useCallback(async()=>r.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[r,t]),l=v.useCallback(()=>{r.logout(),localStorage.removeItem("user"),e("Authorization")},[e,r]);return{isAuthenticated:a,isAuthenticating:s,login:c,logout:l,getToken:i}},ma=()=>{const{useMsal:e}=v.useContext(Hn),t=dd(),r=gd();return{isAuthenticated:e?r.isAuthenticated:t.isAuthenticated,isAuthenticating:e?r.isAuthenticating:()=>!1,getToken:e?r.getToken:t.getToken,login:e?r.login:t.login,logout:e?r.logout:t.logout}},yd="_toast_1s57i_1",kt={toast:yd},bd=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}},va=()=>({addNotification:v.useCallback((t,r)=>{const n=Lt.truncateText(t),o=bd(r),i=M.jsxs(M.Fragment,{children:[n,M.jsx($i,{onClick:()=>gt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(Ru,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",kt.toast)});break}case"danger":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(Eu,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",kt.toast)});break}case"warning":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(mu,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",kt.toast)});break}case"info":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(yu,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",kt.toast)});break}case"prompt":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(bu,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",kt.toast)});break}}},[])}),Ed=le.CancelToken,wd=e=>{const{authenticated:t=!0,differentBaseUrl:r,silent:n=!1,customToken:o}={...e},{language:i,axiosTexts:a,axiosOptions:s}=v.useContext(Nn),{addNotification:c}=va(),{getToken:l}=ma(),u=v.useMemo(()=>le.create(s),[s]),f=v.useCallback(async m=>{var h,g,E;if(t&&!m.headers.Authorization){const T=o??await l();if(!T)return Promise.reject(new Error("No bearer token"));m.headers.Authorization=`Bearer ${T}`}return(h=m.url)!=null&&h.includes("culture=")?m.url=(g=m.url)==null?void 0:g.replace(/culture=[a-z]{2}/,`culture=${i}`):m.url=`${m.url}${(E=m.url)!=null&&E.includes("?")?"&":"?"}culture=${i}`,m},[t,l,i,o]),y=v.useCallback(m=>{var E;if(console.log(m),le.isCancel(m))return Promise.reject(m);const h=Lt.extractErrorsFromResponse(m);if(h.length>0){const T=h.find(S=>S.name.toLowerCase()==="others");return T?(!n&&c(T.errors,"danger"),Promise.reject(m)):(!n&&c(a.validationError,"warning"),Promise.reject(m))}const g=Lt.extractPermissionsFromResponse(m);return g!==null?(c(`${a.permissionError}: ${Lt.joinStrings(", ",...g)}`,"danger"),Promise.reject(m)):((E=m.response)==null?void 0:E.status)===403?(!n&&c(a.forbiddenError,"danger"),Promise.reject(m)):m.message&&m.message==="Network Error"?(!n&&c(a.networkError,"danger"),Promise.reject(m)):(le.isCancel(m)||!n&&c(a.unexpectedError,"danger"),Promise.reject(m))},[c,a.forbiddenError,a.networkError,a.permissionError,a.unexpectedError,a.validationError,n]);return v.useEffect(()=>{r&&(u.defaults.baseURL=r),u.interceptors.request.clear(),u.interceptors.response.clear();const m=u.interceptors.request.use(f,g=>Promise.reject(g)),h=u.interceptors.response.use(g=>g,y);return()=>{u.interceptors.request.eject(m),u.interceptors.response.eject(h)}},[u.defaults,u.interceptors.request,u.interceptors.response,r,f,y]),u},Hn=v.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),Od="_h1_14r4v_1",xd="_h3_14r4v_8",Td="_h6_14r4v_15",Sd="_subtitle_14r4v_22",Cd="_body_14r4v_29",Rd="_body2_14r4v_36",_d="_caption_14r4v_43",Pd="_form-label_14r4v_50",Ke={h1:Od,h3:xd,h6:Td,subtitle:Sd,body:Cd,body2:Rd,caption:_d,"form-label":"_form-label_14r4v_50",formLabel:Pd},Ad=({variant:e,className:t,children:r})=>{switch(e){case"h1":return M.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Ke.h1,t),children:r});case"h3":return M.jsx("h3",{className:ce("luminus-text luminus-h3",Ke.h3,t),children:r});case"h6":return M.jsx("h6",{className:ce("luminus-text luminus-h6",Ke.h6,t),children:r});case"subtitle":return M.jsx("div",{className:ce("luminus-text luminus-subtitle",Ke.subtitle,t),children:r});case"body":return M.jsx("div",{className:ce("luminus-text luminus-body",Ke.body,t),children:r});case"body2":return M.jsx("div",{className:ce("luminus-text luminus-body2",Ke.body2,t),children:r});case"caption":return M.jsx("div",{className:ce("luminus-text-muted luminus-caption",Ke.caption,t),children:r});case"form-label":return M.jsx("div",{className:ce("luminus-text luminus-form-label",Ke.formLabel,t),children:r});default:return M.jsx(M.Fragment,{children:r})}},ga=({variant:e,className:t,children:r})=>M.jsx(Ad,{variant:e,className:t,children:r}),Md="_button_qhwih_1",jd={button:Md},kd=v.forwardRef(({color:e="primary",icon:t=M.jsx(Pu,{size:21}),text:r,onClick:n,className:o,children:i,...a},s)=>M.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),n(c)},"aria-label":"dropdown toggle",className:ce(`btn luminus-context-button text-${e} ${o??""}`,jd.button),...a,children:[t,r]})),Nd="_avatar-icon_1axl6_1",Id={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:Nd},ya=({name:e,fontSize:t,size:r})=>{const n=o=>{let i=0,a;for(a=0;a<o.length;a+=1)i=o.charCodeAt(a)+((i<<5)-i);let s="#";for(a=0;a<3;a+=1){const c=i>>a*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return M.jsx(Ii,{placement:"bottom",overlay:M.jsx(kn,{children:e}),children:M.jsx("div",{className:ce("luminus-avatar-icon",Id.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,minHeight:r??void 0,height:r??void 0,maxHeight:r??void 0,minWidth:r??void 0,width:r??void 0,maxWidth:r??void 0},children:M.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},Ld=v.forwardRef(({userName:e,onClick:t,children:r},n)=>M.jsxs("button",{type:"button",ref:n,onClick:o=>{o.preventDefault(),t(o)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[M.jsx(ya,{name:e}),r]})),Dd="_floating-label_1gef3_1",$d="_without-label_1gef3_21",qo={"floating-label":"_floating-label_1gef3_1",floatingLabel:Dd,"without-label":"_without-label_1gef3_21",withoutLabel:$d},ba=v.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,isForCheckInput:a,...s},c)=>a?M.jsx(M.Fragment,{children:t}):M.jsx(Mn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,qo.floatingLabel,{[i??""]:i},{[qo.withoutLabel]:s.withoutLabel}),children:t}));ba.displayName="FloatingLabelInput";const Fd="_row-label-input_rc09e_1",Ud="_label_rc09e_4",Bd="_input-container_rc09e_9",zd="_invalid-feedback_rc09e_100",Hd="_keep-check-label_rc09e_128",Vd="_is-invalid_rc09e_156",Nt={"row-label-input":"_row-label-input_rc09e_1",rowLabelInput:Fd,label:Ud,"input-container":"_input-container_rc09e_9",inputContainer:Bd,"invalid-feedback":"_invalid-feedback_rc09e_100",invalidFeedback:zd,"keep-check-label":"_keep-check-label_rc09e_128",keepCheckLabel:Hd,"is-invalid":"_is-invalid_rc09e_156",isInvalid:Vd},Ea=v.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,isForTextAreaInput:i,inputContainerClassName:a,...s},c)=>M.jsxs("div",{ref:c,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[Nt.isInvalid]:n},{[r??""]:r},{"d-none":e},Nt.rowLabelInput),children:[!s.withoutLabel&&M.jsx("label",{className:ce("label col-6",{"col-12":i},Nt.label),children:M.jsx(ga,{variant:"form-label",className:n?"text-danger":"",children:s.label})}),M.jsx("div",{className:ce("input-container",Nt.inputContainer,{"col-6":!s.withoutLabel&&!i},{"col-12":s.withoutLabel||i},{[Nt.keepCheckLabel]:o},{[a??""]:a}),children:t})]}));Ea.displayName="RowLabelInput";const wa=v.forwardRef(({children:e,className:t,hidden:r},n)=>M.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));wa.displayName="NoInputContainer";exports.AuthContext=Hn;exports.AuthError=Cr;exports.AvatarIcon=ya;exports.CacheAccountType=Sl;exports.ConfirmContext=Mu;exports.Constants=me;exports.ENTERED=Xe;exports.ENTERING=ze;exports.EXITED=Je;exports.EXITING=fr;exports.Fade=hr;exports.FloatingLabel=Mn;exports.FloatingLabelInput=ba;exports.FormContext=Si;exports.FormGroup=An;exports.GenIcon=pe;exports.Ie=Ol;exports.InteractionStatus=Rr;exports.LoadingContext=xl;exports.LuminusComponentsContext=Nn;exports.MdCheck=pu;exports.MdCircle=du;exports.MdClear=fu;exports.MdOutlineAddCircleOutline=wu;exports.MdOutlineArrowOutward=hu;exports.MdOutlineCameraAlt=Su;exports.MdOutlineChevronRight=_u;exports.MdOutlineClose=$i;exports.MdOutlineDelete=vu;exports.MdOutlineEdit=Cu;exports.MdOutlineExpand=gu;exports.MdOutlineFileUpload=Ou;exports.MdOutlineKeyboardArrowLeft=xu;exports.MdOutlineKeyboardArrowRight=Tu;exports.MdOutlineStar=Au;exports.MsalContext=Bn;exports.NoInputContainer=wa;exports.OIDC_DEFAULT_SCOPES=zi;exports.OverlayTrigger=Ii;exports.Popover=ji;exports.PromptContext=ju;exports.PropTypes=z;exports.RowLabelInput=Ea;exports.Separators=Cl;exports.SimpleDropdownToggle=kd;exports.Tooltip=kn;exports.TransitionWrapper=si;exports.Typography=ga;exports.UserAvatarToggle=Ld;exports.UserContext=Tl;exports.WrapperSKU=Rl;exports.accountArraysAreEqual=md;exports.addEventListener=ri;exports.canUseDOM=xr;exports.cancelToken=Ed;exports.classNames=ce;exports.constructFrom=Jo;exports.contains=vr;exports.getAccountByIdentifiers=pa;exports.getChildrenOrFunction=hd;exports.getDefaultExportFromCjs=wr;exports.hasClass=cn;exports.isEscKey=Ci;exports.jsxRuntimeExports=M;exports.listen=Qe;exports.mergeOptionsWithPopperConfig=Oi;exports.ownerDocument=Ht;exports.removeEventListener=ni;exports.renderTransition=Ri;exports.style=bn;exports.toDate=Ko;exports.transitionEnd=oi;exports.transitionEndListener=ii;exports.triggerBrowserReflow=ai;exports.useAuth=ma;exports.useAxios=wd;exports.useBootstrapBreakpoints=Xa;exports.useBootstrapMinBreakpoint=Za;exports.useBootstrapPrefix=et;exports.useCallbackRef=rn;exports.useClickOutside=wi;exports.useCookies=Un;exports.useEventCallback=ct;exports.useIsAuthenticated=ha;exports.useIsRTL=yn;exports.useIsomorphicEffect=pr;exports.useMergedRefs=rt;exports.useMounted=wn;exports.useMsal=zn;exports.useNotifications=va;exports.usePopper=bi;exports.useUncontrolled=qa;exports.useWaitForDOMRef=sn;exports.useWillUnmount=ci;exports.useWindow=Ti;exports.warning=Pn;
|
|
253
|
+
*/var qo;function cd(){return qo||(qo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function _(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===T||b.$$typeof===S||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case l:case n:case i:case o:case f:return _e;default:var Ae=_e&&_e.$$typeof;switch(Ae){case s:case u:case h:case m:case a:return Ae;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,fe=h,V=m,X=r,Q=i,ae=o,ue=f,Oe=!1;function Ee(b){return Oe||(Oe=!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.")),O(b)||C(b)===c}function O(b){return C(b)===l}function R(b){return C(b)===s}function D(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===m}function L(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function de(b){return C(b)===f}oe.AsyncMode=p,oe.ConcurrentMode=A,oe.ContextConsumer=k,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=K,oe.Fragment=ie,oe.Lazy=fe,oe.Memo=V,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=Ee,oe.isConcurrentMode=O,oe.isContextConsumer=R,oe.isContextProvider=D,oe.isElement=$,oe.isForwardRef=j,oe.isFragment=U,oe.isLazy=N,oe.isMemo=I,oe.isPortal=L,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=de,oe.isValidElementType=_,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?yn.exports=sd():yn.exports=cd();var ud=yn.exports,pa=ud,ld={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ha={};ha[pa.ForwardRef]=ld;ha[pa.Memo]=fd;function dd(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function Bn(e){const t=v.useContext(ad);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=v.useState(()=>t.getAll({doNotUpdate:!0}));dd()&&v.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});pd(e||null,c,r)&&n(c)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const o=v.useMemo(()=>t.set.bind(t),[t]),i=v.useMemo(()=>t.remove.bind(t),[t]),a=v.useMemo(()=>t.update.bind(t),[t]);return[r,o,i,a]}function pd(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const hd=()=>{const{axiosOptions:e,cookieDomain:t}=v.useContext(In),[,r,n]=Bn(["Authorization"]),o=le.create(e),i=v.useCallback(()=>localStorage.getItem("token")??null,[]),a=v.useCallback(()=>{const l=i();return l!==null&&l.length>0},[i]),s=v.useCallback(async(l,u)=>o.post("/user/login",{kid:l,password:u}).then(f=>(localStorage.setItem("token",f.data),r("Authorization",f.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:Ya(new Date(Date.now()),24)}),f.data)).catch(f=>(console.log(f),null)),[o,r,t]),c=v.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:a,login:s,logout:c,getToken:i}};/*! @azure/msal-react v2.0.16 2024-05-07 */const md={instance:kl,inProgress:_r.None,accounts:[],logger:new Er({})},zn=Y.createContext(md);zn.Consumer;/*! @azure/msal-react v2.0.16 2024-05-07 */function vd(e,t){return typeof e=="function"?e(t):e}function gd(e,t){if(e.length!==t.length)return!1;const r=[...t];return e.every(n=>{const o=r.shift();return!n||!o?!1:n.homeAccountId===o.homeAccountId&&n.localAccountId===o.localAccountId&&n.username===o.username})}function ma(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter(n=>!(t.username&&t.username.toLowerCase()!==n.username.toLowerCase()||t.homeAccountId&&t.homeAccountId.toLowerCase()!==n.homeAccountId.toLowerCase()||t.localAccountId&&t.localAccountId.toLowerCase()!==n.localAccountId.toLowerCase()))[0]||null}/*! @azure/msal-react v2.0.16 2024-05-07 */const Hn=()=>v.useContext(zn);/*! @azure/msal-react v2.0.16 2024-05-07 */function yd(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!ma(e,t):e.length>0}function va(e){const{accounts:t,inProgress:r}=Hn();return v.useMemo(()=>r===_r.Startup?!1:yd(t,e),[t,r,e])}const bd=()=>{const[,,e]=Bn(["Authorization"]),{msalScopes:t}=v.useContext(Vn),{instance:r,inProgress:n}=Hn(),o=va(),i=v.useCallback(async()=>r.acquireTokenSilent({scopes:t}).then(u=>u.accessToken).catch(()=>null),[r,t]),a=v.useCallback(()=>o,[o]),s=v.useCallback(()=>!a()&&n!==_r.None,[a,n]),c=v.useCallback(async()=>r.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[r,t]),l=v.useCallback(()=>{r.logout(),localStorage.removeItem("user"),e("Authorization")},[e,r]);return{isAuthenticated:a,isAuthenticating:s,login:c,logout:l,getToken:i}},ga=()=>{const{useMsal:e}=v.useContext(Vn),t=hd(),r=bd();return{isAuthenticated:e?r.isAuthenticated:t.isAuthenticated,isAuthenticating:e?r.isAuthenticating:()=>!1,getToken:e?r.getToken:t.getToken,login:e?r.login:t.login,logout:e?r.logout:t.logout}},Ed="_toast_1s57i_1",kt={toast:Ed},wd=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}},ya=()=>({addNotification:v.useCallback((t,r)=>{const n=Lt.truncateText(t),o=wd(r),i=M.jsxs(M.Fragment,{children:[n,M.jsx(Fi,{onClick:()=>gt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(Pu,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",kt.toast)});break}case"danger":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(Ou,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",kt.toast)});break}case"warning":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(gu,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",kt.toast)});break}case"info":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(Eu,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",kt.toast)});break}case"prompt":{gt(i,{id:n,duration:o,position:"top-center",icon:M.jsx(wu,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",kt.toast)});break}}},[])}),Od=le.CancelToken,xd=e=>{const{authenticated:t=!0,differentBaseUrl:r,silent:n=!1,customToken:o}={...e},{language:i,axiosTexts:a,axiosOptions:s}=v.useContext(In),{addNotification:c}=ya(),{getToken:l}=ga(),u=v.useMemo(()=>le.create(s),[s]),f=v.useCallback(async m=>{var h,g,E;if(t&&!m.headers.Authorization){const T=o??await l();if(!T)return Promise.reject(new Error("No bearer token"));m.headers.Authorization=`Bearer ${T}`}return(h=m.url)!=null&&h.includes("culture=")?m.url=(g=m.url)==null?void 0:g.replace(/culture=[a-z]{2}/,`culture=${i}`):m.url=`${m.url}${(E=m.url)!=null&&E.includes("?")?"&":"?"}culture=${i}`,m},[t,l,i,o]),y=v.useCallback(m=>{var E;if(console.log(m),le.isCancel(m))return Promise.reject(m);const h=Lt.extractErrorsFromResponse(m);if(h.length>0){const T=h.find(S=>S.name.toLowerCase()==="others");return T?(!n&&c(T.errors,"danger"),Promise.reject(m)):(!n&&c(a.validationError,"warning"),Promise.reject(m))}const g=Lt.extractPermissionsFromResponse(m);return g!==null?(c(`${a.permissionError}: ${Lt.joinStrings(", ",...g)}`,"danger"),Promise.reject(m)):((E=m.response)==null?void 0:E.status)===403?(!n&&c(a.forbiddenError,"danger"),Promise.reject(m)):m.message&&m.message==="Network Error"?(!n&&c(a.networkError,"danger"),Promise.reject(m)):(le.isCancel(m)||!n&&c(a.unexpectedError,"danger"),Promise.reject(m))},[c,a.forbiddenError,a.networkError,a.permissionError,a.unexpectedError,a.validationError,n]);return v.useEffect(()=>{r&&(u.defaults.baseURL=r),u.interceptors.request.clear(),u.interceptors.response.clear();const m=u.interceptors.request.use(f,g=>Promise.reject(g)),h=u.interceptors.response.use(g=>g,y);return()=>{u.interceptors.request.eject(m),u.interceptors.response.eject(h)}},[u.defaults,u.interceptors.request,u.interceptors.response,r,f,y]),u},Vn=v.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),Td="_h1_14r4v_1",Sd="_h3_14r4v_8",Cd="_h6_14r4v_15",_d="_subtitle_14r4v_22",Rd="_body_14r4v_29",Pd="_body2_14r4v_36",Ad="_caption_14r4v_43",Md="_form-label_14r4v_50",Ke={h1:Td,h3:Sd,h6:Cd,subtitle:_d,body:Rd,body2:Pd,caption:Ad,"form-label":"_form-label_14r4v_50",formLabel:Md},jd=({variant:e,className:t,children:r})=>{switch(e){case"h1":return M.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Ke.h1,t),children:r});case"h3":return M.jsx("h3",{className:ce("luminus-text luminus-h3",Ke.h3,t),children:r});case"h6":return M.jsx("h6",{className:ce("luminus-text luminus-h6",Ke.h6,t),children:r});case"subtitle":return M.jsx("div",{className:ce("luminus-text luminus-subtitle",Ke.subtitle,t),children:r});case"body":return M.jsx("div",{className:ce("luminus-text luminus-body",Ke.body,t),children:r});case"body2":return M.jsx("div",{className:ce("luminus-text luminus-body2",Ke.body2,t),children:r});case"caption":return M.jsx("div",{className:ce("luminus-text-muted luminus-caption",Ke.caption,t),children:r});case"form-label":return M.jsx("div",{className:ce("luminus-text luminus-form-label",Ke.formLabel,t),children:r});default:return M.jsx(M.Fragment,{children:r})}},ba=({variant:e,className:t,children:r})=>M.jsx(jd,{variant:e,className:t,children:r}),kd="_button_qhwih_1",Nd={button:kd},Id=v.forwardRef(({color:e="primary",icon:t=M.jsx(Mu,{size:21}),text:r,onClick:n,className:o,children:i,...a},s)=>M.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),n(c)},"aria-label":"dropdown toggle",className:ce(`btn luminus-context-button text-${e} ${o??""}`,Nd.button),...a,children:[t,r]})),Ld="_avatar-icon_1axl6_1",Dd={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:Ld},Ea=({name:e,fontSize:t,size:r})=>{const n=o=>{let i=0,a;for(a=0;a<o.length;a+=1)i=o.charCodeAt(a)+((i<<5)-i);let s="#";for(a=0;a<3;a+=1){const c=i>>a*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return M.jsx(Li,{placement:"bottom",overlay:M.jsx(Nn,{children:e}),children:M.jsx("div",{className:ce("luminus-avatar-icon",Dd.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,minHeight:r??void 0,height:r??void 0,maxHeight:r??void 0,minWidth:r??void 0,width:r??void 0,maxWidth:r??void 0},children:M.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},$d=v.forwardRef(({userName:e,onClick:t,children:r},n)=>M.jsxs("button",{type:"button",ref:n,onClick:o=>{o.preventDefault(),t(o)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[M.jsx(Ea,{name:e}),r]})),Fd="_floating-label_1g53j_1",Ud="_without-label_1g53j_21",Go={"floating-label":"_floating-label_1g53j_1",floatingLabel:Fd,"without-label":"_without-label_1g53j_21",withoutLabel:Ud},wa=v.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,isForCheckInput:a,...s},c)=>a?M.jsx(M.Fragment,{children:t}):M.jsx(jn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,Go.floatingLabel,{[i??""]:i},{[Go.withoutLabel]:s.withoutLabel}),children:t}));wa.displayName="FloatingLabelInput";const Bd="_row-label-input_13ci8_1",zd="_label_13ci8_4",Hd="_input-container_13ci8_9",Vd="_invalid-feedback_13ci8_101",Wd="_keep-check-label_13ci8_129",Yd="_is-invalid_13ci8_157",Nt={"row-label-input":"_row-label-input_13ci8_1",rowLabelInput:Bd,label:zd,"input-container":"_input-container_13ci8_9",inputContainer:Hd,"invalid-feedback":"_invalid-feedback_13ci8_101",invalidFeedback:Vd,"keep-check-label":"_keep-check-label_13ci8_129",keepCheckLabel:Wd,"is-invalid":"_is-invalid_13ci8_157",isInvalid:Yd},Oa=v.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,isForTextAreaInput:i,inputContainerClassName:a,...s},c)=>M.jsxs("div",{ref:c,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[Nt.isInvalid]:n},{[r??""]:r},{"d-none":e},Nt.rowLabelInput),children:[!s.withoutLabel&&M.jsx("label",{className:ce("label col-6",{"col-12":i},Nt.label),children:M.jsx(ba,{variant:"form-label",className:n?"text-danger":"",children:s.label})}),M.jsx("div",{className:ce("input-container",Nt.inputContainer,{"col-6":!s.withoutLabel&&!i},{"col-12":s.withoutLabel||i},{[Nt.keepCheckLabel]:o},{[a??""]:a}),children:t})]}));Oa.displayName="RowLabelInput";const xa=v.forwardRef(({children:e,className:t,hidden:r},n)=>M.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));xa.displayName="NoInputContainer";exports.AuthContext=Vn;exports.AuthError=Cr;exports.AvatarIcon=Ea;exports.CacheAccountType=_l;exports.ConfirmContext=ku;exports.Constants=me;exports.ENTERED=Xe;exports.ENTERING=ze;exports.EXITED=Je;exports.EXITING=fr;exports.Fade=hr;exports.FloatingLabel=jn;exports.FloatingLabelInput=wa;exports.FormContext=Ci;exports.FormGroup=Mn;exports.GenIcon=pe;exports.Ie=Tl;exports.InteractionStatus=_r;exports.LoadingContext=Sl;exports.LoginState=Hi;exports.LuminusComponentsContext=In;exports.MdCheck=mu;exports.MdCircle=hu;exports.MdClear=pu;exports.MdOutlineAddCircleOutline=xu;exports.MdOutlineArrowOutward=vu;exports.MdOutlineCameraAlt=_u;exports.MdOutlineChevronRight=Au;exports.MdOutlineClose=Fi;exports.MdOutlineDelete=yu;exports.MdOutlineEdit=Ru;exports.MdOutlineExpand=bu;exports.MdOutlineFileUpload=Tu;exports.MdOutlineKeyboardArrowLeft=Su;exports.MdOutlineKeyboardArrowRight=Cu;exports.MdOutlineStar=ju;exports.MsalContext=zn;exports.NoInputContainer=xa;exports.OIDC_DEFAULT_SCOPES=Vi;exports.OverlayTrigger=Li;exports.Popover=ki;exports.PromptContext=Nu;exports.PropTypes=z;exports.RowLabelInput=Oa;exports.Separators=Rl;exports.SimpleDropdownToggle=Id;exports.Tooltip=Nn;exports.TransitionWrapper=ci;exports.Typography=ba;exports.UserAvatarToggle=$d;exports.UserContext=Cl;exports.WrapperSKU=Pl;exports.accountArraysAreEqual=gd;exports.addEventListener=ni;exports.canUseDOM=xr;exports.cancelToken=Od;exports.classNames=ce;exports.constructFrom=Xo;exports.contains=vr;exports.getAccountByIdentifiers=ma;exports.getChildrenOrFunction=vd;exports.getDefaultExportFromCjs=wr;exports.hasClass=cn;exports.isEscKey=_i;exports.jsxRuntimeExports=M;exports.listen=Qe;exports.mergeOptionsWithPopperConfig=xi;exports.ownerDocument=Ht;exports.removeEventListener=oi;exports.renderTransition=Ri;exports.style=En;exports.toDate=Jo;exports.transitionEnd=ii;exports.transitionEndListener=ai;exports.triggerBrowserReflow=si;exports.useAuth=ga;exports.useAxios=xd;exports.useBootstrapBreakpoints=Qa;exports.useBootstrapMinBreakpoint=es;exports.useBootstrapPrefix=et;exports.useCallbackRef=rn;exports.useClickOutside=Oi;exports.useCookies=Bn;exports.useEventCallback=ct;exports.useIsAuthenticated=va;exports.useIsRTL=bn;exports.useIsomorphicEffect=pr;exports.useMergedRefs=rt;exports.useMounted=On;exports.useMsal=Hn;exports.useNotifications=ya;exports.usePopper=Ei;exports.useUncontrolled=Ka;exports.useWaitForDOMRef=sn;exports.useWillUnmount=ui;exports.useWindow=Si;exports.warning=An;
|