@asaleh37/ui-base 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -157
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +38 -3
- package/src/components/BaseApp.tsx +14 -0
package/dist/index.js
CHANGED
|
@@ -1,158 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react")
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.development.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/function u(){return s||(s=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===O?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case m:return"Profiler";case y:return"StrictMode";case w:return"Suspense";case S:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case f:return"Portal";case b:return(e.displayName||"Context")+".Provider";case g:return(e._context.displayName||"Context")+".Consumer";case v:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case E:return null!==(r=e.displayName||null)?r:t(e.type)||"Memo";case x:r=e._payload,e=e._init;try{return t(e(r))}catch(e){}}return null}function r(e){return""+e}function n(e){try{r(e);var t=!1}catch(e){t=!0}if(t){var n=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===h)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===x)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=t(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,o,i,s,l,p,f){var h,y=r.children;if(void 0!==y)if(i)if(N(y)){for(i=0;i<y.length;i++)c(y[i]);Object.freeze&&Object.freeze(y)}else console.error("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 c(y);if($.call(r,"key")){y=t(e);var m=Object.keys(r).filter((function(e){return"key"!==e}));i=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",A[y+i]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,y,m,y),A[y+i]=!0)}if(y=null,void 0!==o&&(n(o),y=""+o),function(e){if($.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),y=""+r.key),"key"in r)for(var g in o={},r)"key"!==g&&(o[g]=r[g]);else o=r;return y&&function(e,t){function r(){u||(u=!0,console.error("%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://react.dev/link/special-props)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,r,n,o,i,s,c){return r=i.ref,e={$$typeof:d,type:e,key:t,props:i,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,y,l,0,null===(h=_.A)?null:h.getOwner(),o,p,f)}function c(e){"object"==typeof e&&null!==e&&e.$$typeof===d&&e._store&&(e._store.validated=1)}var u,p=e,d=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),b=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),O=Symbol.for("react.client.reference"),_=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,N=Array.isArray,C=console.createTask?console.createTask:function(){return null},T={},j=(p={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(p,i)(),P=C(o(i)),A={};l.Fragment=h,l.jsx=function(e,t,r,n,i){var a=1e4>_.recentlyCreatedOwnerStacks++;return s(e,t,r,!1,0,i,a?Error("react-stack-top-frame"):j,a?C(o(e)):P)},l.jsxs=function(e,t,r,n,i){var a=1e4>_.recentlyCreatedOwnerStacks++;return s(e,t,r,!0,0,i,a?Error("react-stack-top-frame"):j,a?C(o(e)):P)}}()),l}var p,d=(c||(c=1,"production"===process.env.NODE_ENV?i.exports=function(){if(o)return a;o=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in n={},r)"key"!==i&&(n[i]=r[i]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:o,ref:void 0!==r?r:null,props:n}}return a.Fragment=t,a.jsx=r,a.jsxs=r,a}():i.exports=u()),i.exports),f={exports:{}},h={};var y,m,g={};
|
|
11
|
-
/**
|
|
12
|
-
* @license React
|
|
13
|
-
* use-sync-external-store-with-selector.development.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/var b=(m||(m=1,"production"===process.env.NODE_ENV?f.exports=function(){if(p)return h;p=1;var t=e,r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=t.useSyncExternalStore,o=t.useRef,i=t.useEffect,a=t.useMemo,s=t.useDebugValue;return h.useSyncExternalStoreWithSelector=function(e,t,c,l,u){var p=o(null);if(null===p.current){var d={hasValue:!1,value:null};p.current=d}else d=p.current;p=a((function(){function e(e){if(!i){if(i=!0,n=e,e=l(e),void 0!==u&&d.hasValue){var t=d.value;if(u(t,e))return o=t}return o=e}if(t=o,r(n,e))return t;var a=l(e);return void 0!==u&&u(t,a)?(n=e,t):(n=e,o=a)}var n,o,i=!1,a=void 0===c?null:c;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]}),[t,c,l,u]);var f=n(e,p[0],p[1]);return i((function(){d.hasValue=!0,d.value=f}),[f]),s(f),f},h}():f.exports=(y||(y=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=e,r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=t.useSyncExternalStore,o=t.useRef,i=t.useEffect,a=t.useMemo,s=t.useDebugValue;g.useSyncExternalStoreWithSelector=function(e,t,c,l,u){var p=o(null);if(null===p.current){var d={hasValue:!1,value:null};p.current=d}else d=p.current;p=a((function(){function e(e){if(!i){if(i=!0,n=e,e=l(e),void 0!==u&&d.hasValue){var t=d.value;if(u(t,e))return o=t}return o=e}if(t=o,r(n,e))return t;var a=l(e);return void 0!==u&&u(t,a)?(n=e,t):(n=e,o=a)}var n,o,i=!1,a=void 0===c?null:c;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]}),[t,c,l,u]);var f=n(e,p[0],p[1]);return i((function(){d.hasValue=!0,d.value=f}),[f]),s(f),f},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),g)),f.exports);var v={notify(){},get:()=>[]};var w=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),S=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),E=(()=>w||S?r.useLayoutEffect:r.useEffect)(),x=Symbol.for("react-redux-context"),k="undefined"!=typeof globalThis?globalThis:{};function O(){if(!r.createContext)return{};const e=k[x]??=new Map;let t=e.get(r.createContext);return t||(t=r.createContext(null),"production"!==process.env.NODE_ENV&&(t.displayName="ReactRedux"),e.set(r.createContext,t)),t}var _=O();var $=function(e){const{children:t,context:n,serverState:o,store:i}=e,a=r.useMemo((()=>{const t=function(e){let t,r=v,n=0,o=!1;function i(){c.onStateChange&&c.onStateChange()}function a(){n++,t||(t=e.subscribe(i),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let r=e;for(;r;)t.push(r),r=r.next;return t},subscribe(r){let n=!0;const o=t={callback:r,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){n&&null!==e&&(n=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){n--,t&&0===n&&(t(),t=void 0,r.clear(),r=v)}const c={addNestedSub:function(e){a();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,a())},tryUnsubscribe:function(){o&&(o=!1,s())},getListeners:()=>r};return c}(i),r={store:i,subscription:t,getServerState:o?()=>o:void 0};if("production"===process.env.NODE_ENV)return r;{const{identityFunctionCheck:t="once",stabilityCheck:n="once"}=e;return Object.assign(r,{stabilityCheck:n,identityFunctionCheck:t})}}),[i,o]),s=r.useMemo((()=>i.getState()),[i]);E((()=>{const{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,s]);const c=n||_;return r.createElement(c.Provider,{value:a},t)};function N(e=_){return function(){const t=r.useContext(e);if("production"!==process.env.NODE_ENV&&!t)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return t}}var C=N();function T(e=_){const t=e===_?C:N(e),r=()=>{const{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var j=T();function P(e=_){const t=e===_?j:T(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var A=P(),D=(e,t)=>e===t;function M(e=_){const t=e===_?C:N(e),n=(e,n={})=>{const{equalityFn:o=D}="function"==typeof n?{equalityFn:n}:n;if("production"!==process.env.NODE_ENV){if(!e)throw new Error("You must pass a selector to useSelector");if("function"!=typeof e)throw new Error("You must pass a function as a selector to useSelector");if("function"!=typeof o)throw new Error("You must pass a function as an equality function to useSelector")}const i=t(),{store:a,subscription:s,getServerState:c}=i,l=r.useRef(!0),u=r.useCallback({[e.name](t){const r=e(t);if("production"!==process.env.NODE_ENV){const{devModeChecks:a={}}="function"==typeof n?{}:n,{identityFunctionCheck:s,stabilityCheck:c}=i,{identityFunctionCheck:u,stabilityCheck:p}={stabilityCheck:c,identityFunctionCheck:s,...a};if("always"===p||"once"===p&&l.current){const n=e(t);if(!o(r,n)){let o;try{throw new Error}catch(e){({stack:o}=e)}console.warn("Selector "+(e.name||"unknown")+" returned a different result when called with the same parameters. This can lead to unnecessary rerenders.\nSelectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization",{state:t,selected:r,selected2:n,stack:o})}}if(("always"===u||"once"===u&&l.current)&&r===t){let t;try{throw new Error}catch(e){({stack:t}=e)}console.warn("Selector "+(e.name||"unknown")+" returned the root state when called. This can lead to unnecessary rerenders.\nSelectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.",{stack:t})}l.current&&(l.current=!1)}return r}}[e.name],[e]),p=b.useSyncExternalStoreWithSelector(s.addNestedSub,a.getState,c||a.getState,u,o);return r.useDebugValue(p),p};return Object.assign(n,{withTypes:()=>n}),n}var R=M();function I(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 V=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),z=()=>Math.random().toString(36).substring(7).split("").join("."),B={INIT:`@@redux/INIT${z()}`,REPLACE:`@@redux/REPLACE${z()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${z()}`};function F(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function L(e){if(void 0===e)return"undefined";if(null===e)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";const r=function(e){return"function"==typeof e.constructor?e.constructor.name:null}(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function W(e){let t=typeof e;return"production"!==process.env.NODE_ENV&&(t=L(e)),t}function U(e,t,r){if("function"!=typeof e)throw new Error("production"===process.env.NODE_ENV?I(2):`Expected the root reducer to be a function. Instead, received: '${W(e)}'`);if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("production"===process.env.NODE_ENV?I(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("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("production"===process.env.NODE_ENV?I(1):`Expected the enhancer to be a function. Instead, received: '${W(r)}'`);return r(U)(e,t)}let n=e,o=t,i=new Map,a=i,s=0,c=!1;function l(){a===i&&(a=new Map,i.forEach(((e,t)=>{a.set(t,e)})))}function u(){if(c)throw new Error("production"===process.env.NODE_ENV?I(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 o}function p(e){if("function"!=typeof e)throw new Error("production"===process.env.NODE_ENV?I(4):`Expected the listener to be a function. Instead, received: '${W(e)}'`);if(c)throw new Error("production"===process.env.NODE_ENV?I(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.");let t=!0;l();const r=s++;return a.set(r,e),function(){if(t){if(c)throw new Error("production"===process.env.NODE_ENV?I(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.");t=!1,l(),a.delete(r),i=null}}}function d(e){if(!F(e))throw new Error("production"===process.env.NODE_ENV?I(7):`Actions must be plain objects. Instead, the actual type was: '${W(e)}'. 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(void 0===e.type)throw new Error("production"===process.env.NODE_ENV?I(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if("string"!=typeof e.type)throw new Error("production"===process.env.NODE_ENV?I(17):`Action "type" property must be a string. Instead, the actual type was: '${W(e.type)}'. Value was: '${e.type}' (stringified)`);if(c)throw new Error("production"===process.env.NODE_ENV?I(9):"Reducers may not dispatch actions.");try{c=!0,o=n(o,e)}finally{c=!1}return(i=a).forEach((e=>{e()})),e}d({type:B.INIT});return{dispatch:d,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error("production"===process.env.NODE_ENV?I(10):`Expected the nextReducer to be a function. Instead, received: '${W(e)}`);n=e,d({type:B.REPLACE})},[V]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error("production"===process.env.NODE_ENV?I(11):`Expected the observer to be an object. Instead, received: '${W(t)}'`);function r(){const e=t;e.next&&e.next(u())}r();return{unsubscribe:e(r)}},[V](){return this}}}}}function K(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function H(e){const t=Object.keys(e),r={};for(let n=0;n<t.length;n++){const o=t[n];"production"!==process.env.NODE_ENV&&void 0===e[o]&&K(`No reducer provided for key "${o}"`),"function"==typeof e[o]&&(r[o]=e[o])}const n=Object.keys(r);let o,i;"production"!==process.env.NODE_ENV&&(o={});try{!function(e){Object.keys(e).forEach((t=>{const r=e[t];if(void 0===r(void 0,{type:B.INIT}))throw new Error("production"===process.env.NODE_ENV?I(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(void 0===r(void 0,{type:B.PROBE_UNKNOWN_ACTION()}))throw new Error("production"===process.env.NODE_ENV?I(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${B.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.`)}))}(r)}catch(e){i=e}return function(e={},t){if(i)throw i;if("production"!==process.env.NODE_ENV){const n=function(e,t,r,n){const o=Object.keys(t),i=r&&r.type===B.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!F(e))return`The ${i} has unexpected type of "${W(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const a=Object.keys(e).filter((e=>!t.hasOwnProperty(e)&&!n[e]));return a.forEach((e=>{n[e]=!0})),r&&r.type===B.REPLACE?void 0:a.length>0?`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.`:void 0}(e,r,t,o);n&&K(n)}let a=!1;const s={};for(let o=0;o<n.length;o++){const i=n[o],c=r[i],l=e[i],u=c(l,t);if(void 0===u){const e=t&&t.type;throw new Error("production"===process.env.NODE_ENV?I(14):`When called with an action of type ${e?`"${String(e)}"`:"(unknown type)"}, the slice reducer for key "${i}" 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.`)}s[i]=u,a=a||u!==l}return a=a||n.length!==Object.keys(e).length,a?s:e}}function G(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...r)=>e(t(...r))))}function q(e){return F(e)&&"type"in e&&"string"==typeof e.type}var Y=Symbol.for("immer-nothing"),X=Symbol.for("immer-draftable"),J=Symbol.for("immer-state"),Q="production"!==process.env.NODE_ENV?[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.`},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}'`},"This object has been frozen and should not be mutated",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},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function Z(e,...t){if("production"!==process.env.NODE_ENV){const r=Q[e],n="function"==typeof r?r.apply(null,t):r;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ee=Object.getPrototypeOf;function te(e){return!!e&&!!e[J]}function re(e){return!!e&&(oe(e)||Array.isArray(e)||!!e[X]||!!e.constructor?.[X]||le(e)||ue(e))}var ne=Object.prototype.constructor.toString();function oe(e){if(!e||"object"!=typeof e)return!1;const t=ee(e);if(null===t)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===ne}function ie(e,t){0===ae(e)?Reflect.ownKeys(e).forEach((r=>{t(r,e[r],e)})):e.forEach(((r,n)=>t(n,r,e)))}function ae(e){const t=e[J];return t?t.type_:Array.isArray(e)?1:le(e)?2:ue(e)?3:0}function se(e,t){return 2===ae(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ce(e,t,r){const n=ae(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function le(e){return e instanceof Map}function ue(e){return e instanceof Set}function pe(e){return e.copy_||e.base_}function de(e,t){if(le(e))return new Map(e);if(ue(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=oe(e);if(!0===t||"class_only"===t&&!r){const t=Object.getOwnPropertyDescriptors(e);delete t[J];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){const o=r[n],i=t[o];!1===i.writable&&(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(ee(e),t)}{const t=ee(e);if(null!==t&&r)return{...e};const n=Object.create(t);return Object.assign(n,e)}}function fe(e,t=!1){return ye(e)||te(e)||!re(e)||(ae(e)>1&&(e.set=e.add=e.clear=e.delete=he),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>fe(t,!0)))),e}function he(){Z(2)}function ye(e){return Object.isFrozen(e)}var me,ge={};function be(e){const t=ge[e];return t||Z(0,e),t}function ve(){return me}function we(e,t){t&&(be("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Se(e){Ee(e),e.drafts_.forEach(ke),e.drafts_=null}function Ee(e){e===me&&(me=e.parent_)}function xe(e){return me={drafts_:[],parent_:me,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ke(e){const t=e[J];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Oe(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return void 0!==e&&e!==r?(r[J].modified_&&(Se(t),Z(4)),re(e)&&(e=_e(t,e),t.parent_||Ne(t,e)),t.patches_&&be("Patches").generateReplacementPatches_(r[J].base_,e,t.patches_,t.inversePatches_)):e=_e(t,r,[]),Se(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Y?e:void 0}function _e(e,t,r){if(ye(t))return t;const n=t[J];if(!n)return ie(t,((o,i)=>$e(e,n,t,o,i,r))),t;if(n.scope_!==e)return t;if(!n.modified_)return Ne(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const t=n.copy_;let o=t,i=!1;3===n.type_&&(o=new Set(t),t.clear(),i=!0),ie(o,((o,a)=>$e(e,n,t,o,a,r,i))),Ne(e,t,!1),r&&e.patches_&&be("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function $e(e,t,r,n,o,i,a){if("production"!==process.env.NODE_ENV&&o===r&&Z(5),te(o)){const a=_e(e,o,i&&t&&3!==t.type_&&!se(t.assigned_,n)?i.concat(n):void 0);if(ce(r,n,a),!te(a))return;e.canAutoFreeze_=!1}else a&&r.add(o);if(re(o)&&!ye(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_e(e,o),t&&t.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||Ne(e,o)}}function Ne(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&fe(t,r)}var Ce={get(e,t){if(t===J)return e;const r=pe(e);if(!se(r,t))return function(e,t,r){const n=Pe(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);const n=r[t];return e.finalized_||!re(n)?n:n===je(e.base_,t)?(De(e),e.copy_[t]=Me(n,e)):n},has:(e,t)=>t in pe(e),ownKeys:e=>Reflect.ownKeys(pe(e)),set(e,t,r){const n=Pe(pe(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=je(pe(e),t),a=n?.[J];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(((o=r)===(i=n)?0!==o||1/o==1/i:o!=o&&i!=i)&&(void 0!==r||se(e.base_,t)))return!0;De(e),Ae(e)}var o,i;return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==je(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,De(e),Ae(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=pe(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){Z(11)},getPrototypeOf:e=>ee(e.base_),setPrototypeOf(){Z(12)}},Te={};function je(e,t){const r=e[J];return(r?pe(r):e)[t]}function Pe(e,t){if(!(t in e))return;let r=ee(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=ee(r)}}function Ae(e){e.modified_||(e.modified_=!0,e.parent_&&Ae(e.parent_))}function De(e){e.copy_||(e.copy_=de(e.base_,e.scope_.immer_.useStrictShallowCopy_))}ie(Ce,((e,t)=>{Te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Te.deleteProperty=function(e,t){return"production"!==process.env.NODE_ENV&&isNaN(parseInt(t))&&Z(13),Te.set.call(this,e,t,void 0)},Te.set=function(e,t,r){return"production"!==process.env.NODE_ENV&&"length"!==t&&isNaN(parseInt(t))&&Z(14),Ce.set.call(this,e[0],t,r,e[0])};function Me(e,t){const r=le(e)?be("MapSet").proxyMap_(e,t):ue(e)?be("MapSet").proxySet_(e,t):function(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:ve(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=Ce;r&&(o=[n],i=Te);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,s}(e,t);return(t?t.scope_:ve()).drafts_.push(r),r}function Re(e){if(!re(e)||ye(e))return e;const t=e[J];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=de(e,t.scope_.immer_.useStrictShallowCopy_)}else r=de(e,!0);return ie(r,((e,t)=>{ce(r,e,Re(t))})),t&&(t.finalized_=!1),r}var Ie=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{if("function"==typeof e&&"function"!=typeof t){const r=t;t=e;const n=this;return function(e=r,...o){return n.produce(e,(e=>t.call(this,e,...o)))}}let n;if("function"!=typeof t&&Z(6),void 0!==r&&"function"!=typeof r&&Z(7),re(e)){const o=xe(this),i=Me(e,void 0);let a=!0;try{n=t(i),a=!1}finally{a?Se(o):Ee(o)}return we(o,r),Oe(n,o)}if(!e||"object"!=typeof e){if(n=t(e),void 0===n&&(n=e),n===Y&&(n=void 0),this.autoFreeze_&&fe(n,!0),r){const t=[],o=[];be("Patches").generateReplacementPatches_(e,n,t,o),r(t,o)}return n}Z(1,e)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...r)=>this.produceWithPatches(t,(t=>e(t,...r)));let r,n;return[this.produce(e,t,((e,t)=>{r=e,n=t})),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){re(e)||Z(8),te(e)&&(e=function(e){te(e)||Z(10,e);return Re(e)}(e));const t=xe(this),r=Me(e,void 0);return r[J].isManual_=!0,Ee(t),r}finishDraft(e,t){const r=e&&e[J];r&&r.isManual_||Z(9);const{scope_:n}=r;return we(n,t),Oe(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));const n=be("Patches").applyPatches_;return te(e)?n(e,t):this.produce(e,(e=>n(e,t)))}},Ve=Ie.produce;function ze(e){return({dispatch:t,getState:r})=>n=>o=>"function"==typeof o?o(t,r,e):n(o)}Ie.produceWithPatches.bind(Ie),Ie.setAutoFreeze.bind(Ie),Ie.setUseStrictShallowCopy.bind(Ie),Ie.applyPatches.bind(Ie),Ie.createDraft.bind(Ie),Ie.finishDraft.bind(Ie);var Be=ze(),Fe=ze,Le="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?G:G.apply(null,arguments)};function We(e,t){function r(...r){if(t){let n=t(...r);if(!n)throw new Error("production"===process.env.NODE_ENV?dt(0):"prepareAction did not return an object");return{type:e,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:e,payload:r[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>q(t)&&t.type===e,r}function Ue(e){return"function"==typeof e&&"type"in e&&((t=e)&&"function"==typeof t.match);var t}function Ke(e,t){let r=0;return{measureTime(e){const t=Date.now();try{return e()}finally{const e=Date.now();r+=e-t}},warnIfExceeded(){r>e&&console.warn(`${t} took ${r}ms, which is more than the warning threshold of ${e}ms. \nIf 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.\nIt is disabled in production builds, so you don't need to worry about that.`)}}}var He=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function Ge(e){return re(e)?Ve(e,(()=>{})):e}function qe(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function Ye(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function Xe(e,t,r){const n=Je(e,t,r);return{detectMutations:()=>Qe(e,t,n,r)}}function Je(e,t=[],r,n="",o=new Set){const i={value:r};if(!e(r)&&!o.has(r)){o.add(r),i.children={};for(const o in r){const a=n?n+"."+o:o;t.length&&-1!==t.indexOf(a)||(i.children[o]=Je(e,t,r[o],a))}}return i}function Qe(e,t=[],r,n,o=!1,i=""){const 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};const c={};for(let e in r.children)c[e]=!0;for(let e in n)c[e]=!0;const l=t.length>0;for(let o in c){const a=i?i+"."+o:o;if(l){if(t.some((e=>e instanceof RegExp?e.test(a):a===e)))continue}const c=Qe(e,t,r.children[o],n[o],s,a);if(c.wasMutated)return c}return{wasMutated:!1}}function Ze(e){const t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||F(e)}function et(e,t="",r=Ze,n,o=[],i){let a;if(!r(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e)return!1;if(i?.has(e))return!1;const s=null!=n?n(e):Object.entries(e),c=o.length>0;for(const[e,l]of s){const s=t?t+"."+e:e;if(c){if(o.some((e=>e instanceof RegExp?e.test(s):s===e)))continue}if(!r(l))return{keyPath:s,value:l};if("object"==typeof l&&(a=et(l,s,r,n,o,i),a))return a}return i&&tt(e)&&i.add(e),!1}function tt(e){if(!Object.isFrozen(e))return!1;for(const t of Object.values(e))if("object"==typeof t&&null!==t&&!tt(t))return!1;return!0}function rt(e){return"boolean"==typeof e}var nt=()=>function(e){const{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:o=!0}=e??{};let i=new He;if(t&&(rt(t)?i.push(Be):i.push(Fe(t.extraArgument))),"production"!==process.env.NODE_ENV){if(r){let e={};rt(r)||(e=r),i.unshift(function(e={}){if("production"===process.env.NODE_ENV)return()=>e=>t=>e(t);{let t=function(e,t,n,o){return JSON.stringify(e,r(t,o),n)},r=function(e,t){let r=[],n=[];return t||(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).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 null==e?i:e.call(this,o,i)}},{isImmutable:n=Ye,ignoredPaths:o,warnAfter:i=32}=e;const a=Xe.bind(null,n,o);return({getState:e})=>{let r,n=e(),o=a(n);return s=>c=>{const l=Ke(i,"ImmutableStateInvariantMiddleware");l.measureTime((()=>{if(n=e(),r=o.detectMutations(),o=a(n),r.wasMutated)throw new Error("production"===process.env.NODE_ENV?dt(19):`A state mutation was detected between dispatches, in the path '${r.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}));const u=s(c);return l.measureTime((()=>{if(n=e(),r=o.detectMutations(),o=a(n),r.wasMutated)throw new Error("production"===process.env.NODE_ENV?dt(20):`A state mutation was detected inside a dispatch, in the path: ${r.path||""}. Take a look at the reducer(s) handling the action ${t(c)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)})),l.warnIfExceeded(),u}}}}(e))}if(n){let e={};rt(n)||(e=n),i.push(function(e={}){if("production"===process.env.NODE_ENV)return()=>e=>t=>e(t);{const{isSerializable:t=Ze,getEntries:r,ignoredActions:n=[],ignoredActionPaths:o=["meta.arg","meta.baseQueryMeta"],ignoredPaths:i=[],warnAfter:a=32,ignoreState:s=!1,ignoreActions:c=!1,disableCache:l=!1}=e,u=!l&&WeakSet?new WeakSet:void 0;return e=>l=>p=>{if(!q(p))return l(p);const d=l(p),f=Ke(a,"SerializableStateInvariantMiddleware");return c||n.length&&-1!==n.indexOf(p.type)||f.measureTime((()=>{const e=et(p,"",t,r,o,u);if(e){const{keyPath:t,value:r}=e;console.error(`A non-serializable value was detected in an action, in the path: \`${t}\`. Value:`,r,"\nTake a look at the logic that dispatched this action: ",p,"\n(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)","\n(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)")}})),s||(f.measureTime((()=>{const n=et(e.getState(),"",t,r,i,u);if(n){const{keyPath:e,value:t}=n;console.error(`A non-serializable value was detected in the state, in the path: \`${e}\`. Value:`,t,`\nTake a look at the reducer(s) handling this action type: ${p.type}.\n(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}})),f.warnIfExceeded()),d}}}(e))}if(o){let e={};rt(o)||(e=o),i.unshift(function(e={}){if("production"===process.env.NODE_ENV)return()=>e=>t=>e(t);const{isActionCreator:t=Ue}=e;return()=>e=>r=>(t(r)&&console.warn(function(e){const t=e?`${e}`.split("/"):[],r=t[t.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched. \nMake sure you're calling the action creator before dispatching, i.e. \`dispatch(${r}())\` instead of \`dispatch(${r})\`. This is necessary even if the action has no payload.`}(r.type)),e(r))}(e))}}return i},ot=e=>t=>{setTimeout(t,e)},it=e=>function(t){const{autoBatch:r=!0}=t??{};let n=new He(e);return r&&n.push(((e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let o=!0,i=!1,a=!1;const s=new Set,c="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:ot(10):"callback"===e.type?e.queueNotification:ot(e.timeout),l=()=>{a=!1,i&&(i=!1,s.forEach((e=>e())))};return Object.assign({},n,{subscribe(e){const t=n.subscribe((()=>o&&e()));return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return o=!e?.meta?.RTK_autoBatch,i=!o,i&&(a||(a=!0,c(l))),n.dispatch(e)}finally{o=!0}}})})("object"==typeof r?r:void 0)),n};function at(e){const t={},r=[];let n;const o={addCase(e,i){if("production"!==process.env.NODE_ENV){if(r.length>0)throw new Error("production"===process.env.NODE_ENV?dt(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("production"===process.env.NODE_ENV?dt(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const a="string"==typeof e?e:e.type;if(!a)throw new Error("production"===process.env.NODE_ENV?dt(28):"`builder.addCase` cannot be called with an empty action type");if(a in t)throw new Error("production"===process.env.NODE_ENV?dt(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${a}'`);return t[a]=i,o},addMatcher(e,t){if("production"!==process.env.NODE_ENV&&n)throw new Error("production"===process.env.NODE_ENV?dt(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:e,reducer:t}),o},addDefaultCase(e){if("production"!==process.env.NODE_ENV&&n)throw new Error("production"===process.env.NODE_ENV?dt(31):"`builder.addDefaultCase` can only be called once");return n=e,o}};return e(o),[t,r,n]}var st=Symbol.for("rtk-slice-createasyncthunk");function ct(e,t){return`${e}/${t}`}function lt({creators:e}={}){const t=e?.asyncThunk?.[st];return function(e){const{name:r,reducerPath:n=r}=e;if(!r)throw new Error("production"===process.env.NODE_ENV?dt(11):"`name` is a required option for createSlice");"undefined"!=typeof process&&"development"===process.env.NODE_ENV&&void 0===e.initialState&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){const r="string"==typeof e?e:e.type;if(!r)throw new Error("production"===process.env.NODE_ENV?dt(12):"`context.addCase` cannot be called with an empty action type");if(r in a.sliceCaseReducersByType)throw new Error("production"===process.env.NODE_ENV?dt(13):"`context.addCase` cannot be called with two reducers for the same action type: "+r);return a.sliceCaseReducersByType[r]=t,s},addMatcher:(e,t)=>(a.sliceMatchers.push({matcher:e,reducer:t}),s),exposeAction:(e,t)=>(a.actionCreators[e]=t,s),exposeCaseReducer:(e,t)=>(a.sliceCaseReducersByName[e]=t,s)};function c(){if("production"!==process.env.NODE_ENV&&"object"==typeof e.extraReducers)throw new Error("production"===process.env.NODE_ENV?dt(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[t={},r=[],n]="function"==typeof e.extraReducers?at(e.extraReducers):[e.extraReducers],o={...t,...a.sliceCaseReducersByType};return function(e,t){if("production"!==process.env.NODE_ENV&&"object"==typeof t)throw new Error("production"===process.env.NODE_ENV?dt(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let r,[n,o,i]=at(t);if("function"==typeof e)r=()=>Ge(e());else{const t=Ge(e);r=()=>t}function a(e=r(),t){let a=[n[t.type],...o.filter((({matcher:e})=>e(t))).map((({reducer:e})=>e))];return 0===a.filter((e=>!!e)).length&&(a=[i]),a.reduce(((e,r)=>{if(r){if(te(e)){const n=r(e,t);return void 0===n?e:n}if(re(e))return Ve(e,(e=>r(e,t)));{const n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e}),e)}return a.getInitialState=r,a}(e.initialState,(e=>{for(let t in o)e.addCase(t,o[t]);for(let t of a.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)}))}i.forEach((n=>{const i=o[n],a={reducerName:n,type:ct(r,n),createNotation:"function"==typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(i)?function({type:e,reducerName:t,createNotation:r},n,o){let i,a;if("reducer"in n){if(r&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(n))throw new Error("production"===process.env.NODE_ENV?dt(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");i=n.reducer,a=n.prepare}else i=n;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?We(e,a):We(e))}(a,i,s):function({type:e,reducerName:t},r,n,o){if(!o)throw new Error("production"===process.env.NODE_ENV?dt(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:i,fulfilled:a,pending:s,rejected:c,settled:l,options:u}=r,p=o(e,i,u);n.exposeAction(t,p),a&&n.addCase(p.fulfilled,a);s&&n.addCase(p.pending,s);c&&n.addCase(p.rejected,c);l&&n.addMatcher(p.settled,l);n.exposeCaseReducer(t,{fulfilled:a||pt,pending:s||pt,rejected:c||pt,settled:l||pt})}(a,i,s,t)}));const l=e=>e,u=new Map,p=new WeakMap;let d;function f(e,t){return d||(d=c()),d(e,t)}function h(){return d||(d=c()),d.getInitialState()}function y(t,r=!1){function n(e){let o=e[t];if(void 0===o)if(r)o=qe(p,n,h);else if("production"!==process.env.NODE_ENV)throw new Error("production"===process.env.NODE_ENV?dt(15):"selectSlice returned undefined for an uninjected slice reducer");return o}function o(t=l){const n=qe(u,r,(()=>new WeakMap));return qe(n,t,(()=>{const n={};for(const[o,i]of Object.entries(e.selectors??{}))n[o]=ut(i,t,(()=>qe(p,t,h)),r);return n}))}return{reducerPath:t,getSelectors:o,get selectors(){return o(n)},selectSlice:n}}const m={name:r,reducer:f,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:h,...y(n),injectInto(e,{reducerPath:t,...r}={}){const o=t??n;return e.inject({reducerPath:o,reducer:f},r),{...m,...y(o,!0)}}};return m}}function ut(e,t,r,n){function o(o,...i){let a=t(o);if(void 0===a)if(n)a=r();else if("production"!==process.env.NODE_ENV)throw new Error("production"===process.env.NODE_ENV?dt(16):"selectState returned undefined for an uninjected slice reducer");return e(a,...i)}return o.unwrapped=e,o}function pt(){}function dt(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var ft=lt()({name:"counter",initialState:{value:0},reducers:{increament:function(e){e.value=e.value+1},decreament:function(e){e.value=e.value-1}}}),ht=ft.actions,yt=function(e){const t=nt(),{reducer:r,middleware:n,devTools:o=!0,duplicateMiddlewareCheck:i=!0,preloadedState:a,enhancers:s}=e||{};let c,l;if("function"==typeof r)c=r;else{if(!F(r))throw new Error("production"===process.env.NODE_ENV?dt(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");c=H(r)}if("production"!==process.env.NODE_ENV&&n&&"function"!=typeof n)throw new Error("production"===process.env.NODE_ENV?dt(2):"`middleware` field must be a callback");if("function"==typeof n){if(l=n(t),"production"!==process.env.NODE_ENV&&!Array.isArray(l))throw new Error("production"===process.env.NODE_ENV?dt(3):"when using a middleware builder function, an array of middleware must be returned")}else l=t();if("production"!==process.env.NODE_ENV&&l.some((e=>"function"!=typeof e)))throw new Error("production"===process.env.NODE_ENV?dt(4):"each middleware provided to configureStore must be a function");if("production"!==process.env.NODE_ENV&&i){let e=new Set;l.forEach((t=>{if(e.has(t))throw new Error("production"===process.env.NODE_ENV?dt(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");e.add(t)}))}let u=G;o&&(u=Le({trace:"production"!==process.env.NODE_ENV,..."object"==typeof o&&o}));const p=function(...e){return t=>(r,n)=>{const o=t(r,n);let i=()=>{throw new Error("production"===process.env.NODE_ENV?I(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map((e=>e(a)));return i=G(...s)(o.dispatch),{...o,dispatch:i}}}(...l),d=it(p);if("production"!==process.env.NODE_ENV&&s&&"function"!=typeof s)throw new Error("production"===process.env.NODE_ENV?dt(5):"`enhancers` field must be a callback");let f="function"==typeof s?s(d):d();if("production"!==process.env.NODE_ENV&&!Array.isArray(f))throw new Error("production"===process.env.NODE_ENV?dt(6):"`enhancers` callback must return an array");if("production"!==process.env.NODE_ENV&&f.some((e=>"function"!=typeof e)))throw new Error("production"===process.env.NODE_ENV?dt(7):"each enhancer provided to configureStore must be a function");return"production"!==process.env.NODE_ENV&&l.length&&!f.includes(p)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`"),U(c,a,u(...f))}({reducer:{counter:ft.reducer}});const mt={black:"#000",white:"#fff"},gt="#e57373",bt="#ef5350",vt="#f44336",wt="#d32f2f",St="#c62828",Et="#f3e5f5",xt="#ce93d8",kt="#ba68c8",Ot="#ab47bc",_t="#9c27b0",$t="#7b1fa2",Nt="#e3f2fd",Ct="#90caf9",Tt="#42a5f5",jt="#1976d2",Pt="#1565c0",At="#4fc3f7",Dt="#29b6f6",Mt="#03a9f4",Rt="#0288d1",It="#01579b",Vt="#81c784",zt="#66bb6a",Bt="#4caf50",Ft="#388e3c",Lt="#2e7d32",Wt="#1b5e20",Ut="#ffb74d",Kt="#ffa726",Ht="#ff9800",Gt="#f57c00",qt="#e65100",Yt={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"};function Xt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach((e=>r.searchParams.append("args[]",e))),`Minified MUI error #${e}; visit ${r} for the full message.`}function Jt(){return Jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jt.apply(null,arguments)}var Qt=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(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]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Zt="-ms-",er="-moz-",tr="-webkit-",rr="comm",nr="rule",or="decl",ir="@keyframes",ar=Math.abs,sr=String.fromCharCode,cr=Object.assign;function lr(e){return e.trim()}function ur(e,t,r){return e.replace(t,r)}function pr(e,t){return e.indexOf(t)}function dr(e,t){return 0|e.charCodeAt(t)}function fr(e,t,r){return e.slice(t,r)}function hr(e){return e.length}function yr(e){return e.length}function mr(e,t){return t.push(e),e}var gr=1,br=1,vr=0,wr=0,Sr=0,Er="";function xr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:gr,column:br,length:a,return:""}}function kr(e,t){return cr(xr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Or(){return Sr=wr>0?dr(Er,--wr):0,br--,10===Sr&&(br=1,gr--),Sr}function _r(){return Sr=wr<vr?dr(Er,wr++):0,br++,10===Sr&&(br=1,gr++),Sr}function $r(){return dr(Er,wr)}function Nr(){return wr}function Cr(e,t){return fr(Er,e,t)}function Tr(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 jr(e){return gr=br=1,vr=hr(Er=e),wr=0,[]}function Pr(e){return Er="",e}function Ar(e){return lr(Cr(wr-1,Rr(91===e?e+2:40===e?e+1:e)))}function Dr(e){for(;(Sr=$r())&&Sr<33;)_r();return Tr(e)>2||Tr(Sr)>3?"":" "}function Mr(e,t){for(;--t&&_r()&&!(Sr<48||Sr>102||Sr>57&&Sr<65||Sr>70&&Sr<97););return Cr(e,Nr()+(t<6&&32==$r()&&32==_r()))}function Rr(e){for(;_r();)switch(Sr){case e:return wr;case 34:case 39:34!==e&&39!==e&&Rr(Sr);break;case 40:41===e&&Rr(e);break;case 92:_r()}return wr}function Ir(e,t){for(;_r()&&e+Sr!==57&&(e+Sr!==84||47!==$r()););return"/*"+Cr(t,wr-1)+"*"+sr(47===e?e:_r())}function Vr(e){for(;!Tr($r());)_r();return Cr(e,wr)}function zr(e){return Pr(Br("",null,null,null,[""],e=jr(e),0,[0],e))}function Br(e,t,r,n,o,i,a,s,c){for(var l=0,u=0,p=a,d=0,f=0,h=0,y=1,m=1,g=1,b=0,v="",w=o,S=i,E=n,x=v;m;)switch(h=b,b=_r()){case 40:if(108!=h&&58==dr(x,p-1)){-1!=pr(x+=ur(Ar(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:x+=Ar(b);break;case 9:case 10:case 13:case 32:x+=Dr(h);break;case 92:x+=Mr(Nr()-1,7);continue;case 47:switch($r()){case 42:case 47:mr(Lr(Ir(_r(),Nr()),t,r),c);break;default:x+="/"}break;case 123*y:s[l++]=hr(x)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==g&&(x=ur(x,/\f/g,"")),f>0&&hr(x)-p&&mr(f>32?Wr(x+";",n,r,p-1):Wr(ur(x," ","")+";",n,r,p-2),c);break;case 59:x+=";";default:if(mr(E=Fr(x,t,r,l,u,o,s,v,w=[],S=[],p),i),123===b)if(0===u)Br(x,t,E,E,w,i,p,s,S);else switch(99===d&&110===dr(x,3)?100:d){case 100:case 108:case 109:case 115:Br(e,E,E,n&&mr(Fr(e,E,E,0,0,o,s,v,o,w=[],p),S),o,S,p,s,n?w:S);break;default:Br(x,E,E,E,[""],S,0,s,S)}}l=u=f=0,y=g=1,v=x="",p=a;break;case 58:p=1+hr(x),f=h;default:if(y<1)if(123==b)--y;else if(125==b&&0==y++&&125==Or())continue;switch(x+=sr(b),b*y){case 38:g=u>0?1:(x+="\f",-1);break;case 44:s[l++]=(hr(x)-1)*g,g=1;break;case 64:45===$r()&&(x+=Ar(_r())),d=$r(),u=p=hr(v=x+=Vr(Nr())),b++;break;case 45:45===h&&2==hr(x)&&(y=0)}}return i}function Fr(e,t,r,n,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],f=yr(d),h=0,y=0,m=0;h<n;++h)for(var g=0,b=fr(e,p+1,p=ar(y=a[h])),v=e;g<f;++g)(v=lr(y>0?d[g]+" "+b:ur(b,/&\f/g,d[g])))&&(c[m++]=v);return xr(e,t,r,0===o?nr:s,c,l,u)}function Lr(e,t,r){return xr(e,t,r,rr,sr(Sr),fr(e,2,-2),0)}function Wr(e,t,r,n){return xr(e,t,r,or,fr(e,0,n),fr(e,n+1,-1),n)}function Ur(e,t){for(var r="",n=yr(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Kr(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case or:return e.return=e.return||e.value;case rr:return"";case ir:return e.return=e.value+"{"+Ur(e.children,n)+"}";case nr:e.value=e.props.join(",")}return hr(r=Ur(e.children,n))?e.return=e.value+"{"+r+"}":""}function Hr(e){var t=yr(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 Gr(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var qr="undefined"!=typeof document,Yr=function(e,t,r){for(var n=0,o=0;n=o,o=$r(),38===n&&12===o&&(t[r]=1),!Tr(o);)_r();return Cr(e,wr)},Xr=function(e,t){return Pr(function(e,t){var r=-1,n=44;do{switch(Tr(n)){case 0:38===n&&12===$r()&&(t[r]=1),e[r]+=Yr(wr-1,t,r);break;case 2:e[r]+=Ar(n);break;case 4:if(44===n){e[++r]=58===$r()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=sr(n)}}while(n=_r());return e}(jr(e),t))},Jr=new WeakMap,Qr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Jr.get(r))&&!n){Jr.set(e,!0);for(var o=[],i=Xr(t,o),a=r.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Zr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function en(e,t){switch(function(e,t){return 45^dr(e,0)?(((t<<2^dr(e,0))<<2^dr(e,1))<<2^dr(e,2))<<2^dr(e,3):0}(e,t)){case 5103:return tr+"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 tr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return tr+e+er+e+Zt+e+e;case 6828:case 4268:return tr+e+Zt+e+e;case 6165:return tr+e+Zt+"flex-"+e+e;case 5187:return tr+e+ur(e,/(\w+).+(:[^]+)/,tr+"box-$1$2"+Zt+"flex-$1$2")+e;case 5443:return tr+e+Zt+"flex-item-"+ur(e,/flex-|-self/,"")+e;case 4675:return tr+e+Zt+"flex-line-pack"+ur(e,/align-content|flex-|-self/,"")+e;case 5548:return tr+e+Zt+ur(e,"shrink","negative")+e;case 5292:return tr+e+Zt+ur(e,"basis","preferred-size")+e;case 6060:return tr+"box-"+ur(e,"-grow","")+tr+e+Zt+ur(e,"grow","positive")+e;case 4554:return tr+ur(e,/([^-])(transform)/g,"$1"+tr+"$2")+e;case 6187:return ur(ur(ur(e,/(zoom-|grab)/,tr+"$1"),/(image-set)/,tr+"$1"),e,"")+e;case 5495:case 3959:return ur(e,/(image-set\([^]*)/,tr+"$1$`$1");case 4968:return ur(ur(e,/(.+:)(flex-)?(.*)/,tr+"box-pack:$3"+Zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+tr+e+e;case 4095:case 3583:case 4068:case 2532:return ur(e,/(.+)-inline(.+)/,tr+"$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(hr(e)-1-t>6)switch(dr(e,t+1)){case 109:if(45!==dr(e,t+4))break;case 102:return ur(e,/(.+:)(.+)-([^]+)/,"$1"+tr+"$2-$3$1"+er+(108==dr(e,t+3)?"$3":"$2-$3"))+e;case 115:return~pr(e,"stretch")?en(ur(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==dr(e,t+1))break;case 6444:switch(dr(e,hr(e)-3-(~pr(e,"!important")&&10))){case 107:return ur(e,":",":"+tr)+e;case 101:return ur(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+tr+(45===dr(e,14)?"inline-":"")+"box$3$1"+tr+"$2$3$1"+Zt+"$2box$3")+e}break;case 5936:switch(dr(e,t+11)){case 114:return tr+e+Zt+ur(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return tr+e+Zt+ur(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return tr+e+Zt+ur(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return tr+e+Zt+e+e}return e}var tn,rn,nn,on=qr?void 0:(tn=function(){return Gr((function(){return{}}))},rn=new WeakMap,function(e){if(rn.has(e))return rn.get(e);var t=tn(e);return rn.set(e,t),t}),an=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case or:e.return=en(e.value,e.length);break;case ir:return Ur([kr(e,{value:ur(e.value,"@","@"+tr)})],n);case nr:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ur([kr(e,{props:[ur(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Ur([kr(e,{props:[ur(t,/:(plac\w+)/,":"+tr+"input-$1")]}),kr(e,{props:[ur(t,/:(plac\w+)/,":-moz-$1")]}),kr(e,{props:[ur(t,/:(plac\w+)/,Zt+"input-$1")]})],n)}return""}))}}],sn=function(e){var t=e.key;if(qr&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||an,a={},s=[];qr&&(n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)})));var c,l=[Qr,Zr];if(on){var u=[Kr],p=Hr(l.concat(i,u)),d=on(i)(t),f=function(e,t){var r=t.name;return void 0===d[r]&&(d[r]=Ur(zr(e?e+"{"+t.styles+"}":t.styles),p)),d[r]};o=function(e,t,r,n){var o=t.name,i=f(e,t);return void 0===g.compat?(n&&(g.inserted[o]=!0),i):n?void(g.inserted[o]=i):i}}else{var h,y=[Kr,(c=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],m=Hr(l.concat(i,y));o=function(e,t,r,n){h=r,Ur(zr(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new Qt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return g.sheet.hydrate(s),g},cn={exports:{}},ln={};var un,pn,dn,fn,hn={};
|
|
20
|
-
/** @license React v16.13.1
|
|
21
|
-
* react-is.development.js
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/function yn(){return pn||(pn=1,"production"===process.env.NODE_ENV?cn.exports=function(){if(nn)return ln;nn=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case c:case l:case n:case i:case o:case p:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case a:return e;default:return d}}case r:return d}}}function w(e){return v(e)===l}return ln.AsyncMode=c,ln.ConcurrentMode=l,ln.ContextConsumer=s,ln.ContextProvider=a,ln.Element=t,ln.ForwardRef=u,ln.Fragment=n,ln.Lazy=h,ln.Memo=f,ln.Portal=r,ln.Profiler=i,ln.StrictMode=o,ln.Suspense=p,ln.isAsyncMode=function(e){return w(e)||v(e)===c},ln.isConcurrentMode=w,ln.isContextConsumer=function(e){return v(e)===s},ln.isContextProvider=function(e){return v(e)===a},ln.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ln.isForwardRef=function(e){return v(e)===u},ln.isFragment=function(e){return v(e)===n},ln.isLazy=function(e){return v(e)===h},ln.isMemo=function(e){return v(e)===f},ln.isPortal=function(e){return v(e)===r},ln.isProfiler=function(e){return v(e)===i},ln.isStrictMode=function(e){return v(e)===o},ln.isSuspense=function(e){return v(e)===p},ln.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},ln.typeOf=v,ln}():cn.exports=(un||(un=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var y=e.type;switch(y){case c:case l:case n:case i:case o:case p:return y;default:var m=y&&y.$$typeof;switch(m){case s:case u:case h:case f:case a:return m;default:return d}}case r:return d}}}var w=c,S=l,E=s,x=a,k=t,O=u,_=n,$=h,N=f,C=r,T=i,j=o,P=p,A=!1;function D(e){return v(e)===l}hn.AsyncMode=w,hn.ConcurrentMode=S,hn.ContextConsumer=E,hn.ContextProvider=x,hn.Element=k,hn.ForwardRef=O,hn.Fragment=_,hn.Lazy=$,hn.Memo=N,hn.Portal=C,hn.Profiler=T,hn.StrictMode=j,hn.Suspense=P,hn.isAsyncMode=function(e){return A||(A=!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.")),D(e)||v(e)===c},hn.isConcurrentMode=D,hn.isContextConsumer=function(e){return v(e)===s},hn.isContextProvider=function(e){return v(e)===a},hn.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},hn.isForwardRef=function(e){return v(e)===u},hn.isFragment=function(e){return v(e)===n},hn.isLazy=function(e){return v(e)===h},hn.isMemo=function(e){return v(e)===f},hn.isPortal=function(e){return v(e)===r},hn.isProfiler=function(e){return v(e)===i},hn.isStrictMode=function(e){return v(e)===o},hn.isSuspense=function(e){return v(e)===p},hn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},hn.typeOf=v}()),hn)),cn.exports}!function(){if(fn)return dn;fn=1;var e=yn(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(r){return e.isMemo(r)?n:o[r.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=n;var a=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,p=Object.prototype;dn=function e(t,n,o){if("string"!=typeof n){if(p){var d=u(n);d&&d!==p&&e(t,d,o)}var f=s(n);c&&(f=f.concat(c(n)));for(var h=i(t),y=i(n),m=0;m<f.length;++m){var g=f[m];if(!(r[g]||o&&o[g]||y&&y[g]||h&&h[g])){var b=l(n,g);try{a(t,g,b)}catch(e){}}}}return t}}();var mn="undefined"!=typeof document;function gn(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var bn=function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===mn&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},vn=function(e,t,r){bn(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+n:"",i,e.sheet,!0);mn||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!mn&&0!==o.length)return o}};var wn={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,scale: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},Sn=/[A-Z]|^ms/g,En=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xn=function(e){return 45===e.charCodeAt(1)},kn=function(e){return null!=e&&"boolean"!=typeof e},On=Gr((function(e){return xn(e)?e:e.replace(Sn,"-$&").toLowerCase()})),_n=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(En,(function(e,t,r){return Nn={name:t,styles:r,next:Nn},t}))}return 1===wn[e]||xn(e)||"number"!=typeof t||0===t?t:t+"px"};function $n(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return Nn={name:o.name,styles:o.styles,next:Nn},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Nn={name:a.name,styles:a.styles,next:Nn},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=$n(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":kn(s)&&(n+=On(i)+":"+_n(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=$n(e,t,a);switch(i){case"animation":case"animationName":n+=On(i)+":"+c+";";break;default:n+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)kn(a[l])&&(n+=On(i)+":"+_n(i,a[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=Nn,c=r(e);return Nn=s,$n(e,t,c)}}var l=r;if(null==t)return l;var u=t[l];return void 0!==u?u:l}var Nn,Cn=/label:\s*([^\s;{]+)\s*(;|$)/g;function Tn(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";Nn=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=$n(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=$n(r,t,e[a]),n)o+=i[a]}Cn.lastIndex=0;for(var s,c="";null!==(s=Cn.exec(o));)c+="-"+s[1];var l=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:Nn}}var jn="undefined"!=typeof document,Pn=function(e){return e()},An=!!r.useInsertionEffect&&r.useInsertionEffect,Dn=jn&&An||Pn,Mn="undefined"!=typeof document,Rn=r.createContext("undefined"!=typeof HTMLElement?sn({key:"css"}):null);Rn.Provider;var In=function(t){return e.forwardRef((function(r,n){var o=e.useContext(Rn);return t(r,o,n)}))};Mn||(In=function(t){return function(n){var o=e.useContext(Rn);return null===o?(o=sn({key:"css"}),r.createElement(Rn.Provider,{value:o},t(n,o))):t(n,o)}});var Vn,zn,Bn=r.createContext({}),Fn={}.hasOwnProperty,Ln="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Wn=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;bn(t,n,o);var i=Dn((function(){return vn(t,n,o)}));if(!Mn&&void 0!==i){for(var a,s=n.name,c=n.next;void 0!==c;)s+=" "+c.name,c=c.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Un=In((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[Ln],a=[o],s="";"string"==typeof e.className?s=gn(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=Tn(a,void 0,r.useContext(Bn));s+=t.key+"-"+c.name;var l={};for(var u in e)Fn.call(e,u)&&"css"!==u&&u!==Ln&&(l[u]=e[u]);return l.className=s,n&&(l.ref=n),r.createElement(r.Fragment,null,r.createElement(Wn,{cache:t,serialized:c,isStringTag:"string"==typeof i}),r.createElement(i,l))})),Kn=Un,Hn=function(e,t){var n=arguments;if(null==t||!Fn.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Kn,i[1]=function(e,t){var r={};for(var n in t)Fn.call(t,n)&&(r[n]=t[n]);return r[Ln]=e,r}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Gn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tn(t)}function qn(){var e=Gn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}Vn=Hn||(Hn={}),zn||(zn=Vn.JSX||(Vn.JSX={}));var Yn=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Xn="undefined"!=typeof document,Jn=Gr((function(e){return Yn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Qn=function(e){return"theme"!==e},Zn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Jn:Qn},eo=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},to=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;bn(t,n,o);var i=Dn((function(){return vn(t,n,o)}));if(!Xn&&void 0!==i){for(var a,s=n.name,c=n.next;void 0!==c;)s+=" "+c.name,c=c.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},ro=function e(t,n){var o,i,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var c=eo(t,n,a),l=c||Zn(s),u=!l("as");return function(){var p=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&d.push("label:"+o+";"),null==p[0]||void 0===p[0].raw)d.push.apply(d,p);else{var f=p[0];d.push(f[0]);for(var h=p.length,y=1;y<h;y++)d.push(p[y],f[y])}var m=In((function(e,t,n){var o=u&&e.as||s,a="",p=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=r.useContext(Bn)}"string"==typeof e.className?a=gn(t.registered,p,e.className):null!=e.className&&(a=e.className+" ");var y=Tn(d.concat(p),t.registered,f);a+=t.key+"-"+y.name,void 0!==i&&(a+=" "+i);var m=u&&void 0===c?Zn(o):l,g={};for(var b in e)u&&"as"===b||m(b)&&(g[b]=e[b]);return g.className=a,n&&(g.ref=n),r.createElement(r.Fragment,null,r.createElement(to,{cache:t,serialized:y,isStringTag:"string"==typeof o}),r.createElement(o,g))}));return m.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=d,m.__emotion_forwardProp=c,Object.defineProperty(m,"toString",{value:function(){return"."+i}}),m.withComponent=function(t,r){return e(t,Jt({},n,r,{shouldForwardProp:eo(m,r,!0)})).apply(void 0,d)},m}}.bind(null);["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"].forEach((function(e){ro[e]=ro(e)}));var no,oo={exports:{}},io={exports:{}},ao={};var so,co,lo,uo,po,fo,ho,yo,mo,go,bo,vo,wo,So,Eo,xo={};
|
|
28
|
-
/** @license React v16.13.1
|
|
29
|
-
* react-is.development.js
|
|
30
|
-
*
|
|
31
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
|
-
*
|
|
33
|
-
* This source code is licensed under the MIT license found in the
|
|
34
|
-
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/function ko(){return co||(co=1,"production"===process.env.NODE_ENV?io.exports=function(){if(no)return ao;no=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case c:case l:case n:case i:case o:case p:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case a:return e;default:return d}}case r:return d}}}function w(e){return v(e)===l}return ao.AsyncMode=c,ao.ConcurrentMode=l,ao.ContextConsumer=s,ao.ContextProvider=a,ao.Element=t,ao.ForwardRef=u,ao.Fragment=n,ao.Lazy=h,ao.Memo=f,ao.Portal=r,ao.Profiler=i,ao.StrictMode=o,ao.Suspense=p,ao.isAsyncMode=function(e){return w(e)||v(e)===c},ao.isConcurrentMode=w,ao.isContextConsumer=function(e){return v(e)===s},ao.isContextProvider=function(e){return v(e)===a},ao.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ao.isForwardRef=function(e){return v(e)===u},ao.isFragment=function(e){return v(e)===n},ao.isLazy=function(e){return v(e)===h},ao.isMemo=function(e){return v(e)===f},ao.isPortal=function(e){return v(e)===r},ao.isProfiler=function(e){return v(e)===i},ao.isStrictMode=function(e){return v(e)===o},ao.isSuspense=function(e){return v(e)===p},ao.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},ao.typeOf=v,ao}():io.exports=(so||(so=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var y=e.type;switch(y){case c:case l:case n:case i:case o:case p:return y;default:var m=y&&y.$$typeof;switch(m){case s:case u:case h:case f:case a:return m;default:return d}}case r:return d}}}var w=c,S=l,E=s,x=a,k=t,O=u,_=n,$=h,N=f,C=r,T=i,j=o,P=p,A=!1;function D(e){return v(e)===l}xo.AsyncMode=w,xo.ConcurrentMode=S,xo.ContextConsumer=E,xo.ContextProvider=x,xo.Element=k,xo.ForwardRef=O,xo.Fragment=_,xo.Lazy=$,xo.Memo=N,xo.Portal=C,xo.Profiler=T,xo.StrictMode=j,xo.Suspense=P,xo.isAsyncMode=function(e){return A||(A=!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.")),D(e)||v(e)===c},xo.isConcurrentMode=D,xo.isContextConsumer=function(e){return v(e)===s},xo.isContextProvider=function(e){return v(e)===a},xo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},xo.isForwardRef=function(e){return v(e)===u},xo.isFragment=function(e){return v(e)===n},xo.isLazy=function(e){return v(e)===h},xo.isMemo=function(e){return v(e)===f},xo.isPortal=function(e){return v(e)===r},xo.isProfiler=function(e){return v(e)===i},xo.isStrictMode=function(e){return v(e)===o},xo.isSuspense=function(e){return v(e)===p},xo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},xo.typeOf=v}()),xo)),io.exports}
|
|
36
|
-
/*
|
|
37
|
-
object-assign
|
|
38
|
-
(c) Sindre Sorhus
|
|
39
|
-
@license MIT
|
|
40
|
-
*/function Oo(){if(uo)return lo;uo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return lo=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))t.call(i,l)&&(s[l]=i[l]);if(e){a=e(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},lo}function _o(){if(fo)return po;fo=1;return po="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function $o(){return yo?ho:(yo=1,ho=Function.call.bind(Object.prototype.hasOwnProperty))}function No(){if(go)return mo;go=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=_o(),r={},n=$o();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,c){if("production"!==process.env.NODE_ENV)for(var l in o)if(n(o,l)){var u;try{if("function"!=typeof o[l]){var p=Error((s||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=o[l](i,l,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in r)){r[u.message]=!0;var d=c?c():"";e("Failed "+a+" type: "+u.message+(null!=d?d:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},mo=o}function Co(){if(vo)return bo;vo=1;var e=ko(),t=Oo(),r=_o(),n=$o(),o=No(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),bo=function(s,c){var l="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",p={array:y("array"),bigint:y("bigint"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:h(a),arrayOf:function(e){return h((function(t,n,o,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new f("Invalid "+i+" `"+a+"` of type `"+b(s)+"` supplied to `"+o+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,o,i,a+"["+c+"]",r);if(l instanceof Error)return l}return null}))},element:h((function(e,t,r,n,o){var i=e[t];return s(i)?null:new f("Invalid "+n+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:h((function(t,r,n,o,i){var a=t[r];return e.isValidElementType(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,r,n,o,i){if(!(t[r]instanceof e)){var a=e.name||u;return new f("Invalid "+o+" `"+i+"` of type `"+(((s=t[r]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+n+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,r,n,o){return g(e[t])?null:new f("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,o,i,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var c=t[o],l=b(c);if("object"!==l)return new f("Invalid "+a+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in c)if(n(c,u)){var p=e(c,u,i,a,s+"."+u,r);if(p instanceof Error)return p}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),a;return h((function(t,r,n,o,i){for(var a=t[r],s=0;s<e.length;s++)if(d(a,e[s]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===v(t)?String(t):t}));return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+c+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(o)+" at index "+t+"."),a}return h((function(t,o,i,a,s){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,o,i,a,s,r);if(null==u)return null;u.data&&n(u.data,"expectedType")&&c.push(u.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,n,o,i,a){var s=t[n],c=b(s);if("object"!==c)return new f("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return m(o,i,a,l,v(u));var p=u(s,l,o,i,a+"."+l,r);if(p)return p}return null}))},exact:function(e){return h((function(o,i,a,s,c){var l=o[i],u=b(l);if("object"!==u)return new f("Invalid "+s+" `"+c+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var p=t({},o[i],e);for(var d in p){var h=e[d];if(n(e,d)&&"function"!=typeof h)return m(a,s,c,d,v(h));if(!h)return new f("Invalid "+s+" `"+c+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=h(l,d,a,s,c+"."+d,r);if(y)return y}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function o(o,a,s,l,p,d,h){if(l=l||u,d=d||s,h!==r){if(c){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=l+":"+s;!t[m]&&n<3&&(i("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,n++)}}return null==a[s]?o?null===a[s]?new f("The "+p+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new f("The "+p+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,s,l,p,d)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function y(e){return h((function(t,r,n,o,i,a){var s=t[r];return b(s)!==e?new f("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function m(e,t,r,n,o){return new f((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||s(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!g(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},bo}function To(){if(So)return wo;So=1;var e=_o();function t(){}function r(){}return r.resetWarningCache=t,wo=function(){function n(t,r,n,o,i,a){if(a!==e){var s=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 s.name="Invariant Violation",s}}function o(){return n}n.isRequired=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}}function jo(){if(Eo)return oo.exports;if(Eo=1,"production"!==process.env.NODE_ENV){var e=ko();oo.exports=Co()(e.isElement,true)}else oo.exports=To()();return oo.exports}var Po=n(jo());const Ao=[];function Do(e){return Ao[0]=e,Tn(Ao)}var Mo,Ro={exports:{}},Io={};function Vo(){if(Mo)return Io;Mo=1;var e=Symbol.for("react.transitional.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.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function h(f){if("object"==typeof f&&null!==f){var h=f.$$typeof;switch(h){case e:switch(f=f.type){case r:case o:case n:case c:case l:case d:return f;default:switch(f=f&&f.$$typeof){case a:case s:case p:case u:case i:return f;default:return h}}case t:return h}}}return Io.ContextConsumer=i,Io.ContextProvider=a,Io.Element=e,Io.ForwardRef=s,Io.Fragment=r,Io.Lazy=p,Io.Memo=u,Io.Portal=t,Io.Profiler=o,Io.StrictMode=n,Io.Suspense=c,Io.SuspenseList=l,Io.isContextConsumer=function(e){return h(e)===i},Io.isContextProvider=function(e){return h(e)===a},Io.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Io.isForwardRef=function(e){return h(e)===s},Io.isFragment=function(e){return h(e)===r},Io.isLazy=function(e){return h(e)===p},Io.isMemo=function(e){return h(e)===u},Io.isPortal=function(e){return h(e)===t},Io.isProfiler=function(e){return h(e)===o},Io.isStrictMode=function(e){return h(e)===n},Io.isSuspense=function(e){return h(e)===c},Io.isSuspenseList=function(e){return h(e)===l},Io.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===n||e===c||e===l||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===f||void 0!==e.getModuleId)},Io.typeOf=h,Io}var zo,Bo,Fo={};
|
|
41
|
-
/**
|
|
42
|
-
* @license React
|
|
43
|
-
* react-is.development.js
|
|
44
|
-
*
|
|
45
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
-
*
|
|
47
|
-
* This source code is licensed under the MIT license found in the
|
|
48
|
-
* LICENSE file in the root directory of this source tree.
|
|
49
|
-
*/function Lo(){return zo||(zo=1,"production"!==process.env.NODE_ENV&&function(){function e(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case n:case i:case o:case l:case u:case f:return e;default:switch(e=e&&e.$$typeof){case s:case c:case d:case p:case a:return e;default:return h}}case r:return h}}}var t=Symbol.for("react.transitional.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.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");Fo.ContextConsumer=a,Fo.ContextProvider=s,Fo.Element=t,Fo.ForwardRef=c,Fo.Fragment=n,Fo.Lazy=d,Fo.Memo=p,Fo.Portal=r,Fo.Profiler=i,Fo.StrictMode=o,Fo.Suspense=l,Fo.SuspenseList=u,Fo.isContextConsumer=function(t){return e(t)===a},Fo.isContextProvider=function(t){return e(t)===s},Fo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Fo.isForwardRef=function(t){return e(t)===c},Fo.isFragment=function(t){return e(t)===n},Fo.isLazy=function(t){return e(t)===d},Fo.isMemo=function(t){return e(t)===p},Fo.isPortal=function(t){return e(t)===r},Fo.isProfiler=function(t){return e(t)===i},Fo.isStrictMode=function(t){return e(t)===o},Fo.isSuspense=function(t){return e(t)===l},Fo.isSuspenseList=function(t){return e(t)===u},Fo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===l||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===c||e.$$typeof===h||void 0!==e.getModuleId)},Fo.typeOf=e}()),Fo}function Wo(){return Bo||(Bo=1,"production"===process.env.NODE_ENV?Ro.exports=Vo():Ro.exports=Lo()),Ro.exports}var Uo=Wo();function Ko(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Ho(e){if(r.isValidElement(e)||Uo.isValidElementType(e)||!Ko(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=Ho(e[r])})),t}function Go(e,t,n={clone:!0}){const o=n.clone?{...e}:e;return Ko(e)&&Ko(t)&&Object.keys(t).forEach((i=>{r.isValidElement(t[i])||Uo.isValidElementType(t[i])?o[i]=t[i]:Ko(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Ko(e[i])?o[i]=Go(e[i],t[i],n):n.clone?o[i]=Ko(t[i])?Ho(t[i]):t[i]:o[i]=t[i]})),o}function qo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>({...e,[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function c(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function l(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return{keys:a,values:i,up:s,down:c,between:l,only:function(e){return a.indexOf(e)+1<a.length?l(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?c(a[t]):l(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...o}}const Yo={borderRadius:4},Xo="production"!==process.env.NODE_ENV?Po.oneOfType([Po.number,Po.string,Po.object,Po.array]):{};function Jo(e,t){return t?Go(e,t,{clone:!1}):e}const Qo={xs:0,sm:600,md:900,lg:1200,xl:1536},Zo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Qo[e]}px)`},ei={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:Qo[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function ti(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Zo;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Zo;return Object.keys(t).reduce(((o,i)=>{if(a=e.keys,"@"===(s=i)||s.startsWith("@")&&(a.some((e=>s.startsWith(`@${e}`)))||s.match(/^@\d/))){const e=function(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if("production"!==process.env.NODE_ENV)throw new Error("production"!==process.env.NODE_ENV?`MUI: The provided shorthand (${t}) is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Xt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}(n.containerQueries?n:ei,i);e&&(o[e]=r(t[i],i))}else if(Object.keys(e.values||Qo).includes(i)){o[e.up(i)]=r(t[i],i)}else{const e=i;o[e]=t[e]}var a,s;return o}),{})}return r(t)}function ri(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Xt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ni(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function oi(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:ni(e,r)||n,t&&(o=t(o,n,e)),o}function ii(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=ni(e.theme,n)||{};return ti(e,i,(e=>{let n=oi(a,o,e);return e===n&&"string"==typeof e&&(n=oi(a,o,`${t}${"default"===e?"":ri(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:Xo}:{},i.filterProps=[t],i}const ai={m:"margin",p:"padding"},si={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ci={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},li=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!ci[e])return[e];e=ci[e]}const[t,r]=e.split(""),n=ai[t],o=si[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),ui=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],di=[...ui,...pi];function fi(e,t,r,n){const o=ni(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${e}.`),"string"==typeof o?`calc(${e} * ${o})`:o*e):Array.isArray(o)?e=>{if("string"==typeof e)return e;const r=Math.abs(e);"production"!==process.env.NODE_ENV&&(Number.isInteger(r)?r>o.length-1&&console.error([`MUI: The value provided (${r}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${r} > ${o.length-1}, you need to add the missing values.`].join("\n")):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("\n")));const n=o[r];return e>=0?n:"number"==typeof n?-n:`-${n}`}:"function"==typeof o?o:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function hi(e){return fi(e,"spacing",8,"spacing")}function yi(e,t){return"string"==typeof t||null==t?t:e(t)}function mi(e,t,r,n){if(!t.includes(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=yi(t,r),e)),{})}(li(r),n);return ti(e,e[r],o)}function gi(e,t){const r=hi(e.theme);return Object.keys(e).map((n=>mi(e,t,n,r))).reduce(Jo,{})}function bi(e){return gi(e,ui)}function vi(e){return gi(e,pi)}function wi(e=8,t=hi({spacing:e})){if(e.mui)return e;const r=(...e)=>{"production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`));return(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ")};return r.mui=!0,r}function Si(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Jo(r,t[n](e)):r),{});return r.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function Ei(e){return"number"!=typeof e?e:`${e}px solid`}function xi(e,t){return ii({prop:e,themeKey:"borders",transform:t})}bi.propTypes="production"!==process.env.NODE_ENV?ui.reduce(((e,t)=>(e[t]=Xo,e)),{}):{},bi.filterProps=ui,vi.propTypes="production"!==process.env.NODE_ENV?pi.reduce(((e,t)=>(e[t]=Xo,e)),{}):{},vi.filterProps=pi,"production"===process.env.NODE_ENV||di.reduce(((e,t)=>(e[t]=Xo,e)),{});const ki=xi("border",Ei),Oi=xi("borderTop",Ei),_i=xi("borderRight",Ei),$i=xi("borderBottom",Ei),Ni=xi("borderLeft",Ei),Ci=xi("borderColor"),Ti=xi("borderTopColor"),ji=xi("borderRightColor"),Pi=xi("borderBottomColor"),Ai=xi("borderLeftColor"),Di=xi("outline",Ei),Mi=xi("outlineColor"),Ri=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=fi(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:yi(t,e)});return ti(e,e.borderRadius,r)}return null};Ri.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Xo}:{},Ri.filterProps=["borderRadius"],Si(ki,Oi,_i,$i,Ni,Ci,Ti,ji,Pi,Ai,Ri,Di,Mi);const Ii=e=>{if(void 0!==e.gap&&null!==e.gap){const t=fi(e.theme,"spacing",8,"gap"),r=e=>({gap:yi(t,e)});return ti(e,e.gap,r)}return null};Ii.propTypes="production"!==process.env.NODE_ENV?{gap:Xo}:{},Ii.filterProps=["gap"];const Vi=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=fi(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:yi(t,e)});return ti(e,e.columnGap,r)}return null};Vi.propTypes="production"!==process.env.NODE_ENV?{columnGap:Xo}:{},Vi.filterProps=["columnGap"];const zi=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=fi(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:yi(t,e)});return ti(e,e.rowGap,r)}return null};zi.propTypes="production"!==process.env.NODE_ENV?{rowGap:Xo}:{},zi.filterProps=["rowGap"];function Bi(e,t){return"grey"===t?t:e}Si(Ii,Vi,zi,ii({prop:"gridColumn"}),ii({prop:"gridRow"}),ii({prop:"gridAutoFlow"}),ii({prop:"gridAutoColumns"}),ii({prop:"gridAutoRows"}),ii({prop:"gridTemplateColumns"}),ii({prop:"gridTemplateRows"}),ii({prop:"gridTemplateAreas"}),ii({prop:"gridArea"}));function Fi(e){return e<=1&&0!==e?100*e+"%":e}Si(ii({prop:"color",themeKey:"palette",transform:Bi}),ii({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Bi}),ii({prop:"backgroundColor",themeKey:"palette",transform:Bi}));const Li=ii({prop:"width",transform:Fi}),Wi=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||Qo[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Fi(t)}};return ti(e,e.maxWidth,t)}return null};Wi.filterProps=["maxWidth"];const Ui=ii({prop:"minWidth",transform:Fi}),Ki=ii({prop:"height",transform:Fi}),Hi=ii({prop:"maxHeight",transform:Fi}),Gi=ii({prop:"minHeight",transform:Fi});ii({prop:"size",cssProperty:"width",transform:Fi}),ii({prop:"size",cssProperty:"height",transform:Fi});Si(Li,Wi,Ui,Ki,Hi,Gi,ii({prop:"boxSizing"}));const qi={border:{themeKey:"borders",transform:Ei},borderTop:{themeKey:"borders",transform:Ei},borderRight:{themeKey:"borders",transform:Ei},borderBottom:{themeKey:"borders",transform:Ei},borderLeft:{themeKey:"borders",transform:Ei},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ei},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ri},color:{themeKey:"palette",transform:Bi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Bi},backgroundColor:{themeKey:"palette",transform:Bi},p:{style:vi},pt:{style:vi},pr:{style:vi},pb:{style:vi},pl:{style:vi},px:{style:vi},py:{style:vi},padding:{style:vi},paddingTop:{style:vi},paddingRight:{style:vi},paddingBottom:{style:vi},paddingLeft:{style:vi},paddingX:{style:vi},paddingY:{style:vi},paddingInline:{style:vi},paddingInlineStart:{style:vi},paddingInlineEnd:{style:vi},paddingBlock:{style:vi},paddingBlockStart:{style:vi},paddingBlockEnd:{style:vi},m:{style:bi},mt:{style:bi},mr:{style:bi},mb:{style:bi},ml:{style:bi},mx:{style:bi},my:{style:bi},margin:{style:bi},marginTop:{style:bi},marginRight:{style:bi},marginBottom:{style:bi},marginLeft:{style:bi},marginX:{style:bi},marginY:{style:bi},marginInline:{style:bi},marginInlineStart:{style:bi},marginInlineEnd:{style:bi},marginBlock:{style:bi},marginBlockStart:{style:bi},marginBlockEnd:{style:bi},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:Ii},rowGap:{style:zi},columnGap:{style:Vi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fi},maxWidth:{style:Wi},minWidth:{transform:Fi},height:{transform:Fi},maxHeight:{transform:Fi},minHeight:{transform:Fi},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Yi=function(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:c,style:l}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=ni(r,s)||{};if(l)return l(o);return ti(o,t,(t=>{let r=oi(u,c,t);return t===r&&"string"==typeof t&&(r=oi(u,c,`${e}${"default"===t?"":ri(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??qi;function a(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const a=function(e={}){const t=e.keys?.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return t||{}}(o.breakpoints),s=Object.keys(a);let c=a;return Object.keys(n).forEach((r=>{const a=function(e,t){return"function"==typeof e?e(t):e}(n[r],o);if(null!=a)if("object"==typeof a)if(i[r])c=Jo(c,e(r,a,o,i));else{const e=ti({theme:o},a,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,a)?c=Jo(c,e):c[r]=t({sx:a,theme:o})}else c=Jo(c,e(r,a,o,i))})),function(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)}));return r.length?r.reduce(((e,r)=>{const n=t[r];return delete e[r],e[r]=n,e}),{...t}):t}(o,function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,c))}return Array.isArray(n)?n.map(a):a(n)}}();function Xi(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function Ji(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e;let s=Go({breakpoints:qo(r),direction:"ltr",components:{},palette:{mode:"light",...n},spacing:wi(o),shape:{...Yo,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}(s),s.applyStyles=Xi,s=t.reduce(((e,t)=>Go(e,t)),s),s.unstable_sxConfig={...qi,...a?.unstable_sxConfig},s.unstable_sx=function(e){return Yi({sx:e,theme:this})},s}Yi.filterProps=["sx"];const Qi=e=>e,Zi=(()=>{let e=Qi;return{configure(t){e=t},generate:t=>e(t),reset(){e=Qi}}})();function ea(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=ea(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ta(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=ea(e))&&(n&&(n+=" "),n+=t);return n}const ra={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function na(e,t,r="Mui"){const n=ra[t];return n?`${r}-${n}`:`${Zi.generate(e)}-${t}`}function oa(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=na(e,t,r)})),n}function ia(e,t=""){return e.displayName||e.name||t}function aa(e,t,r){const n=ia(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function sa(e){const{variants:t,...r}=e,n={variants:t,style:Do(r),isProcessed:!0};return n.style===r||t&&t.forEach((e=>{"function"!=typeof e.style&&(e.style=Do(e.style))})),n}const ca=Ji();function la(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function ua(e){return e?(t,r)=>r[e]:null}function pa(e,t){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap((t=>pa(e,t)));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{const{variants:e,...n}=r;t=n}return da(e,r.variants,[t])}return r?.isProcessed?r.style:r}function da(e,t,r=[]){let n;e:for(let o=0;o<t.length;o+=1){const i=t[o];if("function"==typeof i.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(n))continue}else for(const t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i.style(n))):r.push(i.style)}return r}function fa(e,t){let r;return"production"!==process.env.NODE_ENV&&e&&(r=`${e}-${ha(t||"Root")}`),r}function ha(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function ya(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if("components"===o||"slots"===o)r[o]={...e[o],...r[o]};else if("componentsProps"===o||"slotProps"===o){const n=e[o],i=t[o];if(i)if(n){r[o]={...i};for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const t=e;r[o][t]=ya(n[t],i[t])}}else r[o]=i;else r[o]=n||{}}else void 0===r[o]&&(r[o]=e[o])}return r}const ma="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function ga(e,t=0,r=1){return"production"!==process.env.NODE_ENV&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function ba(e){if(e.type)return e;if("#"===e.charAt(0))return ba(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),"production"!==process.env.NODE_ENV&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Xt(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Xt(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const va=(e,t)=>{try{return(e=>{const t=ba(e);return t.values.slice(0,3).map(((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e)).join(" ")})(e)}catch(r){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};function wa(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Sa(e){e=ba(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),wa({type:s,values:c})}function Ea(e){let t="hsl"===(e=ba(e)).type||"hsla"===e.type?ba(Sa(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xa(e,t){const r=Ea(e),n=Ea(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function ka(e,t){return e=ba(e),t=ga(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,wa(e)}function Oa(e,t,r){try{return ka(e,t)}catch(t){return e}}function _a(e,t){if(e=ba(e),t=ga(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return wa(e)}function $a(e,t,r){try{return _a(e,t)}catch(t){return e}}function Na(e,t){if(e=ba(e),t=ga(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return wa(e)}function Ca(e,t,r){try{return Na(e,t)}catch(t){return e}}function Ta(e,t,r){try{return function(e,t=.15){return Ea(e)>.5?_a(e,t):Na(e,t)}(e,t)}catch(t){return e}}function ja(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...r){return e(...r)||t(...r)}}var Pa=ja(Po.elementType,(function(e,t,r,n,o){const i=e[t],a=o||t;if(null==i||"undefined"==typeof window)return null;let s;return"function"!=typeof i||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(i)||(s="Did you accidentally provide a plain function component instead?"),void 0!==s?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 Aa=Po.oneOfType([Po.func,Po.object]);let Da=0;const Ma={...r}.useId;function Ra(e){if(void 0!==Ma){const t=Ma();return e??t}return function(e){const[t,n]=r.useState(e),o=e||t;return r.useEffect((()=>{null==t&&(Da+=1,n(`mui-${Da}`))}),[t]),o}(e)}function Ia(e){const t=r.useRef(e);return ma((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}function Va(...e){const t=r.useRef(void 0),n=r.useCallback((t=>{const r=e.map((e=>{if(null==e)return null;if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}}));return()=>{r.forEach((e=>e?.()))}}),e);return r.useMemo((()=>e.every((e=>null==e))?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))}),e)}const za={};function Ba(e,t){const n=r.useRef(za);return n.current===za&&(n.current=e(t)),n}const Fa=[];class La{static create(){return new La}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Wa(){const e=Ba(La.create).current;var t;return t=e.disposeEffect,r.useEffect(t,Fa),e}function Ua(e){try{return e.matches(":focus-visible")}catch(e){"production"===process.env.NODE_ENV||/jsdom/.test(window.navigator.userAgent)||console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join("\n"))}return!1}function Ka(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const n=i[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(a+=" "+r[n]))}n[o]=a}return n}const Ha=r.createContext(void 0);function Ga({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?ya(o.defaultProps,n):o.styleOverrides||o.variants?n:ya(o,n)}({props:e,name:t,theme:{components:r.useContext(Ha)}})}"production"!==process.env.NODE_ENV&&(Po.node,Po.object);const qa={theme:void 0};function Ya(e=""){function t(...r){if(!r.length)return"";const n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}const Xa=(e,t,r,n=[])=>{let o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])}))};function Ja(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};var s,c;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${r?`${r}-`:""}${e.join("-")}`,c=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t)))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[n]:c}),Xa(i,e,`var(${n})`,s),Xa(a,e,`var(${n}, ${c})`,s)}},c=e=>"vars"===e[0],function e(t,r=[],n=[]){Object.entries(t).forEach((([t,o])=>{(!c||c&&!c([...r,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...r,t],Array.isArray(o)?[...n,t]:n):s([...r,t],o,n))}))}(e),{css:o,vars:i,varsWithDefaults:a}}function Qa(){return{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:mt.white,default:mt.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}}}const Za=Qa();function es(){return{text:{primary:mt.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:mt.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}}}const ts=es();function rs(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=Na(e.main,o):"dark"===t&&(e.dark=_a(e.main,i)))}function ns(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||function(e="light"){return"dark"===e?{main:Ct,light:Nt,dark:Tt}:{main:jt,light:Tt,dark:Pt}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:xt,light:Et,dark:Ot}:{main:_t,light:kt,dark:$t}}(t),s=e.error||function(e="light"){return"dark"===e?{main:vt,light:gt,dark:wt}:{main:wt,light:bt,dark:St}}(t),c=e.info||function(e="light"){return"dark"===e?{main:Dt,light:At,dark:Rt}:{main:Rt,light:Mt,dark:It}}(t),l=e.success||function(e="light"){return"dark"===e?{main:zt,light:Vt,dark:Ft}:{main:Lt,light:Bt,dark:Wt}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Kt,light:Ut,dark:Gt}:{main:"#ed6c02",light:Ht,dark:qt}}(t);function p(e){const t=xa(e,ts.text.primary)>=r?ts.text.primary:Za.text.primary;if("production"!==process.env.NODE_ENV){const r=xa(e,t);r<3&&console.error([`MUI: The contrast ratio of ${r}:1 for ${t} on ${e}`,"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("\n"))}return t}const d=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${r}\` property.`:Xt(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Xt(12,t?` (${t})`:"",JSON.stringify(e.main)));return rs(e,"light",o,n),rs(e,"dark",i,n),e.contrastText||(e.contrastText=p(e.main)),e};let f;"light"===t?f=Qa():"dark"===t&&(f=es()),"production"!==process.env.NODE_ENV&&(f||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return Go({common:{...mt},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:u,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:l,name:"success"}),grey:Yt,contrastThreshold:r,getContrastText:p,augmentColor:d,tonalOffset:n,...f},o)}function os(e){const t={};return Object.entries(e).forEach((e=>{const[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)})),t}const is={textTransform:"uppercase"},as='"Roboto", "Helvetica", "Arial", sans-serif';function ss(e,t){const{fontFamily:r=as,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...p}="function"==typeof t?t(e):t;"production"!==process.env.NODE_ENV&&("number"!=typeof n&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const d=n/14,f=u||(e=>e/c*d+"rem"),h=(e,t,n,o,i)=>{return{fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:n,...r===as?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},...i,...l};var a},y={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,is),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,is),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Go({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...y},p,{clone:!1})}function cs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const ls=["none",cs(0,2,1,-1,0,1,1,0,0,1,3,0),cs(0,3,1,-2,0,2,2,0,0,1,5,0),cs(0,3,3,-2,0,3,4,0,0,1,8,0),cs(0,2,4,-1,0,4,5,0,0,1,10,0),cs(0,3,5,-1,0,5,8,0,0,1,14,0),cs(0,3,5,-1,0,6,10,0,0,1,18,0),cs(0,4,5,-2,0,7,10,1,0,2,16,1),cs(0,5,5,-3,0,8,10,1,0,3,14,2),cs(0,5,6,-3,0,9,12,1,0,3,16,2),cs(0,6,6,-3,0,10,14,1,0,4,18,3),cs(0,6,7,-4,0,11,15,1,0,4,20,3),cs(0,7,8,-4,0,12,17,2,0,5,22,4),cs(0,7,8,-4,0,13,19,2,0,5,24,4),cs(0,7,9,-4,0,14,21,2,0,5,26,4),cs(0,8,9,-5,0,15,22,2,0,6,28,5),cs(0,8,10,-5,0,16,24,2,0,6,30,5),cs(0,8,11,-5,0,17,26,2,0,6,32,5),cs(0,9,11,-5,0,18,28,2,0,7,34,6),cs(0,9,12,-6,0,19,29,2,0,7,36,6),cs(0,10,13,-6,0,20,31,3,0,8,38,7),cs(0,10,13,-6,0,21,33,3,0,8,40,7),cs(0,10,14,-6,0,22,35,3,0,8,42,7),cs(0,11,14,-7,0,23,36,3,0,9,44,8),cs(0,11,15,-7,0,24,38,3,0,9,46,8)],us={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)"},ps={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ds(e){return`${Math.round(e)}ms`}function fs(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function hs(e){const t={...us,...e.easing},r={...ps,...e.duration};return{getAutoHeightDuration:fs,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0,...s}=n;if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,r=e=>!Number.isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),r(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),r(a)||t(a)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof n&&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("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:ds(o)} ${i} ${"string"==typeof a?a:ds(a)}`)).join(",")},...e,easing:t,duration:r}}const ys={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ms(e={}){const t={...e};return function e(t){const r=Object.entries(t);for(let o=0;o<r.length;o++){const[i,a]=r[o];!Ko(n=a)&&void 0!==n&&"string"!=typeof n&&"boolean"!=typeof n&&"number"!=typeof n&&!Array.isArray(n)||i.startsWith("unstable_")?delete t[i]:Ko(a)&&(t[i]={...a},e(t[i]))}var n}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function gs(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:c,...l}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Xt(20));const u=ns(i),p=Ji(e);let d=Go(p,{mixins:(f=p.breakpoints,h=n,{toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}},...h}),palette:u,shadows:ls.slice(),typography:ss(u,s),transitions:hs(a),zIndex:{...ys}});var f,h;if(d=Go(d,l),d=t.reduce(((e,t)=>Go(e,t)),d),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,r)=>{let n;for(n in t){const o=t[n];if(e.includes(n)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=na("",n);console.error([`MUI: The \`${r}\` component increases the CSS specificity of the \`${n}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[n]={}}}};Object.keys(d.components).forEach((e=>{const r=d.components[e].styleOverrides;r&&e.startsWith("Mui")&&t(r,e)}))}return d.unstable_sxConfig={...qi,...l?.unstable_sxConfig},d.unstable_sx=function(e){return Yi({sx:e,theme:this})},d.toRuntimeSource=ms,d}const bs=[...Array(25)].map(((e,t)=>{if(0===t)return"none";const r=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`}));function vs(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function ws(e){return"dark"===e?bs:[]}function Ss(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Es=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(a=e.cssVarPrefix,[...[...Array(25)].map(((e,t)=>`--${a?`${a}-`:""}overlays-${t}`)),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach((e=>{o[e]=r[e],delete r[e]})),"media"===i?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:i?{[i.replace("%s",t)]:o,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...o}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}var a;return n};function xs(e,t,r){!e[t]&&r&&(e[t]=r)}function ks(e){return"string"==typeof e&&e.startsWith("hsl")?Sa(e):e}function Os(e,t){`${t}Channel`in e||(e[`${t}Channel`]=va(ks(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().\nTo suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}const _s=e=>{try{return e()}catch(e){}};function $s(e,t,r,n){if(!t)return;t=!0===t?{}:t;const o="dark"===n?"dark":"light";if(!r)return void(e[n]=function(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=ns(t);return{palette:i,opacity:{...vs(i.mode),...r},overlays:n||ws(i.mode),...o}}({...t,palette:{mode:o,...t?.palette}}));const{palette:i,...a}=gs({...r,palette:{mode:o,...t?.palette}});return e[n]={...t,palette:i,opacity:{...vs(o),...t?.opacity},overlays:t?.overlays||ws(o)},a}function Ns(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=Ss,colorSchemeSelector:s=(r.light&&r.dark?"media":void 0),rootSelector:c=":root",...l}=e,u=Object.keys(r)[0],p=n||(r.light&&"light"!==u?"light":u),d=((e="mui")=>Ya(e))(i),{[p]:f,light:h,dark:y,...m}=r,g={...m};let b=f;if(("dark"===p&&!("dark"in r)||"light"===p&&!("light"in r))&&(b=!0),!b)throw new Error("production"!==process.env.NODE_ENV?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Xt(21,p));const v=$s(g,b,l,p);h&&!g.light&&$s(g,h,void 0,"light"),y&&!g.dark&&$s(g,y,void 0,"dark");let w={defaultColorScheme:p,...v,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:c,getCssVar:d,colorSchemes:g,font:{...os(v.typography),...v.font},spacing:(S=l.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(w.colorSchemes).forEach((e=>{const t=w.colorSchemes[e].palette,r=e=>{const r=e.split("-"),n=r[1],o=r[2];return d(e,t[n][o])};var n;if("light"===t.mode&&(xs(t.common,"background","#fff"),xs(t.common,"onBackground","#000")),"dark"===t.mode&&(xs(t.common,"background","#000"),xs(t.common,"onBackground","#fff")),n=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{n[e]||(n[e]={})})),"light"===t.mode){xs(t.Alert,"errorColor",$a(t.error.light,.6)),xs(t.Alert,"infoColor",$a(t.info.light,.6)),xs(t.Alert,"successColor",$a(t.success.light,.6)),xs(t.Alert,"warningColor",$a(t.warning.light,.6)),xs(t.Alert,"errorFilledBg",r("palette-error-main")),xs(t.Alert,"infoFilledBg",r("palette-info-main")),xs(t.Alert,"successFilledBg",r("palette-success-main")),xs(t.Alert,"warningFilledBg",r("palette-warning-main")),xs(t.Alert,"errorFilledColor",_s((()=>t.getContrastText(t.error.main)))),xs(t.Alert,"infoFilledColor",_s((()=>t.getContrastText(t.info.main)))),xs(t.Alert,"successFilledColor",_s((()=>t.getContrastText(t.success.main)))),xs(t.Alert,"warningFilledColor",_s((()=>t.getContrastText(t.warning.main)))),xs(t.Alert,"errorStandardBg",Ca(t.error.light,.9)),xs(t.Alert,"infoStandardBg",Ca(t.info.light,.9)),xs(t.Alert,"successStandardBg",Ca(t.success.light,.9)),xs(t.Alert,"warningStandardBg",Ca(t.warning.light,.9)),xs(t.Alert,"errorIconColor",r("palette-error-main")),xs(t.Alert,"infoIconColor",r("palette-info-main")),xs(t.Alert,"successIconColor",r("palette-success-main")),xs(t.Alert,"warningIconColor",r("palette-warning-main")),xs(t.AppBar,"defaultBg",r("palette-grey-100")),xs(t.Avatar,"defaultBg",r("palette-grey-400")),xs(t.Button,"inheritContainedBg",r("palette-grey-300")),xs(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),xs(t.Chip,"defaultBorder",r("palette-grey-400")),xs(t.Chip,"defaultAvatarColor",r("palette-grey-700")),xs(t.Chip,"defaultIconColor",r("palette-grey-700")),xs(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),xs(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),xs(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),xs(t.LinearProgress,"primaryBg",Ca(t.primary.main,.62)),xs(t.LinearProgress,"secondaryBg",Ca(t.secondary.main,.62)),xs(t.LinearProgress,"errorBg",Ca(t.error.main,.62)),xs(t.LinearProgress,"infoBg",Ca(t.info.main,.62)),xs(t.LinearProgress,"successBg",Ca(t.success.main,.62)),xs(t.LinearProgress,"warningBg",Ca(t.warning.main,.62)),xs(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),xs(t.Slider,"primaryTrack",Ca(t.primary.main,.62)),xs(t.Slider,"secondaryTrack",Ca(t.secondary.main,.62)),xs(t.Slider,"errorTrack",Ca(t.error.main,.62)),xs(t.Slider,"infoTrack",Ca(t.info.main,.62)),xs(t.Slider,"successTrack",Ca(t.success.main,.62)),xs(t.Slider,"warningTrack",Ca(t.warning.main,.62));const e=Ta(t.background.default,.8);xs(t.SnackbarContent,"bg",e),xs(t.SnackbarContent,"color",_s((()=>t.getContrastText(e)))),xs(t.SpeedDialAction,"fabHoverBg",Ta(t.background.paper,.15)),xs(t.StepConnector,"border",r("palette-grey-400")),xs(t.StepContent,"border",r("palette-grey-400")),xs(t.Switch,"defaultColor",r("palette-common-white")),xs(t.Switch,"defaultDisabledColor",r("palette-grey-100")),xs(t.Switch,"primaryDisabledColor",Ca(t.primary.main,.62)),xs(t.Switch,"secondaryDisabledColor",Ca(t.secondary.main,.62)),xs(t.Switch,"errorDisabledColor",Ca(t.error.main,.62)),xs(t.Switch,"infoDisabledColor",Ca(t.info.main,.62)),xs(t.Switch,"successDisabledColor",Ca(t.success.main,.62)),xs(t.Switch,"warningDisabledColor",Ca(t.warning.main,.62)),xs(t.TableCell,"border",Ca(Oa(t.divider,1),.88)),xs(t.Tooltip,"bg",Oa(t.grey[700],.92))}if("dark"===t.mode){xs(t.Alert,"errorColor",Ca(t.error.light,.6)),xs(t.Alert,"infoColor",Ca(t.info.light,.6)),xs(t.Alert,"successColor",Ca(t.success.light,.6)),xs(t.Alert,"warningColor",Ca(t.warning.light,.6)),xs(t.Alert,"errorFilledBg",r("palette-error-dark")),xs(t.Alert,"infoFilledBg",r("palette-info-dark")),xs(t.Alert,"successFilledBg",r("palette-success-dark")),xs(t.Alert,"warningFilledBg",r("palette-warning-dark")),xs(t.Alert,"errorFilledColor",_s((()=>t.getContrastText(t.error.dark)))),xs(t.Alert,"infoFilledColor",_s((()=>t.getContrastText(t.info.dark)))),xs(t.Alert,"successFilledColor",_s((()=>t.getContrastText(t.success.dark)))),xs(t.Alert,"warningFilledColor",_s((()=>t.getContrastText(t.warning.dark)))),xs(t.Alert,"errorStandardBg",$a(t.error.light,.9)),xs(t.Alert,"infoStandardBg",$a(t.info.light,.9)),xs(t.Alert,"successStandardBg",$a(t.success.light,.9)),xs(t.Alert,"warningStandardBg",$a(t.warning.light,.9)),xs(t.Alert,"errorIconColor",r("palette-error-main")),xs(t.Alert,"infoIconColor",r("palette-info-main")),xs(t.Alert,"successIconColor",r("palette-success-main")),xs(t.Alert,"warningIconColor",r("palette-warning-main")),xs(t.AppBar,"defaultBg",r("palette-grey-900")),xs(t.AppBar,"darkBg",r("palette-background-paper")),xs(t.AppBar,"darkColor",r("palette-text-primary")),xs(t.Avatar,"defaultBg",r("palette-grey-600")),xs(t.Button,"inheritContainedBg",r("palette-grey-800")),xs(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),xs(t.Chip,"defaultBorder",r("palette-grey-700")),xs(t.Chip,"defaultAvatarColor",r("palette-grey-300")),xs(t.Chip,"defaultIconColor",r("palette-grey-300")),xs(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),xs(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),xs(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),xs(t.LinearProgress,"primaryBg",$a(t.primary.main,.5)),xs(t.LinearProgress,"secondaryBg",$a(t.secondary.main,.5)),xs(t.LinearProgress,"errorBg",$a(t.error.main,.5)),xs(t.LinearProgress,"infoBg",$a(t.info.main,.5)),xs(t.LinearProgress,"successBg",$a(t.success.main,.5)),xs(t.LinearProgress,"warningBg",$a(t.warning.main,.5)),xs(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),xs(t.Slider,"primaryTrack",$a(t.primary.main,.5)),xs(t.Slider,"secondaryTrack",$a(t.secondary.main,.5)),xs(t.Slider,"errorTrack",$a(t.error.main,.5)),xs(t.Slider,"infoTrack",$a(t.info.main,.5)),xs(t.Slider,"successTrack",$a(t.success.main,.5)),xs(t.Slider,"warningTrack",$a(t.warning.main,.5));const e=Ta(t.background.default,.98);xs(t.SnackbarContent,"bg",e),xs(t.SnackbarContent,"color",_s((()=>t.getContrastText(e)))),xs(t.SpeedDialAction,"fabHoverBg",Ta(t.background.paper,.15)),xs(t.StepConnector,"border",r("palette-grey-600")),xs(t.StepContent,"border",r("palette-grey-600")),xs(t.Switch,"defaultColor",r("palette-grey-300")),xs(t.Switch,"defaultDisabledColor",r("palette-grey-600")),xs(t.Switch,"primaryDisabledColor",$a(t.primary.main,.55)),xs(t.Switch,"secondaryDisabledColor",$a(t.secondary.main,.55)),xs(t.Switch,"errorDisabledColor",$a(t.error.main,.55)),xs(t.Switch,"infoDisabledColor",$a(t.info.main,.55)),xs(t.Switch,"successDisabledColor",$a(t.success.main,.55)),xs(t.Switch,"warningDisabledColor",$a(t.warning.main,.55)),xs(t.TableCell,"border",$a(Oa(t.divider,1),.68)),xs(t.Tooltip,"bg",Oa(t.grey[700],.92))}Os(t.background,"default"),Os(t.background,"paper"),Os(t.common,"background"),Os(t.common,"onBackground"),Os(t,"divider"),Object.keys(t).forEach((e=>{const r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&xs(t[e],"mainChannel",va(ks(r.main))),r.light&&xs(t[e],"lightChannel",va(ks(r.light))),r.dark&&xs(t[e],"darkChannel",va(ks(r.dark))),r.contrastText&&xs(t[e],"contrastTextChannel",va(ks(r.contrastText))),"text"===e&&(Os(t[e],"primary"),Os(t[e],"secondary")),"action"===e&&(r.active&&Os(t[e],"active"),r.selected&&Os(t[e],"selected")))}))})),w=t.reduce(((e,t)=>Go(e,t)),w);const E={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Es(w)},{vars:x,generateThemeVars:k,generateStyleSheets:O}=function(e,t={}){const{getSelector:r=m,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...c}=e,{vars:l,css:u,varsWithDefaults:p}=Ja(c,t);let d=p;const f={},{[s]:h,...y}=i;if(Object.entries(y||{}).forEach((([e,r])=>{const{vars:n,css:o,varsWithDefaults:i}=Ja(r,t);d=Go(d,i),f[e]={css:o,vars:n}})),h){const{css:e,vars:r,varsWithDefaults:n}=Ja(h,t);d=Go(d,n),f[s]={css:e,vars:r}}function m(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=i[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:d,generateThemeVars:()=>{let e={...l};return Object.entries(f).forEach((([,{vars:t}])=>{e=Go(e,t)})),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function a(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}a(r(void 0,{...u}),u);const{[o]:s,...c}=f;if(s){const{css:e}=s,t=i[o]?.palette?.mode,c=!n&&t?{colorScheme:t,...e}:{...e};a(r(o,{...c}),c)}return Object.entries(c).forEach((([e,{css:t}])=>{const o=i[e]?.palette?.mode,s=!n&&o?{colorScheme:o,...t}:{...t};a(r(e,{...s}),s)})),t}}}(w,E);return w.vars=x,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach((([e,t])=>{w[e]=t})),w.generateThemeVars=k,w.generateStyleSheets=O,w.generateSpacing=function(){return wi(l.spacing,hi(this))},w.getColorSchemeSelector=function(e){return function(t){return"media"===e?("production"!==process.env.NODE_ENV&&"light"!==t&&"dark"!==t&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=a,w.unstable_sxConfig={...qi,...l?.unstable_sxConfig},w.unstable_sx=function(e){return Yi({sx:e,theme:this})},w.toRuntimeSource=ms,w}function Cs(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:ns({...!0===r?{}:r.palette,mode:t})})}const Ts=function(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=(r?void 0:{light:!0}),defaultColorScheme:i=r?.mode,...a}=e,s=i||"light",c=o?.[s],l={...o,...r?{[s]:{..."boolean"!=typeof c&&c,palette:r}}:void 0};if(!1===n){if(!("colorSchemes"in e))return gs(e,...t);let n=r;"palette"in e||l[s]&&(!0!==l[s]?n=l[s].palette:"dark"===s&&(n={mode:"dark"}));const o=gs({...e,palette:n},...t);return o.defaultColorScheme=s,o.colorSchemes=l,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==l.light&&l.light,palette:o.palette},Cs(o,"dark",l.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==l.dark&&l.dark,palette:o.palette},Cs(o,"light",l.light)),o}return r||"light"in l||"light"!==s||(l.light=!0),Ns({...a,colorSchemes:l,defaultColorScheme:s,..."boolean"!=typeof n&&n},...t)}();const js=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,Ps=function(e={}){const{themeId:t,defaultTheme:r=ca,rootShouldForwardProp:n=la,slotShouldForwardProp:o=la}=e;function i(e){!function(e,t,r){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?r:e.theme[t]||e.theme}(e,t,r)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,(e=>e.filter((e=>e!==Yi))));const{name:r,slot:a,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ua(ha(a)),...u}=t,p=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,d=c||!1;let f=la;"Root"===a||"root"===a?f=n:a?f=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(f=void 0);const h=
|
|
50
|
-
/**
|
|
51
|
-
* @mui/styled-engine v6.4.11
|
|
52
|
-
*
|
|
53
|
-
* @license MIT
|
|
54
|
-
* This source code is licensed under the MIT license found in the
|
|
55
|
-
* LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/
|
|
57
|
-
function(e,t){const r=ro(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const n="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),r(...t)}:r}(e,{shouldForwardProp:f,label:fa(r,a),...u}),y=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return pa(t,e)};if(Ko(e)){const t=sa(e);return t.variants?function(e){return pa(e,t)}:t.style}return e},m=(...t)=>{const n=[],o=t.map(y),s=[];if(n.push(i),r&&l&&s.push((function(e){const t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;const o={};for(const t in n)o[t]=pa(e,n[t]);return l(e,o)})),r&&!p&&s.push((function(e){const t=e.theme,n=t?.components?.[r]?.variants;return n?da(e,n):null})),d||s.push(Yi),Array.isArray(o[0])){const e=o.shift(),t=new Array(n.length).fill(""),r=new Array(s.length).fill("");let i;i=[...t,...e,...r],i.raw=[...t,...e.raw,...r],n.unshift(i)}const c=[...n,...o,...s],u=h(...c);return e.muiName&&(u.muiName=e.muiName),"production"!==process.env.NODE_ENV&&(u.displayName=function(e,t,r){if(e)return`${e}${ri(t||"")}`;return`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ia(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Uo.ForwardRef:return aa(e,e.render,"ForwardRef");case Uo.Memo:return aa(e,e.type,"memo");default:return}}}(r)})`}(r,a,e)),u};return h.withConfig&&(m.withConfig=h.withConfig),m}}({themeId:"$$material",defaultTheme:Ts,rootShouldForwardProp:js}),As=function(e){let t,r;return function(n){let o=t;return void 0!==o&&n.theme===r||(qa.theme=n.theme,o=sa(e(qa)),t=o,r=n.theme),o}};function Ds(e){return Ga(e)}function Ms(e,t){return Ms=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ms(e,t)}"production"!==process.env.NODE_ENV&&(Po.node,Po.object.isRequired);var Rs=e.createContext(null);function Is(t,r){var n=Object.create(null);return t&&e.Children.map(t,(function(e){return e})).forEach((function(t){n[t.key]=function(t){return r&&e.isValidElement(t)?r(t):t}(t)})),n}function Vs(e,t,r){return null!=r[t]?r[t]:e.props[t]}function zs(t,r,n){var o=Is(t.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var c in t){if(o[c])for(n=0;n<o[c].length;n++){var l=o[c][n];s[o[c][n]]=r(l)}s[c]=r(c)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(r,o);return Object.keys(i).forEach((function(a){var s=i[a];if(e.isValidElement(s)){var c=a in r,l=a in o,u=r[a],p=e.isValidElement(u)&&!u.props.in;!l||c&&!p?l||!c||p?l&&c&&e.isValidElement(u)&&(i[a]=e.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:Vs(s,"exit",t),enter:Vs(s,"enter",t)})):i[a]=e.cloneElement(s,{in:!1}):i[a]=e.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Vs(s,"exit",t),enter:Vs(s,"enter",t)})}})),i}var Bs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Fs=function(t){var r,n;function o(e,r){var n,o=(n=t.call(this,e,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}n=t,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,Ms(r,n);var i=o.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(t,r){var n,o,i=r.children,a=r.handleExited;return{children:r.firstRender?(n=t,o=a,Is(n.children,(function(t){return e.cloneElement(t,{onExited:o.bind(null,t),in:!0,appear:Vs(t,"appear",n),enter:Vs(t,"enter",n),exit:Vs(t,"exit",n)})}))):zs(t,i,a),firstRender:!1}},i.handleExited=function(e,t){var r=Is(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=Jt({},t.children);return delete r[e.key],{children:r}})))},i.render=function(){var t=this.props,r=t.component,n=t.childFactory,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(t,["component","childFactory"]),i=this.state.contextValue,a=Bs(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===r?e.createElement(Rs.Provider,{value:i},a):e.createElement(Rs.Provider,{value:i},e.createElement(r,o,a))},o}(e.Component);Fs.propTypes="production"!==process.env.NODE_ENV?{component:Po.any,children:Po.node,appear:Po.bool,enter:Po.bool,exit:Po.bool,childFactory:Po.func}:{},Fs.defaultProps={component:"div",childFactory:function(e){return e}};class Ls{static create(){return new Ls}static use(){const e=Ba(Ls.create).current,[t,n]=r.useState(!1);return e.shouldMount=t,e.setShouldMount=n,r.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n}));return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then((()=>this.ref.current?.start(...e)))}stop(...e){this.mount().then((()=>this.ref.current?.stop(...e)))}pulsate(...e){this.mount().then((()=>this.ref.current?.pulsate(...e)))}}function Ws(e){const{className:t,classes:n,pulsate:o=!1,rippleX:i,rippleY:a,rippleSize:s,in:c,onExited:l,timeout:u}=e,[p,f]=r.useState(!1),h=ta(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),y={width:s,height:s,top:-s/2+a,left:-s/2+i},m=ta(n.child,p&&n.childLeaving,o&&n.childPulsate);return c||p||f(!0),r.useEffect((()=>{if(!c&&null!=l){const e=setTimeout(l,u);return()=>{clearTimeout(e)}}}),[l,c,u]),d.jsx("span",{className:h,style:y,children:d.jsx("span",{className:m})})}"production"!==process.env.NODE_ENV&&(Ws.propTypes={classes:Po.object.isRequired,className:Po.string,in:Po.bool,onExited:Po.func,pulsate:Po.bool,rippleSize:Po.number,rippleX:Po.number,rippleY:Po.number,timeout:Po.number.isRequired});const Us=oa("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ks=qn`
|
|
58
|
-
0% {
|
|
59
|
-
transform: scale(0);
|
|
60
|
-
opacity: 0.1;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
100% {
|
|
64
|
-
transform: scale(1);
|
|
65
|
-
opacity: 0.3;
|
|
66
|
-
}
|
|
67
|
-
`,Hs=qn`
|
|
68
|
-
0% {
|
|
69
|
-
opacity: 1;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
100% {
|
|
73
|
-
opacity: 0;
|
|
74
|
-
}
|
|
75
|
-
`,Gs=qn`
|
|
76
|
-
0% {
|
|
77
|
-
transform: scale(1);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
50% {
|
|
81
|
-
transform: scale(0.92);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
100% {
|
|
85
|
-
transform: scale(1);
|
|
86
|
-
}
|
|
87
|
-
`,qs=Ps("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ys=Ps(Ws,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
88
|
-
opacity: 0;
|
|
89
|
-
position: absolute;
|
|
90
|
-
|
|
91
|
-
&.${Us.rippleVisible} {
|
|
92
|
-
opacity: 0.3;
|
|
93
|
-
transform: scale(1);
|
|
94
|
-
animation-name: ${Ks};
|
|
95
|
-
animation-duration: ${550}ms;
|
|
96
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.${Us.ripplePulsate} {
|
|
100
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
& .${Us.child} {
|
|
104
|
-
opacity: 1;
|
|
105
|
-
display: block;
|
|
106
|
-
width: 100%;
|
|
107
|
-
height: 100%;
|
|
108
|
-
border-radius: 50%;
|
|
109
|
-
background-color: currentColor;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
& .${Us.childLeaving} {
|
|
113
|
-
opacity: 0;
|
|
114
|
-
animation-name: ${Hs};
|
|
115
|
-
animation-duration: ${550}ms;
|
|
116
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
& .${Us.childPulsate} {
|
|
120
|
-
position: absolute;
|
|
121
|
-
/* @noflip */
|
|
122
|
-
left: 0px;
|
|
123
|
-
top: 0;
|
|
124
|
-
animation-name: ${Gs};
|
|
125
|
-
animation-duration: 2500ms;
|
|
126
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
127
|
-
animation-iteration-count: infinite;
|
|
128
|
-
animation-delay: 200ms;
|
|
129
|
-
}
|
|
130
|
-
`,Xs=r.forwardRef((function(e,t){const n=Ds({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=n,[c,l]=r.useState([]),u=r.useRef(0),p=r.useRef(null);r.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[c]);const f=r.useRef(!1),h=Wa(),y=r.useRef(null),m=r.useRef(null),g=r.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:a}=e;l((e=>[...e,d.jsx(Ys,{classes:{ripple:ta(i.ripple,Us.ripple),rippleVisible:ta(i.rippleVisible,Us.rippleVisible),ripplePulsate:ta(i.ripplePulsate,Us.ripplePulsate),child:ta(i.child,Us.child),childLeaving:ta(i.childLeaving,Us.childLeaving),childPulsate:ta(i.childPulsate,Us.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},u.current)])),u.current+=1,p.current=a}),[i]),b=r.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&f.current)return void(f.current=!1);"touchstart"===e?.type&&(f.current=!0);const s=a?null:m.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,u,p;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(r-c.top)}if(i)p=Math.sqrt((2*c.width**2+c.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-l),l)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;p=Math.sqrt(e**2+t**2)}e?.touches?null===y.current&&(y.current=()=>{g({pulsate:n,rippleX:l,rippleY:u,rippleSize:p,cb:r})},h.start(80,(()=>{y.current&&(y.current(),y.current=null)}))):g({pulsate:n,rippleX:l,rippleY:u,rippleSize:p,cb:r})}),[o,g,h]),v=r.useCallback((()=>{b({},{pulsate:!0})}),[b]),w=r.useCallback(((e,t)=>{if(h.clear(),"touchend"===e?.type&&y.current)return y.current(),y.current=null,void h.start(0,(()=>{w(e,t)}));y.current=null,l((e=>e.length>0?e.slice(1):e)),p.current=t}),[h]);return r.useImperativeHandle(t,(()=>({pulsate:v,start:b,stop:w})),[v,b,w]),d.jsx(qs,{className:ta(Us.root,i.root,a),ref:m,...s,children:d.jsx(Fs,{component:null,exit:!0,children:c})})}));function Js(e){return na("MuiButtonBase",e)}"production"!==process.env.NODE_ENV&&(Xs.propTypes={center:Po.bool,classes:Po.object,className:Po.string});const Qs=oa("MuiButtonBase",["root","disabled","focusVisible"]),Zs=Ps("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"},[`&.${Qs.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ec=r.forwardRef((function(e,t){const n=Ds({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:c="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:p=!1,focusRipple:f=!1,focusVisibleClassName:h,LinkComponent:y="a",onBlur:m,onClick:g,onContextMenu:b,onDragLeave:v,onFocus:w,onFocusVisible:S,onKeyDown:E,onKeyUp:x,onMouseDown:k,onMouseLeave:O,onMouseUp:_,onTouchEnd:$,onTouchMove:N,onTouchStart:C,tabIndex:T=0,TouchRippleProps:j,touchRippleRef:P,type:A,...D}=n,M=r.useRef(null),R=Ls.use(),I=Va(R.ref,P),[V,z]=r.useState(!1);l&&V&&z(!1),r.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),M.current.focus()}})),[]);const B=R.shouldMount&&!u&&!l;r.useEffect((()=>{V&&f&&!u&&R.pulsate()}),[u,f,V,R]);const F=tc(R,"start",k,p),L=tc(R,"stop",b,p),W=tc(R,"stop",v,p),U=tc(R,"stop",_,p),K=tc(R,"stop",(e=>{V&&e.preventDefault(),O&&O(e)}),p),H=tc(R,"start",C,p),G=tc(R,"stop",$,p),q=tc(R,"stop",N,p),Y=tc(R,"stop",(e=>{Ua(e.target)||z(!1),m&&m(e)}),!1),X=Ia((e=>{M.current||(M.current=e.currentTarget),Ua(e.target)&&(z(!0),S&&S(e)),w&&w(e)})),J=()=>{const e=M.current;return c&&"button"!==c&&!("A"===e.tagName&&e.href)},Q=Ia((e=>{f&&!e.repeat&&V&&" "===e.key&&R.stop(e,(()=>{R.start(e)})),e.target===e.currentTarget&&J()&&" "===e.key&&e.preventDefault(),E&&E(e),e.target===e.currentTarget&&J()&&"Enter"===e.key&&!l&&(e.preventDefault(),g&&g(e))})),Z=Ia((e=>{f&&" "===e.key&&V&&!e.defaultPrevented&&R.stop(e,(()=>{R.pulsate(e)})),x&&x(e),g&&e.target===e.currentTarget&&J()&&" "===e.key&&!e.defaultPrevented&&g(e)}));let ee=c;"button"===ee&&(D.href||D.to)&&(ee=y);const te={};"button"===ee?(te.type=void 0===A?"button":A,te.disabled=l):(D.href||D.to||(te.role="button"),l&&(te["aria-disabled"]=l));const re=Va(t,M),ne={...n,centerRipple:i,component:c,disabled:l,disableRipple:u,disableTouchRipple:p,focusRipple:f,tabIndex:T,focusVisible:V},oe=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=Ka({root:["root",t&&"disabled",r&&"focusVisible"]},Js,o);return r&&n&&(i.root+=` ${n}`),i})(ne);return d.jsxs(Zs,{as:ee,className:ta(oe.root,s),ownerState:ne,onBlur:Y,onClick:g,onContextMenu:L,onFocus:X,onKeyDown:Q,onKeyUp:Z,onMouseDown:F,onMouseLeave:K,onMouseUp:U,onDragLeave:W,onTouchEnd:G,onTouchMove:q,onTouchStart:H,ref:re,tabIndex:l?-1:T,type:A,...te,...D,children:[a,B?d.jsx(Xs,{ref:I,center:i,...j}):null]})}));function tc(e,t,r,n=!1){return Ia((o=>(r&&r(o),n||e[t](o),!0)))}function rc(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}function nc(e){return na("MuiCircularProgress",e)}"production"!==process.env.NODE_ENV&&(ec.propTypes={action:Aa,centerRipple:Po.bool,children:Po.node,classes:Po.object,className:Po.string,component:Pa,disabled:Po.bool,disableRipple:Po.bool,disableTouchRipple:Po.bool,focusRipple:Po.bool,focusVisibleClassName:Po.string,href:Po.any,LinkComponent:Po.elementType,onBlur:Po.func,onClick:Po.func,onContextMenu:Po.func,onDragLeave:Po.func,onFocus:Po.func,onFocusVisible:Po.func,onKeyDown:Po.func,onKeyUp:Po.func,onMouseDown:Po.func,onMouseLeave:Po.func,onMouseUp:Po.func,onTouchEnd:Po.func,onTouchMove:Po.func,onTouchStart:Po.func,sx:Po.oneOfType([Po.arrayOf(Po.oneOfType([Po.func,Po.object,Po.bool])),Po.func,Po.object]),tabIndex:Po.number,TouchRippleProps:Po.object,touchRippleRef:Po.oneOfType([Po.func,Po.shape({current:Po.shape({pulsate:Po.func.isRequired,start:Po.func.isRequired,stop:Po.func.isRequired})})]),type:Po.oneOfType([Po.oneOf(["button","reset","submit"]),Po.string])}),oa("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oc=44,ic=qn`
|
|
131
|
-
0% {
|
|
132
|
-
transform: rotate(0deg);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
100% {
|
|
136
|
-
transform: rotate(360deg);
|
|
137
|
-
}
|
|
138
|
-
`,ac=qn`
|
|
139
|
-
0% {
|
|
140
|
-
stroke-dasharray: 1px, 200px;
|
|
141
|
-
stroke-dashoffset: 0;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
50% {
|
|
145
|
-
stroke-dasharray: 100px, 200px;
|
|
146
|
-
stroke-dashoffset: -15px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
100% {
|
|
150
|
-
stroke-dasharray: 1px, 200px;
|
|
151
|
-
stroke-dashoffset: -126px;
|
|
152
|
-
}
|
|
153
|
-
`,sc="string"!=typeof ic?Gn`
|
|
154
|
-
animation: ${ic} 1.4s linear infinite;
|
|
155
|
-
`:null,cc="string"!=typeof ac?Gn`
|
|
156
|
-
animation: ${ac} 1.4s ease-in-out infinite;
|
|
157
|
-
`:null,lc=Ps("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${ri(r.color)}`]]}})(As((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:sc||{animation:`${ic} 1.4s linear infinite`}},...Object.entries(e.palette).filter(rc()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),uc=Ps("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),pc=Ps("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${ri(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(As((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:cc||{animation:`${ac} 1.4s ease-in-out infinite`}}]})))),dc=r.forwardRef((function(e,t){const r=Ds({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:c=3.6,value:l=0,variant:u="indeterminate",...p}=r,f={...r,color:o,disableShrink:i,size:a,thickness:c,value:l,variant:u},h=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e;return Ka({root:["root",r,`color${ri(n)}`],svg:["svg"],circle:["circle",`circle${ri(r)}`,o&&"circleDisableShrink"]},nc,t)})(f),y={},m={},g={};if("determinate"===u){const e=2*Math.PI*((oc-c)/2);y.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(l),y.strokeDashoffset=`${((100-l)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return d.jsx(lc,{className:ta(h.root,n),style:{width:a,height:a,...m,...s},ownerState:f,ref:t,role:"progressbar",...g,...p,children:d.jsx(uc,{className:h.svg,ownerState:f,viewBox:"22 22 44 44",children:d.jsx(pc,{className:h.circle,style:y,ownerState:f,cx:oc,cy:oc,r:(oc-c)/2,fill:"none",strokeWidth:c})})})}));function fc(e){return na("MuiButton",e)}"production"!==process.env.NODE_ENV&&(dc.propTypes={classes:Po.object,className:Po.string,color:Po.oneOfType([Po.oneOf(["inherit","primary","secondary","error","info","success","warning"]),Po.string]),disableShrink:ja(Po.bool,(e=>e.disableShrink&&e.variant&&"indeterminate"!==e.variant?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null)),size:Po.oneOfType([Po.number,Po.string]),style:Po.object,sx:Po.oneOfType([Po.arrayOf(Po.oneOfType([Po.func,Po.object,Po.bool])),Po.func,Po.object]),thickness:Po.number,value:Po.number,variant:Po.oneOf(["determinate","indeterminate"])});const hc=oa("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","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),yc=r.createContext({});"production"!==process.env.NODE_ENV&&(yc.displayName="ButtonGroupContext");const mc=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(mc.displayName="ButtonGroupButtonContext");const gc=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],bc=Ps(ec,{shouldForwardProp:e=>js(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ri(r.color)}`],t[`size${ri(r.size)}`],t[`${r.variant}Size${ri(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(As((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],r="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${hc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${hc.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${hc.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${hc.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(rc()).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:ka(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ka(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ka(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ka(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ka(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${hc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${hc.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${hc.loading}`]:{color:"transparent"}}}]}}))),vc=Ps("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${ri(r.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...gc]}))),wc=Ps("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${ri(r.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...gc]}))),Sc=Ps("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}))),Ec=Ps("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),xc=r.forwardRef((function(e,t){const n=r.useContext(yc),o=r.useContext(mc),i=Ds({props:ya(n,e),name:"MuiButton"}),{children:a,color:s="primary",component:c="button",className:l,disabled:u=!1,disableElevation:p=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:y,fullWidth:m=!1,id:g,loading:b=null,loadingIndicator:v,loadingPosition:w="center",size:S="medium",startIcon:E,type:x,variant:k="text",...O}=i,_=Ra(g),$=v??d.jsx(dc,{"aria-labelledby":_,color:"inherit",size:16}),N={...i,color:s,component:c,disabled:u,disableElevation:p,disableFocusRipple:f,fullWidth:m,loading:b,loadingIndicator:$,loadingPosition:w,size:S,type:x,variant:k},C=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,loading:a,loadingPosition:s,classes:c}=e,l=Ka({root:["root",a&&"loading",i,`${i}${ri(t)}`,`size${ri(o)}`,`${i}Size${ri(o)}`,`color${ri(t)}`,r&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${ri(s)}`],startIcon:["icon","startIcon",`iconSize${ri(o)}`],endIcon:["icon","endIcon",`iconSize${ri(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},fc,c);return{...c,...l}})(N),T=(E||b&&"start"===w)&&d.jsx(vc,{className:C.startIcon,ownerState:N,children:E||d.jsx(Ec,{className:C.loadingIconPlaceholder,ownerState:N})}),j=(h||b&&"end"===w)&&d.jsx(wc,{className:C.endIcon,ownerState:N,children:h||d.jsx(Ec,{className:C.loadingIconPlaceholder,ownerState:N})}),P=o||"",A="boolean"==typeof b?d.jsx("span",{className:C.loadingWrapper,style:{display:"contents"},children:b&&d.jsx(Sc,{className:C.loadingIndicator,ownerState:N,children:$})}):null;return d.jsxs(bc,{ownerState:N,className:ta(n.className,C.root,l,P),component:c,disabled:u||b,focusRipple:!f,focusVisibleClassName:ta(C.focusVisible,y),ref:t,type:x,id:b?_:g,...O,classes:C,children:[T,"end"!==w&&A,a,"end"===w&&A,j]})}));"production"!==process.env.NODE_ENV&&(xc.propTypes={children:Po.node,classes:Po.object,className:Po.string,color:Po.oneOfType([Po.oneOf(["inherit","primary","secondary","success","error","info","warning"]),Po.string]),component:Po.elementType,disabled:Po.bool,disableElevation:Po.bool,disableFocusRipple:Po.bool,disableRipple:Po.bool,endIcon:Po.node,focusVisibleClassName:Po.string,fullWidth:Po.bool,href:Po.string,id:Po.string,loading:Po.bool,loadingIndicator:Po.node,loadingPosition:Po.oneOf(["center","end","start"]),size:Po.oneOfType([Po.oneOf(["small","medium","large"]),Po.string]),startIcon:Po.node,sx:Po.oneOfType([Po.arrayOf(Po.oneOfType([Po.func,Po.object,Po.bool])),Po.func,Po.object]),type:Po.oneOfType([Po.oneOf(["button","reset","submit"]),Po.string]),variant:Po.oneOfType([Po.oneOf(["contained","outlined","text"]),Po.string])});var kc=function(){var e=R((function(e){return e.counter.value})),t=A();return d.jsxs(d.Fragment,{children:[d.jsxs("div",{children:["Counter : ",e]}),d.jsx(xc,{variant:"contained",color:"success",onClick:function(){t(ht.increament())},children:"increment"}),d.jsx(xc,{variant:"contained",color:"error",onClick:function(){t(ht.decreament())},children:"decrement"})]})};exports.BaseApp=function(e){return d.jsxs($,{store:yt,children:[d.jsx("div",{children:"Base App"}),d.jsx(kc,{})]})};
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("react-redux"),i=require("@reduxjs/toolkit"),n=require("@mui/material"),t=require("@fortawesome/fontawesome-svg-core"),c=require("@fortawesome/free-brands-svg-icons"),a=require("@fortawesome/free-regular-svg-icons"),s=require("@fortawesome/free-solid-svg-icons"),o=require("@mui/x-license");require("react-toastify/dist/ReactToastify.css");var u=i.createSlice({name:"counter",initialState:{value:0},reducers:{increament:function(e){e.value=e.value+1},decreament:function(e){e.value=e.value-1}}}),d=u.actions,l=u.reducer,f=i.configureStore({reducer:{counter:l}}),v=function(){var i=r.useSelector((function(e){return e.counter.value})),t=r.useDispatch();return e.jsxs(e.Fragment,{children:[e.jsxs("div",{children:["Counter : ",i]}),e.jsx(n.Button,{variant:"contained",color:"success",onClick:function(){t(d.increament())},children:"increment"}),e.jsx(n.Button,{variant:"contained",color:"error",onClick:function(){t(d.decreament())},children:"decrement"})]})};o.LicenseInfo.setLicenseKey("c2bd611fa642666253500ab9c8e4f78fTz0xMTE4MjEsRT0xNzc2OTg4Nzk5MDAwLFM9cHJlbWl1bSxMTT1zdWJzY3JpcHRpb24sUFY9aW5pdGlhbCxLVj0y"),t.library.add(c.fab),t.library.add(a.far),t.library.add(s.fas);exports.BaseApp=function(i){return e.jsxs(r.Provider,{store:f,children:[e.jsx("div",{children:"Base App"}),e.jsx(v,{})]})};
|
|
158
2
|
//# sourceMappingURL=index.js.map
|