UNPKG

iobroker.backitup

Version:

ioBroker.backitup allows you to backup and restore your ioBroker installation and other systems, such as databases, Zigbee, scripts and many more.

17 lines (13 loc) 44 kB
import{C as ot}from"./ConfigCustomBackItUpSet__loadShare__react__loadShare__-4sGW5l7i.js";function U(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${r} for the full message.`}const ln="$$material";var it={exports:{}},$={};/** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var We=Symbol.for("react.transitional.element"),je=Symbol.for("react.portal"),me=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),ye=Symbol.for("react.consumer"),be=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Ce=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),bt=Symbol.for("react.view_transition"),St=Symbol.for("react.client.reference");function D(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case We:switch(e=e.type,e){case me:case he:case pe:case Ce:case Ae:case bt:return e;default:switch(e=e&&e.$$typeof,e){case be:case Se:case $e:case we:return e;case ye:return e;default:return t}}case je:return t}}}$.ContextConsumer=ye;$.ContextProvider=be;$.Element=We;$.ForwardRef=Se;$.Fragment=me;$.Lazy=$e;$.Memo=we;$.Portal=je;$.Profiler=he;$.StrictMode=pe;$.Suspense=Ce;$.SuspenseList=Ae;$.isContextConsumer=function(e){return D(e)===ye};$.isContextProvider=function(e){return D(e)===be};$.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===We};$.isForwardRef=function(e){return D(e)===Se};$.isFragment=function(e){return D(e)===me};$.isLazy=function(e){return D(e)===$e};$.isMemo=function(e){return D(e)===we};$.isPortal=function(e){return D(e)===je};$.isProfiler=function(e){return D(e)===he};$.isStrictMode=function(e){return D(e)===pe};$.isSuspense=function(e){return D(e)===Ce};$.isSuspenseList=function(e){return D(e)===Ae};$.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===me||e===he||e===pe||e===Ce||e===Ae||typeof e=="object"&&e!==null&&(e.$$typeof===$e||e.$$typeof===we||e.$$typeof===be||e.$$typeof===ye||e.$$typeof===Se||e.$$typeof===St||e.getModuleId!==void 0)};$.typeOf=D;it.exports=$;var at=it.exports;function Y(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 st(e){if(ot.isValidElement(e)||at.isValidElementType(e)||!Y(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=st(e[r])}),t}function _(e,t,r={clone:!0}){const o=r.clone?{...e}:e;return Y(e)&&Y(t)&&Object.keys(t).forEach(i=>{ot.isValidElement(t[i])||at.isValidElementType(t[i])?o[i]=t[i]:Y(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Y(e[i])?o[i]=_(e[i],t[i],r):r.clone?o[i]=Y(t[i])?st(t[i]):t[i]:o[i]=t[i]}),o}const Ct=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,o)=>r.val-o.val),t.reduce((r,o)=>({...r,[o.key]:o.val}),{})};function At(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5,...i}=e,a=Ct(t),l=Object.keys(a);function c(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function u(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-o/100}${r})`}function d(f,b){const p=l.indexOf(b);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(p!==-1&&typeof t[l[p]]=="number"?t[l[p]]:b)-o/100}${r})`}function h(f){return l.indexOf(f)+1<l.length?d(f,l[l.indexOf(f)+1]):c(f)}function m(f){const b=l.indexOf(f);return b===0?c(l[1]):b===l.length-1?u(l[b]):d(f,l[l.indexOf(f)+1]).replace("@media","@media not all and")}return{keys:l,values:a,up:c,down:u,between:d,only:h,not:m,unit:r,...i}}function Ve(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,i)=>{var l,c;const a=/min-width:\s*([0-9.]+)/;return+(((l=o.match(a))==null?void 0:l[1])||0)-+(((c=i.match(a))==null?void 0:c[1])||0)});return r.length?r.reduce((o,i)=>{const a=t[i];return delete o[i],o[i]=a,o},{...t}):t}function wt(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function $t(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,o,i]=r,a=Number.isNaN(+o)?o||0:+o;return e.containerQueries(i).up(a)}function Tt(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function r(a,l){a.up=(...c)=>t(e.breakpoints.up(...c),l),a.down=(...c)=>t(e.breakpoints.down(...c),l),a.between=(...c)=>t(e.breakpoints.between(...c),l),a.only=(...c)=>t(e.breakpoints.only(...c),l),a.not=(...c)=>{const u=t(e.breakpoints.not(...c),l);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const o={},i=a=>(r(o,a),o);return r(i),{...e,containerQueries:i}}const xt={borderRadius:4};function oe(e,t){return t?_(e,t,{clone:!1}):e}const Te={xs:0,sm:600,md:900,lg:1200,xl:1536},Qe={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Te[e]}px)`},kt={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Te[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function z(e,t,r){const o=e.theme||{};if(Array.isArray(t)){const a=o.breakpoints||Qe;return t.reduce((l,c,u)=>(l[a.up(a.keys[u])]=r(t[u]),l),{})}if(typeof t=="object"){const a=o.breakpoints||Qe;return Object.keys(t).reduce((l,c)=>{if(wt(a.keys,c)){const u=$t(o.containerQueries?o:kt,c);u&&(l[u]=r(t[c],c))}else if(Object.keys(a.values||Te).includes(c)){const u=a.up(c);l[u]=r(t[c],c)}else{const u=c;l[u]=t[u]}return l},{})}return r(t)}function lt(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((o,i)=>{const a=e.up(i);return o[a]={},o},{}))||{}}function De(e,t){return e.reduce((r,o)=>{const i=r[o];return(!i||Object.keys(i).length===0)&&delete r[o],r},t)}function cn(e,...t){const r=lt(e),o=[r,...t].reduce((i,a)=>_(i,a),{});return De(Object.keys(r),o)}function Bt(e,t){if(typeof e!="object")return{};const r={},o=Object.keys(t);return Array.isArray(e)?o.forEach((i,a)=>{a<e.length&&(r[i]=!0)}):o.forEach(i=>{e[i]!=null&&(r[i]=!0)}),r}function un({values:e,breakpoints:t,base:r}){const o=r||Bt(e,t),i=Object.keys(o);if(i.length===0)return e;let a;return i.reduce((l,c,u)=>(Array.isArray(e)?(l[c]=e[u]!=null?e[u]:e[a],a=u):typeof e=="object"?(l[c]=e[c]!=null?e[c]:e[a],a=c):l[c]=e,l),{})}function ct(e){if(typeof e!="string")throw new Error(U(7));return e.charAt(0).toUpperCase()+e.slice(1)}function xe(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const o=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(o!=null)return o}return t.split(".").reduce((o,i)=>o&&o[i]!=null?o[i]:null,e)}function de(e,t,r,o=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||o:i=xe(e,r)||o,t&&(i=t(i,o,e)),i}function E(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:i}=e,a=l=>{if(l[t]==null)return null;const c=l[t],u=l.theme,d=xe(u,o)||{};return z(l,c,m=>{let f=de(d,i,m);return m===f&&typeof m=="string"&&(f=de(d,i,`${t}${m==="default"?"":ct(m)}`,m)),r===!1?f:{[r]:f}})};return a.propTypes={},a.filterProps=[t],a}function Et(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const vt={m:"margin",p:"padding"},Ot={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Xe={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Pt=Et(e=>{if(e.length>2)if(Xe[e])e=Xe[e];else return[e];const[t,r]=e.split(""),o=vt[t],i=Ot[r]||"";return Array.isArray(i)?i.map(a=>o+a):[o+i]}),Me=["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"];[...Me,...Ke];function ae(e,t,r,o){const i=xe(e,t,!0)??r;return typeof i=="number"||typeof i=="string"?a=>typeof a=="string"?a:typeof i=="string"?`calc(${a} * ${i})`:i*a:Array.isArray(i)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),c=i[l];return a>=0?c:typeof c=="number"?-c:`-${c}`}:typeof i=="function"?i:()=>{}}function ze(e){return ae(e,"spacing",8)}function se(e,t){return typeof t=="string"||t==null?t:e(t)}function Rt(e,t){return r=>e.reduce((o,i)=>(o[i]=se(t,r),o),{})}function _t(e,t,r,o){if(!t.includes(r))return null;const i=Pt(r),a=Rt(i,o),l=e[r];return z(e,l,a)}function ut(e,t){const r=ze(e.theme);return Object.keys(e).map(o=>_t(e,t,o,r)).reduce(oe,{})}function k(e){return ut(e,Me)}k.propTypes={};k.filterProps=Me;function B(e){return ut(e,Ke)}B.propTypes={};B.filterProps=Ke;function ft(e=8,t=ze({spacing:e})){if(e.mui)return e;const r=(...o)=>(o.length===0?[1]:o).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return r.mui=!0,r}function ke(...e){const t=e.reduce((o,i)=>(i.filterProps.forEach(a=>{o[a]=i}),o),{}),r=o=>Object.keys(o).reduce((i,a)=>t[a]?oe(i,t[a](o)):i,{});return r.propTypes={},r.filterProps=e.reduce((o,i)=>o.concat(i.filterProps),[]),r}function L(e){return typeof e!="number"?e:`${e}px solid`}function F(e,t){return E({prop:e,themeKey:"borders",transform:t})}const It=F("border",L),Lt=F("borderTop",L),Dt=F("borderRight",L),Ft=F("borderBottom",L),Wt=F("borderLeft",L),jt=F("borderColor"),Mt=F("borderTopColor"),Kt=F("borderRightColor"),zt=F("borderBottomColor"),Gt=F("borderLeftColor"),Nt=F("outline",L),Ht=F("outlineColor"),Be=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ae(e.theme,"shape.borderRadius",4),r=o=>({borderRadius:se(t,o)});return z(e,e.borderRadius,r)}return null};Be.propTypes={};Be.filterProps=["borderRadius"];ke(It,Lt,Dt,Ft,Wt,jt,Mt,Kt,zt,Gt,Be,Nt,Ht);const Ee=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ae(e.theme,"spacing",8),r=o=>({gap:se(t,o)});return z(e,e.gap,r)}return null};Ee.propTypes={};Ee.filterProps=["gap"];const ve=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ae(e.theme,"spacing",8),r=o=>({columnGap:se(t,o)});return z(e,e.columnGap,r)}return null};ve.propTypes={};ve.filterProps=["columnGap"];const Oe=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ae(e.theme,"spacing",8),r=o=>({rowGap:se(t,o)});return z(e,e.rowGap,r)}return null};Oe.propTypes={};Oe.filterProps=["rowGap"];const Yt=E({prop:"gridColumn"}),Ut=E({prop:"gridRow"}),Vt=E({prop:"gridAutoFlow"}),Qt=E({prop:"gridAutoColumns"}),Xt=E({prop:"gridAutoRows"}),qt=E({prop:"gridTemplateColumns"}),Jt=E({prop:"gridTemplateRows"}),Zt=E({prop:"gridTemplateAreas"}),er=E({prop:"gridArea"});ke(Ee,ve,Oe,Yt,Ut,Vt,Qt,Xt,qt,Jt,Zt,er);function Z(e,t){return t==="grey"?t:e}const tr=E({prop:"color",themeKey:"palette",transform:Z}),rr=E({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Z}),nr=E({prop:"backgroundColor",themeKey:"palette",transform:Z});ke(tr,rr,nr);function I(e){return e<=1&&e!==0?`${e*100}%`:e}const or=E({prop:"width",transform:I}),Ge=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var i,a,l,c,u;const o=((l=(a=(i=e.theme)==null?void 0:i.breakpoints)==null?void 0:a.values)==null?void 0:l[r])||Te[r];return o?((u=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:I(r)}};return z(e,e.maxWidth,t)}return null};Ge.filterProps=["maxWidth"];const ir=E({prop:"minWidth",transform:I}),ar=E({prop:"height",transform:I}),sr=E({prop:"maxHeight",transform:I}),lr=E({prop:"minHeight",transform:I});E({prop:"size",cssProperty:"width",transform:I});E({prop:"size",cssProperty:"height",transform:I});const cr=E({prop:"boxSizing"});ke(or,Ge,ir,ar,sr,lr,cr);const Pe={border:{themeKey:"borders",transform:L},borderTop:{themeKey:"borders",transform:L},borderRight:{themeKey:"borders",transform:L},borderBottom:{themeKey:"borders",transform:L},borderLeft:{themeKey:"borders",transform:L},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:L},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Be},color:{themeKey:"palette",transform:Z},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Z},backgroundColor:{themeKey:"palette",transform:Z},p:{style:B},pt:{style:B},pr:{style:B},pb:{style:B},pl:{style:B},px:{style:B},py:{style:B},padding:{style:B},paddingTop:{style:B},paddingRight:{style:B},paddingBottom:{style:B},paddingLeft:{style:B},paddingX:{style:B},paddingY:{style:B},paddingInline:{style:B},paddingInlineStart:{style:B},paddingInlineEnd:{style:B},paddingBlock:{style:B},paddingBlockStart:{style:B},paddingBlockEnd:{style:B},m:{style:k},mt:{style:k},mr:{style:k},mb:{style:k},ml:{style:k},mx:{style:k},my:{style:k},margin:{style:k},marginTop:{style:k},marginRight:{style:k},marginBottom:{style:k},marginLeft:{style:k},marginX:{style:k},marginY:{style:k},marginInline:{style:k},marginInlineStart:{style:k},marginInlineEnd:{style:k},marginBlock:{style:k},marginBlockStart:{style:k},marginBlockEnd:{style:k},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:Ee},rowGap:{style:Oe},columnGap:{style:ve},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:I},maxWidth:{style:Ge},minWidth:{transform:I},height:{transform:I},maxHeight:{transform:I},minHeight:{transform:I},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 ur(...e){const t=e.reduce((o,i)=>o.concat(Object.keys(i)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function fr(e,t){return typeof e=="function"?e(t):e}function dr(){function e(r,o,i,a){const l={[r]:o,theme:i},c=a[r];if(!c)return{[r]:o};const{cssProperty:u=r,themeKey:d,transform:h,style:m}=c;if(o==null)return null;if(d==="typography"&&o==="inherit")return{[r]:o};const f=xe(i,d)||{};return m?m(l):z(l,o,p=>{let S=de(f,h,p);return p===S&&typeof p=="string"&&(S=de(f,h,`${r}${p==="default"?"":ct(p)}`,p)),u===!1?S:{[u]:S}})}function t(r){const{sx:o,theme:i={},nested:a}=r||{};if(!o)return null;const l=i.unstable_sxConfig??Pe;function c(u){let d=u;if(typeof u=="function")d=u(i);else if(typeof u!="object")return u;if(!d)return null;const h=lt(i.breakpoints),m=Object.keys(h);let f=h;return Object.keys(d).forEach(b=>{const p=fr(d[b],i);if(p!=null)if(typeof p=="object")if(l[b])f=oe(f,e(b,p,i,l));else{const S=z({theme:i},p,P=>({[b]:P}));ur(S,p)?f[b]=t({sx:p,theme:i,nested:!0}):f=oe(f,S)}else f=oe(f,e(b,p,i,l))}),!a&&i.modularCssLayers?{"@layer sx":Ve(i,De(m,f))}:Ve(i,De(m,f))}return Array.isArray(o)?o.map(c):c(o)}return t}const Re=dr();Re.filterProps=["sx"];function gr(e,t){var o;const r=this;if(r.vars){if(!((o=r.colorSchemes)!=null&&o[e])||typeof r.getColorSchemeSelector!="function")return{};let i=r.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return r.palette.mode===e?t:{}}function mr(e={},...t){const{breakpoints:r={},palette:o={},spacing:i,shape:a={},...l}=e,c=At(r),u=ft(i);let d=_({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:u,shape:{...xt,...a}},l);return d=Tt(d),d.applyStyles=gr,d=t.reduce((h,m)=>_(h,m),d),d.unstable_sxConfig={...Pe,...l==null?void 0:l.unstable_sxConfig},d.unstable_sx=function(m){return Re({sx:m,theme:this})},d}function pr(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Ne(e,t=0,r=1){return pr(e,t,r)}function hr(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(o=>o+o)),r?`rgb${r.length===4?"a":""}(${r.map((o,i)=>i<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function yr(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function G(e){if(e.type)return e;if(e.charAt(0)==="#")return G(hr(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(U(9,e));let o=e.substring(t+1,e.length-1),i;if(r==="color"){if(o=o.split(" "),i=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(U(10,i))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:r,values:o,colorSpace:i}}const br=e=>{const t=G(e);return t.values.slice(0,3).map((r,o)=>t.type.includes("hsl")&&o!==0?`${r}%`:r).join(" ")},re=(e,t)=>{try{return br(e)}catch{return e}};function _e(e){const{type:t,colorSpace:r}=e;let{values:o}=e;return t.includes("rgb")?o=o.map((i,a)=>a<3?parseInt(i,10):i):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function fn(e){if(e.startsWith("#"))return e;const{values:t}=G(e);return`#${t.map((r,o)=>yr(o===3?Math.round(255*r):r)).join("")}`}function dt(e){e=G(e);const{values:t}=e,r=t[0],o=t[1]/100,i=t[2]/100,a=o*Math.min(i,1-i),l=(d,h=(d+r/30)%12)=>i-a*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),_e({type:c,values:u})}function Fe(e){e=G(e);let t=e.type==="hsl"||e.type==="hsla"?G(dt(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 Sr(e,t){const r=Fe(e),o=Fe(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function Cr(e,t){return e=G(e),t=Ne(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,_e(e)}function ue(e,t,r){try{return Cr(e,t)}catch{return e}}function He(e,t){if(e=G(e),t=Ne(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 _e(e)}function A(e,t,r){try{return He(e,t)}catch{return e}}function Ye(e,t){if(e=G(e),t=Ne(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 _e(e)}function w(e,t,r){try{return Ye(e,t)}catch{return e}}function Ar(e,t=.15){return Fe(e)>.5?He(e,t):Ye(e,t)}function fe(e,t,r){try{return Ar(e,t)}catch{return e}}function wr(e=""){function t(...o){if(!o.length)return"";const i=o[0];return typeof i=="string"&&!i.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}-`:""}${i}${t(...o.slice(1))})`:`, ${i}`}return(o,...i)=>`var(--${e?`${e}-`:""}${o}${t(...i)})`}const qe=(e,t,r,o=[])=>{let i=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(i)?i[Number(a)]=r:i&&typeof i=="object"&&(i[a]=r):i&&typeof i=="object"&&(i[a]||(i[a]=o.includes(a)?[]:{}),i=i[a])})},$r=(e,t,r)=>{function o(i,a=[],l=[]){Object.entries(i).forEach(([c,u])=>{(!r||r&&!r([...a,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?o(u,[...a,c],Array.isArray(u)?[...l,c]:l):t([...a,c],u,l))})}o(e)},Tr=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Ie(e,t){const{prefix:r,shouldSkipGeneratingVar:o}=t||{},i={},a={},l={};return $r(e,(c,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!o||!o(c,u))){const h=`--${r?`${r}-`:""}${c.join("-")}`,m=Tr(c,u);Object.assign(i,{[h]:m}),qe(a,c,`var(${h})`,d),qe(l,c,`var(${h}, ${m})`,d)}},c=>c[0]==="vars"),{css:i,vars:a,varsWithDefaults:l}}function xr(e,t={}){const{getSelector:r=P,disableCssColorScheme:o,colorSchemeSelector:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:c="light",...u}=e,{vars:d,css:h,varsWithDefaults:m}=Ie(u,t);let f=m;const b={},{[c]:p,...S}=a;if(Object.entries(S||{}).forEach(([T,y])=>{const{vars:O,css:M,varsWithDefaults:H}=Ie(y,t);f=_(f,H),b[T]={css:M,vars:O}}),p){const{css:T,vars:y,varsWithDefaults:O}=Ie(p,t);f=_(f,O),b[c]={css:T,vars:y}}function P(T,y){var M,H;let O=i;if(i==="class"&&(O=".%s"),i==="data"&&(O="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(O=`[${i}="%s"]`),T){if(O==="media")return e.defaultColorScheme===T?":root":{[`@media (prefers-color-scheme: ${((H=(M=a[T])==null?void 0:M.palette)==null?void 0:H.mode)||T})`]:{":root":y}};if(O)return e.defaultColorScheme===T?`:root, ${O.replace("%s",String(T))}`:O.replace("%s",String(T))}return":root"}return{vars:f,generateThemeVars:()=>{let T={...d};return Object.entries(b).forEach(([,{vars:y}])=>{T=_(T,y)}),T},generateStyleSheets:()=>{var ee,W;const T=[],y=e.defaultColorScheme||"light";function O(n,g){Object.keys(g).length&&T.push(typeof n=="string"?{[n]:{...g}}:n)}O(r(void 0,{...h}),h);const{[y]:M,...H}=b;if(M){const{css:n}=M,g=(W=(ee=a[y])==null?void 0:ee.palette)==null?void 0:W.mode,C=!o&&g?{colorScheme:g,...n}:{...n};O(r(y,{...C}),C)}return Object.entries(H).forEach(([n,{css:g}])=>{var le,ce;const C=(ce=(le=a[n])==null?void 0:le.palette)==null?void 0:ce.mode,v=!o&&C?{colorScheme:C,...g}:{...g};O(r(n,{...v}),v)}),T}}}function kr(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 ie={black:"#000",white:"#fff"},Br={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"},V={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"},Q={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"},te={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"},X={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"},q={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"},J={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 gt(){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:ie.white,default:ie.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 Er=gt();function mt(){return{text:{primary:ie.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:ie.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 Je=mt();function Ze(e,t,r,o){const i=o.light||o,a=o.dark||o*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ye(e.main,i):t==="dark"&&(e.dark=He(e.main,a)))}function vr(e="light"){return e==="dark"?{main:X[200],light:X[50],dark:X[400]}:{main:X[700],light:X[400],dark:X[800]}}function Or(e="light"){return e==="dark"?{main:V[200],light:V[50],dark:V[400]}:{main:V[500],light:V[300],dark:V[700]}}function Pr(e="light"){return e==="dark"?{main:Q[500],light:Q[300],dark:Q[700]}:{main:Q[700],light:Q[400],dark:Q[800]}}function Rr(e="light"){return e==="dark"?{main:q[400],light:q[300],dark:q[700]}:{main:q[700],light:q[500],dark:q[900]}}function _r(e="light"){return e==="dark"?{main:J[400],light:J[300],dark:J[700]}:{main:J[800],light:J[500],dark:J[900]}}function Ir(e="light"){return e==="dark"?{main:te[400],light:te[300],dark:te[700]}:{main:"#ed6c02",light:te[500],dark:te[900]}}function Ue(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2,...i}=e,a=e.primary||vr(t),l=e.secondary||Or(t),c=e.error||Pr(t),u=e.info||Rr(t),d=e.success||_r(t),h=e.warning||Ir(t);function m(S){return Sr(S,Je.text.primary)>=r?Je.text.primary:Er.text.primary}const f=({color:S,name:P,mainShade:R=500,lightShade:N=300,darkShade:T=700})=>{if(S={...S},!S.main&&S[R]&&(S.main=S[R]),!S.hasOwnProperty("main"))throw new Error(U(11,P?` (${P})`:"",R));if(typeof S.main!="string")throw new Error(U(12,P?` (${P})`:"",JSON.stringify(S.main)));return Ze(S,"light",N,o),Ze(S,"dark",T,o),S.contrastText||(S.contrastText=m(S.main)),S};let b;return t==="light"?b=gt():t==="dark"&&(b=mt()),_({common:{...ie},mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:c,name:"error"}),warning:f({color:h,name:"warning"}),info:f({color:u,name:"info"}),success:f({color:d,name:"success"}),grey:Br,contrastThreshold:r,getContrastText:m,augmentColor:f,tonalOffset:o,...b},i)}function Lr(e){const t={};return Object.entries(e).forEach(o=>{const[i,a]=o;typeof a=="object"&&(t[i]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Dr(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Fr(e){return Math.round(e*1e5)/1e5}const et={textTransform:"uppercase"},tt='"Roboto", "Helvetica", "Arial", sans-serif';function Wr(e,t){const{fontFamily:r=tt,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:d,pxToRem:h,...m}=typeof t=="function"?t(e):t,f=o/14,b=h||(P=>`${P/u*f}rem`),p=(P,R,N,T,y)=>({fontFamily:r,fontWeight:P,fontSize:b(R),lineHeight:N,...r===tt?{letterSpacing:`${Fr(T/R)}em`}:{},...y,...d}),S={h1:p(i,96,1.167,-1.5),h2:p(i,60,1.2,-.5),h3:p(a,48,1.167,0),h4:p(a,34,1.235,.25),h5:p(a,24,1.334,0),h6:p(l,20,1.6,.15),subtitle1:p(a,16,1.75,.15),subtitle2:p(l,14,1.57,.1),body1:p(a,16,1.5,.15),body2:p(a,14,1.43,.15),button:p(l,14,1.75,.4,et),caption:p(a,12,1.66,.4),overline:p(a,12,2.66,1,et),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _({htmlFontSize:u,pxToRem:b,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:c,...S},m,{clone:!1})}const jr=.2,Mr=.14,Kr=.12;function x(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jr})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Mr})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Kr})`].join(",")}const zr=["none",x(0,2,1,-1,0,1,1,0,0,1,3,0),x(0,3,1,-2,0,2,2,0,0,1,5,0),x(0,3,3,-2,0,3,4,0,0,1,8,0),x(0,2,4,-1,0,4,5,0,0,1,10,0),x(0,3,5,-1,0,5,8,0,0,1,14,0),x(0,3,5,-1,0,6,10,0,0,1,18,0),x(0,4,5,-2,0,7,10,1,0,2,16,1),x(0,5,5,-3,0,8,10,1,0,3,14,2),x(0,5,6,-3,0,9,12,1,0,3,16,2),x(0,6,6,-3,0,10,14,1,0,4,18,3),x(0,6,7,-4,0,11,15,1,0,4,20,3),x(0,7,8,-4,0,12,17,2,0,5,22,4),x(0,7,8,-4,0,13,19,2,0,5,24,4),x(0,7,9,-4,0,14,21,2,0,5,26,4),x(0,8,9,-5,0,15,22,2,0,6,28,5),x(0,8,10,-5,0,16,24,2,0,6,30,5),x(0,8,11,-5,0,17,26,2,0,6,32,5),x(0,9,11,-5,0,18,28,2,0,7,34,6),x(0,9,12,-6,0,19,29,2,0,7,36,6),x(0,10,13,-6,0,20,31,3,0,8,38,7),x(0,10,13,-6,0,21,33,3,0,8,40,7),x(0,10,14,-6,0,22,35,3,0,8,42,7),x(0,11,14,-7,0,23,36,3,0,9,44,8),x(0,11,15,-7,0,24,38,3,0,9,46,8)],Gr={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)"},Nr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function rt(e){return`${Math.round(e)}ms`}function Hr(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Yr(e){const t={...Gr,...e.easing},r={...Nr,...e.duration};return{getAutoHeightDuration:Hr,create:(i=["all"],a={})=>{const{duration:l=r.standard,easing:c=t.easeInOut,delay:u=0,...d}=a;return(Array.isArray(i)?i:[i]).map(h=>`${h} ${typeof l=="string"?l:rt(l)} ${c} ${typeof u=="string"?u:rt(u)}`).join(",")},...e,easing:t,duration:r}}const Ur={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Vr(e){return Y(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function pt(e={}){const t={...e};function r(o){const i=Object.entries(o);for(let a=0;a<i.length;a++){const[l,c]=i[a];!Vr(c)||l.startsWith("unstable_")?delete o[l]:Y(c)&&(o[l]={...c},r(o[l]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles'; const theme = ${JSON.stringify(t,null,2)}; theme.breakpoints = createBreakpoints(theme.breakpoints || {}); theme.transitions = createTransitions(theme.transitions || {}); export default theme;`}function ge(e={},...t){const{breakpoints:r,mixins:o={},spacing:i,palette:a={},transitions:l={},typography:c={},shape:u,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(U(20));const h=Ue(a),m=mr(e);let f=_(m,{mixins:Dr(m.breakpoints,o),palette:h,shadows:zr.slice(),typography:Wr(h,c),transitions:Yr(l),zIndex:{...Ur}});return f=_(f,d),f=t.reduce((b,p)=>_(b,p),f),f.unstable_sxConfig={...Pe,...d==null?void 0:d.unstable_sxConfig},f.unstable_sx=function(p){return Re({sx:p,theme:this})},f.toRuntimeSource=pt,f}function dn(...e){return ge(...e)}function Qr(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 Xr=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Qr(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function ht(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function yt(e){return e==="dark"?Xr:[]}function qr(e){const{palette:t={mode:"light"},opacity:r,overlays:o,...i}=e,a=Ue(t);return{palette:a,opacity:{...ht(a.mode),...r},overlays:o||yt(a.mode),...i}}function Jr(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Zr=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],en=e=>(t,r)=>{const o=e.rootSelector||":root",i=e.colorSchemeSelector;let a=i;if(i==="class"&&(a=".%s"),i==="data"&&(a="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return Zr(e.cssVarPrefix).forEach(c=>{l[c]=r[c],delete r[c]}),a==="media"?{[o]:r,"@media (prefers-color-scheme: dark)":{[o]:l}}:a?{[a.replace("%s",t)]:l,[`${o}, ${a.replace("%s",t)}`]:r}:{[o]:{...r,...l}}}if(a&&a!=="media")return`${o}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:r}};if(a)return a.replace("%s",String(t))}return o};function tn(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function s(e,t,r){!e[t]&&r&&(e[t]=r)}function ne(e){return typeof e!="string"||!e.startsWith("hsl")?e:dt(e)}function K(e,t){`${t}Channel`in e||(e[`${t}Channel`]=re(ne(e[t])))}function rn(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const j=e=>{try{return e()}catch{}},nn=(e="mui")=>wr(e);function Le(e,t,r,o){if(!t)return;t=t===!0?{}:t;const i=o==="dark"?"dark":"light";if(!r){e[o]=qr({...t,palette:{mode:i,...t==null?void 0:t.palette}});return}const{palette:a,...l}=ge({...r,palette:{mode:i,...t==null?void 0:t.palette}});return e[o]={...t,palette:a,opacity:{...ht(i),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||yt(i)},l}function on(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:i=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=Jr,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...d}=e,h=Object.keys(r)[0],m=o||(r.light&&h!=="light"?"light":h),f=nn(a),{[m]:b,light:p,dark:S,...P}=r,R={...P};let N=b;if((m==="dark"&&!("dark"in r)||m==="light"&&!("light"in r))&&(N=!0),!N)throw new Error(U(21,m));const T=Le(R,N,d,m);p&&!R.light&&Le(R,p,void 0,"light"),S&&!R.dark&&Le(R,S,void 0,"dark");let y={defaultColorScheme:m,...T,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:u,getCssVar:f,colorSchemes:R,font:{...Lr(T.typography),...T.font},spacing:rn(d.spacing)};Object.keys(y.colorSchemes).forEach(W=>{const n=y.colorSchemes[W].palette,g=C=>{const v=C.split("-"),le=v[1],ce=v[2];return f(C,n[le][ce])};if(n.mode==="light"&&(s(n.common,"background","#fff"),s(n.common,"onBackground","#000")),n.mode==="dark"&&(s(n.common,"background","#000"),s(n.common,"onBackground","#fff")),tn(n,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),n.mode==="light"){s(n.Alert,"errorColor",A(n.error.light,.6)),s(n.Alert,"infoColor",A(n.info.light,.6)),s(n.Alert,"successColor",A(n.success.light,.6)),s(n.Alert,"warningColor",A(n.warning.light,.6)),s(n.Alert,"errorFilledBg",g("palette-error-main")),s(n.Alert,"infoFilledBg",g("palette-info-main")),s(n.Alert,"successFilledBg",g("palette-success-main")),s(n.Alert,"warningFilledBg",g("palette-warning-main")),s(n.Alert,"errorFilledColor",j(()=>n.getContrastText(n.error.main))),s(n.Alert,"infoFilledColor",j(()=>n.getContrastText(n.info.main))),s(n.Alert,"successFilledColor",j(()=>n.getContrastText(n.success.main))),s(n.Alert,"warningFilledColor",j(()=>n.getContrastText(n.warning.main))),s(n.Alert,"errorStandardBg",w(n.error.light,.9)),s(n.Alert,"infoStandardBg",w(n.info.light,.9)),s(n.Alert,"successStandardBg",w(n.success.light,.9)),s(n.Alert,"warningStandardBg",w(n.warning.light,.9)),s(n.Alert,"errorIconColor",g("palette-error-main")),s(n.Alert,"infoIconColor",g("palette-info-main")),s(n.Alert,"successIconColor",g("palette-success-main")),s(n.Alert,"warningIconColor",g("palette-warning-main")),s(n.AppBar,"defaultBg",g("palette-grey-100")),s(n.Avatar,"defaultBg",g("palette-grey-400")),s(n.Button,"inheritContainedBg",g("palette-grey-300")),s(n.Button,"inheritContainedHoverBg",g("palette-grey-A100")),s(n.Chip,"defaultBorder",g("palette-grey-400")),s(n.Chip,"defaultAvatarColor",g("palette-grey-700")),s(n.Chip,"defaultIconColor",g("palette-grey-700")),s(n.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),s(n.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),s(n.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),s(n.LinearProgress,"primaryBg",w(n.primary.main,.62)),s(n.LinearProgress,"secondaryBg",w(n.secondary.main,.62)),s(n.LinearProgress,"errorBg",w(n.error.main,.62)),s(n.LinearProgress,"infoBg",w(n.info.main,.62)),s(n.LinearProgress,"successBg",w(n.success.main,.62)),s(n.LinearProgress,"warningBg",w(n.warning.main,.62)),s(n.Skeleton,"bg",`rgba(${g("palette-text-primaryChannel")} / 0.11)`),s(n.Slider,"primaryTrack",w(n.primary.main,.62)),s(n.Slider,"secondaryTrack",w(n.secondary.main,.62)),s(n.Slider,"errorTrack",w(n.error.main,.62)),s(n.Slider,"infoTrack",w(n.info.main,.62)),s(n.Slider,"successTrack",w(n.success.main,.62)),s(n.Slider,"warningTrack",w(n.warning.main,.62));const C=fe(n.background.default,.8);s(n.SnackbarContent,"bg",C),s(n.SnackbarContent,"color",j(()=>n.getContrastText(C))),s(n.SpeedDialAction,"fabHoverBg",fe(n.background.paper,.15)),s(n.StepConnector,"border",g("palette-grey-400")),s(n.StepContent,"border",g("palette-grey-400")),s(n.Switch,"defaultColor",g("palette-common-white")),s(n.Switch,"defaultDisabledColor",g("palette-grey-100")),s(n.Switch,"primaryDisabledColor",w(n.primary.main,.62)),s(n.Switch,"secondaryDisabledColor",w(n.secondary.main,.62)),s(n.Switch,"errorDisabledColor",w(n.error.main,.62)),s(n.Switch,"infoDisabledColor",w(n.info.main,.62)),s(n.Switch,"successDisabledColor",w(n.success.main,.62)),s(n.Switch,"warningDisabledColor",w(n.warning.main,.62)),s(n.TableCell,"border",w(ue(n.divider,1),.88)),s(n.Tooltip,"bg",ue(n.grey[700],.92))}if(n.mode==="dark"){s(n.Alert,"errorColor",w(n.error.light,.6)),s(n.Alert,"infoColor",w(n.info.light,.6)),s(n.Alert,"successColor",w(n.success.light,.6)),s(n.Alert,"warningColor",w(n.warning.light,.6)),s(n.Alert,"errorFilledBg",g("palette-error-dark")),s(n.Alert,"infoFilledBg",g("palette-info-dark")),s(n.Alert,"successFilledBg",g("palette-success-dark")),s(n.Alert,"warningFilledBg",g("palette-warning-dark")),s(n.Alert,"errorFilledColor",j(()=>n.getContrastText(n.error.dark))),s(n.Alert,"infoFilledColor",j(()=>n.getContrastText(n.info.dark))),s(n.Alert,"successFilledColor",j(()=>n.getContrastText(n.success.dark))),s(n.Alert,"warningFilledColor",j(()=>n.getContrastText(n.warning.dark))),s(n.Alert,"errorStandardBg",A(n.error.light,.9)),s(n.Alert,"infoStandardBg",A(n.info.light,.9)),s(n.Alert,"successStandardBg",A(n.success.light,.9)),s(n.Alert,"warningStandardBg",A(n.warning.light,.9)),s(n.Alert,"errorIconColor",g("palette-error-main")),s(n.Alert,"infoIconColor",g("palette-info-main")),s(n.Alert,"successIconColor",g("palette-success-main")),s(n.Alert,"warningIconColor",g("palette-warning-main")),s(n.AppBar,"defaultBg",g("palette-grey-900")),s(n.AppBar,"darkBg",g("palette-background-paper")),s(n.AppBar,"darkColor",g("palette-text-primary")),s(n.Avatar,"defaultBg",g("palette-grey-600")),s(n.Button,"inheritContainedBg",g("palette-grey-800")),s(n.Button,"inheritContainedHoverBg",g("palette-grey-700")),s(n.Chip,"defaultBorder",g("palette-grey-700")),s(n.Chip,"defaultAvatarColor",g("palette-grey-300")),s(n.Chip,"defaultIconColor",g("palette-grey-300")),s(n.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),s(n.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),s(n.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),s(n.LinearProgress,"primaryBg",A(n.primary.main,.5)),s(n.LinearProgress,"secondaryBg",A(n.secondary.main,.5)),s(n.LinearProgress,"errorBg",A(n.error.main,.5)),s(n.LinearProgress,"infoBg",A(n.info.main,.5)),s(n.LinearProgress,"successBg",A(n.success.main,.5)),s(n.LinearProgress,"warningBg",A(n.warning.main,.5)),s(n.Skeleton,"bg",`rgba(${g("palette-text-primaryChannel")} / 0.13)`),s(n.Slider,"primaryTrack",A(n.primary.main,.5)),s(n.Slider,"secondaryTrack",A(n.secondary.main,.5)),s(n.Slider,"errorTrack",A(n.error.main,.5)),s(n.Slider,"infoTrack",A(n.info.main,.5)),s(n.Slider,"successTrack",A(n.success.main,.5)),s(n.Slider,"warningTrack",A(n.warning.main,.5));const C=fe(n.background.default,.98);s(n.SnackbarContent,"bg",C),s(n.SnackbarContent,"color",j(()=>n.getContrastText(C))),s(n.SpeedDialAction,"fabHoverBg",fe(n.background.paper,.15)),s(n.StepConnector,"border",g("palette-grey-600")),s(n.StepContent,"border",g("palette-grey-600")),s(n.Switch,"defaultColor",g("palette-grey-300")),s(n.Switch,"defaultDisabledColor",g("palette-grey-600")),s(n.Switch,"primaryDisabledColor",A(n.primary.main,.55)),s(n.Switch,"secondaryDisabledColor",A(n.secondary.main,.55)),s(n.Switch,"errorDisabledColor",A(n.error.main,.55)),s(n.Switch,"infoDisabledColor",A(n.info.main,.55)),s(n.Switch,"successDisabledColor",A(n.success.main,.55)),s(n.Switch,"warningDisabledColor",A(n.warning.main,.55)),s(n.TableCell,"border",A(ue(n.divider,1),.68)),s(n.Tooltip,"bg",ue(n.grey[700],.92))}K(n.background,"default"),K(n.background,"paper"),K(n.common,"background"),K(n.common,"onBackground"),K(n,"divider"),Object.keys(n).forEach(C=>{const v=n[C];C!=="tonalOffset"&&v&&typeof v=="object"&&(v.main&&s(n[C],"mainChannel",re(ne(v.main))),v.light&&s(n[C],"lightChannel",re(ne(v.light))),v.dark&&s(n[C],"darkChannel",re(ne(v.dark))),v.contrastText&&s(n[C],"contrastTextChannel",re(ne(v.contrastText))),C==="text"&&(K(n[C],"primary"),K(n[C],"secondary")),C==="action"&&(v.active&&K(n[C],"active"),v.selected&&K(n[C],"selected")))})}),y=t.reduce((W,n)=>_(W,n),y);const O={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:l,getSelector:en(y)},{vars:M,generateThemeVars:H,generateStyleSheets:ee}=xr(y,O);return y.vars=M,Object.entries(y.colorSchemes[y.defaultColorScheme]).forEach(([W,n])=>{y[W]=n}),y.generateThemeVars=H,y.generateStyleSheets=ee,y.generateSpacing=function(){return ft(d.spacing,ze(this))},y.getColorSchemeSelector=kr(c),y.spacing=y.generateSpacing(),y.shouldSkipGeneratingVar=l,y.unstable_sxConfig={...Pe,...d==null?void 0:d.unstable_sxConfig},y.unstable_sx=function(n){return Re({sx:n,theme:this})},y.toRuntimeSource=pt,y}function nt(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Ue({...r===!0?{}:r.palette,mode:t})})}function an(e={},...t){const{palette:r,cssVariables:o=!1,colorSchemes:i=r?void 0:{light:!0},defaultColorScheme:a=r==null?void 0:r.mode,...l}=e,c=a||"light",u=i==null?void 0:i[c],d={...i,...r?{[c]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in e))return ge(e,...t);let h=r;"palette"in e||d[c]&&(d[c]!==!0?h=d[c].palette:c==="dark"&&(h={mode:"dark"}));const m=ge({...e,palette:h},...t);return m.defaultColorScheme=c,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},nt(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},nt(m,"light",d.light)),m}return!r&&!("light"in d)&&c==="light"&&(d.light=!0),on({...l,colorSchemes:d,defaultColorScheme:c,...typeof o!="boolean"&&o},...t)}const gn=an();export{Ye as A,Ar as B,xe as C,pr as D,hr as E,fn as F,dt as G,G as H,_e as I,Sr as J,Fe as K,dn as L,Yr as M,Gr as N,qr as O,Qr as P,Jr as Q,Dr as R,Zr as S,ln as T,at as U,gn as V,Y as W,Pe as X,Cr as a,X as b,an as c,ct as d,mr as e,ze as f,Br as g,z as h,_ as i,se as j,ft as k,At as l,cn as m,U as n,te as o,Wr as p,on as q,un as r,Re as s,ie as t,J as u,q as v,V as w,Q as x,Nr as y,He as z};