iobroker.javascript 8.9.2 → 9.0.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 (119) hide show
  1. package/README.md +7 -3
  2. package/admin/assets/{createSvgIcon-BdRvDw53.js → createSvgIcon-BQT-7-GS.js} +1 -1
  3. package/admin/assets/{docs-6na4NFtj.js → docs-BrInh2Pn.js} +2 -2
  4. package/admin/assets/index-B0RKH_iG.js +1329 -0
  5. package/admin/assets/index-CfuHVX2B.js +193 -0
  6. package/admin/assets/index-CuCs5aLs.js +5 -0
  7. package/admin/assets/index-tExaxF69.js +930 -0
  8. package/admin/assets/inheritsLoose--KnFDOw1.js +36 -0
  9. package/admin/assets/{useTheme-Cl1QmYFL.js → useTheme-DF6qfrtI.js} +1 -1
  10. package/admin/custom/assets/{Components-ChpTW7sE.js → Components-D9kRsHNY.js} +1 -1
  11. package/admin/custom/assets/{DefaultPropsProvider-CHpMCMgA.js → DefaultPropsProvider-9qubdy-V.js} +2 -2
  12. package/admin/custom/assets/{FilledInput-CtcQVKyj.js → FilledInput-BpuM_GyB.js} +1 -1
  13. package/admin/custom/assets/Tabs-CvEv0KOT.js +138 -0
  14. package/admin/custom/assets/ThemeProvider-DZTpMR8n.js +29 -0
  15. package/admin/custom/assets/{createSvgIcon-C_vAELFU.js → createSvgIcon-BQThUM-f.js} +1 -1
  16. package/admin/custom/assets/hostInit-CrAs5YZS.js +1 -1
  17. package/admin/custom/assets/{index-DwsbskQy.js → index-DIWNdd4a.js} +1 -1
  18. package/admin/custom/assets/index-DZqbj5K4.js +55 -0
  19. package/admin/custom/assets/{index-D5apCzjJ.js → index-Dbe-II7_.js} +6 -6
  20. package/admin/custom/assets/index-az76fZMP.js +904 -0
  21. package/admin/custom/assets/index-sawv1cUe.js +1399 -0
  22. package/admin/custom/assets/{virtualExposes-BPncCdUy.js → virtualExposes-BMKIjWrE.js} +2 -2
  23. package/admin/custom/customComponents.js +2 -2
  24. package/admin/custom/i18n/de.json +29 -29
  25. package/admin/custom/i18n/es.json +29 -29
  26. package/admin/custom/i18n/fr.json +29 -29
  27. package/admin/custom/i18n/it.json +29 -29
  28. package/admin/custom/i18n/nl.json +29 -29
  29. package/admin/custom/i18n/pl.json +29 -29
  30. package/admin/custom/i18n/pt.json +29 -29
  31. package/admin/custom/i18n/ru.json +29 -29
  32. package/admin/custom/i18n/uk.json +29 -29
  33. package/admin/custom/i18n/zh-cn.json +29 -29
  34. package/admin/google-blockly/blockly_compressed.js +875 -887
  35. package/admin/google-blockly/blocks_compressed.js +38 -41
  36. package/admin/google-blockly/javascript_compressed.js +19 -54
  37. package/admin/google-blockly/media/delete-icon.svg +1 -0
  38. package/admin/google-blockly/media/foldout-icon.svg +1 -0
  39. package/admin/google-blockly/media/resize-handle.svg +3 -0
  40. package/admin/jsonConfig.json +2 -0
  41. package/admin/mf-manifest.json +1 -1
  42. package/admin/remoteEntry.js +2 -2
  43. package/admin/tab.html +4 -4
  44. package/admin/vsFont/README.md +1 -1
  45. package/admin/vsFont/createJson.js +1 -1
  46. package/build-backend/lib/consts.js +346 -0
  47. package/build-backend/lib/consts.js.map +1 -0
  48. package/build-backend/lib/convert.js +120 -0
  49. package/build-backend/lib/convert.js.map +1 -0
  50. package/build-backend/lib/debug.js +163 -0
  51. package/build-backend/lib/debug.js.map +1 -0
  52. package/{lib → build-backend/lib}/debugger.js +261 -232
  53. package/build-backend/lib/debugger.js.map +1 -0
  54. package/build-backend/lib/eventObj.js +177 -0
  55. package/build-backend/lib/eventObj.js.map +1 -0
  56. package/build-backend/lib/inspect.js +728 -0
  57. package/build-backend/lib/inspect.js.map +1 -0
  58. package/build-backend/lib/javascript.d.ts +1972 -0
  59. package/{lib → build-backend/lib}/mirror.js +185 -182
  60. package/build-backend/lib/mirror.js.map +1 -0
  61. package/build-backend/lib/nodeModulesManagement.js +25 -0
  62. package/build-backend/lib/nodeModulesManagement.js.map +1 -0
  63. package/build-backend/lib/patternCompareFunctions.js +321 -0
  64. package/build-backend/lib/patternCompareFunctions.js.map +1 -0
  65. package/build-backend/lib/protectFs.js +477 -0
  66. package/build-backend/lib/protectFs.js.map +1 -0
  67. package/build-backend/lib/request.js +89 -0
  68. package/build-backend/lib/request.js.map +1 -0
  69. package/{lib → build-backend/lib}/sandbox.js +2046 -1852
  70. package/build-backend/lib/sandbox.js.map +1 -0
  71. package/build-backend/lib/scheduler.js +553 -0
  72. package/build-backend/lib/scheduler.js.map +1 -0
  73. package/build-backend/lib/tools.js +183 -0
  74. package/build-backend/lib/tools.js.map +1 -0
  75. package/build-backend/lib/typescriptSettings.js +39 -0
  76. package/build-backend/lib/typescriptSettings.js.map +1 -0
  77. package/build-backend/lib/typescriptTools.js +435 -0
  78. package/build-backend/lib/typescriptTools.js.map +1 -0
  79. package/build-backend/lib/utils.js +66 -0
  80. package/build-backend/lib/utils.js.map +1 -0
  81. package/{lib → build-backend/lib}/words.js +23 -30
  82. package/build-backend/lib/words.js.map +1 -0
  83. package/build-backend/main.js +2671 -0
  84. package/build-backend/main.js.map +1 -0
  85. package/build-backend/types.d.ts +742 -0
  86. package/docs/de/README.md +1 -1
  87. package/docs/en/README.md +1 -1
  88. package/docs/en/javascript.md +10 -6
  89. package/docs/ru/README.md +1 -1
  90. package/install/installTypings.js +34 -47
  91. package/io-package.json +14 -14
  92. package/package.json +14 -14
  93. package/admin/assets/index-DCkkMRRa.js +0 -1335
  94. package/admin/assets/index-DJfSBoBB.js +0 -192
  95. package/admin/assets/index-DTiA4WdK.js +0 -930
  96. package/admin/assets/index-qABB1JVe.js +0 -5
  97. package/admin/assets/inheritsLoose-BW-3V39H.js +0 -36
  98. package/admin/custom/assets/Tabs-C1KOyWRi.js +0 -137
  99. package/admin/custom/assets/ThemeProvider-Buvx5nSd.js +0 -29
  100. package/admin/custom/assets/index-BGCRznKh.js +0 -904
  101. package/admin/custom/assets/index-DfBPYXqA.js +0 -55
  102. package/admin/custom/assets/index-jIr6kOLK.js +0 -1398
  103. package/lib/adapter-config.d.ts +0 -16
  104. package/lib/consts.js +0 -83
  105. package/lib/convert.js +0 -106
  106. package/lib/debug.js +0 -154
  107. package/lib/eventObj.js +0 -201
  108. package/lib/inspect.js +0 -688
  109. package/lib/javascript.d.ts +0 -1858
  110. package/lib/nodeModulesManagement.js +0 -26
  111. package/lib/patternCompareFunctions.js +0 -391
  112. package/lib/protectFs.js +0 -401
  113. package/lib/request.js +0 -72
  114. package/lib/scheduler.js +0 -447
  115. package/lib/tools.js +0 -192
  116. package/lib/typescriptSettings.js +0 -44
  117. package/lib/typescriptTools.js +0 -529
  118. package/lib/utils.js +0 -87
  119. package/main.js +0 -2653
