bonuspluscomponents 0.0.28 → 0.0.30
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/bonuspluscomponents.cjs.js +218 -10
- package/dist/bonuspluscomponents.es.js +8262 -384
- package/dist/bonuspluscomponents.umd.js +218 -10
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const me=require("react");require("react-dom");function Es(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 N=Es(me);function Ss(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _s(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var yn={exports:{}},zt={};/**
|
|
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 ws(){if(Eo)return zt;Eo=1;var e=me,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,u){var l,f={},d=null,g=null;u!==void 0&&(d=""+u),c.key!==void 0&&(d=""+c.key),c.ref!==void 0&&(g=c.ref);for(l in c)n.call(c,l)&&!i.hasOwnProperty(l)&&(f[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)f[l]===void 0&&(f[l]=c[l]);return{$$typeof:t,type:s,key:d,ref:g,props:f,_owner:o.current}}return zt.Fragment=r,zt.jsx=a,zt.jsxs=a,zt}var Ft={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,14 +14,222 @@
|
|
|
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
|
|
18
|
-
`+
|
|
19
|
-
`)
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var So;function xs(){return So||(So=1,process.env.NODE_ENV!=="production"&&function(){var e=me,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"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=Symbol.iterator,p="@@iterator";function y(h){if(h===null||typeof h!="object")return null;var T=v&&h[v]||h[p];return typeof T=="function"?T:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(h){{for(var T=arguments.length,P=new Array(T>1?T-1:0),W=1;W<T;W++)P[W-1]=arguments[W];S("error",h,P)}}function S(h,T,P){{var W=E.ReactDebugCurrentFrame,te=W.getStackAddendum();te!==""&&(T+="%s",P=P.concat([te]));var pe=P.map(function(J){return String(J)});pe.unshift("Warning: "+T),Function.prototype.apply.call(console[h],console,pe)}}var b=!1,m=!1,R=!1,C=!1,V=!1,D;D=Symbol.for("react.module.reference");function $(h){return!!(typeof h=="string"||typeof h=="function"||h===n||h===i||V||h===o||h===u||h===l||C||h===g||b||m||R||typeof h=="object"&&h!==null&&(h.$$typeof===d||h.$$typeof===f||h.$$typeof===a||h.$$typeof===s||h.$$typeof===c||h.$$typeof===D||h.getModuleId!==void 0))}function z(h,T,P){var W=h.displayName;if(W)return W;var te=T.displayName||T.name||"";return te!==""?P+"("+te+")":P}function X(h){return h.displayName||"Context"}function Z(h){if(h==null)return null;if(typeof h.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case l:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case s:var T=h;return X(T)+".Consumer";case a:var P=h;return X(P._context)+".Provider";case c:return z(h,h.render,"ForwardRef");case f:var W=h.displayName||null;return W!==null?W:Z(h.type)||"Memo";case d:{var te=h,pe=te._payload,J=te._init;try{return Z(J(pe))}catch{return null}}}return null}var Q=Object.assign,de=0,ee,ve,he,Ie,O,A,Y;function B(){}B.__reactDisabledLog=!0;function I(){{if(de===0){ee=console.log,ve=console.info,he=console.warn,Ie=console.error,O=console.group,A=console.groupCollapsed,Y=console.groupEnd;var h={configurable:!0,enumerable:!0,value:B,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}de++}}function q(){{if(de--,de===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},h,{value:ee}),info:Q({},h,{value:ve}),warn:Q({},h,{value:he}),error:Q({},h,{value:Ie}),group:Q({},h,{value:O}),groupCollapsed:Q({},h,{value:A}),groupEnd:Q({},h,{value:Y})})}de<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var M=E.ReactCurrentDispatcher,F;function U(h,T,P){{if(F===void 0)try{throw Error()}catch(te){var W=te.stack.trim().match(/\n( *(at )?)/);F=W&&W[1]||""}return`
|
|
18
|
+
`+F+h}}var L=!1,K;{var be=typeof WeakMap=="function"?WeakMap:Map;K=new be}function _(h,T){if(!h||L)return"";{var P=K.get(h);if(P!==void 0)return P}var W;L=!0;var te=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var pe;pe=M.current,M.current=null,I();try{if(T){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(Ge){W=Ge}Reflect.construct(h,[],J)}else{try{J.call()}catch(Ge){W=Ge}h.call(J.prototype)}}else{try{throw Error()}catch(Ge){W=Ge}h()}}catch(Ge){if(Ge&&W&&typeof Ge.stack=="string"){for(var H=Ge.stack.split(`
|
|
19
|
+
`),$e=W.stack.split(`
|
|
20
|
+
`),_e=H.length-1,xe=$e.length-1;_e>=1&&xe>=0&&H[_e]!==$e[xe];)xe--;for(;_e>=1&&xe>=0;_e--,xe--)if(H[_e]!==$e[xe]){if(_e!==1||xe!==1)do if(_e--,xe--,xe<0||H[_e]!==$e[xe]){var ze=`
|
|
21
|
+
`+H[_e].replace(" at new "," at ");return h.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",h.displayName)),typeof h=="function"&&K.set(h,ze),ze}while(_e>=1&&xe>=0);break}}}finally{L=!1,M.current=pe,q(),Error.prepareStackTrace=te}var vt=h?h.displayName||h.name:"",bo=vt?U(vt):"";return typeof h=="function"&&K.set(h,bo),bo}function we(h,T,P){return _(h,!1)}function j(h){var T=h.prototype;return!!(T&&T.isReactComponent)}function Pe(h,T,P){if(h==null)return"";if(typeof h=="function")return _(h,j(h));if(typeof h=="string")return U(h);switch(h){case u:return U("Suspense");case l:return U("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case c:return we(h.render);case f:return Pe(h.type,T,P);case d:{var W=h,te=W._payload,pe=W._init;try{return Pe(pe(te),T,P)}catch{}}}return""}var We=Object.prototype.hasOwnProperty,at={},ir=E.ReactDebugCurrentFrame;function pt(h){if(h){var T=h._owner,P=Pe(h.type,h._source,T?T.type:null);ir.setExtraStackFrame(P)}else ir.setExtraStackFrame(null)}function kt(h,T,P,W,te){{var pe=Function.call.bind(We);for(var J in h)if(pe(h,J)){var H=void 0;try{if(typeof h[J]!="function"){var $e=Error((W||"React class")+": "+P+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $e.name="Invariant Violation",$e}H=h[J](T,J,W,P,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_e){H=_e}H&&!(H instanceof Error)&&(pt(te),x("%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).",W||"React class",P,J,typeof H),pt(null)),H instanceof Error&&!(H.message in at)&&(at[H.message]=!0,pt(te),x("Failed %s type: %s",P,H.message),pt(null))}}}var Mt=Array.isArray;function Dt(h){return Mt(h)}function Wr(h){{var T=typeof Symbol=="function"&&Symbol.toStringTag,P=T&&h[Symbol.toStringTag]||h.constructor.name||"Object";return P}}function mt(h){try{return Ze(h),!1}catch{return!0}}function Ze(h){return""+h}function ar(h){if(mt(h))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Wr(h)),Ze(h)}var Qe=E.ReactCurrentOwner,Br={key:!0,ref:!0,__self:!0,__source:!0},G,Vt,Lt;Lt={};function sr(h){if(We.call(h,"ref")){var T=Object.getOwnPropertyDescriptor(h,"ref").get;if(T&&T.isReactWarning)return!1}return h.ref!==void 0}function fo(h){if(We.call(h,"key")){var T=Object.getOwnPropertyDescriptor(h,"key").get;if(T&&T.isReactWarning)return!1}return h.key!==void 0}function ss(h,T){if(typeof h.ref=="string"&&Qe.current&&T&&Qe.current.stateNode!==T){var P=Z(Qe.current.type);Lt[P]||(x('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',Z(Qe.current.type),h.ref),Lt[P]=!0)}}function us(h,T){{var P=function(){G||(G=!0,x("%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)",T))};P.isReactWarning=!0,Object.defineProperty(h,"key",{get:P,configurable:!0})}}function cs(h,T){{var P=function(){Vt||(Vt=!0,x("%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)",T))};P.isReactWarning=!0,Object.defineProperty(h,"ref",{get:P,configurable:!0})}}var ls=function(h,T,P,W,te,pe,J){var H={$$typeof:t,type:h,key:T,ref:P,props:J,_owner:pe};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:W}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:te}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function fs(h,T,P,W,te){{var pe,J={},H=null,$e=null;P!==void 0&&(ar(P),H=""+P),fo(T)&&(ar(T.key),H=""+T.key),sr(T)&&($e=T.ref,ss(T,te));for(pe in T)We.call(T,pe)&&!Br.hasOwnProperty(pe)&&(J[pe]=T[pe]);if(h&&h.defaultProps){var _e=h.defaultProps;for(pe in _e)J[pe]===void 0&&(J[pe]=_e[pe])}if(H||$e){var xe=typeof h=="function"?h.displayName||h.name||"Unknown":h;H&&us(J,xe),$e&&cs(J,xe)}return ls(h,H,$e,te,W,Qe.current,J)}}var Ur=E.ReactCurrentOwner,po=E.ReactDebugCurrentFrame;function ht(h){if(h){var T=h._owner,P=Pe(h.type,h._source,T?T.type:null);po.setExtraStackFrame(P)}else po.setExtraStackFrame(null)}var Yr;Yr=!1;function qr(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function mo(){{if(Ur.current){var h=Z(Ur.current.type);if(h)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+h+"`."}return""}}function ds(h){{if(h!==void 0){var T=h.fileName.replace(/^.*[\\\/]/,""),P=h.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+
|
|
25
|
+
Check your code at `+T+":"+P+"."}return""}}var ho={};function ps(h){{var T=mo();if(!T){var P=typeof h=="string"?h:h.displayName||h.name;P&&(T=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+t+">.")}return r}}function he(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Qe(r);if(Ee[t])return;Ee[t]=!0;var n="";e&&e._owner&&e._owner!==G.current&&(n=" It was passed a child from "+b(e._owner.type)+"."),O(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),O(null)}}function me(e,r){{if(typeof e!="object")return;if(B(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&he(n,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var i=Se(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)K(o.value)&&he(o.value,r)}}}function er(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=b(r);Ne(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var i=b(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function rr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){O(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),O(null);break}}e.ref!==null&&(O(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),O(null))}}function ye(e,r,t,n,i,u){{var o=Fe(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 d=Ze(i);d?a+=d:a+=be();var s;e===null?s="null":B(e)?s="array":e!==void 0&&e.$$typeof===P?(s="<"+(b(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=Xe(e,r,t,i,u);if(f==null)return f;if(o){var p=r.children;if(p!==void 0)if(n)if(B(p)){for(var C=0;C<p.length;C++)me(p[C],e);Object.freeze&&Object.freeze(p)}else c("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 me(p,e)}return e===_?rr(f):er(f),f}}function tr(e,r,t){return ye(e,r,t,!0)}function nr(e,r,t){return ye(e,r,t,!1)}var ar=nr,or=tr;D.Fragment=_,D.jsx=ar,D.jsxs=or}()),D}({}).NODE_ENV==="production"?H.exports=ir():H.exports=ur();var sr=H.exports;const fr=({number:S})=>sr.jsx("div",{children:S});exports.TestComponent=fr;
|
|
27
|
+
Check the top-level render call using <`+P+">.")}return T}}function vo(h,T){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var P=ps(T);if(ho[P])return;ho[P]=!0;var W="";h&&h._owner&&h._owner!==Ur.current&&(W=" It was passed a child from "+Z(h._owner.type)+"."),ht(h),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,W),ht(null)}}function yo(h,T){{if(typeof h!="object")return;if(Dt(h))for(var P=0;P<h.length;P++){var W=h[P];qr(W)&&vo(W,T)}else if(qr(h))h._store&&(h._store.validated=!0);else if(h){var te=y(h);if(typeof te=="function"&&te!==h.entries)for(var pe=te.call(h),J;!(J=pe.next()).done;)qr(J.value)&&vo(J.value,T)}}}function ms(h){{var T=h.type;if(T==null||typeof T=="string")return;var P;if(typeof T=="function")P=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===c||T.$$typeof===f))P=T.propTypes;else return;if(P){var W=Z(T);kt(P,h.props,"prop",W,h)}else if(T.PropTypes!==void 0&&!Yr){Yr=!0;var te=Z(T);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",te||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function hs(h){{for(var T=Object.keys(h.props),P=0;P<T.length;P++){var W=T[P];if(W!=="children"&&W!=="key"){ht(h),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),ht(null);break}}h.ref!==null&&(ht(h),x("Invalid attribute `ref` supplied to `React.Fragment`."),ht(null))}}function go(h,T,P,W,te,pe){{var J=$(h);if(!J){var H="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(H+=" 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 $e=ds(te);$e?H+=$e:H+=mo();var _e;h===null?_e="null":Dt(h)?_e="array":h!==void 0&&h.$$typeof===t?(_e="<"+(Z(h.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):_e=typeof h,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_e,H)}var xe=fs(h,T,P,te,pe);if(xe==null)return xe;if(J){var ze=T.children;if(ze!==void 0)if(W)if(Dt(ze)){for(var vt=0;vt<ze.length;vt++)yo(ze[vt],h);Object.freeze&&Object.freeze(ze)}else x("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 yo(ze,h)}return h===n?hs(xe):ms(xe),xe}}function vs(h,T,P){return go(h,T,P,!0)}function ys(h,T,P){return go(h,T,P,!1)}var gs=ys,bs=vs;Ft.Fragment=n,Ft.jsx=gs,Ft.jsxs=bs}()),Ft}process.env.NODE_ENV==="production"?yn.exports=ws():yn.exports=xs();var oe=yn.exports;const Os=({number:e})=>oe.jsx("div",{children:e});function Re(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var o=Is[e],i=o?typeof o=="function"?o.apply(null,r):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ot(e){return!!e&&!!e[ge]}function Xe(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===ks}(e)||Array.isArray(e)||!!e[Co]||!!(!((t=e.constructor)===null||t===void 0)&&t[Co])||Mn(e)||Dn(e))}function lt(e,t,r){r===void 0&&(r=!1),$t(e)===0?(r?Object.keys:xt)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function $t(e){var t=e[ge];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Mn(e)?2:Dn(e)?3:0}function wt(e,t){return $t(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ts(e,t){return $t(e)===2?e.get(t):e[t]}function Ji(e,t,r){var n=$t(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Zi(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Mn(e){return $s&&e instanceof Map}function Dn(e){return js&&e instanceof Set}function et(e){return e.o||e.t}function Vn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ea(e);delete t[ge];for(var r=xt(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Ln(e,t){return t===void 0&&(t=!1),zn(e)||ot(e)||!Xe(e)||($t(e)>1&&(e.set=e.add=e.clear=e.delete=Rs),Object.freeze(e),t&<(e,function(r,n){return Ln(n,!0)},!0)),e}function Rs(){Re(2)}function zn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function qe(e){var t=Sn[e];return t||Re(18,e),t}function Cs(e,t){Sn[e]||(Sn[e]=t)}function gn(){return process.env.NODE_ENV==="production"||Rt||Re(0),Rt}function Kr(e,t){t&&(qe("Patches"),e.u=[],e.s=[],e.v=t)}function vr(e){bn(e),e.p.forEach(Ps),e.p=null}function bn(e){e===Rt&&(Rt=e.l)}function _o(e){return Rt={p:[],l:Rt,h:e,m:!0,_:0}}function Ps(e){var t=e[ge];t.i===0||t.i===1?t.j():t.g=!0}function Gr(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||qe("ES5").S(t,e,n),n?(r[ge].P&&(vr(t),Re(4)),Xe(e)&&(e=yr(t,e),t.l||gr(t,e)),t.u&&qe("Patches").M(r[ge].t,e,t.u,t.s)):e=yr(t,r,[]),vr(t),t.u&&t.v(t.u,t.s),e!==Qi?e:void 0}function yr(e,t,r){if(zn(t))return t;var n=t[ge];if(!n)return lt(t,function(s,c){return wo(e,n,t,s,c,r)},!0),t;if(n.A!==e)return t;if(!n.P)return gr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=Vn(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),lt(i,function(s,c){return wo(e,n,o,s,c,r,a)}),gr(e,o,!1),r&&e.u&&qe("Patches").N(n,r,e.u,e.s)}return n.o}function wo(e,t,r,n,o,i,a){if(process.env.NODE_ENV!=="production"&&o===r&&Re(5),ot(o)){var s=yr(e,o,i&&t&&t.i!==3&&!wt(t.R,n)?i.concat(n):void 0);if(Ji(r,n,s),!ot(s))return;e.m=!1}else a&&r.add(o);if(Xe(o)&&!zn(o)){if(!e.h.D&&e._<1)return;yr(e,o),t&&t.A.l||gr(e,o)}}function gr(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ln(t,r)}function Hr(e,t){var r=e[ge];return(r?et(r):e)[t]}function xo(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function tt(e){e.P||(e.P=!0,e.l&&tt(e.l))}function Xr(e){e.o||(e.o=Vn(e.t))}function En(e,t,r){var n=Mn(t)?qe("MapSet").F(t,r):Dn(t)?qe("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:gn(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},c=s,u=Gt;a&&(c=[s],u=Yt);var l=Proxy.revocable(c,u),f=l.revoke,d=l.proxy;return s.k=d,s.j=f,d}(t,r):qe("ES5").J(t,r);return(r?r.A:gn()).p.push(n),n}function Ns(e){return ot(e)||Re(22,e),function t(r){if(!Xe(r))return r;var n,o=r[ge],i=$t(r);if(o){if(!o.P&&(o.i<4||!qe("ES5").K(o)))return o.t;o.I=!0,n=Oo(r,i),o.I=!1}else n=Oo(r,i);return lt(n,function(a,s){o&&Ts(o.t,a)===s||Ji(n,a,t(s))}),i===3?new Set(n):n}(e)}function Oo(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Vn(e)}function As(){function e(a,s){var c=i[a];return c?c.enumerable=s:i[a]=c={configurable:!0,enumerable:s,get:function(){var u=this[ge];return process.env.NODE_ENV!=="production"&&o(u),Gt.get(u,a)},set:function(u){var l=this[ge];process.env.NODE_ENV!=="production"&&o(l),Gt.set(l,a,u)}},c}function t(a){for(var s=a.length-1;s>=0;s--){var c=a[s][ge];if(!c.P)switch(c.i){case 5:n(c)&&tt(c);break;case 4:r(c)&&tt(c)}}}function r(a){for(var s=a.t,c=a.k,u=xt(c),l=u.length-1;l>=0;l--){var f=u[l];if(f!==ge){var d=s[f];if(d===void 0&&!wt(s,f))return!0;var g=c[f],v=g&&g[ge];if(v?v.t!==d:!Zi(g,d))return!0}}var p=!!s[ge];return u.length!==xt(s).length+(p?0:1)}function n(a){var s=a.k;if(s.length!==a.t.length)return!0;var c=Object.getOwnPropertyDescriptor(s,s.length-1);if(c&&!c.get)return!0;for(var u=0;u<s.length;u++)if(!s.hasOwnProperty(u))return!0;return!1}function o(a){a.g&&Re(3,JSON.stringify(et(a)))}var i={};Cs("ES5",{J:function(a,s){var c=Array.isArray(a),u=function(f,d){if(f){for(var g=Array(d.length),v=0;v<d.length;v++)Object.defineProperty(g,""+v,e(v,!0));return g}var p=ea(d);delete p[ge];for(var y=xt(p),E=0;E<y.length;E++){var x=y[E];p[x]=e(x,f||!!p[x].enumerable)}return Object.create(Object.getPrototypeOf(d),p)}(c,a),l={i:c?5:4,A:s?s.A:gn(),P:!1,I:!1,R:{},l:s,t:a,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ge,{value:l,writable:!0}),u},S:function(a,s,c){c?ot(s)&&s[ge].A===a&&t(a.p):(a.u&&function u(l){if(l&&typeof l=="object"){var f=l[ge];if(f){var d=f.t,g=f.k,v=f.R,p=f.i;if(p===4)lt(g,function(b){b!==ge&&(d[b]!==void 0||wt(d,b)?v[b]||u(g[b]):(v[b]=!0,tt(f)))}),lt(d,function(b){g[b]!==void 0||wt(g,b)||(v[b]=!1,tt(f))});else if(p===5){if(n(f)&&(tt(f),v.length=!0),g.length<d.length)for(var y=g.length;y<d.length;y++)v[y]=!1;else for(var E=d.length;E<g.length;E++)v[E]=!0;for(var x=Math.min(g.length,d.length),S=0;S<x;S++)g.hasOwnProperty(S)||(v[S]=!0),v[S]===void 0&&u(g[S])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var To,Rt,Fn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",$s=typeof Map<"u",js=typeof Set<"u",Ro=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qi=Fn?Symbol.for("immer-nothing"):((To={})["immer-nothing"]=!0,To),Co=Fn?Symbol.for("immer-draftable"):"__$immer_draftable",ge=Fn?Symbol.for("immer-state"):"__$immer_state",Is={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},ks=""+Object.prototype.constructor,xt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ea=Object.getOwnPropertyDescriptors||function(e){var t={};return xt(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Sn={},Gt={get:function(e,t){if(t===ge)return e;var r=et(e);if(!wt(r,t))return function(o,i,a){var s,c=xo(i,a);return c?"value"in c?c.value:(s=c.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!Xe(n)?n:n===Hr(e.t,t)?(Xr(e),e.o[t]=En(e.A.h,n,e)):n},has:function(e,t){return t in et(e)},ownKeys:function(e){return Reflect.ownKeys(et(e))},set:function(e,t,r){var n=xo(et(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Hr(et(e),t),i=o==null?void 0:o[ge];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Zi(r,o)&&(r!==void 0||wt(e.t,t)))return!0;Xr(e),tt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Hr(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Xr(e),tt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=et(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Re(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Re(12)}},Yt={};lt(Gt,function(e,t){Yt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Yt.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Re(13),Yt.set.call(this,e,t,void 0)},Yt.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Re(14),Gt.set.call(this,e[0],t,r,e[0])};var Ms=function(){function e(r){var n=this;this.O=Ro,this.D=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var c=n;return function(p){var y=this;p===void 0&&(p=s);for(var E=arguments.length,x=Array(E>1?E-1:0),S=1;S<E;S++)x[S-1]=arguments[S];return c.produce(p,function(b){var m;return(m=i).call.apply(m,[y,b].concat(x))})}}var u;if(typeof i!="function"&&Re(6),a!==void 0&&typeof a!="function"&&Re(7),Xe(o)){var l=_o(n),f=En(n,o,void 0),d=!0;try{u=i(f),d=!1}finally{d?vr(l):bn(l)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return Kr(l,a),Gr(p,l)},function(p){throw vr(l),p}):(Kr(l,a),Gr(u,l))}if(!o||typeof o!="object"){if((u=i(o))===void 0&&(u=o),u===Qi&&(u=void 0),n.D&&Ln(u,!0),a){var g=[],v=[];qe("Patches").M(o,u,g,v),a(g,v)}return u}Re(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(u){for(var l=arguments.length,f=Array(l>1?l-1:0),d=1;d<l;d++)f[d-1]=arguments[d];return n.produceWithPatches(u,function(g){return o.apply(void 0,[g].concat(f))})};var a,s,c=n.produce(o,i,function(u,l){a=u,s=l});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,a,s]}):[c,a,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Xe(r)||Re(8),ot(r)&&(r=Ns(r));var n=_o(this),o=En(this,r,void 0);return o[ge].C=!0,bn(n),o},t.finishDraft=function(r,n){var o=r&&r[ge];process.env.NODE_ENV!=="production"&&(o&&o.C||Re(9),o.I&&Re(10));var i=o.A;return Kr(i,n),Gr(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Ro&&Re(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=qe("Patches").$;return ot(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),Ve=new Ms,ta=Ve.produce;Ve.produceWithPatches.bind(Ve);Ve.setAutoFreeze.bind(Ve);Ve.setUseProxies.bind(Ve);Ve.applyPatches.bind(Ve);Ve.createDraft.bind(Ve);Ve.finishDraft.bind(Ve);function Ht(e){"@babel/helpers - typeof";return Ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(e)}function Ds(e,t){if(Ht(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ht(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vs(e){var t=Ds(e,"string");return Ht(t)==="symbol"?t:String(t)}function Ls(e,t,r){return t=Vs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Po(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 No(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Po(Object(r),!0).forEach(function(n){Ls(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Po(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ae(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ao=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Jr=function(){return Math.random().toString(36).substring(7).split("").join(".")},ct={INIT:"@@redux/INIT"+Jr(),REPLACE:"@@redux/REPLACE"+Jr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Jr()}};function ra(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function zs(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(Bs(e))return"date";if(Ws(e))return"error";var r=Fs(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function Fs(e){return typeof e.constructor=="function"?e.constructor.name:null}function Ws(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function Bs(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function st(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=zs(e)),t}function na(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ae(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Ae(1):"Expected the enhancer to be a function. Instead, received: '"+st(r)+"'");return r(na)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Ae(2):"Expected the root reducer to be a function. Instead, received: '"+st(e)+"'");var o=e,i=t,a=[],s=a,c=!1;function u(){s===a&&(s=a.slice())}function l(){if(c)throw new Error(process.env.NODE_ENV==="production"?Ae(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(p){if(typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?Ae(4):"Expected the listener to be a function. Instead, received: '"+st(p)+"'");if(c)throw new Error(process.env.NODE_ENV==="production"?Ae(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return u(),s.push(p),function(){if(y){if(c)throw new Error(process.env.NODE_ENV==="production"?Ae(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,u();var x=s.indexOf(p);s.splice(x,1),a=null}}}function d(p){if(!ra(p))throw new Error(process.env.NODE_ENV==="production"?Ae(7):"Actions must be plain objects. Instead, the actual type was: '"+st(p)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof p.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ae(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(c)throw new Error(process.env.NODE_ENV==="production"?Ae(9):"Reducers may not dispatch actions.");try{c=!0,i=o(i,p)}finally{c=!1}for(var y=a=s,E=0;E<y.length;E++){var x=y[E];x()}return p}function g(p){if(typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?Ae(10):"Expected the nextReducer to be a function. Instead, received: '"+st(p));o=p,d({type:ct.REPLACE})}function v(){var p,y=f;return p={subscribe:function(x){if(typeof x!="object"||x===null)throw new Error(process.env.NODE_ENV==="production"?Ae(11):"Expected the observer to be an object. Instead, received: '"+st(x)+"'");function S(){x.next&&x.next(l())}S();var b=y(S);return{unsubscribe:b}}},p[Ao]=function(){return this},p}return d({type:ct.INIT}),n={dispatch:d,subscribe:f,getState:l,replaceReducer:g},n[Ao]=v,n}function $o(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function Us(e,t,r,n){var o=Object.keys(t),i=r&&r.type===ct.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!ra(e))return"The "+i+' has unexpected type of "'+st(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===ct.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function Ys(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:ct.INIT});if(typeof n>"u")throw new Error(process.env.NODE_ENV==="production"?Ae(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:ct.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Ae(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+ct.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function qs(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];process.env.NODE_ENV!=="production"&&typeof e[o]>"u"&&$o('No reducer provided for key "'+o+'"'),typeof e[o]=="function"&&(r[o]=e[o])}var i=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{Ys(r)}catch(c){s=c}return function(u,l){if(u===void 0&&(u={}),s)throw s;if(process.env.NODE_ENV!=="production"){var f=Us(u,r,l,a);f&&$o(f)}for(var d=!1,g={},v=0;v<i.length;v++){var p=i[v],y=r[p],E=u[p],x=y(E,l);if(typeof x>"u"){var S=l&&l.type;throw new Error(process.env.NODE_ENV==="production"?Ae(14):"When called with an action of type "+(S?'"'+String(S)+'"':"(unknown type)")+', the slice reducer for key "'+p+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}g[p]=x,d=d||x!==E}return d=d||i.length!==Object.keys(u).length,d?g:u}}function br(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function Ks(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?Ae(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(c){return c(a)});return i=br.apply(void 0,s)(o.dispatch),No(No({},o),{},{dispatch:i})}}}function oa(e){var t=function(n){var o=n.dispatch,i=n.getState;return function(a){return function(s){return typeof s=="function"?s(o,i,e):a(s)}}};return t}var ia=oa();ia.withExtraArgument=oa;const jo=ia;var aa=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Gs=globalThis&&globalThis.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return c([u,l])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(l){u=[6,l],o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Ct=globalThis&&globalThis.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},Hs=Object.defineProperty,Xs=Object.defineProperties,Js=Object.getOwnPropertyDescriptors,Io=Object.getOwnPropertySymbols,Zs=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable,ko=function(e,t,r){return t in e?Hs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},rt=function(e,t){for(var r in t||(t={}))Zs.call(t,r)&&ko(e,r,t[r]);if(Io)for(var n=0,o=Io(t);n<o.length;n++){var r=o[n];Qs.call(t,r)&&ko(e,r,t[r])}return e},Zr=function(e,t){return Xs(e,Js(t))},eu=function(e,t,r){return new Promise(function(n,o){var i=function(c){try{s(r.next(c))}catch(u){o(u)}},a=function(c){try{s(r.throw(c))}catch(u){o(u)}},s=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(i,a)};s((r=r.apply(e,t)).next())})},tu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?br:br.apply(null,arguments)};function sa(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function ua(e,t){var r=0;return{measureTime:function(n){var o=Date.now();try{return n()}finally{var i=Date.now();r+=i-o}},warnIfExceeded:function(){r>e&&console.warn(t+" took "+r+"ms, which is more than the warning threshold of "+e+`ms.
|
|
28
|
+
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
29
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var ru=function(e){aa(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Ct([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ct([void 0],r.concat(this))))},t}(Array),nu=function(e){aa(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Ct([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ct([void 0],r.concat(this))))},t}(Array);function _n(e){return Xe(e)?ta(e,function(){}):e}var ou=process.env.NODE_ENV==="production",Mo="Invariant failed";function Do(e,t){if(!e)throw ou?new Error(Mo):new Error(Mo+": "+(t||""))}function iu(e,t,r,n){return JSON.stringify(e,au(t,n),r)}function au(e,t){var r=[],n=[];return t||(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}function su(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function uu(e,t,r){var n=ca(e,t,r);return{detectMutations:function(){return la(e,t,n,r)}}}function ca(e,t,r,n){t===void 0&&(t=[]),n===void 0&&(n="");var o={value:r};if(!e(r)){o.children={};for(var i in r){var a=n?n+"."+i:i;t.length&&t.indexOf(a)!==-1||(o.children[i]=ca(e,t,r[i],a))}}return o}function la(e,t,r,n,o,i){t===void 0&&(t=[]),o===void 0&&(o=!1),i===void 0&&(i="");var a=r?r.value:void 0,s=a===n;if(o&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:i};if(e(a)||e(n))return{wasMutated:!1};var c={};for(var u in r.children)c[u]=!0;for(var u in n)c[u]=!0;var l=t.length>0,f=function(g){var v=i?i+"."+g:g;if(l){var p=t.some(function(E){return E instanceof RegExp?E.test(v):v===E});if(p)return"continue"}var y=la(e,t,r.children[g],n[g],s,v);if(y.wasMutated)return{value:y}};for(var u in c){var d=f(u);if(typeof d=="object")return d.value}return{wasMutated:!1}}function cu(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(c){return function(u){return c(u)}}};var t=e.isImmutable,r=t===void 0?su:t,n=e.ignoredPaths,o=e.warnAfter,i=o===void 0?32:o,a=e.ignore;n=n||a;var s=uu.bind(null,r,n);return function(c){var u=c.getState,l=u(),f=s(l),d;return function(g){return function(v){var p=ua(i,"ImmutableStateInvariantMiddleware");p.measureTime(function(){l=u(),d=f.detectMutations(),f=s(l),Do(!d.wasMutated,"A state mutation was detected between dispatches, in the path '"+(d.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var y=g(v);return p.measureTime(function(){l=u(),d=f.detectMutations(),f=s(l),d.wasMutated&&Do(!d.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(d.path||"")+". Take a look at the reducer(s) handling the action "+iu(v)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),p.warnIfExceeded(),y}}}}function fa(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||sa(e)}function wn(e,t,r,n,o,i){t===void 0&&(t=""),r===void 0&&(r=fa),o===void 0&&(o=[]);var a;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||i!=null&&i.has(e))return!1;for(var s=n!=null?n(e):Object.entries(e),c=o.length>0,u=function(y,E){var x=t?t+"."+y:y;if(c){var S=o.some(function(b){return b instanceof RegExp?b.test(x):x===b});if(S)return"continue"}if(!r(E))return{value:{keyPath:x,value:E}};if(typeof E=="object"&&(a=wn(E,x,r,n,o,i),a))return{value:a}},l=0,f=s;l<f.length;l++){var d=f[l],g=d[0],v=d[1],p=u(g,v);if(typeof p=="object")return p.value}return i&&da(e)&&i.add(e),!1}function da(e){if(!Object.isFrozen(e))return!1;for(var t=0,r=Object.values(e);t<r.length;t++){var n=r[t];if(!(typeof n!="object"||n===null)&&!da(n))return!1}return!0}function lu(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(S){return function(b){return S(b)}}};var t=e.isSerializable,r=t===void 0?fa:t,n=e.getEntries,o=e.ignoredActions,i=o===void 0?[]:o,a=e.ignoredActionPaths,s=a===void 0?["meta.arg","meta.baseQueryMeta"]:a,c=e.ignoredPaths,u=c===void 0?[]:c,l=e.warnAfter,f=l===void 0?32:l,d=e.ignoreState,g=d===void 0?!1:d,v=e.ignoreActions,p=v===void 0?!1:v,y=e.disableCache,E=y===void 0?!1:y,x=!E&&WeakSet?new WeakSet:void 0;return function(S){return function(b){return function(m){var R=b(m),C=ua(f,"SerializableStateInvariantMiddleware");return!p&&!(i.length&&i.indexOf(m.type)!==-1)&&C.measureTime(function(){var V=wn(m,"",r,n,s,x);if(V){var D=V.keyPath,$=V.value;console.error("A non-serializable value was detected in an action, in the path: `"+D+"`. Value:",$,`
|
|
30
|
+
Take a look at the logic that dispatched this action: `,m,`
|
|
31
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
32
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),g||(C.measureTime(function(){var V=S.getState(),D=wn(V,"",r,n,u,x);if(D){var $=D.keyPath,z=D.value;console.error("A non-serializable value was detected in the state, in the path: `"+$+"`. Value:",z,`
|
|
33
|
+
Take a look at the reducer(s) handling this action type: `+m.type+`.
|
|
34
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),C.warnIfExceeded()),R}}}}function Qr(e){return typeof e=="boolean"}function fu(){return function(t){return du(t)}}function du(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,o=n===void 0?!0:n,i=e.serializableCheck,a=i===void 0?!0:i,s=new ru;if(r&&(Qr(r)?s.push(jo):s.push(jo.withExtraArgument(r.extraArgument))),process.env.NODE_ENV!=="production"){if(o){var c={};Qr(o)||(c=o),s.unshift(cu(c))}if(a){var u={};Qr(a)||(u=a),s.push(lu(u))}}return s}var en=process.env.NODE_ENV==="production";function pu(e){var t=fu(),r=e||{},n=r.reducer,o=n===void 0?void 0:n,i=r.middleware,a=i===void 0?t():i,s=r.devTools,c=s===void 0?!0:s,u=r.preloadedState,l=u===void 0?void 0:u,f=r.enhancers,d=f===void 0?void 0:f,g;if(typeof o=="function")g=o;else if(sa(o))g=qs(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=a;if(typeof v=="function"&&(v=v(t),!en&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!en&&v.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var p=Ks.apply(void 0,v),y=br;c&&(y=tu(rt({trace:!en},typeof c=="object"&&c)));var E=new nu(p),x=E;Array.isArray(d)?x=Ct([p],d):typeof d=="function"&&(x=d(E));var S=y.apply(void 0,x);return na(g,l,S)}function nt(e,t){function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return rt(rt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function pa(e){var t={},r=[],n,o={addCase:function(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=a,o},addMatcher:function(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase:function(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function mu(e){return typeof e=="function"}var Vo=!1;function hu(e,t,r,n){r===void 0&&(r=[]),process.env.NODE_ENV!=="production"&&typeof t=="object"&&(Vo||(Vo=!0,console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer")));var o=typeof t=="function"?pa(t):[t,r,n],i=o[0],a=o[1],s=o[2],c;if(mu(e))c=function(){return _n(e())};else{var u=_n(e);c=function(){return u}}function l(f,d){f===void 0&&(f=c());var g=Ct([i[d.type]],a.filter(function(v){var p=v.matcher;return p(d)}).map(function(v){var p=v.reducer;return p}));return g.filter(function(v){return!!v}).length===0&&(g=[s]),g.reduce(function(v,p){if(p)if(ot(v)){var y=v,E=p(y,d);return E===void 0?v:E}else{if(Xe(v))return ta(v,function(x){return p(x,d)});var E=p(v,d);if(E===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return v},f)}return l.getInitialState=c,l}var Lo=!1;function vu(e,t){return e+"/"+t}function ma(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&e.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var r=typeof e.initialState=="function"?e.initialState:_n(e.initialState),n=e.reducers||{},o=Object.keys(n),i={},a={},s={};o.forEach(function(l){var f=n[l],d=vu(t,l),g,v;"reducer"in f?(g=f.reducer,v=f.prepare):g=f,i[l]=g,a[d]=g,s[l]=v?nt(d,v):nt(d)});function c(){process.env.NODE_ENV!=="production"&&typeof e.extraReducers=="object"&&(Lo||(Lo=!0,console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice")));var l=typeof e.extraReducers=="function"?pa(e.extraReducers):[e.extraReducers],f=l[0],d=f===void 0?{}:f,g=l[1],v=g===void 0?[]:g,p=l[2],y=p===void 0?void 0:p,E=rt(rt({},d),a);return hu(r,function(x){for(var S in E)x.addCase(S,E[S]);for(var b=0,m=v;b<m.length;b++){var R=m[b];x.addMatcher(R.matcher,R.reducer)}y&&x.addDefaultCase(y)})}var u;return{name:t,reducer:function(l,f){return u||(u=c()),u(l,f)},actions:s,caseReducers:i,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}var yu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",gu=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=yu[Math.random()*64|0];return t},bu=["name","message","stack","code"],tn=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),zo=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Eu=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=bu;r<n.length;r++){var o=n[r];typeof e[o]=="string"&&(t[o]=e[o])}return t}return{message:String(e)}},Su=function(){function e(t,r,n){var o=nt(t+"/fulfilled",function(l,f,d,g){return{payload:l,meta:Zr(rt({},g||{}),{arg:d,requestId:f,requestStatus:"fulfilled"})}}),i=nt(t+"/pending",function(l,f,d){return{payload:void 0,meta:Zr(rt({},d||{}),{arg:f,requestId:l,requestStatus:"pending"})}}),a=nt(t+"/rejected",function(l,f,d,g,v){return{payload:g,error:(n&&n.serializeError||Eu)(l||"Rejected"),meta:Zr(rt({},v||{}),{arg:d,requestId:f,rejectedWithValue:!!g,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"})}}),s=!1,c=typeof AbortController<"u"?AbortController:function(){function l(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return l.prototype.abort=function(){process.env.NODE_ENV!=="production"&&(s||(s=!0,console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.")))},l}();function u(l){return function(f,d,g){var v=n!=null&&n.idGenerator?n.idGenerator(l):gu(),p=new c,y;function E(S){y=S,p.abort()}var x=function(){return eu(this,null,function(){var S,b,m,R,C,V,D;return Gs(this,function($){switch($.label){case 0:return $.trys.push([0,4,,5]),R=(S=n==null?void 0:n.condition)==null?void 0:S.call(n,l,{getState:d,extra:g}),wu(R)?[4,R]:[3,2];case 1:R=$.sent(),$.label=2;case 2:if(R===!1||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=new Promise(function(z,X){return p.signal.addEventListener("abort",function(){return X({name:"AbortError",message:y||"Aborted"})})}),f(i(v,l,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:v,arg:l},{getState:d,extra:g}))),[4,Promise.race([C,Promise.resolve(r(l,{dispatch:f,getState:d,extra:g,requestId:v,signal:p.signal,abort:E,rejectWithValue:function(z,X){return new tn(z,X)},fulfillWithValue:function(z,X){return new zo(z,X)}})).then(function(z){if(z instanceof tn)throw z;return z instanceof zo?o(z.payload,v,l,z.meta):o(z,v,l)})])];case 3:return m=$.sent(),[3,5];case 4:return V=$.sent(),m=V instanceof tn?a(null,v,l,V.payload,V.meta):a(V,v,l),[3,5];case 5:return D=n&&!n.dispatchConditionRejection&&a.match(m)&&m.meta.condition,D||f(m),[2,m]}})})}();return Object.assign(x,{abort:E,requestId:v,arg:l,unwrap:function(){return x.then(_u)}})}}return Object.assign(u,{pending:i,rejected:a,fulfilled:o,typePrefix:t})}return e.withTypes=function(){return e},e}();function _u(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function wu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Wn="listenerMiddleware";nt(Wn+"/add");nt(Wn+"/removeAll");nt(Wn+"/remove");var Fo;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis);As();function Le(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 k(){return k=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},k.apply(this,arguments)}var xn={exports:{}},ur={exports:{}},ie={};/** @license React v16.13.1
|
|
35
|
+
* react-is.production.min.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Wo;function xu(){if(Wo)return ie;Wo=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,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(m){if(typeof m=="object"&&m!==null){var R=m.$$typeof;switch(R){case t:switch(m=m.type,m){case c:case u:case n:case i:case o:case f:return m;default:switch(m=m&&m.$$typeof,m){case s:case l:case v:case g:case a:return m;default:return R}}case r:return R}}}function b(m){return S(m)===u}return ie.AsyncMode=c,ie.ConcurrentMode=u,ie.ContextConsumer=s,ie.ContextProvider=a,ie.Element=t,ie.ForwardRef=l,ie.Fragment=n,ie.Lazy=v,ie.Memo=g,ie.Portal=r,ie.Profiler=i,ie.StrictMode=o,ie.Suspense=f,ie.isAsyncMode=function(m){return b(m)||S(m)===c},ie.isConcurrentMode=b,ie.isContextConsumer=function(m){return S(m)===s},ie.isContextProvider=function(m){return S(m)===a},ie.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ie.isForwardRef=function(m){return S(m)===l},ie.isFragment=function(m){return S(m)===n},ie.isLazy=function(m){return S(m)===v},ie.isMemo=function(m){return S(m)===g},ie.isPortal=function(m){return S(m)===r},ie.isProfiler=function(m){return S(m)===i},ie.isStrictMode=function(m){return S(m)===o},ie.isSuspense=function(m){return S(m)===f},ie.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===u||m===i||m===o||m===f||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===v||m.$$typeof===g||m.$$typeof===a||m.$$typeof===s||m.$$typeof===l||m.$$typeof===y||m.$$typeof===E||m.$$typeof===x||m.$$typeof===p)},ie.typeOf=S,ie}var ae={};/** @license React v16.13.1
|
|
42
|
+
* react-is.development.js
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/var Bo;function Ou(){return Bo||(Bo=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,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(_){return typeof _=="string"||typeof _=="function"||_===n||_===u||_===i||_===o||_===f||_===d||typeof _=="object"&&_!==null&&(_.$$typeof===v||_.$$typeof===g||_.$$typeof===a||_.$$typeof===s||_.$$typeof===l||_.$$typeof===y||_.$$typeof===E||_.$$typeof===x||_.$$typeof===p)}function b(_){if(typeof _=="object"&&_!==null){var we=_.$$typeof;switch(we){case t:var j=_.type;switch(j){case c:case u:case n:case i:case o:case f:return j;default:var Pe=j&&j.$$typeof;switch(Pe){case s:case l:case v:case g:case a:return Pe;default:return we}}case r:return we}}}var m=c,R=u,C=s,V=a,D=t,$=l,z=n,X=v,Z=g,Q=r,de=i,ee=o,ve=f,he=!1;function Ie(_){return he||(he=!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}function O(_){return b(_)===u}function A(_){return b(_)===s}function Y(_){return b(_)===a}function B(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function I(_){return b(_)===l}function q(_){return b(_)===n}function M(_){return b(_)===v}function F(_){return b(_)===g}function U(_){return b(_)===r}function L(_){return b(_)===i}function K(_){return b(_)===o}function be(_){return b(_)===f}ae.AsyncMode=m,ae.ConcurrentMode=R,ae.ContextConsumer=C,ae.ContextProvider=V,ae.Element=D,ae.ForwardRef=$,ae.Fragment=z,ae.Lazy=X,ae.Memo=Z,ae.Portal=Q,ae.Profiler=de,ae.StrictMode=ee,ae.Suspense=ve,ae.isAsyncMode=Ie,ae.isConcurrentMode=O,ae.isContextConsumer=A,ae.isContextProvider=Y,ae.isElement=B,ae.isForwardRef=I,ae.isFragment=q,ae.isLazy=M,ae.isMemo=F,ae.isPortal=U,ae.isProfiler=L,ae.isStrictMode=K,ae.isSuspense=be,ae.isValidElementType=S,ae.typeOf=b}()),ae}var Uo;function ha(){return Uo||(Uo=1,process.env.NODE_ENV==="production"?ur.exports=xu():ur.exports=Ou()),ur.exports}/*
|
|
49
|
+
object-assign
|
|
50
|
+
(c) Sindre Sorhus
|
|
51
|
+
@license MIT
|
|
52
|
+
*/var rn,Yo;function Tu(){if(Yo)return rn;Yo=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(l){return a[l]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(l){u[l]=l}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return rn=o()?Object.assign:function(i,a){for(var s,c=n(i),u,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){u=e(s);for(var d=0;d<u.length;d++)r.call(s,u[d])&&(c[u[d]]=s[u[d]])}}return c},rn}var nn,qo;function Bn(){if(qo)return nn;qo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return nn=e,nn}var on,Ko;function va(){return Ko||(Ko=1,on=Function.call.bind(Object.prototype.hasOwnProperty)),on}var an,Go;function Ru(){if(Go)return an;Go=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Bn(),r={},n=va();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,u){if(process.env.NODE_ENV!=="production"){for(var l in i)if(n(i,l)){var f;try{if(typeof i[l]!="function"){var d=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}f=i[l](a,l,c,s,null,t)}catch(v){f=v}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` 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 g=u?u():"";e("Failed "+s+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},an=o,an}var sn,Ho;function Cu(){if(Ho)return sn;Ho=1;var e=ha(),t=Tu(),r=Bn(),n=va(),o=Ru(),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 sn=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function f(O){var A=O&&(u&&O[u]||O[l]);if(typeof A=="function")return A}var d="<<anonymous>>",g={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:x(),arrayOf:S,element:b(),elementType:m(),instanceOf:R,node:$(),objectOf:V,oneOf:C,oneOfType:D,shape:X,exact:Z};function v(O,A){return O===A?O!==0||1/O===1/A:O!==O&&A!==A}function p(O,A){this.message=O,this.data=A&&typeof A=="object"?A:{},this.stack=""}p.prototype=Error.prototype;function y(O){if(process.env.NODE_ENV!=="production")var A={},Y=0;function B(q,M,F,U,L,K,be){if(U=U||d,K=K||F,be!==r){if(c){var _=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 _.name="Invariant Violation",_}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var we=U+":"+F;!A[we]&&Y<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+U+"`. 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."),A[we]=!0,Y++)}}return M[F]==null?q?M[F]===null?new p("The "+L+" `"+K+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new p("The "+L+" `"+K+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:O(M,F,U,L,K)}var I=B.bind(null,!1);return I.isRequired=B.bind(null,!0),I}function E(O){function A(Y,B,I,q,M,F){var U=Y[B],L=ee(U);if(L!==O){var K=ve(U);return new p("Invalid "+q+" `"+M+"` of type "+("`"+K+"` supplied to `"+I+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return y(A)}function x(){return y(a)}function S(O){function A(Y,B,I,q,M){if(typeof O!="function")return new p("Property `"+M+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var F=Y[B];if(!Array.isArray(F)){var U=ee(F);return new p("Invalid "+q+" `"+M+"` of type "+("`"+U+"` supplied to `"+I+"`, expected an array."))}for(var L=0;L<F.length;L++){var K=O(F,L,I,q,M+"["+L+"]",r);if(K instanceof Error)return K}return null}return y(A)}function b(){function O(A,Y,B,I,q){var M=A[Y];if(!s(M)){var F=ee(M);return new p("Invalid "+I+" `"+q+"` of type "+("`"+F+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return y(O)}function m(){function O(A,Y,B,I,q){var M=A[Y];if(!e.isValidElementType(M)){var F=ee(M);return new p("Invalid "+I+" `"+q+"` of type "+("`"+F+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return y(O)}function R(O){function A(Y,B,I,q,M){if(!(Y[B]instanceof O)){var F=O.name||d,U=Ie(Y[B]);return new p("Invalid "+q+" `"+M+"` of type "+("`"+U+"` supplied to `"+I+"`, expected ")+("instance of `"+F+"`."))}return null}return y(A)}function C(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 A(Y,B,I,q,M){for(var F=Y[B],U=0;U<O.length;U++)if(v(F,O[U]))return null;var L=JSON.stringify(O,function(be,_){var we=ve(_);return we==="symbol"?String(_):_});return new p("Invalid "+q+" `"+M+"` of value `"+String(F)+"` "+("supplied to `"+I+"`, expected one of "+L+"."))}return y(A)}function V(O){function A(Y,B,I,q,M){if(typeof O!="function")return new p("Property `"+M+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var F=Y[B],U=ee(F);if(U!=="object")return new p("Invalid "+q+" `"+M+"` of type "+("`"+U+"` supplied to `"+I+"`, expected an object."));for(var L in F)if(n(F,L)){var K=O(F,L,I,q,M+"."+L,r);if(K instanceof Error)return K}return null}return y(A)}function D(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 A=0;A<O.length;A++){var Y=O[A];if(typeof Y!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+he(Y)+" at index "+A+"."),a}function B(I,q,M,F,U){for(var L=[],K=0;K<O.length;K++){var be=O[K],_=be(I,q,M,F,U,r);if(_==null)return null;_.data&&n(_.data,"expectedType")&&L.push(_.data.expectedType)}var we=L.length>0?", expected one of type ["+L.join(", ")+"]":"";return new p("Invalid "+F+" `"+U+"` supplied to "+("`"+M+"`"+we+"."))}return y(B)}function $(){function O(A,Y,B,I,q){return Q(A[Y])?null:new p("Invalid "+I+" `"+q+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return y(O)}function z(O,A,Y,B,I){return new p((O||"React class")+": "+A+" type `"+Y+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function X(O){function A(Y,B,I,q,M){var F=Y[B],U=ee(F);if(U!=="object")return new p("Invalid "+q+" `"+M+"` of type `"+U+"` "+("supplied to `"+I+"`, expected `object`."));for(var L in O){var K=O[L];if(typeof K!="function")return z(I,q,M,L,ve(K));var be=K(F,L,I,q,M+"."+L,r);if(be)return be}return null}return y(A)}function Z(O){function A(Y,B,I,q,M){var F=Y[B],U=ee(F);if(U!=="object")return new p("Invalid "+q+" `"+M+"` of type `"+U+"` "+("supplied to `"+I+"`, expected `object`."));var L=t({},Y[B],O);for(var K in L){var be=O[K];if(n(O,K)&&typeof be!="function")return z(I,q,M,K,ve(be));if(!be)return new p("Invalid "+q+" `"+M+"` key `"+K+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(Y[B],null," ")+`
|
|
53
|
+
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var _=be(F,K,I,q,M+"."+K,r);if(_)return _}return null}return y(A)}function Q(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(Q);if(O===null||s(O))return!0;var A=f(O);if(A){var Y=A.call(O),B;if(A!==O.entries){for(;!(B=Y.next()).done;)if(!Q(B.value))return!1}else for(;!(B=Y.next()).done;){var I=B.value;if(I&&!Q(I[1]))return!1}}else return!1;return!0;default:return!1}}function de(O,A){return O==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function ee(O){var A=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":de(A,O)?"symbol":A}function ve(O){if(typeof O>"u"||O===null)return""+O;var A=ee(O);if(A==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return A}function he(O){var A=ve(O);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function Ie(O){return!O.constructor||!O.constructor.name?d:O.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},sn}var un,Xo;function Pu(){if(Xo)return un;Xo=1;var e=Bn();function t(){}function r(){}return r.resetWarningCache=t,un=function(){function n(a,s,c,u,l,f){if(f!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}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},un}if(process.env.NODE_ENV!=="production"){var Nu=ha(),Au=!0;xn.exports=Cu()(Nu.isElement,Au)}else xn.exports=Pu()();var $u=xn.exports;const w=Ss($u);function ya(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=ya(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ke(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=ya(e))&&(n&&(n+=" "),n+=t);return n}function ju(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function _t(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function ga(e){if(!_t(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=ga(e[r])}),t}function He(e,t,r={clone:!0}){const n=r.clone?k({},e):e;return _t(e)&&_t(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(_t(t[o])&&o in e&&_t(e[o])?n[o]=He(e[o],t[o],r):r.clone?n[o]=_t(t[o])?ga(t[o]):t[o]:n[o]=t[o])}),n}function Iu(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ku(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!Iu(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Mu=ju(w.elementType,ku);function Pt(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var On={exports:{}},se={};/**
|
|
54
|
+
* @license React
|
|
55
|
+
* react-is.production.min.js
|
|
56
|
+
*
|
|
57
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the MIT license found in the
|
|
60
|
+
* LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/var Jo;function Du(){if(Jo)return se;Jo=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function p(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case e:switch(y=y.type,y){case r:case o:case n:case u:case l:return y;default:switch(y=y&&y.$$typeof,y){case s:case a:case c:case d:case f:case i:return y;default:return E}}case t:return E}}}return se.ContextConsumer=a,se.ContextProvider=i,se.Element=e,se.ForwardRef=c,se.Fragment=r,se.Lazy=d,se.Memo=f,se.Portal=t,se.Profiler=o,se.StrictMode=n,se.Suspense=u,se.SuspenseList=l,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(y){return p(y)===a},se.isContextProvider=function(y){return p(y)===i},se.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},se.isForwardRef=function(y){return p(y)===c},se.isFragment=function(y){return p(y)===r},se.isLazy=function(y){return p(y)===d},se.isMemo=function(y){return p(y)===f},se.isPortal=function(y){return p(y)===t},se.isProfiler=function(y){return p(y)===o},se.isStrictMode=function(y){return p(y)===n},se.isSuspense=function(y){return p(y)===u},se.isSuspenseList=function(y){return p(y)===l},se.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===l||y===g||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===f||y.$$typeof===i||y.$$typeof===a||y.$$typeof===c||y.$$typeof===v||y.getModuleId!==void 0)},se.typeOf=p,se}var ue={};/**
|
|
62
|
+
* @license React
|
|
63
|
+
* react-is.development.js
|
|
64
|
+
*
|
|
65
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the MIT license found in the
|
|
68
|
+
* LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/var Zo;function Vu(){return Zo||(Zo=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=!1,p=!1,y=!1,E=!1,x=!1,S;S=Symbol.for("react.module.reference");function b(j){return!!(typeof j=="string"||typeof j=="function"||j===r||j===o||x||j===n||j===u||j===l||E||j===g||v||p||y||typeof j=="object"&&j!==null&&(j.$$typeof===d||j.$$typeof===f||j.$$typeof===i||j.$$typeof===a||j.$$typeof===c||j.$$typeof===S||j.getModuleId!==void 0))}function m(j){if(typeof j=="object"&&j!==null){var Pe=j.$$typeof;switch(Pe){case e:var We=j.type;switch(We){case r:case o:case n:case u:case l:return We;default:var at=We&&We.$$typeof;switch(at){case s:case a:case c:case d:case f:case i:return at;default:return Pe}}case t:return Pe}}}var R=a,C=i,V=e,D=c,$=r,z=d,X=f,Z=t,Q=o,de=n,ee=u,ve=l,he=!1,Ie=!1;function O(j){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(j){return Ie||(Ie=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Y(j){return m(j)===a}function B(j){return m(j)===i}function I(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function q(j){return m(j)===c}function M(j){return m(j)===r}function F(j){return m(j)===d}function U(j){return m(j)===f}function L(j){return m(j)===t}function K(j){return m(j)===o}function be(j){return m(j)===n}function _(j){return m(j)===u}function we(j){return m(j)===l}ue.ContextConsumer=R,ue.ContextProvider=C,ue.Element=V,ue.ForwardRef=D,ue.Fragment=$,ue.Lazy=z,ue.Memo=X,ue.Portal=Z,ue.Profiler=Q,ue.StrictMode=de,ue.Suspense=ee,ue.SuspenseList=ve,ue.isAsyncMode=O,ue.isConcurrentMode=A,ue.isContextConsumer=Y,ue.isContextProvider=B,ue.isElement=I,ue.isForwardRef=q,ue.isFragment=M,ue.isLazy=F,ue.isMemo=U,ue.isPortal=L,ue.isProfiler=K,ue.isStrictMode=be,ue.isSuspense=_,ue.isSuspenseList=we,ue.isValidElementType=b,ue.typeOf=m}()),ue}process.env.NODE_ENV==="production"?On.exports=Du():On.exports=Vu();var Qo=On.exports;const Lu=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function zu(e){const t=`${e}`.match(Lu);return t&&t[1]||""}function ba(e,t=""){return e.displayName||e.name||zu(e)||t}function ei(e,t,r){const n=ba(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Fu(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ba(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Qo.ForwardRef:return ei(e,e.render,"ForwardRef");case Qo.Memo:return ei(e,e.type,"memo");default:return}}}const Wu=w.oneOfType([w.func,w.object]),Bu=Wu;function Te(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Pt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Uu(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Yu(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function qu(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,n,o,i,a)=>{const s=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error(`The ${i} \`${c}\` of \`${s}\` is deprecated. ${t}`):null}}function Ku(e,t){return N.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Ea(e){return e&&e.ownerDocument||document}function Gu(e){return Ea(e).defaultView||window}function Hu(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?k({},t.propTypes):null;return o=>(i,a,s,c,u,...l)=>{const f=u||a,d=r==null?void 0:r[f];if(d){const g=d(i,a,s,c,u,...l);if(g)return g}return typeof i[a]<"u"&&!i[o]?new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}function Sa(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Xu=typeof window<"u"?N.useLayoutEffect:N.useEffect,_a=Xu;let ti=0;function Ju(e){const[t,r]=N.useState(e),n=e||t;return N.useEffect(()=>{t==null&&(ti+=1,r(`mui-${ti}`))},[t]),n}const ri=N["useId".toString()];function Zu(e){if(ri!==void 0){const t=ri();return e??t}return Ju(e)}function Qu(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=o||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function ec({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=N.useRef(e!==void 0),[i,a]=N.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){N.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
70
|
+
`))},[n,r,e]);const{current:u}=N.useRef(t);N.useEffect(()=>{!o&&u!==t&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
|
71
|
+
`))},[JSON.stringify(t)])}const c=N.useCallback(u=>{o||a(u)},[]);return[s,c]}function qt(e){const t=N.useRef(e);return _a(()=>{t.current=e}),N.useCallback((...r)=>(0,t.current)(...r),[])}function Tn(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Sa(r,t)})},e)}let wr=!0,Rn=!1,ni;const tc={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function rc(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&tc[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function nc(e){e.metaKey||e.altKey||e.ctrlKey||(wr=!0)}function cn(){wr=!1}function oc(){this.visibilityState==="hidden"&&Rn&&(wr=!0)}function ic(e){e.addEventListener("keydown",nc,!0),e.addEventListener("mousedown",cn,!0),e.addEventListener("pointerdown",cn,!0),e.addEventListener("touchstart",cn,!0),e.addEventListener("visibilitychange",oc,!0)}function ac(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return wr||rc(t)}function wa(){const e=N.useCallback(o=>{o!=null&&ic(o.ownerDocument)},[]),t=N.useRef(!1);function r(){return t.current?(Rn=!0,window.clearTimeout(ni),ni=window.setTimeout(()=>{Rn=!1},100),t.current=!1,!0):!1}function n(o){return ac(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function Un(e,t){const r=k({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=k({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=k({},i),Object.keys(o).forEach(a=>{r[n][a]=Un(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Yn(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const oi=e=>e,sc=()=>{let e=oi;return{configure(t){e=t},generate(t){return e(t)},reset(){e=oi}}},uc=sc(),xa=uc,cc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function tr(e,t,r="Mui"){const n=cc[t];return n?`${r}-${n}`:`${xa.generate(e)}-${t}`}function xr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=tr(e,o,r)}),n}function Oa(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var lc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,fc=Oa(function(e){return lc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function dc(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function pc(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var mc=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(pc(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
72
|
+
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=dc(o);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ne="-ms-",Er="-moz-",re="-webkit-",qn="comm",Kn="rule",Gn="decl",hc="@import",Ta="@keyframes",vc="@layer",yc=Math.abs,Or=String.fromCharCode,gc=Object.assign;function bc(e,t){return Ce(e,0)^45?(((t<<2^Ce(e,0))<<2^Ce(e,1))<<2^Ce(e,2))<<2^Ce(e,3):0}function Ra(e){return e.trim()}function Ec(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function Cn(e,t){return e.indexOf(t)}function Ce(e,t){return e.charCodeAt(t)|0}function Xt(e,t,r){return e.slice(t,r)}function Ue(e){return e.length}function Hn(e){return e.length}function cr(e,t){return t.push(e),e}function Sc(e,t){return e.map(t).join("")}var Tr=1,Nt=1,Ca=0,je=0,Oe=0,jt="";function Rr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Tr,column:Nt,length:a,return:""}}function Wt(e,t){return gc(Rr("",null,null,"",null,null,0),e,{length:-e.length},t)}function _c(){return Oe}function wc(){return Oe=je>0?Ce(jt,--je):0,Nt--,Oe===10&&(Nt=1,Tr--),Oe}function De(){return Oe=je<Ca?Ce(jt,je++):0,Nt++,Oe===10&&(Nt=1,Tr++),Oe}function Ke(){return Ce(jt,je)}function dr(){return je}function rr(e,t){return Xt(jt,e,t)}function Jt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pa(e){return Tr=Nt=1,Ca=Ue(jt=e),je=0,[]}function Na(e){return jt="",e}function pr(e){return Ra(rr(je-1,Pn(e===91?e+2:e===40?e+1:e)))}function xc(e){for(;(Oe=Ke())&&Oe<33;)De();return Jt(e)>2||Jt(Oe)>3?"":" "}function Oc(e,t){for(;--t&&De()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return rr(e,dr()+(t<6&&Ke()==32&&De()==32))}function Pn(e){for(;De();)switch(Oe){case e:return je;case 34:case 39:e!==34&&e!==39&&Pn(Oe);break;case 40:e===41&&Pn(e);break;case 92:De();break}return je}function Tc(e,t){for(;De()&&e+Oe!==47+10;)if(e+Oe===42+42&&Ke()===47)break;return"/*"+rr(t,je-1)+"*"+Or(e===47?e:De())}function Rc(e){for(;!Jt(Ke());)De();return rr(e,je)}function Cc(e){return Na(mr("",null,null,null,[""],e=Pa(e),0,[0],e))}function mr(e,t,r,n,o,i,a,s,c){for(var u=0,l=0,f=a,d=0,g=0,v=0,p=1,y=1,E=1,x=0,S="",b=o,m=i,R=n,C=S;y;)switch(v=x,x=De()){case 40:if(v!=108&&Ce(C,f-1)==58){Cn(C+=ne(pr(x),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:C+=pr(x);break;case 9:case 10:case 13:case 32:C+=xc(v);break;case 92:C+=Oc(dr()-1,7);continue;case 47:switch(Ke()){case 42:case 47:cr(Pc(Tc(De(),dr()),t,r),c);break;default:C+="/"}break;case 123*p:s[u++]=Ue(C)*E;case 125*p:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+l:E==-1&&(C=ne(C,/\f/g,"")),g>0&&Ue(C)-f&&cr(g>32?ai(C+";",n,r,f-1):ai(ne(C," ","")+";",n,r,f-2),c);break;case 59:C+=";";default:if(cr(R=ii(C,t,r,u,l,o,s,S,b=[],m=[],f),i),x===123)if(l===0)mr(C,t,R,R,b,i,f,s,m);else switch(d===99&&Ce(C,3)===110?100:d){case 100:case 108:case 109:case 115:mr(e,R,R,n&&cr(ii(e,R,R,0,0,o,s,S,o,b=[],f),m),o,m,f,s,n?b:m);break;default:mr(C,R,R,R,[""],m,0,s,m)}}u=l=g=0,p=E=1,S=C="",f=a;break;case 58:f=1+Ue(C),g=v;default:if(p<1){if(x==123)--p;else if(x==125&&p++==0&&wc()==125)continue}switch(C+=Or(x),x*p){case 38:E=l>0?1:(C+="\f",-1);break;case 44:s[u++]=(Ue(C)-1)*E,E=1;break;case 64:Ke()===45&&(C+=pr(De())),d=Ke(),l=f=Ue(S=C+=Rc(dr())),x++;break;case 45:v===45&&Ue(C)==2&&(p=0)}}return i}function ii(e,t,r,n,o,i,a,s,c,u,l){for(var f=o-1,d=o===0?i:[""],g=Hn(d),v=0,p=0,y=0;v<n;++v)for(var E=0,x=Xt(e,f+1,f=yc(p=a[v])),S=e;E<g;++E)(S=Ra(p>0?d[E]+" "+x:ne(x,/&\f/g,d[E])))&&(c[y++]=S);return Rr(e,t,r,o===0?Kn:s,c,u,l)}function Pc(e,t,r){return Rr(e,t,r,qn,Or(_c()),Xt(e,2,-2),0)}function ai(e,t,r,n){return Rr(e,t,r,Gn,Xt(e,0,n),Xt(e,n+1,-1),n)}function Ot(e,t){for(var r="",n=Hn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Nc(e,t,r,n){switch(e.type){case vc:if(e.children.length)break;case hc:case Gn:return e.return=e.return||e.value;case qn:return"";case Ta:return e.return=e.value+"{"+Ot(e.children,n)+"}";case Kn:e.value=e.props.join(",")}return Ue(r=Ot(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ac(e){var t=Hn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function $c(e){return function(t){t.root||(t=t.return)&&e(t)}}var jc=function(t,r,n){for(var o=0,i=0;o=i,i=Ke(),o===38&&i===12&&(r[n]=1),!Jt(i);)De();return rr(t,je)},Ic=function(t,r){var n=-1,o=44;do switch(Jt(o)){case 0:o===38&&Ke()===12&&(r[n]=1),t[n]+=jc(je-1,r,n);break;case 2:t[n]+=pr(o);break;case 4:if(o===44){t[++n]=Ke()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Or(o)}while(o=De());return t},kc=function(t,r){return Na(Ic(Pa(t),r))},si=new WeakMap,Mc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!si.get(n))&&!o){si.set(t,!0);for(var i=[],a=kc(r,i),s=n.props,c=0,u=0;c<a.length;c++)for(var l=0;l<s.length;l++,u++)t.props[u]=i[c]?a[c].replace(/&\f/g,s[l]):s[l]+" "+a[c]}}},Dc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Vc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Lc=function(t){return t.type==="comm"&&t.children.indexOf(Vc)>-1},zc=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,s=a?r.parent.children:o,c=s.length-1;c>=0;c--){var u=s[c];if(u.line<r.line)break;if(u.column<r.column){if(Lc(u))return;break}}i.forEach(function(l){console.error('The pseudo class "'+l+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+l.split("-child")[0]+'-of-type".')})}}}},Aa=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Fc=function(t,r){for(var n=t-1;n>=0;n--)if(!Aa(r[n]))return!0;return!1},ui=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Wc=function(t,r,n){Aa(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ui(t)):Fc(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ui(t)))};function $a(e,t){switch(bc(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+Er+e+Ne+e+e;case 6828:case 4268:return re+e+Ne+e+e;case 6165:return re+e+Ne+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+Ne+"flex-$1$2")+e;case 5443:return re+e+Ne+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+Ne+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+Ne+ne(e,"shrink","negative")+e;case 5292:return re+e+Ne+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+Ne+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+Ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ue(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+Er+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch")?$a(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,Ue(e)-3-(~Cn(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(Ce(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+Ne+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return re+e+Ne+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+Ne+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+Ne+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+Ne+e+e}return e}var Bc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Gn:t.return=$a(t.value,t.length);break;case Ta:return Ot([Wt(t,{value:ne(t.value,"@","@"+re)})],o);case Kn:if(t.length)return Sc(t.props,function(i){switch(Ec(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ot([Wt(t,{props:[ne(i,/:(read-\w+)/,":"+Er+"$1")]})],o);case"::placeholder":return Ot([Wt(t,{props:[ne(i,/:(plac\w+)/,":"+re+"input-$1")]}),Wt(t,{props:[ne(i,/:(plac\w+)/,":"+Er+"$1")]}),Wt(t,{props:[ne(i,/:(plac\w+)/,Ne+"input-$1")]})],o)}return""})}},Uc=[Bc],Yc=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
73
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||Uc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;s.push(p)});var c,u=[Mc,Dc];process.env.NODE_ENV!=="production"&&u.push(zc({get compat(){return v.compat}}),Wc);{var l,f=[Nc,process.env.NODE_ENV!=="production"?function(p){p.root||(p.return?l.insert(p.return):p.value&&p.type!==qn&&l.insert(p.value+"{}"))}:$c(function(p){l.insert(p)})],d=Ac(u.concat(o,f)),g=function(y){return Ot(Cc(y),d)};c=function(y,E,x,S){l=x,process.env.NODE_ENV!=="production"&&E.map!==void 0&&(l={insert:function(m){x.insert(m+E.map)}}),g(y?y+"{"+E.styles+"}":E.styles),S&&(v.inserted[E.name]=!0)}}var v={key:r,sheet:new mc({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return v.sheet.hydrate(s),v},Nn={exports:{}},ce={};/** @license React v16.13.1
|
|
74
|
+
* react-is.production.min.js
|
|
75
|
+
*
|
|
76
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the MIT license found in the
|
|
79
|
+
* LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/var ci;function qc(){if(ci)return ce;ci=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,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(m){if(typeof m=="object"&&m!==null){var R=m.$$typeof;switch(R){case t:switch(m=m.type,m){case c:case u:case n:case i:case o:case f:return m;default:switch(m=m&&m.$$typeof,m){case s:case l:case v:case g:case a:return m;default:return R}}case r:return R}}}function b(m){return S(m)===u}return ce.AsyncMode=c,ce.ConcurrentMode=u,ce.ContextConsumer=s,ce.ContextProvider=a,ce.Element=t,ce.ForwardRef=l,ce.Fragment=n,ce.Lazy=v,ce.Memo=g,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=f,ce.isAsyncMode=function(m){return b(m)||S(m)===c},ce.isConcurrentMode=b,ce.isContextConsumer=function(m){return S(m)===s},ce.isContextProvider=function(m){return S(m)===a},ce.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ce.isForwardRef=function(m){return S(m)===l},ce.isFragment=function(m){return S(m)===n},ce.isLazy=function(m){return S(m)===v},ce.isMemo=function(m){return S(m)===g},ce.isPortal=function(m){return S(m)===r},ce.isProfiler=function(m){return S(m)===i},ce.isStrictMode=function(m){return S(m)===o},ce.isSuspense=function(m){return S(m)===f},ce.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===u||m===i||m===o||m===f||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===v||m.$$typeof===g||m.$$typeof===a||m.$$typeof===s||m.$$typeof===l||m.$$typeof===y||m.$$typeof===E||m.$$typeof===x||m.$$typeof===p)},ce.typeOf=S,ce}var le={};/** @license React v16.13.1
|
|
81
|
+
* react-is.development.js
|
|
82
|
+
*
|
|
83
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
84
|
+
*
|
|
85
|
+
* This source code is licensed under the MIT license found in the
|
|
86
|
+
* LICENSE file in the root directory of this source tree.
|
|
87
|
+
*/var li;function Kc(){return li||(li=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,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(_){return typeof _=="string"||typeof _=="function"||_===n||_===u||_===i||_===o||_===f||_===d||typeof _=="object"&&_!==null&&(_.$$typeof===v||_.$$typeof===g||_.$$typeof===a||_.$$typeof===s||_.$$typeof===l||_.$$typeof===y||_.$$typeof===E||_.$$typeof===x||_.$$typeof===p)}function b(_){if(typeof _=="object"&&_!==null){var we=_.$$typeof;switch(we){case t:var j=_.type;switch(j){case c:case u:case n:case i:case o:case f:return j;default:var Pe=j&&j.$$typeof;switch(Pe){case s:case l:case v:case g:case a:return Pe;default:return we}}case r:return we}}}var m=c,R=u,C=s,V=a,D=t,$=l,z=n,X=v,Z=g,Q=r,de=i,ee=o,ve=f,he=!1;function Ie(_){return he||(he=!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}function O(_){return b(_)===u}function A(_){return b(_)===s}function Y(_){return b(_)===a}function B(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function I(_){return b(_)===l}function q(_){return b(_)===n}function M(_){return b(_)===v}function F(_){return b(_)===g}function U(_){return b(_)===r}function L(_){return b(_)===i}function K(_){return b(_)===o}function be(_){return b(_)===f}le.AsyncMode=m,le.ConcurrentMode=R,le.ContextConsumer=C,le.ContextProvider=V,le.Element=D,le.ForwardRef=$,le.Fragment=z,le.Lazy=X,le.Memo=Z,le.Portal=Q,le.Profiler=de,le.StrictMode=ee,le.Suspense=ve,le.isAsyncMode=Ie,le.isConcurrentMode=O,le.isContextConsumer=A,le.isContextProvider=Y,le.isElement=B,le.isForwardRef=I,le.isFragment=q,le.isLazy=M,le.isMemo=F,le.isPortal=U,le.isProfiler=L,le.isStrictMode=K,le.isSuspense=be,le.isValidElementType=S,le.typeOf=b}()),le}process.env.NODE_ENV==="production"?Nn.exports=qc():Nn.exports=Kc();var Gc=Nn.exports,ja=Gc,Hc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Xc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ia={};Ia[ja.ForwardRef]=Hc;Ia[ja.Memo]=Xc;var Jc=!0;function Xn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Cr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Jc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Pr=function(t,r,n){Cr(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Zc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Qc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fi=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
88
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
89
|
+
You can read more about this here:
|
|
90
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,el="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",tl=/[A-Z]|^ms/g,ka=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Jn=function(t){return t.charCodeAt(1)===45},di=function(t){return t!=null&&typeof t!="boolean"},ln=Oa(function(e){return Jn(e)?e:e.replace(tl,"-$&").toLowerCase()}),Sr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ka,function(n,o,i){return Be={name:o,styles:i,next:Be},o})}return Qc[t]!==1&&!Jn(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var rl=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,nl=["normal","none","initial","inherit","unset"],ol=Sr,il=/^-ms-/,al=/-(.)/g,pi={};Sr=function(t,r){if(t==="content"&&(typeof r!="string"||nl.indexOf(r)===-1&&!rl.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=ol(t,r);return n!==""&&!Jn(t)&&t.indexOf("-")!==-1&&pi[t]===void 0&&(pi[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(il,"ms-").replace(al,function(o,i){return i.toUpperCase()})+"?")),n}}var Ma="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Zt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Ma);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Be={name:r.name,styles:r.styles,next:Be},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Be={name:n.name,styles:n.styles,next:Be},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return sl(e,t,r)}case"function":{if(e!==void 0){var i=Be,a=r(e);return Be=i,Zt(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],c=r.replace(ka,function(l,f,d){var g="animation"+s.length;return s.push("const "+g+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+c+"`"]).join(`
|
|
91
|
+
`)+`
|
|
92
|
+
|
|
93
|
+
You should wrap it with \`css\` like this:
|
|
94
|
+
|
|
95
|
+
`+("css`"+c+"`"))}break}if(t==null)return r;var u=t[r];return u!==void 0?u:r}function sl(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Zt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":di(a)&&(n+=ln(i)+":"+Sr(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Ma);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)di(a[s])&&(n+=ln(i)+":"+Sr(i,a[s])+";");else{var c=Zt(e,t,a);switch(i){case"animation":case"animationName":{n+=ln(i)+":"+c+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(el),n+=i+"{"+c+"}"}}}}return n}var mi=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Da;process.env.NODE_ENV!=="production"&&(Da=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Be,At=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";Be=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Zt(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(fi),i+=a[0]);for(var s=1;s<t.length;s++)i+=Zt(n,r,t[s]),o&&(process.env.NODE_ENV!=="production"&&a[s]===void 0&&console.error(fi),i+=a[s]);var c;process.env.NODE_ENV!=="production"&&(i=i.replace(Da,function(d){return c=d,""})),mi.lastIndex=0;for(var u="",l;(l=mi.exec(i))!==null;)u+="-"+l[1];var f=Zc(i)+u;return process.env.NODE_ENV!=="production"?{name:f,styles:i,map:c,next:Be,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:i,next:Be}},ul=function(t){return t()},Va=N["useInsertionEffect"]?N["useInsertionEffect"]:!1,Zn=Va||ul,hi=Va||N.useLayoutEffect,cl={}.hasOwnProperty,Qn=N.createContext(typeof HTMLElement<"u"?Yc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Qn.displayName="EmotionCacheContext");Qn.Provider;var Nr=function(t){return me.forwardRef(function(r,n){var o=me.useContext(Qn);return t(r,o,n)})},It=N.createContext({});process.env.NODE_ENV!=="production"&&(It.displayName="EmotionThemeContext");var yi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gi="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ll=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Cr(r,n,o),Zn(function(){return Pr(r,n,o)}),null},fl=Nr(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[yi],i=[n],a="";typeof e.className=="string"?a=Xn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=At(i,void 0,N.useContext(It));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var c=e[gi];c&&(s=At([s,"label:"+c+";"]))}a+=t.key+"-"+s.name;var u={};for(var l in e)cl.call(e,l)&&l!=="css"&&l!==yi&&(process.env.NODE_ENV==="production"||l!==gi)&&(u[l]=e[l]);return u.ref=r,u.className=a,N.createElement(N.Fragment,null,N.createElement(ll,{cache:t,serialized:s,isStringTag:typeof o=="string"}),N.createElement(o,u))});process.env.NODE_ENV!=="production"&&(fl.displayName="EmotionCssPropInternal");var dl={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},bi=!1,pl=Nr(function(e,t){process.env.NODE_ENV!=="production"&&!bi&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),bi=!0);var r=e.styles,n=At([r],void 0,N.useContext(It)),o=N.useRef();return hi(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",i),a.hydrate([c])),o.current=[a,s],function(){a.flush()}},[t]),hi(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(n.next!==void 0&&Pr(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(pl.displayName="EmotionGlobal");function ml(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return At(t)}var eo=function(){var t=ml.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},hl=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var s in i)i[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function vl(e,t,r){var n=[],o=Xn(e,n,r);return n.length<2?r:o+t(n)}var yl=function(t){var r=t.cache,n=t.serializedArr;return Zn(function(){for(var o=0;o<n.length;o++)Pr(r,n[o],!1)}),null},gl=Nr(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];var d=At(l,t.registered);return n.push(d),Cr(t,d,!1),t.key+"-"+d.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];return vl(t.registered,o,hl(l))},a={css:o,cx:i,theme:N.useContext(It)},s=e.children(a);return r=!0,N.createElement(N.Fragment,null,N.createElement(yl,{cache:t,serializedArr:n}),s)});process.env.NODE_ENV!=="production"&&(gl.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Ei=!0,bl=typeof jest<"u"||typeof vi<"u";if(Ei&&!bl){var Si=typeof globalThis<"u"?globalThis:Ei?window:global,_i="__EMOTION_REACT_"+dl.version.split(".")[0]+"__";Si[_i]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Si[_i]=!0}}var El=fc,Sl=function(t){return t!=="theme"},wi=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?El:Sl},xi=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Oi=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
96
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
97
|
+
You can read more about this here:
|
|
98
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,_l=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Cr(r,n,o),Zn(function(){return Pr(r,n,o)}),null},wl=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
99
|
+
You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=xi(t,r,n),c=s||wi(o),u=!c("as");return function(){var l=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),l[0]==null||l[0].raw===void 0)f.push.apply(f,l);else{process.env.NODE_ENV!=="production"&&l[0][0]===void 0&&console.error(Oi),f.push(l[0][0]);for(var d=l.length,g=1;g<d;g++)process.env.NODE_ENV!=="production"&&l[0][g]===void 0&&console.error(Oi),f.push(l[g],l[0][g])}var v=Nr(function(p,y,E){var x=u&&p.as||o,S="",b=[],m=p;if(p.theme==null){m={};for(var R in p)m[R]=p[R];m.theme=N.useContext(It)}typeof p.className=="string"?S=Xn(y.registered,b,p.className):p.className!=null&&(S=p.className+" ");var C=At(f.concat(b),y.registered,m);S+=y.key+"-"+C.name,a!==void 0&&(S+=" "+a);var V=u&&s===void 0?wi(x):c,D={};for(var $ in p)u&&$==="as"||V($)&&(D[$]=p[$]);return D.className=S,D.ref=E,N.createElement(N.Fragment,null,N.createElement(_l,{cache:y,serialized:C,isStringTag:typeof x=="string"}),N.createElement(x,D))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=f,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(p,y){return e(p,k({},r,y,{shouldForwardProp:xi(v,y,!0)})).apply(void 0,f)},v}},xl=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],An=wl.bind();xl.forEach(function(e){An[e]=An(e)});/**
|
|
100
|
+
* @mui/styled-engine v5.13.2
|
|
101
|
+
*
|
|
102
|
+
* @license MIT
|
|
103
|
+
* This source code is licensed under the MIT license found in the
|
|
104
|
+
* LICENSE file in the root directory of this source tree.
|
|
105
|
+
*/function Ol(e,t){const r=An(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
106
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const Tl=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Rl=["values","unit","step"],Cl=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>k({},r,{[n.key]:n.val}),{})};function Pl(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Le(e,Rl),i=Cl(t),a=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function c(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function u(d,g){const v=a.indexOf(g);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:g)-n/100}${r})`}function l(d){return a.indexOf(d)+1<a.length?u(d,a[a.indexOf(d)+1]):s(d)}function f(d){const g=a.indexOf(d);return g===0?s(a[1]):g===a.length-1?c(a[g]):u(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return k({keys:a,values:i,up:s,down:c,between:u,only:l,not:f,unit:r},o)}const Nl={borderRadius:4},Al=Nl,$l=process.env.NODE_ENV!=="production"?w.oneOfType([w.number,w.string,w.object,w.array]):{},it=$l;function Kt(e,t){return t?He(e,t,{clone:!1}):e}const to={xs:0,sm:600,md:900,lg:1200,xl:1536},Ti={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${to[e]}px)`};function Je(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Ti;return t.reduce((a,s,c)=>(a[i.up(i.keys[c])]=r(t[c]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Ti;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||to).indexOf(s)!==-1){const c=i.up(s);a[c]=r(t[s],s)}else{const c=s;a[c]=t[c]}return a},{})}return r(t)}function jl(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Il(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Ar(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function _r(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Ar(e,r)||n,t&&(o=t(o,n,e)),o}function fe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],c=a.theme,u=Ar(c,n)||{};return Je(a,s,f=>{let d=_r(u,o,f);return f===d&&typeof f=="string"&&(d=_r(u,o,`${t}${f==="default"?"":Te(f)}`,f)),r===!1?d:{[r]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:it}:{},i.filterProps=[t],i}function kl(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ml={m:"margin",p:"padding"},Dl={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ri={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vl=kl(e=>{if(e.length>2)if(Ri[e])e=Ri[e];else return[e];const[t,r]=e.split(""),n=Ml[t],o=Dl[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),$r=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ll=[...$r,...jr];function nr(e,t,r,n){var o;const i=(o=Ar(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
107
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
108
|
+
`))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
109
|
+
`)),()=>{})}function La(e){return nr(e,"spacing",8,"spacing")}function or(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function zl(e,t){return r=>e.reduce((n,o)=>(n[o]=or(t,r),n),{})}function Fl(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Vl(r),i=zl(o,n),a=e[r];return Je(e,a,i)}function za(e,t){const r=La(e.theme);return Object.keys(e).map(n=>Fl(e,t,n,r)).reduce(Kt,{})}function Ee(e){return za(e,$r)}Ee.propTypes=process.env.NODE_ENV!=="production"?$r.reduce((e,t)=>(e[t]=it,e),{}):{};Ee.filterProps=$r;function Se(e){return za(e,jr)}Se.propTypes=process.env.NODE_ENV!=="production"?jr.reduce((e,t)=>(e[t]=it,e),{}):{};Se.filterProps=jr;process.env.NODE_ENV!=="production"&&Ll.reduce((e,t)=>(e[t]=it,e),{});function Wl(e=8){if(e.mui)return e;const t=La({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ir(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Kt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ye(e){return typeof e!="number"?e:`${e}px solid`}const Bl=fe({prop:"border",themeKey:"borders",transform:Ye}),Ul=fe({prop:"borderTop",themeKey:"borders",transform:Ye}),Yl=fe({prop:"borderRight",themeKey:"borders",transform:Ye}),ql=fe({prop:"borderBottom",themeKey:"borders",transform:Ye}),Kl=fe({prop:"borderLeft",themeKey:"borders",transform:Ye}),Gl=fe({prop:"borderColor",themeKey:"palette"}),Hl=fe({prop:"borderTopColor",themeKey:"palette"}),Xl=fe({prop:"borderRightColor",themeKey:"palette"}),Jl=fe({prop:"borderBottomColor",themeKey:"palette"}),Zl=fe({prop:"borderLeftColor",themeKey:"palette"}),kr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=nr(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:or(t,n)});return Je(e,e.borderRadius,r)}return null};kr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:it}:{};kr.filterProps=["borderRadius"];Ir(Bl,Ul,Yl,ql,Kl,Gl,Hl,Xl,Jl,Zl,kr);const Mr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=nr(e.theme,"spacing",8,"gap"),r=n=>({gap:or(t,n)});return Je(e,e.gap,r)}return null};Mr.propTypes=process.env.NODE_ENV!=="production"?{gap:it}:{};Mr.filterProps=["gap"];const Dr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=nr(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:or(t,n)});return Je(e,e.columnGap,r)}return null};Dr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:it}:{};Dr.filterProps=["columnGap"];const Vr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=nr(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:or(t,n)});return Je(e,e.rowGap,r)}return null};Vr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:it}:{};Vr.filterProps=["rowGap"];const Ql=fe({prop:"gridColumn"}),ef=fe({prop:"gridRow"}),tf=fe({prop:"gridAutoFlow"}),rf=fe({prop:"gridAutoColumns"}),nf=fe({prop:"gridAutoRows"}),of=fe({prop:"gridTemplateColumns"}),af=fe({prop:"gridTemplateRows"}),sf=fe({prop:"gridTemplateAreas"}),uf=fe({prop:"gridArea"});Ir(Mr,Dr,Vr,Ql,ef,tf,rf,nf,of,af,sf,uf);function Tt(e,t){return t==="grey"?t:e}const cf=fe({prop:"color",themeKey:"palette",transform:Tt}),lf=fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tt}),ff=fe({prop:"backgroundColor",themeKey:"palette",transform:Tt});Ir(cf,lf,ff);function Me(e){return e<=1&&e!==0?`${e*100}%`:e}const df=fe({prop:"width",transform:Me}),ro=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||to[r]||Me(r)}};return Je(e,e.maxWidth,t)}return null};ro.filterProps=["maxWidth"];const pf=fe({prop:"minWidth",transform:Me}),mf=fe({prop:"height",transform:Me}),hf=fe({prop:"maxHeight",transform:Me}),vf=fe({prop:"minHeight",transform:Me});fe({prop:"size",cssProperty:"width",transform:Me});fe({prop:"size",cssProperty:"height",transform:Me});const yf=fe({prop:"boxSizing"});Ir(df,ro,pf,mf,hf,vf,yf);const gf={border:{themeKey:"borders",transform:Ye},borderTop:{themeKey:"borders",transform:Ye},borderRight:{themeKey:"borders",transform:Ye},borderBottom:{themeKey:"borders",transform:Ye},borderLeft:{themeKey:"borders",transform:Ye},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:kr},color:{themeKey:"palette",transform:Tt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tt},backgroundColor:{themeKey:"palette",transform:Tt},p:{style:Se},pt:{style:Se},pr:{style:Se},pb:{style:Se},pl:{style:Se},px:{style:Se},py:{style:Se},padding:{style:Se},paddingTop:{style:Se},paddingRight:{style:Se},paddingBottom:{style:Se},paddingLeft:{style:Se},paddingX:{style:Se},paddingY:{style:Se},paddingInline:{style:Se},paddingInlineStart:{style:Se},paddingInlineEnd:{style:Se},paddingBlock:{style:Se},paddingBlockStart:{style:Se},paddingBlockEnd:{style:Se},m:{style:Ee},mt:{style:Ee},mr:{style:Ee},mb:{style:Ee},ml:{style:Ee},mx:{style:Ee},my:{style:Ee},margin:{style:Ee},marginTop:{style:Ee},marginRight:{style:Ee},marginBottom:{style:Ee},marginLeft:{style:Ee},marginX:{style:Ee},marginY:{style:Ee},marginInline:{style:Ee},marginInlineStart:{style:Ee},marginInlineEnd:{style:Ee},marginBlock:{style:Ee},marginBlockStart:{style:Ee},marginBlockEnd:{style:Ee},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Mr},rowGap:{style:Vr},columnGap:{style:Dr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Me},maxWidth:{style:ro},minWidth:{transform:Me},height:{transform:Me},maxHeight:{transform:Me},minHeight:{transform:Me},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},no=gf;function bf(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ef(e,t){return typeof e=="function"?e(t):e}function Sf(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:l,style:f}=s;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const d=Ar(o,u)||{};return f?f(a):Je(a,n,v=>{let p=_r(d,l,v);return v===p&&typeof v=="string"&&(p=_r(d,l,`${r}${v==="default"?"":Te(v)}`,v)),c===!1?p:{[c]:p}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:no;function s(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const l=jl(i.breakpoints),f=Object.keys(l);let d=l;return Object.keys(u).forEach(g=>{const v=Ef(u[g],i);if(v!=null)if(typeof v=="object")if(a[g])d=Kt(d,e(g,v,i,a));else{const p=Je({theme:i},v,y=>({[g]:y}));bf(p,v)?d[g]=t({sx:v,theme:i}):d=Kt(d,p)}else d=Kt(d,e(g,v,i,a))}),Il(f,d)}return Array.isArray(o)?o.map(s):s(o)}return t}const Fa=Sf();Fa.filterProps=["sx"];const oo=Fa,_f=["breakpoints","palette","spacing","shape"];function io(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Le(e,_f),s=Pl(r),c=Wl(o);let u=He({breakpoints:s,direction:"ltr",components:{},palette:k({mode:"light"},n),spacing:c,shape:k({},Al,i)},a);return u=t.reduce((l,f)=>He(l,f),u),u.unstable_sxConfig=k({},no,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return oo({sx:f,theme:this})},u}function wf(e){return Object.keys(e).length===0}function xf(e=null){const t=N.useContext(It);return!t||wf(t)?e:t}const Of=io();function Tf(e=Of){return xf(e)}const Rf=["variant"];function Ci(e){return e.length===0}function Wa(e){const{variant:t}=e,r=Le(e,Rf);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=Ci(n)?e[o]:Te(e[o]):n+=`${Ci(n)?o:Te(o)}${Te(e[o].toString())}`}),n}const Cf=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Pf(e){return Object.keys(e).length===0}function Nf(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Af=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,$f=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=Wa(o.props);n[i]=o.style}),n},jf=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(c=>{let u=!0;Object.keys(c.props).forEach(l=>{i[l]!==c.props[l]&&e[l]!==c.props[l]&&(u=!1)}),u&&a.push(t[Wa(c.props)])}),a};function hr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const If=io(),kf=e=>e.charAt(0).toLowerCase()+e.slice(1);function Bt({defaultTheme:e,theme:t,themeId:r}){return Pf(t)?e:t[r]||t}function Mf(e={}){const{themeId:t,defaultTheme:r=If,rootShouldForwardProp:n=hr,slotShouldForwardProp:o=hr}=e,i=a=>oo(k({},a,{theme:Bt(k({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{Tl(a,b=>b.filter(m=>!(m!=null&&m.__mui_systemSx)));const{name:c,slot:u,skipVariantsResolver:l,skipSx:f,overridesResolver:d}=s,g=Le(s,Cf),v=l!==void 0?l:u&&u!=="Root"||!1,p=f||!1;let y;process.env.NODE_ENV!=="production"&&c&&(y=`${c}-${kf(u||"Root")}`);let E=hr;u==="Root"?E=n:u?E=o:Nf(a)&&(E=void 0);const x=Ol(a,k({shouldForwardProp:E,label:y},g)),S=(b,...m)=>{const R=m?m.map($=>typeof $=="function"&&$.__emotion_real!==$?z=>$(k({},z,{theme:Bt(k({},z,{defaultTheme:r,themeId:t}))})):$):[];let C=b;c&&d&&R.push($=>{const z=Bt(k({},$,{defaultTheme:r,themeId:t})),X=Af(c,z);if(X){const Z={};return Object.entries(X).forEach(([Q,de])=>{Z[Q]=typeof de=="function"?de(k({},$,{theme:z})):de}),d($,Z)}return null}),c&&!v&&R.push($=>{const z=Bt(k({},$,{defaultTheme:r,themeId:t}));return jf($,$f(c,z),z,c)}),p||R.push(i);const V=R.length-m.length;if(Array.isArray(b)&&V>0){const $=new Array(V).fill("");C=[...b,...$],C.raw=[...b.raw,...$]}else typeof b=="function"&&b.__emotion_real!==b&&(C=$=>b(k({},$,{theme:Bt(k({},$,{defaultTheme:r,themeId:t}))})));const D=x(C,...R);if(process.env.NODE_ENV!=="production"){let $;c&&($=`${c}${u||""}`),$===void 0&&($=`Styled(${Fu(a)})`),D.displayName=$}return a.muiName&&(D.muiName=a.muiName),D};return x.withConfig&&(S.withConfig=x.withConfig),S}}function Df(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Un(t.components[r].defaultProps,n)}function Vf({props:e,name:t,defaultTheme:r,themeId:n}){let o=Tf(r);return n&&(o=o[n]||o),Df({theme:o,name:t,props:e})}function ao(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function Lf(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ft(e){if(e.type)return e;if(e.charAt(0)==="#")return ft(Lf(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
110
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Pt(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
111
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Pt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Lr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function zf(e){e=ft(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(u,l=(u+r/30)%12)=>o-i*Math.max(Math.min(l-3,9-l,1),-1);let s="rgb";const c=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",c.push(t[3])),Lr({type:s,values:c})}function Pi(e){e=ft(e);let t=e.type==="hsl"||e.type==="hsla"?ft(zf(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ni(e,t){const r=Pi(e),n=Pi(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function lr(e,t){return e=ft(e),t=ao(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Lr(e)}function Ff(e,t){if(e=ft(e),t=ao(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Lr(e)}function Wf(e,t){if(e=ft(e),t=ao(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Lr(e)}function Bf(e,t){return k({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Uf={black:"#000",white:"#fff"},Qt=Uf,Yf={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},qf=Yf,Kf={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},yt=Kf,Gf={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},gt=Gf,Hf={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ut=Hf,Xf={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},bt=Xf,Jf={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Et=Jf,Zf={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},St=Zf,Qf=["mode","contrastThreshold","tonalOffset"],Ai={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qt.white,default:Qt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},fn={text:{primary:Qt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function $i(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Wf(e.main,o):t==="dark"&&(e.dark=Ff(e.main,i)))}function ed(e="light"){return e==="dark"?{main:bt[200],light:bt[50],dark:bt[400]}:{main:bt[700],light:bt[400],dark:bt[800]}}function td(e="light"){return e==="dark"?{main:yt[200],light:yt[50],dark:yt[400]}:{main:yt[500],light:yt[300],dark:yt[700]}}function rd(e="light"){return e==="dark"?{main:gt[500],light:gt[300],dark:gt[700]}:{main:gt[700],light:gt[400],dark:gt[800]}}function nd(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[700],light:Et[500],dark:Et[900]}}function od(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function id(e="light"){return e==="dark"?{main:Ut[400],light:Ut[300],dark:Ut[700]}:{main:"#ed6c02",light:Ut[500],dark:Ut[900]}}function ad(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Le(e,Qf),i=e.primary||ed(t),a=e.secondary||td(t),s=e.error||rd(t),c=e.info||nd(t),u=e.success||od(t),l=e.warning||id(t);function f(p){const y=Ni(p,fn.text.primary)>=r?fn.text.primary:Ai.text.primary;if(process.env.NODE_ENV!=="production"){const E=Ni(p,y);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${y} on ${p}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
112
|
+
`))}return y}const d=({color:p,name:y,mainShade:E=500,lightShade:x=300,darkShade:S=700})=>{if(p=k({},p),!p.main&&p[E]&&(p.main=p[E]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
113
|
+
The color object needs to have a \`main\` property or a \`${E}\` property.`:Pt(11,y?` (${y})`:"",E));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
114
|
+
\`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead.
|
|
115
|
+
|
|
116
|
+
Did you intend to use one of the following approaches?
|
|
117
|
+
|
|
118
|
+
import { green } from "@mui/material/colors";
|
|
119
|
+
|
|
120
|
+
const theme1 = createTheme({ palette: {
|
|
121
|
+
primary: green,
|
|
122
|
+
} });
|
|
123
|
+
|
|
124
|
+
const theme2 = createTheme({ palette: {
|
|
125
|
+
primary: { main: green[500] },
|
|
126
|
+
} });`:Pt(12,y?` (${y})`:"",JSON.stringify(p.main)));return $i(p,"light",x,n),$i(p,"dark",S,n),p.contrastText||(p.contrastText=f(p.main)),p},g={dark:fn,light:Ai};return process.env.NODE_ENV!=="production"&&(g[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),He(k({common:k({},Qt),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:l,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:u,name:"success"}),grey:qf,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},g[t]),o)}const sd=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ud(e){return Math.round(e*1e5)/1e5}const ji={textTransform:"uppercase"},Ii='"Roboto", "Helvetica", "Arial", sans-serif';function cd(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Ii,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:l,pxToRem:f}=r,d=Le(r,sd);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=o/14,v=f||(E=>`${E/u*g}rem`),p=(E,x,S,b,m)=>k({fontFamily:n,fontWeight:E,fontSize:v(x),lineHeight:S},n===Ii?{letterSpacing:`${ud(b/x)}em`}:{},m,l),y={h1:p(i,96,1.167,-1.5),h2:p(i,60,1.2,-.5),h3:p(a,48,1.167,0),h4:p(a,34,1.235,.25),h5:p(a,24,1.334,0),h6:p(s,20,1.6,.15),subtitle1:p(a,16,1.75,.15),subtitle2:p(s,14,1.57,.1),body1:p(a,16,1.5,.15),body2:p(a,14,1.43,.15),button:p(s,14,1.75,.4,ji),caption:p(a,12,1.66,.4),overline:p(a,12,2.66,1,ji),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return He(k({htmlFontSize:u,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},y),d,{clone:!1})}const ld=.2,fd=.14,dd=.12;function ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ld})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fd})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${dd})`].join(",")}const pd=["none",ye(0,2,1,-1,0,1,1,0,0,1,3,0),ye(0,3,1,-2,0,2,2,0,0,1,5,0),ye(0,3,3,-2,0,3,4,0,0,1,8,0),ye(0,2,4,-1,0,4,5,0,0,1,10,0),ye(0,3,5,-1,0,5,8,0,0,1,14,0),ye(0,3,5,-1,0,6,10,0,0,1,18,0),ye(0,4,5,-2,0,7,10,1,0,2,16,1),ye(0,5,5,-3,0,8,10,1,0,3,14,2),ye(0,5,6,-3,0,9,12,1,0,3,16,2),ye(0,6,6,-3,0,10,14,1,0,4,18,3),ye(0,6,7,-4,0,11,15,1,0,4,20,3),ye(0,7,8,-4,0,12,17,2,0,5,22,4),ye(0,7,8,-4,0,13,19,2,0,5,24,4),ye(0,7,9,-4,0,14,21,2,0,5,26,4),ye(0,8,9,-5,0,15,22,2,0,6,28,5),ye(0,8,10,-5,0,16,24,2,0,6,30,5),ye(0,8,11,-5,0,17,26,2,0,6,32,5),ye(0,9,11,-5,0,18,28,2,0,7,34,6),ye(0,9,12,-6,0,19,29,2,0,7,36,6),ye(0,10,13,-6,0,20,31,3,0,8,38,7),ye(0,10,13,-6,0,21,33,3,0,8,40,7),ye(0,10,14,-6,0,22,35,3,0,8,42,7),ye(0,11,14,-7,0,23,36,3,0,9,44,8),ye(0,11,15,-7,0,24,38,3,0,9,46,8)],md=pd,hd=["duration","easing","delay"],vd={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},yd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ki(e){return`${Math.round(e)}ms`}function gd(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function bd(e){const t=k({},vd,e.easing),r=k({},yd,e.duration);return k({getAutoHeightDuration:gd,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=i,u=Le(i,hd);if(process.env.NODE_ENV!=="production"){const l=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!l(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(a)&&!l(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),l(s)||console.error('MUI: Argument "easing" must be a string.'),!f(c)&&!l(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
127
|
+
`)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof a=="string"?a:ki(a)} ${s} ${typeof c=="string"?c:ki(c)}`).join(",")}},e,{easing:t,duration:r})}const Ed={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Sd=Ed,_d=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function wd(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Le(e,_d);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Pt(18));const s=ad(n),c=io(e);let u=He(c,{mixins:Bf(c.breakpoints,r),palette:s,shadows:md.slice(),typography:cd(s,i),transitions:bd(o),zIndex:k({},Sd)});if(u=He(u,a),u=t.reduce((l,f)=>He(l,f),u),process.env.NODE_ENV!=="production"){const l=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,g)=>{let v;for(v in d){const p=d[v];if(l.indexOf(v)!==-1&&Object.keys(p).length>0){if(process.env.NODE_ENV!=="production"){const y=tr("",v);console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:p}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
128
|
+
`))}d[v]={}}}};Object.keys(u.components).forEach(d=>{const g=u.components[d].styleOverrides;g&&d.indexOf("Mui")===0&&f(g,d)})}return u.unstable_sxConfig=k({},no,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return oo({sx:f,theme:this})},u}const xd=wd(),Ba=xd,Ua="$$material",Ya=e=>hr(e)&&e!=="classes",Od=Mf({themeId:Ua,defaultTheme:Ba,rootShouldForwardProp:Ya}),dt=Od;function zr({props:e,name:t}){return Vf({props:e,name:t,defaultTheme:Ba,themeId:Ua})}function $n(e,t){return $n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},$n(e,t)}function Td(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$n(e,t)}const Mi=me.createContext(null);function Rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function so(e,t){var r=function(i){return t&&me.isValidElement(i)?t(i):i},n=Object.create(null);return e&&me.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function Cd(e,t){e=e||{},t=t||{};function r(l){return l in t?t[l]:e[l]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var c in t){if(n[c])for(a=0;a<n[c].length;a++){var u=n[c][a];s[n[c][a]]=r(u)}s[c]=r(c)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function ut(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Pd(e,t){return so(e.children,function(r){return me.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:ut(r,"appear",e),enter:ut(r,"enter",e),exit:ut(r,"exit",e)})})}function Nd(e,t,r){var n=so(e.children),o=Cd(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(me.isValidElement(a)){var s=i in t,c=i in n,u=t[i],l=me.isValidElement(u)&&!u.props.in;c&&(!s||l)?o[i]=me.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:ut(a,"exit",e),enter:ut(a,"enter",e)}):!c&&s&&!l?o[i]=me.cloneElement(a,{in:!1}):c&&s&&me.isValidElement(u)&&(o[i]=me.cloneElement(a,{onExited:r.bind(null,a),in:u.props.in,exit:ut(a,"exit",e),enter:ut(a,"enter",e)}))}}),o}var Ad=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},$d={component:"div",childFactory:function(t){return t}},uo=function(e){Td(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Rd(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,c=i.firstRender;return{children:c?Pd(o,s):Nd(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=so(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var c=k({},s.children);return delete c[o.key],{children:c}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=Le(o,["component","childFactory"]),c=this.state.contextValue,u=Ad(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?me.createElement(Mi.Provider,{value:c},u):me.createElement(Mi.Provider,{value:c},me.createElement(i,s,u))},t}(me.Component);uo.propTypes=process.env.NODE_ENV!=="production"?{component:w.any,children:w.node,appear:w.bool,enter:w.bool,exit:w.bool,childFactory:w.func}:{};uo.defaultProps=$d;const jd=uo;function qa(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:c,timeout:u}=e,[l,f]=N.useState(!1),d=ke(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=ke(r.child,l&&r.childLeaving,n&&r.childPulsate);return!s&&!l&&f(!0),N.useEffect(()=>{if(!s&&c!=null){const p=setTimeout(c,u);return()=>{clearTimeout(p)}}},[c,s,u]),oe.jsx("span",{className:d,style:g,children:oe.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(qa.propTypes={classes:w.object.isRequired,className:w.string,in:w.bool,onExited:w.func,pulsate:w.bool,rippleSize:w.number,rippleX:w.number,rippleY:w.number,timeout:w.number.isRequired});const Id=xr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Fe=Id,kd=["center","classes","className"];let Fr=e=>e,Di,Vi,Li,zi;const jn=550,Md=80,Dd=eo(Di||(Di=Fr`
|
|
129
|
+
0% {
|
|
130
|
+
transform: scale(0);
|
|
131
|
+
opacity: 0.1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
100% {
|
|
135
|
+
transform: scale(1);
|
|
136
|
+
opacity: 0.3;
|
|
137
|
+
}
|
|
138
|
+
`)),Vd=eo(Vi||(Vi=Fr`
|
|
139
|
+
0% {
|
|
140
|
+
opacity: 1;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
100% {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
`)),Ld=eo(Li||(Li=Fr`
|
|
147
|
+
0% {
|
|
148
|
+
transform: scale(1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
50% {
|
|
152
|
+
transform: scale(0.92);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
100% {
|
|
156
|
+
transform: scale(1);
|
|
157
|
+
}
|
|
158
|
+
`)),zd=dt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Fd=dt(qa,{name:"MuiTouchRipple",slot:"Ripple"})(zi||(zi=Fr`
|
|
159
|
+
opacity: 0;
|
|
160
|
+
position: absolute;
|
|
161
|
+
|
|
162
|
+
&.${0} {
|
|
163
|
+
opacity: 0.3;
|
|
164
|
+
transform: scale(1);
|
|
165
|
+
animation-name: ${0};
|
|
166
|
+
animation-duration: ${0}ms;
|
|
167
|
+
animation-timing-function: ${0};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&.${0} {
|
|
171
|
+
animation-duration: ${0}ms;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
& .${0} {
|
|
175
|
+
opacity: 1;
|
|
176
|
+
display: block;
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
background-color: currentColor;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
& .${0} {
|
|
184
|
+
opacity: 0;
|
|
185
|
+
animation-name: ${0};
|
|
186
|
+
animation-duration: ${0}ms;
|
|
187
|
+
animation-timing-function: ${0};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
& .${0} {
|
|
191
|
+
position: absolute;
|
|
192
|
+
/* @noflip */
|
|
193
|
+
left: 0px;
|
|
194
|
+
top: 0;
|
|
195
|
+
animation-name: ${0};
|
|
196
|
+
animation-duration: 2500ms;
|
|
197
|
+
animation-timing-function: ${0};
|
|
198
|
+
animation-iteration-count: infinite;
|
|
199
|
+
animation-delay: 200ms;
|
|
200
|
+
}
|
|
201
|
+
`),Fe.rippleVisible,Dd,jn,({theme:e})=>e.transitions.easing.easeInOut,Fe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Fe.child,Fe.childLeaving,Vd,jn,({theme:e})=>e.transitions.easing.easeInOut,Fe.childPulsate,Ld,({theme:e})=>e.transitions.easing.easeInOut),Ka=N.forwardRef(function(t,r){const n=zr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=Le(n,kd),[c,u]=N.useState([]),l=N.useRef(0),f=N.useRef(null);N.useEffect(()=>{f.current&&(f.current(),f.current=null)},[c]);const d=N.useRef(!1),g=N.useRef(0),v=N.useRef(null),p=N.useRef(null);N.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const y=N.useCallback(b=>{const{pulsate:m,rippleX:R,rippleY:C,rippleSize:V,cb:D}=b;u($=>[...$,oe.jsx(Fd,{classes:{ripple:ke(i.ripple,Fe.ripple),rippleVisible:ke(i.rippleVisible,Fe.rippleVisible),ripplePulsate:ke(i.ripplePulsate,Fe.ripplePulsate),child:ke(i.child,Fe.child),childLeaving:ke(i.childLeaving,Fe.childLeaving),childPulsate:ke(i.childPulsate,Fe.childPulsate)},timeout:jn,pulsate:m,rippleX:R,rippleY:C,rippleSize:V},l.current)]),l.current+=1,f.current=D},[i]),E=N.useCallback((b={},m={},R=()=>{})=>{const{pulsate:C=!1,center:V=o||m.pulsate,fakeElement:D=!1}=m;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const $=D?null:p.current,z=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let X,Z,Q;if(V||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)X=Math.round(z.width/2),Z=Math.round(z.height/2);else{const{clientX:de,clientY:ee}=b.touches&&b.touches.length>0?b.touches[0]:b;X=Math.round(de-z.left),Z=Math.round(ee-z.top)}if(V)Q=Math.sqrt((2*z.width**2+z.height**2)/3),Q%2===0&&(Q+=1);else{const de=Math.max(Math.abs(($?$.clientWidth:0)-X),X)*2+2,ee=Math.max(Math.abs(($?$.clientHeight:0)-Z),Z)*2+2;Q=Math.sqrt(de**2+ee**2)}b!=null&&b.touches?v.current===null&&(v.current=()=>{y({pulsate:C,rippleX:X,rippleY:Z,rippleSize:Q,cb:R})},g.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},Md)):y({pulsate:C,rippleX:X,rippleY:Z,rippleSize:Q,cb:R})},[o,y]),x=N.useCallback(()=>{E({},{pulsate:!0})},[E]),S=N.useCallback((b,m)=>{if(clearTimeout(g.current),(b==null?void 0:b.type)==="touchend"&&v.current){v.current(),v.current=null,g.current=setTimeout(()=>{S(b,m)});return}v.current=null,u(R=>R.length>0?R.slice(1):R),f.current=m},[]);return N.useImperativeHandle(r,()=>({pulsate:x,start:E,stop:S}),[x,E,S]),oe.jsx(zd,k({className:ke(Fe.root,i.root,a),ref:p},s,{children:oe.jsx(jd,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(Ka.propTypes={center:w.bool,classes:w.object,className:w.string});const Wd=Ka;function Bd(e){return tr("MuiButtonBase",e)}const Ud=xr("MuiButtonBase",["root","disabled","focusVisible"]),Yd=Ud,qd=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Kd=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Yn({root:["root",t&&"disabled",r&&"focusVisible"]},Bd,o);return r&&n&&(a.root+=` ${n}`),a},Gd=dt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Yd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ga=N.forwardRef(function(t,r){const n=zr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:c="button",disabled:u=!1,disableRipple:l=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:g="a",onBlur:v,onClick:p,onContextMenu:y,onDragLeave:E,onFocus:x,onFocusVisible:S,onKeyDown:b,onKeyUp:m,onMouseDown:R,onMouseLeave:C,onMouseUp:V,onTouchEnd:D,onTouchMove:$,onTouchStart:z,tabIndex:X=0,TouchRippleProps:Z,touchRippleRef:Q,type:de}=n,ee=Le(n,qd),ve=N.useRef(null),he=N.useRef(null),Ie=Tn(he,Q),{isFocusVisibleRef:O,onFocus:A,onBlur:Y,ref:B}=wa(),[I,q]=N.useState(!1);u&&I&&q(!1),N.useImperativeHandle(o,()=>({focusVisible:()=>{q(!0),ve.current.focus()}}),[]);const[M,F]=N.useState(!1);N.useEffect(()=>{F(!0)},[]);const U=M&&!l&&!u;N.useEffect(()=>{I&&d&&!l&&M&&he.current.pulsate()},[l,d,I,M]);function L(G,Vt,Lt=f){return qt(sr=>(Vt&&Vt(sr),!Lt&&he.current&&he.current[G](sr),!0))}const K=L("start",R),be=L("stop",y),_=L("stop",E),we=L("stop",V),j=L("stop",G=>{I&&G.preventDefault(),C&&C(G)}),Pe=L("start",z),We=L("stop",D),at=L("stop",$),ir=L("stop",G=>{Y(G),O.current===!1&&q(!1),v&&v(G)},!1),pt=qt(G=>{ve.current||(ve.current=G.currentTarget),A(G),O.current===!0&&(q(!0),S&&S(G)),x&&x(G)}),kt=()=>{const G=ve.current;return c&&c!=="button"&&!(G.tagName==="A"&&G.href)},Mt=N.useRef(!1),Dt=qt(G=>{d&&!Mt.current&&I&&he.current&&G.key===" "&&(Mt.current=!0,he.current.stop(G,()=>{he.current.start(G)})),G.target===G.currentTarget&&kt()&&G.key===" "&&G.preventDefault(),b&&b(G),G.target===G.currentTarget&&kt()&&G.key==="Enter"&&!u&&(G.preventDefault(),p&&p(G))}),Wr=qt(G=>{d&&G.key===" "&&he.current&&I&&!G.defaultPrevented&&(Mt.current=!1,he.current.stop(G,()=>{he.current.pulsate(G)})),m&&m(G),p&&G.target===G.currentTarget&&kt()&&G.key===" "&&!G.defaultPrevented&&p(G)});let mt=c;mt==="button"&&(ee.href||ee.to)&&(mt=g);const Ze={};mt==="button"?(Ze.type=de===void 0?"button":de,Ze.disabled=u):(!ee.href&&!ee.to&&(Ze.role="button"),u&&(Ze["aria-disabled"]=u));const ar=Tn(r,B,ve);process.env.NODE_ENV!=="production"&&N.useEffect(()=>{U&&!he.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
|
|
202
|
+
`))},[U]);const Qe=k({},n,{centerRipple:i,component:c,disabled:u,disableRipple:l,disableTouchRipple:f,focusRipple:d,tabIndex:X,focusVisible:I}),Br=Kd(Qe);return oe.jsxs(Gd,k({as:mt,className:ke(Br.root,s),ownerState:Qe,onBlur:ir,onClick:p,onContextMenu:be,onFocus:pt,onKeyDown:Dt,onKeyUp:Wr,onMouseDown:K,onMouseLeave:j,onMouseUp:we,onDragLeave:_,onTouchEnd:We,onTouchMove:at,onTouchStart:Pe,ref:ar,tabIndex:u?-1:X,type:de},Ze,ee,{children:[a,U?oe.jsx(Wd,k({ref:Ie,center:i},Z)):null]}))});process.env.NODE_ENV!=="production"&&(Ga.propTypes={action:Bu,centerRipple:w.bool,children:w.node,classes:w.object,className:w.string,component:Mu,disabled:w.bool,disableRipple:w.bool,disableTouchRipple:w.bool,focusRipple:w.bool,focusVisibleClassName:w.string,href:w.any,LinkComponent:w.elementType,onBlur:w.func,onClick:w.func,onContextMenu:w.func,onDragLeave:w.func,onFocus:w.func,onFocusVisible:w.func,onKeyDown:w.func,onKeyUp:w.func,onMouseDown:w.func,onMouseLeave:w.func,onMouseUp:w.func,onTouchEnd:w.func,onTouchMove:w.func,onTouchStart:w.func,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),tabIndex:w.number,TouchRippleProps:w.object,touchRippleRef:w.oneOfType([w.func,w.shape({current:w.shape({pulsate:w.func.isRequired,start:w.func.isRequired,stop:w.func.isRequired})})]),type:w.oneOfType([w.oneOf(["button","reset","submit"]),w.string])});const Hd=Ga;function Xd(e){return tr("MuiButton",e)}const Jd=xr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),fr=Jd,Ha=N.createContext({});process.env.NODE_ENV!=="production"&&(Ha.displayName="ButtonGroupContext");const Zd=Ha,Qd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],ep=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${Te(t)}`,`size${Te(o)}`,`${i}Size${Te(o)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Te(o)}`],endIcon:["endIcon",`iconSize${Te(o)}`]},c=Yn(s,Xd,a);return k({},a,c)},Xa=e=>k({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),tp=dt(Hd,{shouldForwardProp:e=>Ya(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Te(r.color)}`],t[`size${Te(r.size)}`],t[`${r.variant}Size${Te(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return k({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":k({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:lr(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:lr(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:lr(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${fr.focusVisible}`]:k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${fr.disabled}`]:k({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${lr(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${fr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${fr.disabled}`]:{boxShadow:"none"}}),rp=dt("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Te(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Xa(e))),np=dt("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Te(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Xa(e))),Ja=N.forwardRef(function(t,r){const n=N.useContext(Zd),o=Un(n,t),i=zr({props:o,name:"MuiButton"}),{children:a,color:s="primary",component:c="button",className:u,disabled:l=!1,disableElevation:f=!1,disableFocusRipple:d=!1,endIcon:g,focusVisibleClassName:v,fullWidth:p=!1,size:y="medium",startIcon:E,type:x,variant:S="text"}=i,b=Le(i,Qd),m=k({},i,{color:s,component:c,disabled:l,disableElevation:f,disableFocusRipple:d,fullWidth:p,size:y,type:x,variant:S}),R=ep(m),C=E&&oe.jsx(rp,{className:R.startIcon,ownerState:m,children:E}),V=g&&oe.jsx(np,{className:R.endIcon,ownerState:m,children:g});return oe.jsxs(tp,k({ownerState:m,className:ke(n.className,R.root,u),component:c,disabled:l,focusRipple:!d,focusVisibleClassName:ke(R.focusVisible,v),ref:r,type:x},b,{classes:R,children:[C,a,V]}))});process.env.NODE_ENV!=="production"&&(Ja.propTypes={children:w.node,classes:w.object,className:w.string,color:w.oneOfType([w.oneOf(["inherit","primary","secondary","success","error","info","warning"]),w.string]),component:w.elementType,disabled:w.bool,disableElevation:w.bool,disableFocusRipple:w.bool,disableRipple:w.bool,endIcon:w.node,focusVisibleClassName:w.string,fullWidth:w.bool,href:w.string,size:w.oneOfType([w.oneOf(["small","medium","large"]),w.string]),startIcon:w.node,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),type:w.oneOfType([w.oneOf(["button","reset","submit"]),w.string]),variant:w.oneOfType([w.oneOf(["contained","outlined","text"]),w.string])});const In=Ja;var kn={exports:{}},dn={};/**
|
|
203
|
+
* @license React
|
|
204
|
+
* use-sync-external-store-shim.production.min.js
|
|
205
|
+
*
|
|
206
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
207
|
+
*
|
|
208
|
+
* This source code is licensed under the MIT license found in the
|
|
209
|
+
* LICENSE file in the root directory of this source tree.
|
|
210
|
+
*/var Fi;function op(){if(Fi)return dn;Fi=1;var e=me;function t(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(f,d){var g=d(),v=n({inst:{value:g,getSnapshot:d}}),p=v[0].inst,y=v[1];return i(function(){p.value=g,p.getSnapshot=d,c(p)&&y({inst:p})},[f,g,d]),o(function(){return c(p)&&y({inst:p}),f(function(){c(p)&&y({inst:p})})},[f]),a(g),g}function c(f){var d=f.getSnapshot;f=f.value;try{var g=d();return!r(f,g)}catch{return!0}}function u(f,d){return d()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return dn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,dn}var pn={};/**
|
|
211
|
+
* @license React
|
|
212
|
+
* use-sync-external-store-shim.development.js
|
|
213
|
+
*
|
|
214
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
215
|
+
*
|
|
216
|
+
* This source code is licensed under the MIT license found in the
|
|
217
|
+
* LICENSE file in the root directory of this source tree.
|
|
218
|
+
*/var Wi;function ip(){return Wi||(Wi=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=me,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(S){{for(var b=arguments.length,m=new Array(b>1?b-1:0),R=1;R<b;R++)m[R-1]=arguments[R];n("error",S,m)}}function n(S,b,m){{var R=t.ReactDebugCurrentFrame,C=R.getStackAddendum();C!==""&&(b+="%s",m=m.concat([C]));var V=m.map(function(D){return String(D)});V.unshift("Warning: "+b),Function.prototype.apply.call(console[S],console,V)}}function o(S,b){return S===b&&(S!==0||1/S===1/b)||S!==S&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue,l=!1,f=!1;function d(S,b,m){l||e.startTransition!==void 0&&(l=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var R=b();if(!f){var C=b();i(R,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var V=a({inst:{value:R,getSnapshot:b}}),D=V[0].inst,$=V[1];return c(function(){D.value=R,D.getSnapshot=b,g(D)&&$({inst:D})},[S,R,b]),s(function(){g(D)&&$({inst:D});var z=function(){g(D)&&$({inst:D})};return S(z)},[S]),u(R),R}function g(S){var b=S.getSnapshot,m=S.value;try{var R=b();return!i(m,R)}catch{return!0}}function v(S,b,m){return b()}var p=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!p,E=y?v:d,x=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:E;pn.useSyncExternalStore=x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),pn}process.env.NODE_ENV==="production"?kn.exports=op():kn.exports=ip();var Za=kn.exports,mn={};/**
|
|
219
|
+
* @license React
|
|
220
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
221
|
+
*
|
|
222
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
223
|
+
*
|
|
224
|
+
* This source code is licensed under the MIT license found in the
|
|
225
|
+
* LICENSE file in the root directory of this source tree.
|
|
226
|
+
*/var Bi;function ap(){if(Bi)return mn;Bi=1;var e=me,t=Za;function r(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,c=e.useDebugValue;return mn.useSyncExternalStoreWithSelector=function(u,l,f,d,g){var v=i(null);if(v.current===null){var p={hasValue:!1,value:null};v.current=p}else p=v.current;v=s(function(){function E(R){if(!x){if(x=!0,S=R,R=d(R),g!==void 0&&p.hasValue){var C=p.value;if(g(C,R))return b=C}return b=R}if(C=b,n(S,R))return C;var V=d(R);return g!==void 0&&g(C,V)?C:(S=R,b=V)}var x=!1,S,b,m=f===void 0?null:f;return[function(){return E(l())},m===null?void 0:function(){return E(m())}]},[l,f,d,g]);var y=o(u,v[0],v[1]);return a(function(){p.hasValue=!0,p.value=y},[y]),c(y),y},mn}var hn={};/**
|
|
227
|
+
* @license React
|
|
228
|
+
* use-sync-external-store-shim/with-selector.development.js
|
|
229
|
+
*
|
|
230
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
231
|
+
*
|
|
232
|
+
* This source code is licensed under the MIT license found in the
|
|
233
|
+
* LICENSE file in the root directory of this source tree.
|
|
234
|
+
*/var Ui;function sp(){return Ui||(Ui=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=me,t=Za;function r(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,c=e.useDebugValue;function u(l,f,d,g,v){var p=i(null),y;p.current===null?(y={hasValue:!1,value:null},p.current=y):y=p.current;var E=s(function(){var m=!1,R,C,V=function(X){if(!m){m=!0,R=X;var Z=g(X);if(v!==void 0&&y.hasValue){var Q=y.value;if(v(Q,Z))return C=Q,Q}return C=Z,Z}var de=R,ee=C;if(n(de,X))return ee;var ve=g(X);return v!==void 0&&v(ee,ve)?ee:(R=X,C=ve,ve)},D=d===void 0?null:d,$=function(){return V(f())},z=D===null?void 0:function(){return V(D())};return[$,z]},[f,d,g,v]),x=E[0],S=E[1],b=o(l,x,S);return a(function(){y.hasValue=!0,y.value=b},[b]),c(b),b}hn.useSyncExternalStoreWithSelector=u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),hn}process.env.NODE_ENV==="production"?ap():sp();const Yi=Symbol.for(`react-redux-context-${me.version}`),qi=globalThis;function up(){let e=qi[Yi];return e||(e=me.createContext(null),process.env.NODE_ENV!=="production"&&(e.displayName="ReactRedux"),qi[Yi]=e),e}const er=new Proxy({},new Proxy({},{get(e,t){const r=up();return(n,...o)=>Reflect[t](r,...o)}}));function Qa(e=er){return function(){const r=me.useContext(e);if(process.env.NODE_ENV!=="production"&&!r)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return r}}const cp=Qa();function es(e=er){const t=e===er?cp:Qa(e);return function(){const{store:n}=t();return n}}const lp=es();function fp(e=er){const t=e===er?lp:es(e);return function(){return t().dispatch}}const dp=fp(),ts=()=>dp(),pp=({message:e,onConfirmClick:t,id:r})=>{const n=ts(),o=()=>{n(is(r))};return oe.jsx("div",{style:{maxWidth:"600px"},children:oe.jsxs("div",{style:{padding:"1em 2em 0"},children:[oe.jsx("div",{style:{textAlign:"center",marginBottom:"1em"},children:e}),oe.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[oe.jsx(In,{color:"warning",sx:{minWidth:"100px"},onClick:()=>{t(),o()},children:"да"}),oe.jsx(In,{color:"info",sx:{minWidth:"100px"},onClick:()=>o(),children:"отмена"})]})]})})};var co={},rs={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(rs);var mp=rs.exports,vn={};function hp(e){return tr("MuiSvgIcon",e)}xr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const vp=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],yp=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Te(t)}`,`fontSize${Te(r)}`]};return Yn(o,hp,n)},gp=dt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Te(r.color)}`],t[`fontSize${Te(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,c,u,l,f,d,g,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(c=s.pxToRem)==null?void 0:c.call(s,24))||"1.5rem",large:((u=e.typography)==null||(l=u.pxToRem)==null?void 0:l.call(u,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),lo=N.forwardRef(function(t,r){const n=zr({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:l=!1,titleAccess:f,viewBox:d="0 0 24 24"}=n,g=Le(n,vp),v=N.isValidElement(o)&&o.type==="svg",p=k({},n,{color:a,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:v}),y={};l||(y.viewBox=d);const E=yp(p);return oe.jsxs(gp,k({as:s,className:ke(E.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},y,g,v&&o.props,{ownerState:p,children:[v?o.props.children:o,f?oe.jsx("title",{children:f}):null]}))});process.env.NODE_ENV!=="production"&&(lo.propTypes={children:w.node,classes:w.object,className:w.string,color:w.oneOfType([w.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),w.string]),component:w.elementType,fontSize:w.oneOfType([w.oneOf(["inherit","large","medium","small"]),w.string]),htmlColor:w.string,inheritViewBox:w.bool,shapeRendering:w.string,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),titleAccess:w.string,viewBox:w.string});lo.muiName="SvgIcon";const Ki=lo;function bp(e,t){function r(n,o){return oe.jsx(Ki,k({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ki.muiName,N.memo(N.forwardRef(r))}const Ep={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
235
|
+
`)),xa.configure(e)}},Sp=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Te,createChainedFunction:Uu,createSvgIcon:bp,debounce:Yu,deprecatedPropType:qu,isMuiElement:Ku,ownerDocument:Ea,ownerWindow:Gu,requirePropFactory:Hu,setRef:Sa,unstable_ClassNameGenerator:Ep,unstable_useEnhancedEffect:_a,unstable_useId:Zu,unsupportedProp:Qu,useControlled:ec,useEventCallback:qt,useForkRef:Tn,useIsFocusVisible:wa},Symbol.toStringTag,{value:"Module"})),_p=_s(Sp);var Gi;function wp(){return Gi||(Gi=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=_p}(vn)),vn}var xp=mp;Object.defineProperty(co,"__esModule",{value:!0});var ns=co.default=void 0,Op=xp(wp()),Tp=oe,Rp=(0,Op.default)((0,Tp.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");ns=co.default=Rp;const Hi=({status:e,message:t,onSuccess:r,id:n})=>{const o=ts(),i=()=>{o(is(n))};return oe.jsxs("div",{className:"alert-message",children:[oe.jsxs("div",{className:"alert-message-content",children:[e==="failed"&&oe.jsx("div",{className:"alert-message-img",children:oe.jsx(ns,{fontSize:"inherit",color:"error"})}),oe.jsx("div",{className:"alert-message-text",dangerouslySetInnerHTML:{__html:t||""}})]}),oe.jsx("div",{className:"alert-message-button",children:oe.jsx(In,{id:"alert_submit_button",variant:"contained",color:"secondary",onClick:()=>{i(),e==="success"&&(r==null||r())},children:"Продолжить"})})]})},Cp={popups:[]},os=ma({name:"PopupsSlice",initialState:Cp,reducers:{showNewPopup:(e,t)=>{e.popups=[...e.popups,t.payload]},closePopup:(e,t)=>{e.popups=e.popups.filter((r,n)=>n!==t.payload)},closePopupById:(e,t)=>{e.popups=e.popups.filter((r,n)=>r.id!==t.payload)},showErrorAlert:(e,t)=>{var o,i,a,s,c,u,l,f;const r=Math.floor(Math.random()*100).toString();let n=`<div><div>${t.payload.msg??""}</div>${(s=(a=(i=(o=t.payload)==null?void 0:o.axiosError)==null?void 0:i.response)==null?void 0:a.data)!=null&&s.msg?`<div>${(f=(l=(u=(c=t.payload)==null?void 0:c.axiosError)==null?void 0:u.response)==null?void 0:l.data)==null?void 0:f.msg}</div>`:""}</div>`;e.popups=[...e.popups,{id:r,title:"Оповещение",content:oe.jsx(Hi,{id:r,status:"failed",message:n})}]},showSuccessAlert:(e,t)=>{const r=Math.floor(Math.random()*100).toString();e.popups=[...e.popups,{id:r,title:"Оповещение",content:oe.jsx(Hi,{id:r,status:"success",message:t.payload.msg})}]},showConfirmation:(e,t)=>{const r=Math.floor(Math.random()*100).toString();e.popups=[...e.popups,{id:r,title:"Подтверждение действия",content:oe.jsx(pp,{id:r,message:t.payload.message,onConfirmClick:()=>{var n,o;return(o=(n=t.payload).onConfirm)==null?void 0:o.call(n)}})}]}}}),{showNewPopup:Ip,closePopup:kp,closePopupById:is,showErrorAlert:Mp,showSuccessAlert:Dp,showConfirmation:Vp}=os.actions,Pp=os.reducer,Np={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,cabinetSettings:null};Su("getCabinetSettings",async(e,t)=>{t.dispatch(Xi(!0));const r=t.getState().cabinet.apiAxios;try{const n=await r.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:t.getState().cabinet.phoneNumber,cabinetType:t.getState().cabinet.cabinetType});t.dispatch(Ap(n.data))}catch{}finally{t.dispatch(Xi(!1))}});const as=ma({name:"CabinetSlice",initialState:Np,reducers:{setPhoneNumber:(e,t)=>{e.phoneNumber=t.payload},setCabinetSettings:(e,t)=>{e.cabinetSettings=t.payload},setCabinetIsLoading:(e,t)=>{e.cabinetIsLoading=t.payload},setInitialParameters:(e,t)=>{e.apiAxios=t.payload.axios,e.cabinetType=t.payload.cabinetType,e.phoneNumber=t.payload.phoneNumber}}}),{setPhoneNumber:Lp,setCabinetSettings:Ap,setCabinetIsLoading:Xi,setInitialParameters:zp}=as.actions,$p=as.reducer,jp=pu({middleware:e=>e({serializableCheck:!1}),reducer:{popups:Pp,cabinet:$p}});exports.TestComponent=Os;exports.store=jp;
|