@wandelbots/wandelbots-js-react-components 3.2.0-pr.feat-improve-exports.414.40b4b4e → 3.2.0

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.
Files changed (87) hide show
  1. package/README.md +2 -79
  2. package/dist/components/jogging/JoggingStore.d.ts +1 -1
  3. package/dist/index.cjs +155 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.js +30530 -0
  6. package/dist/index.js.map +1 -0
  7. package/package.json +3 -24
  8. package/dist/3d.cjs.js +0 -2
  9. package/dist/3d.cjs.js.map +0 -1
  10. package/dist/3d.d.ts +0 -11
  11. package/dist/3d.d.ts.map +0 -1
  12. package/dist/3d.es.js +0 -16
  13. package/dist/3d.es.js.map +0 -1
  14. package/dist/PoseJointValues-C3bsJdfd.js +0 -5446
  15. package/dist/PoseJointValues-C3bsJdfd.js.map +0 -1
  16. package/dist/PoseJointValues-wLOjcYDe.cjs +0 -21
  17. package/dist/PoseJointValues-wLOjcYDe.cjs.map +0 -1
  18. package/dist/ProgramStateIndicator-CTT-CAcJ.js +0 -268
  19. package/dist/ProgramStateIndicator-CTT-CAcJ.js.map +0 -1
  20. package/dist/ProgramStateIndicator-DYKBcj1s.cjs +0 -2
  21. package/dist/ProgramStateIndicator-DYKBcj1s.cjs.map +0 -1
  22. package/dist/VelocitySlider-2Zme2MN7.cjs +0 -5
  23. package/dist/VelocitySlider-2Zme2MN7.cjs.map +0 -1
  24. package/dist/VelocitySlider-QSg_8eb1.js +0 -1906
  25. package/dist/VelocitySlider-QSg_8eb1.js.map +0 -1
  26. package/dist/core.cjs.js +0 -2
  27. package/dist/core.cjs.js.map +0 -1
  28. package/dist/core.d.ts +0 -23
  29. package/dist/core.d.ts.map +0 -1
  30. package/dist/core.es.js +0 -46
  31. package/dist/core.es.js.map +0 -1
  32. package/dist/createSvgIcon-BG4_bQuX.cjs +0 -56
  33. package/dist/createSvgIcon-BG4_bQuX.cjs.map +0 -1
  34. package/dist/createSvgIcon-D3GRPlVu.js +0 -3072
  35. package/dist/createSvgIcon-D3GRPlVu.js.map +0 -1
  36. package/dist/data.cjs.js +0 -2
  37. package/dist/data.cjs.js.map +0 -1
  38. package/dist/data.d.ts +0 -4
  39. package/dist/data.d.ts.map +0 -1
  40. package/dist/data.es.js +0 -7
  41. package/dist/data.es.js.map +0 -1
  42. package/dist/externalizeComponent-C12Qf79R.cjs +0 -24
  43. package/dist/externalizeComponent-C12Qf79R.cjs.map +0 -1
  44. package/dist/externalizeComponent-RpcZ_G17.js +0 -491
  45. package/dist/externalizeComponent-RpcZ_G17.js.map +0 -1
  46. package/dist/index-8UEqiXug.cjs +0 -7
  47. package/dist/index-8UEqiXug.cjs.map +0 -1
  48. package/dist/index-CQDi5W62.cjs +0 -2
  49. package/dist/index-CQDi5W62.cjs.map +0 -1
  50. package/dist/index-DSz82V23.js +0 -1801
  51. package/dist/index-DSz82V23.js.map +0 -1
  52. package/dist/index-DZubFUuo.js +0 -4909
  53. package/dist/index-DZubFUuo.js.map +0 -1
  54. package/dist/index-MyU3fVEK.cjs +0 -50
  55. package/dist/index-MyU3fVEK.cjs.map +0 -1
  56. package/dist/index-VURe0U2S.js +0 -9443
  57. package/dist/index-VURe0U2S.js.map +0 -1
  58. package/dist/index.cjs.js +0 -2
  59. package/dist/index.cjs.js.map +0 -1
  60. package/dist/index.es.js +0 -72
  61. package/dist/index.es.js.map +0 -1
  62. package/dist/interpolation-CVSmVNjc.cjs +0 -2
  63. package/dist/interpolation-CVSmVNjc.cjs.map +0 -1
  64. package/dist/interpolation-DjBX_Si-.js +0 -138
  65. package/dist/interpolation-DjBX_Si-.js.map +0 -1
  66. package/dist/jogging.cjs.js +0 -2
  67. package/dist/jogging.cjs.js.map +0 -1
  68. package/dist/jogging.d.ts +0 -9
  69. package/dist/jogging.d.ts.map +0 -1
  70. package/dist/jogging.es.js +0 -12
  71. package/dist/jogging.es.js.map +0 -1
  72. package/dist/manufacturerHomePositions-DHqcbFON.js +0 -979
  73. package/dist/manufacturerHomePositions-DHqcbFON.js.map +0 -1
  74. package/dist/manufacturerHomePositions-zd-CKEiQ.cjs +0 -2
  75. package/dist/manufacturerHomePositions-zd-CKEiQ.cjs.map +0 -1
  76. package/dist/theming-BO8z_Hpa.js +0 -2198
  77. package/dist/theming-BO8z_Hpa.js.map +0 -1
  78. package/dist/theming-D5DvGuxX.cjs +0 -4
  79. package/dist/theming-D5DvGuxX.cjs.map +0 -1
  80. package/dist/useThemeProps-P648Ox74.cjs +0 -2
  81. package/dist/useThemeProps-P648Ox74.cjs.map +0 -1
  82. package/dist/useThemeProps-jE_Qg6SI.js +0 -40
  83. package/dist/useThemeProps-jE_Qg6SI.js.map +0 -1
  84. package/src/3d.ts +0 -15
  85. package/src/core.ts +0 -23
  86. package/src/data.ts +0 -4
  87. package/src/jogging.ts +0 -9
