(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{263:function(e,t,n){Promise.resolve().then(n.bind(n,10291)),Promise.resolve().then(n.t.bind(n,2778,23)),Promise.resolve().then(n.t.bind(n,46167,23)),Promise.resolve().then(n.t.bind(n,88394,23)),Promise.resolve().then(n.bind(n,85))},10291:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(2265),a=n(78242),l=n(34692),o=n(35475),i=n(57437);function u(e){let{options:t,CacheProvider:n=l.C,children:u}=e,[s]=r.useState(()=>{var e;let n=(0,a.Z)({...t,key:null!==(e=null==t?void 0:t.key)&&void 0!==e?e:"mui"});n.compat=!0;let r=n.insert,l=[];return n.insert=function(){for(var e=arguments.length,a=Array(e),o=0;o<e;o++)a[o]=arguments[o];(null==t?void 0:t.enableCssLayer)&&(a[1].styles="@layer mui {".concat(a[1].styles,"}"));let[i,u]=a;return void 0===n.inserted[u.name]&&l.push({name:u.name,isGlobal:!i}),r(...a)},{cache:n,flush:()=>{let e=l;return l=[],e}}});return(0,o.useServerInsertedHTML)(()=>{let e=s.flush();if(0===e.length)return null;let n="",a=s.cache.key,l=[];return e.forEach(e=>{let{name:t,isGlobal:r}=e,o=s.cache.inserted[t];"string"==typeof o&&(r?l.push({name:t,style:o}):(n+=o,a+=" ".concat(t)))}),(0,i.jsxs)(r.Fragment,{children:[l.map(e=>{let{name:n,style:r}=e;return(0,i.jsx)("style",{nonce:null==t?void 0:t.nonce,"data-emotion":"".concat(s.cache.key,"-global ").concat(n),dangerouslySetInnerHTML:{__html:r}},n)}),n&&(0,i.jsx)("style",{nonce:null==t?void 0:t.nonce,"data-emotion":a,dangerouslySetInnerHTML:{__html:n}})]})}),(0,i.jsx)(n,{value:s.cache,children:u})}},85:function(e,t,n){"use strict";n.d(t,{default:function(){return h},r:function(){return m}});var r=n(57437),a=n(2265),l=n(59619),o=n(93062),i=n(99163);let u=(0,i.Z)({palette:{mode:"light",primary:{main:"#1976d2"},secondary:{main:"#f50057"},background:{default:"#ffffff",paper:"#f5f5f5",sidebar:"#e9e9f1"},customed1:{main:"#e9e9f1"},customed2:{main:"#ffffff"},customed3:{main:"#E8E8E8"},black:{main:"#151515"}}}),s=(0,i.Z)({palette:{mode:"dark",primary:{main:"#90caf9"},secondary:{main:"#f48fb1"},background:{default:"#121212",paper:"#424242",sidebar:"#1e1e2d"},customed1:{main:"#e9e9f1"},customed2:{main:"#000"},customed3:{main:"#606060"},black:{main:"#fff"}}}),c=(0,a.createContext)(void 0),m=()=>{let e=(0,a.useContext)(c);if(!e)throw Error("useThemeMode must be used within a ThemeContextProvider");return e},d=null,f=()=>null!==d?d:"light"===(d=localStorage.getItem("appTheme"))||"dark"===d?d:"light";var h=e=>{let{children:t}=e,[n,i]=(0,a.useState)(f()),m=(0,a.useMemo)(()=>"light"===n?u:s,[n]);return(0,a.useEffect)(()=>{document.documentElement.style.setProperty("--key--color_accent",m.palette.primary.main),document.documentElement.style.setProperty("--key--color_inside-accent",m.palette.black.main)},[n]),(0,r.jsx)(c.Provider,{value:{toggleTheme:()=>{let e="light"===n?"dark":"light";i(e),localStorage.setItem("appTheme",e)},mode:n},children:(0,r.jsxs)(l.Z,{theme:m,children:[(0,r.jsx)(o.ZP,{}),t]})})}},46167:function(){},2778:function(){},88394:function(){}},function(e){e.O(0,[461,624,148,607,971,117,744],function(){return e(e.s=263)}),_N_E=e.O()}]);