react-session.manager.sk 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/package.json +1 -5
- package/src/components/ErrorBoundary.js +1 -2
- package/src/index.js +87 -211
- package/src/components/ThemeWrapper.js +0 -36
package/dist/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("MyComponent",["react"],t):"object"==typeof exports?exports.MyComponent=t(require("react")):e.MyComponent=t(e.react)}(self,e=>(()=>{var t,n,r={20:(e,t,n)=>{"use strict";var r=n(155),o=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,l={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===l[r]&&(l[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:l,_owner:i.current}}t.jsx=l,t.jsxs=l},72:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case a:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case y:case l:return e;default:return t}}case o:return t}}}function x(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=y,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===y},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===b||e.$$typeof===v||e.$$typeof===_||e.$$typeof===h)},t.typeOf=w},126:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r,o,a=n(1)(),i=n(3),s=n(4),l=n(6),c=function(){var e=new s;return r=e.getResult(),o=new l,this};c.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return r},getFingerprint:function(){var e="|",t=r.ua,n=this.getScreenPrint(),o=this.getPlugins(),a=this.getFonts(),s=this.isLocalStorage(),l=this.isSessionStorage(),c=this.getTimeZone(),u=this.getLanguage(),f=this.getSystemLanguage(),d=this.isCookie(),m=this.getCanvasPrint();return i(t+e+n+e+o+e+a+e+s+e+l+e+c+e+u+e+f+e+d+e+m,256)},getCustomFingerprint:function(){for(var e="",t=0;t<arguments.length;t++)e+=arguments[t]+"|";return i(e,256)},getUserAgent:function(){return r.ua},getUserAgentLowerCase:function(){return r.ua.toLowerCase()},getBrowser:function(){return r.browser.name},getBrowserVersion:function(){return r.browser.version},getBrowserMajorVersion:function(){return r.browser.major},isIE:function(){return/IE/i.test(r.browser.name)},isChrome:function(){return/Chrome/i.test(r.browser.name)},isFirefox:function(){return/Firefox/i.test(r.browser.name)},isSafari:function(){return/Safari/i.test(r.browser.name)},isMobileSafari:function(){return/Mobile\sSafari/i.test(r.browser.name)},isOpera:function(){return/Opera/i.test(r.browser.name)},getEngine:function(){return r.engine.name},getEngineVersion:function(){return r.engine.version},getOS:function(){return r.os.name},getOSVersion:function(){return r.os.version},isWindows:function(){return/Windows/i.test(r.os.name)},isMac:function(){return/Mac/i.test(r.os.name)},isLinux:function(){return/Linux/i.test(r.os.name)},isUbuntu:function(){return/Ubuntu/i.test(r.os.name)},isSolaris:function(){return/Solaris/i.test(r.os.name)},getDevice:function(){return r.device.model},getDeviceType:function(){return r.device.type},getDeviceVendor:function(){return r.device.vendor},getCPU:function(){return r.cpu.architecture},isMobile:function(){var e=r.ua||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))},isMobileMajor:function(){return this.isMobileAndroid()||this.isMobileBlackBerry()||this.isMobileIOS()||this.isMobileOpera()||this.isMobileWindows()},isMobileAndroid:function(){return!!r.ua.match(/Android/i)},isMobileOpera:function(){return!!r.ua.match(/Opera Mini/i)},isMobileWindows:function(){return!!r.ua.match(/IEMobile/i)},isMobileBlackBerry:function(){return!!r.ua.match(/BlackBerry/i)},isMobileIOS:function(){return!!r.ua.match(/iPhone|iPad|iPod/i)},isIphone:function(){return!!r.ua.match(/iPhone/i)},isIpad:function(){return!!r.ua.match(/iPad/i)},isIpod:function(){return!!r.ua.match(/iPod/i)},getScreenPrint:function(){return"Current Resolution: "+this.getCurrentResolution()+", Available Resolution: "+this.getAvailableResolution()+", Color Depth: "+this.getColorDepth()+", Device XDPI: "+this.getDeviceXDPI()+", Device YDPI: "+this.getDeviceYDPI()},getColorDepth:function(){return screen.colorDepth},getCurrentResolution:function(){return screen.width+"x"+screen.height},getAvailableResolution:function(){return screen.availWidth+"x"+screen.availHeight},getDeviceXDPI:function(){return screen.deviceXDPI},getDeviceYDPI:function(){return screen.deviceYDPI},getPlugins:function(){for(var e="",t=0;t<navigator.plugins.length;t++)t==navigator.plugins.length-1?e+=navigator.plugins[t].name:e+=navigator.plugins[t].name+", ";return e},isJava:function(){return navigator.javaEnabled()},getJavaVersion:function(){throw new Error("Please use client.java.js or client.js if you need this functionality!")},isFlash:function(){return!!navigator.plugins["Shockwave Flash"]},getFlashVersion:function(){throw new Error("Please use client.flash.js or client.js if you need this functionality!")},isSilverlight:function(){return!!navigator.plugins["Silverlight Plug-In"]},getSilverlightVersion:function(){return this.isSilverlight()?navigator.plugins["Silverlight Plug-In"].description:""},isMimeTypes:function(){return!(!navigator.mimeTypes||!navigator.mimeTypes.length)},getMimeTypes:function(){var e="";if(navigator.mimeTypes)for(var t=0;t<navigator.mimeTypes.length;t++)t==navigator.mimeTypes.length-1?e+=navigator.mimeTypes[t].description:e+=navigator.mimeTypes[t].description+", ";return e},isFont:function(e){return o.detect(e)},getFonts:function(){for(var e=["Abadi MT Condensed Light","Adobe Fangsong Std","Adobe Hebrew","Adobe Ming Std","Agency FB","Aharoni","Andalus","Angsana New","AngsanaUPC","Aparajita","Arab","Arabic Transparent","Arabic Typesetting","Arial Baltic","Arial Black","Arial CE","Arial CYR","Arial Greek","Arial TUR","Arial","Batang","BatangChe","Bauhaus 93","Bell MT","Bitstream Vera Serif","Bodoni MT","Bookman Old Style","Braggadocio","Broadway","Browallia New","BrowalliaUPC","Calibri Light","Calibri","Californian FB","Cambria Math","Cambria","Candara","Castellar","Casual","Centaur","Century Gothic","Chalkduster","Colonna MT","Comic Sans MS","Consolas","Constantia","Copperplate Gothic Light","Corbel","Cordia New","CordiaUPC","Courier New Baltic","Courier New CE","Courier New CYR","Courier New Greek","Courier New TUR","Courier New","DFKai-SB","DaunPenh","David","DejaVu LGC Sans Mono","Desdemona","DilleniaUPC","DokChampa","Dotum","DotumChe","Ebrima","Engravers MT","Eras Bold ITC","Estrangelo Edessa","EucrosiaUPC","Euphemia","Eurostile","FangSong","Forte","FrankRuehl","Franklin Gothic Heavy","Franklin Gothic Medium","FreesiaUPC","French Script MT","Gabriola","Gautami","Georgia","Gigi","Gisha","Goudy Old Style","Gulim","GulimChe","GungSeo","Gungsuh","GungsuhChe","Haettenschweiler","Harrington","Hei S","HeiT","Heisei Kaku Gothic","Hiragino Sans GB","Impact","Informal Roman","IrisUPC","Iskoola Pota","JasmineUPC","KacstOne","KaiTi","Kalinga","Kartika","Khmer UI","Kino MT","KodchiangUPC","Kokila","Kozuka Gothic Pr6N","Lao UI","Latha","Leelawadee","Levenim MT","LilyUPC","Lohit Gujarati","Loma","Lucida Bright","Lucida Console","Lucida Fax","Lucida Sans Unicode","MS Gothic","MS Mincho","MS PGothic","MS PMincho","MS Reference Sans Serif","MS UI Gothic","MV Boli","Magneto","Malgun Gothic","Mangal","Marlett","Matura MT Script Capitals","Meiryo UI","Meiryo","Menlo","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU-ExtB","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","Miriam Fixed","Miriam","Mongolian Baiti","MoolBoran","NSimSun","Narkisim","News Gothic MT","Niagara Solid","Nyala","PMingLiU","PMingLiU-ExtB","Palace Script MT","Palatino Linotype","Papyrus","Perpetua","Plantagenet Cherokee","Playbill","Prelude Bold","Prelude Condensed Bold","Prelude Condensed Medium","Prelude Medium","PreludeCompressedWGL Black","PreludeCompressedWGL Bold","PreludeCompressedWGL Light","PreludeCompressedWGL Medium","PreludeCondensedWGL Black","PreludeCondensedWGL Bold","PreludeCondensedWGL Light","PreludeCondensedWGL Medium","PreludeWGL Black","PreludeWGL Bold","PreludeWGL Light","PreludeWGL Medium","Raavi","Rachana","Rockwell","Rod","Sakkal Majalla","Sawasdee","Script MT Bold","Segoe Print","Segoe Script","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Segoe UI","Shonar Bangla","Showcard Gothic","Shruti","SimHei","SimSun","SimSun-ExtB","Simplified Arabic Fixed","Simplified Arabic","Snap ITC","Sylfaen","Symbol","Tahoma","Times New Roman Baltic","Times New Roman CE","Times New Roman CYR","Times New Roman Greek","Times New Roman TUR","Times New Roman","TlwgMono","Traditional Arabic","Trebuchet MS","Tunga","Tw Cen MT Condensed Extra Bold","Ubuntu","Umpush","Univers","Utopia","Utsaah","Vani","Verdana","Vijaya","Vladimir Script","Vrinda","Webdings","Wide Latin","Wingdings"],t="",n=0;n<e.length;n++)o.detect(e[n])&&(t+=n==e.length-1?e[n]:e[n]+", ");return t},isLocalStorage:function(){try{return!!a.localStorage}catch(e){return!0}},isSessionStorage:function(){try{return!!a.sessionStorage}catch(e){return!0}},isCookie:function(){return navigator.cookieEnabled},getTimeZone:function(){var e,t;return e=new Date,(t=String(-e.getTimezoneOffset()/60))<0?"-"+("0"+(t*=-1)).slice(-2):"+"+("0"+t).slice(-2)},getLanguage:function(){return navigator.language},getSystemLanguage:function(){return navigator.systemLanguage||window.navigator.language},isCanvas:function(){var e=document.createElement("canvas");try{return!(!e.getContext||!e.getContext("2d"))}catch(e){return!1}},getCanvasPrint:function(){var e,t=document.createElement("canvas");try{e=t.getContext("2d")}catch(e){return""}var n="ClientJS,org <canvas> 1.0";return e.textBaseline="top",e.font="14px 'Arial'",e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(125,1,62,20),e.fillStyle="#069",e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.7)",e.fillText(n,4,17),t.toDataURL()}},t.ClientJS=c},function(e,t,r){"use strict";var o=r(2);e.exports=function(){return"object"==typeof n.g&&n.g&&n.g.Math===Math&&n.g.Array===Array?n.g:o}},function(e,t,n){"use strict";"undefined"!=typeof self?e.exports=self:"undefined"!=typeof window?e.exports=window:e.exports=Function("return this")()},function(e,t,n){e.exports=function(e,t){var n,r,o,a,i,s,l,c;for(n=3&e.length,r=e.length-n,o=t,i=3432918353,s=461845907,c=0;c<r;)l=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,o=27492+(65535&(a=5*(65535&(o=(o^=l=(65535&(l=(l=(65535&l)*i+(((l>>>16)*i&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(a>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&e.charCodeAt(c+2))<<16;case 2:l^=(255&e.charCodeAt(c+1))<<8;case 1:o^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(c)))*i+(((l>>>16)*i&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}},function(e,t,n){var r;!function(o,a){"use strict";var i="function",s="undefined",l="object",c="string",u="model",f="name",d="type",m="vendor",p="version",y="architecture",g="console",h="mobile",b="tablet",v="smarttv",_="wearable",w="embedded",x="Amazon",k="Apple",T="ASUS",S="BlackBerry",C="Google",E="Huawei",A="LG",I="Microsoft",O="Motorola",$="Samsung",P="Sony",M="Xiaomi",R="Zebra",L="Facebook",j=function(e){var t={};for(var n in e)t[e[n].toUpperCase()]=e[n];return t},B=function(e,t){return typeof e===c&&-1!==z(t).indexOf(z(e))},z=function(e){return e.toLowerCase()},N=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===s?e:e.substring(0,255)},D=function(e,t){for(var n,r,o,s,c,u,f=0;f<t.length&&!c;){var d=t[f],m=t[f+1];for(n=r=0;n<d.length&&!c;)if(c=d[n++].exec(e))for(o=0;o<m.length;o++)u=c[++r],typeof(s=m[o])===l&&s.length>0?2==s.length?typeof s[1]==i?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3==s.length?typeof s[1]!==i||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):a:this[s[0]]=u?s[1].call(this,u,s[2]):a:4==s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):a):this[s]=u||a;f+=2}},F=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e))return"?"===n?a:n}else if(B(t[n],e))return"?"===n?a:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,p],[/opios[\/ ]+([\w\.]+)/i],[p,[f,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[f,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[f,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[f,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[f,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[f,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[f,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[f,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[f,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[f,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,L],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[f,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[f,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[f,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[f,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[p,F,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[f,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[f,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,z]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",z]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,z]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[m,$],[d,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[m,$],[d,h]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[m,k],[d,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[m,k],[d,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[m,E],[d,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[u,[m,E],[d,h]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[m,M],[d,h]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[m,M],[d,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[u,[m,"OPPO"],[d,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[m,"Vivo"],[d,h]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[m,"Realme"],[d,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[m,O],[d,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[m,O],[d,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[m,A],[d,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[m,A],[d,h]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[m,"Lenovo"],[d,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[m,"Nokia"],[d,h]],[/(pixel c)\b/i],[u,[m,C],[d,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[m,C],[d,h]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[m,P],[d,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[m,P],[d,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[m,"OnePlus"],[d,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[m,x],[d,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[m,x],[d,h]],[/(playbook);[-\w\),; ]+(rim)/i],[u,m,[d,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[m,S],[d,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[m,T],[d,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[m,T],[d,h]],[/(nexus 9)/i],[u,[m,"HTC"],[d,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[m,[u,/_/g," "],[d,h]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[m,"Acer"],[d,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[m,"Meizu"],[d,h]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[m,"Sharp"],[d,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,u,[d,h]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,u,[d,b]],[/(surface duo)/i],[u,[m,I],[d,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[m,"Fairphone"],[d,h]],[/(u304aa)/i],[u,[m,"AT&T"],[d,h]],[/\bsie-(\w*)/i],[u,[m,"Siemens"],[d,h]],[/\b(rct\w+) b/i],[u,[m,"RCA"],[d,b]],[/\b(venue[\d ]{2,7}) b/i],[u,[m,"Dell"],[d,b]],[/\b(q(?:mv|ta)\w+) b/i],[u,[m,"Verizon"],[d,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[m,"Barnes & Noble"],[d,b]],[/\b(tm\d{3}\w+) b/i],[u,[m,"NuVision"],[d,b]],[/\b(k88) b/i],[u,[m,"ZTE"],[d,b]],[/\b(nx\d{3}j) b/i],[u,[m,"ZTE"],[d,h]],[/\b(gen\d{3}) b.+49h/i],[u,[m,"Swiss"],[d,h]],[/\b(zur\d{3}) b/i],[u,[m,"Swiss"],[d,b]],[/\b((zeki)?tb.*\b) b/i],[u,[m,"Zeki"],[d,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],u,[d,b]],[/\b(ns-?\w{0,9}) b/i],[u,[m,"Insignia"],[d,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[m,"NextBook"],[d,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],u,[d,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],u,[d,h]],[/\b(ph-1) /i],[u,[m,"Essential"],[d,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[m,"Envizen"],[d,b]],[/\b(trio[-\w\. ]+) b/i],[u,[m,"MachSpeed"],[d,b]],[/\btu_(1491) b/i],[u,[m,"Rotor"],[d,b]],[/(shield[\w ]+) b/i],[u,[m,"Nvidia"],[d,b]],[/(sprint) (\w+)/i],[m,u,[d,h]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[m,I],[d,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[m,R],[d,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[m,R],[d,h]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,u,[d,g]],[/droid.+; (shield) bui/i],[u,[m,"Nvidia"],[d,g]],[/(playstation [345portablevi]+)/i],[u,[m,P],[d,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[m,I],[d,g]],[/smart-tv.+(samsung)/i],[m,[d,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[m,$],[d,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,A],[d,v]],[/(apple) ?tv/i],[m,[u,"Apple TV"],[d,v]],[/crkey/i],[[u,"Chromecast"],[m,C],[d,v]],[/droid.+aft(\w)( bui|\))/i],[u,[m,x],[d,v]],[/\(dtv[\);].+(aquos)/i],[u,[m,"Sharp"],[d,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[m,N],[u,N],[d,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,v]],[/((pebble))app/i],[m,u,[d,_]],[/droid.+; (glass) \d/i],[u,[m,C],[d,_]],[/droid.+; (wt63?0{2,3})\)/i],[u,[m,R],[d,_]],[/(quest( 2)?)/i],[u,[m,L],[d,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[d,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[d,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[d,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,b]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[d,h]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[f,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[p,F,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[p,F,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,p],[/\(bb(10);/i],[p,[f,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[f,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[f,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[f,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[f,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,p],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[f,p]]},V=function(e,t){if(typeof e===l&&(t=e,e=a),!(this instanceof V))return new V(e,t).getResult();var n=e||(typeof o!==s&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(W,t):W;return this.getBrowser=function(){var e,t={};return t.name=a,t.version=a,D.call(t,n,r.browser),t.major=typeof(e=t.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:a,t},this.getCPU=function(){var e={};return e.architecture=a,D.call(e,n,r.cpu),e},this.getDevice=function(){var e={};return e.vendor=a,e.model=a,e.type=a,D.call(e,n,r.device),e},this.getEngine=function(){var e={};return e.name=a,e.version=a,D.call(e,n,r.engine),e},this.getOS=function(){var e={};return e.name=a,e.version=a,D.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>255?N(e,255):e,this},this.setUA(n),this};V.VERSION="0.7.30",V.BROWSER=j([f,p,"major"]),V.CPU=j([y]),V.DEVICE=j([u,m,d,g,h,v,b,_,w]),V.ENGINE=V.OS=j([f,p]),typeof t!==s?(typeof e!==s&&e.exports&&(t=e.exports=V),t.UAParser=V):n(5)?(r=function(){return V}.call(t,n,t,e))===a||(e.exports=r):typeof o!==s&&(o.UAParser=V);var H=typeof o!==s&&(o.jQuery||o.Zepto);if(H&&!H.ua){var G=new V;H.ua=G.getResult(),H.ua.get=function(){return G.getUA()},H.ua.set=function(e){G.setUA(e);var t=G.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:this)},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t){e.exports=function(){var e=["monospace","sans-serif","serif"],t=document.getElementsByTagName("body")[0],n=document.createElement("span");n.style.fontSize="72px",n.innerHTML="mmmmmmmmmmlli";var r={},o={};for(var a in e)n.style.fontFamily=e[a],t.appendChild(n),r[e[a]]=n.offsetWidth,o[e[a]]=n.offsetHeight,t.removeChild(n);this.detect=function(a){var i=!1;for(var s in e){n.style.fontFamily=a+","+e[s],t.appendChild(n);var l=n.offsetWidth!=r[e[s]]||n.offsetHeight!=o[e[s]];t.removeChild(n),i=i||l}return i}}}])},146:(e,t,n)=>{"use strict";var r=n(404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=m(n);o&&o!==p&&e(t,o,r)}var i=u(n);f&&(i=i.concat(f(n)));for(var s=l(t),y=l(n),g=0;g<i.length;++g){var h=i[g];if(!(a[h]||r&&r[h]||y&&y[h]||s&&s[h])){var b=d(n,h);try{c(t,h,b)}catch(e){}}}}return t}},155:t=>{"use strict";t.exports=e},314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},404:(e,t,n)=>{"use strict";e.exports=n(72)},405:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===u||e.$$typeof===i||e.$$typeof===a||e.$$typeof===s||e.$$typeof===d||void 0!==e.getModuleId)}},533:(e,t,n)=>{"use strict";var r=n(601),o=n.n(r),a=n(314);n.n(a)()(o()).push([e.id,':root {\n --main: #303030;\n --themec: #303030;\n --default: #303030;\n --contrastText: "rgba(0, 0, 0, 0.87)";\n}\n\n.custToast {\n background: var(--themec);\n}\n.custToast .Toastify__close-button {\n color: var(--main);\n}\n\n.custToast.Toastify__toast--success {\n color: var(--success);\n}\n.custToast.Toastify__toast--info {\n color: var(--info);\n}\n.custToast.Toastify__toast--warning {\n color: var(--warning);\n}\n.custToast.Toastify__toast--error {\n color: var(--error);\n}\n\n.custToast .Toastify__progress-bar--success {\n background: var(--success);\n}\n.custToast .Toastify__progress-bar--info {\n background: var(--info);\n}\n.custToast .Toastify__progress-bar--warning {\n background: var(--warning);\n}\n.custToast .Toastify__progress-bar--error {\n background: var(--error);\n}\n\n.custToast.materialToast.Toastify__toast--success {\n background: var(--success);\n color: var(--contrastText);\n}\n.custToast.materialToast.Toastify__toast--info {\n background: var(--info);\n color: var(--contrastText);\n}\n.custToast.materialToast.Toastify__toast--warning {\n background: var(--warning);\n color: var(--contrastText);\n}\n.custToast.materialToast.Toastify__toast--error {\n background: var(--error);\n color: var(--contrastText);\n}\n',""])},601:e=>{"use strict";e.exports=function(e){return e[1]}},750:(e,t,n)=>{"use strict";var r=n(601),o=n.n(r),a=n(314);n.n(a)()(o()).push([e.id,":root {\n --toastify-color-light: #fff;\n --toastify-color-dark: #121212;\n --toastify-color-info: #3498db;\n --toastify-color-success: #07bc0c;\n --toastify-color-warning: #f1c40f;\n --toastify-color-error: hsl(6, 78%, 57%);\n --toastify-color-transparent: rgba(255, 255, 255, 0.7);\n\n --toastify-icon-color-info: var(--toastify-color-info);\n --toastify-icon-color-success: var(--toastify-color-success);\n --toastify-icon-color-warning: var(--toastify-color-warning);\n --toastify-icon-color-error: var(--toastify-color-error);\n\n --toastify-container-width: fit-content;\n --toastify-toast-width: 320px;\n --toastify-toast-offset: 16px;\n --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));\n --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));\n --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));\n --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));\n --toastify-toast-background: #fff;\n --toastify-toast-padding: 14px;\n --toastify-toast-min-height: 64px;\n --toastify-toast-max-height: 800px;\n --toastify-toast-bd-radius: 6px;\n --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);\n --toastify-font-family: sans-serif;\n --toastify-z-index: 9999;\n --toastify-text-color-light: #757575;\n --toastify-text-color-dark: #fff;\n\n /* Used only for colored theme */\n --toastify-text-color-info: #fff;\n --toastify-text-color-success: #fff;\n --toastify-text-color-warning: #fff;\n --toastify-text-color-error: #fff;\n\n --toastify-spinner-color: #616161;\n --toastify-spinner-color-empty-area: #e0e0e0;\n --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);\n --toastify-color-progress-dark: #bb86fc;\n --toastify-color-progress-info: var(--toastify-color-info);\n --toastify-color-progress-success: var(--toastify-color-success);\n --toastify-color-progress-warning: var(--toastify-color-warning);\n --toastify-color-progress-error: var(--toastify-color-error);\n /* used to control the opacity of the progress trail */\n --toastify-color-progress-bgo: 0.2;\n}\n\n.Toastify__toast-container {\n z-index: var(--toastify-z-index);\n -webkit-transform: translate3d(0, 0, var(--toastify-z-index));\n position: fixed;\n width: var(--toastify-container-width);\n box-sizing: border-box;\n color: #fff;\n display: flex;\n flex-direction: column;\n}\n\n.Toastify__toast-container--top-left {\n top: var(--toastify-toast-top);\n left: var(--toastify-toast-left);\n}\n.Toastify__toast-container--top-center {\n top: var(--toastify-toast-top);\n left: 50%;\n transform: translateX(-50%);\n align-items: center;\n}\n.Toastify__toast-container--top-right {\n top: var(--toastify-toast-top);\n right: var(--toastify-toast-right);\n align-items: end;\n}\n.Toastify__toast-container--bottom-left {\n bottom: var(--toastify-toast-bottom);\n left: var(--toastify-toast-left);\n}\n.Toastify__toast-container--bottom-center {\n bottom: var(--toastify-toast-bottom);\n left: 50%;\n transform: translateX(-50%);\n align-items: center;\n}\n.Toastify__toast-container--bottom-right {\n bottom: var(--toastify-toast-bottom);\n right: var(--toastify-toast-right);\n align-items: end;\n}\n\n.Toastify__toast {\n --y: 0;\n position: relative;\n touch-action: none;\n width: var(--toastify-toast-width);\n min-height: var(--toastify-toast-min-height);\n box-sizing: border-box;\n margin-bottom: 1rem;\n padding: var(--toastify-toast-padding);\n border-radius: var(--toastify-toast-bd-radius);\n box-shadow: var(--toastify-toast-shadow);\n max-height: var(--toastify-toast-max-height);\n font-family: var(--toastify-font-family);\n /* webkit only issue #791 */\n z-index: 0;\n /* inner swag */\n display: flex;\n flex: 1 auto;\n align-items: center;\n word-break: break-word;\n}\n\n@media only screen and (max-width: 480px) {\n .Toastify__toast-container {\n width: 100vw;\n left: env(safe-area-inset-left);\n margin: 0;\n }\n .Toastify__toast-container--top-left,\n .Toastify__toast-container--top-center,\n .Toastify__toast-container--top-right {\n top: env(safe-area-inset-top);\n transform: translateX(0);\n }\n .Toastify__toast-container--bottom-left,\n .Toastify__toast-container--bottom-center,\n .Toastify__toast-container--bottom-right {\n bottom: env(safe-area-inset-bottom);\n transform: translateX(0);\n }\n .Toastify__toast-container--rtl {\n right: env(safe-area-inset-right);\n left: initial;\n }\n .Toastify__toast {\n --toastify-toast-width: 100%;\n margin-bottom: 0;\n border-radius: 0;\n }\n}\n\n.Toastify__toast-container[data-stacked='true'] {\n width: var(--toastify-toast-width);\n}\n\n.Toastify__toast--stacked {\n position: absolute;\n width: 100%;\n transform: translate3d(0, var(--y), 0) scale(var(--s));\n transition: transform 0.3s;\n}\n\n.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,\n.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {\n transition: opacity 0.1s;\n}\n\n.Toastify__toast--stacked[data-collapsed='false'] {\n overflow: visible;\n}\n\n.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {\n opacity: 0;\n}\n\n.Toastify__toast--stacked:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n height: calc(var(--g) * 1px);\n bottom: 100%;\n}\n\n.Toastify__toast--stacked[data-pos='top'] {\n top: 0;\n}\n\n.Toastify__toast--stacked[data-pos='bot'] {\n bottom: 0;\n}\n\n.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {\n transform-origin: top;\n}\n\n.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {\n transform-origin: bottom;\n}\n\n.Toastify__toast--stacked:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n height: 100%;\n transform: scaleY(3);\n z-index: -1;\n}\n\n.Toastify__toast--rtl {\n direction: rtl;\n}\n\n.Toastify__toast--close-on-click {\n cursor: pointer;\n}\n\n.Toastify__toast-icon {\n margin-inline-end: 10px;\n width: 22px;\n flex-shrink: 0;\n display: flex;\n}\n\n.Toastify--animate {\n animation-fill-mode: both;\n animation-duration: 0.5s;\n}\n\n.Toastify--animate-icon {\n animation-fill-mode: both;\n animation-duration: 0.3s;\n}\n\n.Toastify__toast-theme--dark {\n background: var(--toastify-color-dark);\n color: var(--toastify-text-color-dark);\n}\n\n.Toastify__toast-theme--light {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--default {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--info {\n color: var(--toastify-text-color-info);\n background: var(--toastify-color-info);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--success {\n color: var(--toastify-text-color-success);\n background: var(--toastify-color-success);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--warning {\n color: var(--toastify-text-color-warning);\n background: var(--toastify-color-warning);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--error {\n color: var(--toastify-text-color-error);\n background: var(--toastify-color-error);\n}\n\n.Toastify__progress-bar-theme--light {\n background: var(--toastify-color-progress-light);\n}\n\n.Toastify__progress-bar-theme--dark {\n background: var(--toastify-color-progress-dark);\n}\n\n.Toastify__progress-bar--info {\n background: var(--toastify-color-progress-info);\n}\n\n.Toastify__progress-bar--success {\n background: var(--toastify-color-progress-success);\n}\n\n.Toastify__progress-bar--warning {\n background: var(--toastify-color-progress-warning);\n}\n\n.Toastify__progress-bar--error {\n background: var(--toastify-color-progress-error);\n}\n\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {\n background: var(--toastify-color-transparent);\n}\n\n.Toastify__close-button {\n color: #fff;\n position: absolute;\n top: 6px;\n right: 6px;\n background: transparent;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n opacity: 0.7;\n transition: 0.3s ease;\n z-index: 1;\n}\n\n.Toastify__toast--rtl .Toastify__close-button {\n left: 6px;\n right: unset;\n}\n\n.Toastify__close-button--light {\n color: #000;\n opacity: 0.3;\n}\n\n.Toastify__close-button > svg {\n fill: currentColor;\n height: 16px;\n width: 14px;\n}\n\n.Toastify__close-button:hover,\n.Toastify__close-button:focus {\n opacity: 1;\n}\n\n@keyframes Toastify__trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n}\n\n.Toastify__progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n opacity: 0.7;\n transform-origin: left;\n}\n\n.Toastify__progress-bar--animated {\n animation: Toastify__trackProgress linear 1 forwards;\n}\n\n.Toastify__progress-bar--controlled {\n transition: transform 0.2s;\n}\n\n.Toastify__progress-bar--rtl {\n right: 0;\n left: initial;\n transform-origin: right;\n border-bottom-left-radius: initial;\n}\n\n.Toastify__progress-bar--wrp {\n position: absolute;\n overflow: hidden;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 5px;\n border-bottom-left-radius: var(--toastify-toast-bd-radius);\n border-bottom-right-radius: var(--toastify-toast-bd-radius);\n}\n\n.Toastify__progress-bar--wrp[data-hidden='true'] {\n opacity: 0;\n}\n\n.Toastify__progress-bar--bg {\n opacity: var(--toastify-color-progress-bgo);\n width: 100%;\n height: 100%;\n}\n\n.Toastify__spinner {\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: var(--toastify-spinner-color-empty-area);\n border-right-color: var(--toastify-spinner-color);\n animation: Toastify__spin 0.65s linear infinite;\n}\n\n@keyframes Toastify__bounceInRight {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes Toastify__bounceOutRight {\n 20% {\n opacity: 1;\n transform: translate3d(-20px, var(--y), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(2000px, var(--y), 0);\n }\n}\n\n@keyframes Toastify__bounceInLeft {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(-3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(25px, 0, 0);\n }\n 75% {\n transform: translate3d(-10px, 0, 0);\n }\n 90% {\n transform: translate3d(5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes Toastify__bounceOutLeft {\n 20% {\n opacity: 1;\n transform: translate3d(20px, var(--y), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(-2000px, var(--y), 0);\n }\n}\n\n@keyframes Toastify__bounceInUp {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(0, 3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n 75% {\n transform: translate3d(0, 10px, 0);\n }\n 90% {\n transform: translate3d(0, -5px, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n\n@keyframes Toastify__bounceOutUp {\n 20% {\n transform: translate3d(0, calc(var(--y) - 10px), 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, calc(var(--y) + 20px), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, -2000px, 0);\n }\n}\n\n@keyframes Toastify__bounceInDown {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(0, -3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, 25px, 0);\n }\n 75% {\n transform: translate3d(0, -10px, 0);\n }\n 90% {\n transform: translate3d(0, 5px, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes Toastify__bounceOutDown {\n 20% {\n transform: translate3d(0, calc(var(--y) - 10px), 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, calc(var(--y) + 20px), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, 2000px, 0);\n }\n}\n\n.Toastify__bounce-enter--top-left,\n.Toastify__bounce-enter--bottom-left {\n animation-name: Toastify__bounceInLeft;\n}\n\n.Toastify__bounce-enter--top-right,\n.Toastify__bounce-enter--bottom-right {\n animation-name: Toastify__bounceInRight;\n}\n\n.Toastify__bounce-enter--top-center {\n animation-name: Toastify__bounceInDown;\n}\n\n.Toastify__bounce-enter--bottom-center {\n animation-name: Toastify__bounceInUp;\n}\n\n.Toastify__bounce-exit--top-left,\n.Toastify__bounce-exit--bottom-left {\n animation-name: Toastify__bounceOutLeft;\n}\n\n.Toastify__bounce-exit--top-right,\n.Toastify__bounce-exit--bottom-right {\n animation-name: Toastify__bounceOutRight;\n}\n\n.Toastify__bounce-exit--top-center {\n animation-name: Toastify__bounceOutUp;\n}\n\n.Toastify__bounce-exit--bottom-center {\n animation-name: Toastify__bounceOutDown;\n}\n\n@keyframes Toastify__zoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n\n@keyframes Toastify__zoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0;\n }\n}\n\n.Toastify__zoom-enter {\n animation-name: Toastify__zoomIn;\n}\n\n.Toastify__zoom-exit {\n animation-name: Toastify__zoomOut;\n}\n\n@keyframes Toastify__flipIn {\n from {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0;\n }\n 40% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n animation-timing-function: ease-in;\n }\n 60% {\n transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n opacity: 1;\n }\n 80% {\n transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n }\n to {\n transform: perspective(400px);\n }\n}\n\n@keyframes Toastify__flipOut {\n from {\n transform: translate3d(0, var(--y), 0) perspective(400px);\n }\n 30% {\n transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);\n opacity: 1;\n }\n to {\n transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);\n opacity: 0;\n }\n}\n\n.Toastify__flip-enter {\n animation-name: Toastify__flipIn;\n}\n\n.Toastify__flip-exit {\n animation-name: Toastify__flipOut;\n}\n\n@keyframes Toastify__slideInRight {\n from {\n transform: translate3d(110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideInLeft {\n from {\n transform: translate3d(-110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideInUp {\n from {\n transform: translate3d(0, 110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideInDown {\n from {\n transform: translate3d(0, -110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideOutRight {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(110%, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideOutLeft {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(-110%, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideOutDown {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, 500px, 0);\n }\n}\n\n@keyframes Toastify__slideOutUp {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, -500px, 0);\n }\n}\n\n.Toastify__slide-enter--top-left,\n.Toastify__slide-enter--bottom-left {\n animation-name: Toastify__slideInLeft;\n}\n\n.Toastify__slide-enter--top-right,\n.Toastify__slide-enter--bottom-right {\n animation-name: Toastify__slideInRight;\n}\n\n.Toastify__slide-enter--top-center {\n animation-name: Toastify__slideInDown;\n}\n\n.Toastify__slide-enter--bottom-center {\n animation-name: Toastify__slideInUp;\n}\n\n.Toastify__slide-exit--top-left,\n.Toastify__slide-exit--bottom-left {\n animation-name: Toastify__slideOutLeft;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n.Toastify__slide-exit--top-right,\n.Toastify__slide-exit--bottom-right {\n animation-name: Toastify__slideOutRight;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n.Toastify__slide-exit--top-center {\n animation-name: Toastify__slideOutUp;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n.Toastify__slide-exit--bottom-center {\n animation-name: Toastify__slideOutDown;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n@keyframes Toastify__spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n",""])},848:(e,t,n)=>{"use strict";e.exports=n(20)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,exports:{}};return r[e].call(n.exports,n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;("object"==typeof s||"function"==typeof s)&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";a.r(i),a.d(i,{SessionManager:()=>Ua,default:()=>Va});var e=a(155),t=a.t(e,2),n=a.n(e),r=a(126);function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const s=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r};!function(e){if("undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n');var l=e=>"number"==typeof e&&!isNaN(e),c=e=>"string"==typeof e,u=e=>"function"==typeof e,f=e=>c(e)||u(e)?e:null,d=(e,t)=>!1===e||l(e)&&e>0?e:t,m=t=>(0,e.isValidElement)(t)||c(t)||u(t)||l(t);function p({enter:t,exit:n,appendPosition:r=!1,collapse:o=!0,collapseDuration:a=300}){return function({children:i,position:s,preventExitTransition:l,done:c,nodeRef:u,isIn:f,playToast:d}){let m=r?`${t}--${s}`:t,p=r?`${n}--${s}`:n,y=(0,e.useRef)(0);return(0,e.useLayoutEffect)(()=>{let e=u.current,t=m.split(" "),n=r=>{r.target===u.current&&(d(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===y.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),(0,e.useEffect)(()=>{let e=u.current,t=()=>{e.removeEventListener("animationend",t),o?function(e,t,n=300){let{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}(e,c,a):c()};f||(l?t():(y.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[f]),e.createElement(e.Fragment,null,i)}}function y(e,t){return{content:g(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function g(t,n,r=!1){return(0,e.isValidElement)(t)&&!c(t.type)?(0,e.cloneElement)(t,{closeToast:n.closeToast,toastProps:n,data:n.data,isPaused:r}):u(t)?t({closeToast:n.closeToast,toastProps:n,data:n.data,isPaused:r}):t}function h({delay:t,isRunning:n,closeToast:r,type:o="default",hide:a,className:i,controlledProgress:l,progress:c,rtl:f,isIn:d,theme:m}){let p=a||l&&0===c,y={animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};l&&(y.transform=`scaleX(${c})`);let g=s("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":f}),h=u(i)?i({rtl:f,type:o,defaultClassName:g}):s(g,i),b={[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&r()}};return e.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},e.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${o}`}),e.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:h,style:y,...b}))}var b=1,v=()=>""+b++;var _=new Map,w=[],x=new Set,k=e=>x.forEach(t=>t(e)),T=()=>_.size>0;function S(e,t){var n;if(t)return!(null==(n=_.get(t))||!n.isToastActive(e));let r=!1;return _.forEach(t=>{t.isToastActive(e)&&(r=!0)}),r}function C(e,t){m(e)&&(T()||w.push({content:e,options:t}),_.forEach(n=>{n.buildToast(e,t)}))}function E(e,t){_.forEach(n=>{(null==t||null==t||!t.containerId||(null==t?void 0:t.containerId)===n.id)&&n.toggle(e,null==t?void 0:t.id)})}function A(e){let t=e.containerId||1;return{subscribe(n){let r=function(e,t,n){let r=1,o=0,a=[],i=[],s=t,c=new Map,u=new Set,p=()=>{i=Array.from(c.values()),u.forEach(e=>e())},g=e=>{var t,n;null==(n=null==(t=e.props)?void 0:t.onClose)||n.call(t,e.removalReason),e.isActive=!1},h=e=>{if(null==e)c.forEach(g);else{let t=c.get(e);t&&g(t)}p()},b=e=>{var t,r;let{toastId:o,updateId:a}=e.props,i=null==a;e.staleId&&c.delete(e.staleId),e.isActive=!0,c.set(o,e),p(),n(y(e,i?"added":"updated")),i&&(null==(r=(t=e.props).onOpen)||r.call(t))};return{id:e,props:s,observe:e=>(u.add(e),()=>u.delete(e)),toggle:(e,t)=>{c.forEach(n=>{var r;(null==t||t===n.props.toastId)&&(null==(r=n.toggle)||r.call(n,e))})},removeToast:h,toasts:c,clearQueue:()=>{o-=a.length,a=[]},buildToast:(t,i)=>{if((({containerId:t,toastId:n,updateId:r})=>{let o=t?t!==e:1!==e,a=c.has(n)&&null==r;return o||a})(i))return;let{toastId:u,updateId:g,data:v,staleId:_,delay:w}=i,x=null==g;x&&o++;let k={...s,style:s.toastStyle,key:r++,...Object.fromEntries(Object.entries(i).filter(([e,t])=>null!=t)),toastId:u,updateId:g,data:v,isIn:!1,className:f(i.className||s.toastClassName),progressClassName:f(i.progressClassName||s.progressClassName),autoClose:!i.isLoading&&d(i.autoClose,s.autoClose),closeToast(e){c.get(u).removalReason=e,h(u)},deleteToast(){let e=c.get(u);if(null!=e){if(n(y(e,"removed")),c.delete(u),o--,o<0&&(o=0),a.length>0)return void b(a.shift());p()}}};k.closeButton=s.closeButton,!1===i.closeButton||m(i.closeButton)?k.closeButton=i.closeButton:!0===i.closeButton&&(k.closeButton=!m(s.closeButton)||s.closeButton);let T={content:t,props:k,staleId:_};s.limit&&s.limit>0&&o>s.limit&&x?a.push(T):l(w)?setTimeout(()=>{b(T)},w):b(T)},setProps(e){s=e},setToggle:(e,t)=>{let n=c.get(e);n&&(n.toggle=t)},isToastActive:e=>{var t;return null==(t=c.get(e))?void 0:t.isActive},getSnapshot:()=>i}}(t,e,k);_.set(t,r);let o=r.observe(n);return w.forEach(e=>C(e.content,e.options)),w=[],()=>{o(),_.delete(t)}},setProps(e){var n;null==(n=_.get(t))||n.setProps(e)},getSnapshot(){var e;return null==(e=_.get(t))?void 0:e.getSnapshot()}}}function I(e){return e&&(c(e.toastId)||l(e.toastId))?e.toastId:v()}function O(e,t){return C(e,t),t.toastId}function $(e,t){return{...t,type:t&&t.type||e,toastId:I(t)}}function P(e){return(t,n)=>O(t,$(e,n))}function M(e,t){return O(e,$("default",t))}M.loading=(e,t)=>O(e,$("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),M.promise=function(e,{pending:t,error:n,success:r},o){let a;t&&(a=c(t)?M.loading(t,o):M.loading(t.render,{...o,...t}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(e,t,n)=>{if(null==t)return void M.dismiss(a);let r={type:e,...i,...o,data:n},s=c(t)?{render:t}:t;return a?M.update(a,{...r,...s}):M(s.render,{...r,...s}),n},l=u(e)?e():e;return l.then(e=>s("success",r,e)).catch(e=>s("error",n,e)),l},M.success=P("success"),M.info=P("info"),M.error=P("error"),M.warning=P("warning"),M.warn=M.warning,M.dark=(e,t)=>O(e,$("default",{theme:"dark",...t})),M.dismiss=function(e){!function(e){if(T()){if(null==e||(e=>c(e)||l(e))(e))_.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=_.get(e.containerId);t?t.removeToast(e.id):_.forEach(t=>{t.removeToast(e.id)})}}else w=w.filter(t=>null!=e&&t.options.toastId!==e)}(e)},M.clearWaitingQueue=(e={})=>{_.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},M.isActive=S,M.update=(e,t={})=>{let n=((e,{containerId:t})=>{var n;return null==(n=_.get(t||1))?void 0:n.toasts.get(e)})(e,t);if(n){let{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:v()};a.toastId!==e&&(a.staleId=e);let i=a.render||o;delete a.render,O(i,a)}},M.done=e=>{M.update(e,{progress:1})},M.onChange=function(e){return x.add(e),()=>{x.delete(e)}},M.play=e=>E(!0,e),M.pause=e=>E(!1,e);var R="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,L=({theme:t,type:n,isLoading:r,...o})=>e.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...o}),j={info:function(t){return e.createElement(L,{...t},e.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return e.createElement(L,{...t},e.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return e.createElement(L,{...t},e.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return e.createElement(L,{...t},e.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return e.createElement("div",{className:"Toastify__spinner"})}};var B=t=>{let{isRunning:n,preventExitTransition:r,toastRef:o,eventHandlers:a,playToast:i}=function(t){let[n,r]=(0,e.useState)(!1),[o,a]=(0,e.useState)(!1),i=(0,e.useRef)(null),s=(0,e.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:c,closeToast:u,onClick:f,closeOnClick:d}=t;function m(){r(!0)}function p(){r(!1)}function y(e){let r=i.current;if(s.canDrag&&r){s.didMove=!0,n&&p(),"x"===t.draggableDirection?s.delta=e.clientX-s.start:s.delta=e.clientY-s.start,s.start!==e.clientX&&(s.canCloseOnClick=!1);let o="x"===t.draggableDirection?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`;r.style.transform=`translate3d(${o},0)`,r.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance))}}function g(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",g);let e=i.current;if(s.canDrag&&s.didMove&&e){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return a(!0),t.closeToast(!0),void t.collapseAll();e.style.transition="transform 0.2s, opacity 0.2s",e.style.removeProperty("transform"),e.style.removeProperty("opacity")}}(function(e){var t;null==(t=_.get(e.containerId||1))||t.setToggle(e.id,e.fn)})({id:t.toastId,containerId:t.containerId,fn:r}),(0,e.useEffect)(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||p(),window.addEventListener("focus",m),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",p)}},[t.pauseOnFocusLoss]);let h={onPointerDown:function(e){if(!0===t.draggable||t.draggable===e.pointerType){s.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",g);let n=i.current;s.canCloseOnClick=!0,s.canDrag=!0,n.style.transition="none","x"===t.draggableDirection?(s.start=e.clientX,s.removalDistance=n.offsetWidth*(t.draggablePercent/100)):(s.start=e.clientY,s.removalDistance=n.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(e){let{top:n,bottom:r,left:o,right:a}=i.current.getBoundingClientRect();"touchend"!==e.nativeEvent.type&&t.pauseOnHover&&e.clientX>=o&&e.clientX<=a&&e.clientY>=n&&e.clientY<=r?p():m()}};return l&&c&&(h.onMouseEnter=p,t.stacked||(h.onMouseLeave=m)),d&&(h.onClick=e=>{f&&f(e),s.canCloseOnClick&&u(!0)}),{playToast:m,pauseToast:p,isRunning:n,preventExitTransition:o,toastRef:i,eventHandlers:h}}(t),{closeButton:l,children:c,autoClose:f,onClick:d,type:m,hideProgressBar:p,closeToast:y,transition:b,position:v,className:w,style:x,progressClassName:k,updateId:T,role:S,progress:C,rtl:E,toastId:A,deleteToast:I,isIn:O,isLoading:$,closeOnClick:P,theme:M,ariaLabel:R}=t,L=s("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${m}`,{"Toastify__toast--rtl":E},{"Toastify__toast--close-on-click":P}),B=u(w)?w({rtl:E,position:v,type:m,defaultClassName:L}):s(L,w),z=function({theme:t,type:n,isLoading:r,icon:o}){let a=null,i={theme:t,type:n};return!1===o||(u(o)?a=o({...i,isLoading:r}):(0,e.isValidElement)(o)?a=(0,e.cloneElement)(o,i):r?a=j.spinner():(e=>e in j)(n)&&(a=j[n](i))),a}(t),N=!!C||!f,D={closeToast:y,type:m,theme:M},F=null;return!1===l||(F=u(l)?l(D):(0,e.isValidElement)(l)?(0,e.cloneElement)(l,D):function({closeToast:t,theme:n,ariaLabel:r="close"}){return e.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(!0)},"aria-label":r},e.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},e.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(D)),e.createElement(b,{isIn:O,done:I,position:v,preventExitTransition:r,nodeRef:o,playToast:i},e.createElement("div",{id:A,tabIndex:0,onClick:d,"data-in":O,className:B,...a,style:x,ref:o,...O&&{role:S,"aria-label":R}},null!=z&&e.createElement("div",{className:s("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!$})},z),g(c,t,!n),F,!t.customProgressBar&&e.createElement(h,{...T&&!N?{key:`p-${T}`}:{},rtl:E,theme:M,delay:f,isRunning:n,isIn:O,closeToast:y,hide:p,type:m,className:k,controlledProgress:N,progress:C||0})))},z=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),N=p(z("bounce",!0)),D=(p(z("slide",!0)),p(z("zoom")),p(z("flip")),{position:"top-right",transition:N,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code});function F(t){let n={...D,...t},r=t.stacked,[o,a]=(0,e.useState)(!0),i=(0,e.useRef)(null),{getToastToRender:l,isToastActive:c,count:d}=function(t){var n;let{subscribe:r,getSnapshot:o,setProps:a}=(0,e.useRef)(A(t)).current;a(t);let i=null==(n=(0,e.useSyncExternalStore)(r,o,o))?void 0:n.slice();return{getToastToRender:function(e){if(!i)return[];let n=new Map;return t.newestOnTop&&i.reverse(),i.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,t=>e(t[0],t[1]))},isToastActive:S,count:null==i?void 0:i.length}}(n),{className:m,style:p,rtl:y,containerId:g,hotKeys:h}=n;function b(e){let t=s("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":y});return u(m)?m({position:e,rtl:y,defaultClassName:t}):s(t,f(m))}function v(){r&&(a(!0),M.play())}return R(()=>{var e;if(r){let t=i.current.querySelectorAll('[data-in="true"]'),r=12,a=null==(e=n.position)?void 0:e.includes("top"),s=0,l=0;Array.from(t).reverse().forEach((e,t)=>{let n=e;n.classList.add("Toastify__toast--stacked"),t>0&&(n.dataset.collapsed=`${o}`),n.dataset.pos||(n.dataset.pos=a?"top":"bot");let i=s*(o?.2:1)+(o?0:r*t);n.style.setProperty("--y",`${a?i:-1*i}px`),n.style.setProperty("--g",`${r}`),n.style.setProperty("--s",""+(1-(o?l:0))),s+=n.offsetHeight,l+=.025})}},[o,d,r]),(0,e.useEffect)(()=>{function e(e){var t;let n=i.current;h(e)&&(null==(t=n.querySelector('[tabIndex="0"]'))||t.focus(),a(!1),M.pause()),"Escape"===e.key&&(document.activeElement===n||null!=n&&n.contains(document.activeElement))&&(a(!0),M.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[h]),e.createElement("section",{ref:i,className:"Toastify",id:g,onMouseEnter:()=>{r&&(a(!1),M.pause())},onMouseLeave:v,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":n["aria-label"]},l((t,n)=>{let o=n.length?{...p}:{...p,pointerEvents:"none"};return e.createElement("div",{tabIndex:-1,className:b(t),"data-stacked":r,style:o,key:`c-${t}`},n.map(({content:t,props:n})=>e.createElement(B,{...n,stacked:r,collapseAll:v,isIn:c(n.toastId,n.containerId),key:`t-${n.key}`},t)))}))}function U(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function W(e){if("string"!=typeof e)throw new Error(U(7));return e.charAt(0).toUpperCase()+e.slice(1)}const V=W;function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(null,arguments)}var G=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),K=Math.abs,q=String.fromCharCode,X=Object.assign;function Y(e){return e.trim()}function J(e,t,n){return e.replace(t,n)}function Z(e,t){return e.indexOf(t)}function Q(e,t){return 0|e.charCodeAt(t)}function ee(e,t,n){return e.slice(t,n)}function te(e){return e.length}function ne(e){return e.length}function re(e,t){return t.push(e),e}var oe=1,ae=1,ie=0,se=0,le=0,ce="";function ue(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:oe,column:ae,length:i,return:""}}function fe(e,t){return X(ue("",null,null,"",null,null,0),e,{length:-e.length},t)}function de(){return le=se>0?Q(ce,--se):0,ae--,10===le&&(ae=1,oe--),le}function me(){return le=se<ie?Q(ce,se++):0,ae++,10===le&&(ae=1,oe++),le}function pe(){return Q(ce,se)}function ye(){return se}function ge(e,t){return ee(ce,e,t)}function he(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function be(e){return oe=ae=1,ie=te(ce=e),se=0,[]}function ve(e){return ce="",e}function _e(e){return Y(ge(se-1,ke(91===e?e+2:40===e?e+1:e)))}function we(e){for(;(le=pe())&&le<33;)me();return he(e)>2||he(le)>3?"":" "}function xe(e,t){for(;--t&&me()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return ge(e,ye()+(t<6&&32==pe()&&32==me()))}function ke(e){for(;me();)switch(le){case e:return se;case 34:case 39:34!==e&&39!==e&&ke(le);break;case 40:41===e&&ke(e);break;case 92:me()}return se}function Te(e,t){for(;me()&&e+le!==57&&(e+le!==84||47!==pe()););return"/*"+ge(t,se-1)+"*"+q(47===e?e:me())}function Se(e){for(;!he(pe());)me();return ge(e,se)}var Ce="-ms-",Ee="-moz-",Ae="-webkit-",Ie="comm",Oe="rule",$e="decl",Pe="@keyframes";function Me(e,t){for(var n="",r=ne(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Re(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case $e:return e.return=e.return||e.value;case Ie:return"";case Pe:return e.return=e.value+"{"+Me(e.children,r)+"}";case Oe:e.value=e.props.join(",")}return te(n=Me(e.children,r))?e.return=e.value+"{"+n+"}":""}function Le(e){return ve(je("",null,null,null,[""],e=be(e),0,[0],e))}function je(e,t,n,r,o,a,i,s,l){for(var c=0,u=0,f=i,d=0,m=0,p=0,y=1,g=1,h=1,b=0,v="",_=o,w=a,x=r,k=v;g;)switch(p=b,b=me()){case 40:if(108!=p&&58==Q(k,f-1)){-1!=Z(k+=J(_e(b),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:k+=_e(b);break;case 9:case 10:case 13:case 32:k+=we(p);break;case 92:k+=xe(ye()-1,7);continue;case 47:switch(pe()){case 42:case 47:re(ze(Te(me(),ye()),t,n),l);break;default:k+="/"}break;case 123*y:s[c++]=te(k)*h;case 125*y:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==h&&(k=J(k,/\f/g,"")),m>0&&te(k)-f&&re(m>32?Ne(k+";",r,n,f-1):Ne(J(k," ","")+";",r,n,f-2),l);break;case 59:k+=";";default:if(re(x=Be(k,t,n,c,u,o,s,v,_=[],w=[],f),a),123===b)if(0===u)je(k,t,x,x,_,a,f,s,w);else switch(99===d&&110===Q(k,3)?100:d){case 100:case 108:case 109:case 115:je(e,x,x,r&&re(Be(e,x,x,0,0,o,s,v,o,_=[],f),w),o,w,f,s,r?_:w);break;default:je(k,x,x,x,[""],w,0,s,w)}}c=u=m=0,y=h=1,v=k="",f=i;break;case 58:f=1+te(k),m=p;default:if(y<1)if(123==b)--y;else if(125==b&&0==y++&&125==de())continue;switch(k+=q(b),b*y){case 38:h=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(te(k)-1)*h,h=1;break;case 64:45===pe()&&(k+=_e(me())),d=pe(),u=f=te(v=k+=Se(ye())),b++;break;case 45:45===p&&2==te(k)&&(y=0)}}return a}function Be(e,t,n,r,o,a,i,s,l,c,u){for(var f=o-1,d=0===o?a:[""],m=ne(d),p=0,y=0,g=0;p<r;++p)for(var h=0,b=ee(e,f+1,f=K(y=i[p])),v=e;h<m;++h)(v=Y(y>0?d[h]+" "+b:J(b,/&\f/g,d[h])))&&(l[g++]=v);return ue(e,t,n,0===o?Oe:s,l,c,u)}function ze(e,t,n){return ue(e,t,n,Ie,q(le),ee(e,2,-2),0)}function Ne(e,t,n,r){return ue(e,t,n,$e,ee(e,0,r),ee(e,r+1,-1),r)}var De=function(e,t,n){for(var r=0,o=0;r=o,o=pe(),38===r&&12===o&&(t[n]=1),!he(o);)me();return ge(e,se)},Fe=new WeakMap,Ue=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Fe.get(n))&&!r){Fe.set(e,!0);for(var o=[],a=function(e,t){return ve(function(e,t){var n=-1,r=44;do{switch(he(r)){case 0:38===r&&12===pe()&&(t[n]=1),e[n]+=De(se-1,t,n);break;case 2:e[n]+=_e(r);break;case 4:if(44===r){e[++n]=58===pe()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=q(r)}}while(r=me());return e}(be(e),t))}(t,o),i=n.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},We=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ve(e,t){switch(function(e,t){return 45^Q(e,0)?(((t<<2^Q(e,0))<<2^Q(e,1))<<2^Q(e,2))<<2^Q(e,3):0}(e,t)){case 5103:return Ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ae+e+Ee+e+Ce+e+e;case 6828:case 4268:return Ae+e+Ce+e+e;case 6165:return Ae+e+Ce+"flex-"+e+e;case 5187:return Ae+e+J(e,/(\w+).+(:[^]+)/,Ae+"box-$1$2"+Ce+"flex-$1$2")+e;case 5443:return Ae+e+Ce+"flex-item-"+J(e,/flex-|-self/,"")+e;case 4675:return Ae+e+Ce+"flex-line-pack"+J(e,/align-content|flex-|-self/,"")+e;case 5548:return Ae+e+Ce+J(e,"shrink","negative")+e;case 5292:return Ae+e+Ce+J(e,"basis","preferred-size")+e;case 6060:return Ae+"box-"+J(e,"-grow","")+Ae+e+Ce+J(e,"grow","positive")+e;case 4554:return Ae+J(e,/([^-])(transform)/g,"$1"+Ae+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,Ae+"$1"),/(image-set)/,Ae+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,Ae+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,Ae+"box-pack:$3"+Ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ae+e+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,Ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(te(e)-1-t>6)switch(Q(e,t+1)){case 109:if(45!==Q(e,t+4))break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+Ae+"$2-$3$1"+Ee+(108==Q(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Z(e,"stretch")?Ve(J(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Q(e,t+1))break;case 6444:switch(Q(e,te(e)-3-(~Z(e,"!important")&&10))){case 107:return J(e,":",":"+Ae)+e;case 101:return J(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ae+(45===Q(e,14)?"inline-":"")+"box$3$1"+Ae+"$2$3$1"+Ce+"$2box$3")+e}break;case 5936:switch(Q(e,t+11)){case 114:return Ae+e+Ce+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ae+e+Ce+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ae+e+Ce+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ae+e+Ce+e+e}return e}var He=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $e:e.return=Ve(e.value,e.length);break;case Pe:return Me([fe(e,{value:J(e.value,"@","@"+Ae)})],r);case Oe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Me([fe(e,{props:[J(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Me([fe(e,{props:[J(t,/:(plac\w+)/,":"+Ae+"input-$1")]}),fe(e,{props:[J(t,/:(plac\w+)/,":-moz-$1")]}),fe(e,{props:[J(t,/:(plac\w+)/,Ce+"input-$1")]})],r)}return""})}}],Ge=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,a=e.stylisPlugins||He,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;s.push(e)});var l,c,u,f,d=[Re,(f=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(c=[Ue,We].concat(a,d),u=ne(c),function(e,t,n,r){for(var o="",a=0;a<u;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,Me(Le(e?e+"{"+t.styles+"}":t.styles),m),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new G({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return p.sheet.hydrate(s),p};function Ke(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var qe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Xe=function(e,t,n){qe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Ye={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Je(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ze=/[A-Z]|^ms/g,Qe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,et=function(e){return 45===e.charCodeAt(1)},tt=function(e){return null!=e&&"boolean"!=typeof e},nt=Je(function(e){return et(e)?e:e.replace(Ze,"-$&").toLowerCase()}),rt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Qe,function(e,t,n){return at={name:t,styles:n,next:at},t})}return 1===Ye[e]||et(e)||"number"!=typeof t||0===t?t:t+"px"};function ot(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return at={name:o.name,styles:o.styles,next:at},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)at={name:i.name,styles:i.styles,next:at},i=i.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ot(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?r+=a+"{"+t[s]+"}":tt(s)&&(r+=nt(a)+":"+rt(a,s)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=ot(e,t,i);switch(a){case"animation":case"animationName":r+=nt(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var c=0;c<i.length;c++)tt(i[c])&&(r+=nt(a)+":"+rt(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=at,l=n(e);return at=s,ot(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var at,it=/label:\s*([^\s;{]+)\s*(;|$)/g;function st(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";at=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=ot(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=ot(n,t,e[i]),r&&(o+=a[i]);it.lastIndex=0;for(var s,l="";null!==(s=it.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:at}}var lt=!!e.useInsertionEffect&&e.useInsertionEffect,ct=lt||function(e){return e()},ut=lt||e.useLayoutEffect,ft=e.createContext("undefined"!=typeof HTMLElement?Ge({key:"css"}):null),dt=(ft.Provider,function(t){return(0,e.forwardRef)(function(n,r){var o=(0,e.useContext)(ft);return t(n,o,r)})}),mt=e.createContext({}),pt={}.hasOwnProperty,yt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return qe(t,n,r),ct(function(){return Xe(t,n,r)}),null},ht=dt(function(t,n,r){var o=t.css;"string"==typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var a=t[yt],i=[o],s="";"string"==typeof t.className?s=Ke(n.registered,i,t.className):null!=t.className&&(s=t.className+" ");var l=st(i,void 0,e.useContext(mt));s+=n.key+"-"+l.name;var c={};for(var u in t)pt.call(t,u)&&"css"!==u&&u!==yt&&(c[u]=t[u]);return c.className=s,r&&(c.ref=r),e.createElement(e.Fragment,null,e.createElement(gt,{cache:n,serialized:l,isStringTag:"string"==typeof a}),e.createElement(a,c))}),bt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,vt=Je(function(e){return bt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),_t=function(e){return"theme"!==e},wt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?vt:_t},xt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},kt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return qe(t,n,r),ct(function(){return Xe(t,n,r)}),null},Tt=function t(n,r){var o,a,i=n.__emotion_real===n,s=i&&n.__emotion_base||n;void 0!==r&&(o=r.label,a=r.target);var l=xt(n,r,i),c=l||wt(s),u=!c("as");return function(){var f=arguments,d=i&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&d.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)d.push.apply(d,f);else{var m=f[0];d.push(m[0]);for(var p=f.length,y=1;y<p;y++)d.push(f[y],m[y])}var g=dt(function(t,n,r){var o=u&&t.as||s,i="",f=[],m=t;if(null==t.theme){for(var p in m={},t)m[p]=t[p];m.theme=e.useContext(mt)}"string"==typeof t.className?i=Ke(n.registered,f,t.className):null!=t.className&&(i=t.className+" ");var y=st(d.concat(f),n.registered,m);i+=n.key+"-"+y.name,void 0!==a&&(i+=" "+a);var g=u&&void 0===l?wt(o):c,h={};for(var b in t)u&&"as"===b||g(b)&&(h[b]=t[b]);return h.className=i,r&&(h.ref=r),e.createElement(e.Fragment,null,e.createElement(kt,{cache:n,serialized:y,isStringTag:"string"==typeof o}),e.createElement(o,h))});return g.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=n.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(e,n){return t(e,H({},r,n,{shouldForwardProp:xt(g,n,!0)})).apply(void 0,d)},g}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Tt[e]=Tt(e)});const St=[];function Ct(e){return St[0]=e,st(St)}var Et=a(405);function At(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function It(t){if(e.isValidElement(t)||(0,Et.Hy)(t)||!At(t))return t;const n={};return Object.keys(t).forEach(e=>{n[e]=It(t[e])}),n}function Ot(t,n,r={clone:!0}){const o=r.clone?{...t}:t;return At(t)&&At(n)&&Object.keys(n).forEach(a=>{e.isValidElement(n[a])||(0,Et.Hy)(n[a])?o[a]=n[a]:At(n[a])&&Object.prototype.hasOwnProperty.call(t,a)&&At(t[a])?o[a]=Ot(t[a],n[a],r):r.clone?o[a]=At(n[a])?It(n[a]):n[a]:o[a]=n[a]}),o}function $t(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,a=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return{keys:i,values:a,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}function Pt(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const Mt={borderRadius:4},Rt={xs:0,sm:600,md:900,lg:1200,xl:1536},Lt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rt[e]}px)`},jt={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:Rt[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Bt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Lt;return t.reduce((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if("object"==typeof t){const e=r.breakpoints||Lt;return Object.keys(t).reduce((o,a)=>{if(i=e.keys,"@"===(s=a)||s.startsWith("@")&&(i.some(e=>s.startsWith(`@${e}`))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}(r.containerQueries?r:jt,a);e&&(o[e]=n(t[a],a))}else if(Object.keys(e.values||Rt).includes(a))o[e.up(a)]=n(t[a],a);else{const e=a;o[e]=t[e]}var i,s;return o},{})}return n(t)}function zt(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Nt(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Dt(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Nt(e,n)||r,t&&(o=t(o,r,e)),o}const Ft=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Nt(e.theme,r)||{};return Bt(e,a,e=>{let r=Dt(i,o,e);return e===r&&"string"==typeof e&&(r=Dt(i,o,`${t}${"default"===e?"":W(e)}`,e)),!1===n?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a},Ut=function(e,t){return t?Ot(e,t,{clone:!1}):e},Wt={m:"margin",p:"padding"},Vt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ht={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Gt=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Ht[e])return[e];e=Ht[e]}const[t,n]=e.split(""),r=Wt[t],o=Vt[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]})(t)),e[t])}(),Kt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],qt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Xt=[...Kt,...qt];function Yt(e,t,n,r){const o=Nt(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function Jt(e){return Yt(e,"spacing",8)}function Zt(e,t){return"string"==typeof t||null==t?t:e(t)}function Qt(e,t){const n=Jt(e.theme);return Object.keys(e).map(r=>function(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Zt(t,n),e),{})}(Gt(n),r);return Bt(e,e[n],o)}(e,t,r,n)).reduce(Ut,{})}function en(e){return Qt(e,Kt)}function tn(e){return Qt(e,qt)}function nn(e){return Qt(e,Xt)}function rn(e=8,t=Jt({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}en.propTypes={},en.filterProps=Kt,tn.propTypes={},tn.filterProps=qt,nn.propTypes={},nn.filterProps=Xt;const on=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Ut(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function an(e){return"number"!=typeof e?e:`${e}px solid`}function sn(e,t){return Ft({prop:e,themeKey:"borders",transform:t})}const ln=sn("border",an),cn=sn("borderTop",an),un=sn("borderRight",an),fn=sn("borderBottom",an),dn=sn("borderLeft",an),mn=sn("borderColor"),pn=sn("borderTopColor"),yn=sn("borderRightColor"),gn=sn("borderBottomColor"),hn=sn("borderLeftColor"),bn=sn("outline",an),vn=sn("outlineColor"),_n=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Yt(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Zt(t,e)});return Bt(e,e.borderRadius,n)}return null};_n.propTypes={},_n.filterProps=["borderRadius"],on(ln,cn,un,fn,dn,mn,pn,yn,gn,hn,_n,bn,vn);const wn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Yt(e.theme,"spacing",8),n=e=>({gap:Zt(t,e)});return Bt(e,e.gap,n)}return null};wn.propTypes={},wn.filterProps=["gap"];const xn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Yt(e.theme,"spacing",8),n=e=>({columnGap:Zt(t,e)});return Bt(e,e.columnGap,n)}return null};xn.propTypes={},xn.filterProps=["columnGap"];const kn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Yt(e.theme,"spacing",8),n=e=>({rowGap:Zt(t,e)});return Bt(e,e.rowGap,n)}return null};function Tn(e,t){return"grey"===t?t:e}function Sn(e){return e<=1&&0!==e?100*e+"%":e}kn.propTypes={},kn.filterProps=["rowGap"],on(wn,xn,kn,Ft({prop:"gridColumn"}),Ft({prop:"gridRow"}),Ft({prop:"gridAutoFlow"}),Ft({prop:"gridAutoColumns"}),Ft({prop:"gridAutoRows"}),Ft({prop:"gridTemplateColumns"}),Ft({prop:"gridTemplateRows"}),Ft({prop:"gridTemplateAreas"}),Ft({prop:"gridArea"})),on(Ft({prop:"color",themeKey:"palette",transform:Tn}),Ft({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tn}),Ft({prop:"backgroundColor",themeKey:"palette",transform:Tn}));const Cn=Ft({prop:"width",transform:Sn}),En=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||Rt[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Sn(t)}};return Bt(e,e.maxWidth,t)}return null};En.filterProps=["maxWidth"];const An=Ft({prop:"minWidth",transform:Sn}),In=Ft({prop:"height",transform:Sn}),On=Ft({prop:"maxHeight",transform:Sn}),$n=Ft({prop:"minHeight",transform:Sn}),Pn=(Ft({prop:"size",cssProperty:"width",transform:Sn}),Ft({prop:"size",cssProperty:"height",transform:Sn}),on(Cn,En,An,In,On,$n,Ft({prop:"boxSizing"})),{border:{themeKey:"borders",transform:an},borderTop:{themeKey:"borders",transform:an},borderRight:{themeKey:"borders",transform:an},borderBottom:{themeKey:"borders",transform:an},borderLeft:{themeKey:"borders",transform:an},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:an},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_n},color:{themeKey:"palette",transform:Tn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tn},backgroundColor:{themeKey:"palette",transform:Tn},p:{style:tn},pt:{style:tn},pr:{style:tn},pb:{style:tn},pl:{style:tn},px:{style:tn},py:{style:tn},padding:{style:tn},paddingTop:{style:tn},paddingRight:{style:tn},paddingBottom:{style:tn},paddingLeft:{style:tn},paddingX:{style:tn},paddingY:{style:tn},paddingInline:{style:tn},paddingInlineStart:{style:tn},paddingInlineEnd:{style:tn},paddingBlock:{style:tn},paddingBlockStart:{style:tn},paddingBlockEnd:{style:tn},m:{style:en},mt:{style:en},mr:{style:en},mb:{style:en},ml:{style:en},mx:{style:en},my:{style:en},margin:{style:en},marginTop:{style:en},marginRight:{style:en},marginBottom:{style:en},marginLeft:{style:en},marginX:{style:en},marginY:{style:en},marginInline:{style:en},marginInlineStart:{style:en},marginInlineEnd:{style:en},marginBlock:{style:en},marginBlockStart:{style:en},marginBlockEnd:{style:en},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:wn},rowGap:{style:kn},columnGap:{style:xn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Sn},maxWidth:{style:En},minWidth:{transform:Sn},height:{transform:Sn},maxHeight:{transform:Sn},minHeight:{transform:Sn},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"}}),Mn=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=a;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Nt(n,s)||{};return c?c(o):Bt(o,t,t=>{let n=Dt(u,l,t);return t===n&&"string"==typeof t&&(n=Dt(u,l,`${e}${"default"===t?"":W(t)}`,t)),!1===i?n:{[i]:n}})}return function t(n){const{sx:r,theme:o={},nested:a}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Pn;function s(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const s=function(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}(o.breakpoints),l=Object.keys(s);let c=s;return Object.keys(r).forEach(n=>{const a=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=a)if("object"==typeof a)if(i[n])c=Ut(c,e(n,a,o,i));else{const e=Bt({theme:o},a,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,a)?c=Ut(c,e):c[n]=t({sx:a,theme:o,nested:!0})}else c=Ut(c,e(n,a,o,i))}),!a&&o.modularCssLayers?{"@layer sx":Pt(o,zt(l,c))}:Pt(o,zt(l,c))}return Array.isArray(r)?r.map(s):s(r)}}();Mn.filterProps=["sx"];const Rn=Mn;function Ln(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const jn=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={},...i}=e;let s=Ot({breakpoints:$t(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:rn(o),shape:{...Mt,...a}},i);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=Ln,s=t.reduce((e,t)=>Ot(e,t),s),s.unstable_sxConfig={...Pn,...i?.unstable_sxConfig},s.unstable_sx=function(e){return Rn({sx:e,theme:this})},s};function Bn(e){const{variants:t,...n}=e,r={variants:t,style:Ct(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Ct(e.style))}),r}const zn=jn();function Nn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Dn(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Fn(e){return e?(t,n)=>n[e]:null}function Un(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Un(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Dn(r.style,n):r.style;else{const{variants:e,...o}=r;t=n?Dn(Ct(o),n):o}return Wn(e,r.variants,[t],n)}return r?.isProcessed?n?Dn(Ct(r.style),n):r.style:n?Dn(Ct(r),n):r}function Wn(e,t,n=[],r=void 0){let o;e:for(let a=0;a<t.length;a+=1){const i=t[a];if("function"==typeof i.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(o))continue}else for(const t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Dn(Ct(i.style(o)),r):i.style(o))):n.push(r?Dn(Ct(i.style),r):i.style)}return n}function Vn(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function Hn(e,t=0,n=1){return function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function Gn(e){if(e.type)return e;if("#"===e.charAt(0))return Gn(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(U(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(U(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}const Kn=(e,t)=>{try{return(e=>{const t=Gn(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function qn(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Xn(e){e=Gn(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),qn({type:s,values:l})}function Yn(e){let t="hsl"===(e=Gn(e)).type||"hsla"===e.type?Gn(Xn(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Jn(e,t,n){try{return function(e,t){return e=Gn(e),t=Hn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,qn(e)}(e,t)}catch(t){return e}}function Zn(e,t){if(e=Gn(e),t=Hn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return qn(e)}function Qn(e,t,n){try{return Zn(e,t)}catch(t){return e}}function er(e,t){if(e=Gn(e),t=Hn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return qn(e)}function tr(e,t,n){try{return er(e,t)}catch(t){return e}}function nr(e,t,n){try{return function(e,t=.15){return Yn(e)>.5?Zn(e,t):er(e,t)}(e,t)}catch(t){return e}}const rr={black:"#000",white:"#fff"},or={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"},ar="#f3e5f5",ir="#ce93d8",sr="#ba68c8",lr="#ab47bc",cr="#9c27b0",ur="#7b1fa2",fr="#e57373",dr="#ef5350",mr="#f44336",pr="#d32f2f",yr="#c62828",gr="#ffb74d",hr="#ffa726",br="#ff9800",vr="#f57c00",_r="#e65100",wr="#e3f2fd",xr="#90caf9",kr="#42a5f5",Tr="#1976d2",Sr="#1565c0",Cr="#4fc3f7",Er="#29b6f6",Ar="#03a9f4",Ir="#0288d1",Or="#01579b",$r="#81c784",Pr="#66bb6a",Mr="#4caf50",Rr="#388e3c",Lr="#2e7d32",jr="#1b5e20";function Br(){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:rr.white,default:rr.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 zr=Br();function Nr(){return{text:{primary:rr.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:rr.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 Dr=Nr();function Fr(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=er(e.main,o):"dark"===t&&(e.dark=Zn(e.main,a)))}function Ur(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,a=e.primary||function(e="light"){return"dark"===e?{main:xr,light:wr,dark:kr}:{main:Tr,light:kr,dark:Sr}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:ir,light:ar,dark:lr}:{main:cr,light:sr,dark:ur}}(t),s=e.error||function(e="light"){return"dark"===e?{main:mr,light:fr,dark:pr}:{main:pr,light:dr,dark:yr}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Er,light:Cr,dark:Ir}:{main:Ir,light:Ar,dark:Or}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Pr,light:$r,dark:Rr}:{main:Lr,light:Mr,dark:jr}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:hr,light:gr,dark:vr}:{main:"#ed6c02",light:br,dark:_r}}(t);function f(e){const t=function(e,t){const n=Yn(e),r=Yn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Dr.text.primary)>=n?Dr.text.primary:zr.text.primary;return t}const d=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(U(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(U(12,t?` (${t})`:"",JSON.stringify(e.main)));return Fr(e,"light",o,r),Fr(e,"dark",a,r),e.contrastText||(e.contrastText=f(e.main)),e};let m;return"light"===t?m=Br():"dark"===t&&(m=Nr()),Ot({common:{...rr},mode:t,primary:d({color:a,name:"primary"}),secondary:d({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:or,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r,...m},o)}function Wr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function Vr(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Hr=(e,t,n,r=[])=>{let o=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})};function Gr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:l}),Hr(a,e,`var(${r})`,s),Hr(i,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))})}(e),{css:o,vars:a,varsWithDefaults:i}}const Kr={textTransform:"uppercase"},qr='"Roboto", "Helvetica", "Arial", sans-serif';function Xr(e,t){const{fontFamily:n=qr,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...f}="function"==typeof t?t(e):t,d=r/14,m=u||(e=>e/l*d+"rem"),p=(e,t,r,o,a)=>{return{fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r,...n===qr?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5+"em")}:{},...a,...c};var i},y={h1:p(o,96,1.167,-1.5),h2:p(o,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(i,20,1.6,.15),subtitle1:p(a,16,1.75,.15),subtitle2:p(i,14,1.57,.1),body1:p(a,16,1.5,.15),body2:p(a,14,1.43,.15),button:p(i,14,1.75,.4,Kr),caption:p(a,12,1.66,.4),overline:p(a,12,2.66,1,Kr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ot({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...y},f,{clone:!1})}function Yr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Jr=["none",Yr(0,2,1,-1,0,1,1,0,0,1,3,0),Yr(0,3,1,-2,0,2,2,0,0,1,5,0),Yr(0,3,3,-2,0,3,4,0,0,1,8,0),Yr(0,2,4,-1,0,4,5,0,0,1,10,0),Yr(0,3,5,-1,0,5,8,0,0,1,14,0),Yr(0,3,5,-1,0,6,10,0,0,1,18,0),Yr(0,4,5,-2,0,7,10,1,0,2,16,1),Yr(0,5,5,-3,0,8,10,1,0,3,14,2),Yr(0,5,6,-3,0,9,12,1,0,3,16,2),Yr(0,6,6,-3,0,10,14,1,0,4,18,3),Yr(0,6,7,-4,0,11,15,1,0,4,20,3),Yr(0,7,8,-4,0,12,17,2,0,5,22,4),Yr(0,7,8,-4,0,13,19,2,0,5,24,4),Yr(0,7,9,-4,0,14,21,2,0,5,26,4),Yr(0,8,9,-5,0,15,22,2,0,6,28,5),Yr(0,8,10,-5,0,16,24,2,0,6,30,5),Yr(0,8,11,-5,0,17,26,2,0,6,32,5),Yr(0,9,11,-5,0,18,28,2,0,7,34,6),Yr(0,9,12,-6,0,19,29,2,0,7,36,6),Yr(0,10,13,-6,0,20,31,3,0,8,38,7),Yr(0,10,13,-6,0,21,33,3,0,8,40,7),Yr(0,10,14,-6,0,22,35,3,0,8,42,7),Yr(0,11,14,-7,0,23,36,3,0,9,44,8),Yr(0,11,15,-7,0,24,38,3,0,9,46,8)],Zr={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)"},Qr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function eo(e){return`${Math.round(e)}ms`}function to(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function no(e){const t={...Zr,...e.easing},n={...Qr,...e.duration};return{getAutoHeightDuration:to,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:eo(o)} ${a} ${"string"==typeof i?i:eo(i)}`).join(",")},...e,easing:t,duration:n}}const ro={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function oo(e){return At(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function ao(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[o,a]=n[r];!oo(a)||o.startsWith("unstable_")?delete t[o]:At(a)&&(t[o]={...a},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}const io=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:a={},transitions:i={},typography:s={},shape:l,...c}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(U(20));const u=Ur(a),f=jn(e);let d=Ot(f,{mixins:(m=f.breakpoints,p=r,{toolbar:{minHeight:56,[m.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[m.up("sm")]:{minHeight:64}},...p}),palette:u,shadows:Jr.slice(),typography:Xr(u,s),transitions:no(i),zIndex:{...ro}});var m,p;return d=Ot(d,c),d=t.reduce((e,t)=>Ot(e,t),d),d.unstable_sxConfig={...Pn,...c?.unstable_sxConfig},d.unstable_sx=function(e){return Rn({sx:e,theme:this})},d.toRuntimeSource=ao,d},so=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function lo(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function co(e){return"dark"===e?so:[]}function uo(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const fo=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let a=o;if("class"===o&&(a=".%s"),"data"===o&&(a="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(a=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(i=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${i?`${i}-`:""}overlays-${t}`),`--${i?`${i}-`:""}palette-AppBar-darkBg`,`--${i?`${i}-`:""}palette-AppBar-darkColor`]).forEach(e=>{o[e]=n[e],delete n[e]}),"media"===a?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:a?{[a.replace("%s",t)]:o,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(a&&"media"!==a)return`${r}, ${a.replace("%s",String(t))}`}else if(t){if("media"===a)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}var i;return r};function mo(e,t,n){!e[t]&&n&&(e[t]=n)}function po(e){return"string"==typeof e&&e.startsWith("hsl")?Xn(e):e}function yo(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Kn(po(e[t])))}const go=e=>{try{return e()}catch(e){}};function ho(e,t,n,r){if(!t)return;t=!0===t?{}:t;const o="dark"===r?"dark":"light";if(!n)return void(e[r]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,a=Ur(t);return{palette:a,opacity:{...lo(a.mode),...n},overlays:r||co(a.mode),...o}}({...t,palette:{mode:o,...t?.palette}}));const{palette:a,...i}=io({...n,palette:{mode:o,...t?.palette}});return e[r]={...t,palette:a,opacity:{...lo(o),...t?.opacity},overlays:t?.overlays||co(o)},i}function bo(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:i=uo,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:l=":root",...c}=e,u=Object.keys(n)[0],f=r||(n.light&&"light"!==u?"light":u),d=((e="mui")=>Wr(e))(a),{[f]:m,light:p,dark:y,...g}=n,h={...g};let b=m;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(b=!0),!b)throw new Error(U(21,f));const v=ho(h,b,c,f);p&&!h.light&&ho(h,p,void 0,"light"),y&&!h.dark&&ho(h,y,void 0,"dark");let _={defaultColorScheme:f,...v,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:l,getCssVar:d,colorSchemes:h,font:{...Vr(v.typography),...v.font},spacing:(w=c.spacing,"number"==typeof w?`${w}px`:"string"==typeof w||"function"==typeof w||Array.isArray(w)?w:"8px")};var w;Object.keys(_.colorSchemes).forEach(e=>{const t=_.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return d(e,t[r][o])};var r;if("light"===t.mode&&(mo(t.common,"background","#fff"),mo(t.common,"onBackground","#000")),"dark"===t.mode&&(mo(t.common,"background","#000"),mo(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{r[e]||(r[e]={})}),"light"===t.mode){mo(t.Alert,"errorColor",Qn(t.error.light,.6)),mo(t.Alert,"infoColor",Qn(t.info.light,.6)),mo(t.Alert,"successColor",Qn(t.success.light,.6)),mo(t.Alert,"warningColor",Qn(t.warning.light,.6)),mo(t.Alert,"errorFilledBg",n("palette-error-main")),mo(t.Alert,"infoFilledBg",n("palette-info-main")),mo(t.Alert,"successFilledBg",n("palette-success-main")),mo(t.Alert,"warningFilledBg",n("palette-warning-main")),mo(t.Alert,"errorFilledColor",go(()=>t.getContrastText(t.error.main))),mo(t.Alert,"infoFilledColor",go(()=>t.getContrastText(t.info.main))),mo(t.Alert,"successFilledColor",go(()=>t.getContrastText(t.success.main))),mo(t.Alert,"warningFilledColor",go(()=>t.getContrastText(t.warning.main))),mo(t.Alert,"errorStandardBg",tr(t.error.light,.9)),mo(t.Alert,"infoStandardBg",tr(t.info.light,.9)),mo(t.Alert,"successStandardBg",tr(t.success.light,.9)),mo(t.Alert,"warningStandardBg",tr(t.warning.light,.9)),mo(t.Alert,"errorIconColor",n("palette-error-main")),mo(t.Alert,"infoIconColor",n("palette-info-main")),mo(t.Alert,"successIconColor",n("palette-success-main")),mo(t.Alert,"warningIconColor",n("palette-warning-main")),mo(t.AppBar,"defaultBg",n("palette-grey-100")),mo(t.Avatar,"defaultBg",n("palette-grey-400")),mo(t.Button,"inheritContainedBg",n("palette-grey-300")),mo(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),mo(t.Chip,"defaultBorder",n("palette-grey-400")),mo(t.Chip,"defaultAvatarColor",n("palette-grey-700")),mo(t.Chip,"defaultIconColor",n("palette-grey-700")),mo(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),mo(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),mo(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),mo(t.LinearProgress,"primaryBg",tr(t.primary.main,.62)),mo(t.LinearProgress,"secondaryBg",tr(t.secondary.main,.62)),mo(t.LinearProgress,"errorBg",tr(t.error.main,.62)),mo(t.LinearProgress,"infoBg",tr(t.info.main,.62)),mo(t.LinearProgress,"successBg",tr(t.success.main,.62)),mo(t.LinearProgress,"warningBg",tr(t.warning.main,.62)),mo(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),mo(t.Slider,"primaryTrack",tr(t.primary.main,.62)),mo(t.Slider,"secondaryTrack",tr(t.secondary.main,.62)),mo(t.Slider,"errorTrack",tr(t.error.main,.62)),mo(t.Slider,"infoTrack",tr(t.info.main,.62)),mo(t.Slider,"successTrack",tr(t.success.main,.62)),mo(t.Slider,"warningTrack",tr(t.warning.main,.62));const e=nr(t.background.default,.8);mo(t.SnackbarContent,"bg",e),mo(t.SnackbarContent,"color",go(()=>t.getContrastText(e))),mo(t.SpeedDialAction,"fabHoverBg",nr(t.background.paper,.15)),mo(t.StepConnector,"border",n("palette-grey-400")),mo(t.StepContent,"border",n("palette-grey-400")),mo(t.Switch,"defaultColor",n("palette-common-white")),mo(t.Switch,"defaultDisabledColor",n("palette-grey-100")),mo(t.Switch,"primaryDisabledColor",tr(t.primary.main,.62)),mo(t.Switch,"secondaryDisabledColor",tr(t.secondary.main,.62)),mo(t.Switch,"errorDisabledColor",tr(t.error.main,.62)),mo(t.Switch,"infoDisabledColor",tr(t.info.main,.62)),mo(t.Switch,"successDisabledColor",tr(t.success.main,.62)),mo(t.Switch,"warningDisabledColor",tr(t.warning.main,.62)),mo(t.TableCell,"border",tr(Jn(t.divider,1),.88)),mo(t.Tooltip,"bg",Jn(t.grey[700],.92))}if("dark"===t.mode){mo(t.Alert,"errorColor",tr(t.error.light,.6)),mo(t.Alert,"infoColor",tr(t.info.light,.6)),mo(t.Alert,"successColor",tr(t.success.light,.6)),mo(t.Alert,"warningColor",tr(t.warning.light,.6)),mo(t.Alert,"errorFilledBg",n("palette-error-dark")),mo(t.Alert,"infoFilledBg",n("palette-info-dark")),mo(t.Alert,"successFilledBg",n("palette-success-dark")),mo(t.Alert,"warningFilledBg",n("palette-warning-dark")),mo(t.Alert,"errorFilledColor",go(()=>t.getContrastText(t.error.dark))),mo(t.Alert,"infoFilledColor",go(()=>t.getContrastText(t.info.dark))),mo(t.Alert,"successFilledColor",go(()=>t.getContrastText(t.success.dark))),mo(t.Alert,"warningFilledColor",go(()=>t.getContrastText(t.warning.dark))),mo(t.Alert,"errorStandardBg",Qn(t.error.light,.9)),mo(t.Alert,"infoStandardBg",Qn(t.info.light,.9)),mo(t.Alert,"successStandardBg",Qn(t.success.light,.9)),mo(t.Alert,"warningStandardBg",Qn(t.warning.light,.9)),mo(t.Alert,"errorIconColor",n("palette-error-main")),mo(t.Alert,"infoIconColor",n("palette-info-main")),mo(t.Alert,"successIconColor",n("palette-success-main")),mo(t.Alert,"warningIconColor",n("palette-warning-main")),mo(t.AppBar,"defaultBg",n("palette-grey-900")),mo(t.AppBar,"darkBg",n("palette-background-paper")),mo(t.AppBar,"darkColor",n("palette-text-primary")),mo(t.Avatar,"defaultBg",n("palette-grey-600")),mo(t.Button,"inheritContainedBg",n("palette-grey-800")),mo(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),mo(t.Chip,"defaultBorder",n("palette-grey-700")),mo(t.Chip,"defaultAvatarColor",n("palette-grey-300")),mo(t.Chip,"defaultIconColor",n("palette-grey-300")),mo(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),mo(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),mo(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),mo(t.LinearProgress,"primaryBg",Qn(t.primary.main,.5)),mo(t.LinearProgress,"secondaryBg",Qn(t.secondary.main,.5)),mo(t.LinearProgress,"errorBg",Qn(t.error.main,.5)),mo(t.LinearProgress,"infoBg",Qn(t.info.main,.5)),mo(t.LinearProgress,"successBg",Qn(t.success.main,.5)),mo(t.LinearProgress,"warningBg",Qn(t.warning.main,.5)),mo(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),mo(t.Slider,"primaryTrack",Qn(t.primary.main,.5)),mo(t.Slider,"secondaryTrack",Qn(t.secondary.main,.5)),mo(t.Slider,"errorTrack",Qn(t.error.main,.5)),mo(t.Slider,"infoTrack",Qn(t.info.main,.5)),mo(t.Slider,"successTrack",Qn(t.success.main,.5)),mo(t.Slider,"warningTrack",Qn(t.warning.main,.5));const e=nr(t.background.default,.98);mo(t.SnackbarContent,"bg",e),mo(t.SnackbarContent,"color",go(()=>t.getContrastText(e))),mo(t.SpeedDialAction,"fabHoverBg",nr(t.background.paper,.15)),mo(t.StepConnector,"border",n("palette-grey-600")),mo(t.StepContent,"border",n("palette-grey-600")),mo(t.Switch,"defaultColor",n("palette-grey-300")),mo(t.Switch,"defaultDisabledColor",n("palette-grey-600")),mo(t.Switch,"primaryDisabledColor",Qn(t.primary.main,.55)),mo(t.Switch,"secondaryDisabledColor",Qn(t.secondary.main,.55)),mo(t.Switch,"errorDisabledColor",Qn(t.error.main,.55)),mo(t.Switch,"infoDisabledColor",Qn(t.info.main,.55)),mo(t.Switch,"successDisabledColor",Qn(t.success.main,.55)),mo(t.Switch,"warningDisabledColor",Qn(t.warning.main,.55)),mo(t.TableCell,"border",Qn(Jn(t.divider,1),.68)),mo(t.Tooltip,"bg",Jn(t.grey[700],.92))}yo(t.background,"default"),yo(t.background,"paper"),yo(t.common,"background"),yo(t.common,"onBackground"),yo(t,"divider"),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&mo(t[e],"mainChannel",Kn(po(n.main))),n.light&&mo(t[e],"lightChannel",Kn(po(n.light))),n.dark&&mo(t[e],"darkChannel",Kn(po(n.dark))),n.contrastText&&mo(t[e],"contrastTextChannel",Kn(po(n.contrastText))),"text"===e&&(yo(t[e],"primary"),yo(t[e],"secondary")),"action"===e&&(n.active&&yo(t[e],"active"),n.selected&&yo(t[e],"selected")))})}),_=t.reduce((e,t)=>Ot(e,t),_);const x={prefix:a,disableCssColorScheme:o,shouldSkipGeneratingVar:i,getSelector:fo(_)},{vars:k,generateThemeVars:T,generateStyleSheets:S}=function(e,t={}){const{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:a={},components:i,defaultColorScheme:s="light",...l}=e,{vars:c,css:u,varsWithDefaults:f}=Gr(l,t);let d=f;const m={},{[s]:p,...y}=a;if(Object.entries(y||{}).forEach(([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=Gr(n,t);d=Ot(d,a),m[e]={css:o,vars:r}}),p){const{css:e,vars:n,varsWithDefaults:r}=Gr(p,t);d=Ot(d,r),m[s]={css:e,vars:n}}function g(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:d,generateThemeVars:()=>{let e={...c};return Object.entries(m).forEach(([,{vars:t}])=>{e=Ot(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function i(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}i(n(void 0,{...u}),u);const{[o]:s,...l}=m;if(s){const{css:e}=s,t=a[o]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};i(n(o,{...l}),l)}return Object.entries(l).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,s=!r&&o?{colorScheme:o,...t}:{...t};i(n(e,{...s}),s)}),t}}}(_,x);return _.vars=k,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([e,t])=>{_[e]=t}),_.generateThemeVars=T,_.generateStyleSheets=S,_.generateSpacing=function(){return rn(c.spacing,Jt(this))},_.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=i,_.unstable_sxConfig={...Pn,...c?.unstable_sxConfig},_.unstable_sx=function(e){return Rn({sx:e,theme:this})},_.toRuntimeSource=ao,_}function vo(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:Ur({...!0===n?{}:n.palette,mode:t})})}function _o(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:a=n?.mode,...i}=e,s=a||"light",l=o?.[s],c={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return io(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const o=io({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},vo(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},vo(o,"light",c.light)),o}return n||"light"in c||"light"!==s||(c.light=!0),bo({...i,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}const wo=_o(),xo="$$material",ko=function(e={}){const{themeId:t,defaultTheme:n=zn,rootShouldForwardProp:r=Nn,slotShouldForwardProp:o=Nn}=e;function a(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=e.__emotion_styles.filter(e=>e!==Rn))}(e);const{name:n,slot:i,skipVariantsResolver:s,skipSx:l,overridesResolver:c=Fn(Vn(i)),...u}=t,f=n&&n.startsWith("Mui")||i?"components":"custom",d=void 0!==s?s:i&&"Root"!==i&&"root"!==i||!1,m=l||!1;let p=Nn;"Root"===i||"root"===i?p=r:i?p=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(p=void 0);const y=function(e,t){return Tt(e,t)}(e,{shouldForwardProp:p,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return Un(t,e,t.theme.modularCssLayers?f:void 0)};if(At(e)){const t=Bn(e);return function(e){return t.variants?Un(e,t,e.theme.modularCssLayers?f:void 0):e.theme.modularCssLayers?Dn(t.style,f):t.style}}return e},h=(...t)=>{const r=[],o=t.map(g),i=[];if(r.push(a),n&&c&&i.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=Un(e,r[t],e.theme.modularCssLayers?"theme":void 0);return c(e,o)}),n&&!d&&i.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?Wn(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),m||i.push(Rn),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(i.length).fill("");let a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}const s=[...r,...o,...i],l=y(...s);return e.muiName&&(l.muiName=e.muiName),l};return y.withConfig&&(h.withConfig=y.withConfig),h}}({themeId:xo,defaultTheme:wo,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e}),To=ko,So={theme:void 0};function Co(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const a=o;if("components"===a||"slots"===a)r[a]={...e[a],...r[a]};else if("componentsProps"===a||"slotProps"===a){const o=e[a],i=t[a];if(i)if(o){r[a]={...i};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[a][t]=Co(o[t],i[t],n)}}else r[a]=i;else r[a]=o||{}}else"className"===a&&n&&t.className?r.className=s(e?.className,t?.className):"style"===a&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[a]&&(r[a]=e[a])}return r}var Eo=a(848);const Ao=e.createContext(void 0);const Io=function({value:e,children:t}){return(0,Eo.jsx)(Ao.Provider,{value:e,children:t})},Oo=e=>e,$o=(()=>{let e=Oo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Oo}}})(),Po={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 Mo(e,t,n="Mui"){const r=Po[t];return r?`${n}-${r}`:`${$o.generate(e)}-${t}`}function Ro(e){return Mo("MuiSvgIcon",e)}!function(e,t,n="Mui"){const r={};["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"].forEach(t=>{r[t]=Mo(e,t,n)})}("MuiSvgIcon");const Lo=To("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${V(n.color)}`],t[`fontSize${V(n.fontSize)}`]]}})(function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(So.theme=r.theme,o=Bn(e(So)),t=o,n=r.theme),o}}(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),jo=e.forwardRef(function(t,n){const r=function({props:t,name:n}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Co(o.defaultProps,r,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?r:Co(o,r,t.components.mergeClassNameAndStyle)}({props:t,name:n,theme:{components:e.useContext(Ao)}})}({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:d,viewBox:m="0 0 24 24",...p}=r,y=e.isValidElement(o)&&"svg"===o.type,g={...r,color:i,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:m,hasSvgAsChild:y},h={};f||(h.viewBox=m);const b=(e=>{const{color:t,fontSize:n,classes:r}=e;return function(e,t,n){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let e=0;e<a.length;e+=1){const r=a[e];r&&(i+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(i+=" "+n[r]))}r[o]=i}return r}({root:["root","inherit"!==t&&`color${V(t)}`,`fontSize${V(n)}`]},Ro,r)})(g);return(0,Eo.jsxs)(Lo,{as:l,className:s(b.root,a),focusable:"false",color:u,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:n,...h,...p,...y&&o.props,ownerState:g,children:[y?o.props.children:o,d?(0,Eo.jsx)("title",{children:d}):null]})});jo.muiName="SvgIcon";const Bo=jo;function zo(t,n){function r(e,n){return(0,Eo.jsx)(Bo,{"data-testid":void 0,ref:n,...e,children:t})}return r.muiName=Bo.muiName,e.memo(e.forwardRef(r))}const No=zo((0,Eo.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}));function Do(e){return Do="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Do(e)}function Fo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ho(r.key),r)}}function Uo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uo=function(){return!!e})()}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wo(e)}function Vo(e,t){return Vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vo(e,t)}function Ho(e){var t=function(e){if("object"!=Do(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Do(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Do(t)?t:t+""}var Go=function(e){function t(e){var n,r,o,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){(t=Ho(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}((r=this,a=[e],o=Wo(o=t),n=function(e,t){if(t&&("object"==Do(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(r,Uo()?Reflect.construct(o,a||[],Wo(r).constructor):o.apply(r,a))),"handleRetry",function(){n.setState({hasError:!1,error:null,errorInfo:null})}),n.state={hasError:!1,error:null,errorInfo:null},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vo(e,t)}(t,e),function(e,t,n){return t&&Fo(e.prototype,t),n&&Fo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidCatch",value:function(e,t){var r,o,a,i;console.error("ErrorBoundary caught an error:",e,t),this.setState({error:e,errorInfo:t});var s=(null==e||null===(r=e.message)||void 0===r?void 0:r.includes("Cannot convert undefined or null to object"))&&((null==e||null===(o=e.stack)||void 0===o?void 0:o.includes("Object.entries"))||(null==e||null===(a=e.stack)||void 0===a?void 0:a.includes("theme"))||(null==e||null===(i=e.stack)||void 0===i?void 0:i.includes("Styled")))?"A theme error occurred. This might be due to connection issues. Please refresh the page.":"Something went wrong. Please refresh the page or try again later.";M.error(s,{toastId:"error-boundary",icon:n().createElement(No,null),autoClose:1e4}),this.props.onError&&this.props.onError(e,t)}},{key:"render",value:function(){return this.state.hasError?this.props.fallback?this.props.fallback:n().createElement("div",{style:{padding:"20px",textAlign:"center",backgroundColor:"#f8f9fa",border:"1px solid #dee2e6",borderRadius:"8px",margin:"20px",minHeight:"200px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},n().createElement("div",{style:{fontSize:"48px",marginBottom:"16px"}},"⚠️"),n().createElement("h2",{style:{color:"#343a40",marginBottom:"16px"}},"Something went wrong"),n().createElement("p",{style:{color:"#6c757d",marginBottom:"20px"}},"An unexpected error occurred. Please try refreshing the page."),n().createElement("button",{onClick:this.handleRetry,style:{backgroundColor:"#007bff",color:"white",border:"none",padding:"10px 20px",borderRadius:"4px",cursor:"pointer",marginRight:"10px"}},"Try Again"),n().createElement("button",{onClick:function(){return window.location.reload()},style:{backgroundColor:"#28a745",color:"white",border:"none",padding:"10px 20px",borderRadius:"4px",cursor:"pointer"}},"Refresh Page"),!1):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0}}}])}(n().Component);const Ko=Go,qo=e.createContext(null);function Xo(){return e.useContext(qo)}const Yo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Jo=function(t){const{children:n,theme:r}=t,o=Xo(),a=e.useMemo(()=>{const e=null===o?{...r}:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(o,r);return null!=e&&(e[Yo]=null!==o),e},[r,o]);return(0,Eo.jsx)(qo.Provider,{value:a,children:n})},Zo=function(t=null){const n=e.useContext(mt);return n&&(r=n,0!==Object.keys(r).length)?n:t;var r},Qo=e.createContext(),ea=function({value:e,...t}){return(0,Eo.jsx)(Qo.Provider,{value:e??!0,...t})},ta="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let na=0;const ra={...t}.useId;a(146);var oa,aa,ia=function(t,n){var r=arguments;if(null==n||!pt.call(n,"css"))return e.createElement.apply(void 0,r);var o=r.length,a=new Array(o);a[0]=ht,a[1]=function(e,t){var n={};for(var r in t)pt.call(t,r)&&(n[r]=t[r]);return n[yt]=e,n}(t,n);for(var i=2;i<o;i++)a[i]=r[i];return e.createElement.apply(null,a)};oa=ia||(ia={}),aa||(aa=oa.JSX||(oa.JSX={}));var sa=dt(function(t,n){var r=st([t.styles],void 0,e.useContext(mt)),o=e.useRef();return ut(function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),a=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==i&&(a=!0,i.setAttribute("data-emotion",e),t.hydrate([i])),o.current=[t,a],function(){t.flush()}},[n]),ut(function(){var e=o.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Xe(n,r.next,!0),t.tags.length){var a=t.tags[t.tags.length-1].nextElementSibling;t.before=a,t.flush()}n.insert("",r,t,!1)}},[n,r.name]),null});function la(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,Eo.jsx)(sa,{styles:r})}const ca=jn();function ua(e){const t=Ct(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const fa=function({styles:e,themeId:t,defaultTheme:n={}}){const r=function(e=ca){return Zo(e)}(n),o=t&&r[t]||r;let a="function"==typeof e?e(o):e;return o.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>ua("function"==typeof e?e(o):e)):ua(a)),(0,Eo.jsx)(la,{styles:a})},da={};function ma(t,n,r,o=!1){return e.useMemo(()=>{const e=t&&n[t]||n;if("function"==typeof r){const a=r(e),i=t?{...n,[t]:a}:a;return o?()=>i:i}return t?{...n,[t]:r}:{...n,...r}},[t,n,r,o])}const pa=function(t){const{children:n,theme:r,themeId:o}=t,a=Zo(da),i=Xo()||da,s=ma(o,a,r),l=ma(o,i,r,!0),c="rtl"===(o?s[o]:s).direction,u=function(t){const n=Zo(),r=function(t){if(void 0!==ra){const e=ra();return t??e}return function(t){const[n,r]=e.useState(t),o=t||n;return e.useEffect(()=>{null==n&&(na+=1,r(`mui-${na}`))},[n]),o}(t)}()||"",{modularCssLayers:o}=t;let a="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return a=o&&null===n?"string"==typeof o?o.replace(/mui(?!\.)/g,a):`@layer ${a};`:"",ta(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(a){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=a,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[a,r]),a?(0,Eo.jsx)(fa,{styles:a}):null}(s);return(0,Eo.jsx)(Jo,{theme:l,children:(0,Eo.jsx)(mt.Provider,{value:s,children:(0,Eo.jsx)(ea,{value:c,children:(0,Eo.jsxs)(Io,{value:o?s[o].components:s.components,children:[u,n]})})})})};function ya({theme:e,...t}){const n=xo in e?e[xo]:void 0;return(0,Eo.jsx)(pa,{...t,themeId:n?xo:void 0,theme:n||e})}const ga="mode",ha="color-scheme",ba="data-color-scheme";function va(){}const _a=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return va;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function wa(){}function xa(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ka(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}const Ta="mui-color-scheme",Sa="light",Ca="dark",Ea="mui-mode",{CssVarsProvider:Aa,useColorScheme:Ia,getInitColorSchemeScript:Oa}=function(t){const{themeId:n,theme:r={},modeStorageKey:o=ga,colorSchemeStorageKey:a=ha,disableTransitionOnChange:i=!1,defaultColorScheme:s,resolveTheme:l}=t,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=e.createContext(void 0),f={},d={},m="string"==typeof s?s:s.light,p="string"==typeof s?s:s.dark;return{CssVarsProvider:function(t){const{children:c,theme:m,modeStorageKey:p=o,colorSchemeStorageKey:y=a,disableTransitionOnChange:g=i,storageManager:h,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:v=("undefined"==typeof document?void 0:document),colorSchemeNode:_=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:w=!1,disableStyleSheetGeneration:x=!1,defaultMode:k="system",forceThemeRerender:T=!1,noSsr:S}=t,C=e.useRef(!1),E=Xo(),A=e.useContext(u),I=!!A&&!w,O=e.useMemo(()=>m||("function"==typeof r?r():r),[m]),$=O[n],P=$||O,{colorSchemes:M=f,components:R=d,cssVarPrefix:L}=P,j=Object.keys(M).filter(e=>!!M[e]).join(","),B=e.useMemo(()=>j.split(","),[j]),z="string"==typeof s?s:s.light,N="string"==typeof s?s:s.dark,D=M[z]&&M[N]?k:M[P.defaultColorScheme]?.palette?.mode||P.palette?.mode,{mode:F,setMode:U,systemMode:W,lightColorScheme:V,darkColorScheme:H,colorScheme:G,setColorScheme:K}=function(t){const{defaultMode:n="light",defaultLightColorScheme:r,defaultDarkColorScheme:o,supportedColorSchemes:a=[],modeStorageKey:i=ga,colorSchemeStorageKey:s=ha,storageWindow:l=("undefined"==typeof window?void 0:window),storageManager:c=_a,noSsr:u=!1}=t,f=a.join(","),d=a.length>1,m=e.useMemo(()=>c?.({key:i,storageWindow:l}),[c,i,l]),p=e.useMemo(()=>c?.({key:`${s}-light`,storageWindow:l}),[c,s,l]),y=e.useMemo(()=>c?.({key:`${s}-dark`,storageWindow:l}),[c,s,l]),[g,h]=e.useState(()=>{const e=m?.get(n)||n,t=p?.get(r)||r,a=y?.get(o)||o;return{mode:e,systemMode:xa(e),lightColorScheme:t,darkColorScheme:a}}),[b,v]=e.useState(u||!d);e.useEffect(()=>{v(!0)},[]);const _=function(e){return ka(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),w=e.useCallback(e=>{h(t=>{if(e===t.mode)return t;const r=e??n;return m?.set(r),{...t,mode:r,systemMode:xa(r)}})},[m,n]),x=e.useCallback(e=>{e?"string"==typeof e?e&&!f.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):h(t=>{const n={...t};return ka(t,t=>{"light"===t&&(p?.set(e),n.lightColorScheme=e),"dark"===t&&(y?.set(e),n.darkColorScheme=e)}),n}):h(t=>{const n={...t},a=null===e.light?r:e.light,i=null===e.dark?o:e.dark;return a&&(f.includes(a)?(n.lightColorScheme=a,p?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),i&&(f.includes(i)?(n.darkColorScheme=i,y?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),n}):h(e=>(p?.set(r),y?.set(o),{...e,lightColorScheme:r,darkColorScheme:o}))},[f,p,y,r,o]),k=e.useCallback(e=>{"system"===g.mode&&h(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),T=e.useRef(k);return T.current=k,e.useEffect(()=>{if("function"!=typeof window.matchMedia||!d)return;const e=(...e)=>T.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),e.useEffect(()=>{if(d){const e=m?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||w(e||n)})||wa,t=p?.subscribe(e=>{e&&!f.match(e)||x({light:e})})||wa,r=y?.subscribe(e=>{e&&!f.match(e)||x({dark:e})})||wa;return()=>{e(),t(),r()}}},[x,w,f,n,l,d,m,p,y]),{...g,mode:b?g.mode:void 0,systemMode:b?g.systemMode:void 0,colorScheme:b?_:void 0,setMode:w,setColorScheme:x}}({supportedColorSchemes:B,defaultLightColorScheme:z,defaultDarkColorScheme:N,modeStorageKey:p,colorSchemeStorageKey:y,defaultMode:D,storageManager:h,storageWindow:b,noSsr:S});let q=F,X=G;I&&(q=A.mode,X=A.colorScheme);let Y=X||P.defaultColorScheme;P.vars&&!T&&(Y=P.defaultColorScheme);const J=e.useMemo(()=>{const e=P.generateThemeVars?.()||P.vars,t={...P,components:R,colorSchemes:M,cssVarPrefix:L,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),Y){const e=M[Y];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return l?l(t):t},[P,Y,R,M,L]),Z=P.colorSchemeSelector;ta(()=>{if(X&&_&&Z&&"media"!==Z){const e=Z;let t=Z;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))_.classList.remove(...B.map(e=>t.substring(1).replace("%s",e))),_.classList.add(t.substring(1).replace("%s",X));else{const e=t.replace("%s",X).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||B.forEach(e=>{_.removeAttribute(t.replace(X,e))}),_.setAttribute(t,n?n.replace(/"|'/g,""):"")}else _.setAttribute(t,X)}}},[X,Z,_,B]),e.useEffect(()=>{let e;if(g&&C.current&&v){const t=v.createElement("style");t.appendChild(v.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[X,g,v]),e.useEffect(()=>(C.current=!0,()=>{C.current=!1}),[]);const Q=e.useMemo(()=>({allColorSchemes:B,colorScheme:X,darkColorScheme:H,lightColorScheme:V,mode:q,setColorScheme:K,setMode:U,systemMode:W}),[B,X,H,V,q,K,U,W,J.colorSchemeSelector]);let ee=!0;(x||!1===P.cssVariables||I&&E?.cssVarPrefix===L)&&(ee=!1);const te=(0,Eo.jsxs)(e.Fragment,{children:[(0,Eo.jsx)(pa,{themeId:$?n:void 0,theme:J,children:c}),ee&&(0,Eo.jsx)(la,{styles:J.generateStyleSheets?.()||[]})]});return I?te:(0,Eo.jsx)(u.Provider,{value:Q,children:te})},useColorScheme:()=>e.useContext(u)||c,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=ga,colorSchemeStorageKey:a=ha,attribute:i=ba,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=i;if("class"===i&&(u=".%s"),"data"===i&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);c+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const f=u.match(/\[([^\]]+)\]/);if(f){const[e,t]=f[1].split("=");t||(c+=`${s}.removeAttribute('${e}'.replace('%s', light));\n ${s}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${u}', colorScheme);`;return(0,Eo.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${o}') || '${t}';\n const dark = localStorage.getItem('${a}-dark') || '${r}';\n const light = localStorage.getItem('${a}-light') || '${n}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${c}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:a,defaultLightColorScheme:m,defaultDarkColorScheme:p,modeStorageKey:o,...e})}}({themeId:xo,theme:()=>_o({cssVariables:!0}),colorSchemeStorageKey:Ta,modeStorageKey:Ea,defaultColorScheme:{light:Sa,dark:Ca},resolveTheme:e=>{const t={...e,typography:Xr(e.palette,e.typography)};return t.unstable_sx=function(e){return Rn({sx:e,theme:this})},t}}),$a=Aa;function Pa({theme:t,...n}){const r=e.useMemo(()=>{if("function"==typeof t)return t;const e=xo in t?t[xo]:t;return"colorSchemes"in e?null:"vars"in e?t:{...t,vars:null}},[t]);return r?(0,Eo.jsx)(ya,{theme:r,...n}):(0,Eo.jsx)($a,{theme:t,...n})}var Ma=_o({palette:{mode:"light",primary:{main:"#1976d2"},secondary:{main:"#dc3545"},error:{main:"#d32f2f"},warning:{main:"#ed6c02"},info:{main:"#0288d1"},success:{main:"#2e7d32"}}});const Ra=function(e){var t=e.children,r=e.theme||Ma;return n().createElement(Pa,{theme:r},t)};a(750),a(533);const La=zo((0,Eo.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),ja=zo((0,Eo.jsx)("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm3.5 12.09-1.41 1.41L12 13.42 9.91 15.5 8.5 14.09 10.59 12 8.5 9.91 9.91 8.5 12 10.59l2.09-2.09 1.41 1.41L13.42 12z"})),Ba=zo((0,Eo.jsx)("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"})),za=zo((0,Eo.jsx)("path",{d:"M22 13v3c0 1.1-.9 2-2 2h-3l1 1v2H6v-2l1-1H4c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h8v2H4v11h16v-3zm-7 2-5-5h4V3h2v7h4z"}));function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Na.apply(null,arguments)}function Da(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fa(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ua=(0,e.createContext)({isLoggedIn:null,header:null,isAdmin:null,userInfo:null,refreshData:null,setHeader:null,setLoggedin:null,setRefreshData:null,hasRole:null,deviceUID:null,loadingUser:null});function Wa(t){var r=t.appVersion,o=Da((0,e.useState)(!1),2),a=(o[0],o[1]);return(0,e.useEffect)(function(){try{var e="true"===sessionStorage.getItem("appVersionOld");a(e),e&&sessionStorage.getItem("requiredVersion")&&r&&function(e,t){for(var n=0,r=0,o=0,a=0;o<e.length||a<t.length;){for(;o<e.length&&"."!==e[o];)n=10*n+(e[o]-"0"),o++;for(;a<t.length&&"."!==t[a];)r=10*r+(t[a]-"0"),a++;if(n>r)return!0;if(r>n)return!1;n=r=0,o++,a++}return!0}(r,sessionStorage.getItem("requiredVersion"))&&(console.log("Update Success Toast"),M.success("Your application has been updated",{toastId:"appReload",icon:n().createElement(za,null),onClose:function(){try{sessionStorage.removeItem("appVersionOld"),sessionStorage.removeItem("requiredVersion"),sessionStorage.removeItem("appReloads")}catch(e){console.error("Error cleaning up version storage:",e)}}}))}catch(e){console.error("Error in version protection:",e)}},[r]),n().createElement(n().Fragment,null)}const Va=function(t){var o=t.AuthenticatedAxiosObject,a=t.refreshTimer,i=t.dataRefresh,s=t.userLoader,l=t.refreshToken,c=t.appVersion,u=t.toastOptions,f=t.children,d=Da((0,e.useState)(localStorage.getItem("deviceUID")||!1),2),m=d[0],p=d[1];(0,e.useEffect)(function(){if(!m)try{var e=function(){if(localStorage.getItem("deviceFingerprint"))return localStorage.getItem("deviceFingerprint");var e=(new r.ClientJS).getFingerprint();return localStorage.setItem("deviceFingerprint",e),e}();e&&(p(e),localStorage.setItem("deviceUID",e),o.defaults.headers.common.deviceUID=e)}catch(e){console.error("Failed to generate device fingerprint:",e);var t="fallback-"+Date.now()+"-"+Math.random().toString(36).substr(2,9);p(t),localStorage.setItem("deviceUID",t),o.defaults.headers.common.deviceUID=t}},[m,o]);var y=Da((0,e.useState)(""),2),g=y[0],h=y[1];o.defaults.withCredentials=!0,o.defaults.headers.common.Authorization=g,o.defaults.headers.common.deviceUID=m,o.defaults.headers.common.appVersion=c;var b=(0,e.useCallback)(function(e,t){h(e),setTimeout(function(){l().then(function(e){if(null!=e&&e.refreshed){var n="Bearer ".concat(e.access_token);h(n),o.defaults.headers.common.Authorization=n,t&&localStorage.setItem("Authorization",n),sessionStorage.setItem("Authorization",n)}}).catch(function(e){var t;if(console.error("Token refresh failed:",e),"ERR_NETWORK"!==(null==e?void 0:e.code)&&"ERR_CONNECTION_REFUSED"!==(null==e?void 0:e.code)||R(!0),localStorage.removeItem("Authorization"),sessionStorage.removeItem("Authorization"),h(""),w(!1),"ERR_NETWORK"===(null==e?void 0:e.code)||(null==e||null===(t=e.response)||void 0===t?void 0:t.status)>=500){var r=sessionStorage.getItem("lastRefreshErrorToast"),o=Date.now();(!r||o-parseInt(r)>3e4)&&(M.error("Unable to refresh your session. Please login again.",{toastId:"token-refresh-error",icon:n().createElement(La,null)}),sessionStorage.setItem("lastRefreshErrorToast",o.toString()))}})},100)},[o,l]);(0,e.useEffect)(function(){var e=localStorage.getItem("Authorization"),t=sessionStorage.getItem("Authorization");e?b(e,!0):t&&b(t,!1)},[b]);var v=Da((0,e.useState)(!1),2),_=v[0],w=v[1],x=Da((0,e.useState)(!1),2),k=x[0],T=x[1],S=Da((0,e.useState)({}),2),C=S[0],E=S[1],A=Da((0,e.useState)(!0),2),I=A[0],O=A[1],$=Da((0,e.useState)(!1),2),P=$[0],R=$[1];(0,e.useEffect)(function(){setTimeout(function(){s().then(function(e){var t=null==e?void 0:e.data;t&&(w(t.logged_in),T(t.is_admin),E(t.Info||{}),R(!1))}).catch(function(e){var t,r;if(console.error("User data loading failed:",e),"ERR_NETWORK"===(null==e?void 0:e.code)||"ERR_CONNECTION_REFUSED"===(null==e?void 0:e.code))R(!0);else if(401!==(null==e||null===(t=e.response)||void 0===t?void 0:t.status)&&403!==(null==e||null===(r=e.response)||void 0===r?void 0:r.status)){var o;(null==e||null===(o=e.response)||void 0===o?void 0:o.status)>=500&&M.error("Unable to load user information. Some features may be limited.",{toastId:"user-load-error",icon:n().createElement(ja,null)})}w(!1),T(!1),E({})}).finally(function(){O(!1)})},100)},[g,_,s]),(0,e.useEffect)(function(){var e=null;if(_){var t=!!localStorage.getItem("Authorization");e=setInterval(function(){b(sessionStorage.getItem("Authorization"),t)},60*(a||60)*1e3||1e4)}else clearInterval(e);return function(){return clearInterval(e)}},[b,_,a]),(0,e.useEffect)(function(){return o.interceptors.response.use(function(e){return sessionStorage.setItem("connectionFailures","0"),e},function(e){var t,r,a;if(console.error("Axios interceptor caught error:",e),455===(null==e||null===(t=e.response)||void 0===t?void 0:t.status)){try{var i;(null===(i=e.response.data)||void 0===i?void 0:i.logged_in)||(console.log("Session ended"),w(!1),o.defaults.headers.common.Authorization="",M.info("Your session is no longer valid, please login again.",{toastId:"Forced_log_out",icon:n().createElement(La,null)}))}catch(e){console.error("Error handling session expiry:",e)}return Promise.reject(e)}if(426===(null==e||null===(r=e.response)||void 0===r?void 0:r.status)){try{var s;sessionStorage.setItem("appVersionOld",!0),sessionStorage.setItem("requiredVersion",(null===(s=e.response.data)||void 0===s?void 0:s.minVersion)||"unknown");var l=parseInt(sessionStorage.getItem("appReloads")||"0");l<2?(sessionStorage.setItem("appReloads",(l+1).toString()),setTimeout(function(){window.location.reload()},1e3*l)):M.warning("The application needs to be updated. Please wait for some time then reload the page.",{toastId:"appReloadError",icon:n().createElement(Ba,null)})}catch(e){console.error("Error handling version mismatch:",e)}return Promise.reject(e)}if(null==e||null===(a=e.response)||void 0===a||!a.status){if("ERR_CANCELED"!==(null==e?void 0:e.code)&&"canceled"!==(null==e?void 0:e.message)){var c="ERR_NETWORK"===(null==e?void 0:e.code)?"Unable to connect to the server. Please check your internet connection and try again.":"The server is not responding, please reload or try again later.",u=parseInt(sessionStorage.getItem("connectionFailures")||"0");sessionStorage.setItem("connectionFailures",(u+1).toString()),u>=3&&(M.error(c,{toastId:"".concat((null==e?void 0:e.code)||"ERR_CONNECTION_REFUSED"),icon:n().createElement(ja,null)}),sessionStorage.setItem("connectionFailures","0"))}return Promise.reject(e)}return Promise.reject(e)}),function(){var e;null!=o&&null!==(e=o.interceptors)&&void 0!==e&&e.response&&o.interceptors.response.clear()}},[o,_,w]);var L=Da((0,e.useState)(!1),2),j=L[0],B=L[1];(0,e.useEffect)(function(){var e=setTimeout(function(){return B(!0)},60*(i||60)*1e3||1e4);return function(){return clearTimeout(e)}},[i]),(0,e.useEffect)(function(){j&&s().then(function(e){var t=null==e?void 0:e.data;t&&E(t.Info||{})}).catch(function(e){console.error("User data refresh failed:",e)}).finally(function(){z(!1)})},[j,s]);var z=function(e){B(e)},N={isLoggedIn:_,header:g,isAdmin:k,userInfo:C,refreshData:j,setHeader:function(e){h(e)},setLoggedin:function(e){w(e)},setRefreshData:z,hasRole:function(e){if(!(e&&Array.isArray(e)&&null!=C&&C.roles&&Array.isArray(C.roles)))return!1;try{return e.some(function(e){return C.roles.indexOf(e)>=0})}catch(e){return console.error("Error checking user roles:",e),!1}},deviceUID:m,loadingUser:I,authError:P};return P&&!I?n().createElement(Ra,null,n().createElement(Ko,null,n().createElement(Ua.Provider,{value:N},n().createElement(F,Na({position:"top-left",autoClose:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,newestOnTop:!1,toastClassName:"custToast materialToast"},u)),n().createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"100vh",padding:"20px",backgroundColor:"#f5f5f5",fontFamily:"Arial, sans-serif"}},n().createElement("div",{style:{backgroundColor:"white",padding:"40px",borderRadius:"8px",boxShadow:"0 2px 10px rgba(0,0,0,0.1)",textAlign:"center",maxWidth:"400px"}},n().createElement("div",{style:{fontSize:"48px",marginBottom:"16px"}},"⚠️"),n().createElement("h2",{style:{color:"#d32f2f",marginBottom:"16px"}},"Connection Error"),n().createElement("p",{style:{color:"#666",marginBottom:"24px"}},"Unable to connect to the server. Please check your internet connection and try again."),n().createElement("button",{onClick:function(){return window.location.reload()},style:{backgroundColor:"#1976d2",color:"white",border:"none",padding:"12px 24px",borderRadius:"4px",cursor:"pointer",fontSize:"16px"}},"Retry")))))):n().createElement(Ra,null,n().createElement(Ko,null,n().createElement(Ua.Provider,{value:N},n().createElement(F,Na({position:"top-left",autoClose:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,newestOnTop:!1,toastClassName:"custToast materialToast"},u)),n().createElement(Wa,{appVersion:c}),f)))}})(),i})());
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define("MyComponent",["react"],e):"object"==typeof exports?exports.MyComponent=e(require("react")):t.MyComponent=e(t.react)}(self,t=>(()=>{var e={126:function(t,e,o){t.exports=function(t){var e={};function o(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)o.d(n,a,function(e){return t[e]}.bind(null,a));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0)}([function(t,e,o){"use strict";var n,a,r=o(1)(),i=o(3),s=o(4),l=o(6),c=function(){var t=new s;return n=t.getResult(),a=new l,this};c.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return n},getFingerprint:function(){var t="|",e=n.ua,o=this.getScreenPrint(),a=this.getPlugins(),r=this.getFonts(),s=this.isLocalStorage(),l=this.isSessionStorage(),c=this.getTimeZone(),f=this.getLanguage(),d=this.getSystemLanguage(),u=this.isCookie(),m=this.getCanvasPrint();return i(e+t+o+t+a+t+r+t+s+t+l+t+c+t+f+t+d+t+u+t+m,256)},getCustomFingerprint:function(){for(var t="",e=0;e<arguments.length;e++)t+=arguments[e]+"|";return i(t,256)},getUserAgent:function(){return n.ua},getUserAgentLowerCase:function(){return n.ua.toLowerCase()},getBrowser:function(){return n.browser.name},getBrowserVersion:function(){return n.browser.version},getBrowserMajorVersion:function(){return n.browser.major},isIE:function(){return/IE/i.test(n.browser.name)},isChrome:function(){return/Chrome/i.test(n.browser.name)},isFirefox:function(){return/Firefox/i.test(n.browser.name)},isSafari:function(){return/Safari/i.test(n.browser.name)},isMobileSafari:function(){return/Mobile\sSafari/i.test(n.browser.name)},isOpera:function(){return/Opera/i.test(n.browser.name)},getEngine:function(){return n.engine.name},getEngineVersion:function(){return n.engine.version},getOS:function(){return n.os.name},getOSVersion:function(){return n.os.version},isWindows:function(){return/Windows/i.test(n.os.name)},isMac:function(){return/Mac/i.test(n.os.name)},isLinux:function(){return/Linux/i.test(n.os.name)},isUbuntu:function(){return/Ubuntu/i.test(n.os.name)},isSolaris:function(){return/Solaris/i.test(n.os.name)},getDevice:function(){return n.device.model},getDeviceType:function(){return n.device.type},getDeviceVendor:function(){return n.device.vendor},getCPU:function(){return n.cpu.architecture},isMobile:function(){var t=n.ua||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4))},isMobileMajor:function(){return this.isMobileAndroid()||this.isMobileBlackBerry()||this.isMobileIOS()||this.isMobileOpera()||this.isMobileWindows()},isMobileAndroid:function(){return!!n.ua.match(/Android/i)},isMobileOpera:function(){return!!n.ua.match(/Opera Mini/i)},isMobileWindows:function(){return!!n.ua.match(/IEMobile/i)},isMobileBlackBerry:function(){return!!n.ua.match(/BlackBerry/i)},isMobileIOS:function(){return!!n.ua.match(/iPhone|iPad|iPod/i)},isIphone:function(){return!!n.ua.match(/iPhone/i)},isIpad:function(){return!!n.ua.match(/iPad/i)},isIpod:function(){return!!n.ua.match(/iPod/i)},getScreenPrint:function(){return"Current Resolution: "+this.getCurrentResolution()+", Available Resolution: "+this.getAvailableResolution()+", Color Depth: "+this.getColorDepth()+", Device XDPI: "+this.getDeviceXDPI()+", Device YDPI: "+this.getDeviceYDPI()},getColorDepth:function(){return screen.colorDepth},getCurrentResolution:function(){return screen.width+"x"+screen.height},getAvailableResolution:function(){return screen.availWidth+"x"+screen.availHeight},getDeviceXDPI:function(){return screen.deviceXDPI},getDeviceYDPI:function(){return screen.deviceYDPI},getPlugins:function(){for(var t="",e=0;e<navigator.plugins.length;e++)e==navigator.plugins.length-1?t+=navigator.plugins[e].name:t+=navigator.plugins[e].name+", ";return t},isJava:function(){return navigator.javaEnabled()},getJavaVersion:function(){throw new Error("Please use client.java.js or client.js if you need this functionality!")},isFlash:function(){return!!navigator.plugins["Shockwave Flash"]},getFlashVersion:function(){throw new Error("Please use client.flash.js or client.js if you need this functionality!")},isSilverlight:function(){return!!navigator.plugins["Silverlight Plug-In"]},getSilverlightVersion:function(){return this.isSilverlight()?navigator.plugins["Silverlight Plug-In"].description:""},isMimeTypes:function(){return!(!navigator.mimeTypes||!navigator.mimeTypes.length)},getMimeTypes:function(){var t="";if(navigator.mimeTypes)for(var e=0;e<navigator.mimeTypes.length;e++)e==navigator.mimeTypes.length-1?t+=navigator.mimeTypes[e].description:t+=navigator.mimeTypes[e].description+", ";return t},isFont:function(t){return a.detect(t)},getFonts:function(){for(var t=["Abadi MT Condensed Light","Adobe Fangsong Std","Adobe Hebrew","Adobe Ming Std","Agency FB","Aharoni","Andalus","Angsana New","AngsanaUPC","Aparajita","Arab","Arabic Transparent","Arabic Typesetting","Arial Baltic","Arial Black","Arial CE","Arial CYR","Arial Greek","Arial TUR","Arial","Batang","BatangChe","Bauhaus 93","Bell MT","Bitstream Vera Serif","Bodoni MT","Bookman Old Style","Braggadocio","Broadway","Browallia New","BrowalliaUPC","Calibri Light","Calibri","Californian FB","Cambria Math","Cambria","Candara","Castellar","Casual","Centaur","Century Gothic","Chalkduster","Colonna MT","Comic Sans MS","Consolas","Constantia","Copperplate Gothic Light","Corbel","Cordia New","CordiaUPC","Courier New Baltic","Courier New CE","Courier New CYR","Courier New Greek","Courier New TUR","Courier New","DFKai-SB","DaunPenh","David","DejaVu LGC Sans Mono","Desdemona","DilleniaUPC","DokChampa","Dotum","DotumChe","Ebrima","Engravers MT","Eras Bold ITC","Estrangelo Edessa","EucrosiaUPC","Euphemia","Eurostile","FangSong","Forte","FrankRuehl","Franklin Gothic Heavy","Franklin Gothic Medium","FreesiaUPC","French Script MT","Gabriola","Gautami","Georgia","Gigi","Gisha","Goudy Old Style","Gulim","GulimChe","GungSeo","Gungsuh","GungsuhChe","Haettenschweiler","Harrington","Hei S","HeiT","Heisei Kaku Gothic","Hiragino Sans GB","Impact","Informal Roman","IrisUPC","Iskoola Pota","JasmineUPC","KacstOne","KaiTi","Kalinga","Kartika","Khmer UI","Kino MT","KodchiangUPC","Kokila","Kozuka Gothic Pr6N","Lao UI","Latha","Leelawadee","Levenim MT","LilyUPC","Lohit Gujarati","Loma","Lucida Bright","Lucida Console","Lucida Fax","Lucida Sans Unicode","MS Gothic","MS Mincho","MS PGothic","MS PMincho","MS Reference Sans Serif","MS UI Gothic","MV Boli","Magneto","Malgun Gothic","Mangal","Marlett","Matura MT Script Capitals","Meiryo UI","Meiryo","Menlo","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU-ExtB","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","Miriam Fixed","Miriam","Mongolian Baiti","MoolBoran","NSimSun","Narkisim","News Gothic MT","Niagara Solid","Nyala","PMingLiU","PMingLiU-ExtB","Palace Script MT","Palatino Linotype","Papyrus","Perpetua","Plantagenet Cherokee","Playbill","Prelude Bold","Prelude Condensed Bold","Prelude Condensed Medium","Prelude Medium","PreludeCompressedWGL Black","PreludeCompressedWGL Bold","PreludeCompressedWGL Light","PreludeCompressedWGL Medium","PreludeCondensedWGL Black","PreludeCondensedWGL Bold","PreludeCondensedWGL Light","PreludeCondensedWGL Medium","PreludeWGL Black","PreludeWGL Bold","PreludeWGL Light","PreludeWGL Medium","Raavi","Rachana","Rockwell","Rod","Sakkal Majalla","Sawasdee","Script MT Bold","Segoe Print","Segoe Script","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Segoe UI","Shonar Bangla","Showcard Gothic","Shruti","SimHei","SimSun","SimSun-ExtB","Simplified Arabic Fixed","Simplified Arabic","Snap ITC","Sylfaen","Symbol","Tahoma","Times New Roman Baltic","Times New Roman CE","Times New Roman CYR","Times New Roman Greek","Times New Roman TUR","Times New Roman","TlwgMono","Traditional Arabic","Trebuchet MS","Tunga","Tw Cen MT Condensed Extra Bold","Ubuntu","Umpush","Univers","Utopia","Utsaah","Vani","Verdana","Vijaya","Vladimir Script","Vrinda","Webdings","Wide Latin","Wingdings"],e="",o=0;o<t.length;o++)a.detect(t[o])&&(e+=o==t.length-1?t[o]:t[o]+", ");return e},isLocalStorage:function(){try{return!!r.localStorage}catch(t){return!0}},isSessionStorage:function(){try{return!!r.sessionStorage}catch(t){return!0}},isCookie:function(){return navigator.cookieEnabled},getTimeZone:function(){var t,e;return t=new Date,(e=String(-t.getTimezoneOffset()/60))<0?"-"+("0"+(e*=-1)).slice(-2):"+"+("0"+e).slice(-2)},getLanguage:function(){return navigator.language},getSystemLanguage:function(){return navigator.systemLanguage||window.navigator.language},isCanvas:function(){var t=document.createElement("canvas");try{return!(!t.getContext||!t.getContext("2d"))}catch(t){return!1}},getCanvasPrint:function(){var t,e=document.createElement("canvas");try{t=e.getContext("2d")}catch(t){return""}var o="ClientJS,org <canvas> 1.0";return t.textBaseline="top",t.font="14px 'Arial'",t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(125,1,62,20),t.fillStyle="#069",t.fillText(o,2,15),t.fillStyle="rgba(102, 204, 0, 0.7)",t.fillText(o,4,17),e.toDataURL()}},e.ClientJS=c},function(t,e,n){"use strict";var a=n(2);t.exports=function(){return"object"==typeof o.g&&o.g&&o.g.Math===Math&&o.g.Array===Array?o.g:a}},function(t,e,o){"use strict";"undefined"!=typeof self?t.exports=self:"undefined"!=typeof window?t.exports=window:t.exports=Function("return this")()},function(t,e,o){t.exports=function(t,e){var o,n,a,r,i,s,l,c;for(o=3&t.length,n=t.length-o,a=e,i=3432918353,s=461845907,c=0;c<n;)l=255&t.charCodeAt(c)|(255&t.charCodeAt(++c))<<8|(255&t.charCodeAt(++c))<<16|(255&t.charCodeAt(++c))<<24,++c,a=27492+(65535&(r=5*(65535&(a=(a^=l=(65535&(l=(l=(65535&l)*i+(((l>>>16)*i&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|a>>>19))+((5*(a>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(l=0,o){case 3:l^=(255&t.charCodeAt(c+2))<<16;case 2:l^=(255&t.charCodeAt(c+1))<<8;case 1:a^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(c)))*i+(((l>>>16)*i&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return a^=t.length,a=2246822507*(65535&(a^=a>>>16))+((2246822507*(a>>>16)&65535)<<16)&4294967295,a=3266489909*(65535&(a^=a>>>13))+((3266489909*(a>>>16)&65535)<<16)&4294967295,(a^=a>>>16)>>>0}},function(t,e,o){var n;!function(a,r){"use strict";var i="function",s="undefined",l="object",c="string",f="model",d="name",u="type",m="vendor",p="version",y="architecture",g="console",b="mobile",h="tablet",v="smarttv",_="wearable",w="embedded",T="Amazon",x="Apple",k="ASUS",S="BlackBerry",I="Google",C="Huawei",E="LG",P="Microsoft",O="Motorola",M="Samsung",L="Sony",A="Xiaomi",R="Zebra",z="Facebook",B=function(t){var e={};for(var o in t)e[t[o].toUpperCase()]=t[o];return e},D=function(t,e){return typeof t===c&&-1!==U(e).indexOf(U(t))},U=function(t){return t.toLowerCase()},j=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof e===s?t:t.substring(0,255)},N=function(t,e){for(var o,n,a,s,c,f,d=0;d<e.length&&!c;){var u=e[d],m=e[d+1];for(o=n=0;o<u.length&&!c;)if(c=u[o++].exec(t))for(a=0;a<m.length;a++)f=c[++n],typeof(s=m[a])===l&&s.length>0?2==s.length?typeof s[1]==i?this[s[0]]=s[1].call(this,f):this[s[0]]=s[1]:3==s.length?typeof s[1]!==i||s[1].exec&&s[1].test?this[s[0]]=f?f.replace(s[1],s[2]):r:this[s[0]]=f?s[1].call(this,f,s[2]):r:4==s.length&&(this[s[0]]=f?s[3].call(this,f.replace(s[1],s[2])):r):this[s]=f||r;d+=2}},F=function(t,e){for(var o in e)if(typeof e[o]===l&&e[o].length>0){for(var n=0;n<e[o].length;n++)if(D(e[o][n],t))return"?"===o?r:o}else if(D(e[o],t))return"?"===o?r:o;return t},G={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,p],[/opios[\/ ]+([\w\.]+)/i],[p,[d,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[d,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[d,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[d,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[d,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[d,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[d,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[d,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[d,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,z],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[d,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[d,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[d,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[p,F,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[d,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[d,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,U]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",U]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[m,M],[u,h]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[m,M],[u,b]],[/\((ip(?:hone|od)[\w ]*);/i],[f,[m,x],[u,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[m,x],[u,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[m,C],[u,h]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[f,[m,C],[u,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[m,A],[u,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[m,A],[u,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[f,[m,"OPPO"],[u,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[m,"Vivo"],[u,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[m,"Realme"],[u,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[m,O],[u,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[m,O],[u,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[m,E],[u,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[m,E],[u,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[m,"Lenovo"],[u,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[m,"Nokia"],[u,b]],[/(pixel c)\b/i],[f,[m,I],[u,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[m,I],[u,b]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[m,L],[u,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[m,L],[u,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[m,"OnePlus"],[u,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[m,T],[u,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[m,T],[u,b]],[/(playbook);[-\w\),; ]+(rim)/i],[f,m,[u,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[m,S],[u,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[m,k],[u,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[m,k],[u,b]],[/(nexus 9)/i],[f,[m,"HTC"],[u,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[m,[f,/_/g," "],[u,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[m,"Acer"],[u,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[m,"Meizu"],[u,b]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[m,"Sharp"],[u,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,f,[u,b]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,f,[u,h]],[/(surface duo)/i],[f,[m,P],[u,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[m,"Fairphone"],[u,b]],[/(u304aa)/i],[f,[m,"AT&T"],[u,b]],[/\bsie-(\w*)/i],[f,[m,"Siemens"],[u,b]],[/\b(rct\w+) b/i],[f,[m,"RCA"],[u,h]],[/\b(venue[\d ]{2,7}) b/i],[f,[m,"Dell"],[u,h]],[/\b(q(?:mv|ta)\w+) b/i],[f,[m,"Verizon"],[u,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[m,"Barnes & Noble"],[u,h]],[/\b(tm\d{3}\w+) b/i],[f,[m,"NuVision"],[u,h]],[/\b(k88) b/i],[f,[m,"ZTE"],[u,h]],[/\b(nx\d{3}j) b/i],[f,[m,"ZTE"],[u,b]],[/\b(gen\d{3}) b.+49h/i],[f,[m,"Swiss"],[u,b]],[/\b(zur\d{3}) b/i],[f,[m,"Swiss"],[u,h]],[/\b((zeki)?tb.*\b) b/i],[f,[m,"Zeki"],[u,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],f,[u,h]],[/\b(ns-?\w{0,9}) b/i],[f,[m,"Insignia"],[u,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[m,"NextBook"],[u,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],f,[u,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],f,[u,b]],[/\b(ph-1) /i],[f,[m,"Essential"],[u,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[m,"Envizen"],[u,h]],[/\b(trio[-\w\. ]+) b/i],[f,[m,"MachSpeed"],[u,h]],[/\btu_(1491) b/i],[f,[m,"Rotor"],[u,h]],[/(shield[\w ]+) b/i],[f,[m,"Nvidia"],[u,h]],[/(sprint) (\w+)/i],[m,f,[u,b]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[m,P],[u,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[m,R],[u,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[m,R],[u,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,f,[u,g]],[/droid.+; (shield) bui/i],[f,[m,"Nvidia"],[u,g]],[/(playstation [345portablevi]+)/i],[f,[m,L],[u,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[m,P],[u,g]],[/smart-tv.+(samsung)/i],[m,[u,v]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[m,M],[u,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,E],[u,v]],[/(apple) ?tv/i],[m,[f,"Apple TV"],[u,v]],[/crkey/i],[[f,"Chromecast"],[m,I],[u,v]],[/droid.+aft(\w)( bui|\))/i],[f,[m,T],[u,v]],[/\(dtv[\);].+(aquos)/i],[f,[m,"Sharp"],[u,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[m,j],[f,j],[u,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,v]],[/((pebble))app/i],[m,f,[u,_]],[/droid.+; (glass) \d/i],[f,[m,I],[u,_]],[/droid.+; (wt63?0{2,3})\)/i],[f,[m,R],[u,_]],[/(quest( 2)?)/i],[f,[m,z],[u,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[u,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[u,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[u,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,h]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,b]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[d,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[d,[p,F,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,"Windows"],[p,F,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,p],[/\(bb(10);/i],[p,[d,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[d,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[d,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,p],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[d,p]]},q=function(t,e){if(typeof t===l&&(e=t,t=r),!(this instanceof q))return new q(t,e).getResult();var o=t||(typeof a!==s&&a.navigator&&a.navigator.userAgent?a.navigator.userAgent:""),n=e?function(t,e){var o={};for(var n in t)e[n]&&e[n].length%2==0?o[n]=e[n].concat(t[n]):o[n]=t[n];return o}(V,e):V;return this.getBrowser=function(){var t,e={};return e.name=r,e.version=r,N.call(e,o,n.browser),e.major=typeof(t=e.version)===c?t.replace(/[^\d\.]/g,"").split(".")[0]:r,e},this.getCPU=function(){var t={};return t.architecture=r,N.call(t,o,n.cpu),t},this.getDevice=function(){var t={};return t.vendor=r,t.model=r,t.type=r,N.call(t,o,n.device),t},this.getEngine=function(){var t={};return t.name=r,t.version=r,N.call(t,o,n.engine),t},this.getOS=function(){var t={};return t.name=r,t.version=r,N.call(t,o,n.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return o},this.setUA=function(t){return o=typeof t===c&&t.length>255?j(t,255):t,this},this.setUA(o),this};q.VERSION="0.7.30",q.BROWSER=B([d,p,"major"]),q.CPU=B([y]),q.DEVICE=B([f,m,u,g,b,v,h,_,w]),q.ENGINE=q.OS=B([d,p]),typeof e!==s?(typeof t!==s&&t.exports&&(e=t.exports=q),e.UAParser=q):o(5)?(n=function(){return q}.call(e,o,e,t))===r||(t.exports=n):typeof a!==s&&(a.UAParser=q);var H=typeof a!==s&&(a.jQuery||a.Zepto);if(H&&!H.ua){var W=new q;H.ua=W.getResult(),H.ua.get=function(){return W.getUA()},H.ua.set=function(t){W.setUA(t);var e=W.getResult();for(var o in e)H.ua[o]=e[o]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e){t.exports=function(){var t=["monospace","sans-serif","serif"],e=document.getElementsByTagName("body")[0],o=document.createElement("span");o.style.fontSize="72px",o.innerHTML="mmmmmmmmmmlli";var n={},a={};for(var r in t)o.style.fontFamily=t[r],e.appendChild(o),n[t[r]]=o.offsetWidth,a[t[r]]=o.offsetHeight,e.removeChild(o);this.detect=function(r){var i=!1;for(var s in t){o.style.fontFamily=r+","+t[s],e.appendChild(o);var l=o.offsetWidth!=n[t[s]]||o.offsetHeight!=a[t[s]];e.removeChild(o),i=i||l}return i}}}])},155:e=>{"use strict";e.exports=t},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o="",n=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),n&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=t(e),n&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o}).join("")},e.i=function(t,o,n,a,r){"string"==typeof t&&(t=[[null,t,void 0]]);var i={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<t.length;c++){var f=[].concat(t[c]);n&&i[f[0]]||(void 0!==r&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=r),o&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=o):f[2]=o),a&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=a):f[4]="".concat(a)),e.push(f))}},e}},533:(t,e,o)=>{"use strict";var n=o(601),a=o.n(n),r=o(314);o.n(r)()(a()).push([t.id,':root {\n --main: #303030;\n --themec: #303030;\n --default: #303030;\n --contrastText: "rgba(0, 0, 0, 0.87)";\n}\n\n.custToast {\n background: var(--themec);\n}\n.custToast .Toastify__close-button {\n color: var(--main);\n}\n\n.custToast.Toastify__toast--success {\n color: var(--success);\n}\n.custToast.Toastify__toast--info {\n color: var(--info);\n}\n.custToast.Toastify__toast--warning {\n color: var(--warning);\n}\n.custToast.Toastify__toast--error {\n color: var(--error);\n}\n\n.custToast .Toastify__progress-bar--success {\n background: var(--success);\n}\n.custToast .Toastify__progress-bar--info {\n background: var(--info);\n}\n.custToast .Toastify__progress-bar--warning {\n background: var(--warning);\n}\n.custToast .Toastify__progress-bar--error {\n background: var(--error);\n}\n\n.custToast.materialToast.Toastify__toast--success {\n background: var(--success);\n color: var(--contrastText);\n}\n.custToast.materialToast.Toastify__toast--info {\n background: var(--info);\n color: var(--contrastText);\n}\n.custToast.materialToast.Toastify__toast--warning {\n background: var(--warning);\n color: var(--contrastText);\n}\n.custToast.materialToast.Toastify__toast--error {\n background: var(--error);\n color: var(--contrastText);\n}\n',""])},601:t=>{"use strict";t.exports=function(t){return t[1]}},750:(t,e,o)=>{"use strict";var n=o(601),a=o.n(n),r=o(314);o.n(r)()(a()).push([t.id,":root {\n --toastify-color-light: #fff;\n --toastify-color-dark: #121212;\n --toastify-color-info: #3498db;\n --toastify-color-success: #07bc0c;\n --toastify-color-warning: #f1c40f;\n --toastify-color-error: hsl(6, 78%, 57%);\n --toastify-color-transparent: rgba(255, 255, 255, 0.7);\n\n --toastify-icon-color-info: var(--toastify-color-info);\n --toastify-icon-color-success: var(--toastify-color-success);\n --toastify-icon-color-warning: var(--toastify-color-warning);\n --toastify-icon-color-error: var(--toastify-color-error);\n\n --toastify-container-width: fit-content;\n --toastify-toast-width: 320px;\n --toastify-toast-offset: 16px;\n --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));\n --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));\n --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));\n --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));\n --toastify-toast-background: #fff;\n --toastify-toast-padding: 14px;\n --toastify-toast-min-height: 64px;\n --toastify-toast-max-height: 800px;\n --toastify-toast-bd-radius: 6px;\n --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);\n --toastify-font-family: sans-serif;\n --toastify-z-index: 9999;\n --toastify-text-color-light: #757575;\n --toastify-text-color-dark: #fff;\n\n /* Used only for colored theme */\n --toastify-text-color-info: #fff;\n --toastify-text-color-success: #fff;\n --toastify-text-color-warning: #fff;\n --toastify-text-color-error: #fff;\n\n --toastify-spinner-color: #616161;\n --toastify-spinner-color-empty-area: #e0e0e0;\n --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);\n --toastify-color-progress-dark: #bb86fc;\n --toastify-color-progress-info: var(--toastify-color-info);\n --toastify-color-progress-success: var(--toastify-color-success);\n --toastify-color-progress-warning: var(--toastify-color-warning);\n --toastify-color-progress-error: var(--toastify-color-error);\n /* used to control the opacity of the progress trail */\n --toastify-color-progress-bgo: 0.2;\n}\n\n.Toastify__toast-container {\n z-index: var(--toastify-z-index);\n -webkit-transform: translate3d(0, 0, var(--toastify-z-index));\n position: fixed;\n width: var(--toastify-container-width);\n box-sizing: border-box;\n color: #fff;\n display: flex;\n flex-direction: column;\n}\n\n.Toastify__toast-container--top-left {\n top: var(--toastify-toast-top);\n left: var(--toastify-toast-left);\n}\n.Toastify__toast-container--top-center {\n top: var(--toastify-toast-top);\n left: 50%;\n transform: translateX(-50%);\n align-items: center;\n}\n.Toastify__toast-container--top-right {\n top: var(--toastify-toast-top);\n right: var(--toastify-toast-right);\n align-items: end;\n}\n.Toastify__toast-container--bottom-left {\n bottom: var(--toastify-toast-bottom);\n left: var(--toastify-toast-left);\n}\n.Toastify__toast-container--bottom-center {\n bottom: var(--toastify-toast-bottom);\n left: 50%;\n transform: translateX(-50%);\n align-items: center;\n}\n.Toastify__toast-container--bottom-right {\n bottom: var(--toastify-toast-bottom);\n right: var(--toastify-toast-right);\n align-items: end;\n}\n\n.Toastify__toast {\n --y: 0;\n position: relative;\n touch-action: none;\n width: var(--toastify-toast-width);\n min-height: var(--toastify-toast-min-height);\n box-sizing: border-box;\n margin-bottom: 1rem;\n padding: var(--toastify-toast-padding);\n border-radius: var(--toastify-toast-bd-radius);\n box-shadow: var(--toastify-toast-shadow);\n max-height: var(--toastify-toast-max-height);\n font-family: var(--toastify-font-family);\n /* webkit only issue #791 */\n z-index: 0;\n /* inner swag */\n display: flex;\n flex: 1 auto;\n align-items: center;\n word-break: break-word;\n}\n\n@media only screen and (max-width: 480px) {\n .Toastify__toast-container {\n width: 100vw;\n left: env(safe-area-inset-left);\n margin: 0;\n }\n .Toastify__toast-container--top-left,\n .Toastify__toast-container--top-center,\n .Toastify__toast-container--top-right {\n top: env(safe-area-inset-top);\n transform: translateX(0);\n }\n .Toastify__toast-container--bottom-left,\n .Toastify__toast-container--bottom-center,\n .Toastify__toast-container--bottom-right {\n bottom: env(safe-area-inset-bottom);\n transform: translateX(0);\n }\n .Toastify__toast-container--rtl {\n right: env(safe-area-inset-right);\n left: initial;\n }\n .Toastify__toast {\n --toastify-toast-width: 100%;\n margin-bottom: 0;\n border-radius: 0;\n }\n}\n\n.Toastify__toast-container[data-stacked='true'] {\n width: var(--toastify-toast-width);\n}\n\n.Toastify__toast--stacked {\n position: absolute;\n width: 100%;\n transform: translate3d(0, var(--y), 0) scale(var(--s));\n transition: transform 0.3s;\n}\n\n.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,\n.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {\n transition: opacity 0.1s;\n}\n\n.Toastify__toast--stacked[data-collapsed='false'] {\n overflow: visible;\n}\n\n.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {\n opacity: 0;\n}\n\n.Toastify__toast--stacked:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n height: calc(var(--g) * 1px);\n bottom: 100%;\n}\n\n.Toastify__toast--stacked[data-pos='top'] {\n top: 0;\n}\n\n.Toastify__toast--stacked[data-pos='bot'] {\n bottom: 0;\n}\n\n.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {\n transform-origin: top;\n}\n\n.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {\n transform-origin: bottom;\n}\n\n.Toastify__toast--stacked:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n height: 100%;\n transform: scaleY(3);\n z-index: -1;\n}\n\n.Toastify__toast--rtl {\n direction: rtl;\n}\n\n.Toastify__toast--close-on-click {\n cursor: pointer;\n}\n\n.Toastify__toast-icon {\n margin-inline-end: 10px;\n width: 22px;\n flex-shrink: 0;\n display: flex;\n}\n\n.Toastify--animate {\n animation-fill-mode: both;\n animation-duration: 0.5s;\n}\n\n.Toastify--animate-icon {\n animation-fill-mode: both;\n animation-duration: 0.3s;\n}\n\n.Toastify__toast-theme--dark {\n background: var(--toastify-color-dark);\n color: var(--toastify-text-color-dark);\n}\n\n.Toastify__toast-theme--light {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--default {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--info {\n color: var(--toastify-text-color-info);\n background: var(--toastify-color-info);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--success {\n color: var(--toastify-text-color-success);\n background: var(--toastify-color-success);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--warning {\n color: var(--toastify-text-color-warning);\n background: var(--toastify-color-warning);\n}\n\n.Toastify__toast-theme--colored.Toastify__toast--error {\n color: var(--toastify-text-color-error);\n background: var(--toastify-color-error);\n}\n\n.Toastify__progress-bar-theme--light {\n background: var(--toastify-color-progress-light);\n}\n\n.Toastify__progress-bar-theme--dark {\n background: var(--toastify-color-progress-dark);\n}\n\n.Toastify__progress-bar--info {\n background: var(--toastify-color-progress-info);\n}\n\n.Toastify__progress-bar--success {\n background: var(--toastify-color-progress-success);\n}\n\n.Toastify__progress-bar--warning {\n background: var(--toastify-color-progress-warning);\n}\n\n.Toastify__progress-bar--error {\n background: var(--toastify-color-progress-error);\n}\n\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {\n background: var(--toastify-color-transparent);\n}\n\n.Toastify__close-button {\n color: #fff;\n position: absolute;\n top: 6px;\n right: 6px;\n background: transparent;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n opacity: 0.7;\n transition: 0.3s ease;\n z-index: 1;\n}\n\n.Toastify__toast--rtl .Toastify__close-button {\n left: 6px;\n right: unset;\n}\n\n.Toastify__close-button--light {\n color: #000;\n opacity: 0.3;\n}\n\n.Toastify__close-button > svg {\n fill: currentColor;\n height: 16px;\n width: 14px;\n}\n\n.Toastify__close-button:hover,\n.Toastify__close-button:focus {\n opacity: 1;\n}\n\n@keyframes Toastify__trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n}\n\n.Toastify__progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n opacity: 0.7;\n transform-origin: left;\n}\n\n.Toastify__progress-bar--animated {\n animation: Toastify__trackProgress linear 1 forwards;\n}\n\n.Toastify__progress-bar--controlled {\n transition: transform 0.2s;\n}\n\n.Toastify__progress-bar--rtl {\n right: 0;\n left: initial;\n transform-origin: right;\n border-bottom-left-radius: initial;\n}\n\n.Toastify__progress-bar--wrp {\n position: absolute;\n overflow: hidden;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 5px;\n border-bottom-left-radius: var(--toastify-toast-bd-radius);\n border-bottom-right-radius: var(--toastify-toast-bd-radius);\n}\n\n.Toastify__progress-bar--wrp[data-hidden='true'] {\n opacity: 0;\n}\n\n.Toastify__progress-bar--bg {\n opacity: var(--toastify-color-progress-bgo);\n width: 100%;\n height: 100%;\n}\n\n.Toastify__spinner {\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: var(--toastify-spinner-color-empty-area);\n border-right-color: var(--toastify-spinner-color);\n animation: Toastify__spin 0.65s linear infinite;\n}\n\n@keyframes Toastify__bounceInRight {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes Toastify__bounceOutRight {\n 20% {\n opacity: 1;\n transform: translate3d(-20px, var(--y), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(2000px, var(--y), 0);\n }\n}\n\n@keyframes Toastify__bounceInLeft {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(-3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(25px, 0, 0);\n }\n 75% {\n transform: translate3d(-10px, 0, 0);\n }\n 90% {\n transform: translate3d(5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes Toastify__bounceOutLeft {\n 20% {\n opacity: 1;\n transform: translate3d(20px, var(--y), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(-2000px, var(--y), 0);\n }\n}\n\n@keyframes Toastify__bounceInUp {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(0, 3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n 75% {\n transform: translate3d(0, 10px, 0);\n }\n 90% {\n transform: translate3d(0, -5px, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n\n@keyframes Toastify__bounceOutUp {\n 20% {\n transform: translate3d(0, calc(var(--y) - 10px), 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, calc(var(--y) + 20px), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, -2000px, 0);\n }\n}\n\n@keyframes Toastify__bounceInDown {\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(0, -3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, 25px, 0);\n }\n 75% {\n transform: translate3d(0, -10px, 0);\n }\n 90% {\n transform: translate3d(0, 5px, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes Toastify__bounceOutDown {\n 20% {\n transform: translate3d(0, calc(var(--y) - 10px), 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, calc(var(--y) + 20px), 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, 2000px, 0);\n }\n}\n\n.Toastify__bounce-enter--top-left,\n.Toastify__bounce-enter--bottom-left {\n animation-name: Toastify__bounceInLeft;\n}\n\n.Toastify__bounce-enter--top-right,\n.Toastify__bounce-enter--bottom-right {\n animation-name: Toastify__bounceInRight;\n}\n\n.Toastify__bounce-enter--top-center {\n animation-name: Toastify__bounceInDown;\n}\n\n.Toastify__bounce-enter--bottom-center {\n animation-name: Toastify__bounceInUp;\n}\n\n.Toastify__bounce-exit--top-left,\n.Toastify__bounce-exit--bottom-left {\n animation-name: Toastify__bounceOutLeft;\n}\n\n.Toastify__bounce-exit--top-right,\n.Toastify__bounce-exit--bottom-right {\n animation-name: Toastify__bounceOutRight;\n}\n\n.Toastify__bounce-exit--top-center {\n animation-name: Toastify__bounceOutUp;\n}\n\n.Toastify__bounce-exit--bottom-center {\n animation-name: Toastify__bounceOutDown;\n}\n\n@keyframes Toastify__zoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n\n@keyframes Toastify__zoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0;\n }\n}\n\n.Toastify__zoom-enter {\n animation-name: Toastify__zoomIn;\n}\n\n.Toastify__zoom-exit {\n animation-name: Toastify__zoomOut;\n}\n\n@keyframes Toastify__flipIn {\n from {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0;\n }\n 40% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n animation-timing-function: ease-in;\n }\n 60% {\n transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n opacity: 1;\n }\n 80% {\n transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n }\n to {\n transform: perspective(400px);\n }\n}\n\n@keyframes Toastify__flipOut {\n from {\n transform: translate3d(0, var(--y), 0) perspective(400px);\n }\n 30% {\n transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);\n opacity: 1;\n }\n to {\n transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);\n opacity: 0;\n }\n}\n\n.Toastify__flip-enter {\n animation-name: Toastify__flipIn;\n}\n\n.Toastify__flip-exit {\n animation-name: Toastify__flipOut;\n}\n\n@keyframes Toastify__slideInRight {\n from {\n transform: translate3d(110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideInLeft {\n from {\n transform: translate3d(-110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideInUp {\n from {\n transform: translate3d(0, 110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideInDown {\n from {\n transform: translate3d(0, -110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideOutRight {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(110%, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideOutLeft {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(-110%, var(--y), 0);\n }\n}\n\n@keyframes Toastify__slideOutDown {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, 500px, 0);\n }\n}\n\n@keyframes Toastify__slideOutUp {\n from {\n transform: translate3d(0, var(--y), 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, -500px, 0);\n }\n}\n\n.Toastify__slide-enter--top-left,\n.Toastify__slide-enter--bottom-left {\n animation-name: Toastify__slideInLeft;\n}\n\n.Toastify__slide-enter--top-right,\n.Toastify__slide-enter--bottom-right {\n animation-name: Toastify__slideInRight;\n}\n\n.Toastify__slide-enter--top-center {\n animation-name: Toastify__slideInDown;\n}\n\n.Toastify__slide-enter--bottom-center {\n animation-name: Toastify__slideInUp;\n}\n\n.Toastify__slide-exit--top-left,\n.Toastify__slide-exit--bottom-left {\n animation-name: Toastify__slideOutLeft;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n.Toastify__slide-exit--top-right,\n.Toastify__slide-exit--bottom-right {\n animation-name: Toastify__slideOutRight;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n.Toastify__slide-exit--top-center {\n animation-name: Toastify__slideOutUp;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n.Toastify__slide-exit--bottom-center {\n animation-name: Toastify__slideOutDown;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n}\n\n@keyframes Toastify__spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n",""])}},o={};function n(t){var a=o[t];if(void 0!==a)return a.exports;var r=o[t]={id:t,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.r(a),n.d(a,{SessionManager:()=>J,default:()=>tt});var t=n(155),e=n.n(t),o=n(126);function r(t){var e,o,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(o=r(t[e]))&&(n&&(n+=" "),n+=o)}else for(o in t)t[o]&&(n&&(n+=" "),n+=o);return n}const i=function(){for(var t,e,o=0,n="",a=arguments.length;o<a;o++)(t=arguments[o])&&(e=r(t))&&(n&&(n+=" "),n+=e);return n};!function(t){if("undefined"==typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",e.firstChild?e.insertBefore(o,e.firstChild):e.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}(':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n');var s=t=>"number"==typeof t&&!isNaN(t),l=t=>"string"==typeof t,c=t=>"function"==typeof t,f=t=>l(t)||c(t)?t:null,d=(t,e)=>!1===t||s(t)&&t>0?t:e,u=e=>(0,t.isValidElement)(e)||l(e)||c(e)||s(e);function m({enter:e,exit:o,appendPosition:n=!1,collapse:a=!0,collapseDuration:r=300}){return function({children:i,position:s,preventExitTransition:l,done:c,nodeRef:f,isIn:d,playToast:u}){let m=n?`${e}--${s}`:e,p=n?`${o}--${s}`:o,y=(0,t.useRef)(0);return(0,t.useLayoutEffect)(()=>{let t=f.current,e=m.split(" "),o=n=>{n.target===f.current&&(u(),t.removeEventListener("animationend",o),t.removeEventListener("animationcancel",o),0===y.current&&"animationcancel"!==n.type&&t.classList.remove(...e))};t.classList.add(...e),t.addEventListener("animationend",o),t.addEventListener("animationcancel",o)},[]),(0,t.useEffect)(()=>{let t=f.current,e=()=>{t.removeEventListener("animationend",e),a?function(t,e,o=300){let{scrollHeight:n,style:a}=t;requestAnimationFrame(()=>{a.minHeight="initial",a.height=n+"px",a.transition=`all ${o}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(e,o)})})}(t,c,r):c()};d||(l?e():(y.current=1,t.className+=` ${p}`,t.addEventListener("animationend",e)))},[d]),t.createElement(t.Fragment,null,i)}}function p(t,e){return{content:y(t.content,t.props),containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,reason:t.removalReason,status:e}}function y(e,o,n=!1){return(0,t.isValidElement)(e)&&!l(e.type)?(0,t.cloneElement)(e,{closeToast:o.closeToast,toastProps:o,data:o.data,isPaused:n}):c(e)?e({closeToast:o.closeToast,toastProps:o,data:o.data,isPaused:n}):e}function g({delay:e,isRunning:o,closeToast:n,type:a="default",hide:r,className:s,controlledProgress:l,progress:f,rtl:d,isIn:u,theme:m}){let p=r||l&&0===f,y={animationDuration:`${e}ms`,animationPlayState:o?"running":"paused"};l&&(y.transform=`scaleX(${f})`);let g=i("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":d}),b=c(s)?s({rtl:d,type:a,defaultClassName:g}):i(g,s),h={[l&&f>=1?"onTransitionEnd":"onAnimationEnd"]:l&&f<1?null:()=>{u&&n()}};return t.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},t.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${a}`}),t.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:b,style:y,...h}))}var b=1,h=()=>""+b++;var v=new Map,_=[],w=new Set,T=t=>w.forEach(e=>e(t)),x=()=>v.size>0;function k(t,e){var o;if(e)return!(null==(o=v.get(e))||!o.isToastActive(t));let n=!1;return v.forEach(e=>{e.isToastActive(t)&&(n=!0)}),n}function S(t,e){u(t)&&(x()||_.push({content:t,options:e}),v.forEach(o=>{o.buildToast(t,e)}))}function I(t,e){v.forEach(o=>{(null==e||null==e||!e.containerId||(null==e?void 0:e.containerId)===o.id)&&o.toggle(t,null==e?void 0:e.id)})}function C(t){let e=t.containerId||1;return{subscribe(o){let n=function(t,e,o){let n=1,a=0,r=[],i=[],l=e,c=new Map,m=new Set,y=()=>{i=Array.from(c.values()),m.forEach(t=>t())},g=t=>{var e,o;null==(o=null==(e=t.props)?void 0:e.onClose)||o.call(e,t.removalReason),t.isActive=!1},b=t=>{if(null==t)c.forEach(g);else{let e=c.get(t);e&&g(e)}y()},h=t=>{var e,n;let{toastId:a,updateId:r}=t.props,i=null==r;t.staleId&&c.delete(t.staleId),t.isActive=!0,c.set(a,t),y(),o(p(t,i?"added":"updated")),i&&(null==(n=(e=t.props).onOpen)||n.call(e))};return{id:t,props:l,observe:t=>(m.add(t),()=>m.delete(t)),toggle:(t,e)=>{c.forEach(o=>{var n;(null==e||e===o.props.toastId)&&(null==(n=o.toggle)||n.call(o,t))})},removeToast:b,toasts:c,clearQueue:()=>{a-=r.length,r=[]},buildToast:(e,i)=>{if((({containerId:e,toastId:o,updateId:n})=>{let a=e?e!==t:1!==t,r=c.has(o)&&null==n;return a||r})(i))return;let{toastId:m,updateId:g,data:v,staleId:_,delay:w}=i,T=null==g;T&&a++;let x={...l,style:l.toastStyle,key:n++,...Object.fromEntries(Object.entries(i).filter(([t,e])=>null!=e)),toastId:m,updateId:g,data:v,isIn:!1,className:f(i.className||l.toastClassName),progressClassName:f(i.progressClassName||l.progressClassName),autoClose:!i.isLoading&&d(i.autoClose,l.autoClose),closeToast(t){c.get(m).removalReason=t,b(m)},deleteToast(){let t=c.get(m);if(null!=t){if(o(p(t,"removed")),c.delete(m),a--,a<0&&(a=0),r.length>0)return void h(r.shift());y()}}};x.closeButton=l.closeButton,!1===i.closeButton||u(i.closeButton)?x.closeButton=i.closeButton:!0===i.closeButton&&(x.closeButton=!u(l.closeButton)||l.closeButton);let k={content:e,props:x,staleId:_};l.limit&&l.limit>0&&a>l.limit&&T?r.push(k):s(w)?setTimeout(()=>{h(k)},w):h(k)},setProps(t){l=t},setToggle:(t,e)=>{let o=c.get(t);o&&(o.toggle=e)},isToastActive:t=>{var e;return null==(e=c.get(t))?void 0:e.isActive},getSnapshot:()=>i}}(e,t,T);v.set(e,n);let a=n.observe(o);return _.forEach(t=>S(t.content,t.options)),_=[],()=>{a(),v.delete(e)}},setProps(t){var o;null==(o=v.get(e))||o.setProps(t)},getSnapshot(){var t;return null==(t=v.get(e))?void 0:t.getSnapshot()}}}function E(t){return t&&(l(t.toastId)||s(t.toastId))?t.toastId:h()}function P(t,e){return S(t,e),e.toastId}function O(t,e){return{...e,type:e&&e.type||t,toastId:E(e)}}function M(t){return(e,o)=>P(e,O(t,o))}function L(t,e){return P(t,O("default",e))}L.loading=(t,e)=>P(t,O("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),L.promise=function(t,{pending:e,error:o,success:n},a){let r;e&&(r=l(e)?L.loading(e,a):L.loading(e.render,{...a,...e}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(t,e,o)=>{if(null==e)return void L.dismiss(r);let n={type:t,...i,...a,data:o},s=l(e)?{render:e}:e;return r?L.update(r,{...n,...s}):L(s.render,{...n,...s}),o},f=c(t)?t():t;return f.then(t=>s("success",n,t)).catch(t=>s("error",o,t)),f},L.success=M("success"),L.info=M("info"),L.error=M("error"),L.warning=M("warning"),L.warn=L.warning,L.dark=(t,e)=>P(t,O("default",{theme:"dark",...e})),L.dismiss=function(t){!function(t){if(x()){if(null==t||(t=>l(t)||s(t))(t))v.forEach(e=>{e.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){let e=v.get(t.containerId);e?e.removeToast(t.id):v.forEach(e=>{e.removeToast(t.id)})}}else _=_.filter(e=>null!=t&&e.options.toastId!==t)}(t)},L.clearWaitingQueue=(t={})=>{v.forEach(e=>{e.props.limit&&(!t.containerId||e.id===t.containerId)&&e.clearQueue()})},L.isActive=k,L.update=(t,e={})=>{let o=((t,{containerId:e})=>{var o;return null==(o=v.get(e||1))?void 0:o.toasts.get(t)})(t,e);if(o){let{props:n,content:a}=o,r={delay:100,...n,...e,toastId:e.toastId||t,updateId:h()};r.toastId!==t&&(r.staleId=t);let i=r.render||a;delete r.render,P(i,r)}},L.done=t=>{L.update(t,{progress:1})},L.onChange=function(t){return w.add(t),()=>{w.delete(t)}},L.play=t=>I(!0,t),L.pause=t=>I(!1,t);var A="undefined"!=typeof window?t.useLayoutEffect:t.useEffect,R=({theme:e,type:o,isLoading:n,...a})=>t.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":`var(--toastify-icon-color-${o})`,...a}),z={info:function(e){return t.createElement(R,{...e},t.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return t.createElement(R,{...e},t.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return t.createElement(R,{...e},t.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return t.createElement(R,{...e},t.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return t.createElement("div",{className:"Toastify__spinner"})}};var B=e=>{let{isRunning:o,preventExitTransition:n,toastRef:a,eventHandlers:r,playToast:s}=function(e){let[o,n]=(0,t.useState)(!1),[a,r]=(0,t.useState)(!1),i=(0,t.useRef)(null),s=(0,t.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:c,closeToast:f,onClick:d,closeOnClick:u}=e;function m(){n(!0)}function p(){n(!1)}function y(t){let n=i.current;if(s.canDrag&&n){s.didMove=!0,o&&p(),"x"===e.draggableDirection?s.delta=t.clientX-s.start:s.delta=t.clientY-s.start,s.start!==t.clientX&&(s.canCloseOnClick=!1);let a="x"===e.draggableDirection?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`;n.style.transform=`translate3d(${a},0)`,n.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance))}}function g(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",g);let t=i.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return r(!0),e.closeToast(!0),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}(function(t){var e;null==(e=v.get(t.containerId||1))||e.setToggle(t.id,t.fn)})({id:e.toastId,containerId:e.containerId,fn:n}),(0,t.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||p(),window.addEventListener("focus",m),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",p)}},[e.pauseOnFocusLoss]);let b={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){s.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",g);let o=i.current;s.canCloseOnClick=!0,s.canDrag=!0,o.style.transition="none","x"===e.draggableDirection?(s.start=t.clientX,s.removalDistance=o.offsetWidth*(e.draggablePercent/100)):(s.start=t.clientY,s.removalDistance=o.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:o,bottom:n,left:a,right:r}=i.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=a&&t.clientX<=r&&t.clientY>=o&&t.clientY<=n?p():m()}};return l&&c&&(b.onMouseEnter=p,e.stacked||(b.onMouseLeave=m)),u&&(b.onClick=t=>{d&&d(t),s.canCloseOnClick&&f(!0)}),{playToast:m,pauseToast:p,isRunning:o,preventExitTransition:a,toastRef:i,eventHandlers:b}}(e),{closeButton:l,children:f,autoClose:d,onClick:u,type:m,hideProgressBar:p,closeToast:b,transition:h,position:_,className:w,style:T,progressClassName:x,updateId:k,role:S,progress:I,rtl:C,toastId:E,deleteToast:P,isIn:O,isLoading:M,closeOnClick:L,theme:A,ariaLabel:R}=e,B=i("Toastify__toast",`Toastify__toast-theme--${A}`,`Toastify__toast--${m}`,{"Toastify__toast--rtl":C},{"Toastify__toast--close-on-click":L}),D=c(w)?w({rtl:C,position:_,type:m,defaultClassName:B}):i(B,w),U=function({theme:e,type:o,isLoading:n,icon:a}){let r=null,i={theme:e,type:o};return!1===a||(c(a)?r=a({...i,isLoading:n}):(0,t.isValidElement)(a)?r=(0,t.cloneElement)(a,i):n?r=z.spinner():(t=>t in z)(o)&&(r=z[o](i))),r}(e),j=!!I||!d,N={closeToast:b,type:m,theme:A},F=null;return!1===l||(F=c(l)?l(N):(0,t.isValidElement)(l)?(0,t.cloneElement)(l,N):function({closeToast:e,theme:o,ariaLabel:n="close"}){return t.createElement("button",{className:`Toastify__close-button Toastify__close-button--${o}`,type:"button",onClick:t=>{t.stopPropagation(),e(!0)},"aria-label":n},t.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},t.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(N)),t.createElement(h,{isIn:O,done:P,position:_,preventExitTransition:n,nodeRef:a,playToast:s},t.createElement("div",{id:E,tabIndex:0,onClick:u,"data-in":O,className:D,...r,style:T,ref:a,...O&&{role:S,"aria-label":R}},null!=U&&t.createElement("div",{className:i("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!M})},U),y(f,e,!o),F,!e.customProgressBar&&t.createElement(g,{...k&&!j?{key:`p-${k}`}:{},rtl:C,theme:A,delay:d,isRunning:o,isIn:O,closeToast:b,hide:p,type:m,className:x,controlledProgress:j,progress:I||0})))},D=(t,e=!1)=>({enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}),U=m(D("bounce",!0)),j=(m(D("slide",!0)),m(D("zoom")),m(D("flip")),{position:"top-right",transition:U,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:t=>t.altKey&&"KeyT"===t.code});function N(e){let o={...j,...e},n=e.stacked,[a,r]=(0,t.useState)(!0),s=(0,t.useRef)(null),{getToastToRender:l,isToastActive:d,count:u}=function(e){var o;let{subscribe:n,getSnapshot:a,setProps:r}=(0,t.useRef)(C(e)).current;r(e);let i=null==(o=(0,t.useSyncExternalStore)(n,a,a))?void 0:o.slice();return{getToastToRender:function(t){if(!i)return[];let o=new Map;return e.newestOnTop&&i.reverse(),i.forEach(t=>{let{position:e}=t.props;o.has(e)||o.set(e,[]),o.get(e).push(t)}),Array.from(o,e=>t(e[0],e[1]))},isToastActive:k,count:null==i?void 0:i.length}}(o),{className:m,style:p,rtl:y,containerId:g,hotKeys:b}=o;function h(t){let e=i("Toastify__toast-container",`Toastify__toast-container--${t}`,{"Toastify__toast-container--rtl":y});return c(m)?m({position:t,rtl:y,defaultClassName:e}):i(e,f(m))}function v(){n&&(r(!0),L.play())}return A(()=>{var t;if(n){let e=s.current.querySelectorAll('[data-in="true"]'),n=12,r=null==(t=o.position)?void 0:t.includes("top"),i=0,l=0;Array.from(e).reverse().forEach((t,e)=>{let o=t;o.classList.add("Toastify__toast--stacked"),e>0&&(o.dataset.collapsed=`${a}`),o.dataset.pos||(o.dataset.pos=r?"top":"bot");let s=i*(a?.2:1)+(a?0:n*e);o.style.setProperty("--y",`${r?s:-1*s}px`),o.style.setProperty("--g",`${n}`),o.style.setProperty("--s",""+(1-(a?l:0))),i+=o.offsetHeight,l+=.025})}},[a,u,n]),(0,t.useEffect)(()=>{function t(t){var e;let o=s.current;b(t)&&(null==(e=o.querySelector('[tabIndex="0"]'))||e.focus(),r(!1),L.pause()),"Escape"===t.key&&(document.activeElement===o||null!=o&&o.contains(document.activeElement))&&(r(!0),L.play())}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[b]),t.createElement("section",{ref:s,className:"Toastify",id:g,onMouseEnter:()=>{n&&(r(!1),L.pause())},onMouseLeave:v,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":o["aria-label"]},l((e,o)=>{let a=o.length?{...p}:{...p,pointerEvents:"none"};return t.createElement("div",{tabIndex:-1,className:h(e),"data-stacked":n,style:a,key:`c-${e}`},o.map(({content:e,props:o})=>t.createElement(B,{...o,stacked:n,collapseAll:v,isIn:d(o.toastId,o.containerId),key:`t-${o.key}`},e)))}))}function F(t){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},F(t)}function G(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,W(n.key),n)}}function V(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(V=function(){return!!t})()}function q(t){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},q(t)}function H(t,e){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},H(t,e)}function W(t){var e=function(t){if("object"!=F(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,"string");if("object"!=F(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==F(e)?e:e+""}var $=function(t){function o(t){var e,n,a,r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e,o){(e=W(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o}((n=this,r=[t],a=q(a=o),e=function(t,e){if(e&&("object"==F(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(n,V()?Reflect.construct(a,r||[],q(n).constructor):a.apply(n,r))),"handleRetry",function(){e.setState({hasError:!1,error:null,errorInfo:null})}),e.state={hasError:!1,error:null,errorInfo:null},e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&H(t,e)}(o,t),function(t,e,o){return e&&G(t.prototype,e),o&&G(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(o,[{key:"componentDidCatch",value:function(t,e){var o,n,a,r;console.error("ErrorBoundary caught an error:",t,e),this.setState({error:t,errorInfo:e});var i=(null==t||null===(o=t.message)||void 0===o?void 0:o.includes("Cannot convert undefined or null to object"))&&((null==t||null===(n=t.stack)||void 0===n?void 0:n.includes("Object.entries"))||(null==t||null===(a=t.stack)||void 0===a?void 0:a.includes("theme"))||(null==t||null===(r=t.stack)||void 0===r?void 0:r.includes("Styled")))?"A theme error occurred. This might be due to connection issues. Please refresh the page.":"Something went wrong. Please refresh the page or try again later.";L.error(i,{toastId:"error-boundary",icon:"❌",autoClose:1e4}),this.props.onError&&this.props.onError(t,e)}},{key:"render",value:function(){return this.state.hasError?this.props.fallback?this.props.fallback:e().createElement("div",{style:{padding:"20px",textAlign:"center",backgroundColor:"#f8f9fa",border:"1px solid #dee2e6",borderRadius:"8px",margin:"20px",minHeight:"200px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},e().createElement("div",{style:{fontSize:"48px",marginBottom:"16px"}},"⚠️"),e().createElement("h2",{style:{color:"#343a40",marginBottom:"16px"}},"Something went wrong"),e().createElement("p",{style:{color:"#6c757d",marginBottom:"20px"}},"An unexpected error occurred. Please try refreshing the page."),e().createElement("button",{onClick:this.handleRetry,style:{backgroundColor:"#007bff",color:"white",border:"none",padding:"10px 20px",borderRadius:"4px",cursor:"pointer",marginRight:"10px"}},"Try Again"),e().createElement("button",{onClick:function(){return window.location.reload()},style:{backgroundColor:"#28a745",color:"white",border:"none",padding:"10px 20px",borderRadius:"4px",cursor:"pointer"}},"Refresh Page"),!1):this.props.children}}],[{key:"getDerivedStateFromError",value:function(t){return{hasError:!0}}}])}(e().Component);const X=$;function K(){return K=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)({}).hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},K.apply(null,arguments)}function Y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var n,a,r,i,s=[],l=!0,c=!1;try{if(r=(o=o.call(t)).next,0===e){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=r.call(o)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=o.return&&(i=o.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Z(t,e);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Z(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=Array(e);o<e;o++)n[o]=t[o];return n}n(750),n(533);var J=(0,t.createContext)({isLoggedIn:null,header:null,isAdmin:null,userInfo:null,refreshData:null,setHeader:null,setLoggedin:null,setRefreshData:null,hasRole:null,deviceUID:null,loadingUser:null});function Q(o){var n=o.appVersion,a=Y((0,t.useState)(!1),2),r=(a[0],a[1]);return(0,t.useEffect)(function(){try{var t="true"===sessionStorage.getItem("appVersionOld");r(t),t&&sessionStorage.getItem("requiredVersion")&&n&&function(t,e){for(var o=0,n=0,a=0,r=0;a<t.length||r<e.length;){for(;a<t.length&&"."!==t[a];)o=10*o+(t[a]-"0"),a++;for(;r<e.length&&"."!==e[r];)n=10*n+(e[r]-"0"),r++;if(o>n)return!0;if(n>o)return!1;o=n=0,a++,r++}return!0}(n,sessionStorage.getItem("requiredVersion"))&&(console.log("Update Success Toast"),L.success("Your application has been updated",{toastId:"appReload",icon:"✅",onClose:function(){try{sessionStorage.removeItem("appVersionOld"),sessionStorage.removeItem("requiredVersion"),sessionStorage.removeItem("appReloads")}catch(t){console.error("Error cleaning up version storage:",t)}}}))}catch(t){console.error("Error in version protection:",t)}},[n]),e().createElement(e().Fragment,null)}const tt=function(n){var a=n.AuthenticatedAxiosObject,r=n.refreshTimer,i=n.dataRefresh,s=n.userLoader,l=n.refreshToken,c=n.appVersion,f=n.toastOptions,d=n.children,u=Y((0,t.useState)(localStorage.getItem("deviceUID")||!1),2),m=u[0],p=u[1];(0,t.useEffect)(function(){if(!m)try{var t=function(){if(localStorage.getItem("deviceFingerprint"))return localStorage.getItem("deviceFingerprint");var t=(new o.ClientJS).getFingerprint();return localStorage.setItem("deviceFingerprint",t),t}();t&&(p(t),localStorage.setItem("deviceUID",t),a.defaults.headers.common.deviceUID=t)}catch(t){console.error("Failed to generate device fingerprint:",t);var e="fallback-"+Date.now()+"-"+Math.random().toString(36).substr(2,9);p(e),localStorage.setItem("deviceUID",e),a.defaults.headers.common.deviceUID=e}},[m,a]);var y=Y((0,t.useState)(""),2),g=y[0],b=y[1];a.defaults.withCredentials=!0,a.defaults.headers.common.Authorization=g,a.defaults.headers.common.deviceUID=m,a.defaults.headers.common.appVersion=c;var h=(0,t.useCallback)(function(t,e){b(t),setTimeout(function(){l().then(function(t){if(null!=t&&t.refreshed){var o="Bearer ".concat(t.access_token);b(o),a.defaults.headers.common.Authorization=o,e&&localStorage.setItem("Authorization",o),sessionStorage.setItem("Authorization",o)}}).catch(function(t){var e;if(console.error("Token refresh failed:",t),localStorage.removeItem("Authorization"),sessionStorage.removeItem("Authorization"),b(""),w(!1),"ERR_NETWORK"===(null==t?void 0:t.code)||(null==t||null===(e=t.response)||void 0===e?void 0:e.status)>=500){var o=sessionStorage.getItem("lastRefreshErrorToast"),n=Date.now();(!o||n-parseInt(o)>3e4)&&(L.error("Unable to refresh your session. Please login again.",{toastId:"token-refresh-error",icon:"🚪"}),sessionStorage.setItem("lastRefreshErrorToast",n.toString()))}})},100)},[a,l]);(0,t.useEffect)(function(){var t=localStorage.getItem("Authorization"),e=sessionStorage.getItem("Authorization");t?h(t,!0):e&&h(e,!1)},[h]);var v=Y((0,t.useState)(!1),2),_=v[0],w=v[1],T=Y((0,t.useState)(!1),2),x=T[0],k=T[1],S=Y((0,t.useState)({}),2),I=S[0],C=S[1],E=Y((0,t.useState)(!0),2),P=E[0],O=E[1];(0,t.useEffect)(function(){setTimeout(function(){s().then(function(t){var e=null==t?void 0:t.data;e&&(w(e.logged_in),k(e.is_admin),C(e.Info||{}))}).catch(function(t){var e,o,n;console.error("User data loading failed:",t),401!==(null==t||null===(e=t.response)||void 0===e?void 0:e.status)&&403!==(null==t||null===(o=t.response)||void 0===o?void 0:o.status)&&("ERR_NETWORK"===(null==t?void 0:t.code)||(null==t||null===(n=t.response)||void 0===n?void 0:n.status)>=500)&&L.error("Unable to load user information. Some features may be limited.",{toastId:"user-load-error",icon:"⚠️"}),w(!1),k(!1),C({})}).finally(function(){O(!1)})},100)},[g,_,s]),(0,t.useEffect)(function(){var t=null;if(_){var e=!!localStorage.getItem("Authorization");t=setInterval(function(){h(sessionStorage.getItem("Authorization"),e)},60*(r||60)*1e3||1e4)}else clearInterval(t);return function(){return clearInterval(t)}},[h,_,r]),(0,t.useEffect)(function(){return a.interceptors.response.use(function(t){return sessionStorage.setItem("connectionFailures","0"),t},function(t){var e,o,n;if(console.error("Axios interceptor caught error:",t),455===(null==t||null===(e=t.response)||void 0===e?void 0:e.status)){try{var r;(null===(r=t.response.data)||void 0===r?void 0:r.logged_in)||(console.log("Session ended"),w(!1),a.defaults.headers.common.Authorization="",L.info("Your session is no longer valid, please login again.",{toastId:"Forced_log_out",icon:"🚪"}))}catch(t){console.error("Error handling session expiry:",t)}return Promise.reject(t)}if(426===(null==t||null===(o=t.response)||void 0===o?void 0:o.status)){try{var i;sessionStorage.setItem("appVersionOld",!0),sessionStorage.setItem("requiredVersion",(null===(i=t.response.data)||void 0===i?void 0:i.minVersion)||"unknown");var s=parseInt(sessionStorage.getItem("appReloads")||"0");s<2?(sessionStorage.setItem("appReloads",(s+1).toString()),setTimeout(function(){window.location.reload()},1e3*s)):L.warning("The application needs to be updated. Please wait for some time then reload the page.",{toastId:"appReloadError",icon:"🔄"})}catch(t){console.error("Error handling version mismatch:",t)}return Promise.reject(t)}if(null==t||null===(n=t.response)||void 0===n||!n.status){if("ERR_CANCELED"!==(null==t?void 0:t.code)&&"canceled"!==(null==t?void 0:t.message)){var l="ERR_NETWORK"===(null==t?void 0:t.code)?"Unable to connect to the server. Please check your internet connection and try again.":"The server is not responding, please reload or try again later.",c=parseInt(sessionStorage.getItem("connectionFailures")||"0");sessionStorage.setItem("connectionFailures",(c+1).toString()),c>=5&&(L.error(l,{toastId:"connection-failed-final",icon:"⚠️",autoClose:1e4}),sessionStorage.setItem("connectionFailures","0"))}return Promise.reject(t)}return Promise.reject(t)}),function(){var t;null!=a&&null!==(t=a.interceptors)&&void 0!==t&&t.response&&a.interceptors.response.clear()}},[a,_,w]);var M=Y((0,t.useState)(!1),2),A=M[0],R=M[1];(0,t.useEffect)(function(){var t=setTimeout(function(){return R(!0)},60*(i||60)*1e3||1e4);return function(){return clearTimeout(t)}},[i]),(0,t.useEffect)(function(){A&&s().then(function(t){var e=null==t?void 0:t.data;e&&C(e.Info||{})}).catch(function(t){console.error("User data refresh failed:",t)}).finally(function(){z(!1)})},[A,s]);var z=function(t){R(t)},B={isLoggedIn:_,header:g,isAdmin:x,userInfo:I,refreshData:A,setHeader:function(t){b(t)},setLoggedin:function(t){w(t)},setRefreshData:z,hasRole:function(t){if(!(t&&Array.isArray(t)&&null!=I&&I.roles&&Array.isArray(I.roles)))return!1;try{return t.some(function(t){return I.roles.indexOf(t)>=0})}catch(t){return console.error("Error checking user roles:",t),!1}},deviceUID:m,loadingUser:P};return P?e().createElement(X,null,e().createElement(J.Provider,{value:B},e().createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"100vh",padding:"20px",backgroundColor:"#f5f5f5",fontFamily:"Arial, sans-serif"}},e().createElement("div",{style:{backgroundColor:"white",padding:"40px",borderRadius:"8px",boxShadow:"0 2px 10px rgba(0,0,0,0.1)",textAlign:"center",maxWidth:"400px"}},e().createElement("div",{style:{width:"40px",height:"40px",border:"4px solid #f3f3f3",borderTop:"4px solid #1976d2",borderRadius:"50%",animation:"spin 1s linear infinite",margin:"0 auto 16px"}}),e().createElement("h3",{style:{color:"#333",marginBottom:"8px"}},"Loading..."),e().createElement("p",{style:{color:"#666",margin:0}},"Initializing session manager")),e().createElement("style",null,"\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n ")))):e().createElement(X,null,e().createElement(J.Provider,{value:B},e().createElement(N,K({position:"top-left",autoClose:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,newestOnTop:!1,toastClassName:"custToast materialToast"},f)),e().createElement(Q,{appVersion:c}),d))}})(),a})());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-session.manager.sk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "A react component used to manage token sessions with flask backend",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,10 +19,6 @@
|
|
|
19
19
|
"webpack-cli": "^6.0.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@emotion/react": "^11.14.0",
|
|
23
|
-
"@emotion/styled": "^11.14.1",
|
|
24
|
-
"@mui/icons-material": "^7.2.0",
|
|
25
|
-
"@mui/material": "^7.2.0",
|
|
26
22
|
"clientjs": "^0.2.1",
|
|
27
23
|
"react-toastify": "^11.0.5"
|
|
28
24
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { toast } from "react-toastify";
|
|
3
|
-
import { Error as ErrorIcon } from "@mui/icons-material";
|
|
4
3
|
|
|
5
4
|
class ErrorBoundary extends React.Component {
|
|
6
5
|
constructor(props) {
|
|
@@ -35,7 +34,7 @@ class ErrorBoundary extends React.Component {
|
|
|
35
34
|
// Show a toast notification for the error
|
|
36
35
|
toast.error(errorMessage, {
|
|
37
36
|
toastId: "error-boundary",
|
|
38
|
-
icon:
|
|
37
|
+
icon: "❌",
|
|
39
38
|
autoClose: 10000,
|
|
40
39
|
});
|
|
41
40
|
|
package/src/index.js
CHANGED
|
@@ -2,15 +2,11 @@ import React, { createContext, useState, useEffect, useCallback } from "react";
|
|
|
2
2
|
import versionCompare from "./components/versionCompare";
|
|
3
3
|
import getDeviceFingerprint from "./components/FingerPrint";
|
|
4
4
|
import ErrorBoundary from "./components/ErrorBoundary";
|
|
5
|
-
import ThemeWrapper from "./components/ThemeWrapper";
|
|
6
5
|
// Notifications
|
|
7
6
|
import { ToastContainer, toast } from "react-toastify";
|
|
8
7
|
import "react-toastify/dist/ReactToastify.css";
|
|
9
8
|
import "./styling/toast.css";
|
|
10
9
|
|
|
11
|
-
// Icons
|
|
12
|
-
import { GppBad, Update, BrowserUpdated, Logout } from "@mui/icons-material";
|
|
13
|
-
|
|
14
10
|
export const SessionManager = createContext({
|
|
15
11
|
isLoggedIn: null,
|
|
16
12
|
header: null,
|
|
@@ -91,12 +87,7 @@ const SessionManagerProvider = ({
|
|
|
91
87
|
})
|
|
92
88
|
.catch((err) => {
|
|
93
89
|
console.error("Token refresh failed:", err);
|
|
94
|
-
|
|
95
|
-
// Track auth failures
|
|
96
|
-
if (err?.code === "ERR_NETWORK" || err?.code === "ERR_CONNECTION_REFUSED") {
|
|
97
|
-
setAuthError(true);
|
|
98
|
-
}
|
|
99
|
-
|
|
90
|
+
|
|
100
91
|
// Clear invalid tokens
|
|
101
92
|
localStorage.removeItem("Authorization");
|
|
102
93
|
sessionStorage.removeItem("Authorization");
|
|
@@ -108,12 +99,13 @@ const SessionManagerProvider = ({
|
|
|
108
99
|
// Don't spam with toasts during retries
|
|
109
100
|
const lastToast = sessionStorage.getItem("lastRefreshErrorToast");
|
|
110
101
|
const now = Date.now();
|
|
111
|
-
if (!lastToast || now - parseInt(lastToast) > 30000) {
|
|
102
|
+
if (!lastToast || now - parseInt(lastToast) > 30000) {
|
|
103
|
+
// 30 seconds
|
|
112
104
|
toast.error(
|
|
113
105
|
"Unable to refresh your session. Please login again.",
|
|
114
106
|
{
|
|
115
107
|
toastId: "token-refresh-error",
|
|
116
|
-
icon:
|
|
108
|
+
icon: "🚪",
|
|
117
109
|
}
|
|
118
110
|
);
|
|
119
111
|
sessionStorage.setItem("lastRefreshErrorToast", now.toString());
|
|
@@ -143,7 +135,6 @@ const SessionManagerProvider = ({
|
|
|
143
135
|
const [isAdmin, setIsAdmin] = useState(false);
|
|
144
136
|
const [userInfo, setUserInfo] = useState({});
|
|
145
137
|
const [loadingUser, setLoadingUser] = useState(true);
|
|
146
|
-
const [authError, setAuthError] = useState(false);
|
|
147
138
|
|
|
148
139
|
useEffect(() => {
|
|
149
140
|
setTimeout(() => {
|
|
@@ -154,23 +145,19 @@ const SessionManagerProvider = ({
|
|
|
154
145
|
setCurrentLoggedIn(data.logged_in);
|
|
155
146
|
setIsAdmin(data.is_admin);
|
|
156
147
|
setUserInfo(data.Info || {});
|
|
157
|
-
setAuthError(false);
|
|
158
148
|
}
|
|
159
149
|
})
|
|
160
150
|
.catch((err) => {
|
|
161
151
|
console.error("User data loading failed:", err);
|
|
162
|
-
|
|
163
|
-
//
|
|
164
|
-
if (err?.
|
|
165
|
-
|
|
166
|
-
// Don't show toast immediately, let retries happen first
|
|
167
|
-
} else if (err?.response?.status !== 401 && err?.response?.status !== 403) {
|
|
168
|
-
if (err?.response?.status >= 500) {
|
|
152
|
+
|
|
153
|
+
// Don't show toast for auth errors (401, 403)
|
|
154
|
+
if (err?.response?.status !== 401 && err?.response?.status !== 403) {
|
|
155
|
+
if (err?.code === "ERR_NETWORK" || err?.response?.status >= 500) {
|
|
169
156
|
toast.error(
|
|
170
157
|
"Unable to load user information. Some features may be limited.",
|
|
171
158
|
{
|
|
172
159
|
toastId: "user-load-error",
|
|
173
|
-
icon:
|
|
160
|
+
icon: "⚠️",
|
|
174
161
|
}
|
|
175
162
|
);
|
|
176
163
|
}
|
|
@@ -231,7 +218,7 @@ const SessionManagerProvider = ({
|
|
|
231
218
|
] = ``;
|
|
232
219
|
toast.info(
|
|
233
220
|
"Your session is no longer valid, please login again.",
|
|
234
|
-
{ toastId: "Forced_log_out", icon:
|
|
221
|
+
{ toastId: "Forced_log_out", icon: "🚪" }
|
|
235
222
|
);
|
|
236
223
|
}
|
|
237
224
|
} catch (err) {
|
|
@@ -262,7 +249,7 @@ const SessionManagerProvider = ({
|
|
|
262
249
|
"The application needs to be updated. Please wait for some time then reload the page.",
|
|
263
250
|
{
|
|
264
251
|
toastId: "appReloadError",
|
|
265
|
-
icon:
|
|
252
|
+
icon: "🔄",
|
|
266
253
|
}
|
|
267
254
|
);
|
|
268
255
|
}
|
|
@@ -283,16 +270,23 @@ const SessionManagerProvider = ({
|
|
|
283
270
|
? "Unable to connect to the server. Please check your internet connection and try again."
|
|
284
271
|
: "The server is not responding, please reload or try again later.";
|
|
285
272
|
|
|
286
|
-
// Only show toast after multiple failures
|
|
287
|
-
const failureCount = parseInt(
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
273
|
+
// Only show toast after multiple failures (retries exhausted)
|
|
274
|
+
const failureCount = parseInt(
|
|
275
|
+
sessionStorage.getItem("connectionFailures") || "0"
|
|
276
|
+
);
|
|
277
|
+
sessionStorage.setItem(
|
|
278
|
+
"connectionFailures",
|
|
279
|
+
(failureCount + 1).toString()
|
|
280
|
+
);
|
|
281
|
+
|
|
282
|
+
// Show toast after 5 failed attempts (representing retry exhaustion)
|
|
283
|
+
if (failureCount >= 5) {
|
|
291
284
|
toast.error(errorMessage, {
|
|
292
|
-
toastId:
|
|
293
|
-
icon:
|
|
285
|
+
toastId: `connection-failed-final`,
|
|
286
|
+
icon: "⚠️",
|
|
287
|
+
autoClose: 10000, // Keep it longer since this is the final error
|
|
294
288
|
});
|
|
295
|
-
// Reset counter after showing toast
|
|
289
|
+
// Reset counter after showing final toast
|
|
296
290
|
sessionStorage.setItem("connectionFailures", "0");
|
|
297
291
|
}
|
|
298
292
|
}
|
|
@@ -382,198 +376,80 @@ const SessionManagerProvider = ({
|
|
|
382
376
|
hasRole: hasRole,
|
|
383
377
|
deviceUID: deviceUID,
|
|
384
378
|
loadingUser: loadingUser,
|
|
385
|
-
authError: authError,
|
|
386
379
|
};
|
|
387
380
|
|
|
388
381
|
// Show loading state while initializing
|
|
389
382
|
if (loadingUser) {
|
|
390
383
|
return (
|
|
391
|
-
<
|
|
392
|
-
<
|
|
393
|
-
<
|
|
394
|
-
|
|
395
|
-
display:
|
|
396
|
-
flexDirection:
|
|
397
|
-
alignItems:
|
|
398
|
-
justifyContent:
|
|
399
|
-
minHeight:
|
|
400
|
-
padding:
|
|
401
|
-
backgroundColor:
|
|
402
|
-
fontFamily:
|
|
403
|
-
}}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
<style>
|
|
384
|
+
<ErrorBoundary>
|
|
385
|
+
<SessionManager.Provider value={contextValue}>
|
|
386
|
+
<div
|
|
387
|
+
style={{
|
|
388
|
+
display: "flex",
|
|
389
|
+
flexDirection: "column",
|
|
390
|
+
alignItems: "center",
|
|
391
|
+
justifyContent: "center",
|
|
392
|
+
minHeight: "100vh",
|
|
393
|
+
padding: "20px",
|
|
394
|
+
backgroundColor: "#f5f5f5",
|
|
395
|
+
fontFamily: "Arial, sans-serif",
|
|
396
|
+
}}
|
|
397
|
+
>
|
|
398
|
+
<div
|
|
399
|
+
style={{
|
|
400
|
+
backgroundColor: "white",
|
|
401
|
+
padding: "40px",
|
|
402
|
+
borderRadius: "8px",
|
|
403
|
+
boxShadow: "0 2px 10px rgba(0,0,0,0.1)",
|
|
404
|
+
textAlign: "center",
|
|
405
|
+
maxWidth: "400px",
|
|
406
|
+
}}
|
|
407
|
+
>
|
|
408
|
+
<div
|
|
409
|
+
style={{
|
|
410
|
+
width: "40px",
|
|
411
|
+
height: "40px",
|
|
412
|
+
border: "4px solid #f3f3f3",
|
|
413
|
+
borderTop: "4px solid #1976d2",
|
|
414
|
+
borderRadius: "50%",
|
|
415
|
+
animation: "spin 1s linear infinite",
|
|
416
|
+
margin: "0 auto 16px",
|
|
417
|
+
}}
|
|
418
|
+
/>
|
|
419
|
+
<h3 style={{ color: "#333", marginBottom: "8px" }}>Loading...</h3>
|
|
420
|
+
<p style={{ color: "#666", margin: 0 }}>
|
|
421
|
+
Initializing session manager
|
|
422
|
+
</p>
|
|
423
|
+
</div>
|
|
424
|
+
<style>{`
|
|
427
425
|
@keyframes spin {
|
|
428
426
|
0% { transform: rotate(0deg); }
|
|
429
427
|
100% { transform: rotate(360deg); }
|
|
430
428
|
}
|
|
431
429
|
`}</style>
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
</ThemeWrapper>
|
|
436
|
-
);
|
|
437
|
-
}
|
|
438
|
-
return (
|
|
439
|
-
<ThemeWrapper>
|
|
440
|
-
<ErrorBoundary>
|
|
441
|
-
<SessionManager.Provider value={contextValue}>
|
|
442
|
-
<ToastContainer
|
|
443
|
-
position="top-left"
|
|
444
|
-
autoClose={5000}
|
|
445
|
-
closeOnClick
|
|
446
|
-
pauseOnFocusLoss
|
|
447
|
-
pauseOnHover
|
|
448
|
-
newestOnTop={false}
|
|
449
|
-
toastClassName={"custToast materialToast"}
|
|
450
|
-
{...toastOptions}
|
|
451
|
-
/>
|
|
452
|
-
<div style={{
|
|
453
|
-
display: 'flex',
|
|
454
|
-
flexDirection: 'column',
|
|
455
|
-
alignItems: 'center',
|
|
456
|
-
justifyContent: 'center',
|
|
457
|
-
minHeight: '100vh',
|
|
458
|
-
padding: '20px',
|
|
459
|
-
backgroundColor: '#f5f5f5',
|
|
460
|
-
fontFamily: 'Arial, sans-serif'
|
|
461
|
-
}}>
|
|
462
|
-
<div style={{
|
|
463
|
-
backgroundColor: 'white',
|
|
464
|
-
padding: '40px',
|
|
465
|
-
borderRadius: '8px',
|
|
466
|
-
boxShadow: '0 2px 10px rgba(0,0,0,0.1)',
|
|
467
|
-
textAlign: 'center',
|
|
468
|
-
maxWidth: '400px'
|
|
469
|
-
}}>
|
|
470
|
-
<div style={{ fontSize: '48px', marginBottom: '16px' }}>⚠️</div>
|
|
471
|
-
<h2 style={{ color: '#d32f2f', marginBottom: '16px' }}>Connection Error</h2>
|
|
472
|
-
<p style={{ color: '#666', marginBottom: '24px' }}>
|
|
473
|
-
Unable to connect to the server. Please check your internet connection and try again.
|
|
474
|
-
</p>
|
|
475
|
-
<button
|
|
476
|
-
onClick={() => window.location.reload()}
|
|
477
|
-
style={{
|
|
478
|
-
backgroundColor: '#1976d2',
|
|
479
|
-
color: 'white',
|
|
480
|
-
border: 'none',
|
|
481
|
-
padding: '12px 24px',
|
|
482
|
-
borderRadius: '4px',
|
|
483
|
-
cursor: 'pointer',
|
|
484
|
-
fontSize: '16px'
|
|
485
|
-
}}
|
|
486
|
-
>
|
|
487
|
-
Retry
|
|
488
|
-
</button>
|
|
489
|
-
</div>
|
|
490
|
-
</div>
|
|
491
|
-
</SessionManager.Provider>
|
|
492
|
-
</ErrorBoundary>
|
|
493
|
-
</ThemeWrapper>
|
|
494
|
-
);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
// If there's a persistent auth error, render a minimal error state
|
|
498
|
-
if (authError && !loadingUser) {
|
|
499
|
-
return (
|
|
500
|
-
<ThemeWrapper>
|
|
501
|
-
<ErrorBoundary>
|
|
502
|
-
<SessionManager.Provider value={contextValue}>
|
|
503
|
-
<ToastContainer
|
|
504
|
-
position="top-left"
|
|
505
|
-
autoClose={5000}
|
|
506
|
-
closeOnClick
|
|
507
|
-
pauseOnFocusLoss
|
|
508
|
-
pauseOnHover
|
|
509
|
-
newestOnTop={false}
|
|
510
|
-
toastClassName={"custToast materialToast"}
|
|
511
|
-
{...toastOptions}
|
|
512
|
-
/>
|
|
513
|
-
<div style={{
|
|
514
|
-
display: 'flex',
|
|
515
|
-
flexDirection: 'column',
|
|
516
|
-
alignItems: 'center',
|
|
517
|
-
justifyContent: 'center',
|
|
518
|
-
minHeight: '100vh',
|
|
519
|
-
padding: '20px',
|
|
520
|
-
backgroundColor: '#f5f5f5',
|
|
521
|
-
fontFamily: 'Arial, sans-serif'
|
|
522
|
-
}}>
|
|
523
|
-
<div style={{
|
|
524
|
-
backgroundColor: 'white',
|
|
525
|
-
padding: '40px',
|
|
526
|
-
borderRadius: '8px',
|
|
527
|
-
boxShadow: '0 2px 10px rgba(0,0,0,0.1)',
|
|
528
|
-
textAlign: 'center',
|
|
529
|
-
maxWidth: '400px'
|
|
530
|
-
}}>
|
|
531
|
-
<div style={{ fontSize: '48px', marginBottom: '16px' }}>⚠️</div>
|
|
532
|
-
<h2 style={{ color: '#d32f2f', marginBottom: '16px' }}>Connection Error</h2>
|
|
533
|
-
<p style={{ color: '#666', marginBottom: '24px' }}>
|
|
534
|
-
Unable to connect to the server. Please check your internet connection and try again.
|
|
535
|
-
</p>
|
|
536
|
-
<button
|
|
537
|
-
onClick={() => window.location.reload()}
|
|
538
|
-
style={{
|
|
539
|
-
backgroundColor: '#1976d2',
|
|
540
|
-
color: 'white',
|
|
541
|
-
border: 'none',
|
|
542
|
-
padding: '12px 24px',
|
|
543
|
-
borderRadius: '4px',
|
|
544
|
-
cursor: 'pointer',
|
|
545
|
-
fontSize: '16px'
|
|
546
|
-
}}
|
|
547
|
-
>
|
|
548
|
-
Retry
|
|
549
|
-
</button>
|
|
550
|
-
</div>
|
|
551
|
-
</div>
|
|
552
|
-
</SessionManager.Provider>
|
|
553
|
-
</ErrorBoundary>
|
|
554
|
-
</ThemeWrapper>
|
|
430
|
+
</div>
|
|
431
|
+
</SessionManager.Provider>
|
|
432
|
+
</ErrorBoundary>
|
|
555
433
|
);
|
|
556
434
|
}
|
|
557
435
|
|
|
558
436
|
return (
|
|
559
|
-
<
|
|
560
|
-
<
|
|
561
|
-
<
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
</ErrorBoundary>
|
|
576
|
-
</ThemeWrapper>
|
|
437
|
+
<ErrorBoundary>
|
|
438
|
+
<SessionManager.Provider value={contextValue}>
|
|
439
|
+
<ToastContainer
|
|
440
|
+
position="top-left"
|
|
441
|
+
autoClose={5000}
|
|
442
|
+
closeOnClick
|
|
443
|
+
pauseOnFocusLoss
|
|
444
|
+
pauseOnHover
|
|
445
|
+
newestOnTop={false}
|
|
446
|
+
toastClassName={"custToast materialToast"}
|
|
447
|
+
{...toastOptions}
|
|
448
|
+
/>
|
|
449
|
+
<VersionProtection appVersion={appVersion} />
|
|
450
|
+
{children}
|
|
451
|
+
</SessionManager.Provider>
|
|
452
|
+
</ErrorBoundary>
|
|
577
453
|
);
|
|
578
454
|
};
|
|
579
455
|
|
|
@@ -594,7 +470,7 @@ function VersionProtection({ appVersion }) {
|
|
|
594
470
|
console.log("Update Success Toast");
|
|
595
471
|
toast.success("Your application has been updated", {
|
|
596
472
|
toastId: "appReload",
|
|
597
|
-
icon:
|
|
473
|
+
icon: "✅",
|
|
598
474
|
onClose: () => {
|
|
599
475
|
try {
|
|
600
476
|
sessionStorage.removeItem("appVersionOld");
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ThemeProvider, createTheme } from "@mui/material/styles";
|
|
3
|
-
|
|
4
|
-
// Fallback theme for when the main app theme is not available
|
|
5
|
-
const fallbackTheme = createTheme({
|
|
6
|
-
palette: {
|
|
7
|
-
mode: "light",
|
|
8
|
-
primary: {
|
|
9
|
-
main: "#1976d2",
|
|
10
|
-
},
|
|
11
|
-
secondary: {
|
|
12
|
-
main: "#dc3545",
|
|
13
|
-
},
|
|
14
|
-
error: {
|
|
15
|
-
main: "#d32f2f",
|
|
16
|
-
},
|
|
17
|
-
warning: {
|
|
18
|
-
main: "#ed6c02",
|
|
19
|
-
},
|
|
20
|
-
info: {
|
|
21
|
-
main: "#0288d1",
|
|
22
|
-
},
|
|
23
|
-
success: {
|
|
24
|
-
main: "#2e7d32",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
const ThemeWrapper = ({ children, theme }) => {
|
|
30
|
-
// Use the provided theme or fallback theme
|
|
31
|
-
const safeTheme = theme || fallbackTheme;
|
|
32
|
-
|
|
33
|
-
return <ThemeProvider theme={safeTheme}>{children}</ThemeProvider>;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export default ThemeWrapper;
|