diff --git a/README.md b/README.md index 4fb61913..be55c43c 100644 --- a/README.md +++ b/README.md @@ -276,7 +276,7 @@ There are some programs in folder *test' to test the TCP communication: ### **WORK IN PROGRESS** --> ## Changelog -### **WORK IN PROGRESS** +### 5.0.3 (2022-05-13) * (bluefox) Fixed error with mutli-devices ### 5.0.0 (2022-05-11) diff --git a/admin/asset-manifest.json b/admin/asset-manifest.json index 11bfc032..f9f92a49 100644 --- a/admin/asset-manifest.json +++ b/admin/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { "main.css": "./static/css/main.fb1757a1.css", - "main.js": "./static/js/main.bd869655.js", + "main.js": "./static/js/main.c7667180.js", "index.html": "./index.html", "main.fb1757a1.css.map": "./static/css/main.fb1757a1.css.map", - "main.bd869655.js.map": "./static/js/main.bd869655.js.map" + "main.c7667180.js.map": "./static/js/main.c7667180.js.map" }, "entrypoints": [ "static/css/main.fb1757a1.css", - "static/js/main.bd869655.js" + "static/js/main.c7667180.js" ] } \ No newline at end of file diff --git a/admin/index_m.html b/admin/index_m.html index 05366595..c0f587b3 100644 --- a/admin/index_m.html +++ b/admin/index_m.html @@ -1 +1 @@ -Modbus
\ No newline at end of file +Modbus
\ No newline at end of file diff --git a/admin/static/js/main.bd869655.js b/admin/static/js/main.c7667180.js similarity index 99% rename from admin/static/js/main.bd869655.js rename to admin/static/js/main.c7667180.js index 6bc0cc59..3b6d5afd 100644 --- a/admin/static/js/main.bd869655.js +++ b/admin/static/js/main.c7667180.js @@ -1,3 +1,3 @@ -/*! For license information please see main.bd869655.js.LICENSE.txt */ -!function(){var e={7228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6860:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},8206:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},319:function(e,t,n){var r=n(3646),o=n(6860),i=n(379),a=n(8206);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},379:function(e,t,n){var r=n(7228);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.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)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},76:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=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;t0?u(w,--y):0,g--,10===b&&(g=1,m--),b}function C(){return b=y2||R(b)>3?"":" "}function O(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return E(e,Z()+(t<6&&32==k()&&32==C()))}function L(e){for(;C();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:C()}return y}function I(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==k()););return"/*"+E(t,y-1)+"*"+i(47===e?e:C())}function D(e){for(;!R(k());)C();return E(e,y)}var N="-ms-",j="-moz-",$="-webkit-",F="comm",z="rule",W="decl",B="@keyframes";function H(e,t){for(var n="",r=f(e),o=0;o6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+j+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?V(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,h(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+$)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(45===u(e,14)?"inline-":"")+"box$3$1"+$+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return $+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+N+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+N+e+e}return e}function G(e){return A(q("",null,null,null,[""],e=T(e),0,[0],e))}function q(e,t,n,r,o,a,s,u,d){for(var f=0,m=0,g=s,v=0,y=0,b=0,w=1,_=1,S=1,E=0,R="",T=o,A=a,L=r,N=R;_;)switch(b=E,E=C()){case 40:if(108!=b&&58==N.charCodeAt(g-1)){-1!=c(N+=l(P(E),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:N+=P(E);break;case 9:case 10:case 13:case 32:N+=M(b);break;case 92:N+=O(Z()-1,7);continue;case 47:switch(k()){case 42:case 47:p(Y(I(C(),Z()),t,n),d);break;default:N+="/"}break;case 123*w:u[f++]=h(N)*S;case 125*w:case 59:case 0:switch(E){case 0:case 125:_=0;case 59+m:y>0&&h(N)-g&&p(y>32?J(N+";",r,n,g-1):J(l(N," ","")+";",r,n,g-2),d);break;case 59:N+=";";default:if(p(L=K(N,t,n,f,m,o,u,R,T=[],A=[],g),a),123===E)if(0===m)q(N,t,L,L,T,a,g,u,A);else switch(v){case 100:case 109:case 115:q(e,L,L,r&&p(K(e,L,L,0,0,o,u,R,o,T=[],g),A),o,A,g,u,r?T:A);break;default:q(N,L,L,L,[""],A,0,u,A)}}f=m=y=0,w=S=1,R=N="",g=s;break;case 58:g=1+h(N),y=b;default:if(w<1)if(123==E)--w;else if(125==E&&0==w++&&125==x())continue;switch(N+=i(E),E*w){case 38:S=m>0?1:(N+="\f",-1);break;case 44:u[f++]=(h(N)-1)*S,S=1;break;case 64:45===k()&&(N+=P(C())),v=k(),m=g=h(R=N+=D(Z())),E++;break;case 45:45===b&&2==h(N)&&(w=0)}}return a}function K(e,t,n,r,i,a,c,u,h,p,m){for(var g=i-1,v=0===i?a:[""],y=f(v),b=0,w=0,S=0;b0?v[x]+" "+C:l(C,/&\f/g,v[x])))&&(h[S++]=k);return _(e,t,n,0===i?z:u,h,p,m)}function Y(e,t,n){return _(e,t,n,F,i(b),d(e,2,-2),0)}function J(e,t,n,r){return _(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=k(),38===r&&12===o&&(t[n]=1),!R(o);)C();return E(e,y)},Q=function(e,t){return A(function(e,t){var n=-1,r=44;do{switch(R(r)){case 0:38===r&&12===k()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===k()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(T(e),t))},ee=new WeakMap,te=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)||ee.get(n))&&!r){ee.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,s=0,l=0;s-1&&!e.return)switch(e.type){case W:e.return=V(e.value,e.length);break;case B:return H([S(e,{value:l(e.value,"@","@"+$)})],r);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([S(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([S(e,{props:[l(t,/:(plac\w+)/,":-webkit-input-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,N+"input-$1")]})],r)}return""}))}}],oe=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 o=e.stylisPlugins||re;var i,a,s={},l=[];i=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=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={animationIterationCount: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,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},i=n(3782),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,i.Z)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===o[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"};function h(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&e<11.25?"N":e>=11.25&&e<33.75?"NNE":e>=33.75&&e<56.25?"NE":e>=56.25&&e<78.75?"ENE":e>=78.75&&e<101.25?"E":e>=101.25&&e<123.75?"ESE":e>=123.75&&e<146.25?"SE":e>=146.25&&e<168.75?"SSE":e>=168.75&&e<191.25?"S":e>=191.25&&e<213.75?"SSW":e>=213.75&&e<236.25?"SW":e>=236.25&&e<258.75?"WSW":e>=258.75&&e<281.25?"W":e>=281.25&&e<303.75?"WNW":e>=303.75&&e<326.25?"NW":e>=326.25&&e<348.75?"NNW":e>=348.75?"N":void 0}},{key:"padding",value:function(e){return"string"===typeof e?e.length<2?"0"+e:e:e<10?"0"+e:e}},{key:"setDataFormat",value:function(t){t&&(e.dateFormat=t.toUpperCase().split(/[.-/]/),e.dateFormat.splice(e.dateFormat.indexOf("YYYY"),1))}},{key:"date2string",value:function(t){if("string"===typeof t){if(!(t=t.trim()))return"";if(t.match(/^[\w\s]+$/))return t;var n=t.match(/(\d{1,4})[-./](\d{1,2})[-./](\d{1,4})/);if(n){var r=[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10)],i=r.find((function(e){return e>31}));r.splice(r.indexOf(i),1);var a=r.find((function(e){return e>12}));a?(r.splice(r.indexOf(a),1),t=new Date(i,r[0]-1,a)):"M"===e.dateFormat[0][0]&&"D"===e.dateFormat[1][0]?(t=new Date(i,r[0]-1,r[1]),Math.abs(t.getTime-Date.now())>864e6&&(t=new Date(i,r[1]-1,r[0]))):"D"===e.dateFormat[0][0]&&"M"===e.dateFormat[1][0]?(t=new Date(i,r[1]-1,r[0]),Math.abs(t.getTime-Date.now())>864e6&&(t=new Date(i,r[0]-1,r[1]))):t=new Date(t)}else t=new Date(t)}else t=new Date(t);var s=o.default.t("ra_dow_"+h[t.getDay()]).replace("ra_dow_","");return s+=". "+t.getDate()+" "+o.default.t("ra_month_"+f[t.getMonth()]).replace("ra_month_","")}},{key:"renderTextWithA",value:function(e){var t=e.match(/|/);if(t){var n=[],o=1;do{var i=e.split(t[0]);if(i[0]&&n.push(r.default.createElement("span",{key:"a"+o++},i[0])),t[0].startsWith("([^<]*)|/))||i[1]&&n.push(r.default.createElement("span",{key:"a"+o++},i[1]))}while(t);return n}return e}},{key:"getSmartName",value:function(e,t,n,r){return t?r?e[t]&&e[t].common&&e[t].common.custom&&e[t].common.custom[n]&&e[t].common.custom[n].smartName||null:e[t].common.smartName:r?e&&!e.common?e.smartName:e&&e.common&&e.common.custom&&e.common.custom[n]?e.common.custom[n].smartName:void 0:e.common?e&&!e.common?e.smartName:e.common.smartName:e.smartName}},{key:"getSmartNameFromObj",value:function(e,t,n){return n?e&&!e.common?e.smartName:e&&e.common&&e.common.custom&&e.common.custom[t]?e.common.custom[t].smartName:void 0:e.common?e&&!e.common?e.smartName:e.common.smartName:e.smartName}},{key:"enableSmartName",value:function(e,t,n){n?(e.common.custom=e.common.custom||{},e.common.custom[t]=e.common.custom[t]||{},e.common.custom[t].smartName={}):e.common.smartName={}}},{key:"removeSmartName",value:function(e,t,n){n?e.common&&e.common.custom&&e.common.custom[t]&&(e.common.custom[t]=null):e.common.smartName=null}},{key:"updateSmartName",value:function(e,t,n,r,i,a){var s,c=o.default.getLanguage();if("string"===typeof e.common.smartName){var u=e.common.smartName;e.common.smartName={},e.common.smartName[c]=u}if(e.native&&e.native.byON){delete e.native.byON;var d=e.common.smartName;d&&"object"===l(d)||((d={en:d})[c]=d.en),e.common.smartName=d}if(void 0!==r&&(a?(e.common.custom=e.common.custom||{},e.common.custom[i]=e.common.custom[i]||{},e.common.custom[i].smartName=e.common.custom[i].smartName||{},r?e.common.custom[i].smartName.smartType=r:delete e.common.custom[i].smartName.smartType):(e.common.smartName=e.common.smartName||{},r?e.common.smartName.smartType=r:delete e.common.smartName.smartType)),void 0!==n&&(a?(e.common.custom=e.common.custom||{},e.common.custom[i]=e.common.custom[i]||{},e.common.custom[i].smartName=e.common.custom[i].smartName||{},e.common.custom[i].smartName.byON=n):(e.common.smartName=e.common.smartName||{},e.common.smartName.byON=n)),void 0!==t&&(a?(e.common.custom=e.common.custom||{},e.common.custom[i]=e.common.custom[i]||{},e.common.custom[i].smartName=e.common.custom[i].smartName||{},s=e.common.custom[i].smartName):(e.common.smartName=e.common.smartName||{},s=e.common.smartName),s[c]=t,s&&(!s[c]||s[c]===e.common.name&&(!e.common.role||e.common.role.indexOf("button")>=0)))){delete s[c];var h=!0;for(var f in s)if(s.hasOwnProperty(f)){h=!1;break}h&&(a?void 0===e.common.custom[i].smartName.byON?delete e.common.custom[i]:(delete e.common.custom[i].en,delete e.common.custom[i].de,delete e.common.custom[i].ru,delete e.common.custom[i].nl,delete e.common.custom[i].pl,delete e.common.custom[i].it,delete e.common.custom[i].fr,delete e.common.custom[i].pt,delete e.common.custom[i].es,delete e.common.custom[i]["zh-cn"]):void 0!==e.common.smartName.byON?(delete e.common.smartName.en,delete e.common.smartName.de,delete e.common.smartName.ru,delete e.common.smartName.nl,delete e.common.smartName.pl,delete e.common.smartName.it,delete e.common.smartName.fr,delete e.common.smartName.pt,delete e.common.smartName.es,delete e.common.smartName["zh-cn"]):e.common.smartName=null)}}},{key:"disableSmartName",value:function(e,t,n){n?(e.common.custom=e.common.custom||{},e.common.custom[t]=e.common.custom[t]||{},e.common.custom[t].smartName=!1):e.common.smartName=!1}},{key:"copyToClipboard",value:function(e,t){var n=window.document.createElement("textarea");n.value=e,window.document.body.appendChild(n),n.select(),window.document.execCommand("copy"),window.document.body.removeChild(n),console.log(e),t&&t.stopPropagation(),t&&t.preventDefault()}},{key:"getFileExtension",value:function(e){var t=(e||"").lastIndexOf(".");return-1!==t?e.substring(t+1).toLowerCase():null}},{key:"formatBytes",value:function(e){if(Math.abs(e)<1024)return e+" B";var t=["KB","MB","GB"],n=-1;do{e/=1024,++n}while(Math.abs(e)>=1024&&n186?"#000000":"#FFFFFF":(o=(255-o).toString(16),i=(255-i).toString(16),a=(255-a).toString(16),"#"+o.padStart(2,"0")+i.padStart(2,"0")+a.padStart(2,"0"))}},{key:"_toVal",value:function(t){var n,r,o="";if("string"===typeof t||"number"===typeof t)o+=t;else if("object"===l(t))if(Array.isArray(t))for(n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix?window.vendorPrefix:e||(window.localStorage&&window.localStorage.getItem("App.themeName")?window.localStorage.getItem("App.themeName"):window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"colored")}},{key:"getThemeType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix?"light":"dark"===(e=e||window.localStorage&&window.localStorage.getItem("App.themeName"))||"blue"===e?"dark":"light"}},{key:"setThemeName",value:function(e){window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix||(window.localStorage.setItem("App.themeName",e),window.localStorage.setItem("App.theme","dark"===e||"blue"===e?"dark":"light"))}},{key:"toggleTheme",value:function(t){if(window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix)return window.vendorPrefix;t=t||window.localStorage&&window.localStorage.getItem("App.themeName");var n,r=e.getThemeNames(),o=r.indexOf(t);return n=-1!==o?r[(o+1)%r.length]:r[0],e.setThemeName(n),n}},{key:"getThemeNames",value:function(){return window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix?[window.vendorPrefix]:["light","dark","blue","colored"]}},{key:"parseQuery",value:function(e){e=(e||"").toString().replace(/^\?/,"");var t={};return e.split("&").forEach((function(e){if(e=e.trim()){var n=e.split("="),r=decodeURIComponent(n[0]).trim();if(n.length>1)if(t[r]=decodeURIComponent(n[1]),"true"===t[r])t[r]=!0;else if("false"===t[r])t[r]=!1;else{var o=parseFloat(t[r]);o.toString()===t[r]&&(t[r]=o)}else t[r]=!0}})),t}},{key:"getParentId",value:function(e){var t=(e||"").toString().split(".");return t.length>1?(t.pop(),t.join(".")):null}},{key:"formatDate",value:function(e,t){if(!e)return"";var n,r=e.getMonth()+1;r<10&&(r="0"+r);var o=e.getDate();o<10&&(o="0"+o),n="MM/DD/YYYY"===t?r+"/"+o+"/"+e.getFullYear():e.getFullYear()+"-"+r+"-"+o;var i=e.getHours();return n+=i<10?" 0"+i:" "+i,n+=(i=e.getMinutes())<10?":0"+i:":"+i,n+=(i=e.getSeconds())<10?":0"+i:":"+i,n+=(i=e.getMilliseconds())<10?".00"+i:i<100?".0"+i:"."+i}},{key:"formatTime",value:function(e){if(e){e=Math.round(e);var t=Math.floor(e/86400),n=Math.floor(e%86400/3600),r=Math.floor(e%3600/60),o=e%60;return t?"".concat(t,".").concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0")):n?"".concat(n,":").concat(r.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0")):"0:".concat(r.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0"))}return"0:00:00"}},{key:"MDtext2link",value:function(e){var t=e.match(/\d+\.\)\s/);return t&&(e=e.replace(t[0],t[0].replace(/\s/," "))),e.replace(/[^a-zA-Z\u0430-\u044f\u0410-\u042f0-9]/g,"").trim().replace(/\s/g,"").toLowerCase()}},{key:"openLink",value:function(e,t){e=e.replace(/\/\/([0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*)(:\d+)?\//i,"//[$1]$2/"),"this"===t?window.location=e:window.open(e,t||"_blank")}},{key:"MDgetTitle",value:function(t){var n=e.extractHeader(t),r=n.body,o=n.header;if(o.title)return o.title;for(var i=(r=(r=r.replace(/{[^}]*}/g,"")).trim()).replace(/\r/g,"").split("\n"),a=0;a>16).toString(16).toUpperCase()),t}},{key:"clone",value:function(e){return JSON.parse(JSON.stringify(e))}},{key:"getStates",value:function(e){var t,n=null===e||void 0===e||null===(t=e.common)||void 0===t?void 0:t.states;if(n)if("string"===typeof n&&"{"===n[0])try{n=JSON.parse(n)}catch(s){console.error("Cannot parse states: ".concat(n)),n=null}else if("string"===typeof n){var r=n.split(";");n={};for(var o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&(o.type="chained"),t.push(o))}})),t})),this._promises.cert):Promise.reject(u)}},{key:"getLogs",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?new Promise((function(e){return r._socket.emit("sendToHost",t,"getLogs",n||200,(function(t){return e(t)}))})):Promise.reject(u)}},{key:"getLogsFiles",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?new Promise((function(e,r){return n._socket.emit("readLogs",t,(function(t,n){return t?r(t):e(n)}))})):Promise.reject(u)}},{key:"delLogs",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?new Promise((function(e,r){return n._socket.emit("sendToHost",t,"delLogs",null,(function(t){return t?r(t):e()}))})):Promise.reject(u)}},{key:"readMetaItems",value:function(){var e=this;return this.connected?new Promise((function(t,n){return e._socket.emit("getObjectView","system","meta",{startkey:"",endkey:"\u9999"},(function(e,r){return e?n(e):t(r.rows&&r.rows.map((function(e){return e.value})))}))})):Promise.reject(u)}},{key:"readDir",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("readDir",e,t,(function(e,t){return e?o(e):r(t)}))})):Promise.reject(u)}},{key:"readFile",value:function(e,t,n){var r=this;return this.connected?new Promise((function(o,i){n?r._socket.emit("readFile64",e,t,n,(function(e,t){return e?i(e):o(t)})):r._socket.emit("readFile",e,t,(function(e,t,n){e?i(e):o({data:t,type:n})}))})):Promise.reject(u)}},{key:"writeFile64",value:function(e,t,n){var r=this;return this.connected?new Promise((function(o,i){if("string"===typeof n)r._socket.emit("writeFile",e,t,n,(function(e){return e?i(e):o()}));else{var a=btoa(new Uint8Array(n).reduce((function(e,t){return e+String.fromCharCode(t)}),""));r._socket.emit("writeFile64",e,t,a,(function(e){return e?i(e):o()}))}})):Promise.reject(u)}},{key:"rename",value:function(e,t,n){var r=this;return this.connected?new Promise((function(o,i){return r._socket.emit("rename",e,t,n,(function(e){return e?i(e):o()}))})):Promise.reject(u)}},{key:"deleteFile",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("unlink",e,t,(function(e){return e?o(e):r()}))})):Promise.reject(u)}},{key:"deleteFolder",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("deleteFolder",e,t,(function(e){return e?o(e):r()}))})):Promise.reject(u)}},{key:"getHosts",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):!t&&this._promises.hosts?this._promises.hosts:this.connected?(this._promises.hosts=new Promise((function(e,t){return n._socket.emit("getObjectView","system","host",{startkey:"system.host.",endkey:"system.host.\u9999"},(function(n,r){n?t(n):e(r.rows.map((function(e){return e.value})))}))})),this._promises.hosts):Promise.reject(u)}},{key:"getUsers",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):!t&&this._promises.users?this._promises.users:this.connected?(this._promises.users=new Promise((function(e,t){return n._socket.emit("getObjectView","system","user",{startkey:"system.user.",endkey:"system.user.\u9999"},(function(n,r){n?t(n):e(r.rows.map((function(e){return e.value})))}))})),this._promises.users):Promise.reject(u)}},{key:"getGroups",value:function(e){var t=this;return!e&&this._promises.groups?this._promises.groups:this.connected?(this._promises.groups=new Promise((function(e,n){return t._socket.emit("getObjectView","system","group",{startkey:"system.group.",endkey:"system.group.\u9999"},(function(t,r){t?n(t):e(r.rows.map((function(e){return e.value})))}))})),this._promises.groups):Promise.reject(u)}},{key:"getHostInfo",value:function(t,n,r){var o=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")||(t+="system.host."+t),!n&&this._promises["hostInfo"+t]?this._promises["hostInfo"+t]:this.connected?(this._promises["hostInfo"+t]=new Promise((function(e,n){var i=setTimeout((function(){i&&(i=null,n("getHostInfo timeout"))}),r||o.props.cmdTimeout);o._socket.emit("sendToHost",t,"getHostInfo",null,(function(t){i&&(clearTimeout(i),i=null,t===c?n('May not read "getHostInfo"'):t?e(t):n('Cannot read "getHostInfo"'))}))})),this._promises["hostInfo"+t]):Promise.reject(u))}},{key:"getHostInfoShort",value:function(t,n,r){var o=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")||(t+="system.host."+t),!n&&this._promises["hostInfoShort"+t]?this._promises["hostInfoShort"+t]:this.connected?(this._promises["hostInfoShort"+t]=new Promise((function(e,n){var i=setTimeout((function(){i&&(i=null,n("hostInfoShort timeout"))}),r||o.props.cmdTimeout);o._socket.emit("sendToHost",t,"getHostInfoShort",null,(function(t){i&&(clearTimeout(i),i=null,t===c?n('May not read "getHostInfoShort"'):t?e(t):n('Cannot read "getHostInfoShort"'))}))})),this._promises["hostInfoShort"+t]):Promise.reject(u))}},{key:"getRepository",value:function(t,n,r,o){var i=this;return e.isWeb()?Promise.reject("Allowed only in admin"):!r&&this._promises.repo?this._promises.repo:this.connected?(t.startsWith("system.host.")||(t+="system.host."+t),this._promises.repo=new Promise((function(e,r){var a=setTimeout((function(){a&&(a=null,r("getRepository timeout"))}),o||i.props.cmdTimeout);i._socket.emit("sendToHost",t,"getRepository",n,(function(t){a&&(clearTimeout(a),a=null,t===c?r('May not read "getRepository"'):t?e(t):r('Cannot read "getRepository"'))}))})),this._promises.repo):Promise.reject(u)}},{key:"getInstalled",value:function(t,n,r){var o=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(this._promises.installed=this._promises.installed||{},!n&&this._promises.installed[t]?this._promises.installed[t]:this.connected?(t.startsWith("system.host.")||(t+="system.host."+t),this._promises.installed[t]=new Promise((function(e,n){var i=setTimeout((function(){i&&(i=null,n("getInstalled timeout"))}),r||o.props.cmdTimeout);o._socket.emit("sendToHost",t,"getInstalled",null,(function(t){i&&(clearTimeout(i),i=null,t===c?n('May not read "getInstalled"'):t?e(t):n('Cannot read "getInstalled"'))}))})),this._promises.installed[t]):Promise.reject(u))}},{key:"cmdExec",value:function(t,n,r,o){var i=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?(t.startsWith(t)||(t+="system.host."+t),new Promise((function(e,a){var s=o&&setTimeout((function(){s&&(s=null,a("cmdExec timeout"))}),o);i._socket.emit("cmdExec",t,r,n,null,(function(t){o&&!s||(s&&clearTimeout(s),s=null,t?a(t):e())}))}))):Promise.reject(u)}},{key:"checkFeatureSupported",value:function(e,t){var n=this;return!t&&this._promises["supportedFeatures_"+e]?this._promises["supportedFeatures_"+e]:this.connected?(this._promises["supportedFeatures_"+e]=new Promise((function(t,r){return n._socket.emit("checkFeatureSupported",e,(function(e,n){e?r(e):t(n)}))})),this._promises["supportedFeatures_"+e]):Promise.reject(u)}},{key:"readBaseSettings",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.checkFeatureSupported("CONTROLLER_READWRITE_BASE_SETTINGS").then((function(e){return e?n.connected?new Promise((function(e,r){var o=setTimeout((function(){o&&(o=null,r("readBaseSettings timeout"))}),n.props.cmdTimeout);t.startsWith("system.host.")&&(t=t.replace(/^system\.host\./,"")),n._socket.emit("sendToHost",t,"readBaseSettings",null,(function(t){o&&(clearTimeout(o),o=null,t===c?r('May not read "BaseSettings"'):t?e(t):r('Cannot read "BaseSettings"'))}))})):Promise.reject(u):Promise.reject("Not supported")}))}},{key:"writeBaseSettings",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.checkFeatureSupported("CONTROLLER_READWRITE_BASE_SETTINGS").then((function(e){return e?r.connected?new Promise((function(e,o){var i=setTimeout((function(){i&&(i=null,o("writeBaseSettings timeout"))}),r.props.cmdTimeout);r._socket.emit("sendToHost",t,"writeBaseSettings",n,(function(t){i&&(clearTimeout(i),i=null,t===c?o('May not write "BaseSettings"'):t?e(t):o('Cannot write "BaseSettings"'))}))})):Promise.reject(u):Promise.reject("Not supported")}))}},{key:"restartController",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):new Promise((function(e,r){n._socket.emit("sendToHost",t,"restartController",null,(function(t){t?r(t):e(!0)}))}))}},{key:"getDiagData",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):new Promise((function(e){r._socket.emit("sendToHost",t,"getDiagData",n,(function(t){return e(t)}))}))}},{key:"getForeignStates",value:function(t){var n=this;return this.connected?e.isWeb()?new Promise((function(e,r){return n._socket.emit("getStates",t||"*",(function(t,n){return t?r(t):e(n)}))})):new Promise((function(e,r){return n._socket.emit("getForeignStates",t||"*",(function(t,n){return t?r(t):e(n)}))})):Promise.reject(u)}},{key:"getForeignObjects",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("getForeignObjects",e||"*",t,(function(e,t){return e?o(e):r(t)}))})):Promise.reject(u)}},{key:"getSystemConfig",value:function(e){return!e&&this._promises.systemConfig?this._promises.systemConfig:this.connected?(this._promises.systemConfig=this.getObject("system.config").then((function(e){return(e=e||{}).common=e.common||{},e.native=e.native||{},e})),this._promises.systemConfig):Promise.reject(u)}},{key:"setSystemConfig",value:function(e){var t=this;return this.setObject("system.config",e).then((function(){return t._promises.systemConfig=Promise.resolve(e)}))}},{key:"getRawSocket",value:function(){return this._socket}},{key:"getHistory",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("getHistory",e,t,(function(e,t){return e?o(e):r(t)}))})):Promise.reject(u)}},{key:"getHistoryEx",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("getHistory",e,t,(function(e,t,n,i){return e?o(e):r({values:t,sessionId:i,stepIgnore:n})}))})):Promise.reject(u)}},{key:"changePassword",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):new Promise((function(e,o){return r._socket.emit("changePassword",t,n,(function(t){return t?o(t):e()}))}))}},{key:"getIpAddresses",value:function(t,n){return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")||(t="system.host."+t),!n&&this._promises["IPs_"+t]||(this._promises["IPs_"+t]=this.getObject(t).then((function(e){return e&&e.common&&e.common.address||[]}))),this._promises["IPs_"+t])}},{key:"getHostByIp",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")&&(t=t.replace(/^system\.host\./,"")),!n&&this._promises["rIPs_"+t]||(this._promises["rIPs_"+t]=new Promise((function(e){return r._socket.emit("getHostByIp",t,(function(t,n){var r,o,i=[{name:"[IPv4] 0.0.0.0 - Listen on all IPs",address:"0.0.0.0",family:"ipv4"}],a=[{name:"[IPv6] :: - Listen on all IPs",address:"::",family:"ipv6"}];if(null!==(r=n.native)&&void 0!==r&&null!==(o=r.hardware)&&void 0!==o&&o.networkInterfaces)for(var s in n.native.hardware.networkInterfaces)if(n.native.hardware.networkInterfaces.hasOwnProperty(s))for(var l=0;l0&&void 0!==arguments[0]?arguments[0]:"";return(0,f.default)(g.default.getThemeName(e))}},{key:"getThemeName",value:function(e){return e.name}},{key:"getThemeType",value:function(e){return e.palette.mode}},{key:"toggleTheme",value:function(){var e=this,t=this.state.themeName,n="dark"===t?"blue":"blue"===t?"colored":"colored"===t?"light":"dark";g.default.setThemeName(n);var r=this.createTheme(n);this.setState({theme:r,themeName:this.getThemeName(r),themeType:this.getThemeType(r)},(function(){e.props.onThemeChange&&e.props.onThemeChange(n),e.onThemeChanged&&e.onThemeChanged(n)}))}},{key:"getSystemConfig",value:function(){return this.socket.getSystemConfig()}},{key:"getExpertMode",value:function(){return"true"===window.sessionStorage.getItem("App.expertMode")||!!this._systemConfig.expertMode}},{key:"onConnectionReady",value:function(){}},{key:"encrypt",value:function(e){for(var t="",n=0;n=e[n]}))||"xs"}},{key:"onClose",value:function(){if("undefined"!==typeof window.parent&&window.parent)try{window.parent.$iframeDialog&&"function"===typeof window.parent.$iframeDialog.close?window.parent.$iframeDialog.close():window.parent.postMessage("close","*")}catch(e){window.parent.postMessage("close","*")}}}],i&&k(t.prototype,i),b&&k(t,b),Object.defineProperty(t,"prototype",{writable:!1}),_}(m.default);L.propTypes={adapterName:i.default.string,onThemeChange:i.default.func,socket:i.default.object,encryptedFields:i.default.array,bottomButtons:i.default.bool,Connection:i.default.object};var I=L;t.Z=I},6940:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){console.log("\n\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \n\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2554\u255d\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\n\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\n\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u255d \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\n\u2588\u2588\u2551\u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2551\u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\n\u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\n"),console.log("Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters"),console.log("Help us to create open source project with reactJS!"),console.log("See you :)")};t.default=n},7674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1030),o=n(4242),i=11/23/100;function a(e){var t={r:0,g:0,b:0};if(7===e.length)t.r=parseInt(e.substr(1,2),16),t.g=parseInt(e.substr(3,2),16),t.b=parseInt(e.substr(5,2),16);else if(4===e.length){var n=e.substr(1,1),r=e.substr(2,1),o=e.substr(3,1);t.r=parseInt(n+n,16),t.g=parseInt(r+r,16),t.b=parseInt(o+o,16)}return t}function s(e,t,n){var r,o=a(e),s=a(t);return o.r+=s.r*(.05+i*(n-1)),o.g+=s.g*(.05+i*(n-1)),o.b+=s.b*(.05+i*(n-1)),r=o,"#".concat(Math.round(r.r).toString(16)).concat(Math.round(r.g).toString(16)).concat(Math.round(r.b).toString(16))}function l(e,t){for(var n={},r=1;r<=24;r++)n["elevation".concat(r)]={backgroundColor:s(e,t,r)};return n}var c=function(e){var t;return(t="dark"===e?{name:e,palette:{mode:"dark",background:{paper:"#121212",default:"#121212"},primary:{main:"#4dabf5"},secondary:{main:"#436a93"},expert:"#14bb00",text:{primary:"#ffffff",secondary:"#ffffff"}},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#272727"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[200],"&:hover":{color:o.orange[100]}}},MuiPaper:l("#121212","#fff")}}:"blue"===e?{name:e,palette:{mode:"dark",background:{paper:"#151d21",default:"#151d21"},primary:{main:"#4dabf5"},secondary:{main:"#436a93"},expert:"#14bb00",text:{primary:"#ffffff",secondary:"#ffffff"}},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#2a3135"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[200],"&:hover":{color:o.orange[100]}}},MuiPaper:l("#151d21","#fff")}}:"colored"===e?{name:e,palette:{mode:"light",primary:{main:"#3399CC"},secondary:{main:"#164477"},expert:"#96fc96"},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#3399CC"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}:"PT"===e?{name:e,palette:{mode:"light",primary:{main:"#0F99DE"},secondary:{main:"#88A536"},expert:"#BD1B24"},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#0F99DE"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}:"DX"===e?{name:e,palette:{mode:"light",primary:{main:"#F5F5F7"},secondary:{main:"#a9a9a9"},expert:"#BD1B24",text:{primary:"#007AFE",secondary:"#007AFE",disabled:"#007AFEAA"}},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#a9a9a9"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}:{name:e,palette:{mode:"light",primary:{main:"#3399CC"},secondary:{main:"#164477"},expert:"#14bb00"},overrides:{MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}).toolbar={height:48},t.saveToolbar={background:t.palette.primary.main,button:{borderRadius:3,height:32}},t.palette.grey={main:o.grey[300],dark:o.grey[400]},t=(0,r.createTheme)((0,r.adaptV4Theme)(t)),(0,r.createTheme)(t,{components:{MuiButton:{variants:[{props:{variant:"contained",color:"grey"},style:{color:t.palette.getContrastText(t.palette.grey[300])}},{props:{variant:"outlined",color:"grey"},style:{color:t.palette.text.primary,borderColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)","&.Mui-disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)},"&:hover":{borderColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)",backgroundColor:(0,r.alpha)(t.palette.text.primary,t.palette.action.hoverOpacity)}}},{props:{color:"grey",variant:"text"},style:{color:t.palette.text.primary,"&:hover":{backgroundColor:(0,r.alpha)(t.palette.text.primary,t.palette.action.hoverOpacity)}}}]}}})};t.default=c},8181:function(e,t){"use strict";function n(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(!t||!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]||"spacing-xs-".concat(String(e))];var r=e.xs,o=e.sm,i=e.md,a=e.lg,s=e.xl;return[Number(r)>0&&(n["spacing-xs-".concat(String(r))]||"spacing-xs-".concat(String(r))),Number(o)>0&&(n["spacing-sm-".concat(String(o))]||"spacing-sm-".concat(String(o))),Number(i)>0&&(n["spacing-md-".concat(String(i))]||"spacing-md-".concat(String(i))),Number(a)>0&&(n["spacing-lg-".concat(String(a))]||"spacing-lg-".concat(String(a))),Number(s)>0&&(n["spacing-xl-".concat(String(s))]||"spacing-xl-".concat(String(s)))]}var w=(0,h.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,o=n.container,i=n.direction,a=n.item,s=n.lg,l=n.md,c=n.sm,u=n.spacing,d=n.wrap,h=n.xl,f=n.xs,p=n.zeroMinWidth;return[t.root,o&&t.container,a&&t.item,p&&t.zeroMinWidth].concat((0,r.Z)(b(u,o,t)),["row"!==i&&t["direction-xs-".concat(String(i))],"wrap"!==d&&t["wrap-xs-".concat(String(d))],!1!==f&&t["grid-xs-".concat(String(f))],!1!==c&&t["grid-sm-".concat(String(c))],!1!==l&&t["grid-md-".concat(String(l))],!1!==s&&t["grid-lg-".concat(String(s))],!1!==h&&t["grid-xl-".concat(String(h))]])}})((function(e){var t=e.ownerState;return(0,a.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,c.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,c.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(m.Z.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.rowSpacing,a={};if(r&&0!==i){var s=(0,c.P$)({values:i,breakpoints:t.breakpoints.values});a=(0,c.k9)({theme:t},s,(function(e){var n=t.spacing(e);return"0px"!==n?(0,o.Z)({marginTop:"-".concat(y(n))},"& > .".concat(m.Z.item),{paddingTop:y(n)}):{}}))}return a}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.columnSpacing,a={};if(r&&0!==i){var s=(0,c.P$)({values:i,breakpoints:t.breakpoints.values});a=(0,c.k9)({theme:t},s,(function(e){var n=t.spacing(e);return"0px"!==n?(0,o.Z)({width:"calc(100% + ".concat(y(n),")"),marginLeft:"-".concat(y(n))},"& > .".concat(m.Z.item),{paddingLeft:y(n)}):{}}))}return a}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var s=(0,c.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof s?s[o]:s;if(void 0===l||null===l)return e;var u="".concat(Math.round(t/l*1e8)/1e6,"%"),d={};if(r.container&&r.item&&0!==r.columnSpacing){var h=n.spacing(r.columnSpacing);if("0px"!==h){var f="calc(".concat(u," + ").concat(y(h),")");d={flexBasis:f,maxWidth:f}}}i=(0,a.Z)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})})),_=s.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiGrid"}),o=(0,u.Z)(n),c=o.className,h=o.columns,y=o.columnSpacing,_=o.component,S=void 0===_?"div":_,x=o.container,C=void 0!==x&&x,k=o.direction,Z=void 0===k?"row":k,E=o.item,R=void 0!==E&&E,T=o.lg,A=void 0!==T&&T,P=o.md,M=void 0!==P&&P,O=o.rowSpacing,L=o.sm,I=void 0!==L&&L,D=o.spacing,N=void 0===D?0:D,j=o.wrap,$=void 0===j?"wrap":j,F=o.xl,z=void 0!==F&&F,W=o.xs,B=void 0!==W&&W,H=o.zeroMinWidth,U=void 0!==H&&H,V=(0,i.Z)(o,v),G=O||N,q=y||N,K=s.useContext(p),Y=C?h||12:K,J=(0,a.Z)({},o,{columns:Y,container:C,direction:Z,item:R,lg:A,md:M,sm:I,rowSpacing:G,columnSpacing:q,wrap:$,xl:z,xs:B,zeroMinWidth:U}),X=function(e){var t=e.classes,n=e.container,o=e.direction,i=e.item,a=e.lg,s=e.md,l=e.sm,c=e.spacing,u=e.wrap,h=e.xl,f=e.xs,p={root:["root",n&&"container",i&&"item",e.zeroMinWidth&&"zeroMinWidth"].concat((0,r.Z)(b(c,n)),["row"!==o&&"direction-xs-".concat(String(o)),"wrap"!==u&&"wrap-xs-".concat(String(u)),!1!==f&&"grid-xs-".concat(String(f)),!1!==l&&"grid-sm-".concat(String(l)),!1!==s&&"grid-md-".concat(String(s)),!1!==a&&"grid-lg-".concat(String(a)),!1!==h&&"grid-xl-".concat(String(h))])};return(0,d.Z)(p,m.H,t)}(J);return(0,g.jsx)(p.Provider,{value:Y,children:(0,g.jsx)(w,(0,a.Z)({ownerState:J,className:(0,l.Z)(X.root,c),as:S,ref:t},V))})}))},1242:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(3433),o=n(9818);function i(e){return(0,o.Z)("MuiGrid",e)}var a=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],s=(0,n(2152).Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,r.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,r.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,r.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-xs-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-sm-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-md-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-lg-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-xl-".concat(e)})))));t.Z=s},3208:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8875),s=n(3967),l=n(4999),c=n(2071),u=n(184),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var f={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},p="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),m=i.forwardRef((function(e,t){var n=e.addEndListener,m=e.appear,g=void 0===m||m,v=e.children,y=e.easing,b=e.in,w=e.onEnter,_=e.onEntered,S=e.onEntering,x=e.onExit,C=e.onExited,k=e.onExiting,Z=e.style,E=e.timeout,R=void 0===E?"auto":E,T=e.TransitionComponent,A=void 0===T?a.ZP:T,P=(0,o.Z)(e,d),M=i.useRef(),O=i.useRef(),L=(0,s.Z)(),I=i.useRef(null),D=(0,c.Z)(v.ref,t),N=(0,c.Z)(I,D),j=function(e){return function(t){if(e){var n=I.current;void 0===t?e(n):e(n,t)}}},$=j(S),F=j((function(e,t){(0,l.n)(e);var n,r=(0,l.C)({style:Z,timeout:R,easing:y},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===R?(n=L.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=o,e.style.transition=[L.transitions.create("opacity",{duration:n,delay:i}),L.transitions.create("transform",{duration:p?n:.666*n,delay:i,easing:a})].join(","),w&&w(e,t)})),z=j(_),W=j(k),B=j((function(e){var t,n=(0,l.C)({style:Z,timeout:R,easing:y},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===R?(t=L.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=r,e.style.transition=[L.transitions.create("opacity",{duration:t,delay:o}),L.transitions.create("transform",{duration:p?t:.666*t,delay:p?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=h(.75),x&&x(e)})),H=j(C);return i.useEffect((function(){return function(){clearTimeout(M.current)}}),[]),(0,u.jsx)(A,(0,r.Z)({appear:g,in:b,nodeRef:I,onEnter:F,onEntered:z,onEntering:$,onExit:B,onExited:H,onExiting:W,addEndListener:function(e){"auto"===R&&(M.current=setTimeout(e,O.current||0)),n&&n(I.current,e)},timeout:"auto"===R?null:R},P,{children:function(e,t){return i.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:h(.75),visibility:"exited"!==e||b?void 0:"hidden"},f[e],Z,v.props.style),ref:N},t))}}))}));m.muiSupportAuto=!0,t.Z=m},977:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(7630),d=n(1402),h=n(2863),f=n(4036),p=n(8647),m=n(184),g=["edge","children","className","color","disabled","disableFocusRipple","size"],v=(0,u.ZP)(h.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,f.Z)(n.color))],n.edge&&t["edge".concat((0,f.Z)(n.edge))],t["size".concat((0,f.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.active," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,i.Z)({color:(t.vars||t).palette[n.color].main},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},(0,r.Z)({},"&.".concat(p.Z.disabled),{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}))})),y=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiIconButton"}),r=n.edge,a=void 0!==r&&r,c=n.children,u=n.className,h=n.color,y=void 0===h?"default":h,b=n.disabled,w=void 0!==b&&b,_=n.disableFocusRipple,S=void 0!==_&&_,x=n.size,C=void 0===x?"medium":x,k=(0,o.Z)(n,g),Z=(0,i.Z)({},n,{edge:a,color:y,disabled:w,disableFocusRipple:S,size:C}),E=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,f.Z)(r)),o&&"edge".concat((0,f.Z)(o)),"size".concat((0,f.Z)(i))]};return(0,l.Z)(a,p.r,t)}(Z);return(0,m.jsx)(v,(0,i.Z)({className:(0,s.Z)(E.root,u),centerRipple:!0,focusRipple:!S,disabled:w,ref:t,ownerState:Z},k,{children:c}))}));t.Z=y},8647:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiIconButton",e)}var i=(0,n(2152).Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);t.Z=i},9076:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},getIconButtonUtilityClass:function(){return o.r},iconButtonClasses:function(){return o.Z}});var r=n(977),o=n(8647)},7808:function(e,t,n){"use strict";var r,o=n(4942),i=n(3366),a=n(7462),s=n(2791),l=n(8182),c=n(2039),u=n(4036),d=n(4567),h=n(3840),f=n(2930),p=n(7630),m=n(3209),g=n(1402),v=n(184),y=["children","className","component","disablePointerEvents","disableTypography","position","variant"],b=(0,p.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,u.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,o.Z)({},"&.".concat(m.Z.positionStart,"&:not(.").concat(m.Z.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),w=s.forwardRef((function(e,t){var n=(0,g.Z)({props:e,name:"MuiInputAdornment"}),o=n.children,p=n.className,w=n.component,_=void 0===w?"div":w,S=n.disablePointerEvents,x=void 0!==S&&S,C=n.disableTypography,k=void 0!==C&&C,Z=n.position,E=n.variant,R=(0,i.Z)(n,y),T=(0,f.Z)()||{},A=E;E&&T.variant,T&&!A&&(A=T.variant);var P=(0,a.Z)({},n,{hiddenLabel:T.hiddenLabel,size:T.size,disablePointerEvents:x,position:Z,variant:A}),M=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,s={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,u.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,u.Z)(i))]};return(0,c.Z)(s,m.w,t)}(P);return(0,v.jsx)(h.Z.Provider,{value:null,children:(0,v.jsx)(b,(0,a.Z)({as:_,ownerState:P,className:(0,l.Z)(M.root,p),ref:t},R,{children:"string"!==typeof o||k?(0,v.jsxs)(s.Fragment,{children:["start"===Z?r||(r=(0,v.jsx)("span",{className:"notranslate",children:"\u200b"})):null,o]}):(0,v.jsx)(d.Z,{color:"text.secondary",children:o})}))})}));t.Z=w},3209:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiInputAdornment",e)}var i=(0,n(2152).Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);t.Z=i},139:function(e,t,n){"use strict";n.d(t,{Ej:function(){return R},Gx:function(){return Z},_o:function(){return E},rA:function(){return T}});var r=n(9439),o=n(4942),i=n(3366),a=n(7462),s=n(6189),l=n(2791),c=n(8182),u=n(2039),d=n(1747),h=n(6897),f=n(6147),p=n(3840),m=n(2930),g=n(7630),v=n(1402),y=n(4036),b=n(2071),w=n(162),_=n(8982),S=n(5470),x=n(5891),C=n(184),k=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Z=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,y.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},E=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},R=(0,g.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Z})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({},t.typography.body1,(0,o.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(x.Z.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,a.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),T=(0,g.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:E})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,s=(0,a.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.placeholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),l={opacity:"0 !important"},c=n.vars?{opacity:n.vars.opacity.placeholder}:{opacity:i?.42:.5};return(0,a.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,o.Z)(t,"label[data-shrink=false] + .".concat(x.Z.formControl," &"),{"&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus:-ms-input-placeholder":c,"&:focus::-ms-input-placeholder":c}),(0,o.Z)(t,"&.".concat(x.Z.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,o.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),A=(0,C.jsx)(_.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),P=l.forwardRef((function(e,t){var n=(0,v.Z)({props:e,name:"MuiInputBase"}),o=n["aria-describedby"],g=n.autoComplete,_=n.autoFocus,Z=n.className,E=n.components,P=void 0===E?{}:E,M=n.componentsProps,O=void 0===M?{}:M,L=n.defaultValue,I=n.disabled,D=n.disableInjectingGlobalStyles,N=n.endAdornment,j=n.fullWidth,$=void 0!==j&&j,F=n.id,z=n.inputComponent,W=void 0===z?"input":z,B=n.inputProps,H=void 0===B?{}:B,U=n.inputRef,V=n.maxRows,G=n.minRows,q=n.multiline,K=void 0!==q&&q,Y=n.name,J=n.onBlur,X=n.onChange,Q=n.onClick,ee=n.onFocus,te=n.onKeyDown,ne=n.onKeyUp,re=n.placeholder,oe=n.readOnly,ie=n.renderSuffix,ae=n.rows,se=n.startAdornment,le=n.type,ce=void 0===le?"text":le,ue=n.value,de=(0,i.Z)(n,k),he=null!=H.value?H.value:ue,fe=l.useRef(null!=he).current,pe=l.useRef(),me=l.useCallback((function(e){0}),[]),ge=(0,b.Z)(H.ref,me),ve=(0,b.Z)(U,ge),ye=(0,b.Z)(pe,ve),be=l.useState(!1),we=(0,r.Z)(be,2),_e=we[0],Se=we[1],xe=(0,m.Z)();var Ce=(0,f.Z)({props:n,muiFormControl:xe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ce.focused=xe?xe.focused:_e,l.useEffect((function(){!xe&&I&&_e&&(Se(!1),J&&J())}),[xe,I,_e,J]);var ke=xe&&xe.onFilled,Ze=xe&&xe.onEmpty,Ee=l.useCallback((function(e){(0,S.vd)(e)?ke&&ke():Ze&&Ze()}),[ke,Ze]);(0,w.Z)((function(){fe&&Ee({value:he})}),[he,Ee,fe]);l.useEffect((function(){Ee(pe.current)}),[]);var Re=W,Te=H;K&&"input"===Re&&(Te=ae?(0,a.Z)({type:void 0,minRows:ae,maxRows:ae},Te):(0,a.Z)({type:void 0,maxRows:V,minRows:G},Te),Re=d.Z);l.useEffect((function(){xe&&xe.setAdornedStart(Boolean(se))}),[xe,se]);var Ae=(0,a.Z)({},n,{color:Ce.color||"primary",disabled:Ce.disabled,endAdornment:N,error:Ce.error,focused:Ce.focused,formControl:xe,fullWidth:$,hiddenLabel:Ce.hiddenLabel,multiline:K,size:Ce.size,startAdornment:se,type:ce}),Pe=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,s=e.formControl,l=e.fullWidth,c=e.hiddenLabel,d=e.multiline,h=e.size,f=e.startAdornment,p=e.type,m={root:["root","color".concat((0,y.Z)(n)),r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl","small"===h&&"sizeSmall",d&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",d&&"inputMultiline","small"===h&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd"]};return(0,u.Z)(m,x.u,t)}(Ae),Me=P.Root||R,Oe=O.root||{},Le=P.Input||T;return Te=(0,a.Z)({},Te,O.input),(0,C.jsxs)(l.Fragment,{children:[!D&&A,(0,C.jsxs)(Me,(0,a.Z)({},Oe,!(0,h.Z)(Me)&&{ownerState:(0,a.Z)({},Ae,Oe.ownerState)},{ref:t,onClick:function(e){pe.current&&e.currentTarget===e.target&&pe.current.focus(),Q&&Q(e)}},de,{className:(0,c.Z)(Pe.root,Oe.className,Z),children:[se,(0,C.jsx)(p.Z.Provider,{value:null,children:(0,C.jsx)(Le,(0,a.Z)({ownerState:Ae,"aria-invalid":Ce.error,"aria-describedby":o,autoComplete:g,autoFocus:_,defaultValue:L,disabled:Ce.disabled,id:F,onAnimationStart:function(e){Ee("mui-auto-fill-cancel"===e.animationName?pe.current:{value:"x"})},name:Y,placeholder:re,readOnly:oe,required:Ce.required,rows:ae,value:he,onKeyDown:te,onKeyUp:ne,type:ce},Te,!(0,h.Z)(Le)&&{as:Re,ownerState:(0,a.Z)({},Ae,Te.ownerState)},{ref:ye,className:(0,c.Z)(Pe.input,Te.className),onBlur:function(e){J&&J(e),H.onBlur&&H.onBlur(e),xe&&xe.onBlur?xe.onBlur(e):Se(!1)},onChange:function(e){if(!fe){var t=e.target||pe.current;if(null==t)throw new Error((0,s.Z)(1));Ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{B7:function(){return i},vd:function(){return o}})},2861:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(2039),l=n(6147),c=n(2930),u=n(7133),d=n(843),h=n(1402),f=n(7630),p=n(1948),m=n(184),g=["disableAnimation","margin","shrink","variant"],v=(0,f.ZP)(u.Z,{shouldForwardProp:function(e){return(0,f.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,r.Z)({},"& .".concat(d.Z.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,i.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),y=a.forwardRef((function(e,t){var n=(0,h.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,a=void 0!==r&&r,u=n.shrink,d=(0,o.Z)(n,g),f=(0,c.Z)(),y=u;"undefined"===typeof y&&f&&(y=f.filled||f.focused||f.adornedStart);var b=(0,l.Z)({props:n,muiFormControl:f,states:["size","variant","required"]}),w=(0,i.Z)({},n,{disableAnimation:a,formControl:f,shrink:y,size:b.size,variant:b.variant,required:b.required}),_=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,a={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},l=(0,s.Z)(a,p.Y,t);return(0,i.Z)({},t,l)}(w);return(0,m.jsx)(v,(0,i.Z)({"data-shrink":y,ownerState:w,ref:t},d,{classes:_}))}));t.Z=y},1948:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiInputLabel",e)}var i=(0,n(2152).Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);t.Z=i},4110:function(e,t,n){"use strict";var r=n(4942),o=n(3433),i=n(3366),a=n(7462),s=n(2791),l=n(2039),c=n(2466),u=n(139),d=n(7630),h=n(1402),f=n(6779),p=n(184),m=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],g=(0,d.ZP)(u.Ej,{shouldForwardProp:function(e){return(0,d.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,o.Z)((0,u.Gx)(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,o=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(i="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputTouchBottomLine,")")),(0,a.Z)({position:"relative"},o.formControl&&{"label + &":{marginTop:16}},!o.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,r.Z)(t,"&.".concat(f.Z.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,r.Z)(t,"&.".concat(f.Z.error,":after"),{borderBottomColor:(n.vars||n).palette.error.main,transform:"scaleX(1)"}),(0,r.Z)(t,"&:before",{borderBottom:"1px solid ".concat(i),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,r.Z)(t,"&:hover:not(.".concat(f.Z.disabled,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(i)}}),(0,r.Z)(t,"&.".concat(f.Z.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),v=(0,d.ZP)(u.rA,{name:"MuiInput",slot:"Input",overridesResolver:u._o})({}),y=s.forwardRef((function(e,t){var n=(0,h.Z)({props:e,name:"MuiInput"}),r=n.disableUnderline,o=n.components,s=void 0===o?{}:o,d=n.componentsProps,y=n.fullWidth,b=void 0!==y&&y,w=n.inputComponent,_=void 0===w?"input":w,S=n.multiline,x=void 0!==S&&S,C=n.type,k=void 0===C?"text":C,Z=(0,i.Z)(n,m),E=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,l.Z)(n,f.l,t);return(0,a.Z)({},t,r)}(n),R={root:{ownerState:{disableUnderline:r}}},T=d?(0,c.Z)(d,R):R;return(0,p.jsx)(u.ZP,(0,a.Z)({components:(0,a.Z)({Root:g,Input:v},s),componentsProps:T,fullWidth:b,inputComponent:_,multiline:x,ref:t,type:k},Z,{classes:E}))}));y.muiName="Input",t.Z=y},6779:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(7462),o=n(9818),i=n(2152),a=n(5891);function s(e){return(0,o.Z)("MuiInput",e)}var l=(0,r.Z)({},a.Z,(0,i.Z)("MuiInput",["root","underline","input"]));t.Z=l},6014:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiListItemIcon",e)}var i=(0,n(2152).Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.Z=i},9849:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiListItemText",e)}var i=(0,n(2152).Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=i},3236:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(2791),a=n(8182),s=n(2039),l=n(7630),c=n(1402),u=n(6199),d=n(4831),h=n(184),f=["children","className","component","dense","disablePadding","subheader"],p=(0,l.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,o.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),m=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiList"}),l=n.children,m=n.className,g=n.component,v=void 0===g?"ul":g,y=n.dense,b=void 0!==y&&y,w=n.disablePadding,_=void 0!==w&&w,S=n.subheader,x=(0,r.Z)(n,f),C=i.useMemo((function(){return{dense:b}}),[b]),k=(0,o.Z)({},n,{component:v,dense:b,disablePadding:_}),Z=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,s.Z)(n,d.z,t)}(k);return(0,h.jsx)(u.Z.Provider,{value:C,children:(0,h.jsxs)(p,(0,o.Z)({as:v,className:(0,a.Z)(Z.root,m),ref:t,ownerState:k},x,{children:[S,l]}))})}));t.Z=m},6199:function(e,t,n){"use strict";var r=n(2791).createContext({});t.Z=r},4831:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiList",e)}var i=(0,n(2152).Z)("MuiList",["root","padding","dense","subheader"]);t.Z=i},2626:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(7630),d=n(1402),h=n(6199),f=n(2863),p=n(162),m=n(2071),g=n(133),v=n(6014),y=n(9849),b=n(1498),w=n(184),_=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],S=(0,u.ZP)(f.Z,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,i.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,r.Z)(t,"&.".concat(b.Z.selected),(0,r.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(b.Z.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,r.Z)(t,"&.".concat(b.Z.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,r.Z)(t,"&.".concat(b.Z.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,r.Z)(t,"&.".concat(b.Z.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,r.Z)(t,"& + .".concat(g.Z.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,r.Z)(t,"& + .".concat(g.Z.inset),{marginLeft:52}),(0,r.Z)(t,"& .".concat(y.Z.root),{marginTop:0,marginBottom:0}),(0,r.Z)(t,"& .".concat(y.Z.inset),{paddingLeft:36}),(0,r.Z)(t,"& .".concat(v.Z.root),{minWidth:36}),t),!o.dense&&(0,r.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),o.dense&&(0,i.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,r.Z)({},"& .".concat(v.Z.root," svg"),{fontSize:"1.25rem"})))})),x=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiMenuItem"}),r=n.autoFocus,c=void 0!==r&&r,u=n.component,f=void 0===u?"li":u,g=n.dense,v=void 0!==g&&g,y=n.divider,x=void 0!==y&&y,C=n.disableGutters,k=void 0!==C&&C,Z=n.focusVisibleClassName,E=n.role,R=void 0===E?"menuitem":E,T=n.tabIndex,A=(0,o.Z)(n,_),P=a.useContext(h.Z),M={dense:v||P.dense||!1,disableGutters:k},O=a.useRef(null);(0,p.Z)((function(){c&&O.current&&O.current.focus()}),[c]);var L,I=(0,i.Z)({},n,{dense:M.dense,divider:x,disableGutters:k}),D=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,a=e.selected,s=e.classes,c={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},u=(0,l.Z)(c,b.K,s);return(0,i.Z)({},s,u)}(n),N=(0,m.Z)(O,t);return n.disabled||(L=void 0!==T?T:-1),(0,w.jsx)(h.Z.Provider,{value:M,children:(0,w.jsx)(S,(0,i.Z)({ref:N,role:R,tabIndex:L,component:f,focusVisibleClassName:(0,s.Z)(D.focusVisible,Z)},A,{ownerState:I,classes:D}))})}));t.Z=x},1498:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiMenuItem",e)}var i=(0,n(2152).Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);t.Z=i},5028:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(7462),o=n(3366),i=n(2791),a=(n(7441),n(8301)),s=n(3236),l=n(7137).Z,c=n(2071),u=n(162),d=n(184),h=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function p(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function g(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return!1;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,i)&&!l)return s.focus(),!0;s=o(e,s,n)}return!1}var v=i.forwardRef((function(e,t){var n=e.actions,v=e.autoFocus,y=void 0!==v&&v,b=e.autoFocusItem,w=void 0!==b&&b,_=e.children,S=e.className,x=e.disabledItemsFocusable,C=void 0!==x&&x,k=e.disableListWrap,Z=void 0!==k&&k,E=e.onKeyDown,R=e.variant,T=void 0===R?"selectedMenu":R,A=(0,o.Z)(e,h),P=i.useRef(null),M=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,u.Z)((function(){y&&P.current.focus()}),[y]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!P.current.style.width;if(e.clientHeight0&&(s-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=s,o.keys.push(i);var l=r&&!o.repeating&&m(r,o);o.previousKeyMatched&&(l||g(t,r,!1,C,f,o))?e.preventDefault():o.previousKeyMatched=!1}E&&E(e)},tabIndex:y?0:-1},A,{children:I}))}))},2744:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=(n(7441),n(8182)),s=n(2039),l=n(5028),c=n(4841),u=n(6207),d=n(7630),h=n(3967),f=n(1402),p=n(5782),m=n(184),g=["onEntering"],v=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],y={vertical:"top",horizontal:"right"},b={vertical:"top",horizontal:"left"},w=(0,d.ZP)(u.ZP,{shouldForwardProp:function(e){return(0,d.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),_=(0,d.ZP)(c.Z,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),S=(0,d.ZP)(l.Z,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),x=i.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiMenu"}),l=n.autoFocus,c=void 0===l||l,u=n.children,d=n.disableAutoFocusItem,x=void 0!==d&&d,C=n.MenuListProps,k=void 0===C?{}:C,Z=n.onClose,E=n.open,R=n.PaperProps,T=void 0===R?{}:R,A=n.PopoverClasses,P=n.transitionDuration,M=void 0===P?"auto":P,O=n.TransitionProps,L=(O=void 0===O?{}:O).onEntering,I=n.variant,D=void 0===I?"selectedMenu":I,N=(0,o.Z)(n.TransitionProps,g),j=(0,o.Z)(n,v),$=(0,h.Z)(),F="rtl"===$.direction,z=(0,r.Z)({},n,{autoFocus:c,disableAutoFocusItem:x,MenuListProps:k,onEntering:L,PaperProps:T,transitionDuration:M,TransitionProps:N,variant:D}),W=function(e){var t=e.classes;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},p.Q,t)}(z),B=c&&!x&&E,H=i.useRef(null),U=-1;return i.Children.map(u,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===D&&e.props.selected||-1===U)&&(U=t))})),(0,m.jsx)(w,(0,r.Z)({classes:A,onClose:Z,anchorOrigin:{vertical:"bottom",horizontal:F?"right":"left"},transformOrigin:F?y:b,PaperProps:(0,r.Z)({component:_},T,{classes:(0,r.Z)({},T.classes,{root:W.paper})}),className:W.root,open:E,ref:t,transitionDuration:M,TransitionProps:(0,r.Z)({onEntering:function(e,t){H.current&&H.current.adjustStyleForScrollbar(e,$),L&&L(e,t)}},N),ownerState:z},j,{children:(0,m.jsx)(S,(0,r.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),Z&&Z(e,"tabKeyDown"))},actions:H,autoFocus:c&&(-1===U||x),autoFocusItem:B,variant:D},k,{className:(0,a.Z)(W.list,k.className),children:u}))}))}));t.Z=x},5782:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiMenu",e)}var i=(0,n(2152).Z)("MuiMenu",["root","paper","list"]);t.Z=i},6549:function(e,t,n){"use strict";n.d(t,{Z:function(){return M},W:function(){return T}});var r=n(9439),o=n(3366),i=n(7462),a=n(2791),s=n(6897),l=n(8182),c=n(7563),u=n(9723),d=n(8956),h=n(8949),f=n(2039),p=n(6174),m=n(8653),g=n(184),v=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function y(e){var t=[],n=[];return Array.from(e.querySelectorAll(v)).forEach((function(e,r){var o=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function b(){return!0}var w=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,s=e.disableRestoreFocus,l=void 0!==s&&s,d=e.getTabbable,h=void 0===d?y:d,f=e.isEnabled,p=void 0===f?b:f,m=e.open,v=a.useRef(),w=a.useRef(null),_=a.useRef(null),S=a.useRef(null),x=a.useRef(null),C=a.useRef(!1),k=a.useRef(null),Z=(0,c.Z)(t.ref,k),E=a.useRef(null);a.useEffect((function(){m&&k.current&&(C.current=!r)}),[r,m]),a.useEffect((function(){if(m&&k.current){var e=(0,u.Z)(k.current);return k.current.contains(e.activeElement)||(k.current.hasAttribute("tabIndex")||k.current.setAttribute("tabIndex",-1),C.current&&k.current.focus()),function(){l||(S.current&&S.current.focus&&(v.current=!0,S.current.focus()),S.current=null)}}}),[m]),a.useEffect((function(){if(m&&k.current){var e=(0,u.Z)(k.current),t=function(t){var n=k.current;if(null!==n)if(e.hasFocus()&&!i&&p()&&!v.current){if(!n.contains(e.activeElement)){if(t&&x.current!==t.target||e.activeElement!==x.current)x.current=null;else if(null!==x.current)return;if(!C.current)return;var r=[];if(e.activeElement!==w.current&&e.activeElement!==_.current||(r=h(k.current)),r.length>0){var o,a,s=Boolean((null==(o=E.current)?void 0:o.shiftKey)&&"Tab"===(null==(a=E.current)?void 0:a.key)),l=r[0],c=r[r.length-1];s?c.focus():l.focus()}else n.focus()}}else v.current=!1},n=function(t){E.current=t,!i&&p()&&"Tab"===t.key&&e.activeElement===k.current&&t.shiftKey&&(v.current=!0,_.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){"BODY"===e.activeElement.tagName&&t()}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[r,i,l,p,m,h]);var R=function(e){null===S.current&&(S.current=e.relatedTarget),C.current=!0};return(0,g.jsxs)(a.Fragment,{children:[(0,g.jsx)("div",{tabIndex:0,onFocus:R,ref:w,"data-test":"sentinelStart"}),a.cloneElement(t,{ref:Z,onFocus:function(e){null===S.current&&(S.current=e.relatedTarget),C.current=!0,x.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,g.jsx)("div",{tabIndex:0,onFocus:R,ref:_,"data-test":"sentinelEnd"})]})},_=n(8345),S=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];var x=new m.Z,C=a.forwardRef((function(e,t){var n=e.BackdropComponent,v=e.BackdropProps,y=e.children,b=e.classes,C=e.className,k=e.closeAfterTransition,Z=void 0!==k&&k,E=e.component,R=void 0===E?"div":E,T=e.components,A=void 0===T?{}:T,P=e.componentsProps,M=void 0===P?{}:P,O=e.container,L=e.disableAutoFocus,I=void 0!==L&&L,D=e.disableEnforceFocus,N=void 0!==D&&D,j=e.disableEscapeKeyDown,$=void 0!==j&&j,F=e.disablePortal,z=void 0!==F&&F,W=e.disableRestoreFocus,B=void 0!==W&&W,H=e.disableScrollLock,U=void 0!==H&&H,V=e.hideBackdrop,G=void 0!==V&&V,q=e.keepMounted,K=void 0!==q&&q,Y=e.manager,J=void 0===Y?x:Y,X=e.onBackdropClick,Q=e.onClose,ee=e.onKeyDown,te=e.open,ne=e.theme,re=e.onTransitionEnter,oe=e.onTransitionExited,ie=(0,o.Z)(e,S),ae=a.useState(!0),se=(0,r.Z)(ae,2),le=se[0],ce=se[1],ue=a.useRef({}),de=a.useRef(null),he=a.useRef(null),fe=(0,c.Z)(he,t),pe=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),me=function(){return ue.current.modalRef=he.current,ue.current.mountNode=de.current,ue.current},ge=function(){J.mount(me(),{disableScrollLock:U}),he.current.scrollTop=0},ve=(0,d.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(O)||(0,u.Z)(de.current).body;J.add(me(),e),he.current&&ge()})),ye=a.useCallback((function(){return J.isTopModal(me())}),[J]),be=(0,d.Z)((function(e){de.current=e,e&&(te&&ye()?ge():(0,m.G)(he.current,!0))})),we=a.useCallback((function(){J.remove(me())}),[J]);a.useEffect((function(){return function(){we()}}),[we]),a.useEffect((function(){te?ve():pe&&Z||we()}),[te,we,pe,Z,ve]);var _e=(0,i.Z)({},e,{classes:b,closeAfterTransition:Z,disableAutoFocus:I,disableEnforceFocus:N,disableEscapeKeyDown:$,disablePortal:z,disableRestoreFocus:B,disableScrollLock:U,exited:le,hideBackdrop:G,keepMounted:K}),Se=function(e){var t=e.open,n=e.exited,r=e.classes,o={root:["root",!t&&n&&"hidden"]};return(0,f.Z)(o,_.x,r)}(_e);if(!K&&!te&&(!pe||le))return null;var xe={};void 0===y.props.tabIndex&&(xe.tabIndex="-1"),pe&&(xe.onEnter=(0,h.Z)((function(){ce(!1),re&&re()}),y.props.onEnter),xe.onExited=(0,h.Z)((function(){ce(!0),oe&&oe(),Z&&we()}),y.props.onExited));var Ce=A.Root||R,ke=M.root||{};return(0,g.jsx)(p.Z,{ref:be,container:O,disablePortal:z,children:(0,g.jsxs)(Ce,(0,i.Z)({role:"presentation"},ke,!(0,s.Z)(Ce)&&{as:R,ownerState:(0,i.Z)({},_e,ke.ownerState),theme:ne},ie,{ref:fe,onKeyDown:function(e){ee&&ee(e),"Escape"===e.key&&ye()&&($||(e.stopPropagation(),Q&&Q(e,"escapeKeyDown")))},className:(0,l.Z)(Se.root,ke.className,C),children:[!G&&n?(0,g.jsx)(n,(0,i.Z)({"aria-hidden":!0,open:te,onClick:function(e){e.target===e.currentTarget&&(X&&X(e),Q&&Q(e,"backdropClick"))}},v)):null,(0,g.jsx)(w,{disableEnforceFocus:N,disableAutoFocus:I,disableRestoreFocus:B,isEnabled:ye,open:te,children:a.cloneElement(y,xe)})]}))})})),k=n(7630),Z=n(1402),E=n(8060),R=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],T=_.Z,A=(0,k.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),P=(0,k.ZP)(E.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),M=a.forwardRef((function(e,t){var n,l=(0,Z.Z)({name:"MuiModal",props:e}),c=l.BackdropComponent,u=void 0===c?P:c,d=l.closeAfterTransition,h=void 0!==d&&d,f=l.children,p=l.components,m=void 0===p?{}:p,v=l.componentsProps,y=void 0===v?{}:v,b=l.disableAutoFocus,w=void 0!==b&&b,_=l.disableEnforceFocus,S=void 0!==_&&_,x=l.disableEscapeKeyDown,k=void 0!==x&&x,E=l.disablePortal,T=void 0!==E&&E,M=l.disableRestoreFocus,O=void 0!==M&&M,L=l.disableScrollLock,I=void 0!==L&&L,D=l.hideBackdrop,N=void 0!==D&&D,j=l.keepMounted,$=void 0!==j&&j,F=(0,o.Z)(l,R),z=a.useState(!0),W=(0,r.Z)(z,2),B=W[0],H=W[1],U={closeAfterTransition:h,disableAutoFocus:w,disableEnforceFocus:S,disableEscapeKeyDown:k,disablePortal:T,disableRestoreFocus:O,disableScrollLock:I,hideBackdrop:N,keepMounted:$},V=function(e){return e.classes}((0,i.Z)({},l,U,{exited:B}));return(0,g.jsx)(C,(0,i.Z)({components:(0,i.Z)({Root:A},m),componentsProps:{root:(0,i.Z)({},y.root,(!m.Root||!(0,s.Z)(m.Root))&&{ownerState:(0,i.Z)({},null==(n=y.root)?void 0:n.ownerState)})},BackdropComponent:u,onTransitionEnter:function(){return H(!1)},onTransitionExited:function(){return H(!0)},ref:t},F,{classes:V},U,{children:f}))}))},9916:function(e,t,n){"use strict";n.d(t,{SJ:function(){return g},wU:function(){return p}});var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(4036),u=n(1797),d=n(7630),h=n(184),f=["className","disabled","IconComponent","inputRef","variant"],p=function(e){var t,n=e.ownerState,o=e.theme;return(0,i.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===o.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},(0,r.Z)(t,"&.".concat(u.Z.disabled),{cursor:"default"}),(0,r.Z)(t,"&[multiple]",{height:"auto"}),(0,r.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:o.palette.background.paper}),(0,r.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:o.shape.borderRadius,"&:focus":{borderRadius:o.shape.borderRadius},"&&&":{paddingRight:32}})},m=(0,d.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:d.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],(0,r.Z)({},"&.".concat(u.Z.multiple),t.multiple)]}})(p),g=function(e){var t=e.ownerState,n=e.theme;return(0,i.Z)((0,r.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(u.Z.disabled),{color:n.palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},v=(0,d.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,c.Z)(n.variant))],n.open&&t.iconOpen]}})(g),y=a.forwardRef((function(e,t){var n=e.className,r=e.disabled,d=e.IconComponent,p=e.inputRef,g=e.variant,y=void 0===g?"standard":g,b=(0,o.Z)(e,f),w=(0,i.Z)({},e,{disabled:r,variant:y}),_=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat((0,c.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,l.Z)(a,u.f,t)}(w);return(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)(m,(0,i.Z)({ownerState:w,className:(0,s.Z)(_.select,n),disabled:r,ref:p||t},b)),e.multiple?null:(0,h.jsx)(v,{as:d,ownerState:w,className:_.icon})]})}));t.ZP=y},1797:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiNativeSelect",e)}var i=(0,n(2152).Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);t.Z=i},7196:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r,o=n(4942),i=n(3366),a=n(7462),s=n(2791),l=n(2039),c=n(7630),u=n(184),d=["children","classes","className","label","notched"],h=(0,c.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),f=(0,c.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,a.Z)({float:"unset",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,a.Z)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));var p=n(2930),m=n(6147),g=n(6059),v=n(139),y=n(1402),b=["components","fullWidth","inputComponent","label","multiline","notched","type"],w=(0,c.ZP)(v.Ej,{shouldForwardProp:function(e){return(0,c.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.Gx})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,a.Z)((t={position:"relative",borderRadius:n.shape.borderRadius},(0,o.Z)(t,"&:hover .".concat(g.Z.notchedOutline),{borderColor:n.palette.text.primary}),(0,o.Z)(t,"@media (hover: none)",(0,o.Z)({},"&:hover .".concat(g.Z.notchedOutline),{borderColor:i})),(0,o.Z)(t,"&.".concat(g.Z.focused," .").concat(g.Z.notchedOutline),{borderColor:n.palette[r.color].main,borderWidth:2}),(0,o.Z)(t,"&.".concat(g.Z.error," .").concat(g.Z.notchedOutline),{borderColor:n.palette.error.main}),(0,o.Z)(t,"&.".concat(g.Z.disabled," .").concat(g.Z.notchedOutline),{borderColor:n.palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,a.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),_=(0,c.ZP)((function(e){var t=e.className,n=e.label,o=e.notched,s=(0,i.Z)(e,d),l=null!=n&&""!==n,c=(0,a.Z)({},e,{notched:o,withLabel:l});return(0,u.jsx)(h,(0,a.Z)({"aria-hidden":!0,className:t,ownerState:c},s,{children:(0,u.jsx)(f,{ownerState:c,children:l?(0,u.jsx)("span",{children:n}):r||(r=(0,u.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){return{borderColor:"light"===e.theme.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}})),S=(0,c.ZP)(v.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v._o})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),x=s.forwardRef((function(e,t){var n,r=(0,y.Z)({props:e,name:"MuiOutlinedInput"}),o=r.components,c=void 0===o?{}:o,d=r.fullWidth,h=void 0!==d&&d,f=r.inputComponent,x=void 0===f?"input":f,C=r.label,k=r.multiline,Z=void 0!==k&&k,E=r.notched,R=r.type,T=void 0===R?"text":R,A=(0,i.Z)(r,b),P=function(e){var t=e.classes,n=(0,l.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g.e,t);return(0,a.Z)({},t,n)}(r),M=(0,p.Z)(),O=(0,m.Z)({props:r,muiFormControl:M,states:["required"]});return(0,u.jsx)(v.ZP,(0,a.Z)({components:(0,a.Z)({Root:w,Input:S},c),renderSuffix:function(e){return(0,u.jsx)(_,{className:P.notchedOutline,label:null!=C&&""!==C&&O.required?n||(n=(0,u.jsxs)(s.Fragment,{children:[C,"\xa0","*"]})):C,notched:"undefined"!==typeof E?E:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:h,inputComponent:x,multiline:Z,ref:t,type:T},A,{classes:(0,a.Z)({},P,{notchedOutline:null})}))}));x.muiName="Input";var C=x},6059:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(7462),o=n(9818),i=n(2152),a=n(5891);function s(e){return(0,o.Z)("MuiOutlinedInput",e)}var l=(0,r.Z)({},a.Z,(0,i.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));t.Z=l},4841:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(2791),a=n(8182),s=n(2039),l=n(2065),c=n(7630),u=n(1402),d=n(8550),h=n(184),f=["className","component","elevation","square","variant"],p=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},m=(0,c.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:"1px solid ".concat(t.palette.divider)},"elevation"===n.variant&&(0,o.Z)({boxShadow:t.shadows[n.elevation]},"dark"===t.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,l.Fq)("#fff",p(n.elevation)),", ").concat((0,l.Fq)("#fff",p(n.elevation)),")")}))})),g=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiPaper"}),i=n.className,l=n.component,c=void 0===l?"div":l,p=n.elevation,g=void 0===p?1:p,v=n.square,y=void 0!==v&&v,b=n.variant,w=void 0===b?"elevation":b,_=(0,r.Z)(n,f),S=(0,o.Z)({},n,{component:c,elevation:g,square:y,variant:w}),x=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,s.Z)(i,d.J,o)}(S);return(0,h.jsx)(m,(0,o.Z)({as:c,ownerState:S,className:(0,a.Z)(x.root,i),ref:t},_))}));t.Z=g},8550:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiPaper",e)}var i=(0,n(2152).Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);t.Z=i},6207:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8182),s=n(2039),l=n(7630),c=n(1402),u=n(3199),d=n(8301),h=n(7602),f=n(2071),p=n(3208),m=n(6549),g=n(4841),v=n(2952),y=n(184),b=["onEntering"],w=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function _(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function S(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function x(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function C(e){return"function"===typeof e?e():e}var k=(0,l.ZP)(m.Z,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Z=(0,l.ZP)(g.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),E=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiPopover"}),l=n.action,m=n.anchorEl,g=n.anchorOrigin,E=void 0===g?{vertical:"top",horizontal:"left"}:g,R=n.anchorPosition,T=n.anchorReference,A=void 0===T?"anchorEl":T,P=n.children,M=n.className,O=n.container,L=n.elevation,I=void 0===L?8:L,D=n.marginThreshold,N=void 0===D?16:D,j=n.open,$=n.PaperProps,F=void 0===$?{}:$,z=n.transformOrigin,W=void 0===z?{vertical:"top",horizontal:"left"}:z,B=n.TransitionComponent,H=void 0===B?p.Z:B,U=n.transitionDuration,V=void 0===U?"auto":U,G=n.TransitionProps,q=(G=void 0===G?{}:G).onEntering,K=(0,o.Z)(n.TransitionProps,b),Y=(0,o.Z)(n,w),J=i.useRef(),X=(0,f.Z)(J,F.ref),Q=(0,r.Z)({},n,{anchorOrigin:E,anchorReference:A,elevation:I,marginThreshold:N,PaperProps:F,transformOrigin:W,TransitionComponent:H,transitionDuration:V,TransitionProps:K}),ee=function(e){var t=e.classes;return(0,s.Z)({root:["root"],paper:["paper"]},v.s,t)}(Q),te=i.useCallback((function(){if("anchorPosition"===A)return R;var e=C(m),t=(e&&1===e.nodeType?e:(0,d.Z)(J.current).body).getBoundingClientRect();return{top:t.top+_(t,E.vertical),left:t.left+S(t,E.horizontal)}}),[m,E.horizontal,E.vertical,R,A]),ne=i.useCallback((function(e){return{vertical:_(e,W.vertical),horizontal:S(e,W.horizontal)}}),[W.horizontal,W.vertical]),re=i.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=ne(t);if("none"===A)return{top:null,left:null,transformOrigin:x(n)};var r=te(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,s=i+t.width,l=(0,h.Z)(C(m)),c=l.innerHeight-N,u=l.innerWidth-N;if(oc){var f=a-c;o-=f,n.vertical+=f}if(iu){var g=s-u;i-=g,n.horizontal+=g}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:x(n)}}),[m,A,te,ne,N]),oe=i.useCallback((function(){var e=J.current;if(e){var t=re(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[re]);i.useEffect((function(){j&&oe()})),i.useImperativeHandle(l,(function(){return j?{updatePosition:function(){oe()}}:null}),[j,oe]),i.useEffect((function(){if(j){var e=(0,u.Z)((function(){oe()})),t=(0,h.Z)(m);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[m,j,oe]);var ie=V;"auto"!==V||H.muiSupportAuto||(ie=void 0);var ae=O||(m?(0,d.Z)(C(m)).body:void 0);return(0,y.jsx)(k,(0,r.Z)({BackdropProps:{invisible:!0},className:(0,a.Z)(ee.root,M),container:ae,open:j,ref:t,ownerState:Q},Y,{children:(0,y.jsx)(H,(0,r.Z)({appear:!0,in:j,onEntering:function(e,t){q&&q(e,t),oe()},timeout:ie},K,{children:(0,y.jsx)(Z,(0,r.Z)({elevation:I},F,{ref:X,className:(0,a.Z)(ee.paper,F.className),children:P}))}))}))}));t.ZP=E},2952:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiPopover",e)}var i=(0,n(2152).Z)("MuiPopover",["root","paper"]);t.Z=i},5892:function(e,t,n){"use strict";n.d(t,{Z:function(){return Oe}});var r=n(7462),o=n(9439),i=n(3366),a=n(7563),s=n(5721),l=n(9723);function c(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function u(e){return e instanceof c(e).Element||e instanceof Element}function d(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!==typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}var f=Math.max,p=Math.min,m=Math.round;function g(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(d(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=m(n.width)/a||1),i>0&&(o=m(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function v(e){var t=c(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function y(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return g(b(e)).left+v(e).scrollLeft}function _(e){return c(e).getComputedStyle(e)}function S(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function x(e,t,n){void 0===n&&(n=!1);var r=d(t),o=d(t)&&function(e){var t=e.getBoundingClientRect(),n=m(t.width)/e.offsetWidth||1,r=m(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=b(t),a=g(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==y(t)||S(i))&&(s=function(e){return e!==c(e)&&d(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:v(e);var t}(t)),d(t)?((l=g(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=w(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function C(e){var t=g(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||b(e)}function Z(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:d(e)&&S(e)?e:Z(k(e))}function E(e,t){var n;void 0===t&&(t=[]);var r=Z(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=c(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(E(k(a)))}function R(e){return["table","td","th"].indexOf(y(e))>=0}function T(e){return d(e)&&"fixed"!==_(e).position?e.offsetParent:null}function A(e){for(var t=c(e),n=T(e);n&&R(n)&&"static"===_(n).position;)n=T(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===_(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===_(e).position)return null;var n=k(e);for(h(n)&&(n=n.host);d(n)&&["html","body"].indexOf(y(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var P="top",M="bottom",O="right",L="left",I="auto",D=[P,M,O,L],N="start",j="end",$="viewport",F="popper",z=D.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+j])}),[]),W=[].concat(D,[I]).reduce((function(e,t){return e.concat([t,t+"-"+N,t+"-"+j])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function U(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var V={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Q(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?J(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case P:t={x:s,y:n.y-r.height};break;case M:t={x:s,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?X(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case N:t[c]=t[c]-(n[u]/2-r[u]/2);break;case j:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,f=a.x,p=void 0===f?0:f,g=a.y,v=void 0===g?0:g,y="function"===typeof d?d({x:p,y:v}):{x:p,y:v};p=y.x,v=y.y;var w=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),x=L,C=P,k=window;if(u){var Z=A(n),E="clientHeight",R="clientWidth";if(Z===c(n)&&"static"!==_(Z=b(n)).position&&"absolute"===s&&(E="scrollHeight",R="scrollWidth"),o===P||(o===L||o===O)&&i===j)C=M,v-=(h&&Z===k&&k.visualViewport?k.visualViewport.height:Z[E])-r.height,v*=l?1:-1;if(o===L||(o===P||o===M)&&i===j)x=O,p-=(h&&Z===k&&k.visualViewport?k.visualViewport.width:Z[R])-r.width,p*=l?1:-1}var T,I=Object.assign({position:s},u&&ee),D=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:m(t*r)/r||0,y:m(n*r)/r||0}}({x:p,y:v}):{x:p,y:v};return p=D.x,v=D.y,l?Object.assign({},I,((T={})[C]=S?"0":"",T[x]=w?"0":"",T.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",T)):Object.assign({},I,((t={})[C]=S?v+"px":"",t[x]=w?p+"px":"",t.transform="",t))}var ne={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce((function(e,n){return e[n]=function(e,t,n){var r=Y(e),o=[L,P].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[L,O].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},re={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var ie={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return ie[e]}))}function se(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function le(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ce(e,t){return t===$?le(function(e){var t=c(e),n=b(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+w(e),y:s}}(e)):u(t)?function(e){var t=g(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):le(function(e){var t,n=b(e),r=v(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=f(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=f(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+w(e),l=-r.scrollTop;return"rtl"===_(o||n).direction&&(s+=f(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(b(e)))}function ue(e,t,n){var r="clippingParents"===t?function(e){var t=E(k(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&d(e)?A(e):e;return u(n)?t.filter((function(e){return u(e)&&se(e,n)&&"body"!==y(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=ce(e,n);return t.top=f(r.top,t.top),t.right=p(r.right,t.right),t.bottom=p(r.bottom,t.bottom),t.left=f(r.left,t.left),t}),ce(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function de(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?$:s,c=n.elementContext,d=void 0===c?F:c,h=n.altBoundary,f=void 0!==h&&h,p=n.padding,m=void 0===p?0:p,v=de("number"!==typeof m?m:he(m,D)),y=d===F?"reference":F,w=e.rects.popper,_=e.elements[f?y:d],S=ue(u(_)?_:_.contextElement||b(e.elements.popper),a,l),x=g(e.elements.reference),C=Q({reference:x,element:w,strategy:"absolute",placement:o}),k=le(Object.assign({},w,C)),Z=d===F?k:x,E={top:S.top-Z.top+v.top,bottom:Z.bottom-S.bottom+v.bottom,left:S.left-Z.left+v.left,right:Z.right-S.right+v.right},R=e.modifiersData.offset;if(d===F&&R){var T=R[o];Object.keys(E).forEach((function(e){var t=[O,M].indexOf(e)>=0?1:-1,n=[P,M].indexOf(e)>=0?"y":"x";E[e]+=T[n]*t}))}return E}function pe(e,t,n){return f(e,p(t,n))}var me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=fe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Y(t.placement),w=J(t.placement),_=!w,S=X(b),x="x"===S?"y":"x",k=t.modifiersData.popperOffsets,Z=t.rects.reference,E=t.rects.popper,R="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,T="number"===typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(k){if(i){var j,$="y"===S?P:L,F="y"===S?M:O,z="y"===S?"height":"width",W=k[S],B=W+y[$],H=W-y[F],U=m?-E[z]/2:0,V=w===N?Z[z]:E[z],G=w===N?-E[z]:-Z[z],q=t.elements.arrow,K=m&&q?C(q):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[$],te=Q[F],ne=pe(0,Z[z],K[z]),re=_?Z[z]/2-U-ne-ee-T.mainAxis:V-ne-ee-T.mainAxis,oe=_?-Z[z]/2+U+ne+te+T.mainAxis:G+ne+te+T.mainAxis,ie=t.elements.arrow&&A(t.elements.arrow),ae=ie?"y"===S?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(j=null==I?void 0:I[S])?j:0,le=W+oe-se,ce=pe(m?p(B,W+re-se-ae):B,W,m?f(H,le):H);k[S]=ce,D[S]=ce-W}if(s){var ue,de="x"===S?P:L,he="x"===S?M:O,me=k[x],ge="y"===x?"height":"width",ve=me+y[de],ye=me-y[he],be=-1!==[P,L].indexOf(b),we=null!=(ue=null==I?void 0:I[x])?ue:0,_e=be?ve:me-Z[ge]-E[ge]-we+T.altAxis,Se=be?me+Z[ge]+E[ge]-we-T.altAxis:ye,xe=m&&be?function(e,t,n){var r=pe(e,t,n);return r>n?n:r}(_e,me,Se):pe(m?_e:ve,me,m?Se:ye);k[x]=xe,D[x]=xe-me}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),l=X(s),c=[L,O].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return de("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:he(e,D))}(o.padding,n),d=C(i),h="y"===l?P:L,f="y"===l?M:O,p=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=A(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,b=u[h],w=v-d[c]-u[f],_=v/2-d[c]/2+y,S=pe(b,_,w),x=l;n.modifiersData[r]=((t={})[x]=S,t.centerOffset=S-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&se(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[P,O,M,L].some((function(t){return e[t]>=0}))}var be=q({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=c(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,K)})),s&&l.addEventListener("resize",n.update,K),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,K)})),s&&l.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Q({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:Y(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];d(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});d(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ne,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Y(g),y=l||(v===g||!p?[oe(g)]:function(e){if(Y(e)===I)return[];var t=oe(e);return[ae(e),t,ae(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(Y(n)===I?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?W:l,u=J(r),d=u?s?z:z.filter((function(e){return J(e)===u})):D,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var f=h.reduce((function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Y(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,S=new Map,x=!0,C=b[0],k=0;k=0,A=T?"width":"height",j=fe(t,{placement:Z,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),$=T?R?O:L:R?M:P;w[A]>_[A]&&($=oe($));var F=oe($),B=[];if(i&&B.push(j[E]<=0),s&&B.push(j[$]<=0,j[F]<=0),B.every((function(e){return e}))){C=Z,x=!1;break}S.set(Z,B)}if(x)for(var H=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},U=p?3:1;U>0;U--){if("break"===H(U))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},me,ge,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),l=ve(a,r),c=ve(s,o,i),u=ye(l),d=ye(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),we=n(2791),_e=n(6174),Se=n(184),xe=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Ce=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function ke(e){return"function"===typeof e?e():e}var Ze={},Ee=we.forwardRef((function(e,t){var n=e.anchorEl,l=e.children,c=e.direction,u=e.disablePortal,d=e.modifiers,h=e.open,f=e.placement,p=e.popperOptions,m=e.popperRef,g=e.TransitionProps,v=(0,i.Z)(e,xe),y=we.useRef(null),b=(0,a.Z)(y,t),w=we.useRef(null),_=(0,a.Z)(w,m),S=we.useRef(_);(0,s.Z)((function(){S.current=_}),[_]),we.useImperativeHandle(m,(function(){return w.current}),[]);var x=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,c),C=we.useState(x),k=(0,o.Z)(C,2),Z=k[0],E=k[1];we.useEffect((function(){w.current&&w.current.forceUpdate()})),(0,s.Z)((function(){if(n&&h){ke(n);var e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;E(t.placement)}}];null!=d&&(e=e.concat(d)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));var t=be(ke(n),y.current,(0,r.Z)({placement:x},p,{modifiers:e}));return S.current(t),function(){t.destroy(),S.current(null)}}}),[n,u,d,h,p,x]);var R={placement:Z};return null!==g&&(R.TransitionProps=g),(0,Se.jsx)("div",(0,r.Z)({ref:b,role:"tooltip"},v,{children:"function"===typeof l?l(R):l}))})),Re=we.forwardRef((function(e,t){var n=e.anchorEl,a=e.children,s=e.container,c=e.direction,u=void 0===c?"ltr":c,d=e.disablePortal,h=void 0!==d&&d,f=e.keepMounted,p=void 0!==f&&f,m=e.modifiers,g=e.open,v=e.placement,y=void 0===v?"bottom":v,b=e.popperOptions,w=void 0===b?Ze:b,_=e.popperRef,S=e.style,x=e.transition,C=void 0!==x&&x,k=(0,i.Z)(e,Ce),Z=we.useState(!0),E=(0,o.Z)(Z,2),R=E[0],T=E[1];if(!p&&!g&&(!C||R))return null;var A=s||(n?(0,l.Z)(ke(n)).body:void 0);return(0,Se.jsx)(_e.Z,{disablePortal:h,container:A,children:(0,Se.jsx)(Ee,(0,r.Z)({anchorEl:n,direction:u,disablePortal:h,modifiers:m,ref:t,open:C?!R:g,placement:y,popperOptions:w,popperRef:_},k,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:g||!p||C&&!R?null:"none"},S),TransitionProps:C?{in:g,onEnter:function(){T(!1)},onExited:function(){T(!0)}}:null,children:a}))})})),Te=n(9120),Ae=n(7630),Pe=n(1402),Me=(0,Ae.ZP)(Re,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Oe=we.forwardRef((function(e,t){var n=(0,Te.Z)(),o=(0,Pe.Z)({props:e,name:"MuiPopper"});return(0,Se.jsx)(Me,(0,r.Z)({direction:null==n?void 0:n.direction},o,{ref:t}))}))},4701:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r,o=n(7462),i=n(3366),a=n(2791),s=n(8182),l=n(2466),c=n(9439),u=n(4942),d=n(6189),h=(n(7441),n(2039)),f=n(8301),p=n(4036),m=n(2744),g=n(9916),v=n(5470),y=n(7630),b=n(2071),w=n(8278),_=n(8294),S=n(184),x=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],C=(0,y.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"&.".concat(_.Z.select),t.select),(0,u.Z)({},"&.".concat(_.Z.select),t[n.variant]),(0,u.Z)({},"&.".concat(_.Z.multiple),t.multiple)]}})(g.wU,(0,u.Z)({},"&.".concat(_.Z.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),k=(0,y.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,p.Z)(n.variant))],n.open&&t.iconOpen]}})(g.SJ),Z=(0,y.ZP)("input",{shouldForwardProp:function(e){return(0,y.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function E(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function R(e){return null==e||"string"===typeof e&&!e.trim()}var T,A,P=a.forwardRef((function(e,t){var n=e["aria-describedby"],l=e["aria-label"],u=e.autoFocus,g=e.autoWidth,y=e.children,T=e.className,A=e.defaultOpen,P=e.defaultValue,M=e.disabled,O=e.displayEmpty,L=e.IconComponent,I=e.inputRef,D=e.labelId,N=e.MenuProps,j=void 0===N?{}:N,$=e.multiple,F=e.name,z=e.onBlur,W=e.onChange,B=e.onClose,H=e.onFocus,U=e.onOpen,V=e.open,G=e.readOnly,q=e.renderValue,K=e.SelectDisplayProps,Y=void 0===K?{}:K,J=e.tabIndex,X=e.value,Q=e.variant,ee=void 0===Q?"standard":Q,te=(0,i.Z)(e,x),ne=(0,w.Z)({controlled:X,default:P,name:"Select"}),re=(0,c.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,w.Z)({controlled:V,default:A,name:"Select"}),se=(0,c.Z)(ae,2),le=se[0],ce=se[1],ue=a.useRef(null),de=a.useRef(null),he=a.useState(null),fe=(0,c.Z)(he,2),pe=fe[0],me=fe[1],ge=a.useRef(null!=V).current,ve=a.useState(),ye=(0,c.Z)(ve,2),be=ye[0],we=ye[1],_e=(0,b.Z)(t,I),Se=a.useCallback((function(e){de.current=e,e&&me(e)}),[]);a.useImperativeHandle(_e,(function(){return{focus:function(){de.current.focus()},node:ue.current,value:oe}}),[oe]),a.useEffect((function(){A&&le&&pe&&!ge&&(we(g?null:pe.clientWidth),de.current.focus())}),[pe,g]),a.useEffect((function(){u&&de.current.focus()}),[u]),a.useEffect((function(){if(D){var e=(0,f.Z)(de.current).getElementById(D);if(e){var t=function(){getSelection().isCollapsed&&de.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[D]);var xe,Ce,ke=function(e,t){e?U&&U(t):B&&B(t),ge||(we(g?null:pe.clientWidth),ce(e))},Ze=a.Children.toArray(y),Ee=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if($){n=Array.isArray(oe)?oe.slice():[];var r=oe.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),oe!==n&&(ie(n),W)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:F}}),W(i,e)}$||ke(!1,t)}}},Re=null!==pe&≤delete te["aria-invalid"];var Te=[],Ae=!1;((0,v.vd)({value:oe})||O)&&(q?xe=q(oe):Ae=!0);var Pe=Ze.map((function(e,t,n){if(!a.isValidElement(e))return null;var r;if($){if(!Array.isArray(oe))throw new Error((0,d.Z)(2));(r=oe.some((function(t){return E(t,e.props.value)})))&&Ae&&Te.push(e.props.children)}else(r=E(oe,e.props.value))&&Ae&&(Ce=e.props.children);if(r&&!0,void 0===e.props.value)return a.cloneElement(e,{"aria-readonly":!0,role:"option"});return a.cloneElement(e,{"aria-selected":r?"true":"false",onClick:Ee(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?function(){if(oe)return r;var t=n.find((function(e){return void 0!==e.props.value&&!0!==e.props.disabled}));return e===t||r}():r,value:void 0,"data-value":e.props.value})}));Ae&&(xe=$?0===Te.length?null:Te.reduce((function(e,t,n){return e.push(t),n .".concat(f.Z.iconWrapper),(0,i.Z)({},"top"===s.iconPosition&&{marginBottom:6},"bottom"===s.iconPosition&&{marginTop:6},"start"===s.iconPosition&&{marginRight:a.spacing(1)},"end"===s.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===s.textColor&&(t={color:"inherit",opacity:.6},(0,r.Z)(t,"&.".concat(f.Z.selected),{opacity:1}),(0,r.Z)(t,"&.".concat(f.Z.disabled),{opacity:(a.vars||a).palette.action.disabledOpacity}),t),"primary"===s.textColor&&(n={color:(a.vars||a).palette.text.secondary},(0,r.Z)(n,"&.".concat(f.Z.selected),{color:(a.vars||a).palette.primary.main}),(0,r.Z)(n,"&.".concat(f.Z.disabled),{color:(a.vars||a).palette.text.disabled}),n),"secondary"===s.textColor&&(o={color:(a.vars||a).palette.text.secondary},(0,r.Z)(o,"&.".concat(f.Z.selected),{color:(a.vars||a).palette.secondary.main}),(0,r.Z)(o,"&.".concat(f.Z.disabled),{color:(a.vars||a).palette.text.disabled}),o),s.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},s.wrapped&&{fontSize:a.typography.pxToRem(12)})})),v=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiTab"}),r=n.className,c=n.disabled,h=void 0!==c&&c,v=n.disableFocusRipple,y=void 0!==v&&v,b=n.fullWidth,w=n.icon,_=n.iconPosition,S=void 0===_?"top":_,x=n.indicator,C=n.label,k=n.onChange,Z=n.onClick,E=n.onFocus,R=n.selected,T=n.selectionFollowsFocus,A=n.textColor,P=void 0===A?"inherit":A,M=n.value,O=n.wrapped,L=void 0!==O&&O,I=(0,o.Z)(n,m),D=(0,i.Z)({},n,{disabled:h,disableFocusRipple:y,selected:R,icon:!!w,iconPosition:S,label:!!C,fullWidth:b,textColor:P,wrapped:L}),N=function(e){var t=e.classes,n=e.textColor,r=e.fullWidth,o=e.wrapped,i=e.icon,a=e.label,s=e.selected,c=e.disabled,d={root:["root",i&&a&&"labelIcon","textColor".concat((0,u.Z)(n)),r&&"fullWidth",o&&"wrapped",s&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,l.Z)(d,f.V,t)}(D),j=w&&C&&a.isValidElement(w)?a.cloneElement(w,{className:(0,s.Z)(N.iconWrapper,w.props.className)}):w;return(0,p.jsxs)(g,(0,i.Z)({focusRipple:!y,className:(0,s.Z)(N.root,r),ref:t,role:"tab","aria-selected":R,disabled:h,onClick:function(e){!R&&k&&k(e,M),Z&&Z(e)},onFocus:function(e){T&&!R&&k&&k(e,M),E&&E(e)},ownerState:D,tabIndex:R?0:-1},I,{children:["top"===S||"start"===S?(0,p.jsxs)(a.Fragment,{children:[j,C]}):(0,p.jsxs)(a.Fragment,{children:[C,j]}),x]}))}));t.Z=v},3901:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTab",e)}var i=(0,n(2152).Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);t.Z=i},2155:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8182),s=n(2039),l=n(829),c=n(1402),u=n(7630),d=n(4417),h=n(184),f=["className","component"],p=(0,u.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-row-group"}),m={variant:"body"},g="tbody",v=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiTableBody"}),i=n.className,u=n.component,v=void 0===u?g:u,y=(0,o.Z)(n,f),b=(0,r.Z)({},n,{component:v}),w=function(e){var t=e.classes;return(0,s.Z)({root:["root"]},d.j,t)}(b);return(0,h.jsx)(l.Z.Provider,{value:m,children:(0,h.jsx)(p,(0,r.Z)({className:(0,a.Z)(w.root,i),as:v,ref:t,role:v===g?null:"rowgroup",ownerState:b},y))})}));t.Z=v},4417:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableBody",e)}var i=(0,n(2152).Z)("MuiTableBody",["root"]);t.Z=i},8745:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(4036),d=n(6646),h=n(829),f=n(1402),p=n(7630),m=n(618),g=n(184),v=["align","className","component","padding","scope","size","sortDirection","variant"],y=(0,p.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,u.Z)(n.size))],"normal"!==n.padding&&t["padding".concat((0,u.Z)(n.padding))],"inherit"!==n.align&&t["align".concat((0,u.Z)(n.align))],n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===t.palette.mode?(0,c.$n)((0,c.Fq)(t.palette.divider,1),.88):(0,c._j)((0,c.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:t.palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:t.palette.text.primary},"footer"===n.variant&&{color:t.palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&(0,r.Z)({padding:"6px 16px"},"&.".concat(m.Z.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:t.palette.background.default})})),b=a.forwardRef((function(e,t){var n,r=(0,f.Z)({props:e,name:"MuiTableCell"}),c=r.align,p=void 0===c?"inherit":c,b=r.className,w=r.component,_=r.padding,S=r.scope,x=r.size,C=r.sortDirection,k=r.variant,Z=(0,o.Z)(r,v),E=a.useContext(d.Z),R=a.useContext(h.Z),T=R&&"head"===R.variant;n=w||(T?"th":"td");var A=S;!A&&T&&(A="col");var P=k||R&&R.variant,M=(0,i.Z)({},r,{align:p,component:n,padding:_||(E&&E.padding?E.padding:"normal"),size:x||(E&&E.size?E.size:"medium"),sortDirection:C,stickyHeader:"head"===P&&E&&E.stickyHeader,variant:P}),O=function(e){var t=e.classes,n=e.variant,r=e.align,o=e.padding,i=e.size,a={root:["root",n,e.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat((0,u.Z)(r)),"normal"!==o&&"padding".concat((0,u.Z)(o)),"size".concat((0,u.Z)(i))]};return(0,l.Z)(a,m.U,t)}(M),L=null;return C&&(L="asc"===C?"ascending":"descending"),(0,g.jsx)(y,(0,i.Z)({as:n,ref:t,className:(0,s.Z)(O.root,b),"aria-sort":L,scope:A,ownerState:M},Z))}));t.Z=b},618:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableCell",e)}var i=(0,n(2152).Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);t.Z=i},2041:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8182),s=n(2039),l=n(829),c=n(1402),u=n(7630),d=n(5921),h=n(184),f=["className","component"],p=(0,u.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),m={variant:"head"},g="thead",v=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiTableHead"}),i=n.className,u=n.component,v=void 0===u?g:u,y=(0,o.Z)(n,f),b=(0,r.Z)({},n,{component:v}),w=function(e){var t=e.classes;return(0,s.Z)({root:["root"]},d.s,t)}(b);return(0,h.jsx)(l.Z.Provider,{value:m,children:(0,h.jsx)(p,(0,r.Z)({as:v,className:(0,a.Z)(w.root,i),ref:t,role:v===g?null:"rowgroup",ownerState:b},y))})}));t.Z=v},5921:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableHead",e)}var i=(0,n(2152).Z)("MuiTableHead",["root"]);t.Z=i},9195:function(e,t,n){"use strict";var r=n(4942),o=n(7462),i=n(3366),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(829),d=n(1402),h=n(7630),f=n(1613),p=n(184),m=["className","component","hover","selected"],g=(0,h.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((function(e){var t,n=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,r.Z)(t,"&.".concat(f.Z.hover,":hover"),{backgroundColor:(n.vars||n).palette.action.hover}),(0,r.Z)(t,"&.".concat(f.Z.selected),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),t})),v=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiTableRow"}),r=n.className,c=n.component,h=void 0===c?"tr":c,v=n.hover,y=void 0!==v&&v,b=n.selected,w=void 0!==b&&b,_=(0,i.Z)(n,m),S=a.useContext(u.Z),x=(0,o.Z)({},n,{component:h,hover:y,selected:w,head:S&&"head"===S.variant,footer:S&&"footer"===S.variant}),C=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,l.Z)(n,f.G,t)}(x);return(0,p.jsx)(g,(0,o.Z)({as:h,ref:t,className:(0,s.Z)(C.root,r),role:"tr"===h?null:"row",ownerState:x},_))}));t.Z=v},1613:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableRow",e)}var i=(0,n(2152).Z)("MuiTableRow",["root","selected","hover","head","footer"]);t.Z=i},4764:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(4942),o=n(3366),i=n(7462),a=n(2039),s=n(8182),l=n(2791),c=n(2863),u=n(4223),d=n(184),h=(0,u.Z)((0,d.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),f=n(7630),p=n(1402),m=n(4036),g=n(1668),v=["active","children","className","direction","hideSortIcon","IconComponent"],y=(0,f.ZP)(c.Z,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.active&&t.active]}})((function(e){var t=e.theme;return(0,r.Z)({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(t.vars||t).palette.text.secondary},"&:hover":(0,r.Z)({color:(t.vars||t).palette.text.secondary},"& .".concat(g.Z.icon),{opacity:.5})},"&.".concat(g.Z.active),(0,r.Z)({color:(t.vars||t).palette.text.primary},"& .".concat(g.Z.icon),{opacity:1,color:(t.vars||t).palette.text.secondary}))})),b=(0,f.ZP)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,t["iconDirection".concat((0,m.Z)(n.direction))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none"},"desc"===n.direction&&{transform:"rotate(0deg)"},"asc"===n.direction&&{transform:"rotate(180deg)"})})),w=l.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiTableSortLabel"}),r=n.active,l=void 0!==r&&r,c=n.children,u=n.className,f=n.direction,w=void 0===f?"asc":f,_=n.hideSortIcon,S=void 0!==_&&_,x=n.IconComponent,C=void 0===x?h:x,k=(0,o.Z)(n,v),Z=(0,i.Z)({},n,{active:l,direction:w,hideSortIcon:S,IconComponent:C}),E=function(e){var t=e.classes,n=e.direction,r={root:["root",e.active&&"active"],icon:["icon","iconDirection".concat((0,m.Z)(n))]};return(0,a.Z)(r,g.l,t)}(Z);return(0,d.jsxs)(y,(0,i.Z)({className:(0,s.Z)(E.root,u),component:"span",disableRipple:!0,ownerState:Z,ref:t},k,{children:[c,S&&!l?null:(0,d.jsx)(b,{as:C,className:(0,s.Z)(E.icon),ownerState:Z})]}))}))},1668:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableSortLabel",e)}var i=(0,n(2152).Z)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);t.Z=i},3768:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(2791),a=n(8182),s=n(2039),l=n(6646),c=n(1402),u=n(7630),d=n(5275),h=n(184),f=["className","component","padding","size","stickyHeader"],p=(0,u.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,o.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),m="table",g=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiTable"}),u=n.className,g=n.component,v=void 0===g?m:g,y=n.padding,b=void 0===y?"normal":y,w=n.size,_=void 0===w?"medium":w,S=n.stickyHeader,x=void 0!==S&&S,C=(0,r.Z)(n,f),k=(0,o.Z)({},n,{component:v,padding:b,size:_,stickyHeader:x}),Z=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,s.Z)(n,d.K,t)}(k),E=i.useMemo((function(){return{padding:b,size:_,stickyHeader:x}}),[b,_,x]);return(0,h.jsx)(l.Z.Provider,{value:E,children:(0,h.jsx)(p,(0,o.Z)({as:v,role:v===m?null:"table",ref:t,className:(0,a.Z)(Z.root,u),ownerState:k},C))})}));t.Z=g},6646:function(e,t,n){"use strict";var r=n(2791).createContext();t.Z=r},829:function(e,t,n){"use strict";var r=n(2791).createContext();t.Z=r},5275:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTable",e)}var i=(0,n(2152).Z)("MuiTable",["root","stickyHeader"]);t.Z=i},9347:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r,o=n(9439),i=n(4942),a=n(3366),s=n(7462),l=n(2791),c=(n(7441),n(8182)),u=n(2039),d=n(7630),h=n(1402),f=n(3967),p=n(3199);function m(){if(r)return r;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function g(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(m()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function y(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?v:i,s=r.duration,l=void 0===s?300:s,c=null,u=t[e],d=!1,h=function(){d=!0},f=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);t[e]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};return u===n?(o(new Error("Element already at target position")),h):(requestAnimationFrame(f),h)}var b=n(7602),w=n(184),_=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var x=n(1157),C=n(9683),k=n(5860),Z=n(8301),E=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],R=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},T=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},A=function(e,t,n){for(var r=!1,o=n(e,t);o;){if(o===e.firstChild){if(r)return;r=!0}var i=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!i)return void o.focus();o=n(e,o)}},P=(0,d.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,i.Z)({},"& .".concat(k.Z.scrollButtons),t.scrollButtons),(0,i.Z)({},"& .".concat(k.Z.scrollButtons),n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,n.vertical&&t.vertical]}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,i.Z)({},"& .".concat(k.Z.scrollButtons),(0,i.Z)({},n.breakpoints.down("sm"),{display:"none"})))})),M=(0,d.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var n=e.ownerState;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,s.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),O=(0,d.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var n=e.ownerState;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,s.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),L=(0,d.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),I=(0,d.ZP)((function(e){var t=e.onChange,n=(0,a.Z)(e,_),r=l.useRef(),o=l.useRef(null),i=function(){r.current=o.current.offsetHeight-o.current.clientHeight};return l.useEffect((function(){var e=(0,p.Z)((function(){var e=r.current;i(),e!==r.current&&t(r.current)})),n=(0,b.Z)(o.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}),[t]),l.useEffect((function(){i(),t(r.current)}),[t]),(0,w.jsx)("div",(0,s.Z)({style:S,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),D={},N=l.forwardRef((function(e,t){var n=(0,h.Z)({props:e,name:"MuiTabs"}),r=(0,f.Z)(),d="rtl"===r.direction,v=n["aria-label"],_=n["aria-labelledby"],S=n.action,N=n.centered,j=void 0!==N&&N,$=n.children,F=n.className,z=n.component,W=void 0===z?"div":z,B=n.allowScrollButtonsMobile,H=void 0!==B&&B,U=n.indicatorColor,V=void 0===U?"primary":U,G=n.onChange,q=n.orientation,K=void 0===q?"horizontal":q,Y=n.ScrollButtonComponent,J=void 0===Y?x.Z:Y,X=n.scrollButtons,Q=void 0===X?"auto":X,ee=n.selectionFollowsFocus,te=n.TabIndicatorProps,ne=void 0===te?{}:te,re=n.TabScrollButtonProps,oe=void 0===re?{}:re,ie=n.textColor,ae=void 0===ie?"primary":ie,se=n.value,le=n.variant,ce=void 0===le?"standard":le,ue=n.visibleScrollbar,de=void 0!==ue&&ue,he=(0,a.Z)(n,E),fe="scrollable"===ce,pe="vertical"===K,me=pe?"scrollTop":"scrollLeft",ge=pe?"top":"left",ve=pe?"bottom":"right",ye=pe?"clientHeight":"clientWidth",be=pe?"height":"width",we=(0,s.Z)({},n,{component:W,allowScrollButtonsMobile:H,indicatorColor:V,orientation:K,vertical:pe,scrollButtons:Q,textColor:ae,variant:ce,visibleScrollbar:de,fixed:!fe,hideScrollbar:fe&&!de,scrollableX:fe&&!pe,scrollableY:fe&&pe,centered:j&&!fe,scrollButtonsHideMobile:!H}),_e=function(e){var t=e.vertical,n=e.fixed,r=e.hideScrollbar,o=e.scrollableX,i=e.scrollableY,a=e.centered,s=e.scrollButtonsHideMobile,l=e.classes,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,u.Z)(c,k.m,l)}(we);var Se=l.useState(!1),xe=(0,o.Z)(Se,2),Ce=xe[0],ke=xe[1],Ze=l.useState(D),Ee=(0,o.Z)(Ze,2),Re=Ee[0],Te=Ee[1],Ae=l.useState({start:!1,end:!1}),Pe=(0,o.Z)(Ae,2),Me=Pe[0],Oe=Pe[1],Le=l.useState({overflow:"hidden",scrollbarWidth:0}),Ie=(0,o.Z)(Le,2),De=Ie[0],Ne=Ie[1],je=new Map,$e=l.useRef(null),Fe=l.useRef(null),ze=function(){var e,t,n=$e.current;if(n){var o=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:g(n,r.direction),scrollWidth:n.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(n&&!1!==se){var i=Fe.current.children;if(i.length>0){var a=i[je.get(se)];0,t=a?a.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},We=(0,C.Z)((function(){var e,t,n=ze(),r=n.tabsMeta,o=n.tabMeta,a=0;if(pe)t="top",o&&r&&(a=o.top-r.top+r.scrollTop);else if(t=d?"right":"left",o&&r){var s=d?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=(d?-1:1)*(o[t]-r[t]+s)}var l=(e={},(0,i.Z)(e,t,a),(0,i.Z)(e,be,o?o[be]:0),e);if(isNaN(Re[t])||isNaN(Re[be]))Te(l);else{var c=Math.abs(Re[t]-l[t]),u=Math.abs(Re[be]-l[be]);(c>=1||u>=1)&&Te(l)}})),Be=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.animation,o=void 0===n||n;o?y(me,$e.current,e,{duration:r.transitions.duration.standard}):$e.current[me]=e},He=function(e){var t=$e.current[me];pe?t+=e:(t+=e*(d?-1:1),t*=d&&"reverse"===m()?-1:1),Be(t)},Ue=function(){for(var e=$e.current[ye],t=0,n=Array.from(Fe.current.children),r=0;re)break;t+=o[ye]}return t},Ve=function(){He(-1*Ue())},Ge=function(){He(Ue())},qe=l.useCallback((function(e){Ne({overflow:null,scrollbarWidth:e})}),[]),Ke=(0,C.Z)((function(e){var t=ze(),n=t.tabsMeta,r=t.tabMeta;if(r&&n)if(r[ge]n[ve]){var i=n[me]+(r[ve]-n[ve]);Be(i,{animation:e})}})),Ye=(0,C.Z)((function(){if(fe&&!1!==Q){var e,t,n=$e.current,o=n.scrollTop,i=n.scrollHeight,a=n.clientHeight,s=n.scrollWidth,l=n.clientWidth;if(pe)e=o>1,t=o1,t=d?c>1:c :not(:first-of-type)":{marginLeft:8}})})),D=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAccordionActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=(0,h.Z)(n,L),s=(0,f.Z)({},n,{disableSpacing:i}),l=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,v.Z)(n,M,t)}(s);return(0,R.jsx)(I,(0,f.Z)({className:(0,g.Z)(l.root,r),ref:t,ownerState:s},a))}));function N(e){return(0,C.Z)("MuiAccordionDetails",e)}var j=(0,k.Z)("MuiAccordionDetails",["root"]),$=["className"],F=(0,y.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{padding:e.theme.spacing(1,2,2)}})),z=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAccordionDetails"}),r=n.className,o=(0,h.Z)(n,$),i=n,a=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},N,t)}(i);return(0,R.jsx)(F,(0,f.Z)({className:(0,g.Z)(a.root,r),ref:t,ownerState:i},o))})),W=n(2863);function B(e){return(0,C.Z)("MuiAccordionSummary",e)}var H=(0,k.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),U=["children","className","expandIcon","focusVisibleClassName","onClick"],V=(0,y.ZP)(W.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState,o={duration:n.transitions.duration.shortest};return(0,f.Z)((t={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],o)},(0,d.Z)(t,"&.".concat(H.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,d.Z)(t,"&.".concat(H.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,d.Z)(t,"&:hover:not(.".concat(H.disabled,")"),{cursor:"pointer"}),t),!r.disableGutters&&(0,d.Z)({},"&.".concat(H.expanded),{minHeight:64}))})),G=(0,y.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&(0,d.Z)({transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest})},"&.".concat(H.expanded),{margin:"20px 0"}))})),q=(0,y.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(e,t){return t.expandIconWrapper}})((function(e){var t=e.theme;return(0,d.Z)({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest})},"&.".concat(H.expanded),{transform:"rotate(180deg)"})})),K=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAccordionSummary"}),r=n.children,o=n.className,i=n.expandIcon,a=n.focusVisibleClassName,s=n.onClick,l=(0,h.Z)(n,U),c=p.useContext(S),u=c.disabled,d=void 0!==u&&u,m=c.disableGutters,y=c.expanded,w=c.toggle,_=(0,f.Z)({},n,{expanded:y,disabled:d,disableGutters:m}),x=function(e){var t=e.classes,n=e.expanded,r=e.disabled,o=e.disableGutters,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,v.Z)(i,B,t)}(_);return(0,R.jsxs)(V,(0,f.Z)({focusRipple:!1,disableRipple:!0,disabled:d,component:"div","aria-expanded":y,className:(0,g.Z)(x.root,o),focusVisibleClassName:(0,g.Z)(x.focusVisible,a),onClick:function(e){w&&w(e),s&&s(e)},ref:t,ownerState:_},l,{children:[(0,R.jsx)(G,{className:x.content,ownerState:_,children:r}),i&&(0,R.jsx)(q,{className:x.expandIconWrapper,ownerState:_,children:i})]}))})),Y=n(2065),J=n(4036);function X(e){return(0,C.Z)("MuiAlert",e)}var Q,ee=(0,k.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),te=n(977),ne=n(4223),re=(0,ne.Z)((0,R.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),oe=(0,ne.Z)((0,R.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ie=(0,ne.Z)((0,R.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),ae=(0,ne.Z)((0,R.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),se=(0,ne.Z)((0,R.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),le=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],ce=(0,y.ZP)(_.Z,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,J.Z)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?Y._j:Y.$n,o="light"===t.palette.mode?Y.$n:Y._j,i=n.color||n.severity;return(0,f.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&"standard"===n.variant&&(0,d.Z)({color:r(t.palette[i].light,.6),backgroundColor:o(t.palette[i].light,.9)},"& .".concat(ee.icon),{color:"dark"===t.palette.mode?t.palette[i].main:t.palette[i].light}),i&&"outlined"===n.variant&&(0,d.Z)({color:r(t.palette[i].light,.6),border:"1px solid ".concat(t.palette[i].light)},"& .".concat(ee.icon),{color:"dark"===t.palette.mode?t.palette[i].main:t.palette[i].light}),i&&"filled"===n.variant&&{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:"dark"===t.palette.mode?t.palette[i].dark:t.palette[i].main})})),ue=(0,y.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),de=(0,y.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0"}),he=(0,y.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),fe={success:(0,R.jsx)(re,{fontSize:"inherit"}),warning:(0,R.jsx)(oe,{fontSize:"inherit"}),error:(0,R.jsx)(ie,{fontSize:"inherit"}),info:(0,R.jsx)(ae,{fontSize:"inherit"})},pe=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAlert"}),r=n.action,o=n.children,i=n.className,a=n.closeText,s=void 0===a?"Close":a,l=n.color,c=n.icon,u=n.iconMapping,d=void 0===u?fe:u,p=n.onClose,m=n.role,y=void 0===m?"alert":m,w=n.severity,_=void 0===w?"success":w,S=n.variant,x=void 0===S?"standard":S,C=(0,h.Z)(n,le),k=(0,f.Z)({},n,{color:l,severity:_,variant:x}),Z=function(e){var t=e.variant,n=e.color,r=e.severity,o=e.classes,i={root:["root","".concat(t).concat((0,J.Z)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,v.Z)(i,X,o)}(k);return(0,R.jsxs)(ce,(0,f.Z)({role:y,elevation:0,ownerState:k,className:(0,g.Z)(Z.root,i),ref:t},C,{children:[!1!==c?(0,R.jsx)(ue,{ownerState:k,className:Z.icon,children:c||d[_]||fe[_]}):null,(0,R.jsx)(de,{ownerState:k,className:Z.message,children:o}),null!=r?(0,R.jsx)(he,{className:Z.action,children:r}):null,null==r&&p?(0,R.jsx)(he,{ownerState:k,className:Z.action,children:(0,R.jsx)(te.Z,{size:"small","aria-label":s,title:s,color:"inherit",onClick:p,children:Q||(Q=(0,R.jsx)(se,{fontSize:"small"}))})}):null]}))})),me=n(4567);function ge(e){return(0,C.Z)("MuiAlertTitle",e)}var ve=(0,k.Z)("MuiAlertTitle",["root"]),ye=["className"],be=(0,y.ZP)(me.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{fontWeight:e.theme.typography.fontWeightMedium,marginTop:-2}})),we=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAlertTitle"}),r=n.className,o=(0,h.Z)(n,ye),i=n,a=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},ge,t)}(i);return(0,R.jsx)(be,(0,f.Z)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:(0,g.Z)(a.root,r)},o))})),_e=n(2800),Se=n(9218),xe=n(6248),Ce=n(8959),ke=n(8956),Ze=n(2971);function Ee(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreAccents,n=void 0===t||t,r=e.ignoreCase,o=void 0===r||r,i=e.limit,a=e.matchFrom,s=void 0===a?"any":a,l=e.stringify,c=e.trim,u=void 0!==c&&c;return function(e,t){var r=t.inputValue,a=t.getOptionLabel,c=u?r.trim():r;o&&(c=c.toLowerCase()),n&&(c=Ee(c));var d=e.filter((function(e){var t=(l||a)(e);return o&&(t=t.toLowerCase()),n&&(t=Ee(t)),"start"===s?0===t.indexOf(c):t.indexOf(c)>-1}));return"number"===typeof i?d.slice(0,i):d}}function Te(e,t){for(var n=0;n0&&!ae,rt=(0,ke.Z)((function(e){-1===e?fe.current.focus():ve.querySelector('[data-tag-index="'.concat(e,'"]')).focus()}));p.useEffect((function(){K&&_e>Oe.length-1&&(Se(-1),rt(-1))}),[Oe,K,_e,rt]);var ot=(0,ke.Z)((function(e){var t=e.event,n=e.index,r=e.reason,o=void 0===r?"auto":r;if(Re.current=n,-1===n?fe.current.removeAttribute("aria-activedescendant"):fe.current.setAttribute("aria-activedescendant","".concat(ue,"-option-").concat(n)),X&&X(t,-1===n?null:tt[n],o),pe.current){var i=pe.current.querySelector('[role="option"].Mui-focused');i&&(i.classList.remove("Mui-focused"),i.classList.remove("Mui-focusVisible"));var a=pe.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==n){var s=pe.current.querySelector('[data-option-index="'.concat(n,'"]'));if(s&&(s.classList.add("Mui-focused"),"keyboard"===o&&s.classList.add("Mui-focusVisible"),a.scrollHeight>a.clientHeight&&"mouse"!==o)){var l=s,c=a.clientHeight+a.scrollTop,u=l.offsetTop+l.offsetHeight;u>c?a.scrollTop=u-a.clientHeight:l.offsetTop-l.offsetHeight*(z?1.3:0)1?0:e:t>e?t===e+1&&V?-1:T||Math.abs(o)>1?e:0:t}(),a);if(ot({index:c,reason:l,event:n}),r&&"reset"!==o)if(-1===c)fe.current.value=Ne;else{var u=t(tt[c]);fe.current.value=u,0===u.toLowerCase().indexOf(Ne.toLowerCase())&&Ne.length>0&&fe.current.setSelectionRange(Ne.length,u.length)}}})),at=p.useCallback((function(){if(et){var e=K?Oe[0]:Oe;if(0!==tt.length&&null!=e){if(pe.current)if(null==e)Re.current>=tt.length-1?ot({index:tt.length-1}):ot({index:Re.current});else{var t=tt[Re.current];if(K&&t&&-1!==Te(Oe,(function(e){return F(t,e)})))return;var n=Te(tt,(function(t){return F(t,e)}));-1===n?it({diff:"reset"}):ot({index:n})}}else it({diff:"reset"})}}),[tt.length,!K&&Oe,O,it,ot,et,Ne,K]),st=(0,ke.Z)((function(e){(0,Ze.Z)(pe,e),e&&at()}));p.useEffect((function(){at()}),[at]);var lt=function(e){Ge||(qe(!0),Xe(!0),ee&&ee(e))},ct=function(e,t){Ge&&(qe(!1),J&&J(e,t))},ut=function(e,t,n,r){if(K){if(Oe.length===t.length&&Oe.every((function(e,n){return e===t[n]})))return}else if(Oe===t)return;Y&&Y(e,t,n,r),Le(t)},dt=p.useRef(!1),ht=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"selectOption",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",o=n,i=t;if(K){var a=Te(i=Array.isArray(Oe)?Oe.slice():[],(function(e){return F(t,e)}));-1===a?i.push(t):"freeSolo"!==r&&(i.splice(a,1),o="removeOption")}Be(e,i),ut(e,i,o,{option:t}),k||e.ctrlKey||e.metaKey||ct(e,o),(!0===c||"touch"===c&&dt.current||"mouse"===c&&!dt.current)&&fe.current.blur()};var ft=function(e,t){if(K){""===Ne&&ct(e,"toggleInput");var n=_e;-1===_e?""===Ne&&"previous"===t&&(n=Oe.length-1):((n+="next"===t?1:-1)<0&&(n=0),n===Oe.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;for(var n=e;;){if("next"===t&&n===Oe.length||"previous"===t&&-1===n)return-1;var r=ve.querySelector('[data-tag-index="'.concat(n,'"]'));if(r&&r.hasAttribute("tabindex")&&!r.disabled&&"true"!==r.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),Se(n),rt(n)}},pt=function(e){de.current=!0,je(""),Q&&Q(e,"","clear"),ut(e,K?[]:null,"clear")},mt=function(e){return function(t){if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==_e&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(Se(-1),rt(-1)),229!==t.which))switch(t.key){case"Home":et&&B&&(t.preventDefault(),it({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":et&&B&&(t.preventDefault(),it({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),it({diff:-5,direction:"previous",reason:"keyboard",event:t}),lt(t);break;case"PageDown":t.preventDefault(),it({diff:5,direction:"next",reason:"keyboard",event:t}),lt(t);break;case"ArrowDown":t.preventDefault(),it({diff:1,direction:"next",reason:"keyboard",event:t}),lt(t);break;case"ArrowUp":t.preventDefault(),it({diff:-1,direction:"previous",reason:"keyboard",event:t}),lt(t);break;case"ArrowLeft":ft(t,"previous");break;case"ArrowRight":ft(t,"next");break;case"Enter":if(-1!==Re.current&&et){var n=tt[Re.current],o=!!D&&D(n);if(t.preventDefault(),o)return;ht(t,n,"selectOption"),r&&fe.current.setSelectionRange(fe.current.value.length,fe.current.value.length)}else I&&""!==Ne&&!1===Qe&&(K&&t.preventDefault(),ht(t,Ne,"createOption","freeSolo"));break;case"Escape":et?(t.preventDefault(),t.stopPropagation(),ct(t,"escape")):v&&(""!==Ne||K&&Oe.length>0)&&(t.preventDefault(),t.stopPropagation(),pt(t));break;case"Backspace":if(K&&!ae&&""===Ne&&Oe.length>0){var i=-1===_e?Oe.length-1:_e,a=Oe.slice();a.splice(i,1),ut(t,a,"removeOption",{option:Oe[i]})}}}},gt=function(e){We(!0),re&&!de.current&<(e)},vt=function(e){null!==pe.current&&pe.current.parentElement.contains(document.activeElement)?fe.current.focus():(We(!1),he.current=!0,de.current=!1,s&&-1!==Re.current&&et?ht(e,tt[Re.current],"blur"):s&&I&&""!==Ne?ht(e,Ne,"blur","freeSolo"):m&&Be(e,Oe),ct(e,"blur"))},yt=function(e){var t=e.target.value;Ne!==t&&(je(t),Xe(!1),Q&&Q(e,t,"input")),""===t?x||K||ut(e,null,"clear"):lt(e)},bt=function(e){ot({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},wt=function(){dt.current=!0},_t=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));ht(e,tt[t],"selectOption"),dt.current=!1},St=function(e){return function(t){var n=Oe.slice();n.splice(e,1),ut(t,n,"removeOption",{option:Oe[e]})}},xt=function(e){Ge?ct(e,"toggleInput"):lt(e)},Ct=function(e){e.target.getAttribute("id")!==ue&&e.preventDefault()},kt=function(){fe.current.focus(),le&&he.current&&fe.current.selectionEnd-fe.current.selectionStart===0&&fe.current.select(),he.current=!1},Zt=function(e){""!==Ne&&Ge||xt(e)},Et=I&&Ne.length>0;Et=Et||(K?Oe.length>0:null!==Oe);var Rt=tt;if(z){new Map;Rt=tt.reduce((function(e,t,n){var r=z(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return d&&ze&&vt(),{getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,f.Z)({"aria-owns":nt?"".concat(ue,"-listbox"):null},e,{onKeyDown:mt(e),onMouseDown:Ct,onClick:kt})},getInputLabelProps:function(){return{id:"".concat(ue,"-label"),htmlFor:ue}},getInputProps:function(){return{id:ue,value:Ne,onBlur:vt,onFocus:gt,onChange:yt,onMouseDown:Zt,"aria-activedescendant":et?"":null,"aria-autocomplete":r?"both":"list","aria-controls":nt?"".concat(ue,"-listbox"):void 0,"aria-expanded":nt,autoComplete:"off",ref:fe,autoCapitalize:"none",spellCheck:"false",role:"combobox"}},getClearProps:function(){return{tabIndex:-1,onClick:pt}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:xt}},getTagProps:function(e){var t=e.index;return(0,f.Z)({key:t,"data-tag-index":t,tabIndex:-1},!ae&&{onDelete:St(t)})},getListboxProps:function(){return{role:"listbox",id:"".concat(ue,"-listbox"),"aria-labelledby":"".concat(ue,"-label"),ref:st,onMouseDown:function(e){e.preventDefault()}}},getOptionProps:function(e){var n=e.index,r=e.option,o=(K?Oe:[Oe]).some((function(e){return null!=e&&F(r,e)})),i=!!D&&D(r);return{key:t(r),tabIndex:-1,role:"option",id:"".concat(ue,"-option-").concat(n),onMouseOver:bt,onClick:_t,onTouchStart:wt,"data-option-index":n,"aria-disabled":i,"aria-selected":o}},id:ue,inputValue:Ne,value:Oe,dirty:Et,popupOpen:et,focused:ze||-1!==_e,anchorEl:ve,setAnchorEl:ye,focusedTag:_e,groupedOptions:Rt}}var Me=n(5892);function Oe(e){return(0,C.Z)("MuiListSubheader",e)}var Le=(0,k.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),Ie=["className","color","component","disableGutters","disableSticky","inset"],De=(0,y.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,J.Z)(n.color))],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===n.color&&{color:(t.vars||t).palette.primary.main},"inherit"===n.color&&{color:"inherit"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.inset&&{paddingLeft:72},!n.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})})),Ne=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListSubheader"}),r=n.className,o=n.color,i=void 0===o?"default":o,a=n.component,s=void 0===a?"li":a,l=n.disableGutters,c=void 0!==l&&l,u=n.disableSticky,d=void 0!==u&&u,p=n.inset,m=void 0!==p&&p,y=(0,h.Z)(n,Ie),w=(0,f.Z)({},n,{color:i,component:s,disableGutters:c,disableSticky:d,inset:m}),_=function(e){var t=e.classes,n=e.color,r=e.disableGutters,o=e.inset,i=e.disableSticky,a={root:["root","default"!==n&&"color".concat((0,J.Z)(n)),!r&&"gutters",o&&"inset",!i&&"sticky"]};return(0,v.Z)(a,Oe,t)}(w);return(0,R.jsx)(De,(0,f.Z)({as:s,className:(0,g.Z)(_.root,r),ref:t,ownerState:w},y))})),je=(0,ne.Z)((0,R.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),$e=n(2071);function Fe(e){return(0,C.Z)("MuiChip",e)}var ze=(0,k.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]),We=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],Be=(0,y.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,o=n.clickable,i=n.onDelete,a=n.size,s=n.variant;return[(0,d.Z)({},"& .".concat(ze.avatar),t.avatar),(0,d.Z)({},"& .".concat(ze.avatar),t["avatar".concat((0,J.Z)(a))]),(0,d.Z)({},"& .".concat(ze.avatar),t["avatarColor".concat((0,J.Z)(r))]),(0,d.Z)({},"& .".concat(ze.icon),t.icon),(0,d.Z)({},"& .".concat(ze.icon),t["icon".concat((0,J.Z)(a))]),(0,d.Z)({},"& .".concat(ze.icon),t["iconColor".concat((0,J.Z)(r))]),(0,d.Z)({},"& .".concat(ze.deleteIcon),t.deleteIcon),(0,d.Z)({},"& .".concat(ze.deleteIcon),t["deleteIcon".concat((0,J.Z)(a))]),(0,d.Z)({},"& .".concat(ze.deleteIcon),t["deleteIconColor".concat((0,J.Z)(r))]),(0,d.Z)({},"& .".concat(ze.deleteIcon),t["deleteIconOutlinedColor".concat((0,J.Z)(r))]),t.root,t["size".concat((0,J.Z)(a))],t["color".concat((0,J.Z)(r))],o&&t.clickable,o&&"default"!==r&&t["clickableColor".concat((0,J.Z)(r),")")],i&&t.deletable,i&&"default"!==r&&t["deletableColor".concat((0,J.Z)(r))],t[s],"outlined"===s&&t["outlined".concat((0,J.Z)(r))]]}})((function(e){var t,n=e.theme,r=e.ownerState,o=(0,Y.Fq)(n.palette.text.primary,.26);return(0,f.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:n.palette.text.primary,backgroundColor:n.palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,d.Z)(t,"&.".concat(ze.disabled),{opacity:n.palette.action.disabledOpacity,pointerEvents:"none"}),(0,d.Z)(t,"& .".concat(ze.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300],fontSize:n.typography.pxToRem(12)}),(0,d.Z)(t,"& .".concat(ze.avatarColorPrimary),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.dark}),(0,d.Z)(t,"& .".concat(ze.avatarColorSecondary),{color:n.palette.secondary.contrastText,backgroundColor:n.palette.secondary.dark}),(0,d.Z)(t,"& .".concat(ze.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,d.Z)(t,"& .".concat(ze.icon),(0,f.Z)({color:"light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300],marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==r.color&&{color:"inherit"})),(0,d.Z)(t,"& .".concat(ze.deleteIcon),(0,f.Z)({WebkitTapHighlightColor:"transparent",color:o,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,Y.Fq)(o,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:(0,Y.Fq)(n.palette[r.color].contrastText,.7),"&:hover, &:active":{color:n.palette[r.color].contrastText}})),t),"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:n.palette[r.color].main,color:n.palette[r.color].contrastText},r.onDelete&&(0,d.Z)({},"&.".concat(ze.focusVisible),{backgroundColor:(0,Y.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),r.onDelete&&"default"!==r.color&&(0,d.Z)({},"&.".concat(ze.focusVisible),{backgroundColor:n.palette[r.color].dark}))}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({},r.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:(0,Y.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,d.Z)(t,"&.".concat(ze.focusVisible),{backgroundColor:(0,Y.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,d.Z)(t,"&:active",{boxShadow:n.shadows[1]}),t),r.clickable&&"default"!==r.color&&(0,d.Z)({},"&:hover, &.".concat(ze.focusVisible),{backgroundColor:n.palette[r.color].dark}))}),(function(e){var t,n,r=e.theme,o=e.ownerState;return(0,f.Z)({},"outlined"===o.variant&&(t={backgroundColor:"transparent",border:"1px solid ".concat("light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[700])},(0,d.Z)(t,"&.".concat(ze.clickable,":hover"),{backgroundColor:r.palette.action.hover}),(0,d.Z)(t,"&.".concat(ze.focusVisible),{backgroundColor:r.palette.action.focus}),(0,d.Z)(t,"& .".concat(ze.avatar),{marginLeft:4}),(0,d.Z)(t,"& .".concat(ze.avatarSmall),{marginLeft:2}),(0,d.Z)(t,"& .".concat(ze.icon),{marginLeft:4}),(0,d.Z)(t,"& .".concat(ze.iconSmall),{marginLeft:2}),(0,d.Z)(t,"& .".concat(ze.deleteIcon),{marginRight:5}),(0,d.Z)(t,"& .".concat(ze.deleteIconSmall),{marginRight:3}),t),"outlined"===o.variant&&"default"!==o.color&&(n={color:r.palette[o.color].main,border:"1px solid ".concat((0,Y.Fq)(r.palette[o.color].main,.7))},(0,d.Z)(n,"&.".concat(ze.clickable,":hover"),{backgroundColor:(0,Y.Fq)(r.palette[o.color].main,r.palette.action.hoverOpacity)}),(0,d.Z)(n,"&.".concat(ze.focusVisible),{backgroundColor:(0,Y.Fq)(r.palette[o.color].main,r.palette.action.focusOpacity)}),(0,d.Z)(n,"& .".concat(ze.deleteIcon),{color:(0,Y.Fq)(r.palette[o.color].main,.7),"&:hover, &:active":{color:r.palette[o.color].main}}),n))})),He=(0,y.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat((0,J.Z)(n))]]}})((function(e){var t=e.ownerState;return(0,f.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})}));function Ue(e){return"Backspace"===e.key||"Delete"===e.key}var Ve=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiChip"}),r=n.avatar,o=n.className,i=n.clickable,a=n.color,s=void 0===a?"default":a,l=n.component,c=n.deleteIcon,u=n.disabled,d=void 0!==u&&u,m=n.icon,y=n.label,w=n.onClick,_=n.onDelete,S=n.onKeyDown,x=n.onKeyUp,C=n.size,k=void 0===C?"medium":C,Z=n.variant,E=void 0===Z?"filled":Z,T=(0,h.Z)(n,We),A=p.useRef(null),P=(0,$e.Z)(A,t),M=function(e){e.stopPropagation(),_&&_(e)},O=!(!1===i||!w)||i,L="small"===k,I=O||_?W.Z:l||"div",D=(0,f.Z)({},n,{component:I,disabled:d,size:k,color:s,onDelete:!!_,clickable:O,variant:E}),N=function(e){var t=e.classes,n=e.disabled,r=e.size,o=e.color,i=e.onDelete,a=e.clickable,s=e.variant,l={root:["root",s,n&&"disabled","size".concat((0,J.Z)(r)),"color".concat((0,J.Z)(o)),a&&"clickable",a&&"clickableColor".concat((0,J.Z)(o)),i&&"deletable",i&&"deletableColor".concat((0,J.Z)(o)),"".concat(s).concat((0,J.Z)(o))],label:["label","label".concat((0,J.Z)(r))],avatar:["avatar","avatar".concat((0,J.Z)(r)),"avatarColor".concat((0,J.Z)(o))],icon:["icon","icon".concat((0,J.Z)(r)),"iconColor".concat((0,J.Z)(o))],deleteIcon:["deleteIcon","deleteIcon".concat((0,J.Z)(r)),"deleteIconColor".concat((0,J.Z)(o)),"deleteIconOutlinedColor".concat((0,J.Z)(o))]};return(0,v.Z)(l,Fe,t)}(D),j=I===W.Z?(0,f.Z)({component:l||"div",focusVisibleClassName:N.focusVisible},_&&{disableRipple:!0}):{},$=null;if(_){var F=(0,g.Z)("default"!==s&&("outlined"===E?N["deleteIconOutlinedColor".concat((0,J.Z)(s))]:N["deleteIconColor".concat((0,J.Z)(s))]),L&&N.deleteIconSmall);$=c&&p.isValidElement(c)?p.cloneElement(c,{className:(0,g.Z)(c.props.className,N.deleteIcon,F),onClick:M}):(0,R.jsx)(je,{className:(0,g.Z)(N.deleteIcon,F),onClick:M})}var z=null;r&&p.isValidElement(r)&&(z=p.cloneElement(r,{className:(0,g.Z)(N.avatar,r.props.className)}));var B=null;return m&&p.isValidElement(m)&&(B=p.cloneElement(m,{className:(0,g.Z)(N.icon,m.props.className)})),(0,R.jsxs)(Be,(0,f.Z)({as:I,className:(0,g.Z)(N.root,o),disabled:!(!O||!d)||void 0,onClick:w,onKeyDown:function(e){e.currentTarget===e.target&&Ue(e)&&e.preventDefault(),S&&S(e)},onKeyUp:function(e){e.currentTarget===e.target&&(_&&Ue(e)?_(e):"Escape"===e.key&&A.current&&A.current.blur()),x&&x(e)},ref:P,ownerState:D},j,T,{children:[z||B,(0,R.jsx)(He,{className:(0,g.Z)(N.label),ownerState:D,children:y}),$]}))})),Ge=n(6779),qe=n(5891),Ke=n(6059),Ye=n(6285),Je=n(9059);function Xe(e){return(0,C.Z)("MuiAutocomplete",e)}var Qe,et,tt=(0,k.Z)("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),nt=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],rt=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.fullWidth,o=n.hasClearIcon,i=n.hasPopupIcon,a=n.inputFocused,s=n.size;return[(0,d.Z)({},"& .".concat(tt.tag),t.tag),(0,d.Z)({},"& .".concat(tt.tag),t["tagSize".concat((0,J.Z)(s))]),(0,d.Z)({},"& .".concat(tt.inputRoot),t.inputRoot),(0,d.Z)({},"& .".concat(tt.input),t.input),(0,d.Z)({},"& .".concat(tt.input),a&&t.inputFocused),t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})((function(e){var t,n,r,o,i,a=e.ownerState;return(0,f.Z)((t={},(0,d.Z)(t,"&.".concat(tt.focused," .").concat(tt.clearIndicator),{visibility:"visible"}),(0,d.Z)(t,"@media (pointer: fine)",(0,d.Z)({},"&:hover .".concat(tt.clearIndicator),{visibility:"visible"})),t),a.fullWidth&&{width:"100%"},(i={},(0,d.Z)(i,"& .".concat(tt.tag),(0,f.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===a.size&&{margin:2,maxWidth:"calc(100% - 4px)"})),(0,d.Z)(i,"& .".concat(tt.inputRoot),(n={flexWrap:"wrap"},(0,d.Z)(n,".".concat(tt.hasPopupIcon,"&, .").concat(tt.hasClearIcon,"&"),{paddingRight:30}),(0,d.Z)(n,".".concat(tt.hasPopupIcon,".").concat(tt.hasClearIcon,"&"),{paddingRight:56}),(0,d.Z)(n,"& .".concat(tt.input),{width:0,minWidth:30}),n)),(0,d.Z)(i,"& .".concat(Ge.Z.root),{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}}),(0,d.Z)(i,"& .".concat(Ge.Z.root,".").concat(qe.Z.sizeSmall),(0,d.Z)({},"& .".concat(Ge.Z.input),{padding:"2px 4px 3px 0"})),(0,d.Z)(i,"& .".concat(Ke.Z.root),(r={padding:9},(0,d.Z)(r,".".concat(tt.hasPopupIcon,"&, .").concat(tt.hasClearIcon,"&"),{paddingRight:39}),(0,d.Z)(r,".".concat(tt.hasPopupIcon,".").concat(tt.hasClearIcon,"&"),{paddingRight:65}),(0,d.Z)(r,"& .".concat(tt.input),{padding:"7.5px 4px 7.5px 6px"}),(0,d.Z)(r,"& .".concat(tt.endAdornment),{right:9}),r)),(0,d.Z)(i,"& .".concat(Ke.Z.root,".").concat(qe.Z.sizeSmall),(0,d.Z)({padding:6},"& .".concat(tt.input),{padding:"2.5px 4px 2.5px 6px"})),(0,d.Z)(i,"& .".concat(Ye.Z.root),(o={paddingTop:19,paddingLeft:8},(0,d.Z)(o,".".concat(tt.hasPopupIcon,"&, .").concat(tt.hasClearIcon,"&"),{paddingRight:39}),(0,d.Z)(o,".".concat(tt.hasPopupIcon,".").concat(tt.hasClearIcon,"&"),{paddingRight:65}),(0,d.Z)(o,"& .".concat(Ye.Z.input),{padding:"7px 4px"}),(0,d.Z)(o,"& .".concat(tt.endAdornment),{right:9}),o)),(0,d.Z)(i,"& .".concat(Ye.Z.root,".").concat(qe.Z.sizeSmall),(0,d.Z)({paddingBottom:1},"& .".concat(Ye.Z.input),{padding:"2.5px 4px"})),(0,d.Z)(i,"& .".concat(qe.Z.hiddenLabel),{paddingTop:8}),(0,d.Z)(i,"& .".concat(tt.input),(0,f.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0},a.inputFocused&&{opacity:1})),i))})),ot=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:function(e,t){return t.endAdornment}})({position:"absolute",right:0,top:"calc(50% - 14px)"}),it=(0,y.ZP)(te.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:function(e,t){return t.clearIndicator}})({marginRight:-2,padding:4,visibility:"hidden"}),at=(0,y.ZP)(te.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:function(e,t){var n=e.ownerState;return(0,f.Z)({},t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen)}})((function(e){var t=e.ownerState;return(0,f.Z)({padding:2,marginRight:-2},t.popupOpen&&{transform:"rotate(180deg)"})})),st=(0,y.ZP)(Me.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(tt.option),t.option),t.popper,n.disablePortal&&t.popperDisablePortal]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({zIndex:(t.vars||t).zIndex.modal},n.disablePortal&&{position:"absolute"})})),lt=(0,y.ZP)(_.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:function(e,t){return t.paper}})((function(e){var t=e.theme;return(0,f.Z)({},t.typography.body1,{overflow:"auto"})})),ct=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:function(e,t){return t.loading}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),ut=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:function(e,t){return t.noOptions}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),dt=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:function(e,t){return t.listbox}})((function(e){var t,n,r=e.theme;return(0,d.Z)({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},"& .".concat(tt.option),(n={minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,d.Z)(n,r.breakpoints.up("sm"),{minHeight:"auto"}),(0,d.Z)(n,"&.".concat(tt.focused),{backgroundColor:(r.vars||r).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,d.Z)(n,'&[aria-disabled="true"]',{opacity:(r.vars||r).palette.action.disabledOpacity,pointerEvents:"none"}),(0,d.Z)(n,"&.".concat(tt.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,d.Z)(n,'&[aria-selected="true"]',(t={backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity)},(0,d.Z)(t,"&.".concat(tt.focused),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(r.vars||r).palette.action.selected}}),(0,d.Z)(t,"&.".concat(tt.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)}),t)),n))})),ht=(0,y.ZP)(Ne,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:function(e,t){return t.groupLabel}})((function(e){var t=e.theme;return{backgroundColor:(t.vars||t).palette.background.paper,top:-8}})),ft=(0,y.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:function(e,t){return t.groupUl}})((0,d.Z)({padding:0},"& .".concat(tt.option),{paddingLeft:24})),pt=p.forwardRef((function(e,t){var n,r,o,i=(0,b.Z)({props:e,name:"MuiAutocomplete"}),a=(i.autoComplete,i.autoHighlight,i.autoSelect,i.blurOnSelect,i.ChipProps),s=i.className,l=i.clearIcon,c=void 0===l?Qe||(Qe=(0,R.jsx)(se,{fontSize:"small"})):l,u=i.clearOnBlur,d=(void 0===u&&i.freeSolo,i.clearOnEscape,i.clearText),m=void 0===d?"Clear":d,y=i.closeText,w=void 0===y?"Close":y,S=i.componentsProps,x=void 0===S?{}:S,C=i.defaultValue,k=(void 0===C&&i.multiple,i.disableClearable),Z=void 0!==k&&k,E=(i.disableCloseOnSelect,i.disabled),T=void 0!==E&&E,A=(i.disabledItemsFocusable,i.disableListWrap,i.disablePortal),P=void 0!==A&&A,M=(i.filterSelectedOptions,i.forcePopupIcon),O=void 0===M?"auto":M,L=i.freeSolo,I=void 0!==L&&L,D=i.fullWidth,N=void 0!==D&&D,j=i.getLimitTagsText,$=void 0===j?function(e){return"+".concat(e)}:j,F=i.getOptionLabel,z=void 0===F?function(e){var t;return null!=(t=e.label)?t:e}:F,W=i.groupBy,B=i.handleHomeEndKeys,H=(void 0===B&&i.freeSolo,i.includeInputInList,i.limitTags),U=void 0===H?-1:H,V=i.ListboxComponent,G=void 0===V?"ul":V,q=i.ListboxProps,K=i.loading,Y=void 0!==K&&K,X=i.loadingText,Q=void 0===X?"Loading\u2026":X,ee=i.multiple,te=void 0!==ee&&ee,ne=i.noOptionsText,re=void 0===ne?"No options":ne,oe=(i.openOnFocus,i.openText),ie=void 0===oe?"Open":oe,ae=i.PaperComponent,le=void 0===ae?_.Z:ae,ce=i.PopperComponent,ue=void 0===ce?Me.Z:ce,de=i.popupIcon,he=void 0===de?et||(et=(0,R.jsx)(Je.Z,{})):de,fe=i.readOnly,pe=void 0!==fe&&fe,me=i.renderGroup,ge=i.renderInput,ve=i.renderOption,ye=i.renderTags,be=i.selectOnFocus,we=(void 0===be&&i.freeSolo,i.size),_e=void 0===we?"medium":we,Se=(0,h.Z)(i,nt),xe=Pe((0,f.Z)({},i,{componentName:"Autocomplete"})),Ce=xe.getRootProps,ke=xe.getInputProps,Ze=xe.getInputLabelProps,Ee=xe.getPopupIndicatorProps,Re=xe.getClearProps,Te=xe.getTagProps,Ae=xe.getListboxProps,Oe=xe.getOptionProps,Le=xe.value,Ie=xe.dirty,De=xe.id,Ne=xe.popupOpen,je=xe.focused,$e=xe.focusedTag,Fe=xe.anchorEl,ze=xe.setAnchorEl,We=xe.inputValue,Be=xe.groupedOptions,He=!Z&&!T&&Ie&&!pe,Ue=(!I||!0===O)&&!1!==O,Ge=(0,f.Z)({},i,{disablePortal:P,focused:je,fullWidth:N,hasClearIcon:He,hasPopupIcon:Ue,inputFocused:-1===$e,popupOpen:Ne,size:_e}),qe=function(e){var t=e.classes,n=e.disablePortal,r=e.focused,o=e.fullWidth,i=e.hasClearIcon,a=e.hasPopupIcon,s=e.inputFocused,l=e.popupOpen,c=e.size,u={root:["root",r&&"focused",o&&"fullWidth",i&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag","tagSize".concat((0,J.Z)(c))],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",l&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,v.Z)(u,Xe,t)}(Ge);if(te&&Le.length>0){var Ke=function(e){return(0,f.Z)({className:(0,g.Z)(qe.tag),disabled:T},Te(e))};o=ye?ye(Le,Ke):Le.map((function(e,t){return(0,R.jsx)(Ve,(0,f.Z)({label:z(e),size:_e},Ke({index:t}),a))}))}if(U>-1&&Array.isArray(o)){var Ye=o.length-U;!je&&Ye>0&&(o=o.splice(0,U)).push((0,R.jsx)("span",{className:qe.tag,children:$(Ye)},o.length))}var tt=me||function(e){return(0,R.jsxs)("li",{children:[(0,R.jsx)(ht,{className:qe.groupLabel,ownerState:Ge,component:"div",children:e.group}),(0,R.jsx)(ft,{className:qe.groupUl,ownerState:Ge,children:e.children})]},e.key)},pt=ve||function(e,t){return(0,R.jsx)("li",(0,f.Z)({},e,{children:z(t)}))},mt=function(e,t){var n=Oe({option:e,index:t});return pt((0,f.Z)({},n,{className:qe.option}),e,{selected:n["aria-selected"],inputValue:We})};return(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(rt,(0,f.Z)({ref:t,className:(0,g.Z)(qe.root,s),ownerState:Ge},Ce(Se),{children:ge({id:De,disabled:T,fullWidth:!0,size:"small"===_e?"small":void 0,InputLabelProps:Ze(),InputProps:(0,f.Z)({ref:ze,className:qe.inputRoot,startAdornment:o},(He||Ue)&&{endAdornment:(0,R.jsxs)(ot,{className:qe.endAdornment,ownerState:Ge,children:[He?(0,R.jsx)(it,(0,f.Z)({},Re(),{"aria-label":m,title:m,ownerState:Ge},x.clearIndicator,{className:(0,g.Z)(qe.clearIndicator,null==(n=x.clearIndicator)?void 0:n.className),children:c})):null,Ue?(0,R.jsx)(at,(0,f.Z)({},Ee(),{disabled:T,"aria-label":Ne?w:ie,title:Ne?w:ie,className:(0,g.Z)(qe.popupIndicator),ownerState:Ge,children:he})):null]})}),inputProps:(0,f.Z)({className:(0,g.Z)(qe.input),disabled:T,readOnly:pe},ke())})})),Ne&&Fe?(0,R.jsx)(st,{as:ue,className:(0,g.Z)(qe.popper),disablePortal:P,style:{width:Fe?Fe.clientWidth:null},ownerState:Ge,role:"presentation",anchorEl:Fe,open:!0,children:(0,R.jsxs)(lt,(0,f.Z)({ownerState:Ge,as:le},x.paper,{className:(0,g.Z)(qe.paper,null==(r=x.paper)?void 0:r.className),children:[Y&&0===Be.length?(0,R.jsx)(ct,{className:qe.loading,ownerState:Ge,children:Q}):null,0!==Be.length||I||Y?null:(0,R.jsx)(ut,{className:qe.noOptions,ownerState:Ge,role:"presentation",onMouseDown:function(e){e.preventDefault()},children:re}),Be.length>0?(0,R.jsx)(dt,(0,f.Z)({as:G,className:qe.listbox,ownerState:Ge},Ae(),q,{children:Be.map((function(e,t){return W?tt({key:e.key,group:e.group,children:e.options.map((function(t,n){return mt(t,e.index+n)}))}):mt(e,t)}))})):null]}))}):null]})})),mt=(0,ne.Z)((0,R.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function gt(e){return(0,C.Z)("MuiAvatar",e)}var vt=(0,k.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),yt=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],bt=(0,y.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:t.shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&{color:t.palette.background.default,backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]})})),wt=(0,y.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(e,t){return t.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),_t=(0,y.ZP)(mt,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(e,t){return t.fallback}})({width:"75%",height:"75%"});var St=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAvatar"}),r=n.alt,o=n.children,i=n.className,a=n.component,s=void 0===a?"div":a,l=n.imgProps,c=n.sizes,d=n.src,m=n.srcSet,y=n.variant,w=void 0===y?"circular":y,_=(0,h.Z)(n,yt),S=null,x=function(e){var t=e.crossOrigin,n=e.referrerPolicy,r=e.src,o=e.srcSet,i=p.useState(!1),a=(0,u.Z)(i,2),s=a[0],l=a[1];return p.useEffect((function(){if(r||o){l(!1);var e=!0,i=new Image;return i.onload=function(){e&&l("loaded")},i.onerror=function(){e&&l("error")},i.crossOrigin=t,i.referrerPolicy=n,i.src=r,o&&(i.srcset=o),function(){e=!1}}}),[t,n,r,o]),s}((0,f.Z)({},l,{src:d,srcSet:m})),C=d||m,k=C&&"error"!==x,Z=(0,f.Z)({},n,{colorDefault:!k,component:s,variant:w}),E=function(e){var t=e.classes,n={root:["root",e.variant,e.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,v.Z)(n,gt,t)}(Z);return S=k?(0,R.jsx)(wt,(0,f.Z)({alt:r,src:d,srcSet:m,sizes:c,ownerState:Z,className:E.img},l)):null!=o?o:C&&r?r[0]:(0,R.jsx)(_t,{className:E.fallback}),(0,R.jsx)(bt,(0,f.Z)({as:s,ownerState:Z,className:(0,g.Z)(E.root,i),ref:t},_,{children:S}))}));function xt(e){return(0,C.Z)("MuiAvatarGroup",e)}var Ct=(0,k.Z)("MuiAvatarGroup",["root","avatar"]),kt=["children","className","componentsProps","max","spacing","total","variant"],Zt={small:-16,medium:null},Et=(0,y.ZP)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:function(e,t){return(0,f.Z)((0,d.Z)({},"& .".concat(Ct.avatar),t.avatar),t.root)}})((function(e){var t,n=e.theme;return t={},(0,d.Z)(t,"& .".concat(vt.root),{border:"2px solid ".concat((n.vars||n).palette.background.default),boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}}),(0,d.Z)(t,"display","flex"),(0,d.Z)(t,"flexDirection","row-reverse"),t})),Rt=(0,y.ZP)(St,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:function(e,t){return t.avatar}})((function(e){var t=e.theme;return{border:"2px solid ".concat((t.vars||t).palette.background.default),boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}}})),Tt=p.forwardRef((function(e,t){var n,r,o=(0,b.Z)({props:e,name:"MuiAvatarGroup"}),i=o.children,a=o.className,s=o.componentsProps,l=void 0===s?{}:s,c=o.max,u=void 0===c?5:c,d=o.spacing,m=void 0===d?"medium":d,y=o.total,w=o.variant,_=void 0===w?"circular":w,S=(0,h.Z)(o,kt),x=u<2?2:u,C=(0,f.Z)({},o,{max:u,spacing:m,variant:_}),k=function(e){var t=e.classes;return(0,v.Z)({root:["root"],avatar:["avatar"]},xt,t)}(C),Z=p.Children.toArray(i).filter((function(e){return p.isValidElement(e)})),E=y||Z.length;E===x&&(x+=1),x=Math.min(E+1,x);var T=Math.min(Z.length,x-1),A=Math.max(E-x,E-T,0),P=m&&void 0!==Zt[m]?Zt[m]:-m;return(0,R.jsxs)(Et,(0,f.Z)({ownerState:C,className:(0,g.Z)(k.root,a),ref:t},S,{children:[A?(0,R.jsxs)(Rt,(0,f.Z)({ownerState:C,variant:_},l.additionalAvatar,{className:(0,g.Z)(k.avatar,null==(n=l.additionalAvatar)?void 0:n.className),style:(0,f.Z)({marginLeft:P},null==(r=l.additionalAvatar)?void 0:r.style),children:["+",A]})):null,Z.slice(0,T).reverse().map((function(e,t){return p.cloneElement(e,{className:(0,g.Z)(e.props.className,k.avatar),style:(0,f.Z)({marginLeft:t===T-1?void 0:P},e.props.style),variant:e.props.variant||_})}))]}))})),At=Tt,Pt=n(8060),Mt=n(8677),Ot=function(e){var t=p.useRef({});return p.useEffect((function(){t.current=e})),t.current},Lt=n(183);function It(e){return(0,C.Z)("BaseBadge",e)}(0,k.Z)("BaseBadge",["root","badge","invisible"]);var Dt=["badgeContent","component","children","className","components","componentsProps","invisible","max","showZero"],Nt=p.forwardRef((function(e,t){var n=e.component,r=e.children,o=e.className,i=e.components,a=void 0===i?{}:i,s=e.componentsProps,l=void 0===s?{}:s,c=e.max,u=void 0===c?99:c,d=e.showZero,p=void 0!==d&&d,m=(0,h.Z)(e,Dt),y=function(e){var t=e.badgeContent,n=e.invisible,r=void 0!==n&&n,o=e.max,i=void 0===o?99:o,a=e.showZero,s=void 0!==a&&a,l=Ot({badgeContent:t,max:i}),c=r;!1!==r||0!==t||s||(c=!0);var u=c?l:e,d=u.badgeContent,h=u.max,f=void 0===h?i:h;return{badgeContent:d,invisible:c,max:f,displayValue:d&&Number(d)>f?"".concat(f,"+"):d}}((0,f.Z)({},e,{max:u})),b=y.badgeContent,w=y.max,_=y.displayValue,S=y.invisible,x=(0,f.Z)({},e,{badgeContent:b,invisible:S,max:w,showZero:p}),C=function(e){var t={root:["root"],badge:["badge",e.invisible&&"invisible"]};return(0,v.Z)(t,It,void 0)}(x),k=n||a.Root||"span",Z=(0,Lt.Z)(k,(0,f.Z)({},m,l.root),x),E=a.Badge||"span",T=(0,Lt.Z)(E,l.badge,x);return(0,R.jsxs)(k,(0,f.Z)({},Z,{ref:t},m,{className:(0,g.Z)(C.root,Z.className,o),children:[r,(0,R.jsx)(E,(0,f.Z)({},T,{className:(0,g.Z)(C.badge,T.className),children:_}))]}))})),jt=Nt,$t=n(6897),Ft=function(e){return!e||!(0,$t.Z)(e)};function zt(e){return(0,C.Z)("MuiBadge",e)}var Wt=(0,k.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Bt=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],Ht=(0,y.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(e,t){return t.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Ut=(0,y.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(e,t){var n=e.ownerState;return[t.badge,t[n.variant],t["anchorOrigin".concat((0,J.Z)(n.anchorOrigin.vertical)).concat((0,J.Z)(n.anchorOrigin.horizontal)).concat((0,J.Z)(n.overlap))],"default"!==n.color&&t["color".concat((0,J.Z)(n.color))],n.invisible&&t.invisible]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},"dot"===n.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, 50%)"}),n.invisible&&{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})})})),Vt=p.forwardRef((function(e,t){var n,r,o,i,a=(0,b.Z)({props:e,name:"MuiBadge"}),s=a.anchorOrigin,l=void 0===s?{vertical:"top",horizontal:"right"}:s,c=a.className,u=a.component,d=void 0===u?"span":u,p=a.components,m=void 0===p?{}:p,y=a.componentsProps,w=void 0===y?{}:y,_=a.overlap,S=void 0===_?"rectangular":_,x=a.color,C=void 0===x?"default":x,k=a.invisible,Z=void 0!==k&&k,E=a.max,T=a.badgeContent,A=a.showZero,P=void 0!==A&&A,M=a.variant,O=void 0===M?"standard":M,L=(0,h.Z)(a,Bt),I=Ot({anchorOrigin:l,color:C,overlap:S,variant:O}),D=Z;!1===Z&&(0===T&&!P||null==T&&"dot"!==O)&&(D=!0);var N,j=D?I:a,$=j.color,F=void 0===$?C:$,z=j.overlap,W=void 0===z?S:z,B=j.anchorOrigin,H=void 0===B?l:B,U=j.variant,V=void 0===U?O:U,G=function(e){var t=e.color,n=e.anchorOrigin,r=e.invisible,o=e.overlap,i=e.variant,a=e.classes,s=void 0===a?{}:a,l={root:["root"],badge:["badge",i,r&&"invisible","anchorOrigin".concat((0,J.Z)(n.vertical)).concat((0,J.Z)(n.horizontal)),"anchorOrigin".concat((0,J.Z)(n.vertical)).concat((0,J.Z)(n.horizontal)).concat((0,J.Z)(o)),"overlap".concat((0,J.Z)(o)),"default"!==t&&"color".concat((0,J.Z)(t))]};return(0,v.Z)(l,zt,s)}((0,f.Z)({},a,{anchorOrigin:H,invisible:D,color:F,overlap:W,variant:V}));return"dot"!==V&&(N=T&&Number(T)>E?"".concat(E,"+"):T),(0,R.jsx)(jt,(0,f.Z)({invisible:Z,badgeContent:N,showZero:P,max:E},L,{components:(0,f.Z)({Root:Ht,Badge:Ut},m),className:(0,g.Z)(c,G.root,null==(n=w.root)?void 0:n.className),componentsProps:{root:(0,f.Z)({},w.root,Ft(m.Root)&&{as:d,ownerState:(0,f.Z)({},null==(r=w.root)?void 0:r.ownerState,{anchorOrigin:H,color:F,overlap:W,variant:V})}),badge:(0,f.Z)({},w.badge,{className:(0,g.Z)(G.badge,null==(o=w.badge)?void 0:o.className)},Ft(m.Badge)&&{ownerState:(0,f.Z)({},null==(i=w.badge)?void 0:i.ownerState,{anchorOrigin:H,color:F,overlap:W,variant:V})})},ref:t}))}));function Gt(e){return(0,C.Z)("MuiBottomNavigation",e)}var qt=(0,k.Z)("MuiBottomNavigation",["root"]),Kt=["children","className","component","onChange","showLabels","value"],Yt=(0,y.ZP)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{display:"flex",justifyContent:"center",height:56,backgroundColor:(t.vars||t).palette.background.paper}})),Jt=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiBottomNavigation"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"div":i,s=n.onChange,l=n.showLabels,c=void 0!==l&&l,u=n.value,d=(0,h.Z)(n,Kt),m=(0,f.Z)({},n,{component:a,showLabels:c}),y=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Gt,t)}(m);return(0,R.jsx)(Yt,(0,f.Z)({as:a,className:(0,g.Z)(y.root,o),ref:t,ownerState:m},d,{children:p.Children.map(r,(function(e,t){if(!p.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return p.cloneElement(e,{selected:n===u,showLabel:void 0!==e.props.showLabel?e.props.showLabel:c,value:n,onChange:s})}))}))}));function Xt(e){return(0,C.Z)("MuiBottomNavigationAction",e)}var Qt=(0,k.Z)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),en=["className","icon","label","onChange","onClick","selected","showLabel","value"],tn=(0,y.ZP)(W.Z,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({transition:t.transitions.create(["color","padding-top"],{duration:t.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(t.vars||t).palette.text.secondary,flexDirection:"column",flex:"1"},!n.showLabel&&!n.selected&&{paddingTop:14},!n.showLabel&&!n.selected&&!n.label&&{paddingTop:0},(0,d.Z)({},"&.".concat(Qt.selected),{color:(t.vars||t).palette.primary.main}))})),nn=(0,y.ZP)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:function(e,t){return t.label}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!n.showLabel&&!n.selected&&{opacity:0,transitionDelay:"0s"},(0,d.Z)({},"&.".concat(Qt.selected),{fontSize:t.typography.pxToRem(14)}))})),rn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiBottomNavigationAction"}),r=n.className,o=n.icon,i=n.label,a=n.onChange,s=n.onClick,l=n.value,c=(0,h.Z)(n,en),u=n,d=function(e){var t=e.classes,n=e.showLabel,r=e.selected,o={root:["root",!n&&!r&&"iconOnly",r&&"selected"],label:["label",!n&&!r&&"iconOnly",r&&"selected"]};return(0,v.Z)(o,Xt,t)}(u);return(0,R.jsxs)(tn,(0,f.Z)({ref:t,className:(0,g.Z)(d.root,r),focusRipple:!0,onClick:function(e){a&&a(e,l),s&&s(e)},ownerState:u},c,{children:[o,(0,R.jsx)(nn,{className:d.label,ownerState:u,children:i})]}))})),on=n(4554),an=n(3433),sn=(0,ne.Z)((0,R.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),ln=(0,y.ZP)(W.Z)((function(e){var t=e.theme;return(0,f.Z)({display:"flex",marginLeft:"calc(".concat(t.spacing(1)," * 0.5)"),marginRight:"calc(".concat(t.spacing(1)," * 0.5)")},"light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,f.Z)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,f.Z)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,Y._4)(t.palette.grey[200],.12)}:{backgroundColor:(0,Y._4)(t.palette.grey[600],.12)})})})),cn=(0,y.ZP)(sn)({width:24,height:16});var un=function(e){var t=e;return(0,R.jsx)("li",{children:(0,R.jsx)(ln,(0,f.Z)({focusRipple:!0},e,{ownerState:t,children:(0,R.jsx)(cn,{ownerState:t})}))})};function dn(e){return(0,C.Z)("MuiBreadcrumbs",e)}var hn=(0,k.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),fn=["children","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],pn=(0,y.ZP)(me.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:function(e,t){return[(0,d.Z)({},"& .".concat(hn.li),t.li),t.root]}})({}),mn=(0,y.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:function(e,t){return t.ol}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),gn=(0,y.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:function(e,t){return t.separator}})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function vn(e,t,n,r){return e.reduce((function(o,i,a){return a=e.length?e:[].concat((0,an.Z)(e.slice(0,y)),[(0,R.jsx)(un,{"aria-label":l,onClick:function(){T(!0);var e=M.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis")],(0,an.Z)(e.slice(e.length-d,e.length)))}(O),P.separator,x,A)})}))})),bn=n(5849),wn=n(9056),_n=n(2889),Sn=n(3007);function xn(e){return(0,C.Z)("MuiButtonGroup",e)}var Cn=(0,k.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]),kn=n(1793),Zn=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],En=(0,y.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Cn.grouped),t.grouped),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.orientation))]),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.variant))]),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.variant)).concat((0,J.Z)(n.orientation))]),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.variant)).concat((0,J.Z)(n.color))]),t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[2]},n.disableElevation&&{boxShadow:"none"},n.fullWidth&&{width:"100%"},"vertical"===n.orientation&&{flexDirection:"column"},(0,d.Z)({},"& .".concat(Cn.grouped),(0,f.Z)({minWidth:40,"&:not(:first-of-type)":(0,f.Z)({},"horizontal"===n.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===n.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===n.variant&&"horizontal"===n.orientation&&{marginLeft:-1},"outlined"===n.variant&&"vertical"===n.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,f.Z)({},"horizontal"===n.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===n.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===n.variant&&"horizontal"===n.orientation&&{borderRight:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===n.variant&&"vertical"===n.orientation&&{borderBottom:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===n.variant&&"inherit"!==n.color&&{borderColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.5)"):(0,Y.Fq)(t.palette[n.color].main,.5)},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"transparent"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"transparent"},"contained"===n.variant&&"horizontal"===n.orientation&&(0,d.Z)({borderRight:"1px solid ".concat((t.vars||t).palette.grey[400])},"&.".concat(Cn.disabled),{borderRight:"1px solid ".concat((t.vars||t).palette.action.disabled)}),"contained"===n.variant&&"vertical"===n.orientation&&(0,d.Z)({borderBottom:"1px solid ".concat((t.vars||t).palette.grey[400])},"&.".concat(Cn.disabled),{borderBottom:"1px solid ".concat((t.vars||t).palette.action.disabled)}),"contained"===n.variant&&"inherit"!==n.color&&{borderColor:(t.vars||t).palette[n.color].dark},{"&:hover":(0,f.Z)({},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"currentColor"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,f.Z)({},"contained"===n.variant&&{boxShadow:"none"})},"contained"===n.variant&&{boxShadow:"none"})))})),Rn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiButtonGroup"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"primary":i,s=n.component,l=void 0===s?"div":s,c=n.disabled,u=void 0!==c&&c,d=n.disableElevation,m=void 0!==d&&d,y=n.disableFocusRipple,w=void 0!==y&&y,_=n.disableRipple,S=void 0!==_&&_,x=n.fullWidth,C=void 0!==x&&x,k=n.orientation,Z=void 0===k?"horizontal":k,E=n.size,T=void 0===E?"medium":E,A=n.variant,P=void 0===A?"outlined":A,M=(0,h.Z)(n,Zn),O=(0,f.Z)({},n,{color:a,component:l,disabled:u,disableElevation:m,disableFocusRipple:w,disableRipple:S,fullWidth:C,orientation:Z,size:T,variant:P}),L=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.disableElevation,i=e.fullWidth,a=e.orientation,s=e.variant,l={root:["root",s,"vertical"===a&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped","grouped".concat((0,J.Z)(a)),"grouped".concat((0,J.Z)(s)),"grouped".concat((0,J.Z)(s)).concat((0,J.Z)(a)),"grouped".concat((0,J.Z)(s)).concat((0,J.Z)(n)),r&&"disabled"]};return(0,v.Z)(l,xn,t)}(O),I=p.useMemo((function(){return{className:L.grouped,color:a,disabled:u,disableElevation:m,disableFocusRipple:w,disableRipple:S,fullWidth:C,size:T,variant:P}}),[a,u,m,w,S,C,T,P,L.grouped]);return(0,R.jsx)(En,(0,f.Z)({as:l,role:"group",className:(0,g.Z)(L.root,o),ref:t,ownerState:O},M,{children:(0,R.jsx)(kn.Z.Provider,{value:I,children:r})}))}));function Tn(e){return(0,C.Z)("MuiCard",e)}var An=(0,k.Z)("MuiCard",["root"]),Pn=["className","raised"],Mn=(0,y.ZP)(_.Z,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),On=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,h.Z)(n,Pn),s=(0,f.Z)({},n,{raised:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Tn,t)}(s);return(0,R.jsx)(Mn,(0,f.Z)({className:(0,g.Z)(l.root,r),elevation:i?8:void 0,ref:t,ownerState:s},a))}));function Ln(e){return(0,C.Z)("MuiCardActionArea",e)}var In=(0,k.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]),Dn=["children","className","focusVisibleClassName"],Nn=(0,y.ZP)(W.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme;return t={display:"block",textAlign:"inherit",width:"100%"},(0,d.Z)(t,"&:hover .".concat(In.focusHighlight),{opacity:(n.vars||n).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}}),(0,d.Z)(t,"&.".concat(In.focusVisible," .").concat(In.focusHighlight),{opacity:(n.vars||n).palette.action.focusOpacity}),t})),jn=(0,y.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:function(e,t){return t.focusHighlight}})((function(e){var t=e.theme;return{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}})),$n=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardActionArea"}),r=n.children,o=n.className,i=n.focusVisibleClassName,a=(0,h.Z)(n,Dn),s=n,l=function(e){var t=e.classes;return(0,v.Z)({root:["root"],focusHighlight:["focusHighlight"]},Ln,t)}(s);return(0,R.jsxs)(Nn,(0,f.Z)({className:(0,g.Z)(l.root,o),focusVisibleClassName:(0,g.Z)(i,l.focusVisible),ref:t,ownerState:s},a,{children:[r,(0,R.jsx)(jn,{className:l.focusHighlight,ownerState:s})]}))}));function Fn(e){return(0,C.Z)("MuiCardActions",e)}var zn=(0,k.Z)("MuiCardActions",["root","spacing"]),Wn=["disableSpacing","className"],Bn=(0,y.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),Hn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardActions"}),r=n.disableSpacing,o=void 0!==r&&r,i=n.className,a=(0,h.Z)(n,Wn),s=(0,f.Z)({},n,{disableSpacing:o}),l=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,v.Z)(n,Fn,t)}(s);return(0,R.jsx)(Bn,(0,f.Z)({className:(0,g.Z)(l.root,i),ownerState:s,ref:t},a))}));function Un(e){return(0,C.Z)("MuiCardContent",e)}var Vn=(0,k.Z)("MuiCardContent",["root"]),Gn=["className","component"],qn=(0,y.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),Kn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,h.Z)(n,Gn),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Un,t)}(s);return(0,R.jsx)(qn,(0,f.Z)({as:i,className:(0,g.Z)(l.root,r),ownerState:s,ref:t},a))}));function Yn(e){return(0,C.Z)("MuiCardHeader",e)}var Jn=(0,k.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Xn=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Qn=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:function(e,t){var n;return(0,f.Z)((n={},(0,d.Z)(n,"& .".concat(Jn.title),t.title),(0,d.Z)(n,"& .".concat(Jn.subheader),t.subheader),n),t.root)}})({display:"flex",alignItems:"center",padding:16}),er=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:function(e,t){return t.avatar}})({display:"flex",flex:"0 0 auto",marginRight:16}),tr=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:function(e,t){return t.action}})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),nr=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:function(e,t){return t.content}})({flex:"1 1 auto"}),rr=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardHeader"}),r=n.action,o=n.avatar,i=n.className,a=n.component,s=void 0===a?"div":a,l=n.disableTypography,c=void 0!==l&&l,u=n.subheader,d=n.subheaderTypographyProps,p=n.title,m=n.titleTypographyProps,y=(0,h.Z)(n,Xn),w=(0,f.Z)({},n,{component:s,disableTypography:c}),_=function(e){var t=e.classes;return(0,v.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Yn,t)}(w),S=p;null==S||S.type===me.Z||c||(S=(0,R.jsx)(me.Z,(0,f.Z)({variant:o?"body2":"h5",className:_.title,component:"span",display:"block"},m,{children:S})));var x=u;return null==x||x.type===me.Z||c||(x=(0,R.jsx)(me.Z,(0,f.Z)({variant:o?"body2":"body1",className:_.subheader,color:"text.secondary",component:"span",display:"block"},d,{children:x}))),(0,R.jsxs)(Qn,(0,f.Z)({className:(0,g.Z)(_.root,i),as:s,ref:t,ownerState:w},y,{children:[o&&(0,R.jsx)(er,{className:_.avatar,ownerState:w,children:o}),(0,R.jsxs)(nr,{className:_.content,ownerState:w,children:[S,x]}),r&&(0,R.jsx)(tr,{className:_.action,ownerState:w,children:r})]}))}));function or(e){return(0,C.Z)("MuiCardMedia",e)}var ir=(0,k.Z)("MuiCardMedia",["root","media","img"]),ar=["children","className","component","image","src","style"],sr=(0,y.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.isMediaComponent,o=n.isImageComponent;return[t.root,r&&t.media,o&&t.img]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},t.isMediaComponent&&{width:"100%"},t.isImageComponent&&{objectFit:"cover"})})),lr=["video","audio","picture","iframe","img"],cr=["picture","img"],ur=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardMedia"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"div":i,s=n.image,l=n.src,c=n.style,u=(0,h.Z)(n,ar),d=-1!==lr.indexOf(a),p=!d&&s?(0,f.Z)({backgroundImage:'url("'.concat(s,'")')},c):c,m=(0,f.Z)({},n,{component:a,isMediaComponent:d,isImageComponent:-1!==cr.indexOf(a)}),y=function(e){var t=e.classes,n={root:["root",e.isMediaComponent&&"media",e.isImageComponent&&"img"]};return(0,v.Z)(n,or,t)}(m);return(0,R.jsx)(sr,(0,f.Z)({className:(0,g.Z)(y.root,o),as:a,role:!d&&s?"img":void 0,ref:t,style:p,ownerState:m,src:d?s||l:void 0},u,{children:r}))})),dr=ur,hr=n(3034),fr=n(4178),pr=n(168),mr=n(2554);function gr(e){return(0,C.Z)("MuiCircularProgress",e)}var vr,yr,br,wr,_r,Sr,xr,Cr,kr=(0,k.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),Zr=["className","color","disableShrink","size","style","thickness","value","variant"],Er=44,Rr=(0,mr.F4)(_r||(_r=vr||(vr=(0,pr.Z)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])))),Tr=(0,mr.F4)(Sr||(Sr=yr||(yr=(0,pr.Z)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])))),Ar=(0,y.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["color".concat((0,J.Z)(n.color))]]}})((function(e){var t=e.ownerState,n=e.theme;return(0,f.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:n.transitions.create("transform")},"inherit"!==t.color&&{color:(n.vars||n).palette[t.color].main})}),(function(e){return"indeterminate"===e.ownerState.variant&&(0,mr.iv)(xr||(xr=br||(br=(0,pr.Z)(["\n animation: "," 1.4s linear infinite;\n "]))),Rr)})),Pr=(0,y.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(e,t){return t.svg}})({display:"block"}),Mr=(0,y.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(e,t){var n=e.ownerState;return[t.circle,t["circle".concat((0,J.Z)(n.variant))],n.disableShrink&&t.circleDisableShrink]}})((function(e){var t=e.ownerState,n=e.theme;return(0,f.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(e){var t=e.ownerState;return"indeterminate"===t.variant&&!t.disableShrink&&(0,mr.iv)(Cr||(Cr=wr||(wr=(0,pr.Z)(["\n animation: "," 1.4s ease-in-out infinite;\n "]))),Tr)})),Or=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCircularProgress"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.disableShrink,s=void 0!==a&&a,l=n.size,c=void 0===l?40:l,u=n.style,d=n.thickness,p=void 0===d?3.6:d,m=n.value,y=void 0===m?0:m,w=n.variant,_=void 0===w?"indeterminate":w,S=(0,h.Z)(n,Zr),x=(0,f.Z)({},n,{color:i,disableShrink:s,size:c,thickness:p,value:y,variant:_}),C=function(e){var t=e.classes,n=e.variant,r=e.color,o=e.disableShrink,i={root:["root",n,"color".concat((0,J.Z)(r))],svg:["svg"],circle:["circle","circle".concat((0,J.Z)(n)),o&&"circleDisableShrink"]};return(0,v.Z)(i,gr,t)}(x),k={},Z={},E={};if("determinate"===_){var T=2*Math.PI*((Er-p)/2);k.strokeDasharray=T.toFixed(3),E["aria-valuenow"]=Math.round(y),k.strokeDashoffset="".concat(((100-y)/100*T).toFixed(3),"px"),Z.transform="rotate(-90deg)"}return(0,R.jsx)(Ar,(0,f.Z)({className:(0,g.Z)(C.root,r),style:(0,f.Z)({width:c,height:c},Z,u),ownerState:x,ref:t,role:"progressbar"},E,S,{children:(0,R.jsx)(Pr,{className:C.svg,ownerState:x,viewBox:"".concat(22," ").concat(22," ").concat(Er," ").concat(Er),children:(0,R.jsx)(Mr,{className:C.circle,style:k,ownerState:x,cx:Er,cy:Er,r:(Er-p)/2,fill:"none",strokeWidth:p})})}))})),Lr=Or,Ir=n(3767),Dr=n(8751);function Nr(e){return(0,C.Z)("MuiContainer",e)}var jr=(0,k.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]),$r=["className","component","disableGutters","fixed","maxWidth"],Fr=(0,y.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,J.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&(0,d.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}))}),(function(e){var t=e.theme;return e.ownerState.fixed&&Object.keys(t.breakpoints.values).reduce((function(e,n){var r=t.breakpoints.values[n];return 0!==r&&(e[t.breakpoints.up(n)]={maxWidth:"".concat(r).concat(t.breakpoints.unit)}),e}),{})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},"xs"===n.maxWidth&&(0,d.Z)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),n.maxWidth&&"xs"!==n.maxWidth&&(0,d.Z)({},t.breakpoints.up(n.maxWidth),{maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)}))})),zr=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.disableGutters,s=void 0!==a&&a,l=n.fixed,c=void 0!==l&&l,u=n.maxWidth,d=void 0===u?"lg":u,p=(0,h.Z)(n,$r),m=(0,f.Z)({},n,{component:i,disableGutters:s,fixed:c,maxWidth:d}),y=function(e){var t=e.classes,n=e.fixed,r=e.disableGutters,o=e.maxWidth,i={root:["root",o&&"maxWidth".concat((0,J.Z)(String(o))),n&&"fixed",r&&"disableGutters"]};return(0,v.Z)(i,Nr,t)}(m);return(0,R.jsx)(Fr,(0,f.Z)({as:i,ownerState:m,className:(0,g.Z)(y.root,r),ref:t},p))})),Wr=n(8982),Br=function(e,t){return(0,f.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&{colorScheme:e.palette.mode})},Hr=function(e){return(0,f.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}})};var Ur=function(e){var t=(0,b.Z)({props:e,name:"MuiCssBaseline"}),n=t.children,r=t.enableColorScheme,o=void 0!==r&&r;return(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(Wr.Z,{styles:function(e){return function(e){var t,n,r={html:Br(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,f.Z)({margin:0},Hr(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o=null==(t=e.components)||null==(n=t.MuiCssBaseline)?void 0:n.styleOverrides;return o&&(r=[r,o]),r}(e,o)}}),n]})},Vr={track:"#2b2b2b",thumb:"#6b6b6b",active:"#959595"};function Gr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vr;return{scrollbarColor:"".concat(e.thumb," ").concat(e.track),"&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:e.track},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:e.thumb,minHeight:24,border:"3px solid ".concat(e.track)},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:e.active},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:e.track}}}var qr=n(5574),Kr=n(8514),Yr=n(7386),Jr=n(411),Xr=n(4899),Qr=n(6907),eo=n(1701),to=n(7293),no=n(5661),ro=n(5178),oo=n(133),io=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],ao=(0,y.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,Y.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},n.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat((t.vars||t).palette.divider),transform:"translateX(0%)"}})}),(function(e){var t=e.ownerState;return(0,f.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),so=(0,y.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),lo=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiDivider"}),r=n.absolute,o=void 0!==r&&r,i=n.children,a=n.className,s=n.component,l=void 0===s?i?"div":"hr":s,c=n.flexItem,u=void 0!==c&&c,d=n.light,p=void 0!==d&&d,m=n.orientation,y=void 0===m?"horizontal":m,w=n.role,_=void 0===w?"hr"!==l?"separator":void 0:w,S=n.textAlign,x=void 0===S?"center":S,C=n.variant,k=void 0===C?"fullWidth":C,Z=(0,h.Z)(n,io),E=(0,f.Z)({},n,{absolute:o,component:l,flexItem:u,light:p,orientation:y,role:_,textAlign:x,variant:k}),T=function(e){var t=e.absolute,n=e.children,r=e.classes,o=e.flexItem,i=e.light,a=e.orientation,s=e.textAlign,l={root:["root",t&&"absolute",e.variant,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,v.Z)(l,oo.V,r)}(E);return(0,R.jsx)(ao,(0,f.Z)({as:l,className:(0,g.Z)(T.root,a),role:_,ref:t,ownerState:E},Z,{children:i?(0,R.jsx)(so,{className:T.wrapper,ownerState:E,children:i}):null}))})),co=n(6549),uo=n(5931),ho=n(3967);function fo(e){return(0,C.Z)("MuiDrawer",e)}var po=(0,k.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),mo=["BackdropProps"],go=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],vo=function(e,t){var n=e.ownerState;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},yo=(0,y.ZP)(co.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:vo})((function(e){var t=e.theme;return{zIndex:(t.vars||t).zIndex.drawer}})),bo=(0,y.ZP)("div",{shouldForwardProp:y.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:vo})({flex:"0 0 auto"}),wo=(0,y.ZP)(_.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["paperAnchor".concat((0,J.Z)(n.anchor))],"temporary"!==n.variant&&t["paperAnchorDocked".concat((0,J.Z)(n.anchor))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:"1px solid ".concat((t.vars||t).palette.divider)},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider)},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:"1px solid ".concat((t.vars||t).palette.divider)})})),_o={left:"right",right:"left",top:"down",bottom:"up"};function So(e){return-1!==["left","right"].indexOf(e)}function xo(e,t){return"rtl"===e.direction&&So(t)?_o[t]:t}var Co=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiDrawer"}),r=(0,ho.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=n.anchor,a=void 0===i?"left":i,s=n.BackdropProps,l=n.children,c=n.className,u=n.elevation,d=void 0===u?16:u,m=n.hideBackdrop,y=void 0!==m&&m,w=n.ModalProps,_=(w=void 0===w?{}:w).BackdropProps,S=n.onClose,x=n.open,C=void 0!==x&&x,k=n.PaperProps,Z=void 0===k?{}:k,E=n.SlideProps,T=n.TransitionComponent,A=void 0===T?uo.Z:T,P=n.transitionDuration,M=void 0===P?o:P,O=n.variant,L=void 0===O?"temporary":O,I=(0,h.Z)(n.ModalProps,mo),D=(0,h.Z)(n,go),N=p.useRef(!1);p.useEffect((function(){N.current=!0}),[]);var j=xo(r,a),$=a,F=(0,f.Z)({},n,{anchor:$,elevation:d,open:C,variant:L},D),z=function(e){var t=e.classes,n=e.anchor,r=e.variant,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,J.Z)(n)),"temporary"!==r&&"paperAnchorDocked".concat((0,J.Z)(n))]};return(0,v.Z)(o,fo,t)}(F),W=(0,R.jsx)(wo,(0,f.Z)({elevation:"temporary"===L?d:0,square:!0},Z,{className:(0,g.Z)(z.paper,Z.className),ownerState:F,children:l}));if("permanent"===L)return(0,R.jsx)(bo,(0,f.Z)({className:(0,g.Z)(z.root,z.docked,c),ownerState:F,ref:t},D,{children:W}));var B=(0,R.jsx)(A,(0,f.Z)({in:C,direction:_o[j],timeout:M,appear:N.current},E,{children:W}));return"persistent"===L?(0,R.jsx)(bo,(0,f.Z)({className:(0,g.Z)(z.root,z.docked,c),ownerState:F,ref:t},D,{children:B})):(0,R.jsx)(yo,(0,f.Z)({BackdropProps:(0,f.Z)({},s,_,{transitionDuration:M}),className:(0,g.Z)(z.root,z.modal,c),open:C,ownerState:F,onClose:S,hideBackdrop:y,ref:t},D,I,{children:B}))})),ko=n(8240),Zo=n(2044),Eo=n(627),Ro=n(6596),To=n(5363),Ao=n(2930),Po=n(4997),Mo=n(5801),Oo=n(5948);function Lo(e){return(0,C.Z)("MuiFormGroup",e)}var Io=(0,k.Z)("MuiFormGroup",["root","row","error"]),Do=n(6147),No=["className","row"],jo=(0,y.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.row&&t.row]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),$o=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiFormGroup"}),r=n.className,o=n.row,i=void 0!==o&&o,a=(0,h.Z)(n,No),s=(0,Ao.Z)(),l=(0,Do.Z)({props:n,muiFormControl:s,states:["error"]}),c=(0,f.Z)({},n,{row:i,error:l.error}),u=function(e){var t=e.classes,n={root:["root",e.row&&"row",e.error&&"error"]};return(0,v.Z)(n,Lo,t)}(c);return(0,R.jsx)(jo,(0,f.Z)({className:(0,g.Z)(u.root,r),ownerState:c,ref:t},a))})),Fo=n(35),zo=n(147),Wo=n(7133),Bo=n(843),Ho=n(1153),Uo=n(1242),Vo=n(3208),Go=n(2007),qo=n.n(Go),Ko=n(3073),Yo=n(2110),Jo=n.n(Yo),Xo=n(162),Qo=n(9120);function ei(e,t,n,r,o){var i="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,a=p.useState((function(){return o&&i?n(e).matches:r?r(e).matches:t})),s=(0,u.Z)(a,2),l=s[0],c=s[1];return(0,Xo.Z)((function(){var t=!0;if(i){var r=n(e),o=function(){t&&c(r.matches)};return o(),r.addListener(o),function(){t=!1,r.removeListener(o)}}}),[e,n,i]),l}var ti=m.useSyncExternalStore;function ni(e,t,n,r){var o=p.useCallback((function(){return t}),[t]),i=p.useMemo((function(){if(null!==r){var t=r(e).matches;return function(){return t}}return o}),[o,e,r]),a=p.useMemo((function(){if(null===n)return[o,function(){return function(){}}];var t=n(e);return[function(){return t.matches},function(e){return t.addListener(e),function(){t.removeListener(e)}}]}),[o,n,e]),s=(0,u.Z)(a,2),l=s[0],c=s[1];return ti(c,l,i)}function ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,Qo.Z)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,o=(0,Ko.Z)({name:"MuiUseMediaQuery",props:t,theme:n}),i=o.defaultMatches,a=void 0!==i&&i,s=o.matchMedia,l=void 0===s?r?window.matchMedia:null:s,c=o.ssrMatchMedia,u=void 0===c?null:c,d=o.noSsr;var h="function"===typeof e?e(n):e;h=h.replace(/^@media( ?)/m,"");var f=void 0!==ti?ni:ei,p=f(h,a,l,u,d);return p}var oi=["initialWidth","width"],ii=["xs","sm","md","lg","xl"],ai=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?ii.indexOf(e)<=ii.indexOf(t):ii.indexOf(e)2&&void 0!==arguments[2]&&arguments[2];return n?ii.indexOf(t)<=ii.indexOf(e):ii.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,o=e.noSSR,i=void 0!==o&&o,a=e.initialWidth;function s(e){var n=(0,ho.Z)(),o=e.theme||n,s=(0,Ko.Z)({theme:o,name:"MuiWithWidth",props:e}),l=s.initialWidth,c=s.width,d=(0,h.Z)(s,oi),m=p.useState(!1),g=(0,u.Z)(m,2),v=g[0],y=g[1];(0,Xo.Z)((function(){y(!0)}),[]);var b=o.breakpoints.keys.slice().reverse().reduce((function(e,t){var n=ri(o.breakpoints.up(t));return!e&&n?t:e}),null),w=(0,f.Z)({width:c||(v||i?b:void 0)||l||a},r?{theme:o}:{},d);return void 0===w.width?null:(0,R.jsx)(t,(0,f.Z)({},w))}return Jo()(s,t),s}};function ci(e){var t=e.children,n=e.only,r=e.width,o=(0,ho.Z)(),i=!0;if(n)if(Array.isArray(n))for(var a=0;a .".concat(Na.root),{paddingRight:48}),(t={},(0,d.Z)(t,"&.".concat(Ia.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,d.Z)(t,"&.".concat(Ia.selected),(0,d.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Ia.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,d.Z)(t,"&.".concat(Ia.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},r.button&&(0,d.Z)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(Ia.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),r.hasSecondaryAction&&{paddingRight:48})})),Ga=(0,y.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,t){return t.container}})({position:"relative"}),qa=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItem"}),r=n.alignItems,o=void 0===r?"center":r,i=n.autoFocus,a=void 0!==i&&i,s=n.button,l=void 0!==s&&s,c=n.children,u=n.className,d=n.component,m=n.components,y=void 0===m?{}:m,w=n.componentsProps,_=void 0===w?{}:w,S=n.ContainerComponent,x=void 0===S?"li":S,C=n.ContainerProps,k=(C=void 0===C?{}:C).className,Z=n.dense,E=void 0!==Z&&Z,T=n.disabled,A=void 0!==T&&T,P=n.disableGutters,M=void 0!==P&&P,O=n.disablePadding,L=void 0!==O&&O,I=n.divider,D=void 0!==I&&I,N=n.focusVisibleClassName,j=n.secondaryAction,$=n.selected,F=void 0!==$&&$,z=(0,h.Z)(n.ContainerProps,Ha),B=(0,h.Z)(n,Ua),H=p.useContext(Oa.Z),U={dense:E||H.dense||!1,alignItems:o,disableGutters:M},V=p.useRef(null);(0,Xo.Z)((function(){a&&V.current&&V.current.focus()}),[a]);var G=p.Children.toArray(c),q=G.length&&(0,Pi.Z)(G[G.length-1],["ListItemSecondaryAction"]),K=(0,f.Z)({},n,{alignItems:o,autoFocus:a,button:l,dense:U.dense,disabled:A,disableGutters:M,disablePadding:L,divider:D,hasSecondaryAction:q,selected:F}),Y=function(e){var t=e.alignItems,n=e.button,r=e.classes,o=e.dense,i=e.disabled,a={root:["root",o&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,v.Z)(a,La,r)}(K),J=(0,$e.Z)(V,t),X=y.Root||Va,Q=_.root||{},ee=(0,f.Z)({className:(0,g.Z)(Y.root,Q.className,u),disabled:A},B),te=d||"li";return l&&(ee.component=d||"div",ee.focusVisibleClassName=(0,g.Z)(Ia.focusVisible,N),te=W.Z),q?(te=ee.component||d?te:"div","li"===x&&("li"===te?te="div":"li"===ee.component&&(ee.component="div")),(0,R.jsx)(Oa.Z.Provider,{value:U,children:(0,R.jsxs)(Ga,(0,f.Z)({as:x,className:(0,g.Z)(Y.container,k),ref:J,ownerState:K},z,{children:[(0,R.jsx)(X,(0,f.Z)({},Q,!(0,$t.Z)(X)&&{as:te,ownerState:(0,f.Z)({},K,Q.ownerState)},ee,{children:G})),G.pop()]}))})):(0,R.jsx)(Oa.Z.Provider,{value:U,children:(0,R.jsxs)(X,(0,f.Z)({},Q,{as:te,ref:J,ownerState:K},!(0,$t.Z)(X)&&{ownerState:(0,f.Z)({},K,Q.ownerState)},ee,{children:[G,j&&(0,R.jsx)(Ba,{children:j})]}))})}));function Ka(e){return(0,C.Z)("MuiListItemAvatar",e)}var Ya=(0,k.Z)("MuiListItemAvatar",["root","alignItemsFlexStart"]),Ja=["className"],Xa=(0,y.ZP)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.ownerState;return(0,f.Z)({minWidth:56,flexShrink:0},"flex-start"===t.alignItems&&{marginTop:8})})),Qa=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemAvatar"}),r=n.className,o=(0,h.Z)(n,Ja),i=p.useContext(Oa.Z),a=(0,f.Z)({},n,{alignItems:i.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,v.Z)(r,Ka,n)}(a);return(0,R.jsx)(Xa,(0,f.Z)({className:(0,g.Z)(s.root,r),ownerState:a,ref:t},o))})),es=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],ts=(0,y.ZP)(W.Z,{shouldForwardProp:function(e){return(0,y.FO)(e)||"classes"===e},name:"MuiListItemButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)((t={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,d.Z)(t,"&.".concat(Na.selected),(0,d.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Na.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,d.Z)(t,"&.".concat(Na.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,d.Z)(t,"&.".concat(Na.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,d.Z)(t,"&.".concat(Na.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===r.alignItems&&{alignItems:"flex-start"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.dense&&{paddingTop:4,paddingBottom:4})})),ns=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemButton"}),r=n.alignItems,o=void 0===r?"center":r,i=n.autoFocus,a=void 0!==i&&i,s=n.component,l=void 0===s?"div":s,c=n.children,u=n.dense,d=void 0!==u&&u,m=n.disableGutters,y=void 0!==m&&m,w=n.divider,_=void 0!==w&&w,S=n.focusVisibleClassName,x=n.selected,C=void 0!==x&&x,k=(0,h.Z)(n,es),Z=p.useContext(Oa.Z),E={dense:d||Z.dense||!1,alignItems:o,disableGutters:y},T=p.useRef(null);(0,Xo.Z)((function(){a&&T.current&&T.current.focus()}),[a]);var A=(0,f.Z)({},n,{alignItems:o,dense:E.dense,disableGutters:y,divider:_,selected:C}),P=function(e){var t=e.alignItems,n=e.classes,r=e.dense,o=e.disabled,i={root:["root",r&&"dense",!e.disableGutters&&"gutters",e.divider&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",e.selected&&"selected"]},a=(0,v.Z)(i,Da,n);return(0,f.Z)({},n,a)}(A),M=(0,$e.Z)(T,t);return(0,R.jsx)(Oa.Z.Provider,{value:E,children:(0,R.jsx)(ts,(0,f.Z)({ref:M,component:l,focusVisibleClassName:(0,g.Z)(P.focusVisible,S),ownerState:A},k,{classes:P,children:c}))})})),rs=n(6014),os=["className"],is=(0,y.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),as=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemIcon"}),r=n.className,o=(0,h.Z)(n,os),i=p.useContext(Oa.Z),a=(0,f.Z)({},n,{alignItems:i.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,v.Z)(r,rs.f,n)}(a);return(0,R.jsx)(is,(0,f.Z)({className:(0,g.Z)(s.root,r),ownerState:a,ref:t},o))})),ss=n(9849),ls=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],cs=(0,y.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(ss.Z.primary),t.primary),(0,d.Z)({},"& .".concat(ss.Z.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,f.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),us=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemText"}),r=n.children,o=n.className,i=n.disableTypography,a=void 0!==i&&i,s=n.inset,l=void 0!==s&&s,c=n.primary,u=n.primaryTypographyProps,d=n.secondary,m=n.secondaryTypographyProps,y=(0,h.Z)(n,ls),w=p.useContext(Oa.Z).dense,_=null!=c?c:r,S=d,x=(0,f.Z)({},n,{disableTypography:a,inset:l,primary:!!_,secondary:!!S,dense:w}),C=function(e){var t=e.classes,n=e.inset,r=e.primary,o=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,v.Z)(i,ss.L,t)}(x);return null==_||_.type===me.Z||a||(_=(0,R.jsx)(me.Z,(0,f.Z)({variant:w?"body2":"body1",className:C.primary,component:"span",display:"block"},u,{children:_}))),null==S||S.type===me.Z||a||(S=(0,R.jsx)(me.Z,(0,f.Z)({variant:"body2",className:C.secondary,color:"text.secondary",display:"block"},m,{children:S}))),(0,R.jsxs)(cs,(0,f.Z)({className:(0,g.Z)(C.root,o),ownerState:x,ref:t},y,{children:[_,S]}))})),ds=n(2744),hs=n(5782),fs=n(2626),ps=n(1498),ms=n(5028);function gs(e){return(0,C.Z)("MuiMobileStepper",e)}var vs=(0,k.Z)("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]),ys=["activeStep","backButton","className","LinearProgressProps","nextButton","position","steps","variant"],bs=(0,y.ZP)(_.Z,{name:"MuiMobileStepper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,J.Z)(n.position))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(t.vars||t).palette.background.default,padding:8},"bottom"===n.position&&{position:"fixed",bottom:0,left:0,right:0,zIndex:(t.vars||t).zIndex.mobileStepper},"top"===n.position&&{position:"fixed",top:0,left:0,right:0,zIndex:(t.vars||t).zIndex.mobileStepper})})),ws=(0,y.ZP)("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:function(e,t){return t.dots}})((function(e){var t=e.ownerState;return(0,f.Z)({},"dots"===t.variant&&{display:"flex",flexDirection:"row"})})),_s=(0,y.ZP)("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"dotActive"!==e},overridesResolver:function(e,t){var n=e.dotActive;return[t.dot,n&&t.dotActive]}})((function(e){var t=e.theme,n=e.ownerState,r=e.dotActive;return(0,f.Z)({},"dots"===n.variant&&(0,f.Z)({transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),backgroundColor:(t.vars||t).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},r&&{backgroundColor:(t.vars||t).palette.primary.main}))})),Ss=(0,y.ZP)(Sa,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:function(e,t){return t.progress}})((function(e){var t=e.ownerState;return(0,f.Z)({},"progress"===t.variant&&{width:"50%"})})),xs=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiMobileStepper"}),r=n.activeStep,o=void 0===r?0:r,i=n.backButton,a=n.className,s=n.LinearProgressProps,l=n.nextButton,c=n.position,u=void 0===c?"bottom":c,d=n.steps,m=n.variant,y=void 0===m?"dots":m,w=(0,h.Z)(n,ys),_=(0,f.Z)({},n,{activeStep:o,position:u,variant:y}),S=function(e){var t=e.classes,n=e.position,r={root:["root","position".concat((0,J.Z)(n))],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return(0,v.Z)(r,gs,t)}(_);return(0,R.jsxs)(bs,(0,f.Z)({square:!0,elevation:0,className:(0,g.Z)(S.root,a),ref:t,ownerState:_},w,{children:[i,"text"===y&&(0,R.jsxs)(p.Fragment,{children:[o+1," / ",d]}),"dots"===y&&(0,R.jsx)(ws,{ownerState:_,className:S.dots,children:(0,an.Z)(new Array(d)).map((function(e,t){return(0,R.jsx)(_s,{className:(0,g.Z)(S.dot,t===o&&S.dotActive),ownerState:_,dotActive:t===o},t)}))}),"progress"===y&&(0,R.jsx)(Ss,(0,f.Z)({ownerState:_,className:S.progress,variant:"determinate",value:Math.ceil(o/(d-1)*100)},s)),l]}))})),Cs=n(8653),ks=n(8345),Zs=n(9916),Es=n(1797),Rs=["className","children","classes","IconComponent","input","inputProps","variant"],Ts=["root"],As=(0,R.jsx)(Gi.Z,{}),Ps=p.forwardRef((function(e,t){var n=(0,b.Z)({name:"MuiNativeSelect",props:e}),r=n.className,o=n.children,i=n.classes,a=void 0===i?{}:i,s=n.IconComponent,l=void 0===s?Je.Z:s,c=n.input,u=void 0===c?As:c,d=n.inputProps,m=(0,h.Z)(n,Rs),y=(0,Ao.Z)(),w=(0,Do.Z)({props:n,muiFormControl:y,states:["variant"]}),_=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Es.f,t)}((0,f.Z)({},n,{classes:a})),S=(0,h.Z)(a,Ts);return p.cloneElement(u,(0,f.Z)({inputComponent:Zs.ZP,inputProps:(0,f.Z)({children:o,classes:S,IconComponent:l,variant:w.variant,type:void 0},d,u?u.props.inputProps:{}),ref:t},m,{className:(0,g.Z)(_.root,u.props.className,r)}))}));Ps.muiName="Select";var Ms=Ps,Os=n(5721);var Ls=function(e){var t=e.children,n=e.defer,r=void 0!==n&&n,o=e.fallback,i=void 0===o?null:o,a=p.useState(!1),s=(0,u.Z)(a,2),l=s[0],c=s[1];return(0,Os.Z)((function(){r||c(!0)}),[r]),p.useEffect((function(){r&&c(!0)}),[r]),(0,R.jsx)(p.Fragment,{children:l?t:i})},Is=n(7196);function Ds(e){return(0,C.Z)("MuiPagination",e)}var Ns=(0,k.Z)("MuiPagination",["root","ul","outlined","text"]),js=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function $s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.boundaryCount,n=void 0===t?1:t,r=e.componentName,o=void 0===r?"usePagination":r,i=e.count,a=void 0===i?1:i,s=e.defaultPage,l=void 0===s?1:s,c=e.disabled,d=void 0!==c&&c,p=e.hideNextButton,m=void 0!==p&&p,g=e.hidePrevButton,v=void 0!==g&&g,y=e.onChange,b=e.page,w=e.showFirstButton,_=void 0!==w&&w,S=e.showLastButton,x=void 0!==S&&S,C=e.siblingCount,k=void 0===C?1:C,Z=(0,h.Z)(e,js),E=(0,Ce.Z)({controlled:b,default:l,name:o,state:"page"}),R=(0,u.Z)(E,2),T=R[0],A=R[1],P=function(e,t){b||A(t),y&&y(e,t)},M=function(e,t){var n=t-e+1;return Array.from({length:n},(function(t,n){return e+n}))},O=M(1,Math.min(n,a)),L=M(Math.max(a-n+1,n+1),a),I=Math.max(Math.min(T-k,a-n-2*k-1),n+2),D=Math.min(Math.max(T+k,n+2*k+2),L.length>0?L[0]-2:a-1),N=[].concat((0,an.Z)(_?["first"]:[]),(0,an.Z)(v?[]:["previous"]),(0,an.Z)(O),(0,an.Z)(I>n+2?["start-ellipsis"]:n+1n?[a-n]:[]),(0,an.Z)(L),(0,an.Z)(m?[]:["next"]),(0,an.Z)(x?["last"]:[])),j=function(e){switch(e){case"first":return 1;case"previous":return T-1;case"next":return T+1;case"last":return a;default:return null}},$=N.map((function(e){return"number"===typeof e?{onClick:function(t){P(t,e)},type:"page",page:e,selected:e===T,disabled:d,"aria-current":e===T?"true":void 0}:{onClick:function(t){P(t,j(e))},type:e,page:j(e),selected:!1,disabled:d||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?T>=a:T<=1)}}));return(0,f.Z)({items:$},Z)}function Fs(e){return(0,C.Z)("MuiPaginationItem",e)}var zs=(0,k.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),Ws=(0,ne.Z)((0,R.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Bs=(0,ne.Z)((0,R.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Hs=(0,ne.Z)((0,R.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),Us=(0,ne.Z)((0,R.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Vs=["className","color","component","components","disabled","page","selected","shape","size","type","variant"],Gs=function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,J.Z)(n.size))],"text"===n.variant&&t["text".concat((0,J.Z)(n.color))],"outlined"===n.variant&&t["outlined".concat((0,J.Z)(n.color))],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]},qs=(0,y.ZP)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Gs})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},t.typography.body2,(0,d.Z)({borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(t.vars||t).palette.text.primary,height:"auto"},"&.".concat(zs.disabled),{opacity:(t.vars||t).palette.action.disabledOpacity}),"small"===n.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===n.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:t.typography.pxToRem(15)})})),Ks=(0,y.ZP)(W.Z,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Gs})((function(e){var t,n,r=e.theme,o=e.ownerState;return(0,f.Z)({},r.typography.body2,(n={borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(r.vars||r).palette.text.primary},(0,d.Z)(n,"&.".concat(zs.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,d.Z)(n,"&.".concat(zs.disabled),{opacity:(r.vars||r).palette.action.disabledOpacity}),(0,d.Z)(n,"transition",r.transitions.create(["color","background-color"],{duration:r.transitions.duration.short})),(0,d.Z)(n,"&:hover",{backgroundColor:(r.vars||r).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,d.Z)(n,"&.".concat(zs.selected),(t={backgroundColor:(r.vars||r).palette.action.selected,"&:hover":{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.action.selected," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(r.palette.action.selected,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(r.vars||r).palette.action.selected}}},(0,d.Z)(t,"&.".concat(zs.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.action.selected," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(r.palette.action.selected,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)}),(0,d.Z)(t,"&.".concat(zs.disabled),{opacity:1,color:(r.vars||r).palette.action.disabled,backgroundColor:(r.vars||r).palette.action.selected}),t)),n),"small"===o.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===o.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:r.typography.pxToRem(15)},"rounded"===o.shape&&{borderRadius:(r.vars||r).shape.borderRadius})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},"text"===n.variant&&(0,d.Z)({},"&.".concat(zs.selected),(0,f.Z)({},"standard"!==n.color&&(0,d.Z)({color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main,"&:hover":{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}},"&.".concat(zs.focusVisible),{backgroundColor:(t.vars||t).palette[n.color].dark}),(0,d.Z)({},"&.".concat(zs.disabled),{color:(t.vars||t).palette.action.disabled}))),"outlined"===n.variant&&(0,d.Z)({border:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"&.".concat(zs.selected),(0,f.Z)({},"standard"!==n.color&&(0,d.Z)({color:(t.vars||t).palette[n.color].main,border:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.5)"):(0,Y.Fq)(t.palette[n.color].main,.5)),backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.activatedOpacity,")"):(0,Y.Fq)(t.palette[n.color].main,t.palette.action.activatedOpacity),"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / calc(").concat(t.vars.palette.action.activatedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(t.palette[n.color].main,t.palette.action.activatedOpacity+t.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(zs.focusVisible),{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / calc(").concat(t.vars.palette.action.activatedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(t.palette[n.color].main,t.palette.action.activatedOpacity+t.palette.action.focusOpacity)}),(0,d.Z)({},"&.".concat(zs.disabled),{borderColor:(t.vars||t).palette.action.disabledBackground,color:(t.vars||t).palette.action.disabled}))))})),Ys=(0,y.ZP)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:function(e,t){return t.icon}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({fontSize:t.typography.pxToRem(20),margin:"0 -8px"},"small"===n.size&&{fontSize:t.typography.pxToRem(18)},"large"===n.size&&{fontSize:t.typography.pxToRem(22)})})),Js=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiPaginationItem"}),r=n.className,o=n.color,i=void 0===o?"standard":o,a=n.component,s=n.components,l=void 0===s?{first:Ws,last:Bs,next:Us,previous:Hs}:s,c=n.disabled,u=void 0!==c&&c,d=n.page,p=n.selected,m=void 0!==p&&p,y=n.shape,w=void 0===y?"circular":y,_=n.size,S=void 0===_?"medium":_,x=n.type,C=void 0===x?"page":x,k=n.variant,Z=void 0===k?"text":k,E=(0,h.Z)(n,Vs),T=(0,f.Z)({},n,{color:i,disabled:u,selected:m,shape:w,size:S,type:C,variant:Z}),A=(0,ho.Z)(),P=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.selected,i=e.size,a=e.shape,s=e.type,l=e.variant,c={root:["root","size".concat((0,J.Z)(i)),l,a,"standard"!==n&&"".concat(l).concat((0,J.Z)(n)),r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return(0,v.Z)(c,Fs,t)}(T),M=("rtl"===A.direction?{previous:l.next||Us,next:l.previous||Hs,last:l.first||Ws,first:l.last||Bs}:{previous:l.previous||Hs,next:l.next||Us,first:l.first||Ws,last:l.last||Bs})[C];return"start-ellipsis"===C||"end-ellipsis"===C?(0,R.jsx)(qs,{ref:t,ownerState:T,className:(0,g.Z)(P.root,r),children:"\u2026"}):(0,R.jsxs)(Ks,(0,f.Z)({ref:t,ownerState:T,component:a,disabled:u,className:(0,g.Z)(P.root,r)},E,{children:["page"===C&&d,M?(0,R.jsx)(Ys,{as:M,ownerState:T,className:P.icon}):null]}))})),Xs=Js,Qs=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],el=(0,y.ZP)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant]]}})({}),tl=(0,y.ZP)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:function(e,t){return t.ul}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function nl(e,t,n){return"page"===e?"".concat(n?"":"Go to ","page ").concat(t):"Go to ".concat(e," page")}var rl=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiPagination"}),r=n.boundaryCount,o=void 0===r?1:r,i=n.className,a=n.color,s=void 0===a?"standard":a,l=n.count,c=void 0===l?1:l,u=n.defaultPage,d=void 0===u?1:u,p=n.disabled,m=void 0!==p&&p,y=n.getItemAriaLabel,w=void 0===y?nl:y,_=n.hideNextButton,S=void 0!==_&&_,x=n.hidePrevButton,C=void 0!==x&&x,k=n.renderItem,Z=void 0===k?function(e){return(0,R.jsx)(Xs,(0,f.Z)({},e))}:k,E=n.shape,T=void 0===E?"circular":E,A=n.showFirstButton,P=void 0!==A&&A,M=n.showLastButton,O=void 0!==M&&M,L=n.siblingCount,I=void 0===L?1:L,D=n.size,N=void 0===D?"medium":D,j=n.variant,$=void 0===j?"text":j,F=(0,h.Z)(n,Qs),z=$s((0,f.Z)({},n,{componentName:"Pagination"})).items,W=(0,f.Z)({},n,{boundaryCount:o,color:s,count:c,defaultPage:d,disabled:m,getItemAriaLabel:w,hideNextButton:S,hidePrevButton:C,renderItem:Z,shape:T,showFirstButton:P,showLastButton:O,siblingCount:I,size:N,variant:$}),B=function(e){var t=e.classes,n={root:["root",e.variant],ul:["ul"]};return(0,v.Z)(n,Ds,t)}(W);return(0,R.jsx)(el,(0,f.Z)({"aria-label":"pagination navigation",className:(0,g.Z)(B.root,i),ownerState:W,ref:t},F,{children:(0,R.jsx)(tl,{className:B.ul,ownerState:W,children:z.map((function(e,t){return(0,R.jsx)("li",{children:Z((0,f.Z)({},e,{color:s,"aria-label":w(e.type,e.page,e.selected),shape:T,size:N,variant:$}))},t)}))})}))})),ol=n(8550),il=n(6207),al=n(2952),sl=n(6174),ll=n(7278),cl=(0,ne.Z)((0,R.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),ul=(0,ne.Z)((0,R.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),dl=(0,y.ZP)("span")({position:"relative",display:"flex"}),hl=(0,y.ZP)(cl)({transform:"scale(1)"}),fl=(0,y.ZP)(ul)((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})}));var pl=function(e){var t=e.checked,n=void 0!==t&&t,r=e.classes,o=void 0===r?{}:r,i=e.fontSize,a=(0,f.Z)({},e,{checked:n});return(0,R.jsxs)(dl,{className:o.root,ownerState:a,children:[(0,R.jsx)(hl,{fontSize:i,className:o.background,ownerState:a}),(0,R.jsx)(fl,{fontSize:i,className:o.dot,ownerState:a})]})},ml=n(1260);var gl=p.createContext(void 0);function vl(){return p.useContext(gl)}function yl(e){return(0,C.Z)("MuiRadio",e)}var bl=(0,k.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),wl=["checked","checkedIcon","color","icon","name","onChange","size"],_l=(0,y.ZP)(ll.Z,{shouldForwardProp:function(e){return(0,y.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat((0,J.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({color:t.palette.text.secondary,"&:hover":{backgroundColor:(0,Y.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&(0,d.Z)({},"&.".concat(bl.checked),{color:t.palette[n.color].main}),(0,d.Z)({},"&.".concat(bl.disabled),{color:t.palette.action.disabled}))}));var Sl=(0,R.jsx)(pl,{checked:!0}),xl=(0,R.jsx)(pl,{}),Cl=p.forwardRef((function(e,t){var n,r,o,i,a=(0,b.Z)({props:e,name:"MuiRadio"}),s=a.checked,l=a.checkedIcon,c=void 0===l?Sl:l,u=a.color,d=void 0===u?"primary":u,m=a.icon,g=void 0===m?xl:m,y=a.name,w=a.onChange,_=a.size,S=void 0===_?"medium":_,x=(0,h.Z)(a,wl),C=(0,f.Z)({},a,{color:d,size:S}),k=function(e){var t=e.classes,n=e.color,r={root:["root","color".concat((0,J.Z)(n))]};return(0,f.Z)({},t,(0,v.Z)(r,yl,t))}(C),Z=vl(),E=s,T=(0,ml.Z)(w,Z&&Z.onChange),A=y;return Z&&("undefined"===typeof E&&(o=Z.value,E="object"===typeof(i=a.value)&&null!==i?o===i:String(o)===String(i)),"undefined"===typeof A&&(A=Z.name)),(0,R.jsx)(_l,(0,f.Z)({type:"radio",icon:p.cloneElement(g,{fontSize:null!=(n=xl.props.fontSize)?n:S}),checkedIcon:p.cloneElement(c,{fontSize:null!=(r=Sl.props.fontSize)?r:S}),ownerState:C,classes:k,name:A,checked:E,onChange:T,ref:t},x))})),kl=n(7384),Zl=["actions","children","defaultValue","name","onChange","value"],El=p.forwardRef((function(e,t){var n=e.actions,r=e.children,o=e.defaultValue,i=e.name,a=e.onChange,s=e.value,l=(0,h.Z)(e,Zl),c=p.useRef(null),d=(0,x.Z)({controlled:s,default:o,name:"RadioGroup"}),m=(0,u.Z)(d,2),g=m[0],v=m[1];p.useImperativeHandle(n,(function(){return{focus:function(){var e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var y=(0,$e.Z)(t,c),b=(0,kl.Z)(i);return(0,R.jsx)(gl.Provider,{value:{name:b,onChange:function(e){v(e.target.value),a&&a(e,e.target.value)},value:g},children:(0,R.jsx)($o,(0,f.Z)({role:"radiogroup",ref:y},l,{children:r}))})})),Rl={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Tl=(0,ne.Z)((0,R.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),Al=(0,ne.Z)((0,R.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function Pl(e){return(0,C.Z)("MuiRating",e)}var Ml=(0,k.Z)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),Ol=["value"],Ll=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function Il(e,t){if(null==e)return e;var n=Math.round(e/t)*t;return Number(n.toFixed(function(e){var t=e.toString().split(".")[1];return t?t.length:0}(t)))}var Dl=(0,y.ZP)("span",{name:"MuiRating",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Ml.visuallyHidden),t.visuallyHidden),t.root,t["size".concat((0,J.Z)(n.size))],n.readOnly&&t.readOnly]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)((t={display:"inline-flex",position:"relative",fontSize:n.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",WebkitTapHighlightColor:"transparent"},(0,d.Z)(t,"&.".concat(Ml.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,d.Z)(t,"&.".concat(Ml.focusVisible," .").concat(Ml.iconActive),{outline:"1px solid #999"}),(0,d.Z)(t,"& .".concat(Ml.visuallyHidden),Rl),t),"small"===r.size&&{fontSize:n.typography.pxToRem(18)},"large"===r.size&&{fontSize:n.typography.pxToRem(30)},r.readOnly&&{pointerEvents:"none"})})),Nl=(0,y.ZP)("label",{name:"MuiRating",slot:"Label",overridesResolver:function(e,t){return t.label}})((function(e){var t=e.ownerState;return(0,f.Z)({cursor:"inherit"},t.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"})})),jl=(0,y.ZP)("span",{name:"MuiRating",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),pointerEvents:"none"},n.iconActive&&{transform:"scale(1.2)"},n.iconEmpty&&{color:(t.vars||t).palette.action.disabled})})),$l=(0,y.ZP)("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"iconActive"!==e},overridesResolver:function(e,t){var n=e.iconActive;return[t.decimal,n&&t.iconActive]}})((function(e){var t=e.iconActive;return(0,f.Z)({position:"relative"},t&&{transform:"scale(1.2)"})}));function Fl(e){var t=(0,h.Z)(e,Ol);return(0,R.jsx)("span",(0,f.Z)({},t))}function zl(e){var t=e.classes,n=e.disabled,r=e.emptyIcon,o=e.focus,i=e.getLabelText,a=e.highlightSelectedOnly,s=e.hover,l=e.icon,c=e.IconContainerComponent,u=e.isActive,d=e.itemValue,h=e.labelProps,m=e.name,v=e.onBlur,y=e.onChange,b=e.onClick,w=e.onFocus,_=e.readOnly,S=e.ownerState,x=e.ratingValue,C=a?d===x:d<=x,k=d<=s,Z=d<=o,E=d===e.ratingValueRounded,T=(0,kl.Z)(),A=(0,R.jsx)(jl,{as:c,value:d,className:(0,g.Z)(t.icon,C?t.iconFilled:t.iconEmpty,k&&t.iconHover,Z&&t.iconFocus,u&&t.iconActive),ownerState:(0,f.Z)({},S,{iconEmpty:!C,iconFilled:C,iconHover:k,iconFocus:Z,iconActive:u}),children:r&&!C?r:l});return _?(0,R.jsx)("span",(0,f.Z)({},h,{children:A})):(0,R.jsxs)(p.Fragment,{children:[(0,R.jsxs)(Nl,(0,f.Z)({ownerState:(0,f.Z)({},S,{emptyValueFocused:void 0}),htmlFor:T},h,{children:[A,(0,R.jsx)("span",{className:t.visuallyHidden,children:i(d)})]})),(0,R.jsx)("input",{className:t.visuallyHidden,onFocus:w,onBlur:v,onChange:y,onClick:b,disabled:n,value:d,id:T,type:"radio",name:m,checked:E})]})}var Wl=(0,R.jsx)(Tl,{fontSize:"inherit"}),Bl=(0,R.jsx)(Al,{fontSize:"inherit"});function Hl(e){return"".concat(e," Star").concat(1!==e?"s":"")}var Ul=p.forwardRef((function(e,t){var n=(0,b.Z)({name:"MuiRating",props:e}),r=n.className,o=n.defaultValue,i=void 0===o?null:o,a=n.disabled,s=void 0!==a&&a,l=n.emptyIcon,c=void 0===l?Bl:l,d=n.emptyLabelText,m=void 0===d?"Empty":d,y=n.getLabelText,w=void 0===y?Hl:y,_=n.highlightSelectedOnly,S=void 0!==_&&_,C=n.icon,k=void 0===C?Wl:C,Z=n.IconContainerComponent,E=void 0===Z?Fl:Z,T=n.max,A=void 0===T?5:T,P=n.name,M=n.onChange,O=n.onChangeActive,L=n.onMouseLeave,I=n.onMouseMove,D=n.precision,N=void 0===D?1:D,j=n.readOnly,$=void 0!==j&&j,F=n.size,z=void 0===F?"medium":F,W=n.value,B=(0,h.Z)(n,Ll),H=(0,kl.Z)(P),U=(0,x.Z)({controlled:W,default:i,name:"Rating"}),V=(0,u.Z)(U,2),G=V[0],q=V[1],K=Il(G,N),Y=(0,ho.Z)(),X=p.useState({hover:-1,focus:-1}),Q=(0,u.Z)(X,2),ee=Q[0],te=ee.hover,ne=ee.focus,re=Q[1],oe=K;-1!==te&&(oe=te),-1!==ne&&(oe=ne);var ie=(0,Ca.Z)(),ae=ie.isFocusVisibleRef,se=ie.onBlur,le=ie.onFocus,ce=ie.ref,ue=p.useState(!1),de=(0,u.Z)(ue,2),he=de[0],fe=de[1],pe=p.useRef(),me=(0,$e.Z)(ce,pe),ge=(0,$e.Z)(me,t),ve=function(e){var t=""===e.target.value?null:parseFloat(e.target.value);-1!==te&&(t=te),q(t),M&&M(e,t)},ye=function(e){0===e.clientX&&0===e.clientY||(re({hover:-1,focus:-1}),q(null),M&&parseFloat(e.target.value)===K&&M(e,null))},be=function(e){le(e),!0===ae.current&&fe(!0);var t=parseFloat(e.target.value);re((function(e){return{hover:e.hover,focus:t}}))},we=function(e){if(-1===te){se(e),!1===ae.current&&fe(!1);re((function(e){return{hover:e.hover,focus:-1}}))}},_e=p.useState(!1),Se=(0,u.Z)(_e,2),xe=Se[0],Ce=Se[1],ke=(0,f.Z)({},n,{defaultValue:i,disabled:s,emptyIcon:c,emptyLabelText:m,emptyValueFocused:xe,focusVisible:he,getLabelText:w,icon:k,IconContainerComponent:E,max:A,precision:N,readOnly:$,size:z}),Ze=function(e){var t=e.classes,n=e.size,r=e.readOnly,o=e.disabled,i=e.emptyValueFocused,a=e.focusVisible,s={root:["root","size".concat((0,J.Z)(n)),o&&"disabled",a&&"focusVisible",r&&"readyOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return(0,v.Z)(s,Pl,t)}(ke);return(0,R.jsxs)(Dl,(0,f.Z)({ref:ge,onMouseMove:function(e){I&&I(e);var t,n=pe.current,r=n.getBoundingClientRect(),o=r.right,i=r.left,a=n.firstChild.getBoundingClientRect().width;t="rtl"===Y.direction?(o-e.clientX)/(a*A):(e.clientX-i)/(a*A);var s=Il(A*t+N/2,N);s=function(e,t,n){return en?n:e}(s,N,A),re((function(e){return e.hover===s&&e.focus===s?e:{hover:s,focus:s}})),fe(!1),O&&te!==s&&O(e,s)},onMouseLeave:function(e){L&&L(e);re({hover:-1,focus:-1}),O&&-1!==te&&O(e,-1)},className:(0,g.Z)(Ze.root,r),ownerState:ke,role:$?"img":null,"aria-label":$?w(oe):null},B,{children:[Array.from(new Array(A)).map((function(e,t){var n=t+1,r={classes:Ze,disabled:s,emptyIcon:c,focus:ne,getLabelText:w,highlightSelectedOnly:S,hover:te,icon:k,IconContainerComponent:E,name:H,onBlur:we,onChange:ve,onClick:ye,onFocus:be,ratingValue:oe,ratingValueRounded:K,readOnly:$,ownerState:ke},o=n===Math.ceil(oe)&&(-1!==te||-1!==ne);if(N<1){var i=Array.from(new Array(1/N));return(0,R.jsx)($l,{className:(0,g.Z)(Ze.decimal,o&&Ze.iconActive),ownerState:ke,iconActive:o,children:i.map((function(e,t){var o=Il(n-1+(t+1)*N,N);return(0,R.jsx)(zl,(0,f.Z)({},r,{isActive:!1,itemValue:o,labelProps:{style:i.length-1===t?{}:{width:o===oe?"".concat((t+1)*N*100,"%"):"0%",overflow:"hidden",position:"absolute"}}}),o)}))},n)}return(0,R.jsx)(zl,(0,f.Z)({},r,{isActive:o,itemValue:n}),n)})),!$&&!s&&(0,R.jsxs)(Nl,{className:(0,g.Z)(Ze.label,Ze.labelEmptyValue),ownerState:ke,children:[(0,R.jsx)("input",{className:Ze.visuallyHidden,value:"",id:"".concat(H,"-empty"),type:"radio",name:H,checked:null==K,onFocus:function(){return Ce(!0)},onBlur:function(){return Ce(!1)},onChange:ve}),(0,R.jsx)("span",{className:Ze.visuallyHidden,children:m})]})]}))}));function Vl(e){return(0,C.Z)("MuiScopedCssBaseline",e)}var Gl=(0,k.Z)("MuiScopedCssBaseline",["root"]),ql=["className","component","enableColorScheme"],Kl=(0,y.ZP)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},Br(t,n.enableColorScheme),Hr(t),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:t.typography.fontWeightBold}})})),Yl=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiScopedCssBaseline"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,h.Z)(n,ql),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Vl,t)}(s);return(0,R.jsx)(Kl,(0,f.Z)({as:i,className:(0,g.Z)(l.root,r),ref:t,ownerState:s},a))})),Jl=n(4701),Xl=n(8294),Ql=n(1572);function ec(e){return(0,C.Z)("MuiSkeleton",e)}var tc,nc,rc,oc,ic,ac,sc,lc,cc=(0,k.Z)("MuiSkeleton",["root","text","rectangular","circular","pulse","wave","withChildren","fitContent","heightAuto"]),uc=["animation","className","component","height","style","variant","width"],dc=(0,mr.F4)(ic||(ic=tc||(tc=(0,pr.Z)(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),hc=(0,mr.F4)(ac||(ac=nc||(nc=(0,pr.Z)(["\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n"])))),fc=(0,y.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((function(e){var t=e.theme,n=e.ownerState,r=(0,Ql.Wy)(t.shape.borderRadius)||"px",o=(0,Ql.YL)(t.shape.borderRadius);return(0,f.Z)({display:"block",backgroundColor:(0,Y.Fq)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===n.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(o).concat(r,"/").concat(Math.round(o/.6*10)/10).concat(r),"&:empty:before":{content:'"\\00a0"'}},"circular"===n.variant&&{borderRadius:"50%"},n.hasChildren&&{"& > *":{visibility:"hidden"}},n.hasChildren&&!n.width&&{maxWidth:"fit-content"},n.hasChildren&&!n.height&&{height:"auto"})}),(function(e){return"pulse"===e.ownerState.animation&&(0,mr.iv)(sc||(sc=rc||(rc=(0,pr.Z)(["\n animation: "," 1.5s ease-in-out 0.5s infinite;\n "]))),dc)}),(function(e){var t=e.ownerState,n=e.theme;return"wave"===t.animation&&(0,mr.iv)(lc||(lc=oc||(oc=(0,pr.Z)(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: "," 1.6s linear 0.5s infinite;\n background: linear-gradient(90deg, transparent, ",", transparent);\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "]))),hc,n.palette.action.hover)})),pc=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSkeleton"}),r=n.animation,o=void 0===r?"pulse":r,i=n.className,a=n.component,s=void 0===a?"span":a,l=n.height,c=n.style,u=n.variant,d=void 0===u?"text":u,p=n.width,m=(0,h.Z)(n,uc),y=(0,f.Z)({},n,{animation:o,component:s,variant:d,hasChildren:Boolean(m.children)}),w=function(e){var t=e.classes,n=e.variant,r=e.animation,o=e.hasChildren,i=e.width,a=e.height,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,v.Z)(s,ec,t)}(y);return(0,R.jsx)(fc,(0,f.Z)({as:s,ref:t,className:(0,g.Z)(w.root,i),ownerState:y},m,{style:(0,f.Z)({width:p,height:l},c)}))})),mc=pc;function gc(e){return(0,C.Z)("MuiSlider",e)}var vc=(0,k.Z)("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);var yc=function(e){var t=e.children,n=e.className,r=e.value,o=e.theme,i=function(e){var t=e.open;return{offset:(0,g.Z)(t&&vc.valueLabelOpen),circle:vc.valueLabelCircle,label:vc.valueLabelLabel}}(e);return p.cloneElement(t,{className:(0,g.Z)(t.props.className)},(0,R.jsxs)(p.Fragment,{children:[t.props.children,(0,R.jsx)("span",{className:(0,g.Z)(i.offset,n),theme:o,"aria-hidden":!0,children:(0,R.jsx)("span",{className:i.circle,children:(0,R.jsx)("span",{className:i.label,children:r})})})]}))},bc=n(9723),wc=n(5372),_c=n(7563);function Sc(e,t){return e-t}function xc(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function Cc(e,t){var n;return(null!=(n=e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o2&&W(!0),q&&q(e,r,o)}else ye(e)})),ye=(0,ke.Z)((function(e){var t=kc(e,A);if(W(!1),t){var n=ge({finger:t,values:Y}).newValue;L(-1),"touchend"===e.type&&j(-1),b&&b(e,n),A.current=void 0,we()}})),be=(0,ke.Z)((function(e){if(!s){Oc()||e.preventDefault();var t=e.changedTouches[0];null!=t&&(A.current=t.identifier);var n=kc(e,A);if(!1!==n){var r=ge({finger:n,values:Y}),o=r.newValue,i=r.activeIndex;Tc({sliderRef:le,activeIndex:i,setActive:L}),G(o),q&&q(e,o,i)}B.current=0;var a=(0,bc.Z)(le.current);a.addEventListener("touchmove",ve),a.addEventListener("touchend",ye)}})),we=p.useCallback((function(){var e=(0,bc.Z)(le.current);e.removeEventListener("mousemove",ve),e.removeEventListener("mouseup",ye),e.removeEventListener("touchmove",ve),e.removeEventListener("touchend",ye)}),[ye,ve]);p.useEffect((function(){var e=le.current;return e.addEventListener("touchstart",be,{passive:Oc()}),function(){e.removeEventListener("touchstart",be,{passive:Oc()}),we()}}),[we,be]),p.useEffect((function(){s&&we()}),[s,we]);var _e=function(e){return function(t){var n;if(null==(n=e.onMouseDown)||n.call(e,t),!s&&!t.defaultPrevented&&0===t.button){t.preventDefault();var r=kc(t,A);if(!1!==r){var o=ge({finger:r,values:Y}),i=o.newValue,a=o.activeIndex;Tc({sliderRef:le,activeIndex:a,setActive:L}),G(i),q&&q(t,i,a)}B.current=0;var l=(0,bc.Z)(le.current);l.addEventListener("mousemove",ve),l.addEventListener("mouseup",ye)}}},Se=Zc(K?Y[0]:g,g,h),xe=Zc(Y[Y.length-1],g,h)-Se,Ze=function(e){return function(t){var n;null==(n=e.onMouseOver)||n.call(e,t);var r=Number(t.currentTarget.getAttribute("data-index"));j(r)}},Ee=function(e){return function(t){var n;null==(n=e.onMouseLeave)||n.call(e,t),j(-1)}};return{axis:me,axisProps:Pc,getRootProps:function(e){var t={onMouseDown:_e(e||{})},n=(0,f.Z)({},e,t);return(0,f.Z)({ref:ue},n)},getHiddenInputProps:function(t){var r={onChange:fe(t||{}),onFocus:de(t||{}),onBlur:he(t||{})},o=(0,f.Z)({},t,r);return(0,f.Z)({tabIndex:Z,"aria-labelledby":n,"aria-orientation":_,"aria-valuemax":x(h),"aria-valuemin":x(g),name:v,type:"range",min:e.min,max:e.max,step:e.step,disabled:s},o,{style:(0,f.Z)({},Rl,{direction:T?"rtl":"ltr",width:"100%",height:"100%"})})},getThumbProps:function(e){var t={onMouseOver:Ze(e||{}),onMouseLeave:Ee(e||{})},n=(0,f.Z)({},e,t);return(0,f.Z)({},n)},dragging:z,marks:J,values:Y,active:O,focusVisible:ae,open:N,range:K,trackOffset:Se,trackLeap:xe}}var Ic=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],Dc=function(e){return e},Nc=function(e){return e.children},jc=p.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e["aria-label"],u=e["aria-valuetext"],d=e.className,m=e.component,y=e.classes,b=e.disableSwap,w=void 0!==b&&b,_=e.disabled,S=void 0!==_&&_,x=e.getAriaLabel,C=e.getAriaValueText,k=e.marks,Z=void 0!==k&&k,E=e.max,T=void 0===E?100:E,A=e.min,P=void 0===A?0:A,M=e.onMouseDown,O=e.orientation,L=void 0===O?"horizontal":O,I=e.scale,D=void 0===I?Dc:I,N=e.step,j=void 0===N?1:N,$=e.track,F=void 0===$?"normal":$,z=e.valueLabelDisplay,W=void 0===z?"off":z,B=e.valueLabelFormat,H=void 0===B?Dc:B,U=e.isRtl,V=void 0!==U&&U,G=e.components,q=void 0===G?{}:G,K=e.componentsProps,Y=void 0===K?{}:K,J=(0,h.Z)(e,Ic),X=(0,f.Z)({},e,{mark:Z,classes:y,disabled:S,isRtl:V,max:T,min:P,orientation:L,scale:D,step:j,track:F,valueLabelDisplay:W,valueLabelFormat:H}),Q=Lc((0,f.Z)({},X,{ref:t})),ee=Q.axisProps,te=Q.getRootProps,ne=Q.getHiddenInputProps,re=Q.getThumbProps,oe=Q.open,ie=Q.active,ae=Q.axis,se=Q.range,le=Q.focusVisible,ce=Q.dragging,ue=Q.marks,de=Q.values,he=Q.trackOffset,fe=Q.trackLeap;X.marked=ue.length>0&&ue.some((function(e){return e.label})),X.dragging=ce;var pe=null!=(n=null!=m?m:q.Root)?n:"span",me=(0,Lt.Z)(pe,(0,f.Z)({},J,Y.root),X),ge=null!=(r=q.Rail)?r:"span",ve=(0,Lt.Z)(ge,Y.rail,X),ye=null!=(o=q.Track)?o:"span",be=(0,Lt.Z)(ye,Y.track,X),we=(0,f.Z)({},ee[ae].offset(he),ee[ae].leap(fe)),_e=null!=(i=q.Thumb)?i:"span",Se=(0,Lt.Z)(_e,Y.thumb,X),xe=null!=(a=q.ValueLabel)?a:yc,Ce=(0,Lt.Z)(xe,Y.valueLabel,X),ke=null!=(s=q.Mark)?s:"span",Ze=(0,Lt.Z)(ke,Y.mark,X),Ee=null!=(l=q.MarkLabel)?l:"span",Re=(0,Lt.Z)(Ee,Y.markLabel,X),Te=q.Input||"input",Ae=(0,Lt.Z)(Te,Y.input,X),Pe=ne(),Me=function(e){var t=e.disabled,n=e.dragging,r=e.marked,o=e.orientation,i=e.track,a=e.classes,s={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,v.Z)(s,gc,a)}(X);return(0,R.jsxs)(pe,(0,f.Z)({},me,te({onMouseDown:M}),{className:(0,g.Z)(Me.root,me.className,d),children:[(0,R.jsx)(ge,(0,f.Z)({},ve,{className:(0,g.Z)(Me.rail,ve.className)})),(0,R.jsx)(ye,(0,f.Z)({},be,{className:(0,g.Z)(Me.track,be.className),style:(0,f.Z)({},we,be.style)})),ue.map((function(e,t){var n,r=Zc(e.value,P,T),o=ee[ae].offset(r);return n=!1===F?-1!==de.indexOf(e.value):"normal"===F&&(se?e.value>=de[0]&&e.value<=de[de.length-1]:e.value<=de[0])||"inverted"===F&&(se?e.value<=de[0]||e.value>=de[de.length-1]:e.value>=de[0]),(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(ke,(0,f.Z)({"data-index":t},Ze,!(0,$t.Z)(ke)&&{markActive:n},{style:(0,f.Z)({},o,Ze.style),className:(0,g.Z)(Me.mark,Ze.className,n&&Me.markActive)})),null!=e.label?(0,R.jsx)(Ee,(0,f.Z)({"aria-hidden":!0,"data-index":t},Re,!(0,$t.Z)(Ee)&&{markLabelActive:n},{style:(0,f.Z)({},o,Re.style),className:(0,g.Z)(Me.markLabel,Re.className,n&&Me.markLabelActive),children:e.label})):null]},e.value)})),de.map((function(e,t){var n=Zc(e,P,T),r=ee[ae].offset(n),o="off"===W?Nc:xe;return(0,R.jsx)(p.Fragment,{children:(0,R.jsx)(o,(0,f.Z)({},!(0,$t.Z)(o)&&{valueLabelFormat:H,valueLabelDisplay:W,value:"function"===typeof H?H(D(e),t):H,index:t,open:oe===t||ie===t||"on"===W,disabled:S},Ce,{className:(0,g.Z)(Me.valueLabel,Ce.className),children:(0,R.jsx)(_e,(0,f.Z)({"data-index":t},Se,re(),{className:(0,g.Z)(Me.thumb,Se.className,ie===t&&Me.active,le===t&&Me.focusVisible)},!(0,$t.Z)(_e)&&{ownerState:(0,f.Z)({},X,Se.ownerState)},{style:(0,f.Z)({},r,{pointerEvents:w&&ie!==t?"none":void 0},Se.style),children:(0,R.jsx)(Te,(0,f.Z)({},Pe,{"data-index":t,"aria-label":x?x(t):c,"aria-valuenow":D(e),"aria-valuetext":C?C(D(e),t):u,value:de[t]},!(0,$t.Z)(Te)&&{ownerState:(0,f.Z)({},X,Ae.ownerState)},Ae,{style:(0,f.Z)({},Pe.style,Ae.style)}))}))}))},t)}))]}))})),$c=jc,Fc=["component","components","componentsProps","color","size"],zc=(0,f.Z)({},vc,(0,k.Z)("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),Wc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=!0===n.marksProp&&null!==n.step?(0,an.Z)(Array(Math.floor((n.max-n.min)/n.step)+1)).map((function(e,t){return{value:n.min+n.step*t}})):n.marksProp||[],o=r.length>0&&r.some((function(e){return e.label}));return[t.root,t["color".concat((0,J.Z)(n.color))],"medium"!==n.size&&t["size".concat((0,J.Z)(n.size))],o&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:n.palette[r.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===r.orientation&&(0,f.Z)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===r.size&&{height:2},r.marked&&{marginBottom:20}),"vertical"===r.orientation&&(0,f.Z)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===r.size&&{width:2},r.marked&&{marginRight:44}),(t={"@media print":{colorAdjust:"exact"}},(0,d.Z)(t,"&.".concat(zc.disabled),{pointerEvents:"none",cursor:"default",color:n.palette.grey[400]}),(0,d.Z)(t,"&.".concat(zc.dragging),(0,d.Z)({},"& .".concat(zc.thumb,", & .").concat(zc.track),{transition:"none"})),t))})),Bc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:function(e,t){return t.rail}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===t.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===t.track&&{opacity:1})})),Hc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?(0,Y.$n)(t.palette[n.color].main,.62):(0,Y._j)(t.palette[n.color].main,.5);return(0,f.Z)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest})},"small"===n.size&&{border:"none"},"horizontal"===n.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===n.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===n.track&&{display:"none"},"inverted"===n.track&&{backgroundColor:r,borderColor:r})})),Uc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:function(e,t){var n=e.ownerState;return[t.thumb,t["thumbColor".concat((0,J.Z)(n.color))],"medium"!==n.size&&t["thumbSize".concat((0,J.Z)(n.size))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:n.transitions.create(["box-shadow","left","bottom"],{duration:n.transitions.duration.shortest})},"small"===r.size&&{width:12,height:12},"horizontal"===r.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===r.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},(t={"&:before":(0,f.Z)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:n.shadows[2]},"small"===r.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},(0,d.Z)(t,"&:hover, &.".concat(zc.focusVisible),{boxShadow:"0px 0px 0px 8px ".concat((0,Y.Fq)(n.palette[r.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}}),(0,d.Z)(t,"&.".concat(zc.active),{boxShadow:"0px 0px 0px 14px ".concat((0,Y.Fq)(n.palette[r.color].main,.16))}),(0,d.Z)(t,"&.".concat(zc.disabled),{"&:hover":{boxShadow:"none"}}),t))})),Vc=(0,y.ZP)(yc,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:function(e,t){return t.valueLabel}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)((t={},(0,d.Z)(t,"&.".concat(zc.valueLabelOpen),{transform:"translateY(-100%) scale(1)"}),(0,d.Z)(t,"zIndex",1),(0,d.Z)(t,"whiteSpace","nowrap"),t),n.typography.body2,{fontWeight:500,transition:n.transitions.create(["transform"],{duration:n.transitions.duration.shortest}),top:-10,transformOrigin:"bottom center",transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:n.palette.grey[600],borderRadius:2,color:n.palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"small"===r.size&&{fontSize:n.typography.pxToRem(12),padding:"0.25rem 0.5rem"},{"&:before":{position:"absolute",content:'""',width:8,height:8,bottom:0,left:"50%",transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit"}})})),Gc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"markActive"!==e},overridesResolver:function(e,t){return t.mark}})((function(e){var t=e.theme,n=e.ownerState,r=e.markActive;return(0,f.Z)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===n.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===n.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:t.palette.background.paper,opacity:.8})})),qc=(0,y.ZP)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"markLabelActive"!==e},overridesResolver:function(e,t){return t.markLabel}})((function(e){var t=e.theme,n=e.ownerState,r=e.markLabelActive;return(0,f.Z)({},t.typography.body2,{color:t.palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===n.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===n.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:t.palette.text.primary})})),Kc=p.forwardRef((function(e,t){var n,r,o,i,a=(0,b.Z)({props:e,name:"MuiSlider"}),s="rtl"===(0,ho.Z)().direction,l=a.component,c=void 0===l?"span":l,u=a.components,d=void 0===u?{}:u,p=a.componentsProps,m=void 0===p?{}:p,v=a.color,y=void 0===v?"primary":v,w=a.size,_=void 0===w?"medium":w,S=(0,h.Z)(a,Fc),x=function(e){var t=e.color,n=e.size,r=e.classes,o=void 0===r?{}:r;return(0,f.Z)({},o,{root:(0,g.Z)(o.root,gc("color".concat((0,J.Z)(t))),o["color".concat((0,J.Z)(t))],n&&[gc("size".concat((0,J.Z)(n))),o["size".concat((0,J.Z)(n))]]),thumb:(0,g.Z)(o.thumb,gc("thumbColor".concat((0,J.Z)(t))),o["thumbColor".concat((0,J.Z)(t))],n&&[gc("thumbSize".concat((0,J.Z)(n))),o["thumbSize".concat((0,J.Z)(n))]])})}((0,f.Z)({},a,{color:y,size:_}));return(0,R.jsx)($c,(0,f.Z)({},S,{isRtl:s,components:(0,f.Z)({Root:Wc,Rail:Bc,Track:Hc,Thumb:Uc,ValueLabel:Vc,Mark:Gc,MarkLabel:qc},d),componentsProps:(0,f.Z)({},m,{root:(0,f.Z)({},m.root,Ft(d.Root)&&{as:c,ownerState:(0,f.Z)({},null==(n=m.root)?void 0:n.ownerState,{color:y,size:_})}),thumb:(0,f.Z)({},m.thumb,Ft(d.Thumb)&&{ownerState:(0,f.Z)({},null==(r=m.thumb)?void 0:r.ownerState,{color:y,size:_})}),track:(0,f.Z)({},m.track,Ft(d.Track)&&{ownerState:(0,f.Z)({},null==(o=m.track)?void 0:o.ownerState,{color:y,size:_})}),valueLabel:(0,f.Z)({},m.valueLabel,Ft(d.ValueLabel)&&{ownerState:(0,f.Z)({},null==(i=m.valueLabel)?void 0:i.ownerState,{color:y,size:_})})}),classes:x,ref:t}))})),Yc=n(3595),Jc=n(5416),Xc=n(4988),Qc=n(4106),eu=n(8875),tu=n(4999),nu=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ru={entering:{transform:"none"},entered:{transform:"none"}},ou=p.forwardRef((function(e,t){var n=(0,ho.Z)(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},o=e.addEndListener,i=e.appear,a=void 0===i||i,s=e.children,l=e.easing,c=e.in,u=e.onEnter,d=e.onEntered,m=e.onEntering,g=e.onExit,v=e.onExited,y=e.onExiting,b=e.style,w=e.timeout,_=void 0===w?r:w,S=e.TransitionComponent,x=void 0===S?eu.ZP:S,C=(0,h.Z)(e,nu),k=p.useRef(null),Z=(0,$e.Z)(s.ref,t),E=(0,$e.Z)(k,Z),T=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},A=T(m),P=T((function(e,t){(0,tu.n)(e);var r=(0,tu.C)({style:b,timeout:_,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",r),e.style.transition=n.transitions.create("transform",r),u&&u(e,t)})),M=T(d),O=T(y),L=T((function(e){var t=(0,tu.C)({style:b,timeout:_,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),g&&g(e)})),I=T(v);return(0,R.jsx)(x,(0,f.Z)({appear:a,in:c,nodeRef:k,onEnter:P,onEntered:M,onEntering:A,onExit:L,onExited:I,onExiting:O,addEndListener:function(e){o&&o(k.current,e)},timeout:_},C,{children:function(e,t){return p.cloneElement(s,(0,f.Z)({style:(0,f.Z)({transform:"scale(0)",visibility:"exited"!==e||c?void 0:"hidden"},ru[e],b,s.props.style),ref:E},t))}}))})),iu=ou;function au(e){return(0,C.Z)("MuiSpeedDial",e)}var su=(0,k.Z)("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]),lu=["ref"],cu=["ariaLabel","FabProps","children","className","direction","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","open","openIcon","TransitionComponent","transitionDuration","TransitionProps"],uu=["ref"];function du(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}var hu=(0,y.ZP)("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["direction".concat((0,J.Z)(n.direction))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({zIndex:(t.vars||t).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===n.direction&&(0,d.Z)({flexDirection:"column-reverse"},"& .".concat(su.actions),{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}),"down"===n.direction&&(0,d.Z)({flexDirection:"column"},"& .".concat(su.actions),{flexDirection:"column",marginTop:-32,paddingTop:48}),"left"===n.direction&&(0,d.Z)({flexDirection:"row-reverse"},"& .".concat(su.actions),{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}),"right"===n.direction&&(0,d.Z)({flexDirection:"row"},"& .".concat(su.actions),{flexDirection:"row",marginLeft:-32,paddingLeft:48}))})),fu=(0,y.ZP)(ko.Z,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:function(e,t){return t.fab}})((function(){return{pointerEvents:"auto"}})),pu=(0,y.ZP)("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:function(e,t){var n=e.ownerState;return[t.actions,!n.open&&t.actionsClosed]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"flex",pointerEvents:"auto"},!t.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})})),mu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSpeedDial"}),r=(0,ho.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=n.ariaLabel,a=n.FabProps,s=(a=void 0===a?{}:a).ref,l=n.children,c=n.className,d=n.direction,m=void 0===d?"up":d,y=n.hidden,w=void 0!==y&&y,_=n.icon,S=n.onBlur,C=n.onClose,k=n.onFocus,Z=n.onKeyDown,E=n.onMouseEnter,T=n.onMouseLeave,A=n.onOpen,P=n.open,M=n.TransitionComponent,O=void 0===M?iu:M,L=n.transitionDuration,I=void 0===L?o:L,D=n.TransitionProps,N=(0,h.Z)(n.FabProps,lu),j=(0,h.Z)(n,cu),$=(0,x.Z)({controlled:P,default:!1,name:"SpeedDial",state:"open"}),F=(0,u.Z)($,2),z=F[0],W=F[1],B=(0,f.Z)({},n,{open:z,direction:m}),H=function(e){var t=e.classes,n=e.open,r=e.direction,o={root:["root","direction".concat((0,J.Z)(r))],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return(0,v.Z)(o,au,t)}(B),U=p.useRef();p.useEffect((function(){return function(){clearTimeout(U.current)}}),[]);var V=p.useRef(0),G=p.useRef(),q=p.useRef([]);q.current=[q.current[0]];var K=p.useCallback((function(e){q.current[0]=e}),[]),Y=(0,$e.Z)(s,K),X=function(e,t){return function(n){q.current[e+1]=n,t&&t(n)}};p.useEffect((function(){z||(V.current=0,G.current=void 0)}),[z]);var Q=function(e){"mouseleave"===e.type&&T&&T(e),"blur"===e.type&&S&&S(e),clearTimeout(U.current),"blur"===e.type?U.current=setTimeout((function(){W(!1),C&&C(e,"blur")})):(W(!1),C&&C(e,"mouseLeave"))},ee=function(e){"mouseenter"===e.type&&E&&E(e),"focus"===e.type&&k&&k(e),clearTimeout(U.current),z||(U.current=setTimeout((function(){if(W(!0),A){A(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])}})))},te=i.replace(/^[^a-z]+|[^\w:.-]+/gi,""),ne=p.Children.toArray(l).filter((function(e){return p.isValidElement(e)})),re=ne.map((function(e,t){var n=e.props,r=n.FabProps,o=(r=void 0===r?{}:r).ref,i=n.tooltipPlacement,a=(0,h.Z)(n.FabProps,uu),s=i||("vertical"===du(m)?"left":"top");return p.cloneElement(e,{FabProps:(0,f.Z)({},a,{ref:X(t,o)}),delay:30*(z?t:ne.length-t),open:z,tooltipPlacement:s,id:"".concat(te,"-action-").concat(t)})}));return(0,R.jsxs)(hu,(0,f.Z)({className:(0,g.Z)(H.root,c),ref:t,role:"presentation",onKeyDown:function(e){Z&&Z(e);var t,n,r,o=e.key.replace("Arrow","").toLowerCase(),i=G.current,a=void 0===i?o:i;if("Escape"===e.key)return W(!1),q.current[0].focus(),void(C&&C(e,"escapeKeyDown"));if(du(o)===du(a)&&void 0!==du(o)){e.preventDefault();var s=o===a?1:-1,l=(t=V.current+s,n=0,r=q.current.length-1,tr?r:t);q.current[l].focus(),V.current=l,G.current=a}},onBlur:Q,onFocus:ee,onMouseEnter:ee,onMouseLeave:Q,ownerState:B},j,{children:[(0,R.jsx)(O,(0,f.Z)({in:!w,timeout:I,unmountOnExit:!0},D,{children:(0,R.jsx)(fu,(0,f.Z)({color:"primary","aria-label":i,"aria-haspopup":"true","aria-expanded":z,"aria-controls":"".concat(te,"-actions")},N,{onClick:function(e){N.onClick&&N.onClick(e),clearTimeout(U.current),z?(W(!1),C&&C(e,"toggle")):(W(!0),A&&A(e,"toggle"))},className:(0,g.Z)(H.fab,N.className),ref:Y,ownerState:B,children:p.isValidElement(_)&&(0,Pi.Z)(_,["SpeedDialIcon"])?p.cloneElement(_,{open:z}):_}))})),(0,R.jsx)(pu,{id:"".concat(te,"-actions"),role:"menu","aria-orientation":du(m),className:(0,g.Z)(H.actions,!z&&H.actionsClosed),ownerState:B,children:re})]}))})),gu=n(7639);function vu(e){return(0,C.Z)("MuiSpeedDialAction",e)}var yu=(0,k.Z)("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),bu=["className","delay","FabProps","icon","id","open","TooltipClasses","tooltipOpen","tooltipPlacement","tooltipTitle"],wu=(0,y.ZP)(ko.Z,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:function(e,t){var n=e.ownerState;return[t.fab,!n.open&&t.fabClosed]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({margin:8,color:t.palette.text.secondary,backgroundColor:t.palette.background.paper,"&:hover":{backgroundColor:(0,Y._4)(t.palette.background.paper,.15)},transition:"".concat(t.transitions.create("transform",{duration:t.transitions.duration.shorter}),", opacity 0.8s"),opacity:1},!n.open&&{opacity:0,transform:"scale(0)"})})),_u=(0,y.ZP)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t["tooltipPlacement".concat((0,J.Z)(n.tooltipPlacement))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,d.Z)({position:"relative",display:"flex",alignItems:"center"},"& .".concat(yu.staticTooltipLabel),(0,f.Z)({transition:t.transitions.create(["transform","opacity"],{duration:t.transitions.duration.shorter}),opacity:1},!n.open&&{opacity:0,transform:"scale(0.5)"},"left"===n.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===n.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8}))})),Su=(0,y.ZP)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:function(e,t){return t.staticTooltipLabel}})((function(e){var t=e.theme;return(0,f.Z)({position:"absolute"},t.typography.body1,{backgroundColor:t.palette.background.paper,borderRadius:t.shape.borderRadius,boxShadow:t.shadows[1],color:t.palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"})})),xu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSpeedDialAction"}),r=n.className,o=n.delay,i=void 0===o?0:o,a=n.FabProps,s=void 0===a?{}:a,l=n.icon,c=n.id,d=n.open,m=n.TooltipClasses,y=n.tooltipOpen,w=void 0!==y&&y,_=n.tooltipPlacement,S=void 0===_?"left":_,x=n.tooltipTitle,C=(0,h.Z)(n,bu),k=(0,f.Z)({},n,{tooltipPlacement:S}),Z=function(e){var t=e.open,n=e.tooltipPlacement,r=e.classes,o={fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip","tooltipPlacement".concat((0,J.Z)(n)),!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]};return(0,v.Z)(o,vu,r)}(k),E=p.useState(w),T=(0,u.Z)(E,2),A=T[0],P=T[1],M={transitionDelay:"".concat(i,"ms")},O=(0,R.jsx)(wu,(0,f.Z)({size:"small",className:(0,g.Z)(Z.fab,r),tabIndex:-1,role:"menuitem",ownerState:k},s,{style:(0,f.Z)({},M,s.style),children:l}));return w?(0,R.jsxs)(_u,(0,f.Z)({id:c,ref:t,className:Z.staticTooltip,ownerState:k},C,{children:[(0,R.jsx)(Su,{style:M,id:"".concat(c,"-label"),className:Z.staticTooltipLabel,ownerState:k,children:x}),p.cloneElement(O,{"aria-labelledby":"".concat(c,"-label")})]})):(!d&&A&&P(!1),(0,R.jsx)(gu.Z,(0,f.Z)({id:c,ref:t,title:x,placement:S,onClose:function(){P(!1)},onOpen:function(){P(!0)},open:d&&A,classes:m},C,{children:O})))})),Cu=(0,ne.Z)((0,R.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function ku(e){return(0,C.Z)("MuiSpeedDialIcon",e)}var Zu=(0,k.Z)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),Eu=["className","icon","open","openIcon"],Ru=(0,y.ZP)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Zu.icon),t.icon),(0,d.Z)({},"& .".concat(Zu.icon),n.open&&t.iconOpen),(0,d.Z)({},"& .".concat(Zu.icon),n.open&&n.openIcon&&t.iconWithOpenIconOpen),(0,d.Z)({},"& .".concat(Zu.openIcon),t.openIcon),(0,d.Z)({},"& .".concat(Zu.openIcon),n.open&&t.openIconOpen),t.root]}})((function(e){var t,n=e.theme,r=e.ownerState;return t={height:24},(0,d.Z)(t,"& .".concat(Zu.icon),(0,f.Z)({transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short})},r.open&&(0,f.Z)({transform:"rotate(45deg)"},r.openIcon&&{opacity:0}))),(0,d.Z)(t,"& .".concat(Zu.openIcon),(0,f.Z)({position:"absolute",transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},r.open&&{transform:"rotate(0deg)",opacity:1})),t})),Tu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSpeedDialIcon"}),r=n.className,o=n.icon,i=n.openIcon,a=(0,h.Z)(n,Eu),s=n,l=function(e){var t=e.classes,n=e.open,r={root:["root"],icon:["icon",n&&"iconOpen",e.openIcon&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]};return(0,v.Z)(r,ku,t)}(s);function c(e,t){return p.isValidElement(e)?p.cloneElement(e,{className:t}):e}return(0,R.jsxs)(Ru,(0,f.Z)({className:(0,g.Z)(l.root,r),ref:t,ownerState:s},a,{children:[i?c(i,l.openIcon):null,o?c(o,l.icon):(0,R.jsx)(Cu,{className:l.icon})]}))}));Tu.muiName="SpeedDialIcon";var Au=Tu,Pu=n(1184),Mu=n(5682),Ou=n(8519),Lu=n(2466),Iu=["component","direction","spacing","divider","children"];function Du(e,t){var n=p.Children.toArray(e).filter(Boolean);return n.reduce((function(e,r,o){return e.push(r),o :not(style) + :not(style)":(0,d.Z)({margin:0},"margin".concat((r=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r])),(0,Mu.NA)(o,e))};var r})))}return r})),ju=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiStack"}),r=(0,Ou.Z)(n),o=r.component,i=void 0===o?"div":o,a=r.direction,s=void 0===a?"column":a,l=r.spacing,c=void 0===l?0:l,u=r.divider,d=r.children,p=(0,h.Z)(r,Iu),m={direction:s,spacing:c};return(0,R.jsx)(Nu,(0,f.Z)({as:i,ownerState:m,ref:t},p,{children:u?Du(d,u):d}))})),$u=ju,Fu=p.createContext({});function zu(){return p.useContext(Fu)}var Wu=Fu,Bu=p.createContext({});function Hu(){return p.useContext(Bu)}var Uu=Bu;function Vu(e){return(0,C.Z)("MuiStep",e)}var Gu=(0,k.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),qu=["active","children","className","completed","disabled","expanded","index","last"],Ku=(0,y.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((function(e){var t=e.ownerState;return(0,f.Z)({},"horizontal"===t.orientation&&{paddingLeft:8,paddingRight:8},t.alternativeLabel&&{flex:1,position:"relative"})})),Yu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiStep"}),r=n.active,o=n.children,i=n.className,a=n.completed,s=n.disabled,l=n.expanded,c=void 0!==l&&l,u=n.index,d=n.last,m=(0,h.Z)(n,qu),y=p.useContext(Wu),w=y.activeStep,_=y.connector,S=y.alternativeLabel,x=y.orientation,C=y.nonLinear,k=void 0!==r&&r,Z=void 0!==a&&a,E=void 0!==s&&s;w===u?k=void 0===r||r:!C&&w>u?Z=void 0===a||a:!C&&w1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,o=void 0===n?null:n,i=t.changeTransition,s=void 0===i||i,c=xo(r,a),u=-1!==["right","bottom"].indexOf(c)?1:-1,d=So(a),h=d?"translate(".concat(u*e,"px, 0)"):"translate(0, ".concat(u*e,"px)"),f=V.current.style;f.webkitTransform=h,f.transform=h;var p="";if(o&&(p=r.transitions.create("all",(0,tu.C)({easing:void 0,style:void 0,timeout:L},{mode:o}))),s&&(f.webkitTransition=p,f.transition=p),!l&&!v){var m=U.current.style;m.opacity=1-e/Qd(d,V.current),s&&(m.webkitTransition=p,m.transition=p)}}),[a,l,v,r,L]),Y=(0,Bd.Z)((function(e){if(G.current)if(Yd=null,G.current=!1,W(!1),B.current.isSwiping){B.current.isSwiping=null;var t,n=xo(r,a),o=So(a);t=o?Jd(n,e.changedTouches,(0,zd.Z)(e.currentTarget)):Xd(n,e.changedTouches,(0,Wd.Z)(e.currentTarget));var i=o?B.current.startX:B.current.startY,s=Qd(o,V.current),l=eh(t,i,Z,s),c=l/s;Math.abs(B.current.velocity)>_&&(q.current=1e3*Math.abs((s-l)/B.current.velocity)),Z?B.current.velocity>_||c>b?C():K(0,{mode:"exit"}):B.current.velocity<-_||1-c>b?k():K(Qd(o,V.current),{mode:"enter"})}else B.current.isSwiping=null})),J=(0,Bd.Z)((function(e){if(V.current&&G.current&&(null===Yd||Yd===B.current)){var t=xo(r,a),n=So(a),o=Jd(t,e.touches,(0,zd.Z)(e.currentTarget)),i=Xd(t,e.touches,(0,Wd.Z)(e.currentTarget));if(Z&&V.current.contains(e.target)&&null===Yd){var s=function(e,t){for(var n=[];e&&e!==t.parentElement;){var r=(0,Wd.Z)(t).getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,V.current),l=function(e){var t=e.domTreeShapes,n=e.start,r=e.current,o=e.anchor,i={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return t.some((function(e){var t=r>=n;"top"!==o&&"left"!==o||(t=!t);var l="left"===o||"right"===o?"x":"y",c=Math.round(e[i[l]]),u=c>0,d=c+e[s[l]]u&&c>3:u>c&&u>3;if(h&&e.cancelable&&e.preventDefault(),!0===h||(n?u>3:c>3)){if(B.current.isSwiping=h,!h)return void Y(e);B.current.startX=o,B.current.startY=i,d||Z||(n?B.current.startX-=20:B.current.startY-=20)}}if(B.current.isSwiping){var f=Qd(n,V.current),p=n?B.current.startX:B.current.startY;Z&&!B.current.paperHit&&(p=Math.min(p,f));var m=eh(n?o:i,p,Z,f);if(Z)if(B.current.paperHit)0===m&&(B.current.startX=o,B.current.startY=i);else{if(!(n?oM)return}else if(i>M)return}e.defaultMuiPrevented=!0,Yd=null,B.current.startX=o,B.current.startY=i,W(!0),!Z&&V.current&&K(Qd(n,V.current)+(d?15:-20),{changeTransition:!1}),B.current.velocity=0,B.current.lastTime=null,B.current.lastTranslate=null,B.current.paperHit=!1,G.current=!0}}));return p.useEffect((function(){if("temporary"===D){var e=(0,zd.Z)(V.current);return e.addEventListener("touchstart",X),e.addEventListener("touchmove",J,{passive:!Z}),e.addEventListener("touchend",Y),function(){e.removeEventListener("touchstart",X),e.removeEventListener("touchmove",J,{passive:!Z}),e.removeEventListener("touchend",Y)}}}),[D,Z,X,J,Y]),p.useEffect((function(){return function(){Yd===B.current&&(Yd=null)}}),[]),p.useEffect((function(){Z||W(!1)}),[Z]),(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(Co,(0,f.Z)({open:!("temporary"!==D||!z)||Z,variant:D,ModalProps:(0,f.Z)({BackdropProps:(0,f.Z)({},x,{ref:U})},N),hideBackdrop:v,PaperProps:(0,f.Z)({},T,{style:(0,f.Z)({pointerEvents:"temporary"!==D||Z?"":"none"},T.style),ref:V}),anchor:a,transitionDuration:q.current||L,onClose:C,ref:t},j)),!g&&"temporary"===D&&(0,R.jsx)(Ls,{children:(0,R.jsx)(Gd,(0,f.Z)({anchor:a,ref:H,width:M},A))})]})})),rh=nh;function oh(e){return(0,C.Z)("MuiSwitch",e)}var ih=(0,k.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ah=["className","color","edge","size","sx"],sh=(0,y.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,J.Z)(n.edge))],t["size".concat((0,J.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,f.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,d.Z)(t,"& .".concat(ih.thumb),{width:16,height:16}),(0,d.Z)(t,"& .".concat(ih.switchBase),(0,d.Z)({padding:4},"&.".concat(ih.checked),{transform:"translateX(16px)"})),t))})),lh=(0,y.ZP)(ll.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,d.Z)({},"& .".concat(ih.input),t.input),"default"!==n.color&&t["color".concat((0,J.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:"light"===n.palette.mode?n.palette.common.white:n.palette.grey[300],transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,d.Z)(t,"&.".concat(ih.checked),{transform:"translateX(20px)"}),(0,d.Z)(t,"&.".concat(ih.disabled),{color:"light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600]}),(0,d.Z)(t,"&.".concat(ih.checked," + .").concat(ih.track),{opacity:.5}),(0,d.Z)(t,"&.".concat(ih.disabled," + .").concat(ih.track),{opacity:"light"===n.palette.mode?.12:.2}),(0,d.Z)(t,"& .".concat(ih.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({"&:hover":{backgroundColor:(0,Y.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,d.Z)(t,"&.".concat(ih.checked),(0,d.Z)({color:n.palette[r.color].main,"&:hover":{backgroundColor:(0,Y.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(ih.disabled),{color:"light"===n.palette.mode?(0,Y.$n)(n.palette[r.color].main,.62):(0,Y._j)(n.palette[r.color].main,.55)})),(0,d.Z)(t,"&.".concat(ih.checked," + .").concat(ih.track),{backgroundColor:n.palette[r.color].main}),t))})),ch=(0,y.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.mode?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.mode?.38:.3}})),uh=(0,y.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){return{boxShadow:e.theme.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),dh=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSwitch"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.edge,s=void 0!==a&&a,l=n.size,c=void 0===l?"medium":l,u=n.sx,d=(0,h.Z)(n,ah),p=(0,f.Z)({},n,{color:i,edge:s,size:c}),m=function(e){var t=e.classes,n=e.edge,r=e.size,o=e.color,i=e.checked,a=e.disabled,s={root:["root",n&&"edge".concat((0,J.Z)(n)),"size".concat((0,J.Z)(r))],switchBase:["switchBase","color".concat((0,J.Z)(o)),i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=(0,v.Z)(s,oh,t);return(0,f.Z)({},t,l)}(p),y=(0,R.jsx)(uh,{className:m.thumb,ownerState:p});return(0,R.jsxs)(sh,{className:(0,g.Z)(m.root,r),sx:u,ownerState:p,children:[(0,R.jsx)(lh,(0,f.Z)({type:"checkbox",icon:y,checkedIcon:y,ref:t,ownerState:p},d,{classes:(0,f.Z)({},m,{root:m.switchBase})})),(0,R.jsx)(ch,{className:m.track,ownerState:p})]})})),hh=n(1474),fh=n(3901),ph=n(3768),mh=n(5275),gh=n(2155),vh=n(4417),yh=n(8745),bh=n(618);function wh(e){return(0,C.Z)("MuiTableContainer",e)}var _h=(0,k.Z)("MuiTableContainer",["root"]),Sh=["className","component"],xh=(0,y.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:"100%",overflowX:"auto"}),Ch=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiTableContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,h.Z)(n,Sh),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},wh,t)}(s);return(0,R.jsx)(xh,(0,f.Z)({ref:t,as:i,className:(0,g.Z)(l.root,r),ownerState:s},a))})),kh=n(829);function Zh(e){return(0,C.Z)("MuiTableFooter",e)}var Eh,Rh,Th,Ah,Ph,Mh,Oh,Lh,Ih=(0,k.Z)("MuiTableFooter",["root"]),Dh=["className","component"],Nh=(0,y.ZP)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-footer-group"}),jh={variant:"footer"},$h="tfoot",Fh=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiTableFooter"}),r=n.className,o=n.component,i=void 0===o?$h:o,a=(0,h.Z)(n,Dh),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Zh,t)}(s);return(0,R.jsx)(kh.Z.Provider,{value:jh,children:(0,R.jsx)(Nh,(0,f.Z)({as:i,className:(0,g.Z)(l.root,r),ref:t,role:i===$h?null:"rowgroup",ownerState:s},a))})})),zh=n(2041),Wh=n(5921),Bh=n(9464),Hh=n(7883),Uh=n(1883),Vh=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],Gh=p.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,o=e.getItemAriaLabel,i=e.nextIconButtonProps,a=e.onPageChange,s=e.page,l=e.rowsPerPage,c=e.showFirstButton,u=e.showLastButton,d=(0,h.Z)(e,Vh),p=(0,ho.Z)();return(0,R.jsxs)("div",(0,f.Z)({ref:t},d,{children:[c&&(0,R.jsx)(te.Z,{onClick:function(e){a(e,0)},disabled:0===s,"aria-label":o("first",s),title:o("first",s),children:"rtl"===p.direction?Eh||(Eh=(0,R.jsx)(Bs,{})):Rh||(Rh=(0,R.jsx)(Ws,{}))}),(0,R.jsx)(te.Z,(0,f.Z)({onClick:function(e){a(e,s-1)},disabled:0===s,color:"inherit","aria-label":o("previous",s),title:o("previous",s)},n,{children:"rtl"===p.direction?Th||(Th=(0,R.jsx)(Uh.Z,{})):Ah||(Ah=(0,R.jsx)(Hh.Z,{}))})),(0,R.jsx)(te.Z,(0,f.Z)({onClick:function(e){a(e,s+1)},disabled:-1!==r&&s>=Math.ceil(r/l)-1,color:"inherit","aria-label":o("next",s),title:o("next",s)},i,{children:"rtl"===p.direction?Ph||(Ph=(0,R.jsx)(Hh.Z,{})):Mh||(Mh=(0,R.jsx)(Uh.Z,{}))})),u&&(0,R.jsx)(te.Z,{onClick:function(e){a(e,Math.max(0,Math.ceil(r/l)-1))},disabled:s>=Math.ceil(r/l)-1,"aria-label":o("last",s),title:o("last",s),children:"rtl"===p.direction?Oh||(Oh=(0,R.jsx)(Ws,{})):Lh||(Lh=(0,R.jsx)(Bs,{}))})]}))}));function qh(e){return(0,C.Z)("MuiTablePagination",e)}var Kh,Yh=(0,k.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Jh=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Xh=(0,y.ZP)(yh.Z,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}})),Qh=(0,y.ZP)(Bh.Z,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(e,t){return(0,f.Z)((0,d.Z)({},"& .".concat(Yh.actions),t.actions),t.toolbar)}})((function(e){var t,n=e.theme;return t={minHeight:52,paddingRight:2},(0,d.Z)(t,"".concat(n.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),(0,d.Z)(t,n.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),(0,d.Z)(t,"& .".concat(Yh.actions),{flexShrink:0,marginLeft:20}),t})),ef=(0,y.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})({flex:"1 1 100%"}),tf=(0,y.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(e,t){return t.selectLabel}})((function(e){var t=e.theme;return(0,f.Z)({},t.typography.body2,{flexShrink:0})})),nf=(0,y.ZP)(Jl.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(e,t){var n;return(0,f.Z)((n={},(0,d.Z)(n,"& .".concat(Yh.selectIcon),t.selectIcon),(0,d.Z)(n,"& .".concat(Yh.select),t.select),n),t.input,t.selectRoot)}})((0,d.Z)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(Yh.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),rf=(0,y.ZP)(fs.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(e,t){return t.menuItem}})({}),of=(0,y.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(e,t){return t.displayedRows}})((function(e){var t=e.theme;return(0,f.Z)({},t.typography.body2,{flexShrink:0})}));function af(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"\u2013").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))}function sf(e){return"Go to ".concat(e," page")}var lf=p.forwardRef((function(e,t){var n,r=(0,b.Z)({props:e,name:"MuiTablePagination"}),o=r.ActionsComponent,i=void 0===o?Gh:o,a=r.backIconButtonProps,s=r.className,l=r.colSpan,c=r.component,u=void 0===c?yh.Z:c,d=r.count,m=r.getItemAriaLabel,y=void 0===m?sf:m,w=r.labelDisplayedRows,_=void 0===w?af:w,S=r.labelRowsPerPage,x=void 0===S?"Rows per page:":S,C=r.nextIconButtonProps,k=r.onPageChange,Z=r.onRowsPerPageChange,E=r.page,T=r.rowsPerPage,A=r.rowsPerPageOptions,P=void 0===A?[10,25,50,100]:A,M=r.SelectProps,O=void 0===M?{}:M,L=r.showFirstButton,I=void 0!==L&&L,D=r.showLastButton,N=void 0!==D&&D,j=(0,h.Z)(r,Jh),$=r,F=function(e){var t=e.classes;return(0,v.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},qh,t)}($),z=O.native?"option":rf;u!==yh.Z&&"td"!==u||(n=l||1e3);var W=(0,kl.Z)(O.id),B=(0,kl.Z)(O.labelId);return(0,R.jsx)(Xh,(0,f.Z)({colSpan:n,ref:t,as:u,ownerState:$,className:(0,g.Z)(F.root,s)},j,{children:(0,R.jsxs)(Qh,{className:F.toolbar,children:[(0,R.jsx)(ef,{className:F.spacer}),P.length>1&&(0,R.jsx)(tf,{className:F.selectLabel,id:B,children:x}),P.length>1&&(0,R.jsx)(nf,(0,f.Z)({variant:"standard",input:Kh||(Kh=(0,R.jsx)(Yi.ZP,{})),value:T,onChange:Z,id:W,labelId:B},O,{classes:(0,f.Z)({},O.classes,{root:(0,g.Z)(F.input,F.selectRoot,(O.classes||{}).root),select:(0,g.Z)(F.select,(O.classes||{}).select),icon:(0,g.Z)(F.selectIcon,(O.classes||{}).icon)}),children:P.map((function(e){return(0,p.createElement)(z,(0,f.Z)({},!(0,$t.Z)(z)&&{ownerState:$},{className:F.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)}))})),(0,R.jsx)(of,{className:F.displayedRows,children:_({from:0===d?0:E*T+1,to:-1===d?(E+1)*T:-1===T?d:Math.min(d,(E+1)*T),count:-1===d?-1:d,page:E})}),(0,R.jsx)(i,{className:F.actions,backIconButtonProps:a,count:d,nextIconButtonProps:C,onPageChange:k,page:E,rowsPerPage:T,showFirstButton:I,showLastButton:N,getItemAriaLabel:y})]})}))})),cf=n(9195),uf=n(1613),df=n(4764),hf=n(1668),ff=n(9347),pf=n(5860),mf=n(1157),gf=n(7037),vf=n(3006),yf=n(2022),bf=n(1747);function wf(e){return(0,C.Z)("MuiToggleButton",e)}var _f=(0,k.Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]),Sf=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],xf=(0,y.ZP)(W.Z,{name:"MuiToggleButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["size".concat((0,J.Z)(n.size))]]}})((function(e){var t,n,r=e.theme,o=e.ownerState,i="standard"===o.color?r.palette.text.primary:r.palette[o.color].main;return r.vars&&(i="standard"===o.color?r.vars.palette.text.primary:r.vars.palette[o.color].main,n="standard"===o.color?r.vars.palette.text.primaryChannel:r.vars.palette[o.color].mainChannel),(0,f.Z)({},r.typography.button,{borderRadius:(r.vars||r).shape.borderRadius,padding:11,border:"1px solid ".concat((r.vars||r).palette.divider),color:(r.vars||r).palette.action.active},o.fullWidth&&{width:"100%"},(t={},(0,d.Z)(t,"&.".concat(_f.disabled),{color:(r.vars||r).palette.action.disabled,border:"1px solid ".concat((r.vars||r).palette.action.disabledBackground)}),(0,d.Z)(t,"&:hover",{textDecoration:"none",backgroundColor:r.vars?"rgba(".concat(r.vars.palette.text.primaryChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,Y.Fq)(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}),(0,d.Z)(t,"&.".concat(_f.selected),{color:i,backgroundColor:r.vars?"rgba(".concat(n," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(i,r.palette.action.selectedOpacity),"&:hover":{backgroundColor:r.vars?"rgba(".concat(n," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(i,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:r.vars?"rgba(".concat(n," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(i,r.palette.action.selectedOpacity)}}}),t),"small"===o.size&&{padding:7,fontSize:r.typography.pxToRem(13)},"large"===o.size&&{padding:15,fontSize:r.typography.pxToRem(15)})})),Cf=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiToggleButton"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"standard":i,s=n.disabled,l=void 0!==s&&s,c=n.disableFocusRipple,u=void 0!==c&&c,d=n.fullWidth,p=void 0!==d&&d,m=n.onChange,y=n.onClick,w=n.selected,_=n.size,S=void 0===_?"medium":_,x=n.value,C=(0,h.Z)(n,Sf),k=(0,f.Z)({},n,{color:a,disabled:l,disableFocusRipple:u,fullWidth:p,size:S}),Z=function(e){var t=e.classes,n=e.fullWidth,r=e.selected,o=e.disabled,i=e.size,a=e.color,s={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth","size".concat((0,J.Z)(i)),a]};return(0,v.Z)(s,wf,t)}(k);return(0,R.jsx)(xf,(0,f.Z)({className:(0,g.Z)(Z.root,o),disabled:l,focusRipple:!u,ref:t,onClick:function(e){y&&(y(e,x),e.defaultPrevented)||m&&m(e,x)},onChange:m,value:x,ownerState:k,"aria-pressed":w},C,{children:r}))}));function kf(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.indexOf(e)>=0:e===t)}function Zf(e){return(0,C.Z)("MuiToggleButtonGroup",e)}var Ef=(0,k.Z)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]),Rf=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],Tf=(0,y.ZP)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Ef.grouped),t.grouped),(0,d.Z)({},"& .".concat(Ef.grouped),t["grouped".concat((0,J.Z)(n.orientation))]),t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((function(e){var t=e.ownerState,n=e.theme;return(0,f.Z)({display:"inline-flex",borderRadius:(n.vars||n).shape.borderRadius},"vertical"===t.orientation&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},(0,d.Z)({},"& .".concat(Ef.grouped),(0,f.Z)({},"horizontal"===t.orientation?(0,d.Z)({"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}},"&.".concat(Ef.selected," + .").concat(Ef.grouped,".").concat(Ef.selected),{borderLeft:0,marginLeft:0}):(0,d.Z)({"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}},"&.".concat(Ef.selected," + .").concat(Ef.grouped,".").concat(Ef.selected),{borderTop:0,marginTop:0}))))})),Af=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiToggleButtonGroup"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"standard":i,s=n.disabled,l=void 0!==s&&s,c=n.exclusive,u=void 0!==c&&c,d=n.fullWidth,m=void 0!==d&&d,y=n.onChange,w=n.orientation,_=void 0===w?"horizontal":w,S=n.size,x=void 0===S?"medium":S,C=n.value,k=(0,h.Z)(n,Rf),Z=(0,f.Z)({},n,{disabled:l,fullWidth:m,orientation:_,size:x}),E=function(e){var t=e.classes,n=e.orientation,r=e.fullWidth,o=e.disabled,i={root:["root","vertical"===n&&"vertical",r&&"fullWidth"],grouped:["grouped","grouped".concat((0,J.Z)(n)),o&&"disabled"]};return(0,v.Z)(i,Zf,t)}(Z),T=function(e,t){if(y){var n,r=C&&C.indexOf(t);C&&r>=0?(n=C.slice()).splice(r,1):n=C?C.concat(t):[t],y(e,n)}},A=function(e,t){y&&y(e,C===t?null:t)};return(0,R.jsx)(Tf,(0,f.Z)({role:"group",className:(0,g.Z)(E.root,o),ref:t,ownerState:Z},k,{children:p.Children.map(r,(function(e){return p.isValidElement(e)?p.cloneElement(e,{className:(0,g.Z)(E.grouped,e.props.className),onChange:u?A:T,selected:void 0===e.props.selected?kf(e.props.value,C):e.props.selected,size:e.props.size||x,fullWidth:m,color:e.props.color||a,disabled:e.props.disabled||l}):null}))}))})),Pf=n(4073),Mf=n(9293),Of=n(940),Lf=["getTrigger","target"];function If(e,t){var n=t.disableHysteresis,r=void 0!==n&&n,o=t.threshold,i=void 0===o?100:o,a=t.target,s=e.current;return a&&(e.current=void 0!==a.pageYOffset?a.pageYOffset:a.scrollTop),!(!r&&void 0!==s&&e.currenti}var Df="undefined"!==typeof window?window:null;function Nf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getTrigger,n=void 0===t?If:t,r=e.target,o=void 0===r?Df:r,i=(0,h.Z)(e,Lf),a=p.useRef(),s=p.useState((function(){return n(a,i)})),l=(0,u.Z)(s,2),c=l[0],d=l[1];return p.useEffect((function(){var e=function(){d(n(a,(0,f.Z)({target:o},i)))};return e(),o.addEventListener("scroll",e),function(){o.removeEventListener("scroll",e)}}),[o,n,JSON.stringify(i)]),c}var jf=n(1640)},7278:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(9439),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(4036),u=n(7630),d=n(8278),h=n(2930),f=n(2863),p=n(9818);function m(e){return(0,p.Z)("PrivateSwitchBase",e)}(0,n(2152).Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var g=n(184),v=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=(0,u.ZP)(f.Z)((function(e){var t=e.ownerState;return(0,i.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),b=(0,u.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=a.forwardRef((function(e,t){var n=e.autoFocus,a=e.checked,u=e.checkedIcon,f=e.className,p=e.defaultChecked,w=e.disabled,_=e.disableFocusRipple,S=void 0!==_&&_,x=e.edge,C=void 0!==x&&x,k=e.icon,Z=e.id,E=e.inputProps,R=e.inputRef,T=e.name,A=e.onBlur,P=e.onChange,M=e.onFocus,O=e.readOnly,L=e.required,I=e.tabIndex,D=e.type,N=e.value,j=(0,o.Z)(e,v),$=(0,d.Z)({controlled:a,default:Boolean(p),name:"SwitchBase",state:"checked"}),F=(0,r.Z)($,2),z=F[0],W=F[1],B=(0,h.Z)(),H=w;B&&"undefined"===typeof H&&(H=B.disabled);var U="checkbox"===D||"radio"===D,V=(0,i.Z)({},e,{checked:z,disabled:H,disableFocusRipple:S,edge:C}),G=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat((0,c.Z)(o))],input:["input"]};return(0,l.Z)(i,m,t)}(V);return(0,g.jsxs)(y,(0,i.Z)({component:"span",className:(0,s.Z)(G.root,f),centerRipple:!0,focusRipple:!S,disabled:H,tabIndex:null,role:void 0,onFocus:function(e){M&&M(e),B&&B.onFocus&&B.onFocus(e)},onBlur:function(e){A&&A(e),B&&B.onBlur&&B.onBlur(e)},ownerState:V,ref:t},j,{children:[(0,g.jsx)(b,(0,i.Z)({autoFocus:n,checked:a,defaultChecked:p,className:G.input,disabled:H,id:U&&Z,name:T,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;W(t),P&&P(e,t)}},readOnly:O,ref:R,required:L,ownerState:V,tabIndex:I,type:D},"checkbox"===D&&void 0===N?{}:{value:N},E)),z?u:k]}))}))},9059:function(e,t,n){"use strict";n(2791);var r=n(4223),o=n(184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},7883:function(e,t,n){"use strict";n(2791);var r=n(4223),o=n(184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},1883:function(e,t,n){"use strict";n(2791);var r=n(4223),o=n(184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},6395:function(e,t,n){"use strict";n.d(t,{A:function(){return P},Z:function(){return M}});var r=n(7462),o=n(3366),i=n(2466),a=n(2173),s=n(4942);function l(e,t,n){var o;return(0,r.Z)({toolbar:(o={minHeight:56},(0,s.Z)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,s.Z)(o,e.up("sm"),{minHeight:64}),o)},n)}var c=n(6189),u=n(2065),d=n(375),h=n(5519),f=n(1798),p=n(2460),m=n(1258),g=n(427),v=n(7851),y=n(7),b=["mode","contrastThreshold","tonalOffset"],w={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:d.Z.white,default:d.Z.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}},_={text:{primary:d.Z.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:d.Z.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}};function S(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.$n)(e.main,o):"dark"===t&&(e.dark=(0,u._j)(e.main,i)))}function x(e){var t=e.mode,n=void 0===t?"light":t,a=e.contrastThreshold,s=void 0===a?3:a,l=e.tonalOffset,x=void 0===l?.2:l,C=(0,o.Z)(e,b),k=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g.Z[200],light:g.Z[50],dark:g.Z[400]}:{main:g.Z[700],light:g.Z[400],dark:g.Z[800]}}(n),Z=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:f.Z[200],light:f.Z[50],dark:f.Z[400]}:{main:f.Z[500],light:f.Z[300],dark:f.Z[700]}}(n),E=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p.Z[500],light:p.Z[300],dark:p.Z[700]}:{main:p.Z[700],light:p.Z[400],dark:p.Z[800]}}(n),R=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v.Z[400],light:v.Z[300],dark:v.Z[700]}:{main:v.Z[700],light:v.Z[500],dark:v.Z[900]}}(n),T=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y.Z[400],light:y.Z[300],dark:y.Z[700]}:{main:y.Z[800],light:y.Z[500],dark:y.Z[900]}}(n),A=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m.Z[400],light:m.Z[300],dark:m.Z[700]}:{main:"#ed6c02",light:m.Z[500],dark:m.Z[900]}}(n);function P(e){return(0,u.mi)(e,_.text.primary)>=s?_.text.primary:w.text.primary}var M=function(e){var t=e.color,n=e.name,o=e.mainShade,i=void 0===o?500:o,a=e.lightShade,s=void 0===a?300:a,l=e.darkShade,u=void 0===l?700:l;if(!(t=(0,r.Z)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error((0,c.Z)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error((0,c.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return S(t,"light",s,x),S(t,"dark",u,x),t.contrastText||(t.contrastText=P(t.main)),t},O={dark:_,light:w};return(0,i.Z)((0,r.Z)({common:(0,r.Z)({},d.Z),mode:n,primary:M({color:k,name:"primary"}),secondary:M({color:Z,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:E,name:"error"}),warning:M({color:A,name:"warning"}),info:M({color:R,name:"info"}),success:M({color:T,name:"success"}),grey:h.Z,contrastThreshold:s,getContrastText:P,augmentColor:M,tonalOffset:x},O[n]),C)}var C=n(7682);function k(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Z=["none",k(0,2,1,-1,0,1,1,0,0,1,3,0),k(0,3,1,-2,0,2,2,0,0,1,5,0),k(0,3,3,-2,0,3,4,0,0,1,8,0),k(0,2,4,-1,0,4,5,0,0,1,10,0),k(0,3,5,-1,0,5,8,0,0,1,14,0),k(0,3,5,-1,0,6,10,0,0,1,18,0),k(0,4,5,-2,0,7,10,1,0,2,16,1),k(0,5,5,-3,0,8,10,1,0,3,14,2),k(0,5,6,-3,0,9,12,1,0,3,16,2),k(0,6,6,-3,0,10,14,1,0,4,18,3),k(0,6,7,-4,0,11,15,1,0,4,20,3),k(0,7,8,-4,0,12,17,2,0,5,22,4),k(0,7,8,-4,0,13,19,2,0,5,24,4),k(0,7,9,-4,0,14,21,2,0,5,26,4),k(0,8,9,-5,0,15,22,2,0,6,28,5),k(0,8,10,-5,0,16,24,2,0,6,30,5),k(0,8,11,-5,0,17,26,2,0,6,32,5),k(0,9,11,-5,0,18,28,2,0,7,34,6),k(0,9,12,-6,0,19,29,2,0,7,36,6),k(0,10,13,-6,0,20,31,3,0,8,38,7),k(0,10,13,-6,0,21,33,3,0,8,40,7),k(0,10,14,-6,0,22,35,3,0,8,42,7),k(0,11,14,-7,0,23,36,3,0,9,44,8),k(0,11,15,-7,0,24,38,3,0,9,46,8)],E=n(1314),R={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},T=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,s=e.palette,c=void 0===s?{}:s,u=e.transitions,d=void 0===u?{}:u,h=e.typography,f=void 0===h?{}:h,p=(0,o.Z)(e,T),m=x(c),g=(0,a.Z)(e),v=(0,i.Z)(g,{mixins:l(g.breakpoints,g.spacing,n),palette:m,shadows:Z.slice(),typography:(0,C.Z)(m,f),transitions:(0,E.ZP)(d),zIndex:(0,r.Z)({},R)});v=(0,i.Z)(v,p);for(var y=arguments.length,b=new Array(y>1?y-1:0),w=1;w0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,s=void 0===a?n.standard:a,c=o.easing,u=void 0===c?t.easeInOut:c,d=o.delay,h=void 0===d?0:d;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:l(s)," ").concat(u," ").concat("string"===typeof h?h:l(h))})).join(",")}},e,{easing:t,duration:n})}},7682:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7462),o=n(3366),i=n(2466),a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var s={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){var n="function"===typeof t?t(e):t,c=n.fontFamily,u=void 0===c?l:c,d=n.fontSize,h=void 0===d?14:d,f=n.fontWeightLight,p=void 0===f?300:f,m=n.fontWeightRegular,g=void 0===m?400:m,v=n.fontWeightMedium,y=void 0===v?500:v,b=n.fontWeightBold,w=void 0===b?700:b,_=n.htmlFontSize,S=void 0===_?16:_,x=n.allVariants,C=n.pxToRem,k=(0,o.Z)(n,a);var Z=h/14,E=C||function(e){return"".concat(e/S*Z,"rem")},R=function(e,t,n,o,i){return(0,r.Z)({fontFamily:u,fontWeight:e,fontSize:E(t),lineHeight:n},u===l?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},T={h1:R(p,96,1.167,-1.5),h2:R(p,60,1.2,-.5),h3:R(g,48,1.167,0),h4:R(g,34,1.235,.25),h5:R(g,24,1.334,0),h6:R(y,20,1.6,.15),subtitle1:R(g,16,1.75,.15),subtitle2:R(y,14,1.57,.1),body1:R(g,16,1.5,.15),body2:R(g,14,1.43,.15),button:R(y,14,1.75,.4,s),caption:R(g,12,1.66,.4),overline:R(g,12,2.66,1,s)};return(0,i.Z)((0,r.Z)({htmlFontSize:S,pxToRem:E,fontFamily:u,fontSize:h,fontWeightLight:p,fontWeightRegular:g,fontWeightMedium:y,fontWeightBold:w},T),k,{clone:!1})}},1572:function(e,t,n){"use strict";n.d(t,{LV:function(){return l},Wy:function(){return i},YL:function(){return a},dA:function(){return o},vY:function(){return c},vs:function(){return s},ze:function(){return u}});var r=n(4942);function o(e){return String(parseFloat(e)).length===String(e).length}function i(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function a(e){return parseFloat(e)}function s(e){return function(t,n){var r=i(t);if(r===n)return t;var o=a(t);"px"!==r&&("em"===r||"rem"===r)&&(o=a(t)*a(e));var s=o;if("px"!==n)if("em"===n)s=o/a(e);else{if("rem"!==n)return t;s=o/a(e)}return parseFloat(s.toFixed(5))+n}}function l(e){var t=e.size,n=e.grid,r=t-t%n,o=r+n;return t-r0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.Z)({paddingLeft:x(2),paddingRight:x(2)},e,(0,r.Z)({},S.up("sm"),(0,o.Z)({paddingLeft:x(3),paddingRight:x(3)},e[S.up("sm")])))}},d);var C=m.type,k=m.mode,Z=(0,i.Z)(m,c),E=k||C||"light";return _.palette=(0,o.Z)({text:{hint:"dark"===E?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:E,type:E},Z),_}var d=n(104);var h=function(e){return function(t){var n=t.theme;return(0,d.Z)({sx:e,theme:n})}},f=n(2065),p=n(2554),m=n(6395),g=n(2466);function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.breakpoints,r=void 0===n?["sm","md","lg"]:n,i=t.disableAlign,a=void 0!==i&&i,s=t.factor,l=void 0===s?2:s,c=t.variants,u=void 0===c?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:c,d=(0,o.Z)({},e);d.typography=(0,o.Z)({},d.typography);var h=d.typography,f=(0,w.vs)(h.htmlFontSize),p=r.map((function(e){return d.breakpoints.values[e]}));return u.forEach((function(e){var t=h[e],n=parseFloat(f(t.fontSize,"rem"));if(!(n<=1)){var r=n,i=1+(r-1)/l,s=t.lineHeight;if(!(0,w.dA)(s)&&!a)throw new Error((0,_.Z)(6));(0,w.dA)(s)||(s=parseFloat(f(s,"rem"))/parseFloat(n));var c=null;a||(c=function(e){return(0,w.LV)({size:e,grid:(0,w.vY)({pixels:4,lineHeight:s,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,o.Z)({},t,(0,w.ze)({cssProperty:"fontSize",min:i,max:r,unit:"rem",breakpoints:p,transform:c}))}})),d}var x=n(1314),C=n(3967),k=n(1402),Z=n(7630),E=n(821),R=n(1640);function T(){throw new Error((0,_.Z)(14))}function A(){throw new Error((0,_.Z)(15))}function P(){throw new Error((0,_.Z)(16))}var M=n(9439),O=n(2791),L=n(5721),I=n(1500),D=n(3433),N=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e;t.forEach((function(e,i){i===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 j(e,t){var n,o,i=t||{},a=i.prefix,s=i.basePrefix,l=void 0===s?"":s,c=i.shouldSkipGeneratingVar,u={},d={},h={};return n=function(e,t,n){if(("string"===typeof t||"number"===typeof t)&&("string"===typeof t&&t.match(/var\(\s*--/)&&(t=!l&&a?t.replace(/var\(\s*--/g,"var(--".concat(a,"-")):a?t.replace(new RegExp("var\\(\\s*--".concat(l),"g"),"var(--".concat(a)):t.replace(new RegExp("var\\(\\s*--".concat(l,"-"),"g"),"var(--")),!c||c&&!c(e,t))){var o="--".concat(a?"".concat(a,"-"):"").concat(e.join("-"));Object.assign(u,(0,r.Z)({},o,function(e,t){return"number"===typeof t?["lineHeight","fontWeight","opacity","zIndex"].some((function(t){return e.includes(t)}))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:"".concat(t,"px"):t}(e,t))),N(d,e,"var(".concat(o,")"),n)}N(h,e,t,n)},o=function(e){return"vars"===e[0]},function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(t).forEach((function(t){var a=(0,M.Z)(t,2),s=a[0],l=a[1];(!o||o&&!o([].concat((0,D.Z)(r),[s])))&&void 0!==l&&null!==l&&("object"===typeof l&&Object.keys(l).length>0?e(l,[].concat((0,D.Z)(r),[s]),Array.isArray(l)?[].concat((0,D.Z)(i),[s]):i):n([].concat((0,D.Z)(r),[s]),l,i))}))}(e),{css:u,vars:d,parsedTheme:h}}var $=n(184),F="mui-mode",z="mui-color-scheme",W="data-mui-color-scheme";function B(e){var t=e||{},n=t.enableSystem,r=void 0!==n&&n,o=t.defaultLightColorScheme,i=void 0===o?"light":o,a=t.defaultDarkColorScheme,s=void 0===a?"dark":a,l=t.modeStorageKey,c=void 0===l?F:l,u=t.colorSchemeStorageKey,d=void 0===u?z:u,h=t.attribute,f=void 0===h?W:h,p=t.colorSchemeNode,m=void 0===p?"document.documentElement":p;return(0,$.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function() { try {\n var mode = localStorage.getItem('".concat(c,"');\n var colorScheme = '';\n if (mode === 'system' || (!mode && !!").concat(r,")) {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('").concat(d,"-dark') || '").concat(s,"';\n } else {\n colorScheme = localStorage.getItem('").concat(d,"-light') || '").concat(i,"';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('").concat(d,"-light') || '").concat(i,"';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('").concat(d,"-dark') || '").concat(s,"';\n }\n if (colorScheme) {\n ").concat(m,".setAttribute('").concat(f,"', colorScheme);\n }\n } catch (e) {} })();")}})}function H(e){if("undefined"!==typeof window&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function U(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}function V(e,t){if("undefined"!==typeof window){var n;try{n=localStorage.getItem(e)||void 0}catch(r){}return n||t}}function G(e){var t=e.defaultMode,n=void 0===t?"light":t,r=e.defaultLightColorScheme,i=e.defaultDarkColorScheme,a=e.supportedColorSchemes,s=void 0===a?[]:a,l=e.modeStorageKey,c=void 0===l?F:l,u=e.colorSchemeStorageKey,d=void 0===u?z:u,h=e.storageWindow,f=void 0===h?"undefined"===typeof window?void 0:window:h,p=s.join(","),m=O.useState((function(){var e=V(c,n);return{mode:e,systemMode:H(e),lightColorScheme:V("".concat(d,"-light"))||r,darkColorScheme:V("".concat(d,"-dark"))||i}})),g=(0,M.Z)(m,2),v=g[0],y=g[1],b=function(e){return U(e,(function(t){return"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0}))}(v),w=O.useCallback((function(e){y((function(t){var r=e||n;return e===t.mode?t:("undefined"!==typeof localStorage&&localStorage.setItem(c,r),(0,o.Z)({},t,{mode:r,systemMode:H(r)}))}))}),[c,n]),_=O.useCallback((function(e){e&&"string"!==typeof e?e.light&&!p.includes(e.light)||e.dark&&!p.includes(e.dark)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):(y((function(t){var n=(0,o.Z)({},t);return(e.light||null===e.light)&&(n.lightColorScheme=null===e.light?r:e.light),(e.dark||null===e.dark)&&(n.darkColorScheme=null===e.dark?i:e.dark),n})),e.light&&localStorage.setItem("".concat(d,"-light"),e.light),e.dark&&localStorage.setItem("".concat(d,"-dark"),e.dark)):e&&!p.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):y((function(t){var n=(0,o.Z)({},t);return e?(U(t,(function(t){localStorage.setItem("".concat(d,"-").concat(t),e),"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n):(n.lightColorScheme=r,n.darkColorScheme=i,n)}))}),[p,d,r,i]),S=O.useCallback((function(e){"system"===v.mode&&y((function(t){return(0,o.Z)({},t,{systemMode:e.matches?"dark":"light"})}))}),[v.mode]),x=O.useRef(S);return x.current=S,O.useEffect((function(){var e=function(){return x.current.apply(x,arguments)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),function(){return t.removeListener(e)}}),[]),O.useEffect((function(){v.mode&&localStorage.setItem(c,v.mode),U(v,(function(e){"light"===e&&localStorage.setItem("".concat(d,"-light"),v.lightColorScheme),"dark"===e&&localStorage.setItem("".concat(d,"-dark"),v.darkColorScheme)}))}),[v,d,c]),O.useEffect((function(){var e=function(e){var t=e.newValue;"string"!==typeof e.key||!e.key.startsWith(d)||t&&!p.match(t)||(e.key.endsWith("light")&&_({light:t}),e.key.endsWith("dark")&&_({dark:t})),e.key!==c||t&&!["light","dark","system"].includes(t)||w(t||n)};if(f)return f.addEventListener("storage",e),function(){return f.removeEventListener("storage",e)}}),[_,w,c,d,p,n,f]),(0,o.Z)({},v,{colorScheme:b,setMode:w,setColorScheme:_})}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";function t(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},s=a.colorSchemes,l=void 0===s?{}:s,c=(0,i.Z)(a,Y),u=(0,m.Z)((0,o.Z)({},c,l.light&&{palette:null==(e=l.light)?void 0:e.palette})),d=u.palette,h=(0,i.Z)(u,J),p=(0,m.Z)({palette:(0,o.Z)({mode:"dark"},null==(t=l.dark)?void 0:t.palette)}),v=p.palette,y=(0,o.Z)({},h,{colorSchemes:(0,o.Z)({},l,{light:(0,o.Z)({},l.light,{palette:d,opacity:(0,o.Z)({placeholder:.42,inputTouchBottomLine:.42},null==(n=l.light)?void 0:n.opacity)}),dark:(0,o.Z)({},l.dark,{palette:v,opacity:(0,o.Z)({placeholder:.5,inputTouchBottomLine:.7},null==(r=l.dark)?void 0:r.opacity)})})});Object.keys(y.colorSchemes).forEach((function(e){var t=y.colorSchemes[e].palette;"dark"===e?(t.common.background=t.common.background||"#000",t.common.onBackground=t.common.onBackground||"#fff"):(t.common.background=t.common.background||"#fff",t.common.onBackground=t.common.onBackground||"#000"),t.common.backgroundChannel=(0,f.n8)(t.common.background),t.common.onBackgroundChannel=(0,f.n8)(t.common.onBackground),t.dividerChannel=(0,f.n8)(t.divider),t.grey.dark||(t.grey.dark=t.grey[700]),Object.keys(t).forEach((function(e){var n=t[e];n.main&&(t[e].mainChannel=(0,f.n8)(n.main)),n.light&&(t[e].lightChannel=(0,f.n8)(n.light)),n.dark&&(t[e].darkChannel=(0,f.n8)(n.dark)),n.contrastText&&(t[e].contrastTextChannel=(0,f.n8)(n.contrastText)),n.primary&&(t[e].primaryChannel=(0,f.n8)(n.primary)),n.secondary&&(t[e].secondaryChannel=(0,f.n8)(n.secondary))}))}));for(var b=arguments.length,w=new Array(b>1?b-1:0),_=1;_0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?S:t,l=e.rootShouldForwardProp,c=void 0===l?_:l,u=e.slotShouldForwardProp,d=void 0===u?_:u,h=e.styleFunctionSx,x=void 0===h?f.Z:h;return function(e){var t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=l.name,h=l.slot,f=l.skipVariantsResolver,S=l.skipSx,C=l.overridesResolver,k=(0,a.Z)(l,p),Z=void 0!==f?f:h&&"Root"!==h||!1,E=S||!1;var R=_;"Root"===h?R=c:h&&(R=d);var T=(0,s.ZP)(e,(0,i.Z)({shouldForwardProp:R,label:t},k)),A=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),l=1;l0){var f=new Array(h).fill("");(d=[].concat((0,r.Z)(e),(0,r.Z)(f))).raw=[].concat((0,r.Z)(e.raw),(0,r.Z)(f))}else"function"===typeof e&&e.__emotion_real!==e&&(d=function(t){var r=t.theme,o=(0,a.Z)(t,g);return e((0,i.Z)({theme:v(r)?n:r},o))});var p=T.apply(void 0,[d].concat((0,r.Z)(c)));return p};return T.withConfig&&(A.withConfig=T.withConfig),A}}({defaultTheme:x.Z,rootShouldForwardProp:C}),E=Z},3967:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(2791);var r=n(418),o=n(6482);function i(){return(0,r.Z)(o.Z)}},1402:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6083),o=n(6482);function i(e){var t=e.props,n=e.name;return(0,r.Z)({props:t,name:n,defaultTheme:o.Z})}},4999:function(e,t,n){"use strict";n.d(t,{C:function(){return o},n:function(){return r}});var r=function(e){return e.scrollTop};function o(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:s.transitionDelay}}},4036:function(e,t,n){"use strict";var r=n(7312);t.Z=r.Z},1260:function(e,t,n){"use strict";var r=n(8949);t.Z=r.Z},4223:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(7462),o=n(2791),i=n(558),a=n(184);function s(e,t){var n=function(n,o){return(0,a.jsx)(i.Z,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))};return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},3199:function(e,t,n){"use strict";var r=n(3981);t.Z=r.Z},8610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return h},setRef:function(){return f},unstable_ClassNameGenerator:function(){return _},unstable_useEnhancedEffect:function(){return p.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return g},useControlled:function(){return v.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return w.Z}});var r=n(3854),o=n(4036),i=n(1260),a=n(4223),s=n(3199);var l=function(e,t){return function(){return null}},c=n(9103),u=n(8301),d=n(7602);n(7462);var h=function(e,t){return function(){return null}},f=n(2971).Z,p=n(162),m=n(7384);var g=function(e,t,n,r,o){return null},v=n(8278),y=n(9683),b=n(2071),w=n(8221),_={configure:function(e){console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),r.Z.configure(e)}}},9103:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2791);var o=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},8301:function(e,t,n){"use strict";var r=n(9723);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(7979);t.Z=r.Z},8278:function(e,t,n){"use strict";var r=n(8959);t.Z=r.Z},162:function(e,t,n){"use strict";var r=n(5721);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(8956);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(7563);t.Z=r.Z},7384:function(e,t,n){"use strict";var r=n(6248);t.Z=r.Z},8221:function(e,t,n){"use strict";var r=n(5372);t.Z=r.Z},3854:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},2039:function(e,t,n){"use strict";function r(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},9818:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3854),o={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return o[t]||"".concat(r.Z.generate(e),"-").concat(t)}},2152:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818);function o(e,t){var n={};return t.forEach((function(t){n[t]=(0,r.Z)(e,t)})),n}},919:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},8023:function(e,t,n){"use strict";var r=n(2791).createContext(null);t.Z=r},9598:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(8023);function i(){return r.useContext(o.Z)}},1500:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(2791);var r=n(2554),o=n(184);function i(e){var t=e.styles,n=e.defaultTheme,i=void 0===n?{}:n,a="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?i:e);var n}:t;return(0,o.jsx)(r.xB,{styles:a})}},1640:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});n(2791);var r=n(1688),o=n(76),i=n(184),a=(0,o.Z)({key:"css",prepend:!0});function s(e){var t=e.injectFirst,n=e.children;return t?(0,i.jsx)(r.C,{value:a,children:n}):n}},594:function(e,t,n){"use strict";n.d(t,{ZP:function(){return _}});var r=n(2791),o=n.t(r,2),i=n(7462),a=n(3782),s=/^((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|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)-.*))$/,l=(0,a.Z)((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),c=n(1688),u=n(5438),d=n(1346),h=l,f=function(e){return"theme"!==e},p=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?h:f},m=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},g=o.useInsertionEffect?o.useInsertionEffect:function(e){e()};var v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,u.hC)(t,n,r);!function(e){g(e)}((function(){return(0,u.My)(t,n,r)}));return null},y=function e(t,n){var o,a,s=t.__emotion_real===t,l=s&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var h=m(t,n,s),f=h||p(l),g=!f("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var w=y.length,_=1;_<+~=|^:(),"'`\s])/g,S="undefined"!==typeof CSS&&CSS.escape,x=function(e){return S?S(e):e.replace(_,"\\$1")},C=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),k=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l((0,h.Z)((0,h.Z)(o)),s),o.selectorText="."+x(o.id)),o}(0,d.Z)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=v(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return w(this.selectorText,this.style,n)},(0,u.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(C),Z={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new k(e,t,n)}},E={indent:1,children:!0},R=/@([\w-]+)/,T=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var o=e.match(R);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=E);var t=y(e).linebreak;if(null==e.indent&&(e.indent=E.indent),null==e.children&&(e.children=E.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),A=/@media|@supports\s+/,P={onCreateRule:function(e,t,n){return A.test(e)?new T(e,t,n):null}},M={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,L=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=e.match(O);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:x(s(this,a)),this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,r.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=M);var t=y(e).linebreak;if(null==e.indent&&(e.indent=M.indent),null==e.children&&(e.children=M.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),I=/@keyframes\s+/,D=/\$([\w-]+)/g,N=function(e,t){return"string"===typeof e?e.replace(D,(function(e,n){return n in t?t[n]:e})):e},j=function(e,t,n){var r=e[t],o=N(r,n);o!==r&&(e[t]=o)},$={onCreateRule:function(e,t,n){return"string"===typeof e&&I.test(e)?new L(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&j(e,"animation-name",n.keyframes),"animation"in e&&j(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return N(e,r.keyframes);default:return e}}},F=function(e){function t(){return e.apply(this,arguments)||this}return(0,d.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return w(this.key,this.style,n)},t}(C),z={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new F(e,t,n):null}},W=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=y(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,o.Z)(t,["attached"]),i=y(r).linebreak,a="",s=0;s0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=fe(),n=0;nn?n:t},ye=function(){function e(e){this.getPropertyValue=ce,this.setProperty=ue,this.removeProperty=de,this.setSelector=he,this.hasInsertedRules=!1,this.cssRules=[],e&&re.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=me();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=pe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else fe().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}var ke={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Ze=ke,Ee=n(9598),Re=n(919),Te=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ae=Date.now(),Pe="fnValues"+Ae,Me="fnStyle"+ ++Ae,Oe=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=m(e,{},n);return r[Me]=t,r},onProcessStyle:function(e,t){if(Pe in t||Me in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[Pe]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Me];i&&(o.style=i(e)||{});var a=o[Pe];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},Le="@global",Ie="@global ",De=function(){function e(e,t,n){for(var o in this.type="global",this.at=Le,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Ne=function(){function e(e,t,n){this.type="global",this.at=Le,this.isProcessed=!1,this.key=e,this.options=n;var o=e.substr(Ie.length);this.rule=n.jss.createRule(o,t,(0,r.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),je=/\s*,\s*/g;function $e(e,t){for(var n=e.split(je),r="",o=0;o-1){var o=Ft[e];if(!Array.isArray(o))return pt+Ct(o)in t&&mt+o;if(!r)return!1;for(var i=0;it?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,c=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Te.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Re.Z]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}(),cn={disableGeneration:!1,generateClassName:ln,jss:sn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},un=i.createContext(cn);var dn=-1e9;function hn(){return dn+=1}var fn=n(2466),pn=n(7312),mn=["variant"];function gn(e){return 0===e.length}function vn(e){var t="function"===typeof e;return{create:function(n,i){var a;try{a=t?e(n):e}catch(u){throw u}if(!i||!n.components||!n.components[i]||!n.components[i].styleOverrides&&!n.components[i].variants)return a;var s=n.components[i].styleOverrides||{},l=n.components[i].variants||[],c=(0,r.Z)({},a);return Object.keys(s).forEach((function(e){c[e]=(0,fn.Z)(c[e]||{},s[e])})),l.forEach((function(e){var t=function(e){var t=e.variant,n=(0,o.Z)(e,mn),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?gn(r)?e[t]:(0,pn.Z)(e[t]):"".concat(gn(r)?t:(0,pn.Z)(t)).concat((0,pn.Z)(e[t].toString()))})),r}(e.props);c[t]=(0,fn.Z)(c[t]||{},e.style)})),c},options:{}}}var yn={},bn=["name","classNamePrefix","Component","defaultTheme"];function wn(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=Ce({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function _n(e,t){var n=e.state,o=e.theme,i=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!i.disableGeneration){var l=Ze.get(i.sheetsManager,a,o);l||(l={refs:0,staticSheet:null,dynamicStyles:null},Ze.set(i.sheetsManager,a,o,l));var c=(0,r.Z)({},a.options,i,{theme:o,flip:"boolean"===typeof i.flip?i.flip:"rtl"===o.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=i.sheetsRegistry;if(0===l.refs){var d;i.sheetsCache&&(d=Ze.get(i.sheetsCache,a,o));var h=a.create(o,s);d||((d=i.jss.createStyleSheet(h,(0,r.Z)({link:!1},c))).attach(),i.sheetsCache&&Ze.set(i.sheetsCache,a,o,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=xe(h)}if(l.dynamicStyles){var f=i.jss.createStyleSheet(l.dynamicStyles,(0,r.Z)({link:!0},c));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=Ce({baseClasses:l.staticSheet.classes,newClasses:f.classes}),u&&u.add(f)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Sn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function xn(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Ze.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Ze.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function Cn(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,s=t.Component,l=t.defaultTheme,c=void 0===l?yn:l,u=(0,o.Z)(t,bn),d=vn(e),h=n||a||"makeStyles";d.options={index:hn(),name:n,meta:h,classNamePrefix:h};var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,Ee.Z)()||c,o=(0,r.Z)({},i.useContext(un),u),a=i.useRef(),l=i.useRef();Cn((function(){var r={name:n,state:{},stylesCreator:d,stylesOptions:o,theme:t};return _n(r,e),l.current=!1,a.current=r,function(){xn(r)}}),[t,d]),i.useEffect((function(){l.current&&Sn(a.current,e),l.current=!0}));var h=wn(a.current,e.classes,s);return h};return f}function Zn(e){var t=e.theme,n=e.name,o=e.props;if(!t||!t.components||!t.components[n]||!t.components[n].defaultProps)return o;var i,a=(0,r.Z)({},o),s=t.components[n].defaultProps;for(i in s)void 0===a[i]&&(a[i]=s[i]);return a}var En=["defaultTheme","withTheme","name"],Rn=["classes"],Tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,l=t.withTheme,c=void 0!==l&&l,u=t.name,d=(0,o.Z)(t,En);var h=u,f=kn(e,(0,r.Z)({defaultTheme:a,Component:n,name:u||n.displayName,classNamePrefix:h},d)),p=i.forwardRef((function(e,t){var i,s=(0,o.Z)(e,Rn),l=f((0,r.Z)({},n.defaultProps,e)),d=s;return("string"===typeof u||c)&&(i=(0,Ee.Z)()||a,u&&(d=Zn({theme:i,name:u,props:s})),c&&!d.theme&&(d.theme=i)),(0,an.jsx)(n,(0,r.Z)({ref:t,classes:l},d))}));return s()(p,n),p}}},821:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(2791),o=n(7462),i=n(8023),a=n(9598),s=n(919),l=n(184);var c=function(e){var t=e.children,n=e.theme,c=(0,a.Z)(),u=r.useMemo((function(){var e=null===c?n:function(e,t){return"function"===typeof t?t(e):(0,o.Z)({},e,t)}(c,n);return null!=e&&(e[s.Z]=null!==c),e}),[n,c]);return(0,l.jsx)(i.Z.Provider,{value:u,children:t})},u=n(1688),d=n(418);function h(e){var t=(0,d.Z)();return(0,l.jsx)(u.T.Provider,{value:"object"===typeof t?t:{},children:e.children})}var f=function(e){var t=e.children,n=e.theme;return(0,l.jsx)(c,{theme:n,children:(0,l.jsx)(h,{children:t})})}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return l},VO:function(){return r},W8:function(){return a},k9:function(){return i}});var r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function i(e,t,n){var i=e.theme||{};if(Array.isArray(t)){var a=i.breakpoints||o;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var s=i.breakpoints||o;return Object.keys(t).reduce((function(e,o){if(-1!==Object.keys(s.values||r).indexOf(o)){e[s.up(o)]=n(t[o],o)}else{var i=o;e[i]=t[i]}return e}),{})}return n(t)}function a(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==t||null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function l(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,s=e.substring(t+1,e.length-1);if("color"===n){if(o=(s=s.split(" ")).shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else s=s.split(",");return{type:n,values:s=s.map((function(e){return parseFloat(e)})),colorSpace:o}}var s=function(e){var t=a(e);return t.values.slice(0,3).map((function(e,n){return-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e})).join(" ")};function l(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function c(e){if(0===e.indexOf("#"))return e;var t=a(e).values;return"#".concat(t.map((function(e,t){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(3===t?Math.round(255*e):e)})).join(""))}function u(e){var t=(e=a(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function d(e){var t="hsl"===(e=a(e)).type?a(u(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function h(e,t){var n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=a(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,l(e)}function p(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function m(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return d(e)>.5?p(e,t):m(e,t)}},9572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(4942),o=n(3366),i=n(7462),a=["values","unit","step"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,s=e.unit,l=void 0===s?"px":s,c=e.step,u=void 0===c?5:c,d=(0,o.Z)(e,a),h=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,i.Z)({},e,(0,r.Z)({},t.key,t.val))}),{})}(n),f=Object.keys(h);function p(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(l,")")}function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-u/100).concat(l,")")}function g(e,t){var r=f.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(l,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[f[r]]?n[f[r]]:t)-u/100).concat(l,")")}return(0,i.Z)({keys:f,values:h,up:p,down:m,between:g,only:function(e){return f.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,r.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,u=e.palette,d=void 0===u?{}:u,h=e.spacing,f=e.shape,p=void 0===f?{}:f,m=(0,o.Z)(e,c),g=(0,a.Z)(n),v=(0,l.Z)(h),y=(0,i.Z)({breakpoints:g,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},d),spacing:v,shape:(0,r.Z)({},s,p)},m),b=arguments.length,w=new Array(b>1?b-1:0),_=1;_2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=s[o],u=l[i]||"";return Array.isArray(u)?u.map((function(e){return a+e})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[].concat(d,h);function p(e,t,n,r){var o,a=null!=(o=(0,i.D)(e,t))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function m(e){return p(e,"spacing",8)}function g(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function v(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=g(t,n),e}),{})}}(u(n),r),a=e[n];return(0,o.k9)(e,a,i)}function y(e,t){var n=m(e.theme);return Object.keys(e).map((function(r){return v(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,d)}function w(e){return y(e,h)}function _(e){return y(e,f)}b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=h,_.propTypes={},_.filterProps=f;var S=_},8529:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(4942),o=n(7312),i=n(1184);function a(e,t){if(!t||"string"!==typeof t)return null;if(e&&e.vars){var n="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=n)return n}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function s(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r)),r}t.Z=function(e){var t=e.prop,n=e.cssProperty,l=void 0===n?e.prop:n,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,c)||{};return(0,i.k9)(e,n,(function(e){var n=s(d,u,e);return e===n&&"string"===typeof e&&(n=s(d,u,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===l?n:(0,r.Z)({},l,n)}))};return d.propTypes={},d.filterProps=[t],d}},8519:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(3433),o=n(7462),i=n(3366),a=n(2466),s=n(6001),l=["sx"];function c(e){var t,n=e.sx,c=function(e){var t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((function(n){s.Gc[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t}((0,i.Z)(e,l)),u=c.systemProps,d=c.otherProps;return t=Array.isArray(n)?[u].concat((0,r.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,a.P)(e)?(0,o.Z)({},u,e):u}:(0,o.Z)({},u,n),(0,o.Z)({},d,{sx:t})}},104:function(e,t,n){"use strict";var r=n(4942),o=n(8247),i=n(6001),a=n(1184);function s(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:i.G$,t=Object.keys(e).reduce((function(t,n){return e[n].filterProps.forEach((function(r){t[r]=e[n]})),t}),{});function n(e,n,o){var i,a=(i={},(0,r.Z)(i,e,n),(0,r.Z)(i,"theme",o),i),s=t[e];return s?s(a):(0,r.Z)({},e,n)}function c(e){var i=e||{},u=i.sx,d=i.theme,h=void 0===d?{}:d;if(!u)return null;function f(e){var i=e;if("function"===typeof e)i=e(h);else if("object"!==typeof e)return e;if(!i)return null;var u=(0,a.W8)(h.breakpoints),d=Object.keys(u),f=u;return Object.keys(i).forEach((function(e){var u=l(i[e],h);if(null!==u&&void 0!==u)if("object"===typeof u)if(t[e])f=(0,o.Z)(f,n(e,u,h));else{var d=(0,a.k9)({theme:h},u,(function(t){return(0,r.Z)({},e,t)}));s(d,u)?f[e]=c({sx:u,theme:h}):f=(0,o.Z)(f,d)}else f=(0,o.Z)(f,n(e,u,h))})),(0,a.L7)(d,f)}return Array.isArray(u)?u.map(f):f(u)}return c}();c.filterProps=["sx"],t.Z=c},418:function(e,t,n){"use strict";var r=n(2173),o=n(9120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},3073:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5735);function o(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},6083:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3073),o=n(418);function i(e){var t=e.props,n=e.name,i=e.defaultTheme,a=(0,o.Z)(i);return(0,r.Z)({theme:a,name:n,props:t})}},9120:function(e,t,n){"use strict";var r=n(9598);function o(e){return 0===Object.keys(e).length}t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,r.Z)();return!t||o(t)?e:t}},7312:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6189);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors((0,a.fl)(m(),this._eventProcessors),e,t)},e.prototype.setSDKProcessingMetadata=function(e){return this._sdkProcessingMetadata=(0,a.pi)((0,a.pi)({},this._sdkProcessingMetadata),e),this},e.prototype._notifyEventProcessors=function(e,t,n,r){var o=this;return void 0===r&&(r=0),new h((function(i,s){var c=e[r];if(null===t||"function"!==typeof c)i(t);else{var u=c((0,a.pi)({},t),n);(0,l.J8)(u)?u.then((function(t){return o._notifyEventProcessors(e,t,n,r+1).then(i)})).then(null,s):o._notifyEventProcessors(e,u,n,r+1).then(i).then(null,s)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function m(){return(0,f.Y)("globalEventProcessors",(function(){return[]}))}function g(e){m().push(e)}var v=n(6870),y=n(6017),b=n(9509),w="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,_=n(5256),S=function(){function e(e){this.errors=0,this.sid=(0,v.DM)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var t=(0,c.ph)();this.timestamp=t,this.started=t,e&&this.update(e)}return e.prototype.update=function(e){if(void 0===e&&(e={}),e.user&&(!this.ipAddress&&e.user.ip_address&&(this.ipAddress=e.user.ip_address),this.did||e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||(0,c.ph)(),e.ignoreDuration&&(this.ignoreDuration=e.ignoreDuration),e.sid&&(this.sid=32===e.sid.length?e.sid:(0,v.DM)()),void 0!==e.init&&(this.init=e.init),!this.did&&e.did&&(this.did=""+e.did),"number"===typeof e.started&&(this.started=e.started),this.ignoreDuration)this.duration=void 0;else if("number"===typeof e.duration)this.duration=e.duration;else{var t=this.timestamp-this.started;this.duration=t>=0?t:0}e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),!this.ipAddress&&e.ipAddress&&(this.ipAddress=e.ipAddress),!this.userAgent&&e.userAgent&&(this.userAgent=e.userAgent),"number"===typeof e.errors&&(this.errors=e.errors),e.status&&(this.status=e.status)},e.prototype.close=function(e){e?this.update({status:e}):"ok"===this.status?this.update({status:"exited"}):this.update()},e.prototype.toJSON=function(){return(0,_.Jr)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"===typeof this.did||"string"===typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},e}(),x=function(){function e(e,t,n){void 0===t&&(t=new p),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=t,e&&this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version1&&(d=f.slice(0,-1).join("/"),h=f.pop()),h){var p=h.match(/^\d+/);p&&(h=p[0])}return Y({host:l,pass:s,path:d,projectId:h,port:u,protocol:r,publicKey:o})}(e):Y(e);return function(e){if(G.h){var t=e.port,n=e.projectId,r=e.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(t){if(!e[t])throw new V("Invalid Sentry Dsn: "+t+" missing")})),!n.match(/^\d+$/))throw new V("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(e){return"http"===e||"https"===e}(r))throw new V("Invalid Sentry Dsn: Invalid protocol "+r);if(t&&isNaN(parseInt(t,10)))throw new V("Invalid Sentry Dsn: Invalid port "+t)}}(t),t}var X=n(3849),Q=n(7050),ee="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,te=[];function ne(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}function re(e){var t={};return function(e){var t=e.defaultIntegrations&&(0,a.fl)(e.defaultIntegrations)||[],n=e.integrations,r=(0,a.fl)(ne(t));Array.isArray(n)?r=(0,a.fl)(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))})),ne(n)):"function"===typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(e){return e.name})),i="Debug";return-1!==o.indexOf(i)&&r.push.apply(r,(0,a.fl)(r.splice(o.indexOf(i),1))),r}(e).forEach((function(e){t[e.name]=e,function(e){-1===te.indexOf(e.name)&&(e.setupOnce(g,Z),te.push(e.name),ee&&y.kg.log("Integration installed: "+e.name))}(e)})),(0,_.xp)(t,"initialized",!0),t}var oe="Not capturing exception because it's already been captured.",ie=function(){function e(e,t){this._integrations={},this._numProcessing=0,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=J(t.dsn))}return e.prototype.captureException=function(e,t,n){var r=this;if(!(0,v.YO)(e)){var o=t&&t.event_id;return this._process(this._getBackend().eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){o=e}))),o}ee&&y.kg.log(oe)},e.prototype.captureMessage=function(e,t,n,r){var o=this,i=n&&n.event_id,a=(0,l.pt)(e)?this._getBackend().eventFromMessage(String(e),t,n):this._getBackend().eventFromException(e,n);return this._process(a.then((function(e){return o._captureEvent(e,n,r)})).then((function(e){i=e}))),i},e.prototype.captureEvent=function(e,t,n){if(!(t&&t.originalException&&(0,v.YO)(t.originalException))){var r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){r=e}))),r}ee&&y.kg.log(oe)},e.prototype.captureSession=function(e){this._isEnabled()?"string"!==typeof e.release?ee&&y.kg.warn("Discarded session because of missing or non-string release"):(this._sendSession(e),e.update({init:!1})):ee&&y.kg.warn("SDK not enabled, will not capture session.")},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.getTransport=function(){return this._getBackend().getTransport()},e.prototype.flush=function(e){var t=this;return this._isClientDoneProcessing(e).then((function(n){return t.getTransport().close(e).then((function(e){return n&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=re(this._options))},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return ee&&y.kg.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._updateSessionFromEvent=function(e,t){var n,r,o=!1,i=!1,s=t.exception&&t.exception.values;if(s){i=!0;try{for(var l=(0,a.XA)(s),c=l.next();!c.done;c=l.next()){var u=c.value.mechanism;if(u&&!1===u.handled){o=!0;break}}}catch(h){n={error:h}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}var d="ok"===e.status;(d&&0===e.errors||d&&o)&&(e.update((0,a.pi)((0,a.pi)({},o&&{status:"crashed"}),{errors:e.errors||Number(i||o)})),this.captureSession(e))},e.prototype._sendSession=function(e){this._getBackend().sendSession(e)},e.prototype._isClientDoneProcessing=function(e){var t=this;return new h((function(n){var r=0,o=setInterval((function(){0==t._numProcessing?(clearInterval(o),n(!0)):(r+=1,e&&r>=e&&(clearInterval(o),n(!1)))}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,n){var r=this,o=this.getOptions(),i=o.normalizeDepth,s=void 0===i?3:i,l=o.normalizeMaxBreadth,d=void 0===l?1e3:l,h=(0,a.pi)((0,a.pi)({},e),{event_id:e.event_id||(n&&n.event_id?n.event_id:(0,v.DM)()),timestamp:e.timestamp||(0,c.yW)()});this._applyClientOptions(h),this._applyIntegrationsMetadata(h);var f=t;n&&n.captureContext&&(f=p.clone(f).update(n.captureContext));var m=u(h);return f&&(m=f.applyToEvent(h,n)),m.then((function(e){return e&&(e.sdkProcessingMetadata=(0,a.pi)((0,a.pi)({},e.sdkProcessingMetadata),{normalizeDepth:(0,X.Fv)(s)+" ("+typeof s+")"})),"number"===typeof s&&s>0?r._normalizeEvent(e,s,d):e}))},e.prototype._normalizeEvent=function(e,t,n){if(!e)return null;var r=(0,a.pi)((0,a.pi)((0,a.pi)((0,a.pi)((0,a.pi)({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return(0,a.pi)((0,a.pi)({},e),e.data&&{data:(0,X.Fv)(e.data,t,n)})}))}),e.user&&{user:(0,X.Fv)(e.user,t,n)}),e.contexts&&{contexts:(0,X.Fv)(e.contexts,t,n)}),e.extra&&{extra:(0,X.Fv)(e.extra,t,n)});return e.contexts&&e.contexts.trace&&(r.contexts.trace=e.contexts.trace),r.sdkProcessingMetadata=(0,a.pi)((0,a.pi)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},e.prototype._applyClientOptions=function(e){var t=this.getOptions(),n=t.environment,r=t.release,o=t.dist,i=t.maxValueLength,a=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=(0,Q.$G)(e.message,a));var s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,Q.$G)(s.value,a));var l=e.request;l&&l.url&&(l.url=(0,Q.$G)(l.url,a))},e.prototype._applyIntegrationsMetadata=function(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=(0,a.fl)(e.sdk.integrations||[],t))},e.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},e.prototype._captureEvent=function(e,t,n){return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){ee&&y.kg.error(e)}))},e.prototype._processEvent=function(e,t,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate,s=this.getTransport();function c(e,t){s.recordLostEvent&&s.recordLostEvent(e,t)}if(!this._isEnabled())return d(new V("SDK not enabled, will not capture event."));var u="transaction"===e.type;return!u&&"number"===typeof a&&Math.random()>a?(c("sample_rate","event"),d(new V("Discarding event because it's not included in the random sample (sampling rate = "+a+")"))):this._prepareEvent(e,n,t).then((function(n){if(null===n)throw c("event_processor",e.type||"event"),new V("An event processor returned null, will not send event.");return t&&t.data&&!0===t.data.__sentry__||u||!i?n:function(e){var t="`beforeSend` method has to return `null` or a valid event.";if((0,l.J8)(e))return e.then((function(e){if(!(0,l.PO)(e)&&null!==e)throw new V(t);return e}),(function(e){throw new V("beforeSend rejected with "+e)}));if(!(0,l.PO)(e)&&null!==e)throw new V(t);return e}(i(n,t))})).then((function(t){if(null===t)throw c("before_send",e.type||"event"),new V("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession&&n.getSession();return!u&&o&&r._updateSessionFromEvent(o,t),r._sendEvent(t),t})).then(null,(function(e){if(e instanceof V)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new V("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+e)}))},e.prototype._process=function(e){var t=this;this._numProcessing+=1,e.then((function(e){return t._numProcessing-=1,e}),(function(e){return t._numProcessing-=1,e}))},e}();!function(){function e(e,t,n){void 0===t&&(t={}),this.dsn=e,this._dsnObject=J(e),this.metadata=t,this._tunnel=n}e.prototype.getDsn=function(){return this._dsnObject},e.prototype.forceEnvelope=function(){return!!this._tunnel},e.prototype.getBaseApiEndpoint=function(){return se(this._dsnObject)},e.prototype.getStoreEndpoint=function(){return ue(this._dsnObject)},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return de(this._dsnObject)},e.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return he(this._dsnObject,this._tunnel)}}();function ae(e,t,n){return{initDsn:e,metadata:t||{},dsn:J(e),tunnel:n}}function se(e){var t=e.protocol?e.protocol+":":"",n=e.port?":"+e.port:"";return t+"//"+e.host+n+(e.path?"/"+e.path:"")+"/api/"}function le(e,t){return""+se(e)+e.projectId+"/"+t+"/"}function ce(e){return(0,_._j)({sentry_key:e.publicKey,sentry_version:"7"})}function ue(e){return le(e,"store")}function de(e){return ue(e)+"?"+ce(e)}function he(e,t){return t||function(e){return le(e,"envelope")}(e)+"?"+ce(e)}function fe(e,t){return void 0===t&&(t=[]),[e,t]}function pe(e){var t=(0,a.CR)(e,2),n=t[0],r=t[1],o=JSON.stringify(n);return r.reduce((function(e,t){var n=(0,a.CR)(t,2),r=n[0],o=n[1],i=(0,l.pt)(o)?String(o):JSON.stringify(o);return e+"\n"+JSON.stringify(r)+"\n"+i}),o)}function me(e){if(e.metadata&&e.metadata.sdk){var t=e.metadata.sdk;return{name:t.name,version:t.version}}}function ge(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=(0,a.fl)(e.sdk.integrations||[],t.integrations||[]),e.sdk.packages=(0,a.fl)(e.sdk.packages||[],t.packages||[]),e):e}function ve(e,t){var n=me(t),r="aggregates"in e?"sessions":"session";return[fe((0,a.pi)((0,a.pi)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!t.tunnel&&{dsn:K(t.dsn)}),[[{type:r},e]]),r]}var ye=function(){function e(){}return e.prototype.sendEvent=function(e){return u({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},e.prototype.close=function(e){return u(!0)},e}(),be=function(){function e(e){this._options=e,this._options.dsn||ee&&y.kg.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype.eventFromException=function(e,t){throw new V("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,n){throw new V("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var t=function(e,t){var n=me(t),r=e.type||"event",o=(e.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return ge(e,t.metadata.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata,fe((0,a.pi)((0,a.pi)({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!t.tunnel&&{dsn:K(t.dsn)}),[[{type:r,sample_rates:[{id:i,rate:s}]},e]])}(e,ae(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(t).then(null,(function(e){ee&&y.kg.error("Error while sending event:",e)}))}else this._transport.sendEvent(e).then(null,(function(e){ee&&y.kg.error("Error while sending event:",e)}))},e.prototype.sendSession=function(e){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var t=ae(this._options.dsn,this._options._metadata,this._options.tunnel),n=(0,a.CR)(ve(e,t),1)[0];this._newTransport.send(n).then(null,(function(e){ee&&y.kg.error("Error while sending session:",e)}))}else this._transport.sendSession(e).then(null,(function(e){ee&&y.kg.error("Error while sending session:",e)}));else ee&&y.kg.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.getTransport=function(){return this._transport},e.prototype._setupTransport=function(){return new ye},e}(),we=n(4678),_e=n(8578),Se="?";function xe(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var Ce=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ke=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ze=[30,function(e){var t=Ce.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=ke.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=(0,a.CR)(De(t[1]||Se,t[2]),2),o=r[0];return xe(r[1],o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Ee=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Re=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Te=[50,function(e){var t,n=Ee.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Re.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var o=n[3],i=n[1]||Se;return i=(t=(0,a.CR)(De(i,o),2))[0],xe(o=t[1],i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],Ae=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Pe=[40,function(e){var t=Ae.exec(e);return t?xe(t[2],t[1]||Se,+t[3],t[4]?+t[4]:void 0):void 0}],Me=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Oe=[10,function(e){var t=Me.exec(e);return t?xe(t[2],t[3]||Se,+t[1]):void 0}],Le=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Ie=[20,function(e){var t=Le.exec(e);return t?xe(t[5],t[3]||t[4]||Se,+t[1],+t[2]):void 0}],De=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Se,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]};function Ne(e){var t=$e(e),n={type:e&&e.name,value:ze(e)};return t.length&&(n.stacktrace={frames:t}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function je(e){return{exception:{values:[Ne(e)]}}}function $e(e){var t=e.stacktrace||e.stack||"",n=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(Fe.test(e.message))return 1}return 0}(e);try{return(0,_e.pE)(Oe,Ie,Ze,Pe,Te)(t,n)}catch(r){}return[]}var Fe=/Minified React error #\d+;/i;function ze(e){var t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function We(e,t,n){var r=He(e,t&&t.syntheticException||void 0,n);return(0,v.EG)(r),r.level=s.z.Error,t&&t.event_id&&(r.event_id=t.event_id),u(r)}function Be(e,t,n,r){void 0===t&&(t=s.z.Info);var o=Ue(e,n&&n.syntheticException||void 0,r);return o.level=t,n&&n.event_id&&(o.event_id=n.event_id),u(o)}function He(e,t,n,r){var o;if((0,l.VW)(e)&&e.error)return je(e.error);if((0,l.TX)(e)||(0,l.fm)(e)){var i=e;if("stack"in e)o=je(e);else{var s=i.name||((0,l.TX)(i)?"DOMError":"DOMException"),c=i.message?s+": "+i.message:s;o=Ue(c,t,n),(0,v.Db)(o,c)}return"code"in i&&(o.tags=(0,a.pi)((0,a.pi)({},o.tags),{"DOMException.code":""+i.code})),o}return(0,l.VZ)(e)?je(e):(0,l.PO)(e)||(0,l.cO)(e)?(o=function(e,t,n){var r={exception:{values:[{type:(0,l.cO)(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,_.zf)(e)}]},extra:{__serialized__:(0,X.Qy)(e)}};if(t){var o=$e(t);o.length&&(r.stacktrace={frames:o})}return r}(e,t,r),(0,v.EG)(o,{synthetic:!0}),o):(o=Ue(e,t,n),(0,v.Db)(o,""+e,void 0),(0,v.EG)(o,{synthetic:!0}),o)}function Ue(e,t,n){var r={message:e};if(n&&t){var o=$e(t);o.length&&(r.stacktrace={frames:o})}return r}function Ve(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length0&&n(!1)}),e);t.forEach((function(e){u(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function Ge(e,t){return e[t]||e.all||0}function qe(e,t,n){return void 0===n&&(n=Date.now()),Ge(e,t)>n}function Ke(e,t,n){var r,o,i,s;void 0===n&&(n=Date.now());var l=(0,a.pi)({},e),c=t["x-sentry-rate-limits"],u=t["retry-after"];if(c)try{for(var d=(0,a.XA)(c.trim().split(",")),h=d.next();!h.done;h=d.next()){var f=h.value.split(":",2),p=parseInt(f[0],10),m=1e3*(isNaN(p)?60:p);if(f[1])try{for(var g=(i=void 0,(0,a.XA)(f[1].split(";"))),v=g.next();!v.done;v=g.next()){l[v.value]=n+m}}catch(y){i={error:y}}finally{try{v&&!v.done&&(s=g.return)&&s.call(g)}finally{if(i)throw i.error}}else l.all=n+m}}catch(b){r={error:b}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}else u&&(l.all=n+function(e,t){void 0===t&&(t=Date.now());var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?6e4:r-t}(u,n));return l}function Ye(e){return e>=200&&e<300?"success":429===e?"rate_limit":e>=400&&e<500?"invalid":e>=500?"failed":"unknown"}function Je(e,t,n){void 0===n&&(n=Ve(e.bufferSize||30));var r={};return{send:function(e){var o=function(e){var t=(0,a.CR)(e,2),n=(0,a.CR)(t[1],1);return(0,a.CR)(n[0],1)[0].type}(e),i="event"===o?"error":o,s={category:i,body:pe(e)};return qe(r,i)?d({status:"rate_limit",reason:Xe(r,i)}):n.add((function(){return t(s).then((function(e){var t=e.body,n=e.headers,o=e.reason,a=Ye(e.statusCode);return n&&(r=Ke(r,n)),"success"===a?u({status:a,reason:o}):d({status:a,reason:o||t||("rate_limit"===a?Xe(r,i):"Unknown transport error")})}))}))},flush:function(e){return n.drain(e)}}}function Xe(e,t){return"Too many "+t+" requests, backing off until: "+new Date(Ge(e,t)).toISOString()}var Qe,et="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tt=(0,f.R)();function nt(){if(Qe)return Qe;if((0,we.Du)(tt.fetch))return Qe=tt.fetch.bind(tt);var e=tt.document,t=tt.fetch;if(e&&"function"===typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(o){et&&y.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return Qe=t.bind(tt)}function rt(e,t){if("[object Navigator]"===Object.prototype.toString.call(tt&&tt.navigator)&&"function"===typeof tt.navigator.sendBeacon)return tt.navigator.sendBeacon.bind(tt.navigator)(e,t);if((0,we.Ak)()){var n=nt();n(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){console.error(e)}))}else;}function ot(e,t){return void 0===t&&(t=nt()),Je({bufferSize:e.bufferSize},(function(n){var r=(0,a.pi)({body:n.body,method:"POST",referrerPolicy:"origin"},e.requestOptions);return t(e.url,r).then((function(e){return e.text().then((function(t){return{body:t,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")},reason:e.statusText,statusCode:e.status}}))}))}))}function it(e){return"event"===e?"error":e}var at=(0,f.R)(),st=function(){function e(e){var t=this;this.options=e,this._buffer=Ve(30),this._rateLimits={},this._outcomes={},this._api=ae(e.dsn,e._metadata,e.tunnel),this.url=de(this._api.dsn),this.options.sendClientReports&&at.document&&at.document.addEventListener("visibilitychange",(function(){"hidden"===at.document.visibilityState&&t._flushOutcomes()}))}return e.prototype.sendEvent=function(e){return this._sendRequest(function(e,t){var n,r=me(t),o=e.type||"event",i="transaction"===o||!!t.tunnel,s=(e.sdkProcessingMetadata||{}).transactionSampling||{},l=s.method,c=s.rate;ge(e,t.metadata.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata;try{n=JSON.stringify(e)}catch(f){e.tags.JSONStringifyError=!0,e.extra.JSONStringifyError=f;try{n=JSON.stringify((0,X.Fv)(e))}catch(p){var u=p;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:u.message,stack:u.stack}})}}var d={body:n,type:o,url:i?he(t.dsn,t.tunnel):de(t.dsn)};if(i){var h=fe((0,a.pi)((0,a.pi)({event_id:e.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!t.tunnel&&{dsn:K(t.dsn)}),[[{type:o,sample_rates:[{id:l,rate:c}]},d.body]]);d.body=pe(h)}return d}(e,this._api),e)},e.prototype.sendSession=function(e){return this._sendRequest(function(e,t){var n=(0,a.CR)(ve(e,t),2),r=n[0],o=n[1];return{body:pe(r),type:o,url:he(t.dsn,t.tunnel)}}(e,this._api),e)},e.prototype.close=function(e){return this._buffer.drain(e)},e.prototype.recordLostEvent=function(e,t){var n;if(this.options.sendClientReports){var r=it(t)+":"+e;et&&y.kg.log("Adding outcome: "+r),this._outcomes[r]=(null!==(n=this._outcomes[r])&&void 0!==n?n:0)+1}},e.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var e=this._outcomes;if(this._outcomes={},Object.keys(e).length){et&&y.kg.log("Flushing outcomes:\n"+JSON.stringify(e,null,2));var t,n,r,o=he(this._api.dsn,this._api.tunnel),i=Object.keys(e).map((function(t){var n=(0,a.CR)(t.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:e[t]}})),s=(t=i,fe((n=this._api.tunnel&&K(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||(0,c.yW)(),discarded_events:t}]]));try{rt(o,pe(s))}catch(l){et&&y.kg.error(l)}}else et&&y.kg.log("No outcomes to flush")}},e.prototype._handleResponse=function(e){var t=e.requestType,n=e.response,r=e.headers,o=e.resolve,i=e.reject,a=Ye(n.status);this._rateLimits=Ke(this._rateLimits,r),this._isRateLimited(t)&&et&&y.kg.warn("Too many "+t+" requests, backing off until: "+this._disabledUntil(t)),"success"!==a?i(n):o({status:a})},e.prototype._disabledUntil=function(e){var t=it(e);return new Date(Ge(this._rateLimits,t))},e.prototype._isRateLimited=function(e){var t=it(e);return qe(this._rateLimits,t)},e}(),lt=function(e){function t(t,n){void 0===n&&(n=nt());var r=e.call(this,t)||this;return r._fetch=n,r}return(0,a.ZT)(t,e),t.prototype._sendRequest=function(e,t){var n=this;if(this._isRateLimited(e.type))return this.recordLostEvent("ratelimit_backoff",e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var r={body:e.body,method:"POST",referrerPolicy:(0,we.hv)()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new h((function(t,o){n._fetch(e.url,r).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:e.type,response:r,headers:i,resolve:t,reject:o})})).catch(o)}))})).then(void 0,(function(t){throw t instanceof V?n.recordLostEvent("queue_overflow",e.type):n.recordLostEvent("network_error",e.type),t}))},t}(st);function ct(e){return Je({bufferSize:e.bufferSize},(function(t){return new h((function(n,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var e={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};n(e)}},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}var ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.ZT)(t,e),t.prototype._sendRequest=function(e,t){var n=this;return this._isRateLimited(e.type)?(this.recordLostEvent("ratelimit_backoff",e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new h((function(t,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:e.type,response:o,headers:i,resolve:t,reject:r})}},o.open("POST",e.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(e.body)}))})).then(void 0,(function(t){throw t instanceof V?n.recordLostEvent("queue_overflow",e.type):n.recordLostEvent("network_error",e.type),t}))},t}(st),dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.ZT)(t,e),t.prototype.eventFromException=function(e,t){return We(e,t,this._options.attachStacktrace)},t.prototype.eventFromMessage=function(e,t,n){return void 0===t&&(t=s.z.Info),Be(e,t,n,this._options.attachStacktrace)},t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t=(0,a.pi)((0,a.pi)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),n=ae(t.dsn,t._metadata,t.tunnel),r=he(n.dsn,n.tunnel);if(this._options.transport)return new this._options.transport(t);if((0,we.Ak)()){var o=(0,a.pi)({},t.fetchParameters);return this._newTransport=ot({requestOptions:o,url:r}),new lt(t)}return this._newTransport=ct({url:r,headers:t.headers}),new ut(t)},t}(be),ht=(0,f.R)(),ft=0;function pt(){return ft>0}function mt(){ft+=1,setTimeout((function(){ft-=1}))}function gt(e,t,n){if(void 0===t&&(t={}),"function"!==typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if((0,_.HK)(e))return e}catch(s){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);var o=r.map((function(e){return gt(e,t)}));return e.apply(this,o)}catch(i){throw mt(),W((function(e){e.addEventProcessor((function(e){return t.mechanism&&((0,v.Db)(e,void 0,void 0),(0,v.EG)(e,t.mechanism)),e.extra=(0,a.pi)((0,a.pi)({},e.extra),{arguments:r}),e})),P(i)})),i}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(l){}(0,_.$Q)(o,e),(0,_.xp)(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return e.name}})}catch(l){}return o}function vt(e){if(void 0===e&&(e={}),ht.document)if(e.eventId)if(e.dsn){var t=ht.document.createElement("script");t.async=!0,t.src=function(e,t){var n=J(e),r=se(n)+"embed/error-page/",o="dsn="+K(n);for(var i in t)if("dsn"!==i)if("user"===i){if(!t.user)continue;t.user.name&&(o+="&name="+encodeURIComponent(t.user.name)),t.user.email&&(o+="&email="+encodeURIComponent(t.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(t[i]);return r+"?"+o}(e.dsn,e),e.onLoad&&(t.onload=e.onLoad);var n=ht.document.head||ht.document.body;n&&n.appendChild(t)}else et&&y.kg.error("Missing dsn option in showReportDialog call");else et&&y.kg.error("Missing eventId option in showReportDialog call")}var yt,bt=(0,f.R)(),wt={},_t={};function St(e){if(!_t[e])switch(_t[e]=!0,e){case"console":!function(){if(!("console"in bt))return;y.RU.forEach((function(e){e in bt.console&&(0,_.hl)(bt.console,e,(function(t){return function(){for(var n=[],r=0;r2?t[2]:void 0;if(r){var o=yt,i=String(r);yt=i,Ct("history",{from:o,to:i})}return e.apply(this,t)}}bt.onpopstate=function(){for(var t=[],n=0;n"}0!==n.length&&Z().addBreadcrumb({category:"ui."+t.name,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this._options.dom)),this._options.xhr&&xt("xhr",Dt),this._options.fetch&&xt("fetch",Nt),this._options.history&&xt("history",jt)},e.id="Breadcrumbs",e}();function It(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,Ot.E)(e.level),message:(0,Q.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+((0,Q.nK)(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}Z().addBreadcrumb(t,{input:e.args,level:e.level})}function Dt(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,o=t.status_code,i=t.body;Z().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}else;}function Nt(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?Z().addBreadcrumb({category:"fetch",data:e.fetchData,level:s.z.Error,type:"http"},{data:e.error,input:e.args}):Z().addBreadcrumb({category:"fetch",data:(0,a.pi)((0,a.pi)({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))}function jt(e){var t=(0,f.R)(),n=e.from,r=e.to,o=(0,v.en)(t.location.href),i=(0,v.en)(n),a=(0,v.en)(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Z().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var $t=function(e){function t(t){void 0===t&&(t={});return t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:H}],version:H},e.call(this,dt,t)||this}return(0,a.ZT)(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),(0,f.R)().document&&(this._isEnabled()?vt((0,a.pi)((0,a.pi)({},e),{dsn:e.dsn||this.getDsn()})):et&&y.kg.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,r){return t.platform=t.platform||"javascript",e.prototype._prepareEvent.call(this,t,n,r)},t.prototype._sendEvent=function(t){var n=this.getIntegration(Lt);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(ie);var Ft,zt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Wt=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n();if(r){var o=r.getIntegration(e);if(o){var i=r.getClient(),s=i?i.getOptions():{},l=function(e,t){void 0===e&&(e={});void 0===t&&(t={});return{allowUrls:(0,a.fl)(e.whitelistUrls||[],e.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:(0,a.fl)(e.blacklistUrls||[],e.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:(0,a.fl)(e.ignoreErrors||[],t.ignoreErrors||[],zt),ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(o._options,s);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return ee&&y.kg.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,v.jH)(e)),!0;if(function(e,t){if(!t||!t.length)return!1;return function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,o=t.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(a){return ee&&y.kg.error("Cannot extract message for event "+(0,v.jH)(e)),[]}return[]}(e).some((function(e){return t.some((function(t){return(0,Q.zC)(e,t)}))}))}(e,t.ignoreErrors))return ee&&y.kg.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,v.jH)(e)),!0;if(function(e,t){if(!t||!t.length)return!1;var n=Ht(e);return!!n&&t.some((function(e){return(0,Q.zC)(n,e)}))}(e,t.denyUrls))return ee&&y.kg.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,v.jH)(e)+".\nUrl: "+Ht(e)),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=Ht(e);return!n||t.some((function(e){return(0,Q.zC)(n,e)}))}(e,t.allowUrls))return ee&&y.kg.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,v.jH)(e)+".\nUrl: "+Ht(e)),!0;return!1}(t,l)?null:t}}return t}))},e.id="InboundFilters",e}();function Bt(e){void 0===e&&(e=[]);for(var t=e.length-1;t>=0;t--){var n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function Ht(e){try{if(e.stacktrace)return Bt(e.stacktrace.frames);var t;try{t=e.exception.values[0].stacktrace.frames}catch(n){}return t?Bt(t):null}catch(r){return ee&&y.kg.error("Cannot extract url for event "+(0,v.jH)(e)),null}}var Ut=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){Ft=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t0?t:(0,Mt.l)();return 0===c.length&&c.push({colno:u,filename:h,function:"?",in_app:!0,lineno:d}),e}function nn(e,t,n,r){(0,v.EG)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function rn(){var e=Z(),t=e.getClient();return[e,t&&t.getOptions().attachStacktrace]}var on=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){g((function(t,n){var r=Z().getIntegration(e);return r?function(e,t,n,r){if(!n.exception||!n.exception.values||!r||!(0,l.V9)(r.originalException,Error))return n;var o=an(t,r.originalException,e);return n.exception.values=(0,a.fl)(o,n.exception.values),n}(r._key,r._limit,t,n):t}))},e.id="LinkedErrors",e}();function an(e,t,n,r){if(void 0===r&&(r=[]),!(0,l.V9)(t[n],Error)||r.length+1>=e)return r;var o=Ne(t[n]);return an(e,t[n],n,(0,a.fl)([o],r))}var sn=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);if(r){try{if(function(e,t){if(!t)return!1;if(function(e,t){var n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!cn(e,t))return!1;if(!ln(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=un(t),r=un(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!cn(e,t))return!1;if(!ln(e,t))return!1;return!0}(e,t))return!0;return!1}(t,r._previousEvent))return et&&y.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(o){return r._previousEvent=t}return r._previousEvent=t}return t}))},e.id="Dedupe",e}();function ln(e,t){var n=dn(e),r=dn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var o=0;o=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var P=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function M(e){var t=P.exec(e);return t?t.slice(1):[]}function O(){for(var e=[],t=0;t=-1&&!r;o--){var i=o>=0?e[o]:"/";i&&(n=i+"/"+n,r="/"===i.charAt(0))}return(r?"/":"")+(n=A(n.split("/").filter((function(e){return!!e})),!r).join("/"))||"."}function L(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function I(e,t){var n=M(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}var D=function(){function e(t){var n=this;void 0===t&&(t={}),this.name=e.id,this._prefix="app:///",this._iteratee=function(e){if(!e.filename)return e;var t=/^[A-Z]:\\/.test(e.filename),r=/^\//.test(e.filename);if(t||r){var o=t?e.filename.replace(/^[A-Z]:/,"").replace(/\\/g,"/"):e.filename,i=n._root?function(e,t){e=O(e).substr(1),t=O(t).substr(1);for(var n=L(e.split("/")),r=L(t.split("/")),o=Math.min(n.length,r.length),i=o,a=0;a=0;n--){var r=t[n];if(!0===r.in_app){e.transaction=this._getTransaction(r);break}}return e},e.prototype._getFramesFromEvent=function(e){var t=e.exception&&e.exception.values&&e.exception.values[0];return t&&t.stacktrace&&t.stacktrace.frames||[]},e.prototype._getTransaction=function(e){return e.module||e.function?(e.module||"?")+"/"+(e.function||"?"):""},e.id="Transaction",e}(),$=n(9846),F={id:"Tracing"},z={id:"BrowserTracing"},W="ui.vue",B={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]},H=/(?:^|[-_/])(\w)/g,U="root",V="anonymous component",G=function(){function e(t){var n=this;this.name=e.id,this._componentsCache={},this._applyTracingHooks=function(e,t){if(!e.$options.$_sentryPerfHook){e.$options.$_sentryPerfHook=!0;var i=n._getComponentName(e),s=i===U,l={},c=function(r){var o=(0,$._I)();n._rootSpan?n._finishRootSpan(o,t):e.$once("hook:"+r,(function(){var e=t().getIntegration(F);if(e){n._tracingActivity=e.constructor.pushActivity("Vue Application Render");var r=e.constructor.getTransaction();r&&(n._rootSpan=r.startChild({description:"Application Render",op:W}))}else{var o=function(e){if(e&&e.getScope){var t=e.getScope();if(t)return t.getTransaction()}return}(t());o&&(n._rootSpan=o.startChild({description:"Application Render",op:W}))}}))},u=function(r,o){var a=Array.isArray(n._options.tracingOptions.trackComponents)?n._options.tracingOptions.trackComponents.indexOf(i)>-1:n._options.tracingOptions.trackComponents;if(n._rootSpan&&a){var s=(0,$._I)(),c=l[o];c?(c.finish(),n._finishRootSpan(s,t)):e.$once("hook:"+r,(function(){n._rootSpan&&(l[o]=n._rootSpan.startChild({description:"Vue <"+i+">",op:"ui.vue."+o}))}))}};n._options.tracingOptions.hooks.forEach((function(t){var i=B[t];i?i.forEach((function(o){var i=s?c.bind(n,o):u.bind(n,o,t),a=e.$options[o];Array.isArray(a)?e.$options[o]=(0,r.fl)([i],a):e.$options[o]="function"===typeof a?[i,a]:[i]})):a&&o.kg.warn("Unknown hook: "+t)}))}},a&&o.kg.log("You are still using the Vue.js integration, consider moving to @sentry/vue"),this._options=(0,r.pi)((0,r.pi)({Vue:(0,i.R)().Vue,attachProps:!0,logErrors:!1,tracing:!1},t),{tracingOptions:(0,r.pi)({hooks:["mount","update"],timeout:2e3,trackComponents:!1},t.tracingOptions)})}return e.prototype.setupOnce=function(e,t){this._options.Vue?(this._attachErrorHandler(t),this._options.tracing&&this._startTracing(t)):a&&o.kg.error("Vue integration is missing a Vue instance")},e.prototype._getComponentName=function(e){if(!e)return V;if(e.$root===e)return U;if(!e.$options)return V;if(e.$options.name)return e.$options.name;if(e.$options._componentTag)return e.$options._componentTag;if(e.$options.__file){var t=I(e.$options.__file.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),".vue");return this._componentsCache[t]||(this._componentsCache[t]=t.replace(H,(function(e,t){return t?t.toUpperCase():""})))}return V},e.prototype._finishRootSpan=function(e,t){var n=this;this._rootSpanTimer&&clearTimeout(this._rootSpanTimer),this._rootSpanTimer=setTimeout((function(){if(n._tracingActivity){var r=t().getIntegration(F);r&&r.constructor.popActivity(n._tracingActivity)}n._rootSpan&&n._rootSpan.finish(e)}),this._options.tracingOptions.timeout)},e.prototype._startTracing=function(e){var t=this._applyTracingHooks;this._options.Vue.mixin({beforeCreate:function(){e().getIntegration(F)||e().getIntegration(z)?t(this,e):a&&o.kg.error("Vue integration has tracing enabled, but Tracing integration is not configured")}})},e.prototype._attachErrorHandler=function(t){var n=this,r=this._options.Vue.config.errorHandler;this._options.Vue.config.errorHandler=function(i,s,l){var c={};if(s)try{c.componentName=n._getComponentName(s),n._options.attachProps&&(c.propsData=s.$options.propsData)}catch(u){a&&o.kg.warn("Unable to extract metadata from Vue component.")}l&&(c.lifecycleHook=l),t().getIntegration(e)&&setTimeout((function(){t().withScope((function(e){e.setContext("vue",c),t().captureException(i)}))})),"function"===typeof r&&r.call(n._options.Vue,i,s,l),n._options.logErrors&&(n._options.Vue.util&&n._options.Vue.util.warn("Error in "+l+': "'+(i&&i.toString())+'"',s),console.error(i))}},e.id="Vue",e}()},1121:function(e,t,n){"use strict";var r;n.d(t,{z:function(){return r}}),function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(r||(r={}))},4044:function(e,t,n){"use strict";n.d(t,{R:function(){return i},l:function(){return s}});var r=n(2968),o=n(8805);function i(e,t){try{for(var n=e,r=[],o=0,i=0,s=" > ".length,l=void 0;n&&o++<5&&!("html"===(l=a(n,t))||o>1&&i+r.length*s+l.length>=80);)r.push(l),i+=l.length,n=n.parentNode;return r.reverse().join(" > ")}catch(c){return""}}function a(e,t){var n,r,i,a,s,l=e,c=[];if(!l||!l.tagName)return"";c.push(l.tagName.toLowerCase());var u=t&&t.length?t.filter((function(e){return l.getAttribute(e)})).map((function(e){return[e,l.getAttribute(e)]})):null;if(u&&u.length)u.forEach((function(e){c.push("["+e[0]+'="'+e[1]+'"]')}));else if(l.id&&c.push("#"+l.id),(n=l.className)&&(0,o.HD)(n))for(r=n.split(/\s+/),s=0;s":n||""}function u(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function d(e,t){var n=l(e);if(n){var o=n.mechanism;if(n.mechanism=(0,r.pi)((0,r.pi)((0,r.pi)({},{type:"generic",handled:!0}),o),t),t&&"data"in t){var i=(0,r.pi)((0,r.pi)({},o&&o.data),t.data);n.mechanism.data=i}}}function h(e){if(e&&e.__sentry_captured__)return!0;try{(0,i.xp)(e,"__sentry_captured__",!0)}catch(t){}return!1}},9509:function(e,t,n){"use strict";function r(){return!("undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function o(e,t){return e.require(t)}n.d(t,{l$:function(){return o},KV:function(){return r}}),e=n.hmd(e)},3849:function(e,t,n){"use strict";n.d(t,{Fv:function(){return s},Qy:function(){return l}});var r=n(9388),o=n(8805);var i=n(5256),a=n(8578);function s(e,t,n){void 0===t&&(t=1/0),void 0===n&&(n=1/0);try{return c("",e,t,n)}catch(r){return{ERROR:"**non-serializable** ("+r+")"}}}function l(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r,o=s(e,t);return r=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?l(e,t-1,n):o}function c(e,t,s,l,u){void 0===s&&(s=1/0),void 0===l&&(l=1/0),void 0===u&&(u=function(){var e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(var r=0;r=l){g[b]="[MaxProperties ~]";break}var w=y[b];g[b]=c(b,w,s-1,l,u),v+=1}return f(t),g}},5256:function(e,t,n){"use strict";n.d(t,{$Q:function(){return c},HK:function(){return u},Jr:function(){return g},Sh:function(){return h},_j:function(){return d},hl:function(){return s},xp:function(){return l},zf:function(){return m}});var r=n(9388),o=n(4044),i=n(8805),a=n(7050);function s(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"===typeof o)try{c(o,r)}catch(i){}e[t]=o}}function l(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function c(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}function u(e){return e.__sentry_original__}function d(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function h(e){var t=e;if((0,i.VZ)(e))t=(0,r.pi)({message:e.message,name:e.name,stack:e.stack},p(e));else if((0,i.cO)(e)){var n=e;t=(0,r.pi)({type:n.type,target:f(n.target),currentTarget:f(n.currentTarget)},p(n)),"undefined"!==typeof CustomEvent&&(0,i.V9)(e,CustomEvent)&&(t.detail=n.detail)}return t}function f(e){try{return(0,i.kK)(e)?(0,o.R)(e):Object.prototype.toString.call(e)}catch(t){return""}}function p(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function m(e,t){void 0===t&&(t=40);var n=Object.keys(h(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.$G)(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:(0,a.$G)(o,t)}return""}function g(e){var t,n;if((0,i.PO)(e)){var o={};try{for(var a=(0,r.XA)(Object.keys(e)),s=a.next();!s.done;s=a.next()){var l=s.value;"undefined"!==typeof e[l]&&(o[l]=g(e[l]))}}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o}return Array.isArray(e)?e.map(g):e}},3724:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(1121),o=["fatal","error","warning","log","info","debug","critical"];function i(e){return"warn"===e?r.z.Warning:function(e){return-1!==o.indexOf(e)}(e)?e:r.z.Log}},8578:function(e,t,n){"use strict";n.d(t,{$P:function(){return s},pE:function(){return o}});var r=n(9388);function o(){for(var e=[],t=0;t=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=i.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,t.isEdge=parseFloat(i.split(" Edge/")[1])||void 0,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isAndroid=i.indexOf("Android")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var r,o=e("./useragent");t.buildDom=function e(t,n,r){if("string"==typeof t&&t){var o=document.createTextNode(t);return n&&n.appendChild(o),o}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var i=[],a=0;a=1.5,o.isChromeOS&&(t.HI_DPI=!1),"undefined"!==typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),o.isEdge||"undefined"===typeof l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./oop"),o=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return r.mixin(n,n.MODIFIER_KEYS),r.mixin(n,n.PRINTABLE_KEYS),r.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter((function(e){return t&n.KEY_MODS[e]})).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();r.mixin(t,o),t.keyCodeToString=function(e){var t=o[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var r,o=e("./keys"),i=e("./useragent"),a=null,s=0;function l(){return void 0==r&&function(){r=!1;try{document.createComment("").addEventListener("test",(function(){}),{get passive(){r={passive:!1}}})}catch(e){}}(),r}function c(e,t,n){this.elem=e,this.type=t,this.callback=n}c.prototype.destroy=function(){d(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var u=t.addListener=function(e,t,n,r){e.addEventListener(t,n,l()),r&&r.$toDestroy.push(new c(e,t,n))},d=t.removeListener=function(e,t,n){e.removeEventListener(t,n,l())};t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation&&e.stopPropagation()},t.preventDefault=function(e){e.preventDefault&&e.preventDefault()},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||i.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.button},t.capture=function(e,t,n){var r=e&&e.ownerDocument||document;function o(e){t&&t(e),n&&n(e),d(r,"mousemove",t),d(r,"mouseup",o),d(r,"dragstart",o)}return u(r,"mousemove",t),u(r,"mouseup",o),u(r,"dragstart",o),o},t.addMouseWheelListener=function(e,t,n){"onmousewheel"in e?u(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),t(e)}),n):"onwheel"in e?u(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}t(e)}),n):u(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),t(e)}),n)},t.addMultiMouseDownListener=function(e,n,r,o,a){var s,l,c,d=0,h={2:"dblclick",3:"tripleclick",4:"quadclick"};function f(e){if(0!==t.getButton(e)?d=0:e.detail>1?++d>4&&(d=1):d=1,i.isIE){var a=Math.abs(e.clientX-s)>5||Math.abs(e.clientY-l)>5;c&&!a||(d=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[d-1]||600),1==d&&(s=e.clientX,l=e.clientY)}if(e._clicks=d,r[o]("mousedown",e),d>4)d=0;else if(d>1)return r[o](h[d],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",f,a)}))};var h=function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function f(e,t,n){var r=h(t);if(!i.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(r|=8),a.altGr){if(3==(3&r))return;a.altGr=0}if(18===n||17===n){var l="location"in t?t.location:t.keyLocation;if(17===n&&1===l)1==a[n]&&(s=t.timeStamp);else if(18===n&&3===r&&2===l){t.timeStamp-s<50&&(a.altGr=!0)}}}if((n in o.MODIFIER_KEYS&&(n=-1),!r&&13===n)&&(3===(l="location"in t?t.location:t.keyLocation)&&(e(t,r,-n),t.defaultPrevented)))return;if(i.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,r,n)}function p(){a=Object.create(null)}if(t.getModifierString=function(e){return o.KEY_MODS[h(e)]},t.addCommandKeyListener=function(e,n,r){if(i.isOldGecko||i.isOpera&&!("KeyboardEvent"in window)){var o=null;u(e,"keydown",(function(e){o=e.keyCode}),r),u(e,"keypress",(function(e){return f(n,e,o)}),r)}else{var s=null;u(e,"keydown",(function(e){a[e.keyCode]=(a[e.keyCode]||0)+1;var t=f(n,e,e.keyCode);return s=e.defaultPrevented,t}),r),u(e,"keypress",(function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)}),r),u(e,"keyup",(function(e){a[e.keyCode]=null}),r),a||(p(),u(window,"focus",p))}},"object"==typeof window&&window.postMessage&&!i.isOldIE){var m=1;t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-"+m++;u(n,"message",(function o(i){i.data==r&&(t.stopPropagation(i),d(n,"message",o),e())})),n.postMessage(r,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/range",["require","exports","module"],(function(e,t,n){"use strict";var r=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.rowt)var o={row:t+1,column:0};else if(this.start.row0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var r=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;nDate.now()-50)||(r=!1)},cancel:function(){r=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,n){"use strict";var r=e("../lib/event"),o=e("../lib/useragent"),i=e("../lib/dom"),a=e("../lib/lang"),s=e("../clipboard"),l=o.isChrome<18,c=o.isIE,u=o.isChrome>63,d=400,h=e("../lib/keys"),f=h.KEY_MODS,p=o.isIOS,m=p?/\s/:/\n/,g=o.isMobile;t.TextInput=function(e,t){var n=i.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var v=!1,y=!1,b=!1,w=!1,_="";g||(n.style.fontSize="1px");var S=!1,x=!1,C="",k=0,Z=0,E=0;try{var R=document.activeElement===n}catch(V){}r.addListener(n,"blur",(function(e){x||(t.onBlur(e),R=!1)}),t),r.addListener(n,"focus",(function(e){if(!x){if(R=!0,o.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),o.isEdge?setTimeout(T):T()}}),t),this.$focusScroll=!1,this.focus=function(){if(_||u||"browser"==this.$focusScroll)return n.focus({preventScroll:!0});var e=n.style.top;n.style.position="fixed",n.style.top="0px";try{var t=0!=n.getBoundingClientRect().top}catch(V){return}var r=[];if(t)for(var o=n.parentElement;o&&1==o.nodeType;)r.push(o),o.setAttribute("ace_nocontext",!0),o=!o.parentElement&&o.getRootNode?o.getRootNode().host:o.parentElement;n.focus({preventScroll:!0}),t&&r.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return R},t.on("beforeEndOperation",(function(){var e=t.curOp,r=e&&e.command&&e.command.name;if("insertstring"!=r){var o=r&&(e.docChanged||e.selectionChanged);b&&o&&(C=n.value="",F()),T()}}));var T=p?function(e){if(R&&(!v||e)&&!w){e||(e="");var r="\n ab"+e+"cde fg\n";r!=n.value&&(n.value=C=r);var o=4+(e.length||(t.selection.isEmpty()?0:1));4==k&&Z==o||n.setSelectionRange(4,o),k=4,Z=o}}:function(){if(!b&&!w&&(R||P)){b=!0;var e=0,r=0,o="";if(t.session){var i=t.selection,a=i.getRange(),s=i.cursor.row;if(e=a.start.column,r=a.end.column,o=t.session.getLine(s),a.start.row!=s){var l=t.session.getLine(s-1);e=a.start.rows+1?c.length:r,r+=o.length+1,o=o+"\n"+c}else g&&s>0&&(o="\n"+o,r+=1,e+=1);o.length>d&&(e0&&C[h]==e[h];)h++,s--;for(c=c.slice(h),h=1;l>0&&C.length-h>k-1&&C[C.length-h]==e[e.length-h];)h++,l--;u-=h-1,d-=h-1;var f=c.length-h+1;if(f<0&&(s=-f,f=0),c=c.slice(0,f),!r&&!c&&!u&&!s&&!l&&!d)return"";w=!0;var p=!1;return o.isAndroid&&". "==c&&(c=" ",p=!0),c&&!s&&!l&&!u&&!d||S?t.onTextInput(c):t.onTextInput(c,{extendLeft:s,extendRight:l,restoreStart:u,restoreEnd:d}),w=!1,C=e,k=i,Z=a,E=d,p?"\n":c},O=function(e){if(b)return $();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var r=n.value,o=M(r,!0);(r.length>500||m.test(o)||g&&k<1&&k==Z)&&T()},L=function e(t,n,r){var o=t.clipboardData||window.clipboardData;if(o&&!l){var i=c||r?"Text":"text/plain";try{return n?!1!==o.setData(i,n):o.getData(i)}catch(t){if(!r)return e(t,n,!0)}}},I=function(e,o){var i=t.getCopyText();if(!i)return r.preventDefault(e);L(e,i)?(p&&(T(i),v=i,setTimeout((function(){v=!1}),10)),o?t.onCut():t.onCopy(),r.preventDefault(e)):(v=!0,n.value=i,n.select(),setTimeout((function(){v=!1,T(),o?t.onCut():t.onCopy()})))},D=function(e){I(e,!0)},N=function(e){I(e,!1)},j=function(e){var i=L(e);s.pasteCancelled()||("string"==typeof i?(i&&t.onPaste(i,e),o.isIE&&setTimeout(T),r.preventDefault(e)):(n.value="",y=!0))};r.addCommandKeyListener(n,t.onCommandKey.bind(t),t),r.addListener(n,"select",(function(e){b||(v?v=!1:!function(e){return 0===e.selectionStart&&e.selectionEnd>=C.length&&e.value===C&&C&&e.selectionEnd!==Z}(n)?g&&n.selectionStart!=k&&T():(t.selectAll(),T()))}),t),r.addListener(n,"input",O,t),r.addListener(n,"cut",D,t),r.addListener(n,"copy",N,t),r.addListener(n,"paste",j,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.addListener(e,"keydown",(function(e){if((!o.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:N(e);break;case 86:j(e);break;case 88:D(e)}}),t);var $=function(){if(b&&t.onCompositionUpdate&&!t.$readOnly){if(S)return z();if(b.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;M(e),b.markerRange&&(b.context&&(b.markerRange.start.column=b.selectionStart=b.context.compositionStartOffset),b.markerRange.end.column=b.markerRange.start.column+Z-b.selectionStart+E)}}},F=function(e){t.onCompositionEnd&&!t.$readOnly&&(b=!1,t.onCompositionEnd(),t.off("mousedown",z),e&&O())};function z(){x=!0,n.blur(),n.focus(),x=!1}var W,B=a.delayedCall($,50).schedule.bind(null,null);function H(){clearTimeout(W),W=setTimeout((function(){_&&(n.style.cssText=_,_=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}r.addListener(n,"compositionstart",(function(e){if(!b&&t.onCompositionStart&&!t.$readOnly&&(b={},!S)){e.data&&(b.useTextareaForIME=!1),setTimeout($,0),t._signal("compositionStart"),t.on("mousedown",z);var r=t.getSelectionRange();r.end.row=r.start.row,r.end.column=r.start.column,b.markerRange=r,b.selectionStart=k,t.onCompositionStart(b),b.useTextareaForIME?(C=n.value="",k=0,Z=0):(n.msGetInputContext&&(b.context=n.msGetInputContext()),n.getInputContext&&(b.context=n.getInputContext()))}}),t),r.addListener(n,"compositionupdate",$,t),r.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthZ&&"\n"==C[i]?a=h.end:rZ&&C.slice(0,i).split("\n").length>2?a=h.down:i>Z&&" "==C[i-1]?(a=h.right,s=f.option):(i>Z||i==Z&&Z!=k&&r==i)&&(a=h.right),r!==i&&(s|=f.shift),a){if(!t.onCommandKey({},s,a)&&t.commands){a=h.keyCodeToString(a);var l=t.commands.findKeyCommand(s,a);l&&t.execCommand(l)}k=r,Z=i,T("")}}};document.addEventListener("selectionchange",i),t.on("destroy",(function(){document.removeEventListener("selectionchange",i)}))}(0,t,n)},t.$setUserAgentForTests=function(e,t){g=e,p=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/useragent");function o(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function i(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else var n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var o=this.editor,i=e.getButton();return 0!==i?((o.getSelectionRange().isEmpty()||1==i)&&o.selection.moveToPosition(n),void(2==i&&(o.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||o.isFocused()||(o.focus(),!this.$focusTimeout||this.$clickSelection||o.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"))},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var o=i(this.$clickSelection,n);n=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),o=n.selection[e](r.row,r.column);if(this.$clickSelection){var a=this.$clickSelection.comparePoint(o.start),s=this.$clickSelection.comparePoint(o.end);if(-1==a&&s<=0)t=this.$clickSelection.end,o.end.row==r.row&&o.end.column==r.column||(r=o.start);else if(1==s&&a>=0)t=this.$clickSelection.start,o.start.row==r.row&&o.start.column==r.column||(r=o.end);else if(-1==a&&1==s)r=o.end,t=o.start;else{var l=i(this.$clickSelection,r);r=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,n,r,o=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,r=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))),i=Date.now();(o>0||i-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,r=e.domEvent.timeStamp,o=r-n.t,i=o?e.wheelX/o:n.vx,a=o?e.wheelY/o:n.vy;o<550&&(i=(i+n.vx)/2,a=(a+n.vy)/2);var s=Math.abs(i/a),l=!1;if(s>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),s<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l)n.allowed=r;else if(r-n.allowed<550){Math.abs(i)<=1.5*Math.abs(n.vx)&&Math.abs(a)<=1.5*Math.abs(n.vy)?(l=!0,n.allowed=r):n.allowed=0}return n.t=r,n.vx=i,n.vy=a,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}}}).call(o.prototype),t.DefaultHandlers=o})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function o(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){this.getElement().textContent=e},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(o.prototype),t.Tooltip=o})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,n){"use strict";var r=e("../lib/dom"),o=e("../lib/oop"),i=e("../lib/event"),a=e("../tooltip").Tooltip;function s(e){a.call(this,e)}o.inherits(s,a),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),i=this.getHeight();(e+=15)+o>n&&(e-=e+o-n),(t+=15)+i>r&&(t-=20+i),a.prototype.setPosition.call(this,e,t)}}.call(s.prototype),t.GutterHandler=function(e){var t,n,o,a=e.editor,l=a.renderer.$gutterLayer,c=new s(a.container);function u(){t&&(t=clearTimeout(t)),o&&(c.hide(),o=null,a._signal("hideGutterTooltip",c),a.off("mousewheel",u))}function d(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(a.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var n=t.getDocumentPosition().row,r=a.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(i){var s=i.domEvent.target||i.domEvent.srcElement;if(r.hasCssClass(s,"ace_fold-widget"))return u();o&&e.$tooltipFollowsMouse&&d(i),n=i,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,r=l.$annotations[t];if(!r)return u();if(t==a.session.getLength()){var i=a.renderer.pixelToScreenCoordinates(0,n.y).row,s=n.$pos;if(i>a.session.documentToScreenRow(s.row,s.column))return u()}if(o!=r)if(o=r.text.join("
"),c.setHtml(o),c.show(),a._signal("showGutterTooltip",c),a.on("mousewheel",u),e.$tooltipFollowsMouse)d(n);else{var h=n.domEvent.target.getBoundingClientRect(),f=c.getElement().style;f.left=h.right+"px",f.top=h.bottom+"px"}}():u()}),50))})),i.addListener(a.renderer.$gutter,"mouseout",(function(e){n=null,o&&!t&&(t=setTimeout((function(){t=null,u()}),50))}),a),a.on("changeSession",u)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/event"),o=e("../lib/useragent"),i=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=o.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(i.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/dom"),o=e("../lib/event"),i=e("../lib/useragent");function a(e){var t=e.editor,n=r.createElement("div");n.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",n.textContent="\xa0";["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.on("mousedown",this.onMouseDown.bind(e));var a,l,c,u,d,h,f,p,m,g,v,y=t.container,b=0;function w(){var e=h;(function(e,n){var r=Date.now(),o=!n||e.row!=n.row,i=!n||e.column!=n.column;!g||o||i?(t.moveCursorToPosition(e),g=r,v={x:l,y:c}):s(v.x,v.y,l,c)>5?g=null:r-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(h=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var r=Date.now(),o=t.renderer.layerConfig.lineHeight,i=t.renderer.layerConfig.characterWidth,a=t.renderer.scroller.getBoundingClientRect(),s={x:{left:l-a.left,right:a.right-l},y:{top:c-a.top,bottom:a.bottom-c}},u=Math.min(s.x.left,s.x.right),d=Math.min(s.y.top,s.y.bottom),h={row:e.row,column:e.column};u/i<=2&&(h.column+=s.x.left=200&&t.renderer.scrollCursorIntoView(h):m=r:m=null}(h,e)}function _(){d=t.selection.toOrientedRange(),a=t.session.addMarker(d,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),b=0,o.addListener(document,"mousemove",C)}function S(){clearInterval(u),t.session.removeMarker(a),a=null,t.selection.fromOrientedRange(d),t.isFocused()&&!p&&t.$resetCursorStyle(),d=null,h=null,b=0,m=null,g=null,o.removeListener(document,"mousemove",C)}this.onDragStart=function(e){if(this.cancelDrag||!y.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(e)}),0),e.preventDefault()}d=t.getSelectionRange();var o=e.dataTransfer;o.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),o.setDragImage&&o.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),o.clearData(),o.setData("Text",t.session.getTextRange()),p=!0,this.setState("drag")},this.onDragEnd=function(e){if(y.draggable=!1,p=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;f||"move"!=n||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&k(e.dataTransfer))return l=e.clientX,c=e.clientY,a||_(),b++,e.dataTransfer.dropEffect=f=Z(e),o.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&k(e.dataTransfer))return l=e.clientX,c=e.clientY,a||(_(),b++),null!==x&&(x=null),e.dataTransfer.dropEffect=f=Z(e),o.preventDefault(e)},this.onDragLeave=function(e){if(--b<=0&&a)return S(),f=null,o.preventDefault(e)},this.onDrop=function(e){if(h){var n=e.dataTransfer;if(p)switch(f){case"move":d=d.contains(h.row,h.column)?{start:h,end:h}:t.moveText(d,h);break;case"copy":d=t.moveText(d,h,!0)}else{var r=n.getData("Text");d={start:h,end:t.session.insert(h,r)},t.focus(),f=null}return S(),o.preventDefault(e)}},o.addListener(y,"dragstart",this.onDragStart.bind(e),t),o.addListener(y,"dragend",this.onDragEnd.bind(e),t),o.addListener(y,"dragenter",this.onDragEnter.bind(e),t),o.addListener(y,"dragover",this.onDragOver.bind(e),t),o.addListener(y,"dragleave",this.onDragLeave.bind(e),t),o.addListener(y,"drop",this.onDrop.bind(e),t);var x=null;function C(){null==x&&(x=setTimeout((function(){null!=x&&a&&S()}),20))}function k(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function Z(e){var t=["copy","copymove","all","uninitialized"],n=i.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return n&&t.indexOf(r)>=0?o="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?o="move":t.indexOf(r)>=0&&(o="copy"),o}}function s(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=i.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;i.isIE&&"dragReady"==this.state&&(s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop());"dragWait"===this.state&&(s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition())))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in o&&(o.unselectable="on"),t.getDragDelay()){if(i.isWebKit)this.cancelDrag=!0,t.container.draggable=!0;this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(a.prototype),t.DragdropHandler=a})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./mouse_event").MouseEvent,o=e("../lib/event"),i=e("../lib/dom");t.addTouchListeners=function(e,t){var n,a,s,l,c,u,d,h,f,p="scroll",m=0,g=0,v=0,y=0;function b(){var e=window.navigator&&window.navigator.clipboard,n=!1,r=function(r){var o=r.target.getAttribute("action");if("more"==o||!n)return n=!n,function(){var r=t.getCopyText(),o=t.session.getUndoManager().hasUndo();f.replaceChild(i.buildDom(n?["span",!r&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],r&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],r&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],o&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Pallete"]]:["span"]),f.firstChild)}();"paste"==o?e.readText().then((function(e){t.execCommand(o,e)})):o&&("cut"!=o&&"copy"!=o||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(o)),f.firstChild.style.display="none",n=!1,"openCommandPallete"!=o&&t.focus()};f=i.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){p="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),r(e)},onclick:r},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function w(){f||b();var e=t.selection.cursor,n=t.renderer.textToScreenCoordinates(e.row,e.column),r=t.renderer.textToScreenCoordinates(0,0).pageX,o=t.renderer.scrollLeft,i=t.container.getBoundingClientRect();f.style.top=n.pageY-i.top-3+"px",n.pageX-i.left1)return clearTimeout(c),c=null,s=-1,void(p="zoom");h=t.$mouseHandler.isMousePressed=!0;var i=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,f=e.timeStamp;l=f;var b=o[0],w=b.clientX,_=b.clientY;Math.abs(n-w)+Math.abs(a-_)>i&&(s=-1),n=e.clientX=w,a=e.clientY=_,v=y=0;var x=new r(e,t);if(d=x.getDocumentPosition(),f-s<500&&1==o.length&&!m)g++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(d);var e=g>=2?t.selection.getLineRange(d.row):t.session.getBracketRange(d);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),p="wait"}();else{g=0;var C=t.selection.cursor,k=t.selection.isEmpty()?C:t.selection.anchor,Z=t.renderer.$cursorLayer.getPixelPosition(C,!0),E=t.renderer.$cursorLayer.getPixelPosition(k,!0),R=t.renderer.scroller.getBoundingClientRect(),T=t.renderer.layerConfig.offset,A=t.renderer.scrollLeft,P=function(e,t){return(e/=u)*e+(t=t/i-.75)*t};if(e.clientXO?"cursor":"anchor"),p=O<3.5?"anchor":M<3.5?"cursor":"scroll",c=setTimeout(S,450)}s=f}),t),o.addListener(e,"touchend",(function(e){h=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==p?(p="",m=0):c?(t.selection.moveToPosition(d),m=0,w()):"scroll"==p?(m+=60,u=setInterval((function(){m--<=0&&(clearInterval(u),u=null),Math.abs(v)<.01&&(v=0),Math.abs(y)<.01&&(y=0),m<20&&(v*=.9),m<20&&(y*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*v,10*y),e==t.session.getScrollTop()&&(m=0)}),10),_()):w(),clearTimeout(c),c=null}),t),o.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var o=e.touches;if(!(o.length>1||"zoom"==p)){var i=o[0],s=n-i.clientX,u=a-i.clientY;if("wait"==p){if(!(s*s+u*u>4))return e.preventDefault();p="cursor"}n=i.clientX,a=i.clientY,e.clientX=i.clientX,e.clientY=i.clientY;var d=e.timeStamp,h=d-l;if(l=d,"scroll"==p){var f=new r(e,t);f.speed=1,f.wheelX=s,f.wheelY=u,10*Math.abs(s)1&&(o=n[n.length-2]);var a=c[t+"Path"];return null==a?a=c.basePath:"/"==r&&(t=r=""),a&&"/"!=a.slice(-1)&&(a+="/"),a+t+r+o+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var o,a;Array.isArray(n)&&(a=n[0],n=n[1]);try{o=e(n)}catch(l){}if(o&&!t.$loading[n])return r&&r(o);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var s=function(){e([n],(function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return s();i.loadScript(t.moduleUrl(n,a),s),u()}};var u=function(){c.basePath||c.workerPath||c.modePath||c.themePath||Object.keys(c.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),u=function(){})};function d(o){if(l&&l.document){c.packaged=o||e.packaged||r.packaged||l.define&&n.amdD.packaged;for(var i,a={},s="",u=document.currentScript||document._currentScript,d=(u&&u.ownerDocument||document).getElementsByTagName("script"),h=0;h=e){for(i=d+1;i=e;)i++;for(s=d,l=i-1;s=t.length||2!=(l=n[o-1])&&3!=l||2!=(c=t[o+1])&&3!=c?4:(i&&(c=3),c==l?c:4);case 10:return 2==(l=o>0?n[o-1]:5)&&o+10&&2==n[o-1])return 2;if(i)return 4;for(f=o+1,h=t.length;f=1425&&m<=2303||64286==m;if(l=t[f],g&&(1==l||7==l))return 1}return o<1||5==(l=t[o-1])?4:n[o-1];case 5:return i=!1,a=!0,r;case 6:return s=!0,4;case 13:case 14:case 16:case 17:case 15:i=!1;case d:return 4}}function g(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?0:h[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?u:/[\u06f0-\u06f9]/.test(e)?2:7:32==n&&t<=8287?f[255&t]:254==n&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="\xb7",t.doBidiReorder=function(e,n,u){if(e.length<2)return{};var h=e.split(""),f=new Array(h.length),v=new Array(h.length),y=[];r=u?1:0,function(e,t,n,u){var d=r?c:l,h=null,f=null,p=null,v=0,y=null,b=-1,w=null,_=null,S=[];if(!u)for(w=0,u=[];w0)if(16==y){for(w=b;w<_;w++)t[w]=1;b=-1}else b=-1;if(d[v][6])-1==b&&(b=_);else if(b>-1){for(w=b;w<_;w++)t[w]=p;b=-1}5==u[_]&&(t[_]=0),o|=p}if(s)for(w=0;w=0&&8==u[x];x--)t[x]=r}}(h,y,h.length,n);for(var b=0;b7&&n[b]<13||4===n[b]||n[b]===d)?y[b]=t.ON_R:b>0&&"\u0644"===h[b-1]&&/\u0622|\u0623|\u0625|\u0627/.test(h[b])&&(y[b-1]=y[b]=t.R_H,b++);h[h.length-1]===t.DOT&&(y[h.length-1]=t.B),"\u202b"===h[0]&&(y[0]=t.RLE);for(b=0;b=0&&(e=this.session.$docRowCache[n])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,r=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===r;)r=n,e++;else e=this.currentRow;return e},this.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.wrapOffset=this.wrapIndent*this.charWidths[r.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,o=r.getVisualFromLogicalIdx(n,this.bidiMap),i=this.bidiMap.bidiLevels,a=0;!this.session.getOverwrite()&&e<=t&&i[o]%2!==0&&o++;for(var s=0;st&&i[o]%2===0&&(a+=this.charWidths[i[o]]),this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(a+=this.rtlLineOffset),a},this.getSelections=function(e,t){var n,r=this.bidiMap,o=r.bidiLevels,i=[],a=0,s=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,d=0;this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var h,f=0;f=s&&hn+i/2;){if(n+=i,r===o.length-1){i=0;break}i=this.charWidths[o[++r]]}return r>0&&o[r-1]%2!==0&&o[r]%2===0?(e0&&o[r-1]%2===0&&o[r]%2!==0?t=1+(e>n?this.bidiMap.logicalFromVisual[r]:this.bidiMap.logicalFromVisual[r-1]):this.isRtlDir&&r===o.length-1&&0===i&&o[r-1]%2===0||!this.isRtlDir&&0===r&&o[r]%2!==0?t=1+this.bidiMap.logicalFromVisual[r]:(r>0&&o[r-1]%2!==0&&0!==i&&r--,t=this.bidiMap.logicalFromVisual[r]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent}}).call(a.prototype),t.BidiHandler=a})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./lib/lang"),i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))};(function(){r.implement(this,i),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},this.getAnchor=this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(e,t){var n=t?e.end:e.start,r=t?e.start:e.end;this.$setSelection(n.row,n.column,r.row,r.column)},this.$setSelection=function(e,t,n,r){if(!this.$silent){var o=this.$isEmpty,i=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,r),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||i)&&this._emit("changeSelection")}},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if("undefined"==typeof t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r="number"==typeof e?e:this.lead.row,o=this.session.getFoldLine(r);return o?(r=o.start.row,n=o.end.row):n=r,!0===t?new a(r,0,n,this.session.getLine(n).length):new a(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var r=e.column,o=e.column+t;return n<0&&(r=e.column-t,o=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(r,o).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(e,t,1);if(o)this.moveCursorTo(o.end.row,o.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(i)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(o.lastIndex=0;(t=e[n])&&!o.test(t);)if(o.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return o.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),o=this.session.getFoldAt(e,t,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(t==n.length){var i=this.doc.getLength();do{e++,r=this.doc.getLine(e)}while(e0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var i=o.stringReverse(r),a=this.$shortWordEndIndex(i);return this.moveCursorTo(t,n-a)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];e<0?e-=o.rowsAbove||0:e>0&&(e+=o.rowCount-(o.rowsAbove||0))}var i=this.session.screenToDocumentPosition(r.row+e,r.column,n);0!==e&&0===t&&i.row===this.lead.row&&(i.column,this.lead.column),this.moveCursorTo(i.row,i.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(o.charAt(t))&&o.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(r){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(void 0==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(s.prototype),t.Selection=s})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,n){"use strict";var r=e("./config"),o=2e3,i=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],o=0,i=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l1?this.$applyToken:c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+o+1)})):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||s.push(c)),i[o]=l,o+=d,r.push(u),c.onMatch||(c.onMatch=null)}}r.length||(i[0]=0,r.push("$")),s.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)}),this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",a)}};(function(){this.$setMaxTokenCount=function(e){o=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"===typeof n)return[{type:n,value:e}];for(var r=[],o=0,i=n.length;ou){var v=e.substring(u,g-m.length);h.type==f?h.value+=v:(h.type&&c.push(h),h={type:f,value:v})}for(var y=0;yo){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:c,state:n.length?n:r}},this.reportError=r.reportError}).call(i.prototype),t.Tokenizer=i})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/lang"),o=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],o=0;o=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new r(this.$row,t,this.$row,t+e.value.length)}}).call(o.prototype),t.TokenIterator=o})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){"use strict";var r,o=e("../../lib/oop"),i=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,s=e("../../lib/lang"),l=["text","paren.rparen","rparen","paren","punctuation.operator"],c=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],u={},d={'"':'"',"'":"'"},h=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return r=u[t];r=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},f=function(e,t,n,r){var o=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,o,e.end.column+(o?0:1)]}},p=function e(t){this.add("braces","insertion",(function(n,o,i,a,l){var c=i.getCursorPosition(),u=a.doc.getLine(c.row);if("{"==l){h(i);var d=i.getSelectionRange(),p=a.doc.getTextRange(d);if(""!==p&&"{"!==p&&i.getWrapBehavioursEnabled())return f(d,p,"{","}");if(e.isSaneInsertion(i,a))return/[\]\}\)]/.test(u[c.column])||i.inMultiSelectMode||t&&t.braces?(e.recordAutoInsert(i,a,"}"),{text:"{}",selection:[1,1]}):(e.recordMaybeInsert(i,a,"{"),{text:"{",selection:[1,1]})}else if("}"==l){if(h(i),"}"==u.substring(c.column,c.column+1))if(null!==a.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&e.isAutoInsertedClosing(c,u,l))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==l||"\r\n"==l){h(i);var m="";if(e.isMaybeInsertedClosing(c,u)&&(m=s.stringRepeat("}",r.maybeInsertedBrackets),e.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var g=a.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!g)return null;var v=this.$getIndent(a.getLine(g.row))}else{if(!m)return void e.clearMaybeInsertedClosing();v=this.$getIndent(u)}var y=v+a.getTabString();return{text:"\n"+y+"\n"+v+m,selection:[1,y.length,1,y.length]}}e.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,o,i){var a=o.doc.getTextRange(i);if(!i.isMultiLine()&&"{"==a){if(h(n),"}"==o.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,n,r,o,i){if("("==i){h(r);var a=r.getSelectionRange(),s=o.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return f(a,s,"(",")");if(e.isSaneInsertion(r,o))return e.recordAutoInsert(r,o,")"),{text:"()",selection:[1,1]}}else if(")"==i){h(r);var l=r.getCursorPosition(),c=o.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1))if(null!==o.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,i))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&"("==i&&(h(n),")"==r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("brackets","insertion",(function(t,n,r,o,i){if("["==i){h(r);var a=r.getSelectionRange(),s=o.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return f(a,s,"[","]");if(e.isSaneInsertion(r,o))return e.recordAutoInsert(r,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){h(r);var l=r.getCursorPosition(),c=o.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1))if(null!==o.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,i))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&"["==i&&(h(n),"]"==r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("string_dquotes","insertion",(function(e,t,n,r,o){var i=r.$mode.$quotes||d;if(1==o.length&&i[o]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(o))return;h(n);var a=o,s=n.getSelectionRange(),l=r.doc.getTextRange(s);if(!(""===l||1==l.length&&i[l])&&n.getWrapBehavioursEnabled())return f(s,l,a,a);if(!l){var c=n.getCursorPosition(),u=r.doc.getLine(c.row),p=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=r.getTokenAt(c.row,c.column),v=r.getTokenAt(c.row,c.column+1);if("\\"==p&&g&&/escape/.test(g.type))return null;var y,b=g&&/string|escape/.test(g.type),w=!v||/string|escape/.test(v.type);if(m==a)(y=b!==w)&&/string\.end/.test(v.type)&&(y=!1);else{if(b&&!w)return null;if(b&&w)return null;var _=r.$mode.tokenRe;_.lastIndex=0;var S=_.test(p);_.lastIndex=0;var x=_.test(p);if(S||x)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;var C=u[c.column-2];if(p==a&&(C==a||_.test(C)))return null;y=!0}return{text:y?a+a:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,r,o){var i=r.$mode.$quotes||d,a=r.doc.getTextRange(o);if(!o.isMultiLine()&&i.hasOwnProperty(a)&&(h(n),r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==a))return o.end.column++,o}))};p.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new a(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var o=new a(t,n.row,n.column+1);if(!this.$matchTokenType(o.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},p.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},p.recordAutoInsert=function(e,t,n){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isAutoInsertedClosing(o,i,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=o.row,r.autoInsertedLineEnd=n+i.substr(o.column),r.autoInsertedBrackets++},p.recordMaybeInsert=function(e,t,n){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isMaybeInsertedClosing(o,i)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=o.row,r.maybeInsertedLineStart=i.substr(0,o.column)+n,r.maybeInsertedLineEnd=i.substr(o.column),r.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},o.inherits(p,i),t.CstyleBehaviour=p})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";for(var r=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],o=0,i=[],a=0;a2?r%c!=c-1:r%c==0})}else{if(!this.blockComment)return!1;var f=this.blockComment.start,p=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+l.escapeRegExp(f)+")"),g=new RegExp("(?:"+l.escapeRegExp(p)+")\\s*$"),v=function(e,t){b(e,t)||i&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},p),o.insertInLine({row:t,column:s},f))},y=function(e,t){var n;(n=e.match(g))&&o.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&o.removeInLine(t,n[1].length,n[0].length)},b=function(e,n){if(m.test(e))return!0;for(var r=t.getTokens(n),o=0;oe.length&&(_=e.length)})),s==1/0&&(s=_,i=!1,a=!1),u&&s%c!=0&&(s=Math.floor(s/c)*c),w(a?y:v)},this.toggleBlockComment=function(e,t,n,r){var o=this.blockComment;if(o){!o.start&&o[0]&&(o=o[0]);var i,a,s=(m=new c(t,r.row,r.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(s&&/comment/.test(s.type)){for(var d,h;s&&/comment/.test(s.type);){if(-1!=(g=s.value.indexOf(o.start))){var f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;d=new u(f,p,f,p+o.start.length);break}s=m.stepBackward()}var m;for(s=(m=new c(t,r.row,r.column)).getCurrentToken();s&&/comment/.test(s.type);){var g;if(-1!=(g=s.value.indexOf(o.end))){f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;h=new u(f,p,f,p+o.end.length);break}s=m.stepForward()}h&&t.remove(h),d&&(t.remove(d),i=d.start.row,a=-o.start.length)}else a=o.start.length,i=n.start.row,t.insert(n.end,o.end),t.insert(n.start,o.start);l.start.row==i&&(l.start.column+=a),l.end.row==i&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var n=e[t],o=n.prototype.$id,i=r.$modes[o];i||(r.$modes[o]=i=new n),r.$modes[t]||(r.$modes[t]=i),this.$embeds.push(t),this.$modes[t]=i}var a=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var n=function(t,n,r){var o="insert"==t.action,i=(o?1:-1)*(t.end.row-t.start.row),a=(o?1:-1)*(t.end.column-t.start.column),s=t.start,l=o?s:t.end;if(e(n,s,r))return{row:n.row,column:n.column};if(e(l,n,!r))return{row:n.row+i,column:n.column+(n.row==l.row?a:0)};return{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var o={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:o,value:r})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(i.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./apply_delta").applyDelta,i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,i),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,r=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(o(this.$lines,e,t),this._signal("change",e)))},this.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==r&&(r=t),i<=r&&n.fireUpdateEvent(i,r)}}};(function(){r.implement(this,o),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!==r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(i.prototype),t.BackgroundTokenizer=i})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),o=(e("./lib/oop"),e("./range").Range),i=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,i){if(this.regExp)for(var a=i.firstRow,s=i.lastRow,l=a;l<=s;l++){var c=this.cache[l];null==c&&((c=r.getMatchOffsets(n.getLine(l),this.regExp)).length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map((function(e){return new o(l,e.offset,l,e.offset+e.length)})),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(n),this.clazz,i)}}}).call(i.prototype),t.SearchHighlight=i})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range;function o(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,o,i=0,a=this.folds,s=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=r(e,a.start);return 0===s?t&&0!==l?-i-2:i:l>0||0===l&&!t?i:-i-1}}return-i-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,o=(n=n.sort((function(e,t){return r(e.start,t.start)})))[0],i=1;i=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=r)break}if("insert"==e.action)for(var l=o-r,c=-t.column+n.column;ar)break;if(u.start.row==r&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=l)),u.end.row==r&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&au.start.column&&u.end.column==i[a+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=r-o,c=t.column-n.column;ao)break;u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=l):u.end.row>o&&(u.end.row+=l),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=l):u.start.row>o&&(u.start.row+=l)}if(0!=l&&a=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,o=0;o=t){s=e?r-=t-s:r=0);break}a>=e&&(r-=s>=e?a-s:a-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,r=this.$foldData,a=!1;e instanceof i?n=e:(n=new i(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var s=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column,d=this.getFoldAt(s,l,1),h=this.getFoldAt(c,u,-1);if(d&&h==d)return d.addSubFold(n);d&&!d.range.isStart(s,l)&&this.removeFold(d),h&&!h.range.isEnd(c,u)&&this.removeFold(h);var f=this.getFoldsInRange(n.range);f.length>0&&(this.removeFolds(f),n.collapseChildren||f.forEach((function(e){n.addSubFold(e)})));for(var p=0;p0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,o;if(null==e)n=new r(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new r(e,0,e,this.getLine(e).length);else if("row"in e)n=r.fromPoints(e,e);else{if(Array.isArray(e))return o=[],e.forEach((function(e){o=o.concat(this.unfold(e))}),this),o;n=e}for(var i=o=this.getFoldsInRangeList(n);1==o.length&&r.comparePoints(o[0].start,n.start)<0&&r.comparePoints(o[0].end,n.end)>0;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(o):this.expandFolds(o),i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,o){null==r&&(r=e.start.row),null==o&&(o=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var i=this.doc,a="";return e.walk((function(e,t,n,s){if(!(tu)break}while(i&&l.test(i.type));i=o.stepBackward()}else i=o.getCurrentToken();return c.end.row=o.getCurrentTokenRow(),c.end.column=o.getCurrentTokenColumn()+i.value.length-2,c}},this.foldAll=function(e,t,n,r){void 0==n&&(n=1e5);var o=this.foldWidgets;if(o){t=t||this.getLength();for(var i=e=e||0;i=e&&(i=a.end.row,a.collapseChildren=n,this.addFold("...",a))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var n=e.getTokens(t),r=0;r=0;){var i=n[o];if(null==i&&(i=n[o]=this.getFoldWidget(o)),"start"==i){var a=this.getFoldWidgetRange(o);if(r||(r=a),a&&a.end.row>=e)break}o--}return{range:-1!==o&&a,firstRange:r}},this.onFoldWidgetClick=function(e,t){var n={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),o="end"===n?-1:1,i=this.getFoldAt(e,-1===o?0:r.length,o);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(i=this.getFoldAt(a.start.row,a.start.column,1))&&a.isEqual(i.range))return this.removeFold(i),i;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,c=s.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=a?a.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold("...",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var o=this.getFoldAt(t,this.getLine(t).length,1);o?this.removeFold(o):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var r=e("../token_iterator").TokenIterator,o=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,i=n.charAt(e.column-1),a=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(a||(i=n.charAt(e.column),e={row:e.row,column:e.column+1},a=i&&i.match(/([\(\[\{])|([\)\]\}])/),r=!1),!a)return null;if(a[1]){if(!(s=this.$findClosingBracket(a[1],e)))return null;t=o.fromPoints(e,s),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s;if(!(s=this.$findOpeningBracket(a[2],e)))return null;t=o.fromPoints(s,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e){var t=this.getLine(e.row),n=t.charAt(e.column-1),r=n&&n.match(/([\(\[\{])|([\)\]\}])/);if(r||(n=t.charAt(e.column),e={row:e.row,column:e.column+1},r=n&&n.match(/([\(\[\{])|([\)\]\}])/)),!r)return null;var i=new o(e.row,e.column-1,e.row,e.column),a=r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e);return a?[i,new o(a.row,a.column,a.row,a.column+1)]:[i]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var o=this.$brackets[e],i=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn()-2,c=s.value;;){for(;l>=0;){var u=c.charAt(l);if(u==o){if(0==(i-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else u==e&&(i+=1);l-=1}do{s=a.stepBackward()}while(s&&!n.test(s.type));if(null==s)break;l=(c=s.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var o=this.$brackets[e],i=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn();;){for(var c=s.value,u=c.length;ln&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var o=n+r>>1,i=e[o];if(t>i)n=o+1;else{if(!(t=t);i++);return(n=r[i])?(n.index=i,n.start=o-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var o=this.tokenRe;else if(/^\s+$/.test(n.slice(t-1,t+1)))o=/\s/;else o=this.nonTokenRe;var i=t;if(i>0){do{i--}while(i>=0&&n.charAt(i).match(o));i++}for(var a=t;ae&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,o=0,i=this.$foldData[o],a=i?i.start.row:1/0,s=t.length,l=0;la){if((l=i.end.row+1)>=s)break;a=(i=this.$foldData[o++])?i.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>r&&(r=n[l])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=e.length-1;-1!=n;n--){var r=e[n];"insert"==r.action||"remove"==r.action?this.doc.revertDelta(r):r.folds&&this.addFolds(r.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=0;ne.end.column&&(i.start.column+=c),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=c)),a&&i.start.row>=e.end.row&&(i.start.row+=a,i.end.row+=a)}if(i.end=this.insert(i.start,r),o.length){var s=e.start,l=i.start,c=(a=l.row-s.row,l.column-s.column);this.addFolds(o.map((function(e){return(e=e.clone()).start.row==s.row&&(e.start.column+=c),e.end.row==s.row&&(e.end.column+=c),e.start.row+=a,e.end.row+=a,e})))}return i},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),r=this.getTabSize(),o=t.start.row;o<=t.end.row;++o){var i=this.getLine(o);n.start.row=o,n.end.row=o;for(var a=0;a0){var o;if((o=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=o-t}else{e=this.$clipRowToDocument(e);r=(t=this.$clipRowToDocument(t))-e+1}var i=new u(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(i).map((function(e){return(e=e.clone()).start.row+=r,e.end.row+=r,e})),s=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,s),a.length&&this.addFolds(a),r},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,r=e.start,o=e.end,i=r.row,a=o.row,s=a-i,l=null;if(this.$updating=!0,0!=s)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(i,s);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(o.row)){m.addRemoveChars(o.row,o.column,r.column-o.column),m.shiftRow(-s);var d=this.getFoldLine(i);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u=o.row&&m.shiftRow(-s)}a=i}else{var h=Array(s);h.unshift(i,0);var f=t?this.$wrapData:this.$rowLengthCache;f.splice.apply(f,h);c=this.$foldData,u=0;if(m=this.getFoldLine(i)){var p=m.range.compareInside(r.row,r.column);0==p?(m=m.split(r.row,r.column))&&(m.shiftRow(s),m.addRemoveChars(a,0,o.column-r.column)):-1==p&&(m.addRemoveChars(i,0,o.column-r.column),m.shiftRow(s)),u=c.indexOf(m)+1}for(;u=i&&m.shiftRow(s)}}else s=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),s=-s),(m=this.getFoldLine(i))&&m.addRemoveChars(i,r.column,s);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(i,a):this.$updateRowLengthCache(i,a),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,r){var o,i,a=this.doc.getAllLines(),s=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,u=n;for(r=Math.min(r,a.length-1);u<=r;)(i=this.getFoldLine(u,i))?(o=[],i.walk(function(n,r,i,s){var l;if(null!=n){(l=this.$getDisplayTokens(n,o.length))[0]=e;for(var c=1;c=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(n,r,o){if(0==n.length)return[];var i=[],a=n.length,s=0,l=0,c=this.$wrapAsCode,u=this.$indentedSoftWrap,d=r<=Math.max(2*o,8)||!1===u?0:Math.floor(r/2);function h(e){for(var t=e-s,r=s;rr-f;){var p=s+r-f;if(n[p-1]>=10&&n[p]>=10)h(p);else if(n[p]!=e&&n[p]!=t){for(var m=Math.max(p-(r-(r>>2)),s-1);p>m&&n[p]m&&n[p]m&&9==n[p];)p--}else for(;p>m&&n[p]<10;)p--;p>m?h(++p):(2==n[p=s+r]&&p--,h(p-f))}else{for(;p!=s-1&&n[p]!=e;p--);if(p>s){h(p);continue}for(p=s+r;p39&&a<48||a>57&&a<64?o.push(9):a>=4352&&n(a)?o.push(1,2):o.push(1)}return o},this.$getStringScreenWidth=function(e,t,r){if(0==t)return[0,0];var o,i;for(null==t&&(t=1/0),r=r||0,i=0;i=4352&&n(o)?r+=2:r+=1,!(r>t));i++);return[r,i]},this.lineWidgets=null,this.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){s=c[u],i=this.$docRowCache[u];var h=e>c[d-1]}else h=!d;for(var f=this.getLength()-1,p=this.getNextFoldLine(i),m=p?p.start.row:1/0;s<=e&&!(s+(l=this.getRowLength(i))>e||i>=f);)s+=l,++i>m&&(i=p.end.row+1,m=(p=this.getNextFoldLine(i,p))?p.start.row:1/0),h&&(this.$docRowCache.push(i),this.$screenRowCache.push(s));if(p&&p.start.row<=i)r=this.getFoldDisplayLine(p),i=p.start.row;else{if(s+l<=e||i>f)return{row:f,column:this.getLine(f).length};r=this.getLine(i),p=null}var g=0,v=Math.floor(e-s);if(this.$useWrapMode){var y=this.$wrapData[i];y&&(o=y[v],v>0&&y.length&&(g=y.indent,a=y[v-1]||y[y.length-1],r=r.substring(a)))}return void 0!==n&&this.$bidiHandler.isBidiRow(s+v,i,v)&&(t=this.$bidiHandler.offsetToCol(n)),a+=this.$getStringScreenWidth(r,t-g)[1],this.$useWrapMode&&a>=o&&(a=o-1),p?p.idxToPosition(a):{row:i,column:a}},this.documentToScreenPosition=function(e,t){if("undefined"===typeof t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r,o=0,i=null;(r=this.getFoldAt(e,t,1))&&(e=r.start.row,t=r.start.column);var a,s=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){s=l[c],o=this.$screenRowCache[c];var d=e>l[u-1]}else d=!u;for(var h=this.getNextFoldLine(s),f=h?h.start.row:1/0;s=f){if((a=h.end.row+1)>e)break;f=(h=this.getNextFoldLine(a,h))?h.start.row:1/0}else a=s+1;o+=this.getRowLength(s),s=a,d&&(this.$docRowCache.push(s),this.$screenRowCache.push(o))}var p="";h&&s>=f?(p=this.getFoldDisplayLine(h,e,t),i=h.start.row):(p=this.getLine(e).substring(0,t),i=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[i];if(g){for(var v=0;p.length>=g[v];)o++,v++;p=p.substring(g[v-1]||0,p.length),m=v>0?g.indent:0}}return this.lineWidgets&&this.lineWidgets[s]&&this.lineWidgets[s].rowsAbove&&(o+=this.lineWidgets[s].rowsAbove),{row:o,column:m+this.$getStringScreenWidth(p)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,o=(s=0,(t=this.$foldData[s++])?t.start.row:1/0);ro&&(r=t.end.row+1,o=(t=this.$foldData[s++])?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,s=0;sn);i++);return[r,i]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},this.isFullWidth=n}.call(p.prototype),e("./edit_session/folding").Folding.call(p.prototype),e("./edit_session/bracket_match").BracketMatch.call(p.prototype),a.defineOptions(p.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=p})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),o=e("./lib/oop"),i=e("./range").Range,a=function(){this.$options={}};(function(){this.set=function(e){return o.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach((function(e,n,o,a){return r=new i(e,n,o,a),!(n==a&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))||(r=null,!1)})),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,o=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],s=t.re;if(t.$isMultiLine){var l,c=s.length,u=o.length-c;e:for(var d=s.offset||0;d<=u;d++){for(var h=0;hm||(a.push(l=new i(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var v=0;v_&&a[h].end.row==n.end.row;)h--;for(a=a.slice(v,h+1),v=0,h=a.length;v=s;n--)if(d(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=l,s=a.row;n>=s;n--)if(d(n,Number.MAX_VALUE,e))return}};else c=function(e){var n=a.row;if(!d(n,a.column,e)){for(n+=1;n<=l;n++)if(d(n,0,e))return;if(0!=t.wrap)for(n=s,l=a.row;n<=l;n++)if(d(n,0,e))return}};if(t.$isMultiLine)var u=n.length,d=function(t,o,i){var a=r?t-u+1:t;if(!(a<0||a+u>e.getLength())){var s=e.getLine(a),l=s.search(n[0]);if(!(!r&&lo))return!!i(a,l,a+u-1,d)||void 0}}};else if(r)d=function(t,r,o){var i,a=e.getLine(t),s=[],l=0;for(n.lastIndex=0;i=n.exec(a);){var c=i[0].length;if(l=i.index,!c){if(l>=a.length)break;n.lastIndex=l+=1}if(i.index+c>r)break;s.push(i.index,c)}for(var u=s.length-1;u>=0;u-=2){var d=s[u-1];if(o(t,d,t,d+(c=s[u])))return!0}};else d=function(t,r,o){var i,a,s=e.getLine(t);for(n.lastIndex=r;a=n.exec(s);){var l=a[0].length;if(o(t,i=a.index,t,i+l))return!0;if(!l&&(n.lastIndex=i+=1,i>=s.length))return!1}};return{forEach:c}}}).call(a.prototype),t.Search=a})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/keys"),o=e("../lib/useragent"),i=r.KEY_MODS;function a(e,t){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function s(e,t){a.call(this,e,t),this.$singleCommand=!1}s.prototype=a.prototype,function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"===typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var o in r){var i=r[o];if(i==e)delete r[o];else if(Array.isArray(i)){var a=i.indexOf(e);-1!=a&&(i.splice(a,1),1==i.length&&(r[o]=i[0]))}}},this.bindKey=function(e,t,n){if("object"==typeof e&&e&&(void 0==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var r="";if(-1!=e.indexOf(" ")){var o=e.split(/\s+/);e=o.pop(),o.forEach((function(e){var t=this.parseKeys(e),n=i[t.hashId]+t.key;r+=(r?" ":"")+n,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var a=this.parseKeys(e),s=i[a.hashId]+a.key;this._addCommandToBinding(r+s,t,n)}),this)},this._addCommandToBinding=function(t,n,r){var o,i=this.commandKeyBinding;if(n)if(!i[t]||this.$singleCommand)i[t]=n;else{Array.isArray(i[t])?-1!=(o=i[t].indexOf(n))&&i[t].splice(o,1):i[t]=[i[t]],"number"!=typeof r&&(r=e(n));var a=i[t];for(o=0;or)break}a.splice(o,0,n)}else delete i[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"===typeof n)return this.bindKey(n,t);"function"===typeof n&&(n={exec:n}),"object"===typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),o=r[n];if(r.FUNCTION_KEYS[o])n=r.FUNCTION_KEYS[o].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var i=0,a=t.length;a--;){var s=r.KEY_MODS[t[a]];if(null==s)return"undefined"!=typeof console&&console.error("invalid modifier "+t[a]+" in "+e),!1;i|=s}return{key:n,hashId:i}},this.findKeyCommand=function(e,t){var n=i[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var o=i[t]+n,a=this.commandKeyBinding[o];return e.$keyChain&&(e.$keyChain+=" "+o,a=this.commandKeyBinding[e.$keyChain]||a),!a||"chainKeys"!=a&&"chainKeys"!=a[a.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-o.length-1)),{command:a}):(e.$keyChain=e.$keyChain||o,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(a.prototype),t.HashHandler=a,t.MultiHashHandler=s})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../keyboard/hash_handler").MultiHashHandler,i=e("../lib/event_emitter").EventEmitter,a=function(e,t){o.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};r.inherits(a,o),function(){r.implement(this,i),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if("string"===typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))return!1;var o={editor:t,command:e,args:n};return o.returnValue=this._emit("exec",o),this._signal("afterExec",o),!1!==o.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}.call(a.prototype),t.CommandManager=a})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){"use strict";var r=e("../lib/lang"),o=e("../config"),i=e("../range").Range;function a(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(e){o.loadModule("./ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(e){o.loadModule("./ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(e,t){"number"!==typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(e){e.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),o=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),a=e.session.doc.getLine(n.row).length,s=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=o.row+1;c++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}o.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+s)):(a=e.session.doc.getLine(n.row).length>a?a+1:a,e.selection.moveCursorTo(n.row,a))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,o=[];r.length<1&&(r=[e.selection.getRange()]);for(var a=0;a=o.lastRow||r.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var i=this.selection.toJSON();this.curOp.selectionAfter=i,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(i),this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var o=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"===typeof e&&"ace"!=e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container).fontSize},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var n=t.getMatchingBracketRanges(e.getCursorPosition());if(!n&&t.$mode.getMatching&&(n=t.$mode.getMatching(e.session)),n){var r="ace_bracket";Array.isArray(n)?1==n.length&&(r="ace_error_bracket"):n=[n],2==n.length&&(0==f.comparePoints(n[0].end,n[1].start)?n=[f.fromPoints(n[0].start,n[1].end)]:0==f.comparePoints(n[0].start,n[1].end)&&(n=[f.fromPoints(n[1].start,n[0].end)])),t.$bracketHighlight={ranges:n,markerIds:n.map((function(e){return t.addMarker(e,r,"text")}))}}}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new y(e.session,n.row,n.column),o=r.getCurrentToken();if(!o||!/\b(?:tag-open|tag-name)/.test(o.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1===o.type.indexOf("tag-open")||(o=r.stepForward())){var i=o.value,a=o.value,s=0,l=r.stepBackward();if("<"===l.value)do{l=o,(o=r.stepForward())&&(-1!==o.type.indexOf("tag-name")?i===(a=o.value)&&("<"===l.value?s++:""===o.value&&s--)}while(o&&s>=0);else{do{if(o=l,l=r.stepBackward(),o)if(-1!==o.type.indexOf("tag-name"))i===o.value&&("<"===l.value?s++:""===o.value){for(var c=0,u=l;u;){if(-1!==u.type.indexOf("tag-name")&&u.value===i){s--;break}if("<"===u.value)break;u=r.stepBackward(),c++}for(var d=0;d1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var o=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(o),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,r=t.end.column,o=e.getLine(t.start.row),i=o.substring(n,r);if(!(i.length>5e3)&&/[\w\d]/.test(i)){var a=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:i}),s=o.substring(n-1,r+1);if(a.test(s))return a}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var r=this.selection.getAllRanges(),o=0;os.search(/\S|$/)){var l=s.substr(o.column).search(/\S|$/);n.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var c=o.column,u=n.getState(o.row),d=(s=n.getLine(o.row),r.checkOutdent(u,s,e));if(n.insert(o,e),i&&i.selection&&(2==i.selection.length?this.selection.setSelectionRange(new f(o.row,c+i.selection[0],o.row,c+i.selection[1])):this.selection.setSelectionRange(new f(o.row+i.selection[0],i.selection[1],o.row+i.selection[2],i.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var h=r.getNextLineIndent(u,s.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},h)}d&&r.autoOutdent(u,n,o.row)}},this.autoIndent=function(){var e,t,n=this.session,r=n.getMode();if(this.selection.isEmpty())e=0,t=n.doc.getLength()-1;else{var o=this.getSelectionRange();e=o.start.row,t=o.end.row}for(var i,a,s,l="",c="",u="",d=n.getTabString(),h=e;h<=t;h++)h>0&&(l=n.getState(h-1),c=n.getLine(h-1),u=r.getNextLineIndent(l,c,d)),i=n.getLine(h),u!==(a=r.$getIndent(i))&&(a.length>0&&(s=new f(h,0,h,a.length),n.remove(s)),u.length>0&&n.insert({row:h,column:0},u)),r.autoOutdent(l,n,h)},this.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},this.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove());(!e&&this.selection.isEmpty()||this.insert(e,!0),t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},this.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),o=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var i=n.getTextRange(t);if("\n"==i[i.length-1]){var a=n.getLine(t.end.row);/^\s+$/.test(a)&&(t.end.column=a.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,o=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var o=new f(0,0,0,0);for(r=e.first;r<=e.last;r++){var i=t.getLine(r);o.start.row=r,o.end.row=r,o.end.column=i.length,t.replace(o,n[r-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t)return{value:o[0],start:o.index,end:o.index+o[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(t,n-1,t,n),o=this.session.getTextRange(r);if(!isNaN(parseFloat(o))&&isFinite(o)){var i=this.getNumberAt(t,n);if(i){var a=i.value.indexOf(".")>=0?i.start+i.value.indexOf(".")+1:i.end,s=i.start+i.value.length-a,l=parseFloat(i.value);l*=Math.pow(10,s),a!==i.end&&n=s&&a<=l&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,s+r),c.selection.selectTo(e,l+r)),s=l}));for(var u,d=this.$toggleWordPairs,h=0;hf+1)break;f=p.last}for(u--,s=this.session.$moveLines(h,f,t?0:e),t&&-1==e&&(d=u+1);d<=u;)a[d].moveBy(s,0),d++;t||(s=0),l+=s}o.fromOrientedRange(o.ranges[0]),o.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(e)},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,o=e*Math.floor(r.height/r.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(o,0)})):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection());var i=n.scrollTop;n.scrollBy(0,o*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(i)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.selection.selectAll()},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new y(this.session,n.row,n.column),o=r.getCurrentToken(),i=o||r.stepForward();if(i){var a,s,l=!1,c={},u=n.column-i.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(i.value.match(/[{}()\[\]]/g)){for(;u=0;--i)this.$tryReplace(n[i],e)&&r++;return this.selection.setSelectionRange(o),r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&r.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,n),i):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var o=this.$scrollAnchor;o.style.cssText="position:absolute",this.container.insertBefore(o,this.container.firstChild);var i=this.on("changeSelection",(function(){r=!0})),a=this.renderer.on("beforeRender",(function(){r&&(t=n.renderer.container.getBoundingClientRect())})),s=this.renderer.on("afterRender",(function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,i=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=i.top-a.offset;null!=(r=i.top>=0&&s+t.top<0||!(i.topwindow.innerHeight)&&null)&&(o.style.top=s+"px",o.style.left=i.left+"px",o.style.height=a.lineHeight+"px",o.scrollIntoView(r)),r=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",i),this.renderer.off("afterRender",s),this.renderer.off("beforeRender",a))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,o.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},this.prompt=function(e,t,n){var r=this;v.loadModule("./ext/prompt",(function(o){o.prompt(r,e,t,n)}))}}.call(w.prototype),v.defineOptions(w.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?_.attach(this):_.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?_.attach(this):_.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.getValue());if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),o.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),o.addCssClass(this.container,"ace_hasPlaceholder");var t=o.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var _={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"\xb7":""))+""},getWidth:function(e,t,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=w})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=function(){this.$maxRev=0,this.$fromUndo=!1,this.reset()};(function(){this.addSession=function(e){this.$session=e},this.add=function(e,t,n){this.$fromUndo||e!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),!1!==t&&this.lastDeltas||(this.lastDeltas=[],this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev),"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e))},this.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},this.startNewGroup=function(){return this.lastDeltas=null,this.$rev},this.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var n=this.$undoStack,r=n.length;r--;){var o=n[r][0];if(o.id<=e)break;o.id0},this.canRedo=function(){return this.$redoStack.length>0},this.bookmark=function(e){void 0==e&&(e=this.$rev),this.mark=e},this.isAtBookmark=function(){return this.$rev===this.mark},this.toJSON=function(){},this.fromJSON=function(){},this.hasUndo=this.canUndo,this.hasRedo=this.canRedo,this.isClean=this.isAtBookmark,this.markClean=this.bookmark,this.$prettyPrint=function(e){return e?s(e):s(this.$undoStack)+"\n---\n"+s(this.$redoStack)}}).call(r.prototype);var o=e("./range").Range,i=o.comparePoints;o.comparePoints;function a(e){return{row:e.row,column:e.column}}function s(e){if(e=e||this,Array.isArray(e))return e.map(s).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var n="insert"==e.action,r="insert"==t.action;if(n&&r)if(i(t.start,e.end)>=0)h(t,e,-1);else{if(!(i(t.start,e.start)<=0))return null;h(e,t,1)}else if(n&&!r)if(i(t.start,e.end)>=0)h(t,e,-1);else{if(!(i(t.end,e.start)<=0))return null;h(e,t,-1)}else if(!n&&r)if(i(t.start,e.start)>=0)h(t,e,1);else{if(!(i(t.start,e.start)<=0))return null;h(e,t,1)}else if(!n&&!r)if(i(t.start,e.start)>=0)h(t,e,1);else{if(!(i(t.end,e.start)<=0))return null;h(e,t,-1)}return[t,e]}function u(e,t){for(var n=e.length;n--;)for(var r=0;r=0?h(e,t,-1):(i(e.start,t.start)<=0||h(e,o.fromPoints(t.start,e.start),-1),h(t,e,1));else if(!n&&r)i(t.start,e.end)>=0?h(t,e,-1):(i(t.start,e.start)<=0||h(t,o.fromPoints(e.start,t.start),-1),h(e,t,1));else if(!n&&!r)if(i(t.start,e.end)>=0)h(t,e,-1);else{var a,s;if(!(i(t.end,e.start)<=0))return i(e.start,t.start)<0&&(a=e,e=p(e,t.start)),i(e.end,t.end)>0&&(s=p(e,t.end)),f(t.end,e.start,e.end,-1),s&&!a&&(e.lines=s.lines,e.start=s.start,e.end=s.end,s=e),[t,a,s].filter(Boolean);h(e,t,-1)}return[t,e]}function h(e,t,n){f(e.start,t.start,t.end,n),f(e.end,t.start,t.end,n)}function f(e,t,n,r){e.row==(1==r?t:n).row&&(e.column+=r*(n.column-t.column)),e.row+=r*(n.row-t.row)}function p(e,t){var n=e.lines,r=e.end;e.end=a(t);var o=e.end.row-e.start.row,i=n.splice(o,n.length),s=o?t.column:t.column-e.start.column;return n.push(i[0].substring(0,s)),i[0]=i[0].substr(s),{start:a(t),end:r,lines:i,action:e.action}}function m(e,t){t=function(e){return{start:a(e.start),end:a(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var n=e.length;n--;){for(var r=e[n],o=0;oi&&(l=o.end.row+1,i=(o=t.getNextFoldLine(l,o))?o.start.row:1/0),l>r){for(;this.$lines.getLength()>s+1;)this.$lines.pop();break}(a=this.$lines.get(++s))?a.row=l:(a=this.$lines.createCell(l,e,this.session,c),this.$lines.push(a)),this.$renderCell(a,e,o,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},this.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,r=t.$firstLineNumber,o=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(o=t.getLength()+r-1);var i=n?n.getWidth(t,o,e):o.toString().length*e.characterWidth,a=this.$padding||this.$computePadding();(i+=a.left+a.right)===this.gutterWidth||isNaN(i)||(this.gutterWidth=i,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",i))},this.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},this.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var n=0;n=this.$cursorRow){if(r.row>this.$cursorRow){var o=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&o&&o.start.row==t[n-1].row))break;r=t[n-1]}r.element.className="ace_gutter-active-line "+r.element.className,this.$cursorCell=r;break}}}}},this.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),r=this.oldLastRow;if(this.oldLastRow=n,!t||r0;o--)this.$lines.shift();if(r>n)for(o=this.session.getFoldedRowCount(n+1,r);o>0;o--)this.$lines.pop();e.firstRowr&&this.$lines.push(this.$renderLines(e,r+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},this.$renderLines=function(e,t,n){for(var r=[],o=t,i=this.session.getNextFoldLine(o),a=i?i.start.row:1/0;o>a&&(o=i.end.row+1,a=(i=this.session.getNextFoldLine(o,i))?i.start.row:1/0),!(o>n);){var s=this.$lines.createCell(o,e,this.session,c);this.$renderCell(s,e,i,o),r.push(s),o++}return r},this.$renderCell=function(e,t,n,o){var i=e.element,a=this.session,s=i.childNodes[0],l=i.childNodes[1],c=a.$firstLineNumber,u=a.$breakpoints,d=a.$decorations,h=a.gutterRenderer||this.$renderer,f=this.$showFoldWidgets&&a.foldWidgets,p=n?n.start.row:Number.MAX_VALUE,m="ace_gutter-cell ";if(this.$highlightGutterLine&&(o==this.$cursorRow||n&&o=p&&this.$cursorRow<=n.end.row)&&(m+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),u[o]&&(m+=u[o]),d[o]&&(m+=d[o]),this.$annotations[o]&&(m+=this.$annotations[o].className),i.className!=m&&(i.className=m),f){var g=f[o];null==g&&(g=f[o]=a.getFoldWidget(o))}if(g){m="ace_fold-widget ace_"+g;"start"==g&&o==p&&on.right-t.right?"foldWidgets":void 0}}).call(l.prototype),t.Gutter=l})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../range").Range,o=e("../lib/dom"),i=function(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.elt=function(e,t){var n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},this.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var r=this.markers[n];if(r.range){var o=r.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),r.renderer){var i=this.$getTop(o.start.row,e),a=this.$padding+o.start.column*e.characterWidth;r.renderer(t,o,a,i,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,o,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,o,r.clazz,e):o.isMultiLine()?"text"==r.type?this.drawTextMarker(t,o,r.clazz,e):this.drawMultiLineMarker(t,o,r.clazz,e):this.drawSingleLineMarker(t,o,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}if(-1!=this.i)for(;this.ih?4:0)|(c==l?8:0)),o,c==l?0:1,i)},this.drawMultiLineMarker=function(e,t,n,r,o){var i=this.$padding,a=r.lineHeight,s=this.$getTop(t.start.row,r),l=i+t.start.column*r.characterWidth;(o=o||"",this.session.$bidiHandler.isBidiRow(t.start.row))?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",r,null,o)):this.elt(n+" ace_br1 ace_start","height:"+a+"px;right:0;top:"+s+"px;left:"+l+"px;"+(o||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",r,null,o)}else{s=this.$getTop(t.end.row,r);var u=t.end.column*r.characterWidth;this.elt(n+" ace_br12","height:"+a+"px;width:"+u+"px;top:"+s+"px;left:"+i+"px;"+(o||""))}if(!((a=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){s=this.$getTop(t.start.row+1,r);var d=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(d?" ace_br"+d:""),"height:"+a+"px;right:0;top:"+s+"px;left:"+i+"px;"+(o||""))}},this.drawSingleLineMarker=function(e,t,n,r,o,i){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,r,o,i);var a=r.lineHeight,s=(t.end.column+(o||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r),c=this.$padding+t.start.column*r.characterWidth;this.elt(n,"height:"+a+"px;width:"+s+"px;top:"+l+"px;left:"+c+"px;"+(i||""))},this.drawBidiSingleLineMarker=function(e,t,n,r,o,i){var a=r.lineHeight,s=this.$getTop(t.start.row,r),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+a+"px;width:"+e.width+(o||0)+"px;top:"+s+"px;left:"+(l+e.left)+"px;"+(i||""))}),this)},this.drawFullLineMarker=function(e,t,n,r,o){var i=this.$getTop(t.start.row,r),a=r.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,r)-i),this.elt(n,"height:"+a+"px;top:"+i+"px;left:0;right:0;"+(o||""))},this.drawScreenLineMarker=function(e,t,n,r,o){var i=this.$getTop(t.start.row,r),a=r.lineHeight;this.elt(n,"height:"+a+"px;top:"+i+"px;left:0;right:0;"+(o||""))}}).call(i.prototype),t.Marker=i})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../lib/dom"),i=e("../lib/lang"),a=e("./lines").Lines,s=e("../lib/event_emitter").EventEmitter,l=function(e){this.dom=o,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)};(function(){r.implement(this,s),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.MAX_LINE_LENGTH=1e4,this.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},this.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.showSpaces=!1,this.showTabs=!1,this.showEOL=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;nu&&(s=l.end.row+1,u=(l=this.session.getNextFoldLine(s,l))?l.start.row:1/0),!(s>o);){var d=i[a++];if(d){this.dom.removeChildren(d),this.$renderLine(d,s,s==u&&l),c&&(d.style.top=this.$lines.computeLineTop(s,e,this.session)+"px");var h=e.lineHeight*this.session.getRowLength(s)+"px";d.style.height!=h&&(c=!0,d.style.height=h)}s++}if(c)for(;a0;o--)this.$lines.shift();if(t.lastRow>e.lastRow)for(o=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);o>0;o--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow))},this.$renderLinesFragment=function(e,t,n){for(var r=[],i=t,a=this.session.getNextFoldLine(i),s=a?a.start.row:1/0;i>s&&(i=a.end.row+1,s=(a=this.session.getNextFoldLine(i,a))?a.start.row:1/0),!(i>n);){var l=this.$lines.createCell(i,e,this.session),c=l.element;this.dom.removeChildren(c),o.setStyle(c.style,"height",this.$lines.computeLineHeight(i,e,this.session)+"px"),o.setStyle(c.style,"top",this.$lines.computeLineTop(i,e,this.session)+"px"),this.$renderLine(c,i,i==s&&a),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",r.push(l),i++}return r},this.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,r=this.$lines;r.getLength();)r.pop();r.push(this.$renderLinesFragment(e,t,n))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){for(var o,a=this,s=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,l=this.dom.createFragment(this.element),c=0;o=s.exec(r);){var u=o[1],d=o[2],h=o[3],f=o[4],p=o[5];if(a.showSpaces||!d){var m=c!=o.index?r.slice(c,o.index):"";if(c=o.index+o[0].length,m&&l.appendChild(this.dom.createTextNode(m,this.element)),u){var g=a.session.getScreenTabSize(t+o.index);l.appendChild(a.$tabStrings[g].cloneNode(!0)),t+=g-1}else if(d){if(a.showSpaces)(y=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",y.textContent=i.stringRepeat(a.SPACE_CHAR,d.length),l.appendChild(y);else l.appendChild(this.com.createTextNode(d,this.element))}else if(h){(y=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",y.textContent=i.stringRepeat(a.SPACE_CHAR,h.length),l.appendChild(y)}else if(f){t+=1,(y=this.dom.createElement("span")).style.width=2*a.config.characterWidth+"px",y.className=a.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",y.textContent=a.showSpaces?a.SPACE_CHAR:f,l.appendChild(y)}else if(p){t+=1,(y=this.dom.createElement("span")).style.width=2*a.config.characterWidth+"px",y.className="ace_cjk",y.textContent=p,l.appendChild(y)}}}if(l.appendChild(this.dom.createTextNode(c?r.slice(c):r,this.element)),this.$textToken[n.type])e.appendChild(l);else{var v="ace_"+n.type.replace(/\./g," ace_"),y=this.dom.createElement("span");"fold"==n.type&&(y.style.width=n.value.length*this.config.characterWidth+"px"),y.className=v,y.appendChild(l),e.appendChild(y)}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);if(r<=0||r>=n)return t;if(" "==t[0]){for(var o=(r-=r%this.tabSize)/this.tabSize,i=0;i=a;)s=this.$renderToken(l,s,u,d.substring(0,a-r)),d=d.substring(a-r),r=a,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(i.stringRepeat("\xa0",n.indent),this.element)),s=0,a=n[++o]||Number.MAX_VALUE;0!=d.length&&(r+=d.length,s=this.$renderToken(l,s,u,d))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,s,null,"",!0)},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],o=r.value;this.displayIndentGuides&&(o=this.renderIndentGuide(e,o)),o&&(n=this.$renderToken(e,n,r,o));for(var i=1;ithis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,r,o);n=this.$renderToken(e,n,r,o)}},this.$renderOverflowMessage=function(e,t,n,r,o){n&&this.$renderToken(e,t,n,r.slice(0,this.MAX_LINE_LENGTH-t));var i=this.dom.createElement("span");i.className="ace_inline_button ace_keyword ace_toggle_wrap",i.textContent=o?"":"",e.appendChild(i)},this.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var r=this.$getFoldLineTokens(t,n);else r=this.session.getTokens(t);var o=e;if(r.length){var i=this.session.getRowSplitData(t);if(i&&i.length){this.$renderWrappedLine(e,r,i);o=e.lastChild}else{o=e;this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o)),this.$renderSimpleLine(o,r)}}else this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o));if(this.showEOL&&o){n&&(t=n.end.row);var a=this.dom.createElement("span");a.className="ace_invisible ace_invisible_eol",a.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,o.appendChild(a)}},this.$getFoldLineTokens=function(e,t){var n=this.session,r=[];var o=n.getTokens(e);return t.walk((function(e,t,i,a,s){null!=e?r.push({type:"fold",value:e}):(s&&(o=n.getTokens(t)),o.length&&function(e,t,n){for(var o=0,i=0;i+e[o].value.lengthn-t&&(a=a.substring(0,n-t)),r.push({type:e[o].type,value:a}),i=t+a.length,o+=1);in?r.push({type:e[o].type,value:a.substring(0,n-i)}):r.push(e[o]),i+=a.length,o+=1}}(o,a,i))}),t.end.row,this.session.getLine(t.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){}}).call(l.prototype),t.Text=l})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../lib/dom"),o=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)};(function(){this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)r.setStyle(t[n].style,"opacity",e?"":"0")},this.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&r.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},this.$stopCssAnimation=function(){this.$isAnimating=!1,r.removeCssClass(this.element,"ace_animate-blinking")},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,r.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},this.addCursor=function(){var e=r.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,r.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&r.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),r.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||a.top<0)&&n>1)){var s=this.cursors[o++]||this.addCursor(),l=s.style;this.drawCursor?this.drawCursor(s,a,e,t[n],this.session):this.isCursorInView(a,e)?(r.setStyle(l,"display","block"),r.translate(s,a.left,a.top),r.setStyle(l,"width",Math.round(e.characterWidth)+"px"),r.setStyle(l,"height",e.lineHeight+"px")):r.setStyle(l,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=a,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./lib/dom"),i=e("./lib/event"),a=e("./lib/event_emitter").EventEmitter,s=32768,l=function(e){this.element=o.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=o.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,i.addListener(this.element,"scroll",this.onScroll.bind(this)),i.addListener(this.element,"mousedown",i.preventDefault)};(function(){r.implement(this,a),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(l.prototype);var c=function(e,t){l.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=o.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};r.inherits(c,l),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>s?(this.coeff=s/e,e=s):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(c.prototype);var u=function(e,t){l.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(u,l),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(u.prototype),t.ScrollBar=c,t.ScrollBarV=c,t.ScrollBarH=u,t.VScrollBar=c,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var r=e("./lib/event"),o=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(r.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}};(function(){this.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(r.nextFrame(this._flush),this.pending=!0)},this.clear=function(e){var t=this.changes;return this.changes=0,t}}).call(o.prototype),t.RenderLoop=o})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var r=e("../lib/oop"),o=e("../lib/dom"),i=e("../lib/lang"),a=e("../lib/event"),s=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=256,u="function"==typeof ResizeObserver,d=200,h=t.FontMetrics=function(e){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=i.stringRepeat("X",c),this.$characterSize={width:0,height:0},u?this.$addObserver():this.checkForSizeChanges()};(function(){r.implement(this,l),this.$characterSize={width:0,height:0},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",s.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=a.onIdle((function t(){e.checkForSizeChanges(),a.onIdle(t,500)}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.textContent=i.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},this.$getZoom=function e(t){return t&&t.parentElement?(window.getComputedStyle(t).zoom||1)*e(t.parentElement):1},this.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=o.buildDom([e(0,0),e(d,0),e(0,d),e(d,d)],this.el)},this.transformCoordinates=function(e,t){e&&(e=i(1/this.$getZoom(this.el),e));function n(e,t,n){var r=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/r,(+e[1]*n[0]-e[0]*n[1])/r]}function r(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[e[0]+t[0],e[1]+t[1]]}function i(e,t){return[e*t[0],e*t[1]]}function a(e){var t=e.getBoundingClientRect();return[t.left,t.top]}this.els||this.$initTransformMeasureNodes();var s=a(this.els[0]),l=a(this.els[1]),c=a(this.els[2]),u=a(this.els[3]),h=n(r(u,l),r(u,c),r(o(l,c),o(u,s))),f=i(1+h[0],r(l,s)),p=i(1+h[1],r(c,s));if(t){var m=t,g=h[0]*m[0]/d+h[1]*m[1]/d+1,v=o(i(m[0],f),i(m[1],p));return o(i(1/g/d,v),s)}var y=r(e,s),b=n(r(f,i(h[0],y)),r(p,i(h[1],y)),y);return i(d,b)}}).call(h.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./lib/dom"),i=e("./config"),a=e("./layer/gutter").Gutter,s=e("./layer/marker").Marker,l=e("./layer/text").Text,c=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,h=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,p=e("./lib/event_emitter").EventEmitter,m='.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_editor {position: relative;overflow: hidden;padding: 0;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;box-sizing: border-box;min-width: 100%;contain: style size layout;font-variant-ligatures: no-common-ligatures;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;contain: style size layout;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {position: absolute;top: 0;left: 0;right: 0;padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {contain: strict;position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;contain: strict;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: transparent;color: inherit;z-index: 1000;opacity: 1;}.ace_composition_placeholder { color: transparent }.ace_composition_marker { border-bottom: 1px solid;position: absolute;border-radius: 0;margin-top: 1px;}[ace_nocontext=true] {transform: none!important;filter: none!important;clip-path: none!important;mask : none!important;contain: none!important;perspective: none!important;mix-blend-mode: initial!important;z-index: auto;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;height: 1000000px;contain: style size layout;}.ace_text-layer {font: inherit !important;position: absolute;height: 1000000px;width: 1000000px;contain: style size layout;}.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {contain: style size layout;position: absolute;top: 0;left: 0;right: 0;}.ace_hidpi .ace_text-layer,.ace_hidpi .ace_gutter-layer,.ace_hidpi .ace_content,.ace_hidpi .ace_gutter {contain: strict;will-change: transform;}.ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group {contain: strict;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {opacity: 0;}.ace_smooth-blinking .ace_cursor {transition: opacity 0.18s;}.ace_animate-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: step-end;animation-name: blink-ace-animate;animation-iteration-count: infinite;}.ace_animate-blinking.ace_smooth-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: ease-in-out;animation-name: blink-ace-animate-smooth;}@keyframes blink-ace-animate {from, to { opacity: 1; }60% { opacity: 0; }}@keyframes blink-ace-animate-smooth {from, to { opacity: 1; }45% { opacity: 1; }60% { opacity: 0; }85% { opacity: 0; }}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_error_bracket {position: absolute;border-bottom: 1px solid #DE5555;border-radius: 0;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;box-sizing: border-box;}.ace_line .ace_fold {box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_inline_button {border: 1px solid lightgray;display: inline-block;margin: -1px 8px;padding: 0 5px;pointer-events: auto;cursor: pointer;}.ace_inline_button:hover {border-color: gray;background: rgba(200,200,200,0.2);display: inline-block;pointer-events: auto;}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_mobile-menu {position: absolute;line-height: 1.5;border-radius: 4px;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;background: white;box-shadow: 1px 3px 2px grey;border: 1px solid #dcdcdc;color: black;}.ace_dark > .ace_mobile-menu {background: #333;color: #ccc;box-shadow: 1px 3px 2px grey;border: 1px solid #444;}.ace_mobile-button {padding: 2px;cursor: pointer;overflow: hidden;}.ace_mobile-button:hover {background-color: #eee;opacity:1;}.ace_mobile-button:active {background-color: #ddd;}.ace_placeholder {font-family: arial;transform: scale(0.9);transform-origin: left;white-space: pre;opacity: 0.7;margin: 0 10px;}',g=e("./lib/useragent"),v=g.isIE;o.importCssString(m,"ace_editor.css",!1);var y=function(e,t){var n=this;this.container=e||o.createElement("div"),o.addCssClass(this.container,"ace_editor"),o.HI_DPI&&o.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==i.get("useStrictCSP")&&i.set("useStrictCSP",!1),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new s(this.content);var r=this.$textLayer=new l(this.content);this.canvas=r.element,this.$markerFront=new s(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!g.isIOS,this.$loop=new h(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),i.resetOptions(this),i._signal("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,p),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),o.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var o=this.container;r||(r=o.clientHeight||o.scrollHeight),n||(n=o.clientWidth||o.scrollWidth);var i=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(i|this.$changes,!0):this.$loop.schedule(i|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){r-=this.$extraHeight||0;var i=0,a=this.$size,s={width:a.width,height:a.height,scrollerHeight:a.scrollerHeight,scrollerWidth:a.scrollerWidth};if(r&&(e||a.height!=r)&&(a.height=r,i|=this.CHANGE_SIZE,a.scrollerHeight=a.height,this.$horizScroll&&(a.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(e||a.width!=n)){i|=this.CHANGE_SIZE,a.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,o.setStyle(this.scrollBarH.element.style,"left",t+"px"),o.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),a.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),o.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";o.setStyle(this.scrollBarH.element.style,"right",l),o.setStyle(this.scroller.style,"right",l),o.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)}return a.$dirty=!n||!r,i&&this._signal("resize",s),i},this.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var r=this.layerConfig,i=n.top,a=n.left;i-=r.offset;var s=t&&t.useTextareaForIME?this.lineHeight:v?0:1;if(i<0||i>r.height-s)o.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-s;if(t)if(t.useTextareaForIME){var u=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else i+=this.lineHeight+2;else i+=this.lineHeight;(a-=this.scrollLeft)>this.$size.scrollerWidth-l&&(a=this.$size.scrollerWidth-l),a+=this.gutterWidth+this.margin.left,o.setStyle(e,"height",s+"px"),o.setStyle(e,"width",l+"px"),o.translate(this.textarea,Math.min(a,this.$size.scrollerWidth-l),Math.min(i,c))}}}else o.translate(this.textarea,-100,0)}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},this.setMargin=function(e,t,n,r){var o=this.margin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),o.translate(this.content,-this.scrollLeft,-n.offset);var i=n.width+2*this.$padding+"px",a=n.minHeight+"px";o.setStyle(this.content.style,"width",i),o.setStyle(this.content.style,"height",a)}if(e&this.CHANGE_H_SCROLL&&(o.translate(this.content,-this.scrollLeft,-n.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?this.$showGutter&&this.$gutterLayer.update(n):e&this.CHANGE_CURSOR&&this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var o=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,o=this.$getLongestLine(),i=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-o-2*this.$padding<0),a=this.$horizScroll!==i;a&&(this.$horizScroll=i,this.scrollBarH.setVisible(i));var s=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,r-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,o+2*this.$padding-t.scrollerWidth+u.right)));var d=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+c<0||this.scrollTop>u.top),h=s!==d;h&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var f,p,m=this.scrollTop%this.lineHeight,g=Math.ceil(l/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-m)/this.lineHeight)),y=v+g,b=this.lineHeight;v=e.screenToDocumentRow(v,0);var w=e.getFoldLine(v);w&&(v=w.start.row),f=e.documentToScreenRow(v,0),p=e.getRowLength(v)*b,y=Math.min(e.screenToDocumentRow(y,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(y)*b+p,m=this.scrollTop-f*b;var _=0;return(this.layerConfig.width!=o||a)&&(_=this.CHANGE_H_SCROLL),(a||h)&&(_|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),h&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:v,firstRowScreen:f,lastRow:y,lineHeight:b,characterWidth:this.characterWidth,minHeight:l,maxHeight:r,offset:m,gutterOffset:b?Math.max(0,Math.ceil((m+t.height-t.scrollerHeight)/b)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(o-this.$padding),_},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1)&&!(tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(e),o=r.left,i=r.top,a=n&&n.top||0,s=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+a>i?(t&&l+a>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):l+this.$size.scrollerHeight-so?(o=1-this.scrollMargin.top||(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},this.pixelToScreenCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([e,t]);e=r[1]-this.gutterWidth-this.margin.left,t=r[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,i=o/this.characterWidth,a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),s=this.$blockCursor?Math.floor(i):Math.round(i);return{row:a,column:s,side:i-s>0?1:-1,offsetX:o}},this.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([e,t]);e=r[1]-this.gutterWidth-this.margin.left,t=r[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,i=o/this.characterWidth,a=this.$blockCursor?Math.floor(i):Math.round(i),s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(s,Math.max(a,0),o)},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),o=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,e)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth)),i=r.row*this.lineHeight;return{pageX:n.left+o-this.scrollLeft,pageY:n.top+i-this.scrollTop}},this.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),void 0==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},this.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},this.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),o.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},this.addToken=function(e,t,n,r){var o=this.session;o.bgTokenizer.lines[n]=null;var i={type:t,value:e},a=o.getTokens(n);if(null==r)a.push(i);else for(var s=0,l=0;l50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);t.UIWorkerClient=function(e,t,n){var r=null,o=!1,s=Object.create(i),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),r&&(o?setTimeout(d):d())}});u.setEmitSync=function(e){o=e};var d=function(){var e=c.shift();e.command?r[e.command].apply(r,e.args):e.event&&s._signal(e.event,e.data)};return s.postMessage=function(e){u.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},s.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],(function(e){for(r=new e[n](s);c.length;)d()})),u},t.WorkerClient=l,t.createWorker=s})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,i=e("./lib/oop"),a=function(e,t,n,r,o,i){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=i,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){a.onCursorChange()}))},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){i.implement(this,o),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=n.addMarker(new r(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)})),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,i=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=n),o&&!this.session.$fromUndo)if("insert"===e.action)for(var a=this.others.length-1;a>=0;a--){var s={row:(l=this.others[a]).row,column:l.column+i};this.doc.insertMergedLines(s,e.lines)}else if("remove"===e.action)for(a=this.others.length-1;a>=0;a--){var l;s={row:(l=this.others[a]).row,column:l.column+i};this.doc.remove(new r(s.row,s.column,s.row,s.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,o){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),o,null,!1)};n(this.pos,this.mainClass);for(var o=this.others.length;o--;)n(this.others[o],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var r=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new r(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var r=e("./range_list").RangeList,o=e("./range").Range,i=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,s=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search);var d=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var r=this.rangeList.add(e);return this.$onAddRange(e),r.length&&this.$onRemoveRange(r),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.cursor),i=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(r,i).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],i=e.column0;)y--;if(y>0)for(var b=0;r[b].isEmpty();)b++;for(var w=y;w>=b;w--)r[w].isEmpty()&&r.splice(w,1)}return r}}.call(i.prototype);var h=e("./editor").Editor;function f(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(c.defaultCommands),function(e){if(!e.textInput)return;var t=e.textInput.getElement(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}s.addListener(t,"keydown",(function(t){var o=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&o?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()}),e),s.addListener(t,"keyup",r,e),s.addListener(t,"blur",r,e)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var o=t.indexOf(r);-1!=o&&t.splice(o,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,o=n&&n.keepOrder,a=1==n||n&&n.$byLines,s=this.session,l=this.selection,c=l.rangeList,u=(o?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=l._eventRegistry;l._eventRegistry={};var h=new i(s);this.inVirtualSelectionMode=!0;for(var f=u.length;f--;){if(a)for(;f>0&&u[f].start.row==u[f-1].end.row;)f--;h.fromOrientedRange(u[f]),h.index=f,this.selection=s.selection=h;var p=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===p||(r=p),h.toOrientedRange(u[f])}h.detach(),this.selection=s.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=d,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;ra&&(a=n.column),ru?e.insert(r,l.stringRepeat(" ",i-u)):e.remove(new o(r.row,r.column,r.row,r.column-i+u)),t.start.column=t.end.column=a,t.start.row=t.end.row=r.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,h=u.end.row,f=d==h;if(f){var p,m=this.session.getLength();do{p=this.session.getLine(h)}while(/[=:]/.test(p)&&++h0);d<0&&(d=0),h>=m&&(h=m-1)}var g=this.session.removeFullLines(d,h);g=this.$reAlignText(g,f),this.session.insert({row:d,column:0},g.join("\n")+"\n"),f||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,r,o,i=!0,a=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,o=t[3].length,t):(n+r+o!=t[1].length+t[2].length+t[3].length&&(a=!1),n!=t[1].length&&(i=!1),n>t[1].length&&(n=t[1].length),rt[3].length&&(o=t[3].length),t):[e]})).map(t?c:i?a?function(e){return e[2]?s(n+r-e[2].length)+e[2]+s(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?s(n)+e[2]+s(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function s(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?s(n)+e[2]+s(r-e[2].length+o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(h.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=f,e("./config").defineOptions(h.prototype,"editor",{enableMultiselect:{set:function(e){f(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../../range").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var o=/\S/,i=e.getLine(t),a=i.search(o);if(-1!=a){for(var s=n||i.length,l=e.getLength(),c=t,u=t;++tc){var f=e.getLine(u).length;return new r(c,s,u,f)}}},this.openingBracketBlock=function(e,t,n,o,i){var a={row:n,column:o+1},s=e.$findClosingBracket(t,a,i);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),"start"==l&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),r.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,n,o,i){var a={row:n,column:o},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,r.fromPoints(s,a)}}).call(o.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.$id="ace/theme/textmate",e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./lib/dom");function o(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,o=r.start.row,i=r.end.row,a="add"==e.action,s=o+1;st[n].column&&n++,i.unshift(n,0),t.splice.apply(t,i),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},this.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},this.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=r.createElement("div"),e.el.innerHTML=e.html),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex=3),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var o=this.session.lineWidgets;e.row!=n.end.row||o[n.start.row]?e.hidden=!0:o[n.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(n){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],r=[];n;)r.push(n),n=n.$oldWidget;return r},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,r=t.layerConfig;if(n&&n.length){for(var o=1/0,i=0;i0&&!r[o];)o--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var a=o;a<=i;a++){var s=r[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+"px";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var l=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-n.offset+"px";var c=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(c-=t.scrollLeft),s.el.style.left=c+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=n.width+2*n.padding+"px"),s.fixedWidth?s.el.style.right=t.scrollBar.getWidth()+"px":s.el.style.right=""}}}}}).call(o.prototype),t.LineWidgets=o})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";var r=e("../line_widgets").LineWidgets,o=e("../lib/dom"),i=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),s=a.row,l=n.widgetManager.getWidgetsAtRow(s).filter((function(e){return"errorMarker"==e.type}))[0];l?l.destroy():s-=t;var c,u=function(e,t,n){var r=e.getAnnotations().sort(i.comparePoints);if(r.length){var o=function(e,t,n){for(var r=0,o=e.length-1;r<=o;){var i=r+o>>1,a=n(t,e[i]);if(a>0)r=i+1;else{if(!(a<0))return i;o=i-1}}return-(r+1)}(r,{row:t,column:-1},i.comparePoints);o<0&&(o=-o-1),o>=r.length?o=n>0?0:r.length-1:0===o&&n<0&&(o=r.length-1);var a=r[o];if(a&&n){if(a.row===t){do{a=r[o+=n]}while(a&&a.row===t);if(!a)return r.slice()}var s=[];t=a.row;do{s[n<0?"unshift":"push"](a),a=r[o+=n]}while(a&&a.row==t);return s.length&&s}}}(n,s,t);if(u){var d=u[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,c=e.renderer.$gutterLayer.$annotations[a.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var h={row:a.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},f=h.el.appendChild(o.createElement("div")),p=h.el.appendChild(o.createElement("div"));p.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;p.style.left=m+e.renderer.gutterWidth-5+"px",h.el.className="error_widget_wrapper",f.className="error_widget "+c.className,f.innerHTML=c.text.join("
"),f.appendChild(o.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return h.destroy(),{command:"null"}};h.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(h),e.off("changeSelection",h.destroy),e.off("changeSession",h.destroy),e.off("mouseup",h.destroy),e.off("change",h.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",h.destroy),e.on("changeSession",h.destroy),e.on("mouseup",h.destroy),e.on("change",h.destroy),e.session.widgetManager.addLineWidget(h),h.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:h.el.offsetHeight})},o.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,r){"use strict";e("./lib/fixoldbrowsers");var o=e("./lib/dom"),i=e("./lib/event"),a=e("./range").Range,s=e("./editor").Editor,l=e("./edit_session").EditSession,c=e("./undomanager").UndoManager,u=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.require=e,t.define=n.amdD,t.edit=function(e,n){if("string"==typeof e){var r=e;if(!(e=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(e&&e.env&&e.env.editor instanceof s)return e.env.editor;var a="";if(e&&/input|textarea/i.test(e.tagName)){var l=e;a=l.value,e=o.createElement("pre"),l.parentNode.replaceChild(e,l)}else e&&(a=e.textContent,e.innerHTML="");var c=t.createEditSession(a),d=new s(new u(e),c,n),h={document:c,editor:d,onResize:d.resize.bind(d,null)};return l&&(h.textarea=l),i.addListener(window,"resize",h.onResize),d.on("destroy",(function(){i.removeListener(window,"resize",h.onResize),h.editor.container.env=null})),d.container.env=d.env=h,d},t.createEditSession=function(e,t){var n=new l(e,t);return n.setUndoManager(new c),n},t.Range=a,t.Editor=s,t.EditSession=l,t.UndoManager=c,t.VirtualRenderer=u,t.version=t.config.version})),ace.require(["ace/ace"],(function(t){for(var n in t&&(t.config.init(!0),t.define=ace.define),window.ace||(window.ace=t),t)t.hasOwnProperty(n)&&(window.ace[n]=t[n]);window.ace.default=window.ace,e&&(e.exports=window.ace)}))},6866:function(e,t,n){e=n.nmd(e),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),i=e("./editor").Editor,a=e("./virtual_renderer").VirtualRenderer,s=e("./edit_session").EditSession,l=function(e,t,n){this.BELOW=1,this.BESIDE=0,this.$container=e,this.$theme=t,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(n||1),this.$cEditor=this.$editors[0],this.on("focus",function(e){this.$cEditor=e}.bind(this))};(function(){r.implement(this,o),this.$createEditor=function(){var e=document.createElement("div");e.className=this.$editorCSS,e.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(e);var t=new i(new a(e,this.$theme));return t.on("focus",function(){this._emit("focus",t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(e<1)throw"The number of splits have to be > 0!";if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach((function(t){t.setTheme(e)}))},this.setKeyboardHandler=function(e){this.$editors.forEach((function(t){t.setKeyboardHandler(e)}))},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach((function(t){t.setFontSize(e)}))},this.$cloneSession=function(e){var t=new s(e.getDocument(),e.getMode()),n=e.getUndoManager();return t.setUndoManager(n),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n;n=null==t?this.$cEditor:this.$editors[t];var r=this.$editors.some((function(t){return t.session===e}));return r&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation!=e&&(this.$orientation=e,this.resize())},this.resize=function(){var e,t=this.$container.clientWidth,n=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var r=t/this.$splits,o=0;or.length?e:r,l=e.length>r.length?r:e,c=s.indexOf(l);if(-1!=c)return a=[new t.Diff(1,s.substring(0,c)),new t.Diff(0,l),new t.Diff(1,s.substring(c+l.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==l.length)return[new t.Diff(n,e),new t.Diff(1,r)];var u=this.diff_halfMatch_(e,r);if(u){var d=u[0],h=u[1],f=u[2],p=u[3],m=u[4],g=this.diff_main(d,f,o,i),v=this.diff_main(h,p,o,i);return g.concat([new t.Diff(0,m)],v)}return o&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,i):this.diff_bisect_(e,r,i)},t.prototype.diff_lineMode_=function(e,r,o){var i=this.diff_linesToChars_(e,r);e=i.chars1,r=i.chars2;var a=i.lineArray,s=this.diff_main(e,r,!1,o);this.diff_charsToLines_(s,a),this.diff_cleanupSemantic(s),s.push(new t.Diff(0,""));for(var l=0,c=0,u=0,d="",h="";l=1&&u>=1){s.splice(l-c-u,c+u),l=l-c-u;for(var f=this.diff_main(d,h,!1,o),p=f.length-1;p>=0;p--)s.splice(l,0,f[p]);l+=f.length}u=0,c=0,d="",h=""}l++}return s.pop(),s},t.prototype.diff_bisect_=function(e,r,o){for(var i=e.length,a=r.length,s=Math.ceil((i+a)/2),l=s,c=2*s,u=new Array(c),d=new Array(c),h=0;ho);b++){for(var w=-b+m;w<=b-g;w+=2){for(var _=l+w,S=(E=w==-b||w!=b&&u[_-1]i)g+=2;else if(S>a)m+=2;else if(p){if((k=l+f-w)>=0&&k=(C=i-d[k]))return this.diff_bisectSplit_(e,r,E,S,o)}}for(var x=-b+v;x<=b-y;x+=2){for(var C,k=l+x,Z=(C=x==-b||x!=b&&d[k-1]i)y+=2;else if(Z>a)v+=2;else if(!p){if((_=l+f-x)>=0&&_=(C=i-C))return this.diff_bisectSplit_(e,r,E,S,o)}}}}return[new t.Diff(n,e),new t.Diff(1,r)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=this.diff_main(i,a,!1,o),u=this.diff_main(s,l,!1,o);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,s=n.length;ar?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,i,a,s,u]:null}var a,s,l,c,u,d=i(n,r,Math.ceil(n.length/4)),h=i(n,r,Math.ceil(n.length/2));return d||h?(a=h?d&&d[4].length>h[4].length?d:h:d,e.length>t.length?(s=a[0],l=a[1],c=a[2],u=a[3]):(c=a[0],u=a[1],s=a[2],l=a[3]),[s,l,c,u,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,s=0,l=0,c=0,u=0,d=0;s0?o[i-1]:-1,l=0,c=0,u=0,d=0,a=null,r=!0)),s++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),s=1;s=m?(p>=h.length/2||p>=f.length/2)&&(e.splice(s,0,new t.Diff(0,f.substring(0,p))),e[s-1][1]=h.substring(0,h.length-p),e[s+1][1]=f.substring(p),s++):(m>=h.length/2||m>=f.length/2)&&(e.splice(s,0,new t.Diff(0,h.substring(0,m))),e[s-1][0]=1,e[s-1][1]=f.substring(0,f.length-m),e[s+1][0]=n,e[s+1][1]=h.substring(m),s++),s++}s++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),s=i&&r.match(t.whitespaceRegex_),l=a&&o.match(t.whitespaceRegex_),c=s&&r.match(t.linebreakRegex_),u=l&&o.match(t.linebreakRegex_),d=c&&e.match(t.blanklineEndRegex_),h=u&&n.match(t.blanklineStartRegex_);return d||h?5:c||u?4:i&&!s&&l?3:s||l?2:i||a?1:0}for(var r=1;r=h&&(h=f,c=o,u=i,d=a)}e[r-1][1]!=c&&(c?e[r-1][1]=c:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,o=[],i=0,a=null,s=0,l=!1,c=!1,u=!1,d=!1;s0?o[i-1]:-1,u=d=!1),r=!0)),s++;r&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var r,o=0,i=0,a=0,s="",l="";o1?(0!==i&&0!==a&&(0!==(r=this.diff_commonPrefix(l,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=l.substring(0,r):(e.splice(0,0,new t.Diff(0,l.substring(0,r))),o++),l=l.substring(r),s=s.substring(r)),0!==(r=this.diff_commonSuffix(l,s))&&(e[o][1]=l.substring(l.length-r)+e[o][1],l=l.substring(0,l.length-r),s=s.substring(0,s.length-r))),o-=i+a,e.splice(o,i+a),s.length&&(e.splice(o,0,new t.Diff(n,s)),o++),l.length&&(e.splice(o,0,new t.Diff(1,l)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,s="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(o=1;ot));r++)a=o,s=i;return e.length!=r&&e[r][0]===n?s:s+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],r=/&/g,o=//g,a=/\n/g,s=0;s");switch(l){case 1:t[s]=''+c+"";break;case n:t[s]=''+c+"";break;case 0:t[s]=""+c+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,n);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,s),a)));var l,c,u=1<=p;v--){var y=r[e.charAt(v-1)];if(g[v]=0===f?(g[v+1]<<1|1)&y:(g[v+1]<<1|1)&y|(d[v+1]|d[v])<<1|1|d[v+1],g[v]&u){var b=i(f,v-1);if(b<=a){if(a=b,!((s=v-1)>n))break;p=Math.max(1,2*n-s)}}}if(i(f+1,n)>a)break;d=g}return s},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&"undefined"==typeof r&&"undefined"==typeof o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&"undefined"==typeof o)i=e,a=r;else{if("string"!=typeof e||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var s=[],l=new t.patch_obj,c=0,u=0,d=0,h=i,f=i,p=0;p=2*this.Patch_Margin&&c&&(this.patch_addContext_(l,h),s.push(l),l=new t.patch_obj,c=0,h=f,u=d)}1!==m&&(u+=g.length),m!==n&&(d+=g.length)}return c&&(this.patch_addContext_(l,h),s.push(l)),s},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;rthis.Match_MaxBits?-1!=(s=this.match_main(t,u.substring(0,this.Match_MaxBits),c))&&(-1==(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,u,c),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-c,u==(l=-1==d?t.substring(s,s+u.length):t.substring(s,d+this.Match_MaxBits)))t=t.substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+u.length);else{var h=this.diff_main(u,l,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(h)/u.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(h);for(var f,p=0,m=0;ma[0][1].length){var s=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n;else if(n>a[a.length-1][1].length){s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),i.length1+=s,i.length2+=s}return r},t.prototype.patch_splitMax=function(e){for(var r=this.Match_MaxBits,o=0;o2*r?(c.length1+=h.length,a+=h.length,u=!1,c.diffs.push(new t.Diff(d,h)),i.diffs.shift()):(h=h.substring(0,r-c.length1-this.Patch_Margin),c.length1+=h.length,a+=h.length,0===d?(c.length2+=h.length,s+=h.length):u=!1,c.diffs.push(new t.Diff(d,h)),h==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(h.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var f=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==f&&(c.length1+=f.length,c.length2+=f.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=f:c.diffs.push(new t.Diff(0,f))),u||e.splice(++o,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n=43)}})).catch((function(){return!1}))}function S(e){return"boolean"===typeof m?c.resolve(m):_(e).then((function(e){return m=e}))}function x(e){var t=g[e.name],n={};n.promise=new c((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function C(e){var t=g[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function k(e,t){var n=g[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function Z(e,t){return new c((function(n,r){if(g[e.name]=g[e.name]||D(),e.db){if(!t)return n(e.db);x(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var i=a.open.apply(a,o);t&&(i.onupgradeneeded=function(t){var n=i.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(p)}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){var t=i.result;t.onversionchange=function(e){e.target.close()},n(t),C(e)}}))}function E(e){return Z(e,!1)}function R(e){return Z(e,!0)}function T(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.versione.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function A(e){return new c((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)}))}function P(e){return l([w(atob(e.data))],{type:e.type})}function M(e){return e&&e.__local_forage_encoded_blob}function O(e){var t=this,n=t._initReady().then((function(){var e=g[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return d(n,e,e),n}function L(e){x(e);for(var t=g[e.name],n=t.forages,r=0;r0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return c.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),R(e)})).then((function(){return L(e).then((function(){I(e,t,n,r-1)}))})).catch(n);n(i)}}function D(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function N(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var o=g[n.name];o||(o=D(),g[n.name]=o),o.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=O);var i=[];function a(){return c.resolve()}for(var s=0;s>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c}function pe(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=K[(3&n[t])<<4|n[t+1]>>4],r+=K[(15&n[t+1])<<2|n[t+2]>>6],r+=K[63&n[t+2]];return n.length%3===2?r=r.substring(0,r.length-1)+"=":n.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function me(e,t){var n="";if(e&&(n=he.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===he.call(e.buffer))){var r,o=X;e instanceof ArrayBuffer?(r=e,o+=ee):(r=e.buffer,"[object Int8Array]"===n?o+=ne:"[object Uint8Array]"===n?o+=re:"[object Uint8ClampedArray]"===n?o+=oe:"[object Int16Array]"===n?o+=ie:"[object Uint16Array]"===n?o+=se:"[object Int32Array]"===n?o+=ae:"[object Uint32Array]"===n?o+=le:"[object Float32Array]"===n?o+=ce:"[object Float64Array]"===n?o+=ue:t(new Error("Failed to get type for BinaryArray"))),t(o+pe(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n=Y+e.type+"~"+pe(this.result);t(X+te+n)},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(a){console.error("Couldn't convert value into a JSON string: ",e),t(null,a)}}function ge(e){if(e.substring(0,Q)!==X)return JSON.parse(e);var t,n=e.substring(de),r=e.substring(Q,de);if(r===te&&J.test(n)){var o=n.match(J);t=o[1],n=n.substring(o[0].length)}var i=fe(n);switch(r){case ee:return i;case te:return l([i],{type:t});case ne:return new Int8Array(i);case re:return new Uint8Array(i);case oe:return new Uint8ClampedArray(i);case ie:return new Int16Array(i);case se:return new Uint16Array(i);case ae:return new Int32Array(i);case le:return new Uint32Array(i);case ce:return new Float32Array(i);case ue:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}}var ve={serialize:me,deserialize:ge,stringToBuffer:fe,bufferToString:pe};function ye(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function be(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!==typeof e[r]?e[r].toString():e[r];var o=new c((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(o){return r(o)}n.db.transaction((function(o){ye(o,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=ve,o}function we(e,t,n,r,o,i){e.executeSql(n,r,o,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,s){s.rows.length?i(e,a):ye(e,t,(function(){e.executeSql(n,r,o,i)}),i)}),i):i(e,a)}),i)}function _e(e,t){var n=this;e=h(e);var r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return u(r,t),r}function Se(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"SELECT * FROM "+o.storeName,[],(function(n,r){for(var i=r.rows,a=i.length,s=0;s0)return void i(xe.apply(o,[e,s,n,r-1]));a(t)}}))}))})).catch(a)}));return u(i,n),i}function Ce(e,t,n){return xe.apply(this,[e,t,n,1])}function ke(e,t){var n=this;e=h(e);var r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return u(r,t),r}function Ze(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return u(n,e),n}function Ee(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return u(n,e),n}function Re(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return u(r,t),r}function Te(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],o=0;o '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var o=[],i=0;i0}function Ne(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=Le(e,t._defaultConfig),De()?(t._dbInfo=n,n.serializer=ve,c.resolve()):c.reject()}function je(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return u(n,e),n}function $e(e,t){var n=this;e=h(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return u(r,t),r}function Fe(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,o=r.length,i=localStorage.length,a=1,s=0;s=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):c.reject("Invalid arguments"),u(r,t),r}var Ge={_driver:"localStorageWrapper",_initStorage:Ne,_support:Oe(),iterate:Fe,getItem:$e,setItem:Ue,removeItem:He,clear:je,length:Be,key:ze,keys:We,dropInstance:Ve},qe=function(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)},Ke=function(e,t){for(var n=e.length,r=0;r-1},P.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},M.prototype.clear=function(){this.__data__={hash:new A,map:new(Z||P),string:new A}},M.prototype.delete=function(e){return D(this,e).delete(e)},M.prototype.get=function(e){return D(this,e).get(e)},M.prototype.has=function(e){return D(this,e).has(e)},M.prototype.set=function(e,t){return D(this,e).set(e,t),this};var j=F((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(c,(function(e,t,r,o){n.push(r?o.replace(u,"$1"):t||e)})),n}));function $(e){if("string"==typeof e||B(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function F(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(F.Cache||M),n}F.Cache=M;var z=Array.isArray;function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==S.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:L(e,t);return void 0===r?n:r}},2467:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",h="[object Number]",f="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",S=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[i]=C[a]=C[w]=C[s]=C[_]=C[l]=C[c]=C[u]=C[d]=C[h]=C[f]=C[m]=C[g]=C[v]=C[b]=!1;var k="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,Z="object"==typeof self&&self&&self.Object===Object&&self,E=k||Z||Function("return this")(),R=t&&!t.nodeType&&t,T=R&&e&&!e.nodeType&&e,A=T&&T.exports===R,P=A&&k.process,M=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),O=M&&M.isTypedArray;function L(e,t){for(var n=-1,r=null==e?0:e.length;++ns))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,h=2&n?new be:void 0;for(i.set(e,t),i.set(t,e);++u-1},ve.prototype.set=function(e,t){var n=this.__data__,r=Se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(oe||ve),string:new ge}},ye.prototype.delete=function(e){var t=Ae(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Ae(this,e).get(e)},ye.prototype.has=function(e){return Ae(this,e).has(e)},ye.prototype.set=function(e,t){var n=Ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,r),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ve,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ve){var r=n.__data__;if(!oe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(r)}return n.set(e,t),this.size=n.size,this};var Me=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=o}function We(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Be(e){return null!=e&&"object"==typeof e}var He=O?function(e){return function(t){return e(t)}}(O):function(e){return Be(e)&&ze(e.length)&&!!C[xe(e)]};function Ue(e){return null!=(t=e)&&ze(t.length)&&!Fe(t)?_e(e):Ee(e);var t}e.exports=function(e,t){return ke(e,t)}},888:function(e,t,n){"use strict";var r=n(9047);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6877:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&this.handleMarkers(S);var Z=this.editor.$options;c.editorOptions.forEach((function(t){Z.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option ".concat(t," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))})),this.handleOptions(this.props),Array.isArray(w)&&w.forEach((function(t){"string"===typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)})),y&&this.editor.setKeyboardHandler("ace/keyboard/"+y),n&&(this.refEditor.className+=" "+n),b&&b(this.editor),this.editor.resize(),a&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,r=0;r0&&e.handleMarkers(_,t);for(r=0;r
|/);if(t){var n=[],o=1;do{var i=e.split(t[0]);if(i[0]&&n.push(r.default.createElement("span",{key:"a"+o++},i[0])),t[0].startsWith("([^<]*)|/))||i[1]&&n.push(r.default.createElement("span",{key:"a"+o++},i[1]))}while(t);return n}return e}},{key:"getSmartName",value:function(e,t,n,r){return t?r?e[t]&&e[t].common&&e[t].common.custom&&e[t].common.custom[n]&&e[t].common.custom[n].smartName||null:e[t].common.smartName:r?e&&!e.common?e.smartName:e&&e.common&&e.common.custom&&e.common.custom[n]?e.common.custom[n].smartName:void 0:e.common?e&&!e.common?e.smartName:e.common.smartName:e.smartName}},{key:"getSmartNameFromObj",value:function(e,t,n){return n?e&&!e.common?e.smartName:e&&e.common&&e.common.custom&&e.common.custom[t]?e.common.custom[t].smartName:void 0:e.common?e&&!e.common?e.smartName:e.common.smartName:e.smartName}},{key:"enableSmartName",value:function(e,t,n){n?(e.common.custom=e.common.custom||{},e.common.custom[t]=e.common.custom[t]||{},e.common.custom[t].smartName={}):e.common.smartName={}}},{key:"removeSmartName",value:function(e,t,n){n?e.common&&e.common.custom&&e.common.custom[t]&&(e.common.custom[t]=null):e.common.smartName=null}},{key:"updateSmartName",value:function(e,t,n,r,i,a){var s,c=o.default.getLanguage();if("string"===typeof e.common.smartName){var u=e.common.smartName;e.common.smartName={},e.common.smartName[c]=u}if(e.native&&e.native.byON){delete e.native.byON;var d=e.common.smartName;d&&"object"===l(d)||((d={en:d})[c]=d.en),e.common.smartName=d}if(void 0!==r&&(a?(e.common.custom=e.common.custom||{},e.common.custom[i]=e.common.custom[i]||{},e.common.custom[i].smartName=e.common.custom[i].smartName||{},r?e.common.custom[i].smartName.smartType=r:delete e.common.custom[i].smartName.smartType):(e.common.smartName=e.common.smartName||{},r?e.common.smartName.smartType=r:delete e.common.smartName.smartType)),void 0!==n&&(a?(e.common.custom=e.common.custom||{},e.common.custom[i]=e.common.custom[i]||{},e.common.custom[i].smartName=e.common.custom[i].smartName||{},e.common.custom[i].smartName.byON=n):(e.common.smartName=e.common.smartName||{},e.common.smartName.byON=n)),void 0!==t&&(a?(e.common.custom=e.common.custom||{},e.common.custom[i]=e.common.custom[i]||{},e.common.custom[i].smartName=e.common.custom[i].smartName||{},s=e.common.custom[i].smartName):(e.common.smartName=e.common.smartName||{},s=e.common.smartName),s[c]=t,s&&(!s[c]||s[c]===e.common.name&&(!e.common.role||e.common.role.indexOf("button")>=0)))){delete s[c];var h=!0;for(var f in s)if(s.hasOwnProperty(f)){h=!1;break}h&&(a?void 0===e.common.custom[i].smartName.byON?delete e.common.custom[i]:(delete e.common.custom[i].en,delete e.common.custom[i].de,delete e.common.custom[i].ru,delete e.common.custom[i].nl,delete e.common.custom[i].pl,delete e.common.custom[i].it,delete e.common.custom[i].fr,delete e.common.custom[i].pt,delete e.common.custom[i].es,delete e.common.custom[i]["zh-cn"]):void 0!==e.common.smartName.byON?(delete e.common.smartName.en,delete e.common.smartName.de,delete e.common.smartName.ru,delete e.common.smartName.nl,delete e.common.smartName.pl,delete e.common.smartName.it,delete e.common.smartName.fr,delete e.common.smartName.pt,delete e.common.smartName.es,delete e.common.smartName["zh-cn"]):e.common.smartName=null)}}},{key:"disableSmartName",value:function(e,t,n){n?(e.common.custom=e.common.custom||{},e.common.custom[t]=e.common.custom[t]||{},e.common.custom[t].smartName=!1):e.common.smartName=!1}},{key:"copyToClipboard",value:function(e,t){var n=window.document.createElement("textarea");n.value=e,window.document.body.appendChild(n),n.select(),window.document.execCommand("copy"),window.document.body.removeChild(n),console.log(e),t&&t.stopPropagation(),t&&t.preventDefault()}},{key:"getFileExtension",value:function(e){var t=(e||"").lastIndexOf(".");return-1!==t?e.substring(t+1).toLowerCase():null}},{key:"formatBytes",value:function(e){if(Math.abs(e)<1024)return e+" B";var t=["KB","MB","GB"],n=-1;do{e/=1024,++n}while(Math.abs(e)>=1024&&n186?"#000000":"#FFFFFF":(o=(255-o).toString(16),i=(255-i).toString(16),a=(255-a).toString(16),"#"+o.padStart(2,"0")+i.padStart(2,"0")+a.padStart(2,"0"))}},{key:"_toVal",value:function(t){var n,r,o="";if("string"===typeof t||"number"===typeof t)o+=t;else if("object"===l(t))if(Array.isArray(t))for(n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix?window.vendorPrefix:e||(window.localStorage&&window.localStorage.getItem("App.themeName")?window.localStorage.getItem("App.themeName"):window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"colored")}},{key:"getThemeType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix?"light":"dark"===(e=e||window.localStorage&&window.localStorage.getItem("App.themeName"))||"blue"===e?"dark":"light"}},{key:"setThemeName",value:function(e){window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix||(window.localStorage.setItem("App.themeName",e),window.localStorage.setItem("App.theme","dark"===e||"blue"===e?"dark":"light"))}},{key:"toggleTheme",value:function(t){if(window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix)return window.vendorPrefix;t=t||window.localStorage&&window.localStorage.getItem("App.themeName");var n,r=e.getThemeNames(),o=r.indexOf(t);return n=-1!==o?r[(o+1)%r.length]:r[0],e.setThemeName(n),n}},{key:"getThemeNames",value:function(){return window.vendorPrefix&&"@@vendorPrefix@@"!==window.vendorPrefix?[window.vendorPrefix]:["light","dark","blue","colored"]}},{key:"parseQuery",value:function(e){e=(e||"").toString().replace(/^\?/,"");var t={};return e.split("&").forEach((function(e){if(e=e.trim()){var n=e.split("="),r=decodeURIComponent(n[0]).trim();if(n.length>1)if(t[r]=decodeURIComponent(n[1]),"true"===t[r])t[r]=!0;else if("false"===t[r])t[r]=!1;else{var o=parseFloat(t[r]);o.toString()===t[r]&&(t[r]=o)}else t[r]=!0}})),t}},{key:"getParentId",value:function(e){var t=(e||"").toString().split(".");return t.length>1?(t.pop(),t.join(".")):null}},{key:"formatDate",value:function(e,t){if(!e)return"";var n,r=e.getMonth()+1;r<10&&(r="0"+r);var o=e.getDate();o<10&&(o="0"+o),n="MM/DD/YYYY"===t?r+"/"+o+"/"+e.getFullYear():e.getFullYear()+"-"+r+"-"+o;var i=e.getHours();return n+=i<10?" 0"+i:" "+i,n+=(i=e.getMinutes())<10?":0"+i:":"+i,n+=(i=e.getSeconds())<10?":0"+i:":"+i,n+=(i=e.getMilliseconds())<10?".00"+i:i<100?".0"+i:"."+i}},{key:"formatTime",value:function(e){if(e){e=Math.round(e);var t=Math.floor(e/86400),n=Math.floor(e%86400/3600),r=Math.floor(e%3600/60),o=e%60;return t?"".concat(t,".").concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0")):n?"".concat(n,":").concat(r.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0")):"0:".concat(r.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0"))}return"0:00:00"}},{key:"MDtext2link",value:function(e){var t=e.match(/\d+\.\)\s/);return t&&(e=e.replace(t[0],t[0].replace(/\s/," "))),e.replace(/[^a-zA-Z\u0430-\u044f\u0410-\u042f0-9]/g,"").trim().replace(/\s/g,"").toLowerCase()}},{key:"openLink",value:function(e,t){e=e.replace(/\/\/([0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*)(:\d+)?\//i,"//[$1]$2/"),"this"===t?window.location=e:window.open(e,t||"_blank")}},{key:"MDgetTitle",value:function(t){var n=e.extractHeader(t),r=n.body,o=n.header;if(o.title)return o.title;for(var i=(r=(r=r.replace(/{[^}]*}/g,"")).trim()).replace(/\r/g,"").split("\n"),a=0;a>16).toString(16).toUpperCase()),t}},{key:"clone",value:function(e){return JSON.parse(JSON.stringify(e))}},{key:"getStates",value:function(e){var t,n=null===e||void 0===e||null===(t=e.common)||void 0===t?void 0:t.states;if(n)if("string"===typeof n&&"{"===n[0])try{n=JSON.parse(n)}catch(s){console.error("Cannot parse states: ".concat(n)),n=null}else if("string"===typeof n){var r=n.split(";");n={};for(var o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&(o.type="chained"),t.push(o))}})),t})),this._promises.cert):Promise.reject(u)}},{key:"getLogs",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?new Promise((function(e){return r._socket.emit("sendToHost",t,"getLogs",n||200,(function(t){return e(t)}))})):Promise.reject(u)}},{key:"getLogsFiles",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?new Promise((function(e,r){return n._socket.emit("readLogs",t,(function(t,n){return t?r(t):e(n)}))})):Promise.reject(u)}},{key:"delLogs",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?new Promise((function(e,r){return n._socket.emit("sendToHost",t,"delLogs",null,(function(t){return t?r(t):e()}))})):Promise.reject(u)}},{key:"readMetaItems",value:function(){var e=this;return this.connected?new Promise((function(t,n){return e._socket.emit("getObjectView","system","meta",{startkey:"",endkey:"\u9999"},(function(e,r){return e?n(e):t(r.rows&&r.rows.map((function(e){return e.value})))}))})):Promise.reject(u)}},{key:"readDir",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("readDir",e,t,(function(e,t){return e?o(e):r(t)}))})):Promise.reject(u)}},{key:"readFile",value:function(e,t,n){var r=this;return this.connected?new Promise((function(o,i){n?r._socket.emit("readFile64",e,t,n,(function(e,t){return e?i(e):o(t)})):r._socket.emit("readFile",e,t,(function(e,t,n){e?i(e):o({data:t,type:n})}))})):Promise.reject(u)}},{key:"writeFile64",value:function(e,t,n){var r=this;return this.connected?new Promise((function(o,i){if("string"===typeof n)r._socket.emit("writeFile",e,t,n,(function(e){return e?i(e):o()}));else{var a=btoa(new Uint8Array(n).reduce((function(e,t){return e+String.fromCharCode(t)}),""));r._socket.emit("writeFile64",e,t,a,(function(e){return e?i(e):o()}))}})):Promise.reject(u)}},{key:"rename",value:function(e,t,n){var r=this;return this.connected?new Promise((function(o,i){return r._socket.emit("rename",e,t,n,(function(e){return e?i(e):o()}))})):Promise.reject(u)}},{key:"deleteFile",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("unlink",e,t,(function(e){return e?o(e):r()}))})):Promise.reject(u)}},{key:"deleteFolder",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("deleteFolder",e,t,(function(e){return e?o(e):r()}))})):Promise.reject(u)}},{key:"getHosts",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):!t&&this._promises.hosts?this._promises.hosts:this.connected?(this._promises.hosts=new Promise((function(e,t){return n._socket.emit("getObjectView","system","host",{startkey:"system.host.",endkey:"system.host.\u9999"},(function(n,r){n?t(n):e(r.rows.map((function(e){return e.value})))}))})),this._promises.hosts):Promise.reject(u)}},{key:"getUsers",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):!t&&this._promises.users?this._promises.users:this.connected?(this._promises.users=new Promise((function(e,t){return n._socket.emit("getObjectView","system","user",{startkey:"system.user.",endkey:"system.user.\u9999"},(function(n,r){n?t(n):e(r.rows.map((function(e){return e.value})))}))})),this._promises.users):Promise.reject(u)}},{key:"getGroups",value:function(e){var t=this;return!e&&this._promises.groups?this._promises.groups:this.connected?(this._promises.groups=new Promise((function(e,n){return t._socket.emit("getObjectView","system","group",{startkey:"system.group.",endkey:"system.group.\u9999"},(function(t,r){t?n(t):e(r.rows.map((function(e){return e.value})))}))})),this._promises.groups):Promise.reject(u)}},{key:"getHostInfo",value:function(t,n,r){var o=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")||(t+="system.host."+t),!n&&this._promises["hostInfo"+t]?this._promises["hostInfo"+t]:this.connected?(this._promises["hostInfo"+t]=new Promise((function(e,n){var i=setTimeout((function(){i&&(i=null,n("getHostInfo timeout"))}),r||o.props.cmdTimeout);o._socket.emit("sendToHost",t,"getHostInfo",null,(function(t){i&&(clearTimeout(i),i=null,t===c?n('May not read "getHostInfo"'):t?e(t):n('Cannot read "getHostInfo"'))}))})),this._promises["hostInfo"+t]):Promise.reject(u))}},{key:"getHostInfoShort",value:function(t,n,r){var o=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")||(t+="system.host."+t),!n&&this._promises["hostInfoShort"+t]?this._promises["hostInfoShort"+t]:this.connected?(this._promises["hostInfoShort"+t]=new Promise((function(e,n){var i=setTimeout((function(){i&&(i=null,n("hostInfoShort timeout"))}),r||o.props.cmdTimeout);o._socket.emit("sendToHost",t,"getHostInfoShort",null,(function(t){i&&(clearTimeout(i),i=null,t===c?n('May not read "getHostInfoShort"'):t?e(t):n('Cannot read "getHostInfoShort"'))}))})),this._promises["hostInfoShort"+t]):Promise.reject(u))}},{key:"getRepository",value:function(t,n,r,o){var i=this;return e.isWeb()?Promise.reject("Allowed only in admin"):!r&&this._promises.repo?this._promises.repo:this.connected?(t.startsWith("system.host.")||(t+="system.host."+t),this._promises.repo=new Promise((function(e,r){var a=setTimeout((function(){a&&(a=null,r("getRepository timeout"))}),o||i.props.cmdTimeout);i._socket.emit("sendToHost",t,"getRepository",n,(function(t){a&&(clearTimeout(a),a=null,t===c?r('May not read "getRepository"'):t?e(t):r('Cannot read "getRepository"'))}))})),this._promises.repo):Promise.reject(u)}},{key:"getInstalled",value:function(t,n,r){var o=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(this._promises.installed=this._promises.installed||{},!n&&this._promises.installed[t]?this._promises.installed[t]:this.connected?(t.startsWith("system.host.")||(t+="system.host."+t),this._promises.installed[t]=new Promise((function(e,n){var i=setTimeout((function(){i&&(i=null,n("getInstalled timeout"))}),r||o.props.cmdTimeout);o._socket.emit("sendToHost",t,"getInstalled",null,(function(t){i&&(clearTimeout(i),i=null,t===c?n('May not read "getInstalled"'):t?e(t):n('Cannot read "getInstalled"'))}))})),this._promises.installed[t]):Promise.reject(u))}},{key:"cmdExec",value:function(t,n,r,o){var i=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.connected?(t.startsWith(t)||(t+="system.host."+t),new Promise((function(e,a){var s=o&&setTimeout((function(){s&&(s=null,a("cmdExec timeout"))}),o);i._socket.emit("cmdExec",t,r,n,null,(function(t){o&&!s||(s&&clearTimeout(s),s=null,t?a(t):e())}))}))):Promise.reject(u)}},{key:"checkFeatureSupported",value:function(e,t){var n=this;return!t&&this._promises["supportedFeatures_"+e]?this._promises["supportedFeatures_"+e]:this.connected?(this._promises["supportedFeatures_"+e]=new Promise((function(t,r){return n._socket.emit("checkFeatureSupported",e,(function(e,n){e?r(e):t(n)}))})),this._promises["supportedFeatures_"+e]):Promise.reject(u)}},{key:"readBaseSettings",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.checkFeatureSupported("CONTROLLER_READWRITE_BASE_SETTINGS").then((function(e){return e?n.connected?new Promise((function(e,r){var o=setTimeout((function(){o&&(o=null,r("readBaseSettings timeout"))}),n.props.cmdTimeout);t.startsWith("system.host.")&&(t=t.replace(/^system\.host\./,"")),n._socket.emit("sendToHost",t,"readBaseSettings",null,(function(t){o&&(clearTimeout(o),o=null,t===c?r('May not read "BaseSettings"'):t?e(t):r('Cannot read "BaseSettings"'))}))})):Promise.reject(u):Promise.reject("Not supported")}))}},{key:"writeBaseSettings",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):this.checkFeatureSupported("CONTROLLER_READWRITE_BASE_SETTINGS").then((function(e){return e?r.connected?new Promise((function(e,o){var i=setTimeout((function(){i&&(i=null,o("writeBaseSettings timeout"))}),r.props.cmdTimeout);r._socket.emit("sendToHost",t,"writeBaseSettings",n,(function(t){i&&(clearTimeout(i),i=null,t===c?o('May not write "BaseSettings"'):t?e(t):o('Cannot write "BaseSettings"'))}))})):Promise.reject(u):Promise.reject("Not supported")}))}},{key:"restartController",value:function(t){var n=this;return e.isWeb()?Promise.reject("Allowed only in admin"):new Promise((function(e,r){n._socket.emit("sendToHost",t,"restartController",null,(function(t){t?r(t):e(!0)}))}))}},{key:"getDiagData",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):new Promise((function(e){r._socket.emit("sendToHost",t,"getDiagData",n,(function(t){return e(t)}))}))}},{key:"getForeignStates",value:function(t){var n=this;return this.connected?e.isWeb()?new Promise((function(e,r){return n._socket.emit("getStates",t||"*",(function(t,n){return t?r(t):e(n)}))})):new Promise((function(e,r){return n._socket.emit("getForeignStates",t||"*",(function(t,n){return t?r(t):e(n)}))})):Promise.reject(u)}},{key:"getForeignObjects",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("getForeignObjects",e||"*",t,(function(e,t){return e?o(e):r(t)}))})):Promise.reject(u)}},{key:"getSystemConfig",value:function(e){return!e&&this._promises.systemConfig?this._promises.systemConfig:this.connected?(this._promises.systemConfig=this.getObject("system.config").then((function(e){return(e=e||{}).common=e.common||{},e.native=e.native||{},e})),this._promises.systemConfig):Promise.reject(u)}},{key:"setSystemConfig",value:function(e){var t=this;return this.setObject("system.config",e).then((function(){return t._promises.systemConfig=Promise.resolve(e)}))}},{key:"getRawSocket",value:function(){return this._socket}},{key:"getHistory",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("getHistory",e,t,(function(e,t){return e?o(e):r(t)}))})):Promise.reject(u)}},{key:"getHistoryEx",value:function(e,t){var n=this;return this.connected?new Promise((function(r,o){return n._socket.emit("getHistory",e,t,(function(e,t,n,i){return e?o(e):r({values:t,sessionId:i,stepIgnore:n})}))})):Promise.reject(u)}},{key:"changePassword",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):new Promise((function(e,o){return r._socket.emit("changePassword",t,n,(function(t){return t?o(t):e()}))}))}},{key:"getIpAddresses",value:function(t,n){return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")||(t="system.host."+t),!n&&this._promises["IPs_"+t]||(this._promises["IPs_"+t]=this.getObject(t).then((function(e){return e&&e.common&&e.common.address||[]}))),this._promises["IPs_"+t])}},{key:"getHostByIp",value:function(t,n){var r=this;return e.isWeb()?Promise.reject("Allowed only in admin"):(t.startsWith("system.host.")&&(t=t.replace(/^system\.host\./,"")),!n&&this._promises["rIPs_"+t]||(this._promises["rIPs_"+t]=new Promise((function(e){return r._socket.emit("getHostByIp",t,(function(t,n){var r,o,i=[{name:"[IPv4] 0.0.0.0 - Listen on all IPs",address:"0.0.0.0",family:"ipv4"}],a=[{name:"[IPv6] :: - Listen on all IPs",address:"::",family:"ipv6"}];if(null!==(r=n.native)&&void 0!==r&&null!==(o=r.hardware)&&void 0!==o&&o.networkInterfaces)for(var s in n.native.hardware.networkInterfaces)if(n.native.hardware.networkInterfaces.hasOwnProperty(s))for(var l=0;l0&&void 0!==arguments[0]?arguments[0]:"";return(0,f.default)(g.default.getThemeName(e))}},{key:"getThemeName",value:function(e){return e.name}},{key:"getThemeType",value:function(e){return e.palette.mode}},{key:"toggleTheme",value:function(){var e=this,t=this.state.themeName,n="dark"===t?"blue":"blue"===t?"colored":"colored"===t?"light":"dark";g.default.setThemeName(n);var r=this.createTheme(n);this.setState({theme:r,themeName:this.getThemeName(r),themeType:this.getThemeType(r)},(function(){e.props.onThemeChange&&e.props.onThemeChange(n),e.onThemeChanged&&e.onThemeChanged(n)}))}},{key:"getSystemConfig",value:function(){return this.socket.getSystemConfig()}},{key:"getExpertMode",value:function(){return"true"===window.sessionStorage.getItem("App.expertMode")||!!this._systemConfig.expertMode}},{key:"onConnectionReady",value:function(){}},{key:"encrypt",value:function(e){for(var t="",n=0;n=e[n]}))||"xs"}},{key:"onClose",value:function(){if("undefined"!==typeof window.parent&&window.parent)try{window.parent.$iframeDialog&&"function"===typeof window.parent.$iframeDialog.close?window.parent.$iframeDialog.close():window.parent.postMessage("close","*")}catch(e){window.parent.postMessage("close","*")}}}],i&&k(t.prototype,i),b&&k(t,b),Object.defineProperty(t,"prototype",{writable:!1}),_}(m.default);L.propTypes={adapterName:i.default.string,onThemeChange:i.default.func,socket:i.default.object,encryptedFields:i.default.array,bottomButtons:i.default.bool,Connection:i.default.object};var I=L;t.Z=I},6940:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){console.log("\n\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \n\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2554\u255d\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\n\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\n\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u255d \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\n\u2588\u2588\u2551\u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2551\u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\n\u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\n"),console.log("Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters"),console.log("Help us to create open source project with reactJS!"),console.log("See you :)")};t.default=n},7674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1030),o=n(4242),i=11/23/100;function a(e){var t={r:0,g:0,b:0};if(7===e.length)t.r=parseInt(e.substr(1,2),16),t.g=parseInt(e.substr(3,2),16),t.b=parseInt(e.substr(5,2),16);else if(4===e.length){var n=e.substr(1,1),r=e.substr(2,1),o=e.substr(3,1);t.r=parseInt(n+n,16),t.g=parseInt(r+r,16),t.b=parseInt(o+o,16)}return t}function s(e,t,n){var r,o=a(e),s=a(t);return o.r+=s.r*(.05+i*(n-1)),o.g+=s.g*(.05+i*(n-1)),o.b+=s.b*(.05+i*(n-1)),r=o,"#".concat(Math.round(r.r).toString(16)).concat(Math.round(r.g).toString(16)).concat(Math.round(r.b).toString(16))}function l(e,t){for(var n={},r=1;r<=24;r++)n["elevation".concat(r)]={backgroundColor:s(e,t,r)};return n}var c=function(e){var t;return(t="dark"===e?{name:e,palette:{mode:"dark",background:{paper:"#121212",default:"#121212"},primary:{main:"#4dabf5"},secondary:{main:"#436a93"},expert:"#14bb00",text:{primary:"#ffffff",secondary:"#ffffff"}},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#272727"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[200],"&:hover":{color:o.orange[100]}}},MuiPaper:l("#121212","#fff")}}:"blue"===e?{name:e,palette:{mode:"dark",background:{paper:"#151d21",default:"#151d21"},primary:{main:"#4dabf5"},secondary:{main:"#436a93"},expert:"#14bb00",text:{primary:"#ffffff",secondary:"#ffffff"}},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#2a3135"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[200],"&:hover":{color:o.orange[100]}}},MuiPaper:l("#151d21","#fff")}}:"colored"===e?{name:e,palette:{mode:"light",primary:{main:"#3399CC"},secondary:{main:"#164477"},expert:"#96fc96"},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#3399CC"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}:"PT"===e?{name:e,palette:{mode:"light",primary:{main:"#0F99DE"},secondary:{main:"#88A536"},expert:"#BD1B24"},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#0F99DE"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}:"DX"===e?{name:e,palette:{mode:"light",primary:{main:"#F5F5F7"},secondary:{main:"#a9a9a9"},expert:"#BD1B24",text:{primary:"#007AFE",secondary:"#007AFE",disabled:"#007AFEAA"}},overrides:{MuiAppBar:{colorDefault:{backgroundColor:"#a9a9a9"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}:{name:e,palette:{mode:"light",primary:{main:"#3399CC"},secondary:{main:"#164477"},expert:"#14bb00"},overrides:{MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:o.orange[400],"&:hover":{color:o.orange[300]}}}}}).toolbar={height:48},t.saveToolbar={background:t.palette.primary.main,button:{borderRadius:3,height:32}},t.palette.grey={main:o.grey[300],dark:o.grey[400]},t=(0,r.createTheme)((0,r.adaptV4Theme)(t)),(0,r.createTheme)(t,{components:{MuiButton:{variants:[{props:{variant:"contained",color:"grey"},style:{color:t.palette.getContrastText(t.palette.grey[300])}},{props:{variant:"outlined",color:"grey"},style:{color:t.palette.text.primary,borderColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)","&.Mui-disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)},"&:hover":{borderColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)",backgroundColor:(0,r.alpha)(t.palette.text.primary,t.palette.action.hoverOpacity)}}},{props:{color:"grey",variant:"text"},style:{color:t.palette.text.primary,"&:hover":{backgroundColor:(0,r.alpha)(t.palette.text.primary,t.palette.action.hoverOpacity)}}}]}}})};t.default=c},8181:function(e,t){"use strict";function n(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(!t||!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]||"spacing-xs-".concat(String(e))];var r=e.xs,o=e.sm,i=e.md,a=e.lg,s=e.xl;return[Number(r)>0&&(n["spacing-xs-".concat(String(r))]||"spacing-xs-".concat(String(r))),Number(o)>0&&(n["spacing-sm-".concat(String(o))]||"spacing-sm-".concat(String(o))),Number(i)>0&&(n["spacing-md-".concat(String(i))]||"spacing-md-".concat(String(i))),Number(a)>0&&(n["spacing-lg-".concat(String(a))]||"spacing-lg-".concat(String(a))),Number(s)>0&&(n["spacing-xl-".concat(String(s))]||"spacing-xl-".concat(String(s)))]}var w=(0,h.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,o=n.container,i=n.direction,a=n.item,s=n.lg,l=n.md,c=n.sm,u=n.spacing,d=n.wrap,h=n.xl,f=n.xs,p=n.zeroMinWidth;return[t.root,o&&t.container,a&&t.item,p&&t.zeroMinWidth].concat((0,r.Z)(b(u,o,t)),["row"!==i&&t["direction-xs-".concat(String(i))],"wrap"!==d&&t["wrap-xs-".concat(String(d))],!1!==f&&t["grid-xs-".concat(String(f))],!1!==c&&t["grid-sm-".concat(String(c))],!1!==l&&t["grid-md-".concat(String(l))],!1!==s&&t["grid-lg-".concat(String(s))],!1!==h&&t["grid-xl-".concat(String(h))]])}})((function(e){var t=e.ownerState;return(0,a.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,c.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,c.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(m.Z.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.rowSpacing,a={};if(r&&0!==i){var s=(0,c.P$)({values:i,breakpoints:t.breakpoints.values});a=(0,c.k9)({theme:t},s,(function(e){var n=t.spacing(e);return"0px"!==n?(0,o.Z)({marginTop:"-".concat(y(n))},"& > .".concat(m.Z.item),{paddingTop:y(n)}):{}}))}return a}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.columnSpacing,a={};if(r&&0!==i){var s=(0,c.P$)({values:i,breakpoints:t.breakpoints.values});a=(0,c.k9)({theme:t},s,(function(e){var n=t.spacing(e);return"0px"!==n?(0,o.Z)({width:"calc(100% + ".concat(y(n),")"),marginLeft:"-".concat(y(n))},"& > .".concat(m.Z.item),{paddingLeft:y(n)}):{}}))}return a}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var s=(0,c.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof s?s[o]:s;if(void 0===l||null===l)return e;var u="".concat(Math.round(t/l*1e8)/1e6,"%"),d={};if(r.container&&r.item&&0!==r.columnSpacing){var h=n.spacing(r.columnSpacing);if("0px"!==h){var f="calc(".concat(u," + ").concat(y(h),")");d={flexBasis:f,maxWidth:f}}}i=(0,a.Z)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})})),_=s.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiGrid"}),o=(0,u.Z)(n),c=o.className,h=o.columns,y=o.columnSpacing,_=o.component,S=void 0===_?"div":_,x=o.container,C=void 0!==x&&x,k=o.direction,Z=void 0===k?"row":k,E=o.item,R=void 0!==E&&E,T=o.lg,A=void 0!==T&&T,P=o.md,M=void 0!==P&&P,O=o.rowSpacing,L=o.sm,I=void 0!==L&&L,D=o.spacing,N=void 0===D?0:D,j=o.wrap,$=void 0===j?"wrap":j,F=o.xl,z=void 0!==F&&F,W=o.xs,B=void 0!==W&&W,H=o.zeroMinWidth,U=void 0!==H&&H,V=(0,i.Z)(o,v),G=O||N,q=y||N,K=s.useContext(p),Y=C?h||12:K,J=(0,a.Z)({},o,{columns:Y,container:C,direction:Z,item:R,lg:A,md:M,sm:I,rowSpacing:G,columnSpacing:q,wrap:$,xl:z,xs:B,zeroMinWidth:U}),X=function(e){var t=e.classes,n=e.container,o=e.direction,i=e.item,a=e.lg,s=e.md,l=e.sm,c=e.spacing,u=e.wrap,h=e.xl,f=e.xs,p={root:["root",n&&"container",i&&"item",e.zeroMinWidth&&"zeroMinWidth"].concat((0,r.Z)(b(c,n)),["row"!==o&&"direction-xs-".concat(String(o)),"wrap"!==u&&"wrap-xs-".concat(String(u)),!1!==f&&"grid-xs-".concat(String(f)),!1!==l&&"grid-sm-".concat(String(l)),!1!==s&&"grid-md-".concat(String(s)),!1!==a&&"grid-lg-".concat(String(a)),!1!==h&&"grid-xl-".concat(String(h))])};return(0,d.Z)(p,m.H,t)}(J);return(0,g.jsx)(p.Provider,{value:Y,children:(0,g.jsx)(w,(0,a.Z)({ownerState:J,className:(0,l.Z)(X.root,c),as:S,ref:t},V))})}))},1242:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(3433),o=n(9818);function i(e){return(0,o.Z)("MuiGrid",e)}var a=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],s=(0,n(2152).Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,r.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,r.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,r.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-xs-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-sm-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-md-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-lg-".concat(e)}))),(0,r.Z)(a.map((function(e){return"grid-xl-".concat(e)})))));t.Z=s},3208:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8875),s=n(3967),l=n(4999),c=n(2071),u=n(184),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var f={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},p="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),m=i.forwardRef((function(e,t){var n=e.addEndListener,m=e.appear,g=void 0===m||m,v=e.children,y=e.easing,b=e.in,w=e.onEnter,_=e.onEntered,S=e.onEntering,x=e.onExit,C=e.onExited,k=e.onExiting,Z=e.style,E=e.timeout,R=void 0===E?"auto":E,T=e.TransitionComponent,A=void 0===T?a.ZP:T,P=(0,o.Z)(e,d),M=i.useRef(),O=i.useRef(),L=(0,s.Z)(),I=i.useRef(null),D=(0,c.Z)(v.ref,t),N=(0,c.Z)(I,D),j=function(e){return function(t){if(e){var n=I.current;void 0===t?e(n):e(n,t)}}},$=j(S),F=j((function(e,t){(0,l.n)(e);var n,r=(0,l.C)({style:Z,timeout:R,easing:y},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===R?(n=L.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=o,e.style.transition=[L.transitions.create("opacity",{duration:n,delay:i}),L.transitions.create("transform",{duration:p?n:.666*n,delay:i,easing:a})].join(","),w&&w(e,t)})),z=j(_),W=j(k),B=j((function(e){var t,n=(0,l.C)({style:Z,timeout:R,easing:y},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===R?(t=L.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=r,e.style.transition=[L.transitions.create("opacity",{duration:t,delay:o}),L.transitions.create("transform",{duration:p?t:.666*t,delay:p?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=h(.75),x&&x(e)})),H=j(C);return i.useEffect((function(){return function(){clearTimeout(M.current)}}),[]),(0,u.jsx)(A,(0,r.Z)({appear:g,in:b,nodeRef:I,onEnter:F,onEntered:z,onEntering:$,onExit:B,onExited:H,onExiting:W,addEndListener:function(e){"auto"===R&&(M.current=setTimeout(e,O.current||0)),n&&n(I.current,e)},timeout:"auto"===R?null:R},P,{children:function(e,t){return i.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:h(.75),visibility:"exited"!==e||b?void 0:"hidden"},f[e],Z,v.props.style),ref:N},t))}}))}));m.muiSupportAuto=!0,t.Z=m},977:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(7630),d=n(1402),h=n(2863),f=n(4036),p=n(8647),m=n(184),g=["edge","children","className","color","disabled","disableFocusRipple","size"],v=(0,u.ZP)(h.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,f.Z)(n.color))],n.edge&&t["edge".concat((0,f.Z)(n.edge))],t["size".concat((0,f.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.active," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,i.Z)({color:(t.vars||t).palette[n.color].main},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},(0,r.Z)({},"&.".concat(p.Z.disabled),{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}))})),y=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiIconButton"}),r=n.edge,a=void 0!==r&&r,c=n.children,u=n.className,h=n.color,y=void 0===h?"default":h,b=n.disabled,w=void 0!==b&&b,_=n.disableFocusRipple,S=void 0!==_&&_,x=n.size,C=void 0===x?"medium":x,k=(0,o.Z)(n,g),Z=(0,i.Z)({},n,{edge:a,color:y,disabled:w,disableFocusRipple:S,size:C}),E=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,f.Z)(r)),o&&"edge".concat((0,f.Z)(o)),"size".concat((0,f.Z)(i))]};return(0,l.Z)(a,p.r,t)}(Z);return(0,m.jsx)(v,(0,i.Z)({className:(0,s.Z)(E.root,u),centerRipple:!0,focusRipple:!S,disabled:w,ref:t,ownerState:Z},k,{children:c}))}));t.Z=y},8647:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiIconButton",e)}var i=(0,n(2152).Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);t.Z=i},9076:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},getIconButtonUtilityClass:function(){return o.r},iconButtonClasses:function(){return o.Z}});var r=n(977),o=n(8647)},7808:function(e,t,n){"use strict";var r,o=n(4942),i=n(3366),a=n(7462),s=n(2791),l=n(8182),c=n(2039),u=n(4036),d=n(4567),h=n(3840),f=n(2930),p=n(7630),m=n(3209),g=n(1402),v=n(184),y=["children","className","component","disablePointerEvents","disableTypography","position","variant"],b=(0,p.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,u.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,o.Z)({},"&.".concat(m.Z.positionStart,"&:not(.").concat(m.Z.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),w=s.forwardRef((function(e,t){var n=(0,g.Z)({props:e,name:"MuiInputAdornment"}),o=n.children,p=n.className,w=n.component,_=void 0===w?"div":w,S=n.disablePointerEvents,x=void 0!==S&&S,C=n.disableTypography,k=void 0!==C&&C,Z=n.position,E=n.variant,R=(0,i.Z)(n,y),T=(0,f.Z)()||{},A=E;E&&T.variant,T&&!A&&(A=T.variant);var P=(0,a.Z)({},n,{hiddenLabel:T.hiddenLabel,size:T.size,disablePointerEvents:x,position:Z,variant:A}),M=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,s={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,u.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,u.Z)(i))]};return(0,c.Z)(s,m.w,t)}(P);return(0,v.jsx)(h.Z.Provider,{value:null,children:(0,v.jsx)(b,(0,a.Z)({as:_,ownerState:P,className:(0,l.Z)(M.root,p),ref:t},R,{children:"string"!==typeof o||k?(0,v.jsxs)(s.Fragment,{children:["start"===Z?r||(r=(0,v.jsx)("span",{className:"notranslate",children:"\u200b"})):null,o]}):(0,v.jsx)(d.Z,{color:"text.secondary",children:o})}))})}));t.Z=w},3209:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiInputAdornment",e)}var i=(0,n(2152).Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);t.Z=i},139:function(e,t,n){"use strict";n.d(t,{Ej:function(){return R},Gx:function(){return Z},_o:function(){return E},rA:function(){return T}});var r=n(9439),o=n(4942),i=n(3366),a=n(7462),s=n(6189),l=n(2791),c=n(8182),u=n(2039),d=n(1747),h=n(6897),f=n(6147),p=n(3840),m=n(2930),g=n(7630),v=n(1402),y=n(4036),b=n(2071),w=n(162),_=n(8982),S=n(5470),x=n(5891),C=n(184),k=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Z=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,y.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},E=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},R=(0,g.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Z})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({},t.typography.body1,(0,o.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(x.Z.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,a.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),T=(0,g.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:E})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,s=(0,a.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.placeholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),l={opacity:"0 !important"},c=n.vars?{opacity:n.vars.opacity.placeholder}:{opacity:i?.42:.5};return(0,a.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,o.Z)(t,"label[data-shrink=false] + .".concat(x.Z.formControl," &"),{"&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus:-ms-input-placeholder":c,"&:focus::-ms-input-placeholder":c}),(0,o.Z)(t,"&.".concat(x.Z.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,o.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),A=(0,C.jsx)(_.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),P=l.forwardRef((function(e,t){var n=(0,v.Z)({props:e,name:"MuiInputBase"}),o=n["aria-describedby"],g=n.autoComplete,_=n.autoFocus,Z=n.className,E=n.components,P=void 0===E?{}:E,M=n.componentsProps,O=void 0===M?{}:M,L=n.defaultValue,I=n.disabled,D=n.disableInjectingGlobalStyles,N=n.endAdornment,j=n.fullWidth,$=void 0!==j&&j,F=n.id,z=n.inputComponent,W=void 0===z?"input":z,B=n.inputProps,H=void 0===B?{}:B,U=n.inputRef,V=n.maxRows,G=n.minRows,q=n.multiline,K=void 0!==q&&q,Y=n.name,J=n.onBlur,X=n.onChange,Q=n.onClick,ee=n.onFocus,te=n.onKeyDown,ne=n.onKeyUp,re=n.placeholder,oe=n.readOnly,ie=n.renderSuffix,ae=n.rows,se=n.startAdornment,le=n.type,ce=void 0===le?"text":le,ue=n.value,de=(0,i.Z)(n,k),he=null!=H.value?H.value:ue,fe=l.useRef(null!=he).current,pe=l.useRef(),me=l.useCallback((function(e){0}),[]),ge=(0,b.Z)(H.ref,me),ve=(0,b.Z)(U,ge),ye=(0,b.Z)(pe,ve),be=l.useState(!1),we=(0,r.Z)(be,2),_e=we[0],Se=we[1],xe=(0,m.Z)();var Ce=(0,f.Z)({props:n,muiFormControl:xe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ce.focused=xe?xe.focused:_e,l.useEffect((function(){!xe&&I&&_e&&(Se(!1),J&&J())}),[xe,I,_e,J]);var ke=xe&&xe.onFilled,Ze=xe&&xe.onEmpty,Ee=l.useCallback((function(e){(0,S.vd)(e)?ke&&ke():Ze&&Ze()}),[ke,Ze]);(0,w.Z)((function(){fe&&Ee({value:he})}),[he,Ee,fe]);l.useEffect((function(){Ee(pe.current)}),[]);var Re=W,Te=H;K&&"input"===Re&&(Te=ae?(0,a.Z)({type:void 0,minRows:ae,maxRows:ae},Te):(0,a.Z)({type:void 0,maxRows:V,minRows:G},Te),Re=d.Z);l.useEffect((function(){xe&&xe.setAdornedStart(Boolean(se))}),[xe,se]);var Ae=(0,a.Z)({},n,{color:Ce.color||"primary",disabled:Ce.disabled,endAdornment:N,error:Ce.error,focused:Ce.focused,formControl:xe,fullWidth:$,hiddenLabel:Ce.hiddenLabel,multiline:K,size:Ce.size,startAdornment:se,type:ce}),Pe=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,s=e.formControl,l=e.fullWidth,c=e.hiddenLabel,d=e.multiline,h=e.size,f=e.startAdornment,p=e.type,m={root:["root","color".concat((0,y.Z)(n)),r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl","small"===h&&"sizeSmall",d&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",d&&"inputMultiline","small"===h&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd"]};return(0,u.Z)(m,x.u,t)}(Ae),Me=P.Root||R,Oe=O.root||{},Le=P.Input||T;return Te=(0,a.Z)({},Te,O.input),(0,C.jsxs)(l.Fragment,{children:[!D&&A,(0,C.jsxs)(Me,(0,a.Z)({},Oe,!(0,h.Z)(Me)&&{ownerState:(0,a.Z)({},Ae,Oe.ownerState)},{ref:t,onClick:function(e){pe.current&&e.currentTarget===e.target&&pe.current.focus(),Q&&Q(e)}},de,{className:(0,c.Z)(Pe.root,Oe.className,Z),children:[se,(0,C.jsx)(p.Z.Provider,{value:null,children:(0,C.jsx)(Le,(0,a.Z)({ownerState:Ae,"aria-invalid":Ce.error,"aria-describedby":o,autoComplete:g,autoFocus:_,defaultValue:L,disabled:Ce.disabled,id:F,onAnimationStart:function(e){Ee("mui-auto-fill-cancel"===e.animationName?pe.current:{value:"x"})},name:Y,placeholder:re,readOnly:oe,required:Ce.required,rows:ae,value:he,onKeyDown:te,onKeyUp:ne,type:ce},Te,!(0,h.Z)(Le)&&{as:Re,ownerState:(0,a.Z)({},Ae,Te.ownerState)},{ref:ye,className:(0,c.Z)(Pe.input,Te.className),onBlur:function(e){J&&J(e),H.onBlur&&H.onBlur(e),xe&&xe.onBlur?xe.onBlur(e):Se(!1)},onChange:function(e){if(!fe){var t=e.target||pe.current;if(null==t)throw new Error((0,s.Z)(1));Ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{B7:function(){return i},vd:function(){return o}})},2861:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(2039),l=n(6147),c=n(2930),u=n(7133),d=n(843),h=n(1402),f=n(7630),p=n(1948),m=n(184),g=["disableAnimation","margin","shrink","variant"],v=(0,f.ZP)(u.Z,{shouldForwardProp:function(e){return(0,f.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,r.Z)({},"& .".concat(d.Z.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,i.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),y=a.forwardRef((function(e,t){var n=(0,h.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,a=void 0!==r&&r,u=n.shrink,d=(0,o.Z)(n,g),f=(0,c.Z)(),y=u;"undefined"===typeof y&&f&&(y=f.filled||f.focused||f.adornedStart);var b=(0,l.Z)({props:n,muiFormControl:f,states:["size","variant","required"]}),w=(0,i.Z)({},n,{disableAnimation:a,formControl:f,shrink:y,size:b.size,variant:b.variant,required:b.required}),_=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,a={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},l=(0,s.Z)(a,p.Y,t);return(0,i.Z)({},t,l)}(w);return(0,m.jsx)(v,(0,i.Z)({"data-shrink":y,ownerState:w,ref:t},d,{classes:_}))}));t.Z=y},1948:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiInputLabel",e)}var i=(0,n(2152).Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);t.Z=i},4110:function(e,t,n){"use strict";var r=n(4942),o=n(3433),i=n(3366),a=n(7462),s=n(2791),l=n(2039),c=n(2466),u=n(139),d=n(7630),h=n(1402),f=n(6779),p=n(184),m=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],g=(0,d.ZP)(u.Ej,{shouldForwardProp:function(e){return(0,d.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,o.Z)((0,u.Gx)(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,o=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(i="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputTouchBottomLine,")")),(0,a.Z)({position:"relative"},o.formControl&&{"label + &":{marginTop:16}},!o.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,r.Z)(t,"&.".concat(f.Z.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,r.Z)(t,"&.".concat(f.Z.error,":after"),{borderBottomColor:(n.vars||n).palette.error.main,transform:"scaleX(1)"}),(0,r.Z)(t,"&:before",{borderBottom:"1px solid ".concat(i),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,r.Z)(t,"&:hover:not(.".concat(f.Z.disabled,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(i)}}),(0,r.Z)(t,"&.".concat(f.Z.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),v=(0,d.ZP)(u.rA,{name:"MuiInput",slot:"Input",overridesResolver:u._o})({}),y=s.forwardRef((function(e,t){var n=(0,h.Z)({props:e,name:"MuiInput"}),r=n.disableUnderline,o=n.components,s=void 0===o?{}:o,d=n.componentsProps,y=n.fullWidth,b=void 0!==y&&y,w=n.inputComponent,_=void 0===w?"input":w,S=n.multiline,x=void 0!==S&&S,C=n.type,k=void 0===C?"text":C,Z=(0,i.Z)(n,m),E=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,l.Z)(n,f.l,t);return(0,a.Z)({},t,r)}(n),R={root:{ownerState:{disableUnderline:r}}},T=d?(0,c.Z)(d,R):R;return(0,p.jsx)(u.ZP,(0,a.Z)({components:(0,a.Z)({Root:g,Input:v},s),componentsProps:T,fullWidth:b,inputComponent:_,multiline:x,ref:t,type:k},Z,{classes:E}))}));y.muiName="Input",t.Z=y},6779:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(7462),o=n(9818),i=n(2152),a=n(5891);function s(e){return(0,o.Z)("MuiInput",e)}var l=(0,r.Z)({},a.Z,(0,i.Z)("MuiInput",["root","underline","input"]));t.Z=l},6014:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiListItemIcon",e)}var i=(0,n(2152).Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.Z=i},9849:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiListItemText",e)}var i=(0,n(2152).Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=i},3236:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(2791),a=n(8182),s=n(2039),l=n(7630),c=n(1402),u=n(6199),d=n(4831),h=n(184),f=["children","className","component","dense","disablePadding","subheader"],p=(0,l.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,o.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),m=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiList"}),l=n.children,m=n.className,g=n.component,v=void 0===g?"ul":g,y=n.dense,b=void 0!==y&&y,w=n.disablePadding,_=void 0!==w&&w,S=n.subheader,x=(0,r.Z)(n,f),C=i.useMemo((function(){return{dense:b}}),[b]),k=(0,o.Z)({},n,{component:v,dense:b,disablePadding:_}),Z=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,s.Z)(n,d.z,t)}(k);return(0,h.jsx)(u.Z.Provider,{value:C,children:(0,h.jsxs)(p,(0,o.Z)({as:v,className:(0,a.Z)(Z.root,m),ref:t,ownerState:k},x,{children:[S,l]}))})}));t.Z=m},6199:function(e,t,n){"use strict";var r=n(2791).createContext({});t.Z=r},4831:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiList",e)}var i=(0,n(2152).Z)("MuiList",["root","padding","dense","subheader"]);t.Z=i},2626:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(7630),d=n(1402),h=n(6199),f=n(2863),p=n(162),m=n(2071),g=n(133),v=n(6014),y=n(9849),b=n(1498),w=n(184),_=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],S=(0,u.ZP)(f.Z,{shouldForwardProp:function(e){return(0,u.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,o=e.ownerState;return(0,i.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,r.Z)(t,"&.".concat(b.Z.selected),(0,r.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(b.Z.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,r.Z)(t,"&.".concat(b.Z.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,r.Z)(t,"&.".concat(b.Z.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,r.Z)(t,"&.".concat(b.Z.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,r.Z)(t,"& + .".concat(g.Z.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,r.Z)(t,"& + .".concat(g.Z.inset),{marginLeft:52}),(0,r.Z)(t,"& .".concat(y.Z.root),{marginTop:0,marginBottom:0}),(0,r.Z)(t,"& .".concat(y.Z.inset),{paddingLeft:36}),(0,r.Z)(t,"& .".concat(v.Z.root),{minWidth:36}),t),!o.dense&&(0,r.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),o.dense&&(0,i.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,r.Z)({},"& .".concat(v.Z.root," svg"),{fontSize:"1.25rem"})))})),x=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiMenuItem"}),r=n.autoFocus,c=void 0!==r&&r,u=n.component,f=void 0===u?"li":u,g=n.dense,v=void 0!==g&&g,y=n.divider,x=void 0!==y&&y,C=n.disableGutters,k=void 0!==C&&C,Z=n.focusVisibleClassName,E=n.role,R=void 0===E?"menuitem":E,T=n.tabIndex,A=(0,o.Z)(n,_),P=a.useContext(h.Z),M={dense:v||P.dense||!1,disableGutters:k},O=a.useRef(null);(0,p.Z)((function(){c&&O.current&&O.current.focus()}),[c]);var L,I=(0,i.Z)({},n,{dense:M.dense,divider:x,disableGutters:k}),D=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,a=e.selected,s=e.classes,c={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},u=(0,l.Z)(c,b.K,s);return(0,i.Z)({},s,u)}(n),N=(0,m.Z)(O,t);return n.disabled||(L=void 0!==T?T:-1),(0,w.jsx)(h.Z.Provider,{value:M,children:(0,w.jsx)(S,(0,i.Z)({ref:N,role:R,tabIndex:L,component:f,focusVisibleClassName:(0,s.Z)(D.focusVisible,Z)},A,{ownerState:I,classes:D}))})}));t.Z=x},1498:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiMenuItem",e)}var i=(0,n(2152).Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);t.Z=i},5028:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(7462),o=n(3366),i=n(2791),a=(n(7441),n(8301)),s=n(3236),l=n(7137).Z,c=n(2071),u=n(162),d=n(184),h=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function p(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function g(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return!1;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,i)&&!l)return s.focus(),!0;s=o(e,s,n)}return!1}var v=i.forwardRef((function(e,t){var n=e.actions,v=e.autoFocus,y=void 0!==v&&v,b=e.autoFocusItem,w=void 0!==b&&b,_=e.children,S=e.className,x=e.disabledItemsFocusable,C=void 0!==x&&x,k=e.disableListWrap,Z=void 0!==k&&k,E=e.onKeyDown,R=e.variant,T=void 0===R?"selectedMenu":R,A=(0,o.Z)(e,h),P=i.useRef(null),M=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,u.Z)((function(){y&&P.current.focus()}),[y]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!P.current.style.width;if(e.clientHeight0&&(s-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=s,o.keys.push(i);var l=r&&!o.repeating&&m(r,o);o.previousKeyMatched&&(l||g(t,r,!1,C,f,o))?e.preventDefault():o.previousKeyMatched=!1}E&&E(e)},tabIndex:y?0:-1},A,{children:I}))}))},2744:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=(n(7441),n(8182)),s=n(2039),l=n(5028),c=n(4841),u=n(6207),d=n(7630),h=n(3967),f=n(1402),p=n(5782),m=n(184),g=["onEntering"],v=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],y={vertical:"top",horizontal:"right"},b={vertical:"top",horizontal:"left"},w=(0,d.ZP)(u.ZP,{shouldForwardProp:function(e){return(0,d.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),_=(0,d.ZP)(c.Z,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),S=(0,d.ZP)(l.Z,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),x=i.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiMenu"}),l=n.autoFocus,c=void 0===l||l,u=n.children,d=n.disableAutoFocusItem,x=void 0!==d&&d,C=n.MenuListProps,k=void 0===C?{}:C,Z=n.onClose,E=n.open,R=n.PaperProps,T=void 0===R?{}:R,A=n.PopoverClasses,P=n.transitionDuration,M=void 0===P?"auto":P,O=n.TransitionProps,L=(O=void 0===O?{}:O).onEntering,I=n.variant,D=void 0===I?"selectedMenu":I,N=(0,o.Z)(n.TransitionProps,g),j=(0,o.Z)(n,v),$=(0,h.Z)(),F="rtl"===$.direction,z=(0,r.Z)({},n,{autoFocus:c,disableAutoFocusItem:x,MenuListProps:k,onEntering:L,PaperProps:T,transitionDuration:M,TransitionProps:N,variant:D}),W=function(e){var t=e.classes;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},p.Q,t)}(z),B=c&&!x&&E,H=i.useRef(null),U=-1;return i.Children.map(u,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===D&&e.props.selected||-1===U)&&(U=t))})),(0,m.jsx)(w,(0,r.Z)({classes:A,onClose:Z,anchorOrigin:{vertical:"bottom",horizontal:F?"right":"left"},transformOrigin:F?y:b,PaperProps:(0,r.Z)({component:_},T,{classes:(0,r.Z)({},T.classes,{root:W.paper})}),className:W.root,open:E,ref:t,transitionDuration:M,TransitionProps:(0,r.Z)({onEntering:function(e,t){H.current&&H.current.adjustStyleForScrollbar(e,$),L&&L(e,t)}},N),ownerState:z},j,{children:(0,m.jsx)(S,(0,r.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),Z&&Z(e,"tabKeyDown"))},actions:H,autoFocus:c&&(-1===U||x),autoFocusItem:B,variant:D},k,{className:(0,a.Z)(W.list,k.className),children:u}))}))}));t.Z=x},5782:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiMenu",e)}var i=(0,n(2152).Z)("MuiMenu",["root","paper","list"]);t.Z=i},6549:function(e,t,n){"use strict";n.d(t,{Z:function(){return M},W:function(){return T}});var r=n(9439),o=n(3366),i=n(7462),a=n(2791),s=n(6897),l=n(8182),c=n(7563),u=n(9723),d=n(8956),h=n(8949),f=n(2039),p=n(6174),m=n(8653),g=n(184),v=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function y(e){var t=[],n=[];return Array.from(e.querySelectorAll(v)).forEach((function(e,r){var o=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function b(){return!0}var w=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,s=e.disableRestoreFocus,l=void 0!==s&&s,d=e.getTabbable,h=void 0===d?y:d,f=e.isEnabled,p=void 0===f?b:f,m=e.open,v=a.useRef(),w=a.useRef(null),_=a.useRef(null),S=a.useRef(null),x=a.useRef(null),C=a.useRef(!1),k=a.useRef(null),Z=(0,c.Z)(t.ref,k),E=a.useRef(null);a.useEffect((function(){m&&k.current&&(C.current=!r)}),[r,m]),a.useEffect((function(){if(m&&k.current){var e=(0,u.Z)(k.current);return k.current.contains(e.activeElement)||(k.current.hasAttribute("tabIndex")||k.current.setAttribute("tabIndex",-1),C.current&&k.current.focus()),function(){l||(S.current&&S.current.focus&&(v.current=!0,S.current.focus()),S.current=null)}}}),[m]),a.useEffect((function(){if(m&&k.current){var e=(0,u.Z)(k.current),t=function(t){var n=k.current;if(null!==n)if(e.hasFocus()&&!i&&p()&&!v.current){if(!n.contains(e.activeElement)){if(t&&x.current!==t.target||e.activeElement!==x.current)x.current=null;else if(null!==x.current)return;if(!C.current)return;var r=[];if(e.activeElement!==w.current&&e.activeElement!==_.current||(r=h(k.current)),r.length>0){var o,a,s=Boolean((null==(o=E.current)?void 0:o.shiftKey)&&"Tab"===(null==(a=E.current)?void 0:a.key)),l=r[0],c=r[r.length-1];s?c.focus():l.focus()}else n.focus()}}else v.current=!1},n=function(t){E.current=t,!i&&p()&&"Tab"===t.key&&e.activeElement===k.current&&t.shiftKey&&(v.current=!0,_.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){"BODY"===e.activeElement.tagName&&t()}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[r,i,l,p,m,h]);var R=function(e){null===S.current&&(S.current=e.relatedTarget),C.current=!0};return(0,g.jsxs)(a.Fragment,{children:[(0,g.jsx)("div",{tabIndex:0,onFocus:R,ref:w,"data-test":"sentinelStart"}),a.cloneElement(t,{ref:Z,onFocus:function(e){null===S.current&&(S.current=e.relatedTarget),C.current=!0,x.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,g.jsx)("div",{tabIndex:0,onFocus:R,ref:_,"data-test":"sentinelEnd"})]})},_=n(8345),S=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];var x=new m.Z,C=a.forwardRef((function(e,t){var n=e.BackdropComponent,v=e.BackdropProps,y=e.children,b=e.classes,C=e.className,k=e.closeAfterTransition,Z=void 0!==k&&k,E=e.component,R=void 0===E?"div":E,T=e.components,A=void 0===T?{}:T,P=e.componentsProps,M=void 0===P?{}:P,O=e.container,L=e.disableAutoFocus,I=void 0!==L&&L,D=e.disableEnforceFocus,N=void 0!==D&&D,j=e.disableEscapeKeyDown,$=void 0!==j&&j,F=e.disablePortal,z=void 0!==F&&F,W=e.disableRestoreFocus,B=void 0!==W&&W,H=e.disableScrollLock,U=void 0!==H&&H,V=e.hideBackdrop,G=void 0!==V&&V,q=e.keepMounted,K=void 0!==q&&q,Y=e.manager,J=void 0===Y?x:Y,X=e.onBackdropClick,Q=e.onClose,ee=e.onKeyDown,te=e.open,ne=e.theme,re=e.onTransitionEnter,oe=e.onTransitionExited,ie=(0,o.Z)(e,S),ae=a.useState(!0),se=(0,r.Z)(ae,2),le=se[0],ce=se[1],ue=a.useRef({}),de=a.useRef(null),he=a.useRef(null),fe=(0,c.Z)(he,t),pe=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),me=function(){return ue.current.modalRef=he.current,ue.current.mountNode=de.current,ue.current},ge=function(){J.mount(me(),{disableScrollLock:U}),he.current.scrollTop=0},ve=(0,d.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(O)||(0,u.Z)(de.current).body;J.add(me(),e),he.current&&ge()})),ye=a.useCallback((function(){return J.isTopModal(me())}),[J]),be=(0,d.Z)((function(e){de.current=e,e&&(te&&ye()?ge():(0,m.G)(he.current,!0))})),we=a.useCallback((function(){J.remove(me())}),[J]);a.useEffect((function(){return function(){we()}}),[we]),a.useEffect((function(){te?ve():pe&&Z||we()}),[te,we,pe,Z,ve]);var _e=(0,i.Z)({},e,{classes:b,closeAfterTransition:Z,disableAutoFocus:I,disableEnforceFocus:N,disableEscapeKeyDown:$,disablePortal:z,disableRestoreFocus:B,disableScrollLock:U,exited:le,hideBackdrop:G,keepMounted:K}),Se=function(e){var t=e.open,n=e.exited,r=e.classes,o={root:["root",!t&&n&&"hidden"]};return(0,f.Z)(o,_.x,r)}(_e);if(!K&&!te&&(!pe||le))return null;var xe={};void 0===y.props.tabIndex&&(xe.tabIndex="-1"),pe&&(xe.onEnter=(0,h.Z)((function(){ce(!1),re&&re()}),y.props.onEnter),xe.onExited=(0,h.Z)((function(){ce(!0),oe&&oe(),Z&&we()}),y.props.onExited));var Ce=A.Root||R,ke=M.root||{};return(0,g.jsx)(p.Z,{ref:be,container:O,disablePortal:z,children:(0,g.jsxs)(Ce,(0,i.Z)({role:"presentation"},ke,!(0,s.Z)(Ce)&&{as:R,ownerState:(0,i.Z)({},_e,ke.ownerState),theme:ne},ie,{ref:fe,onKeyDown:function(e){ee&&ee(e),"Escape"===e.key&&ye()&&($||(e.stopPropagation(),Q&&Q(e,"escapeKeyDown")))},className:(0,l.Z)(Se.root,ke.className,C),children:[!G&&n?(0,g.jsx)(n,(0,i.Z)({"aria-hidden":!0,open:te,onClick:function(e){e.target===e.currentTarget&&(X&&X(e),Q&&Q(e,"backdropClick"))}},v)):null,(0,g.jsx)(w,{disableEnforceFocus:N,disableAutoFocus:I,disableRestoreFocus:B,isEnabled:ye,open:te,children:a.cloneElement(y,xe)})]}))})})),k=n(7630),Z=n(1402),E=n(8060),R=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],T=_.Z,A=(0,k.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),P=(0,k.ZP)(E.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),M=a.forwardRef((function(e,t){var n,l=(0,Z.Z)({name:"MuiModal",props:e}),c=l.BackdropComponent,u=void 0===c?P:c,d=l.closeAfterTransition,h=void 0!==d&&d,f=l.children,p=l.components,m=void 0===p?{}:p,v=l.componentsProps,y=void 0===v?{}:v,b=l.disableAutoFocus,w=void 0!==b&&b,_=l.disableEnforceFocus,S=void 0!==_&&_,x=l.disableEscapeKeyDown,k=void 0!==x&&x,E=l.disablePortal,T=void 0!==E&&E,M=l.disableRestoreFocus,O=void 0!==M&&M,L=l.disableScrollLock,I=void 0!==L&&L,D=l.hideBackdrop,N=void 0!==D&&D,j=l.keepMounted,$=void 0!==j&&j,F=(0,o.Z)(l,R),z=a.useState(!0),W=(0,r.Z)(z,2),B=W[0],H=W[1],U={closeAfterTransition:h,disableAutoFocus:w,disableEnforceFocus:S,disableEscapeKeyDown:k,disablePortal:T,disableRestoreFocus:O,disableScrollLock:I,hideBackdrop:N,keepMounted:$},V=function(e){return e.classes}((0,i.Z)({},l,U,{exited:B}));return(0,g.jsx)(C,(0,i.Z)({components:(0,i.Z)({Root:A},m),componentsProps:{root:(0,i.Z)({},y.root,(!m.Root||!(0,s.Z)(m.Root))&&{ownerState:(0,i.Z)({},null==(n=y.root)?void 0:n.ownerState)})},BackdropComponent:u,onTransitionEnter:function(){return H(!1)},onTransitionExited:function(){return H(!0)},ref:t},F,{classes:V},U,{children:f}))}))},9916:function(e,t,n){"use strict";n.d(t,{SJ:function(){return g},wU:function(){return p}});var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(4036),u=n(1797),d=n(7630),h=n(184),f=["className","disabled","IconComponent","inputRef","variant"],p=function(e){var t,n=e.ownerState,o=e.theme;return(0,i.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===o.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},(0,r.Z)(t,"&.".concat(u.Z.disabled),{cursor:"default"}),(0,r.Z)(t,"&[multiple]",{height:"auto"}),(0,r.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:o.palette.background.paper}),(0,r.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:o.shape.borderRadius,"&:focus":{borderRadius:o.shape.borderRadius},"&&&":{paddingRight:32}})},m=(0,d.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:d.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],(0,r.Z)({},"&.".concat(u.Z.multiple),t.multiple)]}})(p),g=function(e){var t=e.ownerState,n=e.theme;return(0,i.Z)((0,r.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(u.Z.disabled),{color:n.palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},v=(0,d.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,c.Z)(n.variant))],n.open&&t.iconOpen]}})(g),y=a.forwardRef((function(e,t){var n=e.className,r=e.disabled,d=e.IconComponent,p=e.inputRef,g=e.variant,y=void 0===g?"standard":g,b=(0,o.Z)(e,f),w=(0,i.Z)({},e,{disabled:r,variant:y}),_=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat((0,c.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,l.Z)(a,u.f,t)}(w);return(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)(m,(0,i.Z)({ownerState:w,className:(0,s.Z)(_.select,n),disabled:r,ref:p||t},b)),e.multiple?null:(0,h.jsx)(v,{as:d,ownerState:w,className:_.icon})]})}));t.ZP=y},1797:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiNativeSelect",e)}var i=(0,n(2152).Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);t.Z=i},7196:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r,o=n(4942),i=n(3366),a=n(7462),s=n(2791),l=n(2039),c=n(7630),u=n(184),d=["children","classes","className","label","notched"],h=(0,c.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),f=(0,c.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,a.Z)({float:"unset",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,a.Z)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));var p=n(2930),m=n(6147),g=n(6059),v=n(139),y=n(1402),b=["components","fullWidth","inputComponent","label","multiline","notched","type"],w=(0,c.ZP)(v.Ej,{shouldForwardProp:function(e){return(0,c.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.Gx})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,a.Z)((t={position:"relative",borderRadius:n.shape.borderRadius},(0,o.Z)(t,"&:hover .".concat(g.Z.notchedOutline),{borderColor:n.palette.text.primary}),(0,o.Z)(t,"@media (hover: none)",(0,o.Z)({},"&:hover .".concat(g.Z.notchedOutline),{borderColor:i})),(0,o.Z)(t,"&.".concat(g.Z.focused," .").concat(g.Z.notchedOutline),{borderColor:n.palette[r.color].main,borderWidth:2}),(0,o.Z)(t,"&.".concat(g.Z.error," .").concat(g.Z.notchedOutline),{borderColor:n.palette.error.main}),(0,o.Z)(t,"&.".concat(g.Z.disabled," .").concat(g.Z.notchedOutline),{borderColor:n.palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,a.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),_=(0,c.ZP)((function(e){var t=e.className,n=e.label,o=e.notched,s=(0,i.Z)(e,d),l=null!=n&&""!==n,c=(0,a.Z)({},e,{notched:o,withLabel:l});return(0,u.jsx)(h,(0,a.Z)({"aria-hidden":!0,className:t,ownerState:c},s,{children:(0,u.jsx)(f,{ownerState:c,children:l?(0,u.jsx)("span",{children:n}):r||(r=(0,u.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){return{borderColor:"light"===e.theme.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}})),S=(0,c.ZP)(v.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v._o})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),x=s.forwardRef((function(e,t){var n,r=(0,y.Z)({props:e,name:"MuiOutlinedInput"}),o=r.components,c=void 0===o?{}:o,d=r.fullWidth,h=void 0!==d&&d,f=r.inputComponent,x=void 0===f?"input":f,C=r.label,k=r.multiline,Z=void 0!==k&&k,E=r.notched,R=r.type,T=void 0===R?"text":R,A=(0,i.Z)(r,b),P=function(e){var t=e.classes,n=(0,l.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g.e,t);return(0,a.Z)({},t,n)}(r),M=(0,p.Z)(),O=(0,m.Z)({props:r,muiFormControl:M,states:["required"]});return(0,u.jsx)(v.ZP,(0,a.Z)({components:(0,a.Z)({Root:w,Input:S},c),renderSuffix:function(e){return(0,u.jsx)(_,{className:P.notchedOutline,label:null!=C&&""!==C&&O.required?n||(n=(0,u.jsxs)(s.Fragment,{children:[C,"\xa0","*"]})):C,notched:"undefined"!==typeof E?E:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:h,inputComponent:x,multiline:Z,ref:t,type:T},A,{classes:(0,a.Z)({},P,{notchedOutline:null})}))}));x.muiName="Input";var C=x},6059:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(7462),o=n(9818),i=n(2152),a=n(5891);function s(e){return(0,o.Z)("MuiOutlinedInput",e)}var l=(0,r.Z)({},a.Z,(0,i.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));t.Z=l},4841:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(2791),a=n(8182),s=n(2039),l=n(2065),c=n(7630),u=n(1402),d=n(8550),h=n(184),f=["className","component","elevation","square","variant"],p=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},m=(0,c.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:"1px solid ".concat(t.palette.divider)},"elevation"===n.variant&&(0,o.Z)({boxShadow:t.shadows[n.elevation]},"dark"===t.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,l.Fq)("#fff",p(n.elevation)),", ").concat((0,l.Fq)("#fff",p(n.elevation)),")")}))})),g=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiPaper"}),i=n.className,l=n.component,c=void 0===l?"div":l,p=n.elevation,g=void 0===p?1:p,v=n.square,y=void 0!==v&&v,b=n.variant,w=void 0===b?"elevation":b,_=(0,r.Z)(n,f),S=(0,o.Z)({},n,{component:c,elevation:g,square:y,variant:w}),x=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,s.Z)(i,d.J,o)}(S);return(0,h.jsx)(m,(0,o.Z)({as:c,ownerState:S,className:(0,a.Z)(x.root,i),ref:t},_))}));t.Z=g},8550:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiPaper",e)}var i=(0,n(2152).Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);t.Z=i},6207:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8182),s=n(2039),l=n(7630),c=n(1402),u=n(3199),d=n(8301),h=n(7602),f=n(2071),p=n(3208),m=n(6549),g=n(4841),v=n(2952),y=n(184),b=["onEntering"],w=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function _(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function S(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function x(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function C(e){return"function"===typeof e?e():e}var k=(0,l.ZP)(m.Z,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Z=(0,l.ZP)(g.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),E=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiPopover"}),l=n.action,m=n.anchorEl,g=n.anchorOrigin,E=void 0===g?{vertical:"top",horizontal:"left"}:g,R=n.anchorPosition,T=n.anchorReference,A=void 0===T?"anchorEl":T,P=n.children,M=n.className,O=n.container,L=n.elevation,I=void 0===L?8:L,D=n.marginThreshold,N=void 0===D?16:D,j=n.open,$=n.PaperProps,F=void 0===$?{}:$,z=n.transformOrigin,W=void 0===z?{vertical:"top",horizontal:"left"}:z,B=n.TransitionComponent,H=void 0===B?p.Z:B,U=n.transitionDuration,V=void 0===U?"auto":U,G=n.TransitionProps,q=(G=void 0===G?{}:G).onEntering,K=(0,o.Z)(n.TransitionProps,b),Y=(0,o.Z)(n,w),J=i.useRef(),X=(0,f.Z)(J,F.ref),Q=(0,r.Z)({},n,{anchorOrigin:E,anchorReference:A,elevation:I,marginThreshold:N,PaperProps:F,transformOrigin:W,TransitionComponent:H,transitionDuration:V,TransitionProps:K}),ee=function(e){var t=e.classes;return(0,s.Z)({root:["root"],paper:["paper"]},v.s,t)}(Q),te=i.useCallback((function(){if("anchorPosition"===A)return R;var e=C(m),t=(e&&1===e.nodeType?e:(0,d.Z)(J.current).body).getBoundingClientRect();return{top:t.top+_(t,E.vertical),left:t.left+S(t,E.horizontal)}}),[m,E.horizontal,E.vertical,R,A]),ne=i.useCallback((function(e){return{vertical:_(e,W.vertical),horizontal:S(e,W.horizontal)}}),[W.horizontal,W.vertical]),re=i.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=ne(t);if("none"===A)return{top:null,left:null,transformOrigin:x(n)};var r=te(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,s=i+t.width,l=(0,h.Z)(C(m)),c=l.innerHeight-N,u=l.innerWidth-N;if(oc){var f=a-c;o-=f,n.vertical+=f}if(iu){var g=s-u;i-=g,n.horizontal+=g}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:x(n)}}),[m,A,te,ne,N]),oe=i.useCallback((function(){var e=J.current;if(e){var t=re(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[re]);i.useEffect((function(){j&&oe()})),i.useImperativeHandle(l,(function(){return j?{updatePosition:function(){oe()}}:null}),[j,oe]),i.useEffect((function(){if(j){var e=(0,u.Z)((function(){oe()})),t=(0,h.Z)(m);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[m,j,oe]);var ie=V;"auto"!==V||H.muiSupportAuto||(ie=void 0);var ae=O||(m?(0,d.Z)(C(m)).body:void 0);return(0,y.jsx)(k,(0,r.Z)({BackdropProps:{invisible:!0},className:(0,a.Z)(ee.root,M),container:ae,open:j,ref:t,ownerState:Q},Y,{children:(0,y.jsx)(H,(0,r.Z)({appear:!0,in:j,onEntering:function(e,t){q&&q(e,t),oe()},timeout:ie},K,{children:(0,y.jsx)(Z,(0,r.Z)({elevation:I},F,{ref:X,className:(0,a.Z)(ee.paper,F.className),children:P}))}))}))}));t.ZP=E},2952:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiPopover",e)}var i=(0,n(2152).Z)("MuiPopover",["root","paper"]);t.Z=i},5892:function(e,t,n){"use strict";n.d(t,{Z:function(){return Oe}});var r=n(7462),o=n(9439),i=n(3366),a=n(7563),s=n(5721),l=n(9723);function c(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function u(e){return e instanceof c(e).Element||e instanceof Element}function d(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!==typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}var f=Math.max,p=Math.min,m=Math.round;function g(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(d(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=m(n.width)/a||1),i>0&&(o=m(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function v(e){var t=c(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function y(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return g(b(e)).left+v(e).scrollLeft}function _(e){return c(e).getComputedStyle(e)}function S(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function x(e,t,n){void 0===n&&(n=!1);var r=d(t),o=d(t)&&function(e){var t=e.getBoundingClientRect(),n=m(t.width)/e.offsetWidth||1,r=m(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=b(t),a=g(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==y(t)||S(i))&&(s=function(e){return e!==c(e)&&d(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:v(e);var t}(t)),d(t)?((l=g(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=w(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function C(e){var t=g(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||b(e)}function Z(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:d(e)&&S(e)?e:Z(k(e))}function E(e,t){var n;void 0===t&&(t=[]);var r=Z(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=c(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(E(k(a)))}function R(e){return["table","td","th"].indexOf(y(e))>=0}function T(e){return d(e)&&"fixed"!==_(e).position?e.offsetParent:null}function A(e){for(var t=c(e),n=T(e);n&&R(n)&&"static"===_(n).position;)n=T(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===_(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===_(e).position)return null;var n=k(e);for(h(n)&&(n=n.host);d(n)&&["html","body"].indexOf(y(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var P="top",M="bottom",O="right",L="left",I="auto",D=[P,M,O,L],N="start",j="end",$="viewport",F="popper",z=D.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+j])}),[]),W=[].concat(D,[I]).reduce((function(e,t){return e.concat([t,t+"-"+N,t+"-"+j])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function U(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var V={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Q(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?J(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case P:t={x:s,y:n.y-r.height};break;case M:t={x:s,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?X(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case N:t[c]=t[c]-(n[u]/2-r[u]/2);break;case j:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,f=a.x,p=void 0===f?0:f,g=a.y,v=void 0===g?0:g,y="function"===typeof d?d({x:p,y:v}):{x:p,y:v};p=y.x,v=y.y;var w=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),x=L,C=P,k=window;if(u){var Z=A(n),E="clientHeight",R="clientWidth";if(Z===c(n)&&"static"!==_(Z=b(n)).position&&"absolute"===s&&(E="scrollHeight",R="scrollWidth"),o===P||(o===L||o===O)&&i===j)C=M,v-=(h&&Z===k&&k.visualViewport?k.visualViewport.height:Z[E])-r.height,v*=l?1:-1;if(o===L||(o===P||o===M)&&i===j)x=O,p-=(h&&Z===k&&k.visualViewport?k.visualViewport.width:Z[R])-r.width,p*=l?1:-1}var T,I=Object.assign({position:s},u&&ee),D=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:m(t*r)/r||0,y:m(n*r)/r||0}}({x:p,y:v}):{x:p,y:v};return p=D.x,v=D.y,l?Object.assign({},I,((T={})[C]=S?"0":"",T[x]=w?"0":"",T.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",T)):Object.assign({},I,((t={})[C]=S?v+"px":"",t[x]=w?p+"px":"",t.transform="",t))}var ne={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce((function(e,n){return e[n]=function(e,t,n){var r=Y(e),o=[L,P].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[L,O].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},re={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var ie={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return ie[e]}))}function se(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function le(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ce(e,t){return t===$?le(function(e){var t=c(e),n=b(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+w(e),y:s}}(e)):u(t)?function(e){var t=g(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):le(function(e){var t,n=b(e),r=v(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=f(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=f(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+w(e),l=-r.scrollTop;return"rtl"===_(o||n).direction&&(s+=f(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(b(e)))}function ue(e,t,n){var r="clippingParents"===t?function(e){var t=E(k(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&d(e)?A(e):e;return u(n)?t.filter((function(e){return u(e)&&se(e,n)&&"body"!==y(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=ce(e,n);return t.top=f(r.top,t.top),t.right=p(r.right,t.right),t.bottom=p(r.bottom,t.bottom),t.left=f(r.left,t.left),t}),ce(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function de(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?$:s,c=n.elementContext,d=void 0===c?F:c,h=n.altBoundary,f=void 0!==h&&h,p=n.padding,m=void 0===p?0:p,v=de("number"!==typeof m?m:he(m,D)),y=d===F?"reference":F,w=e.rects.popper,_=e.elements[f?y:d],S=ue(u(_)?_:_.contextElement||b(e.elements.popper),a,l),x=g(e.elements.reference),C=Q({reference:x,element:w,strategy:"absolute",placement:o}),k=le(Object.assign({},w,C)),Z=d===F?k:x,E={top:S.top-Z.top+v.top,bottom:Z.bottom-S.bottom+v.bottom,left:S.left-Z.left+v.left,right:Z.right-S.right+v.right},R=e.modifiersData.offset;if(d===F&&R){var T=R[o];Object.keys(E).forEach((function(e){var t=[O,M].indexOf(e)>=0?1:-1,n=[P,M].indexOf(e)>=0?"y":"x";E[e]+=T[n]*t}))}return E}function pe(e,t,n){return f(e,p(t,n))}var me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=fe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Y(t.placement),w=J(t.placement),_=!w,S=X(b),x="x"===S?"y":"x",k=t.modifiersData.popperOffsets,Z=t.rects.reference,E=t.rects.popper,R="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,T="number"===typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(k){if(i){var j,$="y"===S?P:L,F="y"===S?M:O,z="y"===S?"height":"width",W=k[S],B=W+y[$],H=W-y[F],U=m?-E[z]/2:0,V=w===N?Z[z]:E[z],G=w===N?-E[z]:-Z[z],q=t.elements.arrow,K=m&&q?C(q):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[$],te=Q[F],ne=pe(0,Z[z],K[z]),re=_?Z[z]/2-U-ne-ee-T.mainAxis:V-ne-ee-T.mainAxis,oe=_?-Z[z]/2+U+ne+te+T.mainAxis:G+ne+te+T.mainAxis,ie=t.elements.arrow&&A(t.elements.arrow),ae=ie?"y"===S?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(j=null==I?void 0:I[S])?j:0,le=W+oe-se,ce=pe(m?p(B,W+re-se-ae):B,W,m?f(H,le):H);k[S]=ce,D[S]=ce-W}if(s){var ue,de="x"===S?P:L,he="x"===S?M:O,me=k[x],ge="y"===x?"height":"width",ve=me+y[de],ye=me-y[he],be=-1!==[P,L].indexOf(b),we=null!=(ue=null==I?void 0:I[x])?ue:0,_e=be?ve:me-Z[ge]-E[ge]-we+T.altAxis,Se=be?me+Z[ge]+E[ge]-we-T.altAxis:ye,xe=m&&be?function(e,t,n){var r=pe(e,t,n);return r>n?n:r}(_e,me,Se):pe(m?_e:ve,me,m?Se:ye);k[x]=xe,D[x]=xe-me}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),l=X(s),c=[L,O].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return de("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:he(e,D))}(o.padding,n),d=C(i),h="y"===l?P:L,f="y"===l?M:O,p=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=A(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,b=u[h],w=v-d[c]-u[f],_=v/2-d[c]/2+y,S=pe(b,_,w),x=l;n.modifiersData[r]=((t={})[x]=S,t.centerOffset=S-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&se(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[P,O,M,L].some((function(t){return e[t]>=0}))}var be=q({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=c(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,K)})),s&&l.addEventListener("resize",n.update,K),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,K)})),s&&l.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Q({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:Y(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];d(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});d(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ne,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Y(g),y=l||(v===g||!p?[oe(g)]:function(e){if(Y(e)===I)return[];var t=oe(e);return[ae(e),t,ae(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(Y(n)===I?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?W:l,u=J(r),d=u?s?z:z.filter((function(e){return J(e)===u})):D,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var f=h.reduce((function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Y(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,S=new Map,x=!0,C=b[0],k=0;k=0,A=T?"width":"height",j=fe(t,{placement:Z,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),$=T?R?O:L:R?M:P;w[A]>_[A]&&($=oe($));var F=oe($),B=[];if(i&&B.push(j[E]<=0),s&&B.push(j[$]<=0,j[F]<=0),B.every((function(e){return e}))){C=Z,x=!1;break}S.set(Z,B)}if(x)for(var H=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},U=p?3:1;U>0;U--){if("break"===H(U))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},me,ge,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),l=ve(a,r),c=ve(s,o,i),u=ye(l),d=ye(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),we=n(2791),_e=n(6174),Se=n(184),xe=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Ce=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function ke(e){return"function"===typeof e?e():e}var Ze={},Ee=we.forwardRef((function(e,t){var n=e.anchorEl,l=e.children,c=e.direction,u=e.disablePortal,d=e.modifiers,h=e.open,f=e.placement,p=e.popperOptions,m=e.popperRef,g=e.TransitionProps,v=(0,i.Z)(e,xe),y=we.useRef(null),b=(0,a.Z)(y,t),w=we.useRef(null),_=(0,a.Z)(w,m),S=we.useRef(_);(0,s.Z)((function(){S.current=_}),[_]),we.useImperativeHandle(m,(function(){return w.current}),[]);var x=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,c),C=we.useState(x),k=(0,o.Z)(C,2),Z=k[0],E=k[1];we.useEffect((function(){w.current&&w.current.forceUpdate()})),(0,s.Z)((function(){if(n&&h){ke(n);var e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;E(t.placement)}}];null!=d&&(e=e.concat(d)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));var t=be(ke(n),y.current,(0,r.Z)({placement:x},p,{modifiers:e}));return S.current(t),function(){t.destroy(),S.current(null)}}}),[n,u,d,h,p,x]);var R={placement:Z};return null!==g&&(R.TransitionProps=g),(0,Se.jsx)("div",(0,r.Z)({ref:b,role:"tooltip"},v,{children:"function"===typeof l?l(R):l}))})),Re=we.forwardRef((function(e,t){var n=e.anchorEl,a=e.children,s=e.container,c=e.direction,u=void 0===c?"ltr":c,d=e.disablePortal,h=void 0!==d&&d,f=e.keepMounted,p=void 0!==f&&f,m=e.modifiers,g=e.open,v=e.placement,y=void 0===v?"bottom":v,b=e.popperOptions,w=void 0===b?Ze:b,_=e.popperRef,S=e.style,x=e.transition,C=void 0!==x&&x,k=(0,i.Z)(e,Ce),Z=we.useState(!0),E=(0,o.Z)(Z,2),R=E[0],T=E[1];if(!p&&!g&&(!C||R))return null;var A=s||(n?(0,l.Z)(ke(n)).body:void 0);return(0,Se.jsx)(_e.Z,{disablePortal:h,container:A,children:(0,Se.jsx)(Ee,(0,r.Z)({anchorEl:n,direction:u,disablePortal:h,modifiers:m,ref:t,open:C?!R:g,placement:y,popperOptions:w,popperRef:_},k,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:g||!p||C&&!R?null:"none"},S),TransitionProps:C?{in:g,onEnter:function(){T(!1)},onExited:function(){T(!0)}}:null,children:a}))})})),Te=n(9120),Ae=n(7630),Pe=n(1402),Me=(0,Ae.ZP)(Re,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Oe=we.forwardRef((function(e,t){var n=(0,Te.Z)(),o=(0,Pe.Z)({props:e,name:"MuiPopper"});return(0,Se.jsx)(Me,(0,r.Z)({direction:null==n?void 0:n.direction},o,{ref:t}))}))},4701:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r,o=n(7462),i=n(3366),a=n(2791),s=n(8182),l=n(2466),c=n(9439),u=n(4942),d=n(6189),h=(n(7441),n(2039)),f=n(8301),p=n(4036),m=n(2744),g=n(9916),v=n(5470),y=n(7630),b=n(2071),w=n(8278),_=n(8294),S=n(184),x=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],C=(0,y.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"&.".concat(_.Z.select),t.select),(0,u.Z)({},"&.".concat(_.Z.select),t[n.variant]),(0,u.Z)({},"&.".concat(_.Z.multiple),t.multiple)]}})(g.wU,(0,u.Z)({},"&.".concat(_.Z.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),k=(0,y.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,p.Z)(n.variant))],n.open&&t.iconOpen]}})(g.SJ),Z=(0,y.ZP)("input",{shouldForwardProp:function(e){return(0,y.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function E(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function R(e){return null==e||"string"===typeof e&&!e.trim()}var T,A,P=a.forwardRef((function(e,t){var n=e["aria-describedby"],l=e["aria-label"],u=e.autoFocus,g=e.autoWidth,y=e.children,T=e.className,A=e.defaultOpen,P=e.defaultValue,M=e.disabled,O=e.displayEmpty,L=e.IconComponent,I=e.inputRef,D=e.labelId,N=e.MenuProps,j=void 0===N?{}:N,$=e.multiple,F=e.name,z=e.onBlur,W=e.onChange,B=e.onClose,H=e.onFocus,U=e.onOpen,V=e.open,G=e.readOnly,q=e.renderValue,K=e.SelectDisplayProps,Y=void 0===K?{}:K,J=e.tabIndex,X=e.value,Q=e.variant,ee=void 0===Q?"standard":Q,te=(0,i.Z)(e,x),ne=(0,w.Z)({controlled:X,default:P,name:"Select"}),re=(0,c.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,w.Z)({controlled:V,default:A,name:"Select"}),se=(0,c.Z)(ae,2),le=se[0],ce=se[1],ue=a.useRef(null),de=a.useRef(null),he=a.useState(null),fe=(0,c.Z)(he,2),pe=fe[0],me=fe[1],ge=a.useRef(null!=V).current,ve=a.useState(),ye=(0,c.Z)(ve,2),be=ye[0],we=ye[1],_e=(0,b.Z)(t,I),Se=a.useCallback((function(e){de.current=e,e&&me(e)}),[]);a.useImperativeHandle(_e,(function(){return{focus:function(){de.current.focus()},node:ue.current,value:oe}}),[oe]),a.useEffect((function(){A&&le&&pe&&!ge&&(we(g?null:pe.clientWidth),de.current.focus())}),[pe,g]),a.useEffect((function(){u&&de.current.focus()}),[u]),a.useEffect((function(){if(D){var e=(0,f.Z)(de.current).getElementById(D);if(e){var t=function(){getSelection().isCollapsed&&de.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[D]);var xe,Ce,ke=function(e,t){e?U&&U(t):B&&B(t),ge||(we(g?null:pe.clientWidth),ce(e))},Ze=a.Children.toArray(y),Ee=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if($){n=Array.isArray(oe)?oe.slice():[];var r=oe.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),oe!==n&&(ie(n),W)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:F}}),W(i,e)}$||ke(!1,t)}}},Re=null!==pe&≤delete te["aria-invalid"];var Te=[],Ae=!1;((0,v.vd)({value:oe})||O)&&(q?xe=q(oe):Ae=!0);var Pe=Ze.map((function(e,t,n){if(!a.isValidElement(e))return null;var r;if($){if(!Array.isArray(oe))throw new Error((0,d.Z)(2));(r=oe.some((function(t){return E(t,e.props.value)})))&&Ae&&Te.push(e.props.children)}else(r=E(oe,e.props.value))&&Ae&&(Ce=e.props.children);if(r&&!0,void 0===e.props.value)return a.cloneElement(e,{"aria-readonly":!0,role:"option"});return a.cloneElement(e,{"aria-selected":r?"true":"false",onClick:Ee(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?function(){if(oe)return r;var t=n.find((function(e){return void 0!==e.props.value&&!0!==e.props.disabled}));return e===t||r}():r,value:void 0,"data-value":e.props.value})}));Ae&&(xe=$?0===Te.length?null:Te.reduce((function(e,t,n){return e.push(t),n .".concat(f.Z.iconWrapper),(0,i.Z)({},"top"===s.iconPosition&&{marginBottom:6},"bottom"===s.iconPosition&&{marginTop:6},"start"===s.iconPosition&&{marginRight:a.spacing(1)},"end"===s.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===s.textColor&&(t={color:"inherit",opacity:.6},(0,r.Z)(t,"&.".concat(f.Z.selected),{opacity:1}),(0,r.Z)(t,"&.".concat(f.Z.disabled),{opacity:(a.vars||a).palette.action.disabledOpacity}),t),"primary"===s.textColor&&(n={color:(a.vars||a).palette.text.secondary},(0,r.Z)(n,"&.".concat(f.Z.selected),{color:(a.vars||a).palette.primary.main}),(0,r.Z)(n,"&.".concat(f.Z.disabled),{color:(a.vars||a).palette.text.disabled}),n),"secondary"===s.textColor&&(o={color:(a.vars||a).palette.text.secondary},(0,r.Z)(o,"&.".concat(f.Z.selected),{color:(a.vars||a).palette.secondary.main}),(0,r.Z)(o,"&.".concat(f.Z.disabled),{color:(a.vars||a).palette.text.disabled}),o),s.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},s.wrapped&&{fontSize:a.typography.pxToRem(12)})})),v=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiTab"}),r=n.className,c=n.disabled,h=void 0!==c&&c,v=n.disableFocusRipple,y=void 0!==v&&v,b=n.fullWidth,w=n.icon,_=n.iconPosition,S=void 0===_?"top":_,x=n.indicator,C=n.label,k=n.onChange,Z=n.onClick,E=n.onFocus,R=n.selected,T=n.selectionFollowsFocus,A=n.textColor,P=void 0===A?"inherit":A,M=n.value,O=n.wrapped,L=void 0!==O&&O,I=(0,o.Z)(n,m),D=(0,i.Z)({},n,{disabled:h,disableFocusRipple:y,selected:R,icon:!!w,iconPosition:S,label:!!C,fullWidth:b,textColor:P,wrapped:L}),N=function(e){var t=e.classes,n=e.textColor,r=e.fullWidth,o=e.wrapped,i=e.icon,a=e.label,s=e.selected,c=e.disabled,d={root:["root",i&&a&&"labelIcon","textColor".concat((0,u.Z)(n)),r&&"fullWidth",o&&"wrapped",s&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,l.Z)(d,f.V,t)}(D),j=w&&C&&a.isValidElement(w)?a.cloneElement(w,{className:(0,s.Z)(N.iconWrapper,w.props.className)}):w;return(0,p.jsxs)(g,(0,i.Z)({focusRipple:!y,className:(0,s.Z)(N.root,r),ref:t,role:"tab","aria-selected":R,disabled:h,onClick:function(e){!R&&k&&k(e,M),Z&&Z(e)},onFocus:function(e){T&&!R&&k&&k(e,M),E&&E(e)},ownerState:D,tabIndex:R?0:-1},I,{children:["top"===S||"start"===S?(0,p.jsxs)(a.Fragment,{children:[j,C]}):(0,p.jsxs)(a.Fragment,{children:[C,j]}),x]}))}));t.Z=v},3901:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTab",e)}var i=(0,n(2152).Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);t.Z=i},2155:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8182),s=n(2039),l=n(829),c=n(1402),u=n(7630),d=n(4417),h=n(184),f=["className","component"],p=(0,u.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-row-group"}),m={variant:"body"},g="tbody",v=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiTableBody"}),i=n.className,u=n.component,v=void 0===u?g:u,y=(0,o.Z)(n,f),b=(0,r.Z)({},n,{component:v}),w=function(e){var t=e.classes;return(0,s.Z)({root:["root"]},d.j,t)}(b);return(0,h.jsx)(l.Z.Provider,{value:m,children:(0,h.jsx)(p,(0,r.Z)({className:(0,a.Z)(w.root,i),as:v,ref:t,role:v===g?null:"rowgroup",ownerState:b},y))})}));t.Z=v},4417:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableBody",e)}var i=(0,n(2152).Z)("MuiTableBody",["root"]);t.Z=i},8745:function(e,t,n){"use strict";var r=n(4942),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(4036),d=n(6646),h=n(829),f=n(1402),p=n(7630),m=n(618),g=n(184),v=["align","className","component","padding","scope","size","sortDirection","variant"],y=(0,p.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,u.Z)(n.size))],"normal"!==n.padding&&t["padding".concat((0,u.Z)(n.padding))],"inherit"!==n.align&&t["align".concat((0,u.Z)(n.align))],n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===t.palette.mode?(0,c.$n)((0,c.Fq)(t.palette.divider,1),.88):(0,c._j)((0,c.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:t.palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:t.palette.text.primary},"footer"===n.variant&&{color:t.palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&(0,r.Z)({padding:"6px 16px"},"&.".concat(m.Z.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:t.palette.background.default})})),b=a.forwardRef((function(e,t){var n,r=(0,f.Z)({props:e,name:"MuiTableCell"}),c=r.align,p=void 0===c?"inherit":c,b=r.className,w=r.component,_=r.padding,S=r.scope,x=r.size,C=r.sortDirection,k=r.variant,Z=(0,o.Z)(r,v),E=a.useContext(d.Z),R=a.useContext(h.Z),T=R&&"head"===R.variant;n=w||(T?"th":"td");var A=S;!A&&T&&(A="col");var P=k||R&&R.variant,M=(0,i.Z)({},r,{align:p,component:n,padding:_||(E&&E.padding?E.padding:"normal"),size:x||(E&&E.size?E.size:"medium"),sortDirection:C,stickyHeader:"head"===P&&E&&E.stickyHeader,variant:P}),O=function(e){var t=e.classes,n=e.variant,r=e.align,o=e.padding,i=e.size,a={root:["root",n,e.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat((0,u.Z)(r)),"normal"!==o&&"padding".concat((0,u.Z)(o)),"size".concat((0,u.Z)(i))]};return(0,l.Z)(a,m.U,t)}(M),L=null;return C&&(L="asc"===C?"ascending":"descending"),(0,g.jsx)(y,(0,i.Z)({as:n,ref:t,className:(0,s.Z)(O.root,b),"aria-sort":L,scope:A,ownerState:M},Z))}));t.Z=b},618:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableCell",e)}var i=(0,n(2152).Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);t.Z=i},2041:function(e,t,n){"use strict";var r=n(7462),o=n(3366),i=n(2791),a=n(8182),s=n(2039),l=n(829),c=n(1402),u=n(7630),d=n(5921),h=n(184),f=["className","component"],p=(0,u.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),m={variant:"head"},g="thead",v=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiTableHead"}),i=n.className,u=n.component,v=void 0===u?g:u,y=(0,o.Z)(n,f),b=(0,r.Z)({},n,{component:v}),w=function(e){var t=e.classes;return(0,s.Z)({root:["root"]},d.s,t)}(b);return(0,h.jsx)(l.Z.Provider,{value:m,children:(0,h.jsx)(p,(0,r.Z)({as:v,className:(0,a.Z)(w.root,i),ref:t,role:v===g?null:"rowgroup",ownerState:b},y))})}));t.Z=v},5921:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableHead",e)}var i=(0,n(2152).Z)("MuiTableHead",["root"]);t.Z=i},9195:function(e,t,n){"use strict";var r=n(4942),o=n(7462),i=n(3366),a=n(2791),s=n(8182),l=n(2039),c=n(2065),u=n(829),d=n(1402),h=n(7630),f=n(1613),p=n(184),m=["className","component","hover","selected"],g=(0,h.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((function(e){var t,n=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,r.Z)(t,"&.".concat(f.Z.hover,":hover"),{backgroundColor:(n.vars||n).palette.action.hover}),(0,r.Z)(t,"&.".concat(f.Z.selected),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),t})),v=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiTableRow"}),r=n.className,c=n.component,h=void 0===c?"tr":c,v=n.hover,y=void 0!==v&&v,b=n.selected,w=void 0!==b&&b,_=(0,i.Z)(n,m),S=a.useContext(u.Z),x=(0,o.Z)({},n,{component:h,hover:y,selected:w,head:S&&"head"===S.variant,footer:S&&"footer"===S.variant}),C=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,l.Z)(n,f.G,t)}(x);return(0,p.jsx)(g,(0,o.Z)({as:h,ref:t,className:(0,s.Z)(C.root,r),role:"tr"===h?null:"row",ownerState:x},_))}));t.Z=v},1613:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableRow",e)}var i=(0,n(2152).Z)("MuiTableRow",["root","selected","hover","head","footer"]);t.Z=i},4764:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(4942),o=n(3366),i=n(7462),a=n(2039),s=n(8182),l=n(2791),c=n(2863),u=n(4223),d=n(184),h=(0,u.Z)((0,d.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),f=n(7630),p=n(1402),m=n(4036),g=n(1668),v=["active","children","className","direction","hideSortIcon","IconComponent"],y=(0,f.ZP)(c.Z,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.active&&t.active]}})((function(e){var t=e.theme;return(0,r.Z)({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(t.vars||t).palette.text.secondary},"&:hover":(0,r.Z)({color:(t.vars||t).palette.text.secondary},"& .".concat(g.Z.icon),{opacity:.5})},"&.".concat(g.Z.active),(0,r.Z)({color:(t.vars||t).palette.text.primary},"& .".concat(g.Z.icon),{opacity:1,color:(t.vars||t).palette.text.secondary}))})),b=(0,f.ZP)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,t["iconDirection".concat((0,m.Z)(n.direction))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none"},"desc"===n.direction&&{transform:"rotate(0deg)"},"asc"===n.direction&&{transform:"rotate(180deg)"})})),w=l.forwardRef((function(e,t){var n=(0,p.Z)({props:e,name:"MuiTableSortLabel"}),r=n.active,l=void 0!==r&&r,c=n.children,u=n.className,f=n.direction,w=void 0===f?"asc":f,_=n.hideSortIcon,S=void 0!==_&&_,x=n.IconComponent,C=void 0===x?h:x,k=(0,o.Z)(n,v),Z=(0,i.Z)({},n,{active:l,direction:w,hideSortIcon:S,IconComponent:C}),E=function(e){var t=e.classes,n=e.direction,r={root:["root",e.active&&"active"],icon:["icon","iconDirection".concat((0,m.Z)(n))]};return(0,a.Z)(r,g.l,t)}(Z);return(0,d.jsxs)(y,(0,i.Z)({className:(0,s.Z)(E.root,u),component:"span",disableRipple:!0,ownerState:Z,ref:t},k,{children:[c,S&&!l?null:(0,d.jsx)(b,{as:C,className:(0,s.Z)(E.icon),ownerState:Z})]}))}))},1668:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTableSortLabel",e)}var i=(0,n(2152).Z)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);t.Z=i},3768:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(2791),a=n(8182),s=n(2039),l=n(6646),c=n(1402),u=n(7630),d=n(5275),h=n(184),f=["className","component","padding","size","stickyHeader"],p=(0,u.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,o.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,o.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),m="table",g=i.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiTable"}),u=n.className,g=n.component,v=void 0===g?m:g,y=n.padding,b=void 0===y?"normal":y,w=n.size,_=void 0===w?"medium":w,S=n.stickyHeader,x=void 0!==S&&S,C=(0,r.Z)(n,f),k=(0,o.Z)({},n,{component:v,padding:b,size:_,stickyHeader:x}),Z=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,s.Z)(n,d.K,t)}(k),E=i.useMemo((function(){return{padding:b,size:_,stickyHeader:x}}),[b,_,x]);return(0,h.jsx)(l.Z.Provider,{value:E,children:(0,h.jsx)(p,(0,o.Z)({as:v,role:v===m?null:"table",ref:t,className:(0,a.Z)(Z.root,u),ownerState:k},C))})}));t.Z=g},6646:function(e,t,n){"use strict";var r=n(2791).createContext();t.Z=r},829:function(e,t,n){"use strict";var r=n(2791).createContext();t.Z=r},5275:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(9818);function o(e){return(0,r.Z)("MuiTable",e)}var i=(0,n(2152).Z)("MuiTable",["root","stickyHeader"]);t.Z=i},9347:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r,o=n(9439),i=n(4942),a=n(3366),s=n(7462),l=n(2791),c=(n(7441),n(8182)),u=n(2039),d=n(7630),h=n(1402),f=n(3967),p=n(3199);function m(){if(r)return r;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function g(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(m()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function y(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?v:i,s=r.duration,l=void 0===s?300:s,c=null,u=t[e],d=!1,h=function(){d=!0},f=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);t[e]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};return u===n?(o(new Error("Element already at target position")),h):(requestAnimationFrame(f),h)}var b=n(7602),w=n(184),_=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var x=n(1157),C=n(9683),k=n(5860),Z=n(8301),E=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],R=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},T=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},A=function(e,t,n){for(var r=!1,o=n(e,t);o;){if(o===e.firstChild){if(r)return;r=!0}var i=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!i)return void o.focus();o=n(e,o)}},P=(0,d.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,i.Z)({},"& .".concat(k.Z.scrollButtons),t.scrollButtons),(0,i.Z)({},"& .".concat(k.Z.scrollButtons),n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,n.vertical&&t.vertical]}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,i.Z)({},"& .".concat(k.Z.scrollButtons),(0,i.Z)({},n.breakpoints.down("sm"),{display:"none"})))})),M=(0,d.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var n=e.ownerState;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,s.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),O=(0,d.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var n=e.ownerState;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,s.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),L=(0,d.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),I=(0,d.ZP)((function(e){var t=e.onChange,n=(0,a.Z)(e,_),r=l.useRef(),o=l.useRef(null),i=function(){r.current=o.current.offsetHeight-o.current.clientHeight};return l.useEffect((function(){var e=(0,p.Z)((function(){var e=r.current;i(),e!==r.current&&t(r.current)})),n=(0,b.Z)(o.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}),[t]),l.useEffect((function(){i(),t(r.current)}),[t]),(0,w.jsx)("div",(0,s.Z)({style:S,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),D={},N=l.forwardRef((function(e,t){var n=(0,h.Z)({props:e,name:"MuiTabs"}),r=(0,f.Z)(),d="rtl"===r.direction,v=n["aria-label"],_=n["aria-labelledby"],S=n.action,N=n.centered,j=void 0!==N&&N,$=n.children,F=n.className,z=n.component,W=void 0===z?"div":z,B=n.allowScrollButtonsMobile,H=void 0!==B&&B,U=n.indicatorColor,V=void 0===U?"primary":U,G=n.onChange,q=n.orientation,K=void 0===q?"horizontal":q,Y=n.ScrollButtonComponent,J=void 0===Y?x.Z:Y,X=n.scrollButtons,Q=void 0===X?"auto":X,ee=n.selectionFollowsFocus,te=n.TabIndicatorProps,ne=void 0===te?{}:te,re=n.TabScrollButtonProps,oe=void 0===re?{}:re,ie=n.textColor,ae=void 0===ie?"primary":ie,se=n.value,le=n.variant,ce=void 0===le?"standard":le,ue=n.visibleScrollbar,de=void 0!==ue&&ue,he=(0,a.Z)(n,E),fe="scrollable"===ce,pe="vertical"===K,me=pe?"scrollTop":"scrollLeft",ge=pe?"top":"left",ve=pe?"bottom":"right",ye=pe?"clientHeight":"clientWidth",be=pe?"height":"width",we=(0,s.Z)({},n,{component:W,allowScrollButtonsMobile:H,indicatorColor:V,orientation:K,vertical:pe,scrollButtons:Q,textColor:ae,variant:ce,visibleScrollbar:de,fixed:!fe,hideScrollbar:fe&&!de,scrollableX:fe&&!pe,scrollableY:fe&&pe,centered:j&&!fe,scrollButtonsHideMobile:!H}),_e=function(e){var t=e.vertical,n=e.fixed,r=e.hideScrollbar,o=e.scrollableX,i=e.scrollableY,a=e.centered,s=e.scrollButtonsHideMobile,l=e.classes,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,u.Z)(c,k.m,l)}(we);var Se=l.useState(!1),xe=(0,o.Z)(Se,2),Ce=xe[0],ke=xe[1],Ze=l.useState(D),Ee=(0,o.Z)(Ze,2),Re=Ee[0],Te=Ee[1],Ae=l.useState({start:!1,end:!1}),Pe=(0,o.Z)(Ae,2),Me=Pe[0],Oe=Pe[1],Le=l.useState({overflow:"hidden",scrollbarWidth:0}),Ie=(0,o.Z)(Le,2),De=Ie[0],Ne=Ie[1],je=new Map,$e=l.useRef(null),Fe=l.useRef(null),ze=function(){var e,t,n=$e.current;if(n){var o=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:g(n,r.direction),scrollWidth:n.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(n&&!1!==se){var i=Fe.current.children;if(i.length>0){var a=i[je.get(se)];0,t=a?a.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},We=(0,C.Z)((function(){var e,t,n=ze(),r=n.tabsMeta,o=n.tabMeta,a=0;if(pe)t="top",o&&r&&(a=o.top-r.top+r.scrollTop);else if(t=d?"right":"left",o&&r){var s=d?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=(d?-1:1)*(o[t]-r[t]+s)}var l=(e={},(0,i.Z)(e,t,a),(0,i.Z)(e,be,o?o[be]:0),e);if(isNaN(Re[t])||isNaN(Re[be]))Te(l);else{var c=Math.abs(Re[t]-l[t]),u=Math.abs(Re[be]-l[be]);(c>=1||u>=1)&&Te(l)}})),Be=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.animation,o=void 0===n||n;o?y(me,$e.current,e,{duration:r.transitions.duration.standard}):$e.current[me]=e},He=function(e){var t=$e.current[me];pe?t+=e:(t+=e*(d?-1:1),t*=d&&"reverse"===m()?-1:1),Be(t)},Ue=function(){for(var e=$e.current[ye],t=0,n=Array.from(Fe.current.children),r=0;re)break;t+=o[ye]}return t},Ve=function(){He(-1*Ue())},Ge=function(){He(Ue())},qe=l.useCallback((function(e){Ne({overflow:null,scrollbarWidth:e})}),[]),Ke=(0,C.Z)((function(e){var t=ze(),n=t.tabsMeta,r=t.tabMeta;if(r&&n)if(r[ge]n[ve]){var i=n[me]+(r[ve]-n[ve]);Be(i,{animation:e})}})),Ye=(0,C.Z)((function(){if(fe&&!1!==Q){var e,t,n=$e.current,o=n.scrollTop,i=n.scrollHeight,a=n.clientHeight,s=n.scrollWidth,l=n.clientWidth;if(pe)e=o>1,t=o1,t=d?c>1:c :not(:first-of-type)":{marginLeft:8}})})),D=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAccordionActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=(0,h.Z)(n,L),s=(0,f.Z)({},n,{disableSpacing:i}),l=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,v.Z)(n,M,t)}(s);return(0,R.jsx)(I,(0,f.Z)({className:(0,g.Z)(l.root,r),ref:t,ownerState:s},a))}));function N(e){return(0,C.Z)("MuiAccordionDetails",e)}var j=(0,k.Z)("MuiAccordionDetails",["root"]),$=["className"],F=(0,y.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{padding:e.theme.spacing(1,2,2)}})),z=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAccordionDetails"}),r=n.className,o=(0,h.Z)(n,$),i=n,a=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},N,t)}(i);return(0,R.jsx)(F,(0,f.Z)({className:(0,g.Z)(a.root,r),ref:t,ownerState:i},o))})),W=n(2863);function B(e){return(0,C.Z)("MuiAccordionSummary",e)}var H=(0,k.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),U=["children","className","expandIcon","focusVisibleClassName","onClick"],V=(0,y.ZP)(W.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState,o={duration:n.transitions.duration.shortest};return(0,f.Z)((t={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],o)},(0,d.Z)(t,"&.".concat(H.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,d.Z)(t,"&.".concat(H.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,d.Z)(t,"&:hover:not(.".concat(H.disabled,")"),{cursor:"pointer"}),t),!r.disableGutters&&(0,d.Z)({},"&.".concat(H.expanded),{minHeight:64}))})),G=(0,y.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&(0,d.Z)({transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest})},"&.".concat(H.expanded),{margin:"20px 0"}))})),q=(0,y.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(e,t){return t.expandIconWrapper}})((function(e){var t=e.theme;return(0,d.Z)({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest})},"&.".concat(H.expanded),{transform:"rotate(180deg)"})})),K=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAccordionSummary"}),r=n.children,o=n.className,i=n.expandIcon,a=n.focusVisibleClassName,s=n.onClick,l=(0,h.Z)(n,U),c=p.useContext(S),u=c.disabled,d=void 0!==u&&u,m=c.disableGutters,y=c.expanded,w=c.toggle,_=(0,f.Z)({},n,{expanded:y,disabled:d,disableGutters:m}),x=function(e){var t=e.classes,n=e.expanded,r=e.disabled,o=e.disableGutters,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,v.Z)(i,B,t)}(_);return(0,R.jsxs)(V,(0,f.Z)({focusRipple:!1,disableRipple:!0,disabled:d,component:"div","aria-expanded":y,className:(0,g.Z)(x.root,o),focusVisibleClassName:(0,g.Z)(x.focusVisible,a),onClick:function(e){w&&w(e),s&&s(e)},ref:t,ownerState:_},l,{children:[(0,R.jsx)(G,{className:x.content,ownerState:_,children:r}),i&&(0,R.jsx)(q,{className:x.expandIconWrapper,ownerState:_,children:i})]}))})),Y=n(2065),J=n(4036);function X(e){return(0,C.Z)("MuiAlert",e)}var Q,ee=(0,k.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),te=n(977),ne=n(4223),re=(0,ne.Z)((0,R.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),oe=(0,ne.Z)((0,R.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ie=(0,ne.Z)((0,R.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),ae=(0,ne.Z)((0,R.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),se=(0,ne.Z)((0,R.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),le=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],ce=(0,y.ZP)(_.Z,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,J.Z)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?Y._j:Y.$n,o="light"===t.palette.mode?Y.$n:Y._j,i=n.color||n.severity;return(0,f.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&"standard"===n.variant&&(0,d.Z)({color:r(t.palette[i].light,.6),backgroundColor:o(t.palette[i].light,.9)},"& .".concat(ee.icon),{color:"dark"===t.palette.mode?t.palette[i].main:t.palette[i].light}),i&&"outlined"===n.variant&&(0,d.Z)({color:r(t.palette[i].light,.6),border:"1px solid ".concat(t.palette[i].light)},"& .".concat(ee.icon),{color:"dark"===t.palette.mode?t.palette[i].main:t.palette[i].light}),i&&"filled"===n.variant&&{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:"dark"===t.palette.mode?t.palette[i].dark:t.palette[i].main})})),ue=(0,y.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),de=(0,y.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0"}),he=(0,y.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),fe={success:(0,R.jsx)(re,{fontSize:"inherit"}),warning:(0,R.jsx)(oe,{fontSize:"inherit"}),error:(0,R.jsx)(ie,{fontSize:"inherit"}),info:(0,R.jsx)(ae,{fontSize:"inherit"})},pe=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAlert"}),r=n.action,o=n.children,i=n.className,a=n.closeText,s=void 0===a?"Close":a,l=n.color,c=n.icon,u=n.iconMapping,d=void 0===u?fe:u,p=n.onClose,m=n.role,y=void 0===m?"alert":m,w=n.severity,_=void 0===w?"success":w,S=n.variant,x=void 0===S?"standard":S,C=(0,h.Z)(n,le),k=(0,f.Z)({},n,{color:l,severity:_,variant:x}),Z=function(e){var t=e.variant,n=e.color,r=e.severity,o=e.classes,i={root:["root","".concat(t).concat((0,J.Z)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,v.Z)(i,X,o)}(k);return(0,R.jsxs)(ce,(0,f.Z)({role:y,elevation:0,ownerState:k,className:(0,g.Z)(Z.root,i),ref:t},C,{children:[!1!==c?(0,R.jsx)(ue,{ownerState:k,className:Z.icon,children:c||d[_]||fe[_]}):null,(0,R.jsx)(de,{ownerState:k,className:Z.message,children:o}),null!=r?(0,R.jsx)(he,{className:Z.action,children:r}):null,null==r&&p?(0,R.jsx)(he,{ownerState:k,className:Z.action,children:(0,R.jsx)(te.Z,{size:"small","aria-label":s,title:s,color:"inherit",onClick:p,children:Q||(Q=(0,R.jsx)(se,{fontSize:"small"}))})}):null]}))})),me=n(4567);function ge(e){return(0,C.Z)("MuiAlertTitle",e)}var ve=(0,k.Z)("MuiAlertTitle",["root"]),ye=["className"],be=(0,y.ZP)(me.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{fontWeight:e.theme.typography.fontWeightMedium,marginTop:-2}})),we=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAlertTitle"}),r=n.className,o=(0,h.Z)(n,ye),i=n,a=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},ge,t)}(i);return(0,R.jsx)(be,(0,f.Z)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:(0,g.Z)(a.root,r)},o))})),_e=n(2800),Se=n(9218),xe=n(6248),Ce=n(8959),ke=n(8956),Ze=n(2971);function Ee(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreAccents,n=void 0===t||t,r=e.ignoreCase,o=void 0===r||r,i=e.limit,a=e.matchFrom,s=void 0===a?"any":a,l=e.stringify,c=e.trim,u=void 0!==c&&c;return function(e,t){var r=t.inputValue,a=t.getOptionLabel,c=u?r.trim():r;o&&(c=c.toLowerCase()),n&&(c=Ee(c));var d=e.filter((function(e){var t=(l||a)(e);return o&&(t=t.toLowerCase()),n&&(t=Ee(t)),"start"===s?0===t.indexOf(c):t.indexOf(c)>-1}));return"number"===typeof i?d.slice(0,i):d}}function Te(e,t){for(var n=0;n0&&!ae,rt=(0,ke.Z)((function(e){-1===e?fe.current.focus():ve.querySelector('[data-tag-index="'.concat(e,'"]')).focus()}));p.useEffect((function(){K&&_e>Oe.length-1&&(Se(-1),rt(-1))}),[Oe,K,_e,rt]);var ot=(0,ke.Z)((function(e){var t=e.event,n=e.index,r=e.reason,o=void 0===r?"auto":r;if(Re.current=n,-1===n?fe.current.removeAttribute("aria-activedescendant"):fe.current.setAttribute("aria-activedescendant","".concat(ue,"-option-").concat(n)),X&&X(t,-1===n?null:tt[n],o),pe.current){var i=pe.current.querySelector('[role="option"].Mui-focused');i&&(i.classList.remove("Mui-focused"),i.classList.remove("Mui-focusVisible"));var a=pe.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==n){var s=pe.current.querySelector('[data-option-index="'.concat(n,'"]'));if(s&&(s.classList.add("Mui-focused"),"keyboard"===o&&s.classList.add("Mui-focusVisible"),a.scrollHeight>a.clientHeight&&"mouse"!==o)){var l=s,c=a.clientHeight+a.scrollTop,u=l.offsetTop+l.offsetHeight;u>c?a.scrollTop=u-a.clientHeight:l.offsetTop-l.offsetHeight*(z?1.3:0)1?0:e:t>e?t===e+1&&V?-1:T||Math.abs(o)>1?e:0:t}(),a);if(ot({index:c,reason:l,event:n}),r&&"reset"!==o)if(-1===c)fe.current.value=Ne;else{var u=t(tt[c]);fe.current.value=u,0===u.toLowerCase().indexOf(Ne.toLowerCase())&&Ne.length>0&&fe.current.setSelectionRange(Ne.length,u.length)}}})),at=p.useCallback((function(){if(et){var e=K?Oe[0]:Oe;if(0!==tt.length&&null!=e){if(pe.current)if(null==e)Re.current>=tt.length-1?ot({index:tt.length-1}):ot({index:Re.current});else{var t=tt[Re.current];if(K&&t&&-1!==Te(Oe,(function(e){return F(t,e)})))return;var n=Te(tt,(function(t){return F(t,e)}));-1===n?it({diff:"reset"}):ot({index:n})}}else it({diff:"reset"})}}),[tt.length,!K&&Oe,O,it,ot,et,Ne,K]),st=(0,ke.Z)((function(e){(0,Ze.Z)(pe,e),e&&at()}));p.useEffect((function(){at()}),[at]);var lt=function(e){Ge||(qe(!0),Xe(!0),ee&&ee(e))},ct=function(e,t){Ge&&(qe(!1),J&&J(e,t))},ut=function(e,t,n,r){if(K){if(Oe.length===t.length&&Oe.every((function(e,n){return e===t[n]})))return}else if(Oe===t)return;Y&&Y(e,t,n,r),Le(t)},dt=p.useRef(!1),ht=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"selectOption",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",o=n,i=t;if(K){var a=Te(i=Array.isArray(Oe)?Oe.slice():[],(function(e){return F(t,e)}));-1===a?i.push(t):"freeSolo"!==r&&(i.splice(a,1),o="removeOption")}Be(e,i),ut(e,i,o,{option:t}),k||e.ctrlKey||e.metaKey||ct(e,o),(!0===c||"touch"===c&&dt.current||"mouse"===c&&!dt.current)&&fe.current.blur()};var ft=function(e,t){if(K){""===Ne&&ct(e,"toggleInput");var n=_e;-1===_e?""===Ne&&"previous"===t&&(n=Oe.length-1):((n+="next"===t?1:-1)<0&&(n=0),n===Oe.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;for(var n=e;;){if("next"===t&&n===Oe.length||"previous"===t&&-1===n)return-1;var r=ve.querySelector('[data-tag-index="'.concat(n,'"]'));if(r&&r.hasAttribute("tabindex")&&!r.disabled&&"true"!==r.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),Se(n),rt(n)}},pt=function(e){de.current=!0,je(""),Q&&Q(e,"","clear"),ut(e,K?[]:null,"clear")},mt=function(e){return function(t){if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==_e&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(Se(-1),rt(-1)),229!==t.which))switch(t.key){case"Home":et&&B&&(t.preventDefault(),it({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":et&&B&&(t.preventDefault(),it({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),it({diff:-5,direction:"previous",reason:"keyboard",event:t}),lt(t);break;case"PageDown":t.preventDefault(),it({diff:5,direction:"next",reason:"keyboard",event:t}),lt(t);break;case"ArrowDown":t.preventDefault(),it({diff:1,direction:"next",reason:"keyboard",event:t}),lt(t);break;case"ArrowUp":t.preventDefault(),it({diff:-1,direction:"previous",reason:"keyboard",event:t}),lt(t);break;case"ArrowLeft":ft(t,"previous");break;case"ArrowRight":ft(t,"next");break;case"Enter":if(-1!==Re.current&&et){var n=tt[Re.current],o=!!D&&D(n);if(t.preventDefault(),o)return;ht(t,n,"selectOption"),r&&fe.current.setSelectionRange(fe.current.value.length,fe.current.value.length)}else I&&""!==Ne&&!1===Qe&&(K&&t.preventDefault(),ht(t,Ne,"createOption","freeSolo"));break;case"Escape":et?(t.preventDefault(),t.stopPropagation(),ct(t,"escape")):v&&(""!==Ne||K&&Oe.length>0)&&(t.preventDefault(),t.stopPropagation(),pt(t));break;case"Backspace":if(K&&!ae&&""===Ne&&Oe.length>0){var i=-1===_e?Oe.length-1:_e,a=Oe.slice();a.splice(i,1),ut(t,a,"removeOption",{option:Oe[i]})}}}},gt=function(e){We(!0),re&&!de.current&<(e)},vt=function(e){null!==pe.current&&pe.current.parentElement.contains(document.activeElement)?fe.current.focus():(We(!1),he.current=!0,de.current=!1,s&&-1!==Re.current&&et?ht(e,tt[Re.current],"blur"):s&&I&&""!==Ne?ht(e,Ne,"blur","freeSolo"):m&&Be(e,Oe),ct(e,"blur"))},yt=function(e){var t=e.target.value;Ne!==t&&(je(t),Xe(!1),Q&&Q(e,t,"input")),""===t?x||K||ut(e,null,"clear"):lt(e)},bt=function(e){ot({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},wt=function(){dt.current=!0},_t=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));ht(e,tt[t],"selectOption"),dt.current=!1},St=function(e){return function(t){var n=Oe.slice();n.splice(e,1),ut(t,n,"removeOption",{option:Oe[e]})}},xt=function(e){Ge?ct(e,"toggleInput"):lt(e)},Ct=function(e){e.target.getAttribute("id")!==ue&&e.preventDefault()},kt=function(){fe.current.focus(),le&&he.current&&fe.current.selectionEnd-fe.current.selectionStart===0&&fe.current.select(),he.current=!1},Zt=function(e){""!==Ne&&Ge||xt(e)},Et=I&&Ne.length>0;Et=Et||(K?Oe.length>0:null!==Oe);var Rt=tt;if(z){new Map;Rt=tt.reduce((function(e,t,n){var r=z(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return d&&ze&&vt(),{getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,f.Z)({"aria-owns":nt?"".concat(ue,"-listbox"):null},e,{onKeyDown:mt(e),onMouseDown:Ct,onClick:kt})},getInputLabelProps:function(){return{id:"".concat(ue,"-label"),htmlFor:ue}},getInputProps:function(){return{id:ue,value:Ne,onBlur:vt,onFocus:gt,onChange:yt,onMouseDown:Zt,"aria-activedescendant":et?"":null,"aria-autocomplete":r?"both":"list","aria-controls":nt?"".concat(ue,"-listbox"):void 0,"aria-expanded":nt,autoComplete:"off",ref:fe,autoCapitalize:"none",spellCheck:"false",role:"combobox"}},getClearProps:function(){return{tabIndex:-1,onClick:pt}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:xt}},getTagProps:function(e){var t=e.index;return(0,f.Z)({key:t,"data-tag-index":t,tabIndex:-1},!ae&&{onDelete:St(t)})},getListboxProps:function(){return{role:"listbox",id:"".concat(ue,"-listbox"),"aria-labelledby":"".concat(ue,"-label"),ref:st,onMouseDown:function(e){e.preventDefault()}}},getOptionProps:function(e){var n=e.index,r=e.option,o=(K?Oe:[Oe]).some((function(e){return null!=e&&F(r,e)})),i=!!D&&D(r);return{key:t(r),tabIndex:-1,role:"option",id:"".concat(ue,"-option-").concat(n),onMouseOver:bt,onClick:_t,onTouchStart:wt,"data-option-index":n,"aria-disabled":i,"aria-selected":o}},id:ue,inputValue:Ne,value:Oe,dirty:Et,popupOpen:et,focused:ze||-1!==_e,anchorEl:ve,setAnchorEl:ye,focusedTag:_e,groupedOptions:Rt}}var Me=n(5892);function Oe(e){return(0,C.Z)("MuiListSubheader",e)}var Le=(0,k.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),Ie=["className","color","component","disableGutters","disableSticky","inset"],De=(0,y.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,J.Z)(n.color))],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===n.color&&{color:(t.vars||t).palette.primary.main},"inherit"===n.color&&{color:"inherit"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.inset&&{paddingLeft:72},!n.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})})),Ne=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListSubheader"}),r=n.className,o=n.color,i=void 0===o?"default":o,a=n.component,s=void 0===a?"li":a,l=n.disableGutters,c=void 0!==l&&l,u=n.disableSticky,d=void 0!==u&&u,p=n.inset,m=void 0!==p&&p,y=(0,h.Z)(n,Ie),w=(0,f.Z)({},n,{color:i,component:s,disableGutters:c,disableSticky:d,inset:m}),_=function(e){var t=e.classes,n=e.color,r=e.disableGutters,o=e.inset,i=e.disableSticky,a={root:["root","default"!==n&&"color".concat((0,J.Z)(n)),!r&&"gutters",o&&"inset",!i&&"sticky"]};return(0,v.Z)(a,Oe,t)}(w);return(0,R.jsx)(De,(0,f.Z)({as:s,className:(0,g.Z)(_.root,r),ref:t,ownerState:w},y))})),je=(0,ne.Z)((0,R.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),$e=n(2071);function Fe(e){return(0,C.Z)("MuiChip",e)}var ze=(0,k.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]),We=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],Be=(0,y.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,o=n.clickable,i=n.onDelete,a=n.size,s=n.variant;return[(0,d.Z)({},"& .".concat(ze.avatar),t.avatar),(0,d.Z)({},"& .".concat(ze.avatar),t["avatar".concat((0,J.Z)(a))]),(0,d.Z)({},"& .".concat(ze.avatar),t["avatarColor".concat((0,J.Z)(r))]),(0,d.Z)({},"& .".concat(ze.icon),t.icon),(0,d.Z)({},"& .".concat(ze.icon),t["icon".concat((0,J.Z)(a))]),(0,d.Z)({},"& .".concat(ze.icon),t["iconColor".concat((0,J.Z)(r))]),(0,d.Z)({},"& .".concat(ze.deleteIcon),t.deleteIcon),(0,d.Z)({},"& .".concat(ze.deleteIcon),t["deleteIcon".concat((0,J.Z)(a))]),(0,d.Z)({},"& .".concat(ze.deleteIcon),t["deleteIconColor".concat((0,J.Z)(r))]),(0,d.Z)({},"& .".concat(ze.deleteIcon),t["deleteIconOutlinedColor".concat((0,J.Z)(r))]),t.root,t["size".concat((0,J.Z)(a))],t["color".concat((0,J.Z)(r))],o&&t.clickable,o&&"default"!==r&&t["clickableColor".concat((0,J.Z)(r),")")],i&&t.deletable,i&&"default"!==r&&t["deletableColor".concat((0,J.Z)(r))],t[s],"outlined"===s&&t["outlined".concat((0,J.Z)(r))]]}})((function(e){var t,n=e.theme,r=e.ownerState,o=(0,Y.Fq)(n.palette.text.primary,.26);return(0,f.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:n.palette.text.primary,backgroundColor:n.palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,d.Z)(t,"&.".concat(ze.disabled),{opacity:n.palette.action.disabledOpacity,pointerEvents:"none"}),(0,d.Z)(t,"& .".concat(ze.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300],fontSize:n.typography.pxToRem(12)}),(0,d.Z)(t,"& .".concat(ze.avatarColorPrimary),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.dark}),(0,d.Z)(t,"& .".concat(ze.avatarColorSecondary),{color:n.palette.secondary.contrastText,backgroundColor:n.palette.secondary.dark}),(0,d.Z)(t,"& .".concat(ze.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,d.Z)(t,"& .".concat(ze.icon),(0,f.Z)({color:"light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300],marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==r.color&&{color:"inherit"})),(0,d.Z)(t,"& .".concat(ze.deleteIcon),(0,f.Z)({WebkitTapHighlightColor:"transparent",color:o,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,Y.Fq)(o,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:(0,Y.Fq)(n.palette[r.color].contrastText,.7),"&:hover, &:active":{color:n.palette[r.color].contrastText}})),t),"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:n.palette[r.color].main,color:n.palette[r.color].contrastText},r.onDelete&&(0,d.Z)({},"&.".concat(ze.focusVisible),{backgroundColor:(0,Y.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),r.onDelete&&"default"!==r.color&&(0,d.Z)({},"&.".concat(ze.focusVisible),{backgroundColor:n.palette[r.color].dark}))}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({},r.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:(0,Y.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,d.Z)(t,"&.".concat(ze.focusVisible),{backgroundColor:(0,Y.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,d.Z)(t,"&:active",{boxShadow:n.shadows[1]}),t),r.clickable&&"default"!==r.color&&(0,d.Z)({},"&:hover, &.".concat(ze.focusVisible),{backgroundColor:n.palette[r.color].dark}))}),(function(e){var t,n,r=e.theme,o=e.ownerState;return(0,f.Z)({},"outlined"===o.variant&&(t={backgroundColor:"transparent",border:"1px solid ".concat("light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[700])},(0,d.Z)(t,"&.".concat(ze.clickable,":hover"),{backgroundColor:r.palette.action.hover}),(0,d.Z)(t,"&.".concat(ze.focusVisible),{backgroundColor:r.palette.action.focus}),(0,d.Z)(t,"& .".concat(ze.avatar),{marginLeft:4}),(0,d.Z)(t,"& .".concat(ze.avatarSmall),{marginLeft:2}),(0,d.Z)(t,"& .".concat(ze.icon),{marginLeft:4}),(0,d.Z)(t,"& .".concat(ze.iconSmall),{marginLeft:2}),(0,d.Z)(t,"& .".concat(ze.deleteIcon),{marginRight:5}),(0,d.Z)(t,"& .".concat(ze.deleteIconSmall),{marginRight:3}),t),"outlined"===o.variant&&"default"!==o.color&&(n={color:r.palette[o.color].main,border:"1px solid ".concat((0,Y.Fq)(r.palette[o.color].main,.7))},(0,d.Z)(n,"&.".concat(ze.clickable,":hover"),{backgroundColor:(0,Y.Fq)(r.palette[o.color].main,r.palette.action.hoverOpacity)}),(0,d.Z)(n,"&.".concat(ze.focusVisible),{backgroundColor:(0,Y.Fq)(r.palette[o.color].main,r.palette.action.focusOpacity)}),(0,d.Z)(n,"& .".concat(ze.deleteIcon),{color:(0,Y.Fq)(r.palette[o.color].main,.7),"&:hover, &:active":{color:r.palette[o.color].main}}),n))})),He=(0,y.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat((0,J.Z)(n))]]}})((function(e){var t=e.ownerState;return(0,f.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})}));function Ue(e){return"Backspace"===e.key||"Delete"===e.key}var Ve=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiChip"}),r=n.avatar,o=n.className,i=n.clickable,a=n.color,s=void 0===a?"default":a,l=n.component,c=n.deleteIcon,u=n.disabled,d=void 0!==u&&u,m=n.icon,y=n.label,w=n.onClick,_=n.onDelete,S=n.onKeyDown,x=n.onKeyUp,C=n.size,k=void 0===C?"medium":C,Z=n.variant,E=void 0===Z?"filled":Z,T=(0,h.Z)(n,We),A=p.useRef(null),P=(0,$e.Z)(A,t),M=function(e){e.stopPropagation(),_&&_(e)},O=!(!1===i||!w)||i,L="small"===k,I=O||_?W.Z:l||"div",D=(0,f.Z)({},n,{component:I,disabled:d,size:k,color:s,onDelete:!!_,clickable:O,variant:E}),N=function(e){var t=e.classes,n=e.disabled,r=e.size,o=e.color,i=e.onDelete,a=e.clickable,s=e.variant,l={root:["root",s,n&&"disabled","size".concat((0,J.Z)(r)),"color".concat((0,J.Z)(o)),a&&"clickable",a&&"clickableColor".concat((0,J.Z)(o)),i&&"deletable",i&&"deletableColor".concat((0,J.Z)(o)),"".concat(s).concat((0,J.Z)(o))],label:["label","label".concat((0,J.Z)(r))],avatar:["avatar","avatar".concat((0,J.Z)(r)),"avatarColor".concat((0,J.Z)(o))],icon:["icon","icon".concat((0,J.Z)(r)),"iconColor".concat((0,J.Z)(o))],deleteIcon:["deleteIcon","deleteIcon".concat((0,J.Z)(r)),"deleteIconColor".concat((0,J.Z)(o)),"deleteIconOutlinedColor".concat((0,J.Z)(o))]};return(0,v.Z)(l,Fe,t)}(D),j=I===W.Z?(0,f.Z)({component:l||"div",focusVisibleClassName:N.focusVisible},_&&{disableRipple:!0}):{},$=null;if(_){var F=(0,g.Z)("default"!==s&&("outlined"===E?N["deleteIconOutlinedColor".concat((0,J.Z)(s))]:N["deleteIconColor".concat((0,J.Z)(s))]),L&&N.deleteIconSmall);$=c&&p.isValidElement(c)?p.cloneElement(c,{className:(0,g.Z)(c.props.className,N.deleteIcon,F),onClick:M}):(0,R.jsx)(je,{className:(0,g.Z)(N.deleteIcon,F),onClick:M})}var z=null;r&&p.isValidElement(r)&&(z=p.cloneElement(r,{className:(0,g.Z)(N.avatar,r.props.className)}));var B=null;return m&&p.isValidElement(m)&&(B=p.cloneElement(m,{className:(0,g.Z)(N.icon,m.props.className)})),(0,R.jsxs)(Be,(0,f.Z)({as:I,className:(0,g.Z)(N.root,o),disabled:!(!O||!d)||void 0,onClick:w,onKeyDown:function(e){e.currentTarget===e.target&&Ue(e)&&e.preventDefault(),S&&S(e)},onKeyUp:function(e){e.currentTarget===e.target&&(_&&Ue(e)?_(e):"Escape"===e.key&&A.current&&A.current.blur()),x&&x(e)},ref:P,ownerState:D},j,T,{children:[z||B,(0,R.jsx)(He,{className:(0,g.Z)(N.label),ownerState:D,children:y}),$]}))})),Ge=n(6779),qe=n(5891),Ke=n(6059),Ye=n(6285),Je=n(9059);function Xe(e){return(0,C.Z)("MuiAutocomplete",e)}var Qe,et,tt=(0,k.Z)("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),nt=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],rt=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.fullWidth,o=n.hasClearIcon,i=n.hasPopupIcon,a=n.inputFocused,s=n.size;return[(0,d.Z)({},"& .".concat(tt.tag),t.tag),(0,d.Z)({},"& .".concat(tt.tag),t["tagSize".concat((0,J.Z)(s))]),(0,d.Z)({},"& .".concat(tt.inputRoot),t.inputRoot),(0,d.Z)({},"& .".concat(tt.input),t.input),(0,d.Z)({},"& .".concat(tt.input),a&&t.inputFocused),t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})((function(e){var t,n,r,o,i,a=e.ownerState;return(0,f.Z)((t={},(0,d.Z)(t,"&.".concat(tt.focused," .").concat(tt.clearIndicator),{visibility:"visible"}),(0,d.Z)(t,"@media (pointer: fine)",(0,d.Z)({},"&:hover .".concat(tt.clearIndicator),{visibility:"visible"})),t),a.fullWidth&&{width:"100%"},(i={},(0,d.Z)(i,"& .".concat(tt.tag),(0,f.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===a.size&&{margin:2,maxWidth:"calc(100% - 4px)"})),(0,d.Z)(i,"& .".concat(tt.inputRoot),(n={flexWrap:"wrap"},(0,d.Z)(n,".".concat(tt.hasPopupIcon,"&, .").concat(tt.hasClearIcon,"&"),{paddingRight:30}),(0,d.Z)(n,".".concat(tt.hasPopupIcon,".").concat(tt.hasClearIcon,"&"),{paddingRight:56}),(0,d.Z)(n,"& .".concat(tt.input),{width:0,minWidth:30}),n)),(0,d.Z)(i,"& .".concat(Ge.Z.root),{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}}),(0,d.Z)(i,"& .".concat(Ge.Z.root,".").concat(qe.Z.sizeSmall),(0,d.Z)({},"& .".concat(Ge.Z.input),{padding:"2px 4px 3px 0"})),(0,d.Z)(i,"& .".concat(Ke.Z.root),(r={padding:9},(0,d.Z)(r,".".concat(tt.hasPopupIcon,"&, .").concat(tt.hasClearIcon,"&"),{paddingRight:39}),(0,d.Z)(r,".".concat(tt.hasPopupIcon,".").concat(tt.hasClearIcon,"&"),{paddingRight:65}),(0,d.Z)(r,"& .".concat(tt.input),{padding:"7.5px 4px 7.5px 6px"}),(0,d.Z)(r,"& .".concat(tt.endAdornment),{right:9}),r)),(0,d.Z)(i,"& .".concat(Ke.Z.root,".").concat(qe.Z.sizeSmall),(0,d.Z)({padding:6},"& .".concat(tt.input),{padding:"2.5px 4px 2.5px 6px"})),(0,d.Z)(i,"& .".concat(Ye.Z.root),(o={paddingTop:19,paddingLeft:8},(0,d.Z)(o,".".concat(tt.hasPopupIcon,"&, .").concat(tt.hasClearIcon,"&"),{paddingRight:39}),(0,d.Z)(o,".".concat(tt.hasPopupIcon,".").concat(tt.hasClearIcon,"&"),{paddingRight:65}),(0,d.Z)(o,"& .".concat(Ye.Z.input),{padding:"7px 4px"}),(0,d.Z)(o,"& .".concat(tt.endAdornment),{right:9}),o)),(0,d.Z)(i,"& .".concat(Ye.Z.root,".").concat(qe.Z.sizeSmall),(0,d.Z)({paddingBottom:1},"& .".concat(Ye.Z.input),{padding:"2.5px 4px"})),(0,d.Z)(i,"& .".concat(qe.Z.hiddenLabel),{paddingTop:8}),(0,d.Z)(i,"& .".concat(tt.input),(0,f.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0},a.inputFocused&&{opacity:1})),i))})),ot=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:function(e,t){return t.endAdornment}})({position:"absolute",right:0,top:"calc(50% - 14px)"}),it=(0,y.ZP)(te.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:function(e,t){return t.clearIndicator}})({marginRight:-2,padding:4,visibility:"hidden"}),at=(0,y.ZP)(te.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:function(e,t){var n=e.ownerState;return(0,f.Z)({},t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen)}})((function(e){var t=e.ownerState;return(0,f.Z)({padding:2,marginRight:-2},t.popupOpen&&{transform:"rotate(180deg)"})})),st=(0,y.ZP)(Me.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(tt.option),t.option),t.popper,n.disablePortal&&t.popperDisablePortal]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({zIndex:(t.vars||t).zIndex.modal},n.disablePortal&&{position:"absolute"})})),lt=(0,y.ZP)(_.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:function(e,t){return t.paper}})((function(e){var t=e.theme;return(0,f.Z)({},t.typography.body1,{overflow:"auto"})})),ct=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:function(e,t){return t.loading}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),ut=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:function(e,t){return t.noOptions}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),dt=(0,y.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:function(e,t){return t.listbox}})((function(e){var t,n,r=e.theme;return(0,d.Z)({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},"& .".concat(tt.option),(n={minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,d.Z)(n,r.breakpoints.up("sm"),{minHeight:"auto"}),(0,d.Z)(n,"&.".concat(tt.focused),{backgroundColor:(r.vars||r).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,d.Z)(n,'&[aria-disabled="true"]',{opacity:(r.vars||r).palette.action.disabledOpacity,pointerEvents:"none"}),(0,d.Z)(n,"&.".concat(tt.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,d.Z)(n,'&[aria-selected="true"]',(t={backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity)},(0,d.Z)(t,"&.".concat(tt.focused),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(r.vars||r).palette.action.selected}}),(0,d.Z)(t,"&.".concat(tt.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)}),t)),n))})),ht=(0,y.ZP)(Ne,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:function(e,t){return t.groupLabel}})((function(e){var t=e.theme;return{backgroundColor:(t.vars||t).palette.background.paper,top:-8}})),ft=(0,y.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:function(e,t){return t.groupUl}})((0,d.Z)({padding:0},"& .".concat(tt.option),{paddingLeft:24})),pt=p.forwardRef((function(e,t){var n,r,o,i=(0,b.Z)({props:e,name:"MuiAutocomplete"}),a=(i.autoComplete,i.autoHighlight,i.autoSelect,i.blurOnSelect,i.ChipProps),s=i.className,l=i.clearIcon,c=void 0===l?Qe||(Qe=(0,R.jsx)(se,{fontSize:"small"})):l,u=i.clearOnBlur,d=(void 0===u&&i.freeSolo,i.clearOnEscape,i.clearText),m=void 0===d?"Clear":d,y=i.closeText,w=void 0===y?"Close":y,S=i.componentsProps,x=void 0===S?{}:S,C=i.defaultValue,k=(void 0===C&&i.multiple,i.disableClearable),Z=void 0!==k&&k,E=(i.disableCloseOnSelect,i.disabled),T=void 0!==E&&E,A=(i.disabledItemsFocusable,i.disableListWrap,i.disablePortal),P=void 0!==A&&A,M=(i.filterSelectedOptions,i.forcePopupIcon),O=void 0===M?"auto":M,L=i.freeSolo,I=void 0!==L&&L,D=i.fullWidth,N=void 0!==D&&D,j=i.getLimitTagsText,$=void 0===j?function(e){return"+".concat(e)}:j,F=i.getOptionLabel,z=void 0===F?function(e){var t;return null!=(t=e.label)?t:e}:F,W=i.groupBy,B=i.handleHomeEndKeys,H=(void 0===B&&i.freeSolo,i.includeInputInList,i.limitTags),U=void 0===H?-1:H,V=i.ListboxComponent,G=void 0===V?"ul":V,q=i.ListboxProps,K=i.loading,Y=void 0!==K&&K,X=i.loadingText,Q=void 0===X?"Loading\u2026":X,ee=i.multiple,te=void 0!==ee&&ee,ne=i.noOptionsText,re=void 0===ne?"No options":ne,oe=(i.openOnFocus,i.openText),ie=void 0===oe?"Open":oe,ae=i.PaperComponent,le=void 0===ae?_.Z:ae,ce=i.PopperComponent,ue=void 0===ce?Me.Z:ce,de=i.popupIcon,he=void 0===de?et||(et=(0,R.jsx)(Je.Z,{})):de,fe=i.readOnly,pe=void 0!==fe&&fe,me=i.renderGroup,ge=i.renderInput,ve=i.renderOption,ye=i.renderTags,be=i.selectOnFocus,we=(void 0===be&&i.freeSolo,i.size),_e=void 0===we?"medium":we,Se=(0,h.Z)(i,nt),xe=Pe((0,f.Z)({},i,{componentName:"Autocomplete"})),Ce=xe.getRootProps,ke=xe.getInputProps,Ze=xe.getInputLabelProps,Ee=xe.getPopupIndicatorProps,Re=xe.getClearProps,Te=xe.getTagProps,Ae=xe.getListboxProps,Oe=xe.getOptionProps,Le=xe.value,Ie=xe.dirty,De=xe.id,Ne=xe.popupOpen,je=xe.focused,$e=xe.focusedTag,Fe=xe.anchorEl,ze=xe.setAnchorEl,We=xe.inputValue,Be=xe.groupedOptions,He=!Z&&!T&&Ie&&!pe,Ue=(!I||!0===O)&&!1!==O,Ge=(0,f.Z)({},i,{disablePortal:P,focused:je,fullWidth:N,hasClearIcon:He,hasPopupIcon:Ue,inputFocused:-1===$e,popupOpen:Ne,size:_e}),qe=function(e){var t=e.classes,n=e.disablePortal,r=e.focused,o=e.fullWidth,i=e.hasClearIcon,a=e.hasPopupIcon,s=e.inputFocused,l=e.popupOpen,c=e.size,u={root:["root",r&&"focused",o&&"fullWidth",i&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag","tagSize".concat((0,J.Z)(c))],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",l&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,v.Z)(u,Xe,t)}(Ge);if(te&&Le.length>0){var Ke=function(e){return(0,f.Z)({className:(0,g.Z)(qe.tag),disabled:T},Te(e))};o=ye?ye(Le,Ke):Le.map((function(e,t){return(0,R.jsx)(Ve,(0,f.Z)({label:z(e),size:_e},Ke({index:t}),a))}))}if(U>-1&&Array.isArray(o)){var Ye=o.length-U;!je&&Ye>0&&(o=o.splice(0,U)).push((0,R.jsx)("span",{className:qe.tag,children:$(Ye)},o.length))}var tt=me||function(e){return(0,R.jsxs)("li",{children:[(0,R.jsx)(ht,{className:qe.groupLabel,ownerState:Ge,component:"div",children:e.group}),(0,R.jsx)(ft,{className:qe.groupUl,ownerState:Ge,children:e.children})]},e.key)},pt=ve||function(e,t){return(0,R.jsx)("li",(0,f.Z)({},e,{children:z(t)}))},mt=function(e,t){var n=Oe({option:e,index:t});return pt((0,f.Z)({},n,{className:qe.option}),e,{selected:n["aria-selected"],inputValue:We})};return(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(rt,(0,f.Z)({ref:t,className:(0,g.Z)(qe.root,s),ownerState:Ge},Ce(Se),{children:ge({id:De,disabled:T,fullWidth:!0,size:"small"===_e?"small":void 0,InputLabelProps:Ze(),InputProps:(0,f.Z)({ref:ze,className:qe.inputRoot,startAdornment:o},(He||Ue)&&{endAdornment:(0,R.jsxs)(ot,{className:qe.endAdornment,ownerState:Ge,children:[He?(0,R.jsx)(it,(0,f.Z)({},Re(),{"aria-label":m,title:m,ownerState:Ge},x.clearIndicator,{className:(0,g.Z)(qe.clearIndicator,null==(n=x.clearIndicator)?void 0:n.className),children:c})):null,Ue?(0,R.jsx)(at,(0,f.Z)({},Ee(),{disabled:T,"aria-label":Ne?w:ie,title:Ne?w:ie,className:(0,g.Z)(qe.popupIndicator),ownerState:Ge,children:he})):null]})}),inputProps:(0,f.Z)({className:(0,g.Z)(qe.input),disabled:T,readOnly:pe},ke())})})),Ne&&Fe?(0,R.jsx)(st,{as:ue,className:(0,g.Z)(qe.popper),disablePortal:P,style:{width:Fe?Fe.clientWidth:null},ownerState:Ge,role:"presentation",anchorEl:Fe,open:!0,children:(0,R.jsxs)(lt,(0,f.Z)({ownerState:Ge,as:le},x.paper,{className:(0,g.Z)(qe.paper,null==(r=x.paper)?void 0:r.className),children:[Y&&0===Be.length?(0,R.jsx)(ct,{className:qe.loading,ownerState:Ge,children:Q}):null,0!==Be.length||I||Y?null:(0,R.jsx)(ut,{className:qe.noOptions,ownerState:Ge,role:"presentation",onMouseDown:function(e){e.preventDefault()},children:re}),Be.length>0?(0,R.jsx)(dt,(0,f.Z)({as:G,className:qe.listbox,ownerState:Ge},Ae(),q,{children:Be.map((function(e,t){return W?tt({key:e.key,group:e.group,children:e.options.map((function(t,n){return mt(t,e.index+n)}))}):mt(e,t)}))})):null]}))}):null]})})),mt=(0,ne.Z)((0,R.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function gt(e){return(0,C.Z)("MuiAvatar",e)}var vt=(0,k.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),yt=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],bt=(0,y.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:t.shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&{color:t.palette.background.default,backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]})})),wt=(0,y.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(e,t){return t.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),_t=(0,y.ZP)(mt,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(e,t){return t.fallback}})({width:"75%",height:"75%"});var St=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiAvatar"}),r=n.alt,o=n.children,i=n.className,a=n.component,s=void 0===a?"div":a,l=n.imgProps,c=n.sizes,d=n.src,m=n.srcSet,y=n.variant,w=void 0===y?"circular":y,_=(0,h.Z)(n,yt),S=null,x=function(e){var t=e.crossOrigin,n=e.referrerPolicy,r=e.src,o=e.srcSet,i=p.useState(!1),a=(0,u.Z)(i,2),s=a[0],l=a[1];return p.useEffect((function(){if(r||o){l(!1);var e=!0,i=new Image;return i.onload=function(){e&&l("loaded")},i.onerror=function(){e&&l("error")},i.crossOrigin=t,i.referrerPolicy=n,i.src=r,o&&(i.srcset=o),function(){e=!1}}}),[t,n,r,o]),s}((0,f.Z)({},l,{src:d,srcSet:m})),C=d||m,k=C&&"error"!==x,Z=(0,f.Z)({},n,{colorDefault:!k,component:s,variant:w}),E=function(e){var t=e.classes,n={root:["root",e.variant,e.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,v.Z)(n,gt,t)}(Z);return S=k?(0,R.jsx)(wt,(0,f.Z)({alt:r,src:d,srcSet:m,sizes:c,ownerState:Z,className:E.img},l)):null!=o?o:C&&r?r[0]:(0,R.jsx)(_t,{className:E.fallback}),(0,R.jsx)(bt,(0,f.Z)({as:s,ownerState:Z,className:(0,g.Z)(E.root,i),ref:t},_,{children:S}))}));function xt(e){return(0,C.Z)("MuiAvatarGroup",e)}var Ct=(0,k.Z)("MuiAvatarGroup",["root","avatar"]),kt=["children","className","componentsProps","max","spacing","total","variant"],Zt={small:-16,medium:null},Et=(0,y.ZP)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:function(e,t){return(0,f.Z)((0,d.Z)({},"& .".concat(Ct.avatar),t.avatar),t.root)}})((function(e){var t,n=e.theme;return t={},(0,d.Z)(t,"& .".concat(vt.root),{border:"2px solid ".concat((n.vars||n).palette.background.default),boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}}),(0,d.Z)(t,"display","flex"),(0,d.Z)(t,"flexDirection","row-reverse"),t})),Rt=(0,y.ZP)(St,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:function(e,t){return t.avatar}})((function(e){var t=e.theme;return{border:"2px solid ".concat((t.vars||t).palette.background.default),boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}}})),Tt=p.forwardRef((function(e,t){var n,r,o=(0,b.Z)({props:e,name:"MuiAvatarGroup"}),i=o.children,a=o.className,s=o.componentsProps,l=void 0===s?{}:s,c=o.max,u=void 0===c?5:c,d=o.spacing,m=void 0===d?"medium":d,y=o.total,w=o.variant,_=void 0===w?"circular":w,S=(0,h.Z)(o,kt),x=u<2?2:u,C=(0,f.Z)({},o,{max:u,spacing:m,variant:_}),k=function(e){var t=e.classes;return(0,v.Z)({root:["root"],avatar:["avatar"]},xt,t)}(C),Z=p.Children.toArray(i).filter((function(e){return p.isValidElement(e)})),E=y||Z.length;E===x&&(x+=1),x=Math.min(E+1,x);var T=Math.min(Z.length,x-1),A=Math.max(E-x,E-T,0),P=m&&void 0!==Zt[m]?Zt[m]:-m;return(0,R.jsxs)(Et,(0,f.Z)({ownerState:C,className:(0,g.Z)(k.root,a),ref:t},S,{children:[A?(0,R.jsxs)(Rt,(0,f.Z)({ownerState:C,variant:_},l.additionalAvatar,{className:(0,g.Z)(k.avatar,null==(n=l.additionalAvatar)?void 0:n.className),style:(0,f.Z)({marginLeft:P},null==(r=l.additionalAvatar)?void 0:r.style),children:["+",A]})):null,Z.slice(0,T).reverse().map((function(e,t){return p.cloneElement(e,{className:(0,g.Z)(e.props.className,k.avatar),style:(0,f.Z)({marginLeft:t===T-1?void 0:P},e.props.style),variant:e.props.variant||_})}))]}))})),At=Tt,Pt=n(8060),Mt=n(8677),Ot=function(e){var t=p.useRef({});return p.useEffect((function(){t.current=e})),t.current},Lt=n(183);function It(e){return(0,C.Z)("BaseBadge",e)}(0,k.Z)("BaseBadge",["root","badge","invisible"]);var Dt=["badgeContent","component","children","className","components","componentsProps","invisible","max","showZero"],Nt=p.forwardRef((function(e,t){var n=e.component,r=e.children,o=e.className,i=e.components,a=void 0===i?{}:i,s=e.componentsProps,l=void 0===s?{}:s,c=e.max,u=void 0===c?99:c,d=e.showZero,p=void 0!==d&&d,m=(0,h.Z)(e,Dt),y=function(e){var t=e.badgeContent,n=e.invisible,r=void 0!==n&&n,o=e.max,i=void 0===o?99:o,a=e.showZero,s=void 0!==a&&a,l=Ot({badgeContent:t,max:i}),c=r;!1!==r||0!==t||s||(c=!0);var u=c?l:e,d=u.badgeContent,h=u.max,f=void 0===h?i:h;return{badgeContent:d,invisible:c,max:f,displayValue:d&&Number(d)>f?"".concat(f,"+"):d}}((0,f.Z)({},e,{max:u})),b=y.badgeContent,w=y.max,_=y.displayValue,S=y.invisible,x=(0,f.Z)({},e,{badgeContent:b,invisible:S,max:w,showZero:p}),C=function(e){var t={root:["root"],badge:["badge",e.invisible&&"invisible"]};return(0,v.Z)(t,It,void 0)}(x),k=n||a.Root||"span",Z=(0,Lt.Z)(k,(0,f.Z)({},m,l.root),x),E=a.Badge||"span",T=(0,Lt.Z)(E,l.badge,x);return(0,R.jsxs)(k,(0,f.Z)({},Z,{ref:t},m,{className:(0,g.Z)(C.root,Z.className,o),children:[r,(0,R.jsx)(E,(0,f.Z)({},T,{className:(0,g.Z)(C.badge,T.className),children:_}))]}))})),jt=Nt,$t=n(6897),Ft=function(e){return!e||!(0,$t.Z)(e)};function zt(e){return(0,C.Z)("MuiBadge",e)}var Wt=(0,k.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Bt=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],Ht=(0,y.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(e,t){return t.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Ut=(0,y.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(e,t){var n=e.ownerState;return[t.badge,t[n.variant],t["anchorOrigin".concat((0,J.Z)(n.anchorOrigin.vertical)).concat((0,J.Z)(n.anchorOrigin.horizontal)).concat((0,J.Z)(n.overlap))],"default"!==n.color&&t["color".concat((0,J.Z)(n.color))],n.invisible&&t.invisible]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},"dot"===n.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&(0,d.Z)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&(0,d.Z)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(Wt.invisible),{transform:"scale(0) translate(-50%, 50%)"}),n.invisible&&{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})})})),Vt=p.forwardRef((function(e,t){var n,r,o,i,a=(0,b.Z)({props:e,name:"MuiBadge"}),s=a.anchorOrigin,l=void 0===s?{vertical:"top",horizontal:"right"}:s,c=a.className,u=a.component,d=void 0===u?"span":u,p=a.components,m=void 0===p?{}:p,y=a.componentsProps,w=void 0===y?{}:y,_=a.overlap,S=void 0===_?"rectangular":_,x=a.color,C=void 0===x?"default":x,k=a.invisible,Z=void 0!==k&&k,E=a.max,T=a.badgeContent,A=a.showZero,P=void 0!==A&&A,M=a.variant,O=void 0===M?"standard":M,L=(0,h.Z)(a,Bt),I=Ot({anchorOrigin:l,color:C,overlap:S,variant:O}),D=Z;!1===Z&&(0===T&&!P||null==T&&"dot"!==O)&&(D=!0);var N,j=D?I:a,$=j.color,F=void 0===$?C:$,z=j.overlap,W=void 0===z?S:z,B=j.anchorOrigin,H=void 0===B?l:B,U=j.variant,V=void 0===U?O:U,G=function(e){var t=e.color,n=e.anchorOrigin,r=e.invisible,o=e.overlap,i=e.variant,a=e.classes,s=void 0===a?{}:a,l={root:["root"],badge:["badge",i,r&&"invisible","anchorOrigin".concat((0,J.Z)(n.vertical)).concat((0,J.Z)(n.horizontal)),"anchorOrigin".concat((0,J.Z)(n.vertical)).concat((0,J.Z)(n.horizontal)).concat((0,J.Z)(o)),"overlap".concat((0,J.Z)(o)),"default"!==t&&"color".concat((0,J.Z)(t))]};return(0,v.Z)(l,zt,s)}((0,f.Z)({},a,{anchorOrigin:H,invisible:D,color:F,overlap:W,variant:V}));return"dot"!==V&&(N=T&&Number(T)>E?"".concat(E,"+"):T),(0,R.jsx)(jt,(0,f.Z)({invisible:Z,badgeContent:N,showZero:P,max:E},L,{components:(0,f.Z)({Root:Ht,Badge:Ut},m),className:(0,g.Z)(c,G.root,null==(n=w.root)?void 0:n.className),componentsProps:{root:(0,f.Z)({},w.root,Ft(m.Root)&&{as:d,ownerState:(0,f.Z)({},null==(r=w.root)?void 0:r.ownerState,{anchorOrigin:H,color:F,overlap:W,variant:V})}),badge:(0,f.Z)({},w.badge,{className:(0,g.Z)(G.badge,null==(o=w.badge)?void 0:o.className)},Ft(m.Badge)&&{ownerState:(0,f.Z)({},null==(i=w.badge)?void 0:i.ownerState,{anchorOrigin:H,color:F,overlap:W,variant:V})})},ref:t}))}));function Gt(e){return(0,C.Z)("MuiBottomNavigation",e)}var qt=(0,k.Z)("MuiBottomNavigation",["root"]),Kt=["children","className","component","onChange","showLabels","value"],Yt=(0,y.ZP)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{display:"flex",justifyContent:"center",height:56,backgroundColor:(t.vars||t).palette.background.paper}})),Jt=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiBottomNavigation"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"div":i,s=n.onChange,l=n.showLabels,c=void 0!==l&&l,u=n.value,d=(0,h.Z)(n,Kt),m=(0,f.Z)({},n,{component:a,showLabels:c}),y=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Gt,t)}(m);return(0,R.jsx)(Yt,(0,f.Z)({as:a,className:(0,g.Z)(y.root,o),ref:t,ownerState:m},d,{children:p.Children.map(r,(function(e,t){if(!p.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return p.cloneElement(e,{selected:n===u,showLabel:void 0!==e.props.showLabel?e.props.showLabel:c,value:n,onChange:s})}))}))}));function Xt(e){return(0,C.Z)("MuiBottomNavigationAction",e)}var Qt=(0,k.Z)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),en=["className","icon","label","onChange","onClick","selected","showLabel","value"],tn=(0,y.ZP)(W.Z,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({transition:t.transitions.create(["color","padding-top"],{duration:t.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(t.vars||t).palette.text.secondary,flexDirection:"column",flex:"1"},!n.showLabel&&!n.selected&&{paddingTop:14},!n.showLabel&&!n.selected&&!n.label&&{paddingTop:0},(0,d.Z)({},"&.".concat(Qt.selected),{color:(t.vars||t).palette.primary.main}))})),nn=(0,y.ZP)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:function(e,t){return t.label}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!n.showLabel&&!n.selected&&{opacity:0,transitionDelay:"0s"},(0,d.Z)({},"&.".concat(Qt.selected),{fontSize:t.typography.pxToRem(14)}))})),rn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiBottomNavigationAction"}),r=n.className,o=n.icon,i=n.label,a=n.onChange,s=n.onClick,l=n.value,c=(0,h.Z)(n,en),u=n,d=function(e){var t=e.classes,n=e.showLabel,r=e.selected,o={root:["root",!n&&!r&&"iconOnly",r&&"selected"],label:["label",!n&&!r&&"iconOnly",r&&"selected"]};return(0,v.Z)(o,Xt,t)}(u);return(0,R.jsxs)(tn,(0,f.Z)({ref:t,className:(0,g.Z)(d.root,r),focusRipple:!0,onClick:function(e){a&&a(e,l),s&&s(e)},ownerState:u},c,{children:[o,(0,R.jsx)(nn,{className:d.label,ownerState:u,children:i})]}))})),on=n(4554),an=n(3433),sn=(0,ne.Z)((0,R.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),ln=(0,y.ZP)(W.Z)((function(e){var t=e.theme;return(0,f.Z)({display:"flex",marginLeft:"calc(".concat(t.spacing(1)," * 0.5)"),marginRight:"calc(".concat(t.spacing(1)," * 0.5)")},"light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,f.Z)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,f.Z)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,Y._4)(t.palette.grey[200],.12)}:{backgroundColor:(0,Y._4)(t.palette.grey[600],.12)})})})),cn=(0,y.ZP)(sn)({width:24,height:16});var un=function(e){var t=e;return(0,R.jsx)("li",{children:(0,R.jsx)(ln,(0,f.Z)({focusRipple:!0},e,{ownerState:t,children:(0,R.jsx)(cn,{ownerState:t})}))})};function dn(e){return(0,C.Z)("MuiBreadcrumbs",e)}var hn=(0,k.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),fn=["children","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],pn=(0,y.ZP)(me.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:function(e,t){return[(0,d.Z)({},"& .".concat(hn.li),t.li),t.root]}})({}),mn=(0,y.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:function(e,t){return t.ol}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),gn=(0,y.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:function(e,t){return t.separator}})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function vn(e,t,n,r){return e.reduce((function(o,i,a){return a=e.length?e:[].concat((0,an.Z)(e.slice(0,y)),[(0,R.jsx)(un,{"aria-label":l,onClick:function(){T(!0);var e=M.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis")],(0,an.Z)(e.slice(e.length-d,e.length)))}(O),P.separator,x,A)})}))})),bn=n(5849),wn=n(9056),_n=n(2889),Sn=n(3007);function xn(e){return(0,C.Z)("MuiButtonGroup",e)}var Cn=(0,k.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]),kn=n(1793),Zn=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],En=(0,y.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Cn.grouped),t.grouped),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.orientation))]),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.variant))]),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.variant)).concat((0,J.Z)(n.orientation))]),(0,d.Z)({},"& .".concat(Cn.grouped),t["grouped".concat((0,J.Z)(n.variant)).concat((0,J.Z)(n.color))]),t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[2]},n.disableElevation&&{boxShadow:"none"},n.fullWidth&&{width:"100%"},"vertical"===n.orientation&&{flexDirection:"column"},(0,d.Z)({},"& .".concat(Cn.grouped),(0,f.Z)({minWidth:40,"&:not(:first-of-type)":(0,f.Z)({},"horizontal"===n.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===n.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===n.variant&&"horizontal"===n.orientation&&{marginLeft:-1},"outlined"===n.variant&&"vertical"===n.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,f.Z)({},"horizontal"===n.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===n.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===n.variant&&"horizontal"===n.orientation&&{borderRight:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===n.variant&&"vertical"===n.orientation&&{borderBottom:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===n.variant&&"inherit"!==n.color&&{borderColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.5)"):(0,Y.Fq)(t.palette[n.color].main,.5)},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"transparent"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"transparent"},"contained"===n.variant&&"horizontal"===n.orientation&&(0,d.Z)({borderRight:"1px solid ".concat((t.vars||t).palette.grey[400])},"&.".concat(Cn.disabled),{borderRight:"1px solid ".concat((t.vars||t).palette.action.disabled)}),"contained"===n.variant&&"vertical"===n.orientation&&(0,d.Z)({borderBottom:"1px solid ".concat((t.vars||t).palette.grey[400])},"&.".concat(Cn.disabled),{borderBottom:"1px solid ".concat((t.vars||t).palette.action.disabled)}),"contained"===n.variant&&"inherit"!==n.color&&{borderColor:(t.vars||t).palette[n.color].dark},{"&:hover":(0,f.Z)({},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"currentColor"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,f.Z)({},"contained"===n.variant&&{boxShadow:"none"})},"contained"===n.variant&&{boxShadow:"none"})))})),Rn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiButtonGroup"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"primary":i,s=n.component,l=void 0===s?"div":s,c=n.disabled,u=void 0!==c&&c,d=n.disableElevation,m=void 0!==d&&d,y=n.disableFocusRipple,w=void 0!==y&&y,_=n.disableRipple,S=void 0!==_&&_,x=n.fullWidth,C=void 0!==x&&x,k=n.orientation,Z=void 0===k?"horizontal":k,E=n.size,T=void 0===E?"medium":E,A=n.variant,P=void 0===A?"outlined":A,M=(0,h.Z)(n,Zn),O=(0,f.Z)({},n,{color:a,component:l,disabled:u,disableElevation:m,disableFocusRipple:w,disableRipple:S,fullWidth:C,orientation:Z,size:T,variant:P}),L=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.disableElevation,i=e.fullWidth,a=e.orientation,s=e.variant,l={root:["root",s,"vertical"===a&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped","grouped".concat((0,J.Z)(a)),"grouped".concat((0,J.Z)(s)),"grouped".concat((0,J.Z)(s)).concat((0,J.Z)(a)),"grouped".concat((0,J.Z)(s)).concat((0,J.Z)(n)),r&&"disabled"]};return(0,v.Z)(l,xn,t)}(O),I=p.useMemo((function(){return{className:L.grouped,color:a,disabled:u,disableElevation:m,disableFocusRipple:w,disableRipple:S,fullWidth:C,size:T,variant:P}}),[a,u,m,w,S,C,T,P,L.grouped]);return(0,R.jsx)(En,(0,f.Z)({as:l,role:"group",className:(0,g.Z)(L.root,o),ref:t,ownerState:O},M,{children:(0,R.jsx)(kn.Z.Provider,{value:I,children:r})}))}));function Tn(e){return(0,C.Z)("MuiCard",e)}var An=(0,k.Z)("MuiCard",["root"]),Pn=["className","raised"],Mn=(0,y.ZP)(_.Z,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),On=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,h.Z)(n,Pn),s=(0,f.Z)({},n,{raised:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Tn,t)}(s);return(0,R.jsx)(Mn,(0,f.Z)({className:(0,g.Z)(l.root,r),elevation:i?8:void 0,ref:t,ownerState:s},a))}));function Ln(e){return(0,C.Z)("MuiCardActionArea",e)}var In=(0,k.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]),Dn=["children","className","focusVisibleClassName"],Nn=(0,y.ZP)(W.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme;return t={display:"block",textAlign:"inherit",width:"100%"},(0,d.Z)(t,"&:hover .".concat(In.focusHighlight),{opacity:(n.vars||n).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}}),(0,d.Z)(t,"&.".concat(In.focusVisible," .").concat(In.focusHighlight),{opacity:(n.vars||n).palette.action.focusOpacity}),t})),jn=(0,y.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:function(e,t){return t.focusHighlight}})((function(e){var t=e.theme;return{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}})),$n=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardActionArea"}),r=n.children,o=n.className,i=n.focusVisibleClassName,a=(0,h.Z)(n,Dn),s=n,l=function(e){var t=e.classes;return(0,v.Z)({root:["root"],focusHighlight:["focusHighlight"]},Ln,t)}(s);return(0,R.jsxs)(Nn,(0,f.Z)({className:(0,g.Z)(l.root,o),focusVisibleClassName:(0,g.Z)(i,l.focusVisible),ref:t,ownerState:s},a,{children:[r,(0,R.jsx)(jn,{className:l.focusHighlight,ownerState:s})]}))}));function Fn(e){return(0,C.Z)("MuiCardActions",e)}var zn=(0,k.Z)("MuiCardActions",["root","spacing"]),Wn=["disableSpacing","className"],Bn=(0,y.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),Hn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardActions"}),r=n.disableSpacing,o=void 0!==r&&r,i=n.className,a=(0,h.Z)(n,Wn),s=(0,f.Z)({},n,{disableSpacing:o}),l=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,v.Z)(n,Fn,t)}(s);return(0,R.jsx)(Bn,(0,f.Z)({className:(0,g.Z)(l.root,i),ownerState:s,ref:t},a))}));function Un(e){return(0,C.Z)("MuiCardContent",e)}var Vn=(0,k.Z)("MuiCardContent",["root"]),Gn=["className","component"],qn=(0,y.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),Kn=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,h.Z)(n,Gn),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Un,t)}(s);return(0,R.jsx)(qn,(0,f.Z)({as:i,className:(0,g.Z)(l.root,r),ownerState:s,ref:t},a))}));function Yn(e){return(0,C.Z)("MuiCardHeader",e)}var Jn=(0,k.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Xn=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Qn=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:function(e,t){var n;return(0,f.Z)((n={},(0,d.Z)(n,"& .".concat(Jn.title),t.title),(0,d.Z)(n,"& .".concat(Jn.subheader),t.subheader),n),t.root)}})({display:"flex",alignItems:"center",padding:16}),er=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:function(e,t){return t.avatar}})({display:"flex",flex:"0 0 auto",marginRight:16}),tr=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:function(e,t){return t.action}})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),nr=(0,y.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:function(e,t){return t.content}})({flex:"1 1 auto"}),rr=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardHeader"}),r=n.action,o=n.avatar,i=n.className,a=n.component,s=void 0===a?"div":a,l=n.disableTypography,c=void 0!==l&&l,u=n.subheader,d=n.subheaderTypographyProps,p=n.title,m=n.titleTypographyProps,y=(0,h.Z)(n,Xn),w=(0,f.Z)({},n,{component:s,disableTypography:c}),_=function(e){var t=e.classes;return(0,v.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Yn,t)}(w),S=p;null==S||S.type===me.Z||c||(S=(0,R.jsx)(me.Z,(0,f.Z)({variant:o?"body2":"h5",className:_.title,component:"span",display:"block"},m,{children:S})));var x=u;return null==x||x.type===me.Z||c||(x=(0,R.jsx)(me.Z,(0,f.Z)({variant:o?"body2":"body1",className:_.subheader,color:"text.secondary",component:"span",display:"block"},d,{children:x}))),(0,R.jsxs)(Qn,(0,f.Z)({className:(0,g.Z)(_.root,i),as:s,ref:t,ownerState:w},y,{children:[o&&(0,R.jsx)(er,{className:_.avatar,ownerState:w,children:o}),(0,R.jsxs)(nr,{className:_.content,ownerState:w,children:[S,x]}),r&&(0,R.jsx)(tr,{className:_.action,ownerState:w,children:r})]}))}));function or(e){return(0,C.Z)("MuiCardMedia",e)}var ir=(0,k.Z)("MuiCardMedia",["root","media","img"]),ar=["children","className","component","image","src","style"],sr=(0,y.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.isMediaComponent,o=n.isImageComponent;return[t.root,r&&t.media,o&&t.img]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},t.isMediaComponent&&{width:"100%"},t.isImageComponent&&{objectFit:"cover"})})),lr=["video","audio","picture","iframe","img"],cr=["picture","img"],ur=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCardMedia"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"div":i,s=n.image,l=n.src,c=n.style,u=(0,h.Z)(n,ar),d=-1!==lr.indexOf(a),p=!d&&s?(0,f.Z)({backgroundImage:'url("'.concat(s,'")')},c):c,m=(0,f.Z)({},n,{component:a,isMediaComponent:d,isImageComponent:-1!==cr.indexOf(a)}),y=function(e){var t=e.classes,n={root:["root",e.isMediaComponent&&"media",e.isImageComponent&&"img"]};return(0,v.Z)(n,or,t)}(m);return(0,R.jsx)(sr,(0,f.Z)({className:(0,g.Z)(y.root,o),as:a,role:!d&&s?"img":void 0,ref:t,style:p,ownerState:m,src:d?s||l:void 0},u,{children:r}))})),dr=ur,hr=n(3034),fr=n(4178),pr=n(168),mr=n(2554);function gr(e){return(0,C.Z)("MuiCircularProgress",e)}var vr,yr,br,wr,_r,Sr,xr,Cr,kr=(0,k.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),Zr=["className","color","disableShrink","size","style","thickness","value","variant"],Er=44,Rr=(0,mr.F4)(_r||(_r=vr||(vr=(0,pr.Z)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])))),Tr=(0,mr.F4)(Sr||(Sr=yr||(yr=(0,pr.Z)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])))),Ar=(0,y.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["color".concat((0,J.Z)(n.color))]]}})((function(e){var t=e.ownerState,n=e.theme;return(0,f.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:n.transitions.create("transform")},"inherit"!==t.color&&{color:(n.vars||n).palette[t.color].main})}),(function(e){return"indeterminate"===e.ownerState.variant&&(0,mr.iv)(xr||(xr=br||(br=(0,pr.Z)(["\n animation: "," 1.4s linear infinite;\n "]))),Rr)})),Pr=(0,y.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(e,t){return t.svg}})({display:"block"}),Mr=(0,y.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(e,t){var n=e.ownerState;return[t.circle,t["circle".concat((0,J.Z)(n.variant))],n.disableShrink&&t.circleDisableShrink]}})((function(e){var t=e.ownerState,n=e.theme;return(0,f.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(e){var t=e.ownerState;return"indeterminate"===t.variant&&!t.disableShrink&&(0,mr.iv)(Cr||(Cr=wr||(wr=(0,pr.Z)(["\n animation: "," 1.4s ease-in-out infinite;\n "]))),Tr)})),Or=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiCircularProgress"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.disableShrink,s=void 0!==a&&a,l=n.size,c=void 0===l?40:l,u=n.style,d=n.thickness,p=void 0===d?3.6:d,m=n.value,y=void 0===m?0:m,w=n.variant,_=void 0===w?"indeterminate":w,S=(0,h.Z)(n,Zr),x=(0,f.Z)({},n,{color:i,disableShrink:s,size:c,thickness:p,value:y,variant:_}),C=function(e){var t=e.classes,n=e.variant,r=e.color,o=e.disableShrink,i={root:["root",n,"color".concat((0,J.Z)(r))],svg:["svg"],circle:["circle","circle".concat((0,J.Z)(n)),o&&"circleDisableShrink"]};return(0,v.Z)(i,gr,t)}(x),k={},Z={},E={};if("determinate"===_){var T=2*Math.PI*((Er-p)/2);k.strokeDasharray=T.toFixed(3),E["aria-valuenow"]=Math.round(y),k.strokeDashoffset="".concat(((100-y)/100*T).toFixed(3),"px"),Z.transform="rotate(-90deg)"}return(0,R.jsx)(Ar,(0,f.Z)({className:(0,g.Z)(C.root,r),style:(0,f.Z)({width:c,height:c},Z,u),ownerState:x,ref:t,role:"progressbar"},E,S,{children:(0,R.jsx)(Pr,{className:C.svg,ownerState:x,viewBox:"".concat(22," ").concat(22," ").concat(Er," ").concat(Er),children:(0,R.jsx)(Mr,{className:C.circle,style:k,ownerState:x,cx:Er,cy:Er,r:(Er-p)/2,fill:"none",strokeWidth:p})})}))})),Lr=Or,Ir=n(3767),Dr=n(8751);function Nr(e){return(0,C.Z)("MuiContainer",e)}var jr=(0,k.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]),$r=["className","component","disableGutters","fixed","maxWidth"],Fr=(0,y.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,J.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&(0,d.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}))}),(function(e){var t=e.theme;return e.ownerState.fixed&&Object.keys(t.breakpoints.values).reduce((function(e,n){var r=t.breakpoints.values[n];return 0!==r&&(e[t.breakpoints.up(n)]={maxWidth:"".concat(r).concat(t.breakpoints.unit)}),e}),{})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},"xs"===n.maxWidth&&(0,d.Z)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),n.maxWidth&&"xs"!==n.maxWidth&&(0,d.Z)({},t.breakpoints.up(n.maxWidth),{maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)}))})),zr=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.disableGutters,s=void 0!==a&&a,l=n.fixed,c=void 0!==l&&l,u=n.maxWidth,d=void 0===u?"lg":u,p=(0,h.Z)(n,$r),m=(0,f.Z)({},n,{component:i,disableGutters:s,fixed:c,maxWidth:d}),y=function(e){var t=e.classes,n=e.fixed,r=e.disableGutters,o=e.maxWidth,i={root:["root",o&&"maxWidth".concat((0,J.Z)(String(o))),n&&"fixed",r&&"disableGutters"]};return(0,v.Z)(i,Nr,t)}(m);return(0,R.jsx)(Fr,(0,f.Z)({as:i,ownerState:m,className:(0,g.Z)(y.root,r),ref:t},p))})),Wr=n(8982),Br=function(e,t){return(0,f.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&{colorScheme:e.palette.mode})},Hr=function(e){return(0,f.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}})};var Ur=function(e){var t=(0,b.Z)({props:e,name:"MuiCssBaseline"}),n=t.children,r=t.enableColorScheme,o=void 0!==r&&r;return(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(Wr.Z,{styles:function(e){return function(e){var t,n,r={html:Br(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,f.Z)({margin:0},Hr(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o=null==(t=e.components)||null==(n=t.MuiCssBaseline)?void 0:n.styleOverrides;return o&&(r=[r,o]),r}(e,o)}}),n]})},Vr={track:"#2b2b2b",thumb:"#6b6b6b",active:"#959595"};function Gr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vr;return{scrollbarColor:"".concat(e.thumb," ").concat(e.track),"&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:e.track},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:e.thumb,minHeight:24,border:"3px solid ".concat(e.track)},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:e.active},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:e.track}}}var qr=n(5574),Kr=n(8514),Yr=n(7386),Jr=n(411),Xr=n(4899),Qr=n(6907),eo=n(1701),to=n(7293),no=n(5661),ro=n(5178),oo=n(133),io=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],ao=(0,y.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,Y.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},n.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat((t.vars||t).palette.divider),transform:"translateX(0%)"}})}),(function(e){var t=e.ownerState;return(0,f.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),so=(0,y.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),lo=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiDivider"}),r=n.absolute,o=void 0!==r&&r,i=n.children,a=n.className,s=n.component,l=void 0===s?i?"div":"hr":s,c=n.flexItem,u=void 0!==c&&c,d=n.light,p=void 0!==d&&d,m=n.orientation,y=void 0===m?"horizontal":m,w=n.role,_=void 0===w?"hr"!==l?"separator":void 0:w,S=n.textAlign,x=void 0===S?"center":S,C=n.variant,k=void 0===C?"fullWidth":C,Z=(0,h.Z)(n,io),E=(0,f.Z)({},n,{absolute:o,component:l,flexItem:u,light:p,orientation:y,role:_,textAlign:x,variant:k}),T=function(e){var t=e.absolute,n=e.children,r=e.classes,o=e.flexItem,i=e.light,a=e.orientation,s=e.textAlign,l={root:["root",t&&"absolute",e.variant,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,v.Z)(l,oo.V,r)}(E);return(0,R.jsx)(ao,(0,f.Z)({as:l,className:(0,g.Z)(T.root,a),role:_,ref:t,ownerState:E},Z,{children:i?(0,R.jsx)(so,{className:T.wrapper,ownerState:E,children:i}):null}))})),co=n(6549),uo=n(5931),ho=n(3967);function fo(e){return(0,C.Z)("MuiDrawer",e)}var po=(0,k.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),mo=["BackdropProps"],go=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],vo=function(e,t){var n=e.ownerState;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},yo=(0,y.ZP)(co.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:vo})((function(e){var t=e.theme;return{zIndex:(t.vars||t).zIndex.drawer}})),bo=(0,y.ZP)("div",{shouldForwardProp:y.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:vo})({flex:"0 0 auto"}),wo=(0,y.ZP)(_.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["paperAnchor".concat((0,J.Z)(n.anchor))],"temporary"!==n.variant&&t["paperAnchorDocked".concat((0,J.Z)(n.anchor))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:"1px solid ".concat((t.vars||t).palette.divider)},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider)},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:"1px solid ".concat((t.vars||t).palette.divider)})})),_o={left:"right",right:"left",top:"down",bottom:"up"};function So(e){return-1!==["left","right"].indexOf(e)}function xo(e,t){return"rtl"===e.direction&&So(t)?_o[t]:t}var Co=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiDrawer"}),r=(0,ho.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=n.anchor,a=void 0===i?"left":i,s=n.BackdropProps,l=n.children,c=n.className,u=n.elevation,d=void 0===u?16:u,m=n.hideBackdrop,y=void 0!==m&&m,w=n.ModalProps,_=(w=void 0===w?{}:w).BackdropProps,S=n.onClose,x=n.open,C=void 0!==x&&x,k=n.PaperProps,Z=void 0===k?{}:k,E=n.SlideProps,T=n.TransitionComponent,A=void 0===T?uo.Z:T,P=n.transitionDuration,M=void 0===P?o:P,O=n.variant,L=void 0===O?"temporary":O,I=(0,h.Z)(n.ModalProps,mo),D=(0,h.Z)(n,go),N=p.useRef(!1);p.useEffect((function(){N.current=!0}),[]);var j=xo(r,a),$=a,F=(0,f.Z)({},n,{anchor:$,elevation:d,open:C,variant:L},D),z=function(e){var t=e.classes,n=e.anchor,r=e.variant,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,J.Z)(n)),"temporary"!==r&&"paperAnchorDocked".concat((0,J.Z)(n))]};return(0,v.Z)(o,fo,t)}(F),W=(0,R.jsx)(wo,(0,f.Z)({elevation:"temporary"===L?d:0,square:!0},Z,{className:(0,g.Z)(z.paper,Z.className),ownerState:F,children:l}));if("permanent"===L)return(0,R.jsx)(bo,(0,f.Z)({className:(0,g.Z)(z.root,z.docked,c),ownerState:F,ref:t},D,{children:W}));var B=(0,R.jsx)(A,(0,f.Z)({in:C,direction:_o[j],timeout:M,appear:N.current},E,{children:W}));return"persistent"===L?(0,R.jsx)(bo,(0,f.Z)({className:(0,g.Z)(z.root,z.docked,c),ownerState:F,ref:t},D,{children:B})):(0,R.jsx)(yo,(0,f.Z)({BackdropProps:(0,f.Z)({},s,_,{transitionDuration:M}),className:(0,g.Z)(z.root,z.modal,c),open:C,ownerState:F,onClose:S,hideBackdrop:y,ref:t},D,I,{children:B}))})),ko=n(8240),Zo=n(2044),Eo=n(627),Ro=n(6596),To=n(5363),Ao=n(2930),Po=n(4997),Mo=n(5801),Oo=n(5948);function Lo(e){return(0,C.Z)("MuiFormGroup",e)}var Io=(0,k.Z)("MuiFormGroup",["root","row","error"]),Do=n(6147),No=["className","row"],jo=(0,y.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.row&&t.row]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),$o=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiFormGroup"}),r=n.className,o=n.row,i=void 0!==o&&o,a=(0,h.Z)(n,No),s=(0,Ao.Z)(),l=(0,Do.Z)({props:n,muiFormControl:s,states:["error"]}),c=(0,f.Z)({},n,{row:i,error:l.error}),u=function(e){var t=e.classes,n={root:["root",e.row&&"row",e.error&&"error"]};return(0,v.Z)(n,Lo,t)}(c);return(0,R.jsx)(jo,(0,f.Z)({className:(0,g.Z)(u.root,r),ownerState:c,ref:t},a))})),Fo=n(35),zo=n(147),Wo=n(7133),Bo=n(843),Ho=n(1153),Uo=n(1242),Vo=n(3208),Go=n(2007),qo=n.n(Go),Ko=n(3073),Yo=n(2110),Jo=n.n(Yo),Xo=n(162),Qo=n(9120);function ei(e,t,n,r,o){var i="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,a=p.useState((function(){return o&&i?n(e).matches:r?r(e).matches:t})),s=(0,u.Z)(a,2),l=s[0],c=s[1];return(0,Xo.Z)((function(){var t=!0;if(i){var r=n(e),o=function(){t&&c(r.matches)};return o(),r.addListener(o),function(){t=!1,r.removeListener(o)}}}),[e,n,i]),l}var ti=m.useSyncExternalStore;function ni(e,t,n,r){var o=p.useCallback((function(){return t}),[t]),i=p.useMemo((function(){if(null!==r){var t=r(e).matches;return function(){return t}}return o}),[o,e,r]),a=p.useMemo((function(){if(null===n)return[o,function(){return function(){}}];var t=n(e);return[function(){return t.matches},function(e){return t.addListener(e),function(){t.removeListener(e)}}]}),[o,n,e]),s=(0,u.Z)(a,2),l=s[0],c=s[1];return ti(c,l,i)}function ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,Qo.Z)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,o=(0,Ko.Z)({name:"MuiUseMediaQuery",props:t,theme:n}),i=o.defaultMatches,a=void 0!==i&&i,s=o.matchMedia,l=void 0===s?r?window.matchMedia:null:s,c=o.ssrMatchMedia,u=void 0===c?null:c,d=o.noSsr;var h="function"===typeof e?e(n):e;h=h.replace(/^@media( ?)/m,"");var f=void 0!==ti?ni:ei,p=f(h,a,l,u,d);return p}var oi=["initialWidth","width"],ii=["xs","sm","md","lg","xl"],ai=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?ii.indexOf(e)<=ii.indexOf(t):ii.indexOf(e)2&&void 0!==arguments[2]&&arguments[2];return n?ii.indexOf(t)<=ii.indexOf(e):ii.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,o=e.noSSR,i=void 0!==o&&o,a=e.initialWidth;function s(e){var n=(0,ho.Z)(),o=e.theme||n,s=(0,Ko.Z)({theme:o,name:"MuiWithWidth",props:e}),l=s.initialWidth,c=s.width,d=(0,h.Z)(s,oi),m=p.useState(!1),g=(0,u.Z)(m,2),v=g[0],y=g[1];(0,Xo.Z)((function(){y(!0)}),[]);var b=o.breakpoints.keys.slice().reverse().reduce((function(e,t){var n=ri(o.breakpoints.up(t));return!e&&n?t:e}),null),w=(0,f.Z)({width:c||(v||i?b:void 0)||l||a},r?{theme:o}:{},d);return void 0===w.width?null:(0,R.jsx)(t,(0,f.Z)({},w))}return Jo()(s,t),s}};function ci(e){var t=e.children,n=e.only,r=e.width,o=(0,ho.Z)(),i=!0;if(n)if(Array.isArray(n))for(var a=0;a .".concat(Na.root),{paddingRight:48}),(t={},(0,d.Z)(t,"&.".concat(Ia.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,d.Z)(t,"&.".concat(Ia.selected),(0,d.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Ia.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,d.Z)(t,"&.".concat(Ia.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},r.button&&(0,d.Z)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(Ia.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),r.hasSecondaryAction&&{paddingRight:48})})),Ga=(0,y.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,t){return t.container}})({position:"relative"}),qa=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItem"}),r=n.alignItems,o=void 0===r?"center":r,i=n.autoFocus,a=void 0!==i&&i,s=n.button,l=void 0!==s&&s,c=n.children,u=n.className,d=n.component,m=n.components,y=void 0===m?{}:m,w=n.componentsProps,_=void 0===w?{}:w,S=n.ContainerComponent,x=void 0===S?"li":S,C=n.ContainerProps,k=(C=void 0===C?{}:C).className,Z=n.dense,E=void 0!==Z&&Z,T=n.disabled,A=void 0!==T&&T,P=n.disableGutters,M=void 0!==P&&P,O=n.disablePadding,L=void 0!==O&&O,I=n.divider,D=void 0!==I&&I,N=n.focusVisibleClassName,j=n.secondaryAction,$=n.selected,F=void 0!==$&&$,z=(0,h.Z)(n.ContainerProps,Ha),B=(0,h.Z)(n,Ua),H=p.useContext(Oa.Z),U={dense:E||H.dense||!1,alignItems:o,disableGutters:M},V=p.useRef(null);(0,Xo.Z)((function(){a&&V.current&&V.current.focus()}),[a]);var G=p.Children.toArray(c),q=G.length&&(0,Pi.Z)(G[G.length-1],["ListItemSecondaryAction"]),K=(0,f.Z)({},n,{alignItems:o,autoFocus:a,button:l,dense:U.dense,disabled:A,disableGutters:M,disablePadding:L,divider:D,hasSecondaryAction:q,selected:F}),Y=function(e){var t=e.alignItems,n=e.button,r=e.classes,o=e.dense,i=e.disabled,a={root:["root",o&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,v.Z)(a,La,r)}(K),J=(0,$e.Z)(V,t),X=y.Root||Va,Q=_.root||{},ee=(0,f.Z)({className:(0,g.Z)(Y.root,Q.className,u),disabled:A},B),te=d||"li";return l&&(ee.component=d||"div",ee.focusVisibleClassName=(0,g.Z)(Ia.focusVisible,N),te=W.Z),q?(te=ee.component||d?te:"div","li"===x&&("li"===te?te="div":"li"===ee.component&&(ee.component="div")),(0,R.jsx)(Oa.Z.Provider,{value:U,children:(0,R.jsxs)(Ga,(0,f.Z)({as:x,className:(0,g.Z)(Y.container,k),ref:J,ownerState:K},z,{children:[(0,R.jsx)(X,(0,f.Z)({},Q,!(0,$t.Z)(X)&&{as:te,ownerState:(0,f.Z)({},K,Q.ownerState)},ee,{children:G})),G.pop()]}))})):(0,R.jsx)(Oa.Z.Provider,{value:U,children:(0,R.jsxs)(X,(0,f.Z)({},Q,{as:te,ref:J,ownerState:K},!(0,$t.Z)(X)&&{ownerState:(0,f.Z)({},K,Q.ownerState)},ee,{children:[G,j&&(0,R.jsx)(Ba,{children:j})]}))})}));function Ka(e){return(0,C.Z)("MuiListItemAvatar",e)}var Ya=(0,k.Z)("MuiListItemAvatar",["root","alignItemsFlexStart"]),Ja=["className"],Xa=(0,y.ZP)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.ownerState;return(0,f.Z)({minWidth:56,flexShrink:0},"flex-start"===t.alignItems&&{marginTop:8})})),Qa=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemAvatar"}),r=n.className,o=(0,h.Z)(n,Ja),i=p.useContext(Oa.Z),a=(0,f.Z)({},n,{alignItems:i.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,v.Z)(r,Ka,n)}(a);return(0,R.jsx)(Xa,(0,f.Z)({className:(0,g.Z)(s.root,r),ownerState:a,ref:t},o))})),es=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],ts=(0,y.ZP)(W.Z,{shouldForwardProp:function(e){return(0,y.FO)(e)||"classes"===e},name:"MuiListItemButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)((t={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,d.Z)(t,"&.".concat(Na.selected),(0,d.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Na.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,d.Z)(t,"&.".concat(Na.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,d.Z)(t,"&.".concat(Na.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,d.Z)(t,"&.".concat(Na.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===r.alignItems&&{alignItems:"flex-start"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.dense&&{paddingTop:4,paddingBottom:4})})),ns=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemButton"}),r=n.alignItems,o=void 0===r?"center":r,i=n.autoFocus,a=void 0!==i&&i,s=n.component,l=void 0===s?"div":s,c=n.children,u=n.dense,d=void 0!==u&&u,m=n.disableGutters,y=void 0!==m&&m,w=n.divider,_=void 0!==w&&w,S=n.focusVisibleClassName,x=n.selected,C=void 0!==x&&x,k=(0,h.Z)(n,es),Z=p.useContext(Oa.Z),E={dense:d||Z.dense||!1,alignItems:o,disableGutters:y},T=p.useRef(null);(0,Xo.Z)((function(){a&&T.current&&T.current.focus()}),[a]);var A=(0,f.Z)({},n,{alignItems:o,dense:E.dense,disableGutters:y,divider:_,selected:C}),P=function(e){var t=e.alignItems,n=e.classes,r=e.dense,o=e.disabled,i={root:["root",r&&"dense",!e.disableGutters&&"gutters",e.divider&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",e.selected&&"selected"]},a=(0,v.Z)(i,Da,n);return(0,f.Z)({},n,a)}(A),M=(0,$e.Z)(T,t);return(0,R.jsx)(Oa.Z.Provider,{value:E,children:(0,R.jsx)(ts,(0,f.Z)({ref:M,component:l,focusVisibleClassName:(0,g.Z)(P.focusVisible,S),ownerState:A},k,{classes:P,children:c}))})})),rs=n(6014),os=["className"],is=(0,y.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),as=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemIcon"}),r=n.className,o=(0,h.Z)(n,os),i=p.useContext(Oa.Z),a=(0,f.Z)({},n,{alignItems:i.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,v.Z)(r,rs.f,n)}(a);return(0,R.jsx)(is,(0,f.Z)({className:(0,g.Z)(s.root,r),ownerState:a,ref:t},o))})),ss=n(9849),ls=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],cs=(0,y.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(ss.Z.primary),t.primary),(0,d.Z)({},"& .".concat(ss.Z.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,f.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),us=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiListItemText"}),r=n.children,o=n.className,i=n.disableTypography,a=void 0!==i&&i,s=n.inset,l=void 0!==s&&s,c=n.primary,u=n.primaryTypographyProps,d=n.secondary,m=n.secondaryTypographyProps,y=(0,h.Z)(n,ls),w=p.useContext(Oa.Z).dense,_=null!=c?c:r,S=d,x=(0,f.Z)({},n,{disableTypography:a,inset:l,primary:!!_,secondary:!!S,dense:w}),C=function(e){var t=e.classes,n=e.inset,r=e.primary,o=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,v.Z)(i,ss.L,t)}(x);return null==_||_.type===me.Z||a||(_=(0,R.jsx)(me.Z,(0,f.Z)({variant:w?"body2":"body1",className:C.primary,component:"span",display:"block"},u,{children:_}))),null==S||S.type===me.Z||a||(S=(0,R.jsx)(me.Z,(0,f.Z)({variant:"body2",className:C.secondary,color:"text.secondary",display:"block"},m,{children:S}))),(0,R.jsxs)(cs,(0,f.Z)({className:(0,g.Z)(C.root,o),ownerState:x,ref:t},y,{children:[_,S]}))})),ds=n(2744),hs=n(5782),fs=n(2626),ps=n(1498),ms=n(5028);function gs(e){return(0,C.Z)("MuiMobileStepper",e)}var vs=(0,k.Z)("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]),ys=["activeStep","backButton","className","LinearProgressProps","nextButton","position","steps","variant"],bs=(0,y.ZP)(_.Z,{name:"MuiMobileStepper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,J.Z)(n.position))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(t.vars||t).palette.background.default,padding:8},"bottom"===n.position&&{position:"fixed",bottom:0,left:0,right:0,zIndex:(t.vars||t).zIndex.mobileStepper},"top"===n.position&&{position:"fixed",top:0,left:0,right:0,zIndex:(t.vars||t).zIndex.mobileStepper})})),ws=(0,y.ZP)("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:function(e,t){return t.dots}})((function(e){var t=e.ownerState;return(0,f.Z)({},"dots"===t.variant&&{display:"flex",flexDirection:"row"})})),_s=(0,y.ZP)("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"dotActive"!==e},overridesResolver:function(e,t){var n=e.dotActive;return[t.dot,n&&t.dotActive]}})((function(e){var t=e.theme,n=e.ownerState,r=e.dotActive;return(0,f.Z)({},"dots"===n.variant&&(0,f.Z)({transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),backgroundColor:(t.vars||t).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},r&&{backgroundColor:(t.vars||t).palette.primary.main}))})),Ss=(0,y.ZP)(Sa,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:function(e,t){return t.progress}})((function(e){var t=e.ownerState;return(0,f.Z)({},"progress"===t.variant&&{width:"50%"})})),xs=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiMobileStepper"}),r=n.activeStep,o=void 0===r?0:r,i=n.backButton,a=n.className,s=n.LinearProgressProps,l=n.nextButton,c=n.position,u=void 0===c?"bottom":c,d=n.steps,m=n.variant,y=void 0===m?"dots":m,w=(0,h.Z)(n,ys),_=(0,f.Z)({},n,{activeStep:o,position:u,variant:y}),S=function(e){var t=e.classes,n=e.position,r={root:["root","position".concat((0,J.Z)(n))],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return(0,v.Z)(r,gs,t)}(_);return(0,R.jsxs)(bs,(0,f.Z)({square:!0,elevation:0,className:(0,g.Z)(S.root,a),ref:t,ownerState:_},w,{children:[i,"text"===y&&(0,R.jsxs)(p.Fragment,{children:[o+1," / ",d]}),"dots"===y&&(0,R.jsx)(ws,{ownerState:_,className:S.dots,children:(0,an.Z)(new Array(d)).map((function(e,t){return(0,R.jsx)(_s,{className:(0,g.Z)(S.dot,t===o&&S.dotActive),ownerState:_,dotActive:t===o},t)}))}),"progress"===y&&(0,R.jsx)(Ss,(0,f.Z)({ownerState:_,className:S.progress,variant:"determinate",value:Math.ceil(o/(d-1)*100)},s)),l]}))})),Cs=n(8653),ks=n(8345),Zs=n(9916),Es=n(1797),Rs=["className","children","classes","IconComponent","input","inputProps","variant"],Ts=["root"],As=(0,R.jsx)(Gi.Z,{}),Ps=p.forwardRef((function(e,t){var n=(0,b.Z)({name:"MuiNativeSelect",props:e}),r=n.className,o=n.children,i=n.classes,a=void 0===i?{}:i,s=n.IconComponent,l=void 0===s?Je.Z:s,c=n.input,u=void 0===c?As:c,d=n.inputProps,m=(0,h.Z)(n,Rs),y=(0,Ao.Z)(),w=(0,Do.Z)({props:n,muiFormControl:y,states:["variant"]}),_=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Es.f,t)}((0,f.Z)({},n,{classes:a})),S=(0,h.Z)(a,Ts);return p.cloneElement(u,(0,f.Z)({inputComponent:Zs.ZP,inputProps:(0,f.Z)({children:o,classes:S,IconComponent:l,variant:w.variant,type:void 0},d,u?u.props.inputProps:{}),ref:t},m,{className:(0,g.Z)(_.root,u.props.className,r)}))}));Ps.muiName="Select";var Ms=Ps,Os=n(5721);var Ls=function(e){var t=e.children,n=e.defer,r=void 0!==n&&n,o=e.fallback,i=void 0===o?null:o,a=p.useState(!1),s=(0,u.Z)(a,2),l=s[0],c=s[1];return(0,Os.Z)((function(){r||c(!0)}),[r]),p.useEffect((function(){r&&c(!0)}),[r]),(0,R.jsx)(p.Fragment,{children:l?t:i})},Is=n(7196);function Ds(e){return(0,C.Z)("MuiPagination",e)}var Ns=(0,k.Z)("MuiPagination",["root","ul","outlined","text"]),js=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function $s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.boundaryCount,n=void 0===t?1:t,r=e.componentName,o=void 0===r?"usePagination":r,i=e.count,a=void 0===i?1:i,s=e.defaultPage,l=void 0===s?1:s,c=e.disabled,d=void 0!==c&&c,p=e.hideNextButton,m=void 0!==p&&p,g=e.hidePrevButton,v=void 0!==g&&g,y=e.onChange,b=e.page,w=e.showFirstButton,_=void 0!==w&&w,S=e.showLastButton,x=void 0!==S&&S,C=e.siblingCount,k=void 0===C?1:C,Z=(0,h.Z)(e,js),E=(0,Ce.Z)({controlled:b,default:l,name:o,state:"page"}),R=(0,u.Z)(E,2),T=R[0],A=R[1],P=function(e,t){b||A(t),y&&y(e,t)},M=function(e,t){var n=t-e+1;return Array.from({length:n},(function(t,n){return e+n}))},O=M(1,Math.min(n,a)),L=M(Math.max(a-n+1,n+1),a),I=Math.max(Math.min(T-k,a-n-2*k-1),n+2),D=Math.min(Math.max(T+k,n+2*k+2),L.length>0?L[0]-2:a-1),N=[].concat((0,an.Z)(_?["first"]:[]),(0,an.Z)(v?[]:["previous"]),(0,an.Z)(O),(0,an.Z)(I>n+2?["start-ellipsis"]:n+1n?[a-n]:[]),(0,an.Z)(L),(0,an.Z)(m?[]:["next"]),(0,an.Z)(x?["last"]:[])),j=function(e){switch(e){case"first":return 1;case"previous":return T-1;case"next":return T+1;case"last":return a;default:return null}},$=N.map((function(e){return"number"===typeof e?{onClick:function(t){P(t,e)},type:"page",page:e,selected:e===T,disabled:d,"aria-current":e===T?"true":void 0}:{onClick:function(t){P(t,j(e))},type:e,page:j(e),selected:!1,disabled:d||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?T>=a:T<=1)}}));return(0,f.Z)({items:$},Z)}function Fs(e){return(0,C.Z)("MuiPaginationItem",e)}var zs=(0,k.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),Ws=(0,ne.Z)((0,R.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Bs=(0,ne.Z)((0,R.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Hs=(0,ne.Z)((0,R.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),Us=(0,ne.Z)((0,R.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Vs=["className","color","component","components","disabled","page","selected","shape","size","type","variant"],Gs=function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,J.Z)(n.size))],"text"===n.variant&&t["text".concat((0,J.Z)(n.color))],"outlined"===n.variant&&t["outlined".concat((0,J.Z)(n.color))],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]},qs=(0,y.ZP)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Gs})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},t.typography.body2,(0,d.Z)({borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(t.vars||t).palette.text.primary,height:"auto"},"&.".concat(zs.disabled),{opacity:(t.vars||t).palette.action.disabledOpacity}),"small"===n.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===n.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:t.typography.pxToRem(15)})})),Ks=(0,y.ZP)(W.Z,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Gs})((function(e){var t,n,r=e.theme,o=e.ownerState;return(0,f.Z)({},r.typography.body2,(n={borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(r.vars||r).palette.text.primary},(0,d.Z)(n,"&.".concat(zs.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,d.Z)(n,"&.".concat(zs.disabled),{opacity:(r.vars||r).palette.action.disabledOpacity}),(0,d.Z)(n,"transition",r.transitions.create(["color","background-color"],{duration:r.transitions.duration.short})),(0,d.Z)(n,"&:hover",{backgroundColor:(r.vars||r).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,d.Z)(n,"&.".concat(zs.selected),(t={backgroundColor:(r.vars||r).palette.action.selected,"&:hover":{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.action.selected," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(r.palette.action.selected,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(r.vars||r).palette.action.selected}}},(0,d.Z)(t,"&.".concat(zs.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.action.selected," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(r.palette.action.selected,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)}),(0,d.Z)(t,"&.".concat(zs.disabled),{opacity:1,color:(r.vars||r).palette.action.disabled,backgroundColor:(r.vars||r).palette.action.selected}),t)),n),"small"===o.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===o.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:r.typography.pxToRem(15)},"rounded"===o.shape&&{borderRadius:(r.vars||r).shape.borderRadius})}),(function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},"text"===n.variant&&(0,d.Z)({},"&.".concat(zs.selected),(0,f.Z)({},"standard"!==n.color&&(0,d.Z)({color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main,"&:hover":{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}},"&.".concat(zs.focusVisible),{backgroundColor:(t.vars||t).palette[n.color].dark}),(0,d.Z)({},"&.".concat(zs.disabled),{color:(t.vars||t).palette.action.disabled}))),"outlined"===n.variant&&(0,d.Z)({border:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"&.".concat(zs.selected),(0,f.Z)({},"standard"!==n.color&&(0,d.Z)({color:(t.vars||t).palette[n.color].main,border:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.5)"):(0,Y.Fq)(t.palette[n.color].main,.5)),backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.activatedOpacity,")"):(0,Y.Fq)(t.palette[n.color].main,t.palette.action.activatedOpacity),"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / calc(").concat(t.vars.palette.action.activatedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(t.palette[n.color].main,t.palette.action.activatedOpacity+t.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(zs.focusVisible),{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / calc(").concat(t.vars.palette.action.activatedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,Y.Fq)(t.palette[n.color].main,t.palette.action.activatedOpacity+t.palette.action.focusOpacity)}),(0,d.Z)({},"&.".concat(zs.disabled),{borderColor:(t.vars||t).palette.action.disabledBackground,color:(t.vars||t).palette.action.disabled}))))})),Ys=(0,y.ZP)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:function(e,t){return t.icon}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({fontSize:t.typography.pxToRem(20),margin:"0 -8px"},"small"===n.size&&{fontSize:t.typography.pxToRem(18)},"large"===n.size&&{fontSize:t.typography.pxToRem(22)})})),Js=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiPaginationItem"}),r=n.className,o=n.color,i=void 0===o?"standard":o,a=n.component,s=n.components,l=void 0===s?{first:Ws,last:Bs,next:Us,previous:Hs}:s,c=n.disabled,u=void 0!==c&&c,d=n.page,p=n.selected,m=void 0!==p&&p,y=n.shape,w=void 0===y?"circular":y,_=n.size,S=void 0===_?"medium":_,x=n.type,C=void 0===x?"page":x,k=n.variant,Z=void 0===k?"text":k,E=(0,h.Z)(n,Vs),T=(0,f.Z)({},n,{color:i,disabled:u,selected:m,shape:w,size:S,type:C,variant:Z}),A=(0,ho.Z)(),P=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.selected,i=e.size,a=e.shape,s=e.type,l=e.variant,c={root:["root","size".concat((0,J.Z)(i)),l,a,"standard"!==n&&"".concat(l).concat((0,J.Z)(n)),r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return(0,v.Z)(c,Fs,t)}(T),M=("rtl"===A.direction?{previous:l.next||Us,next:l.previous||Hs,last:l.first||Ws,first:l.last||Bs}:{previous:l.previous||Hs,next:l.next||Us,first:l.first||Ws,last:l.last||Bs})[C];return"start-ellipsis"===C||"end-ellipsis"===C?(0,R.jsx)(qs,{ref:t,ownerState:T,className:(0,g.Z)(P.root,r),children:"\u2026"}):(0,R.jsxs)(Ks,(0,f.Z)({ref:t,ownerState:T,component:a,disabled:u,className:(0,g.Z)(P.root,r)},E,{children:["page"===C&&d,M?(0,R.jsx)(Ys,{as:M,ownerState:T,className:P.icon}):null]}))})),Xs=Js,Qs=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],el=(0,y.ZP)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant]]}})({}),tl=(0,y.ZP)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:function(e,t){return t.ul}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function nl(e,t,n){return"page"===e?"".concat(n?"":"Go to ","page ").concat(t):"Go to ".concat(e," page")}var rl=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiPagination"}),r=n.boundaryCount,o=void 0===r?1:r,i=n.className,a=n.color,s=void 0===a?"standard":a,l=n.count,c=void 0===l?1:l,u=n.defaultPage,d=void 0===u?1:u,p=n.disabled,m=void 0!==p&&p,y=n.getItemAriaLabel,w=void 0===y?nl:y,_=n.hideNextButton,S=void 0!==_&&_,x=n.hidePrevButton,C=void 0!==x&&x,k=n.renderItem,Z=void 0===k?function(e){return(0,R.jsx)(Xs,(0,f.Z)({},e))}:k,E=n.shape,T=void 0===E?"circular":E,A=n.showFirstButton,P=void 0!==A&&A,M=n.showLastButton,O=void 0!==M&&M,L=n.siblingCount,I=void 0===L?1:L,D=n.size,N=void 0===D?"medium":D,j=n.variant,$=void 0===j?"text":j,F=(0,h.Z)(n,Qs),z=$s((0,f.Z)({},n,{componentName:"Pagination"})).items,W=(0,f.Z)({},n,{boundaryCount:o,color:s,count:c,defaultPage:d,disabled:m,getItemAriaLabel:w,hideNextButton:S,hidePrevButton:C,renderItem:Z,shape:T,showFirstButton:P,showLastButton:O,siblingCount:I,size:N,variant:$}),B=function(e){var t=e.classes,n={root:["root",e.variant],ul:["ul"]};return(0,v.Z)(n,Ds,t)}(W);return(0,R.jsx)(el,(0,f.Z)({"aria-label":"pagination navigation",className:(0,g.Z)(B.root,i),ownerState:W,ref:t},F,{children:(0,R.jsx)(tl,{className:B.ul,ownerState:W,children:z.map((function(e,t){return(0,R.jsx)("li",{children:Z((0,f.Z)({},e,{color:s,"aria-label":w(e.type,e.page,e.selected),shape:T,size:N,variant:$}))},t)}))})}))})),ol=n(8550),il=n(6207),al=n(2952),sl=n(6174),ll=n(7278),cl=(0,ne.Z)((0,R.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),ul=(0,ne.Z)((0,R.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),dl=(0,y.ZP)("span")({position:"relative",display:"flex"}),hl=(0,y.ZP)(cl)({transform:"scale(1)"}),fl=(0,y.ZP)(ul)((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})}));var pl=function(e){var t=e.checked,n=void 0!==t&&t,r=e.classes,o=void 0===r?{}:r,i=e.fontSize,a=(0,f.Z)({},e,{checked:n});return(0,R.jsxs)(dl,{className:o.root,ownerState:a,children:[(0,R.jsx)(hl,{fontSize:i,className:o.background,ownerState:a}),(0,R.jsx)(fl,{fontSize:i,className:o.dot,ownerState:a})]})},ml=n(1260);var gl=p.createContext(void 0);function vl(){return p.useContext(gl)}function yl(e){return(0,C.Z)("MuiRadio",e)}var bl=(0,k.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),wl=["checked","checkedIcon","color","icon","name","onChange","size"],_l=(0,y.ZP)(ll.Z,{shouldForwardProp:function(e){return(0,y.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat((0,J.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({color:t.palette.text.secondary,"&:hover":{backgroundColor:(0,Y.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&(0,d.Z)({},"&.".concat(bl.checked),{color:t.palette[n.color].main}),(0,d.Z)({},"&.".concat(bl.disabled),{color:t.palette.action.disabled}))}));var Sl=(0,R.jsx)(pl,{checked:!0}),xl=(0,R.jsx)(pl,{}),Cl=p.forwardRef((function(e,t){var n,r,o,i,a=(0,b.Z)({props:e,name:"MuiRadio"}),s=a.checked,l=a.checkedIcon,c=void 0===l?Sl:l,u=a.color,d=void 0===u?"primary":u,m=a.icon,g=void 0===m?xl:m,y=a.name,w=a.onChange,_=a.size,S=void 0===_?"medium":_,x=(0,h.Z)(a,wl),C=(0,f.Z)({},a,{color:d,size:S}),k=function(e){var t=e.classes,n=e.color,r={root:["root","color".concat((0,J.Z)(n))]};return(0,f.Z)({},t,(0,v.Z)(r,yl,t))}(C),Z=vl(),E=s,T=(0,ml.Z)(w,Z&&Z.onChange),A=y;return Z&&("undefined"===typeof E&&(o=Z.value,E="object"===typeof(i=a.value)&&null!==i?o===i:String(o)===String(i)),"undefined"===typeof A&&(A=Z.name)),(0,R.jsx)(_l,(0,f.Z)({type:"radio",icon:p.cloneElement(g,{fontSize:null!=(n=xl.props.fontSize)?n:S}),checkedIcon:p.cloneElement(c,{fontSize:null!=(r=Sl.props.fontSize)?r:S}),ownerState:C,classes:k,name:A,checked:E,onChange:T,ref:t},x))})),kl=n(7384),Zl=["actions","children","defaultValue","name","onChange","value"],El=p.forwardRef((function(e,t){var n=e.actions,r=e.children,o=e.defaultValue,i=e.name,a=e.onChange,s=e.value,l=(0,h.Z)(e,Zl),c=p.useRef(null),d=(0,x.Z)({controlled:s,default:o,name:"RadioGroup"}),m=(0,u.Z)(d,2),g=m[0],v=m[1];p.useImperativeHandle(n,(function(){return{focus:function(){var e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var y=(0,$e.Z)(t,c),b=(0,kl.Z)(i);return(0,R.jsx)(gl.Provider,{value:{name:b,onChange:function(e){v(e.target.value),a&&a(e,e.target.value)},value:g},children:(0,R.jsx)($o,(0,f.Z)({role:"radiogroup",ref:y},l,{children:r}))})})),Rl={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Tl=(0,ne.Z)((0,R.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),Al=(0,ne.Z)((0,R.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function Pl(e){return(0,C.Z)("MuiRating",e)}var Ml=(0,k.Z)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),Ol=["value"],Ll=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function Il(e,t){if(null==e)return e;var n=Math.round(e/t)*t;return Number(n.toFixed(function(e){var t=e.toString().split(".")[1];return t?t.length:0}(t)))}var Dl=(0,y.ZP)("span",{name:"MuiRating",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Ml.visuallyHidden),t.visuallyHidden),t.root,t["size".concat((0,J.Z)(n.size))],n.readOnly&&t.readOnly]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)((t={display:"inline-flex",position:"relative",fontSize:n.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",WebkitTapHighlightColor:"transparent"},(0,d.Z)(t,"&.".concat(Ml.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,d.Z)(t,"&.".concat(Ml.focusVisible," .").concat(Ml.iconActive),{outline:"1px solid #999"}),(0,d.Z)(t,"& .".concat(Ml.visuallyHidden),Rl),t),"small"===r.size&&{fontSize:n.typography.pxToRem(18)},"large"===r.size&&{fontSize:n.typography.pxToRem(30)},r.readOnly&&{pointerEvents:"none"})})),Nl=(0,y.ZP)("label",{name:"MuiRating",slot:"Label",overridesResolver:function(e,t){return t.label}})((function(e){var t=e.ownerState;return(0,f.Z)({cursor:"inherit"},t.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"})})),jl=(0,y.ZP)("span",{name:"MuiRating",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({display:"flex",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),pointerEvents:"none"},n.iconActive&&{transform:"scale(1.2)"},n.iconEmpty&&{color:(t.vars||t).palette.action.disabled})})),$l=(0,y.ZP)("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"iconActive"!==e},overridesResolver:function(e,t){var n=e.iconActive;return[t.decimal,n&&t.iconActive]}})((function(e){var t=e.iconActive;return(0,f.Z)({position:"relative"},t&&{transform:"scale(1.2)"})}));function Fl(e){var t=(0,h.Z)(e,Ol);return(0,R.jsx)("span",(0,f.Z)({},t))}function zl(e){var t=e.classes,n=e.disabled,r=e.emptyIcon,o=e.focus,i=e.getLabelText,a=e.highlightSelectedOnly,s=e.hover,l=e.icon,c=e.IconContainerComponent,u=e.isActive,d=e.itemValue,h=e.labelProps,m=e.name,v=e.onBlur,y=e.onChange,b=e.onClick,w=e.onFocus,_=e.readOnly,S=e.ownerState,x=e.ratingValue,C=a?d===x:d<=x,k=d<=s,Z=d<=o,E=d===e.ratingValueRounded,T=(0,kl.Z)(),A=(0,R.jsx)(jl,{as:c,value:d,className:(0,g.Z)(t.icon,C?t.iconFilled:t.iconEmpty,k&&t.iconHover,Z&&t.iconFocus,u&&t.iconActive),ownerState:(0,f.Z)({},S,{iconEmpty:!C,iconFilled:C,iconHover:k,iconFocus:Z,iconActive:u}),children:r&&!C?r:l});return _?(0,R.jsx)("span",(0,f.Z)({},h,{children:A})):(0,R.jsxs)(p.Fragment,{children:[(0,R.jsxs)(Nl,(0,f.Z)({ownerState:(0,f.Z)({},S,{emptyValueFocused:void 0}),htmlFor:T},h,{children:[A,(0,R.jsx)("span",{className:t.visuallyHidden,children:i(d)})]})),(0,R.jsx)("input",{className:t.visuallyHidden,onFocus:w,onBlur:v,onChange:y,onClick:b,disabled:n,value:d,id:T,type:"radio",name:m,checked:E})]})}var Wl=(0,R.jsx)(Tl,{fontSize:"inherit"}),Bl=(0,R.jsx)(Al,{fontSize:"inherit"});function Hl(e){return"".concat(e," Star").concat(1!==e?"s":"")}var Ul=p.forwardRef((function(e,t){var n=(0,b.Z)({name:"MuiRating",props:e}),r=n.className,o=n.defaultValue,i=void 0===o?null:o,a=n.disabled,s=void 0!==a&&a,l=n.emptyIcon,c=void 0===l?Bl:l,d=n.emptyLabelText,m=void 0===d?"Empty":d,y=n.getLabelText,w=void 0===y?Hl:y,_=n.highlightSelectedOnly,S=void 0!==_&&_,C=n.icon,k=void 0===C?Wl:C,Z=n.IconContainerComponent,E=void 0===Z?Fl:Z,T=n.max,A=void 0===T?5:T,P=n.name,M=n.onChange,O=n.onChangeActive,L=n.onMouseLeave,I=n.onMouseMove,D=n.precision,N=void 0===D?1:D,j=n.readOnly,$=void 0!==j&&j,F=n.size,z=void 0===F?"medium":F,W=n.value,B=(0,h.Z)(n,Ll),H=(0,kl.Z)(P),U=(0,x.Z)({controlled:W,default:i,name:"Rating"}),V=(0,u.Z)(U,2),G=V[0],q=V[1],K=Il(G,N),Y=(0,ho.Z)(),X=p.useState({hover:-1,focus:-1}),Q=(0,u.Z)(X,2),ee=Q[0],te=ee.hover,ne=ee.focus,re=Q[1],oe=K;-1!==te&&(oe=te),-1!==ne&&(oe=ne);var ie=(0,Ca.Z)(),ae=ie.isFocusVisibleRef,se=ie.onBlur,le=ie.onFocus,ce=ie.ref,ue=p.useState(!1),de=(0,u.Z)(ue,2),he=de[0],fe=de[1],pe=p.useRef(),me=(0,$e.Z)(ce,pe),ge=(0,$e.Z)(me,t),ve=function(e){var t=""===e.target.value?null:parseFloat(e.target.value);-1!==te&&(t=te),q(t),M&&M(e,t)},ye=function(e){0===e.clientX&&0===e.clientY||(re({hover:-1,focus:-1}),q(null),M&&parseFloat(e.target.value)===K&&M(e,null))},be=function(e){le(e),!0===ae.current&&fe(!0);var t=parseFloat(e.target.value);re((function(e){return{hover:e.hover,focus:t}}))},we=function(e){if(-1===te){se(e),!1===ae.current&&fe(!1);re((function(e){return{hover:e.hover,focus:-1}}))}},_e=p.useState(!1),Se=(0,u.Z)(_e,2),xe=Se[0],Ce=Se[1],ke=(0,f.Z)({},n,{defaultValue:i,disabled:s,emptyIcon:c,emptyLabelText:m,emptyValueFocused:xe,focusVisible:he,getLabelText:w,icon:k,IconContainerComponent:E,max:A,precision:N,readOnly:$,size:z}),Ze=function(e){var t=e.classes,n=e.size,r=e.readOnly,o=e.disabled,i=e.emptyValueFocused,a=e.focusVisible,s={root:["root","size".concat((0,J.Z)(n)),o&&"disabled",a&&"focusVisible",r&&"readyOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return(0,v.Z)(s,Pl,t)}(ke);return(0,R.jsxs)(Dl,(0,f.Z)({ref:ge,onMouseMove:function(e){I&&I(e);var t,n=pe.current,r=n.getBoundingClientRect(),o=r.right,i=r.left,a=n.firstChild.getBoundingClientRect().width;t="rtl"===Y.direction?(o-e.clientX)/(a*A):(e.clientX-i)/(a*A);var s=Il(A*t+N/2,N);s=function(e,t,n){return en?n:e}(s,N,A),re((function(e){return e.hover===s&&e.focus===s?e:{hover:s,focus:s}})),fe(!1),O&&te!==s&&O(e,s)},onMouseLeave:function(e){L&&L(e);re({hover:-1,focus:-1}),O&&-1!==te&&O(e,-1)},className:(0,g.Z)(Ze.root,r),ownerState:ke,role:$?"img":null,"aria-label":$?w(oe):null},B,{children:[Array.from(new Array(A)).map((function(e,t){var n=t+1,r={classes:Ze,disabled:s,emptyIcon:c,focus:ne,getLabelText:w,highlightSelectedOnly:S,hover:te,icon:k,IconContainerComponent:E,name:H,onBlur:we,onChange:ve,onClick:ye,onFocus:be,ratingValue:oe,ratingValueRounded:K,readOnly:$,ownerState:ke},o=n===Math.ceil(oe)&&(-1!==te||-1!==ne);if(N<1){var i=Array.from(new Array(1/N));return(0,R.jsx)($l,{className:(0,g.Z)(Ze.decimal,o&&Ze.iconActive),ownerState:ke,iconActive:o,children:i.map((function(e,t){var o=Il(n-1+(t+1)*N,N);return(0,R.jsx)(zl,(0,f.Z)({},r,{isActive:!1,itemValue:o,labelProps:{style:i.length-1===t?{}:{width:o===oe?"".concat((t+1)*N*100,"%"):"0%",overflow:"hidden",position:"absolute"}}}),o)}))},n)}return(0,R.jsx)(zl,(0,f.Z)({},r,{isActive:o,itemValue:n}),n)})),!$&&!s&&(0,R.jsxs)(Nl,{className:(0,g.Z)(Ze.label,Ze.labelEmptyValue),ownerState:ke,children:[(0,R.jsx)("input",{className:Ze.visuallyHidden,value:"",id:"".concat(H,"-empty"),type:"radio",name:H,checked:null==K,onFocus:function(){return Ce(!0)},onBlur:function(){return Ce(!1)},onChange:ve}),(0,R.jsx)("span",{className:Ze.visuallyHidden,children:m})]})]}))}));function Vl(e){return(0,C.Z)("MuiScopedCssBaseline",e)}var Gl=(0,k.Z)("MuiScopedCssBaseline",["root"]),ql=["className","component","enableColorScheme"],Kl=(0,y.ZP)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({},Br(t,n.enableColorScheme),Hr(t),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:t.typography.fontWeightBold}})})),Yl=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiScopedCssBaseline"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,h.Z)(n,ql),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Vl,t)}(s);return(0,R.jsx)(Kl,(0,f.Z)({as:i,className:(0,g.Z)(l.root,r),ref:t,ownerState:s},a))})),Jl=n(4701),Xl=n(8294),Ql=n(1572);function ec(e){return(0,C.Z)("MuiSkeleton",e)}var tc,nc,rc,oc,ic,ac,sc,lc,cc=(0,k.Z)("MuiSkeleton",["root","text","rectangular","circular","pulse","wave","withChildren","fitContent","heightAuto"]),uc=["animation","className","component","height","style","variant","width"],dc=(0,mr.F4)(ic||(ic=tc||(tc=(0,pr.Z)(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),hc=(0,mr.F4)(ac||(ac=nc||(nc=(0,pr.Z)(["\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n"])))),fc=(0,y.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((function(e){var t=e.theme,n=e.ownerState,r=(0,Ql.Wy)(t.shape.borderRadius)||"px",o=(0,Ql.YL)(t.shape.borderRadius);return(0,f.Z)({display:"block",backgroundColor:(0,Y.Fq)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===n.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(o).concat(r,"/").concat(Math.round(o/.6*10)/10).concat(r),"&:empty:before":{content:'"\\00a0"'}},"circular"===n.variant&&{borderRadius:"50%"},n.hasChildren&&{"& > *":{visibility:"hidden"}},n.hasChildren&&!n.width&&{maxWidth:"fit-content"},n.hasChildren&&!n.height&&{height:"auto"})}),(function(e){return"pulse"===e.ownerState.animation&&(0,mr.iv)(sc||(sc=rc||(rc=(0,pr.Z)(["\n animation: "," 1.5s ease-in-out 0.5s infinite;\n "]))),dc)}),(function(e){var t=e.ownerState,n=e.theme;return"wave"===t.animation&&(0,mr.iv)(lc||(lc=oc||(oc=(0,pr.Z)(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: "," 1.6s linear 0.5s infinite;\n background: linear-gradient(90deg, transparent, ",", transparent);\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "]))),hc,n.palette.action.hover)})),pc=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSkeleton"}),r=n.animation,o=void 0===r?"pulse":r,i=n.className,a=n.component,s=void 0===a?"span":a,l=n.height,c=n.style,u=n.variant,d=void 0===u?"text":u,p=n.width,m=(0,h.Z)(n,uc),y=(0,f.Z)({},n,{animation:o,component:s,variant:d,hasChildren:Boolean(m.children)}),w=function(e){var t=e.classes,n=e.variant,r=e.animation,o=e.hasChildren,i=e.width,a=e.height,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,v.Z)(s,ec,t)}(y);return(0,R.jsx)(fc,(0,f.Z)({as:s,ref:t,className:(0,g.Z)(w.root,i),ownerState:y},m,{style:(0,f.Z)({width:p,height:l},c)}))})),mc=pc;function gc(e){return(0,C.Z)("MuiSlider",e)}var vc=(0,k.Z)("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);var yc=function(e){var t=e.children,n=e.className,r=e.value,o=e.theme,i=function(e){var t=e.open;return{offset:(0,g.Z)(t&&vc.valueLabelOpen),circle:vc.valueLabelCircle,label:vc.valueLabelLabel}}(e);return p.cloneElement(t,{className:(0,g.Z)(t.props.className)},(0,R.jsxs)(p.Fragment,{children:[t.props.children,(0,R.jsx)("span",{className:(0,g.Z)(i.offset,n),theme:o,"aria-hidden":!0,children:(0,R.jsx)("span",{className:i.circle,children:(0,R.jsx)("span",{className:i.label,children:r})})})]}))},bc=n(9723),wc=n(5372),_c=n(7563);function Sc(e,t){return e-t}function xc(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function Cc(e,t){var n;return(null!=(n=e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o2&&W(!0),q&&q(e,r,o)}else ye(e)})),ye=(0,ke.Z)((function(e){var t=kc(e,A);if(W(!1),t){var n=ge({finger:t,values:Y}).newValue;L(-1),"touchend"===e.type&&j(-1),b&&b(e,n),A.current=void 0,we()}})),be=(0,ke.Z)((function(e){if(!s){Oc()||e.preventDefault();var t=e.changedTouches[0];null!=t&&(A.current=t.identifier);var n=kc(e,A);if(!1!==n){var r=ge({finger:n,values:Y}),o=r.newValue,i=r.activeIndex;Tc({sliderRef:le,activeIndex:i,setActive:L}),G(o),q&&q(e,o,i)}B.current=0;var a=(0,bc.Z)(le.current);a.addEventListener("touchmove",ve),a.addEventListener("touchend",ye)}})),we=p.useCallback((function(){var e=(0,bc.Z)(le.current);e.removeEventListener("mousemove",ve),e.removeEventListener("mouseup",ye),e.removeEventListener("touchmove",ve),e.removeEventListener("touchend",ye)}),[ye,ve]);p.useEffect((function(){var e=le.current;return e.addEventListener("touchstart",be,{passive:Oc()}),function(){e.removeEventListener("touchstart",be,{passive:Oc()}),we()}}),[we,be]),p.useEffect((function(){s&&we()}),[s,we]);var _e=function(e){return function(t){var n;if(null==(n=e.onMouseDown)||n.call(e,t),!s&&!t.defaultPrevented&&0===t.button){t.preventDefault();var r=kc(t,A);if(!1!==r){var o=ge({finger:r,values:Y}),i=o.newValue,a=o.activeIndex;Tc({sliderRef:le,activeIndex:a,setActive:L}),G(i),q&&q(t,i,a)}B.current=0;var l=(0,bc.Z)(le.current);l.addEventListener("mousemove",ve),l.addEventListener("mouseup",ye)}}},Se=Zc(K?Y[0]:g,g,h),xe=Zc(Y[Y.length-1],g,h)-Se,Ze=function(e){return function(t){var n;null==(n=e.onMouseOver)||n.call(e,t);var r=Number(t.currentTarget.getAttribute("data-index"));j(r)}},Ee=function(e){return function(t){var n;null==(n=e.onMouseLeave)||n.call(e,t),j(-1)}};return{axis:me,axisProps:Pc,getRootProps:function(e){var t={onMouseDown:_e(e||{})},n=(0,f.Z)({},e,t);return(0,f.Z)({ref:ue},n)},getHiddenInputProps:function(t){var r={onChange:fe(t||{}),onFocus:de(t||{}),onBlur:he(t||{})},o=(0,f.Z)({},t,r);return(0,f.Z)({tabIndex:Z,"aria-labelledby":n,"aria-orientation":_,"aria-valuemax":x(h),"aria-valuemin":x(g),name:v,type:"range",min:e.min,max:e.max,step:e.step,disabled:s},o,{style:(0,f.Z)({},Rl,{direction:T?"rtl":"ltr",width:"100%",height:"100%"})})},getThumbProps:function(e){var t={onMouseOver:Ze(e||{}),onMouseLeave:Ee(e||{})},n=(0,f.Z)({},e,t);return(0,f.Z)({},n)},dragging:z,marks:J,values:Y,active:O,focusVisible:ae,open:N,range:K,trackOffset:Se,trackLeap:xe}}var Ic=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],Dc=function(e){return e},Nc=function(e){return e.children},jc=p.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e["aria-label"],u=e["aria-valuetext"],d=e.className,m=e.component,y=e.classes,b=e.disableSwap,w=void 0!==b&&b,_=e.disabled,S=void 0!==_&&_,x=e.getAriaLabel,C=e.getAriaValueText,k=e.marks,Z=void 0!==k&&k,E=e.max,T=void 0===E?100:E,A=e.min,P=void 0===A?0:A,M=e.onMouseDown,O=e.orientation,L=void 0===O?"horizontal":O,I=e.scale,D=void 0===I?Dc:I,N=e.step,j=void 0===N?1:N,$=e.track,F=void 0===$?"normal":$,z=e.valueLabelDisplay,W=void 0===z?"off":z,B=e.valueLabelFormat,H=void 0===B?Dc:B,U=e.isRtl,V=void 0!==U&&U,G=e.components,q=void 0===G?{}:G,K=e.componentsProps,Y=void 0===K?{}:K,J=(0,h.Z)(e,Ic),X=(0,f.Z)({},e,{mark:Z,classes:y,disabled:S,isRtl:V,max:T,min:P,orientation:L,scale:D,step:j,track:F,valueLabelDisplay:W,valueLabelFormat:H}),Q=Lc((0,f.Z)({},X,{ref:t})),ee=Q.axisProps,te=Q.getRootProps,ne=Q.getHiddenInputProps,re=Q.getThumbProps,oe=Q.open,ie=Q.active,ae=Q.axis,se=Q.range,le=Q.focusVisible,ce=Q.dragging,ue=Q.marks,de=Q.values,he=Q.trackOffset,fe=Q.trackLeap;X.marked=ue.length>0&&ue.some((function(e){return e.label})),X.dragging=ce;var pe=null!=(n=null!=m?m:q.Root)?n:"span",me=(0,Lt.Z)(pe,(0,f.Z)({},J,Y.root),X),ge=null!=(r=q.Rail)?r:"span",ve=(0,Lt.Z)(ge,Y.rail,X),ye=null!=(o=q.Track)?o:"span",be=(0,Lt.Z)(ye,Y.track,X),we=(0,f.Z)({},ee[ae].offset(he),ee[ae].leap(fe)),_e=null!=(i=q.Thumb)?i:"span",Se=(0,Lt.Z)(_e,Y.thumb,X),xe=null!=(a=q.ValueLabel)?a:yc,Ce=(0,Lt.Z)(xe,Y.valueLabel,X),ke=null!=(s=q.Mark)?s:"span",Ze=(0,Lt.Z)(ke,Y.mark,X),Ee=null!=(l=q.MarkLabel)?l:"span",Re=(0,Lt.Z)(Ee,Y.markLabel,X),Te=q.Input||"input",Ae=(0,Lt.Z)(Te,Y.input,X),Pe=ne(),Me=function(e){var t=e.disabled,n=e.dragging,r=e.marked,o=e.orientation,i=e.track,a=e.classes,s={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,v.Z)(s,gc,a)}(X);return(0,R.jsxs)(pe,(0,f.Z)({},me,te({onMouseDown:M}),{className:(0,g.Z)(Me.root,me.className,d),children:[(0,R.jsx)(ge,(0,f.Z)({},ve,{className:(0,g.Z)(Me.rail,ve.className)})),(0,R.jsx)(ye,(0,f.Z)({},be,{className:(0,g.Z)(Me.track,be.className),style:(0,f.Z)({},we,be.style)})),ue.map((function(e,t){var n,r=Zc(e.value,P,T),o=ee[ae].offset(r);return n=!1===F?-1!==de.indexOf(e.value):"normal"===F&&(se?e.value>=de[0]&&e.value<=de[de.length-1]:e.value<=de[0])||"inverted"===F&&(se?e.value<=de[0]||e.value>=de[de.length-1]:e.value>=de[0]),(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(ke,(0,f.Z)({"data-index":t},Ze,!(0,$t.Z)(ke)&&{markActive:n},{style:(0,f.Z)({},o,Ze.style),className:(0,g.Z)(Me.mark,Ze.className,n&&Me.markActive)})),null!=e.label?(0,R.jsx)(Ee,(0,f.Z)({"aria-hidden":!0,"data-index":t},Re,!(0,$t.Z)(Ee)&&{markLabelActive:n},{style:(0,f.Z)({},o,Re.style),className:(0,g.Z)(Me.markLabel,Re.className,n&&Me.markLabelActive),children:e.label})):null]},e.value)})),de.map((function(e,t){var n=Zc(e,P,T),r=ee[ae].offset(n),o="off"===W?Nc:xe;return(0,R.jsx)(p.Fragment,{children:(0,R.jsx)(o,(0,f.Z)({},!(0,$t.Z)(o)&&{valueLabelFormat:H,valueLabelDisplay:W,value:"function"===typeof H?H(D(e),t):H,index:t,open:oe===t||ie===t||"on"===W,disabled:S},Ce,{className:(0,g.Z)(Me.valueLabel,Ce.className),children:(0,R.jsx)(_e,(0,f.Z)({"data-index":t},Se,re(),{className:(0,g.Z)(Me.thumb,Se.className,ie===t&&Me.active,le===t&&Me.focusVisible)},!(0,$t.Z)(_e)&&{ownerState:(0,f.Z)({},X,Se.ownerState)},{style:(0,f.Z)({},r,{pointerEvents:w&&ie!==t?"none":void 0},Se.style),children:(0,R.jsx)(Te,(0,f.Z)({},Pe,{"data-index":t,"aria-label":x?x(t):c,"aria-valuenow":D(e),"aria-valuetext":C?C(D(e),t):u,value:de[t]},!(0,$t.Z)(Te)&&{ownerState:(0,f.Z)({},X,Ae.ownerState)},Ae,{style:(0,f.Z)({},Pe.style,Ae.style)}))}))}))},t)}))]}))})),$c=jc,Fc=["component","components","componentsProps","color","size"],zc=(0,f.Z)({},vc,(0,k.Z)("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),Wc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=!0===n.marksProp&&null!==n.step?(0,an.Z)(Array(Math.floor((n.max-n.min)/n.step)+1)).map((function(e,t){return{value:n.min+n.step*t}})):n.marksProp||[],o=r.length>0&&r.some((function(e){return e.label}));return[t.root,t["color".concat((0,J.Z)(n.color))],"medium"!==n.size&&t["size".concat((0,J.Z)(n.size))],o&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:n.palette[r.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===r.orientation&&(0,f.Z)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===r.size&&{height:2},r.marked&&{marginBottom:20}),"vertical"===r.orientation&&(0,f.Z)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===r.size&&{width:2},r.marked&&{marginRight:44}),(t={"@media print":{colorAdjust:"exact"}},(0,d.Z)(t,"&.".concat(zc.disabled),{pointerEvents:"none",cursor:"default",color:n.palette.grey[400]}),(0,d.Z)(t,"&.".concat(zc.dragging),(0,d.Z)({},"& .".concat(zc.thumb,", & .").concat(zc.track),{transition:"none"})),t))})),Bc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:function(e,t){return t.rail}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===t.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===t.track&&{opacity:1})})),Hc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?(0,Y.$n)(t.palette[n.color].main,.62):(0,Y._j)(t.palette[n.color].main,.5);return(0,f.Z)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest})},"small"===n.size&&{border:"none"},"horizontal"===n.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===n.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===n.track&&{display:"none"},"inverted"===n.track&&{backgroundColor:r,borderColor:r})})),Uc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:function(e,t){var n=e.ownerState;return[t.thumb,t["thumbColor".concat((0,J.Z)(n.color))],"medium"!==n.size&&t["thumbSize".concat((0,J.Z)(n.size))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:n.transitions.create(["box-shadow","left","bottom"],{duration:n.transitions.duration.shortest})},"small"===r.size&&{width:12,height:12},"horizontal"===r.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===r.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},(t={"&:before":(0,f.Z)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:n.shadows[2]},"small"===r.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},(0,d.Z)(t,"&:hover, &.".concat(zc.focusVisible),{boxShadow:"0px 0px 0px 8px ".concat((0,Y.Fq)(n.palette[r.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}}),(0,d.Z)(t,"&.".concat(zc.active),{boxShadow:"0px 0px 0px 14px ".concat((0,Y.Fq)(n.palette[r.color].main,.16))}),(0,d.Z)(t,"&.".concat(zc.disabled),{"&:hover":{boxShadow:"none"}}),t))})),Vc=(0,y.ZP)(yc,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:function(e,t){return t.valueLabel}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)((t={},(0,d.Z)(t,"&.".concat(zc.valueLabelOpen),{transform:"translateY(-100%) scale(1)"}),(0,d.Z)(t,"zIndex",1),(0,d.Z)(t,"whiteSpace","nowrap"),t),n.typography.body2,{fontWeight:500,transition:n.transitions.create(["transform"],{duration:n.transitions.duration.shortest}),top:-10,transformOrigin:"bottom center",transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:n.palette.grey[600],borderRadius:2,color:n.palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"small"===r.size&&{fontSize:n.typography.pxToRem(12),padding:"0.25rem 0.5rem"},{"&:before":{position:"absolute",content:'""',width:8,height:8,bottom:0,left:"50%",transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit"}})})),Gc=(0,y.ZP)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"markActive"!==e},overridesResolver:function(e,t){return t.mark}})((function(e){var t=e.theme,n=e.ownerState,r=e.markActive;return(0,f.Z)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===n.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===n.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:t.palette.background.paper,opacity:.8})})),qc=(0,y.ZP)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:function(e){return(0,y.Dz)(e)&&"markLabelActive"!==e},overridesResolver:function(e,t){return t.markLabel}})((function(e){var t=e.theme,n=e.ownerState,r=e.markLabelActive;return(0,f.Z)({},t.typography.body2,{color:t.palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===n.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===n.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:t.palette.text.primary})})),Kc=p.forwardRef((function(e,t){var n,r,o,i,a=(0,b.Z)({props:e,name:"MuiSlider"}),s="rtl"===(0,ho.Z)().direction,l=a.component,c=void 0===l?"span":l,u=a.components,d=void 0===u?{}:u,p=a.componentsProps,m=void 0===p?{}:p,v=a.color,y=void 0===v?"primary":v,w=a.size,_=void 0===w?"medium":w,S=(0,h.Z)(a,Fc),x=function(e){var t=e.color,n=e.size,r=e.classes,o=void 0===r?{}:r;return(0,f.Z)({},o,{root:(0,g.Z)(o.root,gc("color".concat((0,J.Z)(t))),o["color".concat((0,J.Z)(t))],n&&[gc("size".concat((0,J.Z)(n))),o["size".concat((0,J.Z)(n))]]),thumb:(0,g.Z)(o.thumb,gc("thumbColor".concat((0,J.Z)(t))),o["thumbColor".concat((0,J.Z)(t))],n&&[gc("thumbSize".concat((0,J.Z)(n))),o["thumbSize".concat((0,J.Z)(n))]])})}((0,f.Z)({},a,{color:y,size:_}));return(0,R.jsx)($c,(0,f.Z)({},S,{isRtl:s,components:(0,f.Z)({Root:Wc,Rail:Bc,Track:Hc,Thumb:Uc,ValueLabel:Vc,Mark:Gc,MarkLabel:qc},d),componentsProps:(0,f.Z)({},m,{root:(0,f.Z)({},m.root,Ft(d.Root)&&{as:c,ownerState:(0,f.Z)({},null==(n=m.root)?void 0:n.ownerState,{color:y,size:_})}),thumb:(0,f.Z)({},m.thumb,Ft(d.Thumb)&&{ownerState:(0,f.Z)({},null==(r=m.thumb)?void 0:r.ownerState,{color:y,size:_})}),track:(0,f.Z)({},m.track,Ft(d.Track)&&{ownerState:(0,f.Z)({},null==(o=m.track)?void 0:o.ownerState,{color:y,size:_})}),valueLabel:(0,f.Z)({},m.valueLabel,Ft(d.ValueLabel)&&{ownerState:(0,f.Z)({},null==(i=m.valueLabel)?void 0:i.ownerState,{color:y,size:_})})}),classes:x,ref:t}))})),Yc=n(3595),Jc=n(5416),Xc=n(4988),Qc=n(4106),eu=n(8875),tu=n(4999),nu=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ru={entering:{transform:"none"},entered:{transform:"none"}},ou=p.forwardRef((function(e,t){var n=(0,ho.Z)(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},o=e.addEndListener,i=e.appear,a=void 0===i||i,s=e.children,l=e.easing,c=e.in,u=e.onEnter,d=e.onEntered,m=e.onEntering,g=e.onExit,v=e.onExited,y=e.onExiting,b=e.style,w=e.timeout,_=void 0===w?r:w,S=e.TransitionComponent,x=void 0===S?eu.ZP:S,C=(0,h.Z)(e,nu),k=p.useRef(null),Z=(0,$e.Z)(s.ref,t),E=(0,$e.Z)(k,Z),T=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},A=T(m),P=T((function(e,t){(0,tu.n)(e);var r=(0,tu.C)({style:b,timeout:_,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",r),e.style.transition=n.transitions.create("transform",r),u&&u(e,t)})),M=T(d),O=T(y),L=T((function(e){var t=(0,tu.C)({style:b,timeout:_,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),g&&g(e)})),I=T(v);return(0,R.jsx)(x,(0,f.Z)({appear:a,in:c,nodeRef:k,onEnter:P,onEntered:M,onEntering:A,onExit:L,onExited:I,onExiting:O,addEndListener:function(e){o&&o(k.current,e)},timeout:_},C,{children:function(e,t){return p.cloneElement(s,(0,f.Z)({style:(0,f.Z)({transform:"scale(0)",visibility:"exited"!==e||c?void 0:"hidden"},ru[e],b,s.props.style),ref:E},t))}}))})),iu=ou;function au(e){return(0,C.Z)("MuiSpeedDial",e)}var su=(0,k.Z)("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]),lu=["ref"],cu=["ariaLabel","FabProps","children","className","direction","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","open","openIcon","TransitionComponent","transitionDuration","TransitionProps"],uu=["ref"];function du(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}var hu=(0,y.ZP)("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["direction".concat((0,J.Z)(n.direction))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({zIndex:(t.vars||t).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===n.direction&&(0,d.Z)({flexDirection:"column-reverse"},"& .".concat(su.actions),{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}),"down"===n.direction&&(0,d.Z)({flexDirection:"column"},"& .".concat(su.actions),{flexDirection:"column",marginTop:-32,paddingTop:48}),"left"===n.direction&&(0,d.Z)({flexDirection:"row-reverse"},"& .".concat(su.actions),{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}),"right"===n.direction&&(0,d.Z)({flexDirection:"row"},"& .".concat(su.actions),{flexDirection:"row",marginLeft:-32,paddingLeft:48}))})),fu=(0,y.ZP)(ko.Z,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:function(e,t){return t.fab}})((function(){return{pointerEvents:"auto"}})),pu=(0,y.ZP)("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:function(e,t){var n=e.ownerState;return[t.actions,!n.open&&t.actionsClosed]}})((function(e){var t=e.ownerState;return(0,f.Z)({display:"flex",pointerEvents:"auto"},!t.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})})),mu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSpeedDial"}),r=(0,ho.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=n.ariaLabel,a=n.FabProps,s=(a=void 0===a?{}:a).ref,l=n.children,c=n.className,d=n.direction,m=void 0===d?"up":d,y=n.hidden,w=void 0!==y&&y,_=n.icon,S=n.onBlur,C=n.onClose,k=n.onFocus,Z=n.onKeyDown,E=n.onMouseEnter,T=n.onMouseLeave,A=n.onOpen,P=n.open,M=n.TransitionComponent,O=void 0===M?iu:M,L=n.transitionDuration,I=void 0===L?o:L,D=n.TransitionProps,N=(0,h.Z)(n.FabProps,lu),j=(0,h.Z)(n,cu),$=(0,x.Z)({controlled:P,default:!1,name:"SpeedDial",state:"open"}),F=(0,u.Z)($,2),z=F[0],W=F[1],B=(0,f.Z)({},n,{open:z,direction:m}),H=function(e){var t=e.classes,n=e.open,r=e.direction,o={root:["root","direction".concat((0,J.Z)(r))],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return(0,v.Z)(o,au,t)}(B),U=p.useRef();p.useEffect((function(){return function(){clearTimeout(U.current)}}),[]);var V=p.useRef(0),G=p.useRef(),q=p.useRef([]);q.current=[q.current[0]];var K=p.useCallback((function(e){q.current[0]=e}),[]),Y=(0,$e.Z)(s,K),X=function(e,t){return function(n){q.current[e+1]=n,t&&t(n)}};p.useEffect((function(){z||(V.current=0,G.current=void 0)}),[z]);var Q=function(e){"mouseleave"===e.type&&T&&T(e),"blur"===e.type&&S&&S(e),clearTimeout(U.current),"blur"===e.type?U.current=setTimeout((function(){W(!1),C&&C(e,"blur")})):(W(!1),C&&C(e,"mouseLeave"))},ee=function(e){"mouseenter"===e.type&&E&&E(e),"focus"===e.type&&k&&k(e),clearTimeout(U.current),z||(U.current=setTimeout((function(){if(W(!0),A){A(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])}})))},te=i.replace(/^[^a-z]+|[^\w:.-]+/gi,""),ne=p.Children.toArray(l).filter((function(e){return p.isValidElement(e)})),re=ne.map((function(e,t){var n=e.props,r=n.FabProps,o=(r=void 0===r?{}:r).ref,i=n.tooltipPlacement,a=(0,h.Z)(n.FabProps,uu),s=i||("vertical"===du(m)?"left":"top");return p.cloneElement(e,{FabProps:(0,f.Z)({},a,{ref:X(t,o)}),delay:30*(z?t:ne.length-t),open:z,tooltipPlacement:s,id:"".concat(te,"-action-").concat(t)})}));return(0,R.jsxs)(hu,(0,f.Z)({className:(0,g.Z)(H.root,c),ref:t,role:"presentation",onKeyDown:function(e){Z&&Z(e);var t,n,r,o=e.key.replace("Arrow","").toLowerCase(),i=G.current,a=void 0===i?o:i;if("Escape"===e.key)return W(!1),q.current[0].focus(),void(C&&C(e,"escapeKeyDown"));if(du(o)===du(a)&&void 0!==du(o)){e.preventDefault();var s=o===a?1:-1,l=(t=V.current+s,n=0,r=q.current.length-1,tr?r:t);q.current[l].focus(),V.current=l,G.current=a}},onBlur:Q,onFocus:ee,onMouseEnter:ee,onMouseLeave:Q,ownerState:B},j,{children:[(0,R.jsx)(O,(0,f.Z)({in:!w,timeout:I,unmountOnExit:!0},D,{children:(0,R.jsx)(fu,(0,f.Z)({color:"primary","aria-label":i,"aria-haspopup":"true","aria-expanded":z,"aria-controls":"".concat(te,"-actions")},N,{onClick:function(e){N.onClick&&N.onClick(e),clearTimeout(U.current),z?(W(!1),C&&C(e,"toggle")):(W(!0),A&&A(e,"toggle"))},className:(0,g.Z)(H.fab,N.className),ref:Y,ownerState:B,children:p.isValidElement(_)&&(0,Pi.Z)(_,["SpeedDialIcon"])?p.cloneElement(_,{open:z}):_}))})),(0,R.jsx)(pu,{id:"".concat(te,"-actions"),role:"menu","aria-orientation":du(m),className:(0,g.Z)(H.actions,!z&&H.actionsClosed),ownerState:B,children:re})]}))})),gu=n(7639);function vu(e){return(0,C.Z)("MuiSpeedDialAction",e)}var yu=(0,k.Z)("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),bu=["className","delay","FabProps","icon","id","open","TooltipClasses","tooltipOpen","tooltipPlacement","tooltipTitle"],wu=(0,y.ZP)(ko.Z,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:function(e,t){var n=e.ownerState;return[t.fab,!n.open&&t.fabClosed]}})((function(e){var t=e.theme,n=e.ownerState;return(0,f.Z)({margin:8,color:t.palette.text.secondary,backgroundColor:t.palette.background.paper,"&:hover":{backgroundColor:(0,Y._4)(t.palette.background.paper,.15)},transition:"".concat(t.transitions.create("transform",{duration:t.transitions.duration.shorter}),", opacity 0.8s"),opacity:1},!n.open&&{opacity:0,transform:"scale(0)"})})),_u=(0,y.ZP)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t["tooltipPlacement".concat((0,J.Z)(n.tooltipPlacement))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,d.Z)({position:"relative",display:"flex",alignItems:"center"},"& .".concat(yu.staticTooltipLabel),(0,f.Z)({transition:t.transitions.create(["transform","opacity"],{duration:t.transitions.duration.shorter}),opacity:1},!n.open&&{opacity:0,transform:"scale(0.5)"},"left"===n.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===n.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8}))})),Su=(0,y.ZP)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:function(e,t){return t.staticTooltipLabel}})((function(e){var t=e.theme;return(0,f.Z)({position:"absolute"},t.typography.body1,{backgroundColor:t.palette.background.paper,borderRadius:t.shape.borderRadius,boxShadow:t.shadows[1],color:t.palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"})})),xu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSpeedDialAction"}),r=n.className,o=n.delay,i=void 0===o?0:o,a=n.FabProps,s=void 0===a?{}:a,l=n.icon,c=n.id,d=n.open,m=n.TooltipClasses,y=n.tooltipOpen,w=void 0!==y&&y,_=n.tooltipPlacement,S=void 0===_?"left":_,x=n.tooltipTitle,C=(0,h.Z)(n,bu),k=(0,f.Z)({},n,{tooltipPlacement:S}),Z=function(e){var t=e.open,n=e.tooltipPlacement,r=e.classes,o={fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip","tooltipPlacement".concat((0,J.Z)(n)),!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]};return(0,v.Z)(o,vu,r)}(k),E=p.useState(w),T=(0,u.Z)(E,2),A=T[0],P=T[1],M={transitionDelay:"".concat(i,"ms")},O=(0,R.jsx)(wu,(0,f.Z)({size:"small",className:(0,g.Z)(Z.fab,r),tabIndex:-1,role:"menuitem",ownerState:k},s,{style:(0,f.Z)({},M,s.style),children:l}));return w?(0,R.jsxs)(_u,(0,f.Z)({id:c,ref:t,className:Z.staticTooltip,ownerState:k},C,{children:[(0,R.jsx)(Su,{style:M,id:"".concat(c,"-label"),className:Z.staticTooltipLabel,ownerState:k,children:x}),p.cloneElement(O,{"aria-labelledby":"".concat(c,"-label")})]})):(!d&&A&&P(!1),(0,R.jsx)(gu.Z,(0,f.Z)({id:c,ref:t,title:x,placement:S,onClose:function(){P(!1)},onOpen:function(){P(!0)},open:d&&A,classes:m},C,{children:O})))})),Cu=(0,ne.Z)((0,R.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function ku(e){return(0,C.Z)("MuiSpeedDialIcon",e)}var Zu=(0,k.Z)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),Eu=["className","icon","open","openIcon"],Ru=(0,y.ZP)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Zu.icon),t.icon),(0,d.Z)({},"& .".concat(Zu.icon),n.open&&t.iconOpen),(0,d.Z)({},"& .".concat(Zu.icon),n.open&&n.openIcon&&t.iconWithOpenIconOpen),(0,d.Z)({},"& .".concat(Zu.openIcon),t.openIcon),(0,d.Z)({},"& .".concat(Zu.openIcon),n.open&&t.openIconOpen),t.root]}})((function(e){var t,n=e.theme,r=e.ownerState;return t={height:24},(0,d.Z)(t,"& .".concat(Zu.icon),(0,f.Z)({transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short})},r.open&&(0,f.Z)({transform:"rotate(45deg)"},r.openIcon&&{opacity:0}))),(0,d.Z)(t,"& .".concat(Zu.openIcon),(0,f.Z)({position:"absolute",transition:n.transitions.create(["transform","opacity"],{duration:n.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},r.open&&{transform:"rotate(0deg)",opacity:1})),t})),Tu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSpeedDialIcon"}),r=n.className,o=n.icon,i=n.openIcon,a=(0,h.Z)(n,Eu),s=n,l=function(e){var t=e.classes,n=e.open,r={root:["root"],icon:["icon",n&&"iconOpen",e.openIcon&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]};return(0,v.Z)(r,ku,t)}(s);function c(e,t){return p.isValidElement(e)?p.cloneElement(e,{className:t}):e}return(0,R.jsxs)(Ru,(0,f.Z)({className:(0,g.Z)(l.root,r),ref:t,ownerState:s},a,{children:[i?c(i,l.openIcon):null,o?c(o,l.icon):(0,R.jsx)(Cu,{className:l.icon})]}))}));Tu.muiName="SpeedDialIcon";var Au=Tu,Pu=n(1184),Mu=n(5682),Ou=n(8519),Lu=n(2466),Iu=["component","direction","spacing","divider","children"];function Du(e,t){var n=p.Children.toArray(e).filter(Boolean);return n.reduce((function(e,r,o){return e.push(r),o :not(style) + :not(style)":(0,d.Z)({margin:0},"margin".concat((r=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r])),(0,Mu.NA)(o,e))};var r})))}return r})),ju=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiStack"}),r=(0,Ou.Z)(n),o=r.component,i=void 0===o?"div":o,a=r.direction,s=void 0===a?"column":a,l=r.spacing,c=void 0===l?0:l,u=r.divider,d=r.children,p=(0,h.Z)(r,Iu),m={direction:s,spacing:c};return(0,R.jsx)(Nu,(0,f.Z)({as:i,ownerState:m,ref:t},p,{children:u?Du(d,u):d}))})),$u=ju,Fu=p.createContext({});function zu(){return p.useContext(Fu)}var Wu=Fu,Bu=p.createContext({});function Hu(){return p.useContext(Bu)}var Uu=Bu;function Vu(e){return(0,C.Z)("MuiStep",e)}var Gu=(0,k.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),qu=["active","children","className","completed","disabled","expanded","index","last"],Ku=(0,y.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((function(e){var t=e.ownerState;return(0,f.Z)({},"horizontal"===t.orientation&&{paddingLeft:8,paddingRight:8},t.alternativeLabel&&{flex:1,position:"relative"})})),Yu=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiStep"}),r=n.active,o=n.children,i=n.className,a=n.completed,s=n.disabled,l=n.expanded,c=void 0!==l&&l,u=n.index,d=n.last,m=(0,h.Z)(n,qu),y=p.useContext(Wu),w=y.activeStep,_=y.connector,S=y.alternativeLabel,x=y.orientation,C=y.nonLinear,k=void 0!==r&&r,Z=void 0!==a&&a,E=void 0!==s&&s;w===u?k=void 0===r||r:!C&&w>u?Z=void 0===a||a:!C&&w1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,o=void 0===n?null:n,i=t.changeTransition,s=void 0===i||i,c=xo(r,a),u=-1!==["right","bottom"].indexOf(c)?1:-1,d=So(a),h=d?"translate(".concat(u*e,"px, 0)"):"translate(0, ".concat(u*e,"px)"),f=V.current.style;f.webkitTransform=h,f.transform=h;var p="";if(o&&(p=r.transitions.create("all",(0,tu.C)({easing:void 0,style:void 0,timeout:L},{mode:o}))),s&&(f.webkitTransition=p,f.transition=p),!l&&!v){var m=U.current.style;m.opacity=1-e/Qd(d,V.current),s&&(m.webkitTransition=p,m.transition=p)}}),[a,l,v,r,L]),Y=(0,Bd.Z)((function(e){if(G.current)if(Yd=null,G.current=!1,W(!1),B.current.isSwiping){B.current.isSwiping=null;var t,n=xo(r,a),o=So(a);t=o?Jd(n,e.changedTouches,(0,zd.Z)(e.currentTarget)):Xd(n,e.changedTouches,(0,Wd.Z)(e.currentTarget));var i=o?B.current.startX:B.current.startY,s=Qd(o,V.current),l=eh(t,i,Z,s),c=l/s;Math.abs(B.current.velocity)>_&&(q.current=1e3*Math.abs((s-l)/B.current.velocity)),Z?B.current.velocity>_||c>b?C():K(0,{mode:"exit"}):B.current.velocity<-_||1-c>b?k():K(Qd(o,V.current),{mode:"enter"})}else B.current.isSwiping=null})),J=(0,Bd.Z)((function(e){if(V.current&&G.current&&(null===Yd||Yd===B.current)){var t=xo(r,a),n=So(a),o=Jd(t,e.touches,(0,zd.Z)(e.currentTarget)),i=Xd(t,e.touches,(0,Wd.Z)(e.currentTarget));if(Z&&V.current.contains(e.target)&&null===Yd){var s=function(e,t){for(var n=[];e&&e!==t.parentElement;){var r=(0,Wd.Z)(t).getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,V.current),l=function(e){var t=e.domTreeShapes,n=e.start,r=e.current,o=e.anchor,i={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return t.some((function(e){var t=r>=n;"top"!==o&&"left"!==o||(t=!t);var l="left"===o||"right"===o?"x":"y",c=Math.round(e[i[l]]),u=c>0,d=c+e[s[l]]u&&c>3:u>c&&u>3;if(h&&e.cancelable&&e.preventDefault(),!0===h||(n?u>3:c>3)){if(B.current.isSwiping=h,!h)return void Y(e);B.current.startX=o,B.current.startY=i,d||Z||(n?B.current.startX-=20:B.current.startY-=20)}}if(B.current.isSwiping){var f=Qd(n,V.current),p=n?B.current.startX:B.current.startY;Z&&!B.current.paperHit&&(p=Math.min(p,f));var m=eh(n?o:i,p,Z,f);if(Z)if(B.current.paperHit)0===m&&(B.current.startX=o,B.current.startY=i);else{if(!(n?oM)return}else if(i>M)return}e.defaultMuiPrevented=!0,Yd=null,B.current.startX=o,B.current.startY=i,W(!0),!Z&&V.current&&K(Qd(n,V.current)+(d?15:-20),{changeTransition:!1}),B.current.velocity=0,B.current.lastTime=null,B.current.lastTranslate=null,B.current.paperHit=!1,G.current=!0}}));return p.useEffect((function(){if("temporary"===D){var e=(0,zd.Z)(V.current);return e.addEventListener("touchstart",X),e.addEventListener("touchmove",J,{passive:!Z}),e.addEventListener("touchend",Y),function(){e.removeEventListener("touchstart",X),e.removeEventListener("touchmove",J,{passive:!Z}),e.removeEventListener("touchend",Y)}}}),[D,Z,X,J,Y]),p.useEffect((function(){return function(){Yd===B.current&&(Yd=null)}}),[]),p.useEffect((function(){Z||W(!1)}),[Z]),(0,R.jsxs)(p.Fragment,{children:[(0,R.jsx)(Co,(0,f.Z)({open:!("temporary"!==D||!z)||Z,variant:D,ModalProps:(0,f.Z)({BackdropProps:(0,f.Z)({},x,{ref:U})},N),hideBackdrop:v,PaperProps:(0,f.Z)({},T,{style:(0,f.Z)({pointerEvents:"temporary"!==D||Z?"":"none"},T.style),ref:V}),anchor:a,transitionDuration:q.current||L,onClose:C,ref:t},j)),!g&&"temporary"===D&&(0,R.jsx)(Ls,{children:(0,R.jsx)(Gd,(0,f.Z)({anchor:a,ref:H,width:M},A))})]})})),rh=nh;function oh(e){return(0,C.Z)("MuiSwitch",e)}var ih=(0,k.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ah=["className","color","edge","size","sx"],sh=(0,y.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,J.Z)(n.edge))],t["size".concat((0,J.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,f.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,d.Z)(t,"& .".concat(ih.thumb),{width:16,height:16}),(0,d.Z)(t,"& .".concat(ih.switchBase),(0,d.Z)({padding:4},"&.".concat(ih.checked),{transform:"translateX(16px)"})),t))})),lh=(0,y.ZP)(ll.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,d.Z)({},"& .".concat(ih.input),t.input),"default"!==n.color&&t["color".concat((0,J.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:"light"===n.palette.mode?n.palette.common.white:n.palette.grey[300],transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,d.Z)(t,"&.".concat(ih.checked),{transform:"translateX(20px)"}),(0,d.Z)(t,"&.".concat(ih.disabled),{color:"light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600]}),(0,d.Z)(t,"&.".concat(ih.checked," + .").concat(ih.track),{opacity:.5}),(0,d.Z)(t,"&.".concat(ih.disabled," + .").concat(ih.track),{opacity:"light"===n.palette.mode?.12:.2}),(0,d.Z)(t,"& .".concat(ih.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,f.Z)({"&:hover":{backgroundColor:(0,Y.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,d.Z)(t,"&.".concat(ih.checked),(0,d.Z)({color:n.palette[r.color].main,"&:hover":{backgroundColor:(0,Y.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(ih.disabled),{color:"light"===n.palette.mode?(0,Y.$n)(n.palette[r.color].main,.62):(0,Y._j)(n.palette[r.color].main,.55)})),(0,d.Z)(t,"&.".concat(ih.checked," + .").concat(ih.track),{backgroundColor:n.palette[r.color].main}),t))})),ch=(0,y.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.mode?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.mode?.38:.3}})),uh=(0,y.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){return{boxShadow:e.theme.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),dh=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiSwitch"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.edge,s=void 0!==a&&a,l=n.size,c=void 0===l?"medium":l,u=n.sx,d=(0,h.Z)(n,ah),p=(0,f.Z)({},n,{color:i,edge:s,size:c}),m=function(e){var t=e.classes,n=e.edge,r=e.size,o=e.color,i=e.checked,a=e.disabled,s={root:["root",n&&"edge".concat((0,J.Z)(n)),"size".concat((0,J.Z)(r))],switchBase:["switchBase","color".concat((0,J.Z)(o)),i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=(0,v.Z)(s,oh,t);return(0,f.Z)({},t,l)}(p),y=(0,R.jsx)(uh,{className:m.thumb,ownerState:p});return(0,R.jsxs)(sh,{className:(0,g.Z)(m.root,r),sx:u,ownerState:p,children:[(0,R.jsx)(lh,(0,f.Z)({type:"checkbox",icon:y,checkedIcon:y,ref:t,ownerState:p},d,{classes:(0,f.Z)({},m,{root:m.switchBase})})),(0,R.jsx)(ch,{className:m.track,ownerState:p})]})})),hh=n(1474),fh=n(3901),ph=n(3768),mh=n(5275),gh=n(2155),vh=n(4417),yh=n(8745),bh=n(618);function wh(e){return(0,C.Z)("MuiTableContainer",e)}var _h=(0,k.Z)("MuiTableContainer",["root"]),Sh=["className","component"],xh=(0,y.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:"100%",overflowX:"auto"}),Ch=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiTableContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,h.Z)(n,Sh),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},wh,t)}(s);return(0,R.jsx)(xh,(0,f.Z)({ref:t,as:i,className:(0,g.Z)(l.root,r),ownerState:s},a))})),kh=n(829);function Zh(e){return(0,C.Z)("MuiTableFooter",e)}var Eh,Rh,Th,Ah,Ph,Mh,Oh,Lh,Ih=(0,k.Z)("MuiTableFooter",["root"]),Dh=["className","component"],Nh=(0,y.ZP)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-footer-group"}),jh={variant:"footer"},$h="tfoot",Fh=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiTableFooter"}),r=n.className,o=n.component,i=void 0===o?$h:o,a=(0,h.Z)(n,Dh),s=(0,f.Z)({},n,{component:i}),l=function(e){var t=e.classes;return(0,v.Z)({root:["root"]},Zh,t)}(s);return(0,R.jsx)(kh.Z.Provider,{value:jh,children:(0,R.jsx)(Nh,(0,f.Z)({as:i,className:(0,g.Z)(l.root,r),ref:t,role:i===$h?null:"rowgroup",ownerState:s},a))})})),zh=n(2041),Wh=n(5921),Bh=n(9464),Hh=n(7883),Uh=n(1883),Vh=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],Gh=p.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,o=e.getItemAriaLabel,i=e.nextIconButtonProps,a=e.onPageChange,s=e.page,l=e.rowsPerPage,c=e.showFirstButton,u=e.showLastButton,d=(0,h.Z)(e,Vh),p=(0,ho.Z)();return(0,R.jsxs)("div",(0,f.Z)({ref:t},d,{children:[c&&(0,R.jsx)(te.Z,{onClick:function(e){a(e,0)},disabled:0===s,"aria-label":o("first",s),title:o("first",s),children:"rtl"===p.direction?Eh||(Eh=(0,R.jsx)(Bs,{})):Rh||(Rh=(0,R.jsx)(Ws,{}))}),(0,R.jsx)(te.Z,(0,f.Z)({onClick:function(e){a(e,s-1)},disabled:0===s,color:"inherit","aria-label":o("previous",s),title:o("previous",s)},n,{children:"rtl"===p.direction?Th||(Th=(0,R.jsx)(Uh.Z,{})):Ah||(Ah=(0,R.jsx)(Hh.Z,{}))})),(0,R.jsx)(te.Z,(0,f.Z)({onClick:function(e){a(e,s+1)},disabled:-1!==r&&s>=Math.ceil(r/l)-1,color:"inherit","aria-label":o("next",s),title:o("next",s)},i,{children:"rtl"===p.direction?Ph||(Ph=(0,R.jsx)(Hh.Z,{})):Mh||(Mh=(0,R.jsx)(Uh.Z,{}))})),u&&(0,R.jsx)(te.Z,{onClick:function(e){a(e,Math.max(0,Math.ceil(r/l)-1))},disabled:s>=Math.ceil(r/l)-1,"aria-label":o("last",s),title:o("last",s),children:"rtl"===p.direction?Oh||(Oh=(0,R.jsx)(Ws,{})):Lh||(Lh=(0,R.jsx)(Bs,{}))})]}))}));function qh(e){return(0,C.Z)("MuiTablePagination",e)}var Kh,Yh=(0,k.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Jh=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Xh=(0,y.ZP)(yh.Z,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}})),Qh=(0,y.ZP)(Bh.Z,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(e,t){return(0,f.Z)((0,d.Z)({},"& .".concat(Yh.actions),t.actions),t.toolbar)}})((function(e){var t,n=e.theme;return t={minHeight:52,paddingRight:2},(0,d.Z)(t,"".concat(n.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),(0,d.Z)(t,n.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),(0,d.Z)(t,"& .".concat(Yh.actions),{flexShrink:0,marginLeft:20}),t})),ef=(0,y.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})({flex:"1 1 100%"}),tf=(0,y.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(e,t){return t.selectLabel}})((function(e){var t=e.theme;return(0,f.Z)({},t.typography.body2,{flexShrink:0})})),nf=(0,y.ZP)(Jl.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(e,t){var n;return(0,f.Z)((n={},(0,d.Z)(n,"& .".concat(Yh.selectIcon),t.selectIcon),(0,d.Z)(n,"& .".concat(Yh.select),t.select),n),t.input,t.selectRoot)}})((0,d.Z)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(Yh.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),rf=(0,y.ZP)(fs.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(e,t){return t.menuItem}})({}),of=(0,y.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(e,t){return t.displayedRows}})((function(e){var t=e.theme;return(0,f.Z)({},t.typography.body2,{flexShrink:0})}));function af(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"\u2013").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))}function sf(e){return"Go to ".concat(e," page")}var lf=p.forwardRef((function(e,t){var n,r=(0,b.Z)({props:e,name:"MuiTablePagination"}),o=r.ActionsComponent,i=void 0===o?Gh:o,a=r.backIconButtonProps,s=r.className,l=r.colSpan,c=r.component,u=void 0===c?yh.Z:c,d=r.count,m=r.getItemAriaLabel,y=void 0===m?sf:m,w=r.labelDisplayedRows,_=void 0===w?af:w,S=r.labelRowsPerPage,x=void 0===S?"Rows per page:":S,C=r.nextIconButtonProps,k=r.onPageChange,Z=r.onRowsPerPageChange,E=r.page,T=r.rowsPerPage,A=r.rowsPerPageOptions,P=void 0===A?[10,25,50,100]:A,M=r.SelectProps,O=void 0===M?{}:M,L=r.showFirstButton,I=void 0!==L&&L,D=r.showLastButton,N=void 0!==D&&D,j=(0,h.Z)(r,Jh),$=r,F=function(e){var t=e.classes;return(0,v.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},qh,t)}($),z=O.native?"option":rf;u!==yh.Z&&"td"!==u||(n=l||1e3);var W=(0,kl.Z)(O.id),B=(0,kl.Z)(O.labelId);return(0,R.jsx)(Xh,(0,f.Z)({colSpan:n,ref:t,as:u,ownerState:$,className:(0,g.Z)(F.root,s)},j,{children:(0,R.jsxs)(Qh,{className:F.toolbar,children:[(0,R.jsx)(ef,{className:F.spacer}),P.length>1&&(0,R.jsx)(tf,{className:F.selectLabel,id:B,children:x}),P.length>1&&(0,R.jsx)(nf,(0,f.Z)({variant:"standard",input:Kh||(Kh=(0,R.jsx)(Yi.ZP,{})),value:T,onChange:Z,id:W,labelId:B},O,{classes:(0,f.Z)({},O.classes,{root:(0,g.Z)(F.input,F.selectRoot,(O.classes||{}).root),select:(0,g.Z)(F.select,(O.classes||{}).select),icon:(0,g.Z)(F.selectIcon,(O.classes||{}).icon)}),children:P.map((function(e){return(0,p.createElement)(z,(0,f.Z)({},!(0,$t.Z)(z)&&{ownerState:$},{className:F.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)}))})),(0,R.jsx)(of,{className:F.displayedRows,children:_({from:0===d?0:E*T+1,to:-1===d?(E+1)*T:-1===T?d:Math.min(d,(E+1)*T),count:-1===d?-1:d,page:E})}),(0,R.jsx)(i,{className:F.actions,backIconButtonProps:a,count:d,nextIconButtonProps:C,onPageChange:k,page:E,rowsPerPage:T,showFirstButton:I,showLastButton:N,getItemAriaLabel:y})]})}))})),cf=n(9195),uf=n(1613),df=n(4764),hf=n(1668),ff=n(9347),pf=n(5860),mf=n(1157),gf=n(7037),vf=n(3006),yf=n(2022),bf=n(1747);function wf(e){return(0,C.Z)("MuiToggleButton",e)}var _f=(0,k.Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]),Sf=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],xf=(0,y.ZP)(W.Z,{name:"MuiToggleButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["size".concat((0,J.Z)(n.size))]]}})((function(e){var t,n,r=e.theme,o=e.ownerState,i="standard"===o.color?r.palette.text.primary:r.palette[o.color].main;return r.vars&&(i="standard"===o.color?r.vars.palette.text.primary:r.vars.palette[o.color].main,n="standard"===o.color?r.vars.palette.text.primaryChannel:r.vars.palette[o.color].mainChannel),(0,f.Z)({},r.typography.button,{borderRadius:(r.vars||r).shape.borderRadius,padding:11,border:"1px solid ".concat((r.vars||r).palette.divider),color:(r.vars||r).palette.action.active},o.fullWidth&&{width:"100%"},(t={},(0,d.Z)(t,"&.".concat(_f.disabled),{color:(r.vars||r).palette.action.disabled,border:"1px solid ".concat((r.vars||r).palette.action.disabledBackground)}),(0,d.Z)(t,"&:hover",{textDecoration:"none",backgroundColor:r.vars?"rgba(".concat(r.vars.palette.text.primaryChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,Y.Fq)(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}),(0,d.Z)(t,"&.".concat(_f.selected),{color:i,backgroundColor:r.vars?"rgba(".concat(n," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(i,r.palette.action.selectedOpacity),"&:hover":{backgroundColor:r.vars?"rgba(".concat(n," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,Y.Fq)(i,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:r.vars?"rgba(".concat(n," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,Y.Fq)(i,r.palette.action.selectedOpacity)}}}),t),"small"===o.size&&{padding:7,fontSize:r.typography.pxToRem(13)},"large"===o.size&&{padding:15,fontSize:r.typography.pxToRem(15)})})),Cf=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiToggleButton"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"standard":i,s=n.disabled,l=void 0!==s&&s,c=n.disableFocusRipple,u=void 0!==c&&c,d=n.fullWidth,p=void 0!==d&&d,m=n.onChange,y=n.onClick,w=n.selected,_=n.size,S=void 0===_?"medium":_,x=n.value,C=(0,h.Z)(n,Sf),k=(0,f.Z)({},n,{color:a,disabled:l,disableFocusRipple:u,fullWidth:p,size:S}),Z=function(e){var t=e.classes,n=e.fullWidth,r=e.selected,o=e.disabled,i=e.size,a=e.color,s={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth","size".concat((0,J.Z)(i)),a]};return(0,v.Z)(s,wf,t)}(k);return(0,R.jsx)(xf,(0,f.Z)({className:(0,g.Z)(Z.root,o),disabled:l,focusRipple:!u,ref:t,onClick:function(e){y&&(y(e,x),e.defaultPrevented)||m&&m(e,x)},onChange:m,value:x,ownerState:k,"aria-pressed":w},C,{children:r}))}));function kf(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.indexOf(e)>=0:e===t)}function Zf(e){return(0,C.Z)("MuiToggleButtonGroup",e)}var Ef=(0,k.Z)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]),Rf=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],Tf=(0,y.ZP)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,d.Z)({},"& .".concat(Ef.grouped),t.grouped),(0,d.Z)({},"& .".concat(Ef.grouped),t["grouped".concat((0,J.Z)(n.orientation))]),t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((function(e){var t=e.ownerState,n=e.theme;return(0,f.Z)({display:"inline-flex",borderRadius:(n.vars||n).shape.borderRadius},"vertical"===t.orientation&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},(0,d.Z)({},"& .".concat(Ef.grouped),(0,f.Z)({},"horizontal"===t.orientation?(0,d.Z)({"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}},"&.".concat(Ef.selected," + .").concat(Ef.grouped,".").concat(Ef.selected),{borderLeft:0,marginLeft:0}):(0,d.Z)({"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}},"&.".concat(Ef.selected," + .").concat(Ef.grouped,".").concat(Ef.selected),{borderTop:0,marginTop:0}))))})),Af=p.forwardRef((function(e,t){var n=(0,b.Z)({props:e,name:"MuiToggleButtonGroup"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"standard":i,s=n.disabled,l=void 0!==s&&s,c=n.exclusive,u=void 0!==c&&c,d=n.fullWidth,m=void 0!==d&&d,y=n.onChange,w=n.orientation,_=void 0===w?"horizontal":w,S=n.size,x=void 0===S?"medium":S,C=n.value,k=(0,h.Z)(n,Rf),Z=(0,f.Z)({},n,{disabled:l,fullWidth:m,orientation:_,size:x}),E=function(e){var t=e.classes,n=e.orientation,r=e.fullWidth,o=e.disabled,i={root:["root","vertical"===n&&"vertical",r&&"fullWidth"],grouped:["grouped","grouped".concat((0,J.Z)(n)),o&&"disabled"]};return(0,v.Z)(i,Zf,t)}(Z),T=function(e,t){if(y){var n,r=C&&C.indexOf(t);C&&r>=0?(n=C.slice()).splice(r,1):n=C?C.concat(t):[t],y(e,n)}},A=function(e,t){y&&y(e,C===t?null:t)};return(0,R.jsx)(Tf,(0,f.Z)({role:"group",className:(0,g.Z)(E.root,o),ref:t,ownerState:Z},k,{children:p.Children.map(r,(function(e){return p.isValidElement(e)?p.cloneElement(e,{className:(0,g.Z)(E.grouped,e.props.className),onChange:u?A:T,selected:void 0===e.props.selected?kf(e.props.value,C):e.props.selected,size:e.props.size||x,fullWidth:m,color:e.props.color||a,disabled:e.props.disabled||l}):null}))}))})),Pf=n(4073),Mf=n(9293),Of=n(940),Lf=["getTrigger","target"];function If(e,t){var n=t.disableHysteresis,r=void 0!==n&&n,o=t.threshold,i=void 0===o?100:o,a=t.target,s=e.current;return a&&(e.current=void 0!==a.pageYOffset?a.pageYOffset:a.scrollTop),!(!r&&void 0!==s&&e.currenti}var Df="undefined"!==typeof window?window:null;function Nf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getTrigger,n=void 0===t?If:t,r=e.target,o=void 0===r?Df:r,i=(0,h.Z)(e,Lf),a=p.useRef(),s=p.useState((function(){return n(a,i)})),l=(0,u.Z)(s,2),c=l[0],d=l[1];return p.useEffect((function(){var e=function(){d(n(a,(0,f.Z)({target:o},i)))};return e(),o.addEventListener("scroll",e),function(){o.removeEventListener("scroll",e)}}),[o,n,JSON.stringify(i)]),c}var jf=n(1640)},7278:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(9439),o=n(3366),i=n(7462),a=n(2791),s=n(8182),l=n(2039),c=n(4036),u=n(7630),d=n(8278),h=n(2930),f=n(2863),p=n(9818);function m(e){return(0,p.Z)("PrivateSwitchBase",e)}(0,n(2152).Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var g=n(184),v=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=(0,u.ZP)(f.Z)((function(e){var t=e.ownerState;return(0,i.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),b=(0,u.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=a.forwardRef((function(e,t){var n=e.autoFocus,a=e.checked,u=e.checkedIcon,f=e.className,p=e.defaultChecked,w=e.disabled,_=e.disableFocusRipple,S=void 0!==_&&_,x=e.edge,C=void 0!==x&&x,k=e.icon,Z=e.id,E=e.inputProps,R=e.inputRef,T=e.name,A=e.onBlur,P=e.onChange,M=e.onFocus,O=e.readOnly,L=e.required,I=e.tabIndex,D=e.type,N=e.value,j=(0,o.Z)(e,v),$=(0,d.Z)({controlled:a,default:Boolean(p),name:"SwitchBase",state:"checked"}),F=(0,r.Z)($,2),z=F[0],W=F[1],B=(0,h.Z)(),H=w;B&&"undefined"===typeof H&&(H=B.disabled);var U="checkbox"===D||"radio"===D,V=(0,i.Z)({},e,{checked:z,disabled:H,disableFocusRipple:S,edge:C}),G=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat((0,c.Z)(o))],input:["input"]};return(0,l.Z)(i,m,t)}(V);return(0,g.jsxs)(y,(0,i.Z)({component:"span",className:(0,s.Z)(G.root,f),centerRipple:!0,focusRipple:!S,disabled:H,tabIndex:null,role:void 0,onFocus:function(e){M&&M(e),B&&B.onFocus&&B.onFocus(e)},onBlur:function(e){A&&A(e),B&&B.onBlur&&B.onBlur(e)},ownerState:V,ref:t},j,{children:[(0,g.jsx)(b,(0,i.Z)({autoFocus:n,checked:a,defaultChecked:p,className:G.input,disabled:H,id:U&&Z,name:T,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;W(t),P&&P(e,t)}},readOnly:O,ref:R,required:L,ownerState:V,tabIndex:I,type:D},"checkbox"===D&&void 0===N?{}:{value:N},E)),z?u:k]}))}))},9059:function(e,t,n){"use strict";n(2791);var r=n(4223),o=n(184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},7883:function(e,t,n){"use strict";n(2791);var r=n(4223),o=n(184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},1883:function(e,t,n){"use strict";n(2791);var r=n(4223),o=n(184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},6395:function(e,t,n){"use strict";n.d(t,{A:function(){return P},Z:function(){return M}});var r=n(7462),o=n(3366),i=n(2466),a=n(2173),s=n(4942);function l(e,t,n){var o;return(0,r.Z)({toolbar:(o={minHeight:56},(0,s.Z)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,s.Z)(o,e.up("sm"),{minHeight:64}),o)},n)}var c=n(6189),u=n(2065),d=n(375),h=n(5519),f=n(1798),p=n(2460),m=n(1258),g=n(427),v=n(7851),y=n(7),b=["mode","contrastThreshold","tonalOffset"],w={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:d.Z.white,default:d.Z.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}},_={text:{primary:d.Z.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:d.Z.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}};function S(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.$n)(e.main,o):"dark"===t&&(e.dark=(0,u._j)(e.main,i)))}function x(e){var t=e.mode,n=void 0===t?"light":t,a=e.contrastThreshold,s=void 0===a?3:a,l=e.tonalOffset,x=void 0===l?.2:l,C=(0,o.Z)(e,b),k=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g.Z[200],light:g.Z[50],dark:g.Z[400]}:{main:g.Z[700],light:g.Z[400],dark:g.Z[800]}}(n),Z=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:f.Z[200],light:f.Z[50],dark:f.Z[400]}:{main:f.Z[500],light:f.Z[300],dark:f.Z[700]}}(n),E=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p.Z[500],light:p.Z[300],dark:p.Z[700]}:{main:p.Z[700],light:p.Z[400],dark:p.Z[800]}}(n),R=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v.Z[400],light:v.Z[300],dark:v.Z[700]}:{main:v.Z[700],light:v.Z[500],dark:v.Z[900]}}(n),T=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y.Z[400],light:y.Z[300],dark:y.Z[700]}:{main:y.Z[800],light:y.Z[500],dark:y.Z[900]}}(n),A=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m.Z[400],light:m.Z[300],dark:m.Z[700]}:{main:"#ed6c02",light:m.Z[500],dark:m.Z[900]}}(n);function P(e){return(0,u.mi)(e,_.text.primary)>=s?_.text.primary:w.text.primary}var M=function(e){var t=e.color,n=e.name,o=e.mainShade,i=void 0===o?500:o,a=e.lightShade,s=void 0===a?300:a,l=e.darkShade,u=void 0===l?700:l;if(!(t=(0,r.Z)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error((0,c.Z)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error((0,c.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return S(t,"light",s,x),S(t,"dark",u,x),t.contrastText||(t.contrastText=P(t.main)),t},O={dark:_,light:w};return(0,i.Z)((0,r.Z)({common:(0,r.Z)({},d.Z),mode:n,primary:M({color:k,name:"primary"}),secondary:M({color:Z,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:E,name:"error"}),warning:M({color:A,name:"warning"}),info:M({color:R,name:"info"}),success:M({color:T,name:"success"}),grey:h.Z,contrastThreshold:s,getContrastText:P,augmentColor:M,tonalOffset:x},O[n]),C)}var C=n(7682);function k(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Z=["none",k(0,2,1,-1,0,1,1,0,0,1,3,0),k(0,3,1,-2,0,2,2,0,0,1,5,0),k(0,3,3,-2,0,3,4,0,0,1,8,0),k(0,2,4,-1,0,4,5,0,0,1,10,0),k(0,3,5,-1,0,5,8,0,0,1,14,0),k(0,3,5,-1,0,6,10,0,0,1,18,0),k(0,4,5,-2,0,7,10,1,0,2,16,1),k(0,5,5,-3,0,8,10,1,0,3,14,2),k(0,5,6,-3,0,9,12,1,0,3,16,2),k(0,6,6,-3,0,10,14,1,0,4,18,3),k(0,6,7,-4,0,11,15,1,0,4,20,3),k(0,7,8,-4,0,12,17,2,0,5,22,4),k(0,7,8,-4,0,13,19,2,0,5,24,4),k(0,7,9,-4,0,14,21,2,0,5,26,4),k(0,8,9,-5,0,15,22,2,0,6,28,5),k(0,8,10,-5,0,16,24,2,0,6,30,5),k(0,8,11,-5,0,17,26,2,0,6,32,5),k(0,9,11,-5,0,18,28,2,0,7,34,6),k(0,9,12,-6,0,19,29,2,0,7,36,6),k(0,10,13,-6,0,20,31,3,0,8,38,7),k(0,10,13,-6,0,21,33,3,0,8,40,7),k(0,10,14,-6,0,22,35,3,0,8,42,7),k(0,11,14,-7,0,23,36,3,0,9,44,8),k(0,11,15,-7,0,24,38,3,0,9,46,8)],E=n(1314),R={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},T=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,s=e.palette,c=void 0===s?{}:s,u=e.transitions,d=void 0===u?{}:u,h=e.typography,f=void 0===h?{}:h,p=(0,o.Z)(e,T),m=x(c),g=(0,a.Z)(e),v=(0,i.Z)(g,{mixins:l(g.breakpoints,g.spacing,n),palette:m,shadows:Z.slice(),typography:(0,C.Z)(m,f),transitions:(0,E.ZP)(d),zIndex:(0,r.Z)({},R)});v=(0,i.Z)(v,p);for(var y=arguments.length,b=new Array(y>1?y-1:0),w=1;w0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,s=void 0===a?n.standard:a,c=o.easing,u=void 0===c?t.easeInOut:c,d=o.delay,h=void 0===d?0:d;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:l(s)," ").concat(u," ").concat("string"===typeof h?h:l(h))})).join(",")}},e,{easing:t,duration:n})}},7682:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7462),o=n(3366),i=n(2466),a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var s={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){var n="function"===typeof t?t(e):t,c=n.fontFamily,u=void 0===c?l:c,d=n.fontSize,h=void 0===d?14:d,f=n.fontWeightLight,p=void 0===f?300:f,m=n.fontWeightRegular,g=void 0===m?400:m,v=n.fontWeightMedium,y=void 0===v?500:v,b=n.fontWeightBold,w=void 0===b?700:b,_=n.htmlFontSize,S=void 0===_?16:_,x=n.allVariants,C=n.pxToRem,k=(0,o.Z)(n,a);var Z=h/14,E=C||function(e){return"".concat(e/S*Z,"rem")},R=function(e,t,n,o,i){return(0,r.Z)({fontFamily:u,fontWeight:e,fontSize:E(t),lineHeight:n},u===l?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},T={h1:R(p,96,1.167,-1.5),h2:R(p,60,1.2,-.5),h3:R(g,48,1.167,0),h4:R(g,34,1.235,.25),h5:R(g,24,1.334,0),h6:R(y,20,1.6,.15),subtitle1:R(g,16,1.75,.15),subtitle2:R(y,14,1.57,.1),body1:R(g,16,1.5,.15),body2:R(g,14,1.43,.15),button:R(y,14,1.75,.4,s),caption:R(g,12,1.66,.4),overline:R(g,12,2.66,1,s)};return(0,i.Z)((0,r.Z)({htmlFontSize:S,pxToRem:E,fontFamily:u,fontSize:h,fontWeightLight:p,fontWeightRegular:g,fontWeightMedium:y,fontWeightBold:w},T),k,{clone:!1})}},1572:function(e,t,n){"use strict";n.d(t,{LV:function(){return l},Wy:function(){return i},YL:function(){return a},dA:function(){return o},vY:function(){return c},vs:function(){return s},ze:function(){return u}});var r=n(4942);function o(e){return String(parseFloat(e)).length===String(e).length}function i(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function a(e){return parseFloat(e)}function s(e){return function(t,n){var r=i(t);if(r===n)return t;var o=a(t);"px"!==r&&("em"===r||"rem"===r)&&(o=a(t)*a(e));var s=o;if("px"!==n)if("em"===n)s=o/a(e);else{if("rem"!==n)return t;s=o/a(e)}return parseFloat(s.toFixed(5))+n}}function l(e){var t=e.size,n=e.grid,r=t-t%n,o=r+n;return t-r0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.Z)({paddingLeft:x(2),paddingRight:x(2)},e,(0,r.Z)({},S.up("sm"),(0,o.Z)({paddingLeft:x(3),paddingRight:x(3)},e[S.up("sm")])))}},d);var C=m.type,k=m.mode,Z=(0,i.Z)(m,c),E=k||C||"light";return _.palette=(0,o.Z)({text:{hint:"dark"===E?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:E,type:E},Z),_}var d=n(104);var h=function(e){return function(t){var n=t.theme;return(0,d.Z)({sx:e,theme:n})}},f=n(2065),p=n(2554),m=n(6395),g=n(2466);function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.breakpoints,r=void 0===n?["sm","md","lg"]:n,i=t.disableAlign,a=void 0!==i&&i,s=t.factor,l=void 0===s?2:s,c=t.variants,u=void 0===c?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:c,d=(0,o.Z)({},e);d.typography=(0,o.Z)({},d.typography);var h=d.typography,f=(0,w.vs)(h.htmlFontSize),p=r.map((function(e){return d.breakpoints.values[e]}));return u.forEach((function(e){var t=h[e],n=parseFloat(f(t.fontSize,"rem"));if(!(n<=1)){var r=n,i=1+(r-1)/l,s=t.lineHeight;if(!(0,w.dA)(s)&&!a)throw new Error((0,_.Z)(6));(0,w.dA)(s)||(s=parseFloat(f(s,"rem"))/parseFloat(n));var c=null;a||(c=function(e){return(0,w.LV)({size:e,grid:(0,w.vY)({pixels:4,lineHeight:s,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,o.Z)({},t,(0,w.ze)({cssProperty:"fontSize",min:i,max:r,unit:"rem",breakpoints:p,transform:c}))}})),d}var x=n(1314),C=n(3967),k=n(1402),Z=n(7630),E=n(821),R=n(1640);function T(){throw new Error((0,_.Z)(14))}function A(){throw new Error((0,_.Z)(15))}function P(){throw new Error((0,_.Z)(16))}var M=n(9439),O=n(2791),L=n(5721),I=n(1500),D=n(3433),N=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e;t.forEach((function(e,i){i===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 j(e,t){var n,o,i=t||{},a=i.prefix,s=i.basePrefix,l=void 0===s?"":s,c=i.shouldSkipGeneratingVar,u={},d={},h={};return n=function(e,t,n){if(("string"===typeof t||"number"===typeof t)&&("string"===typeof t&&t.match(/var\(\s*--/)&&(t=!l&&a?t.replace(/var\(\s*--/g,"var(--".concat(a,"-")):a?t.replace(new RegExp("var\\(\\s*--".concat(l),"g"),"var(--".concat(a)):t.replace(new RegExp("var\\(\\s*--".concat(l,"-"),"g"),"var(--")),!c||c&&!c(e,t))){var o="--".concat(a?"".concat(a,"-"):"").concat(e.join("-"));Object.assign(u,(0,r.Z)({},o,function(e,t){return"number"===typeof t?["lineHeight","fontWeight","opacity","zIndex"].some((function(t){return e.includes(t)}))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:"".concat(t,"px"):t}(e,t))),N(d,e,"var(".concat(o,")"),n)}N(h,e,t,n)},o=function(e){return"vars"===e[0]},function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(t).forEach((function(t){var a=(0,M.Z)(t,2),s=a[0],l=a[1];(!o||o&&!o([].concat((0,D.Z)(r),[s])))&&void 0!==l&&null!==l&&("object"===typeof l&&Object.keys(l).length>0?e(l,[].concat((0,D.Z)(r),[s]),Array.isArray(l)?[].concat((0,D.Z)(i),[s]):i):n([].concat((0,D.Z)(r),[s]),l,i))}))}(e),{css:u,vars:d,parsedTheme:h}}var $=n(184),F="mui-mode",z="mui-color-scheme",W="data-mui-color-scheme";function B(e){var t=e||{},n=t.enableSystem,r=void 0!==n&&n,o=t.defaultLightColorScheme,i=void 0===o?"light":o,a=t.defaultDarkColorScheme,s=void 0===a?"dark":a,l=t.modeStorageKey,c=void 0===l?F:l,u=t.colorSchemeStorageKey,d=void 0===u?z:u,h=t.attribute,f=void 0===h?W:h,p=t.colorSchemeNode,m=void 0===p?"document.documentElement":p;return(0,$.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function() { try {\n var mode = localStorage.getItem('".concat(c,"');\n var colorScheme = '';\n if (mode === 'system' || (!mode && !!").concat(r,")) {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('").concat(d,"-dark') || '").concat(s,"';\n } else {\n colorScheme = localStorage.getItem('").concat(d,"-light') || '").concat(i,"';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('").concat(d,"-light') || '").concat(i,"';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('").concat(d,"-dark') || '").concat(s,"';\n }\n if (colorScheme) {\n ").concat(m,".setAttribute('").concat(f,"', colorScheme);\n }\n } catch (e) {} })();")}})}function H(e){if("undefined"!==typeof window&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function U(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}function V(e,t){if("undefined"!==typeof window){var n;try{n=localStorage.getItem(e)||void 0}catch(r){}return n||t}}function G(e){var t=e.defaultMode,n=void 0===t?"light":t,r=e.defaultLightColorScheme,i=e.defaultDarkColorScheme,a=e.supportedColorSchemes,s=void 0===a?[]:a,l=e.modeStorageKey,c=void 0===l?F:l,u=e.colorSchemeStorageKey,d=void 0===u?z:u,h=e.storageWindow,f=void 0===h?"undefined"===typeof window?void 0:window:h,p=s.join(","),m=O.useState((function(){var e=V(c,n);return{mode:e,systemMode:H(e),lightColorScheme:V("".concat(d,"-light"))||r,darkColorScheme:V("".concat(d,"-dark"))||i}})),g=(0,M.Z)(m,2),v=g[0],y=g[1],b=function(e){return U(e,(function(t){return"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0}))}(v),w=O.useCallback((function(e){y((function(t){var r=e||n;return e===t.mode?t:("undefined"!==typeof localStorage&&localStorage.setItem(c,r),(0,o.Z)({},t,{mode:r,systemMode:H(r)}))}))}),[c,n]),_=O.useCallback((function(e){e&&"string"!==typeof e?e.light&&!p.includes(e.light)||e.dark&&!p.includes(e.dark)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):(y((function(t){var n=(0,o.Z)({},t);return(e.light||null===e.light)&&(n.lightColorScheme=null===e.light?r:e.light),(e.dark||null===e.dark)&&(n.darkColorScheme=null===e.dark?i:e.dark),n})),e.light&&localStorage.setItem("".concat(d,"-light"),e.light),e.dark&&localStorage.setItem("".concat(d,"-dark"),e.dark)):e&&!p.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):y((function(t){var n=(0,o.Z)({},t);return e?(U(t,(function(t){localStorage.setItem("".concat(d,"-").concat(t),e),"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n):(n.lightColorScheme=r,n.darkColorScheme=i,n)}))}),[p,d,r,i]),S=O.useCallback((function(e){"system"===v.mode&&y((function(t){return(0,o.Z)({},t,{systemMode:e.matches?"dark":"light"})}))}),[v.mode]),x=O.useRef(S);return x.current=S,O.useEffect((function(){var e=function(){return x.current.apply(x,arguments)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),function(){return t.removeListener(e)}}),[]),O.useEffect((function(){v.mode&&localStorage.setItem(c,v.mode),U(v,(function(e){"light"===e&&localStorage.setItem("".concat(d,"-light"),v.lightColorScheme),"dark"===e&&localStorage.setItem("".concat(d,"-dark"),v.darkColorScheme)}))}),[v,d,c]),O.useEffect((function(){var e=function(e){var t=e.newValue;"string"!==typeof e.key||!e.key.startsWith(d)||t&&!p.match(t)||(e.key.endsWith("light")&&_({light:t}),e.key.endsWith("dark")&&_({dark:t})),e.key!==c||t&&!["light","dark","system"].includes(t)||w(t||n)};if(f)return f.addEventListener("storage",e),function(){return f.removeEventListener("storage",e)}}),[_,w,c,d,p,n,f]),(0,o.Z)({},v,{colorScheme:b,setMode:w,setColorScheme:_})}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";function t(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},s=a.colorSchemes,l=void 0===s?{}:s,c=(0,i.Z)(a,Y),u=(0,m.Z)((0,o.Z)({},c,l.light&&{palette:null==(e=l.light)?void 0:e.palette})),d=u.palette,h=(0,i.Z)(u,J),p=(0,m.Z)({palette:(0,o.Z)({mode:"dark"},null==(t=l.dark)?void 0:t.palette)}),v=p.palette,y=(0,o.Z)({},h,{colorSchemes:(0,o.Z)({},l,{light:(0,o.Z)({},l.light,{palette:d,opacity:(0,o.Z)({placeholder:.42,inputTouchBottomLine:.42},null==(n=l.light)?void 0:n.opacity)}),dark:(0,o.Z)({},l.dark,{palette:v,opacity:(0,o.Z)({placeholder:.5,inputTouchBottomLine:.7},null==(r=l.dark)?void 0:r.opacity)})})});Object.keys(y.colorSchemes).forEach((function(e){var t=y.colorSchemes[e].palette;"dark"===e?(t.common.background=t.common.background||"#000",t.common.onBackground=t.common.onBackground||"#fff"):(t.common.background=t.common.background||"#fff",t.common.onBackground=t.common.onBackground||"#000"),t.common.backgroundChannel=(0,f.n8)(t.common.background),t.common.onBackgroundChannel=(0,f.n8)(t.common.onBackground),t.dividerChannel=(0,f.n8)(t.divider),t.grey.dark||(t.grey.dark=t.grey[700]),Object.keys(t).forEach((function(e){var n=t[e];n.main&&(t[e].mainChannel=(0,f.n8)(n.main)),n.light&&(t[e].lightChannel=(0,f.n8)(n.light)),n.dark&&(t[e].darkChannel=(0,f.n8)(n.dark)),n.contrastText&&(t[e].contrastTextChannel=(0,f.n8)(n.contrastText)),n.primary&&(t[e].primaryChannel=(0,f.n8)(n.primary)),n.secondary&&(t[e].secondaryChannel=(0,f.n8)(n.secondary))}))}));for(var b=arguments.length,w=new Array(b>1?b-1:0),_=1;_0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?S:t,l=e.rootShouldForwardProp,c=void 0===l?_:l,u=e.slotShouldForwardProp,d=void 0===u?_:u,h=e.styleFunctionSx,x=void 0===h?f.Z:h;return function(e){var t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=l.name,h=l.slot,f=l.skipVariantsResolver,S=l.skipSx,C=l.overridesResolver,k=(0,a.Z)(l,p),Z=void 0!==f?f:h&&"Root"!==h||!1,E=S||!1;var R=_;"Root"===h?R=c:h&&(R=d);var T=(0,s.ZP)(e,(0,i.Z)({shouldForwardProp:R,label:t},k)),A=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),l=1;l0){var f=new Array(h).fill("");(d=[].concat((0,r.Z)(e),(0,r.Z)(f))).raw=[].concat((0,r.Z)(e.raw),(0,r.Z)(f))}else"function"===typeof e&&e.__emotion_real!==e&&(d=function(t){var r=t.theme,o=(0,a.Z)(t,g);return e((0,i.Z)({theme:v(r)?n:r},o))});var p=T.apply(void 0,[d].concat((0,r.Z)(c)));return p};return T.withConfig&&(A.withConfig=T.withConfig),A}}({defaultTheme:x.Z,rootShouldForwardProp:C}),E=Z},3967:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(2791);var r=n(418),o=n(6482);function i(){return(0,r.Z)(o.Z)}},1402:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6083),o=n(6482);function i(e){var t=e.props,n=e.name;return(0,r.Z)({props:t,name:n,defaultTheme:o.Z})}},4999:function(e,t,n){"use strict";n.d(t,{C:function(){return o},n:function(){return r}});var r=function(e){return e.scrollTop};function o(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:s.transitionDelay}}},4036:function(e,t,n){"use strict";var r=n(7312);t.Z=r.Z},1260:function(e,t,n){"use strict";var r=n(8949);t.Z=r.Z},4223:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(7462),o=n(2791),i=n(558),a=n(184);function s(e,t){var n=function(n,o){return(0,a.jsx)(i.Z,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))};return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},3199:function(e,t,n){"use strict";var r=n(3981);t.Z=r.Z},8610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return h},setRef:function(){return f},unstable_ClassNameGenerator:function(){return _},unstable_useEnhancedEffect:function(){return p.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return g},useControlled:function(){return v.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return w.Z}});var r=n(3854),o=n(4036),i=n(1260),a=n(4223),s=n(3199);var l=function(e,t){return function(){return null}},c=n(9103),u=n(8301),d=n(7602);n(7462);var h=function(e,t){return function(){return null}},f=n(2971).Z,p=n(162),m=n(7384);var g=function(e,t,n,r,o){return null},v=n(8278),y=n(9683),b=n(2071),w=n(8221),_={configure:function(e){console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),r.Z.configure(e)}}},9103:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2791);var o=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},8301:function(e,t,n){"use strict";var r=n(9723);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(7979);t.Z=r.Z},8278:function(e,t,n){"use strict";var r=n(8959);t.Z=r.Z},162:function(e,t,n){"use strict";var r=n(5721);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(8956);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(7563);t.Z=r.Z},7384:function(e,t,n){"use strict";var r=n(6248);t.Z=r.Z},8221:function(e,t,n){"use strict";var r=n(5372);t.Z=r.Z},3854:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},2039:function(e,t,n){"use strict";function r(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},9818:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3854),o={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return o[t]||"".concat(r.Z.generate(e),"-").concat(t)}},2152:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818);function o(e,t){var n={};return t.forEach((function(t){n[t]=(0,r.Z)(e,t)})),n}},919:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},8023:function(e,t,n){"use strict";var r=n(2791).createContext(null);t.Z=r},9598:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(8023);function i(){return r.useContext(o.Z)}},1500:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(2791);var r=n(2554),o=n(184);function i(e){var t=e.styles,n=e.defaultTheme,i=void 0===n?{}:n,a="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?i:e);var n}:t;return(0,o.jsx)(r.xB,{styles:a})}},1640:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});n(2791);var r=n(1688),o=n(76),i=n(184),a=(0,o.Z)({key:"css",prepend:!0});function s(e){var t=e.injectFirst,n=e.children;return t?(0,i.jsx)(r.C,{value:a,children:n}):n}},594:function(e,t,n){"use strict";n.d(t,{ZP:function(){return _}});var r=n(2791),o=n.t(r,2),i=n(7462),a=n(3782),s=/^((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|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)-.*))$/,l=(0,a.Z)((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),c=n(1688),u=n(5438),d=n(1346),h=l,f=function(e){return"theme"!==e},p=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?h:f},m=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},g=o.useInsertionEffect?o.useInsertionEffect:function(e){e()};var v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,u.hC)(t,n,r);!function(e){g(e)}((function(){return(0,u.My)(t,n,r)}));return null},y=function e(t,n){var o,a,s=t.__emotion_real===t,l=s&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var h=m(t,n,s),f=h||p(l),g=!f("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var w=y.length,_=1;_<+~=|^:(),"'`\s])/g,S="undefined"!==typeof CSS&&CSS.escape,x=function(e){return S?S(e):e.replace(_,"\\$1")},C=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),k=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l((0,h.Z)((0,h.Z)(o)),s),o.selectorText="."+x(o.id)),o}(0,d.Z)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=v(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return w(this.selectorText,this.style,n)},(0,u.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(C),Z={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new k(e,t,n)}},E={indent:1,children:!0},R=/@([\w-]+)/,T=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var o=e.match(R);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=E);var t=y(e).linebreak;if(null==e.indent&&(e.indent=E.indent),null==e.children&&(e.children=E.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),A=/@media|@supports\s+/,P={onCreateRule:function(e,t,n){return A.test(e)?new T(e,t,n):null}},M={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,L=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=e.match(O);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:x(s(this,a)),this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,r.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=M);var t=y(e).linebreak;if(null==e.indent&&(e.indent=M.indent),null==e.children&&(e.children=M.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),I=/@keyframes\s+/,D=/\$([\w-]+)/g,N=function(e,t){return"string"===typeof e?e.replace(D,(function(e,n){return n in t?t[n]:e})):e},j=function(e,t,n){var r=e[t],o=N(r,n);o!==r&&(e[t]=o)},$={onCreateRule:function(e,t,n){return"string"===typeof e&&I.test(e)?new L(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&j(e,"animation-name",n.keyframes),"animation"in e&&j(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return N(e,r.keyframes);default:return e}}},F=function(e){function t(){return e.apply(this,arguments)||this}return(0,d.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return w(this.key,this.style,n)},t}(C),z={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new F(e,t,n):null}},W=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=y(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,o.Z)(t,["attached"]),i=y(r).linebreak,a="",s=0;s0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=fe(),n=0;nn?n:t},ye=function(){function e(e){this.getPropertyValue=ce,this.setProperty=ue,this.removeProperty=de,this.setSelector=he,this.hasInsertedRules=!1,this.cssRules=[],e&&re.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=me();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=pe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else fe().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}var ke={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Ze=ke,Ee=n(9598),Re=n(919),Te=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ae=Date.now(),Pe="fnValues"+Ae,Me="fnStyle"+ ++Ae,Oe=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=m(e,{},n);return r[Me]=t,r},onProcessStyle:function(e,t){if(Pe in t||Me in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[Pe]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Me];i&&(o.style=i(e)||{});var a=o[Pe];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},Le="@global",Ie="@global ",De=function(){function e(e,t,n){for(var o in this.type="global",this.at=Le,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Q((0,r.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Ne=function(){function e(e,t,n){this.type="global",this.at=Le,this.isProcessed=!1,this.key=e,this.options=n;var o=e.substr(Ie.length);this.rule=n.jss.createRule(o,t,(0,r.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),je=/\s*,\s*/g;function $e(e,t){for(var n=e.split(je),r="",o=0;o-1){var o=Ft[e];if(!Array.isArray(o))return pt+Ct(o)in t&&mt+o;if(!r)return!1;for(var i=0;it?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,c=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Te.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Re.Z]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}(),cn={disableGeneration:!1,generateClassName:ln,jss:sn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},un=i.createContext(cn);var dn=-1e9;function hn(){return dn+=1}var fn=n(2466),pn=n(7312),mn=["variant"];function gn(e){return 0===e.length}function vn(e){var t="function"===typeof e;return{create:function(n,i){var a;try{a=t?e(n):e}catch(u){throw u}if(!i||!n.components||!n.components[i]||!n.components[i].styleOverrides&&!n.components[i].variants)return a;var s=n.components[i].styleOverrides||{},l=n.components[i].variants||[],c=(0,r.Z)({},a);return Object.keys(s).forEach((function(e){c[e]=(0,fn.Z)(c[e]||{},s[e])})),l.forEach((function(e){var t=function(e){var t=e.variant,n=(0,o.Z)(e,mn),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?gn(r)?e[t]:(0,pn.Z)(e[t]):"".concat(gn(r)?t:(0,pn.Z)(t)).concat((0,pn.Z)(e[t].toString()))})),r}(e.props);c[t]=(0,fn.Z)(c[t]||{},e.style)})),c},options:{}}}var yn={},bn=["name","classNamePrefix","Component","defaultTheme"];function wn(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=Ce({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function _n(e,t){var n=e.state,o=e.theme,i=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!i.disableGeneration){var l=Ze.get(i.sheetsManager,a,o);l||(l={refs:0,staticSheet:null,dynamicStyles:null},Ze.set(i.sheetsManager,a,o,l));var c=(0,r.Z)({},a.options,i,{theme:o,flip:"boolean"===typeof i.flip?i.flip:"rtl"===o.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=i.sheetsRegistry;if(0===l.refs){var d;i.sheetsCache&&(d=Ze.get(i.sheetsCache,a,o));var h=a.create(o,s);d||((d=i.jss.createStyleSheet(h,(0,r.Z)({link:!1},c))).attach(),i.sheetsCache&&Ze.set(i.sheetsCache,a,o,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=xe(h)}if(l.dynamicStyles){var f=i.jss.createStyleSheet(l.dynamicStyles,(0,r.Z)({link:!0},c));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=Ce({baseClasses:l.staticSheet.classes,newClasses:f.classes}),u&&u.add(f)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Sn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function xn(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Ze.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Ze.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function Cn(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,s=t.Component,l=t.defaultTheme,c=void 0===l?yn:l,u=(0,o.Z)(t,bn),d=vn(e),h=n||a||"makeStyles";d.options={index:hn(),name:n,meta:h,classNamePrefix:h};var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,Ee.Z)()||c,o=(0,r.Z)({},i.useContext(un),u),a=i.useRef(),l=i.useRef();Cn((function(){var r={name:n,state:{},stylesCreator:d,stylesOptions:o,theme:t};return _n(r,e),l.current=!1,a.current=r,function(){xn(r)}}),[t,d]),i.useEffect((function(){l.current&&Sn(a.current,e),l.current=!0}));var h=wn(a.current,e.classes,s);return h};return f}function Zn(e){var t=e.theme,n=e.name,o=e.props;if(!t||!t.components||!t.components[n]||!t.components[n].defaultProps)return o;var i,a=(0,r.Z)({},o),s=t.components[n].defaultProps;for(i in s)void 0===a[i]&&(a[i]=s[i]);return a}var En=["defaultTheme","withTheme","name"],Rn=["classes"],Tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,l=t.withTheme,c=void 0!==l&&l,u=t.name,d=(0,o.Z)(t,En);var h=u,f=kn(e,(0,r.Z)({defaultTheme:a,Component:n,name:u||n.displayName,classNamePrefix:h},d)),p=i.forwardRef((function(e,t){var i,s=(0,o.Z)(e,Rn),l=f((0,r.Z)({},n.defaultProps,e)),d=s;return("string"===typeof u||c)&&(i=(0,Ee.Z)()||a,u&&(d=Zn({theme:i,name:u,props:s})),c&&!d.theme&&(d.theme=i)),(0,an.jsx)(n,(0,r.Z)({ref:t,classes:l},d))}));return s()(p,n),p}}},821:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(2791),o=n(7462),i=n(8023),a=n(9598),s=n(919),l=n(184);var c=function(e){var t=e.children,n=e.theme,c=(0,a.Z)(),u=r.useMemo((function(){var e=null===c?n:function(e,t){return"function"===typeof t?t(e):(0,o.Z)({},e,t)}(c,n);return null!=e&&(e[s.Z]=null!==c),e}),[n,c]);return(0,l.jsx)(i.Z.Provider,{value:u,children:t})},u=n(1688),d=n(418);function h(e){var t=(0,d.Z)();return(0,l.jsx)(u.T.Provider,{value:"object"===typeof t?t:{},children:e.children})}var f=function(e){var t=e.children,n=e.theme;return(0,l.jsx)(c,{theme:n,children:(0,l.jsx)(h,{children:t})})}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return l},VO:function(){return r},W8:function(){return a},k9:function(){return i}});var r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function i(e,t,n){var i=e.theme||{};if(Array.isArray(t)){var a=i.breakpoints||o;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var s=i.breakpoints||o;return Object.keys(t).reduce((function(e,o){if(-1!==Object.keys(s.values||r).indexOf(o)){e[s.up(o)]=n(t[o],o)}else{var i=o;e[i]=t[i]}return e}),{})}return n(t)}function a(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==t||null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function l(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,s=e.substring(t+1,e.length-1);if("color"===n){if(o=(s=s.split(" ")).shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else s=s.split(",");return{type:n,values:s=s.map((function(e){return parseFloat(e)})),colorSpace:o}}var s=function(e){var t=a(e);return t.values.slice(0,3).map((function(e,n){return-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e})).join(" ")};function l(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function c(e){if(0===e.indexOf("#"))return e;var t=a(e).values;return"#".concat(t.map((function(e,t){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(3===t?Math.round(255*e):e)})).join(""))}function u(e){var t=(e=a(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function d(e){var t="hsl"===(e=a(e)).type?a(u(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function h(e,t){var n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=a(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,l(e)}function p(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function m(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return d(e)>.5?p(e,t):m(e,t)}},9572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(4942),o=n(3366),i=n(7462),a=["values","unit","step"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,s=e.unit,l=void 0===s?"px":s,c=e.step,u=void 0===c?5:c,d=(0,o.Z)(e,a),h=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,i.Z)({},e,(0,r.Z)({},t.key,t.val))}),{})}(n),f=Object.keys(h);function p(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(l,")")}function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-u/100).concat(l,")")}function g(e,t){var r=f.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(l,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[f[r]]?n[f[r]]:t)-u/100).concat(l,")")}return(0,i.Z)({keys:f,values:h,up:p,down:m,between:g,only:function(e){return f.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,r.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,u=e.palette,d=void 0===u?{}:u,h=e.spacing,f=e.shape,p=void 0===f?{}:f,m=(0,o.Z)(e,c),g=(0,a.Z)(n),v=(0,l.Z)(h),y=(0,i.Z)({breakpoints:g,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},d),spacing:v,shape:(0,r.Z)({},s,p)},m),b=arguments.length,w=new Array(b>1?b-1:0),_=1;_2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=s[o],u=l[i]||"";return Array.isArray(u)?u.map((function(e){return a+e})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[].concat(d,h);function p(e,t,n,r){var o,a=null!=(o=(0,i.D)(e,t))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function m(e){return p(e,"spacing",8)}function g(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function v(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=g(t,n),e}),{})}}(u(n),r),a=e[n];return(0,o.k9)(e,a,i)}function y(e,t){var n=m(e.theme);return Object.keys(e).map((function(r){return v(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,d)}function w(e){return y(e,h)}function _(e){return y(e,f)}b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=h,_.propTypes={},_.filterProps=f;var S=_},8529:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(4942),o=n(7312),i=n(1184);function a(e,t){if(!t||"string"!==typeof t)return null;if(e&&e.vars){var n="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=n)return n}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function s(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r)),r}t.Z=function(e){var t=e.prop,n=e.cssProperty,l=void 0===n?e.prop:n,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,c)||{};return(0,i.k9)(e,n,(function(e){var n=s(d,u,e);return e===n&&"string"===typeof e&&(n=s(d,u,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===l?n:(0,r.Z)({},l,n)}))};return d.propTypes={},d.filterProps=[t],d}},8519:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(3433),o=n(7462),i=n(3366),a=n(2466),s=n(6001),l=["sx"];function c(e){var t,n=e.sx,c=function(e){var t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((function(n){s.Gc[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t}((0,i.Z)(e,l)),u=c.systemProps,d=c.otherProps;return t=Array.isArray(n)?[u].concat((0,r.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,a.P)(e)?(0,o.Z)({},u,e):u}:(0,o.Z)({},u,n),(0,o.Z)({},d,{sx:t})}},104:function(e,t,n){"use strict";var r=n(4942),o=n(8247),i=n(6001),a=n(1184);function s(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:i.G$,t=Object.keys(e).reduce((function(t,n){return e[n].filterProps.forEach((function(r){t[r]=e[n]})),t}),{});function n(e,n,o){var i,a=(i={},(0,r.Z)(i,e,n),(0,r.Z)(i,"theme",o),i),s=t[e];return s?s(a):(0,r.Z)({},e,n)}function c(e){var i=e||{},u=i.sx,d=i.theme,h=void 0===d?{}:d;if(!u)return null;function f(e){var i=e;if("function"===typeof e)i=e(h);else if("object"!==typeof e)return e;if(!i)return null;var u=(0,a.W8)(h.breakpoints),d=Object.keys(u),f=u;return Object.keys(i).forEach((function(e){var u=l(i[e],h);if(null!==u&&void 0!==u)if("object"===typeof u)if(t[e])f=(0,o.Z)(f,n(e,u,h));else{var d=(0,a.k9)({theme:h},u,(function(t){return(0,r.Z)({},e,t)}));s(d,u)?f[e]=c({sx:u,theme:h}):f=(0,o.Z)(f,d)}else f=(0,o.Z)(f,n(e,u,h))})),(0,a.L7)(d,f)}return Array.isArray(u)?u.map(f):f(u)}return c}();c.filterProps=["sx"],t.Z=c},418:function(e,t,n){"use strict";var r=n(2173),o=n(9120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},3073:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5735);function o(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},6083:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3073),o=n(418);function i(e){var t=e.props,n=e.name,i=e.defaultTheme,a=(0,o.Z)(i);return(0,r.Z)({theme:a,name:n,props:t})}},9120:function(e,t,n){"use strict";var r=n(9598);function o(e){return 0===Object.keys(e).length}t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,r.Z)();return!t||o(t)?e:t}},7312:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6189);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors((0,a.fl)(m(),this._eventProcessors),e,t)},e.prototype.setSDKProcessingMetadata=function(e){return this._sdkProcessingMetadata=(0,a.pi)((0,a.pi)({},this._sdkProcessingMetadata),e),this},e.prototype._notifyEventProcessors=function(e,t,n,r){var o=this;return void 0===r&&(r=0),new h((function(i,s){var c=e[r];if(null===t||"function"!==typeof c)i(t);else{var u=c((0,a.pi)({},t),n);(0,l.J8)(u)?u.then((function(t){return o._notifyEventProcessors(e,t,n,r+1).then(i)})).then(null,s):o._notifyEventProcessors(e,u,n,r+1).then(i).then(null,s)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function m(){return(0,f.Y)("globalEventProcessors",(function(){return[]}))}function g(e){m().push(e)}var v=n(6870),y=n(6017),b=n(9509),w="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,_=n(5256),S=function(){function e(e){this.errors=0,this.sid=(0,v.DM)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var t=(0,c.ph)();this.timestamp=t,this.started=t,e&&this.update(e)}return e.prototype.update=function(e){if(void 0===e&&(e={}),e.user&&(!this.ipAddress&&e.user.ip_address&&(this.ipAddress=e.user.ip_address),this.did||e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||(0,c.ph)(),e.ignoreDuration&&(this.ignoreDuration=e.ignoreDuration),e.sid&&(this.sid=32===e.sid.length?e.sid:(0,v.DM)()),void 0!==e.init&&(this.init=e.init),!this.did&&e.did&&(this.did=""+e.did),"number"===typeof e.started&&(this.started=e.started),this.ignoreDuration)this.duration=void 0;else if("number"===typeof e.duration)this.duration=e.duration;else{var t=this.timestamp-this.started;this.duration=t>=0?t:0}e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),!this.ipAddress&&e.ipAddress&&(this.ipAddress=e.ipAddress),!this.userAgent&&e.userAgent&&(this.userAgent=e.userAgent),"number"===typeof e.errors&&(this.errors=e.errors),e.status&&(this.status=e.status)},e.prototype.close=function(e){e?this.update({status:e}):"ok"===this.status?this.update({status:"exited"}):this.update()},e.prototype.toJSON=function(){return(0,_.Jr)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"===typeof this.did||"string"===typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},e}(),x=function(){function e(e,t,n){void 0===t&&(t=new p),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=t,e&&this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version1&&(d=f.slice(0,-1).join("/"),h=f.pop()),h){var p=h.match(/^\d+/);p&&(h=p[0])}return Y({host:l,pass:s,path:d,projectId:h,port:u,protocol:r,publicKey:o})}(e):Y(e);return function(e){if(G.h){var t=e.port,n=e.projectId,r=e.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(t){if(!e[t])throw new V("Invalid Sentry Dsn: "+t+" missing")})),!n.match(/^\d+$/))throw new V("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(e){return"http"===e||"https"===e}(r))throw new V("Invalid Sentry Dsn: Invalid protocol "+r);if(t&&isNaN(parseInt(t,10)))throw new V("Invalid Sentry Dsn: Invalid port "+t)}}(t),t}var X=n(3849),Q=n(7050),ee="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,te=[];function ne(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}function re(e){var t={};return function(e){var t=e.defaultIntegrations&&(0,a.fl)(e.defaultIntegrations)||[],n=e.integrations,r=(0,a.fl)(ne(t));Array.isArray(n)?r=(0,a.fl)(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))})),ne(n)):"function"===typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(e){return e.name})),i="Debug";return-1!==o.indexOf(i)&&r.push.apply(r,(0,a.fl)(r.splice(o.indexOf(i),1))),r}(e).forEach((function(e){t[e.name]=e,function(e){-1===te.indexOf(e.name)&&(e.setupOnce(g,Z),te.push(e.name),ee&&y.kg.log("Integration installed: "+e.name))}(e)})),(0,_.xp)(t,"initialized",!0),t}var oe="Not capturing exception because it's already been captured.",ie=function(){function e(e,t){this._integrations={},this._numProcessing=0,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=J(t.dsn))}return e.prototype.captureException=function(e,t,n){var r=this;if(!(0,v.YO)(e)){var o=t&&t.event_id;return this._process(this._getBackend().eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){o=e}))),o}ee&&y.kg.log(oe)},e.prototype.captureMessage=function(e,t,n,r){var o=this,i=n&&n.event_id,a=(0,l.pt)(e)?this._getBackend().eventFromMessage(String(e),t,n):this._getBackend().eventFromException(e,n);return this._process(a.then((function(e){return o._captureEvent(e,n,r)})).then((function(e){i=e}))),i},e.prototype.captureEvent=function(e,t,n){if(!(t&&t.originalException&&(0,v.YO)(t.originalException))){var r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){r=e}))),r}ee&&y.kg.log(oe)},e.prototype.captureSession=function(e){this._isEnabled()?"string"!==typeof e.release?ee&&y.kg.warn("Discarded session because of missing or non-string release"):(this._sendSession(e),e.update({init:!1})):ee&&y.kg.warn("SDK not enabled, will not capture session.")},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.getTransport=function(){return this._getBackend().getTransport()},e.prototype.flush=function(e){var t=this;return this._isClientDoneProcessing(e).then((function(n){return t.getTransport().close(e).then((function(e){return n&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=re(this._options))},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return ee&&y.kg.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._updateSessionFromEvent=function(e,t){var n,r,o=!1,i=!1,s=t.exception&&t.exception.values;if(s){i=!0;try{for(var l=(0,a.XA)(s),c=l.next();!c.done;c=l.next()){var u=c.value.mechanism;if(u&&!1===u.handled){o=!0;break}}}catch(h){n={error:h}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}var d="ok"===e.status;(d&&0===e.errors||d&&o)&&(e.update((0,a.pi)((0,a.pi)({},o&&{status:"crashed"}),{errors:e.errors||Number(i||o)})),this.captureSession(e))},e.prototype._sendSession=function(e){this._getBackend().sendSession(e)},e.prototype._isClientDoneProcessing=function(e){var t=this;return new h((function(n){var r=0,o=setInterval((function(){0==t._numProcessing?(clearInterval(o),n(!0)):(r+=1,e&&r>=e&&(clearInterval(o),n(!1)))}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,n){var r=this,o=this.getOptions(),i=o.normalizeDepth,s=void 0===i?3:i,l=o.normalizeMaxBreadth,d=void 0===l?1e3:l,h=(0,a.pi)((0,a.pi)({},e),{event_id:e.event_id||(n&&n.event_id?n.event_id:(0,v.DM)()),timestamp:e.timestamp||(0,c.yW)()});this._applyClientOptions(h),this._applyIntegrationsMetadata(h);var f=t;n&&n.captureContext&&(f=p.clone(f).update(n.captureContext));var m=u(h);return f&&(m=f.applyToEvent(h,n)),m.then((function(e){return e&&(e.sdkProcessingMetadata=(0,a.pi)((0,a.pi)({},e.sdkProcessingMetadata),{normalizeDepth:(0,X.Fv)(s)+" ("+typeof s+")"})),"number"===typeof s&&s>0?r._normalizeEvent(e,s,d):e}))},e.prototype._normalizeEvent=function(e,t,n){if(!e)return null;var r=(0,a.pi)((0,a.pi)((0,a.pi)((0,a.pi)((0,a.pi)({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return(0,a.pi)((0,a.pi)({},e),e.data&&{data:(0,X.Fv)(e.data,t,n)})}))}),e.user&&{user:(0,X.Fv)(e.user,t,n)}),e.contexts&&{contexts:(0,X.Fv)(e.contexts,t,n)}),e.extra&&{extra:(0,X.Fv)(e.extra,t,n)});return e.contexts&&e.contexts.trace&&(r.contexts.trace=e.contexts.trace),r.sdkProcessingMetadata=(0,a.pi)((0,a.pi)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},e.prototype._applyClientOptions=function(e){var t=this.getOptions(),n=t.environment,r=t.release,o=t.dist,i=t.maxValueLength,a=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=(0,Q.$G)(e.message,a));var s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,Q.$G)(s.value,a));var l=e.request;l&&l.url&&(l.url=(0,Q.$G)(l.url,a))},e.prototype._applyIntegrationsMetadata=function(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=(0,a.fl)(e.sdk.integrations||[],t))},e.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},e.prototype._captureEvent=function(e,t,n){return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){ee&&y.kg.error(e)}))},e.prototype._processEvent=function(e,t,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate,s=this.getTransport();function c(e,t){s.recordLostEvent&&s.recordLostEvent(e,t)}if(!this._isEnabled())return d(new V("SDK not enabled, will not capture event."));var u="transaction"===e.type;return!u&&"number"===typeof a&&Math.random()>a?(c("sample_rate","event"),d(new V("Discarding event because it's not included in the random sample (sampling rate = "+a+")"))):this._prepareEvent(e,n,t).then((function(n){if(null===n)throw c("event_processor",e.type||"event"),new V("An event processor returned null, will not send event.");return t&&t.data&&!0===t.data.__sentry__||u||!i?n:function(e){var t="`beforeSend` method has to return `null` or a valid event.";if((0,l.J8)(e))return e.then((function(e){if(!(0,l.PO)(e)&&null!==e)throw new V(t);return e}),(function(e){throw new V("beforeSend rejected with "+e)}));if(!(0,l.PO)(e)&&null!==e)throw new V(t);return e}(i(n,t))})).then((function(t){if(null===t)throw c("before_send",e.type||"event"),new V("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession&&n.getSession();return!u&&o&&r._updateSessionFromEvent(o,t),r._sendEvent(t),t})).then(null,(function(e){if(e instanceof V)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new V("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+e)}))},e.prototype._process=function(e){var t=this;this._numProcessing+=1,e.then((function(e){return t._numProcessing-=1,e}),(function(e){return t._numProcessing-=1,e}))},e}();!function(){function e(e,t,n){void 0===t&&(t={}),this.dsn=e,this._dsnObject=J(e),this.metadata=t,this._tunnel=n}e.prototype.getDsn=function(){return this._dsnObject},e.prototype.forceEnvelope=function(){return!!this._tunnel},e.prototype.getBaseApiEndpoint=function(){return se(this._dsnObject)},e.prototype.getStoreEndpoint=function(){return ue(this._dsnObject)},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return de(this._dsnObject)},e.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return he(this._dsnObject,this._tunnel)}}();function ae(e,t,n){return{initDsn:e,metadata:t||{},dsn:J(e),tunnel:n}}function se(e){var t=e.protocol?e.protocol+":":"",n=e.port?":"+e.port:"";return t+"//"+e.host+n+(e.path?"/"+e.path:"")+"/api/"}function le(e,t){return""+se(e)+e.projectId+"/"+t+"/"}function ce(e){return(0,_._j)({sentry_key:e.publicKey,sentry_version:"7"})}function ue(e){return le(e,"store")}function de(e){return ue(e)+"?"+ce(e)}function he(e,t){return t||function(e){return le(e,"envelope")}(e)+"?"+ce(e)}function fe(e,t){return void 0===t&&(t=[]),[e,t]}function pe(e){var t=(0,a.CR)(e,2),n=t[0],r=t[1],o=JSON.stringify(n);return r.reduce((function(e,t){var n=(0,a.CR)(t,2),r=n[0],o=n[1],i=(0,l.pt)(o)?String(o):JSON.stringify(o);return e+"\n"+JSON.stringify(r)+"\n"+i}),o)}function me(e){if(e.metadata&&e.metadata.sdk){var t=e.metadata.sdk;return{name:t.name,version:t.version}}}function ge(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=(0,a.fl)(e.sdk.integrations||[],t.integrations||[]),e.sdk.packages=(0,a.fl)(e.sdk.packages||[],t.packages||[]),e):e}function ve(e,t){var n=me(t),r="aggregates"in e?"sessions":"session";return[fe((0,a.pi)((0,a.pi)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!t.tunnel&&{dsn:K(t.dsn)}),[[{type:r},e]]),r]}var ye=function(){function e(){}return e.prototype.sendEvent=function(e){return u({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},e.prototype.close=function(e){return u(!0)},e}(),be=function(){function e(e){this._options=e,this._options.dsn||ee&&y.kg.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype.eventFromException=function(e,t){throw new V("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,n){throw new V("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var t=function(e,t){var n=me(t),r=e.type||"event",o=(e.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return ge(e,t.metadata.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata,fe((0,a.pi)((0,a.pi)({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!t.tunnel&&{dsn:K(t.dsn)}),[[{type:r,sample_rates:[{id:i,rate:s}]},e]])}(e,ae(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(t).then(null,(function(e){ee&&y.kg.error("Error while sending event:",e)}))}else this._transport.sendEvent(e).then(null,(function(e){ee&&y.kg.error("Error while sending event:",e)}))},e.prototype.sendSession=function(e){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var t=ae(this._options.dsn,this._options._metadata,this._options.tunnel),n=(0,a.CR)(ve(e,t),1)[0];this._newTransport.send(n).then(null,(function(e){ee&&y.kg.error("Error while sending session:",e)}))}else this._transport.sendSession(e).then(null,(function(e){ee&&y.kg.error("Error while sending session:",e)}));else ee&&y.kg.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.getTransport=function(){return this._transport},e.prototype._setupTransport=function(){return new ye},e}(),we=n(4678),_e=n(8578),Se="?";function xe(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var Ce=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ke=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ze=[30,function(e){var t=Ce.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=ke.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=(0,a.CR)(De(t[1]||Se,t[2]),2),o=r[0];return xe(r[1],o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Ee=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Re=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Te=[50,function(e){var t,n=Ee.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Re.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var o=n[3],i=n[1]||Se;return i=(t=(0,a.CR)(De(i,o),2))[0],xe(o=t[1],i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],Ae=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Pe=[40,function(e){var t=Ae.exec(e);return t?xe(t[2],t[1]||Se,+t[3],t[4]?+t[4]:void 0):void 0}],Me=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Oe=[10,function(e){var t=Me.exec(e);return t?xe(t[2],t[3]||Se,+t[1]):void 0}],Le=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Ie=[20,function(e){var t=Le.exec(e);return t?xe(t[5],t[3]||t[4]||Se,+t[1],+t[2]):void 0}],De=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Se,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]};function Ne(e){var t=$e(e),n={type:e&&e.name,value:ze(e)};return t.length&&(n.stacktrace={frames:t}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function je(e){return{exception:{values:[Ne(e)]}}}function $e(e){var t=e.stacktrace||e.stack||"",n=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(Fe.test(e.message))return 1}return 0}(e);try{return(0,_e.pE)(Oe,Ie,Ze,Pe,Te)(t,n)}catch(r){}return[]}var Fe=/Minified React error #\d+;/i;function ze(e){var t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function We(e,t,n){var r=He(e,t&&t.syntheticException||void 0,n);return(0,v.EG)(r),r.level=s.z.Error,t&&t.event_id&&(r.event_id=t.event_id),u(r)}function Be(e,t,n,r){void 0===t&&(t=s.z.Info);var o=Ue(e,n&&n.syntheticException||void 0,r);return o.level=t,n&&n.event_id&&(o.event_id=n.event_id),u(o)}function He(e,t,n,r){var o;if((0,l.VW)(e)&&e.error)return je(e.error);if((0,l.TX)(e)||(0,l.fm)(e)){var i=e;if("stack"in e)o=je(e);else{var s=i.name||((0,l.TX)(i)?"DOMError":"DOMException"),c=i.message?s+": "+i.message:s;o=Ue(c,t,n),(0,v.Db)(o,c)}return"code"in i&&(o.tags=(0,a.pi)((0,a.pi)({},o.tags),{"DOMException.code":""+i.code})),o}return(0,l.VZ)(e)?je(e):(0,l.PO)(e)||(0,l.cO)(e)?(o=function(e,t,n){var r={exception:{values:[{type:(0,l.cO)(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,_.zf)(e)}]},extra:{__serialized__:(0,X.Qy)(e)}};if(t){var o=$e(t);o.length&&(r.stacktrace={frames:o})}return r}(e,t,r),(0,v.EG)(o,{synthetic:!0}),o):(o=Ue(e,t,n),(0,v.Db)(o,""+e,void 0),(0,v.EG)(o,{synthetic:!0}),o)}function Ue(e,t,n){var r={message:e};if(n&&t){var o=$e(t);o.length&&(r.stacktrace={frames:o})}return r}function Ve(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length0&&n(!1)}),e);t.forEach((function(e){u(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function Ge(e,t){return e[t]||e.all||0}function qe(e,t,n){return void 0===n&&(n=Date.now()),Ge(e,t)>n}function Ke(e,t,n){var r,o,i,s;void 0===n&&(n=Date.now());var l=(0,a.pi)({},e),c=t["x-sentry-rate-limits"],u=t["retry-after"];if(c)try{for(var d=(0,a.XA)(c.trim().split(",")),h=d.next();!h.done;h=d.next()){var f=h.value.split(":",2),p=parseInt(f[0],10),m=1e3*(isNaN(p)?60:p);if(f[1])try{for(var g=(i=void 0,(0,a.XA)(f[1].split(";"))),v=g.next();!v.done;v=g.next()){l[v.value]=n+m}}catch(y){i={error:y}}finally{try{v&&!v.done&&(s=g.return)&&s.call(g)}finally{if(i)throw i.error}}else l.all=n+m}}catch(b){r={error:b}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}else u&&(l.all=n+function(e,t){void 0===t&&(t=Date.now());var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?6e4:r-t}(u,n));return l}function Ye(e){return e>=200&&e<300?"success":429===e?"rate_limit":e>=400&&e<500?"invalid":e>=500?"failed":"unknown"}function Je(e,t,n){void 0===n&&(n=Ve(e.bufferSize||30));var r={};return{send:function(e){var o=function(e){var t=(0,a.CR)(e,2),n=(0,a.CR)(t[1],1);return(0,a.CR)(n[0],1)[0].type}(e),i="event"===o?"error":o,s={category:i,body:pe(e)};return qe(r,i)?d({status:"rate_limit",reason:Xe(r,i)}):n.add((function(){return t(s).then((function(e){var t=e.body,n=e.headers,o=e.reason,a=Ye(e.statusCode);return n&&(r=Ke(r,n)),"success"===a?u({status:a,reason:o}):d({status:a,reason:o||t||("rate_limit"===a?Xe(r,i):"Unknown transport error")})}))}))},flush:function(e){return n.drain(e)}}}function Xe(e,t){return"Too many "+t+" requests, backing off until: "+new Date(Ge(e,t)).toISOString()}var Qe,et="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tt=(0,f.R)();function nt(){if(Qe)return Qe;if((0,we.Du)(tt.fetch))return Qe=tt.fetch.bind(tt);var e=tt.document,t=tt.fetch;if(e&&"function"===typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(o){et&&y.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return Qe=t.bind(tt)}function rt(e,t){if("[object Navigator]"===Object.prototype.toString.call(tt&&tt.navigator)&&"function"===typeof tt.navigator.sendBeacon)return tt.navigator.sendBeacon.bind(tt.navigator)(e,t);if((0,we.Ak)()){var n=nt();n(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){console.error(e)}))}else;}function ot(e,t){return void 0===t&&(t=nt()),Je({bufferSize:e.bufferSize},(function(n){var r=(0,a.pi)({body:n.body,method:"POST",referrerPolicy:"origin"},e.requestOptions);return t(e.url,r).then((function(e){return e.text().then((function(t){return{body:t,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")},reason:e.statusText,statusCode:e.status}}))}))}))}function it(e){return"event"===e?"error":e}var at=(0,f.R)(),st=function(){function e(e){var t=this;this.options=e,this._buffer=Ve(30),this._rateLimits={},this._outcomes={},this._api=ae(e.dsn,e._metadata,e.tunnel),this.url=de(this._api.dsn),this.options.sendClientReports&&at.document&&at.document.addEventListener("visibilitychange",(function(){"hidden"===at.document.visibilityState&&t._flushOutcomes()}))}return e.prototype.sendEvent=function(e){return this._sendRequest(function(e,t){var n,r=me(t),o=e.type||"event",i="transaction"===o||!!t.tunnel,s=(e.sdkProcessingMetadata||{}).transactionSampling||{},l=s.method,c=s.rate;ge(e,t.metadata.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata;try{n=JSON.stringify(e)}catch(f){e.tags.JSONStringifyError=!0,e.extra.JSONStringifyError=f;try{n=JSON.stringify((0,X.Fv)(e))}catch(p){var u=p;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:u.message,stack:u.stack}})}}var d={body:n,type:o,url:i?he(t.dsn,t.tunnel):de(t.dsn)};if(i){var h=fe((0,a.pi)((0,a.pi)({event_id:e.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!t.tunnel&&{dsn:K(t.dsn)}),[[{type:o,sample_rates:[{id:l,rate:c}]},d.body]]);d.body=pe(h)}return d}(e,this._api),e)},e.prototype.sendSession=function(e){return this._sendRequest(function(e,t){var n=(0,a.CR)(ve(e,t),2),r=n[0],o=n[1];return{body:pe(r),type:o,url:he(t.dsn,t.tunnel)}}(e,this._api),e)},e.prototype.close=function(e){return this._buffer.drain(e)},e.prototype.recordLostEvent=function(e,t){var n;if(this.options.sendClientReports){var r=it(t)+":"+e;et&&y.kg.log("Adding outcome: "+r),this._outcomes[r]=(null!==(n=this._outcomes[r])&&void 0!==n?n:0)+1}},e.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var e=this._outcomes;if(this._outcomes={},Object.keys(e).length){et&&y.kg.log("Flushing outcomes:\n"+JSON.stringify(e,null,2));var t,n,r,o=he(this._api.dsn,this._api.tunnel),i=Object.keys(e).map((function(t){var n=(0,a.CR)(t.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:e[t]}})),s=(t=i,fe((n=this._api.tunnel&&K(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||(0,c.yW)(),discarded_events:t}]]));try{rt(o,pe(s))}catch(l){et&&y.kg.error(l)}}else et&&y.kg.log("No outcomes to flush")}},e.prototype._handleResponse=function(e){var t=e.requestType,n=e.response,r=e.headers,o=e.resolve,i=e.reject,a=Ye(n.status);this._rateLimits=Ke(this._rateLimits,r),this._isRateLimited(t)&&et&&y.kg.warn("Too many "+t+" requests, backing off until: "+this._disabledUntil(t)),"success"!==a?i(n):o({status:a})},e.prototype._disabledUntil=function(e){var t=it(e);return new Date(Ge(this._rateLimits,t))},e.prototype._isRateLimited=function(e){var t=it(e);return qe(this._rateLimits,t)},e}(),lt=function(e){function t(t,n){void 0===n&&(n=nt());var r=e.call(this,t)||this;return r._fetch=n,r}return(0,a.ZT)(t,e),t.prototype._sendRequest=function(e,t){var n=this;if(this._isRateLimited(e.type))return this.recordLostEvent("ratelimit_backoff",e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var r={body:e.body,method:"POST",referrerPolicy:(0,we.hv)()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new h((function(t,o){n._fetch(e.url,r).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:e.type,response:r,headers:i,resolve:t,reject:o})})).catch(o)}))})).then(void 0,(function(t){throw t instanceof V?n.recordLostEvent("queue_overflow",e.type):n.recordLostEvent("network_error",e.type),t}))},t}(st);function ct(e){return Je({bufferSize:e.bufferSize},(function(t){return new h((function(n,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var e={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};n(e)}},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}var ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.ZT)(t,e),t.prototype._sendRequest=function(e,t){var n=this;return this._isRateLimited(e.type)?(this.recordLostEvent("ratelimit_backoff",e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new h((function(t,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:e.type,response:o,headers:i,resolve:t,reject:r})}},o.open("POST",e.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(e.body)}))})).then(void 0,(function(t){throw t instanceof V?n.recordLostEvent("queue_overflow",e.type):n.recordLostEvent("network_error",e.type),t}))},t}(st),dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.ZT)(t,e),t.prototype.eventFromException=function(e,t){return We(e,t,this._options.attachStacktrace)},t.prototype.eventFromMessage=function(e,t,n){return void 0===t&&(t=s.z.Info),Be(e,t,n,this._options.attachStacktrace)},t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t=(0,a.pi)((0,a.pi)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),n=ae(t.dsn,t._metadata,t.tunnel),r=he(n.dsn,n.tunnel);if(this._options.transport)return new this._options.transport(t);if((0,we.Ak)()){var o=(0,a.pi)({},t.fetchParameters);return this._newTransport=ot({requestOptions:o,url:r}),new lt(t)}return this._newTransport=ct({url:r,headers:t.headers}),new ut(t)},t}(be),ht=(0,f.R)(),ft=0;function pt(){return ft>0}function mt(){ft+=1,setTimeout((function(){ft-=1}))}function gt(e,t,n){if(void 0===t&&(t={}),"function"!==typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if((0,_.HK)(e))return e}catch(s){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);var o=r.map((function(e){return gt(e,t)}));return e.apply(this,o)}catch(i){throw mt(),W((function(e){e.addEventProcessor((function(e){return t.mechanism&&((0,v.Db)(e,void 0,void 0),(0,v.EG)(e,t.mechanism)),e.extra=(0,a.pi)((0,a.pi)({},e.extra),{arguments:r}),e})),P(i)})),i}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(l){}(0,_.$Q)(o,e),(0,_.xp)(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return e.name}})}catch(l){}return o}function vt(e){if(void 0===e&&(e={}),ht.document)if(e.eventId)if(e.dsn){var t=ht.document.createElement("script");t.async=!0,t.src=function(e,t){var n=J(e),r=se(n)+"embed/error-page/",o="dsn="+K(n);for(var i in t)if("dsn"!==i)if("user"===i){if(!t.user)continue;t.user.name&&(o+="&name="+encodeURIComponent(t.user.name)),t.user.email&&(o+="&email="+encodeURIComponent(t.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(t[i]);return r+"?"+o}(e.dsn,e),e.onLoad&&(t.onload=e.onLoad);var n=ht.document.head||ht.document.body;n&&n.appendChild(t)}else et&&y.kg.error("Missing dsn option in showReportDialog call");else et&&y.kg.error("Missing eventId option in showReportDialog call")}var yt,bt=(0,f.R)(),wt={},_t={};function St(e){if(!_t[e])switch(_t[e]=!0,e){case"console":!function(){if(!("console"in bt))return;y.RU.forEach((function(e){e in bt.console&&(0,_.hl)(bt.console,e,(function(t){return function(){for(var n=[],r=0;r2?t[2]:void 0;if(r){var o=yt,i=String(r);yt=i,Ct("history",{from:o,to:i})}return e.apply(this,t)}}bt.onpopstate=function(){for(var t=[],n=0;n"}0!==n.length&&Z().addBreadcrumb({category:"ui."+t.name,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this._options.dom)),this._options.xhr&&xt("xhr",Dt),this._options.fetch&&xt("fetch",Nt),this._options.history&&xt("history",jt)},e.id="Breadcrumbs",e}();function It(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,Ot.E)(e.level),message:(0,Q.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+((0,Q.nK)(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}Z().addBreadcrumb(t,{input:e.args,level:e.level})}function Dt(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,o=t.status_code,i=t.body;Z().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}else;}function Nt(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?Z().addBreadcrumb({category:"fetch",data:e.fetchData,level:s.z.Error,type:"http"},{data:e.error,input:e.args}):Z().addBreadcrumb({category:"fetch",data:(0,a.pi)((0,a.pi)({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))}function jt(e){var t=(0,f.R)(),n=e.from,r=e.to,o=(0,v.en)(t.location.href),i=(0,v.en)(n),a=(0,v.en)(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Z().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var $t=function(e){function t(t){void 0===t&&(t={});return t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:H}],version:H},e.call(this,dt,t)||this}return(0,a.ZT)(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),(0,f.R)().document&&(this._isEnabled()?vt((0,a.pi)((0,a.pi)({},e),{dsn:e.dsn||this.getDsn()})):et&&y.kg.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,r){return t.platform=t.platform||"javascript",e.prototype._prepareEvent.call(this,t,n,r)},t.prototype._sendEvent=function(t){var n=this.getIntegration(Lt);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(ie);var Ft,zt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Wt=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n();if(r){var o=r.getIntegration(e);if(o){var i=r.getClient(),s=i?i.getOptions():{},l=function(e,t){void 0===e&&(e={});void 0===t&&(t={});return{allowUrls:(0,a.fl)(e.whitelistUrls||[],e.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:(0,a.fl)(e.blacklistUrls||[],e.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:(0,a.fl)(e.ignoreErrors||[],t.ignoreErrors||[],zt),ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(o._options,s);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return ee&&y.kg.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,v.jH)(e)),!0;if(function(e,t){if(!t||!t.length)return!1;return function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,o=t.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(a){return ee&&y.kg.error("Cannot extract message for event "+(0,v.jH)(e)),[]}return[]}(e).some((function(e){return t.some((function(t){return(0,Q.zC)(e,t)}))}))}(e,t.ignoreErrors))return ee&&y.kg.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,v.jH)(e)),!0;if(function(e,t){if(!t||!t.length)return!1;var n=Ht(e);return!!n&&t.some((function(e){return(0,Q.zC)(n,e)}))}(e,t.denyUrls))return ee&&y.kg.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,v.jH)(e)+".\nUrl: "+Ht(e)),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=Ht(e);return!n||t.some((function(e){return(0,Q.zC)(n,e)}))}(e,t.allowUrls))return ee&&y.kg.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,v.jH)(e)+".\nUrl: "+Ht(e)),!0;return!1}(t,l)?null:t}}return t}))},e.id="InboundFilters",e}();function Bt(e){void 0===e&&(e=[]);for(var t=e.length-1;t>=0;t--){var n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function Ht(e){try{if(e.stacktrace)return Bt(e.stacktrace.frames);var t;try{t=e.exception.values[0].stacktrace.frames}catch(n){}return t?Bt(t):null}catch(r){return ee&&y.kg.error("Cannot extract url for event "+(0,v.jH)(e)),null}}var Ut=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){Ft=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t0?t:(0,Mt.l)();return 0===c.length&&c.push({colno:u,filename:h,function:"?",in_app:!0,lineno:d}),e}function nn(e,t,n,r){(0,v.EG)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function rn(){var e=Z(),t=e.getClient();return[e,t&&t.getOptions().attachStacktrace]}var on=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){g((function(t,n){var r=Z().getIntegration(e);return r?function(e,t,n,r){if(!n.exception||!n.exception.values||!r||!(0,l.V9)(r.originalException,Error))return n;var o=an(t,r.originalException,e);return n.exception.values=(0,a.fl)(o,n.exception.values),n}(r._key,r._limit,t,n):t}))},e.id="LinkedErrors",e}();function an(e,t,n,r){if(void 0===r&&(r=[]),!(0,l.V9)(t[n],Error)||r.length+1>=e)return r;var o=Ne(t[n]);return an(e,t[n],n,(0,a.fl)([o],r))}var sn=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);if(r){try{if(function(e,t){if(!t)return!1;if(function(e,t){var n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!cn(e,t))return!1;if(!ln(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=un(t),r=un(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!cn(e,t))return!1;if(!ln(e,t))return!1;return!0}(e,t))return!0;return!1}(t,r._previousEvent))return et&&y.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(o){return r._previousEvent=t}return r._previousEvent=t}return t}))},e.id="Dedupe",e}();function ln(e,t){var n=dn(e),r=dn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var o=0;o=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var P=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function M(e){var t=P.exec(e);return t?t.slice(1):[]}function O(){for(var e=[],t=0;t=-1&&!r;o--){var i=o>=0?e[o]:"/";i&&(n=i+"/"+n,r="/"===i.charAt(0))}return(r?"/":"")+(n=A(n.split("/").filter((function(e){return!!e})),!r).join("/"))||"."}function L(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function I(e,t){var n=M(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}var D=function(){function e(t){var n=this;void 0===t&&(t={}),this.name=e.id,this._prefix="app:///",this._iteratee=function(e){if(!e.filename)return e;var t=/^[A-Z]:\\/.test(e.filename),r=/^\//.test(e.filename);if(t||r){var o=t?e.filename.replace(/^[A-Z]:/,"").replace(/\\/g,"/"):e.filename,i=n._root?function(e,t){e=O(e).substr(1),t=O(t).substr(1);for(var n=L(e.split("/")),r=L(t.split("/")),o=Math.min(n.length,r.length),i=o,a=0;a=0;n--){var r=t[n];if(!0===r.in_app){e.transaction=this._getTransaction(r);break}}return e},e.prototype._getFramesFromEvent=function(e){var t=e.exception&&e.exception.values&&e.exception.values[0];return t&&t.stacktrace&&t.stacktrace.frames||[]},e.prototype._getTransaction=function(e){return e.module||e.function?(e.module||"?")+"/"+(e.function||"?"):""},e.id="Transaction",e}(),$=n(9846),F={id:"Tracing"},z={id:"BrowserTracing"},W="ui.vue",B={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]},H=/(?:^|[-_/])(\w)/g,U="root",V="anonymous component",G=function(){function e(t){var n=this;this.name=e.id,this._componentsCache={},this._applyTracingHooks=function(e,t){if(!e.$options.$_sentryPerfHook){e.$options.$_sentryPerfHook=!0;var i=n._getComponentName(e),s=i===U,l={},c=function(r){var o=(0,$._I)();n._rootSpan?n._finishRootSpan(o,t):e.$once("hook:"+r,(function(){var e=t().getIntegration(F);if(e){n._tracingActivity=e.constructor.pushActivity("Vue Application Render");var r=e.constructor.getTransaction();r&&(n._rootSpan=r.startChild({description:"Application Render",op:W}))}else{var o=function(e){if(e&&e.getScope){var t=e.getScope();if(t)return t.getTransaction()}return}(t());o&&(n._rootSpan=o.startChild({description:"Application Render",op:W}))}}))},u=function(r,o){var a=Array.isArray(n._options.tracingOptions.trackComponents)?n._options.tracingOptions.trackComponents.indexOf(i)>-1:n._options.tracingOptions.trackComponents;if(n._rootSpan&&a){var s=(0,$._I)(),c=l[o];c?(c.finish(),n._finishRootSpan(s,t)):e.$once("hook:"+r,(function(){n._rootSpan&&(l[o]=n._rootSpan.startChild({description:"Vue <"+i+">",op:"ui.vue."+o}))}))}};n._options.tracingOptions.hooks.forEach((function(t){var i=B[t];i?i.forEach((function(o){var i=s?c.bind(n,o):u.bind(n,o,t),a=e.$options[o];Array.isArray(a)?e.$options[o]=(0,r.fl)([i],a):e.$options[o]="function"===typeof a?[i,a]:[i]})):a&&o.kg.warn("Unknown hook: "+t)}))}},a&&o.kg.log("You are still using the Vue.js integration, consider moving to @sentry/vue"),this._options=(0,r.pi)((0,r.pi)({Vue:(0,i.R)().Vue,attachProps:!0,logErrors:!1,tracing:!1},t),{tracingOptions:(0,r.pi)({hooks:["mount","update"],timeout:2e3,trackComponents:!1},t.tracingOptions)})}return e.prototype.setupOnce=function(e,t){this._options.Vue?(this._attachErrorHandler(t),this._options.tracing&&this._startTracing(t)):a&&o.kg.error("Vue integration is missing a Vue instance")},e.prototype._getComponentName=function(e){if(!e)return V;if(e.$root===e)return U;if(!e.$options)return V;if(e.$options.name)return e.$options.name;if(e.$options._componentTag)return e.$options._componentTag;if(e.$options.__file){var t=I(e.$options.__file.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),".vue");return this._componentsCache[t]||(this._componentsCache[t]=t.replace(H,(function(e,t){return t?t.toUpperCase():""})))}return V},e.prototype._finishRootSpan=function(e,t){var n=this;this._rootSpanTimer&&clearTimeout(this._rootSpanTimer),this._rootSpanTimer=setTimeout((function(){if(n._tracingActivity){var r=t().getIntegration(F);r&&r.constructor.popActivity(n._tracingActivity)}n._rootSpan&&n._rootSpan.finish(e)}),this._options.tracingOptions.timeout)},e.prototype._startTracing=function(e){var t=this._applyTracingHooks;this._options.Vue.mixin({beforeCreate:function(){e().getIntegration(F)||e().getIntegration(z)?t(this,e):a&&o.kg.error("Vue integration has tracing enabled, but Tracing integration is not configured")}})},e.prototype._attachErrorHandler=function(t){var n=this,r=this._options.Vue.config.errorHandler;this._options.Vue.config.errorHandler=function(i,s,l){var c={};if(s)try{c.componentName=n._getComponentName(s),n._options.attachProps&&(c.propsData=s.$options.propsData)}catch(u){a&&o.kg.warn("Unable to extract metadata from Vue component.")}l&&(c.lifecycleHook=l),t().getIntegration(e)&&setTimeout((function(){t().withScope((function(e){e.setContext("vue",c),t().captureException(i)}))})),"function"===typeof r&&r.call(n._options.Vue,i,s,l),n._options.logErrors&&(n._options.Vue.util&&n._options.Vue.util.warn("Error in "+l+': "'+(i&&i.toString())+'"',s),console.error(i))}},e.id="Vue",e}()},1121:function(e,t,n){"use strict";var r;n.d(t,{z:function(){return r}}),function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(r||(r={}))},4044:function(e,t,n){"use strict";n.d(t,{R:function(){return i},l:function(){return s}});var r=n(2968),o=n(8805);function i(e,t){try{for(var n=e,r=[],o=0,i=0,s=" > ".length,l=void 0;n&&o++<5&&!("html"===(l=a(n,t))||o>1&&i+r.length*s+l.length>=80);)r.push(l),i+=l.length,n=n.parentNode;return r.reverse().join(" > ")}catch(c){return""}}function a(e,t){var n,r,i,a,s,l=e,c=[];if(!l||!l.tagName)return"";c.push(l.tagName.toLowerCase());var u=t&&t.length?t.filter((function(e){return l.getAttribute(e)})).map((function(e){return[e,l.getAttribute(e)]})):null;if(u&&u.length)u.forEach((function(e){c.push("["+e[0]+'="'+e[1]+'"]')}));else if(l.id&&c.push("#"+l.id),(n=l.className)&&(0,o.HD)(n))for(r=n.split(/\s+/),s=0;s":n||""}function u(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function d(e,t){var n=l(e);if(n){var o=n.mechanism;if(n.mechanism=(0,r.pi)((0,r.pi)((0,r.pi)({},{type:"generic",handled:!0}),o),t),t&&"data"in t){var i=(0,r.pi)((0,r.pi)({},o&&o.data),t.data);n.mechanism.data=i}}}function h(e){if(e&&e.__sentry_captured__)return!0;try{(0,i.xp)(e,"__sentry_captured__",!0)}catch(t){}return!1}},9509:function(e,t,n){"use strict";function r(){return!("undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function o(e,t){return e.require(t)}n.d(t,{l$:function(){return o},KV:function(){return r}}),e=n.hmd(e)},3849:function(e,t,n){"use strict";n.d(t,{Fv:function(){return s},Qy:function(){return l}});var r=n(9388),o=n(8805);var i=n(5256),a=n(8578);function s(e,t,n){void 0===t&&(t=1/0),void 0===n&&(n=1/0);try{return c("",e,t,n)}catch(r){return{ERROR:"**non-serializable** ("+r+")"}}}function l(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r,o=s(e,t);return r=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?l(e,t-1,n):o}function c(e,t,s,l,u){void 0===s&&(s=1/0),void 0===l&&(l=1/0),void 0===u&&(u=function(){var e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(var r=0;r=l){g[b]="[MaxProperties ~]";break}var w=y[b];g[b]=c(b,w,s-1,l,u),v+=1}return f(t),g}},5256:function(e,t,n){"use strict";n.d(t,{$Q:function(){return c},HK:function(){return u},Jr:function(){return g},Sh:function(){return h},_j:function(){return d},hl:function(){return s},xp:function(){return l},zf:function(){return m}});var r=n(9388),o=n(4044),i=n(8805),a=n(7050);function s(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"===typeof o)try{c(o,r)}catch(i){}e[t]=o}}function l(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function c(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}function u(e){return e.__sentry_original__}function d(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function h(e){var t=e;if((0,i.VZ)(e))t=(0,r.pi)({message:e.message,name:e.name,stack:e.stack},p(e));else if((0,i.cO)(e)){var n=e;t=(0,r.pi)({type:n.type,target:f(n.target),currentTarget:f(n.currentTarget)},p(n)),"undefined"!==typeof CustomEvent&&(0,i.V9)(e,CustomEvent)&&(t.detail=n.detail)}return t}function f(e){try{return(0,i.kK)(e)?(0,o.R)(e):Object.prototype.toString.call(e)}catch(t){return""}}function p(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function m(e,t){void 0===t&&(t=40);var n=Object.keys(h(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.$G)(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:(0,a.$G)(o,t)}return""}function g(e){var t,n;if((0,i.PO)(e)){var o={};try{for(var a=(0,r.XA)(Object.keys(e)),s=a.next();!s.done;s=a.next()){var l=s.value;"undefined"!==typeof e[l]&&(o[l]=g(e[l]))}}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o}return Array.isArray(e)?e.map(g):e}},3724:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(1121),o=["fatal","error","warning","log","info","debug","critical"];function i(e){return"warn"===e?r.z.Warning:function(e){return-1!==o.indexOf(e)}(e)?e:r.z.Log}},8578:function(e,t,n){"use strict";n.d(t,{$P:function(){return s},pE:function(){return o}});var r=n(9388);function o(){for(var e=[],t=0;t=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=i.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,t.isEdge=parseFloat(i.split(" Edge/")[1])||void 0,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isAndroid=i.indexOf("Android")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var r,o=e("./useragent");t.buildDom=function e(t,n,r){if("string"==typeof t&&t){var o=document.createTextNode(t);return n&&n.appendChild(o),o}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var i=[],a=0;a=1.5,o.isChromeOS&&(t.HI_DPI=!1),"undefined"!==typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),o.isEdge||"undefined"===typeof l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./oop"),o=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return r.mixin(n,n.MODIFIER_KEYS),r.mixin(n,n.PRINTABLE_KEYS),r.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter((function(e){return t&n.KEY_MODS[e]})).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();r.mixin(t,o),t.keyCodeToString=function(e){var t=o[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var r,o=e("./keys"),i=e("./useragent"),a=null,s=0;function l(){return void 0==r&&function(){r=!1;try{document.createComment("").addEventListener("test",(function(){}),{get passive(){r={passive:!1}}})}catch(e){}}(),r}function c(e,t,n){this.elem=e,this.type=t,this.callback=n}c.prototype.destroy=function(){d(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var u=t.addListener=function(e,t,n,r){e.addEventListener(t,n,l()),r&&r.$toDestroy.push(new c(e,t,n))},d=t.removeListener=function(e,t,n){e.removeEventListener(t,n,l())};t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation&&e.stopPropagation()},t.preventDefault=function(e){e.preventDefault&&e.preventDefault()},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||i.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.button},t.capture=function(e,t,n){var r=e&&e.ownerDocument||document;function o(e){t&&t(e),n&&n(e),d(r,"mousemove",t),d(r,"mouseup",o),d(r,"dragstart",o)}return u(r,"mousemove",t),u(r,"mouseup",o),u(r,"dragstart",o),o},t.addMouseWheelListener=function(e,t,n){"onmousewheel"in e?u(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),t(e)}),n):"onwheel"in e?u(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}t(e)}),n):u(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),t(e)}),n)},t.addMultiMouseDownListener=function(e,n,r,o,a){var s,l,c,d=0,h={2:"dblclick",3:"tripleclick",4:"quadclick"};function f(e){if(0!==t.getButton(e)?d=0:e.detail>1?++d>4&&(d=1):d=1,i.isIE){var a=Math.abs(e.clientX-s)>5||Math.abs(e.clientY-l)>5;c&&!a||(d=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[d-1]||600),1==d&&(s=e.clientX,l=e.clientY)}if(e._clicks=d,r[o]("mousedown",e),d>4)d=0;else if(d>1)return r[o](h[d],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",f,a)}))};var h=function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function f(e,t,n){var r=h(t);if(!i.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(r|=8),a.altGr){if(3==(3&r))return;a.altGr=0}if(18===n||17===n){var l="location"in t?t.location:t.keyLocation;if(17===n&&1===l)1==a[n]&&(s=t.timeStamp);else if(18===n&&3===r&&2===l){t.timeStamp-s<50&&(a.altGr=!0)}}}if((n in o.MODIFIER_KEYS&&(n=-1),!r&&13===n)&&(3===(l="location"in t?t.location:t.keyLocation)&&(e(t,r,-n),t.defaultPrevented)))return;if(i.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,r,n)}function p(){a=Object.create(null)}if(t.getModifierString=function(e){return o.KEY_MODS[h(e)]},t.addCommandKeyListener=function(e,n,r){if(i.isOldGecko||i.isOpera&&!("KeyboardEvent"in window)){var o=null;u(e,"keydown",(function(e){o=e.keyCode}),r),u(e,"keypress",(function(e){return f(n,e,o)}),r)}else{var s=null;u(e,"keydown",(function(e){a[e.keyCode]=(a[e.keyCode]||0)+1;var t=f(n,e,e.keyCode);return s=e.defaultPrevented,t}),r),u(e,"keypress",(function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)}),r),u(e,"keyup",(function(e){a[e.keyCode]=null}),r),a||(p(),u(window,"focus",p))}},"object"==typeof window&&window.postMessage&&!i.isOldIE){var m=1;t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-"+m++;u(n,"message",(function o(i){i.data==r&&(t.stopPropagation(i),d(n,"message",o),e())})),n.postMessage(r,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/range",["require","exports","module"],(function(e,t,n){"use strict";var r=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.rowt)var o={row:t+1,column:0};else if(this.start.row0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var r=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;nDate.now()-50)||(r=!1)},cancel:function(){r=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,n){"use strict";var r=e("../lib/event"),o=e("../lib/useragent"),i=e("../lib/dom"),a=e("../lib/lang"),s=e("../clipboard"),l=o.isChrome<18,c=o.isIE,u=o.isChrome>63,d=400,h=e("../lib/keys"),f=h.KEY_MODS,p=o.isIOS,m=p?/\s/:/\n/,g=o.isMobile;t.TextInput=function(e,t){var n=i.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var v=!1,y=!1,b=!1,w=!1,_="";g||(n.style.fontSize="1px");var S=!1,x=!1,C="",k=0,Z=0,E=0;try{var R=document.activeElement===n}catch(V){}r.addListener(n,"blur",(function(e){x||(t.onBlur(e),R=!1)}),t),r.addListener(n,"focus",(function(e){if(!x){if(R=!0,o.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),o.isEdge?setTimeout(T):T()}}),t),this.$focusScroll=!1,this.focus=function(){if(_||u||"browser"==this.$focusScroll)return n.focus({preventScroll:!0});var e=n.style.top;n.style.position="fixed",n.style.top="0px";try{var t=0!=n.getBoundingClientRect().top}catch(V){return}var r=[];if(t)for(var o=n.parentElement;o&&1==o.nodeType;)r.push(o),o.setAttribute("ace_nocontext",!0),o=!o.parentElement&&o.getRootNode?o.getRootNode().host:o.parentElement;n.focus({preventScroll:!0}),t&&r.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return R},t.on("beforeEndOperation",(function(){var e=t.curOp,r=e&&e.command&&e.command.name;if("insertstring"!=r){var o=r&&(e.docChanged||e.selectionChanged);b&&o&&(C=n.value="",F()),T()}}));var T=p?function(e){if(R&&(!v||e)&&!w){e||(e="");var r="\n ab"+e+"cde fg\n";r!=n.value&&(n.value=C=r);var o=4+(e.length||(t.selection.isEmpty()?0:1));4==k&&Z==o||n.setSelectionRange(4,o),k=4,Z=o}}:function(){if(!b&&!w&&(R||P)){b=!0;var e=0,r=0,o="";if(t.session){var i=t.selection,a=i.getRange(),s=i.cursor.row;if(e=a.start.column,r=a.end.column,o=t.session.getLine(s),a.start.row!=s){var l=t.session.getLine(s-1);e=a.start.rows+1?c.length:r,r+=o.length+1,o=o+"\n"+c}else g&&s>0&&(o="\n"+o,r+=1,e+=1);o.length>d&&(e0&&C[h]==e[h];)h++,s--;for(c=c.slice(h),h=1;l>0&&C.length-h>k-1&&C[C.length-h]==e[e.length-h];)h++,l--;u-=h-1,d-=h-1;var f=c.length-h+1;if(f<0&&(s=-f,f=0),c=c.slice(0,f),!r&&!c&&!u&&!s&&!l&&!d)return"";w=!0;var p=!1;return o.isAndroid&&". "==c&&(c=" ",p=!0),c&&!s&&!l&&!u&&!d||S?t.onTextInput(c):t.onTextInput(c,{extendLeft:s,extendRight:l,restoreStart:u,restoreEnd:d}),w=!1,C=e,k=i,Z=a,E=d,p?"\n":c},O=function(e){if(b)return $();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var r=n.value,o=M(r,!0);(r.length>500||m.test(o)||g&&k<1&&k==Z)&&T()},L=function e(t,n,r){var o=t.clipboardData||window.clipboardData;if(o&&!l){var i=c||r?"Text":"text/plain";try{return n?!1!==o.setData(i,n):o.getData(i)}catch(t){if(!r)return e(t,n,!0)}}},I=function(e,o){var i=t.getCopyText();if(!i)return r.preventDefault(e);L(e,i)?(p&&(T(i),v=i,setTimeout((function(){v=!1}),10)),o?t.onCut():t.onCopy(),r.preventDefault(e)):(v=!0,n.value=i,n.select(),setTimeout((function(){v=!1,T(),o?t.onCut():t.onCopy()})))},D=function(e){I(e,!0)},N=function(e){I(e,!1)},j=function(e){var i=L(e);s.pasteCancelled()||("string"==typeof i?(i&&t.onPaste(i,e),o.isIE&&setTimeout(T),r.preventDefault(e)):(n.value="",y=!0))};r.addCommandKeyListener(n,t.onCommandKey.bind(t),t),r.addListener(n,"select",(function(e){b||(v?v=!1:!function(e){return 0===e.selectionStart&&e.selectionEnd>=C.length&&e.value===C&&C&&e.selectionEnd!==Z}(n)?g&&n.selectionStart!=k&&T():(t.selectAll(),T()))}),t),r.addListener(n,"input",O,t),r.addListener(n,"cut",D,t),r.addListener(n,"copy",N,t),r.addListener(n,"paste",j,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.addListener(e,"keydown",(function(e){if((!o.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:N(e);break;case 86:j(e);break;case 88:D(e)}}),t);var $=function(){if(b&&t.onCompositionUpdate&&!t.$readOnly){if(S)return z();if(b.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;M(e),b.markerRange&&(b.context&&(b.markerRange.start.column=b.selectionStart=b.context.compositionStartOffset),b.markerRange.end.column=b.markerRange.start.column+Z-b.selectionStart+E)}}},F=function(e){t.onCompositionEnd&&!t.$readOnly&&(b=!1,t.onCompositionEnd(),t.off("mousedown",z),e&&O())};function z(){x=!0,n.blur(),n.focus(),x=!1}var W,B=a.delayedCall($,50).schedule.bind(null,null);function H(){clearTimeout(W),W=setTimeout((function(){_&&(n.style.cssText=_,_=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}r.addListener(n,"compositionstart",(function(e){if(!b&&t.onCompositionStart&&!t.$readOnly&&(b={},!S)){e.data&&(b.useTextareaForIME=!1),setTimeout($,0),t._signal("compositionStart"),t.on("mousedown",z);var r=t.getSelectionRange();r.end.row=r.start.row,r.end.column=r.start.column,b.markerRange=r,b.selectionStart=k,t.onCompositionStart(b),b.useTextareaForIME?(C=n.value="",k=0,Z=0):(n.msGetInputContext&&(b.context=n.msGetInputContext()),n.getInputContext&&(b.context=n.getInputContext()))}}),t),r.addListener(n,"compositionupdate",$,t),r.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthZ&&"\n"==C[i]?a=h.end:rZ&&C.slice(0,i).split("\n").length>2?a=h.down:i>Z&&" "==C[i-1]?(a=h.right,s=f.option):(i>Z||i==Z&&Z!=k&&r==i)&&(a=h.right),r!==i&&(s|=f.shift),a){if(!t.onCommandKey({},s,a)&&t.commands){a=h.keyCodeToString(a);var l=t.commands.findKeyCommand(s,a);l&&t.execCommand(l)}k=r,Z=i,T("")}}};document.addEventListener("selectionchange",i),t.on("destroy",(function(){document.removeEventListener("selectionchange",i)}))}(0,t,n)},t.$setUserAgentForTests=function(e,t){g=e,p=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/useragent");function o(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function i(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else var n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var o=this.editor,i=e.getButton();return 0!==i?((o.getSelectionRange().isEmpty()||1==i)&&o.selection.moveToPosition(n),void(2==i&&(o.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||o.isFocused()||(o.focus(),!this.$focusTimeout||this.$clickSelection||o.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"))},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var o=i(this.$clickSelection,n);n=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),o=n.selection[e](r.row,r.column);if(this.$clickSelection){var a=this.$clickSelection.comparePoint(o.start),s=this.$clickSelection.comparePoint(o.end);if(-1==a&&s<=0)t=this.$clickSelection.end,o.end.row==r.row&&o.end.column==r.column||(r=o.start);else if(1==s&&a>=0)t=this.$clickSelection.start,o.start.row==r.row&&o.start.column==r.column||(r=o.end);else if(-1==a&&1==s)r=o.end,t=o.start;else{var l=i(this.$clickSelection,r);r=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,n,r,o=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,r=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))),i=Date.now();(o>0||i-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,r=e.domEvent.timeStamp,o=r-n.t,i=o?e.wheelX/o:n.vx,a=o?e.wheelY/o:n.vy;o<550&&(i=(i+n.vx)/2,a=(a+n.vy)/2);var s=Math.abs(i/a),l=!1;if(s>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),s<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l)n.allowed=r;else if(r-n.allowed<550){Math.abs(i)<=1.5*Math.abs(n.vx)&&Math.abs(a)<=1.5*Math.abs(n.vy)?(l=!0,n.allowed=r):n.allowed=0}return n.t=r,n.vx=i,n.vy=a,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}}}).call(o.prototype),t.DefaultHandlers=o})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function o(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){this.getElement().textContent=e},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(o.prototype),t.Tooltip=o})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,n){"use strict";var r=e("../lib/dom"),o=e("../lib/oop"),i=e("../lib/event"),a=e("../tooltip").Tooltip;function s(e){a.call(this,e)}o.inherits(s,a),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),i=this.getHeight();(e+=15)+o>n&&(e-=e+o-n),(t+=15)+i>r&&(t-=20+i),a.prototype.setPosition.call(this,e,t)}}.call(s.prototype),t.GutterHandler=function(e){var t,n,o,a=e.editor,l=a.renderer.$gutterLayer,c=new s(a.container);function u(){t&&(t=clearTimeout(t)),o&&(c.hide(),o=null,a._signal("hideGutterTooltip",c),a.off("mousewheel",u))}function d(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(a.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var n=t.getDocumentPosition().row,r=a.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(i){var s=i.domEvent.target||i.domEvent.srcElement;if(r.hasCssClass(s,"ace_fold-widget"))return u();o&&e.$tooltipFollowsMouse&&d(i),n=i,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,r=l.$annotations[t];if(!r)return u();if(t==a.session.getLength()){var i=a.renderer.pixelToScreenCoordinates(0,n.y).row,s=n.$pos;if(i>a.session.documentToScreenRow(s.row,s.column))return u()}if(o!=r)if(o=r.text.join("
"),c.setHtml(o),c.show(),a._signal("showGutterTooltip",c),a.on("mousewheel",u),e.$tooltipFollowsMouse)d(n);else{var h=n.domEvent.target.getBoundingClientRect(),f=c.getElement().style;f.left=h.right+"px",f.top=h.bottom+"px"}}():u()}),50))})),i.addListener(a.renderer.$gutter,"mouseout",(function(e){n=null,o&&!t&&(t=setTimeout((function(){t=null,u()}),50))}),a),a.on("changeSession",u)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/event"),o=e("../lib/useragent"),i=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=o.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(i.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/dom"),o=e("../lib/event"),i=e("../lib/useragent");function a(e){var t=e.editor,n=r.createElement("div");n.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",n.textContent="\xa0";["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.on("mousedown",this.onMouseDown.bind(e));var a,l,c,u,d,h,f,p,m,g,v,y=t.container,b=0;function w(){var e=h;(function(e,n){var r=Date.now(),o=!n||e.row!=n.row,i=!n||e.column!=n.column;!g||o||i?(t.moveCursorToPosition(e),g=r,v={x:l,y:c}):s(v.x,v.y,l,c)>5?g=null:r-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(h=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var r=Date.now(),o=t.renderer.layerConfig.lineHeight,i=t.renderer.layerConfig.characterWidth,a=t.renderer.scroller.getBoundingClientRect(),s={x:{left:l-a.left,right:a.right-l},y:{top:c-a.top,bottom:a.bottom-c}},u=Math.min(s.x.left,s.x.right),d=Math.min(s.y.top,s.y.bottom),h={row:e.row,column:e.column};u/i<=2&&(h.column+=s.x.left=200&&t.renderer.scrollCursorIntoView(h):m=r:m=null}(h,e)}function _(){d=t.selection.toOrientedRange(),a=t.session.addMarker(d,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),b=0,o.addListener(document,"mousemove",C)}function S(){clearInterval(u),t.session.removeMarker(a),a=null,t.selection.fromOrientedRange(d),t.isFocused()&&!p&&t.$resetCursorStyle(),d=null,h=null,b=0,m=null,g=null,o.removeListener(document,"mousemove",C)}this.onDragStart=function(e){if(this.cancelDrag||!y.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(e)}),0),e.preventDefault()}d=t.getSelectionRange();var o=e.dataTransfer;o.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),o.setDragImage&&o.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),o.clearData(),o.setData("Text",t.session.getTextRange()),p=!0,this.setState("drag")},this.onDragEnd=function(e){if(y.draggable=!1,p=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;f||"move"!=n||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&k(e.dataTransfer))return l=e.clientX,c=e.clientY,a||_(),b++,e.dataTransfer.dropEffect=f=Z(e),o.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&k(e.dataTransfer))return l=e.clientX,c=e.clientY,a||(_(),b++),null!==x&&(x=null),e.dataTransfer.dropEffect=f=Z(e),o.preventDefault(e)},this.onDragLeave=function(e){if(--b<=0&&a)return S(),f=null,o.preventDefault(e)},this.onDrop=function(e){if(h){var n=e.dataTransfer;if(p)switch(f){case"move":d=d.contains(h.row,h.column)?{start:h,end:h}:t.moveText(d,h);break;case"copy":d=t.moveText(d,h,!0)}else{var r=n.getData("Text");d={start:h,end:t.session.insert(h,r)},t.focus(),f=null}return S(),o.preventDefault(e)}},o.addListener(y,"dragstart",this.onDragStart.bind(e),t),o.addListener(y,"dragend",this.onDragEnd.bind(e),t),o.addListener(y,"dragenter",this.onDragEnter.bind(e),t),o.addListener(y,"dragover",this.onDragOver.bind(e),t),o.addListener(y,"dragleave",this.onDragLeave.bind(e),t),o.addListener(y,"drop",this.onDrop.bind(e),t);var x=null;function C(){null==x&&(x=setTimeout((function(){null!=x&&a&&S()}),20))}function k(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function Z(e){var t=["copy","copymove","all","uninitialized"],n=i.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return n&&t.indexOf(r)>=0?o="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?o="move":t.indexOf(r)>=0&&(o="copy"),o}}function s(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=i.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;i.isIE&&"dragReady"==this.state&&(s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop());"dragWait"===this.state&&(s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition())))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in o&&(o.unselectable="on"),t.getDragDelay()){if(i.isWebKit)this.cancelDrag=!0,t.container.draggable=!0;this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(a.prototype),t.DragdropHandler=a})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./mouse_event").MouseEvent,o=e("../lib/event"),i=e("../lib/dom");t.addTouchListeners=function(e,t){var n,a,s,l,c,u,d,h,f,p="scroll",m=0,g=0,v=0,y=0;function b(){var e=window.navigator&&window.navigator.clipboard,n=!1,r=function(r){var o=r.target.getAttribute("action");if("more"==o||!n)return n=!n,function(){var r=t.getCopyText(),o=t.session.getUndoManager().hasUndo();f.replaceChild(i.buildDom(n?["span",!r&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],r&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],r&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],o&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Pallete"]]:["span"]),f.firstChild)}();"paste"==o?e.readText().then((function(e){t.execCommand(o,e)})):o&&("cut"!=o&&"copy"!=o||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(o)),f.firstChild.style.display="none",n=!1,"openCommandPallete"!=o&&t.focus()};f=i.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){p="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),r(e)},onclick:r},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function w(){f||b();var e=t.selection.cursor,n=t.renderer.textToScreenCoordinates(e.row,e.column),r=t.renderer.textToScreenCoordinates(0,0).pageX,o=t.renderer.scrollLeft,i=t.container.getBoundingClientRect();f.style.top=n.pageY-i.top-3+"px",n.pageX-i.left1)return clearTimeout(c),c=null,s=-1,void(p="zoom");h=t.$mouseHandler.isMousePressed=!0;var i=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,f=e.timeStamp;l=f;var b=o[0],w=b.clientX,_=b.clientY;Math.abs(n-w)+Math.abs(a-_)>i&&(s=-1),n=e.clientX=w,a=e.clientY=_,v=y=0;var x=new r(e,t);if(d=x.getDocumentPosition(),f-s<500&&1==o.length&&!m)g++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(d);var e=g>=2?t.selection.getLineRange(d.row):t.session.getBracketRange(d);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),p="wait"}();else{g=0;var C=t.selection.cursor,k=t.selection.isEmpty()?C:t.selection.anchor,Z=t.renderer.$cursorLayer.getPixelPosition(C,!0),E=t.renderer.$cursorLayer.getPixelPosition(k,!0),R=t.renderer.scroller.getBoundingClientRect(),T=t.renderer.layerConfig.offset,A=t.renderer.scrollLeft,P=function(e,t){return(e/=u)*e+(t=t/i-.75)*t};if(e.clientXO?"cursor":"anchor"),p=O<3.5?"anchor":M<3.5?"cursor":"scroll",c=setTimeout(S,450)}s=f}),t),o.addListener(e,"touchend",(function(e){h=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==p?(p="",m=0):c?(t.selection.moveToPosition(d),m=0,w()):"scroll"==p?(m+=60,u=setInterval((function(){m--<=0&&(clearInterval(u),u=null),Math.abs(v)<.01&&(v=0),Math.abs(y)<.01&&(y=0),m<20&&(v*=.9),m<20&&(y*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*v,10*y),e==t.session.getScrollTop()&&(m=0)}),10),_()):w(),clearTimeout(c),c=null}),t),o.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var o=e.touches;if(!(o.length>1||"zoom"==p)){var i=o[0],s=n-i.clientX,u=a-i.clientY;if("wait"==p){if(!(s*s+u*u>4))return e.preventDefault();p="cursor"}n=i.clientX,a=i.clientY,e.clientX=i.clientX,e.clientY=i.clientY;var d=e.timeStamp,h=d-l;if(l=d,"scroll"==p){var f=new r(e,t);f.speed=1,f.wheelX=s,f.wheelY=u,10*Math.abs(s)1&&(o=n[n.length-2]);var a=c[t+"Path"];return null==a?a=c.basePath:"/"==r&&(t=r=""),a&&"/"!=a.slice(-1)&&(a+="/"),a+t+r+o+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var o,a;Array.isArray(n)&&(a=n[0],n=n[1]);try{o=e(n)}catch(l){}if(o&&!t.$loading[n])return r&&r(o);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var s=function(){e([n],(function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return s();i.loadScript(t.moduleUrl(n,a),s),u()}};var u=function(){c.basePath||c.workerPath||c.modePath||c.themePath||Object.keys(c.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),u=function(){})};function d(o){if(l&&l.document){c.packaged=o||e.packaged||r.packaged||l.define&&n.amdD.packaged;for(var i,a={},s="",u=document.currentScript||document._currentScript,d=(u&&u.ownerDocument||document).getElementsByTagName("script"),h=0;h=e){for(i=d+1;i=e;)i++;for(s=d,l=i-1;s=t.length||2!=(l=n[o-1])&&3!=l||2!=(c=t[o+1])&&3!=c?4:(i&&(c=3),c==l?c:4);case 10:return 2==(l=o>0?n[o-1]:5)&&o+10&&2==n[o-1])return 2;if(i)return 4;for(f=o+1,h=t.length;f=1425&&m<=2303||64286==m;if(l=t[f],g&&(1==l||7==l))return 1}return o<1||5==(l=t[o-1])?4:n[o-1];case 5:return i=!1,a=!0,r;case 6:return s=!0,4;case 13:case 14:case 16:case 17:case 15:i=!1;case d:return 4}}function g(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?0:h[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?u:/[\u06f0-\u06f9]/.test(e)?2:7:32==n&&t<=8287?f[255&t]:254==n&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="\xb7",t.doBidiReorder=function(e,n,u){if(e.length<2)return{};var h=e.split(""),f=new Array(h.length),v=new Array(h.length),y=[];r=u?1:0,function(e,t,n,u){var d=r?c:l,h=null,f=null,p=null,v=0,y=null,b=-1,w=null,_=null,S=[];if(!u)for(w=0,u=[];w0)if(16==y){for(w=b;w<_;w++)t[w]=1;b=-1}else b=-1;if(d[v][6])-1==b&&(b=_);else if(b>-1){for(w=b;w<_;w++)t[w]=p;b=-1}5==u[_]&&(t[_]=0),o|=p}if(s)for(w=0;w=0&&8==u[x];x--)t[x]=r}}(h,y,h.length,n);for(var b=0;b7&&n[b]<13||4===n[b]||n[b]===d)?y[b]=t.ON_R:b>0&&"\u0644"===h[b-1]&&/\u0622|\u0623|\u0625|\u0627/.test(h[b])&&(y[b-1]=y[b]=t.R_H,b++);h[h.length-1]===t.DOT&&(y[h.length-1]=t.B),"\u202b"===h[0]&&(y[0]=t.RLE);for(b=0;b=0&&(e=this.session.$docRowCache[n])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,r=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===r;)r=n,e++;else e=this.currentRow;return e},this.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.wrapOffset=this.wrapIndent*this.charWidths[r.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,o=r.getVisualFromLogicalIdx(n,this.bidiMap),i=this.bidiMap.bidiLevels,a=0;!this.session.getOverwrite()&&e<=t&&i[o]%2!==0&&o++;for(var s=0;st&&i[o]%2===0&&(a+=this.charWidths[i[o]]),this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(a+=this.rtlLineOffset),a},this.getSelections=function(e,t){var n,r=this.bidiMap,o=r.bidiLevels,i=[],a=0,s=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,d=0;this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var h,f=0;f=s&&hn+i/2;){if(n+=i,r===o.length-1){i=0;break}i=this.charWidths[o[++r]]}return r>0&&o[r-1]%2!==0&&o[r]%2===0?(e0&&o[r-1]%2===0&&o[r]%2!==0?t=1+(e>n?this.bidiMap.logicalFromVisual[r]:this.bidiMap.logicalFromVisual[r-1]):this.isRtlDir&&r===o.length-1&&0===i&&o[r-1]%2===0||!this.isRtlDir&&0===r&&o[r]%2!==0?t=1+this.bidiMap.logicalFromVisual[r]:(r>0&&o[r-1]%2!==0&&0!==i&&r--,t=this.bidiMap.logicalFromVisual[r]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent}}).call(a.prototype),t.BidiHandler=a})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./lib/lang"),i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))};(function(){r.implement(this,i),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},this.getAnchor=this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(e,t){var n=t?e.end:e.start,r=t?e.start:e.end;this.$setSelection(n.row,n.column,r.row,r.column)},this.$setSelection=function(e,t,n,r){if(!this.$silent){var o=this.$isEmpty,i=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,r),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||i)&&this._emit("changeSelection")}},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if("undefined"==typeof t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r="number"==typeof e?e:this.lead.row,o=this.session.getFoldLine(r);return o?(r=o.start.row,n=o.end.row):n=r,!0===t?new a(r,0,n,this.session.getLine(n).length):new a(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var r=e.column,o=e.column+t;return n<0&&(r=e.column-t,o=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(r,o).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(e,t,1);if(o)this.moveCursorTo(o.end.row,o.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(i)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(o.lastIndex=0;(t=e[n])&&!o.test(t);)if(o.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return o.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),o=this.session.getFoldAt(e,t,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(t==n.length){var i=this.doc.getLength();do{e++,r=this.doc.getLine(e)}while(e0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var i=o.stringReverse(r),a=this.$shortWordEndIndex(i);return this.moveCursorTo(t,n-a)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];e<0?e-=o.rowsAbove||0:e>0&&(e+=o.rowCount-(o.rowsAbove||0))}var i=this.session.screenToDocumentPosition(r.row+e,r.column,n);0!==e&&0===t&&i.row===this.lead.row&&(i.column,this.lead.column),this.moveCursorTo(i.row,i.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(o.charAt(t))&&o.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(r){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(void 0==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(s.prototype),t.Selection=s})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,n){"use strict";var r=e("./config"),o=2e3,i=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],o=0,i=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l1?this.$applyToken:c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+o+1)})):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||s.push(c)),i[o]=l,o+=d,r.push(u),c.onMatch||(c.onMatch=null)}}r.length||(i[0]=0,r.push("$")),s.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)}),this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",a)}};(function(){this.$setMaxTokenCount=function(e){o=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"===typeof n)return[{type:n,value:e}];for(var r=[],o=0,i=n.length;ou){var v=e.substring(u,g-m.length);h.type==f?h.value+=v:(h.type&&c.push(h),h={type:f,value:v})}for(var y=0;yo){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:c,state:n.length?n:r}},this.reportError=r.reportError}).call(i.prototype),t.Tokenizer=i})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/lang"),o=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],o=0;o=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new r(this.$row,t,this.$row,t+e.value.length)}}).call(o.prototype),t.TokenIterator=o})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){"use strict";var r,o=e("../../lib/oop"),i=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,s=e("../../lib/lang"),l=["text","paren.rparen","rparen","paren","punctuation.operator"],c=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],u={},d={'"':'"',"'":"'"},h=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return r=u[t];r=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},f=function(e,t,n,r){var o=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,o,e.end.column+(o?0:1)]}},p=function e(t){this.add("braces","insertion",(function(n,o,i,a,l){var c=i.getCursorPosition(),u=a.doc.getLine(c.row);if("{"==l){h(i);var d=i.getSelectionRange(),p=a.doc.getTextRange(d);if(""!==p&&"{"!==p&&i.getWrapBehavioursEnabled())return f(d,p,"{","}");if(e.isSaneInsertion(i,a))return/[\]\}\)]/.test(u[c.column])||i.inMultiSelectMode||t&&t.braces?(e.recordAutoInsert(i,a,"}"),{text:"{}",selection:[1,1]}):(e.recordMaybeInsert(i,a,"{"),{text:"{",selection:[1,1]})}else if("}"==l){if(h(i),"}"==u.substring(c.column,c.column+1))if(null!==a.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&e.isAutoInsertedClosing(c,u,l))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==l||"\r\n"==l){h(i);var m="";if(e.isMaybeInsertedClosing(c,u)&&(m=s.stringRepeat("}",r.maybeInsertedBrackets),e.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var g=a.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!g)return null;var v=this.$getIndent(a.getLine(g.row))}else{if(!m)return void e.clearMaybeInsertedClosing();v=this.$getIndent(u)}var y=v+a.getTabString();return{text:"\n"+y+"\n"+v+m,selection:[1,y.length,1,y.length]}}e.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,o,i){var a=o.doc.getTextRange(i);if(!i.isMultiLine()&&"{"==a){if(h(n),"}"==o.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,n,r,o,i){if("("==i){h(r);var a=r.getSelectionRange(),s=o.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return f(a,s,"(",")");if(e.isSaneInsertion(r,o))return e.recordAutoInsert(r,o,")"),{text:"()",selection:[1,1]}}else if(")"==i){h(r);var l=r.getCursorPosition(),c=o.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1))if(null!==o.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,i))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&"("==i&&(h(n),")"==r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("brackets","insertion",(function(t,n,r,o,i){if("["==i){h(r);var a=r.getSelectionRange(),s=o.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return f(a,s,"[","]");if(e.isSaneInsertion(r,o))return e.recordAutoInsert(r,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){h(r);var l=r.getCursorPosition(),c=o.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1))if(null!==o.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,i))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&"["==i&&(h(n),"]"==r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("string_dquotes","insertion",(function(e,t,n,r,o){var i=r.$mode.$quotes||d;if(1==o.length&&i[o]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(o))return;h(n);var a=o,s=n.getSelectionRange(),l=r.doc.getTextRange(s);if(!(""===l||1==l.length&&i[l])&&n.getWrapBehavioursEnabled())return f(s,l,a,a);if(!l){var c=n.getCursorPosition(),u=r.doc.getLine(c.row),p=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=r.getTokenAt(c.row,c.column),v=r.getTokenAt(c.row,c.column+1);if("\\"==p&&g&&/escape/.test(g.type))return null;var y,b=g&&/string|escape/.test(g.type),w=!v||/string|escape/.test(v.type);if(m==a)(y=b!==w)&&/string\.end/.test(v.type)&&(y=!1);else{if(b&&!w)return null;if(b&&w)return null;var _=r.$mode.tokenRe;_.lastIndex=0;var S=_.test(p);_.lastIndex=0;var x=_.test(p);if(S||x)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;var C=u[c.column-2];if(p==a&&(C==a||_.test(C)))return null;y=!0}return{text:y?a+a:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,r,o){var i=r.$mode.$quotes||d,a=r.doc.getTextRange(o);if(!o.isMultiLine()&&i.hasOwnProperty(a)&&(h(n),r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==a))return o.end.column++,o}))};p.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new a(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var o=new a(t,n.row,n.column+1);if(!this.$matchTokenType(o.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},p.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},p.recordAutoInsert=function(e,t,n){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isAutoInsertedClosing(o,i,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=o.row,r.autoInsertedLineEnd=n+i.substr(o.column),r.autoInsertedBrackets++},p.recordMaybeInsert=function(e,t,n){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isMaybeInsertedClosing(o,i)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=o.row,r.maybeInsertedLineStart=i.substr(0,o.column)+n,r.maybeInsertedLineEnd=i.substr(o.column),r.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},o.inherits(p,i),t.CstyleBehaviour=p})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";for(var r=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],o=0,i=[],a=0;a2?r%c!=c-1:r%c==0})}else{if(!this.blockComment)return!1;var f=this.blockComment.start,p=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+l.escapeRegExp(f)+")"),g=new RegExp("(?:"+l.escapeRegExp(p)+")\\s*$"),v=function(e,t){b(e,t)||i&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},p),o.insertInLine({row:t,column:s},f))},y=function(e,t){var n;(n=e.match(g))&&o.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&o.removeInLine(t,n[1].length,n[0].length)},b=function(e,n){if(m.test(e))return!0;for(var r=t.getTokens(n),o=0;oe.length&&(_=e.length)})),s==1/0&&(s=_,i=!1,a=!1),u&&s%c!=0&&(s=Math.floor(s/c)*c),w(a?y:v)},this.toggleBlockComment=function(e,t,n,r){var o=this.blockComment;if(o){!o.start&&o[0]&&(o=o[0]);var i,a,s=(m=new c(t,r.row,r.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(s&&/comment/.test(s.type)){for(var d,h;s&&/comment/.test(s.type);){if(-1!=(g=s.value.indexOf(o.start))){var f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;d=new u(f,p,f,p+o.start.length);break}s=m.stepBackward()}var m;for(s=(m=new c(t,r.row,r.column)).getCurrentToken();s&&/comment/.test(s.type);){var g;if(-1!=(g=s.value.indexOf(o.end))){f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;h=new u(f,p,f,p+o.end.length);break}s=m.stepForward()}h&&t.remove(h),d&&(t.remove(d),i=d.start.row,a=-o.start.length)}else a=o.start.length,i=n.start.row,t.insert(n.end,o.end),t.insert(n.start,o.start);l.start.row==i&&(l.start.column+=a),l.end.row==i&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var n=e[t],o=n.prototype.$id,i=r.$modes[o];i||(r.$modes[o]=i=new n),r.$modes[t]||(r.$modes[t]=i),this.$embeds.push(t),this.$modes[t]=i}var a=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var n=function(t,n,r){var o="insert"==t.action,i=(o?1:-1)*(t.end.row-t.start.row),a=(o?1:-1)*(t.end.column-t.start.column),s=t.start,l=o?s:t.end;if(e(n,s,r))return{row:n.row,column:n.column};if(e(l,n,!r))return{row:n.row+i,column:n.column+(n.row==l.row?a:0)};return{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var o={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:o,value:r})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(i.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./apply_delta").applyDelta,i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,i),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,r=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(o(this.$lines,e,t),this._signal("change",e)))},this.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==r&&(r=t),i<=r&&n.fireUpdateEvent(i,r)}}};(function(){r.implement(this,o),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!==r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(i.prototype),t.BackgroundTokenizer=i})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),o=(e("./lib/oop"),e("./range").Range),i=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,i){if(this.regExp)for(var a=i.firstRow,s=i.lastRow,l=a;l<=s;l++){var c=this.cache[l];null==c&&((c=r.getMatchOffsets(n.getLine(l),this.regExp)).length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map((function(e){return new o(l,e.offset,l,e.offset+e.length)})),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(n),this.clazz,i)}}}).call(i.prototype),t.SearchHighlight=i})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range;function o(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,o,i=0,a=this.folds,s=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=r(e,a.start);return 0===s?t&&0!==l?-i-2:i:l>0||0===l&&!t?i:-i-1}}return-i-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,o=(n=n.sort((function(e,t){return r(e.start,t.start)})))[0],i=1;i=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=r)break}if("insert"==e.action)for(var l=o-r,c=-t.column+n.column;ar)break;if(u.start.row==r&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=l)),u.end.row==r&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&au.start.column&&u.end.column==i[a+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=r-o,c=t.column-n.column;ao)break;u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=l):u.end.row>o&&(u.end.row+=l),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=l):u.start.row>o&&(u.start.row+=l)}if(0!=l&&a=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,o=0;o=t){s=e?r-=t-s:r=0);break}a>=e&&(r-=s>=e?a-s:a-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,r=this.$foldData,a=!1;e instanceof i?n=e:(n=new i(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var s=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column,d=this.getFoldAt(s,l,1),h=this.getFoldAt(c,u,-1);if(d&&h==d)return d.addSubFold(n);d&&!d.range.isStart(s,l)&&this.removeFold(d),h&&!h.range.isEnd(c,u)&&this.removeFold(h);var f=this.getFoldsInRange(n.range);f.length>0&&(this.removeFolds(f),n.collapseChildren||f.forEach((function(e){n.addSubFold(e)})));for(var p=0;p0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,o;if(null==e)n=new r(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new r(e,0,e,this.getLine(e).length);else if("row"in e)n=r.fromPoints(e,e);else{if(Array.isArray(e))return o=[],e.forEach((function(e){o=o.concat(this.unfold(e))}),this),o;n=e}for(var i=o=this.getFoldsInRangeList(n);1==o.length&&r.comparePoints(o[0].start,n.start)<0&&r.comparePoints(o[0].end,n.end)>0;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(o):this.expandFolds(o),i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,o){null==r&&(r=e.start.row),null==o&&(o=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var i=this.doc,a="";return e.walk((function(e,t,n,s){if(!(tu)break}while(i&&l.test(i.type));i=o.stepBackward()}else i=o.getCurrentToken();return c.end.row=o.getCurrentTokenRow(),c.end.column=o.getCurrentTokenColumn()+i.value.length-2,c}},this.foldAll=function(e,t,n,r){void 0==n&&(n=1e5);var o=this.foldWidgets;if(o){t=t||this.getLength();for(var i=e=e||0;i=e&&(i=a.end.row,a.collapseChildren=n,this.addFold("...",a))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var n=e.getTokens(t),r=0;r=0;){var i=n[o];if(null==i&&(i=n[o]=this.getFoldWidget(o)),"start"==i){var a=this.getFoldWidgetRange(o);if(r||(r=a),a&&a.end.row>=e)break}o--}return{range:-1!==o&&a,firstRange:r}},this.onFoldWidgetClick=function(e,t){var n={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),o="end"===n?-1:1,i=this.getFoldAt(e,-1===o?0:r.length,o);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(i=this.getFoldAt(a.start.row,a.start.column,1))&&a.isEqual(i.range))return this.removeFold(i),i;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,c=s.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=a?a.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold("...",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var o=this.getFoldAt(t,this.getLine(t).length,1);o?this.removeFold(o):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var r=e("../token_iterator").TokenIterator,o=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,i=n.charAt(e.column-1),a=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(a||(i=n.charAt(e.column),e={row:e.row,column:e.column+1},a=i&&i.match(/([\(\[\{])|([\)\]\}])/),r=!1),!a)return null;if(a[1]){if(!(s=this.$findClosingBracket(a[1],e)))return null;t=o.fromPoints(e,s),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s;if(!(s=this.$findOpeningBracket(a[2],e)))return null;t=o.fromPoints(s,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e){var t=this.getLine(e.row),n=t.charAt(e.column-1),r=n&&n.match(/([\(\[\{])|([\)\]\}])/);if(r||(n=t.charAt(e.column),e={row:e.row,column:e.column+1},r=n&&n.match(/([\(\[\{])|([\)\]\}])/)),!r)return null;var i=new o(e.row,e.column-1,e.row,e.column),a=r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e);return a?[i,new o(a.row,a.column,a.row,a.column+1)]:[i]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var o=this.$brackets[e],i=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn()-2,c=s.value;;){for(;l>=0;){var u=c.charAt(l);if(u==o){if(0==(i-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else u==e&&(i+=1);l-=1}do{s=a.stepBackward()}while(s&&!n.test(s.type));if(null==s)break;l=(c=s.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var o=this.$brackets[e],i=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn();;){for(var c=s.value,u=c.length;ln&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var o=n+r>>1,i=e[o];if(t>i)n=o+1;else{if(!(t=t);i++);return(n=r[i])?(n.index=i,n.start=o-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var o=this.tokenRe;else if(/^\s+$/.test(n.slice(t-1,t+1)))o=/\s/;else o=this.nonTokenRe;var i=t;if(i>0){do{i--}while(i>=0&&n.charAt(i).match(o));i++}for(var a=t;ae&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,o=0,i=this.$foldData[o],a=i?i.start.row:1/0,s=t.length,l=0;la){if((l=i.end.row+1)>=s)break;a=(i=this.$foldData[o++])?i.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>r&&(r=n[l])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=e.length-1;-1!=n;n--){var r=e[n];"insert"==r.action||"remove"==r.action?this.doc.revertDelta(r):r.folds&&this.addFolds(r.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=0;ne.end.column&&(i.start.column+=c),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=c)),a&&i.start.row>=e.end.row&&(i.start.row+=a,i.end.row+=a)}if(i.end=this.insert(i.start,r),o.length){var s=e.start,l=i.start,c=(a=l.row-s.row,l.column-s.column);this.addFolds(o.map((function(e){return(e=e.clone()).start.row==s.row&&(e.start.column+=c),e.end.row==s.row&&(e.end.column+=c),e.start.row+=a,e.end.row+=a,e})))}return i},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),r=this.getTabSize(),o=t.start.row;o<=t.end.row;++o){var i=this.getLine(o);n.start.row=o,n.end.row=o;for(var a=0;a0){var o;if((o=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=o-t}else{e=this.$clipRowToDocument(e);r=(t=this.$clipRowToDocument(t))-e+1}var i=new u(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(i).map((function(e){return(e=e.clone()).start.row+=r,e.end.row+=r,e})),s=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,s),a.length&&this.addFolds(a),r},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,r=e.start,o=e.end,i=r.row,a=o.row,s=a-i,l=null;if(this.$updating=!0,0!=s)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(i,s);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(o.row)){m.addRemoveChars(o.row,o.column,r.column-o.column),m.shiftRow(-s);var d=this.getFoldLine(i);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u=o.row&&m.shiftRow(-s)}a=i}else{var h=Array(s);h.unshift(i,0);var f=t?this.$wrapData:this.$rowLengthCache;f.splice.apply(f,h);c=this.$foldData,u=0;if(m=this.getFoldLine(i)){var p=m.range.compareInside(r.row,r.column);0==p?(m=m.split(r.row,r.column))&&(m.shiftRow(s),m.addRemoveChars(a,0,o.column-r.column)):-1==p&&(m.addRemoveChars(i,0,o.column-r.column),m.shiftRow(s)),u=c.indexOf(m)+1}for(;u=i&&m.shiftRow(s)}}else s=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),s=-s),(m=this.getFoldLine(i))&&m.addRemoveChars(i,r.column,s);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(i,a):this.$updateRowLengthCache(i,a),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,r){var o,i,a=this.doc.getAllLines(),s=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,u=n;for(r=Math.min(r,a.length-1);u<=r;)(i=this.getFoldLine(u,i))?(o=[],i.walk(function(n,r,i,s){var l;if(null!=n){(l=this.$getDisplayTokens(n,o.length))[0]=e;for(var c=1;c=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(n,r,o){if(0==n.length)return[];var i=[],a=n.length,s=0,l=0,c=this.$wrapAsCode,u=this.$indentedSoftWrap,d=r<=Math.max(2*o,8)||!1===u?0:Math.floor(r/2);function h(e){for(var t=e-s,r=s;rr-f;){var p=s+r-f;if(n[p-1]>=10&&n[p]>=10)h(p);else if(n[p]!=e&&n[p]!=t){for(var m=Math.max(p-(r-(r>>2)),s-1);p>m&&n[p]m&&n[p]m&&9==n[p];)p--}else for(;p>m&&n[p]<10;)p--;p>m?h(++p):(2==n[p=s+r]&&p--,h(p-f))}else{for(;p!=s-1&&n[p]!=e;p--);if(p>s){h(p);continue}for(p=s+r;p39&&a<48||a>57&&a<64?o.push(9):a>=4352&&n(a)?o.push(1,2):o.push(1)}return o},this.$getStringScreenWidth=function(e,t,r){if(0==t)return[0,0];var o,i;for(null==t&&(t=1/0),r=r||0,i=0;i=4352&&n(o)?r+=2:r+=1,!(r>t));i++);return[r,i]},this.lineWidgets=null,this.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){s=c[u],i=this.$docRowCache[u];var h=e>c[d-1]}else h=!d;for(var f=this.getLength()-1,p=this.getNextFoldLine(i),m=p?p.start.row:1/0;s<=e&&!(s+(l=this.getRowLength(i))>e||i>=f);)s+=l,++i>m&&(i=p.end.row+1,m=(p=this.getNextFoldLine(i,p))?p.start.row:1/0),h&&(this.$docRowCache.push(i),this.$screenRowCache.push(s));if(p&&p.start.row<=i)r=this.getFoldDisplayLine(p),i=p.start.row;else{if(s+l<=e||i>f)return{row:f,column:this.getLine(f).length};r=this.getLine(i),p=null}var g=0,v=Math.floor(e-s);if(this.$useWrapMode){var y=this.$wrapData[i];y&&(o=y[v],v>0&&y.length&&(g=y.indent,a=y[v-1]||y[y.length-1],r=r.substring(a)))}return void 0!==n&&this.$bidiHandler.isBidiRow(s+v,i,v)&&(t=this.$bidiHandler.offsetToCol(n)),a+=this.$getStringScreenWidth(r,t-g)[1],this.$useWrapMode&&a>=o&&(a=o-1),p?p.idxToPosition(a):{row:i,column:a}},this.documentToScreenPosition=function(e,t){if("undefined"===typeof t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r,o=0,i=null;(r=this.getFoldAt(e,t,1))&&(e=r.start.row,t=r.start.column);var a,s=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){s=l[c],o=this.$screenRowCache[c];var d=e>l[u-1]}else d=!u;for(var h=this.getNextFoldLine(s),f=h?h.start.row:1/0;s=f){if((a=h.end.row+1)>e)break;f=(h=this.getNextFoldLine(a,h))?h.start.row:1/0}else a=s+1;o+=this.getRowLength(s),s=a,d&&(this.$docRowCache.push(s),this.$screenRowCache.push(o))}var p="";h&&s>=f?(p=this.getFoldDisplayLine(h,e,t),i=h.start.row):(p=this.getLine(e).substring(0,t),i=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[i];if(g){for(var v=0;p.length>=g[v];)o++,v++;p=p.substring(g[v-1]||0,p.length),m=v>0?g.indent:0}}return this.lineWidgets&&this.lineWidgets[s]&&this.lineWidgets[s].rowsAbove&&(o+=this.lineWidgets[s].rowsAbove),{row:o,column:m+this.$getStringScreenWidth(p)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,o=(s=0,(t=this.$foldData[s++])?t.start.row:1/0);ro&&(r=t.end.row+1,o=(t=this.$foldData[s++])?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,s=0;sn);i++);return[r,i]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},this.isFullWidth=n}.call(p.prototype),e("./edit_session/folding").Folding.call(p.prototype),e("./edit_session/bracket_match").BracketMatch.call(p.prototype),a.defineOptions(p.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=p})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),o=e("./lib/oop"),i=e("./range").Range,a=function(){this.$options={}};(function(){this.set=function(e){return o.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach((function(e,n,o,a){return r=new i(e,n,o,a),!(n==a&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))||(r=null,!1)})),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,o=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],s=t.re;if(t.$isMultiLine){var l,c=s.length,u=o.length-c;e:for(var d=s.offset||0;d<=u;d++){for(var h=0;hm||(a.push(l=new i(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var v=0;v_&&a[h].end.row==n.end.row;)h--;for(a=a.slice(v,h+1),v=0,h=a.length;v=s;n--)if(d(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=l,s=a.row;n>=s;n--)if(d(n,Number.MAX_VALUE,e))return}};else c=function(e){var n=a.row;if(!d(n,a.column,e)){for(n+=1;n<=l;n++)if(d(n,0,e))return;if(0!=t.wrap)for(n=s,l=a.row;n<=l;n++)if(d(n,0,e))return}};if(t.$isMultiLine)var u=n.length,d=function(t,o,i){var a=r?t-u+1:t;if(!(a<0||a+u>e.getLength())){var s=e.getLine(a),l=s.search(n[0]);if(!(!r&&lo))return!!i(a,l,a+u-1,d)||void 0}}};else if(r)d=function(t,r,o){var i,a=e.getLine(t),s=[],l=0;for(n.lastIndex=0;i=n.exec(a);){var c=i[0].length;if(l=i.index,!c){if(l>=a.length)break;n.lastIndex=l+=1}if(i.index+c>r)break;s.push(i.index,c)}for(var u=s.length-1;u>=0;u-=2){var d=s[u-1];if(o(t,d,t,d+(c=s[u])))return!0}};else d=function(t,r,o){var i,a,s=e.getLine(t);for(n.lastIndex=r;a=n.exec(s);){var l=a[0].length;if(o(t,i=a.index,t,i+l))return!0;if(!l&&(n.lastIndex=i+=1,i>=s.length))return!1}};return{forEach:c}}}).call(a.prototype),t.Search=a})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/keys"),o=e("../lib/useragent"),i=r.KEY_MODS;function a(e,t){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function s(e,t){a.call(this,e,t),this.$singleCommand=!1}s.prototype=a.prototype,function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"===typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var o in r){var i=r[o];if(i==e)delete r[o];else if(Array.isArray(i)){var a=i.indexOf(e);-1!=a&&(i.splice(a,1),1==i.length&&(r[o]=i[0]))}}},this.bindKey=function(e,t,n){if("object"==typeof e&&e&&(void 0==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var r="";if(-1!=e.indexOf(" ")){var o=e.split(/\s+/);e=o.pop(),o.forEach((function(e){var t=this.parseKeys(e),n=i[t.hashId]+t.key;r+=(r?" ":"")+n,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var a=this.parseKeys(e),s=i[a.hashId]+a.key;this._addCommandToBinding(r+s,t,n)}),this)},this._addCommandToBinding=function(t,n,r){var o,i=this.commandKeyBinding;if(n)if(!i[t]||this.$singleCommand)i[t]=n;else{Array.isArray(i[t])?-1!=(o=i[t].indexOf(n))&&i[t].splice(o,1):i[t]=[i[t]],"number"!=typeof r&&(r=e(n));var a=i[t];for(o=0;or)break}a.splice(o,0,n)}else delete i[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"===typeof n)return this.bindKey(n,t);"function"===typeof n&&(n={exec:n}),"object"===typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),o=r[n];if(r.FUNCTION_KEYS[o])n=r.FUNCTION_KEYS[o].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var i=0,a=t.length;a--;){var s=r.KEY_MODS[t[a]];if(null==s)return"undefined"!=typeof console&&console.error("invalid modifier "+t[a]+" in "+e),!1;i|=s}return{key:n,hashId:i}},this.findKeyCommand=function(e,t){var n=i[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var o=i[t]+n,a=this.commandKeyBinding[o];return e.$keyChain&&(e.$keyChain+=" "+o,a=this.commandKeyBinding[e.$keyChain]||a),!a||"chainKeys"!=a&&"chainKeys"!=a[a.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-o.length-1)),{command:a}):(e.$keyChain=e.$keyChain||o,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(a.prototype),t.HashHandler=a,t.MultiHashHandler=s})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../keyboard/hash_handler").MultiHashHandler,i=e("../lib/event_emitter").EventEmitter,a=function(e,t){o.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};r.inherits(a,o),function(){r.implement(this,i),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if("string"===typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))return!1;var o={editor:t,command:e,args:n};return o.returnValue=this._emit("exec",o),this._signal("afterExec",o),!1!==o.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}.call(a.prototype),t.CommandManager=a})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){"use strict";var r=e("../lib/lang"),o=e("../config"),i=e("../range").Range;function a(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(e){o.loadModule("./ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(e){o.loadModule("./ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(e,t){"number"!==typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(e){e.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),o=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),a=e.session.doc.getLine(n.row).length,s=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=o.row+1;c++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}o.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+s)):(a=e.session.doc.getLine(n.row).length>a?a+1:a,e.selection.moveCursorTo(n.row,a))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,o=[];r.length<1&&(r=[e.selection.getRange()]);for(var a=0;a=o.lastRow||r.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var i=this.selection.toJSON();this.curOp.selectionAfter=i,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(i),this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var o=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"===typeof e&&"ace"!=e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container).fontSize},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var n=t.getMatchingBracketRanges(e.getCursorPosition());if(!n&&t.$mode.getMatching&&(n=t.$mode.getMatching(e.session)),n){var r="ace_bracket";Array.isArray(n)?1==n.length&&(r="ace_error_bracket"):n=[n],2==n.length&&(0==f.comparePoints(n[0].end,n[1].start)?n=[f.fromPoints(n[0].start,n[1].end)]:0==f.comparePoints(n[0].start,n[1].end)&&(n=[f.fromPoints(n[1].start,n[0].end)])),t.$bracketHighlight={ranges:n,markerIds:n.map((function(e){return t.addMarker(e,r,"text")}))}}}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new y(e.session,n.row,n.column),o=r.getCurrentToken();if(!o||!/\b(?:tag-open|tag-name)/.test(o.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1===o.type.indexOf("tag-open")||(o=r.stepForward())){var i=o.value,a=o.value,s=0,l=r.stepBackward();if("<"===l.value)do{l=o,(o=r.stepForward())&&(-1!==o.type.indexOf("tag-name")?i===(a=o.value)&&("<"===l.value?s++:""===o.value&&s--)}while(o&&s>=0);else{do{if(o=l,l=r.stepBackward(),o)if(-1!==o.type.indexOf("tag-name"))i===o.value&&("<"===l.value?s++:""===o.value){for(var c=0,u=l;u;){if(-1!==u.type.indexOf("tag-name")&&u.value===i){s--;break}if("<"===u.value)break;u=r.stepBackward(),c++}for(var d=0;d1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var o=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(o),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,r=t.end.column,o=e.getLine(t.start.row),i=o.substring(n,r);if(!(i.length>5e3)&&/[\w\d]/.test(i)){var a=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:i}),s=o.substring(n-1,r+1);if(a.test(s))return a}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var r=this.selection.getAllRanges(),o=0;os.search(/\S|$/)){var l=s.substr(o.column).search(/\S|$/);n.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var c=o.column,u=n.getState(o.row),d=(s=n.getLine(o.row),r.checkOutdent(u,s,e));if(n.insert(o,e),i&&i.selection&&(2==i.selection.length?this.selection.setSelectionRange(new f(o.row,c+i.selection[0],o.row,c+i.selection[1])):this.selection.setSelectionRange(new f(o.row+i.selection[0],i.selection[1],o.row+i.selection[2],i.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var h=r.getNextLineIndent(u,s.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},h)}d&&r.autoOutdent(u,n,o.row)}},this.autoIndent=function(){var e,t,n=this.session,r=n.getMode();if(this.selection.isEmpty())e=0,t=n.doc.getLength()-1;else{var o=this.getSelectionRange();e=o.start.row,t=o.end.row}for(var i,a,s,l="",c="",u="",d=n.getTabString(),h=e;h<=t;h++)h>0&&(l=n.getState(h-1),c=n.getLine(h-1),u=r.getNextLineIndent(l,c,d)),i=n.getLine(h),u!==(a=r.$getIndent(i))&&(a.length>0&&(s=new f(h,0,h,a.length),n.remove(s)),u.length>0&&n.insert({row:h,column:0},u)),r.autoOutdent(l,n,h)},this.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},this.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove());(!e&&this.selection.isEmpty()||this.insert(e,!0),t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},this.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),o=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var i=n.getTextRange(t);if("\n"==i[i.length-1]){var a=n.getLine(t.end.row);/^\s+$/.test(a)&&(t.end.column=a.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,o=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var o=new f(0,0,0,0);for(r=e.first;r<=e.last;r++){var i=t.getLine(r);o.start.row=r,o.end.row=r,o.end.column=i.length,t.replace(o,n[r-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t)return{value:o[0],start:o.index,end:o.index+o[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(t,n-1,t,n),o=this.session.getTextRange(r);if(!isNaN(parseFloat(o))&&isFinite(o)){var i=this.getNumberAt(t,n);if(i){var a=i.value.indexOf(".")>=0?i.start+i.value.indexOf(".")+1:i.end,s=i.start+i.value.length-a,l=parseFloat(i.value);l*=Math.pow(10,s),a!==i.end&&n=s&&a<=l&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,s+r),c.selection.selectTo(e,l+r)),s=l}));for(var u,d=this.$toggleWordPairs,h=0;hf+1)break;f=p.last}for(u--,s=this.session.$moveLines(h,f,t?0:e),t&&-1==e&&(d=u+1);d<=u;)a[d].moveBy(s,0),d++;t||(s=0),l+=s}o.fromOrientedRange(o.ranges[0]),o.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(e)},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,o=e*Math.floor(r.height/r.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(o,0)})):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection());var i=n.scrollTop;n.scrollBy(0,o*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(i)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.selection.selectAll()},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new y(this.session,n.row,n.column),o=r.getCurrentToken(),i=o||r.stepForward();if(i){var a,s,l=!1,c={},u=n.column-i.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(i.value.match(/[{}()\[\]]/g)){for(;u=0;--i)this.$tryReplace(n[i],e)&&r++;return this.selection.setSelectionRange(o),r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&r.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,n),i):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var o=this.$scrollAnchor;o.style.cssText="position:absolute",this.container.insertBefore(o,this.container.firstChild);var i=this.on("changeSelection",(function(){r=!0})),a=this.renderer.on("beforeRender",(function(){r&&(t=n.renderer.container.getBoundingClientRect())})),s=this.renderer.on("afterRender",(function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,i=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=i.top-a.offset;null!=(r=i.top>=0&&s+t.top<0||!(i.topwindow.innerHeight)&&null)&&(o.style.top=s+"px",o.style.left=i.left+"px",o.style.height=a.lineHeight+"px",o.scrollIntoView(r)),r=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",i),this.renderer.off("afterRender",s),this.renderer.off("beforeRender",a))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,o.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},this.prompt=function(e,t,n){var r=this;v.loadModule("./ext/prompt",(function(o){o.prompt(r,e,t,n)}))}}.call(w.prototype),v.defineOptions(w.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?_.attach(this):_.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?_.attach(this):_.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.getValue());if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),o.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),o.addCssClass(this.container,"ace_hasPlaceholder");var t=o.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var _={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"\xb7":""))+""},getWidth:function(e,t,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=w})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=function(){this.$maxRev=0,this.$fromUndo=!1,this.reset()};(function(){this.addSession=function(e){this.$session=e},this.add=function(e,t,n){this.$fromUndo||e!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),!1!==t&&this.lastDeltas||(this.lastDeltas=[],this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev),"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e))},this.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},this.startNewGroup=function(){return this.lastDeltas=null,this.$rev},this.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var n=this.$undoStack,r=n.length;r--;){var o=n[r][0];if(o.id<=e)break;o.id0},this.canRedo=function(){return this.$redoStack.length>0},this.bookmark=function(e){void 0==e&&(e=this.$rev),this.mark=e},this.isAtBookmark=function(){return this.$rev===this.mark},this.toJSON=function(){},this.fromJSON=function(){},this.hasUndo=this.canUndo,this.hasRedo=this.canRedo,this.isClean=this.isAtBookmark,this.markClean=this.bookmark,this.$prettyPrint=function(e){return e?s(e):s(this.$undoStack)+"\n---\n"+s(this.$redoStack)}}).call(r.prototype);var o=e("./range").Range,i=o.comparePoints;o.comparePoints;function a(e){return{row:e.row,column:e.column}}function s(e){if(e=e||this,Array.isArray(e))return e.map(s).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var n="insert"==e.action,r="insert"==t.action;if(n&&r)if(i(t.start,e.end)>=0)h(t,e,-1);else{if(!(i(t.start,e.start)<=0))return null;h(e,t,1)}else if(n&&!r)if(i(t.start,e.end)>=0)h(t,e,-1);else{if(!(i(t.end,e.start)<=0))return null;h(e,t,-1)}else if(!n&&r)if(i(t.start,e.start)>=0)h(t,e,1);else{if(!(i(t.start,e.start)<=0))return null;h(e,t,1)}else if(!n&&!r)if(i(t.start,e.start)>=0)h(t,e,1);else{if(!(i(t.end,e.start)<=0))return null;h(e,t,-1)}return[t,e]}function u(e,t){for(var n=e.length;n--;)for(var r=0;r=0?h(e,t,-1):(i(e.start,t.start)<=0||h(e,o.fromPoints(t.start,e.start),-1),h(t,e,1));else if(!n&&r)i(t.start,e.end)>=0?h(t,e,-1):(i(t.start,e.start)<=0||h(t,o.fromPoints(e.start,t.start),-1),h(e,t,1));else if(!n&&!r)if(i(t.start,e.end)>=0)h(t,e,-1);else{var a,s;if(!(i(t.end,e.start)<=0))return i(e.start,t.start)<0&&(a=e,e=p(e,t.start)),i(e.end,t.end)>0&&(s=p(e,t.end)),f(t.end,e.start,e.end,-1),s&&!a&&(e.lines=s.lines,e.start=s.start,e.end=s.end,s=e),[t,a,s].filter(Boolean);h(e,t,-1)}return[t,e]}function h(e,t,n){f(e.start,t.start,t.end,n),f(e.end,t.start,t.end,n)}function f(e,t,n,r){e.row==(1==r?t:n).row&&(e.column+=r*(n.column-t.column)),e.row+=r*(n.row-t.row)}function p(e,t){var n=e.lines,r=e.end;e.end=a(t);var o=e.end.row-e.start.row,i=n.splice(o,n.length),s=o?t.column:t.column-e.start.column;return n.push(i[0].substring(0,s)),i[0]=i[0].substr(s),{start:a(t),end:r,lines:i,action:e.action}}function m(e,t){t=function(e){return{start:a(e.start),end:a(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var n=e.length;n--;){for(var r=e[n],o=0;oi&&(l=o.end.row+1,i=(o=t.getNextFoldLine(l,o))?o.start.row:1/0),l>r){for(;this.$lines.getLength()>s+1;)this.$lines.pop();break}(a=this.$lines.get(++s))?a.row=l:(a=this.$lines.createCell(l,e,this.session,c),this.$lines.push(a)),this.$renderCell(a,e,o,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},this.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,r=t.$firstLineNumber,o=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(o=t.getLength()+r-1);var i=n?n.getWidth(t,o,e):o.toString().length*e.characterWidth,a=this.$padding||this.$computePadding();(i+=a.left+a.right)===this.gutterWidth||isNaN(i)||(this.gutterWidth=i,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",i))},this.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},this.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var n=0;n=this.$cursorRow){if(r.row>this.$cursorRow){var o=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&o&&o.start.row==t[n-1].row))break;r=t[n-1]}r.element.className="ace_gutter-active-line "+r.element.className,this.$cursorCell=r;break}}}}},this.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),r=this.oldLastRow;if(this.oldLastRow=n,!t||r0;o--)this.$lines.shift();if(r>n)for(o=this.session.getFoldedRowCount(n+1,r);o>0;o--)this.$lines.pop();e.firstRowr&&this.$lines.push(this.$renderLines(e,r+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},this.$renderLines=function(e,t,n){for(var r=[],o=t,i=this.session.getNextFoldLine(o),a=i?i.start.row:1/0;o>a&&(o=i.end.row+1,a=(i=this.session.getNextFoldLine(o,i))?i.start.row:1/0),!(o>n);){var s=this.$lines.createCell(o,e,this.session,c);this.$renderCell(s,e,i,o),r.push(s),o++}return r},this.$renderCell=function(e,t,n,o){var i=e.element,a=this.session,s=i.childNodes[0],l=i.childNodes[1],c=a.$firstLineNumber,u=a.$breakpoints,d=a.$decorations,h=a.gutterRenderer||this.$renderer,f=this.$showFoldWidgets&&a.foldWidgets,p=n?n.start.row:Number.MAX_VALUE,m="ace_gutter-cell ";if(this.$highlightGutterLine&&(o==this.$cursorRow||n&&o=p&&this.$cursorRow<=n.end.row)&&(m+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),u[o]&&(m+=u[o]),d[o]&&(m+=d[o]),this.$annotations[o]&&(m+=this.$annotations[o].className),i.className!=m&&(i.className=m),f){var g=f[o];null==g&&(g=f[o]=a.getFoldWidget(o))}if(g){m="ace_fold-widget ace_"+g;"start"==g&&o==p&&on.right-t.right?"foldWidgets":void 0}}).call(l.prototype),t.Gutter=l})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../range").Range,o=e("../lib/dom"),i=function(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.elt=function(e,t){var n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},this.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var r=this.markers[n];if(r.range){var o=r.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),r.renderer){var i=this.$getTop(o.start.row,e),a=this.$padding+o.start.column*e.characterWidth;r.renderer(t,o,a,i,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,o,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,o,r.clazz,e):o.isMultiLine()?"text"==r.type?this.drawTextMarker(t,o,r.clazz,e):this.drawMultiLineMarker(t,o,r.clazz,e):this.drawSingleLineMarker(t,o,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}if(-1!=this.i)for(;this.ih?4:0)|(c==l?8:0)),o,c==l?0:1,i)},this.drawMultiLineMarker=function(e,t,n,r,o){var i=this.$padding,a=r.lineHeight,s=this.$getTop(t.start.row,r),l=i+t.start.column*r.characterWidth;(o=o||"",this.session.$bidiHandler.isBidiRow(t.start.row))?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",r,null,o)):this.elt(n+" ace_br1 ace_start","height:"+a+"px;right:0;top:"+s+"px;left:"+l+"px;"+(o||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",r,null,o)}else{s=this.$getTop(t.end.row,r);var u=t.end.column*r.characterWidth;this.elt(n+" ace_br12","height:"+a+"px;width:"+u+"px;top:"+s+"px;left:"+i+"px;"+(o||""))}if(!((a=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){s=this.$getTop(t.start.row+1,r);var d=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(d?" ace_br"+d:""),"height:"+a+"px;right:0;top:"+s+"px;left:"+i+"px;"+(o||""))}},this.drawSingleLineMarker=function(e,t,n,r,o,i){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,r,o,i);var a=r.lineHeight,s=(t.end.column+(o||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r),c=this.$padding+t.start.column*r.characterWidth;this.elt(n,"height:"+a+"px;width:"+s+"px;top:"+l+"px;left:"+c+"px;"+(i||""))},this.drawBidiSingleLineMarker=function(e,t,n,r,o,i){var a=r.lineHeight,s=this.$getTop(t.start.row,r),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+a+"px;width:"+e.width+(o||0)+"px;top:"+s+"px;left:"+(l+e.left)+"px;"+(i||""))}),this)},this.drawFullLineMarker=function(e,t,n,r,o){var i=this.$getTop(t.start.row,r),a=r.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,r)-i),this.elt(n,"height:"+a+"px;top:"+i+"px;left:0;right:0;"+(o||""))},this.drawScreenLineMarker=function(e,t,n,r,o){var i=this.$getTop(t.start.row,r),a=r.lineHeight;this.elt(n,"height:"+a+"px;top:"+i+"px;left:0;right:0;"+(o||""))}}).call(i.prototype),t.Marker=i})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../lib/dom"),i=e("../lib/lang"),a=e("./lines").Lines,s=e("../lib/event_emitter").EventEmitter,l=function(e){this.dom=o,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)};(function(){r.implement(this,s),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.MAX_LINE_LENGTH=1e4,this.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},this.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.showSpaces=!1,this.showTabs=!1,this.showEOL=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;nu&&(s=l.end.row+1,u=(l=this.session.getNextFoldLine(s,l))?l.start.row:1/0),!(s>o);){var d=i[a++];if(d){this.dom.removeChildren(d),this.$renderLine(d,s,s==u&&l),c&&(d.style.top=this.$lines.computeLineTop(s,e,this.session)+"px");var h=e.lineHeight*this.session.getRowLength(s)+"px";d.style.height!=h&&(c=!0,d.style.height=h)}s++}if(c)for(;a0;o--)this.$lines.shift();if(t.lastRow>e.lastRow)for(o=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);o>0;o--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow))},this.$renderLinesFragment=function(e,t,n){for(var r=[],i=t,a=this.session.getNextFoldLine(i),s=a?a.start.row:1/0;i>s&&(i=a.end.row+1,s=(a=this.session.getNextFoldLine(i,a))?a.start.row:1/0),!(i>n);){var l=this.$lines.createCell(i,e,this.session),c=l.element;this.dom.removeChildren(c),o.setStyle(c.style,"height",this.$lines.computeLineHeight(i,e,this.session)+"px"),o.setStyle(c.style,"top",this.$lines.computeLineTop(i,e,this.session)+"px"),this.$renderLine(c,i,i==s&&a),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",r.push(l),i++}return r},this.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,r=this.$lines;r.getLength();)r.pop();r.push(this.$renderLinesFragment(e,t,n))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){for(var o,a=this,s=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,l=this.dom.createFragment(this.element),c=0;o=s.exec(r);){var u=o[1],d=o[2],h=o[3],f=o[4],p=o[5];if(a.showSpaces||!d){var m=c!=o.index?r.slice(c,o.index):"";if(c=o.index+o[0].length,m&&l.appendChild(this.dom.createTextNode(m,this.element)),u){var g=a.session.getScreenTabSize(t+o.index);l.appendChild(a.$tabStrings[g].cloneNode(!0)),t+=g-1}else if(d){if(a.showSpaces)(y=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",y.textContent=i.stringRepeat(a.SPACE_CHAR,d.length),l.appendChild(y);else l.appendChild(this.com.createTextNode(d,this.element))}else if(h){(y=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",y.textContent=i.stringRepeat(a.SPACE_CHAR,h.length),l.appendChild(y)}else if(f){t+=1,(y=this.dom.createElement("span")).style.width=2*a.config.characterWidth+"px",y.className=a.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",y.textContent=a.showSpaces?a.SPACE_CHAR:f,l.appendChild(y)}else if(p){t+=1,(y=this.dom.createElement("span")).style.width=2*a.config.characterWidth+"px",y.className="ace_cjk",y.textContent=p,l.appendChild(y)}}}if(l.appendChild(this.dom.createTextNode(c?r.slice(c):r,this.element)),this.$textToken[n.type])e.appendChild(l);else{var v="ace_"+n.type.replace(/\./g," ace_"),y=this.dom.createElement("span");"fold"==n.type&&(y.style.width=n.value.length*this.config.characterWidth+"px"),y.className=v,y.appendChild(l),e.appendChild(y)}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);if(r<=0||r>=n)return t;if(" "==t[0]){for(var o=(r-=r%this.tabSize)/this.tabSize,i=0;i=a;)s=this.$renderToken(l,s,u,d.substring(0,a-r)),d=d.substring(a-r),r=a,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(i.stringRepeat("\xa0",n.indent),this.element)),s=0,a=n[++o]||Number.MAX_VALUE;0!=d.length&&(r+=d.length,s=this.$renderToken(l,s,u,d))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,s,null,"",!0)},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],o=r.value;this.displayIndentGuides&&(o=this.renderIndentGuide(e,o)),o&&(n=this.$renderToken(e,n,r,o));for(var i=1;ithis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,r,o);n=this.$renderToken(e,n,r,o)}},this.$renderOverflowMessage=function(e,t,n,r,o){n&&this.$renderToken(e,t,n,r.slice(0,this.MAX_LINE_LENGTH-t));var i=this.dom.createElement("span");i.className="ace_inline_button ace_keyword ace_toggle_wrap",i.textContent=o?"":"",e.appendChild(i)},this.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var r=this.$getFoldLineTokens(t,n);else r=this.session.getTokens(t);var o=e;if(r.length){var i=this.session.getRowSplitData(t);if(i&&i.length){this.$renderWrappedLine(e,r,i);o=e.lastChild}else{o=e;this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o)),this.$renderSimpleLine(o,r)}}else this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o));if(this.showEOL&&o){n&&(t=n.end.row);var a=this.dom.createElement("span");a.className="ace_invisible ace_invisible_eol",a.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,o.appendChild(a)}},this.$getFoldLineTokens=function(e,t){var n=this.session,r=[];var o=n.getTokens(e);return t.walk((function(e,t,i,a,s){null!=e?r.push({type:"fold",value:e}):(s&&(o=n.getTokens(t)),o.length&&function(e,t,n){for(var o=0,i=0;i+e[o].value.lengthn-t&&(a=a.substring(0,n-t)),r.push({type:e[o].type,value:a}),i=t+a.length,o+=1);in?r.push({type:e[o].type,value:a.substring(0,n-i)}):r.push(e[o]),i+=a.length,o+=1}}(o,a,i))}),t.end.row,this.session.getLine(t.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){}}).call(l.prototype),t.Text=l})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../lib/dom"),o=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)};(function(){this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)r.setStyle(t[n].style,"opacity",e?"":"0")},this.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&r.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},this.$stopCssAnimation=function(){this.$isAnimating=!1,r.removeCssClass(this.element,"ace_animate-blinking")},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,r.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},this.addCursor=function(){var e=r.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,r.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&r.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),r.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||a.top<0)&&n>1)){var s=this.cursors[o++]||this.addCursor(),l=s.style;this.drawCursor?this.drawCursor(s,a,e,t[n],this.session):this.isCursorInView(a,e)?(r.setStyle(l,"display","block"),r.translate(s,a.left,a.top),r.setStyle(l,"width",Math.round(e.characterWidth)+"px"),r.setStyle(l,"height",e.lineHeight+"px")):r.setStyle(l,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=a,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./lib/dom"),i=e("./lib/event"),a=e("./lib/event_emitter").EventEmitter,s=32768,l=function(e){this.element=o.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=o.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,i.addListener(this.element,"scroll",this.onScroll.bind(this)),i.addListener(this.element,"mousedown",i.preventDefault)};(function(){r.implement(this,a),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(l.prototype);var c=function(e,t){l.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=o.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};r.inherits(c,l),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>s?(this.coeff=s/e,e=s):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(c.prototype);var u=function(e,t){l.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(u,l),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(u.prototype),t.ScrollBar=c,t.ScrollBarV=c,t.ScrollBarH=u,t.VScrollBar=c,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var r=e("./lib/event"),o=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(r.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}};(function(){this.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(r.nextFrame(this._flush),this.pending=!0)},this.clear=function(e){var t=this.changes;return this.changes=0,t}}).call(o.prototype),t.RenderLoop=o})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var r=e("../lib/oop"),o=e("../lib/dom"),i=e("../lib/lang"),a=e("../lib/event"),s=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=256,u="function"==typeof ResizeObserver,d=200,h=t.FontMetrics=function(e){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=i.stringRepeat("X",c),this.$characterSize={width:0,height:0},u?this.$addObserver():this.checkForSizeChanges()};(function(){r.implement(this,l),this.$characterSize={width:0,height:0},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",s.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=a.onIdle((function t(){e.checkForSizeChanges(),a.onIdle(t,500)}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.textContent=i.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},this.$getZoom=function e(t){return t&&t.parentElement?(window.getComputedStyle(t).zoom||1)*e(t.parentElement):1},this.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=o.buildDom([e(0,0),e(d,0),e(0,d),e(d,d)],this.el)},this.transformCoordinates=function(e,t){e&&(e=i(1/this.$getZoom(this.el),e));function n(e,t,n){var r=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/r,(+e[1]*n[0]-e[0]*n[1])/r]}function r(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[e[0]+t[0],e[1]+t[1]]}function i(e,t){return[e*t[0],e*t[1]]}function a(e){var t=e.getBoundingClientRect();return[t.left,t.top]}this.els||this.$initTransformMeasureNodes();var s=a(this.els[0]),l=a(this.els[1]),c=a(this.els[2]),u=a(this.els[3]),h=n(r(u,l),r(u,c),r(o(l,c),o(u,s))),f=i(1+h[0],r(l,s)),p=i(1+h[1],r(c,s));if(t){var m=t,g=h[0]*m[0]/d+h[1]*m[1]/d+1,v=o(i(m[0],f),i(m[1],p));return o(i(1/g/d,v),s)}var y=r(e,s),b=n(r(f,i(h[0],y)),r(p,i(h[1],y)),y);return i(d,b)}}).call(h.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=e("./lib/dom"),i=e("./config"),a=e("./layer/gutter").Gutter,s=e("./layer/marker").Marker,l=e("./layer/text").Text,c=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,h=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,p=e("./lib/event_emitter").EventEmitter,m='.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_editor {position: relative;overflow: hidden;padding: 0;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;box-sizing: border-box;min-width: 100%;contain: style size layout;font-variant-ligatures: no-common-ligatures;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;contain: style size layout;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {position: absolute;top: 0;left: 0;right: 0;padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {contain: strict;position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;contain: strict;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: transparent;color: inherit;z-index: 1000;opacity: 1;}.ace_composition_placeholder { color: transparent }.ace_composition_marker { border-bottom: 1px solid;position: absolute;border-radius: 0;margin-top: 1px;}[ace_nocontext=true] {transform: none!important;filter: none!important;clip-path: none!important;mask : none!important;contain: none!important;perspective: none!important;mix-blend-mode: initial!important;z-index: auto;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;height: 1000000px;contain: style size layout;}.ace_text-layer {font: inherit !important;position: absolute;height: 1000000px;width: 1000000px;contain: style size layout;}.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {contain: style size layout;position: absolute;top: 0;left: 0;right: 0;}.ace_hidpi .ace_text-layer,.ace_hidpi .ace_gutter-layer,.ace_hidpi .ace_content,.ace_hidpi .ace_gutter {contain: strict;will-change: transform;}.ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group {contain: strict;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {opacity: 0;}.ace_smooth-blinking .ace_cursor {transition: opacity 0.18s;}.ace_animate-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: step-end;animation-name: blink-ace-animate;animation-iteration-count: infinite;}.ace_animate-blinking.ace_smooth-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: ease-in-out;animation-name: blink-ace-animate-smooth;}@keyframes blink-ace-animate {from, to { opacity: 1; }60% { opacity: 0; }}@keyframes blink-ace-animate-smooth {from, to { opacity: 1; }45% { opacity: 1; }60% { opacity: 0; }85% { opacity: 0; }}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_error_bracket {position: absolute;border-bottom: 1px solid #DE5555;border-radius: 0;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;box-sizing: border-box;}.ace_line .ace_fold {box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_inline_button {border: 1px solid lightgray;display: inline-block;margin: -1px 8px;padding: 0 5px;pointer-events: auto;cursor: pointer;}.ace_inline_button:hover {border-color: gray;background: rgba(200,200,200,0.2);display: inline-block;pointer-events: auto;}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_mobile-menu {position: absolute;line-height: 1.5;border-radius: 4px;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;background: white;box-shadow: 1px 3px 2px grey;border: 1px solid #dcdcdc;color: black;}.ace_dark > .ace_mobile-menu {background: #333;color: #ccc;box-shadow: 1px 3px 2px grey;border: 1px solid #444;}.ace_mobile-button {padding: 2px;cursor: pointer;overflow: hidden;}.ace_mobile-button:hover {background-color: #eee;opacity:1;}.ace_mobile-button:active {background-color: #ddd;}.ace_placeholder {font-family: arial;transform: scale(0.9);transform-origin: left;white-space: pre;opacity: 0.7;margin: 0 10px;}',g=e("./lib/useragent"),v=g.isIE;o.importCssString(m,"ace_editor.css",!1);var y=function(e,t){var n=this;this.container=e||o.createElement("div"),o.addCssClass(this.container,"ace_editor"),o.HI_DPI&&o.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==i.get("useStrictCSP")&&i.set("useStrictCSP",!1),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new s(this.content);var r=this.$textLayer=new l(this.content);this.canvas=r.element,this.$markerFront=new s(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!g.isIOS,this.$loop=new h(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),i.resetOptions(this),i._signal("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,p),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),o.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var o=this.container;r||(r=o.clientHeight||o.scrollHeight),n||(n=o.clientWidth||o.scrollWidth);var i=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(i|this.$changes,!0):this.$loop.schedule(i|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){r-=this.$extraHeight||0;var i=0,a=this.$size,s={width:a.width,height:a.height,scrollerHeight:a.scrollerHeight,scrollerWidth:a.scrollerWidth};if(r&&(e||a.height!=r)&&(a.height=r,i|=this.CHANGE_SIZE,a.scrollerHeight=a.height,this.$horizScroll&&(a.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(e||a.width!=n)){i|=this.CHANGE_SIZE,a.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,o.setStyle(this.scrollBarH.element.style,"left",t+"px"),o.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),a.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),o.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";o.setStyle(this.scrollBarH.element.style,"right",l),o.setStyle(this.scroller.style,"right",l),o.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)}return a.$dirty=!n||!r,i&&this._signal("resize",s),i},this.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var r=this.layerConfig,i=n.top,a=n.left;i-=r.offset;var s=t&&t.useTextareaForIME?this.lineHeight:v?0:1;if(i<0||i>r.height-s)o.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-s;if(t)if(t.useTextareaForIME){var u=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else i+=this.lineHeight+2;else i+=this.lineHeight;(a-=this.scrollLeft)>this.$size.scrollerWidth-l&&(a=this.$size.scrollerWidth-l),a+=this.gutterWidth+this.margin.left,o.setStyle(e,"height",s+"px"),o.setStyle(e,"width",l+"px"),o.translate(this.textarea,Math.min(a,this.$size.scrollerWidth-l),Math.min(i,c))}}}else o.translate(this.textarea,-100,0)}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},this.setMargin=function(e,t,n,r){var o=this.margin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),o.translate(this.content,-this.scrollLeft,-n.offset);var i=n.width+2*this.$padding+"px",a=n.minHeight+"px";o.setStyle(this.content.style,"width",i),o.setStyle(this.content.style,"height",a)}if(e&this.CHANGE_H_SCROLL&&(o.translate(this.content,-this.scrollLeft,-n.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?this.$showGutter&&this.$gutterLayer.update(n):e&this.CHANGE_CURSOR&&this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var o=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,o=this.$getLongestLine(),i=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-o-2*this.$padding<0),a=this.$horizScroll!==i;a&&(this.$horizScroll=i,this.scrollBarH.setVisible(i));var s=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,r-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,o+2*this.$padding-t.scrollerWidth+u.right)));var d=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+c<0||this.scrollTop>u.top),h=s!==d;h&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var f,p,m=this.scrollTop%this.lineHeight,g=Math.ceil(l/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-m)/this.lineHeight)),y=v+g,b=this.lineHeight;v=e.screenToDocumentRow(v,0);var w=e.getFoldLine(v);w&&(v=w.start.row),f=e.documentToScreenRow(v,0),p=e.getRowLength(v)*b,y=Math.min(e.screenToDocumentRow(y,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(y)*b+p,m=this.scrollTop-f*b;var _=0;return(this.layerConfig.width!=o||a)&&(_=this.CHANGE_H_SCROLL),(a||h)&&(_|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),h&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:v,firstRowScreen:f,lastRow:y,lineHeight:b,characterWidth:this.characterWidth,minHeight:l,maxHeight:r,offset:m,gutterOffset:b?Math.max(0,Math.ceil((m+t.height-t.scrollerHeight)/b)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(o-this.$padding),_},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1)&&!(tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(e),o=r.left,i=r.top,a=n&&n.top||0,s=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+a>i?(t&&l+a>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):l+this.$size.scrollerHeight-so?(o=1-this.scrollMargin.top||(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},this.pixelToScreenCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([e,t]);e=r[1]-this.gutterWidth-this.margin.left,t=r[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,i=o/this.characterWidth,a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),s=this.$blockCursor?Math.floor(i):Math.round(i);return{row:a,column:s,side:i-s>0?1:-1,offsetX:o}},this.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([e,t]);e=r[1]-this.gutterWidth-this.margin.left,t=r[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,i=o/this.characterWidth,a=this.$blockCursor?Math.floor(i):Math.round(i),s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(s,Math.max(a,0),o)},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),o=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,e)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth)),i=r.row*this.lineHeight;return{pageX:n.left+o-this.scrollLeft,pageY:n.top+i-this.scrollTop}},this.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),void 0==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},this.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},this.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),o.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},this.addToken=function(e,t,n,r){var o=this.session;o.bgTokenizer.lines[n]=null;var i={type:t,value:e},a=o.getTokens(n);if(null==r)a.push(i);else for(var s=0,l=0;l50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);t.UIWorkerClient=function(e,t,n){var r=null,o=!1,s=Object.create(i),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),r&&(o?setTimeout(d):d())}});u.setEmitSync=function(e){o=e};var d=function(){var e=c.shift();e.command?r[e.command].apply(r,e.args):e.event&&s._signal(e.event,e.data)};return s.postMessage=function(e){u.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},s.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],(function(e){for(r=new e[n](s);c.length;)d()})),u},t.WorkerClient=l,t.createWorker=s})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,i=e("./lib/oop"),a=function(e,t,n,r,o,i){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=i,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){a.onCursorChange()}))},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){i.implement(this,o),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=n.addMarker(new r(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)})),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,i=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=n),o&&!this.session.$fromUndo)if("insert"===e.action)for(var a=this.others.length-1;a>=0;a--){var s={row:(l=this.others[a]).row,column:l.column+i};this.doc.insertMergedLines(s,e.lines)}else if("remove"===e.action)for(a=this.others.length-1;a>=0;a--){var l;s={row:(l=this.others[a]).row,column:l.column+i};this.doc.remove(new r(s.row,s.column,s.row,s.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,o){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),o,null,!1)};n(this.pos,this.mainClass);for(var o=this.others.length;o--;)n(this.others[o],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var r=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new r(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var r=e("./range_list").RangeList,o=e("./range").Range,i=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,s=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search);var d=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var r=this.rangeList.add(e);return this.$onAddRange(e),r.length&&this.$onRemoveRange(r),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.cursor),i=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(r,i).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],i=e.column0;)y--;if(y>0)for(var b=0;r[b].isEmpty();)b++;for(var w=y;w>=b;w--)r[w].isEmpty()&&r.splice(w,1)}return r}}.call(i.prototype);var h=e("./editor").Editor;function f(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(c.defaultCommands),function(e){if(!e.textInput)return;var t=e.textInput.getElement(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}s.addListener(t,"keydown",(function(t){var o=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&o?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()}),e),s.addListener(t,"keyup",r,e),s.addListener(t,"blur",r,e)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var o=t.indexOf(r);-1!=o&&t.splice(o,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,o=n&&n.keepOrder,a=1==n||n&&n.$byLines,s=this.session,l=this.selection,c=l.rangeList,u=(o?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=l._eventRegistry;l._eventRegistry={};var h=new i(s);this.inVirtualSelectionMode=!0;for(var f=u.length;f--;){if(a)for(;f>0&&u[f].start.row==u[f-1].end.row;)f--;h.fromOrientedRange(u[f]),h.index=f,this.selection=s.selection=h;var p=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===p||(r=p),h.toOrientedRange(u[f])}h.detach(),this.selection=s.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=d,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;ra&&(a=n.column),ru?e.insert(r,l.stringRepeat(" ",i-u)):e.remove(new o(r.row,r.column,r.row,r.column-i+u)),t.start.column=t.end.column=a,t.start.row=t.end.row=r.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,h=u.end.row,f=d==h;if(f){var p,m=this.session.getLength();do{p=this.session.getLine(h)}while(/[=:]/.test(p)&&++h0);d<0&&(d=0),h>=m&&(h=m-1)}var g=this.session.removeFullLines(d,h);g=this.$reAlignText(g,f),this.session.insert({row:d,column:0},g.join("\n")+"\n"),f||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,r,o,i=!0,a=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,o=t[3].length,t):(n+r+o!=t[1].length+t[2].length+t[3].length&&(a=!1),n!=t[1].length&&(i=!1),n>t[1].length&&(n=t[1].length),rt[3].length&&(o=t[3].length),t):[e]})).map(t?c:i?a?function(e){return e[2]?s(n+r-e[2].length)+e[2]+s(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?s(n)+e[2]+s(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function s(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?s(n)+e[2]+s(r-e[2].length+o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(h.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=f,e("./config").defineOptions(h.prototype,"editor",{enableMultiselect:{set:function(e){f(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../../range").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var o=/\S/,i=e.getLine(t),a=i.search(o);if(-1!=a){for(var s=n||i.length,l=e.getLength(),c=t,u=t;++tc){var f=e.getLine(u).length;return new r(c,s,u,f)}}},this.openingBracketBlock=function(e,t,n,o,i){var a={row:n,column:o+1},s=e.$findClosingBracket(t,a,i);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),"start"==l&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),r.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,n,o,i){var a={row:n,column:o},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,r.fromPoints(s,a)}}).call(o.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.$id="ace/theme/textmate",e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./lib/dom");function o(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,o=r.start.row,i=r.end.row,a="add"==e.action,s=o+1;st[n].column&&n++,i.unshift(n,0),t.splice.apply(t,i),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},this.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},this.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=r.createElement("div"),e.el.innerHTML=e.html),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex=3),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var o=this.session.lineWidgets;e.row!=n.end.row||o[n.start.row]?e.hidden=!0:o[n.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(n){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],r=[];n;)r.push(n),n=n.$oldWidget;return r},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,r=t.layerConfig;if(n&&n.length){for(var o=1/0,i=0;i0&&!r[o];)o--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var a=o;a<=i;a++){var s=r[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+"px";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var l=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-n.offset+"px";var c=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(c-=t.scrollLeft),s.el.style.left=c+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=n.width+2*n.padding+"px"),s.fixedWidth?s.el.style.right=t.scrollBar.getWidth()+"px":s.el.style.right=""}}}}}).call(o.prototype),t.LineWidgets=o})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";var r=e("../line_widgets").LineWidgets,o=e("../lib/dom"),i=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),s=a.row,l=n.widgetManager.getWidgetsAtRow(s).filter((function(e){return"errorMarker"==e.type}))[0];l?l.destroy():s-=t;var c,u=function(e,t,n){var r=e.getAnnotations().sort(i.comparePoints);if(r.length){var o=function(e,t,n){for(var r=0,o=e.length-1;r<=o;){var i=r+o>>1,a=n(t,e[i]);if(a>0)r=i+1;else{if(!(a<0))return i;o=i-1}}return-(r+1)}(r,{row:t,column:-1},i.comparePoints);o<0&&(o=-o-1),o>=r.length?o=n>0?0:r.length-1:0===o&&n<0&&(o=r.length-1);var a=r[o];if(a&&n){if(a.row===t){do{a=r[o+=n]}while(a&&a.row===t);if(!a)return r.slice()}var s=[];t=a.row;do{s[n<0?"unshift":"push"](a),a=r[o+=n]}while(a&&a.row==t);return s.length&&s}}}(n,s,t);if(u){var d=u[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,c=e.renderer.$gutterLayer.$annotations[a.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var h={row:a.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},f=h.el.appendChild(o.createElement("div")),p=h.el.appendChild(o.createElement("div"));p.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;p.style.left=m+e.renderer.gutterWidth-5+"px",h.el.className="error_widget_wrapper",f.className="error_widget "+c.className,f.innerHTML=c.text.join("
"),f.appendChild(o.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return h.destroy(),{command:"null"}};h.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(h),e.off("changeSelection",h.destroy),e.off("changeSession",h.destroy),e.off("mouseup",h.destroy),e.off("change",h.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",h.destroy),e.on("changeSession",h.destroy),e.on("mouseup",h.destroy),e.on("change",h.destroy),e.session.widgetManager.addLineWidget(h),h.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:h.el.offsetHeight})},o.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,r){"use strict";e("./lib/fixoldbrowsers");var o=e("./lib/dom"),i=e("./lib/event"),a=e("./range").Range,s=e("./editor").Editor,l=e("./edit_session").EditSession,c=e("./undomanager").UndoManager,u=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.require=e,t.define=n.amdD,t.edit=function(e,n){if("string"==typeof e){var r=e;if(!(e=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(e&&e.env&&e.env.editor instanceof s)return e.env.editor;var a="";if(e&&/input|textarea/i.test(e.tagName)){var l=e;a=l.value,e=o.createElement("pre"),l.parentNode.replaceChild(e,l)}else e&&(a=e.textContent,e.innerHTML="");var c=t.createEditSession(a),d=new s(new u(e),c,n),h={document:c,editor:d,onResize:d.resize.bind(d,null)};return l&&(h.textarea=l),i.addListener(window,"resize",h.onResize),d.on("destroy",(function(){i.removeListener(window,"resize",h.onResize),h.editor.container.env=null})),d.container.env=d.env=h,d},t.createEditSession=function(e,t){var n=new l(e,t);return n.setUndoManager(new c),n},t.Range=a,t.Editor=s,t.EditSession=l,t.UndoManager=c,t.VirtualRenderer=u,t.version=t.config.version})),ace.require(["ace/ace"],(function(t){for(var n in t&&(t.config.init(!0),t.define=ace.define),window.ace||(window.ace=t),t)t.hasOwnProperty(n)&&(window.ace[n]=t[n]);window.ace.default=window.ace,e&&(e.exports=window.ace)}))},6866:function(e,t,n){e=n.nmd(e),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(e,t,n){"use strict";var r=e("./lib/oop"),o=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),i=e("./editor").Editor,a=e("./virtual_renderer").VirtualRenderer,s=e("./edit_session").EditSession,l=function(e,t,n){this.BELOW=1,this.BESIDE=0,this.$container=e,this.$theme=t,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(n||1),this.$cEditor=this.$editors[0],this.on("focus",function(e){this.$cEditor=e}.bind(this))};(function(){r.implement(this,o),this.$createEditor=function(){var e=document.createElement("div");e.className=this.$editorCSS,e.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(e);var t=new i(new a(e,this.$theme));return t.on("focus",function(){this._emit("focus",t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(e<1)throw"The number of splits have to be > 0!";if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach((function(t){t.setTheme(e)}))},this.setKeyboardHandler=function(e){this.$editors.forEach((function(t){t.setKeyboardHandler(e)}))},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach((function(t){t.setFontSize(e)}))},this.$cloneSession=function(e){var t=new s(e.getDocument(),e.getMode()),n=e.getUndoManager();return t.setUndoManager(n),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n;n=null==t?this.$cEditor:this.$editors[t];var r=this.$editors.some((function(t){return t.session===e}));return r&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation!=e&&(this.$orientation=e,this.resize())},this.resize=function(){var e,t=this.$container.clientWidth,n=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var r=t/this.$splits,o=0;or.length?e:r,l=e.length>r.length?r:e,c=s.indexOf(l);if(-1!=c)return a=[new t.Diff(1,s.substring(0,c)),new t.Diff(0,l),new t.Diff(1,s.substring(c+l.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==l.length)return[new t.Diff(n,e),new t.Diff(1,r)];var u=this.diff_halfMatch_(e,r);if(u){var d=u[0],h=u[1],f=u[2],p=u[3],m=u[4],g=this.diff_main(d,f,o,i),v=this.diff_main(h,p,o,i);return g.concat([new t.Diff(0,m)],v)}return o&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,i):this.diff_bisect_(e,r,i)},t.prototype.diff_lineMode_=function(e,r,o){var i=this.diff_linesToChars_(e,r);e=i.chars1,r=i.chars2;var a=i.lineArray,s=this.diff_main(e,r,!1,o);this.diff_charsToLines_(s,a),this.diff_cleanupSemantic(s),s.push(new t.Diff(0,""));for(var l=0,c=0,u=0,d="",h="";l=1&&u>=1){s.splice(l-c-u,c+u),l=l-c-u;for(var f=this.diff_main(d,h,!1,o),p=f.length-1;p>=0;p--)s.splice(l,0,f[p]);l+=f.length}u=0,c=0,d="",h=""}l++}return s.pop(),s},t.prototype.diff_bisect_=function(e,r,o){for(var i=e.length,a=r.length,s=Math.ceil((i+a)/2),l=s,c=2*s,u=new Array(c),d=new Array(c),h=0;ho);b++){for(var w=-b+m;w<=b-g;w+=2){for(var _=l+w,S=(E=w==-b||w!=b&&u[_-1]i)g+=2;else if(S>a)m+=2;else if(p){if((k=l+f-w)>=0&&k=(C=i-d[k]))return this.diff_bisectSplit_(e,r,E,S,o)}}for(var x=-b+v;x<=b-y;x+=2){for(var C,k=l+x,Z=(C=x==-b||x!=b&&d[k-1]i)y+=2;else if(Z>a)v+=2;else if(!p){if((_=l+f-x)>=0&&_=(C=i-C))return this.diff_bisectSplit_(e,r,E,S,o)}}}}return[new t.Diff(n,e),new t.Diff(1,r)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=this.diff_main(i,a,!1,o),u=this.diff_main(s,l,!1,o);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,s=n.length;ar?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,i,a,s,u]:null}var a,s,l,c,u,d=i(n,r,Math.ceil(n.length/4)),h=i(n,r,Math.ceil(n.length/2));return d||h?(a=h?d&&d[4].length>h[4].length?d:h:d,e.length>t.length?(s=a[0],l=a[1],c=a[2],u=a[3]):(c=a[0],u=a[1],s=a[2],l=a[3]),[s,l,c,u,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,s=0,l=0,c=0,u=0,d=0;s0?o[i-1]:-1,l=0,c=0,u=0,d=0,a=null,r=!0)),s++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),s=1;s=m?(p>=h.length/2||p>=f.length/2)&&(e.splice(s,0,new t.Diff(0,f.substring(0,p))),e[s-1][1]=h.substring(0,h.length-p),e[s+1][1]=f.substring(p),s++):(m>=h.length/2||m>=f.length/2)&&(e.splice(s,0,new t.Diff(0,h.substring(0,m))),e[s-1][0]=1,e[s-1][1]=f.substring(0,f.length-m),e[s+1][0]=n,e[s+1][1]=h.substring(m),s++),s++}s++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),s=i&&r.match(t.whitespaceRegex_),l=a&&o.match(t.whitespaceRegex_),c=s&&r.match(t.linebreakRegex_),u=l&&o.match(t.linebreakRegex_),d=c&&e.match(t.blanklineEndRegex_),h=u&&n.match(t.blanklineStartRegex_);return d||h?5:c||u?4:i&&!s&&l?3:s||l?2:i||a?1:0}for(var r=1;r=h&&(h=f,c=o,u=i,d=a)}e[r-1][1]!=c&&(c?e[r-1][1]=c:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,o=[],i=0,a=null,s=0,l=!1,c=!1,u=!1,d=!1;s0?o[i-1]:-1,u=d=!1),r=!0)),s++;r&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var r,o=0,i=0,a=0,s="",l="";o1?(0!==i&&0!==a&&(0!==(r=this.diff_commonPrefix(l,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=l.substring(0,r):(e.splice(0,0,new t.Diff(0,l.substring(0,r))),o++),l=l.substring(r),s=s.substring(r)),0!==(r=this.diff_commonSuffix(l,s))&&(e[o][1]=l.substring(l.length-r)+e[o][1],l=l.substring(0,l.length-r),s=s.substring(0,s.length-r))),o-=i+a,e.splice(o,i+a),s.length&&(e.splice(o,0,new t.Diff(n,s)),o++),l.length&&(e.splice(o,0,new t.Diff(1,l)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,s="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(o=1;ot));r++)a=o,s=i;return e.length!=r&&e[r][0]===n?s:s+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],r=/&/g,o=//g,a=/\n/g,s=0;s");switch(l){case 1:t[s]=''+c+"";break;case n:t[s]=''+c+"";break;case 0:t[s]=""+c+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,n);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,s),a)));var l,c,u=1<=p;v--){var y=r[e.charAt(v-1)];if(g[v]=0===f?(g[v+1]<<1|1)&y:(g[v+1]<<1|1)&y|(d[v+1]|d[v])<<1|1|d[v+1],g[v]&u){var b=i(f,v-1);if(b<=a){if(a=b,!((s=v-1)>n))break;p=Math.max(1,2*n-s)}}}if(i(f+1,n)>a)break;d=g}return s},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&"undefined"==typeof r&&"undefined"==typeof o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&"undefined"==typeof o)i=e,a=r;else{if("string"!=typeof e||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var s=[],l=new t.patch_obj,c=0,u=0,d=0,h=i,f=i,p=0;p=2*this.Patch_Margin&&c&&(this.patch_addContext_(l,h),s.push(l),l=new t.patch_obj,c=0,h=f,u=d)}1!==m&&(u+=g.length),m!==n&&(d+=g.length)}return c&&(this.patch_addContext_(l,h),s.push(l)),s},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;rthis.Match_MaxBits?-1!=(s=this.match_main(t,u.substring(0,this.Match_MaxBits),c))&&(-1==(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,u,c),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-c,u==(l=-1==d?t.substring(s,s+u.length):t.substring(s,d+this.Match_MaxBits)))t=t.substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+u.length);else{var h=this.diff_main(u,l,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(h)/u.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(h);for(var f,p=0,m=0;ma[0][1].length){var s=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n;else if(n>a[a.length-1][1].length){s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),i.length1+=s,i.length2+=s}return r},t.prototype.patch_splitMax=function(e){for(var r=this.Match_MaxBits,o=0;o2*r?(c.length1+=h.length,a+=h.length,u=!1,c.diffs.push(new t.Diff(d,h)),i.diffs.shift()):(h=h.substring(0,r-c.length1-this.Patch_Margin),c.length1+=h.length,a+=h.length,0===d?(c.length2+=h.length,s+=h.length):u=!1,c.diffs.push(new t.Diff(d,h)),h==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(h.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var f=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==f&&(c.length1+=f.length,c.length2+=f.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=f:c.diffs.push(new t.Diff(0,f))),u||e.splice(++o,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n=43)}})).catch((function(){return!1}))}function S(e){return"boolean"===typeof m?c.resolve(m):_(e).then((function(e){return m=e}))}function x(e){var t=g[e.name],n={};n.promise=new c((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function C(e){var t=g[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function k(e,t){var n=g[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function Z(e,t){return new c((function(n,r){if(g[e.name]=g[e.name]||D(),e.db){if(!t)return n(e.db);x(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var i=a.open.apply(a,o);t&&(i.onupgradeneeded=function(t){var n=i.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(p)}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){var t=i.result;t.onversionchange=function(e){e.target.close()},n(t),C(e)}}))}function E(e){return Z(e,!1)}function R(e){return Z(e,!0)}function T(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.versione.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function A(e){return new c((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)}))}function P(e){return l([w(atob(e.data))],{type:e.type})}function M(e){return e&&e.__local_forage_encoded_blob}function O(e){var t=this,n=t._initReady().then((function(){var e=g[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return d(n,e,e),n}function L(e){x(e);for(var t=g[e.name],n=t.forages,r=0;r0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return c.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),R(e)})).then((function(){return L(e).then((function(){I(e,t,n,r-1)}))})).catch(n);n(i)}}function D(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function N(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var o=g[n.name];o||(o=D(),g[n.name]=o),o.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=O);var i=[];function a(){return c.resolve()}for(var s=0;s>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c}function pe(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=K[(3&n[t])<<4|n[t+1]>>4],r+=K[(15&n[t+1])<<2|n[t+2]>>6],r+=K[63&n[t+2]];return n.length%3===2?r=r.substring(0,r.length-1)+"=":n.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function me(e,t){var n="";if(e&&(n=he.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===he.call(e.buffer))){var r,o=X;e instanceof ArrayBuffer?(r=e,o+=ee):(r=e.buffer,"[object Int8Array]"===n?o+=ne:"[object Uint8Array]"===n?o+=re:"[object Uint8ClampedArray]"===n?o+=oe:"[object Int16Array]"===n?o+=ie:"[object Uint16Array]"===n?o+=se:"[object Int32Array]"===n?o+=ae:"[object Uint32Array]"===n?o+=le:"[object Float32Array]"===n?o+=ce:"[object Float64Array]"===n?o+=ue:t(new Error("Failed to get type for BinaryArray"))),t(o+pe(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n=Y+e.type+"~"+pe(this.result);t(X+te+n)},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(a){console.error("Couldn't convert value into a JSON string: ",e),t(null,a)}}function ge(e){if(e.substring(0,Q)!==X)return JSON.parse(e);var t,n=e.substring(de),r=e.substring(Q,de);if(r===te&&J.test(n)){var o=n.match(J);t=o[1],n=n.substring(o[0].length)}var i=fe(n);switch(r){case ee:return i;case te:return l([i],{type:t});case ne:return new Int8Array(i);case re:return new Uint8Array(i);case oe:return new Uint8ClampedArray(i);case ie:return new Int16Array(i);case se:return new Uint16Array(i);case ae:return new Int32Array(i);case le:return new Uint32Array(i);case ce:return new Float32Array(i);case ue:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}}var ve={serialize:me,deserialize:ge,stringToBuffer:fe,bufferToString:pe};function ye(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function be(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!==typeof e[r]?e[r].toString():e[r];var o=new c((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(o){return r(o)}n.db.transaction((function(o){ye(o,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=ve,o}function we(e,t,n,r,o,i){e.executeSql(n,r,o,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,s){s.rows.length?i(e,a):ye(e,t,(function(){e.executeSql(n,r,o,i)}),i)}),i):i(e,a)}),i)}function _e(e,t){var n=this;e=h(e);var r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return u(r,t),r}function Se(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"SELECT * FROM "+o.storeName,[],(function(n,r){for(var i=r.rows,a=i.length,s=0;s0)return void i(xe.apply(o,[e,s,n,r-1]));a(t)}}))}))})).catch(a)}));return u(i,n),i}function Ce(e,t,n){return xe.apply(this,[e,t,n,1])}function ke(e,t){var n=this;e=h(e);var r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return u(r,t),r}function Ze(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return u(n,e),n}function Ee(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return u(n,e),n}function Re(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){we(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return u(r,t),r}function Te(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],o=0;o '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var o=[],i=0;i0}function Ne(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=Le(e,t._defaultConfig),De()?(t._dbInfo=n,n.serializer=ve,c.resolve()):c.reject()}function je(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return u(n,e),n}function $e(e,t){var n=this;e=h(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return u(r,t),r}function Fe(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,o=r.length,i=localStorage.length,a=1,s=0;s=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):c.reject("Invalid arguments"),u(r,t),r}var Ge={_driver:"localStorageWrapper",_initStorage:Ne,_support:Oe(),iterate:Fe,getItem:$e,setItem:Ue,removeItem:He,clear:je,length:Be,key:ze,keys:We,dropInstance:Ve},qe=function(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)},Ke=function(e,t){for(var n=e.length,r=0;r-1},P.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},M.prototype.clear=function(){this.__data__={hash:new A,map:new(Z||P),string:new A}},M.prototype.delete=function(e){return D(this,e).delete(e)},M.prototype.get=function(e){return D(this,e).get(e)},M.prototype.has=function(e){return D(this,e).has(e)},M.prototype.set=function(e,t){return D(this,e).set(e,t),this};var j=F((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(c,(function(e,t,r,o){n.push(r?o.replace(u,"$1"):t||e)})),n}));function $(e){if("string"==typeof e||B(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function F(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(F.Cache||M),n}F.Cache=M;var z=Array.isArray;function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==S.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:L(e,t);return void 0===r?n:r}},2467:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",h="[object Number]",f="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",S=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[i]=C[a]=C[w]=C[s]=C[_]=C[l]=C[c]=C[u]=C[d]=C[h]=C[f]=C[m]=C[g]=C[v]=C[b]=!1;var k="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,Z="object"==typeof self&&self&&self.Object===Object&&self,E=k||Z||Function("return this")(),R=t&&!t.nodeType&&t,T=R&&e&&!e.nodeType&&e,A=T&&T.exports===R,P=A&&k.process,M=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),O=M&&M.isTypedArray;function L(e,t){for(var n=-1,r=null==e?0:e.length;++ns))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,h=2&n?new be:void 0;for(i.set(e,t),i.set(t,e);++u-1},ve.prototype.set=function(e,t){var n=this.__data__,r=Se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(oe||ve),string:new ge}},ye.prototype.delete=function(e){var t=Ae(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Ae(this,e).get(e)},ye.prototype.has=function(e){return Ae(this,e).has(e)},ye.prototype.set=function(e,t){var n=Ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,r),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ve,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ve){var r=n.__data__;if(!oe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(r)}return n.set(e,t),this.size=n.size,this};var Me=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=o}function We(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Be(e){return null!=e&&"object"==typeof e}var He=O?function(e){return function(t){return e(t)}}(O):function(e){return Be(e)&&ze(e.length)&&!!C[xe(e)]};function Ue(e){return null!=(t=e)&&ze(t.length)&&!Fe(t)?_e(e):Ee(e);var t}e.exports=function(e,t){return ke(e,t)}},888:function(e,t,n){"use strict";var r=n(9047);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6877:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&this.handleMarkers(S);var Z=this.editor.$options;c.editorOptions.forEach((function(t){Z.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option ".concat(t," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))})),this.handleOptions(this.props),Array.isArray(w)&&w.forEach((function(t){"string"===typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)})),y&&this.editor.setKeyboardHandler("ace/keyboard/"+y),n&&(this.refEditor.className+=" "+n),b&&b(this.editor),this.editor.resize(),a&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,r=0;r0&&e.handleMarkers(_,t);for(r=0;r
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
;\n }\n}\n\nLoader.propTypes = {\n size: PropTypes.number,\n themeType: PropTypes.string\n};\n\n/** @type {typeof Loader} */\nconst _export = withStyles(styles)(Loader);\nexport default _export;","// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined\nimport React from 'react';\n\n/**\n * @template P Type of the properties object.\n * @template S Type of the internal state object.\n * @extends {React.Component}\n */\nclass Router extends React.Component {\n /**\n * @param {P} props The React properties of this component.\n */\n constructor(props) {\n super(props);\n this.onHashChangedBound = this.onHashChanged.bind(this);\n }\n\n componentDidMount() {\n window.addEventListener('hashchange', this.onHashChangedBound);\n }\n\n componentWillUnmount() {\n window.removeEventListener('hashchange', this.onHashChangedBound);\n }\n\n onHashChanged() {\n // override this function\n }\n\n /**\n * Gets the location object.\n * @returns {{ tab: string; dialog: string; id: string; arg: string; }}\n */\n static getLocation() {\n let hash = window.location.hash;\n hash = hash.replace(/^#/, '');\n const parts = hash.split('/').map(item => {\n try {\n return item ? decodeURIComponent(item) : ''\n } catch (e) {\n console.error('Router: Cannot decode ' + item);\n return item || '';\n }\n });\n // #tabName/dialogName/deviceId\n return {\n tab: parts[0] || '',\n dialog: parts[1] || '',\n id: parts[2] || '',\n arg: parts[3] || ''\n };\n }\n\n /**\n * Navigate to a new location. Any parameters that are not set will be taken from the current location.\n * @param {string | undefined} [tab]\n * @param {string | undefined} [dialog]\n * @param {string | undefined} [id]\n * @param {string | undefined} [arg]\n */\n static doNavigate(tab, dialog, id, arg) {\n let hash = '';\n const location = Router.getLocation();\n if (arg !== undefined && !id) {\n id = location.id;\n }\n if (id && !dialog) {\n dialog = location.dialog;\n }\n if (dialog && !tab) {\n tab = location.tab;\n } else\n if (tab === null) {\n tab = location.tab;\n }\n\n if (tab) {\n hash = '#' + tab;\n if (dialog) {\n hash += '/' + dialog;\n\n if (id) {\n hash += '/' + id;\n if (arg !== undefined) {\n hash += '/' + arg;\n }\n }\n }\n }\n if (window.location.hash !== hash) {\n window.location.hash = hash;\n }\n }\n}\n\nexport default Router;","// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined\nimport React from 'react';\nimport withStyles from '@mui/styles/withStyles';\nimport Fab from '@mui/material/Fab';\nimport PropTypes from 'prop-types';\n\nimport Toolbar from '@mui/material/Toolbar';\n\nimport I18n from '../i18n';\n\nimport IconSave from '@mui/icons-material/Save';\nimport IconClose from '@mui/icons-material/Close';\n\nconst styles = theme => ({\n buttonIcon: {\n marginRight: 8\n },\n});\n\n/**\n * @typedef {object} LogoProps\n * @property {boolean} noTextOnButtons Are the buttons without text\n * @property {any} theme Theme object (from this.state.theme)\n * @property {boolean} isIFrame bottom position 0 or 38 for iFrame\n * @property {function} onSave on Save handler\n * @property {function} onClose on Close handler\n *\n * @extends {React.Component}\n */\nclass SaveCloseButtons extends React.Component {\n constructor(props) {\n super(props);\n try {\n this.isIFrame = !props.newReact && window.self !== window.top;\n } catch (e) {\n this.isIFrame = !props.newReact;\n }\n }\n\n render() {\n const noTextOnButtons = this.props.noTextOnButtons;\n const buttonStyle = {\n borderRadius: this.props.theme.saveToolbar.button.borderRadius || 3,\n height: this.props.theme.saveToolbar.button.height || 32,\n };\n\n const style = {\n bottom: this.isIFrame ? 38 : 0,\n left: this.props.paddingLeft || 0,\n right: 0,\n position: 'absolute',\n background: this.props.theme.saveToolbar.background\n };\n if (this.props.dense) {\n style.minHeight = 48;\n }\n\n if (this.props.error) {\n buttonStyle.border = '1px solid red';\n }\n\n return \n this.props.onSave(false)}\n style={buttonStyle}\n >\n {!noTextOnButtons && I18n.t('ra_Save')}\n \n this.props.onSave(true)}\n style={Object.assign({}, buttonStyle, {marginLeft: 10})}>\n \n {!noTextOnButtons ? I18n.t('ra_Save and close') : '+'}\n {noTextOnButtons && }\n \n
\n this.props.onClose()} style={buttonStyle}>\n {!noTextOnButtons && I18n.t('ra_Close')}\n \n ;\n }\n}\n\nSaveCloseButtons.propTypes = {\n dense: PropTypes.bool,\n paddingLeft: PropTypes.number,\n noTextOnButtons: PropTypes.bool,\n theme: PropTypes.object,\n isIFrame: PropTypes.bool,\n changed: PropTypes.bool.isRequired,\n error: PropTypes.bool,\n onSave: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n newReact: PropTypes.bool,\n};\n\n/** @type {typeof SaveCloseButtons} */\nconst _export = withStyles(styles)(SaveCloseButtons);\nexport default _export;","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport {FormControl, InputLabel, MenuItem, Select} from '@mui/material';\n\nimport Icon from './Icon';\nimport Utils from './Utils';\nimport I18n from '../i18n';\n\nconst styles = theme => ({\n different: {\n opacity: 0.5\n },\n icon: {\n width: 16,\n height: 16,\n marginRight: 8\n }\n});\n\nclass SelectWithIcon extends Component {\n constructor(props) {\n super(props);\n\n if (this.props.different) {\n this.wordDifferent = this.props.t(this.props.different);\n }\n\n let list;\n if (Array.isArray(this.props.list || this.props.options)) {\n list = this.props.list.map(obj => ({\n name: Utils.getObjectNameFromObj(obj, this.props.lang)\n .replace('system.group.', '')\n .replace('system.user.', '')\n .replace('enum.rooms.', '')\n .replace('enum.functions.', ''),\n value: obj._id,\n icon: obj.common?.icon,\n color: obj.common?.color,\n }));\n } else {\n list = Object.values(this.props.list || this.props.options).map(obj => ({\n name: Utils.getObjectNameFromObj(obj, this.props.lang)\n .replace('system.group.', '')\n .replace('system.user.', '')\n .replace('enum.rooms.', '')\n .replace('enum.functions.', ''),\n value: obj._id,\n icon: obj.common?.icon,\n color: obj.common?.color,\n }));\n }\n\n if (this.props.different && this.props.value === this.props.different) {\n list.unshift({value: this.props.different, name: this.wordDifferent});\n }\n\n if (this.props.allowNone) {\n list.unshift({value: '', name: I18n.t('ra_none')});\n }\n\n this.state = {\n list,\n };\n }\n\n render() {\n if (this.props.allowNone && !this.state.list.find(obj => obj.value === '')) {\n this.timeout = this.timeout || setTimeout(() => {\n this.timeout = null;\n const list = JSON.parse(JSON.stringify(this.state.list));\n list.unshift({value: '', name: I18n.t('ra_none')});\n this.setState({list});\n }, 100);\n } else if (!this.props.allowNone && this.state.list.find(obj => obj.value === '')) {\n this.timeout = this.timeout || setTimeout(() => {\n this.timeout = null;\n const list = JSON.parse(JSON.stringify(this.state.list));\n const i = this.state.list.findIndex(obj => obj.value === '');\n list.splice(i, 1);\n this.setState({list});\n }, 100);\n }\n\n const item = this.state.list.find(it => it.value === this.props.value || (this.props.removePrefix && it.value.replace(this.props.removePrefix, '') === this.props.value));\n\n const style = this.props.value === this.props.different ? {} :\n {\n color: item?.color || undefined,\n backgroundColor: Utils.getInvertedColor(item?.color, this.props.themeType)\n };\n\n if (this.props.dense && this.props.style) {\n Object.assign(style, this.props.style);\n }\n\n const select = {item?.icon ? : null}{item?.name}}\n classes={{root: Utils.clsx(\n this.props.value === this.props.different ? this.props.classes.different : '',\n this.props.dense ? this.props.className : ''\n )}}\n style={style}\n onChange={el => {\n if (this.props.different && el.target.value !== this.props.different) {\n let pos = null;\n for (let i = 0; i < this.state.list.length; i++) {\n if (this.state.list[i].value === this.props.different) {\n pos = i;\n break;\n }\n }\n if (pos !== null) {\n const list = Utils.clone(this.state.list);\n list.splice(pos, 1);\n return this.setState({list}, () => this.props.onChange(el.target.value));\n }\n }\n\n this.props.onChange(this.props.removePrefix ? el.target.value.replace(this.props.removePrefix, '') : el.target.value);\n }}\n >\n {this.state.list.map(el => \n {el.icon ? : null}\n {el.name}\n )}\n ;\n\n if (this.props.dense) {\n return select;\n } else {\n return \n {this.props.label}\n {select}\n ;\n\n }\n }\n}\n\nSelectWithIcon.propTypes = {\n t: PropTypes.func.isRequired,\n lang: PropTypes.string.isRequired,\n themeType: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n disabled: PropTypes.bool,\n list: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n options: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n different: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n label: PropTypes.string,\n fullWidth: PropTypes.bool,\n className: PropTypes.string,\n style: PropTypes.object,\n removePrefix: PropTypes.string,\n allowNone: PropTypes.bool,\n inputProps: PropTypes.object,\n};\n\nexport default withStyles(styles)(SelectWithIcon);","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Icon from './Icon';\nimport Utils from './Utils';\n\nconst styles = theme => ({\n div: {\n borderRadius: 3,\n padding: '0 3px',\n lineHeight: '20px',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n display: 'flex',\n alignItems: 'center'\n },\n icon: {\n width: 16,\n height: 16,\n marginRight: 8,\n verticalAlign: 'middle',\n },\n text: {\n display: 'inline-block',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n});\n\nconst TextWithIcon = props => {\n let item = props.value;\n let prefix = props.removePrefix || '';\n\n if (typeof item === 'string') {\n const list = props.list || props.options;\n if (props.list) {\n if (Array.isArray(list)) {\n const _item = list.find(obj => obj._id === prefix + item);\n if (_item) {\n item = {\n name: Utils.getObjectNameFromObj(_item, props.lang).replace('system.group.', ''),\n value: _item._id,\n icon: _item.common?.icon,\n color: _item.common?.color,\n };\n } else {\n item = {\n name: item,\n value: prefix + item,\n };\n }\n } else if (list[prefix + item]) {\n item = {\n name: Utils.getObjectNameFromObj(list[prefix + item], props.lang).replace('system.group.', ''),\n value: list[prefix + item]._id,\n icon: list[prefix + item].common?.icon,\n color: list[prefix + item].common?.color,\n };\n } else {\n item = {\n name: item,\n value: prefix + item,\n };\n }\n } else {\n item = {\n name: item,\n value: prefix + item,\n };\n }\n } else if (!item || typeof item !== 'object') {\n item = {\n name: '',\n value: '',\n };\n } else {\n item = {\n name: Utils.getObjectNameFromObj(item, props.lang)\n .replace('system.group.', '')\n .replace('system.user.', '')\n .replace('enum.rooms.', '')\n .replace('enum.functions.', ''),\n value: item._id,\n icon: item.common?.icon,\n color: item.common?.color,\n };\n }\n\n const style = item?.color ? {\n border:`1px solid ${Utils.invertColor(item?.color)}`,\n color: Utils.getInvertedColor(item?.color, props.themeType, true) || undefined,\n backgroundColor: item?.color\n } : {};\n\n return
\n {item?.icon ? : null}
{item?.name}
\n
;\n}\n\nTextWithIcon.propTypes = {\n t: PropTypes.func.isRequired,\n lang: PropTypes.string.isRequired,\n themeType: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,\n list: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n options: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n className: PropTypes.string,\n style: PropTypes.object,\n title: PropTypes.string,\n removePrefix: PropTypes.string,\n moreClasses: PropTypes.object,\n};\n\nexport default withStyles(styles)(TextWithIcon);","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\nimport React from 'react';\nimport I18n from '../i18n';\n\nconst NAMESPACE = 'material';\nconst days = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];\nconst months = ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\nconst QUALITY_BITS = {\n 0x00: '0x00 - good',\n\n 0x01: '0x01 - general problem',\n 0x02: '0x02 - no connection problem',\n\n 0x10: '0x10 - substitute value from controller',\n 0x20: '0x20 - substitute initial value',\n 0x40: '0x40 - substitute value from device or instance',\n 0x80: '0x80 - substitute value from sensor',\n\n 0x11: '0x11 - general problem by instance',\n 0x41: '0x41 - general problem by device',\n 0x81: '0x81 - general problem by sensor',\n\n 0x12: '0x12 - instance not connected',\n 0x42: '0x42 - device not connected',\n 0x82: '0x82 - sensor not connected',\n\n 0x44: '0x44 - device reports error',\n 0x84: '0x84 - sensor reports error',\n};\n\nclass Utils {\n static namespace = NAMESPACE;\n static INSTANCES = 'instances';\n static dateFormat = ['DD', 'MM'];\n static FORBIDDEN_CHARS = /[^._\\-/ :!#$%&()+=@^{}|~\\p{Ll}\\p{Lu}\\p{Nd}]+/gu;\n\n /**\n * Capitalize words.\n * @param {string | undefined} name\n * @returns {string}\n */\n static CapitalWords(name) {\n return (name || '').split(/[\\s_]/)\n .filter(item => item)\n .map(word => word ? word[0].toUpperCase() + word.substring(1).toLowerCase() : '')\n .join(' ');\n }\n\n static formatSeconds(seconds) {\n const days = Math.floor(seconds / (3600 * 24));\n seconds %= 3600 * 24;\n let hours = Math.floor(seconds / 3600);\n if (hours < 10) {\n hours = '0' + hours;\n }\n seconds %= 3600;\n let minutes = Math.floor(seconds / 60);\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n seconds %= 60;\n seconds = Math.floor(seconds);\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let text = '';\n if (days) {\n text += `${days} ${I18n.t('ra_daysShortText')} `;\n }\n text += `${hours}:${minutes}:${seconds}`;\n\n return text;\n }\n\n /**\n * Get the name of the object by id from the name or description.\n * @param {Record} objects\n * @param {string} id\n * @param {{ name: any; } | ioBroker.Languages | null} settings\n * @param {{ language?: ioBroker.Languages; }} options\n * @param {boolean} [isDesc] Set to true to get the description.\n * @returns {string}\n */\n static getObjectName(objects, id, settings, options, isDesc) {\n let item = objects[id];\n let text = id;\n const attr = isDesc ? 'desc' : 'name';\n\n if (typeof settings === 'string' && !options) {\n options = {language: settings};\n settings = null;\n }\n\n options = options || {};\n if (!options.language) {\n options.language = (objects['system.config'] && objects['system.config'].common && objects['system.config'].common.language) || window.sysLang || 'en';\n }\n if (settings && settings.name) {\n text = settings.name;\n if (typeof text === 'object') {\n text = text[options.language] || text.en;\n }\n } else\n if (item && item.common && item.common[attr]) {\n text = item.common[attr];\n if (attr !== 'desc' && !text && item.common.desc) {\n text = item.common.desc;\n }\n if (typeof text === 'object') {\n text = text[options.language] || text.en || text.de || text.ru || '';\n }\n text = (text || '').toString().replace(/[_.]/g, ' ');\n\n if (text === text.toUpperCase()) {\n text = text[0] + text.substring(1).toLowerCase();\n }\n } else {\n let pos = id.lastIndexOf('.');\n text = id.substring(pos + 1).replace(/[_.]/g, ' ');\n text = Utils.CapitalWords(text);\n }\n\n return text.trim();\n }\n\n /**\n * Get the name of the object from the name or description.\n * @param {ioBroker.PartialObject} obj\n * @param {{ name: any; } | ioBroker.Languages | null } settings or language\n * @param {{ language?: ioBroker.Languages; } } options\n * @param {boolean} [isDesc] Set to true to get the description.\n * @returns {string}\n */\n static getObjectNameFromObj(obj, settings, options, isDesc) {\n let item = obj;\n let text = (obj && obj._id) || '';\n const attr = isDesc ? 'desc' : 'name';\n\n if (typeof settings === 'string' && !options) {\n options = {language: settings};\n settings = null;\n }\n\n options = options || {};\n\n if (settings && settings.name) {\n text = settings.name;\n if (typeof text === 'object') {\n text = text[options.language] || text.en;\n }\n } else\n if (item && item.common && item.common[attr]) {\n text = item.common[attr];\n if (attr !== 'desc' && !text && item.common.desc) {\n text = item.common.desc;\n }\n if (typeof text === 'object') {\n text = text[options.language] || text.en;\n }\n text = (text || '').toString().replace(/[_.]/g, ' ');\n\n if (text === text.toUpperCase()) {\n text = text[0] + text.substring(1).toLowerCase();\n }\n }\n return text.trim();\n }\n\n /**\n * @param {ioBroker.PartialObject | ioBroker.ObjectCommon} obj\n * @param {string} forEnumId\n * @param {{ user: string; }} options\n * @returns {string | null}\n */\n static getSettingsOrder(obj, forEnumId, options) {\n if (obj && obj.hasOwnProperty('common')) {\n obj = obj.common;\n }\n let settings;\n if (obj && obj.custom) {\n settings = (obj.custom || {})[NAMESPACE];\n const user = options.user || 'admin';\n if (settings && settings[user]) {\n if (forEnumId) {\n if (settings[user].subOrder && settings[user].subOrder[forEnumId]) {\n return JSON.parse(JSON.stringify(settings[user].subOrder[forEnumId]));\n }\n } else {\n if (settings[user].order) {\n return JSON.parse(JSON.stringify(settings[user].order));\n }\n }\n }\n }\n return null;\n }\n\n /**\n * @param {ioBroker.PartialObject | ioBroker.ObjectCommon} obj\n * @param {string} forEnumId\n * @param {{ user: string; }} options\n */\n static getSettingsCustomURLs(obj, forEnumId, options) {\n if (obj && obj.hasOwnProperty('common')) {\n obj = obj.common;\n }\n let settings;\n if (obj && obj.custom) {\n settings = (obj.custom || {})[NAMESPACE];\n const user = options.user || 'admin';\n if (settings && settings[user]) {\n if (forEnumId) {\n if (settings[user].subURLs && settings[user].subURLs[forEnumId]) {\n return JSON.parse(JSON.stringify(settings[user].subURLs[forEnumId]));\n }\n } else {\n if (settings[user].URLs) {\n return JSON.parse(JSON.stringify(settings[user].URLs));\n }\n }\n }\n }\n return null;\n }\n\n /**\n * Reorder the array items in list between source and dest.\n * @param {Iterable | ArrayLike} list\n * @param {number} source\n * @param {number} dest\n */\n static reorder(list, source, dest) {\n const result = Array.from(list);\n const [removed] = result.splice(source, 1);\n result.splice(dest, 0, removed);\n return result;\n };\n\n /**\n * @param {any} obj\n * @param {{ id: any; user: any; name: any; icon: any; color: any; language: ioBroker.Languages; }} options\n * @param {boolean} [defaultEnabling]\n */\n static getSettings(obj, options, defaultEnabling) {\n let settings;\n const id = (obj && obj._id) || (options && options.id);\n if (obj && obj.hasOwnProperty('common')) {\n obj = obj.common;\n }\n if (obj && obj.custom) {\n settings = obj.custom || {};\n settings = settings[NAMESPACE] && settings[NAMESPACE][options.user || 'admin'] ? JSON.parse(JSON.stringify(settings[NAMESPACE][options.user || 'admin'])) : {enabled: true};\n } else {\n settings = {enabled: defaultEnabling === undefined ? true : defaultEnabling, useCustom: false};\n }\n\n if (!settings.hasOwnProperty('enabled')) {\n settings.enabled = defaultEnabling === undefined ? true : defaultEnabling;\n }\n\n if (false && settings.useCommon) {\n if (obj.color) settings.color = obj.color;\n if (obj.icon) settings.icon = obj.icon;\n if (obj.name) settings.name = obj.name;\n } else {\n if (options) {\n if (!settings.name && options.name) settings.name = options.name;\n if (!settings.icon && options.icon) settings.icon = options.icon;\n if (!settings.color && options.color) settings.color = options.color;\n }\n\n if (obj) {\n if (!settings.color && obj.color) settings.color = obj.color;\n if (!settings.icon && obj.icon) settings.icon = obj.icon;\n if (!settings.name && obj.name) settings.name = obj.name;\n }\n }\n\n if (typeof settings.name === 'object') {\n settings.name = settings.name[options.language] || settings.name.en;\n\n settings.name = (settings.name || '').toString().replace(/_/g, ' ');\n\n if (settings.name === settings.name.toUpperCase()) {\n settings.name = settings.name[0] + settings.name.substring(1).toLowerCase();\n }\n }\n if (!settings.name && id) {\n let pos = id.lastIndexOf('.');\n settings.name = id.substring(pos + 1).replace(/[_.]/g, ' ');\n settings.name = (settings.name || '').toString().replace(/_/g, ' ');\n settings.name = Utils.CapitalWords(settings.name);\n }\n\n return settings;\n }\n\n /**\n * @param {any} obj\n * @param {any} settings\n * @param {{ user: any; language: ioBroker.Languages; }} options\n */\n static setSettings(obj, settings, options) {\n if (obj) {\n obj.common = obj.common || {};\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[NAMESPACE] = obj.common.custom[NAMESPACE] || {};\n obj.common.custom[NAMESPACE][options.user || 'admin'] = settings;\n const s = obj.common.custom[NAMESPACE][options.user || 'admin'];\n if (s.useCommon) {\n if (s.color !== undefined) {\n obj.common.color = s.color;\n delete s.color;\n }\n if (s.icon !== undefined) {\n obj.common.icon = s.icon;\n delete s.icon;\n }\n if (s.name !== undefined) {\n if (typeof obj.common.name !== 'object') {\n obj.common.name = {};\n obj.common.name[options.language] = s.name;\n } else{\n obj.common.name[options.language] = s.name;\n }\n delete s.name;\n }\n }\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * Get the icon for the given settings.\n * @param {{ icon: string | undefined; name: string | undefined; prefix: string | undefined}} settings\n * @param {any} style\n * @returns {JSX.Element | null}\n */\n static getIcon(settings, style) {\n if (settings && settings.icon) {\n // If UTF-8 icon\n if (settings.icon.length <= 2) {\n return {settings.icon};\n } else\n if (settings.icon.startsWith('data:image')) {\n return {settings.name};\n } else { // may be later some changes for second type\n return {settings.name};\n }\n }\n return null;\n }\n\n /**\n * Get the icon for the given object.\n * @param {string} id\n * @param {{ common: { icon: any; }; }} obj\n * @returns {string | null}\n */\n static getObjectIcon(id, obj) {\n // If id is Object\n if (typeof id === 'object') {\n obj = id;\n id = obj._id;\n }\n\n if (obj && obj.common && obj.common.icon) {\n let icon = obj.common.icon;\n // If UTF-8 icon\n if (typeof icon === 'string' && icon.length <= 2) {\n return icon;\n } else\n if (icon.startsWith('data:image')) {\n return icon;\n } else {\n const parts = id.split('.');\n if (parts[0] === 'system') {\n icon = 'adapter/' + parts[2] + (icon.startsWith('/') ? '' : '/') + icon;\n } else {\n icon = 'adapter/' + parts[0] + (icon.startsWith('/') ? '' : '/') + icon;\n }\n\n if (window.location.pathname.match(/adapter\\/[^/]+\\/[^/]+\\.html/)) {\n icon = '../../' + icon;\n } else if (window.location.pathname.match(/material\\/[.\\d]+/)) {\n icon = '../../' + icon;\n } else\n if (window.location.pathname.match(/material\\//)) {\n icon = '../' + icon;\n }\n return icon;\n }\n } else {\n return null;\n }\n }\n\n /**\n * Splits CamelCase into words.\n * @param {string | undefined} text\n * @returns {string}\n */\n static splitCamelCase(text) {\n if (false && text !== text.toUpperCase()) {\n const words = text.split(/\\s+/);\n for (let i = 0; i < words.length; i++) {\n let word = words[i];\n if (word.toLowerCase() !== word && word.toUpperCase() !== word) {\n let z = 0;\n const ww = [];\n let start = 0;\n while (z < word.length) {\n if (word[z].match(/[A-ZÜÄÖА-Я]/)) {\n ww.push(word.substring(start, z));\n start = z;\n }\n z++;\n }\n if (start !== z) {\n ww.push(word.substring(start, z));\n }\n for (let k = 0; k < ww.length; k++) {\n words.splice(i + k, 0, ww[k]);\n }\n i += ww.length;\n }\n }\n\n return words.map(w => {\n w = w.trim();\n if (w) {\n return w[0].toUpperCase() + w.substring(1).toLowerCase();\n }\n return '';\n }).join(' ');\n } else {\n return Utils.CapitalWords(text);\n }\n }\n\n /**\n * Check if the given color is bright.\n * https://stackoverflow.com/questions/35969656/how-can-i-generate-the-opposite-color-according-to-current-color\n * @param {string | null | undefined} color\n * @param {boolean} [defaultValue]\n * @returns {boolean}\n */\n static isUseBright(color, defaultValue) {\n if (color === null || color === undefined || color === '') {\n return defaultValue === undefined ? true : defaultValue;\n }\n color = color.toString();\n if (color.indexOf('#') === 0) {\n color = color.slice(1);\n }\n let r;\n let g;\n let b;\n\n const rgb = color.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?/i);\n if (rgb && rgb.length === 4) {\n r = parseInt(rgb[1], 10);\n g = parseInt(rgb[2], 10);\n b = parseInt(rgb[3], 10);\n } else {\n // convert 3-digit hex to 6-digits.\n if (color.length === 3) {\n color = color[0] + color[0] + color[1] + color[1] + color[2] + color[2];\n }\n if (color.length !== 6) {\n return false;\n }\n\n r = parseInt(color.slice(0, 2), 16);\n g = parseInt(color.slice(2, 4), 16);\n b = parseInt(color.slice(4, 6), 16);\n }\n\n // http://stackoverflow.com/a/3943023/112731\n return (r * 0.299 + g * 0.587 + b * 0.114) <= 186;\n };\n\n /**\n * Get the time string in the format 00:00.\n * @param {string | number} seconds\n */\n static getTimeString(seconds) {\n seconds = parseFloat(seconds);\n if (isNaN(seconds)) {\n return '--:--';\n }\n const hours = Math.floor(seconds / 3600);\n let minutes = Math.floor((seconds % 3600) / 60);\n let secs = seconds % 60;\n if (hours) {\n if (minutes < 10) minutes = '0' + minutes;\n if (secs < 10) secs = '0' + secs;\n return hours + ':' + minutes + ':' + secs;\n } else {\n if (secs < 10) secs = '0' + secs;\n return minutes + ':' + secs;\n }\n }\n\n /**\n * Gets the wind direction with the given angle (degrees).\n * @param {number} angle in degrees.\n * @returns {string | undefined}\n */\n static getWindDirection(angle) {\n if (angle >= 0 && angle < 11.25) {\n return 'N'\n } else if (angle >= 11.25 && angle < 33.75) {\n return 'NNE'\n } else if (angle >= 33.75 && angle < 56.25) {\n return 'NE'\n } else if (angle >= 56.25 && angle < 78.75) {\n return 'ENE'\n } else if (angle >= 78.75 && angle < 101.25) {\n return 'E'\n } else if (angle >= 101.25 && angle < 123.75) {\n return 'ESE'\n } else if (angle >= 123.75 && angle < 146.25) {\n return 'SE'\n } else if (angle >= 146.25 && angle < 168.75) {\n return 'SSE'\n } else if (angle >= 168.75 && angle < 191.25) {\n return 'S'\n } else if (angle >= 191.25 && angle < 213.75) {\n return 'SSW'\n } else if (angle >= 213.75 && angle < 236.25) {\n return 'SW'\n } else if (angle >= 236.25 && angle < 258.75) {\n return 'WSW'\n } else if (angle >= 258.75 && angle < 281.25) {\n return 'W'\n } else if (angle >= 281.25 && angle < 303.75) {\n return 'WNW'\n } else if (angle >= 303.75 && angle < 326.25) {\n return 'NW'\n } else if (angle >= 326.25 && angle < 348.75) {\n return 'NNW'\n } else if (angle >= 348.75) {\n return 'N'\n }\n }\n\n /**\n * Pad the given number with a zero if its not 2 digits long.\n * @param {string | number} num\n */\n static padding(num) {\n if (typeof num === 'string') {\n if (num.length < 2) {\n return '0' + num;\n } else {\n return num;\n }\n } else if (num < 10) {\n return '0' + num;\n } else {\n return num;\n }\n }\n\n /**\n * Sets the date format.\n * @param {string} format\n */\n static setDataFormat(format) {\n if (format) {\n Utils.dateFormat = format.toUpperCase().split(/[.-/]/);\n Utils.dateFormat.splice(Utils.dateFormat.indexOf('YYYY'), 1);\n }\n }\n\n /**\n * Converts the date to a string.\n * @param {string | number | Date} now\n * @returns {string}\n */\n static date2string(now) {\n if (typeof now === 'string') {\n now = now.trim();\n if (!now) return '';\n // only letters\n if (now.match(/^[\\w\\s]+$/)) {\n // Day of week\n return now;\n }\n let m = now.match(/(\\d{1,4})[-./](\\d{1,2})[-./](\\d{1,4})/);\n if (m) {\n let a = [parseInt(m[1], 10), parseInt(m[2], 10), parseInt(m[3], 10)];\n let year = a.find(y => y > 31);\n a.splice(a.indexOf(year), 1);\n let day = a.find(m => m > 12);\n if (day) {\n a.splice(a.indexOf(day), 1);\n now = new Date(year, a[0] - 1, day);\n } else {\n // MM DD\n if (Utils.dateFormat[0][0] === 'M' && Utils.dateFormat[1][0] === 'D') {\n now = new Date(year, a[0] - 1, a[1]);\n if (Math.abs(now.getTime - Date.now()) > 3600000 * 24 * 10) {\n now = new Date(year, a[1] - 1, a[0]);\n }\n } else\n // DD MM\n if (Utils.dateFormat[0][0] === 'D' && Utils.dateFormat[1][0] === 'M') {\n now = new Date(year, a[1] - 1, a[0]);\n if (Math.abs(now.getTime - Date.now()) > 3600000 * 24 * 10) {\n now = new Date(year, a[0] - 1, a[1]);\n }\n } else {\n now = new Date(now);\n }\n }\n } else {\n now = new Date(now);\n }\n } else {\n now = new Date(now);\n }\n\n let date = I18n.t('ra_dow_' + days[now.getDay()]).replace('ra_dow_', '');\n date += '. ' + now.getDate() + ' ' + I18n.t('ra_month_' + months[now.getMonth()]).replace('ra_month_', '');\n return date;\n }\n\n /**\n * Render a text as a link.\n * @param {string} text\n * @returns {string | JSX.Element[]}\n */\n static renderTextWithA(text) {\n let m = text.match(/
|/);\n if (m) {\n const result = [];\n let key = 1;\n do {\n const p = text.split(m[0]);\n p[0] && result.push({p[0]});\n\n if (m[0].startsWith(');\n } else {\n let href = m[0].match(/href=\"([^\"]+)\"/) || m[0].match(/href='([^']+)'/);\n let target = m[0].match(/target=\"([^\"]+)\"/) || m[0].match(/target='([^']+)'/);\n let rel = m[0].match(/rel=\"([^\"]+)\"/) || m[0].match(/rel='([^']+)'/);\n const title = m[0].match(/>([^<]*){title ? title[1] : ''});\n }\n\n text = p[1];\n\n m = text && text.match(/|/);\n if (!m) {\n p[1] && result.push({p[1]});\n }\n } while (m);\n\n return result;\n } else {\n return text;\n }\n }\n\n /**\n * Get the smart name of the given state.\n * @param {Record | ioBroker.StateObject} states\n * @param {string} id\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static getSmartName(states, id, instanceId, noCommon) {\n if (!id) {\n if (!noCommon) {\n if (!states.common) {\n return states.smartName;\n } else {\n if (states && !states.common) {\n return states.smartName;\n } else {\n return states.common.smartName;\n }\n }\n } else {\n if (states && !states.common) {\n return states.smartName;\n } else {\n return (states &&\n states.common &&\n states.common.custom &&\n states.common.custom[instanceId]) ?\n states.common.custom[instanceId].smartName : undefined;\n }\n }\n } else\n if (!noCommon) {\n return states[id].common.smartName;\n } else {\n return (states[id] &&\n states[id].common &&\n states[id].common.custom &&\n states[id].common.custom[instanceId]) ?\n states[id].common.custom[instanceId].smartName || null : null;\n }\n }\n\n /**\n * Get the smart name from a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static getSmartNameFromObj(obj, instanceId, noCommon) {\n if (!noCommon) {\n if (!obj.common) {\n return obj.smartName;\n } else {\n if (obj && !obj.common) {\n return obj.smartName;\n } else {\n return obj.common.smartName;\n }\n }\n } else {\n if (obj && !obj.common) {\n return obj.smartName;\n } else {\n return (obj &&\n obj.common &&\n obj.common.custom &&\n obj.common.custom[instanceId]) ?\n obj.common.custom[instanceId].smartName : undefined;\n }\n }\n }\n\n /**\n * Enable smart name for a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static enableSmartName(obj, instanceId, noCommon) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = {};\n } else {\n obj.common.smartName = {};\n }\n }\n\n /**\n * Completely remove smart name from a state.\n * @param {ioBroker.StateObject} obj\n * @param {string | number} instanceId\n * @param {boolean} [noCommon]\n */\n static removeSmartName(obj, instanceId, noCommon) {\n if (noCommon) {\n if (obj.common && obj.common.custom && obj.common.custom[instanceId]) {\n obj.common.custom[instanceId] = null;\n }\n } else {\n obj.common.smartName = null;\n }\n }\n\n /**\n * Update the smartname of a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} newSmartName\n * @param {string | undefined} byON\n * @param {string | undefined} smartType\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static updateSmartName(obj, newSmartName, byON, smartType, instanceId, noCommon) {\n const language = I18n.getLanguage();\n\n // convert Old format\n if (typeof obj.common.smartName === 'string') {\n const nnn = obj.common.smartName;\n obj.common.smartName = {};\n obj.common.smartName[language] = nnn;\n }\n\n // convert old settings\n if (obj.native && obj.native.byON) {\n delete obj.native.byON;\n let _smartName = obj.common.smartName;\n\n if (!_smartName || typeof _smartName !== 'object') {\n _smartName = {en: _smartName};\n _smartName[language] = _smartName.en;\n }\n obj.common.smartName = _smartName;\n }\n if (smartType !== undefined) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = obj.common.custom[instanceId].smartName || {};\n if (!smartType) {\n delete obj.common.custom[instanceId].smartName.smartType;\n } else {\n obj.common.custom[instanceId].smartName.smartType = smartType;\n }\n } else {\n obj.common.smartName = obj.common.smartName || {};\n if (!smartType) {\n delete obj.common.smartName.smartType;\n } else {\n obj.common.smartName.smartType = smartType;\n }\n\n }\n }\n if (byON !== undefined) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = obj.common.custom[instanceId].smartName || {};\n obj.common.custom[instanceId].smartName.byON = byON;\n } else {\n obj.common.smartName = obj.common.smartName || {};\n obj.common.smartName.byON = byON;\n }\n }\n if (newSmartName !== undefined) {\n let smartName;\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = obj.common.custom[instanceId].smartName || {};\n smartName = obj.common.custom[instanceId].smartName;\n } else {\n obj.common.smartName = obj.common.smartName || {};\n smartName = obj.common.smartName;\n }\n smartName[language] = newSmartName;\n\n // If smart name deleted\n if (smartName && (!smartName[language] ||\n (smartName[language] === obj.common.name &&\n (!obj.common.role || obj.common.role.indexOf('button') >= 0)))) {\n delete smartName[language];\n let empty = true;\n // Check if structure has any definitions\n for (const key in smartName) {\n if (smartName.hasOwnProperty(key)) {\n empty = false;\n break;\n }\n }\n // If empty => delete smartName completely\n if (empty) {\n if (noCommon) {\n if (obj.common.custom[instanceId].smartName.byON === undefined) {\n delete obj.common.custom[instanceId];\n } else {\n delete obj.common.custom[instanceId].en;\n delete obj.common.custom[instanceId].de;\n delete obj.common.custom[instanceId].ru;\n delete obj.common.custom[instanceId].nl;\n delete obj.common.custom[instanceId].pl;\n delete obj.common.custom[instanceId].it;\n delete obj.common.custom[instanceId].fr;\n delete obj.common.custom[instanceId].pt;\n delete obj.common.custom[instanceId].es;\n delete obj.common.custom[instanceId]['zh-cn'];\n }\n } else {\n if (obj.common.smartName.byON !== undefined) {\n delete obj.common.smartName.en;\n delete obj.common.smartName.de;\n delete obj.common.smartName.ru;\n delete obj.common.smartName.nl;\n delete obj.common.smartName.pl;\n delete obj.common.smartName.it;\n delete obj.common.smartName.fr;\n delete obj.common.smartName.pt;\n delete obj.common.smartName.es;\n delete obj.common.smartName['zh-cn'];\n } else {\n obj.common.smartName = null;\n }\n }\n }\n }\n }\n }\n\n /**\n * Disable the smart name of a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static disableSmartName(obj, instanceId, noCommon) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = false;\n } else {\n obj.common.smartName = false;\n }\n }\n\n /**\n * Copy text to the clipboard.\n * @param {string} text\n * @param {Event} [e]\n */\n static copyToClipboard(text, e) {\n const el = window.document.createElement('textarea');\n el.value = text;\n window.document.body.appendChild(el);\n el.select();\n window.document.execCommand('copy');\n window.document.body.removeChild(el);\n console.log(text);\n e && e.stopPropagation();\n e && e.preventDefault();\n }\n\n /**\n * Gets the extension of a file name.\n * @param {string | null} [fileName] the file name.\n * @returns {string | null} The extension in lower case.\n */\n static getFileExtension(fileName) {\n const pos = (fileName || '').lastIndexOf('.');\n if (pos !== -1) {\n return fileName.substring(pos + 1).toLowerCase();\n } else {\n return null;\n }\n }\n\n /**\n * Format number of bytes as a string with B, KB, MB or GB.\n * The base for all calculations is 1024.\n * @param {number} bytes The number of bytes.\n * @returns {string} The formatted string (e.g. '723.5 KB')\n */\n static formatBytes(bytes) {\n if (Math.abs(bytes) < 1024) {\n return bytes + ' B';\n }\n\n const units = ['KB','MB','GB'];\n //const units = ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];\n let u = -1;\n\n do {\n bytes /= 1024;\n ++u;\n } while (Math.abs(bytes) >= 1024 && u < units.length - 1);\n\n return bytes.toFixed(1) + ' ' + units[u];\n }\n\n /**\n * Invert the given color according to theme type to get the inverted text color for background\n * @param {string} color Color in the format '#rrggbb' or '#rgb' (or without hash)\n * @param {string} themeType theme type\n * @param {string} invert dark theme has light color in control or light theme has light color in control\n * @returns {string}\n */\n static getInvertedColor(color, themeType, invert) {\n if (!color) {\n return undefined;\n } else {\n const invertedColor = Utils.invertColor(color, true);\n if (invertedColor === '#FFFFFF' && (themeType === 'dark' || (invert && themeType === 'light'))) {\n return '#DDD';\n } else\n if (invertedColor === '#000000' && (themeType === 'light' || (invert && themeType === 'dark'))) {\n return '#222';\n } else {\n return undefined;\n }\n }\n }\n\n // Big thanks to: https://stackoverflow.com/questions/35969656/how-can-i-generate-the-opposite-color-according-to-current-color\n /**\n * Invert the given color\n * @param {string} hex Color in the format '#rrggbb' or '#rgb' (or without hash)\n * @param {boolean} bw Set to black or white.\n * @returns {string}\n */\n static invertColor(hex, bw) {\n if (hex === undefined || hex === null || hex === '' || typeof hex !== 'string') {\n return '';\n }\n if (hex.startsWith('rgba')) {\n const m = hex.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+),\\s*([.\\d]+)\\)/);\n if (m) {\n hex = parseInt(m[1], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0');\n }\n } else if (hex.startsWith('rgba')) {\n const m = hex.match(/rgb?\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)/);\n if (m) {\n hex = parseInt(m[1], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0');\n }\n } else\n if (hex.startsWith('#')) {\n hex = hex.slice(1);\n }\n // convert 3-digit hex to 6-digits.\n if (hex.length === 3) {\n hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];\n }\n if (hex.length !== 6) {\n console.warn('Cannot invert color: ' + hex);\n return hex;\n }\n let r = parseInt(hex.slice(0, 2), 16);\n let g = parseInt(hex.slice(2, 4), 16);\n let b = parseInt(hex.slice(4, 6), 16);\n\n if (bw) {\n // http://stackoverflow.com/a/3943023/112731\n return (r * 0.299 + g * 0.587 + b * 0.114) > 186\n ? '#000000'\n : '#FFFFFF';\n }\n // invert color components\n r = (255 - r).toString(16);\n g = (255 - g).toString(16);\n b = (255 - b).toString(16);\n // pad each with zeros and return\n return '#' + r.padStart(2, '0') + g.padStart(2, '0') + b.padStart(2, '0');\n }\n\n // https://github.com/lukeed/clsx/blob/master/src/index.js\n // License\n // MIT © Luke Edwards\n /**\n * @private\n * @param {any} mix\n * @returns {string}\n */\n static _toVal(mix) {\n let k, y, str='';\n\n if (typeof mix === 'string' || typeof mix === 'number') {\n str += mix;\n } else if (typeof mix === 'object') {\n if (Array.isArray(mix)) {\n for (k=0; k < mix.length; k++) {\n if (mix[k]) {\n if ((y = Utils._toVal(mix[k]))) {\n str && (str += ' ');\n str += y;\n }\n }\n }\n } else {\n for (k in mix) {\n if (mix[k]) {\n str && (str += ' ');\n str += k;\n }\n }\n }\n }\n\n return str;\n }\n\n // https://github.com/lukeed/clsx/blob/master/src/index.js\n // License\n // MIT © Luke Edwards\n /**\n * Convert any object to a string with its values.\n * @returns {string}\n */\n static clsx () {\n let i = 0;\n let tmp;\n let x;\n let str = '';\n while (i < arguments.length) {\n if ((tmp = arguments[i++])) {\n if ((x = Utils._toVal(tmp))) {\n str && (str += ' ');\n str += x\n }\n }\n }\n return str;\n }\n\n /**\n * Get the current theme name (either from local storage or the browser settings).\n * @param {string} [themeName]\n * @returns {string}\n */\n static getThemeName(themeName = '') {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return window.vendorPrefix;\n }\n\n return themeName ? themeName : window.localStorage && window.localStorage.getItem('App.themeName') ?\n window.localStorage.getItem('App.themeName') : window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'colored';\n }\n\n /**\n * Get the type of theme.\n * @param {string} [themeName]\n * @returns {'dark' | 'light'}\n */\n static getThemeType(themeName = '') {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return 'light';\n }\n\n themeName = themeName || (window.localStorage && window.localStorage.getItem('App.themeName'));\n return themeName === 'dark' || themeName === 'blue' ? 'dark' : 'light';\n }\n\n /**\n * Set the theme name and theme type.\n * @param {string} themeName\n */\n static setThemeName(themeName) {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return; // ignore\n }\n window.localStorage.setItem('App.themeName', themeName);\n window.localStorage.setItem('App.theme', themeName === 'dark' || themeName === 'blue' ? 'dark' : 'light');\n }\n\n /**\n * Toggle the theme name between 'dark' and 'colored'.\n * @param {string | null} themeName\n * @returns {string} the new theme name.\n */\n static toggleTheme(themeName) {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return window.vendorPrefix;\n }\n themeName = themeName || (window.localStorage && window.localStorage.getItem('App.themeName'));\n\n // dark => blue => colored => light => dark\n const themes = Utils.getThemeNames();\n const pos = themes.indexOf(themeName);\n let newTheme;\n if (pos !== -1) {\n newTheme = themes[(pos + 1) % themes.length];\n } else {\n newTheme = themes[0];\n }\n Utils.setThemeName(newTheme);\n\n return newTheme;\n }\n\n /**\n * Get the list of themes\n * @returns {array} list of possible themes\n */\n static getThemeNames() {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return [window.vendorPrefix];\n }\n\n return ['light', 'dark', 'blue', 'colored'];\n }\n\n /**\n * Parse a query string into its parts.\n * @param {string} query\n * @returns {Record}\n */\n static parseQuery(query) {\n query = (query || '').toString().replace(/^\\?/, '');\n /** @type {Record} */\n const result = {};\n query.split('&').forEach(part => {\n part = part.trim();\n if (part) {\n const parts = part.split('=');\n const attr = decodeURIComponent(parts[0]).trim();\n if (parts.length > 1) {\n result[attr] = decodeURIComponent(parts[1]);\n if (result[attr] === 'true') {\n result[attr] = true;\n } else if (result[attr] === 'false') {\n result[attr] = false;\n } else {\n const f = parseFloat(result[attr]);\n if (f.toString() === result[attr]) {\n result[attr] = f;\n }\n }\n } else {\n result[attr] = true;\n }\n }\n });\n return result;\n }\n\n /**\n * Returns parent ID.\n * @param {string} id\n * @returns {string | null} parent ID or null if no parent\n */\n static getParentId(id) {\n const p = (id || '').toString().split('.');\n if (p.length > 1) {\n p.pop();\n return p.join('.');\n } else {\n return null;\n }\n }\n\n static formatDate(dateObj, dateFormat) {\n // format could be DD.MM.YYYY, YYYY.MM.DD or MM/DD/YYYY\n\n if (!dateObj) {\n return '';\n }\n\n let text;\n let mm = dateObj.getMonth() + 1;\n if (mm < 10) {\n mm = '0' + mm;\n }\n\n let dd = dateObj.getDate();\n if (dd < 10) {\n dd = '0' + dd;\n }\n\n if (dateFormat === 'MM/DD/YYYY') {\n text = mm + '/' + dd + '/' + dateObj.getFullYear();\n } else {\n text = dateObj.getFullYear() + '-' + mm + '-' + dd;\n }\n\n // time\n let v = dateObj.getHours();\n if (v < 10) {\n text += ' 0' + v;\n } else {\n text += ' ' + v;\n }\n v = dateObj.getMinutes();\n if (v < 10) {\n text += ':0' + v;\n } else {\n text += ':' + v;\n }\n\n v = dateObj.getSeconds();\n if (v < 10) {\n text += ':0' + v;\n } else {\n text += ':' + v;\n }\n\n v = dateObj.getMilliseconds();\n if (v < 10) {\n text += '.00' + v;\n } else if (v < 100) {\n text += '.0' + v;\n } else {\n text += '.' + v;\n }\n\n return text;\n }\n\n static formatTime(seconds) {\n if (seconds) {\n seconds = Math.round(seconds);\n const d = Math.floor(seconds / (3600 * 24));\n const h = Math.floor((seconds % (3600 * 24)) / 3600);\n const m = Math.floor((seconds % 3600) / 60);\n const s = seconds % 60;\n if (d) {\n return `${d}.${h.toString().padStart(2, '0')}:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;\n } else if (h) {\n return `${h}:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;\n } else {\n return `0:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;\n }\n } else {\n return '0:00:00';\n }\n }\n\n static MDtext2link(text) {\n const m = text.match(/\\d+\\.\\)\\s/);\n if (m) {\n text = text.replace(m[0], m[0].replace(/\\s/, ' '));\n }\n\n return text.replace(/[^a-zA-Zа-яА-Я0-9]/g, '').trim().replace(/\\s/g, '').toLowerCase();\n }\n\n static openLink(url, target) {\n // replace IPv6 Address with [ipv6]:port\n url = url.replace(/\\/\\/([0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*)(:\\d+)?\\//i, '//[$1]$2/');\n\n if (target === 'this') {\n window.location = url;\n } else {\n window.open(url, target || '_blank');\n }\n }\n\n static MDgetTitle(text) {\n let {body, header} = Utils.extractHeader(text);\n if (!header.title) {\n // remove {docsify-bla}\n body = body.replace(/{[^}]*}/g, '');\n body = body.trim();\n const lines = body.replace(/\\r/g, '').split('\\n');\n for (let i = 0; i < lines.length; i++) {\n if (lines[i].startsWith('# ')) {\n return lines[i].substring(2).trim();\n }\n }\n return '';\n } else {\n return header.title;\n }\n }\n\n static MDextractHeader(text) {\n const attrs = {};\n if (text.substring(0, 3) === '---') {\n const pos = text.substring(3).indexOf('\\n---');\n if (pos !== -1) {\n const _header = text.substring(3, pos + 3);\n const lines = _header.replace(/\\r/g, '').split('\\n');\n lines.forEach(line => {\n if (!line.trim()) {\n return;\n }\n const pos = line.indexOf(':');\n if (pos !== -1) {\n const attr = line.substring(0, pos).trim();\n attrs[attr] = line.substring(pos + 1).trim();\n attrs[attr] = attrs[attr].replace(/^['\"]|['\"]$/g, '');\n if (attrs[attr] === 'true') {\n attrs[attr] = true;\n } else if (attrs[attr] === 'false') {\n attrs[attr] = false;\n } else if (parseFloat(attrs[attr]).toString() === attrs[attr]) {\n attrs[attr] = parseFloat(attrs[attr]);\n }\n } else {\n attrs[line.trim()] = true;\n }\n });\n text = text.substring(pos + 7);\n }\n }\n return {header: attrs, body: text};\n }\n\n static MDremoveDocsify(text) {\n const m = text.match(/{docsify-[^}]*}/g);\n if (m) {\n m.forEach(doc => text = text.replace(doc, ''));\n }\n return text;\n }\n\n /**\n * Generate the json file on the file for download.\n * @param {string} filename file name\n * @returns {object} json structure (not stringified)\n */\n static generateFile(filename, json) {\n let el = document.createElement('a');\n el.setAttribute('href', 'data:application/json;charset=utf-8,' + encodeURIComponent(JSON.stringify(json, null, 2)));\n el.setAttribute('download', filename);\n\n el.style.display = 'none';\n document.body.appendChild(el);\n\n el.click();\n\n document.body.removeChild(el);\n }\n\n /**\n * Convert quality code into text\n * @param {number} quality code\n * @returns {array} lines that decode qulity\n */\n static quality2text(quality) {\n const custom = quality & 0xFFFF0000;\n const text = QUALITY_BITS[quality];\n let result;\n if (text) {\n result = [text];\n } else if (quality & 0x01) {\n result = [QUALITY_BITS[0x01], '0x' + (quality & (0xFFFF & ~1)).toString(16)];\n } else if (quality & 0x02) {\n result = [QUALITY_BITS[0x02], '0x' + (quality & (0xFFFF & ~2)).toString(16)];\n } else {\n result = ['0x' + quality.toString(16)];\n }\n if (custom) {\n result.push('0x' + (custom >> 16).toString(16).toUpperCase());\n }\n return result;\n }\n\n /**\n * Deep copy object\n * @param {object} object\n * @returns {object}\n */\n static clone(object) {\n return JSON.parse(JSON.stringify(object));\n }\n\n /**\n * Get states of object\n * @param {object} obj\n * @returns {object} states as an object in form {\"value1\": \"label1\", \"value2\": \"label2\"} or null\n */\n static getStates(obj) {\n let states = obj?.common?.states;\n if (states) {\n if (typeof states === 'string' && states[0] === '{') {\n try {\n states = JSON.parse(states);\n } catch (ex) {\n console.error(`Cannot parse states: ${states}`);\n states = null;\n }\n } else\n // if old format val1:text1;val2:text2\n if (typeof states === 'string') {\n const parts = states.split(';');\n states = {};\n for (let p = 0; p < parts.length; p++) {\n const s = parts[p].split(':');\n states[s[0]] = s[1];\n }\n } else if (Array.isArray(states)) {\n const result = {};\n states.forEach((value, key) => result[key] = value);\n return result;\n }\n }\n return states;\n }\n\n /**\n * Get svg file as text\n * @param {string} url URL of SVG file\n * @returns {object} Promise with \"data:image...\"\n */\n static getSvg(url) {\n return fetch(url)\n .then(response => response.blob())\n .then(blob => {\n return new Promise(resolve => {\n const reader = new FileReader();\n reader.onload = function() { // do not optimize this function. \"this\" is important.\n resolve(this.result);\n };\n reader.readAsDataURL(blob);\n });\n });\n }\n}\n\nexport default Utils;\n","/**\n * Copyright 2020-2022, bluefox \n *\n * MIT License\n *\n **/\nimport PropTypes from 'prop-types';\n\n/** Possible progress states. */\nexport const PROGRESS = {\n /** The socket is connecting. */\n CONNECTING: 0,\n /** The socket is successfully connected. */\n CONNECTED: 1,\n /** All objects are loaded. */\n OBJECTS_LOADED: 2,\n /** The socket is ready for use. */\n READY: 3\n};\n\nconst PERMISSION_ERROR = 'permissionError';\nconst NOT_CONNECTED = 'notConnectedError';\nconst TIMEOUT_FOR_ADMIN4 = 1300;\n\nexport const ERRORS = {\n PERMISSION_ERROR,\n NOT_CONNECTED\n};\n\nfunction fixAdminUI(obj) {\n if (obj && obj.common && !obj.common.adminUI) {\n if (obj.common.noConfig) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'none';\n } else if (obj.common.jsonConfig) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'json';\n } else if (obj.common.materialize) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'materialize';\n } else {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'html';\n }\n\n if (obj.common.jsonCustom) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.custom = 'json';\n } else if (obj.common.supportCustoms) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.custom = 'json';\n }\n\n if (obj.common.materializeTab && obj.common.adminTab) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.tab = 'materialize';\n } else if (obj.common.adminTab) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.tab = 'html';\n }\n\n obj.common.adminUI && console.debug(`Please add to \"${obj._id.replace(/\\.\\d+$/, '')}\" common.adminUI=${JSON.stringify(obj.common.adminUI)}`);\n }\n return obj;\n}\n\nclass Connection {\n /**\n * @param {import('./types').ConnectionProps} props\n */\n constructor(props) {\n props = props || { protocol: window.location.protocol, host: window.location.hostname };\n this.props = props;\n\n this.autoSubscribes = this.props.autoSubscribes || [];\n this.autoSubscribeLog = this.props.autoSubscribeLog;\n\n this.props.protocol = this.props.protocol || window.location.protocol;\n this.props.host = this.props.host || window.location.hostname;\n this.props.port = this.props.port || (window.location.port === '3000' ? (Connection.isWeb() ? 8082 : 8081) : window.location.port);\n this.props.ioTimeout = Math.max(this.props.ioTimeout || 20000, 20000);\n this.props.cmdTimeout = Math.max(this.props.cmdTimeout || 5000, 5000);\n\n // breaking change. Do not load all objects by default is true\n this.doNotLoadAllObjects = this.props.doNotLoadAllObjects === undefined ? true : this.props.doNotLoadAllObjects;\n this.doNotLoadACL = this.props.doNotLoadACL === undefined ? true : this.props.doNotLoadACL;\n\n /** @type {Record} */\n this.states = {};\n this.objects = null;\n this.acl = null;\n this.firstConnect = true;\n this.waitForRestart = false;\n /** @type {ioBroker.Languages} */\n this.systemLang = 'en';\n this.connected = false;\n this._waitForFirstConnection = new Promise(resolve => { this._waitForFirstConnectionResolve = resolve });\n\n /** @type {Record} */\n this.statesSubscribes = {}; // subscribe for states\n\n /** @type {Record} */\n this.objectsSubscribes = {}; // subscribe for objects\n this.onProgress = this.props.onProgress || function () { };\n this.onError = this.props.onError || function (err) { console.error(err); };\n this.loaded = false;\n this.loadTimer = null;\n this.loadCounter = 0;\n this.admin5only = this.props.admin5only || false;\n\n /** @type {((connected: boolean) => void)[]} */\n this.onConnectionHandlers = [];\n /** @type {((message: string) => void)[]} */\n this.onLogHandlers = [];\n\n /** @type {Record>} */\n this._promises = {};\n\n this.log.error = text => this.log(text, 'error');\n this.log.warn = text => this.log(text, 'warn');\n this.log.info = text => this.log(text, 'info');\n this.log.debug = text => this.log(text, 'debug');\n this.log.silly = text => this.log(text, 'silly');\n\n this.startSocket();\n }\n\n /**\n * Checks if this connection is running in a web adapter and not in an admin.\n * @returns {boolean} True if running in a web adapter or in a socketio adapter.\n */\n static isWeb() {\n return window.adapterName === 'material' || window.adapterName === 'vis' || window.socketUrl !== undefined;\n }\n\n /**\n * Starts the socket.io connection.\n * @returns {void}\n */\n startSocket() {\n // if socket io is not yet loaded\n if (typeof window.io === 'undefined') {\n // if in index.html the onLoad function not defined\n if (typeof window.registerSocketOnLoad !== 'function') {\n // poll if loaded\n this.scriptLoadCounter = this.scriptLoadCounter || 0;\n this.scriptLoadCounter++;\n\n if (this.scriptLoadCounter < 30) {\n // wait till the script loaded\n setTimeout(() => this.startSocket(), 100);\n return;\n } else {\n window.alert('Cannot load socket.io.js!');\n }\n } else {\n // register on load\n window.registerSocketOnLoad(() => this.startSocket());\n }\n return;\n } else {\n // socket was initialized, do not repeat\n if (this._socket) {\n return;\n }\n }\n\n let host = this.props.host;\n let port = this.props.port;\n let protocol = this.props.protocol.replace(':', '');\n\n // if web adapter, socket io could be on other port or even host\n if (window.socketUrl) {\n let parts = window.socketUrl.split(':');\n host = parts[0] || host;\n port = parts[1] || port;\n if (host.includes('://')) {\n parts = host.split('://');\n protocol = parts[0];\n host = parts[1];\n }\n }\n\n const url = port ? `${protocol}://${host}:${port}` : `${protocol}://${host}`;\n\n this._socket = window.io.connect(\n url,\n {\n query: 'ws=true',\n name: this.props.name,\n timeout: this.props.ioTimeout\n }\n );\n\n this._socket.on('connect', noTimeout => {\n // If the user is not admin it takes some time to install the handlers, because all rights must be checked\n if (noTimeout !== true) {\n setTimeout(() =>\n this.getVersion()\n .then(info => {\n const [major, minor, patch] = info.version.split('.');\n const v = parseInt(major, 10) * 10000 + parseInt(minor, 10) * 100 + parseInt(patch, 10);\n if (v < 40102) {\n this._authTimer = null;\n // possible this is old version of admin\n this.onPreConnect(false, false);\n } else {\n this._socket.emit('authenticate', (isOk, isSecure) => this.onPreConnect(isOk, isSecure));\n }\n }), 500);\n } else {\n // iobroker websocket waits, till all handlers are installed\n this._socket.emit('authenticate', (isOk, isSecure) => this.onPreConnect(isOk, isSecure));\n }\n });\n\n this._socket.on('reconnect', () => {\n this.onProgress(PROGRESS.READY);\n this.connected = true;\n\n if (this.waitForRestart) {\n window.location.reload(false);\n } else {\n this._subscribe(true);\n this.onConnectionHandlers.forEach(cb => cb(true));\n }\n });\n\n this._socket.on('disconnect', () => {\n this.connected = false;\n this.subscribed = false;\n this.onProgress(PROGRESS.CONNECTING);\n this.onConnectionHandlers.forEach(cb => cb(false));\n });\n\n this._socket.on('reauthenticate', () =>\n this.authenticate());\n\n this._socket.on('log', message => {\n this.props.onLog && this.props.onLog(message);\n this.onLogHandlers.forEach(cb => cb(message));\n });\n\n this._socket.on('error', err => {\n let _err = err || '';\n if (typeof _err.toString !== 'function') {\n _err = JSON.stringify(_err);\n console.error(`Received strange error: ${_err}`);\n }\n _err = _err.toString();\n if (_err.includes('User not authorized')) {\n this.authenticate();\n } else {\n window.alert(`Socket Error: ${err}`);\n }\n });\n\n this._socket.on('connect_error', err =>\n console.error(`Connect error: ${err}`));\n\n this._socket.on('permissionError', err =>\n this.onError({ message: 'no permission', operation: err.operation, type: err.type, id: (err.id || '') }));\n\n this._socket.on('objectChange', (id, obj) =>\n setTimeout(() => this.objectChange(id, obj), 0));\n\n this._socket.on('stateChange', (id, state) =>\n setTimeout(() => this.stateChange(id, state), 0));\n\n this._socket.on('cmdStdout', (id, text) =>\n this.onCmdStdoutHandler && this.onCmdStdoutHandler(id, text));\n\n this._socket.on('cmdStderr', (id, text) =>\n this.onCmdStderrHandler && this.onCmdStderrHandler(id, text));\n\n this._socket.on('cmdExit', (id, exitCode) =>\n this.onCmdExitHandler && this.onCmdExitHandler(id, exitCode));\n }\n\n /**\n * Called internally.\n * @private\n * @param {boolean} isOk\n * @param {boolean} isSecure\n */\n onPreConnect(isOk, isSecure) {\n if (this._authTimer) {\n clearTimeout(this._authTimer);\n this._authTimer = null;\n }\n\n this.connected = true;\n this.isSecure = isSecure;\n\n if (this.waitForRestart) {\n window.location.reload(false);\n } else {\n if (this.firstConnect) {\n // retry strategy\n this.loadTimer = setTimeout(() => {\n this.loadTimer = null;\n this.loadCounter++;\n if (this.loadCounter < 10) {\n this.onConnect();\n }\n }, 1000);\n\n if (!this.loaded) {\n this.onConnect();\n }\n } else {\n this.onProgress(PROGRESS.READY);\n }\n\n this._subscribe(true);\n this.onConnectionHandlers.forEach(cb => cb(true));\n }\n\n if (this._waitForFirstConnectionResolve) {\n this._waitForFirstConnectionResolve();\n this._waitForFirstConnectionResolve = null;\n }\n }\n\n /**\n * Checks if the socket is connected.\n * @returns {boolean} true if connected.\n */\n isConnected() {\n return this.connected;\n }\n\n /**\n * Checks if the socket is connected.\n * @returns {Promise} Promise resolves if once connected.\n */\n waitForFirstConnection() {\n return this._waitForFirstConnection;\n }\n\n /**\n * Called internally.\n * @private\n */\n _getUserPermissions(cb) {\n if (this.doNotLoadACL) {\n return cb && cb();\n } else {\n this._socket.emit('getUserPermissions', cb);\n }\n }\n\n /**\n * Called internally.\n * @private\n */\n onConnect() {\n this._getUserPermissions((err, acl) => {\n if (err) {\n return this.onError('Cannot read user permissions: ' + err);\n } else\n if (!this.doNotLoadACL) {\n if (this.loaded) {\n return;\n }\n this.loaded = true;\n clearTimeout(this.loadTimer);\n this.loadTimer = null;\n\n this.onProgress(PROGRESS.CONNECTED);\n this.firstConnect = false;\n\n this.acl = acl;\n }\n\n // Read system configuration\n return (this.admin5only && !window.vendorPrefix ? this.getCompactSystemConfig() : this.getSystemConfig())\n .then(data => {\n if (this.doNotLoadACL) {\n if (this.loaded) {\n return undefined;\n }\n this.loaded = true;\n clearTimeout(this.loadTimer);\n this.loadTimer = null;\n\n this.onProgress(PROGRESS.CONNECTED);\n this.firstConnect = false;\n }\n\n this.systemConfig = data;\n if (this.systemConfig && this.systemConfig.common) {\n this.systemLang = this.systemConfig.common.language;\n } else {\n this.systemLang = window.navigator.userLanguage || window.navigator.language;\n\n if (this.systemLang !== 'en' && this.systemLang !== 'de' && this.systemLang !== 'ru') {\n this.systemConfig.common.language = 'en';\n this.systemLang = 'en';\n }\n }\n\n this.props.onLanguage && this.props.onLanguage(this.systemLang);\n\n if (!this.doNotLoadAllObjects) {\n return this.getObjects()\n .then(() => {\n this.onProgress(PROGRESS.READY);\n this.props.onReady && this.props.onReady(this.objects);\n });\n } else {\n this.objects = this.admin5only ? {} : { 'system.config': data };\n this.onProgress(PROGRESS.READY);\n this.props.onReady && this.props.onReady(this.objects);\n }\n return undefined;\n })\n .catch(e => this.onError('Cannot read system config: ' + e));\n });\n }\n\n /**\n * Called internally.\n * @private\n */\n authenticate() {\n if (window.location.search.includes('&href=')) {\n window.location = `${window.location.protocol}//${window.location.host}${window.location.pathname}${window.location.search}${window.location.hash}`;\n } else {\n window.location = `${window.location.protocol}//${window.location.host}${window.location.pathname}?login&href=${window.location.search}${window.location.hash}`;\n }\n }\n\n /**\n * Subscribe to changes of the given state.\n * @param {string} id The ioBroker state ID.\n * @param {ioBroker.StateChangeHandler} cb The callback.\n */\n /**\n * Subscribe to changes of the given state.\n * @param {string} id The ioBroker state ID.\n * @param {boolean} binary Set to true if the given state is binary and requires Base64 decoding.\n * @param {ioBroker.StateChangeHandler} cb The callback.\n */\n subscribeState(id, binary, cb) {\n if (typeof binary === 'function') {\n cb = binary;\n binary = false;\n }\n\n if (!this.statesSubscribes[id]) {\n let reg = id\n .replace(/\\./g, '\\\\.')\n .replace(/\\*/g, '.*')\n .replace(/\\(/g, '\\\\(')\n .replace(/\\)/g, '\\\\)')\n .replace(/\\+/g, '\\\\+')\n .replace(/\\[/g, '\\\\[');\n\n if (reg.indexOf('*') === -1) {\n reg += '$';\n }\n this.statesSubscribes[id] = { reg: new RegExp(reg), cbs: [] };\n this.statesSubscribes[id].cbs.push(cb);\n if (this.connected) {\n this._socket.emit('subscribe', id);\n }\n } else {\n !this.statesSubscribes[id].cbs.includes(cb) && this.statesSubscribes[id].cbs.push(cb);\n }\n if (typeof cb === 'function' && this.connected) {\n if (binary) {\n this.getBinaryState(id)\n .then(base64 => cb(id, base64))\n .catch(e => console.error(`Cannot getForeignStates \"${id}\": ${JSON.stringify(e)}`));\n } else {\n if (Connection.isWeb()) {\n this._socket.emit('getStates', id, (err, states) => {\n err && console.error(`Cannot getForeignStates \"${id}\": ${JSON.stringify(err)}`);\n states && Object.keys(states).forEach(id => cb(id, states[id]));\n });\n } else {\n this._socket.emit('getForeignStates', id, (err, states) => {\n err && console.error(`Cannot getForeignStates \"${id}\": ${JSON.stringify(err)}`);\n states && Object.keys(states).forEach(id => cb(id, states[id]));\n });\n }\n }\n }\n }\n\n /**\n * Unsubscribes all callbacks from changes of the given state.\n * @param {string} id The ioBroker state ID.\n */\n /**\n * Unsubscribes the given callback from changes of the given state.\n * @param {string} id The ioBroker state ID.\n * @param {ioBroker.StateChangeHandler} cb The callback.\n */\n unsubscribeState(id, cb) {\n if (this.statesSubscribes[id]) {\n if (cb) {\n const pos = this.statesSubscribes[id].cbs.indexOf(cb);\n pos !== -1 && this.statesSubscribes[id].cbs.splice(pos, 1);\n } else {\n this.statesSubscribes[id].cbs = [];\n }\n\n if (!this.statesSubscribes[id].cbs || !this.statesSubscribes[id].cbs.length) {\n delete this.statesSubscribes[id];\n this.connected && this._socket.emit('unsubscribe', id);\n }\n }\n }\n\n /**\n * Subscribe to changes of the given object.\n * @param {string} id The ioBroker object ID.\n * @param {import('./types').ObjectChangeHandler} cb The callback.\n * @returns {Promise}\n */\n subscribeObject(id, cb) {\n if (!this.objectsSubscribes[id]) {\n let reg = id.replace(/\\./g, '\\\\.').replace(/\\*/g, '.*');\n if (!reg.includes('*')) {\n reg += '$';\n }\n this.objectsSubscribes[id] = { reg: new RegExp(reg), cbs: [] };\n this.objectsSubscribes[id].cbs.push(cb);\n this.connected && this._socket.emit('subscribeObjects', id);\n } else {\n !this.objectsSubscribes[id].cbs.includes(cb) && this.objectsSubscribes[id].cbs.push(cb);\n }\n return Promise.resolve();\n }\n\n /**\n * Unsubscribes all callbacks from changes of the given object.\n * @param {string} id The ioBroker object ID.\n * @returns {Promise}\n */\n /**\n * Unsubscribes the given callback from changes of the given object.\n * @param {string} id The ioBroker object ID.\n * @param {import('./types').ObjectChangeHandler} cb The callback.\n * @returns {Promise}\n */\n unsubscribeObject(id, cb) {\n if (this.objectsSubscribes[id]) {\n if (cb) {\n const pos = this.objectsSubscribes[id].cbs.indexOf(cb);\n pos !== -1 && this.objectsSubscribes[id].cbs.splice(pos, 1);\n } else {\n this.objectsSubscribes[id].cbs = [];\n }\n\n if (this.connected && (!this.objectsSubscribes[id].cbs || !this.objectsSubscribes[id].cbs.length)) {\n delete this.objectsSubscribes[id];\n this.connected && this._socket.emit('unsubscribeObjects', id);\n }\n }\n return Promise.resolve();\n }\n\n /**\n * Called internally.\n * @private\n * @param {string} id\n * @param {ioBroker.Object | null | undefined} obj\n */\n objectChange(id, obj) {\n // update main.objects cache\n if (!this.objects) {\n return;\n }\n\n /** @type {import(\"./types\").OldObject} */\n let oldObj;\n\n let changed = false;\n if (obj) {\n if (obj._rev && this.objects[id]) {\n this.objects[id]._rev = obj._rev;\n }\n\n if (this.objects[id]) {\n oldObj = { _id: id, type: this.objects[id].type };\n }\n\n if (!this.objects[id] || JSON.stringify(this.objects[id]) !== JSON.stringify(obj)) {\n this.objects[id] = obj;\n changed = true;\n }\n } else if (this.objects[id]) {\n oldObj = { _id: id, type: this.objects[id].type };\n delete this.objects[id];\n changed = true;\n }\n\n Object.keys(this.objectsSubscribes).forEach(_id => {\n if (_id === id || this.objectsSubscribes[_id].reg.test(id)) {\n //@ts-ignore\n this.objectsSubscribes[_id].cbs.forEach(cb => cb(id, obj, oldObj));\n }\n });\n\n if (changed && this.props.onObjectChange) {\n this.props.onObjectChange(id, obj);\n }\n }\n\n /**\n * Called internally.\n * @private\n * @param {string} id\n * @param {ioBroker.State | null | undefined} state\n */\n stateChange(id, state) {\n for (const task in this.statesSubscribes) {\n if (this.statesSubscribes.hasOwnProperty(task) && this.statesSubscribes[task].reg.test(id)) {\n this.statesSubscribes[task].cbs.forEach(cb => cb(id, state));\n }\n }\n }\n\n /**\n * Gets all states.\n * @param {boolean} disableProgressUpdate don't call onProgress() when done\n * @returns {Promise>}\n */\n getStates(disableProgressUpdate) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getStates', (err, res) => {\n this.states = res;\n //@ts-ignore\n !disableProgressUpdate && this.onProgress(PROGRESS.STATES_LOADED);\n return err ? reject(err) : resolve(this.states);\n }));\n }\n\n /**\n * Gets the given state.\n * @param {string} id The state ID.\n * @returns {Promise}\n */\n getState(id) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getState', id, (err, state) => err ? reject(err) : resolve(state)));\n }\n\n /**\n * Gets the given binary state.\n * @param {string} id The state ID.\n * @returns {Promise}\n */\n getBinaryState(id) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n // the data will come in base64\n return new Promise((resolve, reject) =>\n this._socket.emit('getBinaryState', id, (err, state) => err ? reject(err) : resolve(state)));\n }\n\n /**\n * Sets the given binary state.\n * @param {string} id The state ID.\n * @param {string} base64 The Base64 encoded binary data.\n * @returns {Promise}\n */\n setBinaryState(id, base64) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n // the data will come in base64\n return new Promise((resolve, reject) =>\n this._socket.emit('setBinaryState', id, base64, err => err ? reject(err) : resolve()));\n }\n\n /**\n * Sets the given state value.\n * @param {string} id The state ID.\n * @param {string | number | boolean | ioBroker.State | ioBroker.SettableState | null} val The state value.\n * @returns {Promise}\n */\n setState(id, val) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('setState', id, val, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Gets all objects.\n * @param {(objects?: Record) => void} update Callback that is executed when all objects are retrieved.\n * @returns {void}\n */\n /**\n * Gets all objects.\n * @param {boolean} update Set to true to retrieve all objects from the server (instead of using the local cache).\n * @param {boolean} disableProgressUpdate don't call onProgress() when done\n * @returns {Promise> | undefined}\n */\n getObjects(update, disableProgressUpdate) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n } else {\n return new Promise((resolve, reject) => {\n if (!update && this.objects) {\n return resolve(this.objects);\n }\n\n this._socket.emit(Connection.isWeb() ? 'getObjects' : 'getAllObjects', (err, res) => {\n this.objects = res;\n disableProgressUpdate && this.onProgress(PROGRESS.OBJECTS_LOADED);\n err ? reject(err) : resolve(this.objects);\n });\n });\n }\n }\n\n /**\n * Called internally.\n * @private\n * @param {boolean} isEnable\n */\n _subscribe(isEnable) {\n if (isEnable && !this.subscribed) {\n this.subscribed = true;\n this.autoSubscribes.forEach(id => this._socket.emit('subscribeObjects', id));\n // re subscribe objects\n Object.keys(this.objectsSubscribes).forEach(id => this._socket.emit('subscribeObjects', id));\n // re-subscribe logs\n this.autoSubscribeLog && this._socket.emit('requireLog', true);\n // re subscribe states\n Object.keys(this.statesSubscribes).forEach(id => this._socket.emit('subscribe', id));\n } else if (!isEnable && this.subscribed) {\n this.subscribed = false;\n // un-subscribe objects\n this.autoSubscribes.forEach(id => this._socket.emit('unsubscribeObjects', id));\n Object.keys(this.objectsSubscribes).forEach(id => this._socket.emit('unsubscribeObjects', id));\n // un-subscribe logs\n this.autoSubscribeLog && this._socket.emit('requireLog', false);\n\n // un-subscribe states\n Object.keys(this.statesSubscribes).forEach(id => this._socket.emit('unsubscribe', id));\n }\n }\n\n /**\n * Requests log updates.\n * @param {boolean} isEnabled Set to true to get logs.\n * @returns {Promise}\n */\n requireLog(isEnabled) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('requireLog', isEnabled, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Deletes the given object.\n * @param {string} id The object ID.\n * @param {boolean} maintenance Force deletion of non conform IDs.\n * @returns {Promise}\n */\n delObject(id, maintenance) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('delObject', id, { maintenance: !!maintenance }, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Deletes the given object and all its children.\n * @param {string} id The object ID.\n * @param {boolean} maintenance Force deletion of non conform IDs.\n * @returns {Promise}\n */\n delObjects(id, maintenance) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('delObjects', id, {maintenance: !!maintenance}, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Sets the object.\n * @param {string} id The object ID.\n * @param {ioBroker.SettableObject} obj The object.\n * @returns {Promise}\n */\n setObject(id, obj) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!obj) {\n return Promise.reject('Null object is not allowed');\n }\n\n obj = JSON.parse(JSON.stringify(obj));\n\n if (obj.hasOwnProperty('from')) {\n delete obj.from;\n }\n if (obj.hasOwnProperty('user')) {\n delete obj.user;\n }\n if (obj.hasOwnProperty('ts')) {\n delete obj.ts;\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('setObject', id, obj, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Gets the object with the given id from the server.\n * @param {string} id The object ID.\n * @returns {ioBroker.GetObjectPromise} The object.\n */\n getObject(id) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getObject', id, (err, obj) =>\n err ? reject(err) : resolve(obj)));\n }\n\n /**\n * Get all adapter instances.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n /**\n * Get all instances of the given adapter.\n * @param {string} adapter The name of the adapter.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getAdapterInstances(adapter, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (typeof adapter === 'boolean') {\n update = adapter;\n adapter = '';\n }\n adapter = adapter || '';\n\n if (!update && this._promises['instances_' + adapter]) {\n return this._promises['instances_' + adapter];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['instances_' + adapter] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n timeout = null;\n this.getObjectView(\n `system.adapter.${adapter}.`,\n `system.adapter.${adapter}.\\u9999`,\n 'instance'\n )\n .then(items => resolve(Object.keys(items).map(id => fixAdminUI(items[id]))))\n .catch(e => reject(e));\n }, TIMEOUT_FOR_ADMIN4);\n\n this._socket.emit('getAdapterInstances', adapter, (err, instances) => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n return err ? reject(err) : resolve(instances);\n }\n });\n });\n\n return this._promises['instances_' + adapter];\n }\n\n /**\n * Get all adapters.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n /**\n * Get adapters with the given name.\n * @param {string} adapter The name of the adapter.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getAdapters(adapter, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (typeof adapter === 'boolean') {\n update = adapter;\n adapter = '';\n }\n\n adapter = adapter || '';\n\n if (!update && this._promises['adapter_' + adapter]) {\n return this._promises['adapter_' + adapter];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['adapter_' + adapter] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n timeout = null;\n this.getObjectView(\n `system.adapter.${adapter}.`,\n `system.adapter.${adapter}.\\u9999`,\n 'adapter'\n )\n .then(items => resolve(Object.keys(items).map(id => fixAdminUI(items[id]))))\n .catch(e => reject(e));\n }, TIMEOUT_FOR_ADMIN4);\n\n this._socket.emit('getAdapters', adapter, (err, adapters) => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n return err ? reject(err) : resolve(adapters);\n }\n });\n });\n\n return this._promises['adapter_' + adapter];\n }\n\n /**\n * Called internally.\n * @private\n * @param {any[]} objs\n * @param {(err?: any) => void} cb\n */\n _renameGroups(objs, cb) {\n if (!objs || !objs.length) {\n cb && cb();\n } else {\n let obj = objs.pop();\n let oldId = obj._id;\n obj._id = obj.newId;\n delete obj.newId;\n\n this.setObject(obj._id, obj)\n .then(() => this.delObject(oldId))\n .then(() => setTimeout(() => this._renameGroups(objs, cb), 0))\n .catch(err => cb && cb(err));\n }\n }\n\n /**\n * Rename a group.\n * @param {string} id The id.\n * @param {string} newId The new id.\n * @param {string | { [lang in ioBroker.Languages]?: string; }} newName The new name.\n */\n renameGroup(id, newId, newName) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n return this.getGroups(true)\n .then(groups => {\n if (groups.length) {\n // find all elements\n const groupsToRename = groups\n .filter(group => group._id.startsWith(id + '.'));\n\n groupsToRename.forEach(group => group.newId = newId + group._id.substring(id.length));\n\n return new Promise((resolve, reject) =>\n this._renameGroups(groupsToRename, err => err ? reject(err) : resolve()))\n .then(() => {\n const obj = groups.find(group => group._id === id);\n\n if (obj) {\n obj._id = newId;\n if (newName !== undefined) {\n obj.common = obj.common || {};\n obj.common.name = newName;\n }\n\n return this.setObject(obj._id, obj)\n .then(() => this.delObject(id));\n }\n });\n }\n });\n }\n\n /**\n * Sends a message to a specific instance or all instances of some specific adapter.\n * @param {string} instance The instance to send this message to.\n * @param {string} [command] Command name of the target instance.\n * @param {ioBroker.MessagePayload} [data] The message data to send.\n * @returns {Promise}\n */\n sendTo(instance, command, data) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise(resolve =>\n this._socket.emit('sendTo', instance, command, data, result =>\n resolve(result)));\n }\n\n /**\n * Extend an object and create it if it might not exist.\n * @param {string} id The id.\n * @param {ioBroker.PartialObject} obj The object.\n */\n extendObject(id, obj) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n obj = JSON.parse(JSON.stringify(obj));\n\n if (obj.hasOwnProperty('from')) {\n delete obj.from;\n }\n if (obj.hasOwnProperty('user')) {\n delete obj.user;\n }\n if (obj.hasOwnProperty('ts')) {\n delete obj.ts;\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('extendObject', id, obj, err => err ? reject(err) : resolve()));\n }\n\n /**\n * Register a handler for log messages.\n * @param {(message: string) => void} handler The handler.\n */\n registerLogHandler(handler) {\n !this.onLogHandlers.includes(handler) && this.onLogHandlers.push(handler);\n }\n\n /**\n * Unregister a handler for log messages.\n * @param {(message: string) => void} handler The handler.\n */\n unregisterLogHandler(handler) {\n const pos = this.onLogHandlers.indexOf(handler);\n pos !== -1 && this.onLogHandlers.splice(pos, 1);\n }\n\n /**\n * Register a handler for the connection state.\n * @param {(connected: boolean) => void} handler The handler.\n */\n registerConnectionHandler(handler) {\n !this.onConnectionHandlers.includes(handler) && this.onConnectionHandlers.push(handler);\n }\n\n /**\n * Unregister a handler for the connection state.\n * @param {(connected: boolean) => void} handler The handler.\n */\n unregisterConnectionHandler(handler) {\n const pos = this.onConnectionHandlers.indexOf(handler);\n pos !== -1 && this.onConnectionHandlers.splice(pos, 1);\n }\n\n /**\n * Set the handler for standard output of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n registerCmdStdoutHandler(handler) {\n this.onCmdStdoutHandler = handler;\n }\n\n /**\n * Unset the handler for standard output of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n unregisterCmdStdoutHandler(handler) {\n this.onCmdStdoutHandler = null;\n }\n\n /**\n * Set the handler for standard error of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n registerCmdStderrHandler(handler) {\n this.onCmdStderrHandler = handler;\n }\n\n /**\n * Unset the handler for standard error of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n unregisterCmdStderrHandler(handler) {\n this.onCmdStderrHandler = null;\n }\n\n /**\n * Set the handler for exit of a command.\n * @param {(id: string, exitCode: number) => void} handler The handler.\n */\n registerCmdExitHandler(handler) {\n this.onCmdExitHandler = handler;\n }\n\n /**\n * Unset the handler for exit of a command.\n * @param {(id: string, exitCode: number) => void} handler The handler.\n */\n unregisterCmdExitHandler(handler) {\n this.onCmdExitHandler = null;\n }\n\n /**\n * Get all enums with the given name.\n * @param {string} [_enum] The name of the enum\n * @param {boolean} [update] Force update.\n * @returns {Promise>}\n */\n getEnums(_enum, update) {\n if (!update && this._promises['enums_' + (_enum || 'all')]) {\n return this._promises['enums_' + (_enum || 'all')];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['enums_' + (_enum || 'all')] = new Promise((resolve, reject) => {\n this._socket.emit('getObjectView', 'system', 'enum', { startkey: 'enum.' + (_enum || ''), endkey: 'enum.' + (_enum ? (_enum + '.') : '') + '\\u9999' }, (err, res) => {\n if (!err && res) {\n const _res = {};\n for (let i = 0; i < res.rows.length; i++) {\n if (_enum && res.rows[i].id === 'enum.' + _enum) {\n continue;\n }\n _res[res.rows[i].id] = res.rows[i].value;\n }\n resolve(_res);\n } else {\n reject(err);\n }\n });\n });\n\n return this._promises['enums_' + (_enum || 'all')];\n }\n\n /**\n * Query a predefined object view.\n * @param {string} start The start ID.\n * @param {string} end The end ID.\n * @param {string} type The type of object.\n * @returns {Promise>}\n */\n getObjectView(start, end, type) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n start = start || '';\n end = end || '\\u9999';\n\n return new Promise((resolve, reject) => {\n this._socket.emit('getObjectView', 'system', type, { startkey: start, endkey: end }, (err, res) => {\n if (!err) {\n const _res = {};\n if (res && res.rows) {\n for (let i = 0; i < res.rows.length; i++) {\n _res[res.rows[i].id] = res.rows[i].value;\n }\n }\n resolve(_res);\n } else {\n reject(err);\n }\n });\n });\n }\n\n /**\n * Get the stored certificates.\n * @param {boolean} [update] Force update.\n * @returns {Promise<{name: string; type: 'public' | 'private' | 'chained'}[]>}\n */\n getCertificates(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (this._promises.cert && !update) {\n return this._promises.cert;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.cert = this.getObject('system.certificates')\n .then(res => {\n const certs = [];\n if (res && res.native && res.native.certificates) {\n Object.keys(res.native.certificates).forEach(c => {\n const cert = res.native.certificates[c];\n if (!cert) {\n return;\n }\n const _cert = {\n name: c,\n type: ''\n };\n // If it is filename, it could be everything\n if (cert.length < 700 && (cert.indexOf('/') !== -1 || cert.indexOf('\\\\') !== -1)) {\n if (c.toLowerCase().includes('private')) {\n _cert.type = 'private';\n } else if (cert.toLowerCase().includes('private')) {\n _cert.type = 'private';\n } else if (c.toLowerCase().includes('public')) {\n _cert.type = 'public';\n } else if (cert.toLowerCase().includes('public')) {\n _cert.type = 'public';\n }\n certs.push(_cert);\n } else {\n _cert.type = (cert.substring(0, '-----BEGIN RSA PRIVATE KEY'.length) === '-----BEGIN RSA PRIVATE KEY' || cert.substring(0, '-----BEGIN PRIVATE KEY'.length) === '-----BEGIN PRIVATE KEY') ? 'private' : 'public';\n\n if (_cert.type === 'public') {\n const m = cert.split('-----END CERTIFICATE-----');\n if (m.filter(t => t.replace(/\\r\\n|\\r|\\n/, '').trim()).length > 1) {\n _cert.type = 'chained';\n }\n }\n\n certs.push(_cert);\n }\n });\n }\n return certs;\n });\n\n return this._promises.cert;\n }\n\n /**\n * Get the logs from a host (only for admin connection).\n * @param {string} host\n * @param {number} [linesNumber]\n * @returns {Promise}\n */\n getLogs(host, linesNumber) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise(resolve =>\n this._socket.emit('sendToHost', host, 'getLogs', linesNumber || 200, lines =>\n resolve(lines)));\n }\n\n /**\n * Get the log files (only for admin connection).\n * @returns {Promise}\n */\n getLogsFiles(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('readLogs', host, (err, files) =>\n err ? reject(err) : resolve(files)));\n }\n\n /**\n * Delete the logs from a host (only for admin connection).\n * @param {string} host\n * @returns {Promise}\n */\n delLogs(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('sendToHost', host, 'delLogs', null, error =>\n error ? reject(error) : resolve()));\n }\n\n /**\n * Read the meta items.\n * @returns {Promise}\n */\n readMetaItems() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getObjectView', 'system', 'meta', { startkey: '', endkey: '\\u9999' }, (err, objs) =>\n err ? reject(err) : resolve(objs.rows && objs.rows.map(obj => obj.value))));\n }\n\n /**\n * Read the directory of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The directory name.\n * @returns {Promise}\n */\n readDir(adapter, fileName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('readDir', adapter, fileName, (err, files) =>\n err ? reject(err) : resolve(files)));\n }\n\n /**\n * Read a file of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The file name.\n * @param {boolean} base64 If it must be a base64 format\n * @returns {Promise}\n */\n readFile(adapter, fileName, base64) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n if (!base64) {\n this._socket.emit('readFile', adapter, fileName, (err, data, type) => {\n //@ts-ignore\n err ? reject(err) : resolve({data, type});\n });\n } else {\n this._socket.emit('readFile64', adapter, fileName, base64, (err, data) =>\n err ? reject(err) : resolve(data));\n }\n });\n }\n\n /**\n * Write a file of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The file name.\n * @param {Buffer | string} data The data (if it's a Buffer, it will be converted to Base64).\n * @returns {Promise}\n */\n writeFile64(adapter, fileName, data) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n if (typeof data === 'string') {\n this._socket.emit('writeFile', adapter, fileName, data, err =>\n err ? reject(err) : resolve());\n } else {\n const base64 = btoa(\n new Uint8Array(data)\n .reduce((data, byte) => data + String.fromCharCode(byte), '')\n );\n\n this._socket.emit('writeFile64', adapter, fileName, base64, err =>\n err ? reject(err) : resolve());\n }\n });\n }\n\n /**\n * Rename a file or folder of an adapter.\n *\n * All files in folder will be renamed too.\n * @param {string} adapter The adapter name.\n * @param {string} oldName The file name of the file to be renamed.\n * @param {string} newName The new file name.\n * @returns {Promise}\n */\n rename(adapter, oldName, newName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('rename', adapter, oldName, newName, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Delete a file of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The file name.\n * @returns {Promise}\n */\n deleteFile(adapter, fileName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('unlink', adapter, fileName, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Delete a folder of an adapter.\n * All files in folder will be deleted.\n * @param {string} adapter The adapter name.\n * @param {string} folderName The folder name.\n * @returns {Promise}\n */\n deleteFolder(adapter, folderName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('deleteFolder', adapter, folderName, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Get the list of all hosts.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getHosts(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.hosts) {\n return this._promises.hosts;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.hosts = new Promise((resolve, reject) =>\n this._socket.emit(\n 'getObjectView',\n 'system',\n 'host',\n {startkey: 'system.host.', endkey: 'system.host.\\u9999'},\n (err, doc) => {\n if (err) {\n reject(err);\n } else {\n resolve(doc.rows.map(item => item.value));\n }\n }));\n\n return this._promises.hosts;\n }\n\n /**\n * Get the list of all users.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getUsers(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.users) {\n return this._promises.users;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.users = new Promise((resolve, reject) =>\n this._socket.emit(\n 'getObjectView',\n 'system',\n 'user',\n {startkey: 'system.user.', endkey: 'system.user.\\u9999'},\n (err, doc) => {\n if (err) {\n reject(err);\n } else {\n resolve(doc.rows.map(item => item.value));\n }\n }));\n\n return this._promises.users;\n }\n\n /**\n * Get the list of all groups.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getGroups(update) {\n if (!update && this._promises.groups) {\n return this._promises.groups;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.groups = new Promise((resolve, reject) =>\n this._socket.emit(\n 'getObjectView',\n 'system',\n 'group',\n {startkey: 'system.group.', endkey: 'system.group.\\u9999'},\n (err, doc) => {\n if (err) {\n reject(err);\n } else {\n resolve(doc.rows.map(item => item.value));\n }\n }));\n\n return this._promises.groups;\n }\n\n /**\n * Get the host information.\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] optional read timeout.\n * @returns {Promise}\n */\n getHostInfo(host, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n if (!update && this._promises['hostInfo' + host]) {\n return this._promises['hostInfo' + host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['hostInfo' + host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getHostInfo timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getHostInfo', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getHostInfo\"');\n } else if (!data) {\n reject('Cannot read \"getHostInfo\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises['hostInfo' + host];\n }\n\n /**\n * Get the host information (short version).\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] optional read timeout.\n * @returns {Promise}\n */\n getHostInfoShort(host, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n if (!update && this._promises['hostInfoShort' + host]) {\n return this._promises['hostInfoShort' + host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['hostInfoShort' + host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('hostInfoShort timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getHostInfoShort', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getHostInfoShort\"');\n } else if (!data) {\n reject('Cannot read \"getHostInfoShort\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises['hostInfoShort' + host];\n }\n\n /**\n * Get the repository.\n * @param {string} host\n * @param {any} [args]\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] timeout in ms.\n * @returns {Promise}\n */\n getRepository(host, args, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.repo) {\n return this._promises.repo;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.repo = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getRepository timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getRepository', args, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getRepository\"');\n } else if (!data) {\n reject('Cannot read \"getRepository\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.repo;\n }\n\n /**\n * Get the installed.\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [cmdTimeout] timeout in ms (optional)\n * @returns {Promise}\n */\n getInstalled(host, update, cmdTimeout) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n this._promises.installed = this._promises.installed || {};\n\n if (!update && this._promises.installed[host]) {\n return this._promises.installed[host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.installed[host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getInstalled timeout');\n }\n }, cmdTimeout || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getInstalled', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getInstalled\"');\n } else if (!data) {\n reject('Cannot read \"getInstalled\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.installed[host];\n }\n\n /**\n * Execute a command on a host.\n * @param {string} host The host name.\n * @param {string} cmd The command.\n * @param {string} cmdId The command ID.\n * @param {number} cmdTimeout Timeout of command in ms\n * @returns {Promise}\n */\n cmdExec(host, cmd, cmdId, cmdTimeout) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith(host)) {\n host += 'system.host.' + host;\n }\n\n return new Promise((resolve, reject) => {\n let timeout = cmdTimeout && setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('cmdExec timeout');\n }\n }, cmdTimeout);\n\n this._socket.emit('cmdExec', host, cmdId, cmd, null, err => {\n if (!cmdTimeout || timeout) {\n timeout && clearTimeout(timeout);\n timeout = null;\n if (err) {\n reject(err);\n } else {\n resolve();\n }\n }\n });\n });\n }\n\n /**\n * Checks if a given feature is supported.\n * @param {string} feature The feature to check.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n checkFeatureSupported(feature, update) {\n if (!update && this._promises['supportedFeatures_' + feature]) {\n return this._promises['supportedFeatures_' + feature];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['supportedFeatures_' + feature] = new Promise((resolve, reject) =>\n this._socket.emit('checkFeatureSupported', feature, (err, features) => {\n err ? reject(err) : resolve(features)\n }));\n\n return this._promises['supportedFeatures_' + feature];\n }\n\n /**\n * Read the base settings of a given host.\n * @param {string} host\n * @returns {Promise}\n */\n readBaseSettings(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return this.checkFeatureSupported('CONTROLLER_READWRITE_BASE_SETTINGS')\n .then(result => {\n if (result) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('readBaseSettings timeout');\n }\n }, this.props.cmdTimeout);\n\n if (host.startsWith('system.host.')) {\n host = host.replace(/^system\\.host\\./, '');\n }\n\n this._socket.emit('sendToHost', host, 'readBaseSettings', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n\n if (data === PERMISSION_ERROR) {\n reject('May not read \"BaseSettings\"');\n } else if (!data) {\n reject('Cannot read \"BaseSettings\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n } else {\n return Promise.reject('Not supported');\n }\n });\n }\n\n /**\n * Write the base settings of a given host.\n * @param {string} host\n * @param {any} config\n * @returns {Promise}\n */\n writeBaseSettings(host, config) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return this.checkFeatureSupported('CONTROLLER_READWRITE_BASE_SETTINGS')\n .then(result => {\n if (result) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('writeBaseSettings timeout');\n }\n }, this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'writeBaseSettings', config, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n\n if (data === PERMISSION_ERROR) {\n reject('May not write \"BaseSettings\"');\n } else if (!data) {\n reject('Cannot write \"BaseSettings\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n } else {\n return Promise.reject('Not supported');\n }\n })\n }\n\n /**\n * Send command to restart the iobroker on host\n * @param {string} host\n * @returns {Promise}\n */\n restartController(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) => {\n this._socket.emit('sendToHost', host, 'restartController', null, error => {\n error ? reject(error) : resolve(true);\n });\n });\n }\n\n /**\n * Read statistics information from host\n * @param {string} host\n * @param {string} typeOfDiag one of none, normal, no-city, extended\n * @returns {Promise}\n */\n getDiagData(host, typeOfDiag) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise(resolve => {\n this._socket.emit('sendToHost', host, 'getDiagData', typeOfDiag, result =>\n resolve(result));\n });\n }\n\n /**\n * Read all states (which might not belong to this adapter) which match the given pattern.\n * @param {string} pattern\n * @returns {ioBroker.GetStatesPromise}\n */\n getForeignStates(pattern) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n if (Connection.isWeb()) {\n return new Promise((resolve, reject) =>\n this._socket.emit('getStates', pattern || '*', (err, states) =>\n err ? reject(err) : resolve(states)));\n } else {\n return new Promise((resolve, reject) =>\n this._socket.emit('getForeignStates', pattern || '*', (err, states) =>\n err ? reject(err) : resolve(states)));\n }\n }\n\n /**\n * Get foreign objects by pattern, by specific type and resolve their enums.\n * @param {string} pattern\n * @param {string} [type]\n * @returns {ioBroker.GetObjectsPromise}\n */\n getForeignObjects(pattern, type) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getForeignObjects', pattern || '*', type, (err, states) =>\n err ? reject(err) : resolve(states)));\n }\n\n /**\n * Gets the system configuration.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getSystemConfig(update) {\n if (!update && this._promises.systemConfig) {\n return this._promises.systemConfig;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.systemConfig = this.getObject('system.config')\n .then(systemConfig => {\n //@ts-ignore\n systemConfig = systemConfig || {};\n //@ts-ignore\n systemConfig.common = systemConfig.common || {};\n //@ts-ignore\n systemConfig.native = systemConfig.native || {};\n return systemConfig;\n });\n\n return this._promises.systemConfig;\n }\n\n /**\n * Sets the system configuration.\n * @param {ioBroker.SettableObjectWorker} obj\n * @returns {Promise>}\n */\n setSystemConfig(obj) {\n return this.setObject('system.config', obj)\n .then(() => this._promises.systemConfig = Promise.resolve(obj));\n }\n\n /**\n * Get the raw socket.io socket.\n * @returns {any}\n */\n getRawSocket() {\n return this._socket;\n }\n\n /**\n * Get the history of a given state.\n * @param {string} id\n * @param {ioBroker.GetHistoryOptions} options\n * @returns {Promise}\n */\n getHistory(id, options) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getHistory', id, options, (err, values) =>\n err ? reject(err) : resolve(values)));\n }\n\n /**\n * Get the history of a given state.\n * @param {string} id\n * @param {ioBroker.GetHistoryOptions} options\n * @returns {Promise<{values: ioBroker.GetHistoryResult; sesionId: string; stepIgnore: number}>}\n */\n getHistoryEx(id, options) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getHistory', id, options, (err, values, stepIgnore, sessionId) =>\n err ? reject(err) : resolve({ values, sessionId, stepIgnore })));\n }\n\n /**\n * Change the password of the given user.\n * @param {string} user\n * @param {string} password\n * @returns {Promise}\n */\n changePassword(user, password) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('changePassword', user, password, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Get the IP addresses of the given host.\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getIpAddresses(host, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!host.startsWith('system.host.')) {\n host = 'system.host.' + host;\n }\n\n if (!update && this._promises['IPs_' + host]) {\n return this._promises['IPs_' + host];\n }\n this._promises['IPs_' + host] = this.getObject(host)\n .then(obj => obj && obj.common ? obj.common.address || [] : []);\n\n return this._promises['IPs_' + host];\n }\n\n /**\n * Get the IP addresses with interface names of the given host or find host by IP.\n * @param {string} ipOrHostName\n * @param {boolean} [update] Force update.\n * @returns {Promise]>}\n */\n getHostByIp(ipOrHostName, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (ipOrHostName.startsWith('system.host.')) {\n ipOrHostName = ipOrHostName.replace(/^system\\.host\\./, '');\n }\n\n if (!update && this._promises['rIPs_' + ipOrHostName]) {\n return this._promises['rIPs_' + ipOrHostName];\n }\n this._promises['rIPs_' + ipOrHostName] = new Promise(resolve =>\n this._socket.emit('getHostByIp', ipOrHostName, (ip, host) => {\n const IPs4 = [{name: '[IPv4] 0.0.0.0 - Listen on all IPs', address: '0.0.0.0', family: 'ipv4'}];\n const IPs6 = [{name: '[IPv6] :: - Listen on all IPs', address: '::', family: 'ipv6'}];\n if (host.native?.hardware?.networkInterfaces) {\n for (const eth in host.native.hardware.networkInterfaces) {\n if (!host.native.hardware.networkInterfaces.hasOwnProperty(eth)) {\n continue;\n }\n for (let num = 0; num < host.native.hardware.networkInterfaces[eth].length; num++) {\n if (host.native.hardware.networkInterfaces[eth][num].family !== 'IPv6') {\n IPs4.push({name: `[${host.native.hardware.networkInterfaces[eth][num].family}] ${host.native.hardware.networkInterfaces[eth][num].address} - ${eth}`, address: host.native.hardware.networkInterfaces[eth][num].address, family: 'ipv4'});\n } else {\n IPs6.push({name: `[${host.native.hardware.networkInterfaces[eth][num].family}] ${host.native.hardware.networkInterfaces[eth][num].address} - ${eth}`, address: host.native.hardware.networkInterfaces[eth][num].address, family: 'ipv6'});\n }\n }\n }\n }\n for (let i = 0; i < IPs6.length; i++) {\n IPs4.push(IPs6[i]);\n }\n resolve(IPs4);\n }));\n\n return this._promises['rIPs_' + ipOrHostName];\n }\n\n /**\n * Encrypt a text\n * @param {string} text\n * @returns {Promise}\n */\n encrypt(text) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('encrypt', text, (err, text) =>\n err ? reject(err) : resolve(text)));\n }\n\n /**\n * Decrypt a text\n * @param {string} encryptedText\n * @returns {Promise}\n */\n decrypt(encryptedText) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('decrypt', encryptedText, (err, text) =>\n err ? reject(err) : resolve(text)));\n }\n\n /**\n * Gets the version.\n * @returns {Promise<{version: string; serverName: string}>}\n */\n getVersion(update) {\n if (update && this._promises.version) {\n this._promises.version = null;\n }\n\n this._promises.version = this._promises.version || new Promise((resolve, reject) =>\n this._socket.emit('getVersion', (err, version, serverName) => {\n // support of old socket.io\n if (err && !version && typeof err === 'string' && err.match(/\\d+\\.\\d+\\.\\d+/)) {\n resolve({ version: err, serverName: 'socketio' });\n } else {\n return err ? reject(err) : resolve({ version, serverName });\n }\n }));\n\n return this._promises.version;\n }\n\n /**\n * Gets the web server name.\n * @returns {Promise}\n */\n getWebServerName() {\n this._promises.webName = this._promises.webName || new Promise((resolve, reject) =>\n this._socket.emit('getAdapterName', (err, name) =>\n err ? reject(err) : resolve(name)));\n\n return this._promises.webName;\n }\n\n /**\n * Gets the admin version.\n * @deprecated use getVersion()\n * @returns {Promise<{version: string; serverName: string}>}\n */\n getAdminVersion() {\n console.log('Deprecated: use getVersion');\n return this.getVersion();\n }\n\n /**\n * Change access rights for file\n * @param {string} [adapter] adapter name\n * @param {string} [filename] file name with full path. it could be like vis.0/*\n * @param {object} [options] like {mode: 0x644}\n * @returns {Promise<{entries: array}>}\n */\n chmodFile(adapter, filename, options) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('chmodFile', adapter, filename, options, (err, entries, id) =>\n err ? reject(err) : resolve({entries, id})));\n }\n\n /**\n * Change owner or/and owner group for file\n * @param {string} [adapter] adapter name\n * @param {string} [filename] file name with full path. it could be like vis.0/*\n * @param {object} [options] like {owner: 'newOwner', ownerGroup: 'newGroup'}\n * @returns {Promise<{entries: array}>}\n */\n chownFile(adapter, filename, options) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('chownFile', adapter, filename, options, (err, entries, id) =>\n err ? reject(err) : resolve({entries, id})));\n }\n\n /**\n * Check if the file exists\n * @param {string} [adapter] adapter name\n * @param {string} [filename] file name with full path. it could be like vis.0/*\n * @returns {Promise}\n */\n fileExists(adapter, filename) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('fileExists', adapter, filename, (err, exists) =>\n err ? reject(err) : resolve(exists)));\n }\n\n /**\n * Get the alarm notifications from a host (only for admin connection).\n * @param {string} host\n * @param {string} [category] - optional\n * @returns {Promise}\n */\n getNotifications(host, category) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise(resolve =>\n this._socket.emit('sendToHost', host, 'getNotifications', {category}, notifications =>\n resolve(notifications)));\n }\n\n /**\n * Clear the alarm notifications on a host (only for admin connection).\n * @param {string} host\n * @param {string} [category] - optional\n * @returns {Promise}\n */\n clearNotifications(host, category) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise(resolve =>\n this._socket.emit('sendToHost', host, 'clearNotifications', {category}, notifications =>\n resolve(notifications)));\n }\n\n /**\n * Read if only easy mode is allowed (only for admin connection).\n * @returns {Promise}\n */\n getIsEasyModeStrict() {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getIsEasyModeStrict', (error, isStrict) =>\n error ? reject(error) : resolve(isStrict)));\n }\n\n /**\n * Read easy mode configuration (only for admin connection).\n * @returns {Promise}\n */\n getEasyMode() {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getEasyMode', (error, config) =>\n error ? reject(error) : resolve(config)));\n }\n\n /**\n * Read current user\n * @returns {Promise}\n */\n getCurrentUser() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise(resolve =>\n this._socket.emit('authEnabled', (isSecure, user) =>\n resolve(user)));\n }\n\n getCurrentSession(cmdTimeout) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) => {\n const controller = new AbortController();\n\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n controller.abort();\n reject('getCurrentSession timeout');\n }\n }, cmdTimeout || 5000);\n\n return fetch('./session', { signal: controller.signal })\n .then(res => res.json())\n .then(json => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n resolve(json);\n }\n })\n .catch(e => {\n reject('getCurrentSession: ' + e);\n });\n });\n }\n\n /**\n * Read adapter ratings\n * @returns {Promise}\n */\n getRatings(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getRatings', update, (err, ratings) =>\n err ? reject(err) : resolve(ratings)));\n }\n\n /**\n * Read current web, socketio or admin namespace, like admin.0\n * @returns {Promise}\n */\n getCurrentInstance() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.currentInstance = this._promises.currentInstance ||\n new Promise((resolve, reject) =>\n this._socket.emit('getCurrentInstance', (err, namespace) =>\n err ? reject(err) : resolve(namespace)));\n\n return this._promises.currentInstance;\n }\n\n // returns very optimized information for adapters to minimize connection load\n getCompactAdapters(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.compactAdapters) {\n return this._promises.compactAdapters;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n this._promises.compactAdapters = new Promise((resolve, reject) =>\n this._socket.emit('getCompactAdapters', (err, adapters) =>\n err ? reject(err) : resolve(adapters)));\n\n return this._promises.compactAdapters;\n }\n\n // returns very optimized information for adapters to minimize connection load\n getCompactInstances(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.compactInstances) {\n return this._promises.compactInstances;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.compactInstances = new Promise((resolve, reject) =>\n this._socket.emit('getCompactInstances', (err, instances) =>\n err ? reject(err) : resolve(instances)));\n\n return this._promises.compactInstances;\n }\n\n // returns very optimized information for adapters to minimize connection load\n // reads only version of installed adapter\n getCompactInstalled(host, update, cmdTimeout) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n this._promises.installedCompact = this._promises.installedCompact || {};\n\n if (!update && this._promises.installedCompact[host]) {\n return this._promises.installedCompact[host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.installedCompact[host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getCompactInstalled timeout');\n }\n }, cmdTimeout || this.props.cmdTimeout);\n\n this._socket.emit('getCompactInstalled', host, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getCompactInstalled\"');\n } else if (!data) {\n reject('Cannot read \"getCompactInstalled\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.installedCompact[host];\n }\n\n // returns very optimized information for adapters to minimize connection load\n getCompactSystemConfig(update) {\n if (!update && this._promises.systemConfigCommon) {\n return this._promises.systemConfigCommon;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.systemConfigCommon = new Promise((resolve, reject) =>\n this._socket.emit('getCompactSystemConfig', (err, systemConfig) =>\n err ? reject(err) : resolve(systemConfig)));\n\n return this._promises.systemConfigCommon;\n }\n\n /**\n * Get the repository in compact form (only version and icon).\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] timeout in ms.\n * @returns {Promise}\n */\n getCompactRepository(host, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.repoCompact) {\n return this._promises.repoCompact;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.repoCompact = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getCompactRepository timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('getCompactRepository', host, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getCompactRepository\"');\n } else if (!data) {\n reject('Cannot read \"getCompactRepository\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.repoCompact;\n }\n\n /**\n * Get the list of all hosts in compact form (only _id, common.name, common.icon, common.color, native.hardware.networkInterfaces)\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getCompactHosts(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.hostsCompact) {\n return this._promises.hostsCompact;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.hostsCompact = new Promise((resolve, reject) =>\n this._socket.emit('getCompactHosts', (err, hosts) =>\n err ? reject(err) : resolve(hosts)));\n\n return this._promises.hostsCompact;\n }\n\n /**\n * Get uuid\n * @returns {Promise}\n */\n getUuid() {\n if (this._promises.uuid) {\n return this._promises.uuid;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.uuid = this.getObject('system.meta.uuid')\n //@ts-ignore\n .then(obj => obj?.native?.uuid);\n\n return this._promises.uuid;\n }\n\n /**\n * Send log to ioBroker log\n * @param {string} [text] Log text\n * @param {string} [level] `info`, `debug`, `warn`, `error` or `silly`\n * @returns {void}\n */\n log(text, level) {\n text && this._socket.emit('log', text, level || 'debug');\n }\n\n /**\n * Logout current user\n * @returns {Promise}\n */\n logout() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('logout', err =>\n err ? reject(err) : resolve(null)));\n }\n}\n\nConnection.Connection = {\n onLog: PropTypes.func,\n onReady: PropTypes.func,\n onProgress: PropTypes.func,\n};\n\nexport default Connection;\n","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\n// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Button from '@mui/material/Button';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogContentText from '@mui/material/DialogContentText';\nimport DialogTitle from '@mui/material/DialogTitle';\n\nimport IconCheck from '@mui/icons-material/Check';\n\nimport I18n from '../i18n';\n\nconst styles = theme => ({\n titleBackground: {\n\n },\n titleColor: {\n\n }\n});\n\n/**\n * @typedef {object} DialogErrorProps\n * @property {string} [key] The key to identify this component.\n * @property {string} [title] The dialog title; default: Error (translated)\n * @property {string | JSX.Element} text The dialog text.\n * @property {() => void} [onClose] Close handler.\n * @property {{titleBackground: string; titleColor: string}} classes The styling class names.\n *\n * @extends {React.Component}\n */\nclass DialogError extends React.Component {\n handleOk() {\n this.props.onClose && this.props.onClose();\n };\n\n render() {\n return this.handleOk()}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n {this.props.title || I18n.t('ra_Error')}\n \n \n {this.props.text || I18n.t('ra_Unknown error!')}\n \n \n \n \n \n ;\n }\n}\n\nDialogError.propTypes = {\n onClose: PropTypes.func.isRequired,\n title: PropTypes.string,\n text: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element\n ]),\n icon: PropTypes.object\n};\n\n/** @type {typeof DialogError} */\nconst _export = withStyles(styles)(DialogError);\nexport default _export;\n","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\nimport React from 'react';\nimport Connection, {PROGRESS} from './Connection';\nimport PropTypes from 'prop-types';\nimport * as Sentry from '@sentry/browser';\nimport * as SentryIntegrations from '@sentry/integrations';\n\nimport DialogError from './Dialogs/Error';\nimport Snackbar from '@mui/material/Snackbar';\nimport IconButton from '@mui/material/IconButton';\n\nimport IconClose from '@mui/icons-material/Close';\n\nimport printPrompt from './Prompt';\nimport theme from './Theme';\nimport Loader from './Components/Loader';\nimport Router from './Components/Router';\nimport Utils from './Components/Utils';\nimport SaveCloseButtons from './Components/SaveCloseButtons';\nimport I18n from './i18n';\n\nimport './index.css';\n\nif (!window.localStorage) {\n window.localStorage = {\n getItem: () => null,\n setItem: () => null,\n };\n}\n\n/**\n * @extends {Router}\n */\nclass GenericApp extends Router {\n /**\n * @param {import('./types').GenericAppProps} props\n * @param {import('./types').GenericAppSettings | undefined} settings\n */\n constructor(props, settings) {\n const ConnectionClass = props.Connection || settings.Connection || Connection;\n\n // Remove `!Connection.isWeb() && window.adapterName !== 'material'` when iobroker.socket will support native ws\n if (!ConnectionClass.isWeb() && window.io && window.location.port === '3000') {\n try {\n const io = new window.SocketClient();\n delete window.io;\n window.io = io;\n } catch (e) {\n // ignore\n }\n }\n\n super(props);\n\n printPrompt();\n\n let query = (window.location.search || '').replace(/^\\?/, '').replace(/#.*$/, '');\n let args = {};\n query.trim().split('&').filter(t => t.trim()).forEach(b => {\n const parts = b.split('=');\n args[parts[0]] = parts.length === 2 ? parts[1] : true;\n if (args[parts[0]] === 'true') {\n args[parts[0]] = true;\n } else if (args[parts[0]] === 'false') {\n args[parts[0]] = false;\n }\n });\n\n // extract instance from URL\n this.instance = args.instance !== undefined ? parseInt(args.instance, 10) || 0 : (parseInt(window.location.search.slice(1), 10) || 0);\n // extract adapter name from URL\n const tmp = window.location.pathname.split('/');\n this.adapterName = settings?.adapterName || props.adapterName || window.adapterName || tmp[tmp.length - 2] || 'iot';\n this.instanceId = `system.adapter.${this.adapterName}.${this.instance}`;\n this.newReact = args.newReact === true; // it is admin5\n\n const location = Router.getLocation();\n location.tab = location.tab || window.localStorage.getItem(this.adapterName + '-adapter') || '';\n\n const themeInstance = this.createTheme();\n\n this.state = {\n selectedTab: window.localStorage.getItem(this.adapterName + '-adapter') || '',\n selectedTabNum: -1,\n native: {},\n errorText: '',\n changed: false,\n connected: false,\n loaded: false,\n isConfigurationError: '',\n expertMode: false,\n toast: '',\n theme: themeInstance,\n themeName: this.getThemeName(themeInstance),\n themeType: this.getThemeType(themeInstance),\n bottomButtons: (settings && settings.bottomButtons) === false ? false : ((props && props.bottomButtons) === false ? false : true),\n width: GenericApp.getWidth(),\n };\n\n // init translations\n const translations = {\n 'en': require('./i18n/en.json'),\n 'de': require('./i18n/de.json'),\n 'ru': require('./i18n/ru.json'),\n 'pt': require('./i18n/pt.json'),\n 'nl': require('./i18n/nl.json'),\n 'fr': require('./i18n/fr.json'),\n 'it': require('./i18n/it.json'),\n 'es': require('./i18n/es.json'),\n 'pl': require('./i18n/pl.json'),\n 'zh-cn': require('./i18n/zh-cn.json'),\n };\n\n // merge together\n if (settings && settings.translations) {\n Object.keys(settings.translations).forEach(lang => translations[lang] = Object.assign(translations[lang], settings.translations[lang]));\n } else if (props.translations) {\n Object.keys(props.translations).forEach(lang => translations[lang] = Object.assign(translations[lang], props.translations[lang]));\n }\n\n I18n.setTranslations(translations);\n\n this.savedNative = {}; // to detect if the config changed\n\n this.encryptedFields = props.encryptedFields || settings?.encryptedFields || [];\n\n this.sentryDSN = (settings && settings.sentryDSN) || props.sentryDSN;\n\n this.socket = new ConnectionClass({\n ...(props?.socket || settings?.socket),\n name: this.adapterName,\n doNotLoadAllObjects: settings?.doNotLoadAllObjects,\n onProgress: progress => {\n if (progress === PROGRESS.CONNECTING) {\n this.setState({connected: false});\n } else if (progress === PROGRESS.READY) {\n this.setState({connected: true});\n } else {\n this.setState({connected: true});\n }\n },\n onReady: (objects, scripts) => {\n I18n.setLanguage(this.socket.systemLang);\n\n // subscribe because of language and expert mode\n this.socket.subscribeObject('system.config', this.onSystemConfigChanged)\n .then(() => this.getSystemConfig())\n .then(obj => {\n this._secret = (typeof obj !== 'undefined' && obj.native && obj.native.secret) || 'Zgfr56gFe87jJOM';\n this._systemConfig = obj?.common || {};\n return this.socket.getObject(this.instanceId);\n })\n .then(instanceObj => {\n let waitPromise;\n\n const sentryEnabled =\n this._systemConfig.diag !== 'none' &&\n instanceObj &&\n instanceObj.common &&\n instanceObj.common.name &&\n instanceObj.common.version &&\n !instanceObj.common.disableDataReporting &&\n window.location.host !== 'localhost:3000';\n\n // activate sentry plugin\n if (!this.sentryStarted && this.sentryDSN && sentryEnabled) {\n this.sentryStarted = true;\n\n Sentry.init({\n dsn: this.sentryDSN,\n release: `iobroker.${instanceObj.common.name}@${instanceObj.common.version}`,\n integrations: [\n new SentryIntegrations.Dedupe()\n ]\n });\n }\n\n // read UUID and init sentry with it.\n // for backward compatibility it will be processed separately from above logic: some adapters could still have this.sentryDSN as undefined\n if (!this.sentryInited && sentryEnabled) {\n this.sentryInited = true;\n\n waitPromise = this.socket.getObject('system.meta.uuid')\n .then(uuidObj => {\n if (uuidObj && uuidObj.native && uuidObj.native.uuid) {\n Sentry.configureScope(scope =>\n scope.setUser({id: uuidObj.native.uuid}));\n }\n });\n }\n\n waitPromise = waitPromise || Promise.resolve();\n\n waitPromise\n .then(() => {\n if (instanceObj) {\n this.common = instanceObj?.common;\n this.onPrepareLoad(instanceObj.native, instanceObj.encryptedNative); // decode all secrets\n this.savedNative = JSON.parse(JSON.stringify(instanceObj.native));\n this.setState({native: instanceObj.native, loaded: true, expertMode: this.getExpertMode()}, () =>\n this.onConnectionReady && this.onConnectionReady());\n } else {\n console.warn('Cannot load instance settings');\n this.setState({native: {}, loaded: true, expertMode: this.getExpertMode()}, () => this.onConnectionReady && this.onConnectionReady());\n }\n });\n });\n },\n onError: err => {\n console.error(err);\n this.showError(err);\n }\n });\n }\n\n onSystemConfigChanged = (id, obj) => {\n if (obj && id === 'system.config') {\n if (this.socket.systemLang !== obj?.common.language) {\n this.socket.systemLang = obj?.common.language || 'en';\n I18n.setLanguage(this.socket.systemLang);\n }\n\n if (this._systemConfig.expertMode !== !!obj?.common?.expertMode) {\n this._systemConfig = obj?.common || {};\n this.setState({expertMode: this.getExpertMode()});\n } else {\n this._systemConfig = obj?.common || {};\n }\n }\n }\n\n /**\n * Called immediately after a component is mounted. Setting state here will trigger re-rendering.\n */\n componentDidMount() {\n window.addEventListener('resize', this.onResize, true);\n window.addEventListener('message', this.onReceiveMessage, false);\n super.componentDidMount();\n }\n\n /**\n * Called immediately before a component is destroyed.\n */\n componentWillUnmount() {\n window.removeEventListener('resize', this.onResize, true);\n window.removeEventListener('message', this.onReceiveMessage, false);\n super.componentWillUnmount();\n }\n\n onReceiveMessage = message => {\n if (message?.data) {\n if (message.data === 'updateTheme') {\n const newThemeName = Utils.getThemeName()\n Utils.setThemeName(Utils.getThemeName());\n\n const theme = this.createTheme(newThemeName);\n\n this.setState({\n theme,\n themeName: this.getThemeName(theme),\n themeType: this.getThemeType(theme)\n }, () => {\n this.props.onThemeChange && this.props.onThemeChange(newThemeName);\n this.onThemeChanged && this.onThemeChanged(newThemeName);\n });\n } else if (message.data === 'updateExpertMode') {\n this.onToggleExpertMode && this.onToggleExpertMode(this.getExpertMode());\n } else {\n console.warn('Received unknown message: ' + JSON.stringify(message.data));\n }\n }\n };\n\n /**\n * @private\n */\n onResize = () => {\n this.resizeTimer && clearTimeout(this.resizeTimer);\n this.resizeTimer = setTimeout(() => {\n this.resizeTimer = null;\n this.setState({width: GenericApp.getWidth()});\n }, 200);\n };\n\n /**\n * Gets the width depending on the window inner width.\n * @returns {import('./types').Width}\n */\n static getWidth() {\n /**\n * innerWidth |xs sm md lg xl\n * |-------|-------|-------|-------|------>\n * width | xs | sm | md | lg | xl\n */\n\n const SIZES = {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n };\n const width = window.innerWidth;\n const keys = Object.keys(SIZES).reverse();\n const widthComputed = keys.find(key => width >= SIZES[key]);\n\n return widthComputed || 'xs';\n }\n\n /**\n * Get a theme\n * @param {string} name Theme name\n * @returns {import('./types').Theme}\n */\n createTheme(name = '') {\n return theme(Utils.getThemeName(name));\n }\n\n /**\n * Get the theme name\n * @param {import('./types').Theme} theme Theme\n * @returns {string} Theme name\n */\n getThemeName(theme) {\n return theme.name;\n }\n\n /**\n * Get the theme type\n * @param {import('./types').Theme} theme Theme\n * @returns {string} Theme type\n */\n getThemeType(theme) {\n return theme.palette.mode;\n }\n\n /**\n * Changes the current theme\n */\n toggleTheme() {\n const themeName = this.state.themeName;\n\n // dark => blue => colored => light => dark\n const newThemeName = themeName === 'dark' ? 'blue' :\n (themeName === 'blue' ? 'colored' :\n (themeName === 'colored' ? 'light' : 'dark'));\n\n Utils.setThemeName(newThemeName);\n\n const theme = this.createTheme(newThemeName);\n\n this.setState({\n theme,\n themeName: this.getThemeName(theme),\n themeType: this.getThemeType(theme)\n }, () => {\n this.props.onThemeChange && this.props.onThemeChange(newThemeName);\n this.onThemeChanged && this.onThemeChanged(newThemeName);\n });\n }\n\n /**\n * Gets the system configuration.\n * @returns {Promise}\n */\n getSystemConfig() {\n return this.socket.getSystemConfig();\n }\n\n /**\n * Get current expert mode\n * @returns {boolean}\n */\n getExpertMode() {\n return window.sessionStorage.getItem('App.expertMode') === 'true' || !!this._systemConfig.expertMode;\n }\n\n /**\n * Gets called when the socket.io connection is ready.\n * You can overload this function to execute own commands.\n */\n onConnectionReady() {\n }\n\n /**\n * Encrypts a string.\n * @param {string} value\n * @returns {string}\n */\n encrypt(value) {\n let result = '';\n for (let i = 0; i < value.length; i++) {\n result += String.fromCharCode(this._secret[i % this._secret.length].charCodeAt(0) ^ value.charCodeAt(i));\n }\n return result;\n }\n\n /**\n * Decrypts a string.\n * @param {string} value\n * @returns {string}\n */\n decrypt(value) {\n let result = '';\n for (let i = 0; i < value.length; i++) {\n result += String.fromCharCode(this._secret[i % this._secret.length].charCodeAt(0) ^ value.charCodeAt(i));\n }\n return result;\n }\n\n /**\n * Gets called when the navigation hash changes.\n * You may override this if needed.\n */\n onHashChanged() {\n const location = Router.getLocation();\n if (location.tab !== this.state.selectedTab) {\n this.selectTab(location.tab);\n }\n }\n\n /**\n * Selects the given tab.\n * @param {string} tab\n * @param {number} [index]\n */\n selectTab(tab, index) {\n window.localStorage[this.adapterName + '-adapter'] = tab;\n this.setState({selectedTab: tab, selectedTabNum: index})\n }\n\n /**\n * Gets called before the settings are saved.\n * You may override this if needed.\n * @param {Record} settings\n */\n onPrepareSave(settings) {\n // here you can encode values\n this.encryptedFields && this.encryptedFields.forEach(attr => {\n if (settings[attr]) {\n settings[attr] = this.encrypt(settings[attr]);\n }\n });\n\n return true;\n }\n\n /**\n * Gets called after the settings are loaded.\n * You may override this if needed.\n * @param {Record} settings\n * @param {string[]} encryptedNative optional list of fields to be decrypted\n */\n onPrepareLoad(settings, encryptedNative) {\n // here you can encode values\n this.encryptedFields && this.encryptedFields.forEach(attr => {\n if (settings[attr]) {\n settings[attr] = this.decrypt(settings[attr]);\n }\n });\n encryptedNative && encryptedNative.forEach(attr => {\n this.encryptedFields = this.encryptedFields || [];\n !this.encryptedFields.includes(attr) && this.encryptedFields.push(attr);\n if (settings[attr]) {\n settings[attr] = this.decrypt(settings[attr]);\n }\n });\n }\n\n /**\n * Gets the extendable instances.\n * @returns {Promise}\n */\n getExtendableInstances() {\n return new Promise(resolve => {\n this.socket._socket.emit('getObjectView', 'system', 'instance', null, (err, doc) => {\n if (err) {\n resolve([]);\n } else {\n resolve(doc.rows.filter(item => item.value.common.webExtendable).map(item => item.value));\n }\n });\n });\n }\n\n /**\n * Gets the IP addresses of the given host.\n * @param {string} host\n */\n getIpAddresses(host) {\n return new Promise((resolve, reject) => {\n this.socket._socket.emit('getHostByIp', host || this.common.host, (ip, _host) => {\n const IPs4 = [{name: '[IPv4] 0.0.0.0 - ' + I18n.t('ra_Listen on all IPs'), address: '0.0.0.0', family: 'ipv4'}];\n const IPs6 = [{name: '[IPv6] ::', address: '::', family: 'ipv6'}];\n if (_host) {\n host = _host;\n if (host.native.hardware && host.native.hardware.networkInterfaces) {\n Object.keys(host.native.hardware.networkInterfaces).forEach(eth =>\n host.native.hardware.networkInterfaces[eth].forEach(inter => {\n if (inter.family !== 'IPv6') {\n IPs4.push({name: '[' + inter.family + '] ' + inter.address + ' - ' + eth, address: inter.address, family: 'ipv4'});\n } else {\n IPs6.push({name: '[' + inter.family + '] ' + inter.address + ' - ' + eth, address: inter.address, family: 'ipv6'});\n }\n }));\n }\n IPs6.forEach(ip => IPs4.push(ip));\n }\n resolve(IPs4);\n });\n });\n }\n\n /**\n * Saves the settings to the server.\n * @param {boolean} isClose True if the user is closing the dialog.\n */\n onSave(isClose) {\n let oldObj;\n if (this.state.isConfigurationError) {\n this.setState({errorText: this.state.isConfigurationError});\n return;\n }\n\n this.socket.getObject(this.instanceId)\n .then(_oldObj => {\n oldObj = _oldObj || {};\n\n for (const a in this.state.native) {\n if (this.state.native.hasOwnProperty(a)) {\n if (this.state.native[a] === null) {\n oldObj.native[a] = null;\n } else\n if (this.state.native[a] !== undefined) {\n oldObj.native[a] = JSON.parse(JSON.stringify(this.state.native[a]));\n } else {\n delete oldObj.native[a];\n }\n }\n }\n\n if (this.state.common) {\n for (const b in this.state.common) {\n if (this.state.common[b] === null) {\n oldObj.common[b] = null;\n } else\n if (this.state.common[b] !== undefined) {\n oldObj.common[b] = JSON.parse(JSON.stringify(this.state.common[b]));\n } else {\n delete oldObj.common[b];\n }\n }\n }\n\n if (this.onPrepareSave(oldObj.native) !== false) {\n return this.socket.setObject(this.instanceId, oldObj);\n } else {\n return Promise.reject('Invalid configuration');\n }\n })\n .then(() => {\n this.savedNative = oldObj.native;\n globalThis.changed = false;\n this.setState({changed: false});\n isClose && GenericApp.onClose();\n })\n .catch(e => {\n console.error(`Cannot save configuration: ${e}`);\n });\n }\n\n /**\n * Renders the toast.\n * @returns {JSX.Element | null} The JSX element.\n */\n renderToast() {\n if (!this.state.toast) {\n return null;\n }\n\n return this.setState({toast: ''})}\n ContentProps={{\n 'aria-describedby': 'message-id',\n }}\n message={{this.state.toast}}\n action={[\n this.setState({toast: ''})}\n size=\"large\">\n \n ,\n ]}\n />;\n }\n\n /**\n * Closes the dialog.\n * @private\n */\n static onClose() {\n if (typeof window.parent !== 'undefined' && window.parent) {\n try {\n if (window.parent.$iframeDialog && typeof window.parent.$iframeDialog.close === 'function') {\n window.parent.$iframeDialog.close();\n } else {\n window.parent.postMessage('close', '*');\n }\n } catch (e) {\n window.parent.postMessage('close', '*');\n }\n }\n }\n\n /**\n * Renders the error dialog.\n * @returns {JSX.Element | null} The JSX element.\n */\n renderError() {\n if (!this.state.errorText) {\n return null;\n } else {\n return this.setState({errorText: ''})}/>;\n }\n }\n\n /**\n * Checks if the configuration has changed.\n * @param {Record} [native] the new state\n */\n getIsChanged(native) {\n native = native || this.state.native;\n const isChanged = JSON.stringify(native) !== JSON.stringify(this.savedNative);\n\n if(isChanged) {\n globalThis.changed = true;\n } else {\n globalThis.changed = false;\n }\n\n return isChanged;\n }\n\n /**\n * Gets called when loading the configuration.\n * @param {Record} newNative The new configuration object.\n */\n onLoadConfig(newNative) {\n if (JSON.stringify(newNative) !== JSON.stringify(this.state.native)) {\n this.setState({native: newNative, changed: this.getIsChanged(newNative)})\n }\n }\n\n /**\n * Sets the configuration error.\n * @param {string} errorText\n */\n setConfigurationError(errorText) {\n if (this.state.isConfigurationError !== errorText) {\n this.setState({isConfigurationError: errorText});\n }\n }\n\n /**\n * Renders the save and close buttons.\n * @returns {JSX.Element | undefined} The JSX element.\n */\n renderSaveCloseButtons() {\n if (this.state.bottomButtons) {\n return this.onSave(isClose)}\n onClose={() => GenericApp.onClose()}\n />;\n } else {\n return null;\n }\n }\n\n /**\n * @private\n * @param {Record} obj\n * @param {any} attrs\n * @param {any} value\n * @returns {boolean | undefined}\n */\n _updateNativeValue(obj, attrs, value) {\n if (typeof attrs !== 'object') {\n attrs = attrs.split('.');\n }\n const attr = attrs.shift();\n if (!attrs.length) {\n if (value && typeof value === 'object') {\n if (JSON.stringify(obj[attr]) !== JSON.stringify(value)) {\n obj[attr] = value;\n return true;\n }\n } else if (obj[attr] !== value) {\n obj[attr] = value;\n return true;\n } else {\n return false;\n }\n\n } else {\n obj[attr] = obj[attr] || {};\n if (typeof obj[attr] !== 'object') {\n throw new Error('attribute ' + attr + ' is no object, but ' + typeof obj[attr]);\n }\n return this._updateNativeValue(obj[attr], attrs, value);\n }\n }\n\n /**\n * Update the native value\n * @param {string} attr The attribute name with dots as delimiter.\n * @param {any} value The new value.\n * @param {(() => void)} [cb] Callback which will be called upon completion.\n */\n updateNativeValue(attr, value, cb) {\n const native = JSON.parse(JSON.stringify(this.state.native));\n if (this._updateNativeValue(native, attr, value)) {\n const changed = this.getIsChanged(native);\n this.setState({native, changed}, cb);\n }\n }\n\n /**\n * Set the error text to be shown.\n * @param {string | JSX.Element} text\n */\n showError(text) {\n this.setState({errorText: text});\n }\n\n /**\n * Sets the toast to be shown.\n * @param {string} toast\n */\n showToast(toast) {\n this.setState({toast});\n }\n\n /**\n * Renders this component.\n * @returns {JSX.Element} The JSX element.\n */\n render() {\n if (!this.state.loaded) {\n return ;\n }\n\n return
\n {this.renderError()}\n {this.renderToast()}\n {this.renderSaveCloseButtons()}\n
;\n }\n}\n\nGenericApp.propTypes = {\n adapterName: PropTypes.string, // (optional) name of adapter\n onThemeChange: PropTypes.func, // (optional) called by theme change\n socket: PropTypes.object, // (optional) socket information (host, port)\n encryptedFields: PropTypes.array, // (optional) list of native attributes, that must be encrypted\n bottomButtons: PropTypes.bool, // If the bottom buttons (Save/Close) must be shown\n Connection: PropTypes.object, // If the bottom buttons (Save/Close) must be shown\n};\n\nexport default GenericApp;\n","\n/**\n * Print the ioBroker welcome screen to the developer console.\n */\nfunction printPrompt() {\n const prompt = `\n██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ \n██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗\n██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝\n██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗\n██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║\n╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝\n`;\n\n console.log(prompt);\n console.log('Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters');\n console.log('Help us to create open source project with reactJS!');\n console.log('See you :)');\n}\n\nexport default printPrompt;","import { createTheme, adaptV4Theme, alpha } from '@mui/material/styles';\n\nimport { orange, grey } from '@mui/material/colors';\n\nconst step = (16 - 5) / 23 / 100;\n\n/**\n * Convert hex color in the format '#rrggbb' or '#rgb' to an RGB object.\n * @param {string} hex\n * @returns {{r: number, g: number, b: number}}\n */\nfunction toInt(hex) {\n const rgb = {\n r: 0,\n g: 0,\n b: 0,\n };\n\n if (hex.length === 7) {\n rgb.r = parseInt(hex.substr(1, 2), 16);\n rgb.g = parseInt(hex.substr(3, 2), 16);\n rgb.b = parseInt(hex.substr(5, 2), 16);\n } else if (hex.length === 4) {\n const r = hex.substr(1, 1);\n const g = hex.substr(2, 1);\n const b = hex.substr(3, 1);\n\n rgb.r = parseInt(r + r, 16);\n rgb.g = parseInt(g + g, 16);\n rgb.b = parseInt(b + b, 16);\n }\n\n return rgb;\n}\n\n/**\n * Convert an RGB object to a hex color string in the format '#rrggbb'.\n * @param {{r: number, g: number, b: number}} int\n * @returns {string}\n */\nfunction toHex(int) {\n return `#${Math.round(int.r).toString(16)}${Math.round(int.g).toString(16)}${Math.round(int.b).toString(16)}`;\n}\n\n/**\n * @param {string} color color in the format '#rrggbb' or '#rgb'\n * @param {string} overlayColor overlay color in the format '#rrggbb' or '#rgb'\n * @param {number} elevation elevation as an integer starting with 1\n * @returns {string} the hex color string in the format '#rrggbb'\n */\nfunction getElevation(color, overlayColor, elevation) {\n const rgb = toInt(color);\n const overlay = toInt(overlayColor);\n\n rgb.r += overlay.r * (0.05 + step * (elevation - 1));\n rgb.g += overlay.g * (0.05 + step * (elevation - 1));\n rgb.b += overlay.b * (0.05 + step * (elevation - 1));\n\n return toHex(rgb);\n}\n\n/**\n * Get all 24 elevations of the given color and overlay.\n * @param {string} color color in the format '#rrggbb' or '#rgb'\n * @param {string} overlay overlay color in the format '#rrggbb' or '#rgb'\n * @returns {import('@mui/material/styles/withStyles').CSSProperties}\n */\nfunction getElevations(color, overlay) {\n /** @type {import('@mui/material/styles/withStyles').CSSProperties} */\n const elevations = {};\n\n for (let i = 1; i <= 24; i++) {\n elevations[`elevation${i}`] = {\n backgroundColor: getElevation(color, overlay, i),\n };\n }\n\n return elevations;\n}\n\nconst buttonsPalette = theme => ({\n palette: {\n // mode: \"dark\",\n grey: {\n main: grey[300],\n dark: grey[400],\n },\n },\n});\n\nconst buttonsTheme = theme => ({\n components: {\n MuiButton: {\n variants: [\n {\n props: { variant: 'contained', color: 'grey' },\n style: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n },\n },\n {\n props: { variant: 'outlined', color: 'grey' },\n style: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`,\n },\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n {\n props: { color: 'grey', variant: 'text' },\n style: {\n color: 'black',\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n ],\n },\n },\n});\n\n/**\n * The theme creation factory function.\n * @param {string} type\n * @returns {import('./types').Theme}\n */\nconst Theme = type => {\n let theme;\n if (type === 'dark') {\n theme = {\n name: type,\n palette: {\n mode: 'dark',\n background: {\n paper: '#121212',\n default: '#121212',\n },\n primary: {\n main: '#4dabf5',\n },\n secondary: {\n main: '#436a93',\n },\n expert: '#14bb00',\n text: {\n primary: '#ffffff',\n secondary: '#ffffff',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#272727',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[200],\n '&:hover': {\n color: orange[100],\n },\n },\n },\n MuiPaper: getElevations('#121212', '#fff'),\n },\n };\n } else if (type === 'blue') {\n theme = {\n name: type,\n palette: {\n mode: 'dark',\n background: {\n paper: '#151d21',\n default: '#151d21',\n },\n primary: {\n main: '#4dabf5',\n },\n secondary: {\n main: '#436a93',\n },\n expert: '#14bb00',\n text: {\n primary: '#ffffff',\n secondary: '#ffffff',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#2a3135',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[200],\n '&:hover': {\n color: orange[100],\n },\n },\n },\n MuiPaper: getElevations('#151d21', '#fff'),\n },\n };\n } else if (type === 'colored') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#3399CC',\n },\n secondary: {\n main: '#164477',\n },\n expert: '#96fc96',\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#3399CC',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else if (type === 'PT') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#0F99DE',\n },\n secondary: {\n main: '#88A536',\n },\n expert: '#BD1B24',\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#0F99DE',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else if (type === 'DX') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#F5F5F7',\n },\n secondary: {\n main: '#a9a9a9',\n },\n expert: '#BD1B24',\n text: {\n primary: '#007AFE',\n secondary: '#007AFE',\n disabled: '#007AFEAA',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#a9a9a9',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#3399CC',\n },\n secondary: {\n main: '#164477',\n },\n expert: '#14bb00',\n },\n overrides: {\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n }\n\n theme.toolbar = {\n height: 48,\n };\n\n // add save toolbar\n theme.saveToolbar = {\n background: theme.palette.primary.main,\n button: {\n borderRadius: 3,\n height: 32,\n },\n };\n\n theme.palette.grey = {\n main: grey[300],\n dark: grey[400],\n };\n\n theme = createTheme(adaptV4Theme(theme));\n\n return createTheme(theme, {\n components: {\n MuiButton: {\n variants: [\n {\n props: { variant: 'contained', color: 'grey' },\n style: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n },\n },\n {\n props: { variant: 'outlined', color: 'grey' },\n style: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`,\n },\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n {\n props: { color: 'grey', variant: 'text' },\n style: {\n color: theme.palette.text.primary,\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n ],\n },\n },\n });\n};\n\nexport default Theme;\n","/***\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n ***/\n\n /**\n * Translation string management.\n */\nclass I18n {\n /**\n * List of all languages with their translations.\n * @type {{ [lang in ioBroker.Languages]?: Record; }}\n */\n static translations = {};\n\n /**\n * The currently displayed language.\n * @type {ioBroker.Languages}\n */\n static lang = window.sysLang || 'en';\n\n static _disableWarning = false;\n\n /**\n * Set the language to display.\n * @param {ioBroker.Languages} lang\n */\n static setLanguage(lang) {\n if (lang) {\n I18n.lang = lang;\n }\n }\n\n /**\n * Add translations\n * User can provide two types of structures:\n * - {\"word1\": \"translated word1\", \"word2\": \"translated word2\"}, but in this case the lang must be provided\n * - {\"word1\": {\"en\": \"translated en word1\", \"de\": \"translated de word1\"}, \"word2\": {\"en\": \"translated en word2\", \"de\": \"translated de word2\"}}, but no lang must be provided\n * @param {object} words additional words for specific language\n * @param {ioBroker.Languages} lang\n */\n static extendTranslations(words, lang) {\n try {\n if (!lang) {\n Object.keys(words).forEach(word => {\n Object.keys(words[word]).forEach(lang => {\n if (!I18n.translations[lang]) {\n console.warn(`Used unknown language: ${lang}`);\n }\n if (!I18n.translations[lang][word]) {\n I18n.translations[lang][word] = words[word][lang];\n } else if (I18n.translations[lang][word] !== words[word][lang]) {\n console.warn(`Translation for word \"${word}\" in \"${lang}\" was ignored: existing = \"${I18n.translations[lang][word]}\", new = ${words[word][lang]}`);\n }\n });\n });\n } else {\n if (!I18n.translations[lang]) {\n console.warn(`Used unknown language: ${lang}`);\n }\n I18n.translations[lang] = I18n.translations[lang] || {};\n Object.keys(words)\n .forEach(word => {\n if (!I18n.translations[lang][word]) {\n I18n.translations[lang][word] = words[word];\n } else if (I18n.translations[lang][word] !== words[word]) {\n console.warn(`Translation for word \"${word}\" in \"${lang}\" was ignored: existing = \"${I18n.translations[lang][word]}\", new = ${words[word]}`);\n }\n });\n }\n } catch (e) {\n console.error(`Cannot apply translations: ${e}`);\n }\n }\n\n /**\n * Sets all translations (in all languages).\n * @param {{ [lang in ioBroker.Languages]?: Record; }} translations\n */\n static setTranslations(translations) {\n if (translations) {\n I18n.translations = translations;\n }\n }\n\n /**\n * Get the currently chosen language.\n * @returns {ioBroker.Languages} The current language.\n */\n static getLanguage() {\n return I18n.lang;\n }\n\n /**\n * Translate the given string to the selected language.\n * @param {string} word The (key) word to look up the string.\n * @param {string[]} args Optional arguments which will replace the first (second, third, ...) occurrences of %s\n */\n static t(word, ...args) {\n const translation = I18n.translations[I18n.lang];\n if (translation) {\n const w = translation[word];\n if (w) {\n word = w;\n } else {\n I18n._disableWarning && console.log(`Translate: ${word}`);\n }\n }\n for (const arg of args) {\n word = word.replace('%s', arg);\n }\n return word;\n }\n\n /**\n * Disable warning about non-translated words\n * Required during development\n * @param {boolean} disable Do the warning should be disabled\n */\n static disableWarning(disable) {\n I18n._disableWarning = !!disable;\n }\n}\n\n/*I18n.translations = {\n 'en': require('./i18n/en'),\n 'ru': require('./i18n/ru'),\n 'de': require('./i18n/de'),\n};\nI18n.fallbacks = true;\nI18n.t = function () {};*/\n\nexport default I18n;","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/\nconst IconAlias = props => {\n return props.onClick && props.onClick(e)} viewBox=\"0 0 512 512\" width={props.width || 20} height={props.height || props.width || 20} xmlns=\"http://www.w3.org/2000/svg\" className={ props.className }>\n \n ;\n}\n\nIconAlias.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\n\nexport default IconAlias;","import React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * @typedef {object} ExpertIconProps\n * @property {number} [width] The width in pixels of the icon.\n * @property {number} [height] The height in pixels of the icon.\n * @property {(e: React.MouseEvent) => void} [onClick] Click handler.\n * @property {string} [className] The class name for the SVG element.\n *\n * @extends {React.Component}\n */\nconst ExpertIcon = props => {\n return props.onClick && props.onClick(e)} viewBox=\"0 0 486.70625 486\" width={props.width || 20} height={props.height || props.width || 20} xmlns=\"http://www.w3.org/2000/svg\" className={ props.className }>\n \n \n ;\n}\nExpertIcon.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\n\nexport default ExpertIcon;\n","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { elementAcceptingRef, exactProp, unstable_ownerDocument as ownerDocument, unstable_useForkRef as useForkRef, unstable_useEventCallback as useEventCallback } from '@mui/utils'; // TODO: return `EventHandlerName extends `on${infer EventName}` ? Lowercase : never` once generatePropTypes runs with TS 4.1\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nfunction mapEventPropToEvent(eventProp) {\n return eventProp.substring(2).toLowerCase();\n}\n\nfunction clickedRootScrollbar(event, doc) {\n return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;\n}\n\n/**\n * Listen for click events that occur somewhere in the document, outside of the element itself.\n * For instance, if you need to hide a menu when people click anywhere else on your page.\n *\n * Demos:\n *\n * - [Click away listener](https://mui.com/base/react-click-away-listener/)\n *\n * API:\n *\n * - [ClickAwayListener API](https://mui.com/base/api/click-away-listener/)\n */\nfunction ClickAwayListener(props) {\n const {\n children,\n disableReactTree = false,\n mouseEvent = 'onClick',\n onClickAway,\n touchEvent = 'onTouchEnd'\n } = props;\n const movedRef = React.useRef(false);\n const nodeRef = React.useRef(null);\n const activatedRef = React.useRef(false);\n const syntheticEventRef = React.useRef(false);\n React.useEffect(() => {\n // Ensure that this component is not \"activated\" synchronously.\n // https://github.com/facebook/react/issues/20074\n setTimeout(() => {\n activatedRef.current = true;\n }, 0);\n return () => {\n activatedRef.current = false;\n };\n }, []);\n const handleRef = useForkRef( // @ts-expect-error TODO upstream fix\n children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviors like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n\n const handleClickAway = useEventCallback(event => {\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = syntheticEventRef.current;\n syntheticEventRef.current = false;\n const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind\n // 2. The child might render null.\n // 3. Behave like a blur listener.\n\n if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {\n return;\n } // Do not act if user performed touchmove\n\n\n if (movedRef.current) {\n movedRef.current = false;\n return;\n }\n\n let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js\n\n if (event.composedPath) {\n insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;\n } else {\n insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node\n event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node\n event.target);\n }\n\n if (!insideDOM && (disableReactTree || !insideReactTree)) {\n onClickAway(event);\n }\n }); // Keep track of mouse/touch events that bubbled up through the portal.\n\n const createHandleSynthetic = handlerName => event => {\n syntheticEventRef.current = true;\n const childrenPropsHandler = children.props[handlerName];\n\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n\n const childrenProps = {\n ref: handleRef\n };\n\n if (touchEvent !== false) {\n childrenProps[touchEvent] = createHandleSynthetic(touchEvent);\n }\n\n React.useEffect(() => {\n if (touchEvent !== false) {\n const mappedTouchEvent = mapEventPropToEvent(touchEvent);\n const doc = ownerDocument(nodeRef.current);\n\n const handleTouchMove = () => {\n movedRef.current = true;\n };\n\n doc.addEventListener(mappedTouchEvent, handleClickAway);\n doc.addEventListener('touchmove', handleTouchMove);\n return () => {\n doc.removeEventListener(mappedTouchEvent, handleClickAway);\n doc.removeEventListener('touchmove', handleTouchMove);\n };\n }\n\n return undefined;\n }, [handleClickAway, touchEvent]);\n\n if (mouseEvent !== false) {\n childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);\n }\n\n React.useEffect(() => {\n if (mouseEvent !== false) {\n const mappedMouseEvent = mapEventPropToEvent(mouseEvent);\n const doc = ownerDocument(nodeRef.current);\n doc.addEventListener(mappedMouseEvent, handleClickAway);\n return () => {\n doc.removeEventListener(mappedMouseEvent, handleClickAway);\n };\n }\n\n return undefined;\n }, [handleClickAway, mouseEvent]);\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: /*#__PURE__*/React.cloneElement(children, childrenProps)\n });\n}\n\nprocess.env.NODE_ENV !== \"production\" ? ClickAwayListener.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The wrapped element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * If `true`, the React tree is ignored and only the DOM tree is considered.\n * This prop changes how portaled elements are handled.\n * @default false\n */\n disableReactTree: PropTypes.bool,\n\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n * @default 'onClick'\n */\n mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', 'onPointerDown', 'onPointerUp', false]),\n\n /**\n * Callback fired when a \"click away\" event is detected.\n */\n onClickAway: PropTypes.func.isRequired,\n\n /**\n * The touch event to listen to. You can disable the listener by providing `false`.\n * @default 'onTouchEnd'\n */\n touchEvent: PropTypes.oneOf(['onTouchEnd', 'onTouchStart', false])\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);\n}\n\nexport default ClickAwayListener;","import { unstable_ownerWindow as ownerWindow, unstable_ownerDocument as ownerDocument, unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils';\n\n// Is a vertical scrollbar displayed?\nfunction isOverflowing(container) {\n const doc = ownerDocument(container);\n\n if (doc.body === container) {\n return ownerWindow(container).innerWidth > doc.documentElement.clientWidth;\n }\n\n return container.scrollHeight > container.clientHeight;\n}\n\nexport function ariaHidden(element, show) {\n if (show) {\n element.setAttribute('aria-hidden', 'true');\n } else {\n element.removeAttribute('aria-hidden');\n }\n}\n\nfunction getPaddingRight(element) {\n return parseInt(ownerWindow(element).getComputedStyle(element).paddingRight, 10) || 0;\n}\n\nfunction ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude = [], show) {\n const blacklist = [mountElement, currentElement, ...elementsToExclude];\n const blacklistTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE'];\n [].forEach.call(container.children, element => {\n if (blacklist.indexOf(element) === -1 && blacklistTagNames.indexOf(element.tagName) === -1) {\n ariaHidden(element, show);\n }\n });\n}\n\nfunction findIndexOf(items, callback) {\n let idx = -1;\n items.some((item, index) => {\n if (callback(item)) {\n idx = index;\n return true;\n }\n\n return false;\n });\n return idx;\n}\n\nfunction handleContainer(containerInfo, props) {\n const restoreStyle = [];\n const container = containerInfo.container;\n\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n const scrollbarSize = getScrollbarSize(ownerDocument(container));\n restoreStyle.push({\n value: container.style.paddingRight,\n property: 'padding-right',\n el: container\n }); // Use computed style, here to get the real padding to add our scrollbar width.\n\n container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`; // .mui-fixed is a global helper.\n\n const fixedElements = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedElements, element => {\n restoreStyle.push({\n value: element.style.paddingRight,\n property: 'padding-right',\n el: element\n });\n element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;\n });\n } // Improve Gatsby support\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n\n\n const parent = container.parentElement;\n const containerWindow = ownerWindow(container);\n const scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n property: 'overflow',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowX,\n property: 'overflow-x',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowY,\n property: 'overflow-y',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n\n const restore = () => {\n restoreStyle.forEach(({\n value,\n el,\n property\n }) => {\n if (value) {\n el.style.setProperty(property, value);\n } else {\n el.style.removeProperty(property);\n }\n });\n };\n\n return restore;\n}\n\nfunction getHiddenSiblings(container) {\n const hiddenSiblings = [];\n [].forEach.call(container.children, element => {\n if (element.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(element);\n }\n });\n return hiddenSiblings;\n}\n\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\nexport default class ModalManager {\n constructor() {\n this.containers = void 0;\n this.modals = void 0;\n this.modals = [];\n this.containers = [];\n }\n\n add(modal, container) {\n let modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex !== -1) {\n return modalIndex;\n }\n\n modalIndex = this.modals.length;\n this.modals.push(modal); // If the modal we are adding is already in the DOM.\n\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n\n const hiddenSiblings = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);\n const containerIndex = findIndexOf(this.containers, item => item.container === container);\n\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n\n this.containers.push({\n modals: [modal],\n container,\n restore: null,\n hiddenSiblings\n });\n return modalIndex;\n }\n\n mount(modal, props) {\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n\n remove(modal) {\n const modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex === -1) {\n return modalIndex;\n }\n\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1); // If that was the last modal in a container, clean up the container.\n\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, true);\n }\n\n ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n const nextTop = containerInfo.modals[containerInfo.modals.length - 1]; // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n\n return modalIndex;\n }\n\n isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n\n}","import generateUtilityClasses from '../generateUtilityClasses';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getModalUtilityClass(slot) {\n return generateUtilityClass('MuiModal', slot);\n}\nconst modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);\nexport default modalUnstyledClasses;","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { exactProp, HTMLElementType, unstable_useEnhancedEffect as useEnhancedEffect, unstable_useForkRef as useForkRef, unstable_setRef as setRef } from '@mui/utils';\n\nfunction getContainer(container) {\n return typeof container === 'function' ? container() : container;\n}\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n */\n\n\nconst Portal = /*#__PURE__*/React.forwardRef(function Portal(props, ref) {\n const {\n children,\n container,\n disablePortal = false\n } = props;\n const [mountNode, setMountNode] = React.useState(null);\n const handleRef = useForkRef( /*#__PURE__*/React.isValidElement(children) ? children.ref : null, ref);\n useEnhancedEffect(() => {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(() => {\n if (mountNode && !disablePortal) {\n setRef(ref, mountNode);\n return () => {\n setRef(ref, null);\n };\n }\n\n return undefined;\n }, [ref, mountNode, disablePortal]);\n\n if (disablePortal) {\n if ( /*#__PURE__*/React.isValidElement(children)) {\n return /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef\n });\n }\n\n return children;\n }\n\n return mountNode ? /*#__PURE__*/ReactDOM.createPortal(children, mountNode) : mountNode;\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The children to render into the `container`.\n */\n children: PropTypes.node,\n\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.func]),\n\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\n\nexport default Portal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onChange\", \"maxRows\", \"minRows\", \"style\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_debounce as debounce, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_ownerWindow as ownerWindow } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nfunction getStyleValue(computedStyle, property) {\n return parseInt(computedStyle[property], 10) || 0;\n}\n\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, ref) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(ref, inputRef);\n const shadowRef = React.useRef(null);\n const renders = React.useRef(0);\n const [state, setState] = React.useState({});\n const syncHeight = React.useCallback(() => {\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n const computedStyle = containerWindow.getComputedStyle(input); // If input's width is shrunk and it's not visible, don't sync height.\n\n if (computedStyle.width === '0px') {\n return;\n }\n\n const inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n\n const boxSizing = computedStyle['box-sizing'];\n const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');\n const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content\n\n const innerHeight = inputShallow.scrollHeight; // Measure height of a textarea with a single row\n\n inputShallow.value = 'x';\n const singleRowHeight = inputShallow.scrollHeight; // The height of the outer content\n\n let outerHeight = innerHeight;\n\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n\n outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.\n\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflow = Math.abs(outerHeight - innerHeight) <= 1;\n setState(prevState => {\n // Need a large enough difference to update the height.\n // This prevents infinite rendering loop.\n if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {\n renders.current += 1;\n return {\n overflow,\n outerHeightStyle\n };\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (renders.current === 20) {\n console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\\n'));\n }\n }\n\n return prevState;\n });\n }, [maxRows, minRows, props.placeholder]);\n React.useEffect(() => {\n const handleResize = debounce(() => {\n renders.current = 0;\n syncHeight();\n });\n const containerWindow = ownerWindow(inputRef.current);\n containerWindow.addEventListener('resize', handleResize);\n let resizeObserver;\n\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(handleResize);\n resizeObserver.observe(inputRef.current);\n }\n\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [syncHeight]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n React.useEffect(() => {\n renders.current = 0;\n }, [value]);\n\n const handleChange = event => {\n renders.current = 0;\n\n if (!isControlled) {\n syncHeight();\n }\n\n if (onChange) {\n onChange(event);\n }\n };\n\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough difference to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : null\n }, style)\n }, other)), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, style, {\n padding: 0\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport isHostComponent from './isHostComponent';\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.\n * @param existingProps Props of the element.\n * @param ownerState\n */\n\nexport default function appendOwnerState(elementType, existingProps = {}, ownerState) {\n if (isHostComponent(elementType)) {\n return existingProps;\n }\n\n return _extends({}, existingProps, {\n ownerState: _extends({}, existingProps.ownerState, ownerState)\n });\n}","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\n\nexport default isHostComponent;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z\"\n}), 'Add');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\"\n}), 'Check');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Clear');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z\"\n}), 'Delete');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z\"\n}), 'Description');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z\"\n}), 'Edit');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z\"\n}), 'FileCopy');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M9 3 5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z\"\n}), 'ImportExport');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z\"\n}), 'Info');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'PersonOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z\"\n}), 'Photo');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"m20.2 5.9.8-.8C19.6 3.7 17.8 3 16 3s-3.6.7-5 2.1l.8.8C13 4.8 14.5 4.2 16 4.2s3 .6 4.2 1.7zm-.9.8c-.9-.9-2.1-1.4-3.3-1.4s-2.4.5-3.3 1.4l.8.8c.7-.7 1.6-1 2.5-1 .9 0 1.8.3 2.5 1l.8-.8zM19 13h-2V9h-2v4H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zM8 18H6v-2h2v2zm3.5 0h-2v-2h2v2zm3.5 0h-2v-2h2v2z\"\n}), 'Router');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z\"\n}), 'Save');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z\"\n}), 'SettingsApplications');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M11.99 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm3.61 6.34c1.07 0 1.93.86 1.93 1.93 0 1.07-.86 1.93-1.93 1.93-1.07 0-1.93-.86-1.93-1.93-.01-1.07.86-1.93 1.93-1.93zm-6-1.58c1.3 0 2.36 1.06 2.36 2.36 0 1.3-1.06 2.36-2.36 2.36s-2.36-1.06-2.36-2.36c0-1.31 1.05-2.36 2.36-2.36zm0 9.13v3.75c-2.4-.75-4.3-2.6-5.14-4.96 1.05-1.12 3.67-1.69 5.14-1.69.53 0 1.2.08 1.9.22-1.64.87-1.9 2.02-1.9 2.68zM11.99 20c-.27 0-.53-.01-.79-.04v-4.07c0-1.42 2.94-2.13 4.4-2.13 1.07 0 2.92.39 3.84 1.15-1.17 2.97-4.06 5.09-7.45 5.09z\"\n}), 'SupervisedUserCircle');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"m1 9 2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8 3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4 2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z\"\n}), 'Wifi');\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\n\nvar _utils = require(\"@mui/material/utils\");","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"enableColorOnDark\", \"position\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nimport { getAppBarUtilityClass } from './appBarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n color,\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]\n };\n return composeClasses(slots, getAppBarUtilityClass, classes);\n};\n\nconst AppBarRoot = styled(Paper, {\n name: 'MuiAppBar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => {\n const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return _extends({\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n flexShrink: 0\n }, ownerState.position === 'fixed' && {\n position: 'fixed',\n zIndex: theme.zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n }, ownerState.position === 'absolute' && {\n position: 'absolute',\n zIndex: theme.zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'sticky' && {\n // ⚠️ sticky is not supported by IE11.\n position: 'sticky',\n zIndex: theme.zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'static' && {\n position: 'static'\n }, ownerState.position === 'relative' && {\n position: 'relative'\n }, ownerState.color === 'default' && {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n }, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {\n backgroundColor: theme.palette[ownerState.color].main,\n color: theme.palette[ownerState.color].contrastText\n }, ownerState.color === 'inherit' && {\n color: 'inherit'\n }, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {\n backgroundColor: null,\n color: null\n }, ownerState.color === 'transparent' && _extends({\n backgroundColor: 'transparent',\n color: 'inherit'\n }, theme.palette.mode === 'dark' && {\n backgroundImage: 'none'\n }));\n});\nconst AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiAppBar'\n });\n\n const {\n className,\n color = 'primary',\n enableColorOnDark = false,\n position = 'fixed'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n color,\n position,\n enableColorOnDark\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(AppBarRoot, _extends({\n square: true,\n component: \"header\",\n ownerState: ownerState,\n elevation: 4,\n className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),\n\n /**\n * If true, the `color` prop is applied in dark mode.\n * @default false\n */\n enableColorOnDark: PropTypes.bool,\n\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n * @default 'fixed'\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default AppBar;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getAppBarUtilityClass(slot) {\n return generateUtilityClass('MuiAppBar', slot);\n}\nconst appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);\nexport default appBarClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"component\", \"components\", \"componentsProps\", \"className\", \"invisible\", \"open\", \"transitionDuration\", \"TransitionComponent\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Fade from '../Fade';\nimport { getBackdropUtilityClass } from './backdropClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n invisible\n } = ownerState;\n const slots = {\n root: ['root', invisible && 'invisible']\n };\n return composeClasses(slots, getBackdropUtilityClass, classes);\n};\n\nconst BackdropRoot = styled('div', {\n name: 'MuiBackdrop',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.invisible && styles.invisible];\n }\n})(({\n ownerState\n}) => _extends({\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n}, ownerState.invisible && {\n backgroundColor: 'transparent'\n}));\nconst Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {\n var _components$Root, _componentsProps$root;\n\n const props = useThemeProps({\n props: inProps,\n name: 'MuiBackdrop'\n });\n\n const {\n children,\n component = 'div',\n components = {},\n componentsProps = {},\n className,\n invisible = false,\n open,\n transitionDuration,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Fade\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n component,\n invisible\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TransitionComponent, _extends({\n in: open,\n timeout: transitionDuration\n }, other, {\n children: /*#__PURE__*/_jsx(BackdropRoot, {\n \"aria-hidden\": true,\n as: (_components$Root = components.Root) != null ? _components$Root : component,\n className: clsx(classes.root, className),\n ownerState: _extends({}, ownerState, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState),\n classes: classes,\n ref: ref,\n children: children\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The components used for each slot inside the Backdrop.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n\n /**\n * The props used for each slot inside the Backdrop.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n * @default false\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Backdrop;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getBackdropUtilityClass(slot) {\n return generateUtilityClass('MuiBackdrop', slot);\n}\nconst backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);\nexport default backdropClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport styled from '@mui/styled-engine';\nimport defaultStyleFunctionSx, { extendSxProp } from './styleFunctionSx';\nimport useTheme from './useTheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createBox(options = {}) {\n const {\n defaultTheme,\n defaultClassName = 'MuiBox-root',\n generateClassName,\n styleFunctionSx = defaultStyleFunctionSx\n } = options;\n const BoxRoot = styled('div')(styleFunctionSx);\n const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {\n const theme = useTheme(defaultTheme);\n\n const _extendSxProp = extendSxProp(inProps),\n {\n className,\n component = 'div'\n } = _extendSxProp,\n other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded);\n\n return /*#__PURE__*/_jsx(BoxRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),\n theme: theme\n }, other));\n });\n return Box;\n}","import PropTypes from 'prop-types';\nimport { createBox } from '@mui/system';\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';\nimport { createTheme } from '../styles';\nconst defaultTheme = createTheme();\nconst Box = createBox({\n defaultTheme,\n defaultClassName: 'MuiBox-root',\n generateClassName: ClassNameGenerator.generate\n});\nprocess.env.NODE_ENV !== \"production\" ? Box.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n children: PropTypes.node,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Box;","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\n/**\n * @ignore - internal component.\n */\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nfunction Ripple(props) {\n const {\n className,\n classes,\n pulsate = false,\n rippleX,\n rippleY,\n rippleSize,\n in: inProp,\n onExited,\n timeout\n } = props;\n const [leaving, setLeaving] = React.useState(false);\n const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n const rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n\n if (!inProp && !leaving) {\n setLeaving(true);\n }\n\n React.useEffect(() => {\n if (!inProp && onExited != null) {\n // react-transition-group#onExited\n const timeoutId = setTimeout(onExited, timeout);\n return () => {\n clearTimeout(timeoutId);\n };\n }\n\n return undefined;\n }, [onExited, inProp, timeout]);\n return /*#__PURE__*/_jsx(\"span\", {\n className: rippleClassName,\n style: rippleStyles,\n children: /*#__PURE__*/_jsx(\"span\", {\n className: childClassName\n })\n });\n}\n\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"center\", \"classes\", \"className\"];\n\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport { keyframes } from '@mui/system';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Ripple from './Ripple';\nimport touchRippleClasses from './touchRippleClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes(_t || (_t = _`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`));\nconst exitKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`));\nconst pulsateKeyframe = keyframes(_t3 || (_t3 = _`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`));\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n}); // This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\n\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})(_t4 || (_t4 = _`\n opacity: 0;\n position: absolute;\n\n &.${0} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n &.${0} {\n animation-duration: ${0}ms;\n }\n\n & .${0} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${0} {\n opacity: 0;\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n & .${0} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${0};\n animation-duration: 2500ms;\n animation-timing-function: ${0};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`), touchRippleClasses.rippleVisible, enterKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.ripplePulsate, ({\n theme\n}) => theme.transitions.duration.shorter, touchRippleClasses.child, touchRippleClasses.childLeaving, exitKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.childPulsate, pulsateKeyframe, ({\n theme\n}) => theme.transitions.easing.easeInOut);\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\n\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n\n const {\n center: centerProp = false,\n classes = {},\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]); // Used to filter out mouse emulated events on mobile.\n\n const ignoringMouseDown = React.useRef(false); // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n\n const startTimer = React.useRef(null); // This is the hook called once the previous timeout is ready.\n\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n React.useEffect(() => {\n return () => {\n clearTimeout(startTimer.current);\n };\n }, []);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n\n } = options;\n\n if (event.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n\n if (event.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n }; // Get the size of the ripple\n\n let rippleX;\n let rippleY;\n let rippleSize;\n\n if (center || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3); // For some reason the animation is broken on Mobile Chrome if the size is even.\n\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n } // Touche devices\n\n\n if (event.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }; // Delay the execution of the ripple effect.\n\n\n startTimer.current = setTimeout(() => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n }, DELAY_RIPPLE); // We have to make a tradeoff with this value.\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n clearTimeout(startTimer.current); // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n\n if (event.type === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.current = setTimeout(() => {\n stop(event, cb);\n });\n return;\n }\n\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, []);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, _extends({\n className: clsx(classes.root, touchRippleClasses.root, className),\n ref: container\n }, other, {\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"action\", \"centerRipple\", \"children\", \"className\", \"component\", \"disabled\", \"disableRipple\", \"disableTouchRipple\", \"focusRipple\", \"focusVisibleClassName\", \"LinkComponent\", \"onBlur\", \"onClick\", \"onContextMenu\", \"onDragLeave\", \"onFocus\", \"onFocusVisible\", \"onKeyDown\", \"onKeyUp\", \"onMouseDown\", \"onMouseLeave\", \"onMouseUp\", \"onTouchEnd\", \"onTouchMove\", \"onTouchStart\", \"tabIndex\", \"TouchRippleProps\", \"touchRippleRef\", \"type\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { elementTypeAcceptingRef, refType } from '@mui/utils';\nimport composeClasses from '@mui/base/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport TouchRipple from './TouchRipple';\nimport buttonBaseClasses, { getButtonBaseUtilityClass } from './buttonBaseClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n focusVisible,\n focusVisibleClassName,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);\n\n if (focusVisible && focusVisibleClassName) {\n composedClasses.root += ` ${focusVisibleClassName}`;\n }\n\n return composedClasses;\n};\n\nexport const ButtonBaseRoot = styled('button', {\n name: 'MuiButtonBase',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n\n },\n [`&.${buttonBaseClasses.disabled}`]: {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n});\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\n\nconst ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiButtonBase'\n });\n\n const {\n action,\n centerRipple = false,\n children,\n className,\n component = 'button',\n disabled = false,\n disableRipple = false,\n disableTouchRipple = false,\n focusRipple = false,\n LinkComponent = 'a',\n onBlur,\n onClick,\n onContextMenu,\n onDragLeave,\n onFocus,\n onFocusVisible,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseUp,\n onTouchEnd,\n onTouchMove,\n onTouchStart,\n tabIndex = 0,\n TouchRippleProps,\n touchRippleRef,\n type\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const buttonRef = React.useRef(null);\n const rippleRef = React.useRef(null);\n const handleRippleRef = useForkRef(rippleRef, touchRippleRef);\n const {\n isFocusVisibleRef,\n onFocus: handleFocusVisible,\n onBlur: handleBlurVisible,\n ref: focusVisibleRef\n } = useIsFocusVisible();\n const [focusVisible, setFocusVisible] = React.useState(false);\n\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n\n React.useImperativeHandle(action, () => ({\n focusVisible: () => {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n }), []);\n const [mountedState, setMountedState] = React.useState(false);\n React.useEffect(() => {\n setMountedState(true);\n }, []);\n const enableTouchRipple = mountedState && !disableRipple && !disabled;\n React.useEffect(() => {\n if (focusVisible && focusRipple && !disableRipple && mountedState) {\n rippleRef.current.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible, mountedState]);\n\n function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {\n return useEventCallback(event => {\n if (eventCallback) {\n eventCallback(event);\n }\n\n const ignore = skipRippleAction;\n\n if (!ignore && rippleRef.current) {\n rippleRef.current[rippleAction](event);\n }\n\n return true;\n });\n }\n\n const handleMouseDown = useRippleHandler('start', onMouseDown);\n const handleContextMenu = useRippleHandler('stop', onContextMenu);\n const handleDragLeave = useRippleHandler('stop', onDragLeave);\n const handleMouseUp = useRippleHandler('stop', onMouseUp);\n const handleMouseLeave = useRippleHandler('stop', event => {\n if (focusVisible) {\n event.preventDefault();\n }\n\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n const handleTouchStart = useRippleHandler('start', onTouchStart);\n const handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n const handleTouchMove = useRippleHandler('stop', onTouchMove);\n const handleBlur = useRippleHandler('stop', event => {\n handleBlurVisible(event);\n\n if (isFocusVisibleRef.current === false) {\n setFocusVisible(false);\n }\n\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n const handleFocus = useEventCallback(event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n\n handleFocusVisible(event);\n\n if (isFocusVisibleRef.current === true) {\n setFocusVisible(true);\n\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n\n if (onFocus) {\n onFocus(event);\n }\n });\n\n const isNonNativeButton = () => {\n const button = buttonRef.current;\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n /**\n * IE11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat\n */\n\n\n const keydownRef = React.useRef(false);\n const handleKeyDown = useEventCallback(event => {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') {\n keydownRef.current = true;\n rippleRef.current.stop(event, () => {\n rippleRef.current.start(event);\n });\n }\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n } // Keyboard accessibility for non interactive elements\n\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n\n if (onClick) {\n onClick(event);\n }\n }\n });\n const handleKeyUp = useEventCallback(event => {\n // calling preventDefault in keyUp on a \r\n \r\n \r\n \r\n \r\n};\r\n\r\nTsvDialog.propTypes = {\r\n open: PropTypes.bool,\r\n onClose: PropTypes.func,\r\n classes: PropTypes.object,\r\n save: PropTypes.func,\r\n fields: PropTypes.array,\r\n data: PropTypes.array\r\n};\r\n\r\nexport default withStyles(styles)(TsvDialog);","import { useContext } from 'react';\nimport SnackbarContext from './SnackbarContext';\nimport { ProviderContext } from '.';\n\nexport default (): ProviderContext => useContext(SnackbarContext);\n","import PropTypes from 'prop-types';\r\n\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\n\r\nimport Dialog from '@mui/material/Dialog';\r\nimport DialogActions from '@mui/material/DialogActions';\r\nimport DialogContent from '@mui/material/DialogContent';\r\nimport DialogContentText from '@mui/material/DialogContentText';\r\nimport DialogTitle from '@mui/material/DialogTitle';\r\nimport Button from '@mui/material/Button';\r\n\r\nimport DeleteIcon from '@mui/icons-material/Delete';\r\nimport ClearIcon from '@mui/icons-material/Clear';\r\n\r\nconst DeleteAllDialog = (props) => {\r\n return props.open ? \r\n {I18n.t('Delete all items')}\r\n \r\n {I18n.t('Are you sure to delete all items?')}\r\n \r\n \r\n \r\n \r\n \r\n : null;\r\n}\r\n\r\nDeleteAllDialog.propTypes = {\r\n open: PropTypes.bool,\r\n action: PropTypes.func,\r\n onClose: PropTypes.func,\r\n classes: PropTypes.object,\r\n}\r\n\r\nexport default DeleteAllDialog;","import { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\n\r\nimport Dialog from '@mui/material/Dialog';\r\nimport DialogActions from '@mui/material/DialogActions';\r\nimport DialogContent from '@mui/material/DialogContent';\r\nimport DialogContentText from '@mui/material/DialogContentText';\r\nimport DialogTitle from '@mui/material/DialogTitle';\r\nimport Button from '@mui/material/Button';\r\nimport FormControlLabel from '@mui/material/FormControlLabel';\r\nimport Checkbox from '@mui/material/Checkbox';\r\n\r\nimport DeleteIcon from '@mui/icons-material/Delete';\r\nimport ClearIcon from '@mui/icons-material/Clear';\r\n\r\nconst DeleteDialog = (props) => {\r\n const [disableWarnings, setDisableWarnings] = useState(false);\r\n useEffect(() => {\r\n setDisableWarnings(false);\r\n }, [props.open]);\r\n\r\n return props.open ? \r\n {I18n.t('Delete item')}\r\n \r\n {I18n.t('Are you sure to delete item with address \"%s\"?', props.item._address)}\r\n setDisableWarnings(e.target.checked)}\r\n />}/>\r\n \r\n \r\n \r\n \r\n \r\n : null;\r\n}\r\n\r\nDeleteDialog.propTypes = {\r\n open: PropTypes.bool,\r\n onClose: PropTypes.func,\r\n classes: PropTypes.object,\r\n action: PropTypes.func,\r\n item: PropTypes.object,\r\n}\r\n\r\nexport default DeleteDialog;","import { useState, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@mui/styles';\r\n\r\nimport Table from '@mui/material/Table';\r\nimport TableHead from '@mui/material/TableHead';\r\nimport TableBody from '@mui/material/TableBody';\r\nimport TableRow from '@mui/material/TableRow';\r\nimport TableCell from '@mui/material/TableCell';\r\nimport Checkbox from '@mui/material/Checkbox';\r\nimport TextField from '@mui/material/TextField';\r\nimport IconButton from '@mui/material/IconButton';\r\nimport Select from '@mui/material/Select';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport TableSortLabel from '@mui/material/TableSortLabel';\r\nimport Tooltip from '@mui/material/Tooltip';\r\n\r\nimport DeleteIcon from '@mui/icons-material/Delete';\r\nimport AddIcon from '@mui/icons-material/Add';\r\nimport ImportExport from '@mui/icons-material/ImportExport';\r\n\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\nimport Utils from '@iobroker/adapter-react-v5/Components/Utils';\r\n\r\nimport ExpertIcon from '@iobroker/adapter-react-v5/icons/IconExpert';\r\nimport TextWithIcon from '@iobroker/adapter-react-v5/Components/TextWithIcon';\r\nimport SelectWithIcon from '@iobroker/adapter-react-v5/Components/SelectWithIcon';\r\n\r\nimport TsvDialog from './TsvDialog';\r\nimport DeleteAllDialog from './DeleteAllDialog';\r\nimport DeleteDialog from './DeleteDialog';\r\n\r\nconst styles = theme => ({\r\n tableHeader: {\r\n whiteSpace: 'nowrap',\r\n fontWeight: 'bold',\r\n fontSize: '80%',\r\n padding: '0px 8px'\r\n },\r\n tableHeaderExtended: {\r\n color: theme.palette.mode === 'dark' ? theme.palette.primary.light : theme.palette.primary.dark\r\n },\r\n tableCell: {\r\n whiteSpace: 'nowrap',\r\n fontSize: '80%',\r\n padding: '0px 8px'\r\n },\r\n tableContainer: {\r\n overflow: 'auto',\r\n maxHeight: 'calc(100vh - 180px)'\r\n },\r\n tableTextField: {\r\n fontSize: '80%'\r\n },\r\n tableSelect: {\r\n fontSize: '80%'\r\n },\r\n tableTextFieldContainer: {\r\n width: '100%'\r\n },\r\n tableSelectContainer: {\r\n width: '100%'\r\n },\r\n nonEditMode: {\r\n cursor: 'pointer'\r\n }\r\n});\r\n\r\nconst DataCell = props => {\r\n const sortedItem = props.sortedItem;\r\n const field = props.field;\r\n const editMode = props.editMode;\r\n const setEditMode = props.setEditMode;\r\n\r\n const ref = useRef();\r\n\r\n let item = sortedItem.item;\r\n let result;\r\n if (field.type === 'checkbox') {\r\n result = \r\n props.changeParam(sortedItem.$index, field.name, e.target.checked)}\r\n />\r\n ;\r\n } else if (field.type === 'rooms') {\r\n if (!editMode) {\r\n result = ;\r\n } else {\r\n result = props.changeParam(sortedItem.$index, field.name, value)}\r\n className={props.classes.tableSelectContainer}\r\n />;\r\n }\r\n } else if (field.type === 'select') {\r\n if (!editMode) {\r\n let option = field.options.find(option => option.value === item[field.name]);\r\n result = option ? option.title : '';\r\n } else {\r\n result = props.changeParam(sortedItem.$index, field.name, e.target.value)}\r\n className={props.classes.tableSelectContainer}\r\n >\r\n {field.options.map(option =>\r\n {option.title ? option.title : {I18n.t('Nothing')}}\r\n )}\r\n ;\r\n }\r\n } else {\r\n if (!editMode) {\r\n result = item[field.name] ? item[field.name] : null;\r\n } else {\r\n result = props.changeParam(sortedItem.$index, field.name, e.target.value)}\r\n disabled={props.getDisable(sortedItem.$index, field.name)}\r\n />;\r\n }\r\n }\r\n\r\n return {\r\n setEditMode(true);\r\n window.localStorage.setItem('Modbus.editMode', 'true');\r\n window.setTimeout(() => ref.current && ref.current.focus(), 100);\r\n }}\r\n >\r\n {result}\r\n ;\r\n}\r\n\r\nconst RegisterTable = props => {\r\n const [tsvDialogOpen, setTsvDialogOpen] = useState(false);\r\n const [editMode, setEditMode] = useState(parseInt(window.localStorage.getItem('Modbus.editMode'), 10) || 0);\r\n const [extendedMode, setExtendedMode] = useState(window.localStorage.getItem('Modbus.extendedMode') === 'true');\r\n const [deleteAllDialog, setDeleteAllDialog] = useState({\r\n open: false,\r\n action: null,\r\n });\r\n const [deleteDialog, setDeleteDialog] = useState({\r\n open: false,\r\n item: null,\r\n action: null,\r\n });\r\n\r\n let sortedData = props.getSortedData(props.data, props.orderBy, props.order);\r\n\r\n return
\r\n
\r\n \r\n {\r\n props.addItem();\r\n }}>\r\n \r\n \r\n \r\n \r\n setTsvDialogOpen(true)}>\r\n \r\n \r\n \r\n \r\n {\r\n window.localStorage.setItem('Modbus.extendedMode', extendedMode ? 'false' : 'true');\r\n setExtendedMode(!extendedMode);\r\n }}>\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {props.fields.filter(item => (extendedMode || !item.expert) && (!props.formulaDisabled || !item.formulaDisabled)).map(field => {\r\n let isChecked = false;\r\n let indeterminate = false;\r\n let trueFound = false;\r\n let falseFound = false;\r\n for (let k in props.data) {\r\n if (props.data[k][field.name]) {\r\n isChecked = true;\r\n trueFound = true;\r\n } else {\r\n isChecked = false;\r\n falseFound = true;\r\n }\r\n\r\n if (trueFound && falseFound) {\r\n indeterminate = true;\r\n isChecked = false;\r\n break;\r\n }\r\n }\r\n\r\n return \r\n {field.type === 'checkbox' ?\r\n \r\n {\r\n let newData = JSON.parse(JSON.stringify(props.data));\r\n newData.forEach(item =>\r\n item[field.name] = e.target.checked);\r\n props.changeData(newData);\r\n }}\r\n />\r\n \r\n : null}\r\n {field.sorted ? {\r\n const isAsc = props.orderBy === field.name && props.order === 'asc';\r\n props.onChangeOrder(field.name, isAsc ? 'desc' : 'asc');\r\n }}\r\n >{I18n.t(field.title)} : I18n.t(field.title)}\r\n \r\n })}\r\n \r\n \r\n
\r\n setDeleteAllDialog({\r\n open: true,\r\n action: () => props.changeData([]),\r\n })}\r\n disabled={!props.data.length}\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n sortedData.map(sortedItem =>\r\n \r\n {props.fields.filter(item => (extendedMode || !item.expert) && (!props.formulaDisabled || !item.formulaDisabled)).map(field =>\r\n setEditMode(sortedItem.$index)}\r\n {...props}\r\n />\r\n )}\r\n \r\n \r\n
\r\n {\r\n let lastTime = window.sessionStorage.getItem('disableDeleteDialogs');\r\n if (lastTime && (new Date() - new Date(lastTime)) < 1000 * 60 * 5) {\r\n props.deleteItem(sortedItem.$index);\r\n return;\r\n }\r\n setDeleteDialog({\r\n open: true,\r\n action: disableDialogs => {\r\n if (disableDialogs) {\r\n window.sessionStorage.setItem('disableDeleteDialogs', (new Date()).toISOString());\r\n }\r\n props.deleteItem(sortedItem.$index);\r\n },\r\n item: sortedItem.item\r\n })\r\n }}>\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n
\r\n
\r\n
\r\n {tsvDialogOpen ? setTsvDialogOpen(false)}\r\n data={props.data}\r\n fields={props.fields}\r\n /> : null}\r\n setDeleteAllDialog({\r\n open: false,\r\n action: null,\r\n })}\r\n />\r\n setDeleteDialog({\r\n open: false,\r\n action: null,\r\n item: null\r\n })}\r\n item={deleteDialog.item}\r\n />\r\n
;\r\n}\r\n\r\nRegisterTable.propTypes = {\r\n data: PropTypes.array,\r\n fields: PropTypes.array,\r\n classes: PropTypes.object,\r\n addItem: PropTypes.func,\r\n changeData: PropTypes.func,\r\n deleteItem: PropTypes.func,\r\n rooms: PropTypes.object,\r\n formulaDisabled: PropTypes.bool,\r\n onChangeOrder: PropTypes.func,\r\n getSortedData: PropTypes.func,\r\n themeType: PropTypes.string,\r\n showExtendedModeSwitch: PropTypes.bool,\r\n}\r\n\r\nexport default withStyles(styles)(RegisterTable);","import {Component} from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport Paper from '@mui/material/Paper';\r\n\r\nimport RegisterTable from '../Components/RegisterTable';\r\nimport Utils from '../Components/Utils';\r\n\r\nclass BaseRegisters extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.nativeField = '';\r\n this.state = {\r\n order: window.localStorage.getItem('Modbus.order') || 'asc',\r\n orderBy: window.localStorage.getItem('Modbus.orderBy') || '_address',\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n if (!window.localStorage.getItem('Modbus.orderBy')) {\r\n this.fields = this.fields || this.getFields();\r\n const isSlaveIDPresent = !!this.fields.find(item => item.name === 'deviceId');\r\n const orderBy = isSlaveIDPresent ? 'deviceId' : '_address';\r\n\r\n if (orderBy !== this.state.orderBy) {\r\n this.setState({orderBy});\r\n }\r\n }\r\n }\r\n\r\n isShowExtendedModeSwitch() {\r\n return true;\r\n }\r\n\r\n getFields() {\r\n return null;\r\n }\r\n\r\n addressToCanonical(_address) {\r\n let address = _address;\r\n let params = this.props.native.params;\r\n if (params.showAliases) {\r\n if (params.directAddresses) {\r\n address = Utils.direct2nonDirect(this.nativeField, address);\r\n }\r\n address = Utils.alias2address(this.nativeField, address);\r\n }\r\n return address;\r\n }\r\n\r\n changeParam = (index, name, value) => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n data[index][name] = value;\r\n if (name === '_address') {\r\n data[index]['address'] = this.addressToCanonical(value);\r\n }\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {};\r\n this.getFields().forEach(field => newItem[field.name] = '');\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n deleteItem = index => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n data.splice(index, 1);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n changeData = data => {\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n getDisable = (index, name) => {\r\n return false;\r\n }\r\n\r\n getSortedData = (data, orderBy, order) => {\r\n data = data || this.props.native[this.nativeField];\r\n orderBy = orderBy || this.state.orderBy;\r\n order = order || this.state.order;\r\n let sortedData = [];\r\n data.forEach((item, index) => {sortedData[index] = {item, $index: index}});\r\n const field = this.fields.find(item => item.name === orderBy);\r\n\r\n sortedData.sort((sortedItem1, sortedItem2) => {\r\n let sort1;\r\n let sort2;\r\n if (orderBy === 'deviceId') {\r\n sort1 = (parseInt(sortedItem1.item.deviceId, 10) << 16) | parseInt(sortedItem1.item._address, 10);\r\n sort2 = (parseInt(sortedItem2.item.deviceId, 10) << 16) | parseInt(sortedItem2.item._address, 10);\r\n } else if (orderBy === '$index') {\r\n sort1 = sortedItem1[orderBy];\r\n sort2 = sortedItem2[orderBy];\r\n } else if (field && field.type === 'number') {\r\n sort1 = parseInt(sortedItem1.item[orderBy], 10);\r\n sort2 = parseInt(sortedItem2.item[orderBy], 10);\r\n } else {\r\n sort1 = sortedItem1.item[orderBy];\r\n sort2 = sortedItem2.item[orderBy];\r\n }\r\n return (order === 'asc' ? sort1 > sort2 : sort1 < sort2) ? 1 : -1;\r\n });\r\n\r\n return sortedData;\r\n }\r\n\r\n render() {\r\n this.fields = this.fields || this.getFields();\r\n\r\n return \r\n {\r\n this.setState({orderBy, order});\r\n window.localStorage.setItem('Modbus.orderBy', orderBy);\r\n window.localStorage.setItem('Modbus.order', order);\r\n }}\r\n />\r\n ;\r\n }\r\n}\r\n\r\nBaseRegisters.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n formulaDisabled: PropTypes.bool,\r\n};\r\n\r\nexport default BaseRegisters;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport types from '../data/types';\r\nimport roles from '../data/roles';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nclass InputRegisters extends BaseRegisters {\r\n nativeField = 'inputRegs';\r\n\r\n getFields() {\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'unit', title: 'Unit', type: 'text', width: 30},\r\n {name: 'type', title: 'Type', type: 'select', options: types, sorted: true},\r\n {name: 'len', title: 'Length', type: 'text', width: 20},\r\n {name: 'factor', title: 'Factor', type: 'text', width: 20, expert: true},\r\n {name: 'offset', title: 'Offset', type: 'text', width: 20, expert: true},\r\n {name: 'formula', title: 'Formula', type: 'text', formulaDisabled: true, expert: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'cw', title: 'CW', type: 'checkbox', tooltip: 'Cyclic write'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '')\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + (lastItem.len ? parseInt(lastItem.len, 10) : 1);\r\n while(sortedData.find(item => item.item._address >= newItem._address && item.item._address + parseInt(item.item.len || 1, 10) < newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.type = lastItem.type;\r\n newItem.len = lastItem.len;\r\n newItem.factor = lastItem.factor;\r\n newItem.offset = lastItem.offset;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem.factor = 1;\r\n newItem.offset = 0;\r\n newItem._address = this.props.native.params.showAliases ? 30001 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n getDisable = (index, name) => {\r\n if (name === 'len') {\r\n if (!['string', 'stringle'].includes(this.props.native[this.nativeField][index].type)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n changeParam = (index, name, value) => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n data[index][name] = value;\r\n if (name === 'type') {\r\n if (['', 'uint16be', 'uint16le', 'int16be', 'int16le', 'uint8be', 'uint8le', 'int8be', 'int8le'].includes(value)) {\r\n data[index].len = 1;\r\n }\r\n if (['uint32be', 'uint32le', 'uint32sw', 'uint32sb', 'int32be', 'int32le', 'int32sw', 'int32sb', 'floatbe', 'floatle', 'floatsw', 'floatsb', 'string', 'stringle'].includes(value)) {\r\n data[index].len = 2;\r\n }\r\n if (['uint64be', 'uint64le', 'doublebe', 'doublele'].includes(value)) {\r\n data[index].len = 4;\r\n }\r\n }\r\n\r\n if (name === '_address') {\r\n data[index]['address'] = this.addressToCanonical(value);\r\n }\r\n\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nInputRegisters.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default InputRegisters;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nimport roles from '../data/roles';\r\nimport types from '../data/types';\r\n\r\nclass HoldingRegisters extends BaseRegisters {\r\n nativeField = 'holdingRegs';\r\n\r\n getFields() {\r\n //let rooms = this.getRooms();\r\n //rooms.unshift({value: '', title: ''});\r\n\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'unit', title: 'Unit', type: 'text', width: 30},\r\n {name: 'type', title: 'Type', type: 'select', options: types, sorted: true},\r\n {name: 'len', title: 'Length', type: 'text', width: 20},\r\n {name: 'factor', title: 'Factor', type: 'text', width: 20, expert: true},\r\n {name: 'offset', title: 'Offset', type: 'text', width: 20, expert: true},\r\n {name: 'formula', title: 'Formula', type: 'text', expert: true, formulaDisabled: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'poll', title: 'Poll', type: 'checkbox', tooltip: 'Enable polling of data point'},\r\n {name: 'wp', title: 'WP', type: 'checkbox', tooltip: 'Write pulses (true → false edge)', expert: true},\r\n {name: 'cw', title: 'CW', type: 'checkbox', tooltip: 'Cyclic write'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '');\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + (lastItem.len ? parseInt(lastItem.len, 10) : 1);\r\n while(sortedData.find(item => item.item._address >= newItem._address && item.item._address + parseInt(item.item.len || 1, 10) < newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.type = lastItem.type;\r\n newItem.len = (lastItem.len ? parseInt(lastItem.len) : 1);\r\n newItem.factor = lastItem.factor;\r\n newItem.offset = lastItem.offset;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.poll = lastItem.poll;\r\n newItem.wp = lastItem.wp;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem.factor = 1;\r\n newItem.offset = 0;\r\n newItem._address = this.props.native.params.showAliases ? 40001 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n getDisable = (index, name) => {\r\n return name === 'len' &&\r\n !['string', 'stringle'].includes(this.props.native[this.nativeField][index].type);\r\n }\r\n\r\n changeParam = (index, name, value) => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n\r\n data[index][name] = value;\r\n\r\n if (name === 'type') {\r\n if (['', 'uint16be', 'uint16le', 'int16be', 'int16le', 'uint8be', 'uint8le', 'int8be', 'int8le'].includes(value)) {\r\n data[index].len = 1;\r\n } else\r\n if (['uint32be', 'uint32le', 'uint32sw', 'uint32sb', 'int32be', 'int32le', 'int32sw', 'int32sb', 'floatbe', 'floatle', 'floatsw', 'floatsb', 'string', 'stringle'].includes(value)) {\r\n data[index].len = 2;\r\n } else\r\n if (['uint64be', 'uint64le', 'doublebe', 'doublele'].includes(value)) {\r\n data[index].len = 4;\r\n }\r\n }\r\n\r\n if (name === '_address') {\r\n data[index]['address'] = this.addressToCanonical(value);\r\n }\r\n\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nHoldingRegisters.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default HoldingRegisters;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport roles from '../data/roles';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nclass DiscreteInputs extends BaseRegisters {\r\n nativeField = 'disInputs';\r\n\r\n getFields() {\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'formula', title: 'Formula', type: 'text', expert: true, formulaDisabled: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'cw', title: 'CW', type: 'checkbox', tooltip: 'Cyclic write'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n isShowExtendedModeSwitch() {\r\n return this.props.native.params.slave !== 1 && this.props.native.params.slave !== '1';\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '')\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + 1;\r\n while(sortedData.find(item => item.item._address === newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem._address = this.props.native.params.showAliases ? 10001 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nDiscreteInputs.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default DiscreteInputs;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport roles from '../data/roles';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nclass Coils extends BaseRegisters {\r\n nativeField = 'coils';\r\n\r\n getFields() {\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'formula', title: 'Formula', type: 'text', expert: true, formulaDisabled: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'poll', title: 'Poll', type: 'checkbox'},\r\n {name: 'wp', title: 'WP', type: 'checkbox', expert: true},\r\n {name: 'cw', title: 'CW', type: 'checkbox'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '');\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + 1;\r\n while(sortedData.find(item => item.item._address === newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.poll = lastItem.poll;\r\n newItem.wp = lastItem.wp;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem._address = this.props.native.params.showAliases ? 1 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nCoils.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default Coils;\r\n","import React from 'react';\r\nimport { withStyles } from '@mui/styles';\r\nimport { ThemeProvider, StyledEngineProvider } from '@mui/material/styles';\r\nimport { SnackbarProvider } from 'notistack';\r\n\r\nimport AppBar from '@mui/material/AppBar';\r\nimport Tabs from '@mui/material/Tabs';\r\nimport Tab from '@mui/material/Tab';\r\n\r\nimport {AiOutlineFieldBinary as BinaryIcon} from 'react-icons/ai';\r\nimport {TiSortNumerically as DigitsIcon} from 'react-icons/ti';\r\n\r\nimport GenericApp from '@iobroker/adapter-react-v5/GenericApp';\r\nimport Loader from '@iobroker/adapter-react-v5/Components/Loader'\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\n\r\nimport TabOptions from './Tabs/Options';\r\nimport TabInputRegisters from './Tabs/InputRegisters';\r\nimport TabHoldingRegisters from './Tabs/HoldingRegisters';\r\nimport TabDiscreteInputs from './Tabs/DiscreteInputs';\r\nimport TabCoils from './Tabs/Coils';\r\n\r\nconst styles = theme => ({\r\n root: {},\r\n tabContent: {\r\n padding: 10,\r\n height: 'calc(100% - 64px - 48px - 20px)',\r\n overflow: 'auto',\r\n },\r\n tabContentIFrame: {\r\n padding: 10,\r\n height: 'calc(100% - 64px - 48px - 20px - 38px)',\r\n overflow: 'auto'\r\n },\r\n tab: {\r\n width: '100%',\r\n minHeight: '100%'\r\n },\r\n buttonSelected: {\r\n color: theme.palette.mode === 'dark' ? theme.palette.primary.color + ' !important' : 'white !important'\r\n }\r\n});\r\n\r\nconst tabs = [\r\n {\r\n name: 'general',\r\n title: 'General',\r\n component: TabOptions,\r\n },\r\n {\r\n name: 'discrete-inputs',\r\n title: 'Discrete inputs',\r\n component: TabDiscreteInputs,\r\n icon: ,\r\n tooltip: 'Binary inputs (read-only)'\r\n },\r\n {\r\n name: 'coils',\r\n title: 'Coils',\r\n component: TabCoils,\r\n icon: ,\r\n tooltip: 'Binary inputs and outputs'\r\n },\r\n {\r\n name: 'input-registers',\r\n title: 'Input Registers',\r\n component: TabInputRegisters,\r\n icon: ,\r\n tooltip: 'Input registers (8-64 bit values, read-only)'\r\n },\r\n {\r\n name: 'holding-registers',\r\n title: 'Holding Registers',\r\n component: TabHoldingRegisters,\r\n icon: ,\r\n tooltip: 'Input/output registers (8-64 bit values)'\r\n },\r\n];\r\n\r\nfunction sort(data) {\r\n data.sort((item1, item2) => {\r\n item1.deviceId = parseInt(item1.deviceId, 10) || 1;\r\n item2.deviceId = parseInt(item2.deviceId, 10) || 1;\r\n item1._address = parseInt(item1._address, 10) || 0;\r\n item2._address = parseInt(item2._address, 10) || 0;\r\n const sort1 = (parseInt(item1.deviceId, 10) << 16) | parseInt(item1._address, 10);\r\n const sort2 = (parseInt(item2.deviceId, 10) << 16) | parseInt(item2._address, 10);\r\n return sort1 < sort2 ? -1 : (sort1 > sort2 ? 1 : 0);\r\n });\r\n}\r\n\r\nclass App extends GenericApp {\r\n constructor(props) {\r\n const extendedProps = {...props};\r\n extendedProps.encryptedFields = ['pass'];\r\n\r\n extendedProps.translations = {\r\n 'en': require('./i18n/en'),\r\n 'de': require('./i18n/de'),\r\n 'ru': require('./i18n/ru'),\r\n 'pt': require('./i18n/pt'),\r\n 'nl': require('./i18n/nl'),\r\n 'fr': require('./i18n/fr'),\r\n 'it': require('./i18n/it'),\r\n 'es': require('./i18n/es'),\r\n 'pl': require('./i18n/pl'),\r\n 'zh-cn': require('./i18n/zh-cn'),\r\n };\r\n\r\n extendedProps.sentryDSN = window.sentryDSN;\r\n\r\n super(props, extendedProps);\r\n this.state.moreLoaded = false;\r\n this.state.rooms = null;\r\n }\r\n\r\n onPrepareSave(native) {\r\n // sort all arrays by device:address\r\n native.disInputs && sort(native.disInputs);\r\n native.coils && sort(native.coils);\r\n native.inputRegs && sort(native.inputRegs);\r\n native.holdingRegs && sort(native.holdingRegs);\r\n\r\n return native;\r\n }\r\n\r\n onConnectionReady() {\r\n super.onConnectionReady();\r\n\r\n this.socket.getEnums('rooms')\r\n .then(rooms =>\r\n this.setState({moreLoaded: true, rooms}));\r\n }\r\n\r\n getSelectedTab() {\r\n const selectedTab = this.state.selectedTab;\r\n if (!selectedTab) {\r\n return 0;\r\n } else {\r\n return tabs.findIndex(tab => tab.name === selectedTab);\r\n }\r\n }\r\n\r\n render() {\r\n if (!this.state.loaded || !this.state.moreLoaded) {\r\n return \r\n \r\n \r\n \r\n ;\r\n }\r\n\r\n return \r\n \r\n \r\n
\r\n \r\n this.selectTab(tabs[index].name, index)}\r\n variant=\"scrollable\"\r\n scrollButtons=\"auto\"\r\n >\r\n {tabs.map(tab => {tab.icon}{I18n.t(tab.title)} : I18n.t(tab.title)}\r\n data-name={tab.name}\r\n key={tab.name}\r\n title={tab.tooltip ? I18n.t(tab.tooltip) : undefined}\r\n />)}\r\n \r\n \r\n
\r\n {tabs.map((tab, index) => {\r\n const TabComponent = tab.component;\r\n if (this.state.selectedTab) {\r\n if (this.state.selectedTab !== tab.name) {\r\n return null;\r\n }\r\n } else {\r\n if (index !== 0) {\r\n return null;\r\n }\r\n }\r\n return this.setState({errorText: (text || text === 0) && typeof text !== 'string' ? text.toString() : text})}\r\n onLoad={native => this.onLoadConfig(native)}\r\n instance={this.instance}\r\n adapterName={this.adapterName}\r\n changed={this.state.changed}\r\n onChange={(attr, value, cb) => this.updateNativeValue(attr, value, cb)}\r\n changeNative={(value) => this.setState({native: value, changed: this.getIsChanged(value)})}\r\n rooms={this.state.rooms}\r\n />\r\n })}\r\n
\r\n {this.renderError()}\r\n {this.renderSaveCloseButtons()}\r\n
\r\n
\r\n
\r\n
;\r\n }\r\n}\r\n\r\nexport default withStyles(styles)(App);\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read http://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit http://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See http://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { ThemeProvider, StyledEngineProvider } from '@mui/material/styles';\r\nimport './index.css';\r\nimport App from './App';\r\nimport * as serviceWorker from './serviceWorker';\r\nimport pkg from '../package.json';\r\nimport theme from '@iobroker/adapter-react-v5/Theme';\r\nimport Utils from '@iobroker/adapter-react-v5/Components/Utils';\r\n\r\nwindow.adapterName = 'modbus';\r\nwindow.sentryDSN = 'https://19469f9280bd4b18a3e960e79cb01df2@sentry.iobroker.net/196';\r\n\r\nlet themeName = Utils.getThemeName();\r\n\r\nconsole.log(`iobroker.${window.adapterName}@${pkg.version} using theme \"${themeName}\"`);\r\n\r\nfunction build() {\r\n return ReactDOM.render(\r\n \r\n \r\n {\r\n themeName = _theme;\r\n build();\r\n }}\r\n />\r\n \r\n ,\r\n document.getElementById('root')\r\n );\r\n}\r\n\r\nbuild();\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: http://bit.ly/CRA-PWA\r\nserviceWorker.unregister();\r\n"],"names":["module","exports","arr","len","length","i","arr2","Array","__esModule","arrayLikeToArray","isArray","unsupportedIterableToArray","o","allowArrayLike","it","Symbol","iterator","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","obj","iter","from","arrayWithoutHoles","iterableToArray","nonIterableSpread","minLen","Object","prototype","toString","slice","constructor","name","test","StyleSheet","options","_this","this","_insertTag","tag","before","tags","insertionPoint","nextSibling","prepend","container","firstChild","insertBefore","push","isSpeedy","undefined","speedy","ctr","nonce","key","_proto","hydrate","nodes","forEach","insert","rule","document","createElement","setAttribute","appendChild","createTextNode","createStyleElement","sheet","styleSheets","ownerNode","sheetForTag","insertRule","cssRules","process","flush","parentNode","removeChild","abs","Math","String","fromCharCode","assign","trim","replace","pattern","replacement","indexof","search","indexOf","charat","index","charCodeAt","substr","begin","end","strlen","sizeof","append","array","line","column","position","character","characters","node","root","parent","type","props","children","return","copy","prev","peek","caret","token","alloc","dealloc","delimit","delimiter","whitespace","escaping","count","commenter","identifier","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","KEYFRAMES","serialize","callback","output","stringify","element","join","prefix","hash","compile","parse","rules","rulesets","pseudo","points","declarations","offset","atrule","property","previous","variable","scanning","ampersand","reference","comment","declaration","ruleset","post","size","j","k","x","y","z","identifierWithPointTracking","getRules","parsed","toRules","fixedElements","WeakMap","compat","isImplicitRule","get","set","parentRules","removeLabel","defaultStylisPlugins","map","combine","exec","match","ssrStyles","querySelectorAll","getAttribute","head","stylisPlugins","_insert","inserted","nodesToHydrate","attrib","split","currentSheet","finalizingPlugins","serializer","collection","middleware","concat","selector","serialized","shouldCache","styles","cache","registered","fn","create","arg","EmotionCacheContext","createContext","HTMLElement","createCache","CacheProvider","Provider","withEmotionCache","func","forwardRef","ref","useContext","ThemeContext","React","useInsertionEffect","useLayoutEffect","Global","serializeStyles","sheetRef","useRef","rehydrating","querySelector","current","sheetRefCurrent","insertStyles","nextElementSibling","css","_len","arguments","args","_key","keyframes","insertable","apply","anim","str","h","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","memoize","styleName","toLowerCase","processStyleValue","p1","p2","cursor","unitless","handleInterpolation","mergedProps","interpolation","__emotion_styles","string","interpolated","_i","createStringFromObject","previousCursor","result","cached","labelPattern","stringMode","strings","raw","lastIndex","identifierName","hashString","getRegisteredStyles","registeredStyles","classNames","rawClassName","className","registerStyles","isStringTag","imagePrefix","src","common","cIcon","icon","startsWith","includes","instance","_id","id","_react","_SettingsApplications","_Photo","_IconAlias","_SupervisedUserCircle","_PersonOutlined","_Router","endsWith","_Wifi","_Info","_Description","Icon","title","style","height","marginTop","styleUTF8","Utils","clsx","_reactInlinesvg","width","_this$props$style3","alt","Component","propTypes","color","PropTypes","oneOfType","object","isRequired","require","Loader","theme","themeType","left","borderWidth","top","bottom","number","Router","_classCallCheck","onHashChangedBound","onHashChanged","bind","window","location","parts","item","decodeURIComponent","console","error","tab","dialog","getLocation","addEventListener","removeEventListener","SaveCloseButtons","isIFrame","newReact","self","noTextOnButtons","buttonStyle","borderRadius","saveToolbar","button","paddingLeft","right","background","dense","minHeight","border","_Toolbar","_Fab","variant","disabled","changed","onClick","_this2","onSave","_Save","classes","buttonIcon","I18n","t","marginLeft","_Close","onClose","bool","marginRight","SelectWithIcon","list","different","wordDifferent","getObjectNameFromObj","lang","_obj$common","_obj$common2","values","_obj$common3","_obj$common4","unshift","allowNone","state","find","timeout","setTimeout","JSON","setState","findIndex","splice","removePrefix","backgroundColor","getInvertedColor","select","_material","inputProps","renderValue","_Icon","onChange","el","target","pos","clone","fullWidth","label","TextWithIcon","_item","_item$common","_item$common2","_list$common","_list$common2","_typeof","_item$common3","_item$common4","invertColor","_item3","_item4","_item5","div","moreClasses","_props$moreClasses","_item7","_props$moreClasses2","text","_props$moreClasses3","_item8","padding","whiteSpace","overflow","display","alignItems","verticalAlign","textOverflow","NAMESPACE","days","months","QUALITY_BITS","filter","word","toUpperCase","substring","seconds","floor","hours","minutes","objects","settings","isDesc","attr","language","sysLang","en","desc","de","ru","lastIndexOf","CapitalWords","forEnumId","hasOwnProperty","custom","user","subOrder","subURLs","URLs","source","dest","removed","defaultEnabling","enabled","useCustom","useCommon","pathname","defaultValue","r","g","b","rgb","parseInt","parseFloat","isNaN","secs","angle","num","format","dateFormat","now","m","a","year","day","Date","getTime","date","getDay","getDate","getMonth","p","href","rel","states","instanceId","noCommon","smartName","newSmartName","byON","smartType","getLanguage","nnn","_smartName","role","empty","nl","pl","fr","pt","es","body","execCommand","log","stopPropagation","preventDefault","fileName","bytes","units","u","toFixed","invert","invertedColor","hex","bw","padStart","warn","mix","_toVal","tmp","themeName","vendorPrefix","localStorage","getItem","matchMedia","matches","setItem","newTheme","themes","getThemeNames","setThemeName","query","part","pop","dateObj","mm","dd","getFullYear","v","getHours","getMinutes","getSeconds","getMilliseconds","round","d","url","open","extractHeader","header","lines","attrs","doc","filename","json","encodeURIComponent","click","quality","ex","fetch","then","response","blob","Promise","resolve","reader","FileReader","onload","readAsDataURL","PROGRESS","CONNECTING","CONNECTED","OBJECTS_LOADED","READY","PERMISSION_ERROR","NOT_CONNECTED","ERRORS","fixAdminUI","adminUI","noConfig","config","jsonConfig","materialize","jsonCustom","supportCustoms","materializeTab","adminTab","debug","Connection","protocol","host","hostname","autoSubscribes","autoSubscribeLog","port","isWeb","ioTimeout","max","cmdTimeout","doNotLoadAllObjects","doNotLoadACL","acl","firstConnect","waitForRestart","systemLang","connected","_waitForFirstConnection","_waitForFirstConnectionResolve","statesSubscribes","objectsSubscribes","onProgress","onError","loaded","loadTimer","loadCounter","admin5only","onConnectionHandlers","onLogHandlers","_promises","info","silly","startSocket","io","_socket","socketUrl","connect","on","noTimeout","getVersion","version","major","minor","patch","_authTimer","onPreConnect","emit","isOk","isSecure","reload","_subscribe","cb","subscribed","authenticate","message","onLog","_err","alert","operation","objectChange","stateChange","onCmdStdoutHandler","onCmdStderrHandler","exitCode","onCmdExitHandler","registerSocketOnLoad","scriptLoadCounter","clearTimeout","_this3","onConnect","_getUserPermissions","_this4","getCompactSystemConfig","getSystemConfig","data","systemConfig","navigator","userLanguage","onLanguage","getObjects","onReady","binary","cbs","reg","RegExp","getBinaryState","base64","keys","oldObj","_rev","_this5","onObjectChange","task","disableProgressUpdate","reject","_this6","res","STATES_LOADED","_this7","_this8","_this9","val","_this10","update","_this11","isEnable","_this12","isEnabled","_this13","maintenance","_this14","_this15","ts","_this16","_this17","adapter","_this18","getObjectView","items","instances","_this19","adapters","objs","oldId","newId","setObject","_this20","delObject","_renameGroups","newName","getGroups","groups","groupsToRename","group","_this21","command","_this22","_this23","handler","_enum","_this24","startkey","endkey","_res","rows","start","_this25","cert","getObject","certs","certificates","c","_cert","linesNumber","_this26","_this27","files","_this28","_this29","_this30","_this31","_this32","btoa","Uint8Array","reduce","byte","oldName","_this33","_this34","folderName","_this35","hosts","_this36","users","_this37","_this38","timeoutMs","_this39","_this40","repo","_this41","installed","_this42","cmd","cmdId","_this43","feature","_this44","features","checkFeatureSupported","_this45","_this46","_this47","typeOfDiag","_this48","_this49","_this50","_this51","_this52","_this53","stepIgnore","sessionId","password","_this54","address","ipOrHostName","_this55","ip","IPs4","family","IPs6","_host$native","hardware","_host$native$hardware","networkInterfaces","eth","_this56","encryptedText","_this57","_this58","serverName","webName","_this59","_this60","entries","_this61","_this62","exists","category","_this63","notifications","_this64","_this65","isStrict","_this66","_this67","controller","AbortController","abort","signal","_this68","ratings","currentInstance","_this69","namespace","compactAdapters","_this70","compactInstances","_this71","installedCompact","_this72","systemConfigCommon","_this73","repoCompact","_this74","hostsCompact","_this75","uuid","_obj$native","level","_this76","adapterName","DialogError","_Dialog","maxWidth","handleOk","_DialogTitle","titleBackground","titleColor","_DialogContent","_DialogContentText","_DialogActions","_Button","autoFocus","startIcon","_Check","GenericApp","ConnectionClass","SocketClient","_defineProperty","socket","setLanguage","_systemConfig","expertMode","getExpertMode","newThemeName","getThemeName","createTheme","getThemeType","onThemeChange","onThemeChanged","onToggleExpertMode","resizeTimer","getWidth","themeInstance","selectedTab","selectedTabNum","native","errorText","isConfigurationError","toast","bottomButtons","translations","setTranslations","savedNative","encryptedFields","sentryDSN","progress","scripts","subscribeObject","onSystemConfigChanged","_secret","secret","instanceObj","waitPromise","sentryEnabled","diag","disableDataReporting","sentryStarted","Sentry","init","dsn","release","integrations","SentryIntegrations","Dedupe","sentryInited","uuidObj","configureScope","scope","setUser","onPrepareLoad","encryptedNative","onConnectionReady","showError","onResize","onReceiveMessage","_get","palette","mode","sessionStorage","selectTab","encrypt","decrypt","webExtendable","_host","inter","isClose","_oldObj","onPrepareSave","globalThis","_Snackbar","anchorOrigin","vertical","horizontal","autoHideDuration","ContentProps","action","_IconButton","close","_Error","isChanged","newNative","getIsChanged","_SaveCloseButtons","shift","Error","_updateNativeValue","renderError","renderToast","renderSaveCloseButtons","_Loader","SIZES","xs","sm","md","lg","xl","innerWidth","reverse","$iframeDialog","postMessage","toInt","getElevation","overlayColor","elevation","int","overlay","getElevations","elevations","paper","default","primary","main","secondary","expert","overrides","MuiAppBar","colorDefault","MuiLink","textTransform","transition","orange","MuiPaper","toolbar","grey","dark","adaptV4Theme","components","MuiButton","variants","getContrastText","borderColor","disabledBackground","alpha","hoverOpacity","words","translation","w","_disableWarning","disable","IconAlias","viewBox","xmlns","fill","ExpertIcon","mapEventPropToEvent","eventProp","disableReactTree","mouseEvent","onClickAway","touchEvent","movedRef","nodeRef","activatedRef","syntheticEventRef","handleRef","useForkRef","handleClickAway","useEventCallback","event","insideReactTree","ownerDocument","documentElement","clientWidth","clientX","clientHeight","clientY","clickedRootScrollbar","composedPath","contains","createHandleSynthetic","handlerName","childrenPropsHandler","childrenProps","mappedTouchEvent","handleTouchMove","mappedMouseEvent","_jsx","ariaHidden","show","removeAttribute","getPaddingRight","ownerWindow","getComputedStyle","paddingRight","ariaHiddenSiblings","mountElement","currentElement","elementsToExclude","blacklist","blacklistTagNames","tagName","findIndexOf","idx","some","handleContainer","containerInfo","restoreStyle","disableScrollLock","scrollHeight","isOverflowing","scrollbarSize","getScrollbarSize","parentElement","containerWindow","scrollContainer","nodeName","overflowY","overflowX","setProperty","removeProperty","ModalManager","containers","modals","modal","modalIndex","modalRef","hiddenSiblings","getHiddenSiblings","mount","containerIndex","restore","nextTop","getModalUtilityClass","slot","generateUtilityClass","modalUnstyledClasses","generateUtilityClasses","Portal","disablePortal","mountNode","setMountNode","useEnhancedEffect","getContainer","setRef","ReactDOM","_excluded","getStyleValue","computedStyle","visibility","transform","TextareaAutosize","maxRows","minRows","other","_objectWithoutPropertiesLoose","isControlled","inputRef","shadowRef","renders","syncHeight","input","inputShallow","placeholder","boxSizing","innerHeight","singleRowHeight","outerHeight","Number","min","outerHeightStyle","prevState","resizeObserver","handleResize","debounce","ResizeObserver","observe","clear","disconnect","_jsxs","_extends","readOnly","tabIndex","appendOwnerState","elementType","existingProps","ownerState","isHostComponent","_interopRequireDefault","_createSvgIcon","_jsxRuntime","_default","jsx","defineProperty","enumerable","_utils","createSvgIcon","AppBarRoot","styled","Paper","overridesResolver","capitalize","backgroundColorDefault","flexDirection","appBar","contrastText","enableColorOnDark","backgroundImage","AppBar","inProps","useThemeProps","slots","composeClasses","getAppBarUtilityClass","useUtilityClasses","square","component","appBarClasses","BackdropRoot","invisible","justifyContent","WebkitTapHighlightColor","Backdrop","_components$Root","_componentsProps$root","componentsProps","transitionDuration","TransitionComponent","Fade","getBackdropUtilityClass","in","as","Root","backdropClasses","Box","defaultTheme","defaultClassName","generateClassName","styleFunctionSx","defaultStyleFunctionSx","BoxRoot","useTheme","_extendSxProp","extendSxProp","createBox","ClassNameGenerator","getChildMapping","mapFn","Children","child","isValidElement","mapper","getProp","prop","getNextChildMapping","nextProps","prevChildMapping","onExited","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","cloneElement","exit","enter","TransitionGroup","_React$Component","context","handleExited","_assertThisInitialized","contextValue","isMounting","firstRender","_inheritsLoose","componentDidMount","mounted","componentWillUnmount","getDerivedStateFromProps","_ref","appear","currentChildMapping","render","_this$props","childFactory","TransitionGroupContext","defaultProps","_t","_t2","_t3","_t4","pulsate","rippleX","rippleY","rippleSize","inProp","leaving","setLeaving","rippleClassName","ripple","rippleVisible","ripplePulsate","rippleStyles","childClassName","childLeaving","childPulsate","timeoutId","enterKeyframe","exitKeyframe","pulsateKeyframe","TouchRippleRoot","pointerEvents","TouchRippleRipple","Ripple","touchRippleClasses","transitions","easing","easeInOut","duration","shorter","TouchRipple","center","centerProp","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","startCommit","params","oldRipples","fakeElement","rect","getBoundingClientRect","touches","sqrt","sizeX","sizeY","stop","ButtonBaseRoot","outline","margin","userSelect","MozAppearance","WebkitAppearance","textDecoration","borderStyle","buttonBaseClasses","colorAdjust","ButtonBase","centerRipple","disableRipple","disableTouchRipple","focusRipple","LinkComponent","onBlur","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","TouchRippleProps","touchRippleRef","buttonRef","rippleRef","handleRippleRef","useIsFocusVisible","isFocusVisibleRef","handleFocusVisible","handleBlurVisible","focusVisibleRef","focusVisible","setFocusVisible","focus","mountedState","setMountedState","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleMouseDown","handleContextMenu","handleDragLeave","handleMouseUp","handleMouseLeave","handleTouchStart","handleTouchEnd","handleBlur","handleFocus","currentTarget","isNonNativeButton","keydownRef","handleKeyDown","handleKeyUp","defaultPrevented","ComponentProp","to","buttonProps","handleOwnRef","focusVisibleClassName","composedClasses","getButtonBaseUtilityClass","getTouchRippleUtilityClass","ButtonGroupContext","commonIconStyles","fontSize","ButtonRoot","shouldForwardProp","rootShouldForwardProp","colorInherit","disableElevation","_theme$palette$getCon","_theme$palette","typography","minWidth","vars","shape","short","primaryChannel","mainChannel","A100","boxShadow","shadows","buttonClasses","pxToRem","ButtonStartIcon","ButtonEndIcon","endIcon","Button","contextProps","resolvedProps","resolveProps","disableFocusRipple","endIconProp","startIconProp","getButtonUtilityClass","CheckboxRoot","SwitchBase","indeterminate","active","checkboxClasses","defaultCheckedIcon","CheckBoxIcon","defaultIcon","CheckBoxOutlineBlankIcon","defaultIndeterminateIcon","IndeterminateCheckBoxIcon","_icon$props$fontSize","_indeterminateIcon$pr","checkedIcon","iconProp","indeterminateIcon","indeterminateIconProp","getCheckboxUtilityClass","CollapseRoot","orientation","entered","collapsedSize","hidden","CollapseWrapper","wrapper","CollapseWrapperInner","wrapperInner","Collapse","addEndListener","collapsedSizeProp","onEnter","onEntered","onEntering","onExit","onExiting","Transition","getCollapseUtilityClass","timer","wrapperRef","autoTransitionDuration","isHorizontal","normalizedTransitionCallback","maybeIsAppearing","getWrapperSize","handleEnter","isAppearing","handleEntering","wrapperSize","getTransitionProps","transitionTimingFunction","duration2","getAutoHeightDuration","handleEntered","handleExit","handleExiting","childProps","muiSupportAuto","collapseClasses","DialogActionsRoot","disableSpacing","spacing","DialogActions","getDialogActionsUtilityClass","dialogActionsClasses","DialogContentTextRoot","Typography","DialogContentText","getDialogContentTextUtilityClass","dialogContentTextClasses","DialogContentRoot","dividers","WebkitOverflowScrolling","borderTop","divider","borderBottom","dialogTitleClasses","paddingTop","DialogContent","getDialogContentUtilityClass","dialogContentClasses","DialogTitleRoot","DialogTitle","idProp","getDialogTitleUtilityClass","DialogContext","titleId","DialogBackdrop","backdrop","DialogRoot","Modal","DialogContainer","scroll","textAlign","content","DialogPaper","paperFullWidth","fullScreen","paperFullScreen","maxHeight","breakpoints","unit","dialogClasses","down","Dialog","defaultTransitionDuration","enteringScreen","leavingScreen","ariaDescribedby","ariaLabelledbyProp","BackdropComponent","BackdropProps","disableEscapeKeyDown","onBackdropClick","PaperComponent","PaperProps","TransitionProps","getDialogUtilityClass","backdropClick","ariaLabelledby","useId","dialogContextValue","closeAfterTransition","getDividerUtilityClass","dividerClasses","FabRoot","fab","fabClasses","Fab","getFabUtilityClass","entering","defaultTimeout","foreignRef","reflow","transitionProps","webkitTransition","FilledInputRoot","InputBaseRoot","inputBaseRootOverridesResolver","disableUnderline","underline","light","bottomLineColor","borderTopLeftRadius","borderTopRightRadius","easeOut","filledInputClasses","borderBottomColor","borderBottomStyle","startAdornment","endAdornment","multiline","paddingBottom","hiddenLabel","FilledInputInput","InputBaseInput","inputBaseInputOverridesResolver","WebkitBoxShadow","WebkitTextFillColor","caretColor","FilledInput","componentsPropsProp","inputComponent","getFilledInputUtilityClass","filledInputComponentsProps","deepmerge","InputBase","Input","muiName","inputBaseClasses","FormControlLabelRoot","formControlLabelClasses","labelPlacement","FormControlLabel","control","disabledProp","disableTypography","labelProp","muiFormControl","useFormControl","controlProps","fcs","formControlState","getFormControlLabelUtilityClasses","FormControlRoot","marginBottom","FormControl","visuallyFocused","focused","required","getFormControlUtilityClasses","initialAdornedStart","isMuiElement","isAdornedStart","adornedStart","setAdornedStart","initialFilled","isFilled","filled","setFilled","focusedState","setFocused","onFilled","childContext","onEmpty","registerEffect","FormControlContext","formControlClasses","acc","_span","FormHelperTextRoot","contained","caption","formHelperTextClasses","FormHelperText","getFormHelperTextUtilityClasses","FormLabelRoot","colorSecondary","body1","formLabelClasses","AsteriskComponent","asterisk","FormLabel","getFormLabelUtilityClasses","SystemGlobalStyles","getOffset","resolveSpacingClasses","GridRoot","direction","wrap","zeroMinWidth","flexWrap","directionValues","resolveBreakpointValues","handleBreakpoints","propValue","gridClasses","rowSpacing","rowSpacingValues","themeSpacing","columnSpacing","columnSpacingValues","globalStyles","breakpoint","flexBasis","columnsBreakpointValues","columnValue","more","up","themeProps","columnsProp","columnSpacingProp","rowSpacingProp","columnsContext","GridContext","getGridUtilityClass","GRID_SIZES","getScale","isWebKit154","userAgent","Grow","autoTimeout","delay","IconButtonRoot","edge","shortest","iconButtonClasses","IconButton","getIconButtonUtilityClass","InputAdornmentRoot","disablePointerEvents","inputAdornmentClasses","InputAdornment","variantProp","getInputAdornmentUtilityClass","rootOverridesResolver","formControl","adornedEnd","sizeSmall","inputOverridesResolver","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel","InputBaseComponent","placeholderHidden","placeholderVisible","font","letterSpacing","animationName","animationDuration","resize","inputGlobalStyles","GlobalStyles","autoComplete","disableInjectingGlobalStyles","inputPropsProp","inputRefProp","renderSuffix","valueProp","handleInputRefWarning","handleInputPropsRefProp","handleInputRefProp","handleInputRef","checkDirty","InputComponent","Boolean","getInputBaseUtilityClass","rootProps","onAnimationStart","_formatMuiErrorMessage","hasValue","SSR","InputLabelRoot","shrink","disableAnimation","animated","transformOrigin","InputLabel","shrinkProp","getInputLabelUtilityClasses","inputLabelClasses","InputRoot","onBackgroundChannel","inputTouchBottomLine","inputClasses","InputInput","getInputUtilityClass","inputComponentsProps","getListItemIconUtilityClass","listItemIconClasses","getListItemTextUtilityClass","listItemTextClasses","ListRoot","disablePadding","subheader","listStyle","List","getListUtilityClass","ListContext","listClasses","MenuItemRoot","disableGutters","gutters","backgroundClip","hover","menuItemClasses","selectedOpacity","focusOpacity","disabledOpacity","body2","MenuItem","tabIndexProp","menuItemRef","selected","getMenuItemUtilityClass","nextItem","disableListWrap","previousItem","lastChild","previousElementSibling","textCriteriaMatches","nextFocus","textCriteria","innerText","textContent","repeating","moveFocus","currentFocus","disabledItemsFocusable","traversalFunction","wrappedOnce","nextFocusDisabled","hasAttribute","actions","autoFocusItem","listRef","textCriteriaRef","previousKeyMatched","lastTime","adjustStyleForScrollbar","containerElement","noExplicitWidth","activeItemIndex","newChildProps","activeElement","criteria","lowerKey","currTime","performance","keepFocusOnCurrent","_excluded2","RTL_ORIGIN","LTR_ORIGIN","MenuRoot","Popover","MenuPaper","MenuMenuList","MenuList","Menu","disableAutoFocusItem","MenuListProps","PopoverClasses","isRtl","getMenuUtilityClass","menuListActionsRef","menuClasses","candidatesSelector","defaultGetTabbable","regularTabNodes","orderedTabNodes","nodeTabIndex","tabindexAttr","contentEditable","getTabIndex","getRadio","roving","isNonTabbableRadio","isNodeMatchingSelectorFocusable","documentOrder","sort","defaultIsEnabled","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","getTabbable","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","rootRef","lastKeydown","contain","nativeEvent","rootElement","hasFocus","tabbable","_lastKeydown$current","_lastKeydown$current2","isShiftTab","shiftKey","focusNext","focusPrevious","loopFocus","interval","setInterval","clearInterval","handleFocusSentinel","relatedTarget","defaultManager","classesProp","hideBackdrop","keepMounted","manager","onTransitionEnter","onTransitionExited","exited","setExited","mountNodeRef","hasTransition","getHasTransition","getModal","handleMounted","scrollTop","handleOpen","resolvedContainer","add","isTopModal","handlePortalRef","handleClose","remove","createChainedFunction","TrapFocus","modalClasses","ModalRoot","ModalBackdrop","commonProps","extendUtilityClasses","ModalUnstyled","nativeSelectSelectStyles","nativeSelectClasses","NativeSelectSelect","multiple","nativeSelectIconStyles","NativeSelectIcon","iconOpen","NativeSelectInput","IconComponent","getNativeSelectUtilityClasses","NotchedOutlineRoot","NotchedOutlineLegend","float","withLabel","notched","OutlinedInputRoot","outlinedInputClasses","notchedOutline","OutlinedInputInput","OutlinedInput","_React$Fragment","getOutlinedInputUtilityClass","getOverlayAlpha","PaperRoot","rounded","getPaperUtilityClass","paperClasses","getOffsetTop","getOffsetLeft","getTransformOriginValue","resolveAnchorEl","anchorEl","PopoverRoot","PopoverPaper","anchorPosition","anchorReference","containerProp","marginThreshold","transitionDurationProp","paperRef","handlePaperRef","getPopoverUtilityClass","getAnchorOffset","resolvedAnchorEl","anchorRect","nodeType","getTransformOrigin","elemRect","getPositioningStyle","offsetWidth","offsetHeight","elemTransformOrigin","anchorOffset","heightThreshold","widthThreshold","diff","setPositioningStyles","positioning","updatePosition","popoverClasses","getWindow","defaultView","isElement","Element","isHTMLElement","isShadowRoot","ShadowRoot","includeScale","scaleX","scaleY","getWindowScroll","win","scrollLeft","pageXOffset","pageYOffset","getNodeName","getDocumentElement","getWindowScrollBarX","isScrollParent","_getComputedStyle","getCompositeRect","elementOrVirtualElement","offsetParent","isFixed","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","offsets","getNodeScroll","clientLeft","clientTop","getLayoutRect","clientRect","offsetLeft","offsetTop","getParentNode","assignedSlot","getScrollParent","listScrollParents","_element$ownerDocumen","scrollParent","isBody","visualViewport","updatedList","isTableElement","getTrueOffsetParent","getOffsetParent","isFirefox","currentNode","perspective","willChange","getContainingBlock","auto","basePlacements","viewport","popper","variationPlacements","placement","placements","modifierPhases","modifiers","Map","visited","Set","modifier","requires","requiresIfExists","dep","has","depModifier","pending","DEFAULT_OPTIONS","strategy","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","orderedModifiers","modifiersData","elements","attributes","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","contextElement","phase","orderModifiers","merged","existing","mergeByName","_ref3","_ref3$options","effect","cleanupFn","noopFn","forceUpdate","_state$elements","rects","reset","_state$orderedModifie","_state$orderedModifie2","_options","destroy","onFirstUpdate","passive","getBasePlacement","getVariation","getMainAxisFromPlacement","computeOffsets","basePlacement","variation","commonX","commonY","mainAxis","unsetSides","mapToStyles","_ref2","_Object$assign2","popperRect","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","devicePixelRatio","roundOffsetsByDPR","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","popperOffsets","getOppositePlacement","matched","getOppositeVariationPlacement","rootNode","getRootNode","isSameNode","rectToClientRect","getClientRectFromMixedType","clippingParent","html","getViewportRect","getInnerBoundingClientRect","winScroll","scrollWidth","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options$placement","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","axis","within","mathMax","mathMin","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","referenceRect","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","maxLen","arrowElement","arrow","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerToReference","axisProp","centerOffset","_options$element","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","createPopper","_options$scroll","_options$resize","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","initialStyles","attribute","_skip","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","_options$allowedAutoP","allPlacements","allowedPlacements","overflows","computeAutoPlacement","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","every","check","_loop","fittingPlacement","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","defaultPopperOptions","PopperTooltip","initialPlacement","popperOptions","popperRefProp","popperRef","tooltipRef","ownRef","handlePopperRef","handlePopperRefRef","rtlPlacement","flipPlacement","setPlacement","popperModifiers","PopperRoot","PopperUnstyled","SelectSelect","selectClasses","SelectIcon","SelectNativeInput","slotShouldForwardProp","nativeInput","areEqualValues","isEmpty","_StyledInput","_StyledFilledInput","ariaLabel","autoWidth","defaultOpen","displayEmpty","labelId","MenuProps","onOpen","openProp","SelectDisplayProps","useControlled","controlled","setValueState","openState","setOpenState","displayRef","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","handleDisplayRef","getElementById","getSelection","isCollapsed","displaySingle","childrenArray","handleItemClick","newValue","itemIndex","clonedEvent","writable","displayMultiple","computeDisplay","firstSelectableElement","isFirstSelectableElement","menuMinWidth","buttonId","getSelectUtilityClasses","styledRootConfig","StyledInput","StyledOutlinedInput","StyledFilledInput","Select","ArrowDropDownIcon","SelectInput","standard","outlined","inputComponentRef","setTranslateValue","containerPropProp","containerRect","fakeTransform","getPropertyValue","offsetX","offsetY","transformValues","getTranslateValue","webkitTransform","Slide","defaultEasing","sharp","easingProp","childrenRef","handleRefIntermediary","SnackbarContentRoot","emphasis","emphasize","SnackbarContentMessage","SnackbarContentAction","SnackbarContent","getSnackbarContentUtilityClass","snackbarContentClasses","SnackbarRoot","snackbar","Snackbar","ClickAwayListenerProps","disableWindowBlurListener","onMouseEnter","resumeHideDuration","getSnackbarUtilityClass","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","ClickAwayListener","snackbarClasses","SvgIconRoot","_theme$transitions","_theme$transitions$cr","_theme$transitions2","_theme$transitions2$d","_theme$typography","_theme$typography$pxT","_theme$typography2","_theme$typography2$px","_theme$typography3","_theme$typography3$px","_palette$ownerState$c","_palette","_palette$ownerState$c2","_palette2","_palette2$action","_palette3","_palette3$action","inherit","small","medium","large","SvgIcon","htmlColor","inheritViewBox","titleAccess","instanceFontSize","getSvgIconUtilityClass","focusable","svgIconClasses","_KeyboardArrowLeft","_KeyboardArrowRight","TabScrollButtonRoot","tabScrollButtonClasses","TabScrollButton","getTabScrollButtonUtilityClass","KeyboardArrowLeft","KeyboardArrowRight","TabRoot","labelIcon","textColor","wrapped","iconPosition","tabClasses","Tab","indicator","selectionFollowsFocus","iconWrapper","getTabUtilityClass","TableBodyRoot","tablelvl2","defaultComponent","TableBody","getTableBodyUtilityClass","Tablelvl2Context","tableBodyClasses","TableCellRoot","align","stickyHeader","lighten","darken","fontWeightMedium","tableCellClasses","TableCell","componentProp","paddingProp","scopeProp","sizeProp","sortDirection","table","TableContext","isHeadCell","getTableCellUtilityClass","ariaSort","TableHeadRoot","TableHead","getTableHeadUtilityClass","tableHeadClasses","TableRowRoot","footer","tableRowClasses","TableRow","getTableRowUtilityClass","TableSortLabelRoot","tableSortLabelClasses","TableSortLabelIcon","hideSortIcon","ArrowDownwardIcon","getTableSortLabelUtilityClass","TableRoot","borderCollapse","borderSpacing","captionSide","Table","getTableUtilityClass","tableClasses","cachedType","detectScrollType","dummy","dir","getNormalizedScrollLeft","easeInOutSin","time","sin","PI","animate","ease","cancelled","cancel","timestamp","requestAnimationFrame","TabsRoot","tabsClasses","scrollButtons","scrollButtonsHideMobile","TabsScroller","scroller","fixed","hideScrollbar","scrollableX","scrollableY","scrollbarWidth","FlexContainer","flexContainer","flexContainerVertical","centered","TabsIndicator","indicatorColor","TabsScrollbarSize","scrollbarHeight","setMeasurements","prevHeight","defaultIndicatorStyle","Tabs","ariaLabelledBy","childrenProp","allowScrollButtonsMobile","ScrollButtonComponent","TabIndicatorProps","TabScrollButtonProps","visibleScrollbar","scrollable","scrollStart","getTabsUtilityClass","setMounted","indicatorStyle","setIndicatorStyle","displayScroll","setDisplayScroll","scrollerStyle","setScrollerStyle","valueToIndex","tabsRef","tabListRef","getTabsMeta","tabsMeta","tabMeta","tabsNode","scrollLeftNormalized","updateIndicatorState","startIndicator","startValue","correction","newIndicatorStyle","dStart","dSize","scrollValue","animation","moveTabsScroll","delta","getScrollSize","containerSize","totalSize","handleStartScrollClick","handleEndScrollClick","handleScrollbarSizeChange","scrollSelectedIntoView","nextScrollStart","updateScrollButtonState","showStartScroll","showEndScroll","handleTabsScroll","updateIndicator","updateScrollButtons","childIndex","childValue","conditionalElements","scrollbarSizeListener","scrollButtonsActive","showScrollButtons","scrollButtonStart","scrollButtonEnd","getConditionalElements","onScroll","previousItemKey","nextItemKey","variantComponent","TextFieldRoot","TextField","FormHelperTextProps","helperText","idOverride","InputLabelProps","InputProps","SelectProps","getTextFieldUtilityClass","InputMore","helperTextId","inputLabelId","InputElement","htmlFor","textFieldClasses","ToolbarRoot","mixins","Toolbar","getToolbarUtilityClass","toolbarClasses","TooltipPopper","Popper","disableInteractive","popperInteractive","popperArrow","popperClose","tooltip","tooltipClasses","TooltipTooltip","touch","tooltipArrow","darkChannel","white","fontFamily","wordWrap","fontWeightRegular","TooltipArrow","hystersisOpen","hystersisTimer","composeEventHandler","eventHandler","Tooltip","_components$Popper","_components$Transitio","_components$Tooltip","_components$Arrow","_componentsProps$popp","describeChild","disableFocusListener","disableHoverListener","disableInteractiveProp","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","leaveDelay","leaveTouchDelay","PopperComponentProp","PopperComponent","PopperProps","TransitionComponentProp","childNode","setChildNode","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","prevUserSelect","stopTouchInteraction","WebkitUserSelect","handleLeave","setChildIsFocusVisible","detectTouchStart","handleMouseOver","handleUseRef","handleFocusRef","positionRef","nameOrDescProps","titleIsString","onMouseMove","interactiveWrapperListeners","onMouseOver","_PopperProps$popperOp","tooltipModifiers","getTooltipUtilityClass","TooltipComponent","ArrowComponent","Arrow","popperProps","tooltipProps","tooltipArrowProps","_componentsProps$tool","_componentsProps$arro","TransitionPropsInner","TypographyRoot","noWrap","gutterBottom","paragraph","defaultVariantMapping","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","colorTransformations","textPrimary","textSecondary","transformDeprecatedColors","variantMapping","getTypographyUtilityClass","typographyClasses","A200","A400","A700","black","getAccordionUtilityClass","AccordionRoot","accordionClasses","region","overflowAnchor","borderBottomLeftRadius","borderBottomRightRadius","defaultExpanded","expandedProp","expanded","setExpandedState","handleChange","arrayWithHoles","nonIterableRest","summary","toggle","AccordionContext","getAccordionActionsUtilityClass","AccordionActionsRoot","getAccordionDetailsUtilityClass","AccordionDetailsRoot","getAccordionSummaryUtilityClass","AccordionSummaryRoot","accordionSummaryClasses","AccordionSummaryContent","AccordionSummaryExpandIconWrapper","expandIconWrapper","expandIcon","getAlertUtilityClass","_CloseIcon","AlertRoot","severity","getColor","getBackgroundColor","alertClasses","AlertIcon","AlertMessage","AlertAction","defaultIconMapping","success","SuccessOutlinedIcon","warning","ReportProblemOutlinedIcon","ErrorOutlineIcon","InfoOutlinedIcon","closeText","iconMapping","CloseIcon","getAlertTitleUtilityClass","AlertTitleRoot","stripDiacritics","normalize","createFilterOptions","ignoreAccents","ignoreCase","limit","matchFrom","inputValue","getOptionLabel","filteredOptions","option","candidate","comp","defaultFilterOptions","useAutocomplete","autoHighlight","autoSelect","blurOnSelect","clearOnBlur","freeSolo","clearOnEscape","componentName","disableClearable","disableCloseOnSelect","filterOptions","filterSelectedOptions","getOptionDisabled","getOptionLabelProp","_option$label","isOptionEqualToValue","groupBy","handleHomeEndKeys","includeInputInList","inputValueProp","onHighlightChange","onInputChange","openOnFocus","selectOnFocus","optionLabel","ignoreFocus","firstFocus","listboxRef","setAnchorEl","focusedTag","setFocusedTag","defaultHighlighted","highlightedIndexRef","setInputValueState","resetInputValue","newInputValue","prevValue","valueChange","inputPristine","setInputPristine","inputValueIsSelectedValue","popupOpen","value2","listboxAvailable","focusTag","tagToFocus","setHighlightedIndex","reason","classList","listboxNode","scrollBottom","elementBottom","changeHighlightedIndex","nextIndex","validOptionIndex","maxIndex","newIndex","getNextIndex","setSelectionRange","syncHighlightedIndex","valueItem","currentOption","optionItem","handleListboxRef","handleValue","details","isTouch","selectNewValue","reasonProp","origin","ctrlKey","metaKey","blur","handleFocusTag","nextTag","validTagIndex","handleClear","defaultMuiPrevented","which","handleInputChange","handleOptionMouseOver","handleOptionTouchStart","handleOptionClick","handleTagDelete","handlePopupIndicator","handleClick","selectionEnd","selectionStart","handleInputMouseDown","dirty","groupedOptions","getRootProps","getInputLabelProps","getInputProps","autoCapitalize","spellCheck","getClearProps","getPopupIndicatorProps","getTagProps","onDelete","getListboxProps","getOptionProps","getListSubheaderUtilityClass","ListSubheaderRoot","inset","disableSticky","sticky","getChipUtilityClass","ChipRoot","clickable","chipClasses","avatar","deleteIcon","deletable","deleteIconColor","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","avatarProp","clickableProp","deleteIconProp","chipRef","handleDeleteIconClick","moreProps","customClasses","deleteIconSmall","CancelIcon","getAutocompleteUtilityClass","_ClearIcon","_ArrowDropDownIcon","AutocompleteRoot","hasClearIcon","hasPopupIcon","inputFocused","autocompleteClasses","inputRoot","AutocompleteEndAdornment","AutocompleteClearIndicator","clearIndicator","AutocompletePopupIndicator","popupIndicator","popupIndicatorOpen","AutocompletePopper","popperDisablePortal","AutocompletePaper","AutocompleteLoading","loading","AutocompleteNoOptions","noOptions","AutocompleteListbox","listbox","AutocompleteGroupLabel","ListSubheader","groupLabel","AutocompleteGroupUl","groupUl","_componentsProps$clea","_componentsProps$pape","ChipProps","clearIcon","ClearIcon","clearText","forcePopupIcon","getLimitTagsText","limitTags","ListboxComponent","ListboxProps","loadingText","noOptionsText","openText","popupIcon","renderGroupProp","renderGroup","renderInput","renderOptionProp","renderOption","renderTags","getCustomizedTagProps","Chip","props2","renderListOption","optionProps","option2","index2","getAvatarUtilityClass","AvatarRoot","AvatarImg","img","objectFit","textIndent","AvatarFallback","Person","fallback","imgProps","sizes","srcSet","crossOrigin","referrerPolicy","setLoaded","image","Image","onerror","srcset","useLoaded","hasImg","hasImgNotFailing","getAvatarGroupUtilityClass","SPACINGS","AvatarGroupRoot","avatarGroupClasses","avatarClasses","AvatarGroupAvatar","Avatar","AvatarGroup","_componentsProps$addi","_componentsProps$addi2","total","clampedMax","totalAvatars","maxAvatars","extraAvatars","additionalAvatar","getBadgeUnstyledUtilityClass","BadgeUnstyled","showZero","badgeContentProp","badgeContent","invisibleProp","prevProps","usePreviousProps","displayValue","useBadge","badge","Badge","badgeProps","Slot","getBadgeUtilityClass","BadgeRoot","BadgeBadge","overlap","alignContent","RADIUS_STANDARD","RADIUS_DOT","badgeClasses","_componentsProps$root2","_componentsProps$badg","_componentsProps$badg2","anchorOriginProp","overlapProp","colorProp","shouldSpreadAdditionalProps","getBottomNavigationUtilityClass","BottomNavigationRoot","showLabels","showLabel","getBottomNavigationActionUtilityClass","BottomNavigationActionRoot","iconOnly","bottomNavigationActionClasses","BottomNavigationActionLabel","transitionDelay","BreadcrumbCollapsedButton","BreadcrumbCollapsedIcon","MoreHorizIcon","getBreadcrumbsUtilityClass","BreadcrumbsRoot","breadcrumbsClasses","li","BreadcrumbsOl","ol","BreadcrumbsSeparator","separator","insertSeparators","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","setExpanded","allItems","BreadcrumbCollapsed","renderItemsBeforeAndAfter","getButtonGroupUtilityClass","ButtonGroupRoot","buttonGroupClasses","grouped","borderRight","borderRightColor","getCardUtilityClass","CardRoot","raised","getCardActionAreaUtilityClass","CardActionAreaRoot","cardActionAreaClasses","CardActionAreaFocusHighlight","focusHighlight","getCardActionsUtilityClass","CardActionsRoot","getCardContentUtilityClass","CardContentRoot","getCardHeaderUtilityClass","CardHeaderRoot","cardHeaderClasses","CardHeaderAvatar","CardHeaderAction","alignSelf","CardHeaderContent","subheaderProp","subheaderTypographyProps","titleProp","titleTypographyProps","getCardMediaUtilityClass","CardMediaRoot","isMediaComponent","isImageComponent","media","backgroundSize","backgroundRepeat","backgroundPosition","MEDIA_COMPONENTS","IMAGE_COMPONENTS","CardMedia","composedStyle","getCircularProgressUtilityClass","SIZE","circularRotateKeyframe","circularDashKeyframe","CircularProgressRoot","CircularProgressSVG","svg","CircularProgressCircle","circle","disableShrink","circleDisableShrink","stroke","CircularProgress","thickness","circleStyle","rootStyle","circumference","cx","cy","getContainerUtilityClass","ContainerRoot","enableColorScheme","WebkitFontSmoothing","MozOsxFontSmoothing","WebkitTextSizeAdjust","colorScheme","_theme$components","_theme$components$Mui","defaultStyles","fontWeightBold","themeOverrides","MuiCssBaseline","styleOverrides","scrollBar","track","thumb","darkScrollbar","scrollbarColor","DividerRoot","absolute","flexItem","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","borderBottomWidth","dividerChannel","borderRightWidth","borderLeft","DividerWrapper","wrapperVertical","getDrawerUtilityClass","docked","DrawerRoot","drawer","DrawerDockedRoot","skipVariantsResolver","DrawerPaper","anchor","oppositeDirection","getAnchor","anchorProp","ModalProps","BackdropPropsProp","SlideProps","anchorInvariant","slidingDrawer","getFormGroupUtilityClass","FormGroupRoot","row","useMediaQueryOld","defaultMatches","ssrMatchMedia","noSsr","supportMatchMedia","setMatch","queryList","updateMatch","addListener","removeListener","maybeReactUseSyncExternalStore","useMediaQueryNew","getDefaultSnapshot","getServerSnapshot","mediaQueryList","notify","getSnapshot","subscribe","useMediaQuery","queryInput","getThemeProps","useMediaQueryImplementation","breakpointKeys","isWidthUp","inclusive","isWidthDown","withTheme","withThemeOption","noSSR","initialWidthOption","initialWidth","WithWidth","contextTheme","_getThemeProps","widthComputed","hoistNonReactStatics","HiddenJs","only","visible","breakpointUp","breakpointDown","implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp","withWidth","getHiddenCssUtilityClass","HiddenCssRoot","HiddenCss","getIconUtilityClass","IconRoot","baseClassName","getImageListUtilityClass","ImageListRoot","ImageList","cols","rowHeight","gap","styleProp","columnGap","gridTemplateColumns","ImageListContext","getImageListItemUtilityClass","ImageListItemRoot","imageListItemClasses","ImageListItem","getImageListItemBarUtilityClass","ImageListItemBarRoot","ImageListItemBarTitleWrap","titleWrap","actionIcon","actionPosition","ImageListItemBarTitle","ImageListItemBarSubtitle","subtitle","ImageListItemBarActionIcon","getLinearProgressUtilityClass","_t5","_t6","indeterminate1Keyframe","indeterminate2Keyframe","bufferKeyframe","getColorShade","LinearProgressRoot","LinearProgressDashed","dashed","LinearProgressBar1","bar","bar1Indeterminate","bar1Determinate","bar1Buffer","LinearProgressBar2","bar2Indeterminate","bar2Buffer","valueBuffer","bar1","bar2","inlineStyles","getLinkUtilityClass","LinkRoot","getPath","textDecorationColor","linkClasses","TypographyClasses","sx","handlerRef","getListItemUtilityClass","getListItemButtonUtilityClass","getListItemSecondaryActionClassesUtilityClass","ListItemSecondaryActionRoot","ListItemSecondaryAction","ListItemRoot","alignItemsFlexStart","hasSecondaryAction","secondaryAction","listItemButtonClasses","listItemClasses","ListItemContainer","ContainerComponent","ContainerProps","ContainerClassName","listItemRef","componentProps","getListItemAvatarUtilityClass","ListItemAvatarRoot","ListItemButtonRoot","ListItemIconRoot","ListItemTextRoot","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","getMobileStepperUtilityClass","MobileStepperRoot","mobileStepper","MobileStepperDots","dots","MobileStepperDot","dotActive","dot","MobileStepperProgress","LinearProgress","activeStep","backButton","LinearProgressProps","nextButton","steps","_","ceil","defaultInput","NativeSelect","otherClasses","defer","getPaginationUtilityClass","usePagination","boundaryCount","defaultPage","hideNextButton","hidePrevButton","pageProp","page","showFirstButton","showLastButton","siblingCount","setPageState","range","startPages","endPages","siblingsStart","siblingsEnd","itemList","buttonPage","getPaginationItemUtilityClass","ellipsis","previousNext","firstLast","PaginationItemEllipsis","paginationItemClasses","PaginationItemPage","activatedOpacity","PaginationItemPageIcon","PaginationItem","first","FirstPageIcon","last","LastPageIcon","NavigateNextIcon","NavigateBeforeIcon","PaginationRoot","PaginationUl","ul","defaultGetAriaLabel","getItemAriaLabel","renderItem","RadioButtonIconRoot","RadioButtonIconBackground","RadioButtonUncheckedIcon","RadioButtonIconDot","RadioButtonCheckedIcon","easeIn","checked","useRadioGroup","RadioGroupContext","getRadioUtilityClass","RadioRoot","radioClasses","RadioButtonIcon","_defaultIcon$props$fo","_defaultCheckedIcon$p","checkedProp","nameProp","onChangeProp","radioGroup","FormGroup","clip","getRatingUtilityClass","roundValueToPrecision","precision","nearest","decimalPart","getDecimalPrecision","RatingRoot","ratingClasses","visuallyHidden","RatingLabel","emptyValueFocused","RatingIcon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","RatingDecimal","decimal","IconContainer","RatingItem","emptyIcon","getLabelText","highlightSelectedOnly","IconContainerComponent","isActive","itemValue","labelProps","ratingValue","isHovered","isFocused","isChecked","ratingValueRounded","Star","defaultEmptyIcon","StarBorder","defaultLabelText","emptyLabelText","onChangeActive","valueDerived","valueRounded","newFocus","setEmptyValueFocused","labelEmptyValue","percent","newHover","clamp","ratingItemProps","$","indexDecimal","itemDecimalValue","getScopedCssBaselineUtilityClass","ScopedCssBaselineRoot","getSkeletonUtilityClass","pulseKeyframe","waveKeyframe","SkeletonRoot","hasChildren","fitContent","heightAuto","radiusUnit","getUnit","radiusValue","toUnitless","Skeleton","getSliderUtilityClass","sliderUnstyledClasses","useValueLabelClasses","asc","findClosest","currentValue","_values$reduce","trackFinger","touchId","changedTouches","valueToPercent","roundValueToStep","toExponential","matissaDecimalPart","setValueIndex","focusThumb","_sliderRef$current","_doc$activeElement","_sliderRef$current2","sliderRef","activeIndex","setActive","cachedSupportsTouchActionNone","axisProps","leap","Identity","doesSupportTouchActionNone","CSS","supports","useSlider","disableSwap","marks","marksProp","onChangeCommitted","scale","setOpen","dragging","setDragging","moveCount","thumbIndex","marksValues","mark","createHandleHiddenInputFocus","otherHandlers","_otherHandlers$onFocu","createHandleHiddenInputBlur","_otherHandlers$onBlur","_document$activeEleme","createHandleHiddenInputChange","_otherHandlers$onChan","marksIndex","valueAsNumber","currentMarkIndex","Infinity","previousValue","previousIndex","getFingerNewValue","finger","move","values2","percentToValue","closestIndex","buttons","stopListening","slider","createHandleMouseDown","_otherHandlers$onMous","trackOffset","trackLeap","createHandleMouseOver","_otherHandlers$onMous2","createHandleMouseLeave","_otherHandlers$onMous3","ownEventHandlers","mergedEventHandlers","getHiddenInputProps","getThumbProps","Forward","SliderUnstyled","_components$Rail","_components$Track","_components$Thumb","_components$ValueLabe","_components$Mark","_components$MarkLabel","ariaValuetext","getAriaLabel","getAriaValueText","valueLabelDisplay","valueLabelFormat","marked","Rail","railProps","rail","Track","trackProps","trackStyle","Thumb","thumbProps","ValueLabel","SliderValueLabelUnstyled","valueLabelProps","valueLabel","Mark","markProps","MarkLabel","markLabelProps","markLabel","hiddenInputProps","markActive","markLabelActive","ValueLabelComponent","sliderClasses","SliderRoot","trackInverted","trackFalse","touchAction","SliderRail","SliderTrack","SliderThumb","SliderValueLabel","valueLabelOpen","SliderMark","SliderMarkLabel","_componentsProps$thum","_componentsProps$trac","_componentsProps$valu","Zoom","getSpeedDialUtilityClass","_excluded3","getOrientation","SpeedDialRoot","speedDial","speedDialClasses","spacingActions","SpeedDialFab","SpeedDialActions","actionsClosed","FabProps","origDialButtonRef","eventTimer","focusedAction","nextItemArrowKey","handleOwnFabRef","fabFef","handleFabRef","createHandleSpeedDialActionButtonRef","dialActionIndex","origButtonRef","mouseenter","_child$props","tooltipPlacementProp","tooltipPlacement","ChildFabProps","nextItemArrowKeyCurrent","actionStep","nextAction","unmountOnExit","getSpeedDialActionUtilityClass","SpeedDialActionFab","fabClosed","SpeedDialActionStaticTooltip","staticTooltip","staticTooltipClosed","speedDialActionClasses","SpeedDialActionStaticTooltipLabel","staticTooltipLabel","wordBreak","TooltipClasses","tooltipOpen","tooltipOpenProp","tooltipTitle","setTooltipOpen","transitionStyle","getSpeedDialIconUtilityClass","SpeedDialIconRoot","speedDialIconClasses","openIcon","iconWithOpenIconOpen","openIconOpen","SpeedDialIcon","openIconProp","formatIcon","newClassName","AddIcon","joinChildren","StackRoot","transformer","createUnarySpacing","base","spacingValues","getValue","Stack","StepperContext","useStepperContext","StepContext","useStepContext","getStepUtilityClass","StepRoot","alternativeLabel","completed","activeProp","completedProp","connector","nonLinear","newChildren","getStepIconUtilityClass","_circle","StepIconRoot","stepIconClasses","StepIconText","classNameProp","Warning","CheckCircle","textAnchor","getStepLabelUtilityClass","StepLabelRoot","stepLabelClasses","StepLabelLabel","StepLabelIconContainer","iconContainer","StepLabelLabelContainer","labelContainer","StepLabel","optional","StepIconComponentProp","StepIconComponent","StepIconProps","iconContext","StepIcon","getStepButtonUtilityClass","StepButtonRoot","stepButtonClasses","touchRipple","getStepConnectorUtilityClass","StepConnectorRoot","StepConnectorLine","borderTopStyle","borderTopWidth","borderLeftStyle","borderLeftWidth","getStepContentUtilityClass","StepContentRoot","StepContentTransition","getStepperUtilityClass","StepperRoot","defaultConnector","StepConnector","SwipeAreaRoot","SwipeArea","claimedSwipeInstance","calculateCurrentX","pageX","calculateCurrentY","getMaxTranslate","horizontalSwipe","paperInstance","getTranslate","currentTranslate","startLocation","maxTranslate","iOS","SwipeableDrawer","transitionDurationDefault","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hysteresis","minFlingVelocity","SwipeAreaProps","swipeAreaWidth","ModalPropsProp","maybeSwiping","setMaybeSwiping","swipeInstance","isSwiping","swipeAreaRef","backdropRef","touchDetected","calculatedDurationRef","setPosition","translate","changeTransition","anchorRtl","rtlTranslateMultiplier","drawerStyle","backdropStyle","handleBodyTouchEnd","startX","startY","translateRatio","velocity","handleBodyTouchMove","currentX","currentY","domTreeShapes","getDomTreeShapes","hasNativeHandler","axisProperties","goingForward","scrollPosition","areNotAtStart","areNotAtEnd","computeHasNativeHandler","dx","dy","definitelySwiping","cancelable","paperHit","lastTranslate","handleBodyTouchStart","Drawer","NoSsr","getSwitchUtilityClass","SwitchRoot","switchClasses","SwitchSwitchBase","switchBase","SwitchTrack","SwitchThumb","getTableContainerUtilityClass","TableContainerRoot","getTableFooterUtilityClass","_LastPageIcon","_FirstPageIcon","_KeyboardArrowLeft2","_KeyboardArrowRight2","_FirstPageIcon2","_LastPageIcon2","TableFooterRoot","backIconButtonProps","nextIconButtonProps","onPageChange","rowsPerPage","getTablePaginationUtilityClass","_InputBase","TablePaginationRoot","TablePaginationToolbar","tablePaginationClasses","TablePaginationSpacer","spacer","TablePaginationSelectLabel","selectLabel","TablePaginationSelect","selectIcon","selectRoot","textAlignLast","TablePaginationMenuItem","menuItem","TablePaginationDisplayedRows","displayedRows","defaultLabelDisplayedRows","colSpan","ActionsComponent","TablePaginationActions","colSpanProp","labelDisplayedRows","labelRowsPerPage","onRowsPerPageChange","rowsPerPageOptions","MenuItemComponent","selectId","rowsPerPageOption","_createElement","getToggleButtonUtilityClass","ToggleButtonRoot","selectedColorChannel","selectedColor","toggleButtonClasses","isValueSelected","getToggleButtonGroupUtilityClass","ToggleButtonGroupRoot","toggleButtonGroupClasses","exclusive","buttonValue","handleExclusiveChange","defaultTrigger","store","disableHysteresis","threshold","defaultTarget","useScrollTrigger","getTrigger","trigger","setTrigger","handleScroll","getSwitchBaseUtilityClass","SwitchBaseRoot","SwitchBaseInput","defaultChecked","setCheckedState","hasLabelFor","newChecked","createMixins","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","createPalette","contrastThreshold","blue","getDefaultPrimary","purple","getDefaultSecondary","red","getDefaultError","lightBlue","getDefaultInfo","green","getDefaultSuccess","getDefaultWarning","getContrastRatio","augmentColor","mainShade","lightShade","darkShade","modes","createShadow","mixinsInput","paletteInput","transitionsInput","typographyInput","systemTheme","systemCreateTheme","muiTheme","createTypography","createTransitions","argument","createMuiTheme","complex","formatMs","milliseconds","constant","inputTransitions","mergedEasing","mergedDuration","durationOption","easingOption","animatedProp","caseAllCaps","defaultFontFamily","fontWeightLight","htmlFontSize","allVariants","pxToRem2","coef","buildVariant","casing","overline","isUnitless","convertLength","baseFontSize","toUnit","fromUnit","pxLength","outputLength","alignProperty","grid","sizeBelow","sizeAbove","fontGrid","pixels","responsiveProperty","cssProperty","factor","inputTheme","componentValue","createSpacing","createBreakpoints","typeInput","modeInput","paletteRest","finalMode","hint","createMuiStrictModeTheme","unstable_strictMode","warnedOnce","createStyles","responsiveFontSizes","themeInput","disableAlign","convert","breakpointValues","remFontSize","maxFontSize","minFontSize","makeStyles","withStyles","assignNestedKeys","arrayKeys","temp","cssVarsParser","shouldSkipPaths","basePrefix","shouldSkipGeneratingVar","parsedTheme","cssVar","getCssValue","recurse","parentKeys","DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","DEFAULT_ATTRIBUTE","getInitColorSchemeScript","enableSystem","defaultLightColorScheme","defaultDarkColorScheme","modeStorageKey","colorSchemeStorageKey","colorSchemeNode","dangerouslySetInnerHTML","__html","getSystemMode","processState","systemMode","resolveValue","useCurrentColorScheme","defaultMode","supportedColorSchemes","storageWindow","joinedColorSchemes","initialMode","lightColorScheme","darkColorScheme","getColorScheme","setMode","currentState","newMode","setColorScheme","newState","handleMediaQuery","mediaListener","handleStorage","createGetCssVar","appendVar","getCssVar","field","extendTheme","_colorSchemesInput$li","_colorSchemesInput$da","_colorSchemesInput$li2","_colorSchemesInput$da2","colorSchemes","colorSchemesInput","_createThemeWithoutVa","createThemeWithoutVars","lightPalette","darkPalette","onBackground","backgroundChannel","colorChannel","colors","lightChannel","contrastTextChannel","secondaryChannel","desisgnSystemMode","designSystemColorScheme","defaultColorScheme","disableTransitionOnChange","designSystemTransitionOnChange","designSystemEnableColorScheme","designSystemPrefix","resolveTheme","ColorSchemeContext","CssVarsProvider","themeProp","documentNode","colorSchemeSelector","hasMounted","restThemeProp","allColorSchemes","resolvedColorScheme","rootCss","rootVars","styleSheet","parsedScheme","priorColorScheme","ThemeProvider","useColorScheme","createCssVarsProvider","experimental_extendTheme","Experimental_CssVarsProvider","propsToClassKey","classKey","getStyleOverrides","getVariantStyles","variantsStyles","definition","variantsResolver","_theme$components$nam","themeVariants","themeVariant","isMatch","systemDefaultTheme","inputOptions","componentSlot","inputSkipVariantsResolver","inputSkipSx","skipSx","shouldForwardPropOption","defaultStyledResolver","styledEngineStyled","muiStyledResolver","styleArg","expressions","expressionsWithDefaultTheme","stylesArg","__emotion_real","transformedStyleArg","resolvedStyleOverrides","slotKey","slotStyle","numOfCustomFnsApplied","placeholders","withConfig","createStyled","useThemeSystem","systemUseThemeProps","_style$transitionDura","_style$transitionTimi","path","displayName","validator","componentNameInError","propName","propFullName","unstable_ClassNameGenerator","configure","generator","muiNames","defaultGenerator","generate","createClassNameGenerator","getUtilityClass","globalStateClassesMapping","hasSymbol","for","StyledEngineProvider","injectFirst","reactPropsRegex","testOmitPropsOnStringTag","isPropValid","testOmitPropsOnComponent","getDefaultShouldForwardProp","composeShouldForwardProps","isReal","optionsShouldForwardProp","__emotion_forwardProp","Insertion","useInsertionEffectMaybe","targetClassName","baseTag","__emotion_base","defaultShouldForwardProp","shouldUseAs","Styled","FinalTag","classInterpolations","finalShouldForwardProp","newProps","Fragment","withComponent","nextOptions","newStyled","emStyled","plainObjectConstrurctor","cloneStyle","newStyle","createRule","decl","jss","declCopy","plugins","onCreateRule","by","toCssValue","ignoreImportant","cssValue","getWhitespaceSymbols","linebreak","space","indentStr","indent","toCss","_options$indent","fallbacks","_getWhitespaceSymbols","_prop","_value","_prop2","_value2","allowEmpty","escapeRegex","nativeEscape","escape","BaseStyleRule","isProcessed","Renderer","renderer","force","onChangeValue","isDefined","renderable","attached","StyleRule","_BaseStyleRule","scoped","generateId","selectorText","_proto2","applyTo","toJSON","opts","link","_createClass","setSelector","replaceRule","pluginStyleRule","defaultToStringOptions","atRegExp","ConditionalRule","atMatch","at","RuleList","getRule","addRule","onProcessRule","newRule","keyRegExp","pluginConditionalRule","defaultToStringOptions$1","nameRegExp","KeyframesRule","frames","nameMatch","keyRegExp$1","refRegExp","findReferencedKeyframe","replaceRef","refKeyframe","pluginKeyframesRule","onProcessStyle","KeyframeRule","pluginKeyframeRule","FontFaceRule","keyRegExp$2","pluginFontFaceRule","ViewportRule","pluginViewportRule","SimpleRule","keysMap","pluginSimpleRule","defaultUpdateOptions","forceUpdateOptions","counter","ruleOptions","_this$options","register","oldRule","oldIndex","nameOrSelector","unregister","updateOne","_this$options2","onUpdate","nextValue","_nextValue","_prevValue","deployed","attach","deploy","detach","queue","deleteRule","addRules","added","_this$rules","PluginsRegistry","internal","external","registry","onProcessSheet","processedValue","use","newPlugin","plugin","SheetsRegistry","_temp","sheets","globalThis$1","Function","ns","moduleId","createGenerateId","ruleCounter","jssId","classNamePrefix","minify","cssRule","attributeStyleMap","delete","getHead","findPrevNode","findHigherSheet","findHighestSheet","childNodes","nodeValue","findCommentNode","getNonce","_insertRule","appendRule","getValidRuleInsertionIndex","DomRenderer","hasInsertedRules","meta","createStyle","nextNode","insertionPointElement","insertStyle","insertRules","nativeParent","latestNativeParent","_insertionIndex","refCssRule","ruleStr","insertionIndex","nativeRule","instanceCounter","Jss","isInBrowser","setup","createStyleSheet","removeStyleSheet","createJss","hasCSSTOMSupport","getDynamicStyles","extracted","mergeClasses","baseClasses","newClasses","nextClasses","multiKeyStore","key1","key2","subCache","stateClasses","fnValuesNs","fnRuleNs","fnValues","styleRule","fnRule","atPrefix","GlobalContainerRule","GlobalPrefixedRule","separatorRegExp","addScope","handleNestedGlobalContainerRule","handlePrefixedGlobalRule","parentRegExp","getReplaceRef","replaceParentRefs","nestedProp","parentProp","parentSelectors","nestedSelectors","nested","getOptions","prevOptions","nestingLevel","isNested","isNestedConditional","uppercasePattern","msPattern","toHyphenLower","hName","convertCase","converted","hyphenate","hyphenatedProp","px","ms","addCamelCasedVersion","regExp","newObj","motion","iterate","innerProp","_innerProp","camelCasedOptions","js","vendor","browser","jsCssMap","Moz","O","Webkit","appearence","noPrefill","supportedProperty","toUpper","camelize","pascalize","mask","longhand","textOrientation","writingMode","breakPropsOld","inlineLogicalOld","newProp","unprefixed","prefixed","pascalized","scrollSnap","overscrollBehavior","propMap","flex2012","propMap$1","propKeys","prefixCss","flex2009","propertyDetectors","_toConsumableArray","computed","key$1","el$1","cache$1","transitionProperties","transPropsRegExp","prefixTransitionCallback","prefixedValue","supportedValue","cacheKey","prefixStyle","changeProp","supportedProp","changeValue","supportedValue$1","atRule","supportedKeyframes","prop0","prop1","functions","global","camelCase","defaultUnit","vendorPrefixer","propsSort","disableGlobal","productionPrefix","seed","seedPrefix","getNextCounterId","createGenerateClassName","disableGeneration","sheetsCache","sheetsManager","sheetsRegistry","StylesContext","indexCounter","increment","getStylesCreator","stylesOrCreator","themingEnabled","stylesWithOverrides","getClasses","stylesOptions","cacheClasses","lastProp","lastJSS","stylesCreator","sheetManager","refs","staticSheet","dynamicStyles","flip","serverGenerateClassName","dynamicSheet","useSynchronousEffect","currentKey","classNamePrefixOption","noopTheme","stylesOptions2","useStyles","shouldUpdate","WithStyles","localTheme","outerTheme","mergeOuterLocalTheme","InnerThemeProvider","StyledEngineThemeContext","MuiThemeProvider","defaultBreakpoints","styleFromPropValue","themeBreakpoints","cssKey","createEmptyBreakpointObject","_breakpointsInput$key","breakpointsInput","breakpointsInOrder","removeUnusedBreakpoints","breakpointOutput","breakpointsKeys","computeBreakpointsBase","hexToRgb","re","decomposeColor","charAt","marker","colorSpace","decomposedColor","recomposeColor","rgbToHex","intToHex","hslToRgb","l","getLuminance","foreground","lumA","lumB","coefficient","sortedValues","breakpointsAsArray","breakpoint1","breakpoint2","sortBreakpointsValues","between","endIndex","not","keyIndex","spacingInput","mui","argsInput","shapeInput","handlers","filterProps","merge","getBorder","themeKey","borderTopColor","borderLeftColor","createUnaryUnit","compose","rowGap","_props$theme","_props$theme$breakpoi","_props$theme$breakpoi2","breakpointsValues","fontStyle","filterPropsMapping","borders","flexbox","positions","sizing","styleFunctionMapping","propToStyleFunction","styleFnName","properties","directions","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","marginKeys","paddingKeys","spacingKeys","_getPath","transformed","resolveCssProperty","cssProperties","getStyleFromPropValue","themeMapping","propValueFinal","userValue","finalSx","inSx","systemProps","otherProps","splitProps","isPlainObject","objectsHaveSameKeys","allKeys","union","callIfFn","maybeFn","defaultStyleFunctionMapping","getThemeValue","styleFunction","traverse","sxInput","sxObject","emptyBreakpoints","styleKey","unstable_createStyleFunctionSx","useThemeWithoutDefault","isObjectEmpty","muiUseTheme","funcs","wait","debounced","later","formatMuiErrorMessage","code","documentWidth","defaultProp","valueState","setValue","refA","refB","refValue","globalId","maybeReactUseId","reactId","defaultId","setDefaultId","useGlobalId","hadFocusVisibleRecentlyTimeout","hadKeyboardEvent","hadFocusVisibleRecently","inputTypesWhitelist","tel","email","month","week","datetime","altKey","handlePointerDown","handleVisibilityChange","visibilityState","isFocusVisible","isContentEditable","focusTriggersKeyboardModality","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","executor","_state","_handlers","_resolve","_setResult","_reject","isThenable","_executeHandlers","cachedHandlers","onfulfilled","onrejected","onfinally","isRejected","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_user","_tags","_extra","_contexts","_sdkProcessingMetadata","Scope","newScope","__spread","__assign","_level","_session","_transactionName","_fingerprint","_requestSession","_notifyScopeListeners","requestSession","_a","extras","extra","fingerprint","setTransactionName","span","getSpan","transaction","session","captureContext","updatedScope","contexts","breadcrumb","maxBreadcrumbs","maxCrumbs","mergedBreadcrumb","dateTimestampInSeconds","trace","getTraceContext","transactionName","_applyFingerprint","breadcrumbs","sdkProcessingMetadata","_notifyEventProcessors","getGlobalEventProcessors","newData","processors","processor","final","getGlobalSingleton","addGlobalEventProcessor","IS_DEBUG_BUILD","__SENTRY_DEBUG__","errors","sid","uuid4","status","ignoreDuration","startingTime","timestampInSeconds","started","Session","ipAddress","ip_address","did","username","environment","dropUndefinedKeys","toISOString","user_agent","client","_version","_stack","getStackTop","bindClient","Hub","setupIntegrations","getScope","getStack","getClient","pushScope","popScope","exception","eventId","_lastEventId","event_id","finalHint","syntheticException","originalException","_invokeClient","_c","beforeBreadcrumb","_d","finalBreadcrumb","consoleSandbox","addBreadcrumb","setTags","setExtras","setTag","setExtra","setContext","oldHub","makeMain","integration","getIntegration","_oO","logger","_callExtensionMethod","customSamplingContext","endSession","_sendSessionUpdate","layer","getSession","setSession","getGlobalObject","getUser","currentSession","captureSession","method","carrier","getMainCarrier","sentry","__SENTRY__","extensions","hub","getHubFromCarrier","setHubOnCarrier","getCurrentHub","hasHubOnCarrier","isOlderThan","isNodeEnv","activeDomain","domain","registryHubTopStack","_Oo","getHubFromActiveDomain","callOnHub","captureException","captureMessage","captureEvent","withScope","startTransaction","SDK_VERSION","setPrototypeOf","__proto__","proto","_super","_newTarget","__extends","DSN_REGEX","dsnToString","withPassword","pass","projectId","publicKey","dsnFromComponents","makeDsn","SentryError","_b","lastPath","projectMatch","dsnFromString","isValidProtocol","validateDsn","installedIntegrations","filterDuplicates","accIntegration","defaultIntegrations","userIntegrations","userIntegration","integrationsNames","alwaysLastToRun","getIntegrationsToSetup","setupOnce","setupIntegration","addNonEnumerableProperty","ALREADY_SEEN_ERROR","backendClass","_integrations","_numProcessing","_backend","_dsn","BaseClient","checkOrSetAlreadyCaught","_process","_getBackend","eventFromException","_captureEvent","promisedEvent","isPrimitive","eventFromMessage","_isEnabled","_sendSession","getTransport","_isClientDoneProcessing","clientFinished","transportFlushed","initialized","crashed","errored","exceptions","exceptions_1_1","mechanism","handled","sessionNonTerminal","sendSession","ticked","normalizeDepth","normalizeMaxBreadth","prepared","_applyClientOptions","_applyIntegrationsMetadata","finalScope","applyToEvent","evt","_normalizeEvent","depth","maxBreadth","normalized","baseClientNormalized","dist","maxValueLength","truncate","request","integrationsArray","sdk","sendEvent","_processEvent","finalEvent","beforeSend","sampleRate","transport","recordLostEvent","outcome","isTransaction","random","_prepareEvent","__sentry__","rv","nullErr","_ensureBeforeSendRv","processedEvent","_updateSessionFromEvent","_sendEvent","promise","metadata","tunnel","_dsnObject","_tunnel","API","getBaseApiEndpoint","getStoreEndpoint","getStoreEndpointWithUrlEncodedAuth","getEnvelopeEndpointWithUrlEncodedAuth","initAPIDetails","initDsn","_getIngestEndpoint","_encodedAuth","urlEncode","sentry_key","sentry_version","_getEnvelopeEndpoint","createEnvelope","headers","serializeEnvelope","envelope","serializedHeaders","itemHeaders","payload","serializedPayload","getSdkMetadataForEnvelopeHeader","api","enhanceEventWithSdkInfo","sdkInfo","packages","createSessionEnvelope","sent_at","NoopTransport","_transport","_setupTransport","BaseBackend","_exception","_hint","_message","_newTransport","_experiments","newTransport","env","eventType","transactionSampling","samplingMethod","skippedNormalization","sample_rates","rate","createEventEnvelope","_metadata","send","UNKNOWN_FUNCTION","createFrame","lineno","colno","frame","function","in_app","chromeRegex","chromeEvalRegex","chromeStackParser","subMatch","geckoREgex","geckoEvalRegex","geckoStackParser","winjsRegex","winjsStackParser","opera10Regex","opera10StackParser","opera11Regex","opera11StackParser","extractSafariExtensionDetails","isSafariExtension","isSafariWebExtension","exceptionFromError","parseStackFrames","extractMessage","stacktrace","eventFromError","stack","popSize","framesToPop","reactMinifiedRegexp","getPopSize","createStackParser","attachStacktrace","eventFromUnknownInput","addExceptionMechanism","Severity","eventFromString","isUnhandledRejection","isErrorEvent","isDOMError","isDOMException","domException","name_1","addExceptionTypeValue","isError","isEvent","extractExceptionKeysForMessage","__serialized__","normalizeToSize","frames_1","eventFromPlainObject","synthetic","frames_2","makePromiseBuffer","buffer","taskProducer","drain","capturedSetTimeout","disabledUntil","limits","all","isRateLimited","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","parameters","headerDelay","_f","headerDate","parseRetryAfterHeader","eventStatusFromHttpCode","createTransport","makeRequest","bufferSize","rateLimits","envCategory","firstItemHeader","getEnvelopeType","getRateLimitReason","statusCode","cachedFetchImpl","getNativeFetchImplementation","isNativeFetch","fetchImpl","sandbox","contentWindow","sendReport","sendBeacon","supportsFetch","fetch_1","credentials","keepalive","makeNewFetchTransport","nativeFetch","requestOptions","statusText","requestTypeToCategory","ty","_buffer","_rateLimits","_outcomes","_api","sendClientReports","_flushOutcomes","BaseTransport","_sendRequest","useEnvelope","JSONStringifyError","newErr","innerErr","req","eventToSentryRequest","sessionToSentryRequest","outcomes","discarded_events","discardedEvents","quantity","requestType","_isRateLimited","_disabledUntil","_fetch","FetchTransport","sentryRequest","originalPayload","supportsReferrerPolicy","fetchParameters","_handleResponse","catch","makeNewXHRTransport","xhr","XMLHttpRequest","onreadystatechange","readyState","getResponseHeader","setRequestHeader","XHRTransport","BrowserBackend","transportOptions","ignoreOnError","shouldIgnoreOnError","ignoreNextOnError","__sentry_wrapped__","getOriginalFunction","sentryWrapped","wrappedArguments","addEventProcessor","markFunctionWrapped","getOwnPropertyDescriptor","configurable","injectReportDialog","script","async","dsnLike","dialogOptions","endpoint","encodedOptions","getReportDialogEndpoint","onLoad","injectionPoint","lastHref","instrumented","instrument","CONSOLE_LEVELS","originalConsoleMethod","triggerHandlers","instrumentConsole","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","listener","handlers_1","__sentry_instrumentation_handlers__","handlerForType","refCount","originalRemoveEventListener","handlers_2","instrumentDOM","xhrproto","originalOpen","xhrInfo","__sentry_xhr__","isString","__sentry_own_request__","onreadystatechangeHandler","status_code","endTimestamp","startTimestamp","original","readyStateArgs","originalSend","instrumentXHR","supportsNativeFetch","originalFetch","handlerData","fetchData","getFetchMethod","getFetchUrl","instrumentFetch","supportsHistory","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","history","instrumentHistory","_oldOnErrorHandler","msg","_oldOnUnhandledRejectionHandler","onunhandledrejection","addInstrumentationHandler","getFunctionName","fetchArgs","isInstanceOf","Request","debounceTimerID","lastCapturedEvent","globalListener","shouldSkipDOMEvent","shouldShortcircuitPreviousDebounce","Breadcrumbs","dom","getEventDescription","_consoleBreadcrumb","_innerDomBreadcrumb","keyAttrs","serializeAttribute","htmlTreeAsString","_domBreadcrumb","_xhrBreadcrumb","_fetchBreadcrumb","_historyBreadcrumb","severityFromString","safeJoin","parsedLoc","parseUrl","parsedFrom","parsedTo","relative","BrowserClient","getDsn","platform","addSentryBreadcrumb","originalFunctionToString","DEFAULT_IGNORE_ERRORS","InboundFilters","self_1","clientOptions","internalOptions","allowUrls","whitelistUrls","denyUrls","blacklistUrls","ignoreErrors","ignoreInternal","_mergeOptions","_isSentryError","oO","_getPossibleEventMessages","_isIgnoredError","_getEventFilterUrl","_isDeniedUrl","_isAllowedUrl","_shouldDropEvent","_getLastValidUrl","FunctionToString","DEFAULT_EVENT_TARGET","TryCatch","eventTarget","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","originalCallback","xmlHttpRequestProps","wrapOptions","originalFunction","eventName","handleEvent","wrappedEventHandler","originalEventHandler","GlobalHandlers","_installFunc","_installGlobalOnErrorHandler","_installGlobalOnUnhandledRejectionHandler","stackTraceLimit","installFunc","ERROR_TYPES_RE","_enhanceEventWithInitialFrame","_eventFromIncompleteOnError","addMechanismAndCapture","detail","ev","ev0","ev0s","ev0sf","getLocationHref","getHubAndAttachStacktrace","LinkedErrors","_limit","linkedErrors","_walkErrorTree","_handler","currentEvent","previousEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameMessageEvent","previousException","_getExceptionFromEvent","currentException","_isSameExceptionEvent","_previousEvent","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","UserAgent","referrer","Referer","CoreIntegrations","window_1","SENTRY_RELEASE","autoSessionTracking","clientClass","initialScope","initAndBind","startSessionOnHub","startSessionTracking","showReportDialog","lastEventId","forceLoad","internalWrap","startSession","SDK_NAME","windowIntegrations","_window","Integrations","INTEGRATIONS","BrowserIntegrations","angularPattern","Angular","_angular","angular","_module","moduleName","_getCurrentHub","$provide","decorator","_$exceptionHandlerDecorator","$delegate","cause","angularDocs","CaptureConsole","_levels","levels","setLevel","Debug","debugger","Ember","_Ember","oldOnError","testing","RSVP","ExtraErrorData","enhanceEventWithErrorData","errorData","_extractErrorData","normalizedErrorData","nativeKeys","extraErrorInfo","serializedError","Offline","maxStoredEvents","offlineEventStore","localForage","_sendEvents","onLine","_cacheEvent","_event","_enforceMaxEvents","_error","events","_index","_purgeEvents","removeItem","cacheKeys","_purgeEvent","types","ReportingObserver","supportsReportingObserver","buffered","reports","report","plainBody","crashId","reports_1_1","normalizeArray","allowAboveRoot","splitPathRe","splitPath","resolvedPath","resolvedAbsolute","basename","ext","RewriteFrames","_prefix","_iteratee","isWindowsFrame","startsWithSlash","_root","fromParts","toParts","samePartsLength","outputParts","iteratee","originalEvent","_processExceptionsEvent","_processStacktraceEvent","_processStacktrace","SessionTiming","_startTime","Transaction","_getTransaction","TRACING_GETTER","BROWSER_TRACING_GETTER","VUE_OP","HOOKS","activate","COMPONENT_NAME_REGEXP","ROOT_COMPONENT_NAME","ANONYMOUS_COMPONENT_NAME","Vue","_componentsCache","_applyTracingHooks","vm","$options","$_sentryPerfHook","_getComponentName","rootMount","spans","rootHandler","hook","timestampWithMs","_rootSpan","_finishRootSpan","$once","tracingIntegration","_tracingActivity","pushActivity","getTransaction","startChild","description","op","activeTransaction","getActiveTransaction","childHandler","shouldTrack","tracingOptions","trackComponents","finish","hooks","internalHooks","internalHook","attachProps","logErrors","tracing","_attachErrorHandler","_startTracing","$root","_componentTag","__file","_rootSpanTimer","popActivity","applyTracingHooks","mixin","beforeCreate","currentErrorHandler","errorHandler","propsData","lifecycleHook","util","elem","currentElem","out","sepLength","nextStr","_htmlElementAsString","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","fallbackGlobalObject","creator","objectToString","wat","isBuiltin","Event","isRegExp","isSyntheticEvent","PREFIX","originalConsole","wrappedLevels","originalWrappedFunc","__sentry_original__","makeLogger","enable","crypto","msCrypto","getRandomValues","Uint16Array","pad","fragment","getFirstException","firstException","newMechanism","currentMechanism","mergedData","__sentry_captured__","__SENTRY_BROWSER_BUNDLE__","dynamicRequire","mod","maxProperties","visit","ERROR","maxSize","encodeURI","utf8Length","memo","hasWeakSet","WeakSet","inner","memoBuilder","unmemoize","valueWithToJSON","stringified","_events","getPrototypeOf","stringifyValue","numAdded","visitable","convertToPlainObject","visitKey","visitValue","replacementFactory","getOwnProperties","event_1","serializeEventTarget","CustomEvent","extractedProps","maxLength","includedKeys","SeverityLevels","isSupportedSeverity","parsers","sortedParsers","skipFirst","sortedParsers_1_1","parser","stripSentryFramesAndReverse","localStack","firstFrameFunction","lastFrameFunction","defaultFunctionName","isMatchingPattern","Headers","Response","chrome","isChromePackagedApp","app","runtime","hasHistoryApi","pushState","replaceState","dateTimestampSource","nowSeconds","platformPerformance","getNodePerformance","timeOrigin","getBrowserPerformance","timestampSource","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","define","deps","modules","payloads","_require","parentId","lookup","packagedModule","normalizeModule","chunks","uri","packaged","exportAce","ace","OS","LINUX","MAC","WINDOWS","getOS","isMac","isLinux","_navigator","os","ua","appName","isWin","isIE","isOldIE","isGecko","isMozilla","isOpera","opera","isWebKit","isChrome","isEdge","isAIR","isAndroid","isChromeOS","isIOS","MSStream","isMobile","strictCSP","useragent","buildDom","txt","els","ch","cssText","getDocumentHead","getElementsByTagName","createElementNS","removeChildren","innerHTML","createFragment","createDocumentFragment","hasCssClass","addCssClass","removeCssClass","toggleCssClass","setCssClass","include","hasCssString","cssCache","insertPendingStyles","importCssString","useStrictCSP","importCssStylsheet","outer","noScrollbar","withScrollbar","setStyle","HAS_CSS_ANIMATION","HAS_CSS_TRANSFORMS","HI_DPI","tx","inherits","ctor","superCtor","super_","implement","oop","Keys","ret","MODIFIER_KEYS","KEY_MODS","FUNCTION_KEYS","PRINTABLE_KEYS","esc","del","mods","pow","keyCodeToString","keyCode","keyString","activeListenerOptions","pressedKeys","getListenerOptions","createComment","detectListenerOptionsSupport","EventListener","destroyer","$toDestroy","stopEvent","getButton","capture","releaseCaptureHandler","addMouseWheelListener","wheelDeltaX","wheelX","wheelY","wheelDeltaY","wheelDelta","deltaMode","DOM_DELTA_PIXEL","deltaX","deltaY","DOM_DELTA_LINE","DOM_DELTA_PAGE","HORIZONTAL_AXIS","addMultiMouseDownListener","timeouts","callbackName","clicks","eventNames","onMousedown","isNewClick","_clicks","getModifierHash","normalizeCommandKeys","hashId","getModifierState","altGr","keyLocation","timeStamp","resetPressedKeys","getModifierString","addCommandKeyListener","isOldGecko","lastKeyDownKeyCode","lastDefaultPrevented","postMessageId","nextTick","messageName","$idleBlocked","onIdle","$idleBlockId","blockIdle","nextFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","oRequestAnimationFrame","Range","startRow","startColumn","endRow","endColumn","isEqual","compare","compareRange","cmp","comparePoint","containsRange","intersects","isEnd","isStart","setStart","setEnd","inside","insideStart","insideEnd","isMultiLine","compareStart","compareEnd","compareInside","clipRows","firstRow","lastRow","fromPoints","extend","collapseRows","toScreenRange","screenPosStart","documentToScreenPosition","screenPosEnd","moveBy","comparePoints","stringReverse","stringRepeat","trimBeginRegexp","trimEndRegexp","stringTrimLeft","stringTrimRight","copyObject","copyArray","deepCopy","arrayToMap","createMap","arrayRemove","escapeRegExp","escapeHTML","getMatchOffsets","deferredCall","fcn","deferred","schedule","isPending","delayedCall","_self","$cancelT","lineMode","pasteCancelled","clipboard","BROKEN_SETDATA","USE_IE_MIME_TYPE","HAS_FOCUS_ARGS","MAX_LINE_LENGTH","KEYS","MODS","valueResetRegex","TextInput","copied","pasted","inComposition","sendingText","tempStyle","commandMode","ignoreFocusEvents","lastValue","lastSelectionStart","lastSelectionEnd","lastRestoreEnd","resetSelection","$focusScroll","preventScroll","isTransformed","ancestors","curOp","commandName","isUserAction","docChanged","selectionChanged","onCompositionEnd","selection","afterContextMenu","getRange","getLine","prevLine","nextLine","inputHandler","setInputHandler","getInputHandler","sendText","fromInput","onPaste","extendLeft","extendRight","restoreStart","restoreEnd","shouldReset","onTextInput","onInput","onCompositionUpdate","inputType","handleClipboardData","forceIEMime","clipboardData","mime","setData","getData","doCopy","isCut","getCopyText","onCut","onCopy","onCommandKey","isAllSelected","selectAll","$readOnly","cancelComposition","useTextareaForIME","markerRange","compositionStartOffset","off","closeTimeout","syncComposition","onContextMenuClose","$isMousePressed","$keepTextAreaAtCursor","$moveTextAreaToCursor","onCompositionStart","_signal","getSelectionRange","msGetInputContext","getInputContext","getElement","setCommandMode","setReadOnly","setCopyWithEmptySelection","_emit","domEvent","moveToMouse","bringToFront","characterWidth","maxTop","textInput","typingResetTimeout","typing","detectArrowKeys","$mouseHandler","isMousePressed","home","commands","findKeyCommand","addIosSelectionHandler","$setUserAgentForTests","_isMobile","_isIOS","DefaultHandlers","mouseHandler","$clickSelection","editor","setDefaultHandler","onDoubleClick","onTripleClick","onQuadClick","onMouseWheel","selectByLines","extendSelectionBy","selectByWords","calcRangeOrientation","inSelection","getDocumentPosition","mousedownEvent","moveToPosition","$focusTimeout","inMultiSelectMode","captureMouse","startSelect","waitForClickSelection","screenToTextCoordinates","getShiftKey","selectToPosition","setCapture","orientedRange","setSelectionAnchor","scrollCursorIntoView","unitName","cmpStart","cmpEnd","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","unsetStyle","releaseCapture","focusWait","ax","ay","bx","getBracketRange","getWordRange","getLineRange","getAccelKey","$lastScroll","vx","vy","allowed","prevScroll","dt","canScroll","isScrollableBy","speed","scrollBy","isOpen","$element","$parentNode","$init","setText","setHtml","setClassName","hide","getHeight","GutterTooltip","windowWidth","windowHeight","GutterHandler","tooltipTimeout","tooltipAnnotation","gutter","$gutterLayer","hideTooltip","moveTooltip","getRegion","selectTo","srcElement","$tooltipFollowsMouse","annotation","$annotations","getLength","screenRow","pixelToScreenCoordinates","$pos","documentToScreenRow","showTooltip","$gutter","MouseEvent","$inSelection","propagationStopped","selectionRange","DragdropHandler","dragImage","dragSelectionMarker","timerId","dragCursor","dragOperation","isInternal","autoScrollStartTime","cursorMovedTime","cursorPointOnCaretMoved","mouseTarget","onDragInterval","prevCursor","vMovement","hMovement","moveCursorToPosition","calcDistance","layerConfig","editorRect","nearestXOffset","nearestYOffset","scrollCursor","vScroll","hScroll","autoScroll","addDragMarker","toOrientedRange","addMarker","getSelectionStyle","clearSelection","$cursorLayer","setBlinking","clearDragMarker","removeMarker","fromOrientedRange","$resetCursorStyle","onDragStart","cancelDrag","draggable","dataTransfer","effectAllowed","getReadOnly","setDragImage","clearData","getTextRange","onDragEnd","dropEffect","setCursorStyle","onDragEnter","canAccept","getDropEffect","onDragOver","onMouseMoveTimer","onDrop","moveText","dropData","copyAllowed","copyModifierState","dragWait","getDragDelay","startDrag","dragWaitEnd","dragReadyEnd","cursorStyle","onMouseDrag","dragDrop","$dragEnabled","unselectable","addTouchListeners","touchStartT","lastT","longTouchTimer","animationTimer","pressed","contextMenu","animationSteps","clickCount","vX","vY","createContextMenu","hasUndo","getUndoManager","replaceChild","class","updateMenu","readText","writeText","ontouchstart","ontouchend","onclick","showContextMenu","pagePos","textToScreenCoordinates","leftOffset","pageY","hideContextMenu","handleLongTap","selectWord","touchObj","setRange","switchToSelectionMode","cursorPos","getPixelPosition","anchorPos","weightedDistance","diff1","diff2","oldScrollTop","getScrollTop","responseText","loadScript","isAbort","qualifyURL","EventEmitter","_dispatchEvent","_eventRegistry","_defaultHandlers","listeners","defaultHandler","once","newCallback","_disabled_","old","removeDefaultHandler","capturing","removeAllListeners","optionsProvider","optList","setOption","optionNames","getOption","opt","forwardTo","handlesSet","reportError","AppConfig","$defaultOptions","defineOptions","initialValue","resetOptions","setDefaultValue","setDefaultValues","optionHash","net","workerPath","modePath","themePath","basePath","suffix","$moduleUrls","loadWorkerFromBlob","sharedPopups","$modes","moduleUrl","sep","setModuleUrl","subst","$loading","loadModule","moduleType","afterLoad","reportErrorIfPathIsNotConfigured","scriptOptions","scriptUrl","currentScript","_currentScript","m1","DefaultGutterHandler","MouseHandler","focusEditor","getMouseEventTarget","onMouseEvent","scrollBarV","scrollBarH","gutterEl","$dragDelay","mousemove","$scrollSpeed","mouseMoveHandler","releaseMouse","$mouseMoved","onCaptureEnd","onOperationEnd","onCaptureInterval","$onCaptureMouseMove","endOperation","startOperation","cancelContextMenu","scrollSpeed","dragDelay","dragEnabled","focusTimeout","tooltipFollowsMouse","FoldHandler","fold","getFoldAt","removeFold","expandFold","getUseWrapMode","foldWidgets","onFoldWidgetClick","getParentFoldRangeData","firstRange","addFold","keyUtil","KeyBinding","$editor","$data","$handlers","kb","removeKeyboardHandler","$defaultHandler","addKeyboardHandler","setKeyboardHandler","handleKeyboard","getKeyboardHandler","getStatusText","$callKeyboardHandlers","toExecute","passEvent","hiLevel","lastArabic","hasUBAT_B","hasUBAT_S","impTab_LTR","impTab_RTL","ET","BN","UnicodeTBL00","UnicodeTBL20","_invertLevel","lev","_array","lo","hi","_getCharClass","chars","ix","wType","nType","cType","rtlCandidate","_getCharacterType","uc","L","R","EN","ON_R","AN","R_H","B","RLE","DOT","doBidiReorder","textCharTypes","logicalFromVisual","bidiLevels","charTypes","impTab","newClass","newLevel","condPos","_computeLevels","hasBidiCharacters","getVisualFromLogicalIdx","logIdx","rowMap","bidiUtil","bidiRE","BidiHandler","bidiMap","currentRow","charWidths","EOL","showInvisibles","isRtlDir","$isRtl","wrapIndent","EOF","contentWidth","fontMetrics","rtlLineOffset","wrapOffset","isMoveLeftOperation","seenBidi","isBidiRow","docRow","splitIndex","updateRowLine","updateBidiMap","getDocumentRow","rowCache","$screenRowCache","$getRowCacheIndex","$docRowCache","getSplitIndex","currentIndex","prevIndex","endOfLine","$useWrapMode","splits","$wrapData","isFullWidth","getScreenTabSize","$main","markAsDirty","updateCharacterWidths","$characterSize","bidiCharWidth","$measureCharWidth","setShowInvisibles","setEolChar","eolChar","setContentWidth","isRtlLine","setRtlDirection","getCursorPosition","getSelectionAnchor","$bidiHandler","removeInLine","getPosLeft","col","leftBoundary","logicalIdx","getOverwrite","visualIdx","getSelections","startCol","endCol","selections","selColMin","selColMax","isSelected","isSelectedPrev","visIdx","offsetToCol","posX","charWidth","Selection","getDocument","lead","createAnchor","$silent","$cursorChanged","$isEmpty","$keepDesiredColumnOnChange","$desiredColumn","$anchorChanged","getCursor","getPosition","getSelectionLead","isBackwards","$setSelection","MAX_VALUE","anchorRow","anchorColumn","cursorRow","cursorColumn","wasEmpty","wasMultiselect","$moveSelection","mover","moveCursorTo","moveTo","selectUp","moveCursorUp","selectDown","moveCursorDown","selectRight","moveCursorRight","selectLeft","moveCursorLeft","selectLineStart","moveCursorLineStart","selectLineEnd","moveCursorLineEnd","selectFileEnd","moveCursorFileEnd","selectFileStart","moveCursorFileStart","selectWordRight","moveCursorWordRight","selectWordLeft","moveCursorWordLeft","selectAWord","getAWordRange","excludeLastChar","rowEnd","rowStart","foldLine","getFoldLine","selectLine","moveCursorBy","wouldMoveIntoSoftTab","isTabStop","getTabSize","getNavigateWithinSoftTabs","firstColumnPosition","screenToDocumentPosition","leadingSpace","getDisplayLine","$useEmacsStyleLineStart","lineEnd","getDocumentLastRowColumnPosition","textEnd","moveCursorLongWordRight","rightOfCursor","nonTokenRe","tokenRe","moveCursorLongWordLeft","getFoldStringAt","leftOfCursor","$shortWordEndIndex","whitespaceRe","moveCursorShortWordRight","moveCursorShortWordLeft","$selectLongWords","screenPos","lineWidgets","widget","rowsAbove","rowCount","docPos","keepDesiredColumn","moveCursorToScreen","desiredColumn","getRangeOfMovements","rangeCount","ranges","r1","fromJSON","rangeList","toSingleRange","addRange","MAX_TOKEN_COUNT","Tokenizer","regExps","matchMappings","ruleRegExps","matchTotal","mapping","defaultToken","flag","splitterRurles","caseInsensitive","regex","adjustedregex","matchcount","groupCount","tokenArray","onMatch","$arrayTokens","$applyToken","digit","removeCapturingGroups","splitRegex","createSplitterRegexp","$setMaxTokenCount","tokens","inChClass","lastCapture","parenOpen","parenClose","getLineTokens","startState","matchAttempts","skipped","consumeLineEnd","TextHighlightRules","$rules","nextState","embedRules","HighlightRules","escapeRules","$embeds","getEmbeds","popState","normalizeRules","processed","toInsert","stateName","includeName","noEscape","keywordMap","createKeywordMapper","splitChar","keywords","$keywordList","getKeywords","$keywords","Behaviour","$behaviours","addBehaviours","behaviours","getBehaviours","TokenIterator","initialRow","initialColumn","$session","$row","$rowTokens","getTokens","getTokenAt","$tokenIndex","stepBackward","stepForward","getCurrentToken","getCurrentTokenRow","getCurrentTokenColumn","rowTokens","tokenIndex","getCurrentTokenPosition","getCurrentTokenRange","SAFE_INSERT_IN_TOKENS","SAFE_INSERT_BEFORE_TOKENS","contextCache","defaultQuotes","initContext","multiSelect","autoInsertedBrackets","autoInsertedRow","autoInsertedLineEnd","maybeInsertedBrackets","maybeInsertedRow","maybeInsertedLineStart","maybeInsertedLineEnd","getWrapped","opening","closing","rowDiff","CstyleBehaviour","getWrapBehavioursEnabled","isSaneInsertion","braces","recordAutoInsert","recordMaybeInsert","$findOpeningBracket","isAutoInsertedClosing","popAutoInsertedClosing","isMaybeInsertedClosing","clearMaybeInsertedClosing","openBracePos","findMatchingBracket","next_indent","$getIndent","getTabString","quotes","$mode","$quotes","lineCommentStart","quote","leftChar","rightChar","rightToken","pair","stringBefore","stringAfter","wordRe","isWordBefore","isWordAfter","charBefore","$matchTokenType","iterator2","bracket","wordChars","unicode","Mode","$defaultBehaviour","getTokenizer","$tokenizer","$highlightRules","$highlightRuleConfig","blockComment","toggleCommentLines","ignoreBlankLines","shouldRemove","minIndent","insertAtTabStop","regexpStart","getUseSoftTabs","uncomment","shouldInsertSpace","commentWithSpace","insertInLine","testRemove","after","spaces","lineCommentEnd","regexpEnd","fun","minEmptyLength","toggleBlockComment","colDiff","initialRange","startRange","endRange","getNextLineIndent","checkOutdent","autoOutdent","createWorker","createModeDelegates","$id","delegations","functionName","$delegator","transformAction","param","$behaviour","completionKeywords","ruleItr","aLength","$createKeywordList","getCompletions","score","applyDelta","docLines","doNotValidate","Anchor","$onChange","$pointsInOrder","point1","point2","equalPointsInOrder","bColIsAfter","$clipPositionToDocument","$insertRight","point","moveIfEqual","deltaIsInsert","deltaRowShift","deltaColShift","deltaStart","deltaEnd","$getTransformedPoint","noClip","Document","textOrLines","$lines","insertMergedLines","getAllLines","getNewLineCharacter","$split","$detectNewLine","$autoNewLine","$newLineMode","setNewLineMode","newLineMode","getNewLineMode","isNewLine","getLines","getLinesForRange","insertLines","insertFullLines","removeLines","removeFullLines","insertNewLine","clippedPos","clonePos","$clipPosition","deleteFirstNewLine","deleteLastNewLine","deletedLines","removeNewLine","applyDeltas","deltas","revertDeltas","revertDelta","isInsert","$splitAndapplyLargeDelta","$safeApplyDelta","docLength","MAX","chunk","indexToPosition","newlineLength","positionToIndex","BackgroundTokenizer","tokenizer","running","currentLine","$worker","workerStart","endLine","startLine","processedLines","$tokenizeRow","fireUpdateEvent","setTokenizer","setDocument","scheduleStart","$updateOnChange","getState","SearchHighlight","clazz","setRegexp","MAX_RANGES","markerLayer","drawSingleLineMarker","FoldLine","foldData","folds","setFoldLine","shiftRow","sameRow","containsRow","walk","lastEnd","isNewRow","getNextFoldTo","kind","addRemoveChars","foldBefore","newFoldLine","foldLineNext","idxToPosition","lastFoldEndColumn","RangeList","$bias","pointIndex","excludeEdges","startIndex","addList","substractPoint","containsPoint","rangeAtPoint","clipped","removeAll","lineDif","Fold","subFolds","consumePoint","restorePoint","subFold","collapseChildren","addSubFold","afterStart","firstConsumed","consumedFolds","restoreRange","Folding","getFoldsInRange","foldLines","$foldData","foundFolds","getFoldsInRangeList","getAllFolds","lastFold","startFoldLine","getNextFoldLine","getFoldedRowCount","$addFoldLine","$clipRangeToDocument","startFold","endFold","removeFolds","$updateWrapData","$updateRowLengthCache","$modified","addFolds","$updating","cloneFolds","foldAll","expandFolds","unfold","expandInner","outermostFolds","isRowFolded","startFoldRow","getRowFoldEnd","getRowFoldStart","getFoldDisplayLine","textLine","lastColumn","$cloneFoldData","fd","toggleFold","tryToUnfold","bracketPos","getCommentFoldRange","getFoldWidget","getFoldWidgetRange","foldToLevel","foldAllComments","$foldStyles","$foldStyle","setFoldStyle","$foldMode","$setFolding","foldMode","$updateFoldWidgets","$tokenizerUpdateFoldWidgets","updateFoldWidgets","tokenizerUpdateFoldWidgets","ignoreCurrent","fw","siblings","$toggleFoldWidget","toggleFoldWidget","toggleParent","BracketMatch","chr","charBeforeCursor","$findClosingBracket","getMatchingBracketRanges","$brackets","typeRe","openBracket","valueIndex","closingBracket","valueLength","TextMode","EditSession","$breakpoints","$decorations","$frontMarkers","$backMarkers","$markerId","$undoSelect","$uid","onChangeFold","bgTokenizer","resetCaches","$resetRowCache","cacheArray","low","mid","$rowLengthCache","removedFolds","$updateInternalDataOnChange","$fromUndo","$undoManager","mergeUndoDeltas","$informUndoManager","setUndoManager","undoManager","addSession","$syncInformUndoManager","markUndoGroup","$defaultUndoManager","undo","redo","hasRedo","addSelection","startNewGroup","setUseSoftTabs","$useSoftTabs","$indentWithTabs","setTabSize","$tabSize","setNavigateWithinSoftTabs","navigateWithinSoftTabs","$navigateWithinSoftTabs","$overwrite","setOverwrite","overwrite","toggleOverwrite","addGutterDecoration","removeGutterDecoration","getBreakpoints","setBreakpoints","clearBreakpoints","setBreakpoint","clearBreakpoint","inFront","addDynamicMarker","markerId","getMarkers","highlight","$searchHighlight","highlightLines","setAnnotations","annotations","getAnnotations","clearAnnotations","inToken","wordRange","setUseWorker","useWorker","getUseWorker","$useWorker","onReloadTokenizer","$modeId","$onChangeMode","$isPlaceholder","oldMode","$stopWorker","$startWorker","attachToSession","wrapMethod","$wrapMethod","foldingRules","terminate","getMode","$scrollTop","setScrollTop","$scrollLeft","setScrollLeft","getScrollLeft","getScreenWidth","$computeWidth","getLineWidgetMaxWidth","screenWidth","lineWidgetsWidth","lineWidgetWidth","$wrapLimit","longestScreenLine","foldIndex","foldStart","$getStringScreenWidth","undoChanges","dontSelect","selectionBefore","$getUndoSelection","redoChanges","selectionAfter","setUndoSelect","isUndo","fromRange","toPosition","toRange","collDiff","oldStart","newStart","indentRows","indentString","outdentRows","rowRange","deleteRange","$moveLines","$clipRowToDocument","moveLinesUp","moveLinesDown","duplicateLines","$clipColumnToRow","$wrapLimitRange","setUseWrapMode","useWrapMode","setWrapLimitRange","adjustWrapLimit","desiredLimit","$printMargin","wrapLimit","$constrainWrapLimit","getWrapLimit","setWrapLimit","getWrapLimitRange","foldLineBefore","wrapData","walkTokens","$getDisplayTokens","PLACEHOLDER_START","PLACEHOLDER_BODY","$computeWrapSplits","displayLength","lastSplit","lastDocSplit","isCode","$wrapAsCode","indentedSoftWrap","$indentedSoftWrap","maxIndent","addSplit","indentation","getWrapIndent","minSplit","maxScreenColumn","screenColumn","getRowLength","getRowLineCount","getRowWrapIndent","getScreenLastRowColumn","documentToScreenColumn","getDocumentLastRowColumn","docColumn","getRowSplitData","screenToDocumentRow","screenToDocumentColumn","rowLength","doCache","maxRow","foldStartRow","wrapRow","screenRowOffset","getScreenLength","screenRows","$getWidgetScreenLength","$setFontMetrics","fm","$enableVarChar","getCharacterWidth","$wrap","firstLineNumber","useSoftTabs","foldStyle","Search","$matchIterator","sr","sc","er","ec","skipCurrent","findAll","needle","$assembleRegExp","$isMultiLine","prevRange","preserveCase","$disableFakeMultiline","wholeWord","wordBoundary","addWordBoundary","caseSensitive","$assembleMultilineRegExp","backwards","forEachInLine","HashHandler","commandKeyBinding","addCommands","$singleCommand","MultiHashHandler","bindKey","isDefault","addCommand","removeCommand","_buildKeyHash","keepCommand","ckb","keyId","cmdGroup","keyPart","chain","binding","parseKeys","_addCommandToBinding","removeCommands","bindKeys","keyList","$keyChain","CommandManager","byName","$checkCommandState","isAvailable","returnValue","toggleRecording","$inReplay","recording","macro","$addCommandToMacro","oldMacro","replay","trimMacro","mac","showSettingsMenu","showErrorMarker","scrollIntoView","centerSelection","gotoLine","prompt","$type","multiSelectAction","getAllRanges","findNext","findPrevious","aceCommandGroup","navigateFileStart","navigateUp","times","navigateFileEnd","navigateDown","navigateWordLeft","navigateLineStart","navigateLeft","navigateWordRight","navigateLineEnd","navigateRight","selectPageDown","scrollPageDown","gotoPageDown","selectPageUp","scrollPageUp","gotoPageUp","jumpToMatching","$copyWithEmptySelection","$handlePaste","duplicateSelection","sortLines","modifyNumber","copyLinesUp","copyLinesDown","removeToLineStart","removeToLineEnd","removeWordLeft","removeWordRight","blockOutdent","blockIndent","splitLine","transposeLetters","transposeSelections","autoIndent","firstLineEndCol","selectedCount","insertLine","curLine","newRanges","exitMultiSelectMode","defaultCommands","Editor","getContainerElement","getTextAreaContainer","textarea","keyBinding","$search","$historyTracker","$initOperationListeners","_$emitInputEvent","$opResetTimer","$lastSel","prevOp","commandEvent","previousCommand","scrollSelectionIntoView","animateScrolling","sel","$mergeableCommands","$mergeUndoDeltas","mergeableCommands","shouldMerge","mergeNextCommand","sequenceStartTime","keyboardHandler","$keybindingId","oldSession","$onDocumentChange","$onTokenizerUpdate","$onChangeTabSize","$onChangeWrapLimit","$onChangeWrapMode","$onChangeFold","$onChangeFrontMarker","$onChangeBackMarker","$onChangeBreakpoint","$onChangeAnnotation","$onCursorChange","$onScrollTopChange","$onScrollLeftChange","$onSelectionChange","onDocumentChange","onChangeMode","onTokenizerUpdate","onChangeTabSize","onChangeWrapLimit","onChangeWrapMode","onChangeFrontMarker","onChangeBackMarker","onChangeBreakpoint","onChangeAnnotation","onCursorChange","onScrollTopChange","onScrollLeftChange","onSelectionChange","updateFull","oldEditor","setTheme","getTheme","getFontSize","setFontSize","$highlightBrackets","$highlightPending","$bracketHighlight","markerIds","getMatching","markerType","$highlightTags","$highlightTagPending","$tagHighlight","currentTag","prevToken","stepCount","tmpToken","sbm","$isFocused","showCursor","visualizeFocus","hideCursor","visualizeBlur","$cursorChange","updateCursor","$updateHighlightActiveLine","updateLines","scrollToY","scrollToX","$highlightActiveLine","$selectionStyle","$selectionColorConflict","$maxLines","$minLines","$highlightLineMarker","$selectionMarker","$highlightSelectedWord","$getSelectionHighLightRegexp","wordWithBoundary","updateFrontMarkers","updateBackMarkers","updateBreakpoints","updateText","getSelectedText","copyLine","inVirtualSelectionMode","isFullLine","getBehavioursEnabled","lineState","shouldOutdent","$enableAutoIndent","lineIndent","selectedRange","currIndent","prevLineState","composition","applyComposition","forEachSelection","setScrollSpeed","getScrollSpeed","setDragDelay","setSelectionStyle","setHighlightActiveLine","shouldHighlight","getHighlightActiveLine","setHighlightGutterLine","getHighlightGutterLine","setHighlightSelectedWord","getHighlightSelectedWord","setAnimatedScroll","shouldAnimate","getAnimatedScroll","getShowInvisibles","setDisplayIndentGuides","getDisplayIndentGuides","setShowPrintMargin","showPrintMargin","getShowPrintMargin","setPrintMarginColumn","getPrintMarginColumn","setBehavioursEnabled","setWrapBehavioursEnabled","setShowFoldWidgets","getShowFoldWidgets","setFadeFoldWidgets","fade","getFadeFoldWidgets","new_range","swap","originalRange","$getSelectedRows","getNumberAt","_numberRx","amount","charRange","isFinite","nr","fp","decimals","nnr","replaceRange","toggleWord","$toggleWordPairs","currWordStart","wordParts","curLength","itLength","that","wordPairs","negate","firstCondition","endPoint","moved","totalDiff","rangeIndex","subRows","compositionState","showComposition","setCompositionText","hideComposition","getFirstVisibleRow","getLastVisibleRow","isRowVisible","isRowFullyVisible","getFirstFullyVisibleRow","getLastFullyVisibleRow","$getVisibleRowCount","getScrollBottomRow","getScrollTopRow","$moveByPage","scrollToRow","scrollToLine","alignCursor","getCursorPositionScreen","expand","matchType","bracketType","found","brackets","lineNumber","navigateTo","replaced","$tryReplace","replaceAll","getLastSearchOptions","newRange","revealRange","setAutoScrollEditorIntoView","shouldScroll","$scrollAnchor","scrollAnchor","onChangeSelection","onBeforeRender","onAfterRender","searchBox","$pixelPos","$cursorStyle","cursorLayer","setSmoothBlinking","isBlinking","selectionStyle","highlightActiveLine","highlightSelectedWord","copyWithEmptySelection","behavioursEnabled","wrapBehavioursEnabled","enableAutoIndent","autoScrollEditorIntoView","showLineNumbers","setShowLineNumbers","$loop","CHANGE_GUTTER","$relativeLineNumbers","relativeNumberRenderer","relativeLineNumbers","$showLineNumbers","$updatePlaceholder","$composition","placeholderNode","$placeholder","hScrollBarAlwaysVisible","vScrollBarAlwaysVisible","highlightGutterLine","animatedScroll","printMarginColumn","printMargin","fadeFoldWidgets","showFoldWidgets","displayIndentGuides","showGutter","maxLines","minLines","scrollPastEnd","fixedWidthGutter","hasCssTransforms","maxPixelHeight","getText","lastLineNumber","$renderer","UndoManager","$maxRev","allowMerge","$lastDelta","$keepRedoStack","$redoStack","lastDeltas","$undoStack","$rev","rev","markIgnored","ignore","getRevision","getDeltas","getChangedRanges","getChangedLines","deltaSet","swapped","swapGroups","rearrangeUndoStack","$redoStackBaseRev","undoSelectionRange","$syncRev","redoStack","deltaSets","moveDeltasByOne","rebaseRedoStack","redoSelectionRange","nextDelta","canUndo","canRedo","bookmark","isAtBookmark","isClean","markClean","$prettyPrint","stringifyDelta","stringifyRange","d1","d2","i1","i2","ds1","ds2","xform","c1","splitDelta","shiftPos","rowsBefore","otherLines","cloneDelta","xformed","Lines","canvasHeight","cells","cellCache","$offsetCoefficient","moveContainer","firstRowScreen","pageChanged","oldConfig","newConfig","computeLineTop","screenTop","screenPage","computeLineHeight","$cacheCell","cell","insertAdjacentElement","createCell","initElement","Gutter","parentEl","$showFoldWidgets","gutterWidth","$updateAnnotations","onCreateCell","textNode","foldWidget","rowInfo","annoText","gutterOffset","oldLastRow","$updateCursorRow","$renderCell","$updateGutterWidth","gutterRenderer","$firstLineNumber","lastLineText","$fixedWidth","$padding","$computePadding","$highlightGutterLine","$cursorRow","updateLineHighlight","$cursorCell","scrollLines","$renderLines","decorations","foldHeight","getShowLineNumbers","Marker","setPadding","setMarkers","markers","elt","$getTop","drawFullLineMarker","drawScreenLineMarker","drawTextMarker","drawMultiLineMarker","childElementCount","stringBuilder","extraStyle","curr","lineRange","range1","drawBidiSingleLineMarker","radiusClass","extraLength","Text","$updateEolChar","EOF_CHAR","EOL_CHAR_LF","EOL_CHAR_CRLF","EOL_CHAR","TAB_CHAR","SPACE_CHAR","getLineHeight","$fontMetrics","measure","$pollSizeChanges","checkForSizeChanges","$pollSizeChangesTimer","$computeTabString","showSpaces","showTabs","showEOL","$tabStrings","tabStr","$indentGuideRe","spaceClass","spaceContent","tabClass","tabContent","lineElements","lineElementsIdx","heightChanged","lineElement","$renderLine","$renderLinesFragment","lineEl","$useLineGroups","$textToken","$renderToken","valueFragment","simpleSpace","controlCharacter","cjkSpace","cjk","cloneNode","com","renderIndentGuide","$createLineElement","$renderWrappedLine","splitChars","$renderOverflowMessage","$renderSimpleLine","overflowEl","$getFoldLineTokens","lastLineEl","invisibleEl","renderTokens","addTokens","Cursor","isVisible","blinkInterval","smoothBlinking","cursors","addCursor","$updateCursors","$updateOpacity","$startCssAnimation","$isAnimating","$stopCssAnimation","blinking","restartTimer","setBlinkInterval","removeCursor","intervalId","$isSmoothBlinking","blink","onScreen","isCursorInView","pixelPos","$selectionMarkers","cursorIndex","drawCursor","$setOverwrite","MAX_SCROLL_H","ScrollBar","classSuffix","setVisible","skipEvent","coeff","VScrollBar","$scrollbarWidth","$minWidth","setHeight","setInnerHeight","setScrollHeight","HScrollBar","setWidth","setInnerWidth","setScrollWidth","ScrollBarV","ScrollBarH","RenderLoop","onRender","changes","$recursionLimit","_flush","change","CHAR_COUNT","USE_OBSERVER","FontMetrics","$setMeasureNodeStyles","$measureNode","$addObserver","isRoot","$measureSizes","boldSize","charSizes","allowBoldFonts","$observer","setPolling","$getZoom","getZoom","$initTransformMeasureNodes","transformCoordinates","clientPos","elPos","mul","solve","l1","l2","det","sub","m2","ut","GutterLayer","MarkerLayer","TextLayer","CursorLayer","editorCss","HIDE_TEXTAREA","VirtualRenderer","onGutterResize","$markerBack","textLayer","$textLayer","canvas","$markerFront","$horizScroll","$vScroll","$scrollAnimation","scrollMargin","updateCharacterSize","$size","scrollerHeight","scrollerWidth","$dirty","$renderChanges","CHANGE_FULL","CHANGE_CURSOR","CHANGE_MARKER","CHANGE_SCROLL","CHANGE_LINES","CHANGE_TEXT","CHANGE_SIZE","CHANGE_MARKER_BACK","CHANGE_MARKER_FRONT","CHANGE_H_SCROLL","$allowBoldFonts","$updatePrintMargin","onChangeNewLineMode","$changedLines","updateFontSize","$changes","$updateSizeAsync","resizing","$updateCachedSize","$extraHeight","oldSize","$showGutter","$computeLayerConfig","availableWidth","$showPrintMargin","$printMarginColumn","$animatedScroll","getShowGutter","setShowGutter","$printMarginEl","containerEl","posTop","posLeft","setScrollMargin","setMargin","getHScrollBarAlwaysVisible","$hScrollBarAlwaysVisible","setHScrollBarAlwaysVisible","alwaysVisible","getVScrollBarAlwaysVisible","$vScrollBarAlwaysVisible","setVScrollBarAlwaysVisible","$updateScrollBarV","$scrollPastEnd","$updateScrollBarH","$frozen","freeze","unfreeze","st","$updateLines","$autosize","desiredHeight","$maxPixelHeight","$gutterWidth","hideScrollbars","longestLine","$getLongestLine","horizScroll","hScrollChanged","vScrollBefore","vScrollChanged","firstRowHeight","lineCount","charCount","$viewMargin","topMargin","bottomMargin","alignment","STEPS","$calcSteps","fromValue","toValue","x_min","initialScroll","oldSteps","$timer","scrollTo","canvasPos","$hasCssTransforms","$blockCursor","$useTextareaForIME","addToken","removeExtraToken","newToken","$themeId","cssClass","$theme","isDark","setMouseCursor","attachToShadowRoot","workerUrl","Worker","Blob","blobBuilder","BlobBuilder","WebKitBlobBuilder","MozBlobBuilder","getBlob","$workerBlob","blobURL","URL","webkitURL","createObjectURL","WorkerClient","worker","$createWorkerFromOldConfig","$sendDeltaQueue","changeListener","onMessage","callbackId","callbacks","onmessage","topLevelNamespaces","classname","importScripts","nameToUrl","toUrl","normalizePath","$normalizePath","tlns","deltaQueue","$doc","attachToDocument","q","UIWorkerClient","emitSync","sender","messageBuffer","workerClient","processNext","setEmitSync","Main","PlaceHolder","others","mainClass","othersClass","$onUpdate","$others","undoStack","$undostack","$undoStackDepth","showOtherMarkers","othersActive","hideOtherMarkers","updateAnchors","lengthDiff","inMainRange","distanceFromStart","newPos","otherPos","updateMarkers","updateMarker","undosRequired","isSamePoint","ctrl","accel","selectionMode","isMultiSelect","mouseX","mouseY","screenAnchor","screenCursor","$enableJumpToDef","$blockSelectEnabled","addSelectionMarker","oldRange","removeSelectionMarker","tmpSel","rectSel","blockSelect","newCursor","removeSelectionMarkers","rectangularRangeBlock","updateSelectionMarkers","onSelectionInterval","selectMoreLines","selectMore","joinSelections","splitIntoLines","alignCursors","multiSelectCommands","getSelectionMarkers","$blockChangeEvents","$onAddRange","$onRemoveRange","mergeOverlappingRanges","lastRange","$initRangeList","toggleBlockSelection","includeEmptyLines","xBackwards","startOffsetX","endOffsetX","docEnd","yBackwards","MultiSelect","$multiselectOnSessionChange","$onMultiSelect","$onSingleSelect","onSessionChange","$checkMultiselectChange","altCursor","altDown","addAltCursorListeners","selectionMarkerCount","markerList","$onMultiSelectExec","inVirtualMode","keepOrder","$byLines","cmdResult","buf","skip","screenLead","toRemove","stopAtFirst","sameRowRanges","maxCol","minSpace","spaceOffsets","spaceOffset","lr","guessRange","$reAlignText","forceLeft","startW","textW","endW","isLeftAligned","isRightAligned","alignLeft","enableMultiselect","enableBlockSelect","FoldMode","foldingStartMarker","foldingStopMarker","indentationBlock","startLevel","openingBracketBlock","closingBracketBlock","LineWidgets","widgetManager","updateOnChange","renderWidgets","measureWidgets","_changedWidgets","$onChangeEditor","updateOnFold","_inDocument","removeLineWidget","$updateRows","noWidgets","$oldWidget","$registerLineWidget","addLineWidget","coverGutter","pixelHeight","$fold","onWidgetChanged","w1","getWidgetsAtRow","changedWidgets","fixedWidth","coverLine","oldWidget","gutterAnno","comparator","binarySearch","findAnnotations","onmousedown","edit","oldNode","createEditSession","Split","BELOW","BESIDE","$container","$splits","$editorCSS","$editors","$orientation","setSplits","$cEditor","$createEditor","$fontSize","getSplits","getEditor","getCurrentEditor","keybinding","$cloneSession","isUsed","setOrientation","editorWidth","editorHeight","toVal","deselectCurrent","clipboardToIE11Formatting","reselectPrevious","createRange","webkitUserSelect","MozUserSelect","msUserSelect","selectNodeContents","copyKey","removeRange","removeAllRanges","diff_match_patch","Diff_Timeout","Diff_EditCost","Match_Threshold","Match_Distance","Patch_DeleteThreshold","Patch_Margin","Match_MaxBits","DIFF_DELETE","Diff","diff_main","text1","text2","opt_checklines","opt_deadline","deadline","checklines","commonlength","diff_commonPrefix","commonprefix","diff_commonSuffix","commonsuffix","diffs","diff_compute_","diff_cleanupMerge","longtext","shorttext","hm","diff_halfMatch_","text1_a","text1_b","text2_a","text2_b","mid_common","diffs_a","diffs_b","diff_lineMode_","diff_bisect_","diff_linesToChars_","chars1","chars2","linearray","lineArray","diff_charsToLines_","diff_cleanupSemantic","pointer","count_delete","count_insert","text_delete","text_insert","subDiff","text1_length","text2_length","max_d","v_offset","v_length","v1","v2","front","k1start","k1end","k2start","k2end","k1","k1_offset","y1","x1","k2_offset","x2","diff_bisectSplit_","k2","y2","text1a","text2a","text1b","text2b","diffsb","lineHash","diff_linesToCharsMunge_","lineStart","lineArrayLength","pointermin","pointermax","pointermid","pointerstart","pointerend","diff_commonOverlap_","text_length","best","dmp","diff_halfMatchI_","best_longtext_a","best_longtext_b","best_shorttext_a","best_shorttext_b","best_common","prefixLength","suffixLength","hm1","hm2","equalities","equalitiesLength","lastEquality","length_insertions1","length_deletions1","length_insertions2","length_deletions2","diff_cleanupSemanticLossless","deletion","insertion","overlap_length1","overlap_length2","diff_cleanupSemanticScore_","one","two","char1","char2","nonAlphaNumeric1","nonAlphaNumericRegex_","nonAlphaNumeric2","whitespace1","whitespaceRegex_","whitespace2","lineBreak1","linebreakRegex_","lineBreak2","blankLine1","blanklineEndRegex_","blankLine2","blanklineStartRegex_","equality1","equality2","commonOffset","commonString","bestEquality1","bestEdit","bestEquality2","bestScore","diff_cleanupEfficiency","pre_ins","pre_del","post_ins","post_del","diff_xIndex","loc","last_chars1","last_chars2","diff_prettyHtml","pattern_amp","pattern_lt","pattern_gt","pattern_para","diff_text1","diff_text2","diff_levenshtein","levenshtein","insertions","deletions","diff_toDelta","diff_fromDelta","diffsLength","decodeURI","match_main","match_bitap_","match_alphabet_","match_bitapScore_","accuracy","proximity","score_threshold","best_loc","bin_min","bin_mid","matchmask","last_rd","bin_max","rd","charMatch","patch_addContext_","start2","length1","start1","length2","patch_make","opt_b","opt_c","patches","patch_obj","patchDiffLength","char_count1","char_count2","prepatch_text","postpatch_text","diff_type","diff_text","patch_deepCopy","patchesCopy","patchCopy","patch_apply","nullPadding","patch_addPadding","patch_splitMax","results","start_loc","expected_loc","end_loc","index1","paddingLength","patch_size","bigpatch","precontext","postcontext","patch_toText","patch_fromText","textline","textPointer","patchHeader","sign","canUseDOM","ExecutionEnvironment","canUseWorkers","canUseEventListeners","attachEvent","canUseViewport","screen","reactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","getDefaultProps","getDerivedStateFromError","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","TYPE_STATICS","getStatics","isMemo","ForwardRef","Memo","getOwnPropertyNames","getOwnPropertySymbols","objectPrototype","targetComponent","sourceComponent","inheritedComponent","targetStatics","sourceStatics","descriptor","$$typeof","A","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Lazy","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","_dereq_","scheduleDrain","draining","Mutation","MutationObserver","WebKitMutationObserver","called","observer","characterData","setImmediate","MessageChannel","scriptEl","channel","port1","port2","oldQueue","immediate","INTERNAL","REJECTED","FULFILLED","PENDING","resolver","safelyResolveThenable","QueueItem","onFulfilled","onRejected","callFulfilled","otherCallFulfilled","callRejected","otherCallRejected","unwrap","getThen","thenable","onSuccess","tryToUnwrap","tryCatch","iterable","resolved","allResolver","resolveFromAll","outValue","race","Constructor","getIDB","indexedDB","webkitIndexedDB","mozIndexedDB","OIndexedDB","msIndexedDB","idb","isIndexedDBValid","isSafari","openDatabase","hasFetch","IDBKeyRange","createBlob","builder","MSBlobBuilder","Promise$1","executeCallback","executeTwoCallbacks","errorCallback","normalizeKey","getCallback","DETECT_BLOB_SUPPORT_STORE","supportsBlobs","dbContexts","READ_ONLY","READ_WRITE","_binStringToArrayBuffer","bin","ArrayBuffer","_checkBlobSupportWithoutCaching","txn","objectStore","put","onabort","oncomplete","matchedChrome","matchedEdge","_checkBlobSupport","_deferReadiness","dbInfo","dbContext","deferredOperation","deferredOperations","dbReady","_advanceReadiness","_rejectReadiness","_getConnection","upgradeNeeded","createDbContext","db","dbArgs","openreq","onupgradeneeded","createObjectStore","storeName","oldVersion","newVersion","onsuccess","onversionchange","_getOriginalConnection","_getUpgradedConnection","_isUpgradeNeeded","defaultVersion","isNewStore","objectStoreNames","isDowngrade","isUpgrade","incVersion","_encodeBlob","onloadend","__local_forage_encoded_blob","readAsBinaryString","_decodeBlob","encodedBlob","atob","_isEncodedBlob","_fullyReady","_initReady","_dbInfo","_tryReconnect","forages","forage","createTransaction","retries","_initStorage","ready","initPromises","_defaultConfig","openCursor","iterationNumber","blobSupport","advanced","openKeyCursor","advance","dropInstance","currentConfig","dbPromise","dropObjectPromise","deleteObjectStore","_forage2","dropDBPromise","deleteDatabase","onblocked","asyncStorage","_driver","_support","isWebSQLValid","BASE_CHARS","BLOB_TYPE_PREFIX","BLOB_TYPE_PREFIX_REGEX","SERIALIZED_MARKER","SERIALIZED_MARKER_LENGTH","TYPE_ARRAYBUFFER","TYPE_BLOB","TYPE_INT8ARRAY","TYPE_UINT8ARRAY","TYPE_UINT8CLAMPEDARRAY","TYPE_INT16ARRAY","TYPE_INT32ARRAY","TYPE_UINT16ARRAY","TYPE_UINT32ARRAY","TYPE_FLOAT32ARRAY","TYPE_FLOAT64ARRAY","TYPE_SERIALIZED_MARKER_LENGTH","toString$1","stringToBuffer","serializedString","encoded1","encoded2","encoded3","encoded4","bufferLength","bufferToString","base64String","valueType","fileReader","readAsArrayBuffer","deserialize","blobType","matcher","Int8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint32Array","Float32Array","Float64Array","localforageSerializer","createDbTable","executeSql","_initStorage$1","dbInfoPromise","tryExecuteSql","sqlStatement","SYNTAX_ERR","getItem$1","iterate$1","_setItem","retriesLeft","originalValue","sqlError","QUOTA_ERR","setItem$1","removeItem$1","clear$1","length$1","keys$1","getAllStoreNames","storeNames","dropInstance$1","operationInfo","dropTable","operations","webSQLStorage","isLocalStorageValid","_getKeyPrefix","defaultConfig","keyPrefix","checkIfLocalStorageThrows","localStorageTestKey","_isLocalStorageUsable","_initStorage$2","clear$2","getItem$2","iterate$2","keyPrefixLength","key$2","keys$2","itemKey","length$2","removeItem$2","setItem$2","dropInstance$2","localStorageWrapper","sameValue","searchElement","DefinedDrivers","DriverSupport","DefaultDrivers","INDEXEDDB","WEBSQL","LOCALSTORAGE","DefaultDriverOrder","OptionalDriverMethods","LibraryMethods","DefaultConfig","driver","callWhenReady","localForageInstance","libraryMethod","_args","LocalForage","driverTypeKey","driverName","defineDriver","_config","_driverSet","_initDriver","_ready","_wrapLibraryMethodsWithReady","setDriver","driverObject","complianceError","driverMethods","driverMethodName","configureMissingMethods","methodNotImplementedFactory","methodName","optionalDriverMethod","setDriverSupport","support","getDriver","getDriverPromise","getSerializer","serializerPromise","drivers","supportedDrivers","_getSupportedDrivers","setDriverToConfig","extendSelfWithDriver","_extend","initDriver","currentDriverIndex","driverPromiseLoop","oldDriverSetDone","libraryMethodsAndProperties","createInstance","localforage_js","HASH_UNDEFINED","funcTag","genTag","reIsDeepProp","reIsPlainProp","reLeadingDot","rePropName","reEscapeChar","reIsHostCtor","freeGlobal","freeSelf","arrayProto","funcProto","objectProto","coreJsData","maskSrcKey","uid","IE_PROTO","funcToString","reIsNative","getNative","nativeCreate","symbolProto","symbolToString","Hash","entry","ListCache","MapCache","assocIndexOf","baseGet","isSymbol","isKey","stringToPath","toKey","baseIsNative","isObject","isFunction","isHostObject","toSource","getMapData","__data__","isKeyable","baseToString","memoized","Cache","isObjectLike","MAX_SAFE_INTEGER","argsTag","arrayTag","boolTag","dateTag","errorTag","mapTag","numberTag","objectTag","promiseTag","regexpTag","stringTag","symbolTag","weakMapTag","arrayBufferTag","dataViewTag","reIsUint","typedArrayTags","freeExports","freeModule","moduleExports","freeProcess","nodeUtil","nodeIsTypedArray","isTypedArray","arraySome","predicate","mapToArray","setToArray","nativeObjectToString","Buffer","propertyIsEnumerable","symToStringTag","toStringTag","nativeGetSymbols","nativeIsBuffer","isBuffer","DataView","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolValueOf","valueOf","SetCache","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","baseTimes","isIndex","eq","baseGetTag","isOwn","unmasked","getRawTag","baseIsArguments","baseIsEqual","bitmask","customizer","equalFunc","objIsArr","othIsArr","objTag","getTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","byteLength","byteOffset","isPartial","stacked","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","getAllKeys","objLength","othLength","skipCtor","objValue","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","isMasked","baseKeys","Ctor","isPrototype","arrLength","seen","arrValue","othIndex","keysFunc","symbolsFunc","arrayPush","baseGetAllKeys","getSymbols","pairs","LARGE_ARRAY_SIZE","resIndex","arrayFilter","symbol","ctorString","isLength","baseUnary","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","getShim","ReactPropTypes","bigint","any","arrayOf","instanceOf","objectOf","oneOf","exact","checkPropTypes","getAceInstance","editorOptions_1","ReactAce","onBeforeLoad","onValidate","wrapEnabled","refEditor","editorProps","debounceChangePeriod","isInShadow","navigateToFileEnd","updatePlaceholder","handleMarkers","availableOptions","handleOptions","oldProps","appliedClassesArray_1","oldClass","valueChanged","silent","cursorStart","handleScrollMargins","margins","currentMarkers","ace_builds_1","showPlaceholder","divStyle","updateRef","enableSnippets","enableBasicAutocompletion","enableLiveAutocompletion","DiffMatchPatch","DiffComponent","lhString","rhString","diffedLines","generateDiffedLines","setCodeMarkers","C","chunkType","firstChar","lastChar","linesToHighlight","codeEditorSettings","newMarkerSet","markerObj","split_1","acequire","diff_1","ace_1","SplitComponent","ext_split_1","splitEditor","defaultValueForEditor","valueForEditor","newAnnotations","newMarkers","sp","oldAnnotations","oldMarkers","value_1","value_2","value_3","aa","ba","da","ea","fa","ha","ia","ja","ka","la","ma","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","propertyName","sanitizeURL","removeEmptyString","qa","ra","sa","oa","pa","na","setAttributeNS","xlinkHref","ta","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","va","wa","xa","za","Aa","Ba","Ca","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","prepareStackTrace","Reflect","construct","Oa","Pa","_context","_payload","_init","Qa","Ra","Sa","Ua","_valueTracker","stopTracking","Ta","Va","Wa","Xa","_wrapperState","initialChecked","Ya","Za","$a","bb","eb","defaultSelected","fb","gb","hb","ib","jb","lb","mb","namespaceURI","MSApp","execUnsafeLocalFunction","nb","ob","aspectRatio","gridArea","lineClamp","pb","qb","rb","sb","menuitem","area","br","embed","hr","keygen","wbr","tb","ub","is","vb","wb","correspondingUseElement","xb","yb","zb","Ab","Bb","stateNode","Cb","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","Rb","Sb","Ub","alternate","flags","Vb","memoizedState","dehydrated","Wb","Yb","sibling","Xb","Zb","$b","unstable_scheduleCallback","ac","unstable_cancelCallback","bc","unstable_shouldYield","cc","unstable_requestPaint","unstable_now","dc","unstable_getCurrentPriorityLevel","unstable_ImmediatePriority","fc","unstable_UserBlockingPriority","gc","unstable_NormalPriority","hc","unstable_LowPriority","ic","unstable_IdlePriority","jc","kc","nc","clz32","oc","pc","LN2","qc","rc","tc","pendingLanes","suspendedLanes","pingedLanes","entangledLanes","entanglements","wc","xc","yc","zc","eventTimes","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","Qc","Rc","pointerId","Sc","blockedOn","domEventName","eventSystemFlags","targetContainers","Uc","Vc","priority","isDehydrated","Wc","Xc","dispatchEvent","Yc","Zc","$c","ad","bd","ReactCurrentBatchConfig","cd","ed","gd","hd","Tc","jd","kd","ld","nd","charCode","od","pd","qd","_reactName","_targetInst","isDefaultPrevented","isPropagationStopped","cancelBubble","persist","isPersistent","vd","wd","xd","eventPhase","bubbles","isTrusted","sd","td","view","ud","zd","screenX","screenY","yd","fromElement","toElement","movementX","movementY","Ad","Cd","Ed","Gd","elapsedTime","pseudoElement","Hd","Id","Kd","Ld","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Apps","Scroll","MozPrintableKey","Md","Nd","Alt","Control","Meta","Shift","Od","Pd","repeat","locale","Qd","Sd","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Ud","targetTouches","Wd","Xd","deltaZ","Yd","Zd","$d","ae","documentMode","be","ce","ee","fe","ge","he","ke","le","me","ne","oe","pe","qe","se","te","ue","ve","we","xe","ye","oninput","ze","detachEvent","Ae","Be","Ce","De","Ee","Ge","He","Ie","Je","Ke","compareDocumentPosition","Le","HTMLIFrameElement","Me","Ne","focusedElem","anchorNode","focusNode","focusOffset","Oe","Pe","Qe","Re","Se","Te","Ue","Ve","animationend","animationiteration","animationstart","transitionend","We","Xe","Ye","Ze","$e","af","bf","cf","df","ef","ff","gf","kf","lf","mf","Tb","D","nf","of","pf","qf","rf","J","sf","tf","parentWindow","uf","vf","Z","ya","ab","ca","ie","char","je","wf","xf","yf","zf","Af","Bf","Cf","Df","Ef","Ff","Gf","If","queueMicrotask","Hf","Jf","Kf","Lf","previousSibling","Mf","Nf","Of","Pf","Qf","Rf","Sf","Tf","E","G","Uf","H","Vf","Wf","Xf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Yf","Zf","$f","ag","getChildContext","bg","__reactInternalMemoizedMergedChildContext","cg","dg","eg","fg","gg","ig","jg","kg","mg","ng","og","pg","qg","_currentValue","rg","childLanes","sg","dependencies","firstContext","lanes","tg","ug","memoizedValue","vg","wg","xg","updateQueue","baseState","firstBaseUpdate","lastBaseUpdate","shared","interleaved","effects","yg","zg","eventTime","lane","Ag","Bg","Cg","Dg","Eg","Fg","Gg","Hg","Ig","Mg","isMounted","_reactInternals","enqueueSetState","Jg","Kg","Lg","enqueueReplaceState","enqueueForceUpdate","Ng","shouldComponentUpdate","isPureReactComponent","Og","updater","Pg","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","Qg","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","dh","eh","I","fh","gh","hh","ih","pendingProps","treeContext","retryLane","jh","kh","lh","mh","memoizedProps","nh","oh","ph","_owner","_stringRef","qh","rh","sh","th","uh","vh","wh","xh","yh","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","K","Jh","revealOrder","Kh","Lh","_workInProgressVersionPrimary","Mh","ReactCurrentDispatcher","Nh","Oh","M","N","Ph","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Yh","Zh","$h","baseQueue","ai","bi","ci","lastRenderedReducer","hasEagerState","eagerState","lastRenderedState","dispatch","di","ei","fi","gi","ii","ji","P","ki","lastEffect","stores","mi","ni","oi","pi","qi","ri","si","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Di","Ei","Fi","Gi","readContext","useCallback","useEffect","useImperativeHandle","useMemo","useReducer","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","unstable_isNewReconciler","identifierPrefix","Hi","Ii","Ti","Vi","Wi","Ji","Ki","Li","Mi","Ni","componentDidCatch","Oi","componentStack","Pi","pingCache","Qi","Ri","Si","Xi","tailMode","tail","Q","subtreeFlags","Yi","pendingContext","Zi","wasMultiple","suppressHydrationWarning","$i","rendering","aj","renderingStartTime","bj","cj","dj","ReactCurrentOwner","ej","fj","gj","hj","ij","jj","kj","lj","baseLanes","cachePool","mj","nj","oj","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","pj","qj","rj","sj","tj","uj","vj","wj","xj","yj","zj","_reactRetry","Aj","Bj","Cj","Dj","Ej","Gj","Hj","S","Ij","T","Jj","U","Kj","Lj","Nj","Oj","Pj","Qj","Rj","Sj","Tj","_reactRootContainer","Uj","V","Vj","Wj","Xj","onCommitFiberUnmount","Yj","Zj","ak","bk","ck","dk","ek","fk","gk","hk","ik","__reactInternalSnapshotBeforeUpdate","Uk","jk","kk","lk","mk","W","X","Y","nk","ok","pk","qk","rk","sk","tk","uk","vk","wk","xk","yk","zk","Ak","Bk","Ck","callbackNode","expirationTimes","expiredLanes","vc","callbackPriority","hg","Dk","Ek","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","finishedWork","finishedLanes","Ok","timeoutHandle","Pk","Qk","Rk","Sk","Tk","mutableReadLanes","Ac","Mj","onCommitFiberRoot","lc","onRecoverableError","Vk","onPostCommitFiberRoot","Wk","Xk","Zk","isReactComponent","pendingChildren","$k","mutableSourceEagerHydrationData","al","pendingSuspenseBoundaries","bl","cl","dl","fl","gl","hl","Fj","Yk","jl","kl","_internalRoot","ll","ml","ql","unmount","unstable_scheduleHydration","form","rl","usingClientEntryPoint","Events","sl","findFiberByHostInstance","bundleType","rendererPackageName","tl","rendererConfig","overrideHookState","overrideHookStateDeletePath","overrideHookStateRenamePath","overrideProps","overridePropsDeletePath","overridePropsRenamePath","setErrorHandler","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","reconcilerVersion","__REACT_DEVTOOLS_GLOBAL_HOOK__","isDisabled","supportsFiber","inject","createPortal","createRoot","findDOMNode","flushSync","hydrateRoot","hydratedSources","_getVersion","_source","unmountComponentAtNode","unstable_batchedUpdates","unstable_renderSubtreeIntoContainer","checkDCE","noTextChildNodes","possibleStandardNames","acceptcharset","accesskey","allowfullscreen","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","autosave","cellpadding","cellspacing","charset","classid","colspan","contenteditable","contextmenu","controlslist","crossorigin","dangerouslysetinnerhtml","defaultchecked","defaultvalue","enctype","formmethod","formaction","formenctype","formnovalidate","formtarget","frameborder","hreflang","htmlfor","httpequiv","innerhtml","inputmode","itemid","itemprop","itemref","itemscope","itemtype","keyparams","keytype","marginwidth","marginheight","maxlength","mediagroup","minlength","nomodule","novalidate","playsinline","radiogroup","readonly","referrerpolicy","rowspan","spellcheck","srcdoc","srclang","tabindex","typemustmatch","usemap","accentheight","alignmentbaseline","allowreorder","arabicform","attributename","attributetype","autoreverse","basefrequency","baselineshift","baseprofile","calcmode","capheight","clippath","clippathunits","cliprule","colorinterpolation","colorinterpolationfilters","colorprofile","colorrendering","contentscripttype","contentstyletype","diffuseconstant","dominantbaseline","edgemode","enablebackground","externalresourcesrequired","fillopacity","fillrule","filterres","filterunits","floodopacity","floodcolor","fontfamily","fontsize","fontsizeadjust","fontstretch","fontstyle","fontvariant","fontweight","glyphname","glyphorientationhorizontal","glyphorientationvertical","glyphref","gradienttransform","gradientunits","horizadvx","horizoriginx","imagerendering","kernelmatrix","kernelunitlength","keypoints","keysplines","keytimes","lengthadjust","letterspacing","lightingcolor","limitingconeangle","markerend","markerheight","markermid","markerstart","markerunits","markerwidth","maskcontentunits","maskunits","numoctaves","overlineposition","overlinethickness","paintorder","pathlength","patterncontentunits","patterntransform","patternunits","pointerevents","pointsatx","pointsaty","pointsatz","preservealpha","preserveaspectratio","primitiveunits","refx","refy","renderingintent","repeatcount","repeatdur","requiredextensions","requiredfeatures","shaperendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stopcolor","stopopacity","strikethroughposition","strikethroughthickness","strokedasharray","strokedashoffset","strokelinecap","strokelinejoin","strokemiterlimit","strokewidth","strokeopacity","suppresscontenteditablewarning","suppresshydrationwarning","surfacescale","systemlanguage","tablevalues","targetx","targety","textanchor","textdecoration","textlength","textrendering","underlineposition","underlinethickness","unicodebidi","unicoderange","unitsperem","valphabetic","vectoreffect","vertadvy","vertoriginx","vertoriginy","vhanging","videographic","viewbox","viewtarget","vmathematical","wordspacing","writingmode","xchannelselector","xheight","xlinkactuate","xlinkarcrole","xlinkhref","xlinkrole","xlinkshow","xlinktitle","xlinktype","xmlbase","xmllang","xmlnsxlink","xmlspace","ychannelselector","zoomandpan","onblur","onchange","oncontextmenu","ondoubleclick","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","onfocus","oninvalid","onkeydown","onkeypress","onkeyup","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onscroll","onsubmit","ontouchcancel","ontouchmove","onwheel","parseAttributes","reactKey","nodeClassNames","__spreadArray","_$0","$1","convertFromNode","Node","randomKey","randomString","condition","pre","childNodeList","parseChildren","nodeText","parentNodeName","nodeOnly","DOMParser","parseFromString","convertFromString","STATUS","FAILED","LOADED","LOADING","UNSUPPORTED","canUseDOMFlag","isSupportedEnvironment","supportsInlineSVG","cacheStore","handleError","handleLoad","cacheRequests","fetchOptions","contentType","fileType","currentSrc","hasCache","uniqueHash","letters","InlineSVG","load","preProcessor","baseURL","uniquifyIDs","replaceableAttributes","linkAttributes","attributes_1","updateSVGAttributes","processSVG","SVGSVGElement","originalDesc","descElement","originalTitle","titleElement","getNode","handleCacheQueue","inlineSrc","dataURI","innerRef","loader","elementProps","removeProperties","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","initialStatus","appearStatus","mountOnEnter","nextCallback","updateStatus","nextStatus","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","appearing","maybeNode","maybeAppearing","enterTimeout","safeSetState","onTransitionEnd","setNextCallback","doesNotHaveTimeoutOrListener","maybeNextCallback","noop","__self","__source","jsxs","_status","_result","toArray","PureComponent","_currentValue2","_threadCount","Consumer","_defaultValue","_globalName","createFactory","createRef","lazy","startTransition","unstable_act","sortIndex","startTime","expirationTime","priorityLevel","scheduling","isInputPending","unstable_Profiling","unstable_continueExecution","unstable_forceFrameRate","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_runWithPriority","unstable_wrapCallback","getRangeAt","extendStatics","__","__awaiter","thisArg","_arguments","fulfilled","rejected","__generator","sent","trys","ops","verb","__values","__read","ar","tsv2json","json2tsv","json2tsv_1","json2tsv_2","tsv2json_1","tsv2json_2","SPECIAL_CHAR_REGEX","assertString2DArray","extractFirstCell","tsvCharacters","escapedMode","lineIsOver","nextChar","tsv","_arrayLikeToArray","_arrayWithHoles","ReferenceError","_defineProperties","protoProps","staticProps","subClass","superClass","_iterableToArray","_nonIterableRest","excluded","sourceKeys","_setPrototypeOf","_slicedToArray","_s","_arr","_n","_taggedTemplateLiteral","defineProperties","_unsupportedIterableToArray","__webpack_module_cache__","__webpack_require__","cachedModule","__webpack_modules__","amdD","getter","leafPrototypes","getProto","def","hmd","nmd","paths","ownKeys","enumerableOnly","symbols","sym","_objectSpread2","getOwnPropertyDescriptors","_getPrototypeOf","_superPropBase","receiver","_inherits","_possibleConstructorReturn","assertThisInitialized","_createSuper","Derived","hasNativeReflectConstruct","sham","Proxy","Super","NewTarget","allClasses","containerRoot","containerAnchorOriginTopCenter","containerAnchorOriginBottomCenter","containerAnchorOriginTopRight","containerAnchorOriginBottomRight","containerAnchorOriginTopLeft","containerAnchorOriginBottomLeft","SNACKBAR_INDENTS","DEFAULTS","maxSnack","hideIconVariant","capitalise","omitContainerKeys","REASONS","TIMEOUT","CLICKAWAY","MAXSNACK","INSTRUCTED","numberOrNull","numberish","objectMerge","defaults","DIRECTION","getTransitionDirection","CheckIcon","WarningIcon","ErrorIcon","InfoIcon","iconStyles","marginInlineEnd","defaultIconVariants","extraArg","argums","React.createElement","contentRoot","lessPadding","variantSuccess","variantError","variantInfo","variantWarning","wrappedRoot","StyledSnackbar","SnackbarItem","propClasses","collapsed","setCollapsed","snack","ariaAttributes","otherClassName","iconVariant","otherAction","otherContent","otherTranComponent","otherTranProps","otherTranDuration","ignoredOnEnter","singleContent","singleAction","singleAriaAttributes","snackMessage","singleTranComponent","singleTranProps","singleTranDuration","singleSnackProps","otherAriaAttributes","cbName","requestClose","INSTRCUTED","singleClassName","collapse","rootDense","xsWidthMargin","SnackbarContainer","combinedClassname","SnackbarProvider","preventDuplicate","hasSpecifiedKey","merger","compareFunction","inQueue","inView","snacks","handleDisplaySnack","handleDismissOldest","processQueue","popped","shouldCloseAll","toBeClosed","handleCloseSnack","enqueueSnackbar","closeSnackbar","dontspread1","domRoot","_this$props$classes","categ","existingOfCategory","snackbars","handleExitedSnack","handleEnteredSnack","SnackbarContext","DefaultContext","IconContext","__rest","Tree2Element","tree","GenIcon","IconBase","conf","svgProps","computedSize","AiOutlineFieldBinary","TiSortNumerically","_rmap","_dmap","coils","disInputs","inputRegs","holdingRegs","address2alias","regType","alias2address","alias","nonDirect2direct","direct2nonDirect","Options","inputDisabled","showAliases","slave","onlyUseWriteMultipleRegisters","doNotUseWriteMultipleRegisters","inputDisplay","changeParam","multiDeviceId","readIPs","readPorts","nativeParam","_address","directAddresses","changeNative","ports","customPort","ips","sendTo","manufacturer","comName","getIpAddresses","inputs","optionsContainer","optionContainer","optionsSelect","optionsTextField","help","dimension","Checkbox","optionsCheckbox","Edit","Grid","optionsGrid","getInputsBlock","connectionInputs","generalInputs","tsvEditor","tsvEditorTextarea","setTsv","tsvResult","fields","FileCopy","itemValues","save","Save","Clear","Delete","disableWarnings","setDisableWarnings","DataCell","sortedItem","editMode","setEditMode","tableCheckbox","getDisable","$index","rooms","tableSelect","tableSelectContainer","tableTextFieldContainer","tableTextField","tableCell","nonEditMode","tableHeader","tableHeaderExtended","tableContainer","tsvDialogOpen","setTsvDialogOpen","extendedMode","setExtendedMode","deleteAllDialog","setDeleteAllDialog","deleteDialog","setDeleteDialog","sortedData","getSortedData","orderBy","addItem","Add","ImportExport","formulaDisabled","trueFound","falseFound","changeData","sorted","TableSortLabel","isAsc","onChangeOrder","deleteItem","disableDialogs","BaseRegisters","nativeField","addressToCanonical","newItem","getFields","sortedItem1","sortedItem2","sort1","sort2","deviceId","showExtendedModeSwitch","isShowExtendedModeSwitch","InputRegisters","lastItem","formula","cw","isScale","roles","HoldingRegisters","poll","wp","DiscreteInputs","Coils","tabs","TabOptions","TabDiscreteInputs","TabCoils","TabInputRegisters","TabHoldingRegisters","item1","item2","App","extendedProps","moreLoaded","getEnums","getSelectedTab","buttonSelected","tabContentIFrame","TabComponent","onLoadConfig","updateNativeValue","build","_theme","serviceWorker","registration"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/main.c7667180.js","mappings":";oCAUAA,EAAOC,QAVP,SAA2BC,EAAKC,IACnB,MAAPA,GAAeA,EAAMD,EAAIE,UAAQD,EAAMD,EAAIE,QAE/C,IAAK,IAAIC,EAAI,EAAGC,EAAO,IAAIC,MAAMJ,GAAME,EAAIF,EAAKE,IAC9CC,EAAKD,GAAKH,EAAIG,GAGhB,OAAOC,GAG2BN,EAAOC,QAAQO,YAAa,EAAMR,EAAOC,QAAiB,QAAID,EAAOC,8BCVzG,IAAIQ,EAAmB,EAAQ,MAM/BT,EAAOC,QAJP,SAA4BC,GAC1B,GAAIK,MAAMG,QAAQR,GAAM,OAAOO,EAAiBP,IAGbF,EAAOC,QAAQO,YAAa,EAAMR,EAAOC,QAAiB,QAAID,EAAOC,8BCN1G,IAAIU,EAA6B,EAAQ,KA2DzCX,EAAOC,QAzDP,SAAoCW,EAAGC,GACrC,IAAIC,EAAuB,qBAAXC,QAA0BH,EAAEG,OAAOC,WAAaJ,EAAE,cAElE,IAAKE,EAAI,CACP,GAAIP,MAAMG,QAAQE,KAAOE,EAAKH,EAA2BC,KAAOC,GAAkBD,GAAyB,kBAAbA,EAAER,OAAqB,CAC/GU,IAAIF,EAAIE,GACZ,IAAIT,EAAI,EAEJY,EA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hBc,CACZ,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACLnrC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,4CCER,IAhBa,CACX,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,opBCER,EAhBa,CACX,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,qBCER,EAhBmB,CACjB,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,WCER,EAhBe,CACb,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,8BCER,EAhBa,CACX,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,WCER,EAhBa,CACX,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,kBCER,EAhBmB,CACjB,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,WCER,EAhBa,CACX,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,WCER,EAhBe,CACb,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,WCER,EAhBc,CACZ,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,qBCER,EAhBmB,CACjB,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,WCER,EAhBc,CACZ,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,qBCER,EAhBiB,CACf,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL3wC,KAAM,UACNywC,KAAM,UACNC,KAAM,UACNC,KAAM,4CCER,IAhBkB,CAChB,GAAI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WACrBA,UAAUkzS,cAAct6D,MAAMr/O,MAAK,SAAA45S,GACjCA,EAAax2L","sources":["../node_modules/@babel/runtime/helpers/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js","../node_modules/@babel/runtime/helpers/interopRequireDefault.js","../node_modules/@babel/runtime/helpers/iterableToArray.js","../node_modules/@babel/runtime/helpers/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/toConsumableArray.js","../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","../node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","../node_modules/stylis/src/Utility.js","../node_modules/stylis/src/Tokenizer.js","../node_modules/stylis/src/Enum.js","../node_modules/stylis/src/Serializer.js","../node_modules/stylis/src/Prefixer.js","../node_modules/stylis/src/Parser.js","../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","../node_modules/stylis/src/Middleware.js","../node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js","../node_modules/@emotion/react/dist/emotion-element-cbed451f.browser.esm.js","../node_modules/@emotion/react/dist/emotion-react.browser.esm.js","../node_modules/@emotion/hash/dist/hash.browser.esm.js","../node_modules/@emotion/unitless/dist/unitless.browser.esm.js","../node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","../node_modules/@iobroker/adapter-react-v5/Components/Icon.js","../node_modules/@iobroker/adapter-react-v5/Components/Loader.js","../node_modules/@iobroker/adapter-react-v5/Components/Router.js","../node_modules/@iobroker/adapter-react-v5/Components/SaveCloseButtons.js","../node_modules/@iobroker/adapter-react-v5/Components/SelectWithIcon.js","../node_modules/@iobroker/adapter-react-v5/Components/TextWithIcon.js","../node_modules/@iobroker/adapter-react-v5/Components/Utils.js","../node_modules/@iobroker/adapter-react-v5/Connection.js","../node_modules/@iobroker/adapter-react-v5/Dialogs/Error.js","../node_modules/@iobroker/adapter-react-v5/GenericApp.js","../node_modules/@iobroker/adapter-react-v5/Prompt.js","../node_modules/@iobroker/adapter-react-v5/Theme.js","../node_modules/@iobroker/adapter-react-v5/i18n.js","../node_modules/@iobroker/adapter-react-v5/icons/IconAlias.js","../node_modules/@iobroker/adapter-react-v5/icons/IconExpert.js","../node_modules/@mui/base/ClickAwayListener/ClickAwayListener.js","../node_modules/@mui/base/ModalUnstyled/ModalManager.js","../node_modules/@mui/base/ModalUnstyled/modalUnstyledClasses.js","../node_modules/@mui/base/Portal/Portal.js","../node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js","../node_modules/@mui/base/utils/appendOwnerState.js","../node_modules/@mui/base/utils/isHostComponent.js","../node_modules/@mui/icons-material/Add.js","../node_modules/@mui/icons-material/Check.js","../node_modules/@mui/icons-material/Clear.js","../node_modules/@mui/icons-material/Close.js","../node_modules/@mui/icons-material/Delete.js","../node_modules/@mui/icons-material/Description.js","../node_modules/@mui/icons-material/Edit.js","../node_modules/@mui/icons-material/FileCopy.js","../node_modules/@mui/icons-material/ImportExport.js","../node_modules/@mui/icons-material/Info.js","../node_modules/@mui/icons-material/PersonOutlined.js","../node_modules/@mui/icons-material/Photo.js","../node_modules/@mui/icons-material/Router.js","../node_modules/@mui/icons-material/Save.js","../node_modules/@mui/icons-material/SettingsApplications.js","../node_modules/@mui/icons-material/SupervisedUserCircle.js","../node_modules/@mui/icons-material/Wifi.js","../node_modules/@mui/icons-material/utils/createSvgIcon.js","../node_modules/@mui/material/AppBar/AppBar.js","../node_modules/@mui/material/AppBar/appBarClasses.js","../node_modules/@mui/material/Backdrop/Backdrop.js","../node_modules/@mui/material/Backdrop/backdropClasses.js","../node_modules/@mui/system/esm/createBox.js","../node_modules/@mui/material/Box/Box.js","../node_modules/react-transition-group/esm/utils/ChildMapping.js","../node_modules/react-transition-group/esm/TransitionGroup.js","../node_modules/@mui/material/ButtonBase/Ripple.js","../node_modules/@mui/material/ButtonBase/TouchRipple.js","../node_modules/@mui/material/ButtonBase/ButtonBase.js","../node_modules/@mui/material/ButtonBase/buttonBaseClasses.js","../node_modules/@mui/material/ButtonBase/touchRippleClasses.js","../node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js","../node_modules/@mui/material/Button/Button.js","../node_modules/@mui/material/Button/buttonClasses.js","../node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.js","../node_modules/@mui/material/internal/svg-icons/CheckBox.js","../node_modules/@mui/material/internal/svg-icons/IndeterminateCheckBox.js","../node_modules/@mui/material/Checkbox/Checkbox.js","../node_modules/@mui/material/Checkbox/checkboxClasses.js","../node_modules/@mui/material/Collapse/Collapse.js","../node_modules/@mui/material/Collapse/collapseClasses.js","../node_modules/@mui/material/DialogActions/DialogActions.js","../node_modules/@mui/material/DialogActions/dialogActionsClasses.js","../node_modules/@mui/material/DialogContentText/DialogContentText.js","../node_modules/@mui/material/DialogContentText/dialogContentTextClasses.js","../node_modules/@mui/material/DialogContent/DialogContent.js","../node_modules/@mui/material/DialogContent/dialogContentClasses.js","../node_modules/@mui/material/DialogTitle/DialogTitle.js","../node_modules/@mui/material/DialogTitle/dialogTitleClasses.js","../node_modules/@mui/material/Dialog/Dialog.js","../node_modules/@mui/material/Dialog/DialogContext.js","../node_modules/@mui/material/Dialog/dialogClasses.js","../node_modules/@mui/material/Divider/dividerClasses.js","../node_modules/@mui/material/Fab/Fab.js","../node_modules/@mui/material/Fab/fabClasses.js","../node_modules/@mui/material/Fade/Fade.js","../node_modules/@mui/material/FilledInput/FilledInput.js","../node_modules/@mui/material/FilledInput/filledInputClasses.js","../node_modules/@mui/material/FormControlLabel/FormControlLabel.js","../node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../node_modules/@mui/material/FormControl/FormControl.js","../node_modules/@mui/material/FormControl/FormControlContext.js","../node_modules/@mui/material/FormControl/formControlClasses.js","../node_modules/@mui/material/FormControl/formControlState.js","../node_modules/@mui/material/FormControl/useFormControl.js","../node_modules/@mui/material/FormHelperText/FormHelperText.js","../node_modules/@mui/material/FormHelperText/formHelperTextClasses.js","../node_modules/@mui/material/FormLabel/FormLabel.js","../node_modules/@mui/material/FormLabel/formLabelClasses.js","../node_modules/@mui/material/GlobalStyles/GlobalStyles.js","../node_modules/@mui/material/Grid/GridContext.js","../node_modules/@mui/material/Grid/Grid.js","../node_modules/@mui/material/Grid/gridClasses.js","../node_modules/@mui/material/Grow/Grow.js","../node_modules/@mui/material/IconButton/IconButton.js","../node_modules/@mui/material/IconButton/iconButtonClasses.js","../node_modules/@mui/material/InputAdornment/InputAdornment.js","../node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../node_modules/@mui/material/InputBase/InputBase.js","../node_modules/@mui/material/InputBase/inputBaseClasses.js","../node_modules/@mui/material/InputBase/utils.js","../node_modules/@mui/material/InputLabel/InputLabel.js","../node_modules/@mui/material/InputLabel/inputLabelClasses.js","../node_modules/@mui/material/Input/Input.js","../node_modules/@mui/material/Input/inputClasses.js","../node_modules/@mui/material/ListItemIcon/listItemIconClasses.js","../node_modules/@mui/material/ListItemText/listItemTextClasses.js","../node_modules/@mui/material/List/List.js","../node_modules/@mui/material/List/ListContext.js","../node_modules/@mui/material/List/listClasses.js","../node_modules/@mui/material/MenuItem/MenuItem.js","../node_modules/@mui/material/MenuItem/menuItemClasses.js","../node_modules/@mui/material/utils/getScrollbarSize.js","../node_modules/@mui/material/MenuList/MenuList.js","../node_modules/@mui/material/Menu/Menu.js","../node_modules/@mui/material/Menu/menuClasses.js","../node_modules/@mui/base/TrapFocus/TrapFocus.js","../node_modules/@mui/base/ModalUnstyled/ModalUnstyled.js","../node_modules/@mui/material/Modal/Modal.js","../node_modules/@mui/material/NativeSelect/NativeSelectInput.js","../node_modules/@mui/material/NativeSelect/nativeSelectClasses.js","../node_modules/@mui/material/OutlinedInput/NotchedOutline.js","../node_modules/@mui/material/OutlinedInput/OutlinedInput.js","../node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js","../node_modules/@mui/material/Paper/Paper.js","../node_modules/@mui/material/Paper/paperClasses.js","../node_modules/@mui/material/Popover/Popover.js","../node_modules/@mui/material/Popover/popoverClasses.js","../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@popperjs/core/lib/utils/math.js","../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@popperjs/core/lib/enums.js","../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@popperjs/core/lib/utils/debounce.js","../node_modules/@popperjs/core/lib/createPopper.js","../node_modules/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@popperjs/core/lib/utils/getVariation.js","../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@popperjs/core/lib/modifiers/offset.js","../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@popperjs/core/lib/utils/within.js","../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@popperjs/core/lib/modifiers/hide.js","../node_modules/@popperjs/core/lib/popper.js","../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@popperjs/core/lib/modifiers/flip.js","../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@mui/base/PopperUnstyled/PopperUnstyled.js","../node_modules/@mui/material/Popper/Popper.js","../node_modules/@mui/material/Select/SelectInput.js","../node_modules/@mui/material/Select/Select.js","../node_modules/@mui/material/Select/selectClasses.js","../node_modules/@mui/material/Slide/Slide.js","../node_modules/@mui/material/SnackbarContent/SnackbarContent.js","../node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js","../node_modules/@mui/material/Snackbar/Snackbar.js","../node_modules/@mui/material/Snackbar/snackbarClasses.js","../node_modules/@mui/material/SvgIcon/SvgIcon.js","../node_modules/@mui/material/SvgIcon/svgIconClasses.js","../node_modules/@mui/material/TabScrollButton/TabScrollButton.js","../node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js","../node_modules/@mui/material/Tab/Tab.js","../node_modules/@mui/material/Tab/tabClasses.js","../node_modules/@mui/material/TableBody/TableBody.js","../node_modules/@mui/material/TableBody/tableBodyClasses.js","../node_modules/@mui/material/TableCell/TableCell.js","../node_modules/@mui/material/TableCell/tableCellClasses.js","../node_modules/@mui/material/TableHead/TableHead.js","../node_modules/@mui/material/TableHead/tableHeadClasses.js","../node_modules/@mui/material/TableRow/TableRow.js","../node_modules/@mui/material/TableRow/tableRowClasses.js","../node_modules/@mui/material/internal/svg-icons/ArrowDownward.js","../node_modules/@mui/material/TableSortLabel/TableSortLabel.js","../node_modules/@mui/material/TableSortLabel/tableSortLabelClasses.js","../node_modules/@mui/material/Table/Table.js","../node_modules/@mui/material/Table/TableContext.js","../node_modules/@mui/material/Table/Tablelvl2Context.js","../node_modules/@mui/material/Table/tableClasses.js","../node_modules/@mui/utils/esm/scrollLeft.js","../node_modules/@mui/material/internal/animate.js","../node_modules/@mui/material/Tabs/ScrollbarSize.js","../node_modules/@mui/material/Tabs/Tabs.js","../node_modules/@mui/material/Tabs/tabsClasses.js","../node_modules/@mui/material/TextField/TextField.js","../node_modules/@mui/material/TextField/textFieldClasses.js","../node_modules/@mui/material/Toolbar/Toolbar.js","../node_modules/@mui/material/Toolbar/toolbarClasses.js","../node_modules/@mui/material/Tooltip/Tooltip.js","../node_modules/@mui/material/Tooltip/tooltipClasses.js","../node_modules/@mui/material/Typography/Typography.js","../node_modules/@mui/material/Typography/typographyClasses.js","../node_modules/@mui/material/colors/blue.js","../node_modules/@mui/material/colors/common.js","../node_modules/@mui/material/colors/green.js","../node_modules/@mui/material/colors/grey.js","../node_modules/@mui/material/colors/pink.js","../node_modules/@mui/material/colors/deepPurple.js","../node_modules/@mui/material/colors/indigo.js","../node_modules/@mui/material/colors/cyan.js","../node_modules/@mui/material/colors/teal.js","../node_modules/@mui/material/colors/lightGreen.js","../node_modules/@mui/material/colors/lime.js","../node_modules/@mui/material/colors/yellow.js","../node_modules/@mui/material/colors/amber.js","../node_modules/@mui/material/colors/deepOrange.js","../node_modules/@mui/material/colors/brown.js","../node_modules/@mui/material/colors/blueGrey.js","../node_modules/@mui/material/colors/lightBlue.js","../node_modules/@mui/material/colors/orange.js","../node_modules/@mui/material/colors/purple.js","../node_modules/@mui/material/colors/red.js","../node_modules/@mui/material/Accordion/AccordionContext.js","../node_modules/@mui/material/Accordion/accordionClasses.js","../node_modules/@mui/material/Accordion/Accordion.js","../node_modules/@babel/runtime/helpers/esm/toArray.js","../node_modules/@mui/material/AccordionActions/accordionActionsClasses.js","../node_modules/@mui/material/AccordionActions/AccordionActions.js","../node_modules/@mui/material/AccordionDetails/accordionDetailsClasses.js","../node_modules/@mui/material/AccordionDetails/AccordionDetails.js","../node_modules/@mui/material/AccordionSummary/accordionSummaryClasses.js","../node_modules/@mui/material/AccordionSummary/AccordionSummary.js","../node_modules/@mui/material/Alert/alertClasses.js","../node_modules/@mui/material/Alert/Alert.js","../node_modules/@mui/material/internal/svg-icons/SuccessOutlined.js","../node_modules/@mui/material/internal/svg-icons/ReportProblemOutlined.js","../node_modules/@mui/material/internal/svg-icons/ErrorOutline.js","../node_modules/@mui/material/internal/svg-icons/InfoOutlined.js","../node_modules/@mui/material/internal/svg-icons/Close.js","../node_modules/@mui/material/AlertTitle/alertTitleClasses.js","../node_modules/@mui/material/AlertTitle/AlertTitle.js","../node_modules/@mui/base/AutocompleteUnstyled/useAutocomplete.js","../node_modules/@mui/material/ListSubheader/listSubheaderClasses.js","../node_modules/@mui/material/ListSubheader/ListSubheader.js","../node_modules/@mui/material/internal/svg-icons/Cancel.js","../node_modules/@mui/material/Chip/chipClasses.js","../node_modules/@mui/material/Chip/Chip.js","../node_modules/@mui/material/Autocomplete/autocompleteClasses.js","../node_modules/@mui/material/Autocomplete/Autocomplete.js","../node_modules/@mui/material/internal/svg-icons/Person.js","../node_modules/@mui/material/Avatar/avatarClasses.js","../node_modules/@mui/material/Avatar/Avatar.js","../node_modules/@mui/material/AvatarGroup/avatarGroupClasses.js","../node_modules/@mui/material/AvatarGroup/AvatarGroup.js","../node_modules/@mui/utils/esm/usePreviousProps.js","../node_modules/@mui/base/BadgeUnstyled/badgeUnstyledClasses.js","../node_modules/@mui/base/BadgeUnstyled/BadgeUnstyled.js","../node_modules/@mui/base/BadgeUnstyled/useBadge.js","../node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js","../node_modules/@mui/material/Badge/badgeClasses.js","../node_modules/@mui/material/Badge/Badge.js","../node_modules/@mui/material/BottomNavigation/bottomNavigationClasses.js","../node_modules/@mui/material/BottomNavigation/BottomNavigation.js","../node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses.js","../node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js","../node_modules/@mui/material/internal/svg-icons/MoreHoriz.js","../node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js","../node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js","../node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js","../node_modules/@mui/material/ButtonGroup/buttonGroupClasses.js","../node_modules/@mui/material/ButtonGroup/ButtonGroup.js","../node_modules/@mui/material/Card/cardClasses.js","../node_modules/@mui/material/Card/Card.js","../node_modules/@mui/material/CardActionArea/cardActionAreaClasses.js","../node_modules/@mui/material/CardActionArea/CardActionArea.js","../node_modules/@mui/material/CardActions/cardActionsClasses.js","../node_modules/@mui/material/CardActions/CardActions.js","../node_modules/@mui/material/CardContent/cardContentClasses.js","../node_modules/@mui/material/CardContent/CardContent.js","../node_modules/@mui/material/CardHeader/cardHeaderClasses.js","../node_modules/@mui/material/CardHeader/CardHeader.js","../node_modules/@mui/material/CardMedia/cardMediaClasses.js","../node_modules/@mui/material/CardMedia/CardMedia.js","../node_modules/@mui/material/CircularProgress/circularProgressClasses.js","../node_modules/@mui/material/CircularProgress/CircularProgress.js","../node_modules/@mui/material/Container/containerClasses.js","../node_modules/@mui/material/Container/Container.js","../node_modules/@mui/material/CssBaseline/CssBaseline.js","../node_modules/@mui/material/darkScrollbar/index.js","../node_modules/@mui/material/Divider/Divider.js","../node_modules/@mui/material/Drawer/drawerClasses.js","../node_modules/@mui/material/Drawer/Drawer.js","../node_modules/@mui/material/FormGroup/formGroupClasses.js","../node_modules/@mui/material/FormGroup/FormGroup.js","../node_modules/@mui/material/useMediaQuery/useMediaQuery.js","../node_modules/@mui/material/Hidden/withWidth.js","../node_modules/@mui/material/Hidden/HiddenJs.js","../node_modules/@mui/material/Hidden/hiddenCssClasses.js","../node_modules/@mui/material/Hidden/HiddenCss.js","../node_modules/@mui/material/Hidden/Hidden.js","../node_modules/@mui/material/Icon/iconClasses.js","../node_modules/@mui/material/Icon/Icon.js","../node_modules/@mui/material/ImageList/imageListClasses.js","../node_modules/@mui/material/ImageList/ImageListContext.js","../node_modules/@mui/material/ImageList/ImageList.js","../node_modules/@mui/material/ImageListItem/imageListItemClasses.js","../node_modules/@mui/material/ImageListItem/ImageListItem.js","../node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses.js","../node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js","../node_modules/@mui/material/LinearProgress/linearProgressClasses.js","../node_modules/@mui/material/LinearProgress/LinearProgress.js","../node_modules/@mui/material/Link/linkClasses.js","../node_modules/@mui/material/Link/Link.js","../node_modules/@mui/material/ListItem/listItemClasses.js","../node_modules/@mui/material/ListItemButton/listItemButtonClasses.js","../node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.js","../node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js","../node_modules/@mui/material/ListItem/ListItem.js","../node_modules/@mui/material/ListItemAvatar/listItemAvatarClasses.js","../node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js","../node_modules/@mui/material/ListItemButton/ListItemButton.js","../node_modules/@mui/material/ListItemIcon/ListItemIcon.js","../node_modules/@mui/material/ListItemText/ListItemText.js","../node_modules/@mui/material/MobileStepper/mobileStepperClasses.js","../node_modules/@mui/material/MobileStepper/MobileStepper.js","../node_modules/@mui/material/NativeSelect/NativeSelect.js","../node_modules/@mui/base/NoSsr/NoSsr.js","../node_modules/@mui/material/Pagination/paginationClasses.js","../node_modules/@mui/material/usePagination/usePagination.js","../node_modules/@mui/material/PaginationItem/paginationItemClasses.js","../node_modules/@mui/material/internal/svg-icons/FirstPage.js","../node_modules/@mui/material/internal/svg-icons/LastPage.js","../node_modules/@mui/material/internal/svg-icons/NavigateBefore.js","../node_modules/@mui/material/internal/svg-icons/NavigateNext.js","../node_modules/@mui/material/PaginationItem/PaginationItem.js","../node_modules/@mui/material/Pagination/Pagination.js","../node_modules/@mui/material/internal/svg-icons/RadioButtonUnchecked.js","../node_modules/@mui/material/internal/svg-icons/RadioButtonChecked.js","../node_modules/@mui/material/Radio/RadioButtonIcon.js","../node_modules/@mui/material/RadioGroup/RadioGroupContext.js","../node_modules/@mui/material/RadioGroup/useRadioGroup.js","../node_modules/@mui/material/Radio/radioClasses.js","../node_modules/@mui/material/Radio/Radio.js","../node_modules/@mui/material/RadioGroup/RadioGroup.js","../node_modules/@mui/utils/esm/visuallyHidden.js","../node_modules/@mui/material/internal/svg-icons/Star.js","../node_modules/@mui/material/internal/svg-icons/StarBorder.js","../node_modules/@mui/material/Rating/ratingClasses.js","../node_modules/@mui/material/Rating/Rating.js","../node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses.js","../node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js","../node_modules/@mui/material/Skeleton/skeletonClasses.js","../node_modules/@mui/material/Skeleton/Skeleton.js","../node_modules/@mui/base/SliderUnstyled/sliderUnstyledClasses.js","../node_modules/@mui/base/SliderUnstyled/SliderValueLabelUnstyled.js","../node_modules/@mui/base/SliderUnstyled/useSlider.js","../node_modules/@mui/base/SliderUnstyled/SliderUnstyled.js","../node_modules/@mui/material/Slider/Slider.js","../node_modules/@mui/material/Zoom/Zoom.js","../node_modules/@mui/material/SpeedDial/speedDialClasses.js","../node_modules/@mui/material/SpeedDial/SpeedDial.js","../node_modules/@mui/material/SpeedDialAction/speedDialActionClasses.js","../node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js","../node_modules/@mui/material/internal/svg-icons/Add.js","../node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses.js","../node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js","../node_modules/@mui/material/Stack/Stack.js","../node_modules/@mui/material/Stepper/StepperContext.js","../node_modules/@mui/material/Step/StepContext.js","../node_modules/@mui/material/Step/stepClasses.js","../node_modules/@mui/material/Step/Step.js","../node_modules/@mui/material/internal/svg-icons/CheckCircle.js","../node_modules/@mui/material/internal/svg-icons/Warning.js","../node_modules/@mui/material/StepIcon/stepIconClasses.js","../node_modules/@mui/material/StepIcon/StepIcon.js","../node_modules/@mui/material/StepLabel/stepLabelClasses.js","../node_modules/@mui/material/StepLabel/StepLabel.js","../node_modules/@mui/material/StepButton/stepButtonClasses.js","../node_modules/@mui/material/StepButton/StepButton.js","../node_modules/@mui/material/StepConnector/stepConnectorClasses.js","../node_modules/@mui/material/StepConnector/StepConnector.js","../node_modules/@mui/material/StepContent/stepContentClasses.js","../node_modules/@mui/material/StepContent/StepContent.js","../node_modules/@mui/material/Stepper/stepperClasses.js","../node_modules/@mui/material/Stepper/Stepper.js","../node_modules/@mui/material/SwipeableDrawer/SwipeArea.js","../node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js","../node_modules/@mui/material/Switch/switchClasses.js","../node_modules/@mui/material/Switch/Switch.js","../node_modules/@mui/material/TableContainer/tableContainerClasses.js","../node_modules/@mui/material/TableContainer/TableContainer.js","../node_modules/@mui/material/TableFooter/tableFooterClasses.js","../node_modules/@mui/material/TablePagination/TablePaginationActions.js","../node_modules/@mui/material/TableFooter/TableFooter.js","../node_modules/@mui/material/TablePagination/tablePaginationClasses.js","../node_modules/@mui/material/TablePagination/TablePagination.js","../node_modules/@mui/material/ToggleButton/toggleButtonClasses.js","../node_modules/@mui/material/ToggleButton/ToggleButton.js","../node_modules/@mui/material/ToggleButtonGroup/isValueSelected.js","../node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js","../node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js","../node_modules/@mui/material/useScrollTrigger/useScrollTrigger.js","../node_modules/@mui/material/internal/switchBaseClasses.js","../node_modules/@mui/material/internal/SwitchBase.js","../node_modules/@mui/material/internal/svg-icons/ArrowDropDown.js","../node_modules/@mui/material/internal/svg-icons/KeyboardArrowLeft.js","../node_modules/@mui/material/internal/svg-icons/KeyboardArrowRight.js","../node_modules/@mui/material/styles/createMixins.js","../node_modules/@mui/material/styles/createPalette.js","../node_modules/@mui/material/styles/shadows.js","../node_modules/@mui/material/styles/zIndex.js","../node_modules/@mui/material/styles/createTheme.js","../node_modules/@mui/material/styles/createTransitions.js","../node_modules/@mui/material/styles/createTypography.js","../node_modules/@mui/material/styles/cssUtils.js","../node_modules/@mui/material/styles/defaultTheme.js","../node_modules/@mui/material/styles/adaptV4Theme.js","../node_modules/@mui/system/esm/sx/sx.js","../node_modules/@mui/material/styles/createMuiStrictModeTheme.js","../node_modules/@mui/material/styles/createStyles.js","../node_modules/@mui/material/styles/responsiveFontSizes.js","../node_modules/@mui/material/styles/makeStyles.js","../node_modules/@mui/material/styles/withStyles.js","../node_modules/@mui/material/styles/withTheme.js","../node_modules/@mui/system/esm/cssVars/cssVarsParser.js","../node_modules/@mui/system/esm/cssVars/getInitColorSchemeScript.js","../node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js","../node_modules/@mui/system/esm/cssVars/createGetCssVar.js","../node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js","../node_modules/@mui/material/styles/experimental_extendTheme.js","../node_modules/@mui/material/styles/CssVarsProvider.js","../node_modules/@mui/system/esm/propsToClassKey.js","../node_modules/@mui/system/esm/createStyled.js","../node_modules/@mui/material/styles/styled.js","../node_modules/@mui/material/styles/useTheme.js","../node_modules/@mui/material/styles/useThemeProps.js","../node_modules/@mui/material/transitions/utils.js","../node_modules/@mui/material/utils/capitalize.js","../node_modules/@mui/material/utils/createChainedFunction.js","../node_modules/@mui/material/utils/createSvgIcon.js","../node_modules/@mui/material/utils/debounce.js","../node_modules/@mui/material/utils/deprecatedPropType.js","../node_modules/@mui/utils/esm/deprecatedPropType.js","../node_modules/@mui/material/utils/requirePropFactory.js","../node_modules/@mui/utils/esm/requirePropFactory.js","../node_modules/@mui/material/utils/setRef.js","../node_modules/@mui/material/utils/unsupportedProp.js","../node_modules/@mui/utils/esm/unsupportedProp.js","../node_modules/@mui/material/utils/index.js","../node_modules/@mui/material/utils/isMuiElement.js","../node_modules/@mui/utils/esm/isMuiElement.js","../node_modules/@mui/material/utils/ownerDocument.js","../node_modules/@mui/material/utils/ownerWindow.js","../node_modules/@mui/material/utils/useControlled.js","../node_modules/@mui/material/utils/useEnhancedEffect.js","../node_modules/@mui/material/utils/useEventCallback.js","../node_modules/@mui/material/utils/useForkRef.js","../node_modules/@mui/material/utils/useId.js","../node_modules/@mui/material/utils/useIsFocusVisible.js","../node_modules/@mui/private-classnames/ClassNameGenerator/ClassNameGenerator.js","../node_modules/@mui/private-classnames/composeClasses/composeClasses.js","../node_modules/@mui/private-classnames/generateUtilityClass/generateUtilityClass.js","../node_modules/@mui/private-classnames/generateUtilityClasses/generateUtilityClasses.js","../node_modules/@mui/private-theming/ThemeProvider/nested.js","../node_modules/@mui/private-theming/useTheme/ThemeContext.js","../node_modules/@mui/private-theming/useTheme/useTheme.js","../node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js","../node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js","../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.browser.esm.js","../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js","../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js","../node_modules/@mui/styled-engine/index.js","../node_modules/is-in-browser/dist/module.js","../node_modules/jss/dist/jss.esm.js","../node_modules/@mui/styles/mergeClasses/mergeClasses.js","../node_modules/@mui/styles/makeStyles/multiKeyStore.js","../node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js","../node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js","../node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js","../node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js","../node_modules/hyphenate-style-name/index.js","../node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js","../node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js","../node_modules/css-vendor/dist/css-vendor.esm.js","../node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js","../node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js","../node_modules/@mui/styles/StylesProvider/StylesProvider.js","../node_modules/@mui/styles/jssPreset/jssPreset.js","../node_modules/@mui/styles/makeStyles/indexCounter.js","../node_modules/@mui/styles/propsToClassKey/propsToClassKey.js","../node_modules/@mui/styles/getStylesCreator/getStylesCreator.js","../node_modules/@mui/styles/getStylesCreator/noopTheme.js","../node_modules/@mui/styles/makeStyles/makeStyles.js","../node_modules/@mui/styles/getThemeProps/getThemeProps.js","../node_modules/@mui/styles/withStyles/withStyles.js","../node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","../node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js","../node_modules/@mui/system/esm/breakpoints.js","../node_modules/@mui/system/esm/colorManipulator.js","../node_modules/@mui/system/esm/createTheme/createBreakpoints.js","../node_modules/@mui/system/esm/createTheme/createSpacing.js","../node_modules/@mui/system/esm/createTheme/shape.js","../node_modules/@mui/system/esm/createTheme/createTheme.js","../node_modules/@mui/system/esm/compose.js","../node_modules/@mui/system/esm/borders.js","../node_modules/@mui/system/esm/display.js","../node_modules/@mui/system/esm/flexbox.js","../node_modules/@mui/system/esm/grid.js","../node_modules/@mui/system/esm/positions.js","../node_modules/@mui/system/esm/palette.js","../node_modules/@mui/system/esm/shadows.js","../node_modules/@mui/system/esm/sizing.js","../node_modules/@mui/system/esm/typography.js","../node_modules/@mui/system/esm/getThemeValue.js","../node_modules/@mui/system/esm/merge.js","../node_modules/@mui/system/esm/spacing.js","../node_modules/@mui/system/esm/memoize.js","../node_modules/@mui/system/esm/style.js","../node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js","../node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js","../node_modules/@mui/system/esm/useTheme.js","../node_modules/@mui/system/esm/useThemeProps/getThemeProps.js","../node_modules/@mui/system/esm/useThemeProps/useThemeProps.js","../node_modules/@mui/system/esm/useThemeWithoutDefault.js","../node_modules/@mui/utils/esm/capitalize.js","../node_modules/@mui/utils/esm/createChainedFunction.js","../node_modules/@mui/utils/esm/debounce.js","../node_modules/@mui/utils/esm/deepmerge.js","../node_modules/@mui/utils/esm/formatMuiErrorMessage.js","../node_modules/@mui/utils/esm/getScrollbarSize.js","../node_modules/@mui/utils/esm/ownerDocument.js","../node_modules/@mui/utils/esm/ownerWindow.js","../node_modules/@mui/utils/esm/resolveProps.js","../node_modules/@mui/utils/esm/setRef.js","../node_modules/@mui/utils/esm/useControlled.js","../node_modules/@mui/utils/esm/useEnhancedEffect.js","../node_modules/@mui/utils/esm/useEventCallback.js","../node_modules/@mui/utils/esm/useForkRef.js","../node_modules/@mui/utils/esm/useId.js","../node_modules/@mui/utils/esm/useIsFocusVisible.js","../node_modules/@sentry/src/syncpromise.ts","../node_modules/@sentry/src/scope.ts","../node_modules/@sentry/src/flags.ts","../node_modules/@sentry/src/session.ts","../node_modules/@sentry/src/hub.ts","../node_modules/@sentry/src/index.ts","../node_modules/@sentry/src/version.ts","../node_modules/@sentry/src/polyfill.ts","../node_modules/@sentry/src/error.ts","../node_modules/@sentry/src/dsn.ts","../node_modules/@sentry/src/integration.ts","../node_modules/@sentry/src/baseclient.ts","../node_modules/@sentry/src/api.ts","../node_modules/@sentry/src/envelope.ts","../node_modules/@sentry/src/request.ts","../node_modules/@sentry/src/transports/noop.ts","../node_modules/@sentry/src/basebackend.ts","../node_modules/src/stack-parsers.ts","../node_modules/src/eventbuilder.ts","../node_modules/@sentry/src/promisebuffer.ts","../node_modules/@sentry/src/ratelimit.ts","../node_modules/@sentry/src/status.ts","../node_modules/@sentry/src/transports/base.ts","../node_modules/src/flags.ts","../node_modules/src/transports/utils.ts","../node_modules/@sentry/src/async.ts","../node_modules/src/transports/new-fetch.ts","../node_modules/src/transports/base.ts","../node_modules/@sentry/src/clientreport.ts","../node_modules/src/transports/fetch.ts","../node_modules/src/transports/new-xhr.ts","../node_modules/src/transports/xhr.ts","../node_modules/src/backend.ts","../node_modules/src/helpers.ts","../node_modules/@sentry/src/instrument.ts","../node_modules/src/integrations/breadcrumbs.ts","../node_modules/src/client.ts","../node_modules/@sentry/src/integrations/inboundfilters.ts","../node_modules/@sentry/src/integrations/functiontostring.ts","../node_modules/src/integrations/trycatch.ts","../node_modules/src/integrations/globalhandlers.ts","../node_modules/src/integrations/linkederrors.ts","../node_modules/src/integrations/dedupe.ts","../node_modules/src/integrations/useragent.ts","../node_modules/src/sdk.ts","../node_modules/@sentry/src/sdk.ts","../node_modules/src/version.ts","../node_modules/src/index.ts","../node_modules/src/angular.ts","../node_modules/src/captureconsole.ts","../node_modules/src/debug.ts","../node_modules/src/dedupe.ts","../node_modules/src/ember.ts","../node_modules/src/extraerrordata.ts","../node_modules/src/offline.ts","../node_modules/src/reportingobserver.ts","../node_modules/@sentry/src/path.ts","../node_modules/src/rewriteframes.ts","../node_modules/src/sessiontiming.ts","../node_modules/src/transaction.ts","../node_modules/src/vue.ts","../node_modules/@sentry/src/severity.ts","../node_modules/@sentry/src/browser.ts","../node_modules/@sentry/src/global.ts","../node_modules/@sentry/src/is.ts","../node_modules/@sentry/src/logger.ts","../node_modules/@sentry/src/misc.ts","../node_modules/@sentry/src/node.ts","../node_modules/@sentry/src/env.ts","../node_modules/@sentry/src/normalize.ts","../node_modules/@sentry/src/memo.ts","../node_modules/@sentry/src/object.ts","../node_modules/@sentry/src/enums.ts","../node_modules/@sentry/src/stacktrace.ts","../node_modules/@sentry/src/string.ts","../node_modules/@sentry/src/supports.ts","../node_modules/@sentry/src/time.ts","../node_modules/ace-builds/src-noconflict/ace.js","../node_modules/ace-builds/src-noconflict/ext-split.js","../node_modules/clsx/dist/clsx.m.js","../node_modules/copy-to-clipboard/index.js","../node_modules/diff-match-patch/index.js","../node_modules/exenv/index.js","../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/hoist-non-react-statics/node_modules/react-is/index.js","../node_modules/localforage/dist/localforage.js","../node_modules/lodash.get/index.js","../node_modules/lodash.isequal/index.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/react-ace/src/ace.tsx","../node_modules/react-ace/src/diff.tsx","../node_modules/react-ace/src/editorOptions.ts","../node_modules/react-ace/src/index.ts","../node_modules/react-ace/src/split.tsx","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/react-dom/index.js","../node_modules/react-from-dom/src/helpers.ts","../node_modules/react-from-dom/src/index.ts","../node_modules/react-inlinesvg/src/helpers.ts","../node_modules/react-inlinesvg/src/index.tsx","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/index.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/react/jsx-runtime.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/index.js","../node_modules/toggle-selection/index.js","../node_modules/tslib/tslib.es6.js","../node_modules/tsv-json/dist/source/index.js","../node_modules/tsv-json/dist/source/json2tsv.js","../node_modules/tsv-json/dist/source/tsv2json.js","webpack://modebus-admin/./node_modules/@iobroker/adapter-react-v5/Components/loader.css?a200","webpack://modebus-admin/./node_modules/@iobroker/adapter-react-v5/index.css?0643","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../webpack/bootstrap","../webpack/runtime/amd define","../webpack/runtime/compat get default export","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/global","../webpack/runtime/harmony module decorator","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/superPropBase.js","../node_modules/@babel/runtime/helpers/esm/get.js","../node_modules/@babel/runtime/helpers/esm/inherits.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","../node_modules/@babel/runtime/helpers/esm/createSuper.js","../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","../node_modules/notistack/src/SnackbarContext.ts","../node_modules/notistack/src/utils/constants.ts","../node_modules/notistack/src/SnackbarContent/SnackbarContent.tsx","../node_modules/notistack/src/SnackbarItem/SnackbarItem.util.ts","../node_modules/notistack/src/utils/defaultIconVariants.tsx","../node_modules/notistack/src/utils/createChainedFunction.js","../node_modules/notistack/src/utils/useEventCallback.js","../node_modules/notistack/src/SnackbarItem/Snackbar.js","../node_modules/notistack/src/SnackbarItem/SnackbarItem.tsx","../node_modules/notistack/src/SnackbarContainer.tsx","../node_modules/notistack/src/SnackbarProvider.tsx","../node_modules/react-icons/lib/esm/iconContext.js","../node_modules/react-icons/lib/esm/iconBase.js","../node_modules/react-icons/ai/index.esm.js","../node_modules/react-icons/ti/index.esm.js","Components/Utils.js","Tabs/Options.js","Components/TsvDialog.js","../node_modules/notistack/src/useSnackbar.ts","Components/DeleteAllDialog.js","Components/DeleteDialog.js","Components/RegisterTable.js","Tabs/BaseRegisters.js","Tabs/InputRegisters.js","Tabs/HoldingRegisters.js","Tabs/DiscreteInputs.js","Tabs/Coils.js","App.js","serviceWorker.js","index.js"],"sourcesContent":["function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}\n\nmodule.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\n\nvar iterableToArray = require(\"./iterableToArray.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode && tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3)\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\n","import {IMPORT, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {string}\n */\nexport function prefix (value, length) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// flex, flex-direction\n\t\tcase 6828: case 4268:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// (s)ticky?\n\t\t\tif (charat(value, length + 1) !== 115)\n\t\t\t\tbreak\n\t\t// display: (flex|inline-flex)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n\t\t\t\t// stic(k)y\n\t\t\t\tcase 107:\n\t\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\t\t// (inline-)?fl(e)x\n\t\t\t\tcase 101:\n\t\t\t\t\treturn replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t}\n\t\t\tbreak\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t}\n\n\t\t\treturn WEBKIT + value + MS + value + value\n\t}\n\n\treturn value\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && characters.charCodeAt(length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset:\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule) {\n\t\t\t\t\t\t\t\t\t// d m s\n\t\t\t\t\t\t\t\t\tcase 100: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, stringify, COMMENT, rulesheet, middleware, prefixer, serialize, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar last = function last(arr) {\n return arr.length ? arr[arr.length - 1] : null;\n}; // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244\n\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\nvar ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';\n\nvar isIgnoringComment = function isIgnoringComment(element) {\n return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;\n};\n\nvar createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {\n return function (element, index, children) {\n if (element.type !== 'rule') return;\n var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);\n\n if (unsafePseudoClasses && cache.compat !== true) {\n var prevElement = index > 0 ? children[index - 1] : null;\n\n if (prevElement && isIgnoringComment(last(prevElement.children))) {\n return;\n }\n\n unsafePseudoClasses.forEach(function (unsafePseudoClass) {\n console.error(\"The pseudo class \\\"\" + unsafePseudoClass + \"\\\" is potentially unsafe when doing server-side rendering. Try changing it to \\\"\" + unsafePseudoClass.split('-child')[0] + \"-of-type\\\".\");\n });\n }\n };\n};\n\nvar isImportRule = function isImportRule(element) {\n return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;\n};\n\nvar isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {\n for (var i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true;\n }\n }\n\n return false;\n}; // use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\n\n\nvar nullifyElement = function nullifyElement(element) {\n element.type = '';\n element.value = '';\n element[\"return\"] = '';\n element.children = '';\n element.props = '';\n};\n\nvar incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {\n if (!isImportRule(element)) {\n return;\n }\n\n if (element.parent) {\n console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\");\n nullifyElement(element);\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\");\n nullifyElement(element);\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" + \"If multiple caches share the same key they might \\\"fight\\\" for each other's style elements.\");\n }\n\n if ( key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\"Emotion key must only contain lower case alphabetical characters and - but \\\"\" + key + \"\\\" was passed\");\n }\n }\n\n var inserted = {}; // $FlowFixMe\n\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' '); // $FlowFixMe\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat;\n }\n\n }), incorrectImportAlarm);\n }\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {\n if (!element.root) {\n if (element[\"return\"]) {\n currentSheet.insert(element[\"return\"]);\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(element.value + \"{}\");\n }\n }\n } : rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {\n currentSheet = {\n insert: function insert(rule) {\n sheet.insert(rule + serialized.map);\n }\n };\n }\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport default createCache;\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length)\n\t\t\t\t\tbreak\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;\n","import * as React from 'react';\nimport { createContext, useContext, forwardRef, createElement, Fragment } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nvar EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nif (process.env.NODE_ENV !== 'production') {\n EmotionCacheContext.displayName = 'EmotionCacheContext';\n}\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n // $FlowFixMe\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'EmotionThemeContext';\n}\n\nvar useTheme = function useTheme() {\n return useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {\n throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');\n }\n\n return mergedTheme;\n }\n\n if (process.env.NODE_ENV !== 'production' && (theme == null || typeof theme !== 'object' || Array.isArray(theme))) {\n throw new Error('[ThemeProvider] Please make your theme prop a plain object');\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = useContext(ThemeContext);\n return /*#__PURE__*/createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n }; // $FlowFixMe\n\n\n var WithTheme = /*#__PURE__*/forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar getLastPart = function getLastPart(functionName) {\n // The match may be something like 'Object.createEmotionProps' or\n // 'Loader.prototype.render'\n var parts = functionName.split('.');\n return parts[parts.length - 1];\n};\n\nvar getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {\n // V8\n var match = /^\\s+at\\s+([A-Za-z0-9$.]+)\\s/.exec(line);\n if (match) return getLastPart(match[1]); // Safari / Firefox\n\n match = /^([A-Za-z0-9$.]+)@/.exec(line);\n if (match) return getLastPart(match[1]);\n return undefined;\n};\n\nvar internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS\n// identifiers, thus we only need to replace what is a valid character for JS,\n// but not for CSS.\n\nvar sanitizeIdentifier = function sanitizeIdentifier(identifier) {\n return identifier.replace(/\\$/g, '-');\n};\n\nvar getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {\n if (!stackTrace) return undefined;\n var lines = stackTrace.split('\\n');\n\n for (var i = 0; i < lines.length; i++) {\n var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just \"Error\"\n\n if (!functionName) continue; // If we reach one of these, we have gone too far and should quit\n\n if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an\n // uppercase letter\n\n if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);\n }\n\n return undefined;\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : function useInsertionEffect(create) {\n create();\n};\nfunction useInsertionEffectMaybe(create) {\n\n useInsertionEffect(create);\n}\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration\n props.css.indexOf(':') !== -1) {\n throw new Error(\"Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`\" + props.css + \"`\");\n }\n\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when\n // the label hasn't already been computed\n\n if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {\n var label = getLabelFromStackTrace(new Error().stack);\n if (label) newProps[labelPropName] = label;\n }\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n var rules = useInsertionEffectMaybe(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, useContext(ThemeContext));\n\n if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {\n var labelFromStack = props[labelPropName];\n\n if (labelFromStack) {\n serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);\n }\n }\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {\n newProps[key] = props[key];\n }\n }\n\n newProps.ref = ref;\n newProps.className = className;\n return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/createElement(WrappedComponent, newProps));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal';\n}\n\nexport { CacheProvider as C, Emotion as E, ThemeContext as T, __unsafe_useEmotionCache as _, useTheme as a, ThemeProvider as b, createEmotionProps as c, withTheme as d, hasOwnProperty as h, useInsertionEffectMaybe as u, withEmotionCache as w };\n","import * as React from 'react';\nimport { createElement, useLayoutEffect, useContext, useRef, Fragment } from 'react';\nimport '@emotion/cache';\nimport { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, u as useInsertionEffectMaybe } from './emotion-element-cbed451f.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, b as ThemeProvider, _ as __unsafe_useEmotionCache, a as useTheme, w as withEmotionCache, d as withTheme } from './emotion-element-cbed451f.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport 'hoist-non-react-statics';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\n\nvar pkg = {\n\tname: \"@emotion/react\",\n\tversion: \"11.9.0\",\n\tmain: \"dist/emotion-react.cjs.js\",\n\tmodule: \"dist/emotion-react.esm.js\",\n\tbrowser: {\n\t\t\"./dist/emotion-react.cjs.js\": \"./dist/emotion-react.browser.cjs.js\",\n\t\t\"./dist/emotion-react.esm.js\": \"./dist/emotion-react.browser.esm.js\"\n\t},\n\ttypes: \"types/index.d.ts\",\n\tfiles: [\n\t\t\"src\",\n\t\t\"dist\",\n\t\t\"jsx-runtime\",\n\t\t\"jsx-dev-runtime\",\n\t\t\"_isolated-hnrs\",\n\t\t\"types/*.d.ts\",\n\t\t\"macro.js\",\n\t\t\"macro.d.ts\",\n\t\t\"macro.js.flow\"\n\t],\n\tsideEffects: false,\n\tauthor: \"Emotion Contributors\",\n\tlicense: \"MIT\",\n\tscripts: {\n\t\t\"test:typescript\": \"dtslint types\"\n\t},\n\tdependencies: {\n\t\t\"@babel/runtime\": \"^7.13.10\",\n\t\t\"@emotion/babel-plugin\": \"^11.7.1\",\n\t\t\"@emotion/cache\": \"^11.7.1\",\n\t\t\"@emotion/serialize\": \"^1.0.3\",\n\t\t\"@emotion/utils\": \"^1.1.0\",\n\t\t\"@emotion/weak-memoize\": \"^0.2.5\",\n\t\t\"hoist-non-react-statics\": \"^3.3.1\"\n\t},\n\tpeerDependencies: {\n\t\t\"@babel/core\": \"^7.0.0\",\n\t\treact: \">=16.8.0\"\n\t},\n\tpeerDependenciesMeta: {\n\t\t\"@babel/core\": {\n\t\t\toptional: true\n\t\t},\n\t\t\"@types/react\": {\n\t\t\toptional: true\n\t\t}\n\t},\n\tdevDependencies: {\n\t\t\"@babel/core\": \"^7.13.10\",\n\t\t\"@emotion/css\": \"11.9.0\",\n\t\t\"@emotion/css-prettifier\": \"1.0.1\",\n\t\t\"@emotion/server\": \"11.4.0\",\n\t\t\"@emotion/styled\": \"11.8.1\",\n\t\t\"@types/react\": \"^16.9.11\",\n\t\tdtslint: \"^4.2.1\",\n\t\t\"html-tag-names\": \"^1.1.2\",\n\t\treact: \"16.14.0\",\n\t\t\"svg-tag-names\": \"^1.1.1\",\n\t\ttypescript: \"^4.5.5\"\n\t},\n\trepository: \"https://github.com/emotion-js/emotion/tree/main/packages/react\",\n\tpublishConfig: {\n\t\taccess: \"public\"\n\t},\n\t\"umd:main\": \"dist/emotion-react.umd.min.js\",\n\tpreconstruct: {\n\t\tentrypoints: [\n\t\t\t\"./index.js\",\n\t\t\t\"./jsx-runtime.js\",\n\t\t\t\"./jsx-dev-runtime.js\",\n\t\t\t\"./_isolated-hnrs.js\"\n\t\t],\n\t\tumdName: \"emotionReact\"\n\t}\n};\n\nvar jsx = function jsx(type, props) {\n var args = arguments;\n\n if (props == null || !hasOwnProperty.call(props, 'css')) {\n // $FlowFixMe\n return createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n } // $FlowFixMe\n\n\n return createElement.apply(null, createElementArgArray);\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : useLayoutEffect;\nvar warnedAboutCssPropForGlobal = false; // maintain place over rerenders.\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is\n // probably using the custom createElement which\n // means it will be turned into a className prop\n // $FlowFixMe I don't really want to add it to the type since it shouldn't be used\n props.className || props.css)) {\n console.error(\"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?\");\n warnedAboutCssPropForGlobal = true;\n }\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = useRef();\n useInsertionEffect(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false; // $FlowFixMe\n\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffect(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Global.displayName = 'EmotionGlobal';\n}\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nvar keyframes = function keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name; // $FlowFixMe\n\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {\n console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component.');\n }\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n var rules = useInsertionEffectMaybe(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n var res = insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nif (process.env.NODE_ENV !== 'production') {\n ClassNames.displayName = 'EmotionClassNames';\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var isBrowser = \"object\" !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock\n\n var isJest = typeof jest !== 'undefined';\n\n if (isBrowser && !isJest) {\n // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later\n var globalContext = // $FlowIgnore\n typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef\n : isBrowser ? window : global;\n var globalKey = \"__EMOTION_REACT_\" + pkg.version.split('.')[0] + \"__\";\n\n if (globalContext[globalKey]) {\n console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');\n }\n\n globalContext[globalKey] = true;\n }\n}\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport default murmur2;\n","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport default unitlessKeys;\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(var|attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');\n }\n\n return interpolation;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };\n","var isBrowser = \"object\" !== 'undefined';\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n var maybeStyles = cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport SVG from 'react-inlinesvg';\n\nimport IconSystem from '@mui/icons-material/SettingsApplications';\nimport IconPhoto from '@mui/icons-material/Photo';\nimport IconGroup from '@mui/icons-material/SupervisedUserCircle';\nimport IconUser from '@mui/icons-material/PersonOutlined';\nimport IconHost from '@mui/icons-material/Router';\nimport IconConnection from '@mui/icons-material/Wifi';\nimport IconInfo from '@mui/icons-material/Info';\nimport IconMeta from '@mui/icons-material/Description';\nimport IconAlias from '../icons/IconAlias';\n\nimport Utils from './Utils';\n\nexport function getSystemIcon(obj) {\n let icon;\n const id = obj?._id;\n\n if (!id) {\n return null;\n }\n\n // system or design have special icons\n if (id.startsWith('_design/') || (id === 'system')) {\n icon = ;\n } else if (id === '0_userdata' || id === '0_userdata.0') {\n icon = ;\n } else if (id === 'alias' || id === 'alias.0') {\n icon = ;\n } else if (id === 'system.adapter') {\n icon = ;\n } else if (id === 'system.group') {\n icon = ;\n } else if (id === 'system.user') {\n icon = ;\n } else if (id === 'system.host') {\n icon = ;\n } else if (id.endsWith('.connection') || id.endsWith('.connected')) {\n icon = ;\n } else if (id.endsWith('.info')) {\n icon = ;\n } else if (obj?.type === 'meta') {\n icon = ;\n }\n\n return icon || null;\n}\n\nexport function getSelectIdIcon(obj, imagePrefix) {\n imagePrefix = imagePrefix || '.';//http://localhost:8081';\n let src = '';\n const common = obj?.common;\n\n if (common) {\n const cIcon = common.icon;\n if (cIcon) {\n if (!cIcon.startsWith('data:image/')) {\n if (cIcon.includes('.')) {\n let instance;\n if (obj.type === 'instance' || obj.type === 'adapter') {\n src = imagePrefix + '/adapter/' + common.name + '/' + cIcon;\n } else if (obj._id && obj._id.startsWith('system.adapter.')) {\n instance = obj._id.split('.', 3);\n if (cIcon[0] === '/') {\n instance[2] += cIcon;\n } else {\n instance[2] += '/' + cIcon;\n }\n src = imagePrefix + '/adapter/' + instance[2];\n } else {\n instance = obj._id.split('.', 2);\n if (cIcon[0] === '/') {\n instance[0] += cIcon;\n } else {\n instance[0] += '/' + cIcon;\n }\n src = imagePrefix + '/adapter/' + instance[0];\n }\n } else {\n return null;\n }\n } else {\n // base 64 image\n src = cIcon;\n }\n }\n }\n\n return src || null;\n}\n\nclass Icon extends React.Component {\n render() {\n if (this.props.src) {\n if (typeof this.props.src === 'string') {\n if (this.props.src.length < 3) {\n return {this.props.src}; // utf-8 char\n } else {\n if (this.props.src.startsWith('data:image/svg')) {\n return ;\n } else {\n return \"\";\n }\n }\n } else {\n return this.props.src;\n }\n } else {\n return null;\n }\n }\n}\n\nIcon.propTypes = {\n color: PropTypes.string,\n title: PropTypes.string,\n src: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,\n className: PropTypes.string,\n imagePrefix: PropTypes.string,\n style: PropTypes.object,\n styleUTF8: PropTypes.object,\n};\n\nexport default Icon;","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\nimport './loader.css'\n\nconst styles = theme => ({\n\n});\n\n/**\n * @typedef {object} LoaderProps\n * @property {string} [key] The key to identify this component.\n * @property {number} [size] The size in pixels of this loader.\n * @property {string} [themeType] The chosen theme type.\n * @property {string} [theme] The chosen theme.\n *\n * @extends {React.Component}\n */\nclass Loader extends React.Component {\n render() {\n const size = this.props.size || 234;\n const theme = this.props.themeType || this.props.theme || 'light';\n return
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
;\n }\n}\n\nLoader.propTypes = {\n size: PropTypes.number,\n themeType: PropTypes.string\n};\n\n/** @type {typeof Loader} */\nconst _export = withStyles(styles)(Loader);\nexport default _export;","// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined\nimport React from 'react';\n\n/**\n * @template P Type of the properties object.\n * @template S Type of the internal state object.\n * @extends {React.Component}\n */\nclass Router extends React.Component {\n /**\n * @param {P} props The React properties of this component.\n */\n constructor(props) {\n super(props);\n this.onHashChangedBound = this.onHashChanged.bind(this);\n }\n\n componentDidMount() {\n window.addEventListener('hashchange', this.onHashChangedBound);\n }\n\n componentWillUnmount() {\n window.removeEventListener('hashchange', this.onHashChangedBound);\n }\n\n onHashChanged() {\n // override this function\n }\n\n /**\n * Gets the location object.\n * @returns {{ tab: string; dialog: string; id: string; arg: string; }}\n */\n static getLocation() {\n let hash = window.location.hash;\n hash = hash.replace(/^#/, '');\n const parts = hash.split('/').map(item => {\n try {\n return item ? decodeURIComponent(item) : ''\n } catch (e) {\n console.error('Router: Cannot decode ' + item);\n return item || '';\n }\n });\n // #tabName/dialogName/deviceId\n return {\n tab: parts[0] || '',\n dialog: parts[1] || '',\n id: parts[2] || '',\n arg: parts[3] || ''\n };\n }\n\n /**\n * Navigate to a new location. Any parameters that are not set will be taken from the current location.\n * @param {string | undefined} [tab]\n * @param {string | undefined} [dialog]\n * @param {string | undefined} [id]\n * @param {string | undefined} [arg]\n */\n static doNavigate(tab, dialog, id, arg) {\n let hash = '';\n const location = Router.getLocation();\n if (arg !== undefined && !id) {\n id = location.id;\n }\n if (id && !dialog) {\n dialog = location.dialog;\n }\n if (dialog && !tab) {\n tab = location.tab;\n } else\n if (tab === null) {\n tab = location.tab;\n }\n\n if (tab) {\n hash = '#' + tab;\n if (dialog) {\n hash += '/' + dialog;\n\n if (id) {\n hash += '/' + id;\n if (arg !== undefined) {\n hash += '/' + arg;\n }\n }\n }\n }\n if (window.location.hash !== hash) {\n window.location.hash = hash;\n }\n }\n}\n\nexport default Router;","// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined\nimport React from 'react';\nimport withStyles from '@mui/styles/withStyles';\nimport Fab from '@mui/material/Fab';\nimport PropTypes from 'prop-types';\n\nimport Toolbar from '@mui/material/Toolbar';\n\nimport I18n from '../i18n';\n\nimport IconSave from '@mui/icons-material/Save';\nimport IconClose from '@mui/icons-material/Close';\n\nconst styles = theme => ({\n buttonIcon: {\n marginRight: 8\n },\n});\n\n/**\n * @typedef {object} LogoProps\n * @property {boolean} noTextOnButtons Are the buttons without text\n * @property {any} theme Theme object (from this.state.theme)\n * @property {boolean} isIFrame bottom position 0 or 38 for iFrame\n * @property {function} onSave on Save handler\n * @property {function} onClose on Close handler\n *\n * @extends {React.Component}\n */\nclass SaveCloseButtons extends React.Component {\n constructor(props) {\n super(props);\n try {\n this.isIFrame = !props.newReact && window.self !== window.top;\n } catch (e) {\n this.isIFrame = !props.newReact;\n }\n }\n\n render() {\n const noTextOnButtons = this.props.noTextOnButtons;\n const buttonStyle = {\n borderRadius: this.props.theme.saveToolbar.button.borderRadius || 3,\n height: this.props.theme.saveToolbar.button.height || 32,\n };\n\n const style = {\n bottom: this.isIFrame ? 38 : 0,\n left: this.props.paddingLeft || 0,\n right: 0,\n position: 'absolute',\n background: this.props.theme.saveToolbar.background\n };\n if (this.props.dense) {\n style.minHeight = 48;\n }\n\n if (this.props.error) {\n buttonStyle.border = '1px solid red';\n }\n\n return \n this.props.onSave(false)}\n style={buttonStyle}\n >\n {!noTextOnButtons && I18n.t('ra_Save')}\n \n this.props.onSave(true)}\n style={Object.assign({}, buttonStyle, {marginLeft: 10})}>\n \n {!noTextOnButtons ? I18n.t('ra_Save and close') : '+'}\n {noTextOnButtons && }\n \n
\n this.props.onClose()} style={buttonStyle}>\n {!noTextOnButtons && I18n.t('ra_Close')}\n \n ;\n }\n}\n\nSaveCloseButtons.propTypes = {\n dense: PropTypes.bool,\n paddingLeft: PropTypes.number,\n noTextOnButtons: PropTypes.bool,\n theme: PropTypes.object,\n isIFrame: PropTypes.bool,\n changed: PropTypes.bool.isRequired,\n error: PropTypes.bool,\n onSave: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n newReact: PropTypes.bool,\n};\n\n/** @type {typeof SaveCloseButtons} */\nconst _export = withStyles(styles)(SaveCloseButtons);\nexport default _export;","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport {FormControl, InputLabel, MenuItem, Select} from '@mui/material';\n\nimport Icon from './Icon';\nimport Utils from './Utils';\nimport I18n from '../i18n';\n\nconst styles = theme => ({\n different: {\n opacity: 0.5\n },\n icon: {\n width: 16,\n height: 16,\n marginRight: 8\n }\n});\n\nclass SelectWithIcon extends Component {\n constructor(props) {\n super(props);\n\n if (this.props.different) {\n this.wordDifferent = this.props.t(this.props.different);\n }\n\n let list;\n if (Array.isArray(this.props.list || this.props.options)) {\n list = this.props.list.map(obj => ({\n name: Utils.getObjectNameFromObj(obj, this.props.lang)\n .replace('system.group.', '')\n .replace('system.user.', '')\n .replace('enum.rooms.', '')\n .replace('enum.functions.', ''),\n value: obj._id,\n icon: obj.common?.icon,\n color: obj.common?.color,\n }));\n } else {\n list = Object.values(this.props.list || this.props.options).map(obj => ({\n name: Utils.getObjectNameFromObj(obj, this.props.lang)\n .replace('system.group.', '')\n .replace('system.user.', '')\n .replace('enum.rooms.', '')\n .replace('enum.functions.', ''),\n value: obj._id,\n icon: obj.common?.icon,\n color: obj.common?.color,\n }));\n }\n\n if (this.props.different && this.props.value === this.props.different) {\n list.unshift({value: this.props.different, name: this.wordDifferent});\n }\n\n if (this.props.allowNone) {\n list.unshift({value: '', name: I18n.t('ra_none')});\n }\n\n this.state = {\n list,\n };\n }\n\n render() {\n if (this.props.allowNone && !this.state.list.find(obj => obj.value === '')) {\n this.timeout = this.timeout || setTimeout(() => {\n this.timeout = null;\n const list = JSON.parse(JSON.stringify(this.state.list));\n list.unshift({value: '', name: I18n.t('ra_none')});\n this.setState({list});\n }, 100);\n } else if (!this.props.allowNone && this.state.list.find(obj => obj.value === '')) {\n this.timeout = this.timeout || setTimeout(() => {\n this.timeout = null;\n const list = JSON.parse(JSON.stringify(this.state.list));\n const i = this.state.list.findIndex(obj => obj.value === '');\n list.splice(i, 1);\n this.setState({list});\n }, 100);\n }\n\n const item = this.state.list.find(it => it.value === this.props.value || (this.props.removePrefix && it.value.replace(this.props.removePrefix, '') === this.props.value));\n\n const style = this.props.value === this.props.different ? {} :\n {\n color: item?.color || undefined,\n backgroundColor: Utils.getInvertedColor(item?.color, this.props.themeType)\n };\n\n if (this.props.dense && this.props.style) {\n Object.assign(style, this.props.style);\n }\n\n const select = {item?.icon ? : null}{item?.name}}\n classes={{root: Utils.clsx(\n this.props.value === this.props.different ? this.props.classes.different : '',\n this.props.dense ? this.props.className : ''\n )}}\n style={style}\n onChange={el => {\n if (this.props.different && el.target.value !== this.props.different) {\n let pos = null;\n for (let i = 0; i < this.state.list.length; i++) {\n if (this.state.list[i].value === this.props.different) {\n pos = i;\n break;\n }\n }\n if (pos !== null) {\n const list = Utils.clone(this.state.list);\n list.splice(pos, 1);\n return this.setState({list}, () => this.props.onChange(el.target.value));\n }\n }\n\n this.props.onChange(this.props.removePrefix ? el.target.value.replace(this.props.removePrefix, '') : el.target.value);\n }}\n >\n {this.state.list.map(el => \n {el.icon ? : null}\n {el.name}\n )}\n ;\n\n if (this.props.dense) {\n return select;\n } else {\n return \n {this.props.label}\n {select}\n ;\n\n }\n }\n}\n\nSelectWithIcon.propTypes = {\n t: PropTypes.func.isRequired,\n lang: PropTypes.string.isRequired,\n themeType: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n disabled: PropTypes.bool,\n list: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n options: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n different: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n label: PropTypes.string,\n fullWidth: PropTypes.bool,\n className: PropTypes.string,\n style: PropTypes.object,\n removePrefix: PropTypes.string,\n allowNone: PropTypes.bool,\n inputProps: PropTypes.object,\n};\n\nexport default withStyles(styles)(SelectWithIcon);","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Icon from './Icon';\nimport Utils from './Utils';\n\nconst styles = theme => ({\n div: {\n borderRadius: 3,\n padding: '0 3px',\n lineHeight: '20px',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n display: 'flex',\n alignItems: 'center'\n },\n icon: {\n width: 16,\n height: 16,\n marginRight: 8,\n verticalAlign: 'middle',\n },\n text: {\n display: 'inline-block',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n});\n\nconst TextWithIcon = props => {\n let item = props.value;\n let prefix = props.removePrefix || '';\n\n if (typeof item === 'string') {\n const list = props.list || props.options;\n if (props.list) {\n if (Array.isArray(list)) {\n const _item = list.find(obj => obj._id === prefix + item);\n if (_item) {\n item = {\n name: Utils.getObjectNameFromObj(_item, props.lang).replace('system.group.', ''),\n value: _item._id,\n icon: _item.common?.icon,\n color: _item.common?.color,\n };\n } else {\n item = {\n name: item,\n value: prefix + item,\n };\n }\n } else if (list[prefix + item]) {\n item = {\n name: Utils.getObjectNameFromObj(list[prefix + item], props.lang).replace('system.group.', ''),\n value: list[prefix + item]._id,\n icon: list[prefix + item].common?.icon,\n color: list[prefix + item].common?.color,\n };\n } else {\n item = {\n name: item,\n value: prefix + item,\n };\n }\n } else {\n item = {\n name: item,\n value: prefix + item,\n };\n }\n } else if (!item || typeof item !== 'object') {\n item = {\n name: '',\n value: '',\n };\n } else {\n item = {\n name: Utils.getObjectNameFromObj(item, props.lang)\n .replace('system.group.', '')\n .replace('system.user.', '')\n .replace('enum.rooms.', '')\n .replace('enum.functions.', ''),\n value: item._id,\n icon: item.common?.icon,\n color: item.common?.color,\n };\n }\n\n const style = item?.color ? {\n border:`1px solid ${Utils.invertColor(item?.color)}`,\n color: Utils.getInvertedColor(item?.color, props.themeType, true) || undefined,\n backgroundColor: item?.color\n } : {};\n\n return
\n {item?.icon ? : null}
{item?.name}
\n
;\n}\n\nTextWithIcon.propTypes = {\n t: PropTypes.func.isRequired,\n lang: PropTypes.string.isRequired,\n themeType: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,\n list: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n options: PropTypes.oneOfType([PropTypes.array, PropTypes.object]), // one of \"list\"(Array) or \"options\"(object) is required\n className: PropTypes.string,\n style: PropTypes.object,\n title: PropTypes.string,\n removePrefix: PropTypes.string,\n moreClasses: PropTypes.object,\n};\n\nexport default withStyles(styles)(TextWithIcon);","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\nimport React from 'react';\nimport I18n from '../i18n';\n\nconst NAMESPACE = 'material';\nconst days = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];\nconst months = ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\nconst QUALITY_BITS = {\n 0x00: '0x00 - good',\n\n 0x01: '0x01 - general problem',\n 0x02: '0x02 - no connection problem',\n\n 0x10: '0x10 - substitute value from controller',\n 0x20: '0x20 - substitute initial value',\n 0x40: '0x40 - substitute value from device or instance',\n 0x80: '0x80 - substitute value from sensor',\n\n 0x11: '0x11 - general problem by instance',\n 0x41: '0x41 - general problem by device',\n 0x81: '0x81 - general problem by sensor',\n\n 0x12: '0x12 - instance not connected',\n 0x42: '0x42 - device not connected',\n 0x82: '0x82 - sensor not connected',\n\n 0x44: '0x44 - device reports error',\n 0x84: '0x84 - sensor reports error',\n};\n\nclass Utils {\n static namespace = NAMESPACE;\n static INSTANCES = 'instances';\n static dateFormat = ['DD', 'MM'];\n static FORBIDDEN_CHARS = /[^._\\-/ :!#$%&()+=@^{}|~\\p{Ll}\\p{Lu}\\p{Nd}]+/gu;\n\n /**\n * Capitalize words.\n * @param {string | undefined} name\n * @returns {string}\n */\n static CapitalWords(name) {\n return (name || '').split(/[\\s_]/)\n .filter(item => item)\n .map(word => word ? word[0].toUpperCase() + word.substring(1).toLowerCase() : '')\n .join(' ');\n }\n\n static formatSeconds(seconds) {\n const days = Math.floor(seconds / (3600 * 24));\n seconds %= 3600 * 24;\n let hours = Math.floor(seconds / 3600);\n if (hours < 10) {\n hours = '0' + hours;\n }\n seconds %= 3600;\n let minutes = Math.floor(seconds / 60);\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n seconds %= 60;\n seconds = Math.floor(seconds);\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let text = '';\n if (days) {\n text += `${days} ${I18n.t('ra_daysShortText')} `;\n }\n text += `${hours}:${minutes}:${seconds}`;\n\n return text;\n }\n\n /**\n * Get the name of the object by id from the name or description.\n * @param {Record} objects\n * @param {string} id\n * @param {{ name: any; } | ioBroker.Languages | null} settings\n * @param {{ language?: ioBroker.Languages; }} options\n * @param {boolean} [isDesc] Set to true to get the description.\n * @returns {string}\n */\n static getObjectName(objects, id, settings, options, isDesc) {\n let item = objects[id];\n let text = id;\n const attr = isDesc ? 'desc' : 'name';\n\n if (typeof settings === 'string' && !options) {\n options = {language: settings};\n settings = null;\n }\n\n options = options || {};\n if (!options.language) {\n options.language = (objects['system.config'] && objects['system.config'].common && objects['system.config'].common.language) || window.sysLang || 'en';\n }\n if (settings && settings.name) {\n text = settings.name;\n if (typeof text === 'object') {\n text = text[options.language] || text.en;\n }\n } else\n if (item && item.common && item.common[attr]) {\n text = item.common[attr];\n if (attr !== 'desc' && !text && item.common.desc) {\n text = item.common.desc;\n }\n if (typeof text === 'object') {\n text = text[options.language] || text.en || text.de || text.ru || '';\n }\n text = (text || '').toString().replace(/[_.]/g, ' ');\n\n if (text === text.toUpperCase()) {\n text = text[0] + text.substring(1).toLowerCase();\n }\n } else {\n let pos = id.lastIndexOf('.');\n text = id.substring(pos + 1).replace(/[_.]/g, ' ');\n text = Utils.CapitalWords(text);\n }\n\n return text.trim();\n }\n\n /**\n * Get the name of the object from the name or description.\n * @param {ioBroker.PartialObject} obj\n * @param {{ name: any; } | ioBroker.Languages | null } settings or language\n * @param {{ language?: ioBroker.Languages; } } options\n * @param {boolean} [isDesc] Set to true to get the description.\n * @returns {string}\n */\n static getObjectNameFromObj(obj, settings, options, isDesc) {\n let item = obj;\n let text = (obj && obj._id) || '';\n const attr = isDesc ? 'desc' : 'name';\n\n if (typeof settings === 'string' && !options) {\n options = {language: settings};\n settings = null;\n }\n\n options = options || {};\n\n if (settings && settings.name) {\n text = settings.name;\n if (typeof text === 'object') {\n text = text[options.language] || text.en;\n }\n } else\n if (item && item.common && item.common[attr]) {\n text = item.common[attr];\n if (attr !== 'desc' && !text && item.common.desc) {\n text = item.common.desc;\n }\n if (typeof text === 'object') {\n text = text[options.language] || text.en;\n }\n text = (text || '').toString().replace(/[_.]/g, ' ');\n\n if (text === text.toUpperCase()) {\n text = text[0] + text.substring(1).toLowerCase();\n }\n }\n return text.trim();\n }\n\n /**\n * @param {ioBroker.PartialObject | ioBroker.ObjectCommon} obj\n * @param {string} forEnumId\n * @param {{ user: string; }} options\n * @returns {string | null}\n */\n static getSettingsOrder(obj, forEnumId, options) {\n if (obj && obj.hasOwnProperty('common')) {\n obj = obj.common;\n }\n let settings;\n if (obj && obj.custom) {\n settings = (obj.custom || {})[NAMESPACE];\n const user = options.user || 'admin';\n if (settings && settings[user]) {\n if (forEnumId) {\n if (settings[user].subOrder && settings[user].subOrder[forEnumId]) {\n return JSON.parse(JSON.stringify(settings[user].subOrder[forEnumId]));\n }\n } else {\n if (settings[user].order) {\n return JSON.parse(JSON.stringify(settings[user].order));\n }\n }\n }\n }\n return null;\n }\n\n /**\n * @param {ioBroker.PartialObject | ioBroker.ObjectCommon} obj\n * @param {string} forEnumId\n * @param {{ user: string; }} options\n */\n static getSettingsCustomURLs(obj, forEnumId, options) {\n if (obj && obj.hasOwnProperty('common')) {\n obj = obj.common;\n }\n let settings;\n if (obj && obj.custom) {\n settings = (obj.custom || {})[NAMESPACE];\n const user = options.user || 'admin';\n if (settings && settings[user]) {\n if (forEnumId) {\n if (settings[user].subURLs && settings[user].subURLs[forEnumId]) {\n return JSON.parse(JSON.stringify(settings[user].subURLs[forEnumId]));\n }\n } else {\n if (settings[user].URLs) {\n return JSON.parse(JSON.stringify(settings[user].URLs));\n }\n }\n }\n }\n return null;\n }\n\n /**\n * Reorder the array items in list between source and dest.\n * @param {Iterable | ArrayLike} list\n * @param {number} source\n * @param {number} dest\n */\n static reorder(list, source, dest) {\n const result = Array.from(list);\n const [removed] = result.splice(source, 1);\n result.splice(dest, 0, removed);\n return result;\n };\n\n /**\n * @param {any} obj\n * @param {{ id: any; user: any; name: any; icon: any; color: any; language: ioBroker.Languages; }} options\n * @param {boolean} [defaultEnabling]\n */\n static getSettings(obj, options, defaultEnabling) {\n let settings;\n const id = (obj && obj._id) || (options && options.id);\n if (obj && obj.hasOwnProperty('common')) {\n obj = obj.common;\n }\n if (obj && obj.custom) {\n settings = obj.custom || {};\n settings = settings[NAMESPACE] && settings[NAMESPACE][options.user || 'admin'] ? JSON.parse(JSON.stringify(settings[NAMESPACE][options.user || 'admin'])) : {enabled: true};\n } else {\n settings = {enabled: defaultEnabling === undefined ? true : defaultEnabling, useCustom: false};\n }\n\n if (!settings.hasOwnProperty('enabled')) {\n settings.enabled = defaultEnabling === undefined ? true : defaultEnabling;\n }\n\n if (false && settings.useCommon) {\n if (obj.color) settings.color = obj.color;\n if (obj.icon) settings.icon = obj.icon;\n if (obj.name) settings.name = obj.name;\n } else {\n if (options) {\n if (!settings.name && options.name) settings.name = options.name;\n if (!settings.icon && options.icon) settings.icon = options.icon;\n if (!settings.color && options.color) settings.color = options.color;\n }\n\n if (obj) {\n if (!settings.color && obj.color) settings.color = obj.color;\n if (!settings.icon && obj.icon) settings.icon = obj.icon;\n if (!settings.name && obj.name) settings.name = obj.name;\n }\n }\n\n if (typeof settings.name === 'object') {\n settings.name = settings.name[options.language] || settings.name.en;\n\n settings.name = (settings.name || '').toString().replace(/_/g, ' ');\n\n if (settings.name === settings.name.toUpperCase()) {\n settings.name = settings.name[0] + settings.name.substring(1).toLowerCase();\n }\n }\n if (!settings.name && id) {\n let pos = id.lastIndexOf('.');\n settings.name = id.substring(pos + 1).replace(/[_.]/g, ' ');\n settings.name = (settings.name || '').toString().replace(/_/g, ' ');\n settings.name = Utils.CapitalWords(settings.name);\n }\n\n return settings;\n }\n\n /**\n * @param {any} obj\n * @param {any} settings\n * @param {{ user: any; language: ioBroker.Languages; }} options\n */\n static setSettings(obj, settings, options) {\n if (obj) {\n obj.common = obj.common || {};\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[NAMESPACE] = obj.common.custom[NAMESPACE] || {};\n obj.common.custom[NAMESPACE][options.user || 'admin'] = settings;\n const s = obj.common.custom[NAMESPACE][options.user || 'admin'];\n if (s.useCommon) {\n if (s.color !== undefined) {\n obj.common.color = s.color;\n delete s.color;\n }\n if (s.icon !== undefined) {\n obj.common.icon = s.icon;\n delete s.icon;\n }\n if (s.name !== undefined) {\n if (typeof obj.common.name !== 'object') {\n obj.common.name = {};\n obj.common.name[options.language] = s.name;\n } else{\n obj.common.name[options.language] = s.name;\n }\n delete s.name;\n }\n }\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * Get the icon for the given settings.\n * @param {{ icon: string | undefined; name: string | undefined; prefix: string | undefined}} settings\n * @param {any} style\n * @returns {JSX.Element | null}\n */\n static getIcon(settings, style) {\n if (settings && settings.icon) {\n // If UTF-8 icon\n if (settings.icon.length <= 2) {\n return {settings.icon};\n } else\n if (settings.icon.startsWith('data:image')) {\n return {settings.name};\n } else { // may be later some changes for second type\n return {settings.name};\n }\n }\n return null;\n }\n\n /**\n * Get the icon for the given object.\n * @param {string} id\n * @param {{ common: { icon: any; }; }} obj\n * @returns {string | null}\n */\n static getObjectIcon(id, obj) {\n // If id is Object\n if (typeof id === 'object') {\n obj = id;\n id = obj._id;\n }\n\n if (obj && obj.common && obj.common.icon) {\n let icon = obj.common.icon;\n // If UTF-8 icon\n if (typeof icon === 'string' && icon.length <= 2) {\n return icon;\n } else\n if (icon.startsWith('data:image')) {\n return icon;\n } else {\n const parts = id.split('.');\n if (parts[0] === 'system') {\n icon = 'adapter/' + parts[2] + (icon.startsWith('/') ? '' : '/') + icon;\n } else {\n icon = 'adapter/' + parts[0] + (icon.startsWith('/') ? '' : '/') + icon;\n }\n\n if (window.location.pathname.match(/adapter\\/[^/]+\\/[^/]+\\.html/)) {\n icon = '../../' + icon;\n } else if (window.location.pathname.match(/material\\/[.\\d]+/)) {\n icon = '../../' + icon;\n } else\n if (window.location.pathname.match(/material\\//)) {\n icon = '../' + icon;\n }\n return icon;\n }\n } else {\n return null;\n }\n }\n\n /**\n * Splits CamelCase into words.\n * @param {string | undefined} text\n * @returns {string}\n */\n static splitCamelCase(text) {\n if (false && text !== text.toUpperCase()) {\n const words = text.split(/\\s+/);\n for (let i = 0; i < words.length; i++) {\n let word = words[i];\n if (word.toLowerCase() !== word && word.toUpperCase() !== word) {\n let z = 0;\n const ww = [];\n let start = 0;\n while (z < word.length) {\n if (word[z].match(/[A-ZÜÄÖА-Я]/)) {\n ww.push(word.substring(start, z));\n start = z;\n }\n z++;\n }\n if (start !== z) {\n ww.push(word.substring(start, z));\n }\n for (let k = 0; k < ww.length; k++) {\n words.splice(i + k, 0, ww[k]);\n }\n i += ww.length;\n }\n }\n\n return words.map(w => {\n w = w.trim();\n if (w) {\n return w[0].toUpperCase() + w.substring(1).toLowerCase();\n }\n return '';\n }).join(' ');\n } else {\n return Utils.CapitalWords(text);\n }\n }\n\n /**\n * Check if the given color is bright.\n * https://stackoverflow.com/questions/35969656/how-can-i-generate-the-opposite-color-according-to-current-color\n * @param {string | null | undefined} color\n * @param {boolean} [defaultValue]\n * @returns {boolean}\n */\n static isUseBright(color, defaultValue) {\n if (color === null || color === undefined || color === '') {\n return defaultValue === undefined ? true : defaultValue;\n }\n color = color.toString();\n if (color.indexOf('#') === 0) {\n color = color.slice(1);\n }\n let r;\n let g;\n let b;\n\n const rgb = color.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?/i);\n if (rgb && rgb.length === 4) {\n r = parseInt(rgb[1], 10);\n g = parseInt(rgb[2], 10);\n b = parseInt(rgb[3], 10);\n } else {\n // convert 3-digit hex to 6-digits.\n if (color.length === 3) {\n color = color[0] + color[0] + color[1] + color[1] + color[2] + color[2];\n }\n if (color.length !== 6) {\n return false;\n }\n\n r = parseInt(color.slice(0, 2), 16);\n g = parseInt(color.slice(2, 4), 16);\n b = parseInt(color.slice(4, 6), 16);\n }\n\n // http://stackoverflow.com/a/3943023/112731\n return (r * 0.299 + g * 0.587 + b * 0.114) <= 186;\n };\n\n /**\n * Get the time string in the format 00:00.\n * @param {string | number} seconds\n */\n static getTimeString(seconds) {\n seconds = parseFloat(seconds);\n if (isNaN(seconds)) {\n return '--:--';\n }\n const hours = Math.floor(seconds / 3600);\n let minutes = Math.floor((seconds % 3600) / 60);\n let secs = seconds % 60;\n if (hours) {\n if (minutes < 10) minutes = '0' + minutes;\n if (secs < 10) secs = '0' + secs;\n return hours + ':' + minutes + ':' + secs;\n } else {\n if (secs < 10) secs = '0' + secs;\n return minutes + ':' + secs;\n }\n }\n\n /**\n * Gets the wind direction with the given angle (degrees).\n * @param {number} angle in degrees.\n * @returns {string | undefined}\n */\n static getWindDirection(angle) {\n if (angle >= 0 && angle < 11.25) {\n return 'N'\n } else if (angle >= 11.25 && angle < 33.75) {\n return 'NNE'\n } else if (angle >= 33.75 && angle < 56.25) {\n return 'NE'\n } else if (angle >= 56.25 && angle < 78.75) {\n return 'ENE'\n } else if (angle >= 78.75 && angle < 101.25) {\n return 'E'\n } else if (angle >= 101.25 && angle < 123.75) {\n return 'ESE'\n } else if (angle >= 123.75 && angle < 146.25) {\n return 'SE'\n } else if (angle >= 146.25 && angle < 168.75) {\n return 'SSE'\n } else if (angle >= 168.75 && angle < 191.25) {\n return 'S'\n } else if (angle >= 191.25 && angle < 213.75) {\n return 'SSW'\n } else if (angle >= 213.75 && angle < 236.25) {\n return 'SW'\n } else if (angle >= 236.25 && angle < 258.75) {\n return 'WSW'\n } else if (angle >= 258.75 && angle < 281.25) {\n return 'W'\n } else if (angle >= 281.25 && angle < 303.75) {\n return 'WNW'\n } else if (angle >= 303.75 && angle < 326.25) {\n return 'NW'\n } else if (angle >= 326.25 && angle < 348.75) {\n return 'NNW'\n } else if (angle >= 348.75) {\n return 'N'\n }\n }\n\n /**\n * Pad the given number with a zero if its not 2 digits long.\n * @param {string | number} num\n */\n static padding(num) {\n if (typeof num === 'string') {\n if (num.length < 2) {\n return '0' + num;\n } else {\n return num;\n }\n } else if (num < 10) {\n return '0' + num;\n } else {\n return num;\n }\n }\n\n /**\n * Sets the date format.\n * @param {string} format\n */\n static setDataFormat(format) {\n if (format) {\n Utils.dateFormat = format.toUpperCase().split(/[.-/]/);\n Utils.dateFormat.splice(Utils.dateFormat.indexOf('YYYY'), 1);\n }\n }\n\n /**\n * Converts the date to a string.\n * @param {string | number | Date} now\n * @returns {string}\n */\n static date2string(now) {\n if (typeof now === 'string') {\n now = now.trim();\n if (!now) return '';\n // only letters\n if (now.match(/^[\\w\\s]+$/)) {\n // Day of week\n return now;\n }\n let m = now.match(/(\\d{1,4})[-./](\\d{1,2})[-./](\\d{1,4})/);\n if (m) {\n let a = [parseInt(m[1], 10), parseInt(m[2], 10), parseInt(m[3], 10)];\n let year = a.find(y => y > 31);\n a.splice(a.indexOf(year), 1);\n let day = a.find(m => m > 12);\n if (day) {\n a.splice(a.indexOf(day), 1);\n now = new Date(year, a[0] - 1, day);\n } else {\n // MM DD\n if (Utils.dateFormat[0][0] === 'M' && Utils.dateFormat[1][0] === 'D') {\n now = new Date(year, a[0] - 1, a[1]);\n if (Math.abs(now.getTime - Date.now()) > 3600000 * 24 * 10) {\n now = new Date(year, a[1] - 1, a[0]);\n }\n } else\n // DD MM\n if (Utils.dateFormat[0][0] === 'D' && Utils.dateFormat[1][0] === 'M') {\n now = new Date(year, a[1] - 1, a[0]);\n if (Math.abs(now.getTime - Date.now()) > 3600000 * 24 * 10) {\n now = new Date(year, a[0] - 1, a[1]);\n }\n } else {\n now = new Date(now);\n }\n }\n } else {\n now = new Date(now);\n }\n } else {\n now = new Date(now);\n }\n\n let date = I18n.t('ra_dow_' + days[now.getDay()]).replace('ra_dow_', '');\n date += '. ' + now.getDate() + ' ' + I18n.t('ra_month_' + months[now.getMonth()]).replace('ra_month_', '');\n return date;\n }\n\n /**\n * Render a text as a link.\n * @param {string} text\n * @returns {string | JSX.Element[]}\n */\n static renderTextWithA(text) {\n let m = text.match(/
|/);\n if (m) {\n const result = [];\n let key = 1;\n do {\n const p = text.split(m[0]);\n p[0] && result.push({p[0]});\n\n if (m[0].startsWith(');\n } else {\n let href = m[0].match(/href=\"([^\"]+)\"/) || m[0].match(/href='([^']+)'/);\n let target = m[0].match(/target=\"([^\"]+)\"/) || m[0].match(/target='([^']+)'/);\n let rel = m[0].match(/rel=\"([^\"]+)\"/) || m[0].match(/rel='([^']+)'/);\n const title = m[0].match(/>([^<]*){title ? title[1] : ''});\n }\n\n text = p[1];\n\n m = text && text.match(/|/);\n if (!m) {\n p[1] && result.push({p[1]});\n }\n } while (m);\n\n return result;\n } else {\n return text;\n }\n }\n\n /**\n * Get the smart name of the given state.\n * @param {Record | ioBroker.StateObject} states\n * @param {string} id\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static getSmartName(states, id, instanceId, noCommon) {\n if (!id) {\n if (!noCommon) {\n if (!states.common) {\n return states.smartName;\n } else {\n if (states && !states.common) {\n return states.smartName;\n } else {\n return states.common.smartName;\n }\n }\n } else {\n if (states && !states.common) {\n return states.smartName;\n } else {\n return (states &&\n states.common &&\n states.common.custom &&\n states.common.custom[instanceId]) ?\n states.common.custom[instanceId].smartName : undefined;\n }\n }\n } else\n if (!noCommon) {\n return states[id].common.smartName;\n } else {\n return (states[id] &&\n states[id].common &&\n states[id].common.custom &&\n states[id].common.custom[instanceId]) ?\n states[id].common.custom[instanceId].smartName || null : null;\n }\n }\n\n /**\n * Get the smart name from a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static getSmartNameFromObj(obj, instanceId, noCommon) {\n if (!noCommon) {\n if (!obj.common) {\n return obj.smartName;\n } else {\n if (obj && !obj.common) {\n return obj.smartName;\n } else {\n return obj.common.smartName;\n }\n }\n } else {\n if (obj && !obj.common) {\n return obj.smartName;\n } else {\n return (obj &&\n obj.common &&\n obj.common.custom &&\n obj.common.custom[instanceId]) ?\n obj.common.custom[instanceId].smartName : undefined;\n }\n }\n }\n\n /**\n * Enable smart name for a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static enableSmartName(obj, instanceId, noCommon) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = {};\n } else {\n obj.common.smartName = {};\n }\n }\n\n /**\n * Completely remove smart name from a state.\n * @param {ioBroker.StateObject} obj\n * @param {string | number} instanceId\n * @param {boolean} [noCommon]\n */\n static removeSmartName(obj, instanceId, noCommon) {\n if (noCommon) {\n if (obj.common && obj.common.custom && obj.common.custom[instanceId]) {\n obj.common.custom[instanceId] = null;\n }\n } else {\n obj.common.smartName = null;\n }\n }\n\n /**\n * Update the smartname of a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} newSmartName\n * @param {string | undefined} byON\n * @param {string | undefined} smartType\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static updateSmartName(obj, newSmartName, byON, smartType, instanceId, noCommon) {\n const language = I18n.getLanguage();\n\n // convert Old format\n if (typeof obj.common.smartName === 'string') {\n const nnn = obj.common.smartName;\n obj.common.smartName = {};\n obj.common.smartName[language] = nnn;\n }\n\n // convert old settings\n if (obj.native && obj.native.byON) {\n delete obj.native.byON;\n let _smartName = obj.common.smartName;\n\n if (!_smartName || typeof _smartName !== 'object') {\n _smartName = {en: _smartName};\n _smartName[language] = _smartName.en;\n }\n obj.common.smartName = _smartName;\n }\n if (smartType !== undefined) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = obj.common.custom[instanceId].smartName || {};\n if (!smartType) {\n delete obj.common.custom[instanceId].smartName.smartType;\n } else {\n obj.common.custom[instanceId].smartName.smartType = smartType;\n }\n } else {\n obj.common.smartName = obj.common.smartName || {};\n if (!smartType) {\n delete obj.common.smartName.smartType;\n } else {\n obj.common.smartName.smartType = smartType;\n }\n\n }\n }\n if (byON !== undefined) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = obj.common.custom[instanceId].smartName || {};\n obj.common.custom[instanceId].smartName.byON = byON;\n } else {\n obj.common.smartName = obj.common.smartName || {};\n obj.common.smartName.byON = byON;\n }\n }\n if (newSmartName !== undefined) {\n let smartName;\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = obj.common.custom[instanceId].smartName || {};\n smartName = obj.common.custom[instanceId].smartName;\n } else {\n obj.common.smartName = obj.common.smartName || {};\n smartName = obj.common.smartName;\n }\n smartName[language] = newSmartName;\n\n // If smart name deleted\n if (smartName && (!smartName[language] ||\n (smartName[language] === obj.common.name &&\n (!obj.common.role || obj.common.role.indexOf('button') >= 0)))) {\n delete smartName[language];\n let empty = true;\n // Check if structure has any definitions\n for (const key in smartName) {\n if (smartName.hasOwnProperty(key)) {\n empty = false;\n break;\n }\n }\n // If empty => delete smartName completely\n if (empty) {\n if (noCommon) {\n if (obj.common.custom[instanceId].smartName.byON === undefined) {\n delete obj.common.custom[instanceId];\n } else {\n delete obj.common.custom[instanceId].en;\n delete obj.common.custom[instanceId].de;\n delete obj.common.custom[instanceId].ru;\n delete obj.common.custom[instanceId].nl;\n delete obj.common.custom[instanceId].pl;\n delete obj.common.custom[instanceId].it;\n delete obj.common.custom[instanceId].fr;\n delete obj.common.custom[instanceId].pt;\n delete obj.common.custom[instanceId].es;\n delete obj.common.custom[instanceId]['zh-cn'];\n }\n } else {\n if (obj.common.smartName.byON !== undefined) {\n delete obj.common.smartName.en;\n delete obj.common.smartName.de;\n delete obj.common.smartName.ru;\n delete obj.common.smartName.nl;\n delete obj.common.smartName.pl;\n delete obj.common.smartName.it;\n delete obj.common.smartName.fr;\n delete obj.common.smartName.pt;\n delete obj.common.smartName.es;\n delete obj.common.smartName['zh-cn'];\n } else {\n obj.common.smartName = null;\n }\n }\n }\n }\n }\n }\n\n /**\n * Disable the smart name of a state.\n * @param {ioBroker.StateObject} obj\n * @param {string} instanceId\n * @param {boolean} [noCommon]\n */\n static disableSmartName(obj, instanceId, noCommon) {\n if (noCommon) {\n obj.common.custom = obj.common.custom || {};\n obj.common.custom[instanceId] = obj.common.custom[instanceId] || {};\n obj.common.custom[instanceId].smartName = false;\n } else {\n obj.common.smartName = false;\n }\n }\n\n /**\n * Copy text to the clipboard.\n * @param {string} text\n * @param {Event} [e]\n */\n static copyToClipboard(text, e) {\n const el = window.document.createElement('textarea');\n el.value = text;\n window.document.body.appendChild(el);\n el.select();\n window.document.execCommand('copy');\n window.document.body.removeChild(el);\n console.log(text);\n e && e.stopPropagation();\n e && e.preventDefault();\n }\n\n /**\n * Gets the extension of a file name.\n * @param {string | null} [fileName] the file name.\n * @returns {string | null} The extension in lower case.\n */\n static getFileExtension(fileName) {\n const pos = (fileName || '').lastIndexOf('.');\n if (pos !== -1) {\n return fileName.substring(pos + 1).toLowerCase();\n } else {\n return null;\n }\n }\n\n /**\n * Format number of bytes as a string with B, KB, MB or GB.\n * The base for all calculations is 1024.\n * @param {number} bytes The number of bytes.\n * @returns {string} The formatted string (e.g. '723.5 KB')\n */\n static formatBytes(bytes) {\n if (Math.abs(bytes) < 1024) {\n return bytes + ' B';\n }\n\n const units = ['KB','MB','GB'];\n //const units = ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];\n let u = -1;\n\n do {\n bytes /= 1024;\n ++u;\n } while (Math.abs(bytes) >= 1024 && u < units.length - 1);\n\n return bytes.toFixed(1) + ' ' + units[u];\n }\n\n /**\n * Invert the given color according to theme type to get the inverted text color for background\n * @param {string} color Color in the format '#rrggbb' or '#rgb' (or without hash)\n * @param {string} themeType theme type\n * @param {string} invert dark theme has light color in control or light theme has light color in control\n * @returns {string}\n */\n static getInvertedColor(color, themeType, invert) {\n if (!color) {\n return undefined;\n } else {\n const invertedColor = Utils.invertColor(color, true);\n if (invertedColor === '#FFFFFF' && (themeType === 'dark' || (invert && themeType === 'light'))) {\n return '#DDD';\n } else\n if (invertedColor === '#000000' && (themeType === 'light' || (invert && themeType === 'dark'))) {\n return '#222';\n } else {\n return undefined;\n }\n }\n }\n\n // Big thanks to: https://stackoverflow.com/questions/35969656/how-can-i-generate-the-opposite-color-according-to-current-color\n /**\n * Invert the given color\n * @param {string} hex Color in the format '#rrggbb' or '#rgb' (or without hash)\n * @param {boolean} bw Set to black or white.\n * @returns {string}\n */\n static invertColor(hex, bw) {\n if (hex === undefined || hex === null || hex === '' || typeof hex !== 'string') {\n return '';\n }\n if (hex.startsWith('rgba')) {\n const m = hex.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+),\\s*([.\\d]+)\\)/);\n if (m) {\n hex = parseInt(m[1], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0');\n }\n } else if (hex.startsWith('rgba')) {\n const m = hex.match(/rgb?\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)/);\n if (m) {\n hex = parseInt(m[1], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0') +\n parseInt(m[2], 10).toString(16).padStart(2, '0');\n }\n } else\n if (hex.startsWith('#')) {\n hex = hex.slice(1);\n }\n // convert 3-digit hex to 6-digits.\n if (hex.length === 3) {\n hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];\n }\n if (hex.length !== 6) {\n console.warn('Cannot invert color: ' + hex);\n return hex;\n }\n let r = parseInt(hex.slice(0, 2), 16);\n let g = parseInt(hex.slice(2, 4), 16);\n let b = parseInt(hex.slice(4, 6), 16);\n\n if (bw) {\n // http://stackoverflow.com/a/3943023/112731\n return (r * 0.299 + g * 0.587 + b * 0.114) > 186\n ? '#000000'\n : '#FFFFFF';\n }\n // invert color components\n r = (255 - r).toString(16);\n g = (255 - g).toString(16);\n b = (255 - b).toString(16);\n // pad each with zeros and return\n return '#' + r.padStart(2, '0') + g.padStart(2, '0') + b.padStart(2, '0');\n }\n\n // https://github.com/lukeed/clsx/blob/master/src/index.js\n // License\n // MIT © Luke Edwards\n /**\n * @private\n * @param {any} mix\n * @returns {string}\n */\n static _toVal(mix) {\n let k, y, str='';\n\n if (typeof mix === 'string' || typeof mix === 'number') {\n str += mix;\n } else if (typeof mix === 'object') {\n if (Array.isArray(mix)) {\n for (k=0; k < mix.length; k++) {\n if (mix[k]) {\n if ((y = Utils._toVal(mix[k]))) {\n str && (str += ' ');\n str += y;\n }\n }\n }\n } else {\n for (k in mix) {\n if (mix[k]) {\n str && (str += ' ');\n str += k;\n }\n }\n }\n }\n\n return str;\n }\n\n // https://github.com/lukeed/clsx/blob/master/src/index.js\n // License\n // MIT © Luke Edwards\n /**\n * Convert any object to a string with its values.\n * @returns {string}\n */\n static clsx () {\n let i = 0;\n let tmp;\n let x;\n let str = '';\n while (i < arguments.length) {\n if ((tmp = arguments[i++])) {\n if ((x = Utils._toVal(tmp))) {\n str && (str += ' ');\n str += x\n }\n }\n }\n return str;\n }\n\n /**\n * Get the current theme name (either from local storage or the browser settings).\n * @param {string} [themeName]\n * @returns {string}\n */\n static getThemeName(themeName = '') {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return window.vendorPrefix;\n }\n\n return themeName ? themeName : window.localStorage && window.localStorage.getItem('App.themeName') ?\n window.localStorage.getItem('App.themeName') : window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'colored';\n }\n\n /**\n * Get the type of theme.\n * @param {string} [themeName]\n * @returns {'dark' | 'light'}\n */\n static getThemeType(themeName = '') {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return 'light';\n }\n\n themeName = themeName || (window.localStorage && window.localStorage.getItem('App.themeName'));\n return themeName === 'dark' || themeName === 'blue' ? 'dark' : 'light';\n }\n\n /**\n * Set the theme name and theme type.\n * @param {string} themeName\n */\n static setThemeName(themeName) {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return; // ignore\n }\n window.localStorage.setItem('App.themeName', themeName);\n window.localStorage.setItem('App.theme', themeName === 'dark' || themeName === 'blue' ? 'dark' : 'light');\n }\n\n /**\n * Toggle the theme name between 'dark' and 'colored'.\n * @param {string | null} themeName\n * @returns {string} the new theme name.\n */\n static toggleTheme(themeName) {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return window.vendorPrefix;\n }\n themeName = themeName || (window.localStorage && window.localStorage.getItem('App.themeName'));\n\n // dark => blue => colored => light => dark\n const themes = Utils.getThemeNames();\n const pos = themes.indexOf(themeName);\n let newTheme;\n if (pos !== -1) {\n newTheme = themes[(pos + 1) % themes.length];\n } else {\n newTheme = themes[0];\n }\n Utils.setThemeName(newTheme);\n\n return newTheme;\n }\n\n /**\n * Get the list of themes\n * @returns {array} list of possible themes\n */\n static getThemeNames() {\n if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {\n return [window.vendorPrefix];\n }\n\n return ['light', 'dark', 'blue', 'colored'];\n }\n\n /**\n * Parse a query string into its parts.\n * @param {string} query\n * @returns {Record}\n */\n static parseQuery(query) {\n query = (query || '').toString().replace(/^\\?/, '');\n /** @type {Record} */\n const result = {};\n query.split('&').forEach(part => {\n part = part.trim();\n if (part) {\n const parts = part.split('=');\n const attr = decodeURIComponent(parts[0]).trim();\n if (parts.length > 1) {\n result[attr] = decodeURIComponent(parts[1]);\n if (result[attr] === 'true') {\n result[attr] = true;\n } else if (result[attr] === 'false') {\n result[attr] = false;\n } else {\n const f = parseFloat(result[attr]);\n if (f.toString() === result[attr]) {\n result[attr] = f;\n }\n }\n } else {\n result[attr] = true;\n }\n }\n });\n return result;\n }\n\n /**\n * Returns parent ID.\n * @param {string} id\n * @returns {string | null} parent ID or null if no parent\n */\n static getParentId(id) {\n const p = (id || '').toString().split('.');\n if (p.length > 1) {\n p.pop();\n return p.join('.');\n } else {\n return null;\n }\n }\n\n static formatDate(dateObj, dateFormat) {\n // format could be DD.MM.YYYY, YYYY.MM.DD or MM/DD/YYYY\n\n if (!dateObj) {\n return '';\n }\n\n let text;\n let mm = dateObj.getMonth() + 1;\n if (mm < 10) {\n mm = '0' + mm;\n }\n\n let dd = dateObj.getDate();\n if (dd < 10) {\n dd = '0' + dd;\n }\n\n if (dateFormat === 'MM/DD/YYYY') {\n text = mm + '/' + dd + '/' + dateObj.getFullYear();\n } else {\n text = dateObj.getFullYear() + '-' + mm + '-' + dd;\n }\n\n // time\n let v = dateObj.getHours();\n if (v < 10) {\n text += ' 0' + v;\n } else {\n text += ' ' + v;\n }\n v = dateObj.getMinutes();\n if (v < 10) {\n text += ':0' + v;\n } else {\n text += ':' + v;\n }\n\n v = dateObj.getSeconds();\n if (v < 10) {\n text += ':0' + v;\n } else {\n text += ':' + v;\n }\n\n v = dateObj.getMilliseconds();\n if (v < 10) {\n text += '.00' + v;\n } else if (v < 100) {\n text += '.0' + v;\n } else {\n text += '.' + v;\n }\n\n return text;\n }\n\n static formatTime(seconds) {\n if (seconds) {\n seconds = Math.round(seconds);\n const d = Math.floor(seconds / (3600 * 24));\n const h = Math.floor((seconds % (3600 * 24)) / 3600);\n const m = Math.floor((seconds % 3600) / 60);\n const s = seconds % 60;\n if (d) {\n return `${d}.${h.toString().padStart(2, '0')}:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;\n } else if (h) {\n return `${h}:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;\n } else {\n return `0:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;\n }\n } else {\n return '0:00:00';\n }\n }\n\n static MDtext2link(text) {\n const m = text.match(/\\d+\\.\\)\\s/);\n if (m) {\n text = text.replace(m[0], m[0].replace(/\\s/, ' '));\n }\n\n return text.replace(/[^a-zA-Zа-яА-Я0-9]/g, '').trim().replace(/\\s/g, '').toLowerCase();\n }\n\n static openLink(url, target) {\n // replace IPv6 Address with [ipv6]:port\n url = url.replace(/\\/\\/([0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*)(:\\d+)?\\//i, '//[$1]$2/');\n\n if (target === 'this') {\n window.location = url;\n } else {\n window.open(url, target || '_blank');\n }\n }\n\n static MDgetTitle(text) {\n let {body, header} = Utils.extractHeader(text);\n if (!header.title) {\n // remove {docsify-bla}\n body = body.replace(/{[^}]*}/g, '');\n body = body.trim();\n const lines = body.replace(/\\r/g, '').split('\\n');\n for (let i = 0; i < lines.length; i++) {\n if (lines[i].startsWith('# ')) {\n return lines[i].substring(2).trim();\n }\n }\n return '';\n } else {\n return header.title;\n }\n }\n\n static MDextractHeader(text) {\n const attrs = {};\n if (text.substring(0, 3) === '---') {\n const pos = text.substring(3).indexOf('\\n---');\n if (pos !== -1) {\n const _header = text.substring(3, pos + 3);\n const lines = _header.replace(/\\r/g, '').split('\\n');\n lines.forEach(line => {\n if (!line.trim()) {\n return;\n }\n const pos = line.indexOf(':');\n if (pos !== -1) {\n const attr = line.substring(0, pos).trim();\n attrs[attr] = line.substring(pos + 1).trim();\n attrs[attr] = attrs[attr].replace(/^['\"]|['\"]$/g, '');\n if (attrs[attr] === 'true') {\n attrs[attr] = true;\n } else if (attrs[attr] === 'false') {\n attrs[attr] = false;\n } else if (parseFloat(attrs[attr]).toString() === attrs[attr]) {\n attrs[attr] = parseFloat(attrs[attr]);\n }\n } else {\n attrs[line.trim()] = true;\n }\n });\n text = text.substring(pos + 7);\n }\n }\n return {header: attrs, body: text};\n }\n\n static MDremoveDocsify(text) {\n const m = text.match(/{docsify-[^}]*}/g);\n if (m) {\n m.forEach(doc => text = text.replace(doc, ''));\n }\n return text;\n }\n\n /**\n * Generate the json file on the file for download.\n * @param {string} filename file name\n * @returns {object} json structure (not stringified)\n */\n static generateFile(filename, json) {\n let el = document.createElement('a');\n el.setAttribute('href', 'data:application/json;charset=utf-8,' + encodeURIComponent(JSON.stringify(json, null, 2)));\n el.setAttribute('download', filename);\n\n el.style.display = 'none';\n document.body.appendChild(el);\n\n el.click();\n\n document.body.removeChild(el);\n }\n\n /**\n * Convert quality code into text\n * @param {number} quality code\n * @returns {array} lines that decode qulity\n */\n static quality2text(quality) {\n const custom = quality & 0xFFFF0000;\n const text = QUALITY_BITS[quality];\n let result;\n if (text) {\n result = [text];\n } else if (quality & 0x01) {\n result = [QUALITY_BITS[0x01], '0x' + (quality & (0xFFFF & ~1)).toString(16)];\n } else if (quality & 0x02) {\n result = [QUALITY_BITS[0x02], '0x' + (quality & (0xFFFF & ~2)).toString(16)];\n } else {\n result = ['0x' + quality.toString(16)];\n }\n if (custom) {\n result.push('0x' + (custom >> 16).toString(16).toUpperCase());\n }\n return result;\n }\n\n /**\n * Deep copy object\n * @param {object} object\n * @returns {object}\n */\n static clone(object) {\n return JSON.parse(JSON.stringify(object));\n }\n\n /**\n * Get states of object\n * @param {object} obj\n * @returns {object} states as an object in form {\"value1\": \"label1\", \"value2\": \"label2\"} or null\n */\n static getStates(obj) {\n let states = obj?.common?.states;\n if (states) {\n if (typeof states === 'string' && states[0] === '{') {\n try {\n states = JSON.parse(states);\n } catch (ex) {\n console.error(`Cannot parse states: ${states}`);\n states = null;\n }\n } else\n // if old format val1:text1;val2:text2\n if (typeof states === 'string') {\n const parts = states.split(';');\n states = {};\n for (let p = 0; p < parts.length; p++) {\n const s = parts[p].split(':');\n states[s[0]] = s[1];\n }\n } else if (Array.isArray(states)) {\n const result = {};\n states.forEach((value, key) => result[key] = value);\n return result;\n }\n }\n return states;\n }\n\n /**\n * Get svg file as text\n * @param {string} url URL of SVG file\n * @returns {object} Promise with \"data:image...\"\n */\n static getSvg(url) {\n return fetch(url)\n .then(response => response.blob())\n .then(blob => {\n return new Promise(resolve => {\n const reader = new FileReader();\n reader.onload = function() { // do not optimize this function. \"this\" is important.\n resolve(this.result);\n };\n reader.readAsDataURL(blob);\n });\n });\n }\n}\n\nexport default Utils;\n","/**\n * Copyright 2020-2022, bluefox \n *\n * MIT License\n *\n **/\nimport PropTypes from 'prop-types';\n\n/** Possible progress states. */\nexport const PROGRESS = {\n /** The socket is connecting. */\n CONNECTING: 0,\n /** The socket is successfully connected. */\n CONNECTED: 1,\n /** All objects are loaded. */\n OBJECTS_LOADED: 2,\n /** The socket is ready for use. */\n READY: 3\n};\n\nconst PERMISSION_ERROR = 'permissionError';\nconst NOT_CONNECTED = 'notConnectedError';\nconst TIMEOUT_FOR_ADMIN4 = 1300;\n\nexport const ERRORS = {\n PERMISSION_ERROR,\n NOT_CONNECTED\n};\n\nfunction fixAdminUI(obj) {\n if (obj && obj.common && !obj.common.adminUI) {\n if (obj.common.noConfig) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'none';\n } else if (obj.common.jsonConfig) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'json';\n } else if (obj.common.materialize) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'materialize';\n } else {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.config = 'html';\n }\n\n if (obj.common.jsonCustom) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.custom = 'json';\n } else if (obj.common.supportCustoms) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.custom = 'json';\n }\n\n if (obj.common.materializeTab && obj.common.adminTab) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.tab = 'materialize';\n } else if (obj.common.adminTab) {\n obj.common.adminUI = obj.common.adminUI || {};\n obj.common.adminUI.tab = 'html';\n }\n\n obj.common.adminUI && console.debug(`Please add to \"${obj._id.replace(/\\.\\d+$/, '')}\" common.adminUI=${JSON.stringify(obj.common.adminUI)}`);\n }\n return obj;\n}\n\nclass Connection {\n /**\n * @param {import('./types').ConnectionProps} props\n */\n constructor(props) {\n props = props || { protocol: window.location.protocol, host: window.location.hostname };\n this.props = props;\n\n this.autoSubscribes = this.props.autoSubscribes || [];\n this.autoSubscribeLog = this.props.autoSubscribeLog;\n\n this.props.protocol = this.props.protocol || window.location.protocol;\n this.props.host = this.props.host || window.location.hostname;\n this.props.port = this.props.port || (window.location.port === '3000' ? (Connection.isWeb() ? 8082 : 8081) : window.location.port);\n this.props.ioTimeout = Math.max(this.props.ioTimeout || 20000, 20000);\n this.props.cmdTimeout = Math.max(this.props.cmdTimeout || 5000, 5000);\n\n // breaking change. Do not load all objects by default is true\n this.doNotLoadAllObjects = this.props.doNotLoadAllObjects === undefined ? true : this.props.doNotLoadAllObjects;\n this.doNotLoadACL = this.props.doNotLoadACL === undefined ? true : this.props.doNotLoadACL;\n\n /** @type {Record} */\n this.states = {};\n this.objects = null;\n this.acl = null;\n this.firstConnect = true;\n this.waitForRestart = false;\n /** @type {ioBroker.Languages} */\n this.systemLang = 'en';\n this.connected = false;\n this._waitForFirstConnection = new Promise(resolve => { this._waitForFirstConnectionResolve = resolve });\n\n /** @type {Record} */\n this.statesSubscribes = {}; // subscribe for states\n\n /** @type {Record} */\n this.objectsSubscribes = {}; // subscribe for objects\n this.onProgress = this.props.onProgress || function () { };\n this.onError = this.props.onError || function (err) { console.error(err); };\n this.loaded = false;\n this.loadTimer = null;\n this.loadCounter = 0;\n this.admin5only = this.props.admin5only || false;\n\n /** @type {((connected: boolean) => void)[]} */\n this.onConnectionHandlers = [];\n /** @type {((message: string) => void)[]} */\n this.onLogHandlers = [];\n\n /** @type {Record>} */\n this._promises = {};\n\n this.log.error = text => this.log(text, 'error');\n this.log.warn = text => this.log(text, 'warn');\n this.log.info = text => this.log(text, 'info');\n this.log.debug = text => this.log(text, 'debug');\n this.log.silly = text => this.log(text, 'silly');\n\n this.startSocket();\n }\n\n /**\n * Checks if this connection is running in a web adapter and not in an admin.\n * @returns {boolean} True if running in a web adapter or in a socketio adapter.\n */\n static isWeb() {\n return window.adapterName === 'material' || window.adapterName === 'vis' || window.socketUrl !== undefined;\n }\n\n /**\n * Starts the socket.io connection.\n * @returns {void}\n */\n startSocket() {\n // if socket io is not yet loaded\n if (typeof window.io === 'undefined') {\n // if in index.html the onLoad function not defined\n if (typeof window.registerSocketOnLoad !== 'function') {\n // poll if loaded\n this.scriptLoadCounter = this.scriptLoadCounter || 0;\n this.scriptLoadCounter++;\n\n if (this.scriptLoadCounter < 30) {\n // wait till the script loaded\n setTimeout(() => this.startSocket(), 100);\n return;\n } else {\n window.alert('Cannot load socket.io.js!');\n }\n } else {\n // register on load\n window.registerSocketOnLoad(() => this.startSocket());\n }\n return;\n } else {\n // socket was initialized, do not repeat\n if (this._socket) {\n return;\n }\n }\n\n let host = this.props.host;\n let port = this.props.port;\n let protocol = this.props.protocol.replace(':', '');\n\n // if web adapter, socket io could be on other port or even host\n if (window.socketUrl) {\n let parts = window.socketUrl.split(':');\n host = parts[0] || host;\n port = parts[1] || port;\n if (host.includes('://')) {\n parts = host.split('://');\n protocol = parts[0];\n host = parts[1];\n }\n }\n\n const url = port ? `${protocol}://${host}:${port}` : `${protocol}://${host}`;\n\n this._socket = window.io.connect(\n url,\n {\n query: 'ws=true',\n name: this.props.name,\n timeout: this.props.ioTimeout\n }\n );\n\n this._socket.on('connect', noTimeout => {\n // If the user is not admin it takes some time to install the handlers, because all rights must be checked\n if (noTimeout !== true) {\n setTimeout(() =>\n this.getVersion()\n .then(info => {\n const [major, minor, patch] = info.version.split('.');\n const v = parseInt(major, 10) * 10000 + parseInt(minor, 10) * 100 + parseInt(patch, 10);\n if (v < 40102) {\n this._authTimer = null;\n // possible this is old version of admin\n this.onPreConnect(false, false);\n } else {\n this._socket.emit('authenticate', (isOk, isSecure) => this.onPreConnect(isOk, isSecure));\n }\n }), 500);\n } else {\n // iobroker websocket waits, till all handlers are installed\n this._socket.emit('authenticate', (isOk, isSecure) => this.onPreConnect(isOk, isSecure));\n }\n });\n\n this._socket.on('reconnect', () => {\n this.onProgress(PROGRESS.READY);\n this.connected = true;\n\n if (this.waitForRestart) {\n window.location.reload(false);\n } else {\n this._subscribe(true);\n this.onConnectionHandlers.forEach(cb => cb(true));\n }\n });\n\n this._socket.on('disconnect', () => {\n this.connected = false;\n this.subscribed = false;\n this.onProgress(PROGRESS.CONNECTING);\n this.onConnectionHandlers.forEach(cb => cb(false));\n });\n\n this._socket.on('reauthenticate', () =>\n this.authenticate());\n\n this._socket.on('log', message => {\n this.props.onLog && this.props.onLog(message);\n this.onLogHandlers.forEach(cb => cb(message));\n });\n\n this._socket.on('error', err => {\n let _err = err || '';\n if (typeof _err.toString !== 'function') {\n _err = JSON.stringify(_err);\n console.error(`Received strange error: ${_err}`);\n }\n _err = _err.toString();\n if (_err.includes('User not authorized')) {\n this.authenticate();\n } else {\n window.alert(`Socket Error: ${err}`);\n }\n });\n\n this._socket.on('connect_error', err =>\n console.error(`Connect error: ${err}`));\n\n this._socket.on('permissionError', err =>\n this.onError({ message: 'no permission', operation: err.operation, type: err.type, id: (err.id || '') }));\n\n this._socket.on('objectChange', (id, obj) =>\n setTimeout(() => this.objectChange(id, obj), 0));\n\n this._socket.on('stateChange', (id, state) =>\n setTimeout(() => this.stateChange(id, state), 0));\n\n this._socket.on('cmdStdout', (id, text) =>\n this.onCmdStdoutHandler && this.onCmdStdoutHandler(id, text));\n\n this._socket.on('cmdStderr', (id, text) =>\n this.onCmdStderrHandler && this.onCmdStderrHandler(id, text));\n\n this._socket.on('cmdExit', (id, exitCode) =>\n this.onCmdExitHandler && this.onCmdExitHandler(id, exitCode));\n }\n\n /**\n * Called internally.\n * @private\n * @param {boolean} isOk\n * @param {boolean} isSecure\n */\n onPreConnect(isOk, isSecure) {\n if (this._authTimer) {\n clearTimeout(this._authTimer);\n this._authTimer = null;\n }\n\n this.connected = true;\n this.isSecure = isSecure;\n\n if (this.waitForRestart) {\n window.location.reload(false);\n } else {\n if (this.firstConnect) {\n // retry strategy\n this.loadTimer = setTimeout(() => {\n this.loadTimer = null;\n this.loadCounter++;\n if (this.loadCounter < 10) {\n this.onConnect();\n }\n }, 1000);\n\n if (!this.loaded) {\n this.onConnect();\n }\n } else {\n this.onProgress(PROGRESS.READY);\n }\n\n this._subscribe(true);\n this.onConnectionHandlers.forEach(cb => cb(true));\n }\n\n if (this._waitForFirstConnectionResolve) {\n this._waitForFirstConnectionResolve();\n this._waitForFirstConnectionResolve = null;\n }\n }\n\n /**\n * Checks if the socket is connected.\n * @returns {boolean} true if connected.\n */\n isConnected() {\n return this.connected;\n }\n\n /**\n * Checks if the socket is connected.\n * @returns {Promise} Promise resolves if once connected.\n */\n waitForFirstConnection() {\n return this._waitForFirstConnection;\n }\n\n /**\n * Called internally.\n * @private\n */\n _getUserPermissions(cb) {\n if (this.doNotLoadACL) {\n return cb && cb();\n } else {\n this._socket.emit('getUserPermissions', cb);\n }\n }\n\n /**\n * Called internally.\n * @private\n */\n onConnect() {\n this._getUserPermissions((err, acl) => {\n if (err) {\n return this.onError('Cannot read user permissions: ' + err);\n } else\n if (!this.doNotLoadACL) {\n if (this.loaded) {\n return;\n }\n this.loaded = true;\n clearTimeout(this.loadTimer);\n this.loadTimer = null;\n\n this.onProgress(PROGRESS.CONNECTED);\n this.firstConnect = false;\n\n this.acl = acl;\n }\n\n // Read system configuration\n return (this.admin5only && !window.vendorPrefix ? this.getCompactSystemConfig() : this.getSystemConfig())\n .then(data => {\n if (this.doNotLoadACL) {\n if (this.loaded) {\n return undefined;\n }\n this.loaded = true;\n clearTimeout(this.loadTimer);\n this.loadTimer = null;\n\n this.onProgress(PROGRESS.CONNECTED);\n this.firstConnect = false;\n }\n\n this.systemConfig = data;\n if (this.systemConfig && this.systemConfig.common) {\n this.systemLang = this.systemConfig.common.language;\n } else {\n this.systemLang = window.navigator.userLanguage || window.navigator.language;\n\n if (this.systemLang !== 'en' && this.systemLang !== 'de' && this.systemLang !== 'ru') {\n this.systemConfig.common.language = 'en';\n this.systemLang = 'en';\n }\n }\n\n this.props.onLanguage && this.props.onLanguage(this.systemLang);\n\n if (!this.doNotLoadAllObjects) {\n return this.getObjects()\n .then(() => {\n this.onProgress(PROGRESS.READY);\n this.props.onReady && this.props.onReady(this.objects);\n });\n } else {\n this.objects = this.admin5only ? {} : { 'system.config': data };\n this.onProgress(PROGRESS.READY);\n this.props.onReady && this.props.onReady(this.objects);\n }\n return undefined;\n })\n .catch(e => this.onError('Cannot read system config: ' + e));\n });\n }\n\n /**\n * Called internally.\n * @private\n */\n authenticate() {\n if (window.location.search.includes('&href=')) {\n window.location = `${window.location.protocol}//${window.location.host}${window.location.pathname}${window.location.search}${window.location.hash}`;\n } else {\n window.location = `${window.location.protocol}//${window.location.host}${window.location.pathname}?login&href=${window.location.search}${window.location.hash}`;\n }\n }\n\n /**\n * Subscribe to changes of the given state.\n * @param {string} id The ioBroker state ID.\n * @param {ioBroker.StateChangeHandler} cb The callback.\n */\n /**\n * Subscribe to changes of the given state.\n * @param {string} id The ioBroker state ID.\n * @param {boolean} binary Set to true if the given state is binary and requires Base64 decoding.\n * @param {ioBroker.StateChangeHandler} cb The callback.\n */\n subscribeState(id, binary, cb) {\n if (typeof binary === 'function') {\n cb = binary;\n binary = false;\n }\n\n if (!this.statesSubscribes[id]) {\n let reg = id\n .replace(/\\./g, '\\\\.')\n .replace(/\\*/g, '.*')\n .replace(/\\(/g, '\\\\(')\n .replace(/\\)/g, '\\\\)')\n .replace(/\\+/g, '\\\\+')\n .replace(/\\[/g, '\\\\[');\n\n if (reg.indexOf('*') === -1) {\n reg += '$';\n }\n this.statesSubscribes[id] = { reg: new RegExp(reg), cbs: [] };\n this.statesSubscribes[id].cbs.push(cb);\n if (this.connected) {\n this._socket.emit('subscribe', id);\n }\n } else {\n !this.statesSubscribes[id].cbs.includes(cb) && this.statesSubscribes[id].cbs.push(cb);\n }\n if (typeof cb === 'function' && this.connected) {\n if (binary) {\n this.getBinaryState(id)\n .then(base64 => cb(id, base64))\n .catch(e => console.error(`Cannot getForeignStates \"${id}\": ${JSON.stringify(e)}`));\n } else {\n if (Connection.isWeb()) {\n this._socket.emit('getStates', id, (err, states) => {\n err && console.error(`Cannot getForeignStates \"${id}\": ${JSON.stringify(err)}`);\n states && Object.keys(states).forEach(id => cb(id, states[id]));\n });\n } else {\n this._socket.emit('getForeignStates', id, (err, states) => {\n err && console.error(`Cannot getForeignStates \"${id}\": ${JSON.stringify(err)}`);\n states && Object.keys(states).forEach(id => cb(id, states[id]));\n });\n }\n }\n }\n }\n\n /**\n * Unsubscribes all callbacks from changes of the given state.\n * @param {string} id The ioBroker state ID.\n */\n /**\n * Unsubscribes the given callback from changes of the given state.\n * @param {string} id The ioBroker state ID.\n * @param {ioBroker.StateChangeHandler} cb The callback.\n */\n unsubscribeState(id, cb) {\n if (this.statesSubscribes[id]) {\n if (cb) {\n const pos = this.statesSubscribes[id].cbs.indexOf(cb);\n pos !== -1 && this.statesSubscribes[id].cbs.splice(pos, 1);\n } else {\n this.statesSubscribes[id].cbs = [];\n }\n\n if (!this.statesSubscribes[id].cbs || !this.statesSubscribes[id].cbs.length) {\n delete this.statesSubscribes[id];\n this.connected && this._socket.emit('unsubscribe', id);\n }\n }\n }\n\n /**\n * Subscribe to changes of the given object.\n * @param {string} id The ioBroker object ID.\n * @param {import('./types').ObjectChangeHandler} cb The callback.\n * @returns {Promise}\n */\n subscribeObject(id, cb) {\n if (!this.objectsSubscribes[id]) {\n let reg = id.replace(/\\./g, '\\\\.').replace(/\\*/g, '.*');\n if (!reg.includes('*')) {\n reg += '$';\n }\n this.objectsSubscribes[id] = { reg: new RegExp(reg), cbs: [] };\n this.objectsSubscribes[id].cbs.push(cb);\n this.connected && this._socket.emit('subscribeObjects', id);\n } else {\n !this.objectsSubscribes[id].cbs.includes(cb) && this.objectsSubscribes[id].cbs.push(cb);\n }\n return Promise.resolve();\n }\n\n /**\n * Unsubscribes all callbacks from changes of the given object.\n * @param {string} id The ioBroker object ID.\n * @returns {Promise}\n */\n /**\n * Unsubscribes the given callback from changes of the given object.\n * @param {string} id The ioBroker object ID.\n * @param {import('./types').ObjectChangeHandler} cb The callback.\n * @returns {Promise}\n */\n unsubscribeObject(id, cb) {\n if (this.objectsSubscribes[id]) {\n if (cb) {\n const pos = this.objectsSubscribes[id].cbs.indexOf(cb);\n pos !== -1 && this.objectsSubscribes[id].cbs.splice(pos, 1);\n } else {\n this.objectsSubscribes[id].cbs = [];\n }\n\n if (this.connected && (!this.objectsSubscribes[id].cbs || !this.objectsSubscribes[id].cbs.length)) {\n delete this.objectsSubscribes[id];\n this.connected && this._socket.emit('unsubscribeObjects', id);\n }\n }\n return Promise.resolve();\n }\n\n /**\n * Called internally.\n * @private\n * @param {string} id\n * @param {ioBroker.Object | null | undefined} obj\n */\n objectChange(id, obj) {\n // update main.objects cache\n if (!this.objects) {\n return;\n }\n\n /** @type {import(\"./types\").OldObject} */\n let oldObj;\n\n let changed = false;\n if (obj) {\n if (obj._rev && this.objects[id]) {\n this.objects[id]._rev = obj._rev;\n }\n\n if (this.objects[id]) {\n oldObj = { _id: id, type: this.objects[id].type };\n }\n\n if (!this.objects[id] || JSON.stringify(this.objects[id]) !== JSON.stringify(obj)) {\n this.objects[id] = obj;\n changed = true;\n }\n } else if (this.objects[id]) {\n oldObj = { _id: id, type: this.objects[id].type };\n delete this.objects[id];\n changed = true;\n }\n\n Object.keys(this.objectsSubscribes).forEach(_id => {\n if (_id === id || this.objectsSubscribes[_id].reg.test(id)) {\n //@ts-ignore\n this.objectsSubscribes[_id].cbs.forEach(cb => cb(id, obj, oldObj));\n }\n });\n\n if (changed && this.props.onObjectChange) {\n this.props.onObjectChange(id, obj);\n }\n }\n\n /**\n * Called internally.\n * @private\n * @param {string} id\n * @param {ioBroker.State | null | undefined} state\n */\n stateChange(id, state) {\n for (const task in this.statesSubscribes) {\n if (this.statesSubscribes.hasOwnProperty(task) && this.statesSubscribes[task].reg.test(id)) {\n this.statesSubscribes[task].cbs.forEach(cb => cb(id, state));\n }\n }\n }\n\n /**\n * Gets all states.\n * @param {boolean} disableProgressUpdate don't call onProgress() when done\n * @returns {Promise>}\n */\n getStates(disableProgressUpdate) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getStates', (err, res) => {\n this.states = res;\n //@ts-ignore\n !disableProgressUpdate && this.onProgress(PROGRESS.STATES_LOADED);\n return err ? reject(err) : resolve(this.states);\n }));\n }\n\n /**\n * Gets the given state.\n * @param {string} id The state ID.\n * @returns {Promise}\n */\n getState(id) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getState', id, (err, state) => err ? reject(err) : resolve(state)));\n }\n\n /**\n * Gets the given binary state.\n * @param {string} id The state ID.\n * @returns {Promise}\n */\n getBinaryState(id) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n // the data will come in base64\n return new Promise((resolve, reject) =>\n this._socket.emit('getBinaryState', id, (err, state) => err ? reject(err) : resolve(state)));\n }\n\n /**\n * Sets the given binary state.\n * @param {string} id The state ID.\n * @param {string} base64 The Base64 encoded binary data.\n * @returns {Promise}\n */\n setBinaryState(id, base64) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n // the data will come in base64\n return new Promise((resolve, reject) =>\n this._socket.emit('setBinaryState', id, base64, err => err ? reject(err) : resolve()));\n }\n\n /**\n * Sets the given state value.\n * @param {string} id The state ID.\n * @param {string | number | boolean | ioBroker.State | ioBroker.SettableState | null} val The state value.\n * @returns {Promise}\n */\n setState(id, val) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('setState', id, val, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Gets all objects.\n * @param {(objects?: Record) => void} update Callback that is executed when all objects are retrieved.\n * @returns {void}\n */\n /**\n * Gets all objects.\n * @param {boolean} update Set to true to retrieve all objects from the server (instead of using the local cache).\n * @param {boolean} disableProgressUpdate don't call onProgress() when done\n * @returns {Promise> | undefined}\n */\n getObjects(update, disableProgressUpdate) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n } else {\n return new Promise((resolve, reject) => {\n if (!update && this.objects) {\n return resolve(this.objects);\n }\n\n this._socket.emit(Connection.isWeb() ? 'getObjects' : 'getAllObjects', (err, res) => {\n this.objects = res;\n disableProgressUpdate && this.onProgress(PROGRESS.OBJECTS_LOADED);\n err ? reject(err) : resolve(this.objects);\n });\n });\n }\n }\n\n /**\n * Called internally.\n * @private\n * @param {boolean} isEnable\n */\n _subscribe(isEnable) {\n if (isEnable && !this.subscribed) {\n this.subscribed = true;\n this.autoSubscribes.forEach(id => this._socket.emit('subscribeObjects', id));\n // re subscribe objects\n Object.keys(this.objectsSubscribes).forEach(id => this._socket.emit('subscribeObjects', id));\n // re-subscribe logs\n this.autoSubscribeLog && this._socket.emit('requireLog', true);\n // re subscribe states\n Object.keys(this.statesSubscribes).forEach(id => this._socket.emit('subscribe', id));\n } else if (!isEnable && this.subscribed) {\n this.subscribed = false;\n // un-subscribe objects\n this.autoSubscribes.forEach(id => this._socket.emit('unsubscribeObjects', id));\n Object.keys(this.objectsSubscribes).forEach(id => this._socket.emit('unsubscribeObjects', id));\n // un-subscribe logs\n this.autoSubscribeLog && this._socket.emit('requireLog', false);\n\n // un-subscribe states\n Object.keys(this.statesSubscribes).forEach(id => this._socket.emit('unsubscribe', id));\n }\n }\n\n /**\n * Requests log updates.\n * @param {boolean} isEnabled Set to true to get logs.\n * @returns {Promise}\n */\n requireLog(isEnabled) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('requireLog', isEnabled, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Deletes the given object.\n * @param {string} id The object ID.\n * @param {boolean} maintenance Force deletion of non conform IDs.\n * @returns {Promise}\n */\n delObject(id, maintenance) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('delObject', id, { maintenance: !!maintenance }, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Deletes the given object and all its children.\n * @param {string} id The object ID.\n * @param {boolean} maintenance Force deletion of non conform IDs.\n * @returns {Promise}\n */\n delObjects(id, maintenance) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('delObjects', id, {maintenance: !!maintenance}, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Sets the object.\n * @param {string} id The object ID.\n * @param {ioBroker.SettableObject} obj The object.\n * @returns {Promise}\n */\n setObject(id, obj) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!obj) {\n return Promise.reject('Null object is not allowed');\n }\n\n obj = JSON.parse(JSON.stringify(obj));\n\n if (obj.hasOwnProperty('from')) {\n delete obj.from;\n }\n if (obj.hasOwnProperty('user')) {\n delete obj.user;\n }\n if (obj.hasOwnProperty('ts')) {\n delete obj.ts;\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('setObject', id, obj, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Gets the object with the given id from the server.\n * @param {string} id The object ID.\n * @returns {ioBroker.GetObjectPromise} The object.\n */\n getObject(id) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getObject', id, (err, obj) =>\n err ? reject(err) : resolve(obj)));\n }\n\n /**\n * Get all adapter instances.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n /**\n * Get all instances of the given adapter.\n * @param {string} adapter The name of the adapter.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getAdapterInstances(adapter, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (typeof adapter === 'boolean') {\n update = adapter;\n adapter = '';\n }\n adapter = adapter || '';\n\n if (!update && this._promises['instances_' + adapter]) {\n return this._promises['instances_' + adapter];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['instances_' + adapter] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n timeout = null;\n this.getObjectView(\n `system.adapter.${adapter}.`,\n `system.adapter.${adapter}.\\u9999`,\n 'instance'\n )\n .then(items => resolve(Object.keys(items).map(id => fixAdminUI(items[id]))))\n .catch(e => reject(e));\n }, TIMEOUT_FOR_ADMIN4);\n\n this._socket.emit('getAdapterInstances', adapter, (err, instances) => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n return err ? reject(err) : resolve(instances);\n }\n });\n });\n\n return this._promises['instances_' + adapter];\n }\n\n /**\n * Get all adapters.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n /**\n * Get adapters with the given name.\n * @param {string} adapter The name of the adapter.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getAdapters(adapter, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (typeof adapter === 'boolean') {\n update = adapter;\n adapter = '';\n }\n\n adapter = adapter || '';\n\n if (!update && this._promises['adapter_' + adapter]) {\n return this._promises['adapter_' + adapter];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['adapter_' + adapter] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n timeout = null;\n this.getObjectView(\n `system.adapter.${adapter}.`,\n `system.adapter.${adapter}.\\u9999`,\n 'adapter'\n )\n .then(items => resolve(Object.keys(items).map(id => fixAdminUI(items[id]))))\n .catch(e => reject(e));\n }, TIMEOUT_FOR_ADMIN4);\n\n this._socket.emit('getAdapters', adapter, (err, adapters) => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n return err ? reject(err) : resolve(adapters);\n }\n });\n });\n\n return this._promises['adapter_' + adapter];\n }\n\n /**\n * Called internally.\n * @private\n * @param {any[]} objs\n * @param {(err?: any) => void} cb\n */\n _renameGroups(objs, cb) {\n if (!objs || !objs.length) {\n cb && cb();\n } else {\n let obj = objs.pop();\n let oldId = obj._id;\n obj._id = obj.newId;\n delete obj.newId;\n\n this.setObject(obj._id, obj)\n .then(() => this.delObject(oldId))\n .then(() => setTimeout(() => this._renameGroups(objs, cb), 0))\n .catch(err => cb && cb(err));\n }\n }\n\n /**\n * Rename a group.\n * @param {string} id The id.\n * @param {string} newId The new id.\n * @param {string | { [lang in ioBroker.Languages]?: string; }} newName The new name.\n */\n renameGroup(id, newId, newName) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n return this.getGroups(true)\n .then(groups => {\n if (groups.length) {\n // find all elements\n const groupsToRename = groups\n .filter(group => group._id.startsWith(id + '.'));\n\n groupsToRename.forEach(group => group.newId = newId + group._id.substring(id.length));\n\n return new Promise((resolve, reject) =>\n this._renameGroups(groupsToRename, err => err ? reject(err) : resolve()))\n .then(() => {\n const obj = groups.find(group => group._id === id);\n\n if (obj) {\n obj._id = newId;\n if (newName !== undefined) {\n obj.common = obj.common || {};\n obj.common.name = newName;\n }\n\n return this.setObject(obj._id, obj)\n .then(() => this.delObject(id));\n }\n });\n }\n });\n }\n\n /**\n * Sends a message to a specific instance or all instances of some specific adapter.\n * @param {string} instance The instance to send this message to.\n * @param {string} [command] Command name of the target instance.\n * @param {ioBroker.MessagePayload} [data] The message data to send.\n * @returns {Promise}\n */\n sendTo(instance, command, data) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise(resolve =>\n this._socket.emit('sendTo', instance, command, data, result =>\n resolve(result)));\n }\n\n /**\n * Extend an object and create it if it might not exist.\n * @param {string} id The id.\n * @param {ioBroker.PartialObject} obj The object.\n */\n extendObject(id, obj) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n obj = JSON.parse(JSON.stringify(obj));\n\n if (obj.hasOwnProperty('from')) {\n delete obj.from;\n }\n if (obj.hasOwnProperty('user')) {\n delete obj.user;\n }\n if (obj.hasOwnProperty('ts')) {\n delete obj.ts;\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('extendObject', id, obj, err => err ? reject(err) : resolve()));\n }\n\n /**\n * Register a handler for log messages.\n * @param {(message: string) => void} handler The handler.\n */\n registerLogHandler(handler) {\n !this.onLogHandlers.includes(handler) && this.onLogHandlers.push(handler);\n }\n\n /**\n * Unregister a handler for log messages.\n * @param {(message: string) => void} handler The handler.\n */\n unregisterLogHandler(handler) {\n const pos = this.onLogHandlers.indexOf(handler);\n pos !== -1 && this.onLogHandlers.splice(pos, 1);\n }\n\n /**\n * Register a handler for the connection state.\n * @param {(connected: boolean) => void} handler The handler.\n */\n registerConnectionHandler(handler) {\n !this.onConnectionHandlers.includes(handler) && this.onConnectionHandlers.push(handler);\n }\n\n /**\n * Unregister a handler for the connection state.\n * @param {(connected: boolean) => void} handler The handler.\n */\n unregisterConnectionHandler(handler) {\n const pos = this.onConnectionHandlers.indexOf(handler);\n pos !== -1 && this.onConnectionHandlers.splice(pos, 1);\n }\n\n /**\n * Set the handler for standard output of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n registerCmdStdoutHandler(handler) {\n this.onCmdStdoutHandler = handler;\n }\n\n /**\n * Unset the handler for standard output of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n unregisterCmdStdoutHandler(handler) {\n this.onCmdStdoutHandler = null;\n }\n\n /**\n * Set the handler for standard error of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n registerCmdStderrHandler(handler) {\n this.onCmdStderrHandler = handler;\n }\n\n /**\n * Unset the handler for standard error of a command.\n * @param {(id: string, text: string) => void} handler The handler.\n */\n unregisterCmdStderrHandler(handler) {\n this.onCmdStderrHandler = null;\n }\n\n /**\n * Set the handler for exit of a command.\n * @param {(id: string, exitCode: number) => void} handler The handler.\n */\n registerCmdExitHandler(handler) {\n this.onCmdExitHandler = handler;\n }\n\n /**\n * Unset the handler for exit of a command.\n * @param {(id: string, exitCode: number) => void} handler The handler.\n */\n unregisterCmdExitHandler(handler) {\n this.onCmdExitHandler = null;\n }\n\n /**\n * Get all enums with the given name.\n * @param {string} [_enum] The name of the enum\n * @param {boolean} [update] Force update.\n * @returns {Promise>}\n */\n getEnums(_enum, update) {\n if (!update && this._promises['enums_' + (_enum || 'all')]) {\n return this._promises['enums_' + (_enum || 'all')];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['enums_' + (_enum || 'all')] = new Promise((resolve, reject) => {\n this._socket.emit('getObjectView', 'system', 'enum', { startkey: 'enum.' + (_enum || ''), endkey: 'enum.' + (_enum ? (_enum + '.') : '') + '\\u9999' }, (err, res) => {\n if (!err && res) {\n const _res = {};\n for (let i = 0; i < res.rows.length; i++) {\n if (_enum && res.rows[i].id === 'enum.' + _enum) {\n continue;\n }\n _res[res.rows[i].id] = res.rows[i].value;\n }\n resolve(_res);\n } else {\n reject(err);\n }\n });\n });\n\n return this._promises['enums_' + (_enum || 'all')];\n }\n\n /**\n * Query a predefined object view.\n * @param {string} start The start ID.\n * @param {string} end The end ID.\n * @param {string} type The type of object.\n * @returns {Promise>}\n */\n getObjectView(start, end, type) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n start = start || '';\n end = end || '\\u9999';\n\n return new Promise((resolve, reject) => {\n this._socket.emit('getObjectView', 'system', type, { startkey: start, endkey: end }, (err, res) => {\n if (!err) {\n const _res = {};\n if (res && res.rows) {\n for (let i = 0; i < res.rows.length; i++) {\n _res[res.rows[i].id] = res.rows[i].value;\n }\n }\n resolve(_res);\n } else {\n reject(err);\n }\n });\n });\n }\n\n /**\n * Get the stored certificates.\n * @param {boolean} [update] Force update.\n * @returns {Promise<{name: string; type: 'public' | 'private' | 'chained'}[]>}\n */\n getCertificates(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (this._promises.cert && !update) {\n return this._promises.cert;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.cert = this.getObject('system.certificates')\n .then(res => {\n const certs = [];\n if (res && res.native && res.native.certificates) {\n Object.keys(res.native.certificates).forEach(c => {\n const cert = res.native.certificates[c];\n if (!cert) {\n return;\n }\n const _cert = {\n name: c,\n type: ''\n };\n // If it is filename, it could be everything\n if (cert.length < 700 && (cert.indexOf('/') !== -1 || cert.indexOf('\\\\') !== -1)) {\n if (c.toLowerCase().includes('private')) {\n _cert.type = 'private';\n } else if (cert.toLowerCase().includes('private')) {\n _cert.type = 'private';\n } else if (c.toLowerCase().includes('public')) {\n _cert.type = 'public';\n } else if (cert.toLowerCase().includes('public')) {\n _cert.type = 'public';\n }\n certs.push(_cert);\n } else {\n _cert.type = (cert.substring(0, '-----BEGIN RSA PRIVATE KEY'.length) === '-----BEGIN RSA PRIVATE KEY' || cert.substring(0, '-----BEGIN PRIVATE KEY'.length) === '-----BEGIN PRIVATE KEY') ? 'private' : 'public';\n\n if (_cert.type === 'public') {\n const m = cert.split('-----END CERTIFICATE-----');\n if (m.filter(t => t.replace(/\\r\\n|\\r|\\n/, '').trim()).length > 1) {\n _cert.type = 'chained';\n }\n }\n\n certs.push(_cert);\n }\n });\n }\n return certs;\n });\n\n return this._promises.cert;\n }\n\n /**\n * Get the logs from a host (only for admin connection).\n * @param {string} host\n * @param {number} [linesNumber]\n * @returns {Promise}\n */\n getLogs(host, linesNumber) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise(resolve =>\n this._socket.emit('sendToHost', host, 'getLogs', linesNumber || 200, lines =>\n resolve(lines)));\n }\n\n /**\n * Get the log files (only for admin connection).\n * @returns {Promise}\n */\n getLogsFiles(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('readLogs', host, (err, files) =>\n err ? reject(err) : resolve(files)));\n }\n\n /**\n * Delete the logs from a host (only for admin connection).\n * @param {string} host\n * @returns {Promise}\n */\n delLogs(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('sendToHost', host, 'delLogs', null, error =>\n error ? reject(error) : resolve()));\n }\n\n /**\n * Read the meta items.\n * @returns {Promise}\n */\n readMetaItems() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getObjectView', 'system', 'meta', { startkey: '', endkey: '\\u9999' }, (err, objs) =>\n err ? reject(err) : resolve(objs.rows && objs.rows.map(obj => obj.value))));\n }\n\n /**\n * Read the directory of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The directory name.\n * @returns {Promise}\n */\n readDir(adapter, fileName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('readDir', adapter, fileName, (err, files) =>\n err ? reject(err) : resolve(files)));\n }\n\n /**\n * Read a file of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The file name.\n * @param {boolean} base64 If it must be a base64 format\n * @returns {Promise}\n */\n readFile(adapter, fileName, base64) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n if (!base64) {\n this._socket.emit('readFile', adapter, fileName, (err, data, type) => {\n //@ts-ignore\n err ? reject(err) : resolve({data, type});\n });\n } else {\n this._socket.emit('readFile64', adapter, fileName, base64, (err, data) =>\n err ? reject(err) : resolve(data));\n }\n });\n }\n\n /**\n * Write a file of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The file name.\n * @param {Buffer | string} data The data (if it's a Buffer, it will be converted to Base64).\n * @returns {Promise}\n */\n writeFile64(adapter, fileName, data) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n if (typeof data === 'string') {\n this._socket.emit('writeFile', adapter, fileName, data, err =>\n err ? reject(err) : resolve());\n } else {\n const base64 = btoa(\n new Uint8Array(data)\n .reduce((data, byte) => data + String.fromCharCode(byte), '')\n );\n\n this._socket.emit('writeFile64', adapter, fileName, base64, err =>\n err ? reject(err) : resolve());\n }\n });\n }\n\n /**\n * Rename a file or folder of an adapter.\n *\n * All files in folder will be renamed too.\n * @param {string} adapter The adapter name.\n * @param {string} oldName The file name of the file to be renamed.\n * @param {string} newName The new file name.\n * @returns {Promise}\n */\n rename(adapter, oldName, newName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('rename', adapter, oldName, newName, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Delete a file of an adapter.\n * @param {string} adapter The adapter name.\n * @param {string} fileName The file name.\n * @returns {Promise}\n */\n deleteFile(adapter, fileName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('unlink', adapter, fileName, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Delete a folder of an adapter.\n * All files in folder will be deleted.\n * @param {string} adapter The adapter name.\n * @param {string} folderName The folder name.\n * @returns {Promise}\n */\n deleteFolder(adapter, folderName) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('deleteFolder', adapter, folderName, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Get the list of all hosts.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getHosts(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.hosts) {\n return this._promises.hosts;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.hosts = new Promise((resolve, reject) =>\n this._socket.emit(\n 'getObjectView',\n 'system',\n 'host',\n {startkey: 'system.host.', endkey: 'system.host.\\u9999'},\n (err, doc) => {\n if (err) {\n reject(err);\n } else {\n resolve(doc.rows.map(item => item.value));\n }\n }));\n\n return this._promises.hosts;\n }\n\n /**\n * Get the list of all users.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getUsers(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.users) {\n return this._promises.users;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.users = new Promise((resolve, reject) =>\n this._socket.emit(\n 'getObjectView',\n 'system',\n 'user',\n {startkey: 'system.user.', endkey: 'system.user.\\u9999'},\n (err, doc) => {\n if (err) {\n reject(err);\n } else {\n resolve(doc.rows.map(item => item.value));\n }\n }));\n\n return this._promises.users;\n }\n\n /**\n * Get the list of all groups.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getGroups(update) {\n if (!update && this._promises.groups) {\n return this._promises.groups;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.groups = new Promise((resolve, reject) =>\n this._socket.emit(\n 'getObjectView',\n 'system',\n 'group',\n {startkey: 'system.group.', endkey: 'system.group.\\u9999'},\n (err, doc) => {\n if (err) {\n reject(err);\n } else {\n resolve(doc.rows.map(item => item.value));\n }\n }));\n\n return this._promises.groups;\n }\n\n /**\n * Get the host information.\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] optional read timeout.\n * @returns {Promise}\n */\n getHostInfo(host, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n if (!update && this._promises['hostInfo' + host]) {\n return this._promises['hostInfo' + host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['hostInfo' + host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getHostInfo timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getHostInfo', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getHostInfo\"');\n } else if (!data) {\n reject('Cannot read \"getHostInfo\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises['hostInfo' + host];\n }\n\n /**\n * Get the host information (short version).\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] optional read timeout.\n * @returns {Promise}\n */\n getHostInfoShort(host, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n if (!update && this._promises['hostInfoShort' + host]) {\n return this._promises['hostInfoShort' + host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['hostInfoShort' + host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('hostInfoShort timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getHostInfoShort', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getHostInfoShort\"');\n } else if (!data) {\n reject('Cannot read \"getHostInfoShort\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises['hostInfoShort' + host];\n }\n\n /**\n * Get the repository.\n * @param {string} host\n * @param {any} [args]\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] timeout in ms.\n * @returns {Promise}\n */\n getRepository(host, args, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.repo) {\n return this._promises.repo;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.repo = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getRepository timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getRepository', args, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getRepository\"');\n } else if (!data) {\n reject('Cannot read \"getRepository\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.repo;\n }\n\n /**\n * Get the installed.\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [cmdTimeout] timeout in ms (optional)\n * @returns {Promise}\n */\n getInstalled(host, update, cmdTimeout) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n this._promises.installed = this._promises.installed || {};\n\n if (!update && this._promises.installed[host]) {\n return this._promises.installed[host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.installed[host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getInstalled timeout');\n }\n }, cmdTimeout || this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'getInstalled', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getInstalled\"');\n } else if (!data) {\n reject('Cannot read \"getInstalled\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.installed[host];\n }\n\n /**\n * Execute a command on a host.\n * @param {string} host The host name.\n * @param {string} cmd The command.\n * @param {string} cmdId The command ID.\n * @param {number} cmdTimeout Timeout of command in ms\n * @returns {Promise}\n */\n cmdExec(host, cmd, cmdId, cmdTimeout) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith(host)) {\n host += 'system.host.' + host;\n }\n\n return new Promise((resolve, reject) => {\n let timeout = cmdTimeout && setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('cmdExec timeout');\n }\n }, cmdTimeout);\n\n this._socket.emit('cmdExec', host, cmdId, cmd, null, err => {\n if (!cmdTimeout || timeout) {\n timeout && clearTimeout(timeout);\n timeout = null;\n if (err) {\n reject(err);\n } else {\n resolve();\n }\n }\n });\n });\n }\n\n /**\n * Checks if a given feature is supported.\n * @param {string} feature The feature to check.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n checkFeatureSupported(feature, update) {\n if (!update && this._promises['supportedFeatures_' + feature]) {\n return this._promises['supportedFeatures_' + feature];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises['supportedFeatures_' + feature] = new Promise((resolve, reject) =>\n this._socket.emit('checkFeatureSupported', feature, (err, features) => {\n err ? reject(err) : resolve(features)\n }));\n\n return this._promises['supportedFeatures_' + feature];\n }\n\n /**\n * Read the base settings of a given host.\n * @param {string} host\n * @returns {Promise}\n */\n readBaseSettings(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return this.checkFeatureSupported('CONTROLLER_READWRITE_BASE_SETTINGS')\n .then(result => {\n if (result) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('readBaseSettings timeout');\n }\n }, this.props.cmdTimeout);\n\n if (host.startsWith('system.host.')) {\n host = host.replace(/^system\\.host\\./, '');\n }\n\n this._socket.emit('sendToHost', host, 'readBaseSettings', null, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n\n if (data === PERMISSION_ERROR) {\n reject('May not read \"BaseSettings\"');\n } else if (!data) {\n reject('Cannot read \"BaseSettings\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n } else {\n return Promise.reject('Not supported');\n }\n });\n }\n\n /**\n * Write the base settings of a given host.\n * @param {string} host\n * @param {any} config\n * @returns {Promise}\n */\n writeBaseSettings(host, config) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return this.checkFeatureSupported('CONTROLLER_READWRITE_BASE_SETTINGS')\n .then(result => {\n if (result) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('writeBaseSettings timeout');\n }\n }, this.props.cmdTimeout);\n\n this._socket.emit('sendToHost', host, 'writeBaseSettings', config, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n\n if (data === PERMISSION_ERROR) {\n reject('May not write \"BaseSettings\"');\n } else if (!data) {\n reject('Cannot write \"BaseSettings\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n } else {\n return Promise.reject('Not supported');\n }\n })\n }\n\n /**\n * Send command to restart the iobroker on host\n * @param {string} host\n * @returns {Promise}\n */\n restartController(host) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) => {\n this._socket.emit('sendToHost', host, 'restartController', null, error => {\n error ? reject(error) : resolve(true);\n });\n });\n }\n\n /**\n * Read statistics information from host\n * @param {string} host\n * @param {string} typeOfDiag one of none, normal, no-city, extended\n * @returns {Promise}\n */\n getDiagData(host, typeOfDiag) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise(resolve => {\n this._socket.emit('sendToHost', host, 'getDiagData', typeOfDiag, result =>\n resolve(result));\n });\n }\n\n /**\n * Read all states (which might not belong to this adapter) which match the given pattern.\n * @param {string} pattern\n * @returns {ioBroker.GetStatesPromise}\n */\n getForeignStates(pattern) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n if (Connection.isWeb()) {\n return new Promise((resolve, reject) =>\n this._socket.emit('getStates', pattern || '*', (err, states) =>\n err ? reject(err) : resolve(states)));\n } else {\n return new Promise((resolve, reject) =>\n this._socket.emit('getForeignStates', pattern || '*', (err, states) =>\n err ? reject(err) : resolve(states)));\n }\n }\n\n /**\n * Get foreign objects by pattern, by specific type and resolve their enums.\n * @param {string} pattern\n * @param {string} [type]\n * @returns {ioBroker.GetObjectsPromise}\n */\n getForeignObjects(pattern, type) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getForeignObjects', pattern || '*', type, (err, states) =>\n err ? reject(err) : resolve(states)));\n }\n\n /**\n * Gets the system configuration.\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getSystemConfig(update) {\n if (!update && this._promises.systemConfig) {\n return this._promises.systemConfig;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.systemConfig = this.getObject('system.config')\n .then(systemConfig => {\n //@ts-ignore\n systemConfig = systemConfig || {};\n //@ts-ignore\n systemConfig.common = systemConfig.common || {};\n //@ts-ignore\n systemConfig.native = systemConfig.native || {};\n return systemConfig;\n });\n\n return this._promises.systemConfig;\n }\n\n /**\n * Sets the system configuration.\n * @param {ioBroker.SettableObjectWorker} obj\n * @returns {Promise>}\n */\n setSystemConfig(obj) {\n return this.setObject('system.config', obj)\n .then(() => this._promises.systemConfig = Promise.resolve(obj));\n }\n\n /**\n * Get the raw socket.io socket.\n * @returns {any}\n */\n getRawSocket() {\n return this._socket;\n }\n\n /**\n * Get the history of a given state.\n * @param {string} id\n * @param {ioBroker.GetHistoryOptions} options\n * @returns {Promise}\n */\n getHistory(id, options) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getHistory', id, options, (err, values) =>\n err ? reject(err) : resolve(values)));\n }\n\n /**\n * Get the history of a given state.\n * @param {string} id\n * @param {ioBroker.GetHistoryOptions} options\n * @returns {Promise<{values: ioBroker.GetHistoryResult; sesionId: string; stepIgnore: number}>}\n */\n getHistoryEx(id, options) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('getHistory', id, options, (err, values, stepIgnore, sessionId) =>\n err ? reject(err) : resolve({ values, sessionId, stepIgnore })));\n }\n\n /**\n * Change the password of the given user.\n * @param {string} user\n * @param {string} password\n * @returns {Promise}\n */\n changePassword(user, password) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('changePassword', user, password, err =>\n err ? reject(err) : resolve()));\n }\n\n /**\n * Get the IP addresses of the given host.\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getIpAddresses(host, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!host.startsWith('system.host.')) {\n host = 'system.host.' + host;\n }\n\n if (!update && this._promises['IPs_' + host]) {\n return this._promises['IPs_' + host];\n }\n this._promises['IPs_' + host] = this.getObject(host)\n .then(obj => obj && obj.common ? obj.common.address || [] : []);\n\n return this._promises['IPs_' + host];\n }\n\n /**\n * Get the IP addresses with interface names of the given host or find host by IP.\n * @param {string} ipOrHostName\n * @param {boolean} [update] Force update.\n * @returns {Promise]>}\n */\n getHostByIp(ipOrHostName, update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (ipOrHostName.startsWith('system.host.')) {\n ipOrHostName = ipOrHostName.replace(/^system\\.host\\./, '');\n }\n\n if (!update && this._promises['rIPs_' + ipOrHostName]) {\n return this._promises['rIPs_' + ipOrHostName];\n }\n this._promises['rIPs_' + ipOrHostName] = new Promise(resolve =>\n this._socket.emit('getHostByIp', ipOrHostName, (ip, host) => {\n const IPs4 = [{name: '[IPv4] 0.0.0.0 - Listen on all IPs', address: '0.0.0.0', family: 'ipv4'}];\n const IPs6 = [{name: '[IPv6] :: - Listen on all IPs', address: '::', family: 'ipv6'}];\n if (host.native?.hardware?.networkInterfaces) {\n for (const eth in host.native.hardware.networkInterfaces) {\n if (!host.native.hardware.networkInterfaces.hasOwnProperty(eth)) {\n continue;\n }\n for (let num = 0; num < host.native.hardware.networkInterfaces[eth].length; num++) {\n if (host.native.hardware.networkInterfaces[eth][num].family !== 'IPv6') {\n IPs4.push({name: `[${host.native.hardware.networkInterfaces[eth][num].family}] ${host.native.hardware.networkInterfaces[eth][num].address} - ${eth}`, address: host.native.hardware.networkInterfaces[eth][num].address, family: 'ipv4'});\n } else {\n IPs6.push({name: `[${host.native.hardware.networkInterfaces[eth][num].family}] ${host.native.hardware.networkInterfaces[eth][num].address} - ${eth}`, address: host.native.hardware.networkInterfaces[eth][num].address, family: 'ipv6'});\n }\n }\n }\n }\n for (let i = 0; i < IPs6.length; i++) {\n IPs4.push(IPs6[i]);\n }\n resolve(IPs4);\n }));\n\n return this._promises['rIPs_' + ipOrHostName];\n }\n\n /**\n * Encrypt a text\n * @param {string} text\n * @returns {Promise}\n */\n encrypt(text) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('encrypt', text, (err, text) =>\n err ? reject(err) : resolve(text)));\n }\n\n /**\n * Decrypt a text\n * @param {string} encryptedText\n * @returns {Promise}\n */\n decrypt(encryptedText) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('decrypt', encryptedText, (err, text) =>\n err ? reject(err) : resolve(text)));\n }\n\n /**\n * Gets the version.\n * @returns {Promise<{version: string; serverName: string}>}\n */\n getVersion(update) {\n if (update && this._promises.version) {\n this._promises.version = null;\n }\n\n this._promises.version = this._promises.version || new Promise((resolve, reject) =>\n this._socket.emit('getVersion', (err, version, serverName) => {\n // support of old socket.io\n if (err && !version && typeof err === 'string' && err.match(/\\d+\\.\\d+\\.\\d+/)) {\n resolve({ version: err, serverName: 'socketio' });\n } else {\n return err ? reject(err) : resolve({ version, serverName });\n }\n }));\n\n return this._promises.version;\n }\n\n /**\n * Gets the web server name.\n * @returns {Promise}\n */\n getWebServerName() {\n this._promises.webName = this._promises.webName || new Promise((resolve, reject) =>\n this._socket.emit('getAdapterName', (err, name) =>\n err ? reject(err) : resolve(name)));\n\n return this._promises.webName;\n }\n\n /**\n * Gets the admin version.\n * @deprecated use getVersion()\n * @returns {Promise<{version: string; serverName: string}>}\n */\n getAdminVersion() {\n console.log('Deprecated: use getVersion');\n return this.getVersion();\n }\n\n /**\n * Change access rights for file\n * @param {string} [adapter] adapter name\n * @param {string} [filename] file name with full path. it could be like vis.0/*\n * @param {object} [options] like {mode: 0x644}\n * @returns {Promise<{entries: array}>}\n */\n chmodFile(adapter, filename, options) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('chmodFile', adapter, filename, options, (err, entries, id) =>\n err ? reject(err) : resolve({entries, id})));\n }\n\n /**\n * Change owner or/and owner group for file\n * @param {string} [adapter] adapter name\n * @param {string} [filename] file name with full path. it could be like vis.0/*\n * @param {object} [options] like {owner: 'newOwner', ownerGroup: 'newGroup'}\n * @returns {Promise<{entries: array}>}\n */\n chownFile(adapter, filename, options) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('chownFile', adapter, filename, options, (err, entries, id) =>\n err ? reject(err) : resolve({entries, id})));\n }\n\n /**\n * Check if the file exists\n * @param {string} [adapter] adapter name\n * @param {string} [filename] file name with full path. it could be like vis.0/*\n * @returns {Promise}\n */\n fileExists(adapter, filename) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('fileExists', adapter, filename, (err, exists) =>\n err ? reject(err) : resolve(exists)));\n }\n\n /**\n * Get the alarm notifications from a host (only for admin connection).\n * @param {string} host\n * @param {string} [category] - optional\n * @returns {Promise}\n */\n getNotifications(host, category) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise(resolve =>\n this._socket.emit('sendToHost', host, 'getNotifications', {category}, notifications =>\n resolve(notifications)));\n }\n\n /**\n * Clear the alarm notifications on a host (only for admin connection).\n * @param {string} host\n * @param {string} [category] - optional\n * @returns {Promise}\n */\n clearNotifications(host, category) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise(resolve =>\n this._socket.emit('sendToHost', host, 'clearNotifications', {category}, notifications =>\n resolve(notifications)));\n }\n\n /**\n * Read if only easy mode is allowed (only for admin connection).\n * @returns {Promise}\n */\n getIsEasyModeStrict() {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getIsEasyModeStrict', (error, isStrict) =>\n error ? reject(error) : resolve(isStrict)));\n }\n\n /**\n * Read easy mode configuration (only for admin connection).\n * @returns {Promise}\n */\n getEasyMode() {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getEasyMode', (error, config) =>\n error ? reject(error) : resolve(config)));\n }\n\n /**\n * Read current user\n * @returns {Promise}\n */\n getCurrentUser() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise(resolve =>\n this._socket.emit('authEnabled', (isSecure, user) =>\n resolve(user)));\n }\n\n getCurrentSession(cmdTimeout) {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) => {\n const controller = new AbortController();\n\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n controller.abort();\n reject('getCurrentSession timeout');\n }\n }, cmdTimeout || 5000);\n\n return fetch('./session', { signal: controller.signal })\n .then(res => res.json())\n .then(json => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n resolve(json);\n }\n })\n .catch(e => {\n reject('getCurrentSession: ' + e);\n });\n });\n }\n\n /**\n * Read adapter ratings\n * @returns {Promise}\n */\n getRatings(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n return new Promise((resolve, reject) =>\n this._socket.emit('getRatings', update, (err, ratings) =>\n err ? reject(err) : resolve(ratings)));\n }\n\n /**\n * Read current web, socketio or admin namespace, like admin.0\n * @returns {Promise}\n */\n getCurrentInstance() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.currentInstance = this._promises.currentInstance ||\n new Promise((resolve, reject) =>\n this._socket.emit('getCurrentInstance', (err, namespace) =>\n err ? reject(err) : resolve(namespace)));\n\n return this._promises.currentInstance;\n }\n\n // returns very optimized information for adapters to minimize connection load\n getCompactAdapters(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.compactAdapters) {\n return this._promises.compactAdapters;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n this._promises.compactAdapters = new Promise((resolve, reject) =>\n this._socket.emit('getCompactAdapters', (err, adapters) =>\n err ? reject(err) : resolve(adapters)));\n\n return this._promises.compactAdapters;\n }\n\n // returns very optimized information for adapters to minimize connection load\n getCompactInstances(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.compactInstances) {\n return this._promises.compactInstances;\n }\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.compactInstances = new Promise((resolve, reject) =>\n this._socket.emit('getCompactInstances', (err, instances) =>\n err ? reject(err) : resolve(instances)));\n\n return this._promises.compactInstances;\n }\n\n // returns very optimized information for adapters to minimize connection load\n // reads only version of installed adapter\n getCompactInstalled(host, update, cmdTimeout) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n\n this._promises.installedCompact = this._promises.installedCompact || {};\n\n if (!update && this._promises.installedCompact[host]) {\n return this._promises.installedCompact[host];\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.installedCompact[host] = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getCompactInstalled timeout');\n }\n }, cmdTimeout || this.props.cmdTimeout);\n\n this._socket.emit('getCompactInstalled', host, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getCompactInstalled\"');\n } else if (!data) {\n reject('Cannot read \"getCompactInstalled\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.installedCompact[host];\n }\n\n // returns very optimized information for adapters to minimize connection load\n getCompactSystemConfig(update) {\n if (!update && this._promises.systemConfigCommon) {\n return this._promises.systemConfigCommon;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.systemConfigCommon = new Promise((resolve, reject) =>\n this._socket.emit('getCompactSystemConfig', (err, systemConfig) =>\n err ? reject(err) : resolve(systemConfig)));\n\n return this._promises.systemConfigCommon;\n }\n\n /**\n * Get the repository in compact form (only version and icon).\n * @param {string} host\n * @param {boolean} [update] Force update.\n * @param {number} [timeoutMs] timeout in ms.\n * @returns {Promise}\n */\n getCompactRepository(host, update, timeoutMs) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.repoCompact) {\n return this._promises.repoCompact;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n if (!host.startsWith('system.host.')) {\n host += 'system.host.' + host;\n }\n\n this._promises.repoCompact = new Promise((resolve, reject) => {\n let timeout = setTimeout(() => {\n if (timeout) {\n timeout = null;\n reject('getCompactRepository timeout');\n }\n }, timeoutMs || this.props.cmdTimeout);\n\n this._socket.emit('getCompactRepository', host, data => {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n if (data === PERMISSION_ERROR) {\n reject('May not read \"getCompactRepository\"');\n } else if (!data) {\n reject('Cannot read \"getCompactRepository\"');\n } else {\n resolve(data);\n }\n }\n });\n });\n\n return this._promises.repoCompact;\n }\n\n /**\n * Get the list of all hosts in compact form (only _id, common.name, common.icon, common.color, native.hardware.networkInterfaces)\n * @param {boolean} [update] Force update.\n * @returns {Promise}\n */\n getCompactHosts(update) {\n if (Connection.isWeb()) {\n return Promise.reject('Allowed only in admin');\n }\n if (!update && this._promises.hostsCompact) {\n return this._promises.hostsCompact;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.hostsCompact = new Promise((resolve, reject) =>\n this._socket.emit('getCompactHosts', (err, hosts) =>\n err ? reject(err) : resolve(hosts)));\n\n return this._promises.hostsCompact;\n }\n\n /**\n * Get uuid\n * @returns {Promise}\n */\n getUuid() {\n if (this._promises.uuid) {\n return this._promises.uuid;\n }\n\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n this._promises.uuid = this.getObject('system.meta.uuid')\n //@ts-ignore\n .then(obj => obj?.native?.uuid);\n\n return this._promises.uuid;\n }\n\n /**\n * Send log to ioBroker log\n * @param {string} [text] Log text\n * @param {string} [level] `info`, `debug`, `warn`, `error` or `silly`\n * @returns {void}\n */\n log(text, level) {\n text && this._socket.emit('log', text, level || 'debug');\n }\n\n /**\n * Logout current user\n * @returns {Promise}\n */\n logout() {\n if (!this.connected) {\n return Promise.reject(NOT_CONNECTED);\n }\n\n return new Promise((resolve, reject) =>\n this._socket.emit('logout', err =>\n err ? reject(err) : resolve(null)));\n }\n}\n\nConnection.Connection = {\n onLog: PropTypes.func,\n onReady: PropTypes.func,\n onProgress: PropTypes.func,\n};\n\nexport default Connection;\n","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\n// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '@mui/styles/withStyles';\n\nimport Button from '@mui/material/Button';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogContentText from '@mui/material/DialogContentText';\nimport DialogTitle from '@mui/material/DialogTitle';\n\nimport IconCheck from '@mui/icons-material/Check';\n\nimport I18n from '../i18n';\n\nconst styles = theme => ({\n titleBackground: {\n\n },\n titleColor: {\n\n }\n});\n\n/**\n * @typedef {object} DialogErrorProps\n * @property {string} [key] The key to identify this component.\n * @property {string} [title] The dialog title; default: Error (translated)\n * @property {string | JSX.Element} text The dialog text.\n * @property {() => void} [onClose] Close handler.\n * @property {{titleBackground: string; titleColor: string}} classes The styling class names.\n *\n * @extends {React.Component}\n */\nclass DialogError extends React.Component {\n handleOk() {\n this.props.onClose && this.props.onClose();\n };\n\n render() {\n return this.handleOk()}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n {this.props.title || I18n.t('ra_Error')}\n \n \n {this.props.text || I18n.t('ra_Unknown error!')}\n \n \n \n \n \n ;\n }\n}\n\nDialogError.propTypes = {\n onClose: PropTypes.func.isRequired,\n title: PropTypes.string,\n text: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element\n ]),\n icon: PropTypes.object\n};\n\n/** @type {typeof DialogError} */\nconst _export = withStyles(styles)(DialogError);\nexport default _export;\n","/**\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n **/\nimport React from 'react';\nimport Connection, {PROGRESS} from './Connection';\nimport PropTypes from 'prop-types';\nimport * as Sentry from '@sentry/browser';\nimport * as SentryIntegrations from '@sentry/integrations';\n\nimport DialogError from './Dialogs/Error';\nimport Snackbar from '@mui/material/Snackbar';\nimport IconButton from '@mui/material/IconButton';\n\nimport IconClose from '@mui/icons-material/Close';\n\nimport printPrompt from './Prompt';\nimport theme from './Theme';\nimport Loader from './Components/Loader';\nimport Router from './Components/Router';\nimport Utils from './Components/Utils';\nimport SaveCloseButtons from './Components/SaveCloseButtons';\nimport I18n from './i18n';\n\nimport './index.css';\n\nif (!window.localStorage) {\n window.localStorage = {\n getItem: () => null,\n setItem: () => null,\n };\n}\n\n/**\n * @extends {Router}\n */\nclass GenericApp extends Router {\n /**\n * @param {import('./types').GenericAppProps} props\n * @param {import('./types').GenericAppSettings | undefined} settings\n */\n constructor(props, settings) {\n const ConnectionClass = props.Connection || settings.Connection || Connection;\n\n // Remove `!Connection.isWeb() && window.adapterName !== 'material'` when iobroker.socket will support native ws\n if (!ConnectionClass.isWeb() && window.io && window.location.port === '3000') {\n try {\n const io = new window.SocketClient();\n delete window.io;\n window.io = io;\n } catch (e) {\n // ignore\n }\n }\n\n super(props);\n\n printPrompt();\n\n let query = (window.location.search || '').replace(/^\\?/, '').replace(/#.*$/, '');\n let args = {};\n query.trim().split('&').filter(t => t.trim()).forEach(b => {\n const parts = b.split('=');\n args[parts[0]] = parts.length === 2 ? parts[1] : true;\n if (args[parts[0]] === 'true') {\n args[parts[0]] = true;\n } else if (args[parts[0]] === 'false') {\n args[parts[0]] = false;\n }\n });\n\n // extract instance from URL\n this.instance = args.instance !== undefined ? parseInt(args.instance, 10) || 0 : (parseInt(window.location.search.slice(1), 10) || 0);\n // extract adapter name from URL\n const tmp = window.location.pathname.split('/');\n this.adapterName = settings?.adapterName || props.adapterName || window.adapterName || tmp[tmp.length - 2] || 'iot';\n this.instanceId = `system.adapter.${this.adapterName}.${this.instance}`;\n this.newReact = args.newReact === true; // it is admin5\n\n const location = Router.getLocation();\n location.tab = location.tab || window.localStorage.getItem(this.adapterName + '-adapter') || '';\n\n const themeInstance = this.createTheme();\n\n this.state = {\n selectedTab: window.localStorage.getItem(this.adapterName + '-adapter') || '',\n selectedTabNum: -1,\n native: {},\n errorText: '',\n changed: false,\n connected: false,\n loaded: false,\n isConfigurationError: '',\n expertMode: false,\n toast: '',\n theme: themeInstance,\n themeName: this.getThemeName(themeInstance),\n themeType: this.getThemeType(themeInstance),\n bottomButtons: (settings && settings.bottomButtons) === false ? false : ((props && props.bottomButtons) === false ? false : true),\n width: GenericApp.getWidth(),\n };\n\n // init translations\n const translations = {\n 'en': require('./i18n/en.json'),\n 'de': require('./i18n/de.json'),\n 'ru': require('./i18n/ru.json'),\n 'pt': require('./i18n/pt.json'),\n 'nl': require('./i18n/nl.json'),\n 'fr': require('./i18n/fr.json'),\n 'it': require('./i18n/it.json'),\n 'es': require('./i18n/es.json'),\n 'pl': require('./i18n/pl.json'),\n 'zh-cn': require('./i18n/zh-cn.json'),\n };\n\n // merge together\n if (settings && settings.translations) {\n Object.keys(settings.translations).forEach(lang => translations[lang] = Object.assign(translations[lang], settings.translations[lang]));\n } else if (props.translations) {\n Object.keys(props.translations).forEach(lang => translations[lang] = Object.assign(translations[lang], props.translations[lang]));\n }\n\n I18n.setTranslations(translations);\n\n this.savedNative = {}; // to detect if the config changed\n\n this.encryptedFields = props.encryptedFields || settings?.encryptedFields || [];\n\n this.sentryDSN = (settings && settings.sentryDSN) || props.sentryDSN;\n\n this.socket = new ConnectionClass({\n ...(props?.socket || settings?.socket),\n name: this.adapterName,\n doNotLoadAllObjects: settings?.doNotLoadAllObjects,\n onProgress: progress => {\n if (progress === PROGRESS.CONNECTING) {\n this.setState({connected: false});\n } else if (progress === PROGRESS.READY) {\n this.setState({connected: true});\n } else {\n this.setState({connected: true});\n }\n },\n onReady: (objects, scripts) => {\n I18n.setLanguage(this.socket.systemLang);\n\n // subscribe because of language and expert mode\n this.socket.subscribeObject('system.config', this.onSystemConfigChanged)\n .then(() => this.getSystemConfig())\n .then(obj => {\n this._secret = (typeof obj !== 'undefined' && obj.native && obj.native.secret) || 'Zgfr56gFe87jJOM';\n this._systemConfig = obj?.common || {};\n return this.socket.getObject(this.instanceId);\n })\n .then(instanceObj => {\n let waitPromise;\n\n const sentryEnabled =\n this._systemConfig.diag !== 'none' &&\n instanceObj &&\n instanceObj.common &&\n instanceObj.common.name &&\n instanceObj.common.version &&\n !instanceObj.common.disableDataReporting &&\n window.location.host !== 'localhost:3000';\n\n // activate sentry plugin\n if (!this.sentryStarted && this.sentryDSN && sentryEnabled) {\n this.sentryStarted = true;\n\n Sentry.init({\n dsn: this.sentryDSN,\n release: `iobroker.${instanceObj.common.name}@${instanceObj.common.version}`,\n integrations: [\n new SentryIntegrations.Dedupe()\n ]\n });\n }\n\n // read UUID and init sentry with it.\n // for backward compatibility it will be processed separately from above logic: some adapters could still have this.sentryDSN as undefined\n if (!this.sentryInited && sentryEnabled) {\n this.sentryInited = true;\n\n waitPromise = this.socket.getObject('system.meta.uuid')\n .then(uuidObj => {\n if (uuidObj && uuidObj.native && uuidObj.native.uuid) {\n Sentry.configureScope(scope =>\n scope.setUser({id: uuidObj.native.uuid}));\n }\n });\n }\n\n waitPromise = waitPromise || Promise.resolve();\n\n waitPromise\n .then(() => {\n if (instanceObj) {\n this.common = instanceObj?.common;\n this.onPrepareLoad(instanceObj.native, instanceObj.encryptedNative); // decode all secrets\n this.savedNative = JSON.parse(JSON.stringify(instanceObj.native));\n this.setState({native: instanceObj.native, loaded: true, expertMode: this.getExpertMode()}, () =>\n this.onConnectionReady && this.onConnectionReady());\n } else {\n console.warn('Cannot load instance settings');\n this.setState({native: {}, loaded: true, expertMode: this.getExpertMode()}, () => this.onConnectionReady && this.onConnectionReady());\n }\n });\n });\n },\n onError: err => {\n console.error(err);\n this.showError(err);\n }\n });\n }\n\n onSystemConfigChanged = (id, obj) => {\n if (obj && id === 'system.config') {\n if (this.socket.systemLang !== obj?.common.language) {\n this.socket.systemLang = obj?.common.language || 'en';\n I18n.setLanguage(this.socket.systemLang);\n }\n\n if (this._systemConfig.expertMode !== !!obj?.common?.expertMode) {\n this._systemConfig = obj?.common || {};\n this.setState({expertMode: this.getExpertMode()});\n } else {\n this._systemConfig = obj?.common || {};\n }\n }\n }\n\n /**\n * Called immediately after a component is mounted. Setting state here will trigger re-rendering.\n */\n componentDidMount() {\n window.addEventListener('resize', this.onResize, true);\n window.addEventListener('message', this.onReceiveMessage, false);\n super.componentDidMount();\n }\n\n /**\n * Called immediately before a component is destroyed.\n */\n componentWillUnmount() {\n window.removeEventListener('resize', this.onResize, true);\n window.removeEventListener('message', this.onReceiveMessage, false);\n super.componentWillUnmount();\n }\n\n onReceiveMessage = message => {\n if (message?.data) {\n if (message.data === 'updateTheme') {\n const newThemeName = Utils.getThemeName()\n Utils.setThemeName(Utils.getThemeName());\n\n const theme = this.createTheme(newThemeName);\n\n this.setState({\n theme,\n themeName: this.getThemeName(theme),\n themeType: this.getThemeType(theme)\n }, () => {\n this.props.onThemeChange && this.props.onThemeChange(newThemeName);\n this.onThemeChanged && this.onThemeChanged(newThemeName);\n });\n } else if (message.data === 'updateExpertMode') {\n this.onToggleExpertMode && this.onToggleExpertMode(this.getExpertMode());\n } else {\n console.warn('Received unknown message: ' + JSON.stringify(message.data));\n }\n }\n };\n\n /**\n * @private\n */\n onResize = () => {\n this.resizeTimer && clearTimeout(this.resizeTimer);\n this.resizeTimer = setTimeout(() => {\n this.resizeTimer = null;\n this.setState({width: GenericApp.getWidth()});\n }, 200);\n };\n\n /**\n * Gets the width depending on the window inner width.\n * @returns {import('./types').Width}\n */\n static getWidth() {\n /**\n * innerWidth |xs sm md lg xl\n * |-------|-------|-------|-------|------>\n * width | xs | sm | md | lg | xl\n */\n\n const SIZES = {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n };\n const width = window.innerWidth;\n const keys = Object.keys(SIZES).reverse();\n const widthComputed = keys.find(key => width >= SIZES[key]);\n\n return widthComputed || 'xs';\n }\n\n /**\n * Get a theme\n * @param {string} name Theme name\n * @returns {import('./types').Theme}\n */\n createTheme(name = '') {\n return theme(Utils.getThemeName(name));\n }\n\n /**\n * Get the theme name\n * @param {import('./types').Theme} theme Theme\n * @returns {string} Theme name\n */\n getThemeName(theme) {\n return theme.name;\n }\n\n /**\n * Get the theme type\n * @param {import('./types').Theme} theme Theme\n * @returns {string} Theme type\n */\n getThemeType(theme) {\n return theme.palette.mode;\n }\n\n /**\n * Changes the current theme\n */\n toggleTheme() {\n const themeName = this.state.themeName;\n\n // dark => blue => colored => light => dark\n const newThemeName = themeName === 'dark' ? 'blue' :\n (themeName === 'blue' ? 'colored' :\n (themeName === 'colored' ? 'light' : 'dark'));\n\n Utils.setThemeName(newThemeName);\n\n const theme = this.createTheme(newThemeName);\n\n this.setState({\n theme,\n themeName: this.getThemeName(theme),\n themeType: this.getThemeType(theme)\n }, () => {\n this.props.onThemeChange && this.props.onThemeChange(newThemeName);\n this.onThemeChanged && this.onThemeChanged(newThemeName);\n });\n }\n\n /**\n * Gets the system configuration.\n * @returns {Promise}\n */\n getSystemConfig() {\n return this.socket.getSystemConfig();\n }\n\n /**\n * Get current expert mode\n * @returns {boolean}\n */\n getExpertMode() {\n return window.sessionStorage.getItem('App.expertMode') === 'true' || !!this._systemConfig.expertMode;\n }\n\n /**\n * Gets called when the socket.io connection is ready.\n * You can overload this function to execute own commands.\n */\n onConnectionReady() {\n }\n\n /**\n * Encrypts a string.\n * @param {string} value\n * @returns {string}\n */\n encrypt(value) {\n let result = '';\n for (let i = 0; i < value.length; i++) {\n result += String.fromCharCode(this._secret[i % this._secret.length].charCodeAt(0) ^ value.charCodeAt(i));\n }\n return result;\n }\n\n /**\n * Decrypts a string.\n * @param {string} value\n * @returns {string}\n */\n decrypt(value) {\n let result = '';\n for (let i = 0; i < value.length; i++) {\n result += String.fromCharCode(this._secret[i % this._secret.length].charCodeAt(0) ^ value.charCodeAt(i));\n }\n return result;\n }\n\n /**\n * Gets called when the navigation hash changes.\n * You may override this if needed.\n */\n onHashChanged() {\n const location = Router.getLocation();\n if (location.tab !== this.state.selectedTab) {\n this.selectTab(location.tab);\n }\n }\n\n /**\n * Selects the given tab.\n * @param {string} tab\n * @param {number} [index]\n */\n selectTab(tab, index) {\n window.localStorage[this.adapterName + '-adapter'] = tab;\n this.setState({selectedTab: tab, selectedTabNum: index})\n }\n\n /**\n * Gets called before the settings are saved.\n * You may override this if needed.\n * @param {Record} settings\n */\n onPrepareSave(settings) {\n // here you can encode values\n this.encryptedFields && this.encryptedFields.forEach(attr => {\n if (settings[attr]) {\n settings[attr] = this.encrypt(settings[attr]);\n }\n });\n\n return true;\n }\n\n /**\n * Gets called after the settings are loaded.\n * You may override this if needed.\n * @param {Record} settings\n * @param {string[]} encryptedNative optional list of fields to be decrypted\n */\n onPrepareLoad(settings, encryptedNative) {\n // here you can encode values\n this.encryptedFields && this.encryptedFields.forEach(attr => {\n if (settings[attr]) {\n settings[attr] = this.decrypt(settings[attr]);\n }\n });\n encryptedNative && encryptedNative.forEach(attr => {\n this.encryptedFields = this.encryptedFields || [];\n !this.encryptedFields.includes(attr) && this.encryptedFields.push(attr);\n if (settings[attr]) {\n settings[attr] = this.decrypt(settings[attr]);\n }\n });\n }\n\n /**\n * Gets the extendable instances.\n * @returns {Promise}\n */\n getExtendableInstances() {\n return new Promise(resolve => {\n this.socket._socket.emit('getObjectView', 'system', 'instance', null, (err, doc) => {\n if (err) {\n resolve([]);\n } else {\n resolve(doc.rows.filter(item => item.value.common.webExtendable).map(item => item.value));\n }\n });\n });\n }\n\n /**\n * Gets the IP addresses of the given host.\n * @param {string} host\n */\n getIpAddresses(host) {\n return new Promise((resolve, reject) => {\n this.socket._socket.emit('getHostByIp', host || this.common.host, (ip, _host) => {\n const IPs4 = [{name: '[IPv4] 0.0.0.0 - ' + I18n.t('ra_Listen on all IPs'), address: '0.0.0.0', family: 'ipv4'}];\n const IPs6 = [{name: '[IPv6] ::', address: '::', family: 'ipv6'}];\n if (_host) {\n host = _host;\n if (host.native.hardware && host.native.hardware.networkInterfaces) {\n Object.keys(host.native.hardware.networkInterfaces).forEach(eth =>\n host.native.hardware.networkInterfaces[eth].forEach(inter => {\n if (inter.family !== 'IPv6') {\n IPs4.push({name: '[' + inter.family + '] ' + inter.address + ' - ' + eth, address: inter.address, family: 'ipv4'});\n } else {\n IPs6.push({name: '[' + inter.family + '] ' + inter.address + ' - ' + eth, address: inter.address, family: 'ipv6'});\n }\n }));\n }\n IPs6.forEach(ip => IPs4.push(ip));\n }\n resolve(IPs4);\n });\n });\n }\n\n /**\n * Saves the settings to the server.\n * @param {boolean} isClose True if the user is closing the dialog.\n */\n onSave(isClose) {\n let oldObj;\n if (this.state.isConfigurationError) {\n this.setState({errorText: this.state.isConfigurationError});\n return;\n }\n\n this.socket.getObject(this.instanceId)\n .then(_oldObj => {\n oldObj = _oldObj || {};\n\n for (const a in this.state.native) {\n if (this.state.native.hasOwnProperty(a)) {\n if (this.state.native[a] === null) {\n oldObj.native[a] = null;\n } else\n if (this.state.native[a] !== undefined) {\n oldObj.native[a] = JSON.parse(JSON.stringify(this.state.native[a]));\n } else {\n delete oldObj.native[a];\n }\n }\n }\n\n if (this.state.common) {\n for (const b in this.state.common) {\n if (this.state.common[b] === null) {\n oldObj.common[b] = null;\n } else\n if (this.state.common[b] !== undefined) {\n oldObj.common[b] = JSON.parse(JSON.stringify(this.state.common[b]));\n } else {\n delete oldObj.common[b];\n }\n }\n }\n\n if (this.onPrepareSave(oldObj.native) !== false) {\n return this.socket.setObject(this.instanceId, oldObj);\n } else {\n return Promise.reject('Invalid configuration');\n }\n })\n .then(() => {\n this.savedNative = oldObj.native;\n globalThis.changed = false;\n this.setState({changed: false});\n isClose && GenericApp.onClose();\n })\n .catch(e => {\n console.error(`Cannot save configuration: ${e}`);\n });\n }\n\n /**\n * Renders the toast.\n * @returns {JSX.Element | null} The JSX element.\n */\n renderToast() {\n if (!this.state.toast) {\n return null;\n }\n\n return this.setState({toast: ''})}\n ContentProps={{\n 'aria-describedby': 'message-id',\n }}\n message={{this.state.toast}}\n action={[\n this.setState({toast: ''})}\n size=\"large\">\n \n ,\n ]}\n />;\n }\n\n /**\n * Closes the dialog.\n * @private\n */\n static onClose() {\n if (typeof window.parent !== 'undefined' && window.parent) {\n try {\n if (window.parent.$iframeDialog && typeof window.parent.$iframeDialog.close === 'function') {\n window.parent.$iframeDialog.close();\n } else {\n window.parent.postMessage('close', '*');\n }\n } catch (e) {\n window.parent.postMessage('close', '*');\n }\n }\n }\n\n /**\n * Renders the error dialog.\n * @returns {JSX.Element | null} The JSX element.\n */\n renderError() {\n if (!this.state.errorText) {\n return null;\n } else {\n return this.setState({errorText: ''})}/>;\n }\n }\n\n /**\n * Checks if the configuration has changed.\n * @param {Record} [native] the new state\n */\n getIsChanged(native) {\n native = native || this.state.native;\n const isChanged = JSON.stringify(native) !== JSON.stringify(this.savedNative);\n\n if(isChanged) {\n globalThis.changed = true;\n } else {\n globalThis.changed = false;\n }\n\n return isChanged;\n }\n\n /**\n * Gets called when loading the configuration.\n * @param {Record} newNative The new configuration object.\n */\n onLoadConfig(newNative) {\n if (JSON.stringify(newNative) !== JSON.stringify(this.state.native)) {\n this.setState({native: newNative, changed: this.getIsChanged(newNative)})\n }\n }\n\n /**\n * Sets the configuration error.\n * @param {string} errorText\n */\n setConfigurationError(errorText) {\n if (this.state.isConfigurationError !== errorText) {\n this.setState({isConfigurationError: errorText});\n }\n }\n\n /**\n * Renders the save and close buttons.\n * @returns {JSX.Element | undefined} The JSX element.\n */\n renderSaveCloseButtons() {\n if (this.state.bottomButtons) {\n return this.onSave(isClose)}\n onClose={() => GenericApp.onClose()}\n />;\n } else {\n return null;\n }\n }\n\n /**\n * @private\n * @param {Record} obj\n * @param {any} attrs\n * @param {any} value\n * @returns {boolean | undefined}\n */\n _updateNativeValue(obj, attrs, value) {\n if (typeof attrs !== 'object') {\n attrs = attrs.split('.');\n }\n const attr = attrs.shift();\n if (!attrs.length) {\n if (value && typeof value === 'object') {\n if (JSON.stringify(obj[attr]) !== JSON.stringify(value)) {\n obj[attr] = value;\n return true;\n }\n } else if (obj[attr] !== value) {\n obj[attr] = value;\n return true;\n } else {\n return false;\n }\n\n } else {\n obj[attr] = obj[attr] || {};\n if (typeof obj[attr] !== 'object') {\n throw new Error('attribute ' + attr + ' is no object, but ' + typeof obj[attr]);\n }\n return this._updateNativeValue(obj[attr], attrs, value);\n }\n }\n\n /**\n * Update the native value\n * @param {string} attr The attribute name with dots as delimiter.\n * @param {any} value The new value.\n * @param {(() => void)} [cb] Callback which will be called upon completion.\n */\n updateNativeValue(attr, value, cb) {\n const native = JSON.parse(JSON.stringify(this.state.native));\n if (this._updateNativeValue(native, attr, value)) {\n const changed = this.getIsChanged(native);\n this.setState({native, changed}, cb);\n }\n }\n\n /**\n * Set the error text to be shown.\n * @param {string | JSX.Element} text\n */\n showError(text) {\n this.setState({errorText: text});\n }\n\n /**\n * Sets the toast to be shown.\n * @param {string} toast\n */\n showToast(toast) {\n this.setState({toast});\n }\n\n /**\n * Renders this component.\n * @returns {JSX.Element} The JSX element.\n */\n render() {\n if (!this.state.loaded) {\n return ;\n }\n\n return
\n {this.renderError()}\n {this.renderToast()}\n {this.renderSaveCloseButtons()}\n
;\n }\n}\n\nGenericApp.propTypes = {\n adapterName: PropTypes.string, // (optional) name of adapter\n onThemeChange: PropTypes.func, // (optional) called by theme change\n socket: PropTypes.object, // (optional) socket information (host, port)\n encryptedFields: PropTypes.array, // (optional) list of native attributes, that must be encrypted\n bottomButtons: PropTypes.bool, // If the bottom buttons (Save/Close) must be shown\n Connection: PropTypes.object, // If the bottom buttons (Save/Close) must be shown\n};\n\nexport default GenericApp;\n","\n/**\n * Print the ioBroker welcome screen to the developer console.\n */\nfunction printPrompt() {\n const prompt = `\n██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ \n██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗\n██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝\n██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗\n██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║\n╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝\n`;\n\n console.log(prompt);\n console.log('Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters');\n console.log('Help us to create open source project with reactJS!');\n console.log('See you :)');\n}\n\nexport default printPrompt;","import { createTheme, adaptV4Theme, alpha } from '@mui/material/styles';\n\nimport { orange, grey } from '@mui/material/colors';\n\nconst step = (16 - 5) / 23 / 100;\n\n/**\n * Convert hex color in the format '#rrggbb' or '#rgb' to an RGB object.\n * @param {string} hex\n * @returns {{r: number, g: number, b: number}}\n */\nfunction toInt(hex) {\n const rgb = {\n r: 0,\n g: 0,\n b: 0,\n };\n\n if (hex.length === 7) {\n rgb.r = parseInt(hex.substr(1, 2), 16);\n rgb.g = parseInt(hex.substr(3, 2), 16);\n rgb.b = parseInt(hex.substr(5, 2), 16);\n } else if (hex.length === 4) {\n const r = hex.substr(1, 1);\n const g = hex.substr(2, 1);\n const b = hex.substr(3, 1);\n\n rgb.r = parseInt(r + r, 16);\n rgb.g = parseInt(g + g, 16);\n rgb.b = parseInt(b + b, 16);\n }\n\n return rgb;\n}\n\n/**\n * Convert an RGB object to a hex color string in the format '#rrggbb'.\n * @param {{r: number, g: number, b: number}} int\n * @returns {string}\n */\nfunction toHex(int) {\n return `#${Math.round(int.r).toString(16)}${Math.round(int.g).toString(16)}${Math.round(int.b).toString(16)}`;\n}\n\n/**\n * @param {string} color color in the format '#rrggbb' or '#rgb'\n * @param {string} overlayColor overlay color in the format '#rrggbb' or '#rgb'\n * @param {number} elevation elevation as an integer starting with 1\n * @returns {string} the hex color string in the format '#rrggbb'\n */\nfunction getElevation(color, overlayColor, elevation) {\n const rgb = toInt(color);\n const overlay = toInt(overlayColor);\n\n rgb.r += overlay.r * (0.05 + step * (elevation - 1));\n rgb.g += overlay.g * (0.05 + step * (elevation - 1));\n rgb.b += overlay.b * (0.05 + step * (elevation - 1));\n\n return toHex(rgb);\n}\n\n/**\n * Get all 24 elevations of the given color and overlay.\n * @param {string} color color in the format '#rrggbb' or '#rgb'\n * @param {string} overlay overlay color in the format '#rrggbb' or '#rgb'\n * @returns {import('@mui/material/styles/withStyles').CSSProperties}\n */\nfunction getElevations(color, overlay) {\n /** @type {import('@mui/material/styles/withStyles').CSSProperties} */\n const elevations = {};\n\n for (let i = 1; i <= 24; i++) {\n elevations[`elevation${i}`] = {\n backgroundColor: getElevation(color, overlay, i),\n };\n }\n\n return elevations;\n}\n\nconst buttonsPalette = theme => ({\n palette: {\n // mode: \"dark\",\n grey: {\n main: grey[300],\n dark: grey[400],\n },\n },\n});\n\nconst buttonsTheme = theme => ({\n components: {\n MuiButton: {\n variants: [\n {\n props: { variant: 'contained', color: 'grey' },\n style: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n },\n },\n {\n props: { variant: 'outlined', color: 'grey' },\n style: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`,\n },\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n {\n props: { color: 'grey', variant: 'text' },\n style: {\n color: 'black',\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n ],\n },\n },\n});\n\n/**\n * The theme creation factory function.\n * @param {string} type\n * @returns {import('./types').Theme}\n */\nconst Theme = type => {\n let theme;\n if (type === 'dark') {\n theme = {\n name: type,\n palette: {\n mode: 'dark',\n background: {\n paper: '#121212',\n default: '#121212',\n },\n primary: {\n main: '#4dabf5',\n },\n secondary: {\n main: '#436a93',\n },\n expert: '#14bb00',\n text: {\n primary: '#ffffff',\n secondary: '#ffffff',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#272727',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[200],\n '&:hover': {\n color: orange[100],\n },\n },\n },\n MuiPaper: getElevations('#121212', '#fff'),\n },\n };\n } else if (type === 'blue') {\n theme = {\n name: type,\n palette: {\n mode: 'dark',\n background: {\n paper: '#151d21',\n default: '#151d21',\n },\n primary: {\n main: '#4dabf5',\n },\n secondary: {\n main: '#436a93',\n },\n expert: '#14bb00',\n text: {\n primary: '#ffffff',\n secondary: '#ffffff',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#2a3135',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[200],\n '&:hover': {\n color: orange[100],\n },\n },\n },\n MuiPaper: getElevations('#151d21', '#fff'),\n },\n };\n } else if (type === 'colored') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#3399CC',\n },\n secondary: {\n main: '#164477',\n },\n expert: '#96fc96',\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#3399CC',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else if (type === 'PT') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#0F99DE',\n },\n secondary: {\n main: '#88A536',\n },\n expert: '#BD1B24',\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#0F99DE',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else if (type === 'DX') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#F5F5F7',\n },\n secondary: {\n main: '#a9a9a9',\n },\n expert: '#BD1B24',\n text: {\n primary: '#007AFE',\n secondary: '#007AFE',\n disabled: '#007AFEAA',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#a9a9a9',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#3399CC',\n },\n secondary: {\n main: '#164477',\n },\n expert: '#14bb00',\n },\n overrides: {\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n }\n\n theme.toolbar = {\n height: 48,\n };\n\n // add save toolbar\n theme.saveToolbar = {\n background: theme.palette.primary.main,\n button: {\n borderRadius: 3,\n height: 32,\n },\n };\n\n theme.palette.grey = {\n main: grey[300],\n dark: grey[400],\n };\n\n theme = createTheme(adaptV4Theme(theme));\n\n return createTheme(theme, {\n components: {\n MuiButton: {\n variants: [\n {\n props: { variant: 'contained', color: 'grey' },\n style: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n },\n },\n {\n props: { variant: 'outlined', color: 'grey' },\n style: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`,\n },\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n {\n props: { color: 'grey', variant: 'text' },\n style: {\n color: theme.palette.text.primary,\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n ],\n },\n },\n });\n};\n\nexport default Theme;\n","/***\n * Copyright 2018-2022 bluefox \n *\n * MIT License\n *\n ***/\n\n /**\n * Translation string management.\n */\nclass I18n {\n /**\n * List of all languages with their translations.\n * @type {{ [lang in ioBroker.Languages]?: Record; }}\n */\n static translations = {};\n\n /**\n * The currently displayed language.\n * @type {ioBroker.Languages}\n */\n static lang = window.sysLang || 'en';\n\n static _disableWarning = false;\n\n /**\n * Set the language to display.\n * @param {ioBroker.Languages} lang\n */\n static setLanguage(lang) {\n if (lang) {\n I18n.lang = lang;\n }\n }\n\n /**\n * Add translations\n * User can provide two types of structures:\n * - {\"word1\": \"translated word1\", \"word2\": \"translated word2\"}, but in this case the lang must be provided\n * - {\"word1\": {\"en\": \"translated en word1\", \"de\": \"translated de word1\"}, \"word2\": {\"en\": \"translated en word2\", \"de\": \"translated de word2\"}}, but no lang must be provided\n * @param {object} words additional words for specific language\n * @param {ioBroker.Languages} lang\n */\n static extendTranslations(words, lang) {\n try {\n if (!lang) {\n Object.keys(words).forEach(word => {\n Object.keys(words[word]).forEach(lang => {\n if (!I18n.translations[lang]) {\n console.warn(`Used unknown language: ${lang}`);\n }\n if (!I18n.translations[lang][word]) {\n I18n.translations[lang][word] = words[word][lang];\n } else if (I18n.translations[lang][word] !== words[word][lang]) {\n console.warn(`Translation for word \"${word}\" in \"${lang}\" was ignored: existing = \"${I18n.translations[lang][word]}\", new = ${words[word][lang]}`);\n }\n });\n });\n } else {\n if (!I18n.translations[lang]) {\n console.warn(`Used unknown language: ${lang}`);\n }\n I18n.translations[lang] = I18n.translations[lang] || {};\n Object.keys(words)\n .forEach(word => {\n if (!I18n.translations[lang][word]) {\n I18n.translations[lang][word] = words[word];\n } else if (I18n.translations[lang][word] !== words[word]) {\n console.warn(`Translation for word \"${word}\" in \"${lang}\" was ignored: existing = \"${I18n.translations[lang][word]}\", new = ${words[word]}`);\n }\n });\n }\n } catch (e) {\n console.error(`Cannot apply translations: ${e}`);\n }\n }\n\n /**\n * Sets all translations (in all languages).\n * @param {{ [lang in ioBroker.Languages]?: Record; }} translations\n */\n static setTranslations(translations) {\n if (translations) {\n I18n.translations = translations;\n }\n }\n\n /**\n * Get the currently chosen language.\n * @returns {ioBroker.Languages} The current language.\n */\n static getLanguage() {\n return I18n.lang;\n }\n\n /**\n * Translate the given string to the selected language.\n * @param {string} word The (key) word to look up the string.\n * @param {string[]} args Optional arguments which will replace the first (second, third, ...) occurrences of %s\n */\n static t(word, ...args) {\n const translation = I18n.translations[I18n.lang];\n if (translation) {\n const w = translation[word];\n if (w) {\n word = w;\n } else {\n I18n._disableWarning && console.log(`Translate: ${word}`);\n }\n }\n for (const arg of args) {\n word = word.replace('%s', arg);\n }\n return word;\n }\n\n /**\n * Disable warning about non-translated words\n * Required during development\n * @param {boolean} disable Do the warning should be disabled\n */\n static disableWarning(disable) {\n I18n._disableWarning = !!disable;\n }\n}\n\n/*I18n.translations = {\n 'en': require('./i18n/en'),\n 'ru': require('./i18n/ru'),\n 'de': require('./i18n/de'),\n};\nI18n.fallbacks = true;\nI18n.t = function () {};*/\n\nexport default I18n;","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/\nconst IconAlias = props => {\n return props.onClick && props.onClick(e)} viewBox=\"0 0 512 512\" width={props.width || 20} height={props.height || props.width || 20} xmlns=\"http://www.w3.org/2000/svg\" className={ props.className }>\n \n ;\n}\n\nIconAlias.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\n\nexport default IconAlias;","import React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * @typedef {object} ExpertIconProps\n * @property {number} [width] The width in pixels of the icon.\n * @property {number} [height] The height in pixels of the icon.\n * @property {(e: React.MouseEvent) => void} [onClick] Click handler.\n * @property {string} [className] The class name for the SVG element.\n *\n * @extends {React.Component}\n */\nconst ExpertIcon = props => {\n return props.onClick && props.onClick(e)} viewBox=\"0 0 486.70625 486\" width={props.width || 20} height={props.height || props.width || 20} xmlns=\"http://www.w3.org/2000/svg\" className={ props.className }>\n \n \n ;\n}\nExpertIcon.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\n\nexport default ExpertIcon;\n","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { elementAcceptingRef, exactProp, unstable_ownerDocument as ownerDocument, unstable_useForkRef as useForkRef, unstable_useEventCallback as useEventCallback } from '@mui/utils'; // TODO: return `EventHandlerName extends `on${infer EventName}` ? Lowercase : never` once generatePropTypes runs with TS 4.1\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nfunction mapEventPropToEvent(eventProp) {\n return eventProp.substring(2).toLowerCase();\n}\n\nfunction clickedRootScrollbar(event, doc) {\n return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;\n}\n\n/**\n * Listen for click events that occur somewhere in the document, outside of the element itself.\n * For instance, if you need to hide a menu when people click anywhere else on your page.\n *\n * Demos:\n *\n * - [Click away listener](https://mui.com/base/react-click-away-listener/)\n *\n * API:\n *\n * - [ClickAwayListener API](https://mui.com/base/api/click-away-listener/)\n */\nfunction ClickAwayListener(props) {\n const {\n children,\n disableReactTree = false,\n mouseEvent = 'onClick',\n onClickAway,\n touchEvent = 'onTouchEnd'\n } = props;\n const movedRef = React.useRef(false);\n const nodeRef = React.useRef(null);\n const activatedRef = React.useRef(false);\n const syntheticEventRef = React.useRef(false);\n React.useEffect(() => {\n // Ensure that this component is not \"activated\" synchronously.\n // https://github.com/facebook/react/issues/20074\n setTimeout(() => {\n activatedRef.current = true;\n }, 0);\n return () => {\n activatedRef.current = false;\n };\n }, []);\n const handleRef = useForkRef( // @ts-expect-error TODO upstream fix\n children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviors like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n\n const handleClickAway = useEventCallback(event => {\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = syntheticEventRef.current;\n syntheticEventRef.current = false;\n const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind\n // 2. The child might render null.\n // 3. Behave like a blur listener.\n\n if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {\n return;\n } // Do not act if user performed touchmove\n\n\n if (movedRef.current) {\n movedRef.current = false;\n return;\n }\n\n let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js\n\n if (event.composedPath) {\n insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;\n } else {\n insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node\n event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node\n event.target);\n }\n\n if (!insideDOM && (disableReactTree || !insideReactTree)) {\n onClickAway(event);\n }\n }); // Keep track of mouse/touch events that bubbled up through the portal.\n\n const createHandleSynthetic = handlerName => event => {\n syntheticEventRef.current = true;\n const childrenPropsHandler = children.props[handlerName];\n\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n\n const childrenProps = {\n ref: handleRef\n };\n\n if (touchEvent !== false) {\n childrenProps[touchEvent] = createHandleSynthetic(touchEvent);\n }\n\n React.useEffect(() => {\n if (touchEvent !== false) {\n const mappedTouchEvent = mapEventPropToEvent(touchEvent);\n const doc = ownerDocument(nodeRef.current);\n\n const handleTouchMove = () => {\n movedRef.current = true;\n };\n\n doc.addEventListener(mappedTouchEvent, handleClickAway);\n doc.addEventListener('touchmove', handleTouchMove);\n return () => {\n doc.removeEventListener(mappedTouchEvent, handleClickAway);\n doc.removeEventListener('touchmove', handleTouchMove);\n };\n }\n\n return undefined;\n }, [handleClickAway, touchEvent]);\n\n if (mouseEvent !== false) {\n childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);\n }\n\n React.useEffect(() => {\n if (mouseEvent !== false) {\n const mappedMouseEvent = mapEventPropToEvent(mouseEvent);\n const doc = ownerDocument(nodeRef.current);\n doc.addEventListener(mappedMouseEvent, handleClickAway);\n return () => {\n doc.removeEventListener(mappedMouseEvent, handleClickAway);\n };\n }\n\n return undefined;\n }, [handleClickAway, mouseEvent]);\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: /*#__PURE__*/React.cloneElement(children, childrenProps)\n });\n}\n\nprocess.env.NODE_ENV !== \"production\" ? ClickAwayListener.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The wrapped element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * If `true`, the React tree is ignored and only the DOM tree is considered.\n * This prop changes how portaled elements are handled.\n * @default false\n */\n disableReactTree: PropTypes.bool,\n\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n * @default 'onClick'\n */\n mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', 'onPointerDown', 'onPointerUp', false]),\n\n /**\n * Callback fired when a \"click away\" event is detected.\n */\n onClickAway: PropTypes.func.isRequired,\n\n /**\n * The touch event to listen to. You can disable the listener by providing `false`.\n * @default 'onTouchEnd'\n */\n touchEvent: PropTypes.oneOf(['onTouchEnd', 'onTouchStart', false])\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);\n}\n\nexport default ClickAwayListener;","import { unstable_ownerWindow as ownerWindow, unstable_ownerDocument as ownerDocument, unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils';\n\n// Is a vertical scrollbar displayed?\nfunction isOverflowing(container) {\n const doc = ownerDocument(container);\n\n if (doc.body === container) {\n return ownerWindow(container).innerWidth > doc.documentElement.clientWidth;\n }\n\n return container.scrollHeight > container.clientHeight;\n}\n\nexport function ariaHidden(element, show) {\n if (show) {\n element.setAttribute('aria-hidden', 'true');\n } else {\n element.removeAttribute('aria-hidden');\n }\n}\n\nfunction getPaddingRight(element) {\n return parseInt(ownerWindow(element).getComputedStyle(element).paddingRight, 10) || 0;\n}\n\nfunction ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude = [], show) {\n const blacklist = [mountElement, currentElement, ...elementsToExclude];\n const blacklistTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE'];\n [].forEach.call(container.children, element => {\n if (blacklist.indexOf(element) === -1 && blacklistTagNames.indexOf(element.tagName) === -1) {\n ariaHidden(element, show);\n }\n });\n}\n\nfunction findIndexOf(items, callback) {\n let idx = -1;\n items.some((item, index) => {\n if (callback(item)) {\n idx = index;\n return true;\n }\n\n return false;\n });\n return idx;\n}\n\nfunction handleContainer(containerInfo, props) {\n const restoreStyle = [];\n const container = containerInfo.container;\n\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n const scrollbarSize = getScrollbarSize(ownerDocument(container));\n restoreStyle.push({\n value: container.style.paddingRight,\n property: 'padding-right',\n el: container\n }); // Use computed style, here to get the real padding to add our scrollbar width.\n\n container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`; // .mui-fixed is a global helper.\n\n const fixedElements = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedElements, element => {\n restoreStyle.push({\n value: element.style.paddingRight,\n property: 'padding-right',\n el: element\n });\n element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;\n });\n } // Improve Gatsby support\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n\n\n const parent = container.parentElement;\n const containerWindow = ownerWindow(container);\n const scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n property: 'overflow',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowX,\n property: 'overflow-x',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowY,\n property: 'overflow-y',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n\n const restore = () => {\n restoreStyle.forEach(({\n value,\n el,\n property\n }) => {\n if (value) {\n el.style.setProperty(property, value);\n } else {\n el.style.removeProperty(property);\n }\n });\n };\n\n return restore;\n}\n\nfunction getHiddenSiblings(container) {\n const hiddenSiblings = [];\n [].forEach.call(container.children, element => {\n if (element.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(element);\n }\n });\n return hiddenSiblings;\n}\n\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\nexport default class ModalManager {\n constructor() {\n this.containers = void 0;\n this.modals = void 0;\n this.modals = [];\n this.containers = [];\n }\n\n add(modal, container) {\n let modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex !== -1) {\n return modalIndex;\n }\n\n modalIndex = this.modals.length;\n this.modals.push(modal); // If the modal we are adding is already in the DOM.\n\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n\n const hiddenSiblings = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);\n const containerIndex = findIndexOf(this.containers, item => item.container === container);\n\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n\n this.containers.push({\n modals: [modal],\n container,\n restore: null,\n hiddenSiblings\n });\n return modalIndex;\n }\n\n mount(modal, props) {\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n\n remove(modal) {\n const modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex === -1) {\n return modalIndex;\n }\n\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1); // If that was the last modal in a container, clean up the container.\n\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, true);\n }\n\n ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n const nextTop = containerInfo.modals[containerInfo.modals.length - 1]; // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n\n return modalIndex;\n }\n\n isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n\n}","import generateUtilityClasses from '../generateUtilityClasses';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getModalUtilityClass(slot) {\n return generateUtilityClass('MuiModal', slot);\n}\nconst modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);\nexport default modalUnstyledClasses;","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { exactProp, HTMLElementType, unstable_useEnhancedEffect as useEnhancedEffect, unstable_useForkRef as useForkRef, unstable_setRef as setRef } from '@mui/utils';\n\nfunction getContainer(container) {\n return typeof container === 'function' ? container() : container;\n}\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n */\n\n\nconst Portal = /*#__PURE__*/React.forwardRef(function Portal(props, ref) {\n const {\n children,\n container,\n disablePortal = false\n } = props;\n const [mountNode, setMountNode] = React.useState(null);\n const handleRef = useForkRef( /*#__PURE__*/React.isValidElement(children) ? children.ref : null, ref);\n useEnhancedEffect(() => {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(() => {\n if (mountNode && !disablePortal) {\n setRef(ref, mountNode);\n return () => {\n setRef(ref, null);\n };\n }\n\n return undefined;\n }, [ref, mountNode, disablePortal]);\n\n if (disablePortal) {\n if ( /*#__PURE__*/React.isValidElement(children)) {\n return /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef\n });\n }\n\n return children;\n }\n\n return mountNode ? /*#__PURE__*/ReactDOM.createPortal(children, mountNode) : mountNode;\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The children to render into the `container`.\n */\n children: PropTypes.node,\n\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.func]),\n\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\n\nexport default Portal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onChange\", \"maxRows\", \"minRows\", \"style\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_debounce as debounce, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_ownerWindow as ownerWindow } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nfunction getStyleValue(computedStyle, property) {\n return parseInt(computedStyle[property], 10) || 0;\n}\n\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, ref) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(ref, inputRef);\n const shadowRef = React.useRef(null);\n const renders = React.useRef(0);\n const [state, setState] = React.useState({});\n const syncHeight = React.useCallback(() => {\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n const computedStyle = containerWindow.getComputedStyle(input); // If input's width is shrunk and it's not visible, don't sync height.\n\n if (computedStyle.width === '0px') {\n return;\n }\n\n const inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n\n const boxSizing = computedStyle['box-sizing'];\n const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');\n const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content\n\n const innerHeight = inputShallow.scrollHeight; // Measure height of a textarea with a single row\n\n inputShallow.value = 'x';\n const singleRowHeight = inputShallow.scrollHeight; // The height of the outer content\n\n let outerHeight = innerHeight;\n\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n\n outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.\n\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflow = Math.abs(outerHeight - innerHeight) <= 1;\n setState(prevState => {\n // Need a large enough difference to update the height.\n // This prevents infinite rendering loop.\n if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {\n renders.current += 1;\n return {\n overflow,\n outerHeightStyle\n };\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (renders.current === 20) {\n console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\\n'));\n }\n }\n\n return prevState;\n });\n }, [maxRows, minRows, props.placeholder]);\n React.useEffect(() => {\n const handleResize = debounce(() => {\n renders.current = 0;\n syncHeight();\n });\n const containerWindow = ownerWindow(inputRef.current);\n containerWindow.addEventListener('resize', handleResize);\n let resizeObserver;\n\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(handleResize);\n resizeObserver.observe(inputRef.current);\n }\n\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [syncHeight]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n React.useEffect(() => {\n renders.current = 0;\n }, [value]);\n\n const handleChange = event => {\n renders.current = 0;\n\n if (!isControlled) {\n syncHeight();\n }\n\n if (onChange) {\n onChange(event);\n }\n };\n\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough difference to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : null\n }, style)\n }, other)), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, style, {\n padding: 0\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport isHostComponent from './isHostComponent';\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.\n * @param existingProps Props of the element.\n * @param ownerState\n */\n\nexport default function appendOwnerState(elementType, existingProps = {}, ownerState) {\n if (isHostComponent(elementType)) {\n return existingProps;\n }\n\n return _extends({}, existingProps, {\n ownerState: _extends({}, existingProps.ownerState, ownerState)\n });\n}","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\n\nexport default isHostComponent;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z\"\n}), 'Add');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\"\n}), 'Check');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Clear');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z\"\n}), 'Delete');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z\"\n}), 'Description');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z\"\n}), 'Edit');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z\"\n}), 'FileCopy');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M9 3 5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z\"\n}), 'ImportExport');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z\"\n}), 'Info');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'PersonOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z\"\n}), 'Photo');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"m20.2 5.9.8-.8C19.6 3.7 17.8 3 16 3s-3.6.7-5 2.1l.8.8C13 4.8 14.5 4.2 16 4.2s3 .6 4.2 1.7zm-.9.8c-.9-.9-2.1-1.4-3.3-1.4s-2.4.5-3.3 1.4l.8.8c.7-.7 1.6-1 2.5-1 .9 0 1.8.3 2.5 1l.8-.8zM19 13h-2V9h-2v4H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zM8 18H6v-2h2v2zm3.5 0h-2v-2h2v2zm3.5 0h-2v-2h2v2z\"\n}), 'Router');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z\"\n}), 'Save');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z\"\n}), 'SettingsApplications');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M11.99 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm3.61 6.34c1.07 0 1.93.86 1.93 1.93 0 1.07-.86 1.93-1.93 1.93-1.07 0-1.93-.86-1.93-1.93-.01-1.07.86-1.93 1.93-1.93zm-6-1.58c1.3 0 2.36 1.06 2.36 2.36 0 1.3-1.06 2.36-2.36 2.36s-2.36-1.06-2.36-2.36c0-1.31 1.05-2.36 2.36-2.36zm0 9.13v3.75c-2.4-.75-4.3-2.6-5.14-4.96 1.05-1.12 3.67-1.69 5.14-1.69.53 0 1.2.08 1.9.22-1.64.87-1.9 2.02-1.9 2.68zM11.99 20c-.27 0-.53-.01-.79-.04v-4.07c0-1.42 2.94-2.13 4.4-2.13 1.07 0 2.92.39 3.84 1.15-1.17 2.97-4.06 5.09-7.45 5.09z\"\n}), 'SupervisedUserCircle');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"m1 9 2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8 3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4 2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z\"\n}), 'Wifi');\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\n\nvar _utils = require(\"@mui/material/utils\");","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"enableColorOnDark\", \"position\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nimport { getAppBarUtilityClass } from './appBarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n color,\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]\n };\n return composeClasses(slots, getAppBarUtilityClass, classes);\n};\n\nconst AppBarRoot = styled(Paper, {\n name: 'MuiAppBar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => {\n const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return _extends({\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n flexShrink: 0\n }, ownerState.position === 'fixed' && {\n position: 'fixed',\n zIndex: theme.zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n }, ownerState.position === 'absolute' && {\n position: 'absolute',\n zIndex: theme.zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'sticky' && {\n // ⚠️ sticky is not supported by IE11.\n position: 'sticky',\n zIndex: theme.zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'static' && {\n position: 'static'\n }, ownerState.position === 'relative' && {\n position: 'relative'\n }, ownerState.color === 'default' && {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n }, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {\n backgroundColor: theme.palette[ownerState.color].main,\n color: theme.palette[ownerState.color].contrastText\n }, ownerState.color === 'inherit' && {\n color: 'inherit'\n }, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {\n backgroundColor: null,\n color: null\n }, ownerState.color === 'transparent' && _extends({\n backgroundColor: 'transparent',\n color: 'inherit'\n }, theme.palette.mode === 'dark' && {\n backgroundImage: 'none'\n }));\n});\nconst AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiAppBar'\n });\n\n const {\n className,\n color = 'primary',\n enableColorOnDark = false,\n position = 'fixed'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n color,\n position,\n enableColorOnDark\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(AppBarRoot, _extends({\n square: true,\n component: \"header\",\n ownerState: ownerState,\n elevation: 4,\n className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),\n\n /**\n * If true, the `color` prop is applied in dark mode.\n * @default false\n */\n enableColorOnDark: PropTypes.bool,\n\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n * @default 'fixed'\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default AppBar;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getAppBarUtilityClass(slot) {\n return generateUtilityClass('MuiAppBar', slot);\n}\nconst appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);\nexport default appBarClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"component\", \"components\", \"componentsProps\", \"className\", \"invisible\", \"open\", \"transitionDuration\", \"TransitionComponent\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Fade from '../Fade';\nimport { getBackdropUtilityClass } from './backdropClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n invisible\n } = ownerState;\n const slots = {\n root: ['root', invisible && 'invisible']\n };\n return composeClasses(slots, getBackdropUtilityClass, classes);\n};\n\nconst BackdropRoot = styled('div', {\n name: 'MuiBackdrop',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.invisible && styles.invisible];\n }\n})(({\n ownerState\n}) => _extends({\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n}, ownerState.invisible && {\n backgroundColor: 'transparent'\n}));\nconst Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {\n var _components$Root, _componentsProps$root;\n\n const props = useThemeProps({\n props: inProps,\n name: 'MuiBackdrop'\n });\n\n const {\n children,\n component = 'div',\n components = {},\n componentsProps = {},\n className,\n invisible = false,\n open,\n transitionDuration,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Fade\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n component,\n invisible\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TransitionComponent, _extends({\n in: open,\n timeout: transitionDuration\n }, other, {\n children: /*#__PURE__*/_jsx(BackdropRoot, {\n \"aria-hidden\": true,\n as: (_components$Root = components.Root) != null ? _components$Root : component,\n className: clsx(classes.root, className),\n ownerState: _extends({}, ownerState, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState),\n classes: classes,\n ref: ref,\n children: children\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The components used for each slot inside the Backdrop.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n\n /**\n * The props used for each slot inside the Backdrop.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n * @default false\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Backdrop;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getBackdropUtilityClass(slot) {\n return generateUtilityClass('MuiBackdrop', slot);\n}\nconst backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);\nexport default backdropClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport styled from '@mui/styled-engine';\nimport defaultStyleFunctionSx, { extendSxProp } from './styleFunctionSx';\nimport useTheme from './useTheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createBox(options = {}) {\n const {\n defaultTheme,\n defaultClassName = 'MuiBox-root',\n generateClassName,\n styleFunctionSx = defaultStyleFunctionSx\n } = options;\n const BoxRoot = styled('div')(styleFunctionSx);\n const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {\n const theme = useTheme(defaultTheme);\n\n const _extendSxProp = extendSxProp(inProps),\n {\n className,\n component = 'div'\n } = _extendSxProp,\n other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded);\n\n return /*#__PURE__*/_jsx(BoxRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),\n theme: theme\n }, other));\n });\n return Box;\n}","import PropTypes from 'prop-types';\nimport { createBox } from '@mui/system';\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';\nimport { createTheme } from '../styles';\nconst defaultTheme = createTheme();\nconst Box = createBox({\n defaultTheme,\n defaultClassName: 'MuiBox-root',\n generateClassName: ClassNameGenerator.generate\n});\nprocess.env.NODE_ENV !== \"production\" ? Box.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n children: PropTypes.node,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Box;","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\n/**\n * @ignore - internal component.\n */\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nfunction Ripple(props) {\n const {\n className,\n classes,\n pulsate = false,\n rippleX,\n rippleY,\n rippleSize,\n in: inProp,\n onExited,\n timeout\n } = props;\n const [leaving, setLeaving] = React.useState(false);\n const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n const rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n\n if (!inProp && !leaving) {\n setLeaving(true);\n }\n\n React.useEffect(() => {\n if (!inProp && onExited != null) {\n // react-transition-group#onExited\n const timeoutId = setTimeout(onExited, timeout);\n return () => {\n clearTimeout(timeoutId);\n };\n }\n\n return undefined;\n }, [onExited, inProp, timeout]);\n return /*#__PURE__*/_jsx(\"span\", {\n className: rippleClassName,\n style: rippleStyles,\n children: /*#__PURE__*/_jsx(\"span\", {\n className: childClassName\n })\n });\n}\n\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"center\", \"classes\", \"className\"];\n\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport { keyframes } from '@mui/system';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Ripple from './Ripple';\nimport touchRippleClasses from './touchRippleClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes(_t || (_t = _`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`));\nconst exitKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`));\nconst pulsateKeyframe = keyframes(_t3 || (_t3 = _`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`));\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n}); // This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\n\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})(_t4 || (_t4 = _`\n opacity: 0;\n position: absolute;\n\n &.${0} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n &.${0} {\n animation-duration: ${0}ms;\n }\n\n & .${0} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${0} {\n opacity: 0;\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n & .${0} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${0};\n animation-duration: 2500ms;\n animation-timing-function: ${0};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`), touchRippleClasses.rippleVisible, enterKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.ripplePulsate, ({\n theme\n}) => theme.transitions.duration.shorter, touchRippleClasses.child, touchRippleClasses.childLeaving, exitKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.childPulsate, pulsateKeyframe, ({\n theme\n}) => theme.transitions.easing.easeInOut);\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\n\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n\n const {\n center: centerProp = false,\n classes = {},\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]); // Used to filter out mouse emulated events on mobile.\n\n const ignoringMouseDown = React.useRef(false); // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n\n const startTimer = React.useRef(null); // This is the hook called once the previous timeout is ready.\n\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n React.useEffect(() => {\n return () => {\n clearTimeout(startTimer.current);\n };\n }, []);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n\n } = options;\n\n if (event.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n\n if (event.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n }; // Get the size of the ripple\n\n let rippleX;\n let rippleY;\n let rippleSize;\n\n if (center || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3); // For some reason the animation is broken on Mobile Chrome if the size is even.\n\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n } // Touche devices\n\n\n if (event.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }; // Delay the execution of the ripple effect.\n\n\n startTimer.current = setTimeout(() => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n }, DELAY_RIPPLE); // We have to make a tradeoff with this value.\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n clearTimeout(startTimer.current); // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n\n if (event.type === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.current = setTimeout(() => {\n stop(event, cb);\n });\n return;\n }\n\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, []);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, _extends({\n className: clsx(classes.root, touchRippleClasses.root, className),\n ref: container\n }, other, {\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"action\", \"centerRipple\", \"children\", \"className\", \"component\", \"disabled\", \"disableRipple\", \"disableTouchRipple\", \"focusRipple\", \"focusVisibleClassName\", \"LinkComponent\", \"onBlur\", \"onClick\", \"onContextMenu\", \"onDragLeave\", \"onFocus\", \"onFocusVisible\", \"onKeyDown\", \"onKeyUp\", \"onMouseDown\", \"onMouseLeave\", \"onMouseUp\", \"onTouchEnd\", \"onTouchMove\", \"onTouchStart\", \"tabIndex\", \"TouchRippleProps\", \"touchRippleRef\", \"type\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { elementTypeAcceptingRef, refType } from '@mui/utils';\nimport composeClasses from '@mui/base/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport TouchRipple from './TouchRipple';\nimport buttonBaseClasses, { getButtonBaseUtilityClass } from './buttonBaseClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n focusVisible,\n focusVisibleClassName,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);\n\n if (focusVisible && focusVisibleClassName) {\n composedClasses.root += ` ${focusVisibleClassName}`;\n }\n\n return composedClasses;\n};\n\nexport const ButtonBaseRoot = styled('button', {\n name: 'MuiButtonBase',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n\n },\n [`&.${buttonBaseClasses.disabled}`]: {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n});\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\n\nconst ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiButtonBase'\n });\n\n const {\n action,\n centerRipple = false,\n children,\n className,\n component = 'button',\n disabled = false,\n disableRipple = false,\n disableTouchRipple = false,\n focusRipple = false,\n LinkComponent = 'a',\n onBlur,\n onClick,\n onContextMenu,\n onDragLeave,\n onFocus,\n onFocusVisible,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseUp,\n onTouchEnd,\n onTouchMove,\n onTouchStart,\n tabIndex = 0,\n TouchRippleProps,\n touchRippleRef,\n type\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const buttonRef = React.useRef(null);\n const rippleRef = React.useRef(null);\n const handleRippleRef = useForkRef(rippleRef, touchRippleRef);\n const {\n isFocusVisibleRef,\n onFocus: handleFocusVisible,\n onBlur: handleBlurVisible,\n ref: focusVisibleRef\n } = useIsFocusVisible();\n const [focusVisible, setFocusVisible] = React.useState(false);\n\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n\n React.useImperativeHandle(action, () => ({\n focusVisible: () => {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n }), []);\n const [mountedState, setMountedState] = React.useState(false);\n React.useEffect(() => {\n setMountedState(true);\n }, []);\n const enableTouchRipple = mountedState && !disableRipple && !disabled;\n React.useEffect(() => {\n if (focusVisible && focusRipple && !disableRipple && mountedState) {\n rippleRef.current.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible, mountedState]);\n\n function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {\n return useEventCallback(event => {\n if (eventCallback) {\n eventCallback(event);\n }\n\n const ignore = skipRippleAction;\n\n if (!ignore && rippleRef.current) {\n rippleRef.current[rippleAction](event);\n }\n\n return true;\n });\n }\n\n const handleMouseDown = useRippleHandler('start', onMouseDown);\n const handleContextMenu = useRippleHandler('stop', onContextMenu);\n const handleDragLeave = useRippleHandler('stop', onDragLeave);\n const handleMouseUp = useRippleHandler('stop', onMouseUp);\n const handleMouseLeave = useRippleHandler('stop', event => {\n if (focusVisible) {\n event.preventDefault();\n }\n\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n const handleTouchStart = useRippleHandler('start', onTouchStart);\n const handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n const handleTouchMove = useRippleHandler('stop', onTouchMove);\n const handleBlur = useRippleHandler('stop', event => {\n handleBlurVisible(event);\n\n if (isFocusVisibleRef.current === false) {\n setFocusVisible(false);\n }\n\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n const handleFocus = useEventCallback(event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n\n handleFocusVisible(event);\n\n if (isFocusVisibleRef.current === true) {\n setFocusVisible(true);\n\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n\n if (onFocus) {\n onFocus(event);\n }\n });\n\n const isNonNativeButton = () => {\n const button = buttonRef.current;\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n /**\n * IE11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat\n */\n\n\n const keydownRef = React.useRef(false);\n const handleKeyDown = useEventCallback(event => {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') {\n keydownRef.current = true;\n rippleRef.current.stop(event, () => {\n rippleRef.current.start(event);\n });\n }\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n } // Keyboard accessibility for non interactive elements\n\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n\n if (onClick) {\n onClick(event);\n }\n }\n });\n const handleKeyUp = useEventCallback(event => {\n // calling preventDefault in keyUp on a \r\n \r\n \r\n \r\n \r\n};\r\n\r\nTsvDialog.propTypes = {\r\n open: PropTypes.bool,\r\n onClose: PropTypes.func,\r\n classes: PropTypes.object,\r\n save: PropTypes.func,\r\n fields: PropTypes.array,\r\n data: PropTypes.array\r\n};\r\n\r\nexport default withStyles(styles)(TsvDialog);","import { useContext } from 'react';\nimport SnackbarContext from './SnackbarContext';\nimport { ProviderContext } from '.';\n\nexport default (): ProviderContext => useContext(SnackbarContext);\n","import PropTypes from 'prop-types';\r\n\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\n\r\nimport Dialog from '@mui/material/Dialog';\r\nimport DialogActions from '@mui/material/DialogActions';\r\nimport DialogContent from '@mui/material/DialogContent';\r\nimport DialogContentText from '@mui/material/DialogContentText';\r\nimport DialogTitle from '@mui/material/DialogTitle';\r\nimport Button from '@mui/material/Button';\r\n\r\nimport DeleteIcon from '@mui/icons-material/Delete';\r\nimport ClearIcon from '@mui/icons-material/Clear';\r\n\r\nconst DeleteAllDialog = (props) => {\r\n return props.open ? \r\n {I18n.t('Delete all items')}\r\n \r\n {I18n.t('Are you sure to delete all items?')}\r\n \r\n \r\n \r\n \r\n \r\n : null;\r\n}\r\n\r\nDeleteAllDialog.propTypes = {\r\n open: PropTypes.bool,\r\n action: PropTypes.func,\r\n onClose: PropTypes.func,\r\n classes: PropTypes.object,\r\n}\r\n\r\nexport default DeleteAllDialog;","import { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\n\r\nimport Dialog from '@mui/material/Dialog';\r\nimport DialogActions from '@mui/material/DialogActions';\r\nimport DialogContent from '@mui/material/DialogContent';\r\nimport DialogContentText from '@mui/material/DialogContentText';\r\nimport DialogTitle from '@mui/material/DialogTitle';\r\nimport Button from '@mui/material/Button';\r\nimport FormControlLabel from '@mui/material/FormControlLabel';\r\nimport Checkbox from '@mui/material/Checkbox';\r\n\r\nimport DeleteIcon from '@mui/icons-material/Delete';\r\nimport ClearIcon from '@mui/icons-material/Clear';\r\n\r\nconst DeleteDialog = (props) => {\r\n const [disableWarnings, setDisableWarnings] = useState(false);\r\n useEffect(() => {\r\n setDisableWarnings(false);\r\n }, [props.open]);\r\n\r\n return props.open ? \r\n {I18n.t('Delete item')}\r\n \r\n {I18n.t('Are you sure to delete item with address \"%s\"?', props.item._address)}\r\n setDisableWarnings(e.target.checked)}\r\n />}/>\r\n \r\n \r\n \r\n \r\n \r\n : null;\r\n}\r\n\r\nDeleteDialog.propTypes = {\r\n open: PropTypes.bool,\r\n onClose: PropTypes.func,\r\n classes: PropTypes.object,\r\n action: PropTypes.func,\r\n item: PropTypes.object,\r\n}\r\n\r\nexport default DeleteDialog;","import { useState, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@mui/styles';\r\n\r\nimport Table from '@mui/material/Table';\r\nimport TableHead from '@mui/material/TableHead';\r\nimport TableBody from '@mui/material/TableBody';\r\nimport TableRow from '@mui/material/TableRow';\r\nimport TableCell from '@mui/material/TableCell';\r\nimport Checkbox from '@mui/material/Checkbox';\r\nimport TextField from '@mui/material/TextField';\r\nimport IconButton from '@mui/material/IconButton';\r\nimport Select from '@mui/material/Select';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport TableSortLabel from '@mui/material/TableSortLabel';\r\nimport Tooltip from '@mui/material/Tooltip';\r\n\r\nimport DeleteIcon from '@mui/icons-material/Delete';\r\nimport AddIcon from '@mui/icons-material/Add';\r\nimport ImportExport from '@mui/icons-material/ImportExport';\r\n\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\nimport Utils from '@iobroker/adapter-react-v5/Components/Utils';\r\n\r\nimport ExpertIcon from '@iobroker/adapter-react-v5/icons/IconExpert';\r\nimport TextWithIcon from '@iobroker/adapter-react-v5/Components/TextWithIcon';\r\nimport SelectWithIcon from '@iobroker/adapter-react-v5/Components/SelectWithIcon';\r\n\r\nimport TsvDialog from './TsvDialog';\r\nimport DeleteAllDialog from './DeleteAllDialog';\r\nimport DeleteDialog from './DeleteDialog';\r\n\r\nconst styles = theme => ({\r\n tableHeader: {\r\n whiteSpace: 'nowrap',\r\n fontWeight: 'bold',\r\n fontSize: '80%',\r\n padding: '0px 8px'\r\n },\r\n tableHeaderExtended: {\r\n color: theme.palette.mode === 'dark' ? theme.palette.primary.light : theme.palette.primary.dark\r\n },\r\n tableCell: {\r\n whiteSpace: 'nowrap',\r\n fontSize: '80%',\r\n padding: '0px 8px'\r\n },\r\n tableContainer: {\r\n overflow: 'auto',\r\n maxHeight: 'calc(100vh - 180px)'\r\n },\r\n tableTextField: {\r\n fontSize: '80%'\r\n },\r\n tableSelect: {\r\n fontSize: '80%'\r\n },\r\n tableTextFieldContainer: {\r\n width: '100%'\r\n },\r\n tableSelectContainer: {\r\n width: '100%'\r\n },\r\n nonEditMode: {\r\n cursor: 'pointer'\r\n }\r\n});\r\n\r\nconst DataCell = props => {\r\n const sortedItem = props.sortedItem;\r\n const field = props.field;\r\n const editMode = props.editMode;\r\n const setEditMode = props.setEditMode;\r\n\r\n const ref = useRef();\r\n\r\n let item = sortedItem.item;\r\n let result;\r\n if (field.type === 'checkbox') {\r\n result = \r\n props.changeParam(sortedItem.$index, field.name, e.target.checked)}\r\n />\r\n ;\r\n } else if (field.type === 'rooms') {\r\n if (!editMode) {\r\n result = ;\r\n } else {\r\n result = props.changeParam(sortedItem.$index, field.name, value)}\r\n className={props.classes.tableSelectContainer}\r\n />;\r\n }\r\n } else if (field.type === 'select') {\r\n if (!editMode) {\r\n let option = field.options.find(option => option.value === item[field.name]);\r\n result = option ? option.title : '';\r\n } else {\r\n result = props.changeParam(sortedItem.$index, field.name, e.target.value)}\r\n className={props.classes.tableSelectContainer}\r\n >\r\n {field.options.map(option =>\r\n {option.title ? option.title : {I18n.t('Nothing')}}\r\n )}\r\n ;\r\n }\r\n } else {\r\n if (!editMode) {\r\n result = item[field.name] ? item[field.name] : null;\r\n } else {\r\n result = props.changeParam(sortedItem.$index, field.name, e.target.value)}\r\n disabled={props.getDisable(sortedItem.$index, field.name)}\r\n />;\r\n }\r\n }\r\n\r\n return {\r\n setEditMode(true);\r\n window.localStorage.setItem('Modbus.editMode', 'true');\r\n window.setTimeout(() => ref.current && ref.current.focus(), 100);\r\n }}\r\n >\r\n {result}\r\n ;\r\n}\r\n\r\nconst RegisterTable = props => {\r\n const [tsvDialogOpen, setTsvDialogOpen] = useState(false);\r\n const [editMode, setEditMode] = useState(parseInt(window.localStorage.getItem('Modbus.editMode'), 10) || 0);\r\n const [extendedMode, setExtendedMode] = useState(window.localStorage.getItem('Modbus.extendedMode') === 'true');\r\n const [deleteAllDialog, setDeleteAllDialog] = useState({\r\n open: false,\r\n action: null,\r\n });\r\n const [deleteDialog, setDeleteDialog] = useState({\r\n open: false,\r\n item: null,\r\n action: null,\r\n });\r\n\r\n let sortedData = props.getSortedData(props.data, props.orderBy, props.order);\r\n\r\n return
\r\n
\r\n \r\n {\r\n props.addItem();\r\n }}>\r\n \r\n \r\n \r\n \r\n setTsvDialogOpen(true)}>\r\n \r\n \r\n \r\n \r\n {\r\n window.localStorage.setItem('Modbus.extendedMode', extendedMode ? 'false' : 'true');\r\n setExtendedMode(!extendedMode);\r\n }}>\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {props.fields.filter(item => (extendedMode || !item.expert) && (!props.formulaDisabled || !item.formulaDisabled)).map(field => {\r\n let isChecked = false;\r\n let indeterminate = false;\r\n let trueFound = false;\r\n let falseFound = false;\r\n for (let k in props.data) {\r\n if (props.data[k][field.name]) {\r\n isChecked = true;\r\n trueFound = true;\r\n } else {\r\n isChecked = false;\r\n falseFound = true;\r\n }\r\n\r\n if (trueFound && falseFound) {\r\n indeterminate = true;\r\n isChecked = false;\r\n break;\r\n }\r\n }\r\n\r\n return \r\n {field.type === 'checkbox' ?\r\n \r\n {\r\n let newData = JSON.parse(JSON.stringify(props.data));\r\n newData.forEach(item =>\r\n item[field.name] = e.target.checked);\r\n props.changeData(newData);\r\n }}\r\n />\r\n \r\n : null}\r\n {field.sorted ? {\r\n const isAsc = props.orderBy === field.name && props.order === 'asc';\r\n props.onChangeOrder(field.name, isAsc ? 'desc' : 'asc');\r\n }}\r\n >{I18n.t(field.title)} : I18n.t(field.title)}\r\n \r\n })}\r\n \r\n \r\n
\r\n setDeleteAllDialog({\r\n open: true,\r\n action: () => props.changeData([]),\r\n })}\r\n disabled={!props.data.length}\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n sortedData.map(sortedItem =>\r\n \r\n {props.fields.filter(item => (extendedMode || !item.expert) && (!props.formulaDisabled || !item.formulaDisabled)).map(field =>\r\n setEditMode(sortedItem.$index)}\r\n {...props}\r\n />\r\n )}\r\n \r\n \r\n
\r\n {\r\n let lastTime = window.sessionStorage.getItem('disableDeleteDialogs');\r\n if (lastTime && (new Date() - new Date(lastTime)) < 1000 * 60 * 5) {\r\n props.deleteItem(sortedItem.$index);\r\n return;\r\n }\r\n setDeleteDialog({\r\n open: true,\r\n action: disableDialogs => {\r\n if (disableDialogs) {\r\n window.sessionStorage.setItem('disableDeleteDialogs', (new Date()).toISOString());\r\n }\r\n props.deleteItem(sortedItem.$index);\r\n },\r\n item: sortedItem.item\r\n })\r\n }}>\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n
\r\n
\r\n
\r\n {tsvDialogOpen ? setTsvDialogOpen(false)}\r\n data={props.data}\r\n fields={props.fields}\r\n /> : null}\r\n setDeleteAllDialog({\r\n open: false,\r\n action: null,\r\n })}\r\n />\r\n setDeleteDialog({\r\n open: false,\r\n action: null,\r\n item: null\r\n })}\r\n item={deleteDialog.item}\r\n />\r\n
;\r\n}\r\n\r\nRegisterTable.propTypes = {\r\n data: PropTypes.array,\r\n fields: PropTypes.array,\r\n classes: PropTypes.object,\r\n addItem: PropTypes.func,\r\n changeData: PropTypes.func,\r\n deleteItem: PropTypes.func,\r\n rooms: PropTypes.object,\r\n formulaDisabled: PropTypes.bool,\r\n onChangeOrder: PropTypes.func,\r\n getSortedData: PropTypes.func,\r\n themeType: PropTypes.string,\r\n showExtendedModeSwitch: PropTypes.bool,\r\n}\r\n\r\nexport default withStyles(styles)(RegisterTable);","import {Component} from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport Paper from '@mui/material/Paper';\r\n\r\nimport RegisterTable from '../Components/RegisterTable';\r\nimport Utils from '../Components/Utils';\r\n\r\nclass BaseRegisters extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.nativeField = '';\r\n this.state = {\r\n order: window.localStorage.getItem('Modbus.order') || 'asc',\r\n orderBy: window.localStorage.getItem('Modbus.orderBy') || '_address',\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n if (!window.localStorage.getItem('Modbus.orderBy')) {\r\n this.fields = this.fields || this.getFields();\r\n const isSlaveIDPresent = !!this.fields.find(item => item.name === 'deviceId');\r\n const orderBy = isSlaveIDPresent ? 'deviceId' : '_address';\r\n\r\n if (orderBy !== this.state.orderBy) {\r\n this.setState({orderBy});\r\n }\r\n }\r\n }\r\n\r\n isShowExtendedModeSwitch() {\r\n return true;\r\n }\r\n\r\n getFields() {\r\n return null;\r\n }\r\n\r\n addressToCanonical(_address) {\r\n let address = _address;\r\n let params = this.props.native.params;\r\n if (params.showAliases) {\r\n if (params.directAddresses) {\r\n address = Utils.direct2nonDirect(this.nativeField, address);\r\n }\r\n address = Utils.alias2address(this.nativeField, address);\r\n }\r\n return address;\r\n }\r\n\r\n changeParam = (index, name, value) => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n data[index][name] = value;\r\n if (name === '_address') {\r\n data[index]['address'] = this.addressToCanonical(value);\r\n }\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {};\r\n this.getFields().forEach(field => newItem[field.name] = '');\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n deleteItem = index => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n data.splice(index, 1);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n changeData = data => {\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n getDisable = (index, name) => {\r\n return false;\r\n }\r\n\r\n getSortedData = (data, orderBy, order) => {\r\n data = data || this.props.native[this.nativeField];\r\n orderBy = orderBy || this.state.orderBy;\r\n order = order || this.state.order;\r\n let sortedData = [];\r\n data.forEach((item, index) => {sortedData[index] = {item, $index: index}});\r\n const field = this.fields.find(item => item.name === orderBy);\r\n\r\n sortedData.sort((sortedItem1, sortedItem2) => {\r\n let sort1;\r\n let sort2;\r\n if (orderBy === 'deviceId') {\r\n sort1 = (parseInt(sortedItem1.item.deviceId, 10) << 16) | parseInt(sortedItem1.item._address, 10);\r\n sort2 = (parseInt(sortedItem2.item.deviceId, 10) << 16) | parseInt(sortedItem2.item._address, 10);\r\n } else if (orderBy === '$index') {\r\n sort1 = sortedItem1[orderBy];\r\n sort2 = sortedItem2[orderBy];\r\n } else if (field && field.type === 'number') {\r\n sort1 = parseInt(sortedItem1.item[orderBy], 10);\r\n sort2 = parseInt(sortedItem2.item[orderBy], 10);\r\n } else {\r\n sort1 = sortedItem1.item[orderBy];\r\n sort2 = sortedItem2.item[orderBy];\r\n }\r\n return (order === 'asc' ? sort1 > sort2 : sort1 < sort2) ? 1 : -1;\r\n });\r\n\r\n return sortedData;\r\n }\r\n\r\n render() {\r\n this.fields = this.fields || this.getFields();\r\n\r\n return \r\n {\r\n this.setState({orderBy, order});\r\n window.localStorage.setItem('Modbus.orderBy', orderBy);\r\n window.localStorage.setItem('Modbus.order', order);\r\n }}\r\n />\r\n ;\r\n }\r\n}\r\n\r\nBaseRegisters.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n formulaDisabled: PropTypes.bool,\r\n};\r\n\r\nexport default BaseRegisters;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport types from '../data/types';\r\nimport roles from '../data/roles';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nclass InputRegisters extends BaseRegisters {\r\n nativeField = 'inputRegs';\r\n\r\n getFields() {\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'unit', title: 'Unit', type: 'text', width: 30},\r\n {name: 'type', title: 'Type', type: 'select', options: types, sorted: true},\r\n {name: 'len', title: 'Length', type: 'text', width: 20},\r\n {name: 'factor', title: 'Factor', type: 'text', width: 20, expert: true},\r\n {name: 'offset', title: 'Offset', type: 'text', width: 20, expert: true},\r\n {name: 'formula', title: 'Formula', type: 'text', formulaDisabled: true, expert: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'cw', title: 'CW', type: 'checkbox', tooltip: 'Cyclic write'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '')\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + (lastItem.len ? parseInt(lastItem.len, 10) : 1);\r\n while(sortedData.find(item => item.item._address >= newItem._address && item.item._address + parseInt(item.item.len || 1, 10) < newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.type = lastItem.type;\r\n newItem.len = lastItem.len;\r\n newItem.factor = lastItem.factor;\r\n newItem.offset = lastItem.offset;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem.factor = 1;\r\n newItem.offset = 0;\r\n newItem._address = this.props.native.params.showAliases ? 30001 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n getDisable = (index, name) => {\r\n if (name === 'len') {\r\n if (!['string', 'stringle'].includes(this.props.native[this.nativeField][index].type)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n changeParam = (index, name, value) => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n data[index][name] = value;\r\n if (name === 'type') {\r\n if (['', 'uint16be', 'uint16le', 'int16be', 'int16le', 'uint8be', 'uint8le', 'int8be', 'int8le'].includes(value)) {\r\n data[index].len = 1;\r\n }\r\n if (['uint32be', 'uint32le', 'uint32sw', 'uint32sb', 'int32be', 'int32le', 'int32sw', 'int32sb', 'floatbe', 'floatle', 'floatsw', 'floatsb', 'string', 'stringle'].includes(value)) {\r\n data[index].len = 2;\r\n }\r\n if (['uint64be', 'uint64le', 'doublebe', 'doublele'].includes(value)) {\r\n data[index].len = 4;\r\n }\r\n }\r\n\r\n if (name === '_address') {\r\n data[index]['address'] = this.addressToCanonical(value);\r\n }\r\n\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nInputRegisters.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default InputRegisters;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nimport roles from '../data/roles';\r\nimport types from '../data/types';\r\n\r\nclass HoldingRegisters extends BaseRegisters {\r\n nativeField = 'holdingRegs';\r\n\r\n getFields() {\r\n //let rooms = this.getRooms();\r\n //rooms.unshift({value: '', title: ''});\r\n\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'unit', title: 'Unit', type: 'text', width: 30},\r\n {name: 'type', title: 'Type', type: 'select', options: types, sorted: true},\r\n {name: 'len', title: 'Length', type: 'text', width: 20},\r\n {name: 'factor', title: 'Factor', type: 'text', width: 20, expert: true},\r\n {name: 'offset', title: 'Offset', type: 'text', width: 20, expert: true},\r\n {name: 'formula', title: 'Formula', type: 'text', expert: true, formulaDisabled: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'poll', title: 'Poll', type: 'checkbox', tooltip: 'Enable polling of data point'},\r\n {name: 'wp', title: 'WP', type: 'checkbox', tooltip: 'Write pulses (true → false edge)', expert: true},\r\n {name: 'cw', title: 'CW', type: 'checkbox', tooltip: 'Cyclic write'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '');\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + (lastItem.len ? parseInt(lastItem.len, 10) : 1);\r\n while(sortedData.find(item => item.item._address >= newItem._address && item.item._address + parseInt(item.item.len || 1, 10) < newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.type = lastItem.type;\r\n newItem.len = (lastItem.len ? parseInt(lastItem.len) : 1);\r\n newItem.factor = lastItem.factor;\r\n newItem.offset = lastItem.offset;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.poll = lastItem.poll;\r\n newItem.wp = lastItem.wp;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem.factor = 1;\r\n newItem.offset = 0;\r\n newItem._address = this.props.native.params.showAliases ? 40001 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n\r\n getDisable = (index, name) => {\r\n return name === 'len' &&\r\n !['string', 'stringle'].includes(this.props.native[this.nativeField][index].type);\r\n }\r\n\r\n changeParam = (index, name, value) => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n\r\n data[index][name] = value;\r\n\r\n if (name === 'type') {\r\n if (['', 'uint16be', 'uint16le', 'int16be', 'int16le', 'uint8be', 'uint8le', 'int8be', 'int8le'].includes(value)) {\r\n data[index].len = 1;\r\n } else\r\n if (['uint32be', 'uint32le', 'uint32sw', 'uint32sb', 'int32be', 'int32le', 'int32sw', 'int32sb', 'floatbe', 'floatle', 'floatsw', 'floatsb', 'string', 'stringle'].includes(value)) {\r\n data[index].len = 2;\r\n } else\r\n if (['uint64be', 'uint64le', 'doublebe', 'doublele'].includes(value)) {\r\n data[index].len = 4;\r\n }\r\n }\r\n\r\n if (name === '_address') {\r\n data[index]['address'] = this.addressToCanonical(value);\r\n }\r\n\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nHoldingRegisters.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default HoldingRegisters;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport roles from '../data/roles';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nclass DiscreteInputs extends BaseRegisters {\r\n nativeField = 'disInputs';\r\n\r\n getFields() {\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'formula', title: 'Formula', type: 'text', expert: true, formulaDisabled: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'cw', title: 'CW', type: 'checkbox', tooltip: 'Cyclic write'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n isShowExtendedModeSwitch() {\r\n return this.props.native.params.slave !== 1 && this.props.native.params.slave !== '1';\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '')\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + 1;\r\n while(sortedData.find(item => item.item._address === newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem._address = this.props.native.params.showAliases ? 10001 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nDiscreteInputs.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default DiscreteInputs;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport roles from '../data/roles';\r\n\r\nimport BaseRegisters from './BaseRegisters';\r\n\r\nclass Coils extends BaseRegisters {\r\n nativeField = 'coils';\r\n\r\n getFields() {\r\n let result = [\r\n {name: '_address', title: 'Address', type: 'number', sorted: true, width: 20},\r\n {name: 'name', title: 'Name', type: 'text', sorted: true},\r\n {name: 'description', title: 'Description', type: 'text', sorted: true},\r\n {name: 'formula', title: 'Formula', type: 'text', expert: true, formulaDisabled: true},\r\n {name: 'role', title: 'Role', type: 'select', options: roles, sorted: true},\r\n {name: 'room', title: 'Room', type: 'rooms'},\r\n {name: 'poll', title: 'Poll', type: 'checkbox'},\r\n {name: 'wp', title: 'WP', type: 'checkbox', expert: true},\r\n {name: 'cw', title: 'CW', type: 'checkbox'},\r\n {name: 'isScale', title: 'SF', type: 'checkbox', tooltip: 'Store this value as scaling factor', expert: true, formulaDisabled: true},\r\n ];\r\n\r\n if (this.props.native.params.multiDeviceId) {\r\n result.splice(1, 0,\r\n {name: 'deviceId', title: 'Slave ID', type: 'number', sorted: true, width: 20},\r\n );\r\n }\r\n\r\n return result;\r\n }\r\n\r\n addItem = () => {\r\n let data = JSON.parse(JSON.stringify(this.props.native[this.nativeField]));\r\n let newItem = {}\r\n this.getFields().forEach(field => newItem[field.name] = '');\r\n if (data.length) {\r\n let sortedData = this.getSortedData();\r\n let lastItem = sortedData[sortedData.length - 1].item;\r\n newItem._address = parseInt(lastItem._address, 10) + 1;\r\n while(sortedData.find(item => item.item._address === newItem._address)) {\r\n newItem._address++;\r\n }\r\n newItem.deviceId = lastItem.deviceId;\r\n newItem.formula = lastItem.formula;\r\n newItem.role = lastItem.role;\r\n newItem.poll = lastItem.poll;\r\n newItem.wp = lastItem.wp;\r\n newItem.cw = lastItem.cw;\r\n newItem.isScale = lastItem.isScale;\r\n } else {\r\n newItem.role = 'level';\r\n newItem._address = this.props.native.params.showAliases ? 1 : 0;\r\n }\r\n newItem.address = this.addressToCanonical(newItem._address);\r\n data.push(newItem);\r\n this.props.onChange(this.nativeField, data);\r\n }\r\n}\r\n\r\nCoils.propTypes = {\r\n common: PropTypes.object.isRequired,\r\n native: PropTypes.object.isRequired,\r\n instance: PropTypes.number.isRequired,\r\n adapterName: PropTypes.string.isRequired,\r\n onError: PropTypes.func,\r\n onLoad: PropTypes.func,\r\n onChange: PropTypes.func,\r\n changed: PropTypes.bool,\r\n socket: PropTypes.object.isRequired,\r\n rooms: PropTypes.object,\r\n};\r\n\r\nexport default Coils;\r\n","import React from 'react';\r\nimport { withStyles } from '@mui/styles';\r\nimport { ThemeProvider, StyledEngineProvider } from '@mui/material/styles';\r\nimport { SnackbarProvider } from 'notistack';\r\n\r\nimport AppBar from '@mui/material/AppBar';\r\nimport Tabs from '@mui/material/Tabs';\r\nimport Tab from '@mui/material/Tab';\r\n\r\nimport {AiOutlineFieldBinary as BinaryIcon} from 'react-icons/ai';\r\nimport {TiSortNumerically as DigitsIcon} from 'react-icons/ti';\r\n\r\nimport GenericApp from '@iobroker/adapter-react-v5/GenericApp';\r\nimport Loader from '@iobroker/adapter-react-v5/Components/Loader'\r\nimport I18n from '@iobroker/adapter-react-v5/i18n';\r\n\r\nimport TabOptions from './Tabs/Options';\r\nimport TabInputRegisters from './Tabs/InputRegisters';\r\nimport TabHoldingRegisters from './Tabs/HoldingRegisters';\r\nimport TabDiscreteInputs from './Tabs/DiscreteInputs';\r\nimport TabCoils from './Tabs/Coils';\r\n\r\nconst styles = theme => ({\r\n root: {},\r\n tabContent: {\r\n padding: 10,\r\n height: 'calc(100% - 64px - 48px - 20px)',\r\n overflow: 'auto',\r\n },\r\n tabContentIFrame: {\r\n padding: 10,\r\n height: 'calc(100% - 64px - 48px - 20px - 38px)',\r\n overflow: 'auto'\r\n },\r\n tab: {\r\n width: '100%',\r\n minHeight: '100%'\r\n },\r\n buttonSelected: {\r\n color: theme.palette.mode === 'dark' ? theme.palette.primary.color + ' !important' : 'white !important'\r\n }\r\n});\r\n\r\nconst tabs = [\r\n {\r\n name: 'general',\r\n title: 'General',\r\n component: TabOptions,\r\n },\r\n {\r\n name: 'discrete-inputs',\r\n title: 'Discrete inputs',\r\n component: TabDiscreteInputs,\r\n icon: ,\r\n tooltip: 'Binary inputs (read-only)'\r\n },\r\n {\r\n name: 'coils',\r\n title: 'Coils',\r\n component: TabCoils,\r\n icon: ,\r\n tooltip: 'Binary inputs and outputs'\r\n },\r\n {\r\n name: 'input-registers',\r\n title: 'Input Registers',\r\n component: TabInputRegisters,\r\n icon: ,\r\n tooltip: 'Input registers (8-64 bit values, read-only)'\r\n },\r\n {\r\n name: 'holding-registers',\r\n title: 'Holding Registers',\r\n component: TabHoldingRegisters,\r\n icon: ,\r\n tooltip: 'Input/output registers (8-64 bit values)'\r\n },\r\n];\r\n\r\nfunction sort(data) {\r\n data.sort((item1, item2) => {\r\n item1.deviceId = parseInt(item1.deviceId, 10) || 1;\r\n item2.deviceId = parseInt(item2.deviceId, 10) || 1;\r\n item1._address = parseInt(item1._address, 10) || 0;\r\n item2._address = parseInt(item2._address, 10) || 0;\r\n const sort1 = (parseInt(item1.deviceId, 10) << 16) | parseInt(item1._address, 10);\r\n const sort2 = (parseInt(item2.deviceId, 10) << 16) | parseInt(item2._address, 10);\r\n return sort1 < sort2 ? -1 : (sort1 > sort2 ? 1 : 0);\r\n });\r\n}\r\n\r\nclass App extends GenericApp {\r\n constructor(props) {\r\n const extendedProps = {...props};\r\n extendedProps.encryptedFields = ['pass'];\r\n\r\n extendedProps.translations = {\r\n 'en': require('./i18n/en'),\r\n 'de': require('./i18n/de'),\r\n 'ru': require('./i18n/ru'),\r\n 'pt': require('./i18n/pt'),\r\n 'nl': require('./i18n/nl'),\r\n 'fr': require('./i18n/fr'),\r\n 'it': require('./i18n/it'),\r\n 'es': require('./i18n/es'),\r\n 'pl': require('./i18n/pl'),\r\n 'zh-cn': require('./i18n/zh-cn'),\r\n };\r\n\r\n extendedProps.sentryDSN = window.sentryDSN;\r\n\r\n super(props, extendedProps);\r\n this.state.moreLoaded = false;\r\n this.state.rooms = null;\r\n }\r\n\r\n onPrepareSave(native) {\r\n // sort all arrays by device:address\r\n native.disInputs && sort(native.disInputs);\r\n native.coils && sort(native.coils);\r\n native.inputRegs && sort(native.inputRegs);\r\n native.holdingRegs && sort(native.holdingRegs);\r\n\r\n return native;\r\n }\r\n\r\n onConnectionReady() {\r\n super.onConnectionReady();\r\n\r\n this.socket.getEnums('rooms')\r\n .then(rooms =>\r\n this.setState({moreLoaded: true, rooms}));\r\n }\r\n\r\n getSelectedTab() {\r\n const selectedTab = this.state.selectedTab;\r\n if (!selectedTab) {\r\n return 0;\r\n } else {\r\n return tabs.findIndex(tab => tab.name === selectedTab);\r\n }\r\n }\r\n\r\n render() {\r\n if (!this.state.loaded || !this.state.moreLoaded) {\r\n return \r\n \r\n \r\n \r\n ;\r\n }\r\n\r\n return \r\n \r\n \r\n
\r\n \r\n this.selectTab(tabs[index].name, index)}\r\n variant=\"scrollable\"\r\n scrollButtons=\"auto\"\r\n >\r\n {tabs.map(tab => {tab.icon}{I18n.t(tab.title)} : I18n.t(tab.title)}\r\n data-name={tab.name}\r\n key={tab.name}\r\n title={tab.tooltip ? I18n.t(tab.tooltip) : undefined}\r\n />)}\r\n \r\n \r\n
\r\n {tabs.map((tab, index) => {\r\n const TabComponent = tab.component;\r\n if (this.state.selectedTab) {\r\n if (this.state.selectedTab !== tab.name) {\r\n return null;\r\n }\r\n } else {\r\n if (index !== 0) {\r\n return null;\r\n }\r\n }\r\n return this.setState({errorText: (text || text === 0) && typeof text !== 'string' ? text.toString() : text})}\r\n onLoad={native => this.onLoadConfig(native)}\r\n instance={this.instance}\r\n adapterName={this.adapterName}\r\n changed={this.state.changed}\r\n onChange={(attr, value, cb) => this.updateNativeValue(attr, value, cb)}\r\n changeNative={(value) => this.setState({native: value, changed: this.getIsChanged(value)})}\r\n rooms={this.state.rooms}\r\n />\r\n })}\r\n
\r\n {this.renderError()}\r\n {this.renderSaveCloseButtons()}\r\n
\r\n
\r\n
\r\n
;\r\n }\r\n}\r\n\r\nexport default withStyles(styles)(App);\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read http://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit http://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See http://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { ThemeProvider, StyledEngineProvider } from '@mui/material/styles';\r\nimport './index.css';\r\nimport App from './App';\r\nimport * as serviceWorker from './serviceWorker';\r\nimport pkg from '../package.json';\r\nimport theme from '@iobroker/adapter-react-v5/Theme';\r\nimport Utils from '@iobroker/adapter-react-v5/Components/Utils';\r\n\r\nwindow.adapterName = 'modbus';\r\nwindow.sentryDSN = 'https://19469f9280bd4b18a3e960e79cb01df2@sentry.iobroker.net/196';\r\n\r\nlet themeName = Utils.getThemeName();\r\n\r\nconsole.log(`iobroker.${window.adapterName}@${pkg.version} using theme \"${themeName}\"`);\r\n\r\nfunction build() {\r\n return ReactDOM.render(\r\n \r\n \r\n {\r\n themeName = _theme;\r\n build();\r\n }}\r\n />\r\n \r\n ,\r\n document.getElementById('root')\r\n );\r\n}\r\n\r\nbuild();\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: http://bit.ly/CRA-PWA\r\nserviceWorker.unregister();\r\n"],"names":["module","exports","arr","len","length","i","arr2","Array","__esModule","arrayLikeToArray","isArray","unsupportedIterableToArray","o","allowArrayLike","it","Symbol","iterator","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","obj","iter","from","arrayWithoutHoles","iterableToArray","nonIterableSpread","minLen","Object","prototype","toString","slice","constructor","name","test","StyleSheet","options","_this","this","_insertTag","tag","before","tags","insertionPoint","nextSibling","prepend","container","firstChild","insertBefore","push","isSpeedy","undefined","speedy","ctr","nonce","key","_proto","hydrate","nodes","forEach","insert","rule","document","createElement","setAttribute","appendChild","createTextNode","createStyleElement","sheet","styleSheets","ownerNode","sheetForTag","insertRule","cssRules","process","flush","parentNode","removeChild","abs","Math","String","fromCharCode","assign","trim","replace","pattern","replacement","indexof","search","indexOf","charat","index","charCodeAt","substr","begin","end","strlen","sizeof","append","array","line","column","position","character","characters","node","root","parent","type","props","children","return","copy","prev","peek","caret","token","alloc","dealloc","delimit","delimiter","whitespace","escaping","count","commenter","identifier","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","KEYFRAMES","serialize","callback","output","stringify","element","join","prefix","hash","compile","parse","rules","rulesets","pseudo","points","declarations","offset","atrule","property","previous","variable","scanning","ampersand","reference","comment","declaration","ruleset","post","size","j","k","x","y","z","identifierWithPointTracking","getRules","parsed","toRules","fixedElements","WeakMap","compat","isImplicitRule","get","set","parentRules","removeLabel","defaultStylisPlugins","map","combine","exec","match","ssrStyles","querySelectorAll","getAttribute","head","stylisPlugins","_insert","inserted","nodesToHydrate","attrib","split","currentSheet","finalizingPlugins","serializer","collection","middleware","concat","selector","serialized","shouldCache","styles","cache","registered","fn","create","arg","EmotionCacheContext","createContext","HTMLElement","createCache","CacheProvider","Provider","withEmotionCache","func","forwardRef","ref","useContext","ThemeContext","React","useInsertionEffect","useLayoutEffect","Global","serializeStyles","sheetRef","useRef","rehydrating","querySelector","current","sheetRefCurrent","insertStyles","nextElementSibling","css","_len","arguments","args","_key","keyframes","insertable","apply","anim","str","h","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","memoize","styleName","toLowerCase","processStyleValue","p1","p2","cursor","unitless","handleInterpolation","mergedProps","interpolation","__emotion_styles","string","interpolated","_i","createStringFromObject","previousCursor","result","cached","labelPattern","stringMode","strings","raw","lastIndex","identifierName","hashString","getRegisteredStyles","registeredStyles","classNames","rawClassName","className","registerStyles","isStringTag","imagePrefix","src","common","cIcon","icon","startsWith","includes","instance","_id","id","_react","_SettingsApplications","_Photo","_IconAlias","_SupervisedUserCircle","_PersonOutlined","_Router","endsWith","_Wifi","_Info","_Description","Icon","title","style","height","marginTop","styleUTF8","Utils","clsx","_reactInlinesvg","width","_this$props$style3","alt","Component","propTypes","color","PropTypes","oneOfType","object","isRequired","require","Loader","theme","themeType","left","borderWidth","top","bottom","number","Router","_classCallCheck","onHashChangedBound","onHashChanged","bind","window","location","parts","item","decodeURIComponent","console","error","tab","dialog","getLocation","addEventListener","removeEventListener","SaveCloseButtons","isIFrame","newReact","self","noTextOnButtons","buttonStyle","borderRadius","saveToolbar","button","paddingLeft","right","background","dense","minHeight","border","_Toolbar","_Fab","variant","disabled","changed","onClick","_this2","onSave","_Save","classes","buttonIcon","I18n","t","marginLeft","_Close","onClose","bool","marginRight","SelectWithIcon","list","different","wordDifferent","getObjectNameFromObj","lang","_obj$common","_obj$common2","values","_obj$common3","_obj$common4","unshift","allowNone","state","find","timeout","setTimeout","JSON","setState","findIndex","splice","removePrefix","backgroundColor","getInvertedColor","select","_material","inputProps","renderValue","_Icon","onChange","el","target","pos","clone","fullWidth","label","TextWithIcon","_item","_item$common","_item$common2","_list$common","_list$common2","_typeof","_item$common3","_item$common4","invertColor","_item3","_item4","_item5","div","moreClasses","_props$moreClasses","_item7","_props$moreClasses2","text","_props$moreClasses3","_item8","padding","whiteSpace","overflow","display","alignItems","verticalAlign","textOverflow","NAMESPACE","days","months","QUALITY_BITS","filter","word","toUpperCase","substring","seconds","floor","hours","minutes","objects","settings","isDesc","attr","language","sysLang","en","desc","de","ru","lastIndexOf","CapitalWords","forEnumId","hasOwnProperty","custom","user","subOrder","subURLs","URLs","source","dest","removed","defaultEnabling","enabled","useCustom","useCommon","pathname","defaultValue","r","g","b","rgb","parseInt","parseFloat","isNaN","secs","angle","num","format","dateFormat","now","m","a","year","day","Date","getTime","date","getDay","getDate","getMonth","p","href","rel","states","instanceId","noCommon","smartName","newSmartName","byON","smartType","getLanguage","nnn","_smartName","role","empty","nl","pl","fr","pt","es","body","execCommand","log","stopPropagation","preventDefault","fileName","bytes","units","u","toFixed","invert","invertedColor","hex","bw","padStart","warn","mix","_toVal","tmp","themeName","vendorPrefix","localStorage","getItem","matchMedia","matches","setItem","newTheme","themes","getThemeNames","setThemeName","query","part","pop","dateObj","mm","dd","getFullYear","v","getHours","getMinutes","getSeconds","getMilliseconds","round","d","url","open","extractHeader","header","lines","attrs","doc","filename","json","encodeURIComponent","click","quality","ex","fetch","then","response","blob","Promise","resolve","reader","FileReader","onload","readAsDataURL","PROGRESS","CONNECTING","CONNECTED","OBJECTS_LOADED","READY","PERMISSION_ERROR","NOT_CONNECTED","ERRORS","fixAdminUI","adminUI","noConfig","config","jsonConfig","materialize","jsonCustom","supportCustoms","materializeTab","adminTab","debug","Connection","protocol","host","hostname","autoSubscribes","autoSubscribeLog","port","isWeb","ioTimeout","max","cmdTimeout","doNotLoadAllObjects","doNotLoadACL","acl","firstConnect","waitForRestart","systemLang","connected","_waitForFirstConnection","_waitForFirstConnectionResolve","statesSubscribes","objectsSubscribes","onProgress","onError","loaded","loadTimer","loadCounter","admin5only","onConnectionHandlers","onLogHandlers","_promises","info","silly","startSocket","io","_socket","socketUrl","connect","on","noTimeout","getVersion","version","major","minor","patch","_authTimer","onPreConnect","emit","isOk","isSecure","reload","_subscribe","cb","subscribed","authenticate","message","onLog","_err","alert","operation","objectChange","stateChange","onCmdStdoutHandler","onCmdStderrHandler","exitCode","onCmdExitHandler","registerSocketOnLoad","scriptLoadCounter","clearTimeout","_this3","onConnect","_getUserPermissions","_this4","getCompactSystemConfig","getSystemConfig","data","systemConfig","navigator","userLanguage","onLanguage","getObjects","onReady","binary","cbs","reg","RegExp","getBinaryState","base64","keys","oldObj","_rev","_this5","onObjectChange","task","disableProgressUpdate","reject","_this6","res","STATES_LOADED","_this7","_this8","_this9","val","_this10","update","_this11","isEnable","_this12","isEnabled","_this13","maintenance","_this14","_this15","ts","_this16","_this17","adapter","_this18","getObjectView","items","instances","_this19","adapters","objs","oldId","newId","setObject","_this20","delObject","_renameGroups","newName","getGroups","groups","groupsToRename","group","_this21","command","_this22","_this23","handler","_enum","_this24","startkey","endkey","_res","rows","start","_this25","cert","getObject","certs","certificates","c","_cert","linesNumber","_this26","_this27","files","_this28","_this29","_this30","_this31","_this32","btoa","Uint8Array","reduce","byte","oldName","_this33","_this34","folderName","_this35","hosts","_this36","users","_this37","_this38","timeoutMs","_this39","_this40","repo","_this41","installed","_this42","cmd","cmdId","_this43","feature","_this44","features","checkFeatureSupported","_this45","_this46","_this47","typeOfDiag","_this48","_this49","_this50","_this51","_this52","_this53","stepIgnore","sessionId","password","_this54","address","ipOrHostName","_this55","ip","IPs4","family","IPs6","_host$native","hardware","_host$native$hardware","networkInterfaces","eth","_this56","encryptedText","_this57","_this58","serverName","webName","_this59","_this60","entries","_this61","_this62","exists","category","_this63","notifications","_this64","_this65","isStrict","_this66","_this67","controller","AbortController","abort","signal","_this68","ratings","currentInstance","_this69","namespace","compactAdapters","_this70","compactInstances","_this71","installedCompact","_this72","systemConfigCommon","_this73","repoCompact","_this74","hostsCompact","_this75","uuid","_obj$native","level","_this76","adapterName","DialogError","_Dialog","maxWidth","handleOk","_DialogTitle","titleBackground","titleColor","_DialogContent","_DialogContentText","_DialogActions","_Button","autoFocus","startIcon","_Check","GenericApp","ConnectionClass","SocketClient","_defineProperty","socket","setLanguage","_systemConfig","expertMode","getExpertMode","newThemeName","getThemeName","createTheme","getThemeType","onThemeChange","onThemeChanged","onToggleExpertMode","resizeTimer","getWidth","themeInstance","selectedTab","selectedTabNum","native","errorText","isConfigurationError","toast","bottomButtons","translations","setTranslations","savedNative","encryptedFields","sentryDSN","progress","scripts","subscribeObject","onSystemConfigChanged","_secret","secret","instanceObj","waitPromise","sentryEnabled","diag","disableDataReporting","sentryStarted","Sentry","init","dsn","release","integrations","SentryIntegrations","Dedupe","sentryInited","uuidObj","configureScope","scope","setUser","onPrepareLoad","encryptedNative","onConnectionReady","showError","onResize","onReceiveMessage","_get","palette","mode","sessionStorage","selectTab","encrypt","decrypt","webExtendable","_host","inter","isClose","_oldObj","onPrepareSave","globalThis","_Snackbar","anchorOrigin","vertical","horizontal","autoHideDuration","ContentProps","action","_IconButton","close","_Error","isChanged","newNative","getIsChanged","_SaveCloseButtons","shift","Error","_updateNativeValue","renderError","renderToast","renderSaveCloseButtons","_Loader","SIZES","xs","sm","md","lg","xl","innerWidth","reverse","$iframeDialog","postMessage","toInt","getElevation","overlayColor","elevation","int","overlay","getElevations","elevations","paper","default","primary","main","secondary","expert","overrides","MuiAppBar","colorDefault","MuiLink","textTransform","transition","orange","MuiPaper","toolbar","grey","dark","adaptV4Theme","components","MuiButton","variants","getContrastText","borderColor","disabledBackground","alpha","hoverOpacity","words","translation","w","_disableWarning","disable","IconAlias","viewBox","xmlns","fill","ExpertIcon","mapEventPropToEvent","eventProp","disableReactTree","mouseEvent","onClickAway","touchEvent","movedRef","nodeRef","activatedRef","syntheticEventRef","handleRef","useForkRef","handleClickAway","useEventCallback","event","insideReactTree","ownerDocument","documentElement","clientWidth","clientX","clientHeight","clientY","clickedRootScrollbar","composedPath","contains","createHandleSynthetic","handlerName","childrenPropsHandler","childrenProps","mappedTouchEvent","handleTouchMove","mappedMouseEvent","_jsx","ariaHidden","show","removeAttribute","getPaddingRight","ownerWindow","getComputedStyle","paddingRight","ariaHiddenSiblings","mountElement","currentElement","elementsToExclude","blacklist","blacklistTagNames","tagName","findIndexOf","idx","some","handleContainer","containerInfo","restoreStyle","disableScrollLock","scrollHeight","isOverflowing","scrollbarSize","getScrollbarSize","parentElement","containerWindow","scrollContainer","nodeName","overflowY","overflowX","setProperty","removeProperty","ModalManager","containers","modals","modal","modalIndex","modalRef","hiddenSiblings","getHiddenSiblings","mount","containerIndex","restore","nextTop","getModalUtilityClass","slot","generateUtilityClass","modalUnstyledClasses","generateUtilityClasses","Portal","disablePortal","mountNode","setMountNode","useEnhancedEffect","getContainer","setRef","ReactDOM","_excluded","getStyleValue","computedStyle","visibility","transform","TextareaAutosize","maxRows","minRows","other","_objectWithoutPropertiesLoose","isControlled","inputRef","shadowRef","renders","syncHeight","input","inputShallow","placeholder","boxSizing","innerHeight","singleRowHeight","outerHeight","Number","min","outerHeightStyle","prevState","resizeObserver","handleResize","debounce","ResizeObserver","observe","clear","disconnect","_jsxs","_extends","readOnly","tabIndex","appendOwnerState","elementType","existingProps","ownerState","isHostComponent","_interopRequireDefault","_createSvgIcon","_jsxRuntime","_default","jsx","defineProperty","enumerable","_utils","createSvgIcon","AppBarRoot","styled","Paper","overridesResolver","capitalize","backgroundColorDefault","flexDirection","appBar","contrastText","enableColorOnDark","backgroundImage","AppBar","inProps","useThemeProps","slots","composeClasses","getAppBarUtilityClass","useUtilityClasses","square","component","appBarClasses","BackdropRoot","invisible","justifyContent","WebkitTapHighlightColor","Backdrop","_components$Root","_componentsProps$root","componentsProps","transitionDuration","TransitionComponent","Fade","getBackdropUtilityClass","in","as","Root","backdropClasses","Box","defaultTheme","defaultClassName","generateClassName","styleFunctionSx","defaultStyleFunctionSx","BoxRoot","useTheme","_extendSxProp","extendSxProp","createBox","ClassNameGenerator","getChildMapping","mapFn","Children","child","isValidElement","mapper","getProp","prop","getNextChildMapping","nextProps","prevChildMapping","onExited","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","cloneElement","exit","enter","TransitionGroup","_React$Component","context","handleExited","_assertThisInitialized","contextValue","isMounting","firstRender","_inheritsLoose","componentDidMount","mounted","componentWillUnmount","getDerivedStateFromProps","_ref","appear","currentChildMapping","render","_this$props","childFactory","TransitionGroupContext","defaultProps","_t","_t2","_t3","_t4","pulsate","rippleX","rippleY","rippleSize","inProp","leaving","setLeaving","rippleClassName","ripple","rippleVisible","ripplePulsate","rippleStyles","childClassName","childLeaving","childPulsate","timeoutId","enterKeyframe","exitKeyframe","pulsateKeyframe","TouchRippleRoot","pointerEvents","TouchRippleRipple","Ripple","touchRippleClasses","transitions","easing","easeInOut","duration","shorter","TouchRipple","center","centerProp","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","startCommit","params","oldRipples","fakeElement","rect","getBoundingClientRect","touches","sqrt","sizeX","sizeY","stop","ButtonBaseRoot","outline","margin","userSelect","MozAppearance","WebkitAppearance","textDecoration","borderStyle","buttonBaseClasses","colorAdjust","ButtonBase","centerRipple","disableRipple","disableTouchRipple","focusRipple","LinkComponent","onBlur","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","TouchRippleProps","touchRippleRef","buttonRef","rippleRef","handleRippleRef","useIsFocusVisible","isFocusVisibleRef","handleFocusVisible","handleBlurVisible","focusVisibleRef","focusVisible","setFocusVisible","focus","mountedState","setMountedState","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleMouseDown","handleContextMenu","handleDragLeave","handleMouseUp","handleMouseLeave","handleTouchStart","handleTouchEnd","handleBlur","handleFocus","currentTarget","isNonNativeButton","keydownRef","handleKeyDown","handleKeyUp","defaultPrevented","ComponentProp","to","buttonProps","handleOwnRef","focusVisibleClassName","composedClasses","getButtonBaseUtilityClass","getTouchRippleUtilityClass","ButtonGroupContext","commonIconStyles","fontSize","ButtonRoot","shouldForwardProp","rootShouldForwardProp","colorInherit","disableElevation","_theme$palette$getCon","_theme$palette","typography","minWidth","vars","shape","short","primaryChannel","mainChannel","A100","boxShadow","shadows","buttonClasses","pxToRem","ButtonStartIcon","ButtonEndIcon","endIcon","Button","contextProps","resolvedProps","resolveProps","disableFocusRipple","endIconProp","startIconProp","getButtonUtilityClass","CheckboxRoot","SwitchBase","indeterminate","active","checkboxClasses","defaultCheckedIcon","CheckBoxIcon","defaultIcon","CheckBoxOutlineBlankIcon","defaultIndeterminateIcon","IndeterminateCheckBoxIcon","_icon$props$fontSize","_indeterminateIcon$pr","checkedIcon","iconProp","indeterminateIcon","indeterminateIconProp","getCheckboxUtilityClass","CollapseRoot","orientation","entered","collapsedSize","hidden","CollapseWrapper","wrapper","CollapseWrapperInner","wrapperInner","Collapse","addEndListener","collapsedSizeProp","onEnter","onEntered","onEntering","onExit","onExiting","Transition","getCollapseUtilityClass","timer","wrapperRef","autoTransitionDuration","isHorizontal","normalizedTransitionCallback","maybeIsAppearing","getWrapperSize","handleEnter","isAppearing","handleEntering","wrapperSize","getTransitionProps","transitionTimingFunction","duration2","getAutoHeightDuration","handleEntered","handleExit","handleExiting","childProps","muiSupportAuto","collapseClasses","DialogActionsRoot","disableSpacing","spacing","DialogActions","getDialogActionsUtilityClass","dialogActionsClasses","DialogContentTextRoot","Typography","DialogContentText","getDialogContentTextUtilityClass","dialogContentTextClasses","DialogContentRoot","dividers","WebkitOverflowScrolling","borderTop","divider","borderBottom","dialogTitleClasses","paddingTop","DialogContent","getDialogContentUtilityClass","dialogContentClasses","DialogTitleRoot","DialogTitle","idProp","getDialogTitleUtilityClass","DialogContext","titleId","DialogBackdrop","backdrop","DialogRoot","Modal","DialogContainer","scroll","textAlign","content","DialogPaper","paperFullWidth","fullScreen","paperFullScreen","maxHeight","breakpoints","unit","dialogClasses","down","Dialog","defaultTransitionDuration","enteringScreen","leavingScreen","ariaDescribedby","ariaLabelledbyProp","BackdropComponent","BackdropProps","disableEscapeKeyDown","onBackdropClick","PaperComponent","PaperProps","TransitionProps","getDialogUtilityClass","backdropClick","ariaLabelledby","useId","dialogContextValue","closeAfterTransition","getDividerUtilityClass","dividerClasses","FabRoot","fab","fabClasses","Fab","getFabUtilityClass","entering","defaultTimeout","foreignRef","reflow","transitionProps","webkitTransition","FilledInputRoot","InputBaseRoot","inputBaseRootOverridesResolver","disableUnderline","underline","light","bottomLineColor","borderTopLeftRadius","borderTopRightRadius","easeOut","filledInputClasses","borderBottomColor","borderBottomStyle","startAdornment","endAdornment","multiline","paddingBottom","hiddenLabel","FilledInputInput","InputBaseInput","inputBaseInputOverridesResolver","WebkitBoxShadow","WebkitTextFillColor","caretColor","FilledInput","componentsPropsProp","inputComponent","getFilledInputUtilityClass","filledInputComponentsProps","deepmerge","InputBase","Input","muiName","inputBaseClasses","FormControlLabelRoot","formControlLabelClasses","labelPlacement","FormControlLabel","control","disabledProp","disableTypography","labelProp","muiFormControl","useFormControl","controlProps","fcs","formControlState","getFormControlLabelUtilityClasses","FormControlRoot","marginBottom","FormControl","visuallyFocused","focused","required","getFormControlUtilityClasses","initialAdornedStart","isMuiElement","isAdornedStart","adornedStart","setAdornedStart","initialFilled","isFilled","filled","setFilled","focusedState","setFocused","onFilled","childContext","onEmpty","registerEffect","FormControlContext","formControlClasses","acc","_span","FormHelperTextRoot","contained","caption","formHelperTextClasses","FormHelperText","getFormHelperTextUtilityClasses","FormLabelRoot","colorSecondary","body1","formLabelClasses","AsteriskComponent","asterisk","FormLabel","getFormLabelUtilityClasses","SystemGlobalStyles","getOffset","resolveSpacingClasses","GridRoot","direction","wrap","zeroMinWidth","flexWrap","directionValues","resolveBreakpointValues","handleBreakpoints","propValue","gridClasses","rowSpacing","rowSpacingValues","themeSpacing","columnSpacing","columnSpacingValues","globalStyles","breakpoint","flexBasis","columnsBreakpointValues","columnValue","more","up","themeProps","columnsProp","columnSpacingProp","rowSpacingProp","columnsContext","GridContext","getGridUtilityClass","GRID_SIZES","getScale","isWebKit154","userAgent","Grow","autoTimeout","delay","IconButtonRoot","edge","shortest","iconButtonClasses","IconButton","getIconButtonUtilityClass","InputAdornmentRoot","disablePointerEvents","inputAdornmentClasses","InputAdornment","variantProp","getInputAdornmentUtilityClass","rootOverridesResolver","formControl","adornedEnd","sizeSmall","inputOverridesResolver","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel","InputBaseComponent","placeholderHidden","placeholderVisible","font","letterSpacing","animationName","animationDuration","resize","inputGlobalStyles","GlobalStyles","autoComplete","disableInjectingGlobalStyles","inputPropsProp","inputRefProp","renderSuffix","valueProp","handleInputRefWarning","handleInputPropsRefProp","handleInputRefProp","handleInputRef","checkDirty","InputComponent","Boolean","getInputBaseUtilityClass","rootProps","onAnimationStart","_formatMuiErrorMessage","hasValue","SSR","InputLabelRoot","shrink","disableAnimation","animated","transformOrigin","InputLabel","shrinkProp","getInputLabelUtilityClasses","inputLabelClasses","InputRoot","onBackgroundChannel","inputTouchBottomLine","inputClasses","InputInput","getInputUtilityClass","inputComponentsProps","getListItemIconUtilityClass","listItemIconClasses","getListItemTextUtilityClass","listItemTextClasses","ListRoot","disablePadding","subheader","listStyle","List","getListUtilityClass","ListContext","listClasses","MenuItemRoot","disableGutters","gutters","backgroundClip","hover","menuItemClasses","selectedOpacity","focusOpacity","disabledOpacity","body2","MenuItem","tabIndexProp","menuItemRef","selected","getMenuItemUtilityClass","nextItem","disableListWrap","previousItem","lastChild","previousElementSibling","textCriteriaMatches","nextFocus","textCriteria","innerText","textContent","repeating","moveFocus","currentFocus","disabledItemsFocusable","traversalFunction","wrappedOnce","nextFocusDisabled","hasAttribute","actions","autoFocusItem","listRef","textCriteriaRef","previousKeyMatched","lastTime","adjustStyleForScrollbar","containerElement","noExplicitWidth","activeItemIndex","newChildProps","activeElement","criteria","lowerKey","currTime","performance","keepFocusOnCurrent","_excluded2","RTL_ORIGIN","LTR_ORIGIN","MenuRoot","Popover","MenuPaper","MenuMenuList","MenuList","Menu","disableAutoFocusItem","MenuListProps","PopoverClasses","isRtl","getMenuUtilityClass","menuListActionsRef","menuClasses","candidatesSelector","defaultGetTabbable","regularTabNodes","orderedTabNodes","nodeTabIndex","tabindexAttr","contentEditable","getTabIndex","getRadio","roving","isNonTabbableRadio","isNodeMatchingSelectorFocusable","documentOrder","sort","defaultIsEnabled","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","getTabbable","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","rootRef","lastKeydown","contain","nativeEvent","rootElement","hasFocus","tabbable","_lastKeydown$current","_lastKeydown$current2","isShiftTab","shiftKey","focusNext","focusPrevious","loopFocus","interval","setInterval","clearInterval","handleFocusSentinel","relatedTarget","defaultManager","classesProp","hideBackdrop","keepMounted","manager","onTransitionEnter","onTransitionExited","exited","setExited","mountNodeRef","hasTransition","getHasTransition","getModal","handleMounted","scrollTop","handleOpen","resolvedContainer","add","isTopModal","handlePortalRef","handleClose","remove","createChainedFunction","TrapFocus","modalClasses","ModalRoot","ModalBackdrop","commonProps","extendUtilityClasses","ModalUnstyled","nativeSelectSelectStyles","nativeSelectClasses","NativeSelectSelect","multiple","nativeSelectIconStyles","NativeSelectIcon","iconOpen","NativeSelectInput","IconComponent","getNativeSelectUtilityClasses","NotchedOutlineRoot","NotchedOutlineLegend","float","withLabel","notched","OutlinedInputRoot","outlinedInputClasses","notchedOutline","OutlinedInputInput","OutlinedInput","_React$Fragment","getOutlinedInputUtilityClass","getOverlayAlpha","PaperRoot","rounded","getPaperUtilityClass","paperClasses","getOffsetTop","getOffsetLeft","getTransformOriginValue","resolveAnchorEl","anchorEl","PopoverRoot","PopoverPaper","anchorPosition","anchorReference","containerProp","marginThreshold","transitionDurationProp","paperRef","handlePaperRef","getPopoverUtilityClass","getAnchorOffset","resolvedAnchorEl","anchorRect","nodeType","getTransformOrigin","elemRect","getPositioningStyle","offsetWidth","offsetHeight","elemTransformOrigin","anchorOffset","heightThreshold","widthThreshold","diff","setPositioningStyles","positioning","updatePosition","popoverClasses","getWindow","defaultView","isElement","Element","isHTMLElement","isShadowRoot","ShadowRoot","includeScale","scaleX","scaleY","getWindowScroll","win","scrollLeft","pageXOffset","pageYOffset","getNodeName","getDocumentElement","getWindowScrollBarX","isScrollParent","_getComputedStyle","getCompositeRect","elementOrVirtualElement","offsetParent","isFixed","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","offsets","getNodeScroll","clientLeft","clientTop","getLayoutRect","clientRect","offsetLeft","offsetTop","getParentNode","assignedSlot","getScrollParent","listScrollParents","_element$ownerDocumen","scrollParent","isBody","visualViewport","updatedList","isTableElement","getTrueOffsetParent","getOffsetParent","isFirefox","currentNode","perspective","willChange","getContainingBlock","auto","basePlacements","viewport","popper","variationPlacements","placement","placements","modifierPhases","modifiers","Map","visited","Set","modifier","requires","requiresIfExists","dep","has","depModifier","pending","DEFAULT_OPTIONS","strategy","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","orderedModifiers","modifiersData","elements","attributes","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","contextElement","phase","orderModifiers","merged","existing","mergeByName","_ref3","_ref3$options","effect","cleanupFn","noopFn","forceUpdate","_state$elements","rects","reset","_state$orderedModifie","_state$orderedModifie2","_options","destroy","onFirstUpdate","passive","getBasePlacement","getVariation","getMainAxisFromPlacement","computeOffsets","basePlacement","variation","commonX","commonY","mainAxis","unsetSides","mapToStyles","_ref2","_Object$assign2","popperRect","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","devicePixelRatio","roundOffsetsByDPR","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","popperOffsets","getOppositePlacement","matched","getOppositeVariationPlacement","rootNode","getRootNode","isSameNode","rectToClientRect","getClientRectFromMixedType","clippingParent","html","getViewportRect","getInnerBoundingClientRect","winScroll","scrollWidth","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options$placement","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","axis","within","mathMax","mathMin","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","referenceRect","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","maxLen","arrowElement","arrow","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerToReference","axisProp","centerOffset","_options$element","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","createPopper","_options$scroll","_options$resize","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","initialStyles","attribute","_skip","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","_options$allowedAutoP","allPlacements","allowedPlacements","overflows","computeAutoPlacement","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","every","check","_loop","fittingPlacement","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","defaultPopperOptions","PopperTooltip","initialPlacement","popperOptions","popperRefProp","popperRef","tooltipRef","ownRef","handlePopperRef","handlePopperRefRef","rtlPlacement","flipPlacement","setPlacement","popperModifiers","PopperRoot","PopperUnstyled","SelectSelect","selectClasses","SelectIcon","SelectNativeInput","slotShouldForwardProp","nativeInput","areEqualValues","isEmpty","_StyledInput","_StyledFilledInput","ariaLabel","autoWidth","defaultOpen","displayEmpty","labelId","MenuProps","onOpen","openProp","SelectDisplayProps","useControlled","controlled","setValueState","openState","setOpenState","displayRef","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","handleDisplayRef","getElementById","getSelection","isCollapsed","displaySingle","childrenArray","handleItemClick","newValue","itemIndex","clonedEvent","writable","displayMultiple","computeDisplay","firstSelectableElement","isFirstSelectableElement","menuMinWidth","buttonId","getSelectUtilityClasses","styledRootConfig","StyledInput","StyledOutlinedInput","StyledFilledInput","Select","ArrowDropDownIcon","SelectInput","standard","outlined","inputComponentRef","setTranslateValue","containerPropProp","containerRect","fakeTransform","getPropertyValue","offsetX","offsetY","transformValues","getTranslateValue","webkitTransform","Slide","defaultEasing","sharp","easingProp","childrenRef","handleRefIntermediary","SnackbarContentRoot","emphasis","emphasize","SnackbarContentMessage","SnackbarContentAction","SnackbarContent","getSnackbarContentUtilityClass","snackbarContentClasses","SnackbarRoot","snackbar","Snackbar","ClickAwayListenerProps","disableWindowBlurListener","onMouseEnter","resumeHideDuration","getSnackbarUtilityClass","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","ClickAwayListener","snackbarClasses","SvgIconRoot","_theme$transitions","_theme$transitions$cr","_theme$transitions2","_theme$transitions2$d","_theme$typography","_theme$typography$pxT","_theme$typography2","_theme$typography2$px","_theme$typography3","_theme$typography3$px","_palette$ownerState$c","_palette","_palette$ownerState$c2","_palette2","_palette2$action","_palette3","_palette3$action","inherit","small","medium","large","SvgIcon","htmlColor","inheritViewBox","titleAccess","instanceFontSize","getSvgIconUtilityClass","focusable","svgIconClasses","_KeyboardArrowLeft","_KeyboardArrowRight","TabScrollButtonRoot","tabScrollButtonClasses","TabScrollButton","getTabScrollButtonUtilityClass","KeyboardArrowLeft","KeyboardArrowRight","TabRoot","labelIcon","textColor","wrapped","iconPosition","tabClasses","Tab","indicator","selectionFollowsFocus","iconWrapper","getTabUtilityClass","TableBodyRoot","tablelvl2","defaultComponent","TableBody","getTableBodyUtilityClass","Tablelvl2Context","tableBodyClasses","TableCellRoot","align","stickyHeader","lighten","darken","fontWeightMedium","tableCellClasses","TableCell","componentProp","paddingProp","scopeProp","sizeProp","sortDirection","table","TableContext","isHeadCell","getTableCellUtilityClass","ariaSort","TableHeadRoot","TableHead","getTableHeadUtilityClass","tableHeadClasses","TableRowRoot","footer","tableRowClasses","TableRow","getTableRowUtilityClass","TableSortLabelRoot","tableSortLabelClasses","TableSortLabelIcon","hideSortIcon","ArrowDownwardIcon","getTableSortLabelUtilityClass","TableRoot","borderCollapse","borderSpacing","captionSide","Table","getTableUtilityClass","tableClasses","cachedType","detectScrollType","dummy","dir","getNormalizedScrollLeft","easeInOutSin","time","sin","PI","animate","ease","cancelled","cancel","timestamp","requestAnimationFrame","TabsRoot","tabsClasses","scrollButtons","scrollButtonsHideMobile","TabsScroller","scroller","fixed","hideScrollbar","scrollableX","scrollableY","scrollbarWidth","FlexContainer","flexContainer","flexContainerVertical","centered","TabsIndicator","indicatorColor","TabsScrollbarSize","scrollbarHeight","setMeasurements","prevHeight","defaultIndicatorStyle","Tabs","ariaLabelledBy","childrenProp","allowScrollButtonsMobile","ScrollButtonComponent","TabIndicatorProps","TabScrollButtonProps","visibleScrollbar","scrollable","scrollStart","getTabsUtilityClass","setMounted","indicatorStyle","setIndicatorStyle","displayScroll","setDisplayScroll","scrollerStyle","setScrollerStyle","valueToIndex","tabsRef","tabListRef","getTabsMeta","tabsMeta","tabMeta","tabsNode","scrollLeftNormalized","updateIndicatorState","startIndicator","startValue","correction","newIndicatorStyle","dStart","dSize","scrollValue","animation","moveTabsScroll","delta","getScrollSize","containerSize","totalSize","handleStartScrollClick","handleEndScrollClick","handleScrollbarSizeChange","scrollSelectedIntoView","nextScrollStart","updateScrollButtonState","showStartScroll","showEndScroll","handleTabsScroll","updateIndicator","updateScrollButtons","childIndex","childValue","conditionalElements","scrollbarSizeListener","scrollButtonsActive","showScrollButtons","scrollButtonStart","scrollButtonEnd","getConditionalElements","onScroll","previousItemKey","nextItemKey","variantComponent","TextFieldRoot","TextField","FormHelperTextProps","helperText","idOverride","InputLabelProps","InputProps","SelectProps","getTextFieldUtilityClass","InputMore","helperTextId","inputLabelId","InputElement","htmlFor","textFieldClasses","ToolbarRoot","mixins","Toolbar","getToolbarUtilityClass","toolbarClasses","TooltipPopper","Popper","disableInteractive","popperInteractive","popperArrow","popperClose","tooltip","tooltipClasses","TooltipTooltip","touch","tooltipArrow","darkChannel","white","fontFamily","wordWrap","fontWeightRegular","TooltipArrow","hystersisOpen","hystersisTimer","composeEventHandler","eventHandler","Tooltip","_components$Popper","_components$Transitio","_components$Tooltip","_components$Arrow","_componentsProps$popp","describeChild","disableFocusListener","disableHoverListener","disableInteractiveProp","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","leaveDelay","leaveTouchDelay","PopperComponentProp","PopperComponent","PopperProps","TransitionComponentProp","childNode","setChildNode","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","prevUserSelect","stopTouchInteraction","WebkitUserSelect","handleLeave","setChildIsFocusVisible","detectTouchStart","handleMouseOver","handleUseRef","handleFocusRef","positionRef","nameOrDescProps","titleIsString","onMouseMove","interactiveWrapperListeners","onMouseOver","_PopperProps$popperOp","tooltipModifiers","getTooltipUtilityClass","TooltipComponent","ArrowComponent","Arrow","popperProps","tooltipProps","tooltipArrowProps","_componentsProps$tool","_componentsProps$arro","TransitionPropsInner","TypographyRoot","noWrap","gutterBottom","paragraph","defaultVariantMapping","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","colorTransformations","textPrimary","textSecondary","transformDeprecatedColors","variantMapping","getTypographyUtilityClass","typographyClasses","A200","A400","A700","black","getAccordionUtilityClass","AccordionRoot","accordionClasses","region","overflowAnchor","borderBottomLeftRadius","borderBottomRightRadius","defaultExpanded","expandedProp","expanded","setExpandedState","handleChange","arrayWithHoles","nonIterableRest","summary","toggle","AccordionContext","getAccordionActionsUtilityClass","AccordionActionsRoot","getAccordionDetailsUtilityClass","AccordionDetailsRoot","getAccordionSummaryUtilityClass","AccordionSummaryRoot","accordionSummaryClasses","AccordionSummaryContent","AccordionSummaryExpandIconWrapper","expandIconWrapper","expandIcon","getAlertUtilityClass","_CloseIcon","AlertRoot","severity","getColor","getBackgroundColor","alertClasses","AlertIcon","AlertMessage","AlertAction","defaultIconMapping","success","SuccessOutlinedIcon","warning","ReportProblemOutlinedIcon","ErrorOutlineIcon","InfoOutlinedIcon","closeText","iconMapping","CloseIcon","getAlertTitleUtilityClass","AlertTitleRoot","stripDiacritics","normalize","createFilterOptions","ignoreAccents","ignoreCase","limit","matchFrom","inputValue","getOptionLabel","filteredOptions","option","candidate","comp","defaultFilterOptions","useAutocomplete","autoHighlight","autoSelect","blurOnSelect","clearOnBlur","freeSolo","clearOnEscape","componentName","disableClearable","disableCloseOnSelect","filterOptions","filterSelectedOptions","getOptionDisabled","getOptionLabelProp","_option$label","isOptionEqualToValue","groupBy","handleHomeEndKeys","includeInputInList","inputValueProp","onHighlightChange","onInputChange","openOnFocus","selectOnFocus","optionLabel","ignoreFocus","firstFocus","listboxRef","setAnchorEl","focusedTag","setFocusedTag","defaultHighlighted","highlightedIndexRef","setInputValueState","resetInputValue","newInputValue","prevValue","valueChange","inputPristine","setInputPristine","inputValueIsSelectedValue","popupOpen","value2","listboxAvailable","focusTag","tagToFocus","setHighlightedIndex","reason","classList","listboxNode","scrollBottom","elementBottom","changeHighlightedIndex","nextIndex","validOptionIndex","maxIndex","newIndex","getNextIndex","setSelectionRange","syncHighlightedIndex","valueItem","currentOption","optionItem","handleListboxRef","handleValue","details","isTouch","selectNewValue","reasonProp","origin","ctrlKey","metaKey","blur","handleFocusTag","nextTag","validTagIndex","handleClear","defaultMuiPrevented","which","handleInputChange","handleOptionMouseOver","handleOptionTouchStart","handleOptionClick","handleTagDelete","handlePopupIndicator","handleClick","selectionEnd","selectionStart","handleInputMouseDown","dirty","groupedOptions","getRootProps","getInputLabelProps","getInputProps","autoCapitalize","spellCheck","getClearProps","getPopupIndicatorProps","getTagProps","onDelete","getListboxProps","getOptionProps","getListSubheaderUtilityClass","ListSubheaderRoot","inset","disableSticky","sticky","getChipUtilityClass","ChipRoot","clickable","chipClasses","avatar","deleteIcon","deletable","deleteIconColor","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","avatarProp","clickableProp","deleteIconProp","chipRef","handleDeleteIconClick","moreProps","customClasses","deleteIconSmall","CancelIcon","getAutocompleteUtilityClass","_ClearIcon","_ArrowDropDownIcon","AutocompleteRoot","hasClearIcon","hasPopupIcon","inputFocused","autocompleteClasses","inputRoot","AutocompleteEndAdornment","AutocompleteClearIndicator","clearIndicator","AutocompletePopupIndicator","popupIndicator","popupIndicatorOpen","AutocompletePopper","popperDisablePortal","AutocompletePaper","AutocompleteLoading","loading","AutocompleteNoOptions","noOptions","AutocompleteListbox","listbox","AutocompleteGroupLabel","ListSubheader","groupLabel","AutocompleteGroupUl","groupUl","_componentsProps$clea","_componentsProps$pape","ChipProps","clearIcon","ClearIcon","clearText","forcePopupIcon","getLimitTagsText","limitTags","ListboxComponent","ListboxProps","loadingText","noOptionsText","openText","popupIcon","renderGroupProp","renderGroup","renderInput","renderOptionProp","renderOption","renderTags","getCustomizedTagProps","Chip","props2","renderListOption","optionProps","option2","index2","getAvatarUtilityClass","AvatarRoot","AvatarImg","img","objectFit","textIndent","AvatarFallback","Person","fallback","imgProps","sizes","srcSet","crossOrigin","referrerPolicy","setLoaded","image","Image","onerror","srcset","useLoaded","hasImg","hasImgNotFailing","getAvatarGroupUtilityClass","SPACINGS","AvatarGroupRoot","avatarGroupClasses","avatarClasses","AvatarGroupAvatar","Avatar","AvatarGroup","_componentsProps$addi","_componentsProps$addi2","total","clampedMax","totalAvatars","maxAvatars","extraAvatars","additionalAvatar","getBadgeUnstyledUtilityClass","BadgeUnstyled","showZero","badgeContentProp","badgeContent","invisibleProp","prevProps","usePreviousProps","displayValue","useBadge","badge","Badge","badgeProps","Slot","getBadgeUtilityClass","BadgeRoot","BadgeBadge","overlap","alignContent","RADIUS_STANDARD","RADIUS_DOT","badgeClasses","_componentsProps$root2","_componentsProps$badg","_componentsProps$badg2","anchorOriginProp","overlapProp","colorProp","shouldSpreadAdditionalProps","getBottomNavigationUtilityClass","BottomNavigationRoot","showLabels","showLabel","getBottomNavigationActionUtilityClass","BottomNavigationActionRoot","iconOnly","bottomNavigationActionClasses","BottomNavigationActionLabel","transitionDelay","BreadcrumbCollapsedButton","BreadcrumbCollapsedIcon","MoreHorizIcon","getBreadcrumbsUtilityClass","BreadcrumbsRoot","breadcrumbsClasses","li","BreadcrumbsOl","ol","BreadcrumbsSeparator","separator","insertSeparators","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","setExpanded","allItems","BreadcrumbCollapsed","renderItemsBeforeAndAfter","getButtonGroupUtilityClass","ButtonGroupRoot","buttonGroupClasses","grouped","borderRight","borderRightColor","getCardUtilityClass","CardRoot","raised","getCardActionAreaUtilityClass","CardActionAreaRoot","cardActionAreaClasses","CardActionAreaFocusHighlight","focusHighlight","getCardActionsUtilityClass","CardActionsRoot","getCardContentUtilityClass","CardContentRoot","getCardHeaderUtilityClass","CardHeaderRoot","cardHeaderClasses","CardHeaderAvatar","CardHeaderAction","alignSelf","CardHeaderContent","subheaderProp","subheaderTypographyProps","titleProp","titleTypographyProps","getCardMediaUtilityClass","CardMediaRoot","isMediaComponent","isImageComponent","media","backgroundSize","backgroundRepeat","backgroundPosition","MEDIA_COMPONENTS","IMAGE_COMPONENTS","CardMedia","composedStyle","getCircularProgressUtilityClass","SIZE","circularRotateKeyframe","circularDashKeyframe","CircularProgressRoot","CircularProgressSVG","svg","CircularProgressCircle","circle","disableShrink","circleDisableShrink","stroke","CircularProgress","thickness","circleStyle","rootStyle","circumference","cx","cy","getContainerUtilityClass","ContainerRoot","enableColorScheme","WebkitFontSmoothing","MozOsxFontSmoothing","WebkitTextSizeAdjust","colorScheme","_theme$components","_theme$components$Mui","defaultStyles","fontWeightBold","themeOverrides","MuiCssBaseline","styleOverrides","scrollBar","track","thumb","darkScrollbar","scrollbarColor","DividerRoot","absolute","flexItem","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","borderBottomWidth","dividerChannel","borderRightWidth","borderLeft","DividerWrapper","wrapperVertical","getDrawerUtilityClass","docked","DrawerRoot","drawer","DrawerDockedRoot","skipVariantsResolver","DrawerPaper","anchor","oppositeDirection","getAnchor","anchorProp","ModalProps","BackdropPropsProp","SlideProps","anchorInvariant","slidingDrawer","getFormGroupUtilityClass","FormGroupRoot","row","useMediaQueryOld","defaultMatches","ssrMatchMedia","noSsr","supportMatchMedia","setMatch","queryList","updateMatch","addListener","removeListener","maybeReactUseSyncExternalStore","useMediaQueryNew","getDefaultSnapshot","getServerSnapshot","mediaQueryList","notify","getSnapshot","subscribe","useMediaQuery","queryInput","getThemeProps","useMediaQueryImplementation","breakpointKeys","isWidthUp","inclusive","isWidthDown","withTheme","withThemeOption","noSSR","initialWidthOption","initialWidth","WithWidth","contextTheme","_getThemeProps","widthComputed","hoistNonReactStatics","HiddenJs","only","visible","breakpointUp","breakpointDown","implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp","withWidth","getHiddenCssUtilityClass","HiddenCssRoot","HiddenCss","getIconUtilityClass","IconRoot","baseClassName","getImageListUtilityClass","ImageListRoot","ImageList","cols","rowHeight","gap","styleProp","columnGap","gridTemplateColumns","ImageListContext","getImageListItemUtilityClass","ImageListItemRoot","imageListItemClasses","ImageListItem","getImageListItemBarUtilityClass","ImageListItemBarRoot","ImageListItemBarTitleWrap","titleWrap","actionIcon","actionPosition","ImageListItemBarTitle","ImageListItemBarSubtitle","subtitle","ImageListItemBarActionIcon","getLinearProgressUtilityClass","_t5","_t6","indeterminate1Keyframe","indeterminate2Keyframe","bufferKeyframe","getColorShade","LinearProgressRoot","LinearProgressDashed","dashed","LinearProgressBar1","bar","bar1Indeterminate","bar1Determinate","bar1Buffer","LinearProgressBar2","bar2Indeterminate","bar2Buffer","valueBuffer","bar1","bar2","inlineStyles","getLinkUtilityClass","LinkRoot","getPath","textDecorationColor","linkClasses","TypographyClasses","sx","handlerRef","getListItemUtilityClass","getListItemButtonUtilityClass","getListItemSecondaryActionClassesUtilityClass","ListItemSecondaryActionRoot","ListItemSecondaryAction","ListItemRoot","alignItemsFlexStart","hasSecondaryAction","secondaryAction","listItemButtonClasses","listItemClasses","ListItemContainer","ContainerComponent","ContainerProps","ContainerClassName","listItemRef","componentProps","getListItemAvatarUtilityClass","ListItemAvatarRoot","ListItemButtonRoot","ListItemIconRoot","ListItemTextRoot","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","getMobileStepperUtilityClass","MobileStepperRoot","mobileStepper","MobileStepperDots","dots","MobileStepperDot","dotActive","dot","MobileStepperProgress","LinearProgress","activeStep","backButton","LinearProgressProps","nextButton","steps","_","ceil","defaultInput","NativeSelect","otherClasses","defer","getPaginationUtilityClass","usePagination","boundaryCount","defaultPage","hideNextButton","hidePrevButton","pageProp","page","showFirstButton","showLastButton","siblingCount","setPageState","range","startPages","endPages","siblingsStart","siblingsEnd","itemList","buttonPage","getPaginationItemUtilityClass","ellipsis","previousNext","firstLast","PaginationItemEllipsis","paginationItemClasses","PaginationItemPage","activatedOpacity","PaginationItemPageIcon","PaginationItem","first","FirstPageIcon","last","LastPageIcon","NavigateNextIcon","NavigateBeforeIcon","PaginationRoot","PaginationUl","ul","defaultGetAriaLabel","getItemAriaLabel","renderItem","RadioButtonIconRoot","RadioButtonIconBackground","RadioButtonUncheckedIcon","RadioButtonIconDot","RadioButtonCheckedIcon","easeIn","checked","useRadioGroup","RadioGroupContext","getRadioUtilityClass","RadioRoot","radioClasses","RadioButtonIcon","_defaultIcon$props$fo","_defaultCheckedIcon$p","checkedProp","nameProp","onChangeProp","radioGroup","FormGroup","clip","getRatingUtilityClass","roundValueToPrecision","precision","nearest","decimalPart","getDecimalPrecision","RatingRoot","ratingClasses","visuallyHidden","RatingLabel","emptyValueFocused","RatingIcon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","RatingDecimal","decimal","IconContainer","RatingItem","emptyIcon","getLabelText","highlightSelectedOnly","IconContainerComponent","isActive","itemValue","labelProps","ratingValue","isHovered","isFocused","isChecked","ratingValueRounded","Star","defaultEmptyIcon","StarBorder","defaultLabelText","emptyLabelText","onChangeActive","valueDerived","valueRounded","newFocus","setEmptyValueFocused","labelEmptyValue","percent","newHover","clamp","ratingItemProps","$","indexDecimal","itemDecimalValue","getScopedCssBaselineUtilityClass","ScopedCssBaselineRoot","getSkeletonUtilityClass","pulseKeyframe","waveKeyframe","SkeletonRoot","hasChildren","fitContent","heightAuto","radiusUnit","getUnit","radiusValue","toUnitless","Skeleton","getSliderUtilityClass","sliderUnstyledClasses","useValueLabelClasses","asc","findClosest","currentValue","_values$reduce","trackFinger","touchId","changedTouches","valueToPercent","roundValueToStep","toExponential","matissaDecimalPart","setValueIndex","focusThumb","_sliderRef$current","_doc$activeElement","_sliderRef$current2","sliderRef","activeIndex","setActive","cachedSupportsTouchActionNone","axisProps","leap","Identity","doesSupportTouchActionNone","CSS","supports","useSlider","disableSwap","marks","marksProp","onChangeCommitted","scale","setOpen","dragging","setDragging","moveCount","thumbIndex","marksValues","mark","createHandleHiddenInputFocus","otherHandlers","_otherHandlers$onFocu","createHandleHiddenInputBlur","_otherHandlers$onBlur","_document$activeEleme","createHandleHiddenInputChange","_otherHandlers$onChan","marksIndex","valueAsNumber","currentMarkIndex","Infinity","previousValue","previousIndex","getFingerNewValue","finger","move","values2","percentToValue","closestIndex","buttons","stopListening","slider","createHandleMouseDown","_otherHandlers$onMous","trackOffset","trackLeap","createHandleMouseOver","_otherHandlers$onMous2","createHandleMouseLeave","_otherHandlers$onMous3","ownEventHandlers","mergedEventHandlers","getHiddenInputProps","getThumbProps","Forward","SliderUnstyled","_components$Rail","_components$Track","_components$Thumb","_components$ValueLabe","_components$Mark","_components$MarkLabel","ariaValuetext","getAriaLabel","getAriaValueText","valueLabelDisplay","valueLabelFormat","marked","Rail","railProps","rail","Track","trackProps","trackStyle","Thumb","thumbProps","ValueLabel","SliderValueLabelUnstyled","valueLabelProps","valueLabel","Mark","markProps","MarkLabel","markLabelProps","markLabel","hiddenInputProps","markActive","markLabelActive","ValueLabelComponent","sliderClasses","SliderRoot","trackInverted","trackFalse","touchAction","SliderRail","SliderTrack","SliderThumb","SliderValueLabel","valueLabelOpen","SliderMark","SliderMarkLabel","_componentsProps$thum","_componentsProps$trac","_componentsProps$valu","Zoom","getSpeedDialUtilityClass","_excluded3","getOrientation","SpeedDialRoot","speedDial","speedDialClasses","spacingActions","SpeedDialFab","SpeedDialActions","actionsClosed","FabProps","origDialButtonRef","eventTimer","focusedAction","nextItemArrowKey","handleOwnFabRef","fabFef","handleFabRef","createHandleSpeedDialActionButtonRef","dialActionIndex","origButtonRef","mouseenter","_child$props","tooltipPlacementProp","tooltipPlacement","ChildFabProps","nextItemArrowKeyCurrent","actionStep","nextAction","unmountOnExit","getSpeedDialActionUtilityClass","SpeedDialActionFab","fabClosed","SpeedDialActionStaticTooltip","staticTooltip","staticTooltipClosed","speedDialActionClasses","SpeedDialActionStaticTooltipLabel","staticTooltipLabel","wordBreak","TooltipClasses","tooltipOpen","tooltipOpenProp","tooltipTitle","setTooltipOpen","transitionStyle","getSpeedDialIconUtilityClass","SpeedDialIconRoot","speedDialIconClasses","openIcon","iconWithOpenIconOpen","openIconOpen","SpeedDialIcon","openIconProp","formatIcon","newClassName","AddIcon","joinChildren","StackRoot","transformer","createUnarySpacing","base","spacingValues","getValue","Stack","StepperContext","useStepperContext","StepContext","useStepContext","getStepUtilityClass","StepRoot","alternativeLabel","completed","activeProp","completedProp","connector","nonLinear","newChildren","getStepIconUtilityClass","_circle","StepIconRoot","stepIconClasses","StepIconText","classNameProp","Warning","CheckCircle","textAnchor","getStepLabelUtilityClass","StepLabelRoot","stepLabelClasses","StepLabelLabel","StepLabelIconContainer","iconContainer","StepLabelLabelContainer","labelContainer","StepLabel","optional","StepIconComponentProp","StepIconComponent","StepIconProps","iconContext","StepIcon","getStepButtonUtilityClass","StepButtonRoot","stepButtonClasses","touchRipple","getStepConnectorUtilityClass","StepConnectorRoot","StepConnectorLine","borderTopStyle","borderTopWidth","borderLeftStyle","borderLeftWidth","getStepContentUtilityClass","StepContentRoot","StepContentTransition","getStepperUtilityClass","StepperRoot","defaultConnector","StepConnector","SwipeAreaRoot","SwipeArea","claimedSwipeInstance","calculateCurrentX","pageX","calculateCurrentY","getMaxTranslate","horizontalSwipe","paperInstance","getTranslate","currentTranslate","startLocation","maxTranslate","iOS","SwipeableDrawer","transitionDurationDefault","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hysteresis","minFlingVelocity","SwipeAreaProps","swipeAreaWidth","ModalPropsProp","maybeSwiping","setMaybeSwiping","swipeInstance","isSwiping","swipeAreaRef","backdropRef","touchDetected","calculatedDurationRef","setPosition","translate","changeTransition","anchorRtl","rtlTranslateMultiplier","drawerStyle","backdropStyle","handleBodyTouchEnd","startX","startY","translateRatio","velocity","handleBodyTouchMove","currentX","currentY","domTreeShapes","getDomTreeShapes","hasNativeHandler","axisProperties","goingForward","scrollPosition","areNotAtStart","areNotAtEnd","computeHasNativeHandler","dx","dy","definitelySwiping","cancelable","paperHit","lastTranslate","handleBodyTouchStart","Drawer","NoSsr","getSwitchUtilityClass","SwitchRoot","switchClasses","SwitchSwitchBase","switchBase","SwitchTrack","SwitchThumb","getTableContainerUtilityClass","TableContainerRoot","getTableFooterUtilityClass","_LastPageIcon","_FirstPageIcon","_KeyboardArrowLeft2","_KeyboardArrowRight2","_FirstPageIcon2","_LastPageIcon2","TableFooterRoot","backIconButtonProps","nextIconButtonProps","onPageChange","rowsPerPage","getTablePaginationUtilityClass","_InputBase","TablePaginationRoot","TablePaginationToolbar","tablePaginationClasses","TablePaginationSpacer","spacer","TablePaginationSelectLabel","selectLabel","TablePaginationSelect","selectIcon","selectRoot","textAlignLast","TablePaginationMenuItem","menuItem","TablePaginationDisplayedRows","displayedRows","defaultLabelDisplayedRows","colSpan","ActionsComponent","TablePaginationActions","colSpanProp","labelDisplayedRows","labelRowsPerPage","onRowsPerPageChange","rowsPerPageOptions","MenuItemComponent","selectId","rowsPerPageOption","_createElement","getToggleButtonUtilityClass","ToggleButtonRoot","selectedColorChannel","selectedColor","toggleButtonClasses","isValueSelected","getToggleButtonGroupUtilityClass","ToggleButtonGroupRoot","toggleButtonGroupClasses","exclusive","buttonValue","handleExclusiveChange","defaultTrigger","store","disableHysteresis","threshold","defaultTarget","useScrollTrigger","getTrigger","trigger","setTrigger","handleScroll","getSwitchBaseUtilityClass","SwitchBaseRoot","SwitchBaseInput","defaultChecked","setCheckedState","hasLabelFor","newChecked","createMixins","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","createPalette","contrastThreshold","blue","getDefaultPrimary","purple","getDefaultSecondary","red","getDefaultError","lightBlue","getDefaultInfo","green","getDefaultSuccess","getDefaultWarning","getContrastRatio","augmentColor","mainShade","lightShade","darkShade","modes","createShadow","mixinsInput","paletteInput","transitionsInput","typographyInput","systemTheme","systemCreateTheme","muiTheme","createTypography","createTransitions","argument","createMuiTheme","complex","formatMs","milliseconds","constant","inputTransitions","mergedEasing","mergedDuration","durationOption","easingOption","animatedProp","caseAllCaps","defaultFontFamily","fontWeightLight","htmlFontSize","allVariants","pxToRem2","coef","buildVariant","casing","overline","isUnitless","convertLength","baseFontSize","toUnit","fromUnit","pxLength","outputLength","alignProperty","grid","sizeBelow","sizeAbove","fontGrid","pixels","responsiveProperty","cssProperty","factor","inputTheme","componentValue","createSpacing","createBreakpoints","typeInput","modeInput","paletteRest","finalMode","hint","createMuiStrictModeTheme","unstable_strictMode","warnedOnce","createStyles","responsiveFontSizes","themeInput","disableAlign","convert","breakpointValues","remFontSize","maxFontSize","minFontSize","makeStyles","withStyles","assignNestedKeys","arrayKeys","temp","cssVarsParser","shouldSkipPaths","basePrefix","shouldSkipGeneratingVar","parsedTheme","cssVar","getCssValue","recurse","parentKeys","DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","DEFAULT_ATTRIBUTE","getInitColorSchemeScript","enableSystem","defaultLightColorScheme","defaultDarkColorScheme","modeStorageKey","colorSchemeStorageKey","colorSchemeNode","dangerouslySetInnerHTML","__html","getSystemMode","processState","systemMode","resolveValue","useCurrentColorScheme","defaultMode","supportedColorSchemes","storageWindow","joinedColorSchemes","initialMode","lightColorScheme","darkColorScheme","getColorScheme","setMode","currentState","newMode","setColorScheme","newState","handleMediaQuery","mediaListener","handleStorage","createGetCssVar","appendVar","getCssVar","field","extendTheme","_colorSchemesInput$li","_colorSchemesInput$da","_colorSchemesInput$li2","_colorSchemesInput$da2","colorSchemes","colorSchemesInput","_createThemeWithoutVa","createThemeWithoutVars","lightPalette","darkPalette","onBackground","backgroundChannel","colorChannel","colors","lightChannel","contrastTextChannel","secondaryChannel","desisgnSystemMode","designSystemColorScheme","defaultColorScheme","disableTransitionOnChange","designSystemTransitionOnChange","designSystemEnableColorScheme","designSystemPrefix","resolveTheme","ColorSchemeContext","CssVarsProvider","themeProp","documentNode","colorSchemeSelector","hasMounted","restThemeProp","allColorSchemes","resolvedColorScheme","rootCss","rootVars","styleSheet","parsedScheme","priorColorScheme","ThemeProvider","useColorScheme","createCssVarsProvider","experimental_extendTheme","Experimental_CssVarsProvider","propsToClassKey","classKey","getStyleOverrides","getVariantStyles","variantsStyles","definition","variantsResolver","_theme$components$nam","themeVariants","themeVariant","isMatch","systemDefaultTheme","inputOptions","componentSlot","inputSkipVariantsResolver","inputSkipSx","skipSx","shouldForwardPropOption","defaultStyledResolver","styledEngineStyled","muiStyledResolver","styleArg","expressions","expressionsWithDefaultTheme","stylesArg","__emotion_real","transformedStyleArg","resolvedStyleOverrides","slotKey","slotStyle","numOfCustomFnsApplied","placeholders","withConfig","createStyled","useThemeSystem","systemUseThemeProps","_style$transitionDura","_style$transitionTimi","path","displayName","validator","componentNameInError","propName","propFullName","unstable_ClassNameGenerator","configure","generator","muiNames","defaultGenerator","generate","createClassNameGenerator","getUtilityClass","globalStateClassesMapping","hasSymbol","for","StyledEngineProvider","injectFirst","reactPropsRegex","testOmitPropsOnStringTag","isPropValid","testOmitPropsOnComponent","getDefaultShouldForwardProp","composeShouldForwardProps","isReal","optionsShouldForwardProp","__emotion_forwardProp","Insertion","useInsertionEffectMaybe","targetClassName","baseTag","__emotion_base","defaultShouldForwardProp","shouldUseAs","Styled","FinalTag","classInterpolations","finalShouldForwardProp","newProps","Fragment","withComponent","nextOptions","newStyled","emStyled","plainObjectConstrurctor","cloneStyle","newStyle","createRule","decl","jss","declCopy","plugins","onCreateRule","by","toCssValue","ignoreImportant","cssValue","getWhitespaceSymbols","linebreak","space","indentStr","indent","toCss","_options$indent","fallbacks","_getWhitespaceSymbols","_prop","_value","_prop2","_value2","allowEmpty","escapeRegex","nativeEscape","escape","BaseStyleRule","isProcessed","Renderer","renderer","force","onChangeValue","isDefined","renderable","attached","StyleRule","_BaseStyleRule","scoped","generateId","selectorText","_proto2","applyTo","toJSON","opts","link","_createClass","setSelector","replaceRule","pluginStyleRule","defaultToStringOptions","atRegExp","ConditionalRule","atMatch","at","RuleList","getRule","addRule","onProcessRule","newRule","keyRegExp","pluginConditionalRule","defaultToStringOptions$1","nameRegExp","KeyframesRule","frames","nameMatch","keyRegExp$1","refRegExp","findReferencedKeyframe","replaceRef","refKeyframe","pluginKeyframesRule","onProcessStyle","KeyframeRule","pluginKeyframeRule","FontFaceRule","keyRegExp$2","pluginFontFaceRule","ViewportRule","pluginViewportRule","SimpleRule","keysMap","pluginSimpleRule","defaultUpdateOptions","forceUpdateOptions","counter","ruleOptions","_this$options","register","oldRule","oldIndex","nameOrSelector","unregister","updateOne","_this$options2","onUpdate","nextValue","_nextValue","_prevValue","deployed","attach","deploy","detach","queue","deleteRule","addRules","added","_this$rules","PluginsRegistry","internal","external","registry","onProcessSheet","processedValue","use","newPlugin","plugin","SheetsRegistry","_temp","sheets","globalThis$1","Function","ns","moduleId","createGenerateId","ruleCounter","jssId","classNamePrefix","minify","cssRule","attributeStyleMap","delete","getHead","findPrevNode","findHigherSheet","findHighestSheet","childNodes","nodeValue","findCommentNode","getNonce","_insertRule","appendRule","getValidRuleInsertionIndex","DomRenderer","hasInsertedRules","meta","createStyle","nextNode","insertionPointElement","insertStyle","insertRules","nativeParent","latestNativeParent","_insertionIndex","refCssRule","ruleStr","insertionIndex","nativeRule","instanceCounter","Jss","isInBrowser","setup","createStyleSheet","removeStyleSheet","createJss","hasCSSTOMSupport","getDynamicStyles","extracted","mergeClasses","baseClasses","newClasses","nextClasses","multiKeyStore","key1","key2","subCache","stateClasses","fnValuesNs","fnRuleNs","fnValues","styleRule","fnRule","atPrefix","GlobalContainerRule","GlobalPrefixedRule","separatorRegExp","addScope","handleNestedGlobalContainerRule","handlePrefixedGlobalRule","parentRegExp","getReplaceRef","replaceParentRefs","nestedProp","parentProp","parentSelectors","nestedSelectors","nested","getOptions","prevOptions","nestingLevel","isNested","isNestedConditional","uppercasePattern","msPattern","toHyphenLower","hName","convertCase","converted","hyphenate","hyphenatedProp","px","ms","addCamelCasedVersion","regExp","newObj","motion","iterate","innerProp","_innerProp","camelCasedOptions","js","vendor","browser","jsCssMap","Moz","O","Webkit","appearence","noPrefill","supportedProperty","toUpper","camelize","pascalize","mask","longhand","textOrientation","writingMode","breakPropsOld","inlineLogicalOld","newProp","unprefixed","prefixed","pascalized","scrollSnap","overscrollBehavior","propMap","flex2012","propMap$1","propKeys","prefixCss","flex2009","propertyDetectors","_toConsumableArray","computed","key$1","el$1","cache$1","transitionProperties","transPropsRegExp","prefixTransitionCallback","prefixedValue","supportedValue","cacheKey","prefixStyle","changeProp","supportedProp","changeValue","supportedValue$1","atRule","supportedKeyframes","prop0","prop1","functions","global","camelCase","defaultUnit","vendorPrefixer","propsSort","disableGlobal","productionPrefix","seed","seedPrefix","getNextCounterId","createGenerateClassName","disableGeneration","sheetsCache","sheetsManager","sheetsRegistry","StylesContext","indexCounter","increment","getStylesCreator","stylesOrCreator","themingEnabled","stylesWithOverrides","getClasses","stylesOptions","cacheClasses","lastProp","lastJSS","stylesCreator","sheetManager","refs","staticSheet","dynamicStyles","flip","serverGenerateClassName","dynamicSheet","useSynchronousEffect","currentKey","classNamePrefixOption","noopTheme","stylesOptions2","useStyles","shouldUpdate","WithStyles","localTheme","outerTheme","mergeOuterLocalTheme","InnerThemeProvider","StyledEngineThemeContext","MuiThemeProvider","defaultBreakpoints","styleFromPropValue","themeBreakpoints","cssKey","createEmptyBreakpointObject","_breakpointsInput$key","breakpointsInput","breakpointsInOrder","removeUnusedBreakpoints","breakpointOutput","breakpointsKeys","computeBreakpointsBase","hexToRgb","re","decomposeColor","charAt","marker","colorSpace","decomposedColor","recomposeColor","rgbToHex","intToHex","hslToRgb","l","getLuminance","foreground","lumA","lumB","coefficient","sortedValues","breakpointsAsArray","breakpoint1","breakpoint2","sortBreakpointsValues","between","endIndex","not","keyIndex","spacingInput","mui","argsInput","shapeInput","handlers","filterProps","merge","getBorder","themeKey","borderTopColor","borderLeftColor","createUnaryUnit","compose","rowGap","_props$theme","_props$theme$breakpoi","_props$theme$breakpoi2","breakpointsValues","fontStyle","filterPropsMapping","borders","flexbox","positions","sizing","styleFunctionMapping","propToStyleFunction","styleFnName","properties","directions","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","marginKeys","paddingKeys","spacingKeys","_getPath","transformed","resolveCssProperty","cssProperties","getStyleFromPropValue","themeMapping","propValueFinal","userValue","finalSx","inSx","systemProps","otherProps","splitProps","isPlainObject","objectsHaveSameKeys","allKeys","union","callIfFn","maybeFn","defaultStyleFunctionMapping","getThemeValue","styleFunction","traverse","sxInput","sxObject","emptyBreakpoints","styleKey","unstable_createStyleFunctionSx","useThemeWithoutDefault","isObjectEmpty","muiUseTheme","funcs","wait","debounced","later","formatMuiErrorMessage","code","documentWidth","defaultProp","valueState","setValue","refA","refB","refValue","globalId","maybeReactUseId","reactId","defaultId","setDefaultId","useGlobalId","hadFocusVisibleRecentlyTimeout","hadKeyboardEvent","hadFocusVisibleRecently","inputTypesWhitelist","tel","email","month","week","datetime","altKey","handlePointerDown","handleVisibilityChange","visibilityState","isFocusVisible","isContentEditable","focusTriggersKeyboardModality","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","executor","_state","_handlers","_resolve","_setResult","_reject","isThenable","_executeHandlers","cachedHandlers","onfulfilled","onrejected","onfinally","isRejected","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_user","_tags","_extra","_contexts","_sdkProcessingMetadata","Scope","newScope","__spread","__assign","_level","_session","_transactionName","_fingerprint","_requestSession","_notifyScopeListeners","requestSession","_a","extras","extra","fingerprint","setTransactionName","span","getSpan","transaction","session","captureContext","updatedScope","contexts","breadcrumb","maxBreadcrumbs","maxCrumbs","mergedBreadcrumb","dateTimestampInSeconds","trace","getTraceContext","transactionName","_applyFingerprint","breadcrumbs","sdkProcessingMetadata","_notifyEventProcessors","getGlobalEventProcessors","newData","processors","processor","final","getGlobalSingleton","addGlobalEventProcessor","IS_DEBUG_BUILD","__SENTRY_DEBUG__","errors","sid","uuid4","status","ignoreDuration","startingTime","timestampInSeconds","started","Session","ipAddress","ip_address","did","username","environment","dropUndefinedKeys","toISOString","user_agent","client","_version","_stack","getStackTop","bindClient","Hub","setupIntegrations","getScope","getStack","getClient","pushScope","popScope","exception","eventId","_lastEventId","event_id","finalHint","syntheticException","originalException","_invokeClient","_c","beforeBreadcrumb","_d","finalBreadcrumb","consoleSandbox","addBreadcrumb","setTags","setExtras","setTag","setExtra","setContext","oldHub","makeMain","integration","getIntegration","_oO","logger","_callExtensionMethod","customSamplingContext","endSession","_sendSessionUpdate","layer","getSession","setSession","getGlobalObject","getUser","currentSession","captureSession","method","carrier","getMainCarrier","sentry","__SENTRY__","extensions","hub","getHubFromCarrier","setHubOnCarrier","getCurrentHub","hasHubOnCarrier","isOlderThan","isNodeEnv","activeDomain","domain","registryHubTopStack","_Oo","getHubFromActiveDomain","callOnHub","captureException","captureMessage","captureEvent","withScope","startTransaction","SDK_VERSION","setPrototypeOf","__proto__","proto","_super","_newTarget","__extends","DSN_REGEX","dsnToString","withPassword","pass","projectId","publicKey","dsnFromComponents","makeDsn","SentryError","_b","lastPath","projectMatch","dsnFromString","isValidProtocol","validateDsn","installedIntegrations","filterDuplicates","accIntegration","defaultIntegrations","userIntegrations","userIntegration","integrationsNames","alwaysLastToRun","getIntegrationsToSetup","setupOnce","setupIntegration","addNonEnumerableProperty","ALREADY_SEEN_ERROR","backendClass","_integrations","_numProcessing","_backend","_dsn","BaseClient","checkOrSetAlreadyCaught","_process","_getBackend","eventFromException","_captureEvent","promisedEvent","isPrimitive","eventFromMessage","_isEnabled","_sendSession","getTransport","_isClientDoneProcessing","clientFinished","transportFlushed","initialized","crashed","errored","exceptions","exceptions_1_1","mechanism","handled","sessionNonTerminal","sendSession","ticked","normalizeDepth","normalizeMaxBreadth","prepared","_applyClientOptions","_applyIntegrationsMetadata","finalScope","applyToEvent","evt","_normalizeEvent","depth","maxBreadth","normalized","baseClientNormalized","dist","maxValueLength","truncate","request","integrationsArray","sdk","sendEvent","_processEvent","finalEvent","beforeSend","sampleRate","transport","recordLostEvent","outcome","isTransaction","random","_prepareEvent","__sentry__","rv","nullErr","_ensureBeforeSendRv","processedEvent","_updateSessionFromEvent","_sendEvent","promise","metadata","tunnel","_dsnObject","_tunnel","API","getBaseApiEndpoint","getStoreEndpoint","getStoreEndpointWithUrlEncodedAuth","getEnvelopeEndpointWithUrlEncodedAuth","initAPIDetails","initDsn","_getIngestEndpoint","_encodedAuth","urlEncode","sentry_key","sentry_version","_getEnvelopeEndpoint","createEnvelope","headers","serializeEnvelope","envelope","serializedHeaders","itemHeaders","payload","serializedPayload","getSdkMetadataForEnvelopeHeader","api","enhanceEventWithSdkInfo","sdkInfo","packages","createSessionEnvelope","sent_at","NoopTransport","_transport","_setupTransport","BaseBackend","_exception","_hint","_message","_newTransport","_experiments","newTransport","env","eventType","transactionSampling","samplingMethod","skippedNormalization","sample_rates","rate","createEventEnvelope","_metadata","send","UNKNOWN_FUNCTION","createFrame","lineno","colno","frame","function","in_app","chromeRegex","chromeEvalRegex","chromeStackParser","subMatch","geckoREgex","geckoEvalRegex","geckoStackParser","winjsRegex","winjsStackParser","opera10Regex","opera10StackParser","opera11Regex","opera11StackParser","extractSafariExtensionDetails","isSafariExtension","isSafariWebExtension","exceptionFromError","parseStackFrames","extractMessage","stacktrace","eventFromError","stack","popSize","framesToPop","reactMinifiedRegexp","getPopSize","createStackParser","attachStacktrace","eventFromUnknownInput","addExceptionMechanism","Severity","eventFromString","isUnhandledRejection","isErrorEvent","isDOMError","isDOMException","domException","name_1","addExceptionTypeValue","isError","isEvent","extractExceptionKeysForMessage","__serialized__","normalizeToSize","frames_1","eventFromPlainObject","synthetic","frames_2","makePromiseBuffer","buffer","taskProducer","drain","capturedSetTimeout","disabledUntil","limits","all","isRateLimited","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","parameters","headerDelay","_f","headerDate","parseRetryAfterHeader","eventStatusFromHttpCode","createTransport","makeRequest","bufferSize","rateLimits","envCategory","firstItemHeader","getEnvelopeType","getRateLimitReason","statusCode","cachedFetchImpl","getNativeFetchImplementation","isNativeFetch","fetchImpl","sandbox","contentWindow","sendReport","sendBeacon","supportsFetch","fetch_1","credentials","keepalive","makeNewFetchTransport","nativeFetch","requestOptions","statusText","requestTypeToCategory","ty","_buffer","_rateLimits","_outcomes","_api","sendClientReports","_flushOutcomes","BaseTransport","_sendRequest","useEnvelope","JSONStringifyError","newErr","innerErr","req","eventToSentryRequest","sessionToSentryRequest","outcomes","discarded_events","discardedEvents","quantity","requestType","_isRateLimited","_disabledUntil","_fetch","FetchTransport","sentryRequest","originalPayload","supportsReferrerPolicy","fetchParameters","_handleResponse","catch","makeNewXHRTransport","xhr","XMLHttpRequest","onreadystatechange","readyState","getResponseHeader","setRequestHeader","XHRTransport","BrowserBackend","transportOptions","ignoreOnError","shouldIgnoreOnError","ignoreNextOnError","__sentry_wrapped__","getOriginalFunction","sentryWrapped","wrappedArguments","addEventProcessor","markFunctionWrapped","getOwnPropertyDescriptor","configurable","injectReportDialog","script","async","dsnLike","dialogOptions","endpoint","encodedOptions","getReportDialogEndpoint","onLoad","injectionPoint","lastHref","instrumented","instrument","CONSOLE_LEVELS","originalConsoleMethod","triggerHandlers","instrumentConsole","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","listener","handlers_1","__sentry_instrumentation_handlers__","handlerForType","refCount","originalRemoveEventListener","handlers_2","instrumentDOM","xhrproto","originalOpen","xhrInfo","__sentry_xhr__","isString","__sentry_own_request__","onreadystatechangeHandler","status_code","endTimestamp","startTimestamp","original","readyStateArgs","originalSend","instrumentXHR","supportsNativeFetch","originalFetch","handlerData","fetchData","getFetchMethod","getFetchUrl","instrumentFetch","supportsHistory","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","history","instrumentHistory","_oldOnErrorHandler","msg","_oldOnUnhandledRejectionHandler","onunhandledrejection","addInstrumentationHandler","getFunctionName","fetchArgs","isInstanceOf","Request","debounceTimerID","lastCapturedEvent","globalListener","shouldSkipDOMEvent","shouldShortcircuitPreviousDebounce","Breadcrumbs","dom","getEventDescription","_consoleBreadcrumb","_innerDomBreadcrumb","keyAttrs","serializeAttribute","htmlTreeAsString","_domBreadcrumb","_xhrBreadcrumb","_fetchBreadcrumb","_historyBreadcrumb","severityFromString","safeJoin","parsedLoc","parseUrl","parsedFrom","parsedTo","relative","BrowserClient","getDsn","platform","addSentryBreadcrumb","originalFunctionToString","DEFAULT_IGNORE_ERRORS","InboundFilters","self_1","clientOptions","internalOptions","allowUrls","whitelistUrls","denyUrls","blacklistUrls","ignoreErrors","ignoreInternal","_mergeOptions","_isSentryError","oO","_getPossibleEventMessages","_isIgnoredError","_getEventFilterUrl","_isDeniedUrl","_isAllowedUrl","_shouldDropEvent","_getLastValidUrl","FunctionToString","DEFAULT_EVENT_TARGET","TryCatch","eventTarget","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","originalCallback","xmlHttpRequestProps","wrapOptions","originalFunction","eventName","handleEvent","wrappedEventHandler","originalEventHandler","GlobalHandlers","_installFunc","_installGlobalOnErrorHandler","_installGlobalOnUnhandledRejectionHandler","stackTraceLimit","installFunc","ERROR_TYPES_RE","_enhanceEventWithInitialFrame","_eventFromIncompleteOnError","addMechanismAndCapture","detail","ev","ev0","ev0s","ev0sf","getLocationHref","getHubAndAttachStacktrace","LinkedErrors","_limit","linkedErrors","_walkErrorTree","_handler","currentEvent","previousEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameMessageEvent","previousException","_getExceptionFromEvent","currentException","_isSameExceptionEvent","_previousEvent","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","UserAgent","referrer","Referer","CoreIntegrations","window_1","SENTRY_RELEASE","autoSessionTracking","clientClass","initialScope","initAndBind","startSessionOnHub","startSessionTracking","showReportDialog","lastEventId","forceLoad","internalWrap","startSession","SDK_NAME","windowIntegrations","_window","Integrations","INTEGRATIONS","BrowserIntegrations","angularPattern","Angular","_angular","angular","_module","moduleName","_getCurrentHub","$provide","decorator","_$exceptionHandlerDecorator","$delegate","cause","angularDocs","CaptureConsole","_levels","levels","setLevel","Debug","debugger","Ember","_Ember","oldOnError","testing","RSVP","ExtraErrorData","enhanceEventWithErrorData","errorData","_extractErrorData","normalizedErrorData","nativeKeys","extraErrorInfo","serializedError","Offline","maxStoredEvents","offlineEventStore","localForage","_sendEvents","onLine","_cacheEvent","_event","_enforceMaxEvents","_error","events","_index","_purgeEvents","removeItem","cacheKeys","_purgeEvent","types","ReportingObserver","supportsReportingObserver","buffered","reports","report","plainBody","crashId","reports_1_1","normalizeArray","allowAboveRoot","splitPathRe","splitPath","resolvedPath","resolvedAbsolute","basename","ext","RewriteFrames","_prefix","_iteratee","isWindowsFrame","startsWithSlash","_root","fromParts","toParts","samePartsLength","outputParts","iteratee","originalEvent","_processExceptionsEvent","_processStacktraceEvent","_processStacktrace","SessionTiming","_startTime","Transaction","_getTransaction","TRACING_GETTER","BROWSER_TRACING_GETTER","VUE_OP","HOOKS","activate","COMPONENT_NAME_REGEXP","ROOT_COMPONENT_NAME","ANONYMOUS_COMPONENT_NAME","Vue","_componentsCache","_applyTracingHooks","vm","$options","$_sentryPerfHook","_getComponentName","rootMount","spans","rootHandler","hook","timestampWithMs","_rootSpan","_finishRootSpan","$once","tracingIntegration","_tracingActivity","pushActivity","getTransaction","startChild","description","op","activeTransaction","getActiveTransaction","childHandler","shouldTrack","tracingOptions","trackComponents","finish","hooks","internalHooks","internalHook","attachProps","logErrors","tracing","_attachErrorHandler","_startTracing","$root","_componentTag","__file","_rootSpanTimer","popActivity","applyTracingHooks","mixin","beforeCreate","currentErrorHandler","errorHandler","propsData","lifecycleHook","util","elem","currentElem","out","sepLength","nextStr","_htmlElementAsString","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","fallbackGlobalObject","creator","objectToString","wat","isBuiltin","Event","isRegExp","isSyntheticEvent","PREFIX","originalConsole","wrappedLevels","originalWrappedFunc","__sentry_original__","makeLogger","enable","crypto","msCrypto","getRandomValues","Uint16Array","pad","fragment","getFirstException","firstException","newMechanism","currentMechanism","mergedData","__sentry_captured__","__SENTRY_BROWSER_BUNDLE__","dynamicRequire","mod","maxProperties","visit","ERROR","maxSize","encodeURI","utf8Length","memo","hasWeakSet","WeakSet","inner","memoBuilder","unmemoize","valueWithToJSON","stringified","_events","getPrototypeOf","stringifyValue","numAdded","visitable","convertToPlainObject","visitKey","visitValue","replacementFactory","getOwnProperties","event_1","serializeEventTarget","CustomEvent","extractedProps","maxLength","includedKeys","SeverityLevels","isSupportedSeverity","parsers","sortedParsers","skipFirst","sortedParsers_1_1","parser","stripSentryFramesAndReverse","localStack","firstFrameFunction","lastFrameFunction","defaultFunctionName","isMatchingPattern","Headers","Response","chrome","isChromePackagedApp","app","runtime","hasHistoryApi","pushState","replaceState","dateTimestampSource","nowSeconds","platformPerformance","getNodePerformance","timeOrigin","getBrowserPerformance","timestampSource","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","define","deps","modules","payloads","_require","parentId","lookup","packagedModule","normalizeModule","chunks","uri","packaged","exportAce","ace","OS","LINUX","MAC","WINDOWS","getOS","isMac","isLinux","_navigator","os","ua","appName","isWin","isIE","isOldIE","isGecko","isMozilla","isOpera","opera","isWebKit","isChrome","isEdge","isAIR","isAndroid","isChromeOS","isIOS","MSStream","isMobile","strictCSP","useragent","buildDom","txt","els","ch","cssText","getDocumentHead","getElementsByTagName","createElementNS","removeChildren","innerHTML","createFragment","createDocumentFragment","hasCssClass","addCssClass","removeCssClass","toggleCssClass","setCssClass","include","hasCssString","cssCache","insertPendingStyles","importCssString","useStrictCSP","importCssStylsheet","outer","noScrollbar","withScrollbar","setStyle","HAS_CSS_ANIMATION","HAS_CSS_TRANSFORMS","HI_DPI","tx","inherits","ctor","superCtor","super_","implement","oop","Keys","ret","MODIFIER_KEYS","KEY_MODS","FUNCTION_KEYS","PRINTABLE_KEYS","esc","del","mods","pow","keyCodeToString","keyCode","keyString","activeListenerOptions","pressedKeys","getListenerOptions","createComment","detectListenerOptionsSupport","EventListener","destroyer","$toDestroy","stopEvent","getButton","capture","releaseCaptureHandler","addMouseWheelListener","wheelDeltaX","wheelX","wheelY","wheelDeltaY","wheelDelta","deltaMode","DOM_DELTA_PIXEL","deltaX","deltaY","DOM_DELTA_LINE","DOM_DELTA_PAGE","HORIZONTAL_AXIS","addMultiMouseDownListener","timeouts","callbackName","clicks","eventNames","onMousedown","isNewClick","_clicks","getModifierHash","normalizeCommandKeys","hashId","getModifierState","altGr","keyLocation","timeStamp","resetPressedKeys","getModifierString","addCommandKeyListener","isOldGecko","lastKeyDownKeyCode","lastDefaultPrevented","postMessageId","nextTick","messageName","$idleBlocked","onIdle","$idleBlockId","blockIdle","nextFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","oRequestAnimationFrame","Range","startRow","startColumn","endRow","endColumn","isEqual","compare","compareRange","cmp","comparePoint","containsRange","intersects","isEnd","isStart","setStart","setEnd","inside","insideStart","insideEnd","isMultiLine","compareStart","compareEnd","compareInside","clipRows","firstRow","lastRow","fromPoints","extend","collapseRows","toScreenRange","screenPosStart","documentToScreenPosition","screenPosEnd","moveBy","comparePoints","stringReverse","stringRepeat","trimBeginRegexp","trimEndRegexp","stringTrimLeft","stringTrimRight","copyObject","copyArray","deepCopy","arrayToMap","createMap","arrayRemove","escapeRegExp","escapeHTML","getMatchOffsets","deferredCall","fcn","deferred","schedule","isPending","delayedCall","_self","$cancelT","lineMode","pasteCancelled","clipboard","BROKEN_SETDATA","USE_IE_MIME_TYPE","HAS_FOCUS_ARGS","MAX_LINE_LENGTH","KEYS","MODS","valueResetRegex","TextInput","copied","pasted","inComposition","sendingText","tempStyle","commandMode","ignoreFocusEvents","lastValue","lastSelectionStart","lastSelectionEnd","lastRestoreEnd","resetSelection","$focusScroll","preventScroll","isTransformed","ancestors","curOp","commandName","isUserAction","docChanged","selectionChanged","onCompositionEnd","selection","afterContextMenu","getRange","getLine","prevLine","nextLine","inputHandler","setInputHandler","getInputHandler","sendText","fromInput","onPaste","extendLeft","extendRight","restoreStart","restoreEnd","shouldReset","onTextInput","onInput","onCompositionUpdate","inputType","handleClipboardData","forceIEMime","clipboardData","mime","setData","getData","doCopy","isCut","getCopyText","onCut","onCopy","onCommandKey","isAllSelected","selectAll","$readOnly","cancelComposition","useTextareaForIME","markerRange","compositionStartOffset","off","closeTimeout","syncComposition","onContextMenuClose","$isMousePressed","$keepTextAreaAtCursor","$moveTextAreaToCursor","onCompositionStart","_signal","getSelectionRange","msGetInputContext","getInputContext","getElement","setCommandMode","setReadOnly","setCopyWithEmptySelection","_emit","domEvent","moveToMouse","bringToFront","characterWidth","maxTop","textInput","typingResetTimeout","typing","detectArrowKeys","$mouseHandler","isMousePressed","home","commands","findKeyCommand","addIosSelectionHandler","$setUserAgentForTests","_isMobile","_isIOS","DefaultHandlers","mouseHandler","$clickSelection","editor","setDefaultHandler","onDoubleClick","onTripleClick","onQuadClick","onMouseWheel","selectByLines","extendSelectionBy","selectByWords","calcRangeOrientation","inSelection","getDocumentPosition","mousedownEvent","moveToPosition","$focusTimeout","inMultiSelectMode","captureMouse","startSelect","waitForClickSelection","screenToTextCoordinates","getShiftKey","selectToPosition","setCapture","orientedRange","setSelectionAnchor","scrollCursorIntoView","unitName","cmpStart","cmpEnd","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","unsetStyle","releaseCapture","focusWait","ax","ay","bx","getBracketRange","getWordRange","getLineRange","getAccelKey","$lastScroll","vx","vy","allowed","prevScroll","dt","canScroll","isScrollableBy","speed","scrollBy","isOpen","$element","$parentNode","$init","setText","setHtml","setClassName","hide","getHeight","GutterTooltip","windowWidth","windowHeight","GutterHandler","tooltipTimeout","tooltipAnnotation","gutter","$gutterLayer","hideTooltip","moveTooltip","getRegion","selectTo","srcElement","$tooltipFollowsMouse","annotation","$annotations","getLength","screenRow","pixelToScreenCoordinates","$pos","documentToScreenRow","showTooltip","$gutter","MouseEvent","$inSelection","propagationStopped","selectionRange","DragdropHandler","dragImage","dragSelectionMarker","timerId","dragCursor","dragOperation","isInternal","autoScrollStartTime","cursorMovedTime","cursorPointOnCaretMoved","mouseTarget","onDragInterval","prevCursor","vMovement","hMovement","moveCursorToPosition","calcDistance","layerConfig","editorRect","nearestXOffset","nearestYOffset","scrollCursor","vScroll","hScroll","autoScroll","addDragMarker","toOrientedRange","addMarker","getSelectionStyle","clearSelection","$cursorLayer","setBlinking","clearDragMarker","removeMarker","fromOrientedRange","$resetCursorStyle","onDragStart","cancelDrag","draggable","dataTransfer","effectAllowed","getReadOnly","setDragImage","clearData","getTextRange","onDragEnd","dropEffect","setCursorStyle","onDragEnter","canAccept","getDropEffect","onDragOver","onMouseMoveTimer","onDrop","moveText","dropData","copyAllowed","copyModifierState","dragWait","getDragDelay","startDrag","dragWaitEnd","dragReadyEnd","cursorStyle","onMouseDrag","dragDrop","$dragEnabled","unselectable","addTouchListeners","touchStartT","lastT","longTouchTimer","animationTimer","pressed","contextMenu","animationSteps","clickCount","vX","vY","createContextMenu","hasUndo","getUndoManager","replaceChild","class","updateMenu","readText","writeText","ontouchstart","ontouchend","onclick","showContextMenu","pagePos","textToScreenCoordinates","leftOffset","pageY","hideContextMenu","handleLongTap","selectWord","touchObj","setRange","switchToSelectionMode","cursorPos","getPixelPosition","anchorPos","weightedDistance","diff1","diff2","oldScrollTop","getScrollTop","responseText","loadScript","isAbort","qualifyURL","EventEmitter","_dispatchEvent","_eventRegistry","_defaultHandlers","listeners","defaultHandler","once","newCallback","_disabled_","old","removeDefaultHandler","capturing","removeAllListeners","optionsProvider","optList","setOption","optionNames","getOption","opt","forwardTo","handlesSet","reportError","AppConfig","$defaultOptions","defineOptions","initialValue","resetOptions","setDefaultValue","setDefaultValues","optionHash","net","workerPath","modePath","themePath","basePath","suffix","$moduleUrls","loadWorkerFromBlob","sharedPopups","$modes","moduleUrl","sep","setModuleUrl","subst","$loading","loadModule","moduleType","afterLoad","reportErrorIfPathIsNotConfigured","scriptOptions","scriptUrl","currentScript","_currentScript","m1","DefaultGutterHandler","MouseHandler","focusEditor","getMouseEventTarget","onMouseEvent","scrollBarV","scrollBarH","gutterEl","$dragDelay","mousemove","$scrollSpeed","mouseMoveHandler","releaseMouse","$mouseMoved","onCaptureEnd","onOperationEnd","onCaptureInterval","$onCaptureMouseMove","endOperation","startOperation","cancelContextMenu","scrollSpeed","dragDelay","dragEnabled","focusTimeout","tooltipFollowsMouse","FoldHandler","fold","getFoldAt","removeFold","expandFold","getUseWrapMode","foldWidgets","onFoldWidgetClick","getParentFoldRangeData","firstRange","addFold","keyUtil","KeyBinding","$editor","$data","$handlers","kb","removeKeyboardHandler","$defaultHandler","addKeyboardHandler","setKeyboardHandler","handleKeyboard","getKeyboardHandler","getStatusText","$callKeyboardHandlers","toExecute","passEvent","hiLevel","lastArabic","hasUBAT_B","hasUBAT_S","impTab_LTR","impTab_RTL","ET","BN","UnicodeTBL00","UnicodeTBL20","_invertLevel","lev","_array","lo","hi","_getCharClass","chars","ix","wType","nType","cType","rtlCandidate","_getCharacterType","uc","L","R","EN","ON_R","AN","R_H","B","RLE","DOT","doBidiReorder","textCharTypes","logicalFromVisual","bidiLevels","charTypes","impTab","newClass","newLevel","condPos","_computeLevels","hasBidiCharacters","getVisualFromLogicalIdx","logIdx","rowMap","bidiUtil","bidiRE","BidiHandler","bidiMap","currentRow","charWidths","EOL","showInvisibles","isRtlDir","$isRtl","wrapIndent","EOF","contentWidth","fontMetrics","rtlLineOffset","wrapOffset","isMoveLeftOperation","seenBidi","isBidiRow","docRow","splitIndex","updateRowLine","updateBidiMap","getDocumentRow","rowCache","$screenRowCache","$getRowCacheIndex","$docRowCache","getSplitIndex","currentIndex","prevIndex","endOfLine","$useWrapMode","splits","$wrapData","isFullWidth","getScreenTabSize","$main","markAsDirty","updateCharacterWidths","$characterSize","bidiCharWidth","$measureCharWidth","setShowInvisibles","setEolChar","eolChar","setContentWidth","isRtlLine","setRtlDirection","getCursorPosition","getSelectionAnchor","$bidiHandler","removeInLine","getPosLeft","col","leftBoundary","logicalIdx","getOverwrite","visualIdx","getSelections","startCol","endCol","selections","selColMin","selColMax","isSelected","isSelectedPrev","visIdx","offsetToCol","posX","charWidth","Selection","getDocument","lead","createAnchor","$silent","$cursorChanged","$isEmpty","$keepDesiredColumnOnChange","$desiredColumn","$anchorChanged","getCursor","getPosition","getSelectionLead","isBackwards","$setSelection","MAX_VALUE","anchorRow","anchorColumn","cursorRow","cursorColumn","wasEmpty","wasMultiselect","$moveSelection","mover","moveCursorTo","moveTo","selectUp","moveCursorUp","selectDown","moveCursorDown","selectRight","moveCursorRight","selectLeft","moveCursorLeft","selectLineStart","moveCursorLineStart","selectLineEnd","moveCursorLineEnd","selectFileEnd","moveCursorFileEnd","selectFileStart","moveCursorFileStart","selectWordRight","moveCursorWordRight","selectWordLeft","moveCursorWordLeft","selectAWord","getAWordRange","excludeLastChar","rowEnd","rowStart","foldLine","getFoldLine","selectLine","moveCursorBy","wouldMoveIntoSoftTab","isTabStop","getTabSize","getNavigateWithinSoftTabs","firstColumnPosition","screenToDocumentPosition","leadingSpace","getDisplayLine","$useEmacsStyleLineStart","lineEnd","getDocumentLastRowColumnPosition","textEnd","moveCursorLongWordRight","rightOfCursor","nonTokenRe","tokenRe","moveCursorLongWordLeft","getFoldStringAt","leftOfCursor","$shortWordEndIndex","whitespaceRe","moveCursorShortWordRight","moveCursorShortWordLeft","$selectLongWords","screenPos","lineWidgets","widget","rowsAbove","rowCount","docPos","keepDesiredColumn","moveCursorToScreen","desiredColumn","getRangeOfMovements","rangeCount","ranges","r1","fromJSON","rangeList","toSingleRange","addRange","MAX_TOKEN_COUNT","Tokenizer","regExps","matchMappings","ruleRegExps","matchTotal","mapping","defaultToken","flag","splitterRurles","caseInsensitive","regex","adjustedregex","matchcount","groupCount","tokenArray","onMatch","$arrayTokens","$applyToken","digit","removeCapturingGroups","splitRegex","createSplitterRegexp","$setMaxTokenCount","tokens","inChClass","lastCapture","parenOpen","parenClose","getLineTokens","startState","matchAttempts","skipped","consumeLineEnd","TextHighlightRules","$rules","nextState","embedRules","HighlightRules","escapeRules","$embeds","getEmbeds","popState","normalizeRules","processed","toInsert","stateName","includeName","noEscape","keywordMap","createKeywordMapper","splitChar","keywords","$keywordList","getKeywords","$keywords","Behaviour","$behaviours","addBehaviours","behaviours","getBehaviours","TokenIterator","initialRow","initialColumn","$session","$row","$rowTokens","getTokens","getTokenAt","$tokenIndex","stepBackward","stepForward","getCurrentToken","getCurrentTokenRow","getCurrentTokenColumn","rowTokens","tokenIndex","getCurrentTokenPosition","getCurrentTokenRange","SAFE_INSERT_IN_TOKENS","SAFE_INSERT_BEFORE_TOKENS","contextCache","defaultQuotes","initContext","multiSelect","autoInsertedBrackets","autoInsertedRow","autoInsertedLineEnd","maybeInsertedBrackets","maybeInsertedRow","maybeInsertedLineStart","maybeInsertedLineEnd","getWrapped","opening","closing","rowDiff","CstyleBehaviour","getWrapBehavioursEnabled","isSaneInsertion","braces","recordAutoInsert","recordMaybeInsert","$findOpeningBracket","isAutoInsertedClosing","popAutoInsertedClosing","isMaybeInsertedClosing","clearMaybeInsertedClosing","openBracePos","findMatchingBracket","next_indent","$getIndent","getTabString","quotes","$mode","$quotes","lineCommentStart","quote","leftChar","rightChar","rightToken","pair","stringBefore","stringAfter","wordRe","isWordBefore","isWordAfter","charBefore","$matchTokenType","iterator2","bracket","wordChars","unicode","Mode","$defaultBehaviour","getTokenizer","$tokenizer","$highlightRules","$highlightRuleConfig","blockComment","toggleCommentLines","ignoreBlankLines","shouldRemove","minIndent","insertAtTabStop","regexpStart","getUseSoftTabs","uncomment","shouldInsertSpace","commentWithSpace","insertInLine","testRemove","after","spaces","lineCommentEnd","regexpEnd","fun","minEmptyLength","toggleBlockComment","colDiff","initialRange","startRange","endRange","getNextLineIndent","checkOutdent","autoOutdent","createWorker","createModeDelegates","$id","delegations","functionName","$delegator","transformAction","param","$behaviour","completionKeywords","ruleItr","aLength","$createKeywordList","getCompletions","score","applyDelta","docLines","doNotValidate","Anchor","$onChange","$pointsInOrder","point1","point2","equalPointsInOrder","bColIsAfter","$clipPositionToDocument","$insertRight","point","moveIfEqual","deltaIsInsert","deltaRowShift","deltaColShift","deltaStart","deltaEnd","$getTransformedPoint","noClip","Document","textOrLines","$lines","insertMergedLines","getAllLines","getNewLineCharacter","$split","$detectNewLine","$autoNewLine","$newLineMode","setNewLineMode","newLineMode","getNewLineMode","isNewLine","getLines","getLinesForRange","insertLines","insertFullLines","removeLines","removeFullLines","insertNewLine","clippedPos","clonePos","$clipPosition","deleteFirstNewLine","deleteLastNewLine","deletedLines","removeNewLine","applyDeltas","deltas","revertDeltas","revertDelta","isInsert","$splitAndapplyLargeDelta","$safeApplyDelta","docLength","MAX","chunk","indexToPosition","newlineLength","positionToIndex","BackgroundTokenizer","tokenizer","running","currentLine","$worker","workerStart","endLine","startLine","processedLines","$tokenizeRow","fireUpdateEvent","setTokenizer","setDocument","scheduleStart","$updateOnChange","getState","SearchHighlight","clazz","setRegexp","MAX_RANGES","markerLayer","drawSingleLineMarker","FoldLine","foldData","folds","setFoldLine","shiftRow","sameRow","containsRow","walk","lastEnd","isNewRow","getNextFoldTo","kind","addRemoveChars","foldBefore","newFoldLine","foldLineNext","idxToPosition","lastFoldEndColumn","RangeList","$bias","pointIndex","excludeEdges","startIndex","addList","substractPoint","containsPoint","rangeAtPoint","clipped","removeAll","lineDif","Fold","subFolds","consumePoint","restorePoint","subFold","collapseChildren","addSubFold","afterStart","firstConsumed","consumedFolds","restoreRange","Folding","getFoldsInRange","foldLines","$foldData","foundFolds","getFoldsInRangeList","getAllFolds","lastFold","startFoldLine","getNextFoldLine","getFoldedRowCount","$addFoldLine","$clipRangeToDocument","startFold","endFold","removeFolds","$updateWrapData","$updateRowLengthCache","$modified","addFolds","$updating","cloneFolds","foldAll","expandFolds","unfold","expandInner","outermostFolds","isRowFolded","startFoldRow","getRowFoldEnd","getRowFoldStart","getFoldDisplayLine","textLine","lastColumn","$cloneFoldData","fd","toggleFold","tryToUnfold","bracketPos","getCommentFoldRange","getFoldWidget","getFoldWidgetRange","foldToLevel","foldAllComments","$foldStyles","$foldStyle","setFoldStyle","$foldMode","$setFolding","foldMode","$updateFoldWidgets","$tokenizerUpdateFoldWidgets","updateFoldWidgets","tokenizerUpdateFoldWidgets","ignoreCurrent","fw","siblings","$toggleFoldWidget","toggleFoldWidget","toggleParent","BracketMatch","chr","charBeforeCursor","$findClosingBracket","getMatchingBracketRanges","$brackets","typeRe","openBracket","valueIndex","closingBracket","valueLength","TextMode","EditSession","$breakpoints","$decorations","$frontMarkers","$backMarkers","$markerId","$undoSelect","$uid","onChangeFold","bgTokenizer","resetCaches","$resetRowCache","cacheArray","low","mid","$rowLengthCache","removedFolds","$updateInternalDataOnChange","$fromUndo","$undoManager","mergeUndoDeltas","$informUndoManager","setUndoManager","undoManager","addSession","$syncInformUndoManager","markUndoGroup","$defaultUndoManager","undo","redo","hasRedo","addSelection","startNewGroup","setUseSoftTabs","$useSoftTabs","$indentWithTabs","setTabSize","$tabSize","setNavigateWithinSoftTabs","navigateWithinSoftTabs","$navigateWithinSoftTabs","$overwrite","setOverwrite","overwrite","toggleOverwrite","addGutterDecoration","removeGutterDecoration","getBreakpoints","setBreakpoints","clearBreakpoints","setBreakpoint","clearBreakpoint","inFront","addDynamicMarker","markerId","getMarkers","highlight","$searchHighlight","highlightLines","setAnnotations","annotations","getAnnotations","clearAnnotations","inToken","wordRange","setUseWorker","useWorker","getUseWorker","$useWorker","onReloadTokenizer","$modeId","$onChangeMode","$isPlaceholder","oldMode","$stopWorker","$startWorker","attachToSession","wrapMethod","$wrapMethod","foldingRules","terminate","getMode","$scrollTop","setScrollTop","$scrollLeft","setScrollLeft","getScrollLeft","getScreenWidth","$computeWidth","getLineWidgetMaxWidth","screenWidth","lineWidgetsWidth","lineWidgetWidth","$wrapLimit","longestScreenLine","foldIndex","foldStart","$getStringScreenWidth","undoChanges","dontSelect","selectionBefore","$getUndoSelection","redoChanges","selectionAfter","setUndoSelect","isUndo","fromRange","toPosition","toRange","collDiff","oldStart","newStart","indentRows","indentString","outdentRows","rowRange","deleteRange","$moveLines","$clipRowToDocument","moveLinesUp","moveLinesDown","duplicateLines","$clipColumnToRow","$wrapLimitRange","setUseWrapMode","useWrapMode","setWrapLimitRange","adjustWrapLimit","desiredLimit","$printMargin","wrapLimit","$constrainWrapLimit","getWrapLimit","setWrapLimit","getWrapLimitRange","foldLineBefore","wrapData","walkTokens","$getDisplayTokens","PLACEHOLDER_START","PLACEHOLDER_BODY","$computeWrapSplits","displayLength","lastSplit","lastDocSplit","isCode","$wrapAsCode","indentedSoftWrap","$indentedSoftWrap","maxIndent","addSplit","indentation","getWrapIndent","minSplit","maxScreenColumn","screenColumn","getRowLength","getRowLineCount","getRowWrapIndent","getScreenLastRowColumn","documentToScreenColumn","getDocumentLastRowColumn","docColumn","getRowSplitData","screenToDocumentRow","screenToDocumentColumn","rowLength","doCache","maxRow","foldStartRow","wrapRow","screenRowOffset","getScreenLength","screenRows","$getWidgetScreenLength","$setFontMetrics","fm","$enableVarChar","getCharacterWidth","$wrap","firstLineNumber","useSoftTabs","foldStyle","Search","$matchIterator","sr","sc","er","ec","skipCurrent","findAll","needle","$assembleRegExp","$isMultiLine","prevRange","preserveCase","$disableFakeMultiline","wholeWord","wordBoundary","addWordBoundary","caseSensitive","$assembleMultilineRegExp","backwards","forEachInLine","HashHandler","commandKeyBinding","addCommands","$singleCommand","MultiHashHandler","bindKey","isDefault","addCommand","removeCommand","_buildKeyHash","keepCommand","ckb","keyId","cmdGroup","keyPart","chain","binding","parseKeys","_addCommandToBinding","removeCommands","bindKeys","keyList","$keyChain","CommandManager","byName","$checkCommandState","isAvailable","returnValue","toggleRecording","$inReplay","recording","macro","$addCommandToMacro","oldMacro","replay","trimMacro","mac","showSettingsMenu","showErrorMarker","scrollIntoView","centerSelection","gotoLine","prompt","$type","multiSelectAction","getAllRanges","findNext","findPrevious","aceCommandGroup","navigateFileStart","navigateUp","times","navigateFileEnd","navigateDown","navigateWordLeft","navigateLineStart","navigateLeft","navigateWordRight","navigateLineEnd","navigateRight","selectPageDown","scrollPageDown","gotoPageDown","selectPageUp","scrollPageUp","gotoPageUp","jumpToMatching","$copyWithEmptySelection","$handlePaste","duplicateSelection","sortLines","modifyNumber","copyLinesUp","copyLinesDown","removeToLineStart","removeToLineEnd","removeWordLeft","removeWordRight","blockOutdent","blockIndent","splitLine","transposeLetters","transposeSelections","autoIndent","firstLineEndCol","selectedCount","insertLine","curLine","newRanges","exitMultiSelectMode","defaultCommands","Editor","getContainerElement","getTextAreaContainer","textarea","keyBinding","$search","$historyTracker","$initOperationListeners","_$emitInputEvent","$opResetTimer","$lastSel","prevOp","commandEvent","previousCommand","scrollSelectionIntoView","animateScrolling","sel","$mergeableCommands","$mergeUndoDeltas","mergeableCommands","shouldMerge","mergeNextCommand","sequenceStartTime","keyboardHandler","$keybindingId","oldSession","$onDocumentChange","$onTokenizerUpdate","$onChangeTabSize","$onChangeWrapLimit","$onChangeWrapMode","$onChangeFold","$onChangeFrontMarker","$onChangeBackMarker","$onChangeBreakpoint","$onChangeAnnotation","$onCursorChange","$onScrollTopChange","$onScrollLeftChange","$onSelectionChange","onDocumentChange","onChangeMode","onTokenizerUpdate","onChangeTabSize","onChangeWrapLimit","onChangeWrapMode","onChangeFrontMarker","onChangeBackMarker","onChangeBreakpoint","onChangeAnnotation","onCursorChange","onScrollTopChange","onScrollLeftChange","onSelectionChange","updateFull","oldEditor","setTheme","getTheme","getFontSize","setFontSize","$highlightBrackets","$highlightPending","$bracketHighlight","markerIds","getMatching","markerType","$highlightTags","$highlightTagPending","$tagHighlight","currentTag","prevToken","stepCount","tmpToken","sbm","$isFocused","showCursor","visualizeFocus","hideCursor","visualizeBlur","$cursorChange","updateCursor","$updateHighlightActiveLine","updateLines","scrollToY","scrollToX","$highlightActiveLine","$selectionStyle","$selectionColorConflict","$maxLines","$minLines","$highlightLineMarker","$selectionMarker","$highlightSelectedWord","$getSelectionHighLightRegexp","wordWithBoundary","updateFrontMarkers","updateBackMarkers","updateBreakpoints","updateText","getSelectedText","copyLine","inVirtualSelectionMode","isFullLine","getBehavioursEnabled","lineState","shouldOutdent","$enableAutoIndent","lineIndent","selectedRange","currIndent","prevLineState","composition","applyComposition","forEachSelection","setScrollSpeed","getScrollSpeed","setDragDelay","setSelectionStyle","setHighlightActiveLine","shouldHighlight","getHighlightActiveLine","setHighlightGutterLine","getHighlightGutterLine","setHighlightSelectedWord","getHighlightSelectedWord","setAnimatedScroll","shouldAnimate","getAnimatedScroll","getShowInvisibles","setDisplayIndentGuides","getDisplayIndentGuides","setShowPrintMargin","showPrintMargin","getShowPrintMargin","setPrintMarginColumn","getPrintMarginColumn","setBehavioursEnabled","setWrapBehavioursEnabled","setShowFoldWidgets","getShowFoldWidgets","setFadeFoldWidgets","fade","getFadeFoldWidgets","new_range","swap","originalRange","$getSelectedRows","getNumberAt","_numberRx","amount","charRange","isFinite","nr","fp","decimals","nnr","replaceRange","toggleWord","$toggleWordPairs","currWordStart","wordParts","curLength","itLength","that","wordPairs","negate","firstCondition","endPoint","moved","totalDiff","rangeIndex","subRows","compositionState","showComposition","setCompositionText","hideComposition","getFirstVisibleRow","getLastVisibleRow","isRowVisible","isRowFullyVisible","getFirstFullyVisibleRow","getLastFullyVisibleRow","$getVisibleRowCount","getScrollBottomRow","getScrollTopRow","$moveByPage","scrollToRow","scrollToLine","alignCursor","getCursorPositionScreen","expand","matchType","bracketType","found","brackets","lineNumber","navigateTo","replaced","$tryReplace","replaceAll","getLastSearchOptions","newRange","revealRange","setAutoScrollEditorIntoView","shouldScroll","$scrollAnchor","scrollAnchor","onChangeSelection","onBeforeRender","onAfterRender","searchBox","$pixelPos","$cursorStyle","cursorLayer","setSmoothBlinking","isBlinking","selectionStyle","highlightActiveLine","highlightSelectedWord","copyWithEmptySelection","behavioursEnabled","wrapBehavioursEnabled","enableAutoIndent","autoScrollEditorIntoView","showLineNumbers","setShowLineNumbers","$loop","CHANGE_GUTTER","$relativeLineNumbers","relativeNumberRenderer","relativeLineNumbers","$showLineNumbers","$updatePlaceholder","$composition","placeholderNode","$placeholder","hScrollBarAlwaysVisible","vScrollBarAlwaysVisible","highlightGutterLine","animatedScroll","printMarginColumn","printMargin","fadeFoldWidgets","showFoldWidgets","displayIndentGuides","showGutter","maxLines","minLines","scrollPastEnd","fixedWidthGutter","hasCssTransforms","maxPixelHeight","getText","lastLineNumber","$renderer","UndoManager","$maxRev","allowMerge","$lastDelta","$keepRedoStack","$redoStack","lastDeltas","$undoStack","$rev","rev","markIgnored","ignore","getRevision","getDeltas","getChangedRanges","getChangedLines","deltaSet","swapped","swapGroups","rearrangeUndoStack","$redoStackBaseRev","undoSelectionRange","$syncRev","redoStack","deltaSets","moveDeltasByOne","rebaseRedoStack","redoSelectionRange","nextDelta","canUndo","canRedo","bookmark","isAtBookmark","isClean","markClean","$prettyPrint","stringifyDelta","stringifyRange","d1","d2","i1","i2","ds1","ds2","xform","c1","splitDelta","shiftPos","rowsBefore","otherLines","cloneDelta","xformed","Lines","canvasHeight","cells","cellCache","$offsetCoefficient","moveContainer","firstRowScreen","pageChanged","oldConfig","newConfig","computeLineTop","screenTop","screenPage","computeLineHeight","$cacheCell","cell","insertAdjacentElement","createCell","initElement","Gutter","parentEl","$showFoldWidgets","gutterWidth","$updateAnnotations","onCreateCell","textNode","foldWidget","rowInfo","annoText","gutterOffset","oldLastRow","$updateCursorRow","$renderCell","$updateGutterWidth","gutterRenderer","$firstLineNumber","lastLineText","$fixedWidth","$padding","$computePadding","$highlightGutterLine","$cursorRow","updateLineHighlight","$cursorCell","scrollLines","$renderLines","decorations","foldHeight","getShowLineNumbers","Marker","setPadding","setMarkers","markers","elt","$getTop","drawFullLineMarker","drawScreenLineMarker","drawTextMarker","drawMultiLineMarker","childElementCount","stringBuilder","extraStyle","curr","lineRange","range1","drawBidiSingleLineMarker","radiusClass","extraLength","Text","$updateEolChar","EOF_CHAR","EOL_CHAR_LF","EOL_CHAR_CRLF","EOL_CHAR","TAB_CHAR","SPACE_CHAR","getLineHeight","$fontMetrics","measure","$pollSizeChanges","checkForSizeChanges","$pollSizeChangesTimer","$computeTabString","showSpaces","showTabs","showEOL","$tabStrings","tabStr","$indentGuideRe","spaceClass","spaceContent","tabClass","tabContent","lineElements","lineElementsIdx","heightChanged","lineElement","$renderLine","$renderLinesFragment","lineEl","$useLineGroups","$textToken","$renderToken","valueFragment","simpleSpace","controlCharacter","cjkSpace","cjk","cloneNode","com","renderIndentGuide","$createLineElement","$renderWrappedLine","splitChars","$renderOverflowMessage","$renderSimpleLine","overflowEl","$getFoldLineTokens","lastLineEl","invisibleEl","renderTokens","addTokens","Cursor","isVisible","blinkInterval","smoothBlinking","cursors","addCursor","$updateCursors","$updateOpacity","$startCssAnimation","$isAnimating","$stopCssAnimation","blinking","restartTimer","setBlinkInterval","removeCursor","intervalId","$isSmoothBlinking","blink","onScreen","isCursorInView","pixelPos","$selectionMarkers","cursorIndex","drawCursor","$setOverwrite","MAX_SCROLL_H","ScrollBar","classSuffix","setVisible","skipEvent","coeff","VScrollBar","$scrollbarWidth","$minWidth","setHeight","setInnerHeight","setScrollHeight","HScrollBar","setWidth","setInnerWidth","setScrollWidth","ScrollBarV","ScrollBarH","RenderLoop","onRender","changes","$recursionLimit","_flush","change","CHAR_COUNT","USE_OBSERVER","FontMetrics","$setMeasureNodeStyles","$measureNode","$addObserver","isRoot","$measureSizes","boldSize","charSizes","allowBoldFonts","$observer","setPolling","$getZoom","getZoom","$initTransformMeasureNodes","transformCoordinates","clientPos","elPos","mul","solve","l1","l2","det","sub","m2","ut","GutterLayer","MarkerLayer","TextLayer","CursorLayer","editorCss","HIDE_TEXTAREA","VirtualRenderer","onGutterResize","$markerBack","textLayer","$textLayer","canvas","$markerFront","$horizScroll","$vScroll","$scrollAnimation","scrollMargin","updateCharacterSize","$size","scrollerHeight","scrollerWidth","$dirty","$renderChanges","CHANGE_FULL","CHANGE_CURSOR","CHANGE_MARKER","CHANGE_SCROLL","CHANGE_LINES","CHANGE_TEXT","CHANGE_SIZE","CHANGE_MARKER_BACK","CHANGE_MARKER_FRONT","CHANGE_H_SCROLL","$allowBoldFonts","$updatePrintMargin","onChangeNewLineMode","$changedLines","updateFontSize","$changes","$updateSizeAsync","resizing","$updateCachedSize","$extraHeight","oldSize","$showGutter","$computeLayerConfig","availableWidth","$showPrintMargin","$printMarginColumn","$animatedScroll","getShowGutter","setShowGutter","$printMarginEl","containerEl","posTop","posLeft","setScrollMargin","setMargin","getHScrollBarAlwaysVisible","$hScrollBarAlwaysVisible","setHScrollBarAlwaysVisible","alwaysVisible","getVScrollBarAlwaysVisible","$vScrollBarAlwaysVisible","setVScrollBarAlwaysVisible","$updateScrollBarV","$scrollPastEnd","$updateScrollBarH","$frozen","freeze","unfreeze","st","$updateLines","$autosize","desiredHeight","$maxPixelHeight","$gutterWidth","hideScrollbars","longestLine","$getLongestLine","horizScroll","hScrollChanged","vScrollBefore","vScrollChanged","firstRowHeight","lineCount","charCount","$viewMargin","topMargin","bottomMargin","alignment","STEPS","$calcSteps","fromValue","toValue","x_min","initialScroll","oldSteps","$timer","scrollTo","canvasPos","$hasCssTransforms","$blockCursor","$useTextareaForIME","addToken","removeExtraToken","newToken","$themeId","cssClass","$theme","isDark","setMouseCursor","attachToShadowRoot","workerUrl","Worker","Blob","blobBuilder","BlobBuilder","WebKitBlobBuilder","MozBlobBuilder","getBlob","$workerBlob","blobURL","URL","webkitURL","createObjectURL","WorkerClient","worker","$createWorkerFromOldConfig","$sendDeltaQueue","changeListener","onMessage","callbackId","callbacks","onmessage","topLevelNamespaces","classname","importScripts","nameToUrl","toUrl","normalizePath","$normalizePath","tlns","deltaQueue","$doc","attachToDocument","q","UIWorkerClient","emitSync","sender","messageBuffer","workerClient","processNext","setEmitSync","Main","PlaceHolder","others","mainClass","othersClass","$onUpdate","$others","undoStack","$undostack","$undoStackDepth","showOtherMarkers","othersActive","hideOtherMarkers","updateAnchors","lengthDiff","inMainRange","distanceFromStart","newPos","otherPos","updateMarkers","updateMarker","undosRequired","isSamePoint","ctrl","accel","selectionMode","isMultiSelect","mouseX","mouseY","screenAnchor","screenCursor","$enableJumpToDef","$blockSelectEnabled","addSelectionMarker","oldRange","removeSelectionMarker","tmpSel","rectSel","blockSelect","newCursor","removeSelectionMarkers","rectangularRangeBlock","updateSelectionMarkers","onSelectionInterval","selectMoreLines","selectMore","joinSelections","splitIntoLines","alignCursors","multiSelectCommands","getSelectionMarkers","$blockChangeEvents","$onAddRange","$onRemoveRange","mergeOverlappingRanges","lastRange","$initRangeList","toggleBlockSelection","includeEmptyLines","xBackwards","startOffsetX","endOffsetX","docEnd","yBackwards","MultiSelect","$multiselectOnSessionChange","$onMultiSelect","$onSingleSelect","onSessionChange","$checkMultiselectChange","altCursor","altDown","addAltCursorListeners","selectionMarkerCount","markerList","$onMultiSelectExec","inVirtualMode","keepOrder","$byLines","cmdResult","buf","skip","screenLead","toRemove","stopAtFirst","sameRowRanges","maxCol","minSpace","spaceOffsets","spaceOffset","lr","guessRange","$reAlignText","forceLeft","startW","textW","endW","isLeftAligned","isRightAligned","alignLeft","enableMultiselect","enableBlockSelect","FoldMode","foldingStartMarker","foldingStopMarker","indentationBlock","startLevel","openingBracketBlock","closingBracketBlock","LineWidgets","widgetManager","updateOnChange","renderWidgets","measureWidgets","_changedWidgets","$onChangeEditor","updateOnFold","_inDocument","removeLineWidget","$updateRows","noWidgets","$oldWidget","$registerLineWidget","addLineWidget","coverGutter","pixelHeight","$fold","onWidgetChanged","w1","getWidgetsAtRow","changedWidgets","fixedWidth","coverLine","oldWidget","gutterAnno","comparator","binarySearch","findAnnotations","onmousedown","edit","oldNode","createEditSession","Split","BELOW","BESIDE","$container","$splits","$editorCSS","$editors","$orientation","setSplits","$cEditor","$createEditor","$fontSize","getSplits","getEditor","getCurrentEditor","keybinding","$cloneSession","isUsed","setOrientation","editorWidth","editorHeight","toVal","deselectCurrent","clipboardToIE11Formatting","reselectPrevious","createRange","webkitUserSelect","MozUserSelect","msUserSelect","selectNodeContents","copyKey","removeRange","removeAllRanges","diff_match_patch","Diff_Timeout","Diff_EditCost","Match_Threshold","Match_Distance","Patch_DeleteThreshold","Patch_Margin","Match_MaxBits","DIFF_DELETE","Diff","diff_main","text1","text2","opt_checklines","opt_deadline","deadline","checklines","commonlength","diff_commonPrefix","commonprefix","diff_commonSuffix","commonsuffix","diffs","diff_compute_","diff_cleanupMerge","longtext","shorttext","hm","diff_halfMatch_","text1_a","text1_b","text2_a","text2_b","mid_common","diffs_a","diffs_b","diff_lineMode_","diff_bisect_","diff_linesToChars_","chars1","chars2","linearray","lineArray","diff_charsToLines_","diff_cleanupSemantic","pointer","count_delete","count_insert","text_delete","text_insert","subDiff","text1_length","text2_length","max_d","v_offset","v_length","v1","v2","front","k1start","k1end","k2start","k2end","k1","k1_offset","y1","x1","k2_offset","x2","diff_bisectSplit_","k2","y2","text1a","text2a","text1b","text2b","diffsb","lineHash","diff_linesToCharsMunge_","lineStart","lineArrayLength","pointermin","pointermax","pointermid","pointerstart","pointerend","diff_commonOverlap_","text_length","best","dmp","diff_halfMatchI_","best_longtext_a","best_longtext_b","best_shorttext_a","best_shorttext_b","best_common","prefixLength","suffixLength","hm1","hm2","equalities","equalitiesLength","lastEquality","length_insertions1","length_deletions1","length_insertions2","length_deletions2","diff_cleanupSemanticLossless","deletion","insertion","overlap_length1","overlap_length2","diff_cleanupSemanticScore_","one","two","char1","char2","nonAlphaNumeric1","nonAlphaNumericRegex_","nonAlphaNumeric2","whitespace1","whitespaceRegex_","whitespace2","lineBreak1","linebreakRegex_","lineBreak2","blankLine1","blanklineEndRegex_","blankLine2","blanklineStartRegex_","equality1","equality2","commonOffset","commonString","bestEquality1","bestEdit","bestEquality2","bestScore","diff_cleanupEfficiency","pre_ins","pre_del","post_ins","post_del","diff_xIndex","loc","last_chars1","last_chars2","diff_prettyHtml","pattern_amp","pattern_lt","pattern_gt","pattern_para","diff_text1","diff_text2","diff_levenshtein","levenshtein","insertions","deletions","diff_toDelta","diff_fromDelta","diffsLength","decodeURI","match_main","match_bitap_","match_alphabet_","match_bitapScore_","accuracy","proximity","score_threshold","best_loc","bin_min","bin_mid","matchmask","last_rd","bin_max","rd","charMatch","patch_addContext_","start2","length1","start1","length2","patch_make","opt_b","opt_c","patches","patch_obj","patchDiffLength","char_count1","char_count2","prepatch_text","postpatch_text","diff_type","diff_text","patch_deepCopy","patchesCopy","patchCopy","patch_apply","nullPadding","patch_addPadding","patch_splitMax","results","start_loc","expected_loc","end_loc","index1","paddingLength","patch_size","bigpatch","precontext","postcontext","patch_toText","patch_fromText","textline","textPointer","patchHeader","sign","canUseDOM","ExecutionEnvironment","canUseWorkers","canUseEventListeners","attachEvent","canUseViewport","screen","reactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","getDefaultProps","getDerivedStateFromError","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","TYPE_STATICS","getStatics","isMemo","ForwardRef","Memo","getOwnPropertyNames","getOwnPropertySymbols","objectPrototype","targetComponent","sourceComponent","inheritedComponent","targetStatics","sourceStatics","descriptor","$$typeof","A","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Lazy","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","_dereq_","scheduleDrain","draining","Mutation","MutationObserver","WebKitMutationObserver","called","observer","characterData","setImmediate","MessageChannel","scriptEl","channel","port1","port2","oldQueue","immediate","INTERNAL","REJECTED","FULFILLED","PENDING","resolver","safelyResolveThenable","QueueItem","onFulfilled","onRejected","callFulfilled","otherCallFulfilled","callRejected","otherCallRejected","unwrap","getThen","thenable","onSuccess","tryToUnwrap","tryCatch","iterable","resolved","allResolver","resolveFromAll","outValue","race","Constructor","getIDB","indexedDB","webkitIndexedDB","mozIndexedDB","OIndexedDB","msIndexedDB","idb","isIndexedDBValid","isSafari","openDatabase","hasFetch","IDBKeyRange","createBlob","builder","MSBlobBuilder","Promise$1","executeCallback","executeTwoCallbacks","errorCallback","normalizeKey","getCallback","DETECT_BLOB_SUPPORT_STORE","supportsBlobs","dbContexts","READ_ONLY","READ_WRITE","_binStringToArrayBuffer","bin","ArrayBuffer","_checkBlobSupportWithoutCaching","txn","objectStore","put","onabort","oncomplete","matchedChrome","matchedEdge","_checkBlobSupport","_deferReadiness","dbInfo","dbContext","deferredOperation","deferredOperations","dbReady","_advanceReadiness","_rejectReadiness","_getConnection","upgradeNeeded","createDbContext","db","dbArgs","openreq","onupgradeneeded","createObjectStore","storeName","oldVersion","newVersion","onsuccess","onversionchange","_getOriginalConnection","_getUpgradedConnection","_isUpgradeNeeded","defaultVersion","isNewStore","objectStoreNames","isDowngrade","isUpgrade","incVersion","_encodeBlob","onloadend","__local_forage_encoded_blob","readAsBinaryString","_decodeBlob","encodedBlob","atob","_isEncodedBlob","_fullyReady","_initReady","_dbInfo","_tryReconnect","forages","forage","createTransaction","retries","_initStorage","ready","initPromises","_defaultConfig","openCursor","iterationNumber","blobSupport","advanced","openKeyCursor","advance","dropInstance","currentConfig","dbPromise","dropObjectPromise","deleteObjectStore","_forage2","dropDBPromise","deleteDatabase","onblocked","asyncStorage","_driver","_support","isWebSQLValid","BASE_CHARS","BLOB_TYPE_PREFIX","BLOB_TYPE_PREFIX_REGEX","SERIALIZED_MARKER","SERIALIZED_MARKER_LENGTH","TYPE_ARRAYBUFFER","TYPE_BLOB","TYPE_INT8ARRAY","TYPE_UINT8ARRAY","TYPE_UINT8CLAMPEDARRAY","TYPE_INT16ARRAY","TYPE_INT32ARRAY","TYPE_UINT16ARRAY","TYPE_UINT32ARRAY","TYPE_FLOAT32ARRAY","TYPE_FLOAT64ARRAY","TYPE_SERIALIZED_MARKER_LENGTH","toString$1","stringToBuffer","serializedString","encoded1","encoded2","encoded3","encoded4","bufferLength","bufferToString","base64String","valueType","fileReader","readAsArrayBuffer","deserialize","blobType","matcher","Int8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint32Array","Float32Array","Float64Array","localforageSerializer","createDbTable","executeSql","_initStorage$1","dbInfoPromise","tryExecuteSql","sqlStatement","SYNTAX_ERR","getItem$1","iterate$1","_setItem","retriesLeft","originalValue","sqlError","QUOTA_ERR","setItem$1","removeItem$1","clear$1","length$1","keys$1","getAllStoreNames","storeNames","dropInstance$1","operationInfo","dropTable","operations","webSQLStorage","isLocalStorageValid","_getKeyPrefix","defaultConfig","keyPrefix","checkIfLocalStorageThrows","localStorageTestKey","_isLocalStorageUsable","_initStorage$2","clear$2","getItem$2","iterate$2","keyPrefixLength","key$2","keys$2","itemKey","length$2","removeItem$2","setItem$2","dropInstance$2","localStorageWrapper","sameValue","searchElement","DefinedDrivers","DriverSupport","DefaultDrivers","INDEXEDDB","WEBSQL","LOCALSTORAGE","DefaultDriverOrder","OptionalDriverMethods","LibraryMethods","DefaultConfig","driver","callWhenReady","localForageInstance","libraryMethod","_args","LocalForage","driverTypeKey","driverName","defineDriver","_config","_driverSet","_initDriver","_ready","_wrapLibraryMethodsWithReady","setDriver","driverObject","complianceError","driverMethods","driverMethodName","configureMissingMethods","methodNotImplementedFactory","methodName","optionalDriverMethod","setDriverSupport","support","getDriver","getDriverPromise","getSerializer","serializerPromise","drivers","supportedDrivers","_getSupportedDrivers","setDriverToConfig","extendSelfWithDriver","_extend","initDriver","currentDriverIndex","driverPromiseLoop","oldDriverSetDone","libraryMethodsAndProperties","createInstance","localforage_js","HASH_UNDEFINED","funcTag","genTag","reIsDeepProp","reIsPlainProp","reLeadingDot","rePropName","reEscapeChar","reIsHostCtor","freeGlobal","freeSelf","arrayProto","funcProto","objectProto","coreJsData","maskSrcKey","uid","IE_PROTO","funcToString","reIsNative","getNative","nativeCreate","symbolProto","symbolToString","Hash","entry","ListCache","MapCache","assocIndexOf","baseGet","isSymbol","isKey","stringToPath","toKey","baseIsNative","isObject","isFunction","isHostObject","toSource","getMapData","__data__","isKeyable","baseToString","memoized","Cache","isObjectLike","MAX_SAFE_INTEGER","argsTag","arrayTag","boolTag","dateTag","errorTag","mapTag","numberTag","objectTag","promiseTag","regexpTag","stringTag","symbolTag","weakMapTag","arrayBufferTag","dataViewTag","reIsUint","typedArrayTags","freeExports","freeModule","moduleExports","freeProcess","nodeUtil","nodeIsTypedArray","isTypedArray","arraySome","predicate","mapToArray","setToArray","nativeObjectToString","Buffer","propertyIsEnumerable","symToStringTag","toStringTag","nativeGetSymbols","nativeIsBuffer","isBuffer","DataView","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolValueOf","valueOf","SetCache","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","baseTimes","isIndex","eq","baseGetTag","isOwn","unmasked","getRawTag","baseIsArguments","baseIsEqual","bitmask","customizer","equalFunc","objIsArr","othIsArr","objTag","getTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","byteLength","byteOffset","isPartial","stacked","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","getAllKeys","objLength","othLength","skipCtor","objValue","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","isMasked","baseKeys","Ctor","isPrototype","arrLength","seen","arrValue","othIndex","keysFunc","symbolsFunc","arrayPush","baseGetAllKeys","getSymbols","pairs","LARGE_ARRAY_SIZE","resIndex","arrayFilter","symbol","ctorString","isLength","baseUnary","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","getShim","ReactPropTypes","bigint","any","arrayOf","instanceOf","objectOf","oneOf","exact","checkPropTypes","getAceInstance","editorOptions_1","ReactAce","onBeforeLoad","onValidate","wrapEnabled","refEditor","editorProps","debounceChangePeriod","isInShadow","navigateToFileEnd","updatePlaceholder","handleMarkers","availableOptions","handleOptions","oldProps","appliedClassesArray_1","oldClass","valueChanged","silent","cursorStart","handleScrollMargins","margins","currentMarkers","ace_builds_1","showPlaceholder","divStyle","updateRef","enableSnippets","enableBasicAutocompletion","enableLiveAutocompletion","DiffMatchPatch","DiffComponent","lhString","rhString","diffedLines","generateDiffedLines","setCodeMarkers","C","chunkType","firstChar","lastChar","linesToHighlight","codeEditorSettings","newMarkerSet","markerObj","split_1","acequire","diff_1","ace_1","SplitComponent","ext_split_1","splitEditor","defaultValueForEditor","valueForEditor","newAnnotations","newMarkers","sp","oldAnnotations","oldMarkers","value_1","value_2","value_3","aa","ba","da","ea","fa","ha","ia","ja","ka","la","ma","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","propertyName","sanitizeURL","removeEmptyString","qa","ra","sa","oa","pa","na","setAttributeNS","xlinkHref","ta","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","va","wa","xa","za","Aa","Ba","Ca","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","prepareStackTrace","Reflect","construct","Oa","Pa","_context","_payload","_init","Qa","Ra","Sa","Ua","_valueTracker","stopTracking","Ta","Va","Wa","Xa","_wrapperState","initialChecked","Ya","Za","$a","bb","eb","defaultSelected","fb","gb","hb","ib","jb","lb","mb","namespaceURI","MSApp","execUnsafeLocalFunction","nb","ob","aspectRatio","gridArea","lineClamp","pb","qb","rb","sb","menuitem","area","br","embed","hr","keygen","wbr","tb","ub","is","vb","wb","correspondingUseElement","xb","yb","zb","Ab","Bb","stateNode","Cb","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","Rb","Sb","Ub","alternate","flags","Vb","memoizedState","dehydrated","Wb","Yb","sibling","Xb","Zb","$b","unstable_scheduleCallback","ac","unstable_cancelCallback","bc","unstable_shouldYield","cc","unstable_requestPaint","unstable_now","dc","unstable_getCurrentPriorityLevel","unstable_ImmediatePriority","fc","unstable_UserBlockingPriority","gc","unstable_NormalPriority","hc","unstable_LowPriority","ic","unstable_IdlePriority","jc","kc","nc","clz32","oc","pc","LN2","qc","rc","tc","pendingLanes","suspendedLanes","pingedLanes","entangledLanes","entanglements","wc","xc","yc","zc","eventTimes","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","Qc","Rc","pointerId","Sc","blockedOn","domEventName","eventSystemFlags","targetContainers","Uc","Vc","priority","isDehydrated","Wc","Xc","dispatchEvent","Yc","Zc","$c","ad","bd","ReactCurrentBatchConfig","cd","ed","gd","hd","Tc","jd","kd","ld","nd","charCode","od","pd","qd","_reactName","_targetInst","isDefaultPrevented","isPropagationStopped","cancelBubble","persist","isPersistent","vd","wd","xd","eventPhase","bubbles","isTrusted","sd","td","view","ud","zd","screenX","screenY","yd","fromElement","toElement","movementX","movementY","Ad","Cd","Ed","Gd","elapsedTime","pseudoElement","Hd","Id","Kd","Ld","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Apps","Scroll","MozPrintableKey","Md","Nd","Alt","Control","Meta","Shift","Od","Pd","repeat","locale","Qd","Sd","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Ud","targetTouches","Wd","Xd","deltaZ","Yd","Zd","$d","ae","documentMode","be","ce","ee","fe","ge","he","ke","le","me","ne","oe","pe","qe","se","te","ue","ve","we","xe","ye","oninput","ze","detachEvent","Ae","Be","Ce","De","Ee","Ge","He","Ie","Je","Ke","compareDocumentPosition","Le","HTMLIFrameElement","Me","Ne","focusedElem","anchorNode","focusNode","focusOffset","Oe","Pe","Qe","Re","Se","Te","Ue","Ve","animationend","animationiteration","animationstart","transitionend","We","Xe","Ye","Ze","$e","af","bf","cf","df","ef","ff","gf","kf","lf","mf","Tb","D","nf","of","pf","qf","rf","J","sf","tf","parentWindow","uf","vf","Z","ya","ab","ca","ie","char","je","wf","xf","yf","zf","Af","Bf","Cf","Df","Ef","Ff","Gf","If","queueMicrotask","Hf","Jf","Kf","Lf","previousSibling","Mf","Nf","Of","Pf","Qf","Rf","Sf","Tf","E","G","Uf","H","Vf","Wf","Xf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Yf","Zf","$f","ag","getChildContext","bg","__reactInternalMemoizedMergedChildContext","cg","dg","eg","fg","gg","ig","jg","kg","mg","ng","og","pg","qg","_currentValue","rg","childLanes","sg","dependencies","firstContext","lanes","tg","ug","memoizedValue","vg","wg","xg","updateQueue","baseState","firstBaseUpdate","lastBaseUpdate","shared","interleaved","effects","yg","zg","eventTime","lane","Ag","Bg","Cg","Dg","Eg","Fg","Gg","Hg","Ig","Mg","isMounted","_reactInternals","enqueueSetState","Jg","Kg","Lg","enqueueReplaceState","enqueueForceUpdate","Ng","shouldComponentUpdate","isPureReactComponent","Og","updater","Pg","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","Qg","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","dh","eh","I","fh","gh","hh","ih","pendingProps","treeContext","retryLane","jh","kh","lh","mh","memoizedProps","nh","oh","ph","_owner","_stringRef","qh","rh","sh","th","uh","vh","wh","xh","yh","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","K","Jh","revealOrder","Kh","Lh","_workInProgressVersionPrimary","Mh","ReactCurrentDispatcher","Nh","Oh","M","N","Ph","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Yh","Zh","$h","baseQueue","ai","bi","ci","lastRenderedReducer","hasEagerState","eagerState","lastRenderedState","dispatch","di","ei","fi","gi","ii","ji","P","ki","lastEffect","stores","mi","ni","oi","pi","qi","ri","si","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Di","Ei","Fi","Gi","readContext","useCallback","useEffect","useImperativeHandle","useMemo","useReducer","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","unstable_isNewReconciler","identifierPrefix","Hi","Ii","Ti","Vi","Wi","Ji","Ki","Li","Mi","Ni","componentDidCatch","Oi","componentStack","Pi","pingCache","Qi","Ri","Si","Xi","tailMode","tail","Q","subtreeFlags","Yi","pendingContext","Zi","wasMultiple","suppressHydrationWarning","$i","rendering","aj","renderingStartTime","bj","cj","dj","ReactCurrentOwner","ej","fj","gj","hj","ij","jj","kj","lj","baseLanes","cachePool","mj","nj","oj","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","pj","qj","rj","sj","tj","uj","vj","wj","xj","yj","zj","_reactRetry","Aj","Bj","Cj","Dj","Ej","Gj","Hj","S","Ij","T","Jj","U","Kj","Lj","Nj","Oj","Pj","Qj","Rj","Sj","Tj","_reactRootContainer","Uj","V","Vj","Wj","Xj","onCommitFiberUnmount","Yj","Zj","ak","bk","ck","dk","ek","fk","gk","hk","ik","__reactInternalSnapshotBeforeUpdate","Uk","jk","kk","lk","mk","W","X","Y","nk","ok","pk","qk","rk","sk","tk","uk","vk","wk","xk","yk","zk","Ak","Bk","Ck","callbackNode","expirationTimes","expiredLanes","vc","callbackPriority","hg","Dk","Ek","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","finishedWork","finishedLanes","Ok","timeoutHandle","Pk","Qk","Rk","Sk","Tk","mutableReadLanes","Ac","Mj","onCommitFiberRoot","lc","onRecoverableError","Vk","onPostCommitFiberRoot","Wk","Xk","Zk","isReactComponent","pendingChildren","$k","mutableSourceEagerHydrationData","al","pendingSuspenseBoundaries","bl","cl","dl","fl","gl","hl","Fj","Yk","jl","kl","_internalRoot","ll","ml","ql","unmount","unstable_scheduleHydration","form","rl","usingClientEntryPoint","Events","sl","findFiberByHostInstance","bundleType","rendererPackageName","tl","rendererConfig","overrideHookState","overrideHookStateDeletePath","overrideHookStateRenamePath","overrideProps","overridePropsDeletePath","overridePropsRenamePath","setErrorHandler","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","reconcilerVersion","__REACT_DEVTOOLS_GLOBAL_HOOK__","isDisabled","supportsFiber","inject","createPortal","createRoot","findDOMNode","flushSync","hydrateRoot","hydratedSources","_getVersion","_source","unmountComponentAtNode","unstable_batchedUpdates","unstable_renderSubtreeIntoContainer","checkDCE","noTextChildNodes","possibleStandardNames","acceptcharset","accesskey","allowfullscreen","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","autosave","cellpadding","cellspacing","charset","classid","colspan","contenteditable","contextmenu","controlslist","crossorigin","dangerouslysetinnerhtml","defaultchecked","defaultvalue","enctype","formmethod","formaction","formenctype","formnovalidate","formtarget","frameborder","hreflang","htmlfor","httpequiv","innerhtml","inputmode","itemid","itemprop","itemref","itemscope","itemtype","keyparams","keytype","marginwidth","marginheight","maxlength","mediagroup","minlength","nomodule","novalidate","playsinline","radiogroup","readonly","referrerpolicy","rowspan","spellcheck","srcdoc","srclang","tabindex","typemustmatch","usemap","accentheight","alignmentbaseline","allowreorder","arabicform","attributename","attributetype","autoreverse","basefrequency","baselineshift","baseprofile","calcmode","capheight","clippath","clippathunits","cliprule","colorinterpolation","colorinterpolationfilters","colorprofile","colorrendering","contentscripttype","contentstyletype","diffuseconstant","dominantbaseline","edgemode","enablebackground","externalresourcesrequired","fillopacity","fillrule","filterres","filterunits","floodopacity","floodcolor","fontfamily","fontsize","fontsizeadjust","fontstretch","fontstyle","fontvariant","fontweight","glyphname","glyphorientationhorizontal","glyphorientationvertical","glyphref","gradienttransform","gradientunits","horizadvx","horizoriginx","imagerendering","kernelmatrix","kernelunitlength","keypoints","keysplines","keytimes","lengthadjust","letterspacing","lightingcolor","limitingconeangle","markerend","markerheight","markermid","markerstart","markerunits","markerwidth","maskcontentunits","maskunits","numoctaves","overlineposition","overlinethickness","paintorder","pathlength","patterncontentunits","patterntransform","patternunits","pointerevents","pointsatx","pointsaty","pointsatz","preservealpha","preserveaspectratio","primitiveunits","refx","refy","renderingintent","repeatcount","repeatdur","requiredextensions","requiredfeatures","shaperendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stopcolor","stopopacity","strikethroughposition","strikethroughthickness","strokedasharray","strokedashoffset","strokelinecap","strokelinejoin","strokemiterlimit","strokewidth","strokeopacity","suppresscontenteditablewarning","suppresshydrationwarning","surfacescale","systemlanguage","tablevalues","targetx","targety","textanchor","textdecoration","textlength","textrendering","underlineposition","underlinethickness","unicodebidi","unicoderange","unitsperem","valphabetic","vectoreffect","vertadvy","vertoriginx","vertoriginy","vhanging","videographic","viewbox","viewtarget","vmathematical","wordspacing","writingmode","xchannelselector","xheight","xlinkactuate","xlinkarcrole","xlinkhref","xlinkrole","xlinkshow","xlinktitle","xlinktype","xmlbase","xmllang","xmlnsxlink","xmlspace","ychannelselector","zoomandpan","onblur","onchange","oncontextmenu","ondoubleclick","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","onfocus","oninvalid","onkeydown","onkeypress","onkeyup","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onscroll","onsubmit","ontouchcancel","ontouchmove","onwheel","parseAttributes","reactKey","nodeClassNames","__spreadArray","_$0","$1","convertFromNode","Node","randomKey","randomString","condition","pre","childNodeList","parseChildren","nodeText","parentNodeName","nodeOnly","DOMParser","parseFromString","convertFromString","STATUS","FAILED","LOADED","LOADING","UNSUPPORTED","canUseDOMFlag","isSupportedEnvironment","supportsInlineSVG","cacheStore","handleError","handleLoad","cacheRequests","fetchOptions","contentType","fileType","currentSrc","hasCache","uniqueHash","letters","InlineSVG","load","preProcessor","baseURL","uniquifyIDs","replaceableAttributes","linkAttributes","attributes_1","updateSVGAttributes","processSVG","SVGSVGElement","originalDesc","descElement","originalTitle","titleElement","getNode","handleCacheQueue","inlineSrc","dataURI","innerRef","loader","elementProps","removeProperties","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","initialStatus","appearStatus","mountOnEnter","nextCallback","updateStatus","nextStatus","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","appearing","maybeNode","maybeAppearing","enterTimeout","safeSetState","onTransitionEnd","setNextCallback","doesNotHaveTimeoutOrListener","maybeNextCallback","noop","__self","__source","jsxs","_status","_result","toArray","PureComponent","_currentValue2","_threadCount","Consumer","_defaultValue","_globalName","createFactory","createRef","lazy","startTransition","unstable_act","sortIndex","startTime","expirationTime","priorityLevel","scheduling","isInputPending","unstable_Profiling","unstable_continueExecution","unstable_forceFrameRate","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_runWithPriority","unstable_wrapCallback","getRangeAt","extendStatics","__","__awaiter","thisArg","_arguments","fulfilled","rejected","__generator","sent","trys","ops","verb","__values","__read","ar","tsv2json","json2tsv","json2tsv_1","json2tsv_2","tsv2json_1","tsv2json_2","SPECIAL_CHAR_REGEX","assertString2DArray","extractFirstCell","tsvCharacters","escapedMode","lineIsOver","nextChar","tsv","_arrayLikeToArray","_arrayWithHoles","ReferenceError","_defineProperties","protoProps","staticProps","subClass","superClass","_iterableToArray","_nonIterableRest","excluded","sourceKeys","_setPrototypeOf","_slicedToArray","_s","_arr","_n","_taggedTemplateLiteral","defineProperties","_unsupportedIterableToArray","__webpack_module_cache__","__webpack_require__","cachedModule","__webpack_modules__","amdD","getter","leafPrototypes","getProto","def","hmd","nmd","paths","ownKeys","enumerableOnly","symbols","sym","_objectSpread2","getOwnPropertyDescriptors","_getPrototypeOf","_superPropBase","receiver","_inherits","_possibleConstructorReturn","assertThisInitialized","_createSuper","Derived","hasNativeReflectConstruct","sham","Proxy","Super","NewTarget","allClasses","containerRoot","containerAnchorOriginTopCenter","containerAnchorOriginBottomCenter","containerAnchorOriginTopRight","containerAnchorOriginBottomRight","containerAnchorOriginTopLeft","containerAnchorOriginBottomLeft","SNACKBAR_INDENTS","DEFAULTS","maxSnack","hideIconVariant","capitalise","omitContainerKeys","REASONS","TIMEOUT","CLICKAWAY","MAXSNACK","INSTRUCTED","numberOrNull","numberish","objectMerge","defaults","DIRECTION","getTransitionDirection","CheckIcon","WarningIcon","ErrorIcon","InfoIcon","iconStyles","marginInlineEnd","defaultIconVariants","extraArg","argums","React.createElement","contentRoot","lessPadding","variantSuccess","variantError","variantInfo","variantWarning","wrappedRoot","StyledSnackbar","SnackbarItem","propClasses","collapsed","setCollapsed","snack","ariaAttributes","otherClassName","iconVariant","otherAction","otherContent","otherTranComponent","otherTranProps","otherTranDuration","ignoredOnEnter","singleContent","singleAction","singleAriaAttributes","snackMessage","singleTranComponent","singleTranProps","singleTranDuration","singleSnackProps","otherAriaAttributes","cbName","requestClose","INSTRCUTED","singleClassName","collapse","rootDense","xsWidthMargin","SnackbarContainer","combinedClassname","SnackbarProvider","preventDuplicate","hasSpecifiedKey","merger","compareFunction","inQueue","inView","snacks","handleDisplaySnack","handleDismissOldest","processQueue","popped","shouldCloseAll","toBeClosed","handleCloseSnack","enqueueSnackbar","closeSnackbar","dontspread1","domRoot","_this$props$classes","categ","existingOfCategory","snackbars","handleExitedSnack","handleEnteredSnack","SnackbarContext","DefaultContext","IconContext","__rest","Tree2Element","tree","GenIcon","IconBase","conf","svgProps","computedSize","AiOutlineFieldBinary","TiSortNumerically","_rmap","_dmap","coils","disInputs","inputRegs","holdingRegs","address2alias","regType","alias2address","alias","nonDirect2direct","direct2nonDirect","Options","inputDisabled","showAliases","slave","onlyUseWriteMultipleRegisters","doNotUseWriteMultipleRegisters","inputDisplay","changeParam","multiDeviceId","readIPs","readPorts","nativeParam","_address","directAddresses","changeNative","ports","customPort","ips","sendTo","manufacturer","comName","getIpAddresses","inputs","optionsContainer","optionContainer","optionsSelect","optionsTextField","help","dimension","Checkbox","optionsCheckbox","Edit","Grid","optionsGrid","getInputsBlock","connectionInputs","generalInputs","tsvEditor","tsvEditorTextarea","setTsv","tsvResult","fields","FileCopy","itemValues","save","Save","Clear","Delete","disableWarnings","setDisableWarnings","DataCell","sortedItem","editMode","setEditMode","tableCheckbox","getDisable","$index","rooms","tableSelect","tableSelectContainer","tableTextFieldContainer","tableTextField","tableCell","nonEditMode","tableHeader","tableHeaderExtended","tableContainer","tsvDialogOpen","setTsvDialogOpen","extendedMode","setExtendedMode","deleteAllDialog","setDeleteAllDialog","deleteDialog","setDeleteDialog","sortedData","getSortedData","orderBy","addItem","Add","ImportExport","formulaDisabled","trueFound","falseFound","changeData","sorted","TableSortLabel","isAsc","onChangeOrder","deleteItem","disableDialogs","BaseRegisters","nativeField","addressToCanonical","newItem","getFields","sortedItem1","sortedItem2","sort1","sort2","deviceId","showExtendedModeSwitch","isShowExtendedModeSwitch","InputRegisters","lastItem","formula","cw","isScale","roles","HoldingRegisters","poll","wp","DiscreteInputs","Coils","tabs","TabOptions","TabDiscreteInputs","TabCoils","TabInputRegisters","TabHoldingRegisters","item1","item2","App","extendedProps","moreLoaded","getEnums","getSelectedTab","buttonSelected","tabContentIFrame","TabComponent","onLoadConfig","updateNativeValue","build","_theme","serviceWorker","registration"],"sourceRoot":""} \ No newline at end of file diff --git a/io-package.json b/io-package.json index d410b00d..4a58992f 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,20 @@ { "common": { "name": "modbus", - "version": "5.0.2", + "version": "5.0.3", "news": { + "5.0.3": { + "en": "Fixed error with mutli-devices", + "de": "Fehler bei Multi-Geräten behoben", + "ru": "Исправлена ошибка с mutli-устройствами", + "pt": "Corrigido erro com vários dispositivos", + "nl": "Vaste fout met meerdere apparaten", + "fr": "Correction d'une erreur avec plusieurs appareils", + "it": "Risolto errore con più dispositivi", + "es": "Solucionado el error con varios dispositivos.", + "pl": "Naprawiono błąd z wieloma urządzeniami", + "zh-cn": "修复了多设备的错误" + }, "5.0.0": { "en": "BREAKING: All space characters will be replaced with underscores now in the Objects IDs, not only the first one.\nCatch error reported by sentry when invalid Master port is entered\nGUI migrated to mui-v5", "de": "BREAKING: Alle Leerzeichen werden jetzt in den Objekt-IDs durch Unterstriche ersetzt, nicht nur die erste.\nVom Sentry gemeldeter Fangfehler, wenn ein ungültiger Master-Port eingegeben wird\nGUI auf mui-v5 migriert", diff --git a/package.json b/package.json index d7efa572..bda3f5dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.modbus", - "version": "5.0.2", + "version": "5.0.3", "description": "Connect devices oder Modbus protocol to ioBroker", "author": { "name": "bluefox", diff --git a/src/package.json b/src/package.json index 30fc48d6..22e05f51 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "modebus-admin", - "version": "5.0.2", + "version": "5.0.3", "private": true, "dependencies": { "@iobroker/adapter-react-v5": "^2.1.7",