package/README.md CHANGED
@@ -26,6 +26,13 @@ Executes Javascript, Typescript Scripts.
26
26
  <!--
27
27
  ### **WORK IN PROGRESS**
28
28
  -->
29
+ ### 9.0.0 (2025-06-03)
30
+
31
+ * (@klein0r) Added possibility to escape chars in formatTimeDiff
32
+ * (@GermanBluefox) Back-end was migrated to TypeScript
33
+ * (@GermanBluefox) Breaking change: removed "require" module
34
+ * (@GermanBluefox) Added prettier for scripts
35
+
29
36
  ### 8.9.2 (2025-04-27)
30
37
 
31
38
  * (@GermanBluefox) Updated packages for GUI
@@ -43,9 +50,6 @@ Executes Javascript, Typescript Scripts.
43
50
  ### 8.8.3 (2024-09-05)
44
51
  * (bluefox) Fixed object selector in rules
45
52
 
46
- ### 8.8.2 (2024-08-07)
47
- * (bluefox) updated dependencies
48
-
49
53
  ## License
50
54
  The MIT License (MIT)
51
55
 
@@ -20,7 +20,7 @@ import{i as I,a as Wt}from"./iobroker_javascript__loadShare__react__loadShare__-
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */var Et=Symbol.for("react.transitional.element"),Ot=Symbol.for("react.portal"),Ue=Symbol.for("react.fragment"),Ye=Symbol.for("react.strict_mode"),qe=Symbol.for("react.profiler"),Xe=Symbol.for("react.consumer"),Qe=Symbol.for("react.context"),Ze=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),ra=Symbol.for("react.view_transition"),na=Symbol.for("react.client.reference");function X(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Et:switch(e=e.type,e){case Ue:case qe:case Ye:case Je:case et:case ra:return e;default:switch(e=e&&e.$$typeof,e){case Qe:case Ze:case rt:case tt:return e;case Xe:return e;default:return t}}case Ot:return t}}}R.ContextConsumer=Xe;R.ContextProvider=Qe;R.Element=Et;R.ForwardRef=Ze;R.Fragment=Ue;R.Lazy=rt;R.Memo=tt;R.Portal=Ot;R.Profiler=qe;R.StrictMode=Ye;R.Suspense=Je;R.SuspenseList=et;R.isContextConsumer=function(e){return X(e)===Xe};R.isContextProvider=function(e){return X(e)===Qe};R.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Et};R.isForwardRef=function(e){return X(e)===Ze};R.isFragment=function(e){return X(e)===Ue};R.isLazy=function(e){return X(e)===rt};R.isMemo=function(e){return X(e)===tt};R.isPortal=function(e){return X(e)===Ot};R.isProfiler=function(e){return X(e)===qe};R.isStrictMode=function(e){return X(e)===Ye};R.isSuspense=function(e){return X(e)===Je};R.isSuspenseList=function(e){return X(e)===et};R.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ue||e===qe||e===Ye||e===Je||e===et||typeof e=="object"&&e!==null&&(e.$$typeof===rt||e.$$typeof===tt||e.$$typeof===Qe||e.$$typeof===Xe||e.$$typeof===Ze||e.$$typeof===na||e.getModuleId!==void 0)};R.typeOf=X;Pr.exports=R;var _r=Pr.exports;function ae(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 Er(e){if(I.isValidElement(e)||_r.isValidElementType(e)||!ae(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Er(e[r])}),t}function K(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ae(e)&&ae(t)&&Object.keys(t).forEach(a=>{I.isValidElement(t[a])||_r.isValidElementType(t[a])?n[a]=t[a]:ae(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&ae(e[a])?n[a]=K(e[a],t[a],r):r.clone?n[a]=ae(t[a])?Er(t[a]):t[a]:n[a]=t[a]}),n}const aa=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 oa(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...a}=e,o=aa(t),s=Object.keys(o);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function f(m,b){const g=s.indexOf(b);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:b)-n/100}${r})`}function p(m){return s.indexOf(m)+1<s.length?f(m,s[s.indexOf(m)+1]):c(m)}function d(m){const b=s.indexOf(m);return b===0?c(s[1]):b===s.length-1?u(s[b]):f(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:o,up:c,down:u,between:f,only:p,not:d,unit:r,...a}}function ia(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,a)=>{var s,c;const o=/min-width:\s*([0-9.]+)/;return+(((s=n.match(o))==null?void 0:s[1])||0)-+(((c=a.match(o))==null?void 0:c[1])||0)});return r.length?r.reduce((n,a)=>{const o=t[a];return delete n[a],n[a]=o,n},{...t}):t}function sa(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ca(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,a]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function la(e){const t=(o,s)=>o.replace("@media",s?`@container ${s}`:"@container");function r(o,s){o.up=(...c)=>t(e.breakpoints.up(...c),s),o.down=(...c)=>t(e.breakpoints.down(...c),s),o.between=(...c)=>t(e.breakpoints.between(...c),s),o.only=(...c)=>t(e.breakpoints.only(...c),s),o.not=(...c)=>{const u=t(e.breakpoints.not(...c),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={},a=o=>(r(n,o),n);return r(a),{...e,containerQueries:a}}const ua={borderRadius:4};function ke(e,t){return t?K(e,t,{clone:!1}):e}const nt={xs:0,sm:600,md:900,lg:1200,xl:1536},Jt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${nt[e]}px)`},fa={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:nt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function oe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||Jt;return t.reduce((s,c,u)=>(s[o.up(o.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const o=n.breakpoints||Jt;return Object.keys(t).reduce((s,c)=>{if(sa(o.keys,c)){const u=ca(n.containerQueries?n:fa,c);u&&(s[u]=r(t[c],c))}else if(Object.keys(o.values||nt).includes(c)){const u=o.up(c);s[u]=r(t[c],c)}else{const u=c;s[u]=t[u]}return s},{})}return r(t)}function Or(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function Rr(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function Ti(e,...t){const r=Or(e),n=[r,...t].reduce((a,o)=>K(a,o),{});return Rr(Object.keys(r),n)}function da(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((a,o)=>{o<e.length&&(r[a]=!0)}):n.forEach(a=>{e[a]!=null&&(r[a]=!0)}),r}function $i({values:e,breakpoints:t,base:r}){const n=r||da(e,t),a=Object.keys(n);if(a.length===0)return e;let o;return a.reduce((s,c,u)=>(Array.isArray(e)?(s[c]=e[u]!=null?e[u]:e[o],o=u):typeof e=="object"?(s[c]=e[c]!=null?e[c]:e[o],o=c):s[c]=e,s),{})}function ge(e){if(typeof e!="string")throw new Error(se(7));return e.charAt(0).toUpperCase()+e.slice(1)}function at(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function De(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=at(e,r)||n,t&&(a=t(a,n,e)),a}function N(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,o=s=>{if(s[t]==null)return null;const c=s[t],u=s.theme,f=at(u,n)||{};return oe(s,c,d=>{let m=De(f,a,d);return d===m&&typeof d=="string"&&(m=De(f,a,`${t}${d==="default"?"":ge(d)}`,d)),r===!1?m:{[r]:m}})};return o.propTypes={},o.filterProps=[t],o}function ma(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const pa={m:"margin",p:"padding"},ha={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},er={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ga=ma(e=>{if(e.length>2)if(er[e])e=er[e];else return[e];const[t,r]=e.split(""),n=pa[t],a=ha[r]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),Rt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Bt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Rt,...Bt];function Ee(e,t,r,n){const a=at(e,t,!0)??r;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:typeof a=="string"?`calc(${o} * ${a})`:a*o:Array.isArray(a)?o=>{if(typeof o=="string")return o;const s=Math.abs(o),c=a[s];return o>=0?c:typeof c=="number"?-c:`-${c}`}:typeof a=="function"?a:()=>{}}function It(e){return Ee(e,"spacing",8)}function Oe(e,t){return typeof t=="string"||t==null?t:e(t)}function ya(e,t){return r=>e.reduce((n,a)=>(n[a]=Oe(t,r),n),{})}function ba(e,t,r,n){if(!t.includes(r))return null;const a=ga(r),o=ya(a,n),s=e[r];return oe(e,s,o)}function Br(e,t){const r=It(e.theme);return Object.keys(e).map(n=>ba(e,t,n,r)).reduce(ke,{})}function M(e){return Br(e,Rt)}M.propTypes={};M.filterProps=Rt;function L(e){return Br(e,Bt)}L.propTypes={};L.filterProps=Bt;function Ir(e=8,t=It({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function ot(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),r=n=>Object.keys(n).reduce((a,o)=>t[o]?ke(a,t[o](n)):a,{});return r.propTypes={},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function q(e){return typeof e!="number"?e:`${e}px solid`}function Q(e,t){return N({prop:e,themeKey:"borders",transform:t})}const Sa=Q("border",q),va=Q("borderTop",q),Ca=Q("borderRight",q),wa=Q("borderBottom",q),xa=Q("borderLeft",q),ka=Q("borderColor"),Aa=Q("borderTopColor"),Ta=Q("borderRightColor"),$a=Q("borderBottomColor"),Pa=Q("borderLeftColor"),_a=Q("outline",q),Ea=Q("outlineColor"),it=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ee(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Oe(t,n)});return oe(e,e.borderRadius,r)}return null};it.propTypes={};it.filterProps=["borderRadius"];ot(Sa,va,Ca,wa,xa,ka,Aa,Ta,$a,Pa,it,_a,Ea);const st=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ee(e.theme,"spacing",8),r=n=>({gap:Oe(t,n)});return oe(e,e.gap,r)}return null};st.propTypes={};st.filterProps=["gap"];const ct=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ee(e.theme,"spacing",8),r=n=>({columnGap:Oe(t,n)});return oe(e,e.columnGap,r)}return null};ct.propTypes={};ct.filterProps=["columnGap"];const lt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ee(e.theme,"spacing",8),r=n=>({rowGap:Oe(t,n)});return oe(e,e.rowGap,r)}return null};lt.propTypes={};lt.filterProps=["rowGap"];const Oa=N({prop:"gridColumn"}),Ra=N({prop:"gridRow"}),Ba=N({prop:"gridAutoFlow"}),Ia=N({prop:"gridAutoColumns"}),Fa=N({prop:"gridAutoRows"}),Ma=N({prop:"gridTemplateColumns"}),La=N({prop:"gridTemplateRows"}),Na=N({prop:"gridTemplateAreas"}),za=N({prop:"gridArea"});ot(st,ct,lt,Oa,Ra,Ba,Ia,Fa,Ma,La,Na,za);function pe(e,t){return t==="grey"?t:e}const ja=N({prop:"color",themeKey:"palette",transform:pe}),Da=N({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pe}),Wa=N({prop:"backgroundColor",themeKey:"palette",transform:pe});ot(ja,Da,Wa);function U(e){return e<=1&&e!==0?`${e*100}%`:e}const Ga=N({prop:"width",transform:U}),Ft=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var a,o,s,c,u;const n=((s=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:s[r])||nt[r];return n?((u=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:U(r)}};return oe(e,e.maxWidth,t)}return null};Ft.filterProps=["maxWidth"];const Ha=N({prop:"minWidth",transform:U}),Ka=N({prop:"height",transform:U}),Va=N({prop:"maxHeight",transform:U}),Ua=N({prop:"minHeight",transform:U});N({prop:"size",cssProperty:"width",transform:U});N({prop:"size",cssProperty:"height",transform:U});const Ya=N({prop:"boxSizing"});ot(Ga,Ft,Ha,Ka,Va,Ua,Ya);const ut={border:{themeKey:"borders",transform:q},borderTop:{themeKey:"borders",transform:q},borderRight:{themeKey:"borders",transform:q},borderBottom:{themeKey:"borders",transform:q},borderLeft:{themeKey:"borders",transform:q},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:q},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:it},color:{themeKey:"palette",transform:pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pe},backgroundColor:{themeKey:"palette",transform:pe},p:{style:L},pt:{style:L},pr:{style:L},pb:{style:L},pl:{style:L},px:{style:L},py:{style:L},padding:{style:L},paddingTop:{style:L},paddingRight:{style:L},paddingBottom:{style:L},paddingLeft:{style:L},paddingX:{style:L},paddingY:{style:L},paddingInline:{style:L},paddingInlineStart:{style:L},paddingInlineEnd:{style:L},paddingBlock:{style:L},paddingBlockStart:{style:L},paddingBlockEnd:{style:L},m:{style:M},mt:{style:M},mr:{style:M},mb:{style:M},ml:{style:M},mx:{style:M},my:{style:M},margin:{style:M},marginTop:{style:M},marginRight:{style:M},marginBottom:{style:M},marginLeft:{style:M},marginX:{style:M},marginY:{style:M},marginInline:{style:M},marginInlineStart:{style:M},marginInlineEnd:{style:M},marginBlock:{style:M},marginBlockStart:{style:M},marginBlockEnd:{style:M},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:st},rowGap:{style:lt},columnGap:{style:ct},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:U},maxWidth:{style:Ft},minWidth:{transform:U},height:{transform:U},maxHeight:{transform:U},minHeight:{transform:U},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 qa(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Xa(e,t){return typeof e=="function"?e(t):e}function Qa(){function e(r,n,a,o){const s={[r]:n,theme:a},c=o[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:p,style:d}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const m=at(a,f)||{};return d?d(s):oe(s,n,g=>{let h=De(m,p,g);return g===h&&typeof g=="string"&&(h=De(m,p,`${r}${g==="default"?"":ge(g)}`,g)),u===!1?h:{[u]:h}})}function t(r){const{sx:n,theme:a={}}=r||{};if(!n)return null;const o=a.unstable_sxConfig??ut;function s(c){let u=c;if(typeof c=="function")u=c(a);else if(typeof c!="object")return c;if(!u)return null;const f=Or(a.breakpoints),p=Object.keys(f);let d=f;return Object.keys(u).forEach(m=>{const b=Xa(u[m],a);if(b!=null)if(typeof b=="object")if(o[m])d=ke(d,e(m,b,a,o));else{const g=oe({theme:a},b,h=>({[m]:h}));qa(g,b)?d[m]=t({sx:b,theme:a}):d=ke(d,g)}else d=ke(d,e(m,b,a,o))}),ia(a,Rr(p,d))}return Array.isArray(n)?n.map(s):s(n)}return t}const ye=Qa();ye.filterProps=["sx"];function Za(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let a=r.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return r.palette.mode===e?t:{}}function Fr(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={},...s}=e,c=oa(r),u=Ir(a);let f=K({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...ua,...o}},s);return f=la(f),f.applyStyles=Za,f=t.reduce((p,d)=>K(p,d),f),f.unstable_sxConfig={...ut,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(d){return ye({sx:d,theme:this})},f}function Ja(e){return Object.keys(e).length===0}function Pi(e=null){const t=I.useContext(_t);return!t||Ja(t)?e:t}const tr=e=>e,eo=()=>{let e=tr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tr}}},to=eo();function Mr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Mr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ro(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Mr(e))&&(n&&(n+=" "),n+=t);return n}const no={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 Lr(e,t,r="Mui"){const n=no[t];return n?`${r}-${n}`:`${to.generate(e)}-${t}`}function ao(e,t,r="Mui"){const n={};return t.forEach(a=>{n[a]=Lr(e,a,r)}),n}function Nr(e){const{variants:t,...r}=e,n={variants:t,style:Zt(r),isProcessed:!0};return n.style===r||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=Zt(a.style))}),n}const oo=Fr();function mt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function io(e){return e?(t,r)=>r[e]:null}function so(e,t,r){e.theme=uo(e.theme)?r:e.theme[t]||e.theme}function Ne(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>Ne(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:a,...o}=r;n=o}return zr(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function zr(e,t,r=[]){var a;let n;e:for(let o=0;o<t.length;o+=1){const s=t[o];if(typeof s.props=="function"){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(n))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&((a=e.ownerState)==null?void 0:a[c])!==s.props[c])continue e;typeof s.style=="function"?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(s.style(n))):r.push(s.style)}return r}function co(e={}){const{themeId:t,defaultTheme:r=oo,rootShouldForwardProp:n=mt,slotShouldForwardProp:a=mt}=e;function o(c){so(c,t,r)}return(c,u={})=>{ta(c,k=>k.filter(A=>A!==ye));const{name:f,slot:p,skipVariantsResolver:d,skipSx:m,overridesResolver:b=io(mo(p)),...g}=u,h=d!==void 0?d:p&&p!=="Root"&&p!=="root"||!1,v=m||!1;let S=mt;p==="Root"||p==="root"?S=n:p?S=a:fo(c)&&(S=void 0);const $=ea(c,{shouldForwardProp:S,label:lo(),...g}),x=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(w){return Ne(w,k)};if(ae(k)){const A=Nr(k);return A.variants?function(D){return Ne(D,A)}:A.style}return k},C=(...k)=>{const A=[],w=k.map(x),D=[];if(A.push(o),f&&b&&D.push(function(T){var Se,jt;const G=(jt=(Se=T.theme.components)==null?void 0:Se[f])==null?void 0:jt.styleOverrides;if(!G)return null;const Z={};for(const Dt in G)Z[Dt]=Ne(T,G[Dt]);return b(T,Z)}),f&&!h&&D.push(function(T){var Z,Se;const B=T.theme,G=(Se=(Z=B==null?void 0:B.components)==null?void 0:Z[f])==null?void 0:Se.variants;return G?zr(T,G):null}),v||D.push(ye),Array.isArray(w[0])){const y=w.shift(),T=new Array(A.length).fill(""),B=new Array(D.length).fill("");let G;G=[...T,...y,...B],G.raw=[...T,...y.raw,...B],A.unshift(G)}const H=[...A,...w,...D],i=$(...H);return c.muiName&&(i.muiName=c.muiName),i};return $.withConfig&&(C.withConfig=$.withConfig),C}}function lo(e,t){return void 0}function uo(e){for(const t in e)return!1;return!0}function fo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function mo(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ct(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const a=n;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){const o=e[a],s=t[a];if(!s)r[a]=o||{};else if(!o)r[a]=s;else{r[a]={...s};for(const c in o)if(Object.prototype.hasOwnProperty.call(o,c)){const u=c;r[a][u]=Ct(o[u],s[u])}}}else r[a]===void 0&&(r[a]=e[a])}return r}function po(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Mt(e,t=0,r=1){return po(e,t,r)}function ho(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function go(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ie(e){if(e.type)return e;if(e.charAt(0)==="#")return ie(ho(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(se(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=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(a))throw new Error(se(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:a}}const yo=e=>{const t=ie(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},we=(e,t)=>{try{return yo(e)}catch{return e}};function ft(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((a,o)=>o<3?parseInt(a,10):a):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function _i(e){if(e.startsWith("#"))return e;const{values:t}=ie(e);return`#${t.map((r,n)=>go(n===3?Math.round(255*r):r)).join("")}`}function jr(e){e=ie(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,o=n*Math.min(a,1-a),s=(f,p=(f+r/30)%12)=>a-o*Math.max(Math.min(p-3,9-p,1),-1);let c="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),ft({type:c,values:u})}function wt(e){e=ie(e);let t=e.type==="hsl"||e.type==="hsla"?ie(jr(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 bo(e,t){const r=wt(e),n=wt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function So(e,t){return e=ie(e),t=Mt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ft(e)}function Be(e,t,r){try{return So(e,t)}catch{return e}}function Lt(e,t){if(e=ie(e),t=Mt(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 ft(e)}function E(e,t,r){try{return Lt(e,t)}catch{return e}}function Nt(e,t){if(e=ie(e),t=Mt(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 ft(e)}function O(e,t,r){try{return Nt(e,t)}catch{return e}}function vo(e,t=.15){return wt(e)>.5?Lt(e,t):Nt(e,t)}function Ie(e,t,r){try{return vo(e,t)}catch{return e}}function Co(e,t,r=void 0){const n={};for(const a in e){const o=e[a];let s="",c=!0;for(let u=0;u<o.length;u+=1){const f=o[u];f&&(s+=(c===!0?"":" ")+t(f),c=!1,r&&r[f]&&(s+=" "+r[f]))}n[a]=s}return n}const Dr=I.createContext(void 0);function Ei({value:e,children:t}){return ze.jsx(Dr.Provider,{value:e,children:t})}function wo(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const a=t.components[r];return a.defaultProps?Ct(a.defaultProps,n):!a.styleOverrides&&!a.variants?Ct(a,n):n}function xo({props:e,name:t}){const r=I.useContext(Dr);return wo({props:e,name:t,theme:{components:r}})}const rr={theme:void 0};function ko(e){let t,r;return function(a){let o=t;return(o===void 0||a.theme!==r)&&(rr.theme=a.theme,o=Nr(e(rr)),t=o,r=a.theme),o}}function Ao(e=""){function t(...n){if(!n.length)return"";const a=n[0];return typeof a=="string"&&!a.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}-`:""}${a}${t(...n.slice(1))})`:`, ${a}`}return(n,...a)=>`var(--${e?`${e}-`:""}${n}${t(...a)})`}const nr=(e,t,r,n=[])=>{let a=e;t.forEach((o,s)=>{s===t.length-1?Array.isArray(a)?a[Number(o)]=r:a&&typeof a=="object"&&(a[o]=r):a&&typeof a=="object"&&(a[o]||(a[o]=n.includes(o)?[]:{}),a=a[o])})},To=(e,t,r)=>{function n(a,o=[],s=[]){Object.entries(a).forEach(([c,u])=>{(!r||r&&!r([...o,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...o,c],Array.isArray(u)?[...s,c]:s):t([...o,c],u,s))})}n(e)},$o=(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 pt(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},a={},o={},s={};return To(e,(c,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(c,u))){const p=`--${r?`${r}-`:""}${c.join("-")}`,d=$o(c,u);Object.assign(a,{[p]:d}),nr(o,c,`var(${p})`,f),nr(s,c,`var(${p}, ${d})`,f)}},c=>c[0]==="vars"),{css:a,vars:o,varsWithDefaults:s}}function Po(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c="light",...u}=e,{vars:f,css:p,varsWithDefaults:d}=pt(u,t);let m=d;const b={},{[c]:g,...h}=o;if(Object.entries(h||{}).forEach(([x,C])=>{const{vars:k,css:A,varsWithDefaults:w}=pt(C,t);m=K(m,w),b[x]={css:A,vars:k}}),g){const{css:x,vars:C,varsWithDefaults:k}=pt(g,t);m=K(m,k),b[c]={css:x,vars:C}}function v(x,C){var A,w;let k=a;if(a==="class"&&(k=".%s"),a==="data"&&(k="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(k=`[${a}="%s"]`),x){if(k==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${((w=(A=o[x])==null?void 0:A.palette)==null?void 0:w.mode)||x})`]:{":root":C}};if(k)return e.defaultColorScheme===x?`:root, ${k.replace("%s",String(x))}`:k.replace("%s",String(x))}return":root"}return{vars:m,generateThemeVars:()=>{let x={...f};return Object.entries(b).forEach(([,{vars:C}])=>{x=K(x,C)}),x},generateStyleSheets:()=>{var D,H;const x=[],C=e.defaultColorScheme||"light";function k(i,y){Object.keys(y).length&&x.push(typeof i=="string"?{[i]:{...y}}:i)}k(r(void 0,{...p}),p);const{[C]:A,...w}=b;if(A){const{css:i}=A,y=(H=(D=o[C])==null?void 0:D.palette)==null?void 0:H.mode,T=!n&&y?{colorScheme:y,...i}:{...i};k(r(C,{...T}),T)}return Object.entries(w).forEach(([i,{css:y}])=>{var G,Z;const T=(Z=(G=o[i])==null?void 0:G.palette)==null?void 0:Z.mode,B=!n&&T?{colorScheme:T,...y}:{...y};k(r(i,{...B}),B)}),x}}}function _o(e){return function(r){return e==="media"?`@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 Pe={black:"#000",white:"#fff"},Eo={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"},ce={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},le={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ce={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ue={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},fe={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},de={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Wr(){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:Pe.white,default:Pe.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 Oo=Wr();function Gr(){return{text:{primary:Pe.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:Pe.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 ar=Gr();function or(e,t,r,n){const a=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Nt(e.main,a):t==="dark"&&(e.dark=Lt(e.main,o)))}function Ro(e="light"){return e==="dark"?{main:ue[200],light:ue[50],dark:ue[400]}:{main:ue[700],light:ue[400],dark:ue[800]}}function Bo(e="light"){return e==="dark"?{main:ce[200],light:ce[50],dark:ce[400]}:{main:ce[500],light:ce[300],dark:ce[700]}}function Io(e="light"){return e==="dark"?{main:le[500],light:le[300],dark:le[700]}:{main:le[700],light:le[400],dark:le[800]}}function Fo(e="light"){return e==="dark"?{main:fe[400],light:fe[300],dark:fe[700]}:{main:fe[700],light:fe[500],dark:fe[900]}}function Mo(e="light"){return e==="dark"?{main:de[400],light:de[300],dark:de[700]}:{main:de[800],light:de[500],dark:de[900]}}function Lo(e="light"){return e==="dark"?{main:Ce[400],light:Ce[300],dark:Ce[700]}:{main:"#ed6c02",light:Ce[500],dark:Ce[900]}}function zt(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...a}=e,o=e.primary||Ro(t),s=e.secondary||Bo(t),c=e.error||Io(t),u=e.info||Fo(t),f=e.success||Mo(t),p=e.warning||Lo(t);function d(h){return bo(h,ar.text.primary)>=r?ar.text.primary:Oo.text.primary}const m=({color:h,name:v,mainShade:S=500,lightShade:$=300,darkShade:x=700})=>{if(h={...h},!h.main&&h[S]&&(h.main=h[S]),!h.hasOwnProperty("main"))throw new Error(se(11,v?` (${v})`:"",S));if(typeof h.main!="string")throw new Error(se(12,v?` (${v})`:"",JSON.stringify(h.main)));return or(h,"light",$,n),or(h,"dark",x,n),h.contrastText||(h.contrastText=d(h.main)),h};let b;return t==="light"?b=Wr():t==="dark"&&(b=Gr()),K({common:{...Pe},mode:t,primary:m({color:o,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:p,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:f,name:"success"}),grey:Eo,contrastThreshold:r,getContrastText:d,augmentColor:m,tonalOffset:n,...b},a)}function No(e){const t={};return Object.entries(e).forEach(n=>{const[a,o]=n;typeof o=="object"&&(t[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),t}function zo(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function jo(e){return Math.round(e*1e5)/1e5}const ir={textTransform:"uppercase"},sr='"Roboto", "Helvetica", "Arial", sans-serif';function Do(e,t){const{fontFamily:r=sr,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:f,pxToRem:p,...d}=typeof t=="function"?t(e):t,m=n/14,b=p||(v=>`${v/u*m}rem`),g=(v,S,$,x,C)=>({fontFamily:r,fontWeight:v,fontSize:b(S),lineHeight:$,...r===sr?{letterSpacing:`${jo(x/S)}em`}:{},...C,...f}),h={h1:g(a,96,1.167,-1.5),h2:g(a,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(s,14,1.75,.4,ir),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,ir),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return K({htmlFontSize:u,pxToRem:b,fontFamily:r,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:c,...h},d,{clone:!1})}const Wo=.2,Go=.14,Ho=.12;function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Wo})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Go})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ho})`].join(",")}const Ko=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Vo={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)"},Uo={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function cr(e){return`${Math.round(e)}ms`}function Yo(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function qo(e){const t={...Vo,...e.easing},r={...Uo,...e.duration};return{getAutoHeightDuration:Yo,create:(a=["all"],o={})=>{const{duration:s=r.standard,easing:c=t.easeInOut,delay:u=0,...f}=o;return(Array.isArray(a)?a:[a]).map(p=>`${p} ${typeof s=="string"?s:cr(s)} ${c} ${typeof u=="string"?u:cr(u)}`).join(",")},...e,easing:t,duration:r}}const Xo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Qo(e){return ae(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Hr(e={}){const t={...e};function r(n){const a=Object.entries(n);for(let o=0;o<a.length;o++){const[s,c]=a[o];!Qo(c)||s.startsWith("unstable_")?delete n[s]:ae(c)&&(n[s]={...c},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
23
+ */var Et=Symbol.for("react.transitional.element"),Ot=Symbol.for("react.portal"),Ue=Symbol.for("react.fragment"),Ye=Symbol.for("react.strict_mode"),qe=Symbol.for("react.profiler"),Xe=Symbol.for("react.consumer"),Qe=Symbol.for("react.context"),Ze=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),ra=Symbol.for("react.view_transition"),na=Symbol.for("react.client.reference");function X(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Et:switch(e=e.type,e){case Ue:case qe:case Ye:case Je:case et:case ra:return e;default:switch(e=e&&e.$$typeof,e){case Qe:case Ze:case rt:case tt:return e;case Xe:return e;default:return t}}case Ot:return t}}}R.ContextConsumer=Xe;R.ContextProvider=Qe;R.Element=Et;R.ForwardRef=Ze;R.Fragment=Ue;R.Lazy=rt;R.Memo=tt;R.Portal=Ot;R.Profiler=qe;R.StrictMode=Ye;R.Suspense=Je;R.SuspenseList=et;R.isContextConsumer=function(e){return X(e)===Xe};R.isContextProvider=function(e){return X(e)===Qe};R.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Et};R.isForwardRef=function(e){return X(e)===Ze};R.isFragment=function(e){return X(e)===Ue};R.isLazy=function(e){return X(e)===rt};R.isMemo=function(e){return X(e)===tt};R.isPortal=function(e){return X(e)===Ot};R.isProfiler=function(e){return X(e)===qe};R.isStrictMode=function(e){return X(e)===Ye};R.isSuspense=function(e){return X(e)===Je};R.isSuspenseList=function(e){return X(e)===et};R.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ue||e===qe||e===Ye||e===Je||e===et||typeof e=="object"&&e!==null&&(e.$$typeof===rt||e.$$typeof===tt||e.$$typeof===Qe||e.$$typeof===Xe||e.$$typeof===Ze||e.$$typeof===na||e.getModuleId!==void 0)};R.typeOf=X;Pr.exports=R;var _r=Pr.exports;function ae(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 Er(e){if(I.isValidElement(e)||_r.isValidElementType(e)||!ae(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Er(e[r])}),t}function K(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ae(e)&&ae(t)&&Object.keys(t).forEach(a=>{I.isValidElement(t[a])||_r.isValidElementType(t[a])?n[a]=t[a]:ae(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&ae(e[a])?n[a]=K(e[a],t[a],r):r.clone?n[a]=ae(t[a])?Er(t[a]):t[a]:n[a]=t[a]}),n}const aa=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 oa(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...a}=e,o=aa(t),s=Object.keys(o);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function f(m,b){const g=s.indexOf(b);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:b)-n/100}${r})`}function p(m){return s.indexOf(m)+1<s.length?f(m,s[s.indexOf(m)+1]):c(m)}function d(m){const b=s.indexOf(m);return b===0?c(s[1]):b===s.length-1?u(s[b]):f(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:o,up:c,down:u,between:f,only:p,not:d,unit:r,...a}}function ia(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,a)=>{var s,c;const o=/min-width:\s*([0-9.]+)/;return+(((s=n.match(o))==null?void 0:s[1])||0)-+(((c=a.match(o))==null?void 0:c[1])||0)});return r.length?r.reduce((n,a)=>{const o=t[a];return delete n[a],n[a]=o,n},{...t}):t}function sa(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ca(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,a]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function la(e){const t=(o,s)=>o.replace("@media",s?`@container ${s}`:"@container");function r(o,s){o.up=(...c)=>t(e.breakpoints.up(...c),s),o.down=(...c)=>t(e.breakpoints.down(...c),s),o.between=(...c)=>t(e.breakpoints.between(...c),s),o.only=(...c)=>t(e.breakpoints.only(...c),s),o.not=(...c)=>{const u=t(e.breakpoints.not(...c),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={},a=o=>(r(n,o),n);return r(a),{...e,containerQueries:a}}const ua={borderRadius:4};function ke(e,t){return t?K(e,t,{clone:!1}):e}const nt={xs:0,sm:600,md:900,lg:1200,xl:1536},Jt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${nt[e]}px)`},fa={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:nt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function oe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||Jt;return t.reduce((s,c,u)=>(s[o.up(o.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const o=n.breakpoints||Jt;return Object.keys(t).reduce((s,c)=>{if(sa(o.keys,c)){const u=ca(n.containerQueries?n:fa,c);u&&(s[u]=r(t[c],c))}else if(Object.keys(o.values||nt).includes(c)){const u=o.up(c);s[u]=r(t[c],c)}else{const u=c;s[u]=t[u]}return s},{})}return r(t)}function Or(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function Rr(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function Ti(e,...t){const r=Or(e),n=[r,...t].reduce((a,o)=>K(a,o),{});return Rr(Object.keys(r),n)}function da(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((a,o)=>{o<e.length&&(r[a]=!0)}):n.forEach(a=>{e[a]!=null&&(r[a]=!0)}),r}function $i({values:e,breakpoints:t,base:r}){const n=r||da(e,t),a=Object.keys(n);if(a.length===0)return e;let o;return a.reduce((s,c,u)=>(Array.isArray(e)?(s[c]=e[u]!=null?e[u]:e[o],o=u):typeof e=="object"?(s[c]=e[c]!=null?e[c]:e[o],o=c):s[c]=e,s),{})}function ge(e){if(typeof e!="string")throw new Error(se(7));return e.charAt(0).toUpperCase()+e.slice(1)}function at(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function De(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=at(e,r)||n,t&&(a=t(a,n,e)),a}function N(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,o=s=>{if(s[t]==null)return null;const c=s[t],u=s.theme,f=at(u,n)||{};return oe(s,c,d=>{let m=De(f,a,d);return d===m&&typeof d=="string"&&(m=De(f,a,`${t}${d==="default"?"":ge(d)}`,d)),r===!1?m:{[r]:m}})};return o.propTypes={},o.filterProps=[t],o}function ma(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const pa={m:"margin",p:"padding"},ha={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},er={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ga=ma(e=>{if(e.length>2)if(er[e])e=er[e];else return[e];const[t,r]=e.split(""),n=pa[t],a=ha[r]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),Rt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Bt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Rt,...Bt];function Ee(e,t,r,n){const a=at(e,t,!0)??r;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:typeof a=="string"?`calc(${o} * ${a})`:a*o:Array.isArray(a)?o=>{if(typeof o=="string")return o;const s=Math.abs(o),c=a[s];return o>=0?c:typeof c=="number"?-c:`-${c}`}:typeof a=="function"?a:()=>{}}function It(e){return Ee(e,"spacing",8)}function Oe(e,t){return typeof t=="string"||t==null?t:e(t)}function ya(e,t){return r=>e.reduce((n,a)=>(n[a]=Oe(t,r),n),{})}function ba(e,t,r,n){if(!t.includes(r))return null;const a=ga(r),o=ya(a,n),s=e[r];return oe(e,s,o)}function Br(e,t){const r=It(e.theme);return Object.keys(e).map(n=>ba(e,t,n,r)).reduce(ke,{})}function M(e){return Br(e,Rt)}M.propTypes={};M.filterProps=Rt;function L(e){return Br(e,Bt)}L.propTypes={};L.filterProps=Bt;function Ir(e=8,t=It({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function ot(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),r=n=>Object.keys(n).reduce((a,o)=>t[o]?ke(a,t[o](n)):a,{});return r.propTypes={},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function q(e){return typeof e!="number"?e:`${e}px solid`}function Q(e,t){return N({prop:e,themeKey:"borders",transform:t})}const Sa=Q("border",q),va=Q("borderTop",q),Ca=Q("borderRight",q),wa=Q("borderBottom",q),xa=Q("borderLeft",q),ka=Q("borderColor"),Aa=Q("borderTopColor"),Ta=Q("borderRightColor"),$a=Q("borderBottomColor"),Pa=Q("borderLeftColor"),_a=Q("outline",q),Ea=Q("outlineColor"),it=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ee(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Oe(t,n)});return oe(e,e.borderRadius,r)}return null};it.propTypes={};it.filterProps=["borderRadius"];ot(Sa,va,Ca,wa,xa,ka,Aa,Ta,$a,Pa,it,_a,Ea);const st=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ee(e.theme,"spacing",8),r=n=>({gap:Oe(t,n)});return oe(e,e.gap,r)}return null};st.propTypes={};st.filterProps=["gap"];const ct=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ee(e.theme,"spacing",8),r=n=>({columnGap:Oe(t,n)});return oe(e,e.columnGap,r)}return null};ct.propTypes={};ct.filterProps=["columnGap"];const lt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ee(e.theme,"spacing",8),r=n=>({rowGap:Oe(t,n)});return oe(e,e.rowGap,r)}return null};lt.propTypes={};lt.filterProps=["rowGap"];const Oa=N({prop:"gridColumn"}),Ra=N({prop:"gridRow"}),Ba=N({prop:"gridAutoFlow"}),Ia=N({prop:"gridAutoColumns"}),Fa=N({prop:"gridAutoRows"}),Ma=N({prop:"gridTemplateColumns"}),La=N({prop:"gridTemplateRows"}),Na=N({prop:"gridTemplateAreas"}),za=N({prop:"gridArea"});ot(st,ct,lt,Oa,Ra,Ba,Ia,Fa,Ma,La,Na,za);function pe(e,t){return t==="grey"?t:e}const ja=N({prop:"color",themeKey:"palette",transform:pe}),Da=N({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pe}),Wa=N({prop:"backgroundColor",themeKey:"palette",transform:pe});ot(ja,Da,Wa);function U(e){return e<=1&&e!==0?`${e*100}%`:e}const Ga=N({prop:"width",transform:U}),Ft=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var a,o,s,c,u;const n=((s=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:s[r])||nt[r];return n?((u=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:U(r)}};return oe(e,e.maxWidth,t)}return null};Ft.filterProps=["maxWidth"];const Ha=N({prop:"minWidth",transform:U}),Ka=N({prop:"height",transform:U}),Va=N({prop:"maxHeight",transform:U}),Ua=N({prop:"minHeight",transform:U});N({prop:"size",cssProperty:"width",transform:U});N({prop:"size",cssProperty:"height",transform:U});const Ya=N({prop:"boxSizing"});ot(Ga,Ft,Ha,Ka,Va,Ua,Ya);const ut={border:{themeKey:"borders",transform:q},borderTop:{themeKey:"borders",transform:q},borderRight:{themeKey:"borders",transform:q},borderBottom:{themeKey:"borders",transform:q},borderLeft:{themeKey:"borders",transform:q},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:q},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:it},color:{themeKey:"palette",transform:pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pe},backgroundColor:{themeKey:"palette",transform:pe},p:{style:L},pt:{style:L},pr:{style:L},pb:{style:L},pl:{style:L},px:{style:L},py:{style:L},padding:{style:L},paddingTop:{style:L},paddingRight:{style:L},paddingBottom:{style:L},paddingLeft:{style:L},paddingX:{style:L},paddingY:{style:L},paddingInline:{style:L},paddingInlineStart:{style:L},paddingInlineEnd:{style:L},paddingBlock:{style:L},paddingBlockStart:{style:L},paddingBlockEnd:{style:L},m:{style:M},mt:{style:M},mr:{style:M},mb:{style:M},ml:{style:M},mx:{style:M},my:{style:M},margin:{style:M},marginTop:{style:M},marginRight:{style:M},marginBottom:{style:M},marginLeft:{style:M},marginX:{style:M},marginY:{style:M},marginInline:{style:M},marginInlineStart:{style:M},marginInlineEnd:{style:M},marginBlock:{style:M},marginBlockStart:{style:M},marginBlockEnd:{style:M},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:st},rowGap:{style:lt},columnGap:{style:ct},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:U},maxWidth:{style:Ft},minWidth:{transform:U},height:{transform:U},maxHeight:{transform:U},minHeight:{transform:U},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 qa(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Xa(e,t){return typeof e=="function"?e(t):e}function Qa(){function e(r,n,a,o){const s={[r]:n,theme:a},c=o[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:p,style:d}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const m=at(a,f)||{};return d?d(s):oe(s,n,g=>{let h=De(m,p,g);return g===h&&typeof g=="string"&&(h=De(m,p,`${r}${g==="default"?"":ge(g)}`,g)),u===!1?h:{[u]:h}})}function t(r){const{sx:n,theme:a={}}=r||{};if(!n)return null;const o=a.unstable_sxConfig??ut;function s(c){let u=c;if(typeof c=="function")u=c(a);else if(typeof c!="object")return c;if(!u)return null;const f=Or(a.breakpoints),p=Object.keys(f);let d=f;return Object.keys(u).forEach(m=>{const b=Xa(u[m],a);if(b!=null)if(typeof b=="object")if(o[m])d=ke(d,e(m,b,a,o));else{const g=oe({theme:a},b,h=>({[m]:h}));qa(g,b)?d[m]=t({sx:b,theme:a}):d=ke(d,g)}else d=ke(d,e(m,b,a,o))}),ia(a,Rr(p,d))}return Array.isArray(n)?n.map(s):s(n)}return t}const ye=Qa();ye.filterProps=["sx"];function Za(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let a=r.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return r.palette.mode===e?t:{}}function Fr(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={},...s}=e,c=oa(r),u=Ir(a);let f=K({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...ua,...o}},s);return f=la(f),f.applyStyles=Za,f=t.reduce((p,d)=>K(p,d),f),f.unstable_sxConfig={...ut,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(d){return ye({sx:d,theme:this})},f}function Ja(e){return Object.keys(e).length===0}function Pi(e=null){const t=I.useContext(_t);return!t||Ja(t)?e:t}const tr=e=>e,eo=()=>{let e=tr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tr}}},to=eo();function Mr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Mr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ro(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Mr(e))&&(n&&(n+=" "),n+=t);return n}const no={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 Lr(e,t,r="Mui"){const n=no[t];return n?`${r}-${n}`:`${to.generate(e)}-${t}`}function ao(e,t,r="Mui"){const n={};return t.forEach(a=>{n[a]=Lr(e,a,r)}),n}function Nr(e){const{variants:t,...r}=e,n={variants:t,style:Zt(r),isProcessed:!0};return n.style===r||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=Zt(a.style))}),n}const oo=Fr();function mt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function io(e){return e?(t,r)=>r[e]:null}function so(e,t,r){e.theme=uo(e.theme)?r:e.theme[t]||e.theme}function Ne(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>Ne(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:a,...o}=r;n=o}return zr(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function zr(e,t,r=[]){var a;let n;e:for(let o=0;o<t.length;o+=1){const s=t[o];if(typeof s.props=="function"){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(n))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&((a=e.ownerState)==null?void 0:a[c])!==s.props[c])continue e;typeof s.style=="function"?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(s.style(n))):r.push(s.style)}return r}function co(e={}){const{themeId:t,defaultTheme:r=oo,rootShouldForwardProp:n=mt,slotShouldForwardProp:a=mt}=e;function o(c){so(c,t,r)}return(c,u={})=>{ta(c,k=>k.filter(A=>A!==ye));const{name:f,slot:p,skipVariantsResolver:d,skipSx:m,overridesResolver:b=io(mo(p)),...g}=u,h=d!==void 0?d:p&&p!=="Root"&&p!=="root"||!1,v=m||!1;let S=mt;p==="Root"||p==="root"?S=n:p?S=a:fo(c)&&(S=void 0);const $=ea(c,{shouldForwardProp:S,label:lo(),...g}),x=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(w){return Ne(w,k)};if(ae(k)){const A=Nr(k);return A.variants?function(D){return Ne(D,A)}:A.style}return k},C=(...k)=>{const A=[],w=k.map(x),D=[];if(A.push(o),f&&b&&D.push(function(T){var Se,jt;const G=(jt=(Se=T.theme.components)==null?void 0:Se[f])==null?void 0:jt.styleOverrides;if(!G)return null;const Z={};for(const Dt in G)Z[Dt]=Ne(T,G[Dt]);return b(T,Z)}),f&&!h&&D.push(function(T){var Z,Se;const B=T.theme,G=(Se=(Z=B==null?void 0:B.components)==null?void 0:Z[f])==null?void 0:Se.variants;return G?zr(T,G):null}),v||D.push(ye),Array.isArray(w[0])){const y=w.shift(),T=new Array(A.length).fill(""),B=new Array(D.length).fill("");let G;G=[...T,...y,...B],G.raw=[...T,...y.raw,...B],A.unshift(G)}const H=[...A,...w,...D],i=$(...H);return c.muiName&&(i.muiName=c.muiName),i};return $.withConfig&&(C.withConfig=$.withConfig),C}}function lo(e,t){return void 0}function uo(e){for(const t in e)return!1;return!0}function fo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function mo(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ct(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const a=n;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){const o=e[a],s=t[a];if(!s)r[a]=o||{};else if(!o)r[a]=s;else{r[a]={...s};for(const c in o)if(Object.prototype.hasOwnProperty.call(o,c)){const u=c;r[a][u]=Ct(o[u],s[u])}}}else r[a]===void 0&&(r[a]=e[a])}return r}function po(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Mt(e,t=0,r=1){return po(e,t,r)}function ho(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function go(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ie(e){if(e.type)return e;if(e.charAt(0)==="#")return ie(ho(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(se(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=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(a))throw new Error(se(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:a}}const yo=e=>{const t=ie(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},we=(e,t)=>{try{return yo(e)}catch{return e}};function ft(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((a,o)=>o<3?parseInt(a,10):a):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function _i(e){if(e.startsWith("#"))return e;const{values:t}=ie(e);return`#${t.map((r,n)=>go(n===3?Math.round(255*r):r)).join("")}`}function jr(e){e=ie(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,o=n*Math.min(a,1-a),s=(f,p=(f+r/30)%12)=>a-o*Math.max(Math.min(p-3,9-p,1),-1);let c="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),ft({type:c,values:u})}function wt(e){e=ie(e);let t=e.type==="hsl"||e.type==="hsla"?ie(jr(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 bo(e,t){const r=wt(e),n=wt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function So(e,t){return e=ie(e),t=Mt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ft(e)}function Be(e,t,r){try{return So(e,t)}catch{return e}}function Lt(e,t){if(e=ie(e),t=Mt(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 ft(e)}function E(e,t,r){try{return Lt(e,t)}catch{return e}}function Nt(e,t){if(e=ie(e),t=Mt(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 ft(e)}function O(e,t,r){try{return Nt(e,t)}catch{return e}}function vo(e,t=.15){return wt(e)>.5?Lt(e,t):Nt(e,t)}function Ie(e,t,r){try{return vo(e,t)}catch{return e}}function Co(e,t,r=void 0){const n={};for(const a in e){const o=e[a];let s="",c=!0;for(let u=0;u<o.length;u+=1){const f=o[u];f&&(s+=(c===!0?"":" ")+t(f),c=!1,r&&r[f]&&(s+=" "+r[f]))}n[a]=s}return n}const Dr=I.createContext(void 0);function Ei({value:e,children:t}){return ze.jsx(Dr.Provider,{value:e,children:t})}function wo(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const a=t.components[r];return a.defaultProps?Ct(a.defaultProps,n):!a.styleOverrides&&!a.variants?Ct(a,n):n}function xo({props:e,name:t}){const r=I.useContext(Dr);return wo({props:e,name:t,theme:{components:r}})}const rr={theme:void 0};function ko(e){let t,r;return function(a){let o=t;return(o===void 0||a.theme!==r)&&(rr.theme=a.theme,o=Nr(e(rr)),t=o,r=a.theme),o}}function Ao(e=""){function t(...n){if(!n.length)return"";const a=n[0];return typeof a=="string"&&!a.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}-`:""}${a}${t(...n.slice(1))})`:`, ${a}`}return(n,...a)=>`var(--${e?`${e}-`:""}${n}${t(...a)})`}const nr=(e,t,r,n=[])=>{let a=e;t.forEach((o,s)=>{s===t.length-1?Array.isArray(a)?a[Number(o)]=r:a&&typeof a=="object"&&(a[o]=r):a&&typeof a=="object"&&(a[o]||(a[o]=n.includes(o)?[]:{}),a=a[o])})},To=(e,t,r)=>{function n(a,o=[],s=[]){Object.entries(a).forEach(([c,u])=>{(!r||r&&!r([...o,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...o,c],Array.isArray(u)?[...s,c]:s):t([...o,c],u,s))})}n(e)},$o=(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 pt(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},a={},o={},s={};return To(e,(c,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(c,u))){const p=`--${r?`${r}-`:""}${c.join("-")}`,d=$o(c,u);Object.assign(a,{[p]:d}),nr(o,c,`var(${p})`,f),nr(s,c,`var(${p}, ${d})`,f)}},c=>c[0]==="vars"),{css:a,vars:o,varsWithDefaults:s}}function Po(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c="light",...u}=e,{vars:f,css:p,varsWithDefaults:d}=pt(u,t);let m=d;const b={},{[c]:g,...h}=o;if(Object.entries(h||{}).forEach(([x,C])=>{const{vars:k,css:A,varsWithDefaults:w}=pt(C,t);m=K(m,w),b[x]={css:A,vars:k}}),g){const{css:x,vars:C,varsWithDefaults:k}=pt(g,t);m=K(m,k),b[c]={css:x,vars:C}}function v(x,C){var A,w;let k=a;if(a==="class"&&(k=".%s"),a==="data"&&(k="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(k=`[${a}="%s"]`),x){if(k==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${((w=(A=o[x])==null?void 0:A.palette)==null?void 0:w.mode)||x})`]:{":root":C}};if(k)return e.defaultColorScheme===x?`:root, ${k.replace("%s",String(x))}`:k.replace("%s",String(x))}return":root"}return{vars:m,generateThemeVars:()=>{let x={...f};return Object.entries(b).forEach(([,{vars:C}])=>{x=K(x,C)}),x},generateStyleSheets:()=>{var D,H;const x=[],C=e.defaultColorScheme||"light";function k(i,y){Object.keys(y).length&&x.push(typeof i=="string"?{[i]:{...y}}:i)}k(r(void 0,{...p}),p);const{[C]:A,...w}=b;if(A){const{css:i}=A,y=(H=(D=o[C])==null?void 0:D.palette)==null?void 0:H.mode,T=!n&&y?{colorScheme:y,...i}:{...i};k(r(C,{...T}),T)}return Object.entries(w).forEach(([i,{css:y}])=>{var G,Z;const T=(Z=(G=o[i])==null?void 0:G.palette)==null?void 0:Z.mode,B=!n&&T?{colorScheme:T,...y}:{...y};k(r(i,{...B}),B)}),x}}}function _o(e){return function(r){return e==="media"?`@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 Pe={black:"#000",white:"#fff"},Eo={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"},ce={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},le={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ce={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ue={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},fe={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},de={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Wr(){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:Pe.white,default:Pe.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 Oo=Wr();function Gr(){return{text:{primary:Pe.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:Pe.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 ar=Gr();function or(e,t,r,n){const a=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Nt(e.main,a):t==="dark"&&(e.dark=Lt(e.main,o)))}function Ro(e="light"){return e==="dark"?{main:ue[200],light:ue[50],dark:ue[400]}:{main:ue[700],light:ue[400],dark:ue[800]}}function Bo(e="light"){return e==="dark"?{main:ce[200],light:ce[50],dark:ce[400]}:{main:ce[500],light:ce[300],dark:ce[700]}}function Io(e="light"){return e==="dark"?{main:le[500],light:le[300],dark:le[700]}:{main:le[700],light:le[400],dark:le[800]}}function Fo(e="light"){return e==="dark"?{main:fe[400],light:fe[300],dark:fe[700]}:{main:fe[700],light:fe[500],dark:fe[900]}}function Mo(e="light"){return e==="dark"?{main:de[400],light:de[300],dark:de[700]}:{main:de[800],light:de[500],dark:de[900]}}function Lo(e="light"){return e==="dark"?{main:Ce[400],light:Ce[300],dark:Ce[700]}:{main:"#ed6c02",light:Ce[500],dark:Ce[900]}}function zt(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...a}=e,o=e.primary||Ro(t),s=e.secondary||Bo(t),c=e.error||Io(t),u=e.info||Fo(t),f=e.success||Mo(t),p=e.warning||Lo(t);function d(h){return bo(h,ar.text.primary)>=r?ar.text.primary:Oo.text.primary}const m=({color:h,name:v,mainShade:S=500,lightShade:$=300,darkShade:x=700})=>{if(h={...h},!h.main&&h[S]&&(h.main=h[S]),!h.hasOwnProperty("main"))throw new Error(se(11,v?` (${v})`:"",S));if(typeof h.main!="string")throw new Error(se(12,v?` (${v})`:"",JSON.stringify(h.main)));return or(h,"light",$,n),or(h,"dark",x,n),h.contrastText||(h.contrastText=d(h.main)),h};let b;return t==="light"?b=Wr():t==="dark"&&(b=Gr()),K({common:{...Pe},mode:t,primary:m({color:o,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:p,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:f,name:"success"}),grey:Eo,contrastThreshold:r,getContrastText:d,augmentColor:m,tonalOffset:n,...b},a)}function No(e){const t={};return Object.entries(e).forEach(n=>{const[a,o]=n;typeof o=="object"&&(t[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),t}function zo(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function jo(e){return Math.round(e*1e5)/1e5}const ir={textTransform:"uppercase"},sr='"Roboto", "Helvetica", "Arial", sans-serif';function Do(e,t){const{fontFamily:r=sr,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:f,pxToRem:p,...d}=typeof t=="function"?t(e):t,m=n/14,b=p||(v=>`${v/u*m}rem`),g=(v,S,$,x,C)=>({fontFamily:r,fontWeight:v,fontSize:b(S),lineHeight:$,...r===sr?{letterSpacing:`${jo(x/S)}em`}:{},...C,...f}),h={h1:g(a,96,1.167,-1.5),h2:g(a,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(s,14,1.75,.4,ir),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,ir),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return K({htmlFontSize:u,pxToRem:b,fontFamily:r,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:c,...h},d,{clone:!1})}const Wo=.2,Go=.14,Ho=.12;function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Wo})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Go})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ho})`].join(",")}const Ko=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Vo={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)"},Uo={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function cr(e){return`${Math.round(e)}ms`}function Yo(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function qo(e){const t={...Vo,...e.easing},r={...Uo,...e.duration};return{getAutoHeightDuration:Yo,create:(a=["all"],o={})=>{const{duration:s=r.standard,easing:c=t.easeInOut,delay:u=0,...f}=o;return(Array.isArray(a)?a:[a]).map(p=>`${p} ${typeof s=="string"?s:cr(s)} ${c} ${typeof u=="string"?u:cr(u)}`).join(",")},...e,easing:t,duration:r}}const Xo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Qo(e){return ae(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Hr(e={}){const t={...e};function r(n){const a=Object.entries(n);for(let o=0;o<a.length;o++){const[s,c]=a[o];!Qo(c)||s.startsWith("unstable_")?delete n[s]:ae(c)&&(n[s]={...c},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
24
24
 
25
25
  const theme = ${JSON.stringify(t,null,2)};
26
26
 
@@ -1946,13 +1946,13 @@ _Requires version >= 8.3.0_
1946
1946
 
1947
1947
  \`\`\`js
1948
1948
  httpGet(
1949
- 'https://raw.githubusercontent.com/ioBroker/ioBroker.javascript/master/admin/javascript.png',
1949
+ 'https://raw.githubusercontent.com/ioBroker/ioBroker.javascript/master/admin/javascript.svg',
1950
1950
  { responseType: 'arraybuffer' },
1951
1951
  async (err, response) => {
1952
1952
  if (err) {
1953
1953
  console.error(err);
1954
1954
  } else {
1955
- const tempFilePath = createTempFile('javascript.png', response.data);
1955
+ const tempFilePath = createTempFile('javascript.svg', response.data);
1956
1956
  console.log(\`Saved to \${tempFilePath}\`);
1957
1957
 
1958
1958
  // Use the new path in other scripts (e.g. sendTo)