@@ -1,56 +0,0 @@
1
- "use strict";const Jt=require("react"),Ge=require("./externalizeComponent-C12Qf79R.cjs"),w=require("prop-types"),Zt=require("@emotion/styled");require("@emotion/react");function er(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 F=er(Jt);function vt(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",c=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(c===!0?"":" ")+t(d),c=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function wt(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=wt(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function He(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=wt(e))&&(n&&(n+=" "),n+=t);return n}function J(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 Tt="$$material";function tr(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 rr={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 nr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var or=/[A-Z]|^ms/g,ir=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$t=function(t){return t.charCodeAt(1)===45},tt=function(t){return t!=null&&typeof t!="boolean"},je=nr(function(e){return $t(e)?e:e.replace(or,"-$&").toLowerCase()}),rt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ir,function(n,o,i){return X={name:o,styles:i,next:X},o})}return rr[t]!==1&&!$t(t)&&typeof r=="number"&&r!==0?r+"px":r};function ve(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 X={name:o.name,styles:o.styles,next:X},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)X={name:a.name,styles:a.styles,next:X},a=a.next;var c=i.styles+";";return c}return sr(e,t,r)}}var f=r;return f}function sr(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ve(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var c=a;tt(c)&&(n+=je(i)+":"+rt(i,c)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var f=0;f<a.length;f++)tt(a[f])&&(n+=je(i)+":"+rt(i,a[f])+";");else{var d=ve(e,t,a);switch(i){case"animation":case"animationName":{n+=je(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var nt=/label:\s*([^\s;{]+)\s*(;|$)/g,X;function ar(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="";X=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=ve(r,t,i);else{var a=i;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=ve(r,t,e[c]),n){var f=i;o+=f[c]}nt.lastIndex=0;for(var d="",g;(g=nt.exec(o))!==null;)d+="-"+g[1];var m=tr(o)+d;return{name:m,styles:o,next:X}}/**
2
- * @mui/styled-engine v7.1.1
3
- *
4
- * @license MIT
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */function lr(e,t){const r=Zt(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(`
8
- `)):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 cr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const ot=[];function it(e){return ot[0]=e,ar(ot)}var be={exports:{}},x={};/**
9
- * @license React
10
- * react-is.production.js
11
- *
12
- * Copyright (c) Meta Platforms, Inc. and affiliates.
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */var st;function ur(){if(st)return x;st=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function h(l){if(typeof l=="object"&&l!==null){var S=l.$$typeof;switch(S){case e:switch(l=l.type,l){case r:case o:case n:case f:case d:case p:return l;default:switch(l=l&&l.$$typeof,l){case a:case c:case m:case g:return l;case i:return l;default:return S}}case t:return S}}}return x.ContextConsumer=i,x.ContextProvider=a,x.Element=e,x.ForwardRef=c,x.Fragment=r,x.Lazy=m,x.Memo=g,x.Portal=t,x.Profiler=o,x.StrictMode=n,x.Suspense=f,x.SuspenseList=d,x.isContextConsumer=function(l){return h(l)===i},x.isContextProvider=function(l){return h(l)===a},x.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},x.isForwardRef=function(l){return h(l)===c},x.isFragment=function(l){return h(l)===r},x.isLazy=function(l){return h(l)===m},x.isMemo=function(l){return h(l)===g},x.isPortal=function(l){return h(l)===t},x.isProfiler=function(l){return h(l)===o},x.isStrictMode=function(l){return h(l)===n},x.isSuspense=function(l){return h(l)===f},x.isSuspenseList=function(l){return h(l)===d},x.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===g||l.$$typeof===a||l.$$typeof===i||l.$$typeof===c||l.$$typeof===b||l.getModuleId!==void 0)},x.typeOf=h,x}var A={};/**
17
- * @license React
18
- * react-is.development.js
19
- *
20
- * Copyright (c) Meta Platforms, Inc. and affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */var at;function fr(){return at||(at=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var S=l.$$typeof;switch(S){case t:switch(l=l.type,l){case n:case i:case o:case d:case g:case b:return l;default:switch(l=l&&l.$$typeof,l){case c:case f:case p:case m:return l;case a:return l;default:return S}}case r:return S}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");A.ContextConsumer=a,A.ContextProvider=c,A.Element=t,A.ForwardRef=f,A.Fragment=n,A.Lazy=p,A.Memo=m,A.Portal=r,A.Profiler=i,A.StrictMode=o,A.Suspense=d,A.SuspenseList=g,A.isContextConsumer=function(l){return e(l)===a},A.isContextProvider=function(l){return e(l)===c},A.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},A.isForwardRef=function(l){return e(l)===f},A.isFragment=function(l){return e(l)===n},A.isLazy=function(l){return e(l)===p},A.isMemo=function(l){return e(l)===m},A.isPortal=function(l){return e(l)===r},A.isProfiler=function(l){return e(l)===i},A.isStrictMode=function(l){return e(l)===o},A.isSuspense=function(l){return e(l)===d},A.isSuspenseList=function(l){return e(l)===g},A.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===d||l===g||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===m||l.$$typeof===c||l.$$typeof===a||l.$$typeof===f||l.$$typeof===h||l.getModuleId!==void 0)},A.typeOf=e}()),A}var lt;function dr(){return lt||(lt=1,process.env.NODE_ENV==="production"?be.exports=ur():be.exports=fr()),be.exports}var we=dr();function H(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 xt(e){if(F.isValidElement(e)||we.isValidElementType(e)||!H(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=xt(e[r])}),t}function z(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return H(e)&&H(t)&&Object.keys(t).forEach(o=>{F.isValidElement(t[o])||we.isValidElementType(t[o])?n[o]=t[o]:H(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&H(e[o])?n[o]=z(e[o],t[o],r):r.clone?n[o]=H(t[o])?xt(t[o]):t[o]:n[o]=t[o]}),n}const pr=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 mr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=pr(t),a=Object.keys(i);function c(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function f(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function d(p,b){const h=a.indexOf(b);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(h!==-1&&typeof t[a[h]]=="number"?t[a[h]]:b)-n/100}${r})`}function g(p){return a.indexOf(p)+1<a.length?d(p,a[a.indexOf(p)+1]):c(p)}function m(p){const b=a.indexOf(p);return b===0?c(a[1]):b===a.length-1?f(a[b]):d(p,a[a.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:c,down:f,between:d,only:g,not:m,unit:r,...o}}function gr(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,c;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((c=o.match(i))==null?void 0:c[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function hr(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function yr(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>\`.
25
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:J(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function br(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...c)=>t(e.breakpoints.up(...c),a),i.down=(...c)=>t(e.breakpoints.down(...c),a),i.between=(...c)=>t(e.breakpoints.between(...c),a),i.only=(...c)=>t(e.breakpoints.only(...c),a),i.not=(...c)=>{const f=t(e.breakpoints.not(...c),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Sr={borderRadius:4},te=process.env.NODE_ENV!=="production"?w.oneOfType([w.number,w.string,w.object,w.array]):{};function me(e,t){return t?z(e,t,{clone:!1}):e}const Ae={xs:0,sm:600,md:900,lg:1200,xl:1536},ct={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ae[e]}px)`},Cr={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Ae[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function q(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ct;return t.reduce((a,c,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||ct;return Object.keys(t).reduce((a,c)=>{if(hr(i.keys,c)){const f=yr(n.containerQueries?n:Cr,c);f&&(a[f]=r(t[c],c))}else if(Object.keys(i.values||Ae).includes(c)){const f=i.up(c);a[f]=r(t[c],c)}else{const f=c;a[f]=t[f]}return a},{})}return r(t)}function At(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Ot(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Er(e,...t){const r=At(e),n=[r,...t].reduce((o,i)=>z(o,i),{});return Ot(Object.keys(r),n)}function vr(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 wr({values:e,breakpoints:t,base:r}){const n=r||vr(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,c,f)=>(Array.isArray(e)?(a[c]=e[f]!=null?e[f]:e[i],i=f):typeof e=="object"?(a[c]=e[c]!=null?e[c]:e[i],i=c):a[c]=e,a),{})}function Z(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":J(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Oe(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 Te(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Oe(e,r)||n,t&&(o=t(o,n,e)),o}function B(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const c=a[t],f=a.theme,d=Oe(f,n)||{};return q(a,c,m=>{let p=Te(d,o,m);return m===p&&typeof m=="string"&&(p=Te(d,o,`${t}${m==="default"?"":Z(m)}`,m)),r===!1?p:{[r]:p}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:te}:{},i.filterProps=[t],i}function Tr(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const $r={m:"margin",p:"padding"},xr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ut={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ar=Tr(e=>{if(e.length>2)if(ut[e])e=ut[e];else return[e];const[t,r]=e.split(""),n=$r[t],o=xr[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),_e=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ke=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Or=[..._e,...ke];function he(e,t,r,n){const o=Oe(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 a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
26
- `)):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(`
27
- `)));const c=o[a];return i>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}: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(`
28
- `)),()=>{})}function Re(e){return he(e,"spacing",8,"spacing")}function ce(e,t){return typeof t=="string"||t==null?t:e(t)}function _r(e,t){return r=>e.reduce((n,o)=>(n[o]=ce(t,r),n),{})}function kr(e,t,r,n){if(!t.includes(r))return null;const o=Ar(r),i=_r(o,n),a=e[r];return q(e,a,i)}function _t(e,t){const r=Re(e.theme);return Object.keys(e).map(n=>kr(e,t,n,r)).reduce(me,{})}function N(e){return _t(e,_e)}N.propTypes=process.env.NODE_ENV!=="production"?_e.reduce((e,t)=>(e[t]=te,e),{}):{};N.filterProps=_e;function I(e){return _t(e,ke)}I.propTypes=process.env.NODE_ENV!=="production"?ke.reduce((e,t)=>(e[t]=te,e),{}):{};I.filterProps=ke;process.env.NODE_ENV!=="production"&&Or.reduce((e,t)=>(e[t]=te,e),{});function kt(e=8,t=Re({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 a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ne(...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]?me(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 W(e){return typeof e!="number"?e:`${e}px solid`}function G(e,t){return B({prop:e,themeKey:"borders",transform:t})}const Rr=G("border",W),Nr=G("borderTop",W),Ir=G("borderRight",W),Pr=G("borderBottom",W),Br=G("borderLeft",W),Dr=G("borderColor"),Mr=G("borderTopColor"),Vr=G("borderRightColor"),Fr=G("borderBottomColor"),zr=G("borderLeftColor"),jr=G("outline",W),Lr=G("outlineColor"),Ie=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=he(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:ce(t,n)});return q(e,e.borderRadius,r)}return null};Ie.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:te}:{};Ie.filterProps=["borderRadius"];Ne(Rr,Nr,Ir,Pr,Br,Dr,Mr,Vr,Fr,zr,Ie,jr,Lr);const Pe=e=>{if(e.gap!==void 0&&e.gap!==null){const t=he(e.theme,"spacing",8,"gap"),r=n=>({gap:ce(t,n)});return q(e,e.gap,r)}return null};Pe.propTypes=process.env.NODE_ENV!=="production"?{gap:te}:{};Pe.filterProps=["gap"];const Be=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=he(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:ce(t,n)});return q(e,e.columnGap,r)}return null};Be.propTypes=process.env.NODE_ENV!=="production"?{columnGap:te}:{};Be.filterProps=["columnGap"];const De=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=he(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:ce(t,n)});return q(e,e.rowGap,r)}return null};De.propTypes=process.env.NODE_ENV!=="production"?{rowGap:te}:{};De.filterProps=["rowGap"];const Ur=B({prop:"gridColumn"}),Wr=B({prop:"gridRow"}),Gr=B({prop:"gridAutoFlow"}),Yr=B({prop:"gridAutoColumns"}),Kr=B({prop:"gridAutoRows"}),Hr=B({prop:"gridTemplateColumns"}),qr=B({prop:"gridTemplateRows"}),Qr=B({prop:"gridTemplateAreas"}),Xr=B({prop:"gridArea"});Ne(Pe,Be,De,Ur,Wr,Gr,Yr,Kr,Hr,qr,Qr,Xr);function ae(e,t){return t==="grey"?t:e}const Jr=B({prop:"color",themeKey:"palette",transform:ae}),Zr=B({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ae}),en=B({prop:"backgroundColor",themeKey:"palette",transform:ae});Ne(Jr,Zr,en);function L(e){return e<=1&&e!==0?`${e*100}%`:e}const tn=B({prop:"width",transform:L}),qe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,c,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Ae[r];return n?((f=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:L(r)}};return q(e,e.maxWidth,t)}return null};qe.filterProps=["maxWidth"];const rn=B({prop:"minWidth",transform:L}),nn=B({prop:"height",transform:L}),on=B({prop:"maxHeight",transform:L}),sn=B({prop:"minHeight",transform:L});B({prop:"size",cssProperty:"width",transform:L});B({prop:"size",cssProperty:"height",transform:L});const an=B({prop:"boxSizing"});Ne(tn,qe,rn,nn,on,sn,an);const ye={border:{themeKey:"borders",transform:W},borderTop:{themeKey:"borders",transform:W},borderRight:{themeKey:"borders",transform:W},borderBottom:{themeKey:"borders",transform:W},borderLeft:{themeKey:"borders",transform:W},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:W},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ie},color:{themeKey:"palette",transform:ae},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ae},backgroundColor:{themeKey:"palette",transform:ae},p:{style:I},pt:{style:I},pr:{style:I},pb:{style:I},pl:{style:I},px:{style:I},py:{style:I},padding:{style:I},paddingTop:{style:I},paddingRight:{style:I},paddingBottom:{style:I},paddingLeft:{style:I},paddingX:{style:I},paddingY:{style:I},paddingInline:{style:I},paddingInlineStart:{style:I},paddingInlineEnd:{style:I},paddingBlock:{style:I},paddingBlockStart:{style:I},paddingBlockEnd:{style:I},m:{style:N},mt:{style:N},mr:{style:N},mb:{style:N},ml:{style:N},mx:{style:N},my:{style:N},margin:{style:N},marginTop:{style:N},marginRight:{style:N},marginBottom:{style:N},marginLeft:{style:N},marginX:{style:N},marginY:{style:N},marginInline:{style:N},marginInlineStart:{style:N},marginInlineEnd:{style:N},marginBlock:{style:N},marginBlockStart:{style:N},marginBlockEnd:{style:N},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:Pe},rowGap:{style:De},columnGap:{style:Be},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:L},maxWidth:{style:qe},minWidth:{transform:L},height:{transform:L},maxHeight:{transform:L},minHeight:{transform:L},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 ln(...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 cn(e,t){return typeof e=="function"?e(t):e}function un(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:g,style:m}=c;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const p=Oe(o,d)||{};return m?m(a):q(a,n,h=>{let l=Te(p,g,h);return h===l&&typeof h=="string"&&(l=Te(p,g,`${r}${h==="default"?"":Z(h)}`,h)),f===!1?l:{[f]:l}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??ye;function a(c){let f=c;if(typeof c=="function")f=c(o);else if(typeof c!="object")return c;if(!f)return null;const d=At(o.breakpoints),g=Object.keys(d);let m=d;return Object.keys(f).forEach(p=>{const b=cn(f[p],o);if(b!=null)if(typeof b=="object")if(i[p])m=me(m,e(p,b,o,i));else{const h=q({theme:o},b,l=>({[p]:l}));ln(h,b)?m[p]=t({sx:b,theme:o}):m=me(m,h)}else m=me(m,e(p,b,o,i))}),gr(o,Ot(g,m))}return Array.isArray(n)?n.map(a):a(n)}return t}const le=un();le.filterProps=["sx"];function fn(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 Qe(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,c=mr(r),f=kt(o);let d=z({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...Sr,...i}},a);return d=br(d),d.applyStyles=fn,d=t.reduce((g,m)=>z(g,m),d),d.unstable_sxConfig={...ye,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(m){return le({sx:m,theme:this})},d}const ft=e=>e,dn=()=>{let e=ft;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ft}}},pn=dn(),mn={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 Me(e,t,r="Mui"){const n=mn[t];return n?`${r}-${n}`:`${pn.generate(e)}-${t}`}function Rt(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Me(e,o,r)}),n}function Nt(e,t=""){return e.displayName||e.name||t}function dt(e,t,r){const n=Nt(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function gn(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Nt(e,"Component");if(typeof e=="object")switch(e.$$typeof){case we.ForwardRef:return dt(e,e.render,"ForwardRef");case we.Memo:return dt(e,e.type,"memo");default:return}}}function It(e){const{variants:t,...r}=e,n={variants:t,style:it(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=it(o.style))}),n}const hn=Qe();function Le(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function yn(e){return e?(t,r)=>r[e]:null}function bn(e,t,r){e.theme=En(e.theme)?r:e.theme[t]||e.theme}function Ee(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>Ee(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return Pt(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function Pt(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const c in a.props)if(e[c]!==a.props[c]&&((o=e.ownerState)==null?void 0:o[c])!==a.props[c])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function Bt(e={}){const{themeId:t,defaultTheme:r=hn,rootShouldForwardProp:n=Le,slotShouldForwardProp:o=Le}=e;function i(c){bn(c,t,r)}return(c,f={})=>{cr(c,$=>$.filter(P=>P!==le));const{name:d,slot:g,skipVariantsResolver:m,skipSx:p,overridesResolver:b=yn(Dt(g)),...h}=f,l=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,S=p||!1;let v=Le;g==="Root"||g==="root"?v=n:g?v=o:vn(c)&&(v=void 0);const D=lr(c,{shouldForwardProp:v,label:Cn(d,g),...h}),T=$=>{if($.__emotion_real===$)return $;if(typeof $=="function")return function(M){return Ee(M,$)};if(H($)){const P=It($);return P.variants?function(j){return Ee(j,P)}:P.style}return $},C=(...$)=>{const P=[],M=$.map(T),j=[];if(P.push(i),d&&b&&j.push(function(E){var ue,Ze;const V=(Ze=(ue=E.theme.components)==null?void 0:ue[d])==null?void 0:Ze.styleOverrides;if(!V)return null;const Y={};for(const et in V)Y[et]=Ee(E,V[et]);return b(E,Y)}),d&&!l&&j.push(function(E){var Y,ue;const k=E.theme,V=(ue=(Y=k==null?void 0:k.components)==null?void 0:Y[d])==null?void 0:ue.variants;return V?Pt(E,V):null}),S||j.push(le),Array.isArray(M[0])){const y=M.shift(),E=new Array(P.length).fill(""),k=new Array(j.length).fill("");let V;V=[...E,...y,...k],V.raw=[...E,...y.raw,...k],P.unshift(V)}const U=[...P,...M,...j],s=D(...U);return c.muiName&&(s.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(s.displayName=Sn(d,g,c)),s};return D.withConfig&&(C.withConfig=D.withConfig),C}}function Sn(e,t,r){return e?`${e}${Z(t||"")}`:`Styled(${gn(r)})`}function Cn(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Dt(t||"Root")}`),r}function En(e){for(const t in e)return!1;return!0}function vn(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Dt(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function $e(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 a=e[i],c=t[i];if(!c)n[i]=a||{};else if(!a)n[i]=c;else{n[i]={...c};for(const f in a)if(Object.prototype.hasOwnProperty.call(a,f)){const d=f;n[i][d]=$e(a[d],c[d],r)}}}else i==="className"&&r&&t.className?n.className=He(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 Mt=typeof window<"u"?F.useLayoutEffect:F.useEffect;function Vt(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Xe(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}].`),Vt(e,t,r)}function wn(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 ee(e){if(e.type)return e;if(e.charAt(0)==="#")return ee(wn(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.
29
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:J(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.
30
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:J(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Tn=e=>{const t=ee(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},de=(e,t)=>{try{return Tn(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Ve(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 Ft(e){e=ee(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,g=(d+r/30)%12)=>o-i*Math.max(Math.min(g-3,9-g,1),-1);let c="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",f.push(t[3])),Ve({type:c,values:f})}function Ye(e){e=ee(e);let t=e.type==="hsl"||e.type==="hsla"?ee(Ft(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 pt(e,t){const r=Ye(e),n=Ye(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function zt(e,t){return e=ee(e),t=Xe(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ve(e)}function Se(e,t,r){try{return zt(e,t)}catch{return e}}function Fe(e,t){if(e=ee(e),t=Xe(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 Ve(e)}function O(e,t,r){try{return Fe(e,t)}catch{return e}}function ze(e,t){if(e=ee(e),t=Xe(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 Ve(e)}function _(e,t,r){try{return ze(e,t)}catch{return e}}function $n(e,t=.15){return Ye(e)>.5?Fe(e,t):ze(e,t)}function Ce(e,t,r){try{return $n(e,t)}catch{return e}}const xn=F.createContext(void 0);process.env.NODE_ENV!=="production"&&(w.node,w.object);function An(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?$e(o.defaultProps,n):!o.styleOverrides&&!o.variants?$e(o,n):n}function On({props:e,name:t}){const r=F.useContext(xn);return An({props:e,name:t,theme:{components:r}})}const mt={theme:void 0};function _n(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(mt.theme=o.theme,i=It(e(mt)),t=i,r=o.theme),i}}function kn(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 gt=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===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])})},Rn=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([c,f])=>{(!r||r&&!r([...i,c]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,c],Array.isArray(f)?[...a,c]:a):t([...i,c],f,a))})}n(e)},Nn=(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 Ue(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Rn(e,(c,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(c,f))){const g=`--${r?`${r}-`:""}${c.join("-")}`,m=Nn(c,f);Object.assign(o,{[g]:m}),gt(i,c,`var(${g})`,d),gt(a,c,`var(${g}, ${m})`,d)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function In(e,t={}){const{getSelector:r=S,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:c="light",...f}=e,{vars:d,css:g,varsWithDefaults:m}=Ue(f,t);let p=m;const b={},{[c]:h,...l}=i;if(Object.entries(l||{}).forEach(([T,C])=>{const{vars:$,css:P,varsWithDefaults:M}=Ue(C,t);p=z(p,M),b[T]={css:P,vars:$}}),h){const{css:T,vars:C,varsWithDefaults:$}=Ue(h,t);p=z(p,$),b[c]={css:T,vars:C}}function S(T,C){var P,M;let $=o;if(o==="class"&&($=".%s"),o==="data"&&($="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&($=`[${o}="%s"]`),T){if($==="media")return e.defaultColorScheme===T?":root":{[`@media (prefers-color-scheme: ${((M=(P=i[T])==null?void 0:P.palette)==null?void 0:M.mode)||T})`]:{":root":C}};if($)return e.defaultColorScheme===T?`:root, ${$.replace("%s",String(T))}`:$.replace("%s",String(T))}return":root"}return{vars:p,generateThemeVars:()=>{let T={...d};return Object.entries(b).forEach(([,{vars:C}])=>{T=z(T,C)}),T},generateStyleSheets:()=>{var j,U;const T=[],C=e.defaultColorScheme||"light";function $(s,y){Object.keys(y).length&&T.push(typeof s=="string"?{[s]:{...y}}:s)}$(r(void 0,{...g}),g);const{[C]:P,...M}=b;if(P){const{css:s}=P,y=(U=(j=i[C])==null?void 0:j.palette)==null?void 0:U.mode,E=!n&&y?{colorScheme:y,...s}:{...s};$(r(C,{...E}),E)}return Object.entries(M).forEach(([s,{css:y}])=>{var V,Y;const E=(Y=(V=i[s])==null?void 0:V.palette)==null?void 0:Y.mode,k=!n&&E?{colorScheme:E,...y}:{...y};$(r(s,{...k}),k)}),T}}}function Pn(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 ge={black:"#000",white:"#fff"},Bn={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"},re={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},ne={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},fe={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},oe={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},ie={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},se={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function jt(){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:ge.white,default:ge.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 Dn=jt();function Lt(){return{text:{primary:ge.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:ge.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 ht=Lt();function yt(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=ze(e.main,o):t==="dark"&&(e.dark=Fe(e.main,i)))}function Mn(e="light"){return e==="dark"?{main:oe[200],light:oe[50],dark:oe[400]}:{main:oe[700],light:oe[400],dark:oe[800]}}function Vn(e="light"){return e==="dark"?{main:re[200],light:re[50],dark:re[400]}:{main:re[500],light:re[300],dark:re[700]}}function Fn(e="light"){return e==="dark"?{main:ne[500],light:ne[300],dark:ne[700]}:{main:ne[700],light:ne[400],dark:ne[800]}}function zn(e="light"){return e==="dark"?{main:ie[400],light:ie[300],dark:ie[700]}:{main:ie[700],light:ie[500],dark:ie[900]}}function jn(e="light"){return e==="dark"?{main:se[400],light:se[300],dark:se[700]}:{main:se[800],light:se[500],dark:se[900]}}function Ln(e="light"){return e==="dark"?{main:fe[400],light:fe[300],dark:fe[700]}:{main:"#ed6c02",light:fe[500],dark:fe[900]}}function Je(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Mn(t),a=e.secondary||Vn(t),c=e.error||Fn(t),f=e.info||zn(t),d=e.success||jn(t),g=e.warning||Ln(t);function m(l){const S=pt(l,ht.text.primary)>=r?ht.text.primary:Dn.text.primary;if(process.env.NODE_ENV!=="production"){const v=pt(l,S);v<3&&console.error([`MUI: The contrast ratio of ${v}:1 for ${S} on ${l}`,"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(`
31
- `))}return S}const p=({color:l,name:S,mainShade:v=500,lightShade:D=300,darkShade:T=700})=>{if(l={...l},!l.main&&l[v]&&(l.main=l[v]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${S?` (${S})`:""} provided to augmentColor(color) is invalid.
32
- The color object needs to have a \`main\` property or a \`${v}\` property.`:J(11,S?` (${S})`:"",v));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${S?` (${S})`:""} provided to augmentColor(color) is invalid.
33
- \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
34
-
35
- Did you intend to use one of the following approaches?
36
-
37
- import { green } from "@mui/material/colors";
38
-
39
- const theme1 = createTheme({ palette: {
40
- primary: green,
41
- } });
42
-
43
- const theme2 = createTheme({ palette: {
44
- primary: { main: green[500] },
45
- } });`:J(12,S?` (${S})`:"",JSON.stringify(l.main)));return yt(l,"light",D,n),yt(l,"dark",T,n),l.contrastText||(l.contrastText=m(l.main)),l};let b;return t==="light"?b=jt():t==="dark"&&(b=Lt()),process.env.NODE_ENV!=="production"&&(b||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),z({common:{...ge},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:c,name:"error"}),warning:p({color:g,name:"warning"}),info:p({color:f,name:"info"}),success:p({color:d,name:"success"}),grey:Bn,contrastThreshold:r,getContrastText:m,augmentColor:p,tonalOffset:n,...b},o)}function Un(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 Wn(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Gn(e){return Math.round(e*1e5)/1e5}const bt={textTransform:"uppercase"},St='"Roboto", "Helvetica", "Arial", sans-serif';function Yn(e,t){const{fontFamily:r=St,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:f=16,allVariants:d,pxToRem:g,...m}=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 f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=n/14,b=g||(S=>`${S/f*p}rem`),h=(S,v,D,T,C)=>({fontFamily:r,fontWeight:S,fontSize:b(v),lineHeight:D,...r===St?{letterSpacing:`${Gn(T/v)}em`}:{},...C,...d}),l={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,bt),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,bt),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return z({htmlFontSize:f,pxToRem:b,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:c,...l},m,{clone:!1})}const Kn=.2,Hn=.14,qn=.12;function R(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Kn})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Hn})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${qn})`].join(",")}const Qn=["none",R(0,2,1,-1,0,1,1,0,0,1,3,0),R(0,3,1,-2,0,2,2,0,0,1,5,0),R(0,3,3,-2,0,3,4,0,0,1,8,0),R(0,2,4,-1,0,4,5,0,0,1,10,0),R(0,3,5,-1,0,5,8,0,0,1,14,0),R(0,3,5,-1,0,6,10,0,0,1,18,0),R(0,4,5,-2,0,7,10,1,0,2,16,1),R(0,5,5,-3,0,8,10,1,0,3,14,2),R(0,5,6,-3,0,9,12,1,0,3,16,2),R(0,6,6,-3,0,10,14,1,0,4,18,3),R(0,6,7,-4,0,11,15,1,0,4,20,3),R(0,7,8,-4,0,12,17,2,0,5,22,4),R(0,7,8,-4,0,13,19,2,0,5,24,4),R(0,7,9,-4,0,14,21,2,0,5,26,4),R(0,8,9,-5,0,15,22,2,0,6,28,5),R(0,8,10,-5,0,16,24,2,0,6,30,5),R(0,8,11,-5,0,17,26,2,0,6,32,5),R(0,9,11,-5,0,18,28,2,0,7,34,6),R(0,9,12,-6,0,19,29,2,0,7,36,6),R(0,10,13,-6,0,20,31,3,0,8,38,7),R(0,10,13,-6,0,21,33,3,0,8,40,7),R(0,10,14,-6,0,22,35,3,0,8,42,7),R(0,11,14,-7,0,23,36,3,0,9,44,8),R(0,11,15,-7,0,24,38,3,0,9,46,8)],Xn={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)"},Jn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ct(e){return`${Math.round(e)}ms`}function Zn(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function eo(e){const t={...Xn,...e.easing},r={...Jn,...e.duration};return{getAutoHeightDuration:Zn,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:f=0,...d}=i;if(process.env.NODE_ENV!=="production"){const g=p=>typeof p=="string",m=p=>!Number.isNaN(parseFloat(p));!g(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(a)&&!g(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),g(c)||console.error('MUI: Argument "easing" must be a string.'),!m(f)&&!g(f)&&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(`
46
- `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof a=="string"?a:Ct(a)} ${c} ${typeof f=="string"?f:Ct(f)}`).join(",")},...e,easing:t,duration:r}}const to={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ro(e){return H(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ut(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,c]=o[i];!ro(c)||a.startsWith("unstable_")?delete n[a]:H(c)&&(n[a]={...c},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
47
-
48
- const theme = ${JSON.stringify(t,null,2)};
49
-
50
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
51
- theme.transitions = createTransitions(theme.transitions || {});
52
-
53
- export default theme;`}function Ke(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:c={},shape:f,...d}=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.":J(20));const g=Je(i),m=Qe(e);let p=z(m,{mixins:Wn(m.breakpoints,n),palette:g,shadows:Qn.slice(),typography:Yn(g,c),transitions:eo(a),zIndex:{...to}});if(p=z(p,d),p=t.reduce((b,h)=>z(b,h),p),process.env.NODE_ENV!=="production"){const b=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(l,S)=>{let v;for(v in l){const D=l[v];if(b.includes(v)&&Object.keys(D).length>0){if(process.env.NODE_ENV!=="production"){const T=Me("",v);console.error([`MUI: The \`${S}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(l,null,2),"",`Instead, you need to use the '&.${T}' syntax:`,JSON.stringify({root:{[`&.${T}`]:D}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
54
- `))}l[v]={}}}};Object.keys(p.components).forEach(l=>{const S=p.components[l].styleOverrides;S&&l.startsWith("Mui")&&h(S,l)})}return p.unstable_sxConfig={...ye,...d==null?void 0:d.unstable_sxConfig},p.unstable_sx=function(h){return le({sx:h,theme:this})},p.toRuntimeSource=Ut,p}function no(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 oo=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=no(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Wt(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Gt(e){return e==="dark"?oo:[]}function io(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Je(t);return{palette:i,opacity:{...Wt(i.mode),...r},overlays:n||Gt(i.mode),...o}}function so(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ao=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],lo=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 a={};return ao(e.cssVarPrefix).forEach(c=>{a[c]=r[c],delete r[c]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}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 co(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function u(e,t,r){!e[t]&&r&&(e[t]=r)}function pe(e){return typeof e!="string"||!e.startsWith("hsl")?e:Ft(e)}function Q(e,t){`${t}Channel`in e||(e[`${t}Channel`]=de(pe(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().
55
- 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 uo(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const K=e=>{try{return e()}catch{}},fo=(e="mui")=>kn(e);function We(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=io({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=Ke({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...Wt(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Gt(o)},a}function po(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=so,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...d}=e,g=Object.keys(r)[0],m=n||(r.light&&g!=="light"?"light":g),p=fo(i),{[m]:b,light:h,dark:l,...S}=r,v={...S};let D=b;if((m==="dark"&&!("dark"in r)||m==="light"&&!("light"in r))&&(D=!0),!D)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:J(21,m));const T=We(v,D,d,m);h&&!v.light&&We(v,h,void 0,"light"),l&&!v.dark&&We(v,l,void 0,"dark");let C={defaultColorScheme:m,...T,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:f,getCssVar:p,colorSchemes:v,font:{...Un(T.typography),...T.font},spacing:uo(d.spacing)};Object.keys(C.colorSchemes).forEach(U=>{const s=C.colorSchemes[U].palette,y=E=>{const k=E.split("-"),V=k[1],Y=k[2];return p(E,s[V][Y])};if(s.mode==="light"&&(u(s.common,"background","#fff"),u(s.common,"onBackground","#000")),s.mode==="dark"&&(u(s.common,"background","#000"),u(s.common,"onBackground","#fff")),co(s,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),s.mode==="light"){u(s.Alert,"errorColor",O(s.error.light,.6)),u(s.Alert,"infoColor",O(s.info.light,.6)),u(s.Alert,"successColor",O(s.success.light,.6)),u(s.Alert,"warningColor",O(s.warning.light,.6)),u(s.Alert,"errorFilledBg",y("palette-error-main")),u(s.Alert,"infoFilledBg",y("palette-info-main")),u(s.Alert,"successFilledBg",y("palette-success-main")),u(s.Alert,"warningFilledBg",y("palette-warning-main")),u(s.Alert,"errorFilledColor",K(()=>s.getContrastText(s.error.main))),u(s.Alert,"infoFilledColor",K(()=>s.getContrastText(s.info.main))),u(s.Alert,"successFilledColor",K(()=>s.getContrastText(s.success.main))),u(s.Alert,"warningFilledColor",K(()=>s.getContrastText(s.warning.main))),u(s.Alert,"errorStandardBg",_(s.error.light,.9)),u(s.Alert,"infoStandardBg",_(s.info.light,.9)),u(s.Alert,"successStandardBg",_(s.success.light,.9)),u(s.Alert,"warningStandardBg",_(s.warning.light,.9)),u(s.Alert,"errorIconColor",y("palette-error-main")),u(s.Alert,"infoIconColor",y("palette-info-main")),u(s.Alert,"successIconColor",y("palette-success-main")),u(s.Alert,"warningIconColor",y("palette-warning-main")),u(s.AppBar,"defaultBg",y("palette-grey-100")),u(s.Avatar,"defaultBg",y("palette-grey-400")),u(s.Button,"inheritContainedBg",y("palette-grey-300")),u(s.Button,"inheritContainedHoverBg",y("palette-grey-A100")),u(s.Chip,"defaultBorder",y("palette-grey-400")),u(s.Chip,"defaultAvatarColor",y("palette-grey-700")),u(s.Chip,"defaultIconColor",y("palette-grey-700")),u(s.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),u(s.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),u(s.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),u(s.LinearProgress,"primaryBg",_(s.primary.main,.62)),u(s.LinearProgress,"secondaryBg",_(s.secondary.main,.62)),u(s.LinearProgress,"errorBg",_(s.error.main,.62)),u(s.LinearProgress,"infoBg",_(s.info.main,.62)),u(s.LinearProgress,"successBg",_(s.success.main,.62)),u(s.LinearProgress,"warningBg",_(s.warning.main,.62)),u(s.Skeleton,"bg",`rgba(${y("palette-text-primaryChannel")} / 0.11)`),u(s.Slider,"primaryTrack",_(s.primary.main,.62)),u(s.Slider,"secondaryTrack",_(s.secondary.main,.62)),u(s.Slider,"errorTrack",_(s.error.main,.62)),u(s.Slider,"infoTrack",_(s.info.main,.62)),u(s.Slider,"successTrack",_(s.success.main,.62)),u(s.Slider,"warningTrack",_(s.warning.main,.62));const E=Ce(s.background.default,.8);u(s.SnackbarContent,"bg",E),u(s.SnackbarContent,"color",K(()=>s.getContrastText(E))),u(s.SpeedDialAction,"fabHoverBg",Ce(s.background.paper,.15)),u(s.StepConnector,"border",y("palette-grey-400")),u(s.StepContent,"border",y("palette-grey-400")),u(s.Switch,"defaultColor",y("palette-common-white")),u(s.Switch,"defaultDisabledColor",y("palette-grey-100")),u(s.Switch,"primaryDisabledColor",_(s.primary.main,.62)),u(s.Switch,"secondaryDisabledColor",_(s.secondary.main,.62)),u(s.Switch,"errorDisabledColor",_(s.error.main,.62)),u(s.Switch,"infoDisabledColor",_(s.info.main,.62)),u(s.Switch,"successDisabledColor",_(s.success.main,.62)),u(s.Switch,"warningDisabledColor",_(s.warning.main,.62)),u(s.TableCell,"border",_(Se(s.divider,1),.88)),u(s.Tooltip,"bg",Se(s.grey[700],.92))}if(s.mode==="dark"){u(s.Alert,"errorColor",_(s.error.light,.6)),u(s.Alert,"infoColor",_(s.info.light,.6)),u(s.Alert,"successColor",_(s.success.light,.6)),u(s.Alert,"warningColor",_(s.warning.light,.6)),u(s.Alert,"errorFilledBg",y("palette-error-dark")),u(s.Alert,"infoFilledBg",y("palette-info-dark")),u(s.Alert,"successFilledBg",y("palette-success-dark")),u(s.Alert,"warningFilledBg",y("palette-warning-dark")),u(s.Alert,"errorFilledColor",K(()=>s.getContrastText(s.error.dark))),u(s.Alert,"infoFilledColor",K(()=>s.getContrastText(s.info.dark))),u(s.Alert,"successFilledColor",K(()=>s.getContrastText(s.success.dark))),u(s.Alert,"warningFilledColor",K(()=>s.getContrastText(s.warning.dark))),u(s.Alert,"errorStandardBg",O(s.error.light,.9)),u(s.Alert,"infoStandardBg",O(s.info.light,.9)),u(s.Alert,"successStandardBg",O(s.success.light,.9)),u(s.Alert,"warningStandardBg",O(s.warning.light,.9)),u(s.Alert,"errorIconColor",y("palette-error-main")),u(s.Alert,"infoIconColor",y("palette-info-main")),u(s.Alert,"successIconColor",y("palette-success-main")),u(s.Alert,"warningIconColor",y("palette-warning-main")),u(s.AppBar,"defaultBg",y("palette-grey-900")),u(s.AppBar,"darkBg",y("palette-background-paper")),u(s.AppBar,"darkColor",y("palette-text-primary")),u(s.Avatar,"defaultBg",y("palette-grey-600")),u(s.Button,"inheritContainedBg",y("palette-grey-800")),u(s.Button,"inheritContainedHoverBg",y("palette-grey-700")),u(s.Chip,"defaultBorder",y("palette-grey-700")),u(s.Chip,"defaultAvatarColor",y("palette-grey-300")),u(s.Chip,"defaultIconColor",y("palette-grey-300")),u(s.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),u(s.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),u(s.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),u(s.LinearProgress,"primaryBg",O(s.primary.main,.5)),u(s.LinearProgress,"secondaryBg",O(s.secondary.main,.5)),u(s.LinearProgress,"errorBg",O(s.error.main,.5)),u(s.LinearProgress,"infoBg",O(s.info.main,.5)),u(s.LinearProgress,"successBg",O(s.success.main,.5)),u(s.LinearProgress,"warningBg",O(s.warning.main,.5)),u(s.Skeleton,"bg",`rgba(${y("palette-text-primaryChannel")} / 0.13)`),u(s.Slider,"primaryTrack",O(s.primary.main,.5)),u(s.Slider,"secondaryTrack",O(s.secondary.main,.5)),u(s.Slider,"errorTrack",O(s.error.main,.5)),u(s.Slider,"infoTrack",O(s.info.main,.5)),u(s.Slider,"successTrack",O(s.success.main,.5)),u(s.Slider,"warningTrack",O(s.warning.main,.5));const E=Ce(s.background.default,.98);u(s.SnackbarContent,"bg",E),u(s.SnackbarContent,"color",K(()=>s.getContrastText(E))),u(s.SpeedDialAction,"fabHoverBg",Ce(s.background.paper,.15)),u(s.StepConnector,"border",y("palette-grey-600")),u(s.StepContent,"border",y("palette-grey-600")),u(s.Switch,"defaultColor",y("palette-grey-300")),u(s.Switch,"defaultDisabledColor",y("palette-grey-600")),u(s.Switch,"primaryDisabledColor",O(s.primary.main,.55)),u(s.Switch,"secondaryDisabledColor",O(s.secondary.main,.55)),u(s.Switch,"errorDisabledColor",O(s.error.main,.55)),u(s.Switch,"infoDisabledColor",O(s.info.main,.55)),u(s.Switch,"successDisabledColor",O(s.success.main,.55)),u(s.Switch,"warningDisabledColor",O(s.warning.main,.55)),u(s.TableCell,"border",O(Se(s.divider,1),.68)),u(s.Tooltip,"bg",Se(s.grey[700],.92))}Q(s.background,"default"),Q(s.background,"paper"),Q(s.common,"background"),Q(s.common,"onBackground"),Q(s,"divider"),Object.keys(s).forEach(E=>{const k=s[E];E!=="tonalOffset"&&k&&typeof k=="object"&&(k.main&&u(s[E],"mainChannel",de(pe(k.main))),k.light&&u(s[E],"lightChannel",de(pe(k.light))),k.dark&&u(s[E],"darkChannel",de(pe(k.dark))),k.contrastText&&u(s[E],"contrastTextChannel",de(pe(k.contrastText))),E==="text"&&(Q(s[E],"primary"),Q(s[E],"secondary")),E==="action"&&(k.active&&Q(s[E],"active"),k.selected&&Q(s[E],"selected")))})}),C=t.reduce((U,s)=>z(U,s),C);const $={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:lo(C)},{vars:P,generateThemeVars:M,generateStyleSheets:j}=In(C,$);return C.vars=P,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([U,s])=>{C[U]=s}),C.generateThemeVars=M,C.generateStyleSheets=j,C.generateSpacing=function(){return kt(d.spacing,Re(this))},C.getColorSchemeSelector=Pn(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=a,C.unstable_sxConfig={...ye,...d==null?void 0:d.unstable_sxConfig},C.unstable_sx=function(s){return le({sx:s,theme:this})},C.toRuntimeSource=Ut,C}function Et(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Je({...r===!0?{}:r.palette,mode:t})})}function Yt(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,c=i||"light",f=o==null?void 0:o[c],d={...o,...r?{[c]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Ke(e,...t);let g=r;"palette"in e||d[c]&&(d[c]!==!0?g=d[c].palette:c==="dark"&&(g={mode:"dark"}));const m=Ke({...e,palette:g},...t);return m.defaultColorScheme=c,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},Et(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},Et(m,"light",d.light)),m}return!r&&!("light"in d)&&c==="light"&&(d.light=!0),po({...a,colorSchemes:d,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Kt=Yt();function Ht(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const mo=e=>Ht(e)&&e!=="classes",qt=Bt({themeId:Tt,defaultTheme:Kt,rootShouldForwardProp:mo});function go(...e){const t=F.useRef(void 0),r=F.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,c=a(n);return typeof c=="function"?c:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return F.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function ho(e){return e&&e.ownerDocument||document}function yo(e){const t=F.useRef(e);return Mt(()=>{t.current=e}),F.useRef((...r)=>(0,t.current)(...r)).current}const Qt=_n;process.env.NODE_ENV!=="production"&&(w.node,w.object.isRequired);function Xt(e){return On(e)}function bo(e){return Me("MuiSvgIcon",e)}Rt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const So=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Z(t)}`,`fontSize${Z(r)}`]};return vt(o,bo,n)},Co=qt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Z(r.color)}`],t[`fontSize${Z(r.fontSize)}`]]}})(Qt(({theme:e})=>{var t,r,n,o,i,a,c,f,d,g,m,p,b,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:l=>!l.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:f.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((g=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:g.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,l])=>l&&l.main).map(([l])=>{var S,v;return{props:{color:l},style:{color:(v=(S=(e.vars??e).palette)==null?void 0:S[l])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(p=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(h=(b=(e.vars??e).palette)==null?void 0:b.action)==null?void 0:h.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),xe=F.forwardRef(function(t,r){const n=Xt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:g=!1,titleAccess:m,viewBox:p="0 0 24 24",...b}=n,h=F.isValidElement(o)&&o.type==="svg",l={...n,color:a,component:c,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:g,viewBox:p,hasSvgAsChild:h},S={};g||(S.viewBox=p);const v=So(l);return Ge.jsxRuntimeExports.jsxs(Co,{as:c,className:He(v.root,i),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r,...S,...b,...h&&o.props,ownerState:l,children:[h?o.props.children:o,m?Ge.jsxRuntimeExports.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(xe.propTypes={children:w.node,classes:w.object,className:w.string,color:w.oneOfType([w.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),w.string]),component:w.elementType,fontSize:w.oneOfType([w.oneOf(["inherit","large","medium","small"]),w.string]),htmlColor:w.string,inheritViewBox:w.bool,shapeRendering:w.string,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),titleAccess:w.string,viewBox:w.string});xe.muiName="SvgIcon";function Eo(e,t){function r(n,o){return Ge.jsxRuntimeExports.jsx(xe,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=xe.muiName,F.memo(F.forwardRef(r))}exports.THEME_ID=Tt;exports.alpha=zt;exports.capitalize=Z;exports.clamp=Vt;exports.clsx=He;exports.composeClasses=vt;exports.createStyled=Bt;exports.createSvgIcon=Eo;exports.createTheme=Qe;exports.createTheme$1=Yt;exports.createUnarySpacing=Re;exports.darken=Fe;exports.deepmerge=z;exports.defaultSxConfig=ye;exports.defaultTheme=Kt;exports.generateUtilityClass=Me;exports.generateUtilityClasses=Rt;exports.getValue=ce;exports.handleBreakpoints=q;exports.isPlainObject=H;exports.lighten=ze;exports.memoTheme=Qt;exports.mergeBreakpointsInOrder=Er;exports.ownerDocument=ho;exports.resolveBreakpointValues=wr;exports.resolveProps=$e;exports.slotShouldForwardProp=Ht;exports.styled=qt;exports.useDefaultProps=Xt;exports.useEnhancedEffect=Mt;exports.useEventCallback=yo;exports.useForkRef=go;
56
- //# sourceMappingURL=createSvgIcon-BG4_bQuX.cjs.map