@wandelbots/wandelbots-js-react-components 3.3.2-pr.docs-robot.419.890441d → 3.3.2-pr.fix-update-dependencies.436.72f7910
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/3d.cjs.js +1 -1
- package/dist/3d.es.js +1 -1
- package/dist/{LoadingCover-CunO727J.js → LoadingCover-Dr9hDTku.js} +2 -2
- package/dist/{LoadingCover-CunO727J.js.map → LoadingCover-Dr9hDTku.js.map} +1 -1
- package/dist/{LoadingCover-TeNDvBAl.cjs → LoadingCover-r2yhJZF9.cjs} +2 -2
- package/dist/{LoadingCover-TeNDvBAl.cjs.map → LoadingCover-r2yhJZF9.cjs.map} +1 -1
- package/dist/{WandelscriptEditor-b2onJkmt.cjs → WandelscriptEditor-Dj7TBCkF.cjs} +2 -2
- package/dist/{WandelscriptEditor-b2onJkmt.cjs.map → WandelscriptEditor-Dj7TBCkF.cjs.map} +1 -1
- package/dist/{WandelscriptEditor-CB2JeI-5.js → WandelscriptEditor-DnJvITTA.js} +3 -3
- package/dist/{WandelscriptEditor-CB2JeI-5.js.map → WandelscriptEditor-DnJvITTA.js.map} +1 -1
- package/dist/core.cjs.js +1 -1
- package/dist/core.es.js +4 -4
- package/dist/externalizeComponent.d.ts.map +1 -1
- package/dist/index-CAib4NKw.js +2261 -0
- package/dist/index-CAib4NKw.js.map +1 -0
- package/dist/{index-KsgdpgvF.cjs → index-CqMZL0FV.cjs} +2 -2
- package/dist/{index-KsgdpgvF.cjs.map → index-CqMZL0FV.cjs.map} +1 -1
- package/dist/{index-BSBCGCFW.js → index-CxasuX80.js} +2 -2
- package/dist/{index-BSBCGCFW.js.map → index-CxasuX80.js.map} +1 -1
- package/dist/index-DxwppshT.cjs +29 -0
- package/dist/index-DxwppshT.cjs.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{manufacturerHomePositions--1G0LNoV.cjs → manufacturerHomePositions-Ca80ycLi.cjs} +2 -2
- package/dist/{manufacturerHomePositions--1G0LNoV.cjs.map → manufacturerHomePositions-Ca80ycLi.cjs.map} +1 -1
- package/dist/{manufacturerHomePositions-CZto6Qyy.js → manufacturerHomePositions-CgaG5vaK.js} +3 -3
- package/dist/{manufacturerHomePositions-CZto6Qyy.js.map → manufacturerHomePositions-CgaG5vaK.js.map} +1 -1
- package/dist/theming-BQcKj8Gp.cjs +133 -0
- package/dist/theming-BQcKj8Gp.cjs.map +1 -0
- package/dist/{theming-BHuWUUZY.js → theming-Bafjg0Wg.js} +8553 -5916
- package/dist/theming-Bafjg0Wg.js.map +1 -0
- package/dist/wandelscript.cjs.js +1 -1
- package/dist/wandelscript.es.js +1 -1
- package/package.json +12 -12
- package/src/externalizeComponent.tsx +1 -17
- package/dist/index-DH-ITo65.cjs +0 -115
- package/dist/index-DH-ITo65.cjs.map +0 -1
- package/dist/index-DLrnRIOH.js +0 -5676
- package/dist/index-DLrnRIOH.js.map +0 -1
- package/dist/theming-BHuWUUZY.js.map +0 -1
- package/dist/theming-neVGQ-FN.cjs +0 -79
- package/dist/theming-neVGQ-FN.cjs.map +0 -1
package/dist/wandelscript.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./WandelscriptEditor-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./WandelscriptEditor-Dj7TBCkF.cjs");exports.WandelscriptEditor=t.WandelscriptEditor;
|
|
2
2
|
//# sourceMappingURL=wandelscript.cjs.js.map
|
package/dist/wandelscript.es.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "3.3.2-pr.
|
|
3
|
+
"version": "3.3.2-pr.fix-update-dependencies.436.72f7910",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
"@mui/material": "^7.1.1",
|
|
72
72
|
"@react-three/drei": "^10.2.0",
|
|
73
73
|
"@react-three/fiber": "^9.1.2",
|
|
74
|
-
"@rollup/plugin-commonjs": "^
|
|
74
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
75
75
|
"@rollup/plugin-json": "^6.1.0",
|
|
76
76
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
77
77
|
"@rollup/plugin-terser": "^0.4.4",
|
|
78
78
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
79
79
|
"@shikijs/monaco": "^3.1.0",
|
|
80
80
|
"@storybook/addon-docs": "^10.1.7",
|
|
81
|
-
"@storybook/react-vite": "^10.1.
|
|
81
|
+
"@storybook/react-vite": "^10.1.10",
|
|
82
82
|
"@storybook/test-runner": "^0.24.1",
|
|
83
83
|
"@svgr/rollup": "^8.1.0",
|
|
84
84
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -86,19 +86,19 @@
|
|
|
86
86
|
"@testing-library/user-event": "^14.6.1",
|
|
87
87
|
"@types/lodash-es": "^4.17.12",
|
|
88
88
|
"@types/react": "^19.1.8",
|
|
89
|
-
"@types/three": "^0.
|
|
89
|
+
"@types/three": "^0.182.0",
|
|
90
90
|
"@vitejs/plugin-react": "^4.3.4",
|
|
91
91
|
"@wandelbots/nova-js": "3.3.1",
|
|
92
92
|
"add": "^2.0.6",
|
|
93
|
-
"eslint-plugin-storybook": "^10.1.
|
|
94
|
-
"glob": "^
|
|
93
|
+
"eslint-plugin-storybook": "^10.1.10",
|
|
94
|
+
"glob": "^13.0.0",
|
|
95
95
|
"http-server": "^14.1.1",
|
|
96
96
|
"husky": "^9.1.7",
|
|
97
97
|
"i18next": "^25.2.1",
|
|
98
98
|
"jest-simple-dot-reporter": "^1.0.5",
|
|
99
99
|
"jest-summary-reporter": "^0.0.2",
|
|
100
|
-
"jsdom": "^
|
|
101
|
-
"monaco-editor": "^0.
|
|
100
|
+
"jsdom": "^27.4.0",
|
|
101
|
+
"monaco-editor": "^0.55.1",
|
|
102
102
|
"nodemon": "^3.1.9",
|
|
103
103
|
"npm-run-all": "^4.1.5",
|
|
104
104
|
"postcss": "^8.5.3",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"shiki": "^3.1.0",
|
|
117
117
|
"storybook": "^10.1.7",
|
|
118
118
|
"storybook-preset-inline-svg": "^1.0.1",
|
|
119
|
-
"three": "^0.
|
|
119
|
+
"three": "^0.182.0",
|
|
120
120
|
"three-stdlib": "^2.35.14",
|
|
121
121
|
"ts-dedent": "^2.2.0",
|
|
122
122
|
"typescript": "^5.8.2",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"vite": "^6.2.0",
|
|
125
125
|
"vite-plugin-svgr": "^4.3.0",
|
|
126
126
|
"vitest": "^3.0.7",
|
|
127
|
-
"wait-on": "^
|
|
127
|
+
"wait-on": "^9.0.3"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
130
|
"@emotion/react": "^11.11.1",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"react": "^18.0.0 || ^19.0.0",
|
|
139
139
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
140
140
|
"shiki": "^3.1.0",
|
|
141
|
-
"three": ">=0.
|
|
141
|
+
"three": ">=0.182",
|
|
142
142
|
"three-stdlib": ">=2"
|
|
143
143
|
},
|
|
144
144
|
"peerDependenciesMeta": {
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
},
|
|
170
170
|
"dependencies": {
|
|
171
171
|
"@mui/x-charts": "^8.9.0",
|
|
172
|
-
"@mui/x-data-grid": "^8.
|
|
172
|
+
"@mui/x-data-grid": "^8.23.0",
|
|
173
173
|
"i18next-browser-languagedetector": "^8.0.4",
|
|
174
174
|
"lodash-es": "^4.17.21",
|
|
175
175
|
"mobx": "^6.13.6",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ThemeProvider, useTheme } from "@mui/material/styles"
|
|
2
1
|
import { type FC } from "react"
|
|
3
2
|
import { I18nextProvider } from "react-i18next"
|
|
4
3
|
import { i18n } from "./i18n/config"
|
|
@@ -23,20 +22,5 @@ export function externalizeComponent<T extends React.JSX.ElementType>(
|
|
|
23
22
|
const NovaComponentsProvider: FC<{ children: React.ReactNode }> = ({
|
|
24
23
|
children,
|
|
25
24
|
}) => {
|
|
26
|
-
|
|
27
|
-
let theme
|
|
28
|
-
try {
|
|
29
|
-
theme = useTheme()
|
|
30
|
-
} catch {
|
|
31
|
-
// No theme context exists, which is fine - MUI will use defaults
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const content = <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
|
|
35
|
-
|
|
36
|
-
// If a theme exists in parent context, pass it through to maintain theme inheritance
|
|
37
|
-
return theme ? (
|
|
38
|
-
<ThemeProvider theme={theme}>{content}</ThemeProvider>
|
|
39
|
-
) : (
|
|
40
|
-
content
|
|
41
|
-
)
|
|
25
|
+
return <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
|
|
42
26
|
}
|
package/dist/index-DH-ITo65.cjs
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";const vn=require("react"),$o=require("react-i18next"),Io=require("i18next"),Bo=require("i18next-browser-languagedetector"),O=require("prop-types"),sr=require("@emotion/react"),Mo=require("@emotion/styled");function Do(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const N=Do(vn);var ut={exports:{}},Ge={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Dr;function jo(){if(Dr)return Ge;Dr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var a in o)a!=="key"&&(i[a]=o[a])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:s,ref:o!==void 0?o:null,props:i}}return Ge.Fragment=t,Ge.jsx=r,Ge.jsxs=r,Ge}var Ke={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var jr;function Fo(){return jr||(jr=1,process.env.NODE_ENV!=="production"&&(function(){function e(S){if(S==null)return null;if(typeof S=="function")return S.$$typeof===P?null:S.displayName||S.name||null;if(typeof S=="string")return S;switch(S){case y:return"Fragment";case k:return"Profiler";case x:return"StrictMode";case A:return"Suspense";case L:return"SuspenseList";case M:return"Activity"}if(typeof S=="object")switch(typeof S.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case c:return"Portal";case T:return S.displayName||"Context";case I:return(S._context.displayName||"Context")+".Consumer";case j:var w=S.render;return S=S.displayName,S||(S=w.displayName||w.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case v:return w=S.displayName||null,w!==null?w:e(S.type)||"Memo";case _:w=S._payload,S=S._init;try{return e(S(w))}catch{}}return null}function t(S){return""+S}function r(S){try{t(S);var w=!1}catch{w=!0}if(w){w=console;var F=w.error,q=typeof Symbol=="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return F.call(w,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),t(S)}}function n(S){if(S===y)return"<>";if(typeof S=="object"&&S!==null&&S.$$typeof===_)return"<...>";try{var w=e(S);return w?"<"+w+">":"<...>"}catch{return"<...>"}}function o(){var S=l.A;return S===null?null:S.getOwner()}function i(){return Error("react-stack-top-frame")}function s(S){if(R.call(S,"key")){var w=Object.getOwnPropertyDescriptor(S,"key").get;if(w&&w.isReactWarning)return!1}return S.key!==void 0}function a(S,w){function F(){B||(B=!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)",w))}F.isReactWarning=!0,Object.defineProperty(S,"key",{get:F,configurable:!0})}function u(){var S=e(this.type);return te[S]||(te[S]=!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.")),S=this.props.ref,S!==void 0?S:null}function f(S,w,F,q,ue,$e){var W=F.ref;return S={$$typeof:d,type:S,key:w,props:F,_owner:q},(W!==void 0?W:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:u}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ue}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$e}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function m(S,w,F,q,ue,$e){var W=w.children;if(W!==void 0)if(q)if(C(W)){for(q=0;q<W.length;q++)h(W[q]);Object.freeze&&Object.freeze(W)}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 h(W);if(R.call(w,"key")){W=e(S);var Se=Object.keys(w).filter(function(Ut){return Ut!=="key"});q=0<Se.length?"{key: someKey, "+Se.join(": ..., ")+": ...}":"{key: someKey}",Ae[W+q]||(Se=0<Se.length?"{"+Se.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
-
let props = %s;
|
|
19
|
-
<%s {...props} />
|
|
20
|
-
React keys must be passed directly to JSX without using spread:
|
|
21
|
-
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,q,W,Se,W),Ae[W+q]=!0)}if(W=null,F!==void 0&&(r(F),W=""+F),s(w)&&(r(w.key),W=""+w.key),"key"in w){F={};for(var Ie in w)Ie!=="key"&&(F[Ie]=w[Ie])}else F=w;return W&&a(F,typeof S=="function"?S.displayName||S.name||"Unknown":S),f(S,W,F,o(),ue,$e)}function h(S){b(S)?S._store&&(S._store.validated=1):typeof S=="object"&&S!==null&&S.$$typeof===_&&(S._payload.status==="fulfilled"?b(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function b(S){return typeof S=="object"&&S!==null&&S.$$typeof===d}var E=vn,d=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),T=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),P=Symbol.for("react.client.reference"),l=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.prototype.hasOwnProperty,C=Array.isArray,D=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(S){return S()}};var B,te={},K=E.react_stack_bottom_frame.bind(E,i)(),be=D(n(i)),Ae={};Ke.Fragment=y,Ke.jsx=function(S,w,F){var q=1e4>l.recentlyCreatedOwnerStacks++;return m(S,w,F,!1,q?Error("react-stack-top-frame"):K,q?D(n(S)):be)},Ke.jsxs=function(S,w,F){var q=1e4>l.recentlyCreatedOwnerStacks++;return m(S,w,F,!0,q?Error("react-stack-top-frame"):K,q?D(n(S)):be)}})()),Ke}var Fr;function Lo(){return Fr||(Fr=1,process.env.NODE_ENV==="production"?ut.exports=jo():ut.exports=Fo()),ut.exports}var G=Lo();function Re(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const we="$$material";function Uo(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Vo={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};function zo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Jo=/[A-Z]|^ms/g,qo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_n=function(t){return t.charCodeAt(1)===45},Lr=function(t){return t!=null&&typeof t!="boolean"},Jt=zo(function(e){return _n(e)?e:e.replace(Jo,"-$&").toLowerCase()}),Ur=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(qo,function(n,o,i){return Te={name:o,styles:i,next:Te},o})}return Vo[t]!==1&&!_n(t)&&typeof r=="number"&&r!==0?r+"px":r};function bt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Te={name:o.name,styles:o.styles,next:Te},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Te={name:s.name,styles:s.styles,next:Te},s=s.next;var a=i.styles+";";return a}return Wo(e,t,r)}}var u=r;return u}function Wo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=bt(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var a=s;Lr(a)&&(n+=Jt(i)+":"+Ur(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var u=0;u<s.length;u++)Lr(s[u])&&(n+=Jt(i)+":"+Ur(i,s[u])+";");else{var f=bt(e,t,s);switch(i){case"animation":case"animationName":{n+=Jt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var Vr=/label:\s*([^\s;{]+)\s*(;|$)/g,Te;function Ho(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Te=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=bt(r,t,i);else{var s=i;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=bt(r,t,e[a]),n){var u=i;o+=u[a]}Vr.lastIndex=0;for(var f="",m;(m=Vr.exec(o))!==null;)f+="-"+m[1];var h=Uo(o)+f;return{name:h,styles:o,next:Te}}function Go(e){return e==null||Object.keys(e).length===0}function ar(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Go(o)?r:o):t;return G.jsx(sr.Global,{styles:n})}process.env.NODE_ENV!=="production"&&(ar.propTypes={defaultTheme:O.object,styles:O.oneOfType([O.array,O.string,O.object,O.func])});/**
|
|
23
|
-
* @mui/styled-engine v7.3.6
|
|
24
|
-
*
|
|
25
|
-
* @license MIT
|
|
26
|
-
* This source code is licensed under the MIT license found in the
|
|
27
|
-
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/function Ko(e,t){const r=Mo(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
29
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Yo(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const zr=[];function Pn(e){return zr[0]=e,Ho(zr)}var ft={exports:{}},z={};/**
|
|
30
|
-
* @license React
|
|
31
|
-
* react-is.production.js
|
|
32
|
-
*
|
|
33
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
34
|
-
*
|
|
35
|
-
* This source code is licensed under the MIT license found in the
|
|
36
|
-
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/var Jr;function Xo(){if(Jr)return z;Jr=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"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),E=Symbol.for("react.client.reference");function d(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case u:case f:case b:return c;default:switch(c=c&&c.$$typeof,c){case s:case a:case h:case m:return c;case i:return c;default:return y}}case t:return y}}}return z.ContextConsumer=i,z.ContextProvider=s,z.Element=e,z.ForwardRef=a,z.Fragment=r,z.Lazy=h,z.Memo=m,z.Portal=t,z.Profiler=o,z.StrictMode=n,z.Suspense=u,z.SuspenseList=f,z.isContextConsumer=function(c){return d(c)===i},z.isContextProvider=function(c){return d(c)===s},z.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},z.isForwardRef=function(c){return d(c)===a},z.isFragment=function(c){return d(c)===r},z.isLazy=function(c){return d(c)===h},z.isMemo=function(c){return d(c)===m},z.isPortal=function(c){return d(c)===t},z.isProfiler=function(c){return d(c)===o},z.isStrictMode=function(c){return d(c)===n},z.isSuspense=function(c){return d(c)===u},z.isSuspenseList=function(c){return d(c)===f},z.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===u||c===f||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===m||c.$$typeof===s||c.$$typeof===i||c.$$typeof===a||c.$$typeof===E||c.getModuleId!==void 0)},z.typeOf=d,z}var J={};/**
|
|
38
|
-
* @license React
|
|
39
|
-
* react-is.development.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var qr;function Qo(){return qr||(qr=1,process.env.NODE_ENV!=="production"&&(function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case f:case m:case E:return c;default:switch(c=c&&c.$$typeof,c){case a:case u:case b:case h:return c;case s:return c;default:return y}}case r:return y}}}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"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.view_transition"),d=Symbol.for("react.client.reference");J.ContextConsumer=s,J.ContextProvider=a,J.Element=t,J.ForwardRef=u,J.Fragment=n,J.Lazy=b,J.Memo=h,J.Portal=r,J.Profiler=i,J.StrictMode=o,J.Suspense=f,J.SuspenseList=m,J.isContextConsumer=function(c){return e(c)===s},J.isContextProvider=function(c){return e(c)===a},J.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},J.isForwardRef=function(c){return e(c)===u},J.isFragment=function(c){return e(c)===n},J.isLazy=function(c){return e(c)===b},J.isMemo=function(c){return e(c)===h},J.isPortal=function(c){return e(c)===r},J.isProfiler=function(c){return e(c)===i},J.isStrictMode=function(c){return e(c)===o},J.isSuspense=function(c){return e(c)===f},J.isSuspenseList=function(c){return e(c)===m},J.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===f||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===b||c.$$typeof===h||c.$$typeof===a||c.$$typeof===s||c.$$typeof===u||c.$$typeof===d||c.getModuleId!==void 0)},J.typeOf=e})()),J}var Wr;function Zo(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?ft.exports=Xo():ft.exports=Qo()),ft.exports}var lr=Zo();function Ce(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function kn(e){if(N.isValidElement(e)||lr.isValidElementType(e)||!Ce(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=kn(e[r])}),t}function oe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ce(e)&&Ce(t)&&Object.keys(t).forEach(o=>{N.isValidElement(t[o])||lr.isValidElementType(t[o])?n[o]=t[o]:Ce(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ce(e[o])?n[o]=oe(e[o],t[o],r):r.clone?n[o]=Ce(t[o])?kn(t[o]):t[o]:n[o]=t[o]}),n}const ei=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function ti(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=ei(t),s=Object.keys(i);function a(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${r})`}function u(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-n/100}${r})`}function f(b,E){const d=s.indexOf(E);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${r}) and (max-width:${(d!==-1&&typeof t[s[d]]=="number"?t[s[d]]:E)-n/100}${r})`}function m(b){return s.indexOf(b)+1<s.length?f(b,s[s.indexOf(b)+1]):a(b)}function h(b){const E=s.indexOf(b);return E===0?a(s[1]):E===s.length-1?u(s[E]):f(b,s[s.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:a,down:u,between:f,only:m,not:h,unit:r,...o}}function Hr(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var s,a;const i=/min-width:\s*([0-9.]+)/;return+(((s=n.match(i))==null?void 0:s[1])||0)-+(((a=o.match(i))==null?void 0:a[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function ri(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ni(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
46
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Re(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function oi(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...a)=>t(e.breakpoints.up(...a),s),i.down=(...a)=>t(e.breakpoints.down(...a),s),i.between=(...a)=>t(e.breakpoints.between(...a),s),i.only=(...a)=>t(e.breakpoints.only(...a),s),i.not=(...a)=>{const u=t(e.breakpoints.not(...a),s);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const ii={borderRadius:4},xe=process.env.NODE_ENV!=="production"?O.oneOfType([O.number,O.string,O.object,O.array]):{};function et(e,t){return t?oe(e,t,{clone:!1}):e}const wt={xs:0,sm:600,md:900,lg:1200,xl:1536},Gr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wt[e]}px)`},si={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:wt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function ye(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Gr;return t.reduce((s,a,u)=>(s[i.up(i.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Gr;return Object.keys(t).reduce((s,a)=>{if(ri(i.keys,a)){const u=ni(n.containerQueries?n:si,a);u&&(s[u]=r(t[a],a))}else if(Object.keys(i.values||wt).includes(a)){const u=i.up(a);s[u]=r(t[a],a)}else{const u=a;s[u]=t[u]}return s},{})}return r(t)}function Nn(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Qt(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function ai(e,...t){const r=Nn(e),n=[r,...t].reduce((o,i)=>oe(o,i),{});return Qt(Object.keys(r),n)}function li(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function ci({values:e,breakpoints:t,base:r}){const n=r||li(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((s,a,u)=>(Array.isArray(e)?(s[a]=e[u]!=null?e[u]:e[i],i=u):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[i],i=a):s[a]=e,s),{})}function cr(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Re(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Rt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function St(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Rt(e,r)||n,t&&(o=t(o,n,e)),o}function ee(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],u=s.theme,f=Rt(u,n)||{};return ye(s,a,h=>{let b=St(f,o,h);return h===b&&typeof h=="string"&&(b=St(f,o,`${t}${h==="default"?"":cr(h)}`,h)),r===!1?b:{[r]:b}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:xe}:{},i.filterProps=[t],i}function ui(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const fi={m:"margin",p:"padding"},di={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Kr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},mi=ui(e=>{if(e.length>2)if(Kr[e])e=Kr[e];else return[e];const[t,r]=e.split(""),n=fi[t],o=di[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ot=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],pi=[...Ot,...xt];function nt(e,t,r,n){const o=Rt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
47
|
-
`)):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(`
|
|
48
|
-
`)));const a=o[s];return i>=0?a:typeof a=="number"?-a:typeof a=="string"&&a.startsWith("var(")?`calc(-1 * ${a})`:`-${a}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
49
|
-
`)),()=>{})}function At(e){return nt(e,"spacing",8,"spacing")}function ze(e,t){return typeof t=="string"||t==null?t:e(t)}function hi(e,t){return r=>e.reduce((n,o)=>(n[o]=ze(t,r),n),{})}function gi(e,t,r,n){if(!t.includes(r))return null;const o=mi(r),i=hi(o,n),s=e[r];return ye(e,s,i)}function $n(e,t){const r=At(e.theme);return Object.keys(e).map(n=>gi(e,t,n,r)).reduce(et,{})}function Y(e){return $n(e,Ot)}Y.propTypes=process.env.NODE_ENV!=="production"?Ot.reduce((e,t)=>(e[t]=xe,e),{}):{};Y.filterProps=Ot;function X(e){return $n(e,xt)}X.propTypes=process.env.NODE_ENV!=="production"?xt.reduce((e,t)=>(e[t]=xe,e),{}):{};X.filterProps=xt;process.env.NODE_ENV!=="production"&&pi.reduce((e,t)=>(e[t]=xe,e),{});function In(e=8,t=At({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function vt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?et(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function le(e){return typeof e!="number"?e:`${e}px solid`}function ce(e,t){return ee({prop:e,themeKey:"borders",transform:t})}const yi=ce("border",le),bi=ce("borderTop",le),Si=ce("borderRight",le),Ei=ce("borderBottom",le),Ci=ce("borderLeft",le),Ti=ce("borderColor"),wi=ce("borderTopColor"),Ri=ce("borderRightColor"),Oi=ce("borderBottomColor"),xi=ce("borderLeftColor"),Ai=ce("outline",le),vi=ce("outlineColor"),_t=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=nt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:ze(t,n)});return ye(e,e.borderRadius,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:xe}:{};_t.filterProps=["borderRadius"];vt(yi,bi,Si,Ei,Ci,Ti,wi,Ri,Oi,xi,_t,Ai,vi);const Pt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=nt(e.theme,"spacing",8,"gap"),r=n=>({gap:ze(t,n)});return ye(e,e.gap,r)}return null};Pt.propTypes=process.env.NODE_ENV!=="production"?{gap:xe}:{};Pt.filterProps=["gap"];const kt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=nt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:ze(t,n)});return ye(e,e.columnGap,r)}return null};kt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:xe}:{};kt.filterProps=["columnGap"];const Nt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=nt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:ze(t,n)});return ye(e,e.rowGap,r)}return null};Nt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:xe}:{};Nt.filterProps=["rowGap"];const _i=ee({prop:"gridColumn"}),Pi=ee({prop:"gridRow"}),ki=ee({prop:"gridAutoFlow"}),Ni=ee({prop:"gridAutoColumns"}),$i=ee({prop:"gridAutoRows"}),Ii=ee({prop:"gridTemplateColumns"}),Bi=ee({prop:"gridTemplateRows"}),Mi=ee({prop:"gridTemplateAreas"}),Di=ee({prop:"gridArea"});vt(Pt,kt,Nt,_i,Pi,ki,Ni,$i,Ii,Bi,Mi,Di);function Ue(e,t){return t==="grey"?t:e}const ji=ee({prop:"color",themeKey:"palette",transform:Ue}),Fi=ee({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ue}),Li=ee({prop:"backgroundColor",themeKey:"palette",transform:Ue});vt(ji,Fi,Li);function ae(e){return e<=1&&e!==0?`${e*100}%`:e}const Ui=ee({prop:"width",transform:ae}),ur=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,s,a,u;const n=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[r])||wt[r];return n?((u=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ae(r)}};return ye(e,e.maxWidth,t)}return null};ur.filterProps=["maxWidth"];const Vi=ee({prop:"minWidth",transform:ae}),zi=ee({prop:"height",transform:ae}),Ji=ee({prop:"maxHeight",transform:ae}),qi=ee({prop:"minHeight",transform:ae});ee({prop:"size",cssProperty:"width",transform:ae});ee({prop:"size",cssProperty:"height",transform:ae});const Wi=ee({prop:"boxSizing"});vt(Ui,ur,Vi,zi,Ji,qi,Wi);const ot={border:{themeKey:"borders",transform:le},borderTop:{themeKey:"borders",transform:le},borderRight:{themeKey:"borders",transform:le},borderBottom:{themeKey:"borders",transform:le},borderLeft:{themeKey:"borders",transform:le},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:le},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_t},color:{themeKey:"palette",transform:Ue},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ue},backgroundColor:{themeKey:"palette",transform:Ue},p:{style:X},pt:{style:X},pr:{style:X},pb:{style:X},pl:{style:X},px:{style:X},py:{style:X},padding:{style:X},paddingTop:{style:X},paddingRight:{style:X},paddingBottom:{style:X},paddingLeft:{style:X},paddingX:{style:X},paddingY:{style:X},paddingInline:{style:X},paddingInlineStart:{style:X},paddingInlineEnd:{style:X},paddingBlock:{style:X},paddingBlockStart:{style:X},paddingBlockEnd:{style:X},m:{style:Y},mt:{style:Y},mr:{style:Y},mb:{style:Y},ml:{style:Y},mx:{style:Y},my:{style:Y},margin:{style:Y},marginTop:{style:Y},marginRight:{style:Y},marginBottom:{style:Y},marginLeft:{style:Y},marginX:{style:Y},marginY:{style:Y},marginInline:{style:Y},marginInlineStart:{style:Y},marginInlineEnd:{style:Y},marginBlock:{style:Y},marginBlockStart:{style:Y},marginBlockEnd:{style:Y},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:Pt},rowGap:{style:Nt},columnGap:{style:kt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ae},maxWidth:{style:ur},minWidth:{transform:ae},height:{transform:ae},maxHeight:{transform:ae},minHeight:{transform:ae},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"}};function Hi(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Gi(e,t){return typeof e=="function"?e(t):e}function Ki(){function e(r,n,o,i){const s={[r]:n,theme:o},a=i[r];if(!a)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:m,style:h}=a;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const b=Rt(o,f)||{};return h?h(s):ye(s,n,d=>{let c=St(b,m,d);return d===c&&typeof d=="string"&&(c=St(b,m,`${r}${d==="default"?"":cr(d)}`,d)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const s=o.unstable_sxConfig??ot;function a(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const m=Nn(o.breakpoints),h=Object.keys(m);let b=m;return Object.keys(f).forEach(E=>{const d=Gi(f[E],o);if(d!=null)if(typeof d=="object")if(s[E])b=et(b,e(E,d,o,s));else{const c=ye({theme:o},d,y=>({[E]:y}));Hi(c,d)?b[E]=t({sx:d,theme:o,nested:!0}):b=et(b,c)}else b=et(b,e(E,d,o,s))}),!i&&o.modularCssLayers?{"@layer sx":Hr(o,Qt(h,b))}:Hr(o,Qt(h,b))}return Array.isArray(n)?n.map(a):a(n)}return t}const Je=Ki();Je.filterProps=["sx"];function Yi(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function fr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,a=ti(r),u=In(o);let f=oe({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...ii,...i}},s);return f=oi(f),f.applyStyles=Yi,f=t.reduce((m,h)=>oe(m,h),f),f.unstable_sxConfig={...ot,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(h){return Je({sx:h,theme:this})},f}function Xi(e){return Object.keys(e).length===0}function dr(e=null){const t=N.useContext(sr.ThemeContext);return!t||Xi(t)?e:t}const Qi=fr();function mr(e=Qi){return dr(e)}function qt(e){const t=Pn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Bn({styles:e,themeId:t,defaultTheme:r={}}){const n=mr(r),o=t&&n[t]||n;let i=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(i)?i=i.map(s=>qt(typeof s=="function"?s(o):s)):i=qt(i)),G.jsx(ar,{styles:i})}process.env.NODE_ENV!=="production"&&(Bn.propTypes={defaultTheme:O.object,styles:O.oneOfType([O.array,O.func,O.number,O.object,O.string,O.bool]),themeId:O.string});const Yr=e=>e,Zi=()=>{let e=Yr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yr}}},es=Zi();function Mn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Mn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Dn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Mn(e))&&(n&&(n+=" "),n+=t);return n}const ts={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 jn(e,t,r="Mui"){const n=ts[t];return n?`${r}-${n}`:`${es.generate(e)}-${t}`}function Et(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],a=t[i];if(!a)n[i]=s||{};else if(!s)n[i]=a;else{n[i]={...a};for(const u in s)if(Object.prototype.hasOwnProperty.call(s,u)){const f=u;n[i][f]=Et(s[f],a[f],r)}}}else i==="className"&&r&&t.className?n.className=Dn(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}const pr=typeof window<"u"?N.useLayoutEffect:N.useEffect;function Fn(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function hr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Fn(e,t,r)}function rs(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&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${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Oe(e){if(e.type)return e;if(e.charAt(0)==="#")return Oe(rs(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
50
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Re(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
51
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Re(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const ns=e=>{const t=Oe(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Qe=(e,t)=>{try{return ns(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function $t(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Ln(e){e=Oe(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(f,m=(f+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let a="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",u.push(t[3])),$t({type:a,values:u})}function Zt(e){e=Oe(e);let t=e.type==="hsl"||e.type==="hsla"?Oe(Ln(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Xr(e,t){const r=Zt(e),n=Zt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Un(e,t){return e=Oe(e),t=hr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,$t(e)}function _e(e,t,r){try{return Un(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function It(e,t){if(e=Oe(e),t=hr(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 $t(e)}function U(e,t,r){try{return It(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Bt(e,t){if(e=Oe(e),t=hr(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 $t(e)}function V(e,t,r){try{return Bt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function os(e,t=.15){return Zt(e)>.5?It(e,t):Bt(e,t)}function dt(e,t,r){try{return os(e,t)}catch{return e}}const is="exact-prop: ";function Vn(e){return process.env.NODE_ENV==="production"?e:{...e,[is]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}}}const gr=N.createContext(null);process.env.NODE_ENV!=="production"&&(gr.displayName="ThemeContext");function yr(){const e=N.useContext(gr);return process.env.NODE_ENV!=="production"&&N.useDebugValue(e),e}const ss=typeof Symbol=="function"&&Symbol.for,as=ss?Symbol.for("mui.nested"):"__THEME_NESTED__";function ls(e,t){if(typeof t=="function"){const r=t(e);return process.env.NODE_ENV!=="production"&&(r||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
|
|
52
|
-
`))),r}return{...e,...t}}function Ct(e){const{children:t,theme:r}=e,n=yr();process.env.NODE_ENV!=="production"&&n===null&&typeof r=="function"&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
53
|
-
`));const o=N.useMemo(()=>{const i=n===null?{...r}:ls(n,r);return i!=null&&(i[as]=n!==null),i},[r,n]);return G.jsx(gr.Provider,{value:o,children:t})}process.env.NODE_ENV!=="production"&&(Ct.propTypes={children:O.node,theme:O.oneOfType([O.object,O.func]).isRequired});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Ct.propTypes=Vn(Ct.propTypes));const zn=N.createContext();function Jn({value:e,...t}){return G.jsx(zn.Provider,{value:e??!0,...t})}process.env.NODE_ENV!=="production"&&(Jn.propTypes={children:O.node,value:O.bool});const cs=()=>N.useContext(zn)??!1,qn=N.createContext(void 0);function Wn({value:e,children:t}){return G.jsx(qn.Provider,{value:e,children:t})}process.env.NODE_ENV!=="production"&&(Wn.propTypes={children:O.node,value:O.object});function us(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?Et(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Et(o,n,t.components.mergeClassNameAndStyle):n}function fs({props:e,name:t}){const r=N.useContext(qn);return us({props:e,name:t,theme:{components:r}})}let Qr=0;function ds(e){const[t,r]=N.useState(e),n=e||t;return N.useEffect(()=>{t==null&&(Qr+=1,r(`mui-${Qr}`))},[t]),n}const ms={...N},Zr=ms.useId;function Hn(e){return Zr!==void 0?Zr():ds(e)}function ps(e){const t=dr(),r=Hn()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||t!==null?o="":typeof n=="string"?o=n.replace(/mui(?!\.)/g,o):o=`@layer ${o};`,pr(()=>{var a,u;const i=document.querySelector("head");if(!i)return;const s=i.firstChild;if(o){if(s&&((a=s.hasAttribute)!=null&&a.call(s,"data-mui-layer-order"))&&s.getAttribute("data-mui-layer-order")===r)return;const f=document.createElement("style");f.setAttribute("data-mui-layer-order",r),f.textContent=o,i.prepend(f)}else(u=i.querySelector(`style[data-mui-layer-order="${r}"]`))==null||u.remove()},[o,r]),o?G.jsx(Bn,{styles:o}):null}const en={};function tn(e,t,r,n=!1){return N.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const i=r(o),s=e?{...t,[e]:i}:i;return n?()=>s:s}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}function tt(e){const{children:t,theme:r,themeId:n}=e,o=dr(en),i=yr()||en;process.env.NODE_ENV!=="production"&&(o===null&&typeof r=="function"||n&&o&&!o[n]&&typeof r=="function")&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
54
|
-
`));const s=tn(n,o,r),a=tn(n,i,r,!0),u=(n?s[n]:s).direction==="rtl",f=ps(s);return G.jsx(Ct,{theme:a,children:G.jsx(sr.ThemeContext.Provider,{value:s,children:G.jsx(Jn,{value:u,children:G.jsxs(Wn,{value:n?s[n].components:s.components,children:[f,t]})})})})}process.env.NODE_ENV!=="production"&&(tt.propTypes={children:O.node,theme:O.oneOfType([O.func,O.object]).isRequired,themeId:O.string});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(tt.propTypes=Vn(tt.propTypes));const br="mode",Sr="color-scheme",hs="data-color-scheme";function gs(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:o=br,colorSchemeStorageKey:i=Sr,attribute:s=hs,colorSchemeNode:a="document.documentElement",nonce:u}=e||{};let f="",m=s;if(s==="class"&&(m=".%s"),s==="data"&&(m="[data-%s]"),m.startsWith(".")){const b=m.substring(1);f+=`${a}.classList.remove('${b}'.replace('%s', light), '${b}'.replace('%s', dark));
|
|
55
|
-
${a}.classList.add('${b}'.replace('%s', colorScheme));`}const h=m.match(/\[([^[\]]+)\]/);if(h){const[b,E]=h[1].split("=");E||(f+=`${a}.removeAttribute('${b}'.replace('%s', light));
|
|
56
|
-
${a}.removeAttribute('${b}'.replace('%s', dark));`),f+=`
|
|
57
|
-
${a}.setAttribute('${b}'.replace('%s', colorScheme), ${E?`${E}.replace('%s', colorScheme)`:'""'});`}else m!==".%s"&&(f+=`${a}.setAttribute('${m}', colorScheme);`);return G.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
58
|
-
try {
|
|
59
|
-
let colorScheme = '';
|
|
60
|
-
const mode = localStorage.getItem('${o}') || '${t}';
|
|
61
|
-
const dark = localStorage.getItem('${i}-dark') || '${n}';
|
|
62
|
-
const light = localStorage.getItem('${i}-light') || '${r}';
|
|
63
|
-
if (mode === 'system') {
|
|
64
|
-
// handle system mode
|
|
65
|
-
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
66
|
-
if (mql.matches) {
|
|
67
|
-
colorScheme = dark
|
|
68
|
-
} else {
|
|
69
|
-
colorScheme = light
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
if (mode === 'light') {
|
|
73
|
-
colorScheme = light;
|
|
74
|
-
}
|
|
75
|
-
if (mode === 'dark') {
|
|
76
|
-
colorScheme = dark;
|
|
77
|
-
}
|
|
78
|
-
if (colorScheme) {
|
|
79
|
-
${f}
|
|
80
|
-
}
|
|
81
|
-
} catch(e){}})();`}},"mui-color-scheme-init")}function ys(){}const bs=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(r){if(typeof window>"u")return;if(!t)return r;let n;try{n=t.localStorage.getItem(e)}catch{}return n||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return ys;const n=o=>{const i=o.newValue;o.key===e&&r(i)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function Wt(){}function rn(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Gn(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function Ss(e){return Gn(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function Es(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:i=br,colorSchemeStorageKey:s=Sr,storageWindow:a=typeof window>"u"?void 0:window,storageManager:u=bs,noSsr:f=!1}=e,m=o.join(","),h=o.length>1,b=N.useMemo(()=>u==null?void 0:u({key:i,storageWindow:a}),[u,i,a]),E=N.useMemo(()=>u==null?void 0:u({key:`${s}-light`,storageWindow:a}),[u,s,a]),d=N.useMemo(()=>u==null?void 0:u({key:`${s}-dark`,storageWindow:a}),[u,s,a]),[c,y]=N.useState(()=>{const v=(b==null?void 0:b.get(t))||t,_=(E==null?void 0:E.get(r))||r,M=(d==null?void 0:d.get(n))||n;return{mode:v,systemMode:rn(v),lightColorScheme:_,darkColorScheme:M}}),[x,k]=N.useState(f||!h);N.useEffect(()=>{k(!0)},[]);const I=Ss(c),T=N.useCallback(v=>{y(_=>{if(v===_.mode)return _;const M=v??t;return b==null||b.set(M),{..._,mode:M,systemMode:rn(M)}})},[b,t]),j=N.useCallback(v=>{v?typeof v=="string"?v&&!m.includes(v)?console.error(`\`${v}\` does not exist in \`theme.colorSchemes\`.`):y(_=>{const M={..._};return Gn(_,P=>{P==="light"&&(E==null||E.set(v),M.lightColorScheme=v),P==="dark"&&(d==null||d.set(v),M.darkColorScheme=v)}),M}):y(_=>{const M={..._},P=v.light===null?r:v.light,l=v.dark===null?n:v.dark;return P&&(m.includes(P)?(M.lightColorScheme=P,E==null||E.set(P)):console.error(`\`${P}\` does not exist in \`theme.colorSchemes\`.`)),l&&(m.includes(l)?(M.darkColorScheme=l,d==null||d.set(l)):console.error(`\`${l}\` does not exist in \`theme.colorSchemes\`.`)),M}):y(_=>(E==null||E.set(r),d==null||d.set(n),{..._,lightColorScheme:r,darkColorScheme:n}))},[m,E,d,r,n]),A=N.useCallback(v=>{c.mode==="system"&&y(_=>{const M=v!=null&&v.matches?"dark":"light";return _.systemMode===M?_:{..._,systemMode:M}})},[c.mode]),L=N.useRef(A);return L.current=A,N.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const v=(...M)=>L.current(...M),_=window.matchMedia("(prefers-color-scheme: dark)");return _.addListener(v),v(_),()=>{_.removeListener(v)}},[h]),N.useEffect(()=>{if(h){const v=(b==null?void 0:b.subscribe(P=>{(!P||["light","dark","system"].includes(P))&&T(P||t)}))||Wt,_=(E==null?void 0:E.subscribe(P=>{(!P||m.match(P))&&j({light:P})}))||Wt,M=(d==null?void 0:d.subscribe(P=>{(!P||m.match(P))&&j({dark:P})}))||Wt;return()=>{v(),_(),M()}}},[j,T,m,t,a,h,b,E,d]),{...c,mode:x?c.mode:void 0,systemMode:x?c.systemMode:void 0,colorScheme:x?I:void 0,setMode:T,setColorScheme:j}}const Cs="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ts(e){const{themeId:t,theme:r={},modeStorageKey:n=br,colorSchemeStorageKey:o=Sr,disableTransitionOnChange:i=!1,defaultColorScheme:s,resolveTheme:a}=e,u={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},f=N.createContext(void 0);process.env.NODE_ENV!=="production"&&(f.displayName="ColorSchemeContext");const m=()=>N.useContext(f)||u,h={},b={};function E(x){var $r,Ir,Br,Mr;const{children:k,theme:I,modeStorageKey:T=n,colorSchemeStorageKey:j=o,disableTransitionOnChange:A=i,storageManager:L,storageWindow:v=typeof window>"u"?void 0:window,documentNode:_=typeof document>"u"?void 0:document,colorSchemeNode:M=typeof document>"u"?void 0:document.documentElement,disableNestedContext:P=!1,disableStyleSheetGeneration:l=!1,defaultMode:R="system",forceThemeRerender:C=!1,noSsr:D}=x,B=N.useRef(!1),te=yr(),K=N.useContext(f),be=!!K&&!P,Ae=N.useMemo(()=>I||(typeof r=="function"?r():r),[I]),S=Ae[t],w=S||Ae,{colorSchemes:F=h,components:q=b,cssVarPrefix:ue}=w,$e=Object.keys(F).filter(re=>!!F[re]).join(","),W=N.useMemo(()=>$e.split(","),[$e]),Se=typeof s=="string"?s:s.light,Ie=typeof s=="string"?s:s.dark,Ut=F[Se]&&F[Ie]?R:((Ir=($r=F[w.defaultColorScheme])==null?void 0:$r.palette)==null?void 0:Ir.mode)||((Br=w.palette)==null?void 0:Br.mode),{mode:_o,setMode:Vt,systemMode:Ar,lightColorScheme:vr,darkColorScheme:_r,colorScheme:Po,setColorScheme:Pr}=Es({supportedColorSchemes:W,defaultLightColorScheme:Se,defaultDarkColorScheme:Ie,modeStorageKey:T,colorSchemeStorageKey:j,defaultMode:Ut,storageManager:L,storageWindow:v,noSsr:D});let zt=_o,fe=Po;be&&(zt=K.mode,fe=K.colorScheme),process.env.NODE_ENV!=="production"&&C&&!w.vars&&console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.","Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
|
|
82
|
-
`));let ct=fe||w.defaultColorScheme;w.vars&&!C&&(ct=w.defaultColorScheme);const Be=N.useMemo(()=>{var ve;const re=((ve=w.generateThemeVars)==null?void 0:ve.call(w))||w.vars,Q={...w,components:q,colorSchemes:F,cssVarPrefix:ue,vars:re};if(typeof Q.generateSpacing=="function"&&(Q.spacing=Q.generateSpacing()),ct){const pe=F[ct];pe&&typeof pe=="object"&&Object.keys(pe).forEach(de=>{pe[de]&&typeof pe[de]=="object"?Q[de]={...Q[de],...pe[de]}:Q[de]=pe[de]})}return a?a(Q):Q},[w,ct,q,F,ue]),He=w.colorSchemeSelector;pr(()=>{if(fe&&M&&He&&He!=="media"){const re=He;let Q=He;if(re==="class"&&(Q=".%s"),re==="data"&&(Q="[data-%s]"),re!=null&&re.startsWith("data-")&&!re.includes("%s")&&(Q=`[${re}="%s"]`),Q.startsWith("."))M.classList.remove(...W.map(ve=>Q.substring(1).replace("%s",ve))),M.classList.add(Q.substring(1).replace("%s",fe));else{const ve=Q.replace("%s",fe).match(/\[([^\]]+)\]/);if(ve){const[pe,de]=ve[1].split("=");de||W.forEach(No=>{M.removeAttribute(pe.replace(fe,No))}),M.setAttribute(pe,de?de.replace(/"|'/g,""):"")}else M.setAttribute(Q,fe)}}},[fe,He,M,W]),N.useEffect(()=>{let re;if(A&&B.current&&_){const Q=_.createElement("style");Q.appendChild(_.createTextNode(Cs)),_.head.appendChild(Q),window.getComputedStyle(_.body),re=setTimeout(()=>{_.head.removeChild(Q)},1)}return()=>{clearTimeout(re)}},[fe,A,_]),N.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);const ko=N.useMemo(()=>({allColorSchemes:W,colorScheme:fe,darkColorScheme:_r,lightColorScheme:vr,mode:zt,setColorScheme:Pr,setMode:process.env.NODE_ENV==="production"?Vt:re=>{Be.colorSchemeSelector==="media"&&console.error(["MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).","To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.","To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually"].join(`
|
|
83
|
-
`)),Vt(re)},systemMode:Ar}),[W,fe,_r,vr,zt,Pr,Vt,Ar,Be.colorSchemeSelector]);let kr=!0;(l||w.cssVariables===!1||be&&(te==null?void 0:te.cssVarPrefix)===ue)&&(kr=!1);const Nr=G.jsxs(N.Fragment,{children:[G.jsx(tt,{themeId:S?t:void 0,theme:Be,children:k}),kr&&G.jsx(ar,{styles:((Mr=Be.generateStyleSheets)==null?void 0:Mr.call(Be))||[]})]});return be?Nr:G.jsx(f.Provider,{value:ko,children:Nr})}process.env.NODE_ENV!=="production"&&(E.propTypes={children:O.node,colorSchemeNode:O.any,colorSchemeStorageKey:O.string,defaultMode:O.string,disableNestedContext:O.bool,disableStyleSheetGeneration:O.bool,disableTransitionOnChange:O.bool,documentNode:O.any,forceThemeRerender:O.bool,modeStorageKey:O.string,noSsr:O.bool,storageManager:O.func,storageWindow:O.any,theme:O.object});const d=typeof s=="string"?s:s.light,c=typeof s=="string"?s:s.dark;return{CssVarsProvider:E,useColorScheme:m,getInitColorSchemeScript:x=>gs({colorSchemeStorageKey:o,defaultLightColorScheme:d,defaultDarkColorScheme:c,modeStorageKey:n,...x})}}function ws(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const nn=(e,t,r,n=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Rs=(e,t,r)=>{function n(o,i=[],s=[]){Object.entries(o).forEach(([a,u])=>{(!r||r&&!r([...i,a]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,a],Array.isArray(u)?[...s,a]:s):t([...i,a],u,s))})}n(e)},Os=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Ht(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return Rs(e,(a,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(a,u))){const m=`--${r?`${r}-`:""}${a.join("-")}`,h=Os(a,u);Object.assign(o,{[m]:h}),nn(i,a,`var(${m})`,f),nn(s,a,`var(${m}, ${h})`,f)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function xs(e,t={}){const{getSelector:r=x,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:s={},components:a,defaultColorScheme:u="light",...f}=e,{vars:m,css:h,varsWithDefaults:b}=Ht(f,t);let E=b;const d={},{[u]:c,...y}=s;if(Object.entries(y||{}).forEach(([T,j])=>{const{vars:A,css:L,varsWithDefaults:v}=Ht(j,t);E=oe(E,v),d[T]={css:L,vars:A}}),c){const{css:T,vars:j,varsWithDefaults:A}=Ht(c,t);E=oe(E,A),d[u]={css:T,vars:j}}function x(T,j){var L,v;let A=o;if(o==="class"&&(A=".%s"),o==="data"&&(A="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(A=`[${o}="%s"]`),T){if(A==="media")return e.defaultColorScheme===T?":root":{[`@media (prefers-color-scheme: ${((v=(L=s[T])==null?void 0:L.palette)==null?void 0:v.mode)||T})`]:{":root":j}};if(A)return e.defaultColorScheme===T?`:root, ${A.replace("%s",String(T))}`:A.replace("%s",String(T))}return":root"}return{vars:E,generateThemeVars:()=>{let T={...m};return Object.entries(d).forEach(([,{vars:j}])=>{T=oe(T,j)}),T},generateStyleSheets:()=>{var _,M;const T=[],j=e.defaultColorScheme||"light";function A(P,l){Object.keys(l).length&&T.push(typeof P=="string"?{[P]:{...l}}:P)}A(r(void 0,{...h}),h);const{[j]:L,...v}=d;if(L){const{css:P}=L,l=(M=(_=s[j])==null?void 0:_.palette)==null?void 0:M.mode,R=!n&&l?{colorScheme:l,...P}:{...P};A(r(j,{...R}),R)}return Object.entries(v).forEach(([P,{css:l}])=>{var D,B;const R=(B=(D=s[P])==null?void 0:D.palette)==null?void 0:B.mode,C=!n&&R?{colorScheme:R,...l}:{...l};A(r(P,{...C}),C)}),i&&T.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),T}}}function As(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const rt={black:"#000",white:"#fff"},vs={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"},Me={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},De={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ye={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},je={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Fe={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Le={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Kn(){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:rt.white,default:rt.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 Yn=Kn();function Xn(){return{text:{primary:rt.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:rt.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 er=Xn();function on(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Bt(e.main,o):t==="dark"&&(e.dark=It(e.main,i)))}function sn(e,t,r,n,o){const i=o.light||o,s=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(s*100).toFixed(0)}%)`))}function _s(e="light"){return e==="dark"?{main:je[200],light:je[50],dark:je[400]}:{main:je[700],light:je[400],dark:je[800]}}function Ps(e="light"){return e==="dark"?{main:Me[200],light:Me[50],dark:Me[400]}:{main:Me[500],light:Me[300],dark:Me[700]}}function ks(e="light"){return e==="dark"?{main:De[500],light:De[300],dark:De[700]}:{main:De[700],light:De[400],dark:De[800]}}function Ns(e="light"){return e==="dark"?{main:Fe[400],light:Fe[300],dark:Fe[700]}:{main:Fe[700],light:Fe[500],dark:Fe[900]}}function $s(e="light"){return e==="dark"?{main:Le[400],light:Le[300],dark:Le[700]}:{main:Le[800],light:Le[500],dark:Le[900]}}function Is(e="light"){return e==="dark"?{main:Ye[400],light:Ye[300],dark:Ye[700]}:{main:"#ed6c02",light:Ye[500],dark:Ye[900]}}function Bs(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Er(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,s=e.primary||_s(t),a=e.secondary||Ps(t),u=e.error||ks(t),f=e.info||Ns(t),m=e.success||$s(t),h=e.warning||Is(t);function b(y){if(o)return Bs(y);const x=Xr(y,er.text.primary)>=r?er.text.primary:Yn.text.primary;if(process.env.NODE_ENV!=="production"){const k=Xr(y,x);k<3&&console.error([`MUI: The contrast ratio of ${k}:1 for ${x} on ${y}`,"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(`
|
|
84
|
-
`))}return x}const E=({color:y,name:x,mainShade:k=500,lightShade:I=300,darkShade:T=700})=>{if(y={...y},!y.main&&y[k]&&(y.main=y[k]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
85
|
-
The color object needs to have a \`main\` property or a \`${k}\` property.`:Re(11,x?` (${x})`:"",k));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
86
|
-
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
87
|
-
|
|
88
|
-
Did you intend to use one of the following approaches?
|
|
89
|
-
|
|
90
|
-
import { green } from "@mui/material/colors";
|
|
91
|
-
|
|
92
|
-
const theme1 = createTheme({ palette: {
|
|
93
|
-
primary: green,
|
|
94
|
-
} });
|
|
95
|
-
|
|
96
|
-
const theme2 = createTheme({ palette: {
|
|
97
|
-
primary: { main: green[500] },
|
|
98
|
-
} });`:Re(12,x?` (${x})`:"",JSON.stringify(y.main)));return o?(sn(o,y,"light",I,n),sn(o,y,"dark",T,n)):(on(y,"light",I,n),on(y,"dark",T,n)),y.contrastText||(y.contrastText=b(y.main)),y};let d;return t==="light"?d=Kn():t==="dark"&&(d=Xn()),process.env.NODE_ENV!=="production"&&(d||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),oe({common:{...rt},mode:t,primary:E({color:s,name:"primary"}),secondary:E({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:E({color:u,name:"error"}),warning:E({color:h,name:"warning"}),info:E({color:f,name:"info"}),success:E({color:m,name:"success"}),grey:vs,contrastThreshold:r,getContrastText:b,augmentColor:E,tonalOffset:n,...d},i)}function Ms(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Ds(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function js(e){return Math.round(e*1e5)/1e5}const an={textTransform:"uppercase"},ln='"Roboto", "Helvetica", "Arial", sans-serif';function Qn(e,t){const{fontFamily:r=ln,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:f,pxToRem:m,...h}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=n/14,E=m||(y=>`${y/u*b}rem`),d=(y,x,k,I,T)=>({fontFamily:r,fontWeight:y,fontSize:E(x),lineHeight:k,...r===ln?{letterSpacing:`${js(I/x)}em`}:{},...T,...f}),c={h1:d(o,96,1.167,-1.5),h2:d(o,60,1.2,-.5),h3:d(i,48,1.167,0),h4:d(i,34,1.235,.25),h5:d(i,24,1.334,0),h6:d(s,20,1.6,.15),subtitle1:d(i,16,1.75,.15),subtitle2:d(s,14,1.57,.1),body1:d(i,16,1.5,.15),body2:d(i,14,1.43,.15),button:d(s,14,1.75,.4,an),caption:d(i,12,1.66,.4),overline:d(i,12,2.66,1,an),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oe({htmlFontSize:u,pxToRem:E,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:a,...c},h,{clone:!1})}const Fs=.2,Ls=.14,Us=.12;function H(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Fs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ls})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Us})`].join(",")}const Vs=["none",H(0,2,1,-1,0,1,1,0,0,1,3,0),H(0,3,1,-2,0,2,2,0,0,1,5,0),H(0,3,3,-2,0,3,4,0,0,1,8,0),H(0,2,4,-1,0,4,5,0,0,1,10,0),H(0,3,5,-1,0,5,8,0,0,1,14,0),H(0,3,5,-1,0,6,10,0,0,1,18,0),H(0,4,5,-2,0,7,10,1,0,2,16,1),H(0,5,5,-3,0,8,10,1,0,3,14,2),H(0,5,6,-3,0,9,12,1,0,3,16,2),H(0,6,6,-3,0,10,14,1,0,4,18,3),H(0,6,7,-4,0,11,15,1,0,4,20,3),H(0,7,8,-4,0,12,17,2,0,5,22,4),H(0,7,8,-4,0,13,19,2,0,5,24,4),H(0,7,9,-4,0,14,21,2,0,5,26,4),H(0,8,9,-5,0,15,22,2,0,6,28,5),H(0,8,10,-5,0,16,24,2,0,6,30,5),H(0,8,11,-5,0,17,26,2,0,6,32,5),H(0,9,11,-5,0,18,28,2,0,7,34,6),H(0,9,12,-6,0,19,29,2,0,7,36,6),H(0,10,13,-6,0,20,31,3,0,8,38,7),H(0,10,13,-6,0,21,33,3,0,8,40,7),H(0,10,14,-6,0,22,35,3,0,8,42,7),H(0,11,14,-7,0,23,36,3,0,9,44,8),H(0,11,15,-7,0,24,38,3,0,9,46,8)],zs={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)"},Js={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function cn(e){return`${Math.round(e)}ms`}function qs(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Ws(e){const t={...zs,...e.easing},r={...Js,...e.duration};return{getAutoHeightDuration:qs,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:a=t.easeInOut,delay:u=0,...f}=i;if(process.env.NODE_ENV!=="production"){const m=b=>typeof b=="string",h=b=>!Number.isNaN(parseFloat(b));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(s)&&!m(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),m(a)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!m(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
99
|
-
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof s=="string"?s:cn(s)} ${a} ${typeof u=="string"?u:cn(u)}`).join(",")},...e,easing:t,duration:r}}const Hs={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Gs(e){return Ce(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Zn(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[s,a]=o[i];!Gs(a)||s.startsWith("unstable_")?delete n[s]:Ce(a)&&(n[s]={...a},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
100
|
-
|
|
101
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
102
|
-
|
|
103
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
104
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
105
|
-
|
|
106
|
-
export default theme;`}function un(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Ks=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function Ys(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:Un(t,Ks(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${un(r)})`:Bt(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${un(r)})`:It(t,r)}})}function tr(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:s={},typography:a={},shape:u,colorSpace:f,...m}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"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.":Re(20));const h=Er({...i,colorSpace:f}),b=fr(e);let E=oe(b,{mixins:Ds(b.breakpoints,n),palette:h,shadows:Vs.slice(),typography:Qn(h,a),transitions:Ws(s),zIndex:{...Hs}});if(E=oe(E,m),E=t.reduce((d,c)=>oe(d,c),E),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],c=(y,x)=>{let k;for(k in y){const I=y[k];if(d.includes(k)&&Object.keys(I).length>0){if(process.env.NODE_ENV!=="production"){const T=jn("",k);console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${k}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${T}' syntax:`,JSON.stringify({root:{[`&.${T}`]:I}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
107
|
-
`))}y[k]={}}}};Object.keys(E.components).forEach(y=>{const x=E.components[y].styleOverrides;x&&y.startsWith("Mui")&&c(x,y)})}return E.unstable_sxConfig={...ot,...m==null?void 0:m.unstable_sxConfig},E.unstable_sx=function(c){return Je({sx:c,theme:this})},E.toRuntimeSource=Zn,Ys(E),E}function Xs(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Qs=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Xs(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function eo(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function to(e){return e==="dark"?Qs:[]}function Zs(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,s=Er({...t,colorSpace:o});return{palette:s,opacity:{...eo(s.mode),...r},overlays:n||to(s.mode),...i}}function ea(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ta=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],ra=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return ta(e.cssVarPrefix).forEach(a=>{s[a]=r[a],delete r[a]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:i?{[i.replace("%s",t)]:s,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...s}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function na(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function g(e,t,r){!e[t]&&r&&(e[t]=r)}function Ze(e){return typeof e!="string"||!e.startsWith("hsl")?e:Ln(e)}function Ee(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Qe(Ze(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().
|
|
108
|
-
To 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.`))}function oa(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const he=e=>{try{return e()}catch{}},ia=(e="mui")=>ws(e);function Gt(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Zs({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:s,...a}=tr({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:s,opacity:{...eo(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||to(i)},a}function sa(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:a=ea,colorSchemeSelector:u=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...m}=e,h=Object.keys(r)[0],b=n||(r.light&&h!=="light"?"light":h),E=ia(i),{[b]:d,light:c,dark:y,...x}=r,k={...x};let I=d;if((b==="dark"&&!("dark"in r)||b==="light"&&!("light"in r))&&(I=!0),!I)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${b}\` option is either missing or invalid.`:Re(21,b));let T;s&&(T="oklch");const j=Gt(T,k,I,m,b);c&&!k.light&&Gt(T,k,c,void 0,"light"),y&&!k.dark&&Gt(T,k,y,void 0,"dark");let A={defaultColorScheme:b,...j,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:f,getCssVar:E,colorSchemes:k,font:{...Ms(j.typography),...j.font},spacing:oa(m.spacing)};Object.keys(A.colorSchemes).forEach(P=>{const l=A.colorSchemes[P].palette,R=D=>{const B=D.split("-"),te=B[1],K=B[2];return E(D,l[te][K])};l.mode==="light"&&(g(l.common,"background","#fff"),g(l.common,"onBackground","#000")),l.mode==="dark"&&(g(l.common,"background","#000"),g(l.common,"onBackground","#fff"));function C(D,B,te){if(T){let K;return D===_e&&(K=`transparent ${((1-te)*100).toFixed(0)}%`),D===U&&(K=`#000 ${(te*100).toFixed(0)}%`),D===V&&(K=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${T}, ${B}, ${K})`}return D(B,te)}if(na(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){g(l.Alert,"errorColor",C(U,l.error.light,.6)),g(l.Alert,"infoColor",C(U,l.info.light,.6)),g(l.Alert,"successColor",C(U,l.success.light,.6)),g(l.Alert,"warningColor",C(U,l.warning.light,.6)),g(l.Alert,"errorFilledBg",R("palette-error-main")),g(l.Alert,"infoFilledBg",R("palette-info-main")),g(l.Alert,"successFilledBg",R("palette-success-main")),g(l.Alert,"warningFilledBg",R("palette-warning-main")),g(l.Alert,"errorFilledColor",he(()=>l.getContrastText(l.error.main))),g(l.Alert,"infoFilledColor",he(()=>l.getContrastText(l.info.main))),g(l.Alert,"successFilledColor",he(()=>l.getContrastText(l.success.main))),g(l.Alert,"warningFilledColor",he(()=>l.getContrastText(l.warning.main))),g(l.Alert,"errorStandardBg",C(V,l.error.light,.9)),g(l.Alert,"infoStandardBg",C(V,l.info.light,.9)),g(l.Alert,"successStandardBg",C(V,l.success.light,.9)),g(l.Alert,"warningStandardBg",C(V,l.warning.light,.9)),g(l.Alert,"errorIconColor",R("palette-error-main")),g(l.Alert,"infoIconColor",R("palette-info-main")),g(l.Alert,"successIconColor",R("palette-success-main")),g(l.Alert,"warningIconColor",R("palette-warning-main")),g(l.AppBar,"defaultBg",R("palette-grey-100")),g(l.Avatar,"defaultBg",R("palette-grey-400")),g(l.Button,"inheritContainedBg",R("palette-grey-300")),g(l.Button,"inheritContainedHoverBg",R("palette-grey-A100")),g(l.Chip,"defaultBorder",R("palette-grey-400")),g(l.Chip,"defaultAvatarColor",R("palette-grey-700")),g(l.Chip,"defaultIconColor",R("palette-grey-700")),g(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),g(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),g(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),g(l.LinearProgress,"primaryBg",C(V,l.primary.main,.62)),g(l.LinearProgress,"secondaryBg",C(V,l.secondary.main,.62)),g(l.LinearProgress,"errorBg",C(V,l.error.main,.62)),g(l.LinearProgress,"infoBg",C(V,l.info.main,.62)),g(l.LinearProgress,"successBg",C(V,l.success.main,.62)),g(l.LinearProgress,"warningBg",C(V,l.warning.main,.62)),g(l.Skeleton,"bg",T?C(_e,l.text.primary,.11):`rgba(${R("palette-text-primaryChannel")} / 0.11)`),g(l.Slider,"primaryTrack",C(V,l.primary.main,.62)),g(l.Slider,"secondaryTrack",C(V,l.secondary.main,.62)),g(l.Slider,"errorTrack",C(V,l.error.main,.62)),g(l.Slider,"infoTrack",C(V,l.info.main,.62)),g(l.Slider,"successTrack",C(V,l.success.main,.62)),g(l.Slider,"warningTrack",C(V,l.warning.main,.62));const D=T?C(U,l.background.default,.6825):dt(l.background.default,.8);g(l.SnackbarContent,"bg",D),g(l.SnackbarContent,"color",he(()=>T?er.text.primary:l.getContrastText(D))),g(l.SpeedDialAction,"fabHoverBg",dt(l.background.paper,.15)),g(l.StepConnector,"border",R("palette-grey-400")),g(l.StepContent,"border",R("palette-grey-400")),g(l.Switch,"defaultColor",R("palette-common-white")),g(l.Switch,"defaultDisabledColor",R("palette-grey-100")),g(l.Switch,"primaryDisabledColor",C(V,l.primary.main,.62)),g(l.Switch,"secondaryDisabledColor",C(V,l.secondary.main,.62)),g(l.Switch,"errorDisabledColor",C(V,l.error.main,.62)),g(l.Switch,"infoDisabledColor",C(V,l.info.main,.62)),g(l.Switch,"successDisabledColor",C(V,l.success.main,.62)),g(l.Switch,"warningDisabledColor",C(V,l.warning.main,.62)),g(l.TableCell,"border",C(V,C(_e,l.divider,1),.88)),g(l.Tooltip,"bg",C(_e,l.grey[700],.92))}if(l.mode==="dark"){g(l.Alert,"errorColor",C(V,l.error.light,.6)),g(l.Alert,"infoColor",C(V,l.info.light,.6)),g(l.Alert,"successColor",C(V,l.success.light,.6)),g(l.Alert,"warningColor",C(V,l.warning.light,.6)),g(l.Alert,"errorFilledBg",R("palette-error-dark")),g(l.Alert,"infoFilledBg",R("palette-info-dark")),g(l.Alert,"successFilledBg",R("palette-success-dark")),g(l.Alert,"warningFilledBg",R("palette-warning-dark")),g(l.Alert,"errorFilledColor",he(()=>l.getContrastText(l.error.dark))),g(l.Alert,"infoFilledColor",he(()=>l.getContrastText(l.info.dark))),g(l.Alert,"successFilledColor",he(()=>l.getContrastText(l.success.dark))),g(l.Alert,"warningFilledColor",he(()=>l.getContrastText(l.warning.dark))),g(l.Alert,"errorStandardBg",C(U,l.error.light,.9)),g(l.Alert,"infoStandardBg",C(U,l.info.light,.9)),g(l.Alert,"successStandardBg",C(U,l.success.light,.9)),g(l.Alert,"warningStandardBg",C(U,l.warning.light,.9)),g(l.Alert,"errorIconColor",R("palette-error-main")),g(l.Alert,"infoIconColor",R("palette-info-main")),g(l.Alert,"successIconColor",R("palette-success-main")),g(l.Alert,"warningIconColor",R("palette-warning-main")),g(l.AppBar,"defaultBg",R("palette-grey-900")),g(l.AppBar,"darkBg",R("palette-background-paper")),g(l.AppBar,"darkColor",R("palette-text-primary")),g(l.Avatar,"defaultBg",R("palette-grey-600")),g(l.Button,"inheritContainedBg",R("palette-grey-800")),g(l.Button,"inheritContainedHoverBg",R("palette-grey-700")),g(l.Chip,"defaultBorder",R("palette-grey-700")),g(l.Chip,"defaultAvatarColor",R("palette-grey-300")),g(l.Chip,"defaultIconColor",R("palette-grey-300")),g(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),g(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),g(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),g(l.LinearProgress,"primaryBg",C(U,l.primary.main,.5)),g(l.LinearProgress,"secondaryBg",C(U,l.secondary.main,.5)),g(l.LinearProgress,"errorBg",C(U,l.error.main,.5)),g(l.LinearProgress,"infoBg",C(U,l.info.main,.5)),g(l.LinearProgress,"successBg",C(U,l.success.main,.5)),g(l.LinearProgress,"warningBg",C(U,l.warning.main,.5)),g(l.Skeleton,"bg",T?C(_e,l.text.primary,.13):`rgba(${R("palette-text-primaryChannel")} / 0.13)`),g(l.Slider,"primaryTrack",C(U,l.primary.main,.5)),g(l.Slider,"secondaryTrack",C(U,l.secondary.main,.5)),g(l.Slider,"errorTrack",C(U,l.error.main,.5)),g(l.Slider,"infoTrack",C(U,l.info.main,.5)),g(l.Slider,"successTrack",C(U,l.success.main,.5)),g(l.Slider,"warningTrack",C(U,l.warning.main,.5));const D=T?C(V,l.background.default,.985):dt(l.background.default,.98);g(l.SnackbarContent,"bg",D),g(l.SnackbarContent,"color",he(()=>T?Yn.text.primary:l.getContrastText(D))),g(l.SpeedDialAction,"fabHoverBg",dt(l.background.paper,.15)),g(l.StepConnector,"border",R("palette-grey-600")),g(l.StepContent,"border",R("palette-grey-600")),g(l.Switch,"defaultColor",R("palette-grey-300")),g(l.Switch,"defaultDisabledColor",R("palette-grey-600")),g(l.Switch,"primaryDisabledColor",C(U,l.primary.main,.55)),g(l.Switch,"secondaryDisabledColor",C(U,l.secondary.main,.55)),g(l.Switch,"errorDisabledColor",C(U,l.error.main,.55)),g(l.Switch,"infoDisabledColor",C(U,l.info.main,.55)),g(l.Switch,"successDisabledColor",C(U,l.success.main,.55)),g(l.Switch,"warningDisabledColor",C(U,l.warning.main,.55)),g(l.TableCell,"border",C(U,C(_e,l.divider,1),.68)),g(l.Tooltip,"bg",C(_e,l.grey[700],.92))}Ee(l.background,"default"),Ee(l.background,"paper"),Ee(l.common,"background"),Ee(l.common,"onBackground"),Ee(l,"divider"),Object.keys(l).forEach(D=>{const B=l[D];D!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&g(l[D],"mainChannel",Qe(Ze(B.main))),B.light&&g(l[D],"lightChannel",Qe(Ze(B.light))),B.dark&&g(l[D],"darkChannel",Qe(Ze(B.dark))),B.contrastText&&g(l[D],"contrastTextChannel",Qe(Ze(B.contrastText))),D==="text"&&(Ee(l[D],"primary"),Ee(l[D],"secondary")),D==="action"&&(B.active&&Ee(l[D],"active"),B.selected&&Ee(l[D],"selected")))})}),A=t.reduce((P,l)=>oe(P,l),A);const L={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:ra(A),enableContrastVars:s},{vars:v,generateThemeVars:_,generateStyleSheets:M}=xs(A,L);return A.vars=v,Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([P,l])=>{A[P]=l}),A.generateThemeVars=_,A.generateStyleSheets=M,A.generateSpacing=function(){return In(m.spacing,At(this))},A.getColorSchemeSelector=As(u),A.spacing=A.generateSpacing(),A.shouldSkipGeneratingVar=a,A.unstable_sxConfig={...ot,...m==null?void 0:m.unstable_sxConfig},A.unstable_sx=function(l){return Je({sx:l,theme:this})},A.toRuntimeSource=Zn,A}function fn(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Er({...r===!0?{}:r.palette,mode:t})})}function Cr(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...s}=e,a=i||"light",u=o==null?void 0:o[a],f={...o,...r?{[a]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return tr(e,...t);let m=r;"palette"in e||f[a]&&(f[a]!==!0?m=f[a].palette:a==="dark"&&(m={mode:"dark"}));const h=tr({...e,palette:m},...t);return h.defaultColorScheme=a,h.colorSchemes=f,h.palette.mode==="light"&&(h.colorSchemes.light={...f.light!==!0&&f.light,palette:h.palette},fn(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},fn(h,"light",f.light)),h}return!r&&!("light"in f)&&a==="light"&&(f.light=!0),sa({...s,colorSchemes:f,defaultColorScheme:a,...typeof n!="boolean"&&n},...t)}const ro=Cr();function no(){const e=mr(ro);return process.env.NODE_ENV!=="production"&&N.useDebugValue(e),e[we]||e}function aa({theme:e,...t}){const r=we in e?e[we]:void 0;return G.jsx(tt,{...t,themeId:r?we:void 0,theme:r||e})}const mt={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};process.env.NODE_ENV!=="production"&&(O.string,O.string,O.string,O.string,O.string,O.oneOf(["dark","light","system"]),O.string,O.string);const{CssVarsProvider:la}=Ts({themeId:we,theme:()=>Cr({cssVariables:!0}),colorSchemeStorageKey:mt.colorSchemeStorageKey,modeStorageKey:mt.modeStorageKey,defaultColorScheme:{light:mt.defaultLightColorScheme,dark:mt.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Qn(e.palette,e.typography)};return t.unstable_sx=function(n){return Je({sx:n,theme:this})},t}}),ca=la;function ua({theme:e,...t}){const r=N.useMemo(()=>{if(typeof e=="function")return e;const n=we in e?e[we]:e;return"colorSchemes"in n?null:"vars"in n?e:{...e,vars:null}},[e]);return r?G.jsx(aa,{theme:r,...t}):G.jsx(ca,{theme:e,...t})}const fa={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Geschwindigkeit","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}} mm","Jogging.Blocked.ti":"Verbindung blockiert","Jogging.Blocked.lb":"Ein anderer Client kontrolliert das Jogging.","Jogging.Blocked.Reenable.bt":"Neu verbinden","Jogging.Cartesian.MotionType.lb":"Bewegungstyp","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Gelenkwerte","Jogging.Increment.Continuous.dd":"Fortlaufend","Jogging.Cartesian.Orientation.lb":"Orientierung","Jogging.JointLimitsReached.lb":"Gelenkgrenzen für Gelenk {{jointNumbers}} erreicht","Jogging.Orientation.coordsys":"Roboterbasis","Jogging.Orientation.tool":"Werkzeug","SafetyBar.ActivationToggle.Activate.bt":"Aktivieren","SafetyBar.ActivationToggle.Activated.bt":"Aktiviert","SafetyBar.ActivationToggle.Activating.bt":"Wird aktiviert…","SafetyBar.ActivationToggle.Deactivating.bt":"Wird deaktiviert…","SafetyBar.ControllerType.Physical.lb":"Physisch","SafetyBar.ControllerType.Virtual.lb":"Virtuell","SafetyBar.MotionGroup.Physical.Explanation.lb":"<code>{{motionGroupId}}</code> ist ein physische Robotersteuerung. Für die Bewegung dieses Roboters sind <strong>Sicherheitsmaßnahmen</strong> aktiv.","SafetyBar.MotionGroup.Virtual.Explanation.lb":"<1>{{motionGroupId}}</1> ist eine virtuelle Robotersteuerung ohne physisches Gegenstück. Der Roboter kann ohne Sicherheitsmaßnahmen bewegt werden.","SafetyBar.OperationMode.Auto.Explanation.lb":"Automatischer Betriebsmodus der Robotersteuerung aktiv. Automatisierte Bewegung ohne manuelle Bestätigung freigegeben.","SafetyBar.OperationMode.Automatic.ti":"Automatisch","SafetyBar.OperationMode.Error.Explanation.lb":"Fehler beim Abrufen des Betriebsmodus. Originalhandbediengerät des Roboters verwenden, um Fehler zu lösen.","SafetyBar.OperationMode.Error.lb":"Fehler","SafetyBar.OperationMode.Manual.Explanation.lb":`Die Robotersteuerung befindet sich im manuellen Betriebsmodus.
|
|
109
|
-
Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabeschalter gedrückt werden muss, damit sich der Roboter erfolgreich bewegen kann.`,"SafetyBar.OperationMode.Manual.lb":"Manuell","SafetyBar.OperationMode.ti":"Betriebsmodus","SafetyBar.SafetyState.Error.Explanation.lb":"Die Robotersteuerung ist in einen unerwarteten Sicherheitszustand eingetreten.","SafetyBar.SafetyState.Error.lb":"Fehler","SafetyBar.SafetyState.Estop.lb":"NOT-AUS","SafetyBar.SafetyState.ManualActionRequired.Explanation.lb":"Die Robotersteuerung ist in einen Sicherheitszustand eingetreten, der manuelle Maßnahmen zur Behebung erfordert.","SafetyBar.SafetyState.ManualActionRequired.lb":"Aktion erforderlich","SafetyBar.SafetyState.Normal.Explanation.lb":"Die Robotersteuerung befindet sich in einem sicheren Zustand. Roboterbewegungen sind möglich.","SafetyBar.SafetyState.Normal.lb":"Sicher","SafetyBar.SafetyState.Stop.Explanation.lb":"Die Robotersteuerung ist in einen Stoppzustand übergegangen. Bis der Stoppzustand aufgelöst ist, ist keine Bewegung mehr möglich.","SafetyBar.SafetyState.Stop.lb":"Stopp","SafetyBar.SafetyState.ti":"Sicherheitszustand","SafetyBar.StopState.Estop.Explanation.lb":"NOT-AUS aktiviert. NOT-AUS freischalten, um Roboter zu bewegen.","Jogging.Increment.hlb":"Schrittgröße","Jogging.CoordinateSystem.hlb":"Koordinatensystem","Jogging.Cartesian.bt":"Kartesisch","Jogging.Joints.bt":"Gelenke","Jogging.Velocity.bt":"Geschwindigkeit","CycleTimer.RemainingTime.lb":"Verbleibende Zeit","CycleTimer.OfTime.lb":"von {{time}}","CycleTimer.Time.lb":"{{time}}","CycleTimer.Error.lb":"Fehler","CycleTimer.WaitingForCycle.lb":"Warten auf Programmzyklus","CycleTimer.CycleTime.lb":"Zykluszeit","CycleTimer.Measuring.lb":"wird gemessen...","CycleTimer.Determined.lb":"bestimmt","Timer.error":"Fehler","ProgramControl.Start.bt":"Start","ProgramControl.Resume.bt":"Weiter","ProgramControl.Retry.bt":"Wiederholen","ProgramControl.Pause.bt":"Pause","ProgramControl.Stop.bt":"Stopp","ProgramStateIndicator.Preparing.lb":"Vorbereitung","ProgramStateIndicator.Starting.lb":"Startet","ProgramStateIndicator.Running.lb":"In Betrieb","ProgramStateIndicator.Pausing.lb":"Pausiert","ProgramStateIndicator.Stopping.lb":"Stoppt","ProgramStateIndicator.Completed.lb":"Abgeschlossen","ProgramStateIndicator.Failed.lb":"Fehlgeschlagen","ProgramStateIndicator.Error.lb":"Fehler","ProgramStateIndicator.EStop.lb":"Not-Aus","ProgramStateIndicator.Idle.lb":"Leerlauf","ProgramStateIndicator.Paused.lb":"Pausiert","ProgramStateIndicator.Ready.lb":"Bereit","ProgramStateIndicator.Stopped.lb":"Gestoppt","ProgramStateIndicator.Auto.lb":"Auto","ProgramStateIndicator.Manual.lb":"Manuell","ProgramStateIndicator.ManualT1.lb":"Manuell T1","ProgramStateIndicator.ManualT2.lb":"Manuell T2","RobotSetupReadinessIndicator.Ready.lb":"Bereit","RobotSetupReadinessIndicator.RobotDisconnected.lb":"Roboter getrennt","RobotSetupReadinessIndicator.CellOpen.lb":"Zelle offen","RobotSetupReadinessIndicator.EStop.lb":"Not-Stopp","RobotSetupReadinessIndicator.ManualMode.lb":"Manueller Modus","RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb":"Voraussetzung nicht erfüllt","RobotCard.Runtime.lb":"Laufzeit","RobotCard.DriveToHome.bt":"Zur Home-Position fahren"},da={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Velocity","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}} mm","Jogging.Blocked.ti":"Connection blocked","Jogging.Blocked.lb":"Another client is currently controlling the jogging.","Jogging.Blocked.Reenable.bt":"Reconnect","Jogging.Cartesian.MotionType.lb":"Motion type","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Joint values","Jogging.Increment.Continuous.dd":"Continuous","Jogging.Cartesian.Orientation.lb":"Orientation","Jogging.Activating.lb":"Activating jogging","Jogging.JointLimitsReached.lb":"Joint limit reached for joint {{jointNumbers}}","Jogging.Orientation.coordsys":"Robot base","Jogging.Orientation.tool":"Tool","SafetyBar.ActivationToggle.Activate.bt":"Activate","SafetyBar.ActivationToggle.Activated.bt":"Activated","SafetyBar.ActivationToggle.Activating.bt":"Activating","SafetyBar.ActivationToggle.Deactivating.bt":"Deactivating","SafetyBar.ControllerType.Physical.lb":"Physical","SafetyBar.ControllerType.Virtual.lb":"Virtual","SafetyBar.MotionGroup.Physical.Explanation.lb":"<code>{{motionGroupId}}</code> is a physical robot controller. <strong>Safety precautions</strong> are active for the movement of this robot.","SafetyBar.MotionGroup.Virtual.Explanation.lb":"<1>{{motionGroupId}}</1> is a virtual robot controller with no physical counterpart. It can be freely manipulated without safety precautions.","SafetyBar.OperationMode.Auto.Explanation.lb":"Automatic operation mode active. Automated movement without manual confirmation enabled.","SafetyBar.OperationMode.Automatic.ti":"Automatic","SafetyBar.OperationMode.Error.Explanation.lb":"Failed to get operation mode. Use the original control panel to resolve the error.","SafetyBar.OperationMode.Error.lb":"Error","SafetyBar.OperationMode.Manual.Explanation.lb":"The robot controller is in manual operation mode. On a physical robot, this generally indicates that an enabling switch must be held for the robot to move successfully.","SafetyBar.OperationMode.Manual.lb":"Manual","SafetyBar.OperationMode.ti":"Operation mode","SafetyBar.SafetyState.Error.Explanation.lb":"The robot controller has entered an unexpected safety state.","SafetyBar.SafetyState.Error.lb":"Error","SafetyBar.SafetyState.Estop.lb":"E-Stop","SafetyBar.SafetyState.ManualActionRequired.Explanation.lb":"The robot controller has entered a safety state requiring manual action to resolve.","SafetyBar.SafetyState.ManualActionRequired.lb":"Action required","SafetyBar.SafetyState.Normal.Explanation.lb":"The robot controller is in a safe state. Robot movement is enabled.","SafetyBar.SafetyState.Normal.lb":"Safe","SafetyBar.SafetyState.Stop.Explanation.lb":"The robot controller has entered a stop state. Movement is no longer possible until the stop state is resolved.","SafetyBar.SafetyState.Stop.lb":"Stop","SafetyBar.SafetyState.ti":"Safety state","SafetyBar.StopState.Estop.Explanation.lb":"An emergency stop of the robot controller has been triggered. Movement of the robot is no longer possible until the estop is released.","Jogging.Increment.hlb":"Increment","Jogging.CoordinateSystem.hlb":"Coordinate system","Jogging.Cartesian.bt":"Cartesian","Jogging.Joints.bt":"Joints","Jogging.Velocity.bt":"Velocity","CycleTimer.RemainingTime.lb":"Time remaining","CycleTimer.OfTime.lb":"of {{time}}","CycleTimer.Time.lb":"{{time}}","CycleTimer.Error.lb":"Error","CycleTimer.WaitingForCycle.lb":"Waiting for program cycle","CycleTimer.CycleTime.lb":"Cycle Time","CycleTimer.Measuring.lb":"measuring...","CycleTimer.Determined.lb":"determined","Timer.error":"Error","ProgramControl.Start.bt":"Start","ProgramControl.Resume.bt":"Resume","ProgramControl.Retry.bt":"Retry","ProgramControl.Pause.bt":"Pause","ProgramControl.Stop.bt":"Stop","ProgramStateIndicator.Preparing.lb":"Preparing","ProgramStateIndicator.Starting.lb":"Starting","ProgramStateIndicator.Running.lb":"Running","ProgramStateIndicator.Pausing.lb":"Pausing","ProgramStateIndicator.Stopping.lb":"Stopping","ProgramStateIndicator.Completed.lb":"Completed","ProgramStateIndicator.Failed.lb":"Failed","ProgramStateIndicator.Error.lb":"Error","ProgramStateIndicator.EStop.lb":"E-Stop","ProgramStateIndicator.Idle.lb":"Idle","ProgramStateIndicator.Paused.lb":"Paused","ProgramStateIndicator.Ready.lb":"Ready","ProgramStateIndicator.Stopped.lb":"Stopped","ProgramStateIndicator.Auto.lb":"Auto","ProgramStateIndicator.Manual.lb":"Manual","ProgramStateIndicator.ManualT1.lb":"Manual T1","ProgramStateIndicator.ManualT2.lb":"Manual T2","RobotSetupReadinessIndicator.Ready.lb":"Ready","RobotSetupReadinessIndicator.RobotDisconnected.lb":"Robot disconnected","RobotSetupReadinessIndicator.CellOpen.lb":"Cell open","RobotSetupReadinessIndicator.EStop.lb":"E-Stop","RobotSetupReadinessIndicator.ManualMode.lb":"Manual mode","RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb":"Precondition not fulfilled","RobotCard.Runtime.lb":"Runtime","RobotCard.DriveToHome.bt":"Drive to Home"},Tr=Io.createInstance();Tr.use(Bo).init({supportedLngs:["en","de"],resources:{en:{translations:da},de:{translations:fa}},ns:["translations"],defaultNS:"translations",detection:{order:["navigator","htmlTag"]}});function ma(e){return(r=>G.jsx(pa,{children:G.jsx(e,{...r})}))}const pa=({children:e})=>{let t;try{t=no()}catch{}const r=G.jsx($o.I18nextProvider,{i18n:Tr,children:e});return t?G.jsx(ua,{theme:t,children:r}):r};function oo(e,t){return function(){return e.apply(t,arguments)}}const{toString:ha}=Object.prototype,{getPrototypeOf:wr}=Object,{iterator:Mt,toStringTag:io}=Symbol,Dt=(e=>t=>{const r=ha.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),me=e=>(e=e.toLowerCase(),t=>Dt(t)===e),jt=e=>t=>typeof t===e,{isArray:qe}=Array,Ve=jt("undefined");function it(e){return e!==null&&!Ve(e)&&e.constructor!==null&&!Ve(e.constructor)&&ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const so=me("ArrayBuffer");function ga(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&so(e.buffer),t}const ya=jt("string"),ie=jt("function"),ao=jt("number"),st=e=>e!==null&&typeof e=="object",ba=e=>e===!0||e===!1,ht=e=>{if(Dt(e)!=="object")return!1;const t=wr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(io in e)&&!(Mt in e)},Sa=e=>{if(!st(e)||it(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Ea=me("Date"),Ca=me("File"),Ta=me("Blob"),wa=me("FileList"),Ra=e=>st(e)&&ie(e.pipe),Oa=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ie(e.append)&&((t=Dt(e))==="formdata"||t==="object"&&ie(e.toString)&&e.toString()==="[object FormData]"))},xa=me("URLSearchParams"),[Aa,va,_a,Pa]=["ReadableStream","Request","Response","Headers"].map(me),ka=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function at(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),qe(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(it(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(n=0;n<s;n++)a=i[n],t.call(null,e[a],a,e)}}function lo(e,t){if(it(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Pe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,co=e=>!Ve(e)&&e!==Pe;function rr(){const{caseless:e,skipUndefined:t}=co(this)&&this||{},r={},n=(o,i)=>{const s=e&&lo(r,i)||i;ht(r[s])&&ht(o)?r[s]=rr(r[s],o):ht(o)?r[s]=rr({},o):qe(o)?r[s]=o.slice():(!t||!Ve(o))&&(r[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&at(arguments[o],n);return r}const Na=(e,t,r,{allOwnKeys:n}={})=>(at(t,(o,i)=>{r&&ie(o)?e[i]=oo(o,r):e[i]=o},{allOwnKeys:n}),e),$a=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ia=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Ba=(e,t,r,n)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&wr(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Ma=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Da=e=>{if(!e)return null;if(qe(e))return e;let t=e.length;if(!ao(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ja=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wr(Uint8Array)),Fa=(e,t)=>{const n=(e&&e[Mt]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},La=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Ua=me("HTMLFormElement"),Va=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),dn=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),za=me("RegExp"),uo=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};at(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},Ja=e=>{uo(e,(t,r)=>{if(ie(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ie(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},qa=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return qe(e)?n(e):n(String(e).split(t)),r},Wa=()=>{},Ha=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ga(e){return!!(e&&ie(e.append)&&e[io]==="FormData"&&e[Mt])}const Ka=e=>{const t=new Array(10),r=(n,o)=>{if(st(n)){if(t.indexOf(n)>=0)return;if(it(n))return n;if(!("toJSON"in n)){t[o]=n;const i=qe(n)?[]:{};return at(n,(s,a)=>{const u=r(s,o+1);!Ve(u)&&(i[a]=u)}),t[o]=void 0,i}}return n};return r(e,0)},Ya=me("AsyncFunction"),Xa=e=>e&&(st(e)||ie(e))&&ie(e.then)&&ie(e.catch),fo=((e,t)=>e?setImmediate:t?((r,n)=>(Pe.addEventListener("message",({source:o,data:i})=>{o===Pe&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Pe.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ie(Pe.postMessage)),Qa=typeof queueMicrotask<"u"?queueMicrotask.bind(Pe):typeof process<"u"&&process.nextTick||fo,Za=e=>e!=null&&ie(e[Mt]),p={isArray:qe,isArrayBuffer:so,isBuffer:it,isFormData:Oa,isArrayBufferView:ga,isString:ya,isNumber:ao,isBoolean:ba,isObject:st,isPlainObject:ht,isEmptyObject:Sa,isReadableStream:Aa,isRequest:va,isResponse:_a,isHeaders:Pa,isUndefined:Ve,isDate:Ea,isFile:Ca,isBlob:Ta,isRegExp:za,isFunction:ie,isStream:Ra,isURLSearchParams:xa,isTypedArray:ja,isFileList:wa,forEach:at,merge:rr,extend:Na,trim:ka,stripBOM:$a,inherits:Ia,toFlatObject:Ba,kindOf:Dt,kindOfTest:me,endsWith:Ma,toArray:Da,forEachEntry:Fa,matchAll:La,isHTMLForm:Ua,hasOwnProperty:dn,hasOwnProp:dn,reduceDescriptors:uo,freezeMethods:Ja,toObjectSet:qa,toCamelCase:Va,noop:Wa,toFiniteNumber:Ha,findKey:lo,global:Pe,isContextDefined:co,isSpecCompliantForm:Ga,toJSONObject:Ka,isAsyncFn:Ya,isThenable:Xa,setImmediate:fo,asap:Qa,isIterable:Za};function $(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}p.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:p.toJSONObject(this.config),code:this.code,status:this.status}}});const mo=$.prototype,po={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{po[e]={value:e}});Object.defineProperties($,po);Object.defineProperty(mo,"isAxiosError",{value:!0});$.from=(e,t,r,n,o,i)=>{const s=Object.create(mo);p.toFlatObject(e,s,function(m){return m!==Error.prototype},f=>f!=="isAxiosError");const a=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return $.call(s,a,u,r,n,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const el=null;function nr(e){return p.isPlainObject(e)||p.isArray(e)}function ho(e){return p.endsWith(e,"[]")?e.slice(0,-2):e}function mn(e,t,r){return e?e.concat(t).map(function(o,i){return o=ho(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function tl(e){return p.isArray(e)&&!e.some(nr)}const rl=p.toFlatObject(p,{},null,function(t){return/^is[A-Z]/.test(t)});function Ft(e,t,r){if(!p.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=p.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(c,y){return!p.isUndefined(y[c])});const n=r.metaTokens,o=r.visitor||m,i=r.dots,s=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&p.isSpecCompliantForm(t);if(!p.isFunction(o))throw new TypeError("visitor must be a function");function f(d){if(d===null)return"";if(p.isDate(d))return d.toISOString();if(p.isBoolean(d))return d.toString();if(!u&&p.isBlob(d))throw new $("Blob is not supported. Use a Buffer instead.");return p.isArrayBuffer(d)||p.isTypedArray(d)?u&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function m(d,c,y){let x=d;if(d&&!y&&typeof d=="object"){if(p.endsWith(c,"{}"))c=n?c:c.slice(0,-2),d=JSON.stringify(d);else if(p.isArray(d)&&tl(d)||(p.isFileList(d)||p.endsWith(c,"[]"))&&(x=p.toArray(d)))return c=ho(c),x.forEach(function(I,T){!(p.isUndefined(I)||I===null)&&t.append(s===!0?mn([c],T,i):s===null?c:c+"[]",f(I))}),!1}return nr(d)?!0:(t.append(mn(y,c,i),f(d)),!1)}const h=[],b=Object.assign(rl,{defaultVisitor:m,convertValue:f,isVisitable:nr});function E(d,c){if(!p.isUndefined(d)){if(h.indexOf(d)!==-1)throw Error("Circular reference detected in "+c.join("."));h.push(d),p.forEach(d,function(x,k){(!(p.isUndefined(x)||x===null)&&o.call(t,x,p.isString(k)?k.trim():k,c,b))===!0&&E(x,c?c.concat(k):[k])}),h.pop()}}if(!p.isObject(e))throw new TypeError("data must be an object");return E(e),t}function pn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Rr(e,t){this._pairs=[],e&&Ft(e,this,t)}const go=Rr.prototype;go.append=function(t,r){this._pairs.push([t,r])};go.toString=function(t){const r=t?function(n){return t.call(this,n,pn)}:pn;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function nl(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function yo(e,t,r){if(!t)return e;const n=r&&r.encode||nl;p.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(o?i=o(t,r):i=p.isURLSearchParams(t)?t.toString():new Rr(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class hn{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){p.forEach(this.handlers,function(n){n!==null&&t(n)})}}const bo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ol=typeof URLSearchParams<"u"?URLSearchParams:Rr,il=typeof FormData<"u"?FormData:null,sl=typeof Blob<"u"?Blob:null,al={isBrowser:!0,classes:{URLSearchParams:ol,FormData:il,Blob:sl},protocols:["http","https","file","blob","url","data"]},Or=typeof window<"u"&&typeof document<"u",or=typeof navigator=="object"&&navigator||void 0,ll=Or&&(!or||["ReactNative","NativeScript","NS"].indexOf(or.product)<0),cl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ul=Or&&window.location.href||"http://localhost",fl=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Or,hasStandardBrowserEnv:ll,hasStandardBrowserWebWorkerEnv:cl,navigator:or,origin:ul},Symbol.toStringTag,{value:"Module"})),ne={...fl,...al};function dl(e,t){return Ft(e,new ne.classes.URLSearchParams,{visitor:function(r,n,o,i){return ne.isNode&&p.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function ml(e){return p.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pl(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function So(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),u=i>=r.length;return s=!s&&p.isArray(o)?o.length:s,u?(p.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!a):((!o[s]||!p.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&p.isArray(o[s])&&(o[s]=pl(o[s])),!a)}if(p.isFormData(e)&&p.isFunction(e.entries)){const r={};return p.forEachEntry(e,(n,o)=>{t(ml(n),o,r,0)}),r}return null}function hl(e,t,r){if(p.isString(e))try{return(t||JSON.parse)(e),p.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const lt={transitional:bo,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=p.isObject(t);if(i&&p.isHTMLForm(t)&&(t=new FormData(t)),p.isFormData(t))return o?JSON.stringify(So(t)):t;if(p.isArrayBuffer(t)||p.isBuffer(t)||p.isStream(t)||p.isFile(t)||p.isBlob(t)||p.isReadableStream(t))return t;if(p.isArrayBufferView(t))return t.buffer;if(p.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return dl(t,this.formSerializer).toString();if((a=p.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Ft(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),hl(t)):t}],transformResponse:[function(t){const r=this.transitional||lt.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(p.isResponse(t)||p.isReadableStream(t))return t;if(t&&p.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?$.from(a,$.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ne.classes.FormData,Blob:ne.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p.forEach(["delete","get","head","post","put","patch"],e=>{lt.headers[e]={}});const gl=p.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yl=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
110
|
-
`).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&gl[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},gn=Symbol("internals");function Xe(e){return e&&String(e).trim().toLowerCase()}function gt(e){return e===!1||e==null?e:p.isArray(e)?e.map(gt):String(e)}function bl(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Sl=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Kt(e,t,r,n,o){if(p.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!p.isString(t)){if(p.isString(n))return t.indexOf(n)!==-1;if(p.isRegExp(n))return n.test(t)}}function El(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Cl(e,t){const r=p.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}let se=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(a,u,f){const m=Xe(u);if(!m)throw new Error("header name must be a non-empty string");const h=p.findKey(o,m);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||u]=gt(a))}const s=(a,u)=>p.forEach(a,(f,m)=>i(f,m,u));if(p.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(p.isString(t)&&(t=t.trim())&&!Sl(t))s(yl(t),r);else if(p.isObject(t)&&p.isIterable(t)){let a={},u,f;for(const m of t){if(!p.isArray(m))throw TypeError("Object iterator must return a key-value pair");a[f=m[0]]=(u=a[f])?p.isArray(u)?[...u,m[1]]:[u,m[1]]:m[1]}s(a,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Xe(t),t){const n=p.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return bl(o);if(p.isFunction(r))return r.call(this,o,n);if(p.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Xe(t),t){const n=p.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Kt(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Xe(s),s){const a=p.findKey(n,s);a&&(!r||Kt(n,n[a],a,r))&&(delete n[a],o=!0)}}return p.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||Kt(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return p.forEach(this,(o,i)=>{const s=p.findKey(n,i);if(s){r[s]=gt(o),delete r[i];return}const a=t?El(i):String(i).trim();a!==i&&delete r[i],r[a]=gt(o),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return p.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&p.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
111
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[gn]=this[gn]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Xe(s);n[a]||(Cl(o,s),n[a]=!0)}return p.isArray(t)?t.forEach(i):i(t),this}};se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);p.reduceDescriptors(se.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});p.freezeMethods(se);function Yt(e,t){const r=this||lt,n=t||r,o=se.from(n.headers);let i=n.data;return p.forEach(e,function(a){i=a.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Eo(e){return!!(e&&e.__CANCEL__)}function We(e,t,r){$.call(this,e??"canceled",$.ERR_CANCELED,t,r),this.name="CanceledError"}p.inherits(We,$,{__CANCEL__:!0});function Co(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new $("Request failed with status code "+r.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Tl(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function wl(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),m=n[i];s||(s=f),r[o]=u,n[o]=f;let h=i,b=0;for(;h!==o;)b+=r[h++],h=h%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),f-s<t)return;const E=m&&f-m;return E?Math.round(b*1e3/E):void 0}}function Rl(e,t){let r=0,n=1e3/t,o,i;const s=(f,m=Date.now())=>{r=m,o=null,i&&(clearTimeout(i),i=null),e(...f)};return[(...f)=>{const m=Date.now(),h=m-r;h>=n?s(f,m):(o=f,i||(i=setTimeout(()=>{i=null,s(o)},n-h)))},()=>o&&s(o)]}const Tt=(e,t,r=3)=>{let n=0;const o=wl(50,250);return Rl(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,u=s-n,f=o(u),m=s<=a;n=s;const h={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:f||void 0,estimated:f&&a&&m?(a-s)/f:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},r)},yn=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},bn=e=>(...t)=>p.asap(()=>e(...t)),Ol=ne.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ne.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ne.origin),ne.navigator&&/(msie|trident)/i.test(ne.navigator.userAgent)):()=>!0,xl=ne.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];p.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),p.isString(n)&&a.push(`path=${n}`),p.isString(o)&&a.push(`domain=${o}`),i===!0&&a.push("secure"),p.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Al(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vl(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function To(e,t,r){let n=!Al(t);return e&&(n||r==!1)?vl(e,t):t}const Sn=e=>e instanceof se?{...e}:e;function Ne(e,t){t=t||{};const r={};function n(f,m,h,b){return p.isPlainObject(f)&&p.isPlainObject(m)?p.merge.call({caseless:b},f,m):p.isPlainObject(m)?p.merge({},m):p.isArray(m)?m.slice():m}function o(f,m,h,b){if(p.isUndefined(m)){if(!p.isUndefined(f))return n(void 0,f,h,b)}else return n(f,m,h,b)}function i(f,m){if(!p.isUndefined(m))return n(void 0,m)}function s(f,m){if(p.isUndefined(m)){if(!p.isUndefined(f))return n(void 0,f)}else return n(void 0,m)}function a(f,m,h){if(h in t)return n(f,m);if(h in e)return n(void 0,f)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(f,m,h)=>o(Sn(f),Sn(m),h,!0)};return p.forEach(Object.keys({...e,...t}),function(m){const h=u[m]||o,b=h(e[m],t[m],m);p.isUndefined(b)&&h!==a||(r[m]=b)}),r}const wo=e=>{const t=Ne({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=se.from(s),t.url=yo(To(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),p.isFormData(r)){if(ne.hasStandardBrowserEnv||ne.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(p.isFunction(r.getHeaders)){const u=r.getHeaders(),f=["content-type","content-length"];Object.entries(u).forEach(([m,h])=>{f.includes(m.toLowerCase())&&s.set(m,h)})}}if(ne.hasStandardBrowserEnv&&(n&&p.isFunction(n)&&(n=n(t)),n||n!==!1&&Ol(t.url))){const u=o&&i&&xl.read(i);u&&s.set(o,u)}return t},_l=typeof XMLHttpRequest<"u",Pl=_l&&function(e){return new Promise(function(r,n){const o=wo(e);let i=o.data;const s=se.from(o.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:f}=o,m,h,b,E,d;function c(){E&&E(),d&&d(),o.cancelToken&&o.cancelToken.unsubscribe(m),o.signal&&o.signal.removeEventListener("abort",m)}let y=new XMLHttpRequest;y.open(o.method.toUpperCase(),o.url,!0),y.timeout=o.timeout;function x(){if(!y)return;const I=se.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),j={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:I,config:e,request:y};Co(function(L){r(L),c()},function(L){n(L),c()},j),y=null}"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(x)},y.onabort=function(){y&&(n(new $("Request aborted",$.ECONNABORTED,e,y)),y=null)},y.onerror=function(T){const j=T&&T.message?T.message:"Network Error",A=new $(j,$.ERR_NETWORK,e,y);A.event=T||null,n(A),y=null},y.ontimeout=function(){let T=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const j=o.transitional||bo;o.timeoutErrorMessage&&(T=o.timeoutErrorMessage),n(new $(T,j.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,e,y)),y=null},i===void 0&&s.setContentType(null),"setRequestHeader"in y&&p.forEach(s.toJSON(),function(T,j){y.setRequestHeader(j,T)}),p.isUndefined(o.withCredentials)||(y.withCredentials=!!o.withCredentials),a&&a!=="json"&&(y.responseType=o.responseType),f&&([b,d]=Tt(f,!0),y.addEventListener("progress",b)),u&&y.upload&&([h,E]=Tt(u),y.upload.addEventListener("progress",h),y.upload.addEventListener("loadend",E)),(o.cancelToken||o.signal)&&(m=I=>{y&&(n(!I||I.type?new We(null,e,y):I),y.abort(),y=null)},o.cancelToken&&o.cancelToken.subscribe(m),o.signal&&(o.signal.aborted?m():o.signal.addEventListener("abort",m)));const k=Tl(o.url);if(k&&ne.protocols.indexOf(k)===-1){n(new $("Unsupported protocol "+k+":",$.ERR_BAD_REQUEST,e));return}y.send(i||null)})},kl=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(f){if(!o){o=!0,a();const m=f instanceof Error?f:this.reason;n.abort(m instanceof $?m:new We(m instanceof Error?m.message:m))}};let s=t&&setTimeout(()=>{s=null,i(new $(`timeout ${t} of ms exceeded`,$.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(i):f.removeEventListener("abort",i)}),e=null)};e.forEach(f=>f.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>p.asap(a),u}},Nl=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},$l=async function*(e,t){for await(const r of Il(e))yield*Nl(r,t)},Il=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},En=(e,t,r,n)=>{const o=$l(e,t);let i=0,s,a=u=>{s||(s=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:f,value:m}=await o.next();if(f){a(),u.close();return}let h=m.byteLength;if(r){let b=i+=h;r(b)}u.enqueue(new Uint8Array(m))}catch(f){throw a(f),f}},cancel(u){return a(u),o.return()}},{highWaterMark:2})},Cn=64*1024,{isFunction:pt}=p,Bl=(({Request:e,Response:t})=>({Request:e,Response:t}))(p.global),{ReadableStream:Tn,TextEncoder:wn}=p.global,Rn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ml=e=>{e=p.merge.call({skipUndefined:!0},Bl,e);const{fetch:t,Request:r,Response:n}=e,o=t?pt(t):typeof fetch=="function",i=pt(r),s=pt(n);if(!o)return!1;const a=o&&pt(Tn),u=o&&(typeof wn=="function"?(d=>c=>d.encode(c))(new wn):async d=>new Uint8Array(await new r(d).arrayBuffer())),f=i&&a&&Rn(()=>{let d=!1;const c=new r(ne.origin,{body:new Tn,method:"POST",get duplex(){return d=!0,"half"}}).headers.has("Content-Type");return d&&!c}),m=s&&a&&Rn(()=>p.isReadableStream(new n("").body)),h={stream:m&&(d=>d.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(d=>{!h[d]&&(h[d]=(c,y)=>{let x=c&&c[d];if(x)return x.call(c);throw new $(`Response type '${d}' is not supported`,$.ERR_NOT_SUPPORT,y)})});const b=async d=>{if(d==null)return 0;if(p.isBlob(d))return d.size;if(p.isSpecCompliantForm(d))return(await new r(ne.origin,{method:"POST",body:d}).arrayBuffer()).byteLength;if(p.isArrayBufferView(d)||p.isArrayBuffer(d))return d.byteLength;if(p.isURLSearchParams(d)&&(d=d+""),p.isString(d))return(await u(d)).byteLength},E=async(d,c)=>{const y=p.toFiniteNumber(d.getContentLength());return y??b(c)};return async d=>{let{url:c,method:y,data:x,signal:k,cancelToken:I,timeout:T,onDownloadProgress:j,onUploadProgress:A,responseType:L,headers:v,withCredentials:_="same-origin",fetchOptions:M}=wo(d),P=t||fetch;L=L?(L+"").toLowerCase():"text";let l=kl([k,I&&I.toAbortSignal()],T),R=null;const C=l&&l.unsubscribe&&(()=>{l.unsubscribe()});let D;try{if(A&&f&&y!=="get"&&y!=="head"&&(D=await E(v,x))!==0){let S=new r(c,{method:"POST",body:x,duplex:"half"}),w;if(p.isFormData(x)&&(w=S.headers.get("content-type"))&&v.setContentType(w),S.body){const[F,q]=yn(D,Tt(bn(A)));x=En(S.body,Cn,F,q)}}p.isString(_)||(_=_?"include":"omit");const B=i&&"credentials"in r.prototype,te={...M,signal:l,method:y.toUpperCase(),headers:v.normalize().toJSON(),body:x,duplex:"half",credentials:B?_:void 0};R=i&&new r(c,te);let K=await(i?P(R,M):P(c,te));const be=m&&(L==="stream"||L==="response");if(m&&(j||be&&C)){const S={};["status","statusText","headers"].forEach(ue=>{S[ue]=K[ue]});const w=p.toFiniteNumber(K.headers.get("content-length")),[F,q]=j&&yn(w,Tt(bn(j),!0))||[];K=new n(En(K.body,Cn,F,()=>{q&&q(),C&&C()}),S)}L=L||"text";let Ae=await h[p.findKey(h,L)||"text"](K,d);return!be&&C&&C(),await new Promise((S,w)=>{Co(S,w,{data:Ae,headers:se.from(K.headers),status:K.status,statusText:K.statusText,config:d,request:R})})}catch(B){throw C&&C(),B&&B.name==="TypeError"&&/Load failed|fetch/i.test(B.message)?Object.assign(new $("Network Error",$.ERR_NETWORK,d,R),{cause:B.cause||B}):$.from(B,B&&B.code,d,R)}}},Dl=new Map,Ro=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s=i.length,a=s,u,f,m=Dl;for(;a--;)u=i[a],f=m.get(u),f===void 0&&m.set(u,f=a?new Map:Ml(t)),m=f;return f};Ro();const xr={http:el,xhr:Pl,fetch:{get:Ro}};p.forEach(xr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const On=e=>`- ${e}`,jl=e=>p.isFunction(e)||e===null||e===!1;function Fl(e,t){e=p.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){n=e[s];let a;if(o=n,!jl(n)&&(o=xr[(a=String(n)).toLowerCase()],o===void 0))throw new $(`Unknown adapter '${a}'`);if(o&&(p.isFunction(o)||(o=o.get(t))))break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let a=r?s.length>1?`since :
|
|
112
|
-
`+s.map(On).join(`
|
|
113
|
-
`):" "+On(s[0]):"as no adapter specified";throw new $("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const Oo={getAdapter:Fl,adapters:xr};function Xt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new We(null,e)}function xn(e){return Xt(e),e.headers=se.from(e.headers),e.data=Yt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Oo.getAdapter(e.adapter||lt.adapter,e)(e).then(function(n){return Xt(e),n.data=Yt.call(e,e.transformResponse,n),n.headers=se.from(n.headers),n},function(n){return Eo(n)||(Xt(e),n&&n.response&&(n.response.data=Yt.call(e,e.transformResponse,n.response),n.response.headers=se.from(n.response.headers))),Promise.reject(n)})}const xo="1.13.2",Lt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Lt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const An={};Lt.transitional=function(t,r,n){function o(i,s){return"[Axios v"+xo+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(t===!1)throw new $(o(s," has been removed"+(r?" in "+r:"")),$.ERR_DEPRECATED);return r&&!An[s]&&(An[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,a):!0}};Lt.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Ll(e,t,r){if(typeof e!="object")throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const a=e[i],u=a===void 0||s(a,i,e);if(u!==!0)throw new $("option "+i+" must be "+u,$.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new $("Unknown option "+i,$.ERR_BAD_OPTION)}}const yt={assertOptions:Ll,validators:Lt},ge=yt.validators;let ke=class{constructor(t){this.defaults=t||{},this.interceptors={request:new hn,response:new hn}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
114
|
-
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ne(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&yt.assertOptions(n,{silentJSONParsing:ge.transitional(ge.boolean),forcedJSONParsing:ge.transitional(ge.boolean),clarifyTimeoutError:ge.transitional(ge.boolean)},!1),o!=null&&(p.isFunction(o)?r.paramsSerializer={serialize:o}:yt.assertOptions(o,{encode:ge.function,serialize:ge.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),yt.assertOptions(r,{baseUrl:ge.spelling("baseURL"),withXsrfToken:ge.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&p.merge(i.common,i[r.method]);i&&p.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),r.headers=se.concat(s,i);const a=[];let u=!0;this.interceptors.request.forEach(function(c){typeof c.runWhen=="function"&&c.runWhen(r)===!1||(u=u&&c.synchronous,a.unshift(c.fulfilled,c.rejected))});const f=[];this.interceptors.response.forEach(function(c){f.push(c.fulfilled,c.rejected)});let m,h=0,b;if(!u){const d=[xn.bind(this),void 0];for(d.unshift(...a),d.push(...f),b=d.length,m=Promise.resolve(r);h<b;)m=m.then(d[h++],d[h++]);return m}b=a.length;let E=r;for(;h<b;){const d=a[h++],c=a[h++];try{E=d(E)}catch(y){c.call(this,y);break}}try{m=xn.call(this,E)}catch(d){return Promise.reject(d)}for(h=0,b=f.length;h<b;)m=m.then(f[h++],f[h++]);return m}getUri(t){t=Ne(this.defaults,t);const r=To(t.baseURL,t.url,t.allowAbsoluteUrls);return yo(r,t.params,t.paramsSerializer)}};p.forEach(["delete","get","head","options"],function(t){ke.prototype[t]=function(r,n){return this.request(Ne(n||{},{method:t,url:r,data:(n||{}).data}))}});p.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,a){return this.request(Ne(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}ke.prototype[t]=r(),ke.prototype[t+"Form"]=r(!0)});let Ul=class Ao{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{n.subscribe(a),i=a}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,a){n.reason||(n.reason=new We(i,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Ao(function(o){t=o}),cancel:t}}};function Vl(e){return function(r){return e.apply(null,r)}}function zl(e){return p.isObject(e)&&e.isAxiosError===!0}const ir={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ir).forEach(([e,t])=>{ir[t]=e});function vo(e){const t=new ke(e),r=oo(ke.prototype.request,t);return p.extend(r,ke.prototype,t,{allOwnKeys:!0}),p.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return vo(Ne(e,o))},r}const Z=vo(lt);Z.Axios=ke;Z.CanceledError=We;Z.CancelToken=Ul;Z.isCancel=Eo;Z.VERSION=xo;Z.toFormData=Ft;Z.AxiosError=$;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=Vl;Z.isAxiosError=zl;Z.mergeConfig=Ne;Z.AxiosHeaders=se;Z.formToJSON=e=>So(p.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=Oo.getAdapter;Z.HttpStatusCode=ir;Z.default=Z;const{Axios:Gl,AxiosError:Jl,CanceledError:Kl,isCancel:Yl,CancelToken:Xl,VERSION:Ql,all:Zl,Cancel:ec,isAxiosError:ql,spread:tc,toFormData:rc,AxiosHeaders:nc,HttpStatusCode:oc,formToJSON:ic,getAdapter:sc,mergeConfig:ac}=Z;exports.AxiosError=Jl;exports.THEME_ID=we;exports.axios=Z;exports.capitalize=cr;exports.clamp=Fn;exports.clsx=Dn;exports.createTheme=fr;exports.createTheme$1=Cr;exports.createUnarySpacing=At;exports.deepmerge=oe;exports.defaultSxConfig=ot;exports.defaultTheme=ro;exports.externalizeComponent=ma;exports.generateUtilityClass=jn;exports.getValue=ze;exports.handleBreakpoints=ye;exports.i18n=Tr;exports.internal_mutateStyles=Yo;exports.internal_serializeStyles=Pn;exports.isAxiosError=ql;exports.isPlainObject=Ce;exports.jsxRuntimeExports=G;exports.mergeBreakpointsInOrder=ai;exports.reactIsExports=lr;exports.resolveBreakpointValues=ci;exports.resolveProps=Et;exports.styleFunctionSx=Je;exports.styled=Ko;exports.useDefaultProps=fs;exports.useEnhancedEffect=pr;exports.useId=Hn;exports.useRtl=cs;exports.useTheme=mr;exports.useTheme$1=no;
|
|
115
|
-
//# sourceMappingURL=index-DH-ITo65.cjs.map